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 |
|---|---|---|---|---|---|---|---|---|
[
46,
24,
87,
93
] | 42 | [
"93-87=6",
"24/6=4",
"46-4=42"
] | Current State: 42:[46, 24, 87, 93], Operations: []
Exploring Operation: 93-87=6, Resulting Numbers: [46, 24, 6]
Generated Node #2: [46, 24, 6] from Operation: 93-87=6
Current State: 42:[46, 24, 6], Operations: ['93-87=6']
Exploring Operation: 24/6=4, Resulting Numbers: [46, 4]
Generated Node #3: [46, 4] from Operation: 24/6=4
Current State: 42:[46, 4], Operations: ['93-87=6', '24/6=4']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[46, 24, 87, 93], Operations: []
Exploring Operation: 93-87=6, Resulting Numbers: [46, 24, 6]
Generated Node #0,0: 42:[46, 24, 6] Operation: 93-87=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[46, 24, 6], Operations: ['93-87=6']
Exploring Operation: 46-24=22, Resulting Numbers: [6, 22]
Generated Node #0,0,0: 42:[6, 22] Operation: 46-24=22
Moving to Node #0,0,0
Current State: 42:[6, 22], Operations: ['93-87=6', '46-24=22']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,42 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 |
[
52,
5,
80,
5
] | 36 | [
"52*5=260",
"260-80=180",
"180/5=36"
] | Current State: 36:[52, 5, 80, 5], Operations: []
Exploring Operation: 52*5=260, Resulting Numbers: [80, 260]
Generated Node #2: [80, 260] from Operation: 52*5=260
Current State: 36:[80, 260], Operations: ['52*5=260']
Exploring Operation: 260-80=180, Resulting Numbers: [180]
180,36 equal: Goal Reached
Exploring Operation: 180/5=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[52, 5, 80, 5], Operations: []
Exploring Operation: 80/5=16, Resulting Numbers: [52, 5, 16]
Generated Node #0,0: 36:[52, 5, 16] Operation: 80/5=16
Exploring Operation: 80/5=16, Resulting Numbers: [52, 5, 16]
Generated Node #0,1: 36:[52, 5, 16] Operation: 80/5=16
Exploring Operation: 80-52=28, Resulting Numbers: [5, 5, 28]
Generated Node #0,2: 36:[5, 5, 28] Operation: 80-52=28
Moving to Node #0,2
Current State: 36:[5, 5, 28], Operations: ['80-52=28']
Exploring Operation: 5+28=33, Resulting Numbers: [5, 33]
Generated Node #0,2,0: 36:[5, 33] Operation: 5+28=33
Exploring Operation: 5+28=33, Resulting Numbers: [5, 33]
Generated Node #0,2,1: 36:[5, 33] Operation: 5+28=33
Exploring Operation: 28-5=23, Resulting Numbers: [5, 23]
Generated Node #0,2,2: 36:[5, 23] Operation: 28-5=23
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 36:[5, 33], Operations: ['80-52=28', '5+28=33']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,36 unequal: No Solution
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 36:[5, 33], Operations: ['80-52=28', '5+28=33']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,36 unequal: No Solution
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 36:[5, 23], Operations: ['80-52=28', '28-5=23']
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,36 unequal: No Solution
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,36 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: 36:[52, 5, 16], Operations: ['80/5=16']
Exploring Operation: 52-16=36, Resulting Numbers: [5, 36]
Generated Node #0,0,0: 36:[5, 36] Operation: 52-16=36
Exploring Operation: 16-5=11, Resulting Numbers: [52, 11]
Generated Node #0,0,1: 36:[52, 11] Operation: 16-5=11
Exploring Operation: 52-5=47, Resulting Numbers: [16, 47]
Generated Node #0,0,2: 36:[16, 47] Operation: 52-5=47
Moving to Node #0,1
Current State: 36:[52, 5, 16], Operations: ['80/5=16']
Exploring Operation: 52-16=36, Resulting Numbers: [5, 36]
Generated Node #0,1,0: 36:[5, 36] Operation: 52-16=36
Exploring Operation: 16-5=11, Resulting Numbers: [52, 11]
Generated Node #0,1,1: 36:[52, 11] Operation: 16-5=11
Exploring Operation: 52-5=47, Resulting Numbers: [16, 47]
Generated Node #0,1,2: 36:[16, 47] Operation: 52-5=47
Moving to Node #0,0,0
Current State: 36:[5, 36], Operations: ['80/5=16', '52-16=36']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,36 unequal: No Solution
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[5, 36], Operations: ['80/5=16', '52-16=36']
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,36 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[16, 47], Operations: ['80/5=16', '52-5=47']
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Exploring Operation: 16*47=752, Resulting Numbers: [752]
752,36 unequal: No Solution
Exploring Operation: 16+47=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[16, 47], Operations: ['80/5=16', '52-5=47']
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,36 unequal: No Solution
Exploring Operation: 16*47=752, Resulting Numbers: [752]
752,36 unequal: No Solution
Exploring Operation: 16+47=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[52, 11], Operations: ['80/5=16', '16-5=11']
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,36 unequal: No Solution
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,36 unequal: No Solution
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[52, 11], Operations: ['80/5=16', '16-5=11']
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,36 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,36 unequal: No Solution
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,36 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
72,
45,
24,
10
] | 58 | [
"72/24=3",
"45+10=55",
"3+55=58"
] | Current State: 58:[72, 45, 24, 10], Operations: []
Exploring Operation: 72/24=3, Resulting Numbers: [45, 10, 3]
Generated Node #2: [45, 10, 3] from Operation: 72/24=3
Current State: 58:[45, 10, 3], Operations: ['72/24=3']
Exploring Operation: 45+10=55, Resulting Numbers: [3, 55]
Generated Node #3: [3, 55] from Operation: 45+10=55
Current State: 58:[3, 55], Operations: ['72/24=3', '45+10=55']
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[72, 45, 24, 10], Operations: []
Exploring Operation: 72-10=62, Resulting Numbers: [45, 24, 62]
Generated Node #0,0: 58:[45, 24, 62] Operation: 72-10=62
Exploring Operation: 72-45=27, Resulting Numbers: [24, 10, 27]
Generated Node #0,1: 58:[24, 10, 27] Operation: 72-45=27
Exploring Operation: 72/24=3, Resulting Numbers: [45, 10, 3]
Generated Node #0,2: 58:[45, 10, 3] Operation: 72/24=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[24, 10, 27], Operations: ['72-45=27']
Exploring Operation: 27-24=3, Resulting Numbers: [10, 3]
Generated Node #0,1,0: 58:[10, 3] Operation: 27-24=3
Exploring Operation: 24+10=34, Resulting Numbers: [27, 34]
Generated Node #0,1,1: 58:[27, 34] Operation: 24+10=34
Exploring Operation: 10+27=37, Resulting Numbers: [24, 37]
Generated Node #0,1,2: 58:[24, 37] Operation: 10+27=37
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[27, 34], Operations: ['72-45=27', '24+10=34']
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,58 unequal: No Solution
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 58:[10, 3], Operations: ['72-45=27', '27-24=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,58 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 58:[24, 37], Operations: ['72-45=27', '10+27=37']
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,58 unequal: No Solution
Exploring Operation: 24*37=888, Resulting Numbers: [888]
888,58 unequal: No Solution
Exploring Operation: 24+37=61, Resulting Numbers: [61]
61,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[45, 24, 62], Operations: ['72-10=62']
Exploring Operation: 45+24=69, Resulting Numbers: [62, 69]
Generated Node #0,0,0: 58:[62, 69] Operation: 45+24=69
Exploring Operation: 45-24=21, Resulting Numbers: [62, 21]
Generated Node #0,0,1: 58:[62, 21] Operation: 45-24=21
Exploring Operation: 62-45=17, Resulting Numbers: [24, 17]
Generated Node #0,0,2: 58:[24, 17] Operation: 62-45=17
Moving to Node #0,0,1
Current State: 58:[62, 21], Operations: ['72-10=62', '45-24=21']
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 62+21=83, Resulting Numbers: [83]
83,58 unequal: No Solution
Exploring Operation: 62*21=1302, Resulting Numbers: [1302]
1302,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[62, 69], Operations: ['72-10=62', '45+24=69']
Exploring Operation: 62*69=4278, Resulting Numbers: [4278]
4278,58 unequal: No Solution
Exploring Operation: 69-62=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 62+69=131, Resulting Numbers: [131]
131,58 unequal: No Solution
Moving to Node #0,0,2
Current State: 58:[24, 17], Operations: ['72-10=62', '62-45=17']
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,58 unequal: No Solution
Exploring Operation: 24-17=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
Current State: 58:[45, 10, 3], Operations: ['72/24=3']
Exploring Operation: 45-10=35, Resulting Numbers: [3, 35]
Generated Node #0,2,0: 58:[3, 35] Operation: 45-10=35
Exploring Operation: 10*3=30, Resulting Numbers: [45, 30]
Generated Node #0,2,1: 58:[45, 30] Operation: 10*3=30
Exploring Operation: 45+10=55, Resulting Numbers: [3, 55]
Generated Node #0,2,2: 58:[3, 55] Operation: 45+10=55
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 58:[3, 55], Operations: ['72/24=3', '45+10=55']
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,58 unequal: No Solution
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[72, 45, 24, 10], Operations: []
Exploring Operation: 72/24=3, Resulting Numbers: [45, 10, 3]
Generated Node #0,2: 58:[45, 10, 3] Operation: 72/24=3
Moving to Node #0,2
Current State: 58:[45, 10, 3], Operations: ['72/24=3']
Exploring Operation: 45+10=55, Resulting Numbers: [3, 55]
Generated Node #0,2,2: 58:[3, 55] Operation: 45+10=55
Moving to Node #0,2,2
Current State: 58:[3, 55], Operations: ['72/24=3', '45+10=55']
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_3 | sum_heuristic |
[
4,
30,
1,
45
] | 60 | [
"4*1=4",
"45-30=15",
"4*15=60"
] | Current State: 60:[4, 30, 1, 45], Operations: []
Exploring Operation: 4*1=4, Resulting Numbers: [30, 45, 4]
Generated Node #2: [30, 45, 4] from Operation: 4*1=4
Current State: 60:[30, 45, 4], Operations: ['4*1=4']
Exploring Operation: 45-30=15, Resulting Numbers: [4, 15]
Generated Node #3: [4, 15] from Operation: 45-30=15
Current State: 60:[4, 15], Operations: ['4*1=4', '45-30=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[4, 30, 1, 45], Operations: []
Exploring Operation: 45-30=15, Resulting Numbers: [4, 1, 15]
Generated Node #0,0: 60:[4, 1, 15] Operation: 45-30=15
Exploring Operation: 4+45=49, Resulting Numbers: [30, 1, 49]
Generated Node #0,1: 60:[30, 1, 49] Operation: 4+45=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[4, 1, 15], Operations: ['45-30=15']
Exploring Operation: 4*1=4, Resulting Numbers: [15, 4]
Generated Node #0,0,0: 60:[15, 4] Operation: 4*1=4
Exploring Operation: 4+1=5, Resulting Numbers: [15, 5]
Generated Node #0,0,1: 60:[15, 5] Operation: 4+1=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[15, 4], Operations: ['45-30=15', '4*1=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[4, 30, 1, 45], Operations: []
Exploring Operation: 45-30=15, Resulting Numbers: [4, 1, 15]
Generated Node #0,0: 60:[4, 1, 15] Operation: 45-30=15
Moving to Node #0,0
Current State: 60:[4, 1, 15], Operations: ['45-30=15']
Exploring Operation: 4*1=4, Resulting Numbers: [15, 4]
Generated Node #0,0,0: 60:[15, 4] Operation: 4*1=4
Moving to Node #0,0,0
Current State: 60:[15, 4], Operations: ['45-30=15', '4*1=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
10,
34,
71,
44
] | 29 | [
"44-34=10",
"10*10=100",
"100-71=29"
] | Current State: 29:[10, 34, 71, 44], Operations: []
Exploring Operation: 44-34=10, Resulting Numbers: [10, 71, 10]
Generated Node #2: [10, 71, 10] from Operation: 44-34=10
Current State: 29:[10, 71, 10], Operations: ['44-34=10']
Exploring Operation: 10*10=100, Resulting Numbers: [71, 100]
Generated Node #3: [71, 100] from Operation: 10*10=100
Current State: 29:[71, 100], Operations: ['44-34=10', '10*10=100']
Exploring Operation: 100-71=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[10, 34, 71, 44], Operations: []
Exploring Operation: 44-10=34, Resulting Numbers: [34, 71, 34]
Generated Node #0,0: 29:[34, 71, 34] Operation: 44-10=34
Exploring Operation: 34-10=24, Resulting Numbers: [71, 44, 24]
Generated Node #0,1: 29:[71, 44, 24] Operation: 34-10=24
Exploring Operation: 71-34=37, Resulting Numbers: [10, 44, 37]
Generated Node #0,2: 29:[10, 44, 37] Operation: 71-34=37
Exploring Operation: 71-10=61, Resulting Numbers: [34, 44, 61]
Generated Node #0,3: 29:[34, 44, 61] Operation: 71-10=61
Exploring Operation: 71-44=27, Resulting Numbers: [10, 34, 27]
Generated Node #0,4: 29:[10, 34, 27] Operation: 71-44=27
Start Sub Search at level 1: Moving to Node #0,4
Current State: 29:[10, 34, 27], Operations: ['71-44=27']
Exploring Operation: 10+34=44, Resulting Numbers: [27, 44]
Generated Node #0,4,0: 29:[27, 44] Operation: 10+34=44
Exploring Operation: 34-27=7, Resulting Numbers: [10, 7]
Generated Node #0,4,1: 29:[10, 7] Operation: 34-27=7
Exploring Operation: 34-10=24, Resulting Numbers: [27, 24]
Generated Node #0,4,2: 29:[27, 24] Operation: 34-10=24
Exploring Operation: 10+27=37, Resulting Numbers: [34, 37]
Generated Node #0,4,3: 29:[34, 37] Operation: 10+27=37
Exploring Operation: 27-10=17, Resulting Numbers: [34, 17]
Generated Node #0,4,4: 29:[34, 17] Operation: 27-10=17
Moving to Node #0,4,2
Current State: 29:[27, 24], Operations: ['71-44=27', '34-10=24']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,29 unequal: No Solution
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,29 unequal: No Solution
Moving to Node #0,4,3
Current State: 29:[34, 37], Operations: ['71-44=27', '10+27=37']
Exploring Operation: 34+37=71, Resulting Numbers: [71]
71,29 unequal: No Solution
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 34*37=1258, Resulting Numbers: [1258]
1258,29 unequal: No Solution
Moving to Node #0,4,0
Current State: 29:[27, 44], Operations: ['71-44=27', '10+34=44']
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,29 unequal: No Solution
Exploring Operation: 27*44=1188, Resulting Numbers: [1188]
1188,29 unequal: No Solution
Moving to Node #0,4,4
Current State: 29:[34, 17], Operations: ['71-44=27', '27-10=17']
Exploring Operation: 34+17=51, Resulting Numbers: [51]
51,29 unequal: No Solution
Exploring Operation: 34*17=578, Resulting Numbers: [578]
578,29 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Moving to Node #0,4,1
Current State: 29:[10, 7], Operations: ['71-44=27', '34-27=7']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[10, 44, 37], Operations: ['71-34=37']
Exploring Operation: 10+44=54, Resulting Numbers: [37, 54]
Generated Node #0,2,0: 29:[37, 54] Operation: 10+44=54
Exploring Operation: 44-37=7, Resulting Numbers: [10, 7]
Generated Node #0,2,1: 29:[10, 7] Operation: 44-37=7
Exploring Operation: 37-10=27, Resulting Numbers: [44, 27]
Generated Node #0,2,2: 29:[44, 27] Operation: 37-10=27
Exploring Operation: 10+37=47, Resulting Numbers: [44, 47]
Generated Node #0,2,3: 29:[44, 47] Operation: 10+37=47
Exploring Operation: 44-10=34, Resulting Numbers: [37, 34]
Generated Node #0,2,4: 29:[37, 34] Operation: 44-10=34
Moving to Node #0,2,4
Current State: 29:[37, 34], Operations: ['71-34=37', '44-10=34']
Exploring Operation: 37+34=71, Resulting Numbers: [71]
71,29 unequal: No Solution
Exploring Operation: 37*34=1258, Resulting Numbers: [1258]
1258,29 unequal: No Solution
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[44, 27], Operations: ['71-34=37', '37-10=27']
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 44*27=1188, Resulting Numbers: [1188]
1188,29 unequal: No Solution
Exploring Operation: 44+27=71, Resulting Numbers: [71]
71,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[37, 54], Operations: ['71-34=37', '10+44=54']
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 37*54=1998, Resulting Numbers: [1998]
1998,29 unequal: No Solution
Exploring Operation: 37+54=91, Resulting Numbers: [91]
91,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[44, 47], Operations: ['71-34=37', '10+37=47']
Exploring Operation: 44+47=91, Resulting Numbers: [91]
91,29 unequal: No Solution
Exploring Operation: 44*47=2068, Resulting Numbers: [2068]
2068,29 unequal: No Solution
Exploring Operation: 47-44=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[10, 7], Operations: ['71-34=37', '44-37=7']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[34, 71, 34], Operations: ['44-10=34']
Exploring Operation: 71-34=37, Resulting Numbers: [34, 37]
Generated Node #0,0,0: 29:[34, 37] Operation: 71-34=37
Exploring Operation: 71-34=37, Resulting Numbers: [34, 37]
Generated Node #0,0,1: 29:[34, 37] Operation: 71-34=37
Exploring Operation: 34-34=0, Resulting Numbers: [71, 0]
Generated Node #0,0,2: 29:[71, 0] Operation: 34-34=0
Exploring Operation: 34/34=1, Resulting Numbers: [71, 1]
Generated Node #0,0,3: 29:[71, 1] Operation: 34/34=1
Exploring Operation: 34+71=105, Resulting Numbers: [34, 105]
Generated Node #0,0,4: 29:[34, 105] Operation: 34+71=105
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[34, 37], Operations: ['44-10=34', '71-34=37']
Exploring Operation: 34+37=71, Resulting Numbers: [71]
71,29 unequal: No Solution
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 34*37=1258, Resulting Numbers: [1258]
1258,29 unequal: No Solution
No 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: 29:[34, 37], Operations: ['44-10=34', '71-34=37']
Exploring Operation: 34*37=1258, Resulting Numbers: [1258]
1258,29 unequal: No Solution
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 34+37=71, Resulting Numbers: [71]
71,29 unequal: No Solution
No 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: 29:[71, 1], Operations: ['44-10=34', '34/34=1']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,29 unequal: No Solution
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,29 unequal: No Solution
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,29 unequal: No Solution
No 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: 29:[71, 0], Operations: ['44-10=34', '34-34=0']
Exploring Operation: 71-0=71, Resulting Numbers: [71]
71,29 unequal: No Solution
Exploring Operation: 71+0=71, Resulting Numbers: [71]
71,29 unequal: No Solution
Exploring Operation: 71*0=0, Resulting Numbers: [0]
0,29 unequal: No Solution
No 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: 29:[34, 105], Operations: ['44-10=34', '34+71=105']
Exploring Operation: 34*105=3570, Resulting Numbers: [3570]
3570,29 unequal: No Solution
Exploring Operation: 105-34=71, Resulting Numbers: [71]
71,29 unequal: No Solution
Exploring Operation: 34+105=139, Resulting Numbers: [139]
139,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
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[34, 44, 61], Operations: ['71-10=61']
Exploring Operation: 34+61=95, Resulting Numbers: [44, 95]
Generated Node #0,3,0: 29:[44, 95] Operation: 34+61=95
Exploring Operation: 61-44=17, Resulting Numbers: [34, 17]
Generated Node #0,3,1: 29:[34, 17] Operation: 61-44=17
Exploring Operation: 34+44=78, Resulting Numbers: [61, 78]
Generated Node #0,3,2: 29:[61, 78] Operation: 34+44=78
Exploring Operation: 61-34=27, Resulting Numbers: [44, 27]
Generated Node #0,3,3: 29:[44, 27] Operation: 61-34=27
Exploring Operation: 44-34=10, Resulting Numbers: [61, 10]
Generated Node #0,3,4: 29:[61, 10] Operation: 44-34=10
Moving to Node #0,3,1
Current State: 29:[34, 17], Operations: ['71-10=61', '61-44=17']
Exploring Operation: 34*17=578, Resulting Numbers: [578]
578,29 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 34+17=51, Resulting Numbers: [51]
51,29 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Moving to Node #0,3,3
Current State: 29:[44, 27], Operations: ['71-10=61', '61-34=27']
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 44+27=71, Resulting Numbers: [71]
71,29 unequal: No Solution
Exploring Operation: 44*27=1188, Resulting Numbers: [1188]
1188,29 unequal: No Solution
Moving to Node #0,3,4
Current State: 29:[61, 10], Operations: ['71-10=61', '44-34=10']
Exploring Operation: 61+10=71, Resulting Numbers: [71]
71,29 unequal: No Solution
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,29 unequal: No Solution
Exploring Operation: 61*10=610, Resulting Numbers: [610]
610,29 unequal: No Solution
Moving to Node #0,3,0
Current State: 29:[44, 95], Operations: ['71-10=61', '34+61=95']
Exploring Operation: 44+95=139, Resulting Numbers: [139]
139,29 unequal: No Solution
Exploring Operation: 44*95=4180, Resulting Numbers: [4180]
4180,29 unequal: No Solution
Exploring Operation: 95-44=51, Resulting Numbers: [51]
51,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[61, 78], Operations: ['71-10=61', '34+44=78']
Exploring Operation: 61+78=139, Resulting Numbers: [139]
139,29 unequal: No Solution
Exploring Operation: 78-61=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 61*78=4758, Resulting Numbers: [4758]
4758,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[71, 44, 24], Operations: ['34-10=24']
Exploring Operation: 44-24=20, Resulting Numbers: [71, 20]
Generated Node #0,1,0: 29:[71, 20] Operation: 44-24=20
Exploring Operation: 71+24=95, Resulting Numbers: [44, 95]
Generated Node #0,1,1: 29:[44, 95] Operation: 71+24=95
Exploring Operation: 71-44=27, Resulting Numbers: [24, 27]
Generated Node #0,1,2: 29:[24, 27] Operation: 71-44=27
Exploring Operation: 44+24=68, Resulting Numbers: [71, 68]
Generated Node #0,1,3: 29:[71, 68] Operation: 44+24=68
Exploring Operation: 71-24=47, Resulting Numbers: [44, 47]
Generated Node #0,1,4: 29:[44, 47] Operation: 71-24=47
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 29:[24, 27], Operations: ['34-10=24', '71-44=27']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 24*27=648, Resulting Numbers: [648]
648,29 unequal: No Solution
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,29 unequal: No Solution
No 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: 29:[44, 47], Operations: ['34-10=24', '71-24=47']
Exploring Operation: 44*47=2068, Resulting Numbers: [2068]
2068,29 unequal: No Solution
Exploring Operation: 47-44=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 44+47=91, Resulting Numbers: [91]
91,29 unequal: No Solution
No 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: 29:[71, 20], Operations: ['34-10=24', '44-24=20']
Exploring Operation: 71*20=1420, Resulting Numbers: [1420]
1420,29 unequal: No Solution
Exploring Operation: 71-20=51, Resulting Numbers: [51]
51,29 unequal: No Solution
Exploring Operation: 71+20=91, Resulting Numbers: [91]
91,29 unequal: No Solution
No 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: 29:[44, 95], Operations: ['34-10=24', '71+24=95']
Exploring Operation: 95-44=51, Resulting Numbers: [51]
51,29 unequal: No Solution
Exploring Operation: 44+95=139, Resulting Numbers: [139]
139,29 unequal: No Solution
Exploring Operation: 44*95=4180, Resulting Numbers: [4180]
4180,29 unequal: No Solution
No 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: 29:[71, 68], Operations: ['34-10=24', '44+24=68']
Exploring Operation: 71*68=4828, Resulting Numbers: [4828]
4828,29 unequal: No Solution
Exploring Operation: 71+68=139, Resulting Numbers: [139]
139,29 unequal: No Solution
Exploring Operation: 71-68=3, Resulting Numbers: [3]
3,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_5 | sum_heuristic |
[
50,
9,
47,
94
] | 57 | [
"50+9=59",
"94/47=2",
"59-2=57"
] | Current State: 57:[50, 9, 47, 94], Operations: []
Exploring Operation: 50+9=59, Resulting Numbers: [47, 94, 59]
Generated Node #2: [47, 94, 59] from Operation: 50+9=59
Current State: 57:[47, 94, 59], Operations: ['50+9=59']
Exploring Operation: 94/47=2, Resulting Numbers: [59, 2]
Generated Node #3: [59, 2] from Operation: 94/47=2
Current State: 57:[59, 2], Operations: ['50+9=59', '94/47=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[50, 9, 47, 94], Operations: []
Exploring Operation: 94/47=2, Resulting Numbers: [50, 9, 2]
Generated Node #0,0: 57:[50, 9, 2] Operation: 94/47=2
Exploring Operation: 94-50=44, Resulting Numbers: [9, 47, 44]
Generated Node #0,1: 57:[9, 47, 44] Operation: 94-50=44
Exploring Operation: 94-47=47, Resulting Numbers: [50, 9, 47]
Generated Node #0,2: 57:[50, 9, 47] Operation: 94-47=47
Exploring Operation: 9+47=56, Resulting Numbers: [50, 94, 56]
Generated Node #0,3: 57:[50, 94, 56] Operation: 9+47=56
Exploring Operation: 50-47=3, Resulting Numbers: [9, 94, 3]
Generated Node #0,4: 57:[9, 94, 3] Operation: 50-47=3
Moving to Node #0,0
Current State: 57:[50, 9, 2], Operations: ['94/47=2']
Exploring Operation: 50+9=59, Resulting Numbers: [2, 59]
Generated Node #0,0,0: 57:[2, 59] Operation: 50+9=59
Exploring Operation: 50/2=25, Resulting Numbers: [9, 25]
Generated Node #0,0,1: 57:[9, 25] Operation: 50/2=25
Exploring Operation: 9*2=18, Resulting Numbers: [50, 18]
Generated Node #0,0,2: 57:[50, 18] Operation: 9*2=18
Exploring Operation: 9-2=7, Resulting Numbers: [50, 7]
Generated Node #0,0,3: 57:[50, 7] Operation: 9-2=7
Exploring Operation: 50+2=52, Resulting Numbers: [9, 52]
Generated Node #0,0,4: 57:[9, 52] Operation: 50+2=52
Moving to Node #0,2
Current State: 57:[50, 9, 47], Operations: ['94-47=47']
Exploring Operation: 50+9=59, Resulting Numbers: [47, 59]
Generated Node #0,2,0: 57:[47, 59] Operation: 50+9=59
Exploring Operation: 50-9=41, Resulting Numbers: [47, 41]
Generated Node #0,2,1: 57:[47, 41] Operation: 50-9=41
Exploring Operation: 47-9=38, Resulting Numbers: [50, 38]
Generated Node #0,2,2: 57:[50, 38] Operation: 47-9=38
Exploring Operation: 9+47=56, Resulting Numbers: [50, 56]
Generated Node #0,2,3: 57:[50, 56] Operation: 9+47=56
Exploring Operation: 50-47=3, Resulting Numbers: [9, 3]
Generated Node #0,2,4: 57:[9, 3] Operation: 50-47=3
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 57:[9, 3], Operations: ['94-47=47', '50-47=3']
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,57 unequal: No Solution
No 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: 57:[50, 56], Operations: ['94-47=47', '9+47=56']
Exploring Operation: 50+56=106, Resulting Numbers: [106]
106,57 unequal: No Solution
Exploring Operation: 56-50=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 50*56=2800, Resulting Numbers: [2800]
2800,57 unequal: No Solution
No 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: 57:[47, 59], Operations: ['94-47=47', '50+9=59']
Exploring Operation: 47*59=2773, Resulting Numbers: [2773]
2773,57 unequal: No Solution
Exploring Operation: 47+59=106, Resulting Numbers: [106]
106,57 unequal: No Solution
Exploring Operation: 59-47=12, Resulting Numbers: [12]
12,57 unequal: No Solution
No 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: 57:[47, 41], Operations: ['94-47=47', '50-9=41']
Exploring Operation: 47+41=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 47-41=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 47*41=1927, Resulting Numbers: [1927]
1927,57 unequal: No Solution
No 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: 57:[50, 38], Operations: ['94-47=47', '47-9=38']
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 50+38=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 50*38=1900, Resulting Numbers: [1900]
1900,57 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: 57:[9, 47, 44], Operations: ['94-50=44']
Exploring Operation: 47-9=38, Resulting Numbers: [44, 38]
Generated Node #0,1,0: 57:[44, 38] Operation: 47-9=38
Exploring Operation: 47-44=3, Resulting Numbers: [9, 3]
Generated Node #0,1,1: 57:[9, 3] Operation: 47-44=3
Exploring Operation: 9+47=56, Resulting Numbers: [44, 56]
Generated Node #0,1,2: 57:[44, 56] Operation: 9+47=56
Exploring Operation: 9+44=53, Resulting Numbers: [47, 53]
Generated Node #0,1,3: 57:[47, 53] Operation: 9+44=53
Exploring Operation: 44-9=35, Resulting Numbers: [47, 35]
Generated Node #0,1,4: 57:[47, 35] Operation: 44-9=35
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 57:[9, 3], Operations: ['94-50=44', '47-44=3']
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,57 unequal: No Solution
No 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: 57:[44, 56], Operations: ['94-50=44', '9+47=56']
Exploring Operation: 44+56=100, Resulting Numbers: [100]
100,57 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 44*56=2464, Resulting Numbers: [2464]
2464,57 unequal: No Solution
No 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: 57:[47, 53], Operations: ['94-50=44', '9+44=53']
Exploring Operation: 47*53=2491, Resulting Numbers: [2491]
2491,57 unequal: No Solution
Exploring Operation: 47+53=100, Resulting Numbers: [100]
100,57 unequal: No Solution
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,57 unequal: No Solution
No 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: 57:[47, 35], Operations: ['94-50=44', '44-9=35']
Exploring Operation: 47*35=1645, Resulting Numbers: [1645]
1645,57 unequal: No Solution
Exploring Operation: 47+35=82, Resulting Numbers: [82]
82,57 unequal: No Solution
Exploring Operation: 47-35=12, Resulting Numbers: [12]
12,57 unequal: No Solution
No 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: 57:[44, 38], Operations: ['94-50=44', '47-9=38']
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,57 unequal: No Solution
Exploring Operation: 44*38=1672, Resulting Numbers: [1672]
1672,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 57:[9, 94, 3], Operations: ['50-47=3']
Exploring Operation: 94-9=85, Resulting Numbers: [3, 85]
Generated Node #0,4,0: 57:[3, 85] Operation: 94-9=85
Exploring Operation: 94-3=91, Resulting Numbers: [9, 91]
Generated Node #0,4,1: 57:[9, 91] Operation: 94-3=91
Exploring Operation: 9+3=12, Resulting Numbers: [94, 12]
Generated Node #0,4,2: 57:[94, 12] Operation: 9+3=12
Exploring Operation: 9/3=3, Resulting Numbers: [94, 3]
Generated Node #0,4,3: 57:[94, 3] Operation: 9/3=3
Exploring Operation: 9-3=6, Resulting Numbers: [94, 6]
Generated Node #0,4,4: 57:[94, 6] Operation: 9-3=6
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 57:[3, 85], Operations: ['50-47=3', '94-9=85']
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,57 unequal: No Solution
Exploring Operation: 3*85=255, Resulting Numbers: [255]
255,57 unequal: No Solution
No 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: 57:[94, 3], Operations: ['50-47=3', '9/3=3']
Exploring Operation: 94*3=282, Resulting Numbers: [282]
282,57 unequal: No Solution
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,57 unequal: No Solution
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,57 unequal: No Solution
No 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: 57:[9, 91], Operations: ['50-47=3', '94-3=91']
Exploring Operation: 9+91=100, Resulting Numbers: [100]
100,57 unequal: No Solution
Exploring Operation: 91-9=82, Resulting Numbers: [82]
82,57 unequal: No Solution
Exploring Operation: 9*91=819, Resulting Numbers: [819]
819,57 unequal: No Solution
No 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: 57:[94, 6], Operations: ['50-47=3', '9-3=6']
Exploring Operation: 94*6=564, Resulting Numbers: [564]
564,57 unequal: No Solution
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,57 unequal: No Solution
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,57 unequal: No Solution
No 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: 57:[94, 12], Operations: ['50-47=3', '9+3=12']
Exploring Operation: 94*12=1128, Resulting Numbers: [1128]
1128,57 unequal: No Solution
Exploring Operation: 94-12=82, Resulting Numbers: [82]
82,57 unequal: No Solution
Exploring Operation: 94+12=106, Resulting Numbers: [106]
106,57 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: 57:[50, 94, 56], Operations: ['9+47=56']
Exploring Operation: 94-50=44, Resulting Numbers: [56, 44]
Generated Node #0,3,0: 57:[56, 44] Operation: 94-50=44
Exploring Operation: 94-56=38, Resulting Numbers: [50, 38]
Generated Node #0,3,1: 57:[50, 38] Operation: 94-56=38
Exploring Operation: 56-50=6, Resulting Numbers: [94, 6]
Generated Node #0,3,2: 57:[94, 6] Operation: 56-50=6
Exploring Operation: 50+56=106, Resulting Numbers: [94, 106]
Generated Node #0,3,3: 57:[94, 106] Operation: 50+56=106
Exploring Operation: 50+94=144, Resulting Numbers: [56, 144]
Generated Node #0,3,4: 57:[56, 144] Operation: 50+94=144
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 57:[56, 44], Operations: ['9+47=56', '94-50=44']
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 56*44=2464, Resulting Numbers: [2464]
2464,57 unequal: No Solution
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,57 unequal: No Solution
No 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: 57:[50, 38], Operations: ['9+47=56', '94-56=38']
Exploring Operation: 50+38=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 50*38=1900, Resulting Numbers: [1900]
1900,57 unequal: No Solution
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,57 unequal: No Solution
No 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: 57:[94, 6], Operations: ['9+47=56', '56-50=6']
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,57 unequal: No Solution
Exploring Operation: 94*6=564, Resulting Numbers: [564]
564,57 unequal: No Solution
No 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: 57:[94, 106], Operations: ['9+47=56', '50+56=106']
Exploring Operation: 94+106=200, Resulting Numbers: [200]
200,57 unequal: No Solution
Exploring Operation: 106-94=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 94*106=9964, Resulting Numbers: [9964]
9964,57 unequal: No Solution
No 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: 57:[56, 144], Operations: ['9+47=56', '50+94=144']
Exploring Operation: 56+144=200, Resulting Numbers: [200]
200,57 unequal: No Solution
Exploring Operation: 144-56=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 56*144=8064, Resulting Numbers: [8064]
8064,57 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: 57:[2, 59], Operations: ['94/47=2', '50+9=59']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[50, 9, 47, 94], Operations: []
Exploring Operation: 94/47=2, Resulting Numbers: [50, 9, 2]
Generated Node #0,0: 57:[50, 9, 2] Operation: 94/47=2
Moving to Node #0,0
Current State: 57:[50, 9, 2], Operations: ['94/47=2']
Exploring Operation: 50+9=59, Resulting Numbers: [2, 59]
Generated Node #0,0,0: 57:[2, 59] Operation: 50+9=59
Moving to Node #0,0,0
Current State: 57:[2, 59], Operations: ['94/47=2', '50+9=59']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.915799 | hs_5 | mult_heuristic |
[
20,
75,
10,
55
] | 70 | [
"20*10=200",
"75+55=130",
"200-130=70"
] | Current State: 70:[20, 75, 10, 55], Operations: []
Exploring Operation: 20*10=200, Resulting Numbers: [75, 55, 200]
Generated Node #2: [75, 55, 200] from Operation: 20*10=200
Current State: 70:[75, 55, 200], Operations: ['20*10=200']
Exploring Operation: 75+55=130, Resulting Numbers: [200, 130]
Generated Node #3: [200, 130] from Operation: 75+55=130
Current State: 70:[200, 130], Operations: ['20*10=200', '75+55=130']
Exploring Operation: 200-130=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[20, 75, 10, 55], Operations: []
Exploring Operation: 10+55=65, Resulting Numbers: [20, 75, 65]
Generated Node #0,0: 70:[20, 75, 65] Operation: 10+55=65
Exploring Operation: 20+55=75, Resulting Numbers: [75, 10, 75]
Generated Node #0,1: 70:[75, 10, 75] Operation: 20+55=75
Exploring Operation: 75-55=20, Resulting Numbers: [20, 10, 20]
Generated Node #0,2: 70:[20, 10, 20] Operation: 75-55=20
Exploring Operation: 55-20=35, Resulting Numbers: [75, 10, 35]
Generated Node #0,3: 70:[75, 10, 35] Operation: 55-20=35
Moving to Node #0,3
Current State: 70:[75, 10, 35], Operations: ['55-20=35']
Exploring Operation: 75-10=65, Resulting Numbers: [35, 65]
Generated Node #0,3,0: 70:[35, 65] Operation: 75-10=65
Exploring Operation: 10+35=45, Resulting Numbers: [75, 45]
Generated Node #0,3,1: 70:[75, 45] Operation: 10+35=45
Exploring Operation: 75-35=40, Resulting Numbers: [10, 40]
Generated Node #0,3,2: 70:[10, 40] Operation: 75-35=40
Exploring Operation: 75+10=85, Resulting Numbers: [35, 85]
Generated Node #0,3,3: 70:[35, 85] Operation: 75+10=85
Moving to Node #0,1
Current State: 70:[75, 10, 75], Operations: ['20+55=75']
Exploring Operation: 75/75=1, Resulting Numbers: [10, 1]
Generated Node #0,1,0: 70:[10, 1] Operation: 75/75=1
Exploring Operation: 75-75=0, Resulting Numbers: [10, 0]
Generated Node #0,1,1: 70:[10, 0] Operation: 75-75=0
Exploring Operation: 75-10=65, Resulting Numbers: [75, 65]
Generated Node #0,1,2: 70:[75, 65] Operation: 75-10=65
Exploring Operation: 75-10=65, Resulting Numbers: [75, 65]
Generated Node #0,1,3: 70:[75, 65] Operation: 75-10=65
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[10, 1], Operations: ['20+55=75', '75/75=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[10, 0], Operations: ['20+55=75', '75-75=0']
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 10*0=0, Resulting Numbers: [0]
0,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[75, 65], Operations: ['20+55=75', '75-10=65']
Exploring Operation: 75-65=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 75*65=4875, Resulting Numbers: [4875]
4875,70 unequal: No Solution
Exploring Operation: 75+65=140, Resulting Numbers: [140]
140,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 70:[75, 65], Operations: ['20+55=75', '75-10=65']
Exploring Operation: 75-65=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 75*65=4875, Resulting Numbers: [4875]
4875,70 unequal: No Solution
Exploring Operation: 75+65=140, Resulting Numbers: [140]
140,70 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: 70:[20, 10, 20], Operations: ['75-55=20']
Exploring Operation: 20-20=0, Resulting Numbers: [10, 0]
Generated Node #0,2,0: 70:[10, 0] Operation: 20-20=0
Exploring Operation: 20-10=10, Resulting Numbers: [20, 10]
Generated Node #0,2,1: 70:[20, 10] Operation: 20-10=10
Exploring Operation: 20+20=40, Resulting Numbers: [10, 40]
Generated Node #0,2,2: 70:[10, 40] Operation: 20+20=40
Exploring Operation: 20/20=1, Resulting Numbers: [10, 1]
Generated Node #0,2,3: 70:[10, 1] Operation: 20/20=1
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 70:[10, 1], Operations: ['75-55=20', '20/20=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[10, 0], Operations: ['75-55=20', '20-20=0']
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 10*0=0, Resulting Numbers: [0]
0,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[10, 40], Operations: ['75-55=20', '20+20=40']
Exploring Operation: 10*40=400, Resulting Numbers: [400]
400,70 unequal: No Solution
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,70 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[20, 10], Operations: ['75-55=20', '20-10=10']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 20*10=200, Resulting Numbers: [200]
200,70 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 20+10=30, Resulting Numbers: [30]
30,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 70:[20, 75, 65], Operations: ['10+55=65']
Exploring Operation: 75-65=10, Resulting Numbers: [20, 10]
Generated Node #0,0,0: 70:[20, 10] Operation: 75-65=10
Exploring Operation: 20+65=85, Resulting Numbers: [75, 85]
Generated Node #0,0,1: 70:[75, 85] Operation: 20+65=85
Exploring Operation: 75-20=55, Resulting Numbers: [65, 55]
Generated Node #0,0,2: 70:[65, 55] Operation: 75-20=55
Exploring Operation: 65-20=45, Resulting Numbers: [75, 45]
Generated Node #0,0,3: 70:[75, 45] Operation: 65-20=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[20, 10], Operations: ['10+55=65', '75-65=10']
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 20+10=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 20*10=200, Resulting Numbers: [200]
200,70 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 70:[75, 45], Operations: ['10+55=65', '65-20=45']
Exploring Operation: 75*45=3375, Resulting Numbers: [3375]
3375,70 unequal: No Solution
Exploring Operation: 75-45=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 75+45=120, Resulting Numbers: [120]
120,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[75, 85], Operations: ['10+55=65', '20+65=85']
Exploring Operation: 75*85=6375, Resulting Numbers: [6375]
6375,70 unequal: No Solution
Exploring Operation: 85-75=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 75+85=160, Resulting Numbers: [160]
160,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 70:[65, 55], Operations: ['10+55=65', '75-20=55']
Exploring Operation: 65*55=3575, Resulting Numbers: [3575]
3575,70 unequal: No Solution
Exploring Operation: 65+55=120, Resulting Numbers: [120]
120,70 unequal: No Solution
Exploring Operation: 65-55=10, Resulting Numbers: [10]
10,70 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: 70:[35, 65], Operations: ['55-20=35', '75-10=65']
Exploring Operation: 35+65=100, Resulting Numbers: [100]
100,70 unequal: No Solution
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 35*65=2275, Resulting Numbers: [2275]
2275,70 unequal: No Solution
Moving to Node #0,3,2
Current State: 70:[10, 40], Operations: ['55-20=35', '75-35=40']
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 10*40=400, Resulting Numbers: [400]
400,70 unequal: No Solution
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,70 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Moving to Node #0,3,3
Current State: 70:[35, 85], Operations: ['55-20=35', '75+10=85']
Exploring Operation: 35+85=120, Resulting Numbers: [120]
120,70 unequal: No Solution
Exploring Operation: 35*85=2975, Resulting Numbers: [2975]
2975,70 unequal: No Solution
Exploring Operation: 85-35=50, Resulting Numbers: [50]
50,70 unequal: No Solution
Moving to Node #0,3,1
Current State: 70:[75, 45], Operations: ['55-20=35', '10+35=45']
Exploring Operation: 75+45=120, Resulting Numbers: [120]
120,70 unequal: No Solution
Exploring Operation: 75*45=3375, Resulting Numbers: [3375]
3375,70 unequal: No Solution
Exploring Operation: 75-45=30, Resulting Numbers: [30]
30,70 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
7,
7,
20,
8
] | 26 | [
"7+7=14",
"20-8=12",
"14+12=26"
] | Current State: 26:[7, 7, 20, 8], Operations: []
Exploring Operation: 7+7=14, Resulting Numbers: [20, 8, 14]
Generated Node #2: [20, 8, 14] from Operation: 7+7=14
Current State: 26:[20, 8, 14], Operations: ['7+7=14']
Exploring Operation: 20-8=12, Resulting Numbers: [14, 12]
Generated Node #3: [14, 12] from Operation: 20-8=12
Current State: 26:[14, 12], Operations: ['7+7=14', '20-8=12']
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[7, 7, 20, 8], Operations: []
Exploring Operation: 20-7=13, Resulting Numbers: [7, 8, 13]
Generated Node #0,0: 26:[7, 8, 13] Operation: 20-7=13
Exploring Operation: 20-7=13, Resulting Numbers: [7, 8, 13]
Generated Node #0,1: 26:[7, 8, 13] Operation: 20-7=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[7, 8, 13], Operations: ['20-7=13']
Exploring Operation: 7+8=15, Resulting Numbers: [13, 15]
Generated Node #0,0,0: 26:[13, 15] Operation: 7+8=15
Exploring Operation: 8-7=1, Resulting Numbers: [13, 1]
Generated Node #0,0,1: 26:[13, 1] Operation: 8-7=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 26:[13, 1], Operations: ['20-7=13', '8-7=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,26 unequal: No Solution
No 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: 26:[13, 15], Operations: ['20-7=13', '7+8=15']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,26 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: 26:[7, 8, 13], Operations: ['20-7=13']
Exploring Operation: 7+8=15, Resulting Numbers: [13, 15]
Generated Node #0,1,0: 26:[13, 15] Operation: 7+8=15
Exploring Operation: 8-7=1, Resulting Numbers: [13, 1]
Generated Node #0,1,1: 26:[13, 1] Operation: 8-7=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 26:[13, 1], Operations: ['20-7=13', '8-7=1']
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,26 unequal: No Solution
No 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: 26:[13, 15], Operations: ['20-7=13', '7+8=15']
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,26 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 |
[
34,
40,
94,
64
] | 24 | [
"40-34=6",
"94-64=30",
"30-6=24"
] | Current State: 24:[34, 40, 94, 64], Operations: []
Exploring Operation: 40-34=6, Resulting Numbers: [94, 64, 6]
Generated Node #2: [94, 64, 6] from Operation: 40-34=6
Current State: 24:[94, 64, 6], Operations: ['40-34=6']
Exploring Operation: 94-64=30, Resulting Numbers: [6, 30]
Generated Node #3: [6, 30] from Operation: 94-64=30
Current State: 24:[6, 30], Operations: ['40-34=6', '94-64=30']
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[34, 40, 94, 64], Operations: []
Exploring Operation: 94-64=30, Resulting Numbers: [34, 40, 30]
Generated Node #0,0: 24:[34, 40, 30] Operation: 94-64=30
Exploring Operation: 64-40=24, Resulting Numbers: [34, 94, 24]
Generated Node #0,1: 24:[34, 94, 24] Operation: 64-40=24
Exploring Operation: 94-34=60, Resulting Numbers: [40, 64, 60]
Generated Node #0,2: 24:[40, 64, 60] Operation: 94-34=60
Exploring Operation: 94-40=54, Resulting Numbers: [34, 64, 54]
Generated Node #0,3: 24:[34, 64, 54] Operation: 94-40=54
Moving to Node #0,0
Current State: 24:[34, 40, 30], Operations: ['94-64=30']
Exploring Operation: 34-30=4, Resulting Numbers: [40, 4]
Generated Node #0,0,0: 24:[40, 4] Operation: 34-30=4
Exploring Operation: 40-30=10, Resulting Numbers: [34, 10]
Generated Node #0,0,1: 24:[34, 10] Operation: 40-30=10
Exploring Operation: 40-34=6, Resulting Numbers: [30, 6]
Generated Node #0,0,2: 24:[30, 6] Operation: 40-34=6
Exploring Operation: 34+40=74, Resulting Numbers: [30, 74]
Generated Node #0,0,3: 24:[30, 74] Operation: 34+40=74
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 24:[30, 6], Operations: ['94-64=30', '40-34=6']
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[34, 40, 94, 64], Operations: []
Exploring Operation: 94-64=30, Resulting Numbers: [34, 40, 30]
Generated Node #0,0: 24:[34, 40, 30] Operation: 94-64=30
Moving to Node #0,0
Current State: 24:[34, 40, 30], Operations: ['94-64=30']
Exploring Operation: 40-34=6, Resulting Numbers: [30, 6]
Generated Node #0,0,2: 24:[30, 6] Operation: 40-34=6
Moving to Node #0,0,2
Current State: 24:[30, 6], Operations: ['94-64=30', '40-34=6']
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
26,
76,
38,
13
] | 37 | [
"26+13=39",
"76/38=2",
"39-2=37"
] | Current State: 37:[26, 76, 38, 13], Operations: []
Exploring Operation: 26+13=39, Resulting Numbers: [76, 38, 39]
Generated Node #2: [76, 38, 39] from Operation: 26+13=39
Current State: 37:[76, 38, 39], Operations: ['26+13=39']
Exploring Operation: 76/38=2, Resulting Numbers: [39, 2]
Generated Node #3: [39, 2] from Operation: 76/38=2
Current State: 37:[39, 2], Operations: ['26+13=39', '76/38=2']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[26, 76, 38, 13], Operations: []
Exploring Operation: 76-26=50, Resulting Numbers: [38, 13, 50]
Generated Node #0,0: 37:[38, 13, 50] Operation: 76-26=50
Exploring Operation: 76-38=38, Resulting Numbers: [26, 13, 38]
Generated Node #0,1: 37:[26, 13, 38] Operation: 76-38=38
Exploring Operation: 76-13=63, Resulting Numbers: [26, 38, 63]
Generated Node #0,2: 37:[26, 38, 63] Operation: 76-13=63
Moving to Node #0,1
Current State: 37:[26, 13, 38], Operations: ['76-38=38']
Exploring Operation: 26+13=39, Resulting Numbers: [38, 39]
Generated Node #0,1,0: 37:[38, 39] Operation: 26+13=39
Exploring Operation: 26-13=13, Resulting Numbers: [38, 13]
Generated Node #0,1,1: 37:[38, 13] Operation: 26-13=13
Exploring Operation: 38-13=25, Resulting Numbers: [26, 25]
Generated Node #0,1,2: 37:[26, 25] Operation: 38-13=25
Moving to Node #0,0
Current State: 37:[38, 13, 50], Operations: ['76-26=50']
Exploring Operation: 38+13=51, Resulting Numbers: [50, 51]
Generated Node #0,0,0: 37:[50, 51] Operation: 38+13=51
Exploring Operation: 38-13=25, Resulting Numbers: [50, 25]
Generated Node #0,0,1: 37:[50, 25] Operation: 38-13=25
Exploring Operation: 50-13=37, Resulting Numbers: [38, 37]
Generated Node #0,0,2: 37:[38, 37] Operation: 50-13=37
Moving to Node #0,2
Current State: 37:[26, 38, 63], Operations: ['76-13=63']
Exploring Operation: 38-26=12, Resulting Numbers: [63, 12]
Generated Node #0,2,0: 37:[63, 12] Operation: 38-26=12
Exploring Operation: 63-26=37, Resulting Numbers: [38, 37]
Generated Node #0,2,1: 37:[38, 37] Operation: 63-26=37
Exploring Operation: 63-38=25, Resulting Numbers: [26, 25]
Generated Node #0,2,2: 37:[26, 25] Operation: 63-38=25
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 37:[38, 37], Operations: ['76-13=63', '63-26=37']
Exploring Operation: 38+37=75, Resulting Numbers: [75]
75,37 unequal: No Solution
Exploring Operation: 38*37=1406, Resulting Numbers: [1406]
1406,37 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 37:[26, 25], Operations: ['76-13=63', '63-38=25']
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,37 unequal: No Solution
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 37:[63, 12], Operations: ['76-13=63', '38-26=12']
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,37 unequal: No Solution
Exploring Operation: 63+12=75, Resulting Numbers: [75]
75,37 unequal: No Solution
Exploring Operation: 63*12=756, Resulting Numbers: [756]
756,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 37:[38, 37], Operations: ['76-26=50', '50-13=37']
Exploring Operation: 38+37=75, Resulting Numbers: [75]
75,37 unequal: No Solution
Exploring Operation: 38*37=1406, Resulting Numbers: [1406]
1406,37 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[38, 39], Operations: ['76-38=38', '26+13=39']
Exploring Operation: 38*39=1482, Resulting Numbers: [1482]
1482,37 unequal: No Solution
Exploring Operation: 38+39=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[26, 25], Operations: ['76-38=38', '38-13=25']
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,37 unequal: No Solution
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,37 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[38, 13], Operations: ['76-38=38', '26-13=13']
Exploring Operation: 38*13=494, Resulting Numbers: [494]
494,37 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[50, 25], Operations: ['76-26=50', '38-13=25']
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 50+25=75, Resulting Numbers: [75]
75,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[50, 51], Operations: ['76-26=50', '38+13=51']
Exploring Operation: 50*51=2550, Resulting Numbers: [2550]
2550,37 unequal: No Solution
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 50+51=101, Resulting Numbers: [101]
101,37 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
49,
47,
16,
4
] | 24 | [
"49+47=96",
"16/4=4",
"96/4=24"
] | Current State: 24:[49, 47, 16, 4], Operations: []
Exploring Operation: 49+47=96, Resulting Numbers: [16, 4, 96]
Generated Node #2: [16, 4, 96] from Operation: 49+47=96
Current State: 24:[16, 4, 96], Operations: ['49+47=96']
Exploring Operation: 16/4=4, Resulting Numbers: [96, 4]
Generated Node #3: [96, 4] from Operation: 16/4=4
Current State: 24:[96, 4], Operations: ['49+47=96', '16/4=4']
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[49, 47, 16, 4], Operations: []
Exploring Operation: 49-47=2, Resulting Numbers: [16, 4, 2]
Generated Node #0,0: 24:[16, 4, 2] Operation: 49-47=2
Exploring Operation: 49-16=33, Resulting Numbers: [47, 4, 33]
Generated Node #0,1: 24:[47, 4, 33] Operation: 49-16=33
Moving to Node #0,0
Current State: 24:[16, 4, 2], Operations: ['49-47=2']
Exploring Operation: 16/4=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 24:[2, 4] Operation: 16/4=4
Exploring Operation: 16-4=12, Resulting Numbers: [2, 12]
Generated Node #0,0,1: 24:[2, 12] Operation: 16-4=12
Moving to Node #0,1
Current State: 24:[47, 4, 33], Operations: ['49-16=33']
Exploring Operation: 47-4=43, Resulting Numbers: [33, 43]
Generated Node #0,1,0: 24:[33, 43] Operation: 47-4=43
Exploring Operation: 47-33=14, Resulting Numbers: [4, 14]
Generated Node #0,1,1: 24:[4, 14] Operation: 47-33=14
Moving to Node #0,0,0
Current State: 24:[2, 4], Operations: ['49-47=2', '16/4=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[2, 12], Operations: ['49-47=2', '16-4=12']
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[49, 47, 16, 4], Operations: []
Exploring Operation: 49-47=2, Resulting Numbers: [16, 4, 2]
Generated Node #0,0: 24:[16, 4, 2] Operation: 49-47=2
Moving to Node #0,0
Current State: 24:[16, 4, 2], Operations: ['49-47=2']
Exploring Operation: 16-4=12, Resulting Numbers: [2, 12]
Generated Node #0,0,1: 24:[2, 12] Operation: 16-4=12
Moving to Node #0,0,1
Current State: 24:[2, 12], Operations: ['49-47=2', '16-4=12']
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.988715 | hs_2 | sum_heuristic |
[
7,
70,
22,
44
] | 20 | [
"70/7=10",
"44/22=2",
"10*2=20"
] | Current State: 20:[7, 70, 22, 44], Operations: []
Exploring Operation: 70/7=10, Resulting Numbers: [22, 44, 10]
Generated Node #2: [22, 44, 10] from Operation: 70/7=10
Current State: 20:[22, 44, 10], Operations: ['70/7=10']
Exploring Operation: 44/22=2, Resulting Numbers: [10, 2]
Generated Node #3: [10, 2] from Operation: 44/22=2
Current State: 20:[10, 2], Operations: ['70/7=10', '44/22=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[7, 70, 22, 44], Operations: []
Exploring Operation: 70-22=48, Resulting Numbers: [7, 44, 48]
Generated Node #0,0: 20:[7, 44, 48] Operation: 70-22=48
Exploring Operation: 44/22=2, Resulting Numbers: [7, 70, 2]
Generated Node #0,1: 20:[7, 70, 2] Operation: 44/22=2
Exploring Operation: 44-22=22, Resulting Numbers: [7, 70, 22]
Generated Node #0,2: 20:[7, 70, 22] Operation: 44-22=22
Exploring Operation: 70/7=10, Resulting Numbers: [22, 44, 10]
Generated Node #0,3: 20:[22, 44, 10] Operation: 70/7=10
Exploring Operation: 70-44=26, Resulting Numbers: [7, 22, 26]
Generated Node #0,4: 20:[7, 22, 26] Operation: 70-44=26
Start Sub Search at level 1: Moving to Node #0,4
Current State: 20:[7, 22, 26], Operations: ['70-44=26']
Exploring Operation: 22-7=15, Resulting Numbers: [26, 15]
Generated Node #0,4,0: 20:[26, 15] Operation: 22-7=15
Exploring Operation: 26-22=4, Resulting Numbers: [7, 4]
Generated Node #0,4,1: 20:[7, 4] Operation: 26-22=4
Exploring Operation: 7+26=33, Resulting Numbers: [22, 33]
Generated Node #0,4,2: 20:[22, 33] Operation: 7+26=33
Exploring Operation: 7+22=29, Resulting Numbers: [26, 29]
Generated Node #0,4,3: 20:[26, 29] Operation: 7+22=29
Exploring Operation: 26-7=19, Resulting Numbers: [22, 19]
Generated Node #0,4,4: 20:[22, 19] Operation: 26-7=19
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 20:[7, 4], Operations: ['70-44=26', '26-22=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,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:[22, 19], Operations: ['70-44=26', '26-7=19']
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 22*19=418, Resulting Numbers: [418]
418,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:[26, 15], Operations: ['70-44=26', '22-7=15']
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,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:[22, 33], Operations: ['70-44=26', '7+26=33']
Exploring Operation: 22+33=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 22*33=726, Resulting Numbers: [726]
726,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:[26, 29], Operations: ['70-44=26', '7+22=29']
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 26+29=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 26*29=754, Resulting Numbers: [754]
754,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:[22, 44, 10], Operations: ['70/7=10']
Exploring Operation: 22-10=12, Resulting Numbers: [44, 12]
Generated Node #0,3,0: 20:[44, 12] Operation: 22-10=12
Exploring Operation: 44/22=2, Resulting Numbers: [10, 2]
Generated Node #0,3,1: 20:[10, 2] Operation: 44/22=2
Exploring Operation: 44-22=22, Resulting Numbers: [10, 22]
Generated Node #0,3,2: 20:[10, 22] Operation: 44-22=22
Exploring Operation: 44-10=34, Resulting Numbers: [22, 34]
Generated Node #0,3,3: 20:[22, 34] Operation: 44-10=34
Exploring Operation: 22+10=32, Resulting Numbers: [44, 32]
Generated Node #0,3,4: 20:[44, 32] Operation: 22+10=32
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 20:[10, 2], Operations: ['70/7=10', '44/22=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[7, 70, 22, 44], Operations: []
Exploring Operation: 70/7=10, Resulting Numbers: [22, 44, 10]
Generated Node #0,3: 20:[22, 44, 10] Operation: 70/7=10
Moving to Node #0,3
Current State: 20:[22, 44, 10], Operations: ['70/7=10']
Exploring Operation: 44/22=2, Resulting Numbers: [10, 2]
Generated Node #0,3,1: 20:[10, 2] Operation: 44/22=2
Moving to Node #0,3,1
Current State: 20:[10, 2], Operations: ['70/7=10', '44/22=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
49,
45,
68,
50
] | 22 | [
"49-45=4",
"68-50=18",
"4+18=22"
] | Current State: 22:[49, 45, 68, 50], Operations: []
Exploring Operation: 49-45=4, Resulting Numbers: [68, 50, 4]
Generated Node #2: [68, 50, 4] from Operation: 49-45=4
Current State: 22:[68, 50, 4], Operations: ['49-45=4']
Exploring Operation: 68-50=18, Resulting Numbers: [4, 18]
Generated Node #3: [4, 18] from Operation: 68-50=18
Current State: 22:[4, 18], Operations: ['49-45=4', '68-50=18']
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[49, 45, 68, 50], Operations: []
Exploring Operation: 68-50=18, Resulting Numbers: [49, 45, 18]
Generated Node #0,0: 22:[49, 45, 18] Operation: 68-50=18
Exploring Operation: 68-49=19, Resulting Numbers: [45, 50, 19]
Generated Node #0,1: 22:[45, 50, 19] Operation: 68-49=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[49, 45, 18], Operations: ['68-50=18']
Exploring Operation: 49-18=31, Resulting Numbers: [45, 31]
Generated Node #0,0,0: 22:[45, 31] Operation: 49-18=31
Exploring Operation: 49-45=4, Resulting Numbers: [18, 4]
Generated Node #0,0,1: 22:[18, 4] Operation: 49-45=4
Moving to Node #0,0,1
Current State: 22:[18, 4], Operations: ['68-50=18', '49-45=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[49, 45, 68, 50], Operations: []
Exploring Operation: 68-50=18, Resulting Numbers: [49, 45, 18]
Generated Node #0,0: 22:[49, 45, 18] Operation: 68-50=18
Moving to Node #0,0
Current State: 22:[49, 45, 18], Operations: ['68-50=18']
Exploring Operation: 49-45=4, Resulting Numbers: [18, 4]
Generated Node #0,0,1: 22:[18, 4] Operation: 49-45=4
Moving to Node #0,0,1
Current State: 22:[18, 4], Operations: ['68-50=18', '49-45=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
54,
57,
23,
4
] | 51 | [
"23-4=19",
"57/19=3",
"54-3=51"
] | Current State: 51:[54, 57, 23, 4], Operations: []
Exploring Operation: 23-4=19, Resulting Numbers: [54, 57, 19]
Generated Node #2: [54, 57, 19] from Operation: 23-4=19
Current State: 51:[54, 57, 19], Operations: ['23-4=19']
Exploring Operation: 57/19=3, Resulting Numbers: [54, 3]
Generated Node #3: [54, 3] from Operation: 57/19=3
Current State: 51:[54, 3], Operations: ['23-4=19', '57/19=3']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[54, 57, 23, 4], Operations: []
Exploring Operation: 57-4=53, Resulting Numbers: [54, 23, 53]
Generated Node #0,0: 51:[54, 23, 53] Operation: 57-4=53
Exploring Operation: 57-54=3, Resulting Numbers: [23, 4, 3]
Generated Node #0,1: 51:[23, 4, 3] Operation: 57-54=3
Exploring Operation: 23-4=19, Resulting Numbers: [54, 57, 19]
Generated Node #0,2: 51:[54, 57, 19] Operation: 23-4=19
Moving to Node #0,1
Current State: 51:[23, 4, 3], Operations: ['57-54=3']
Exploring Operation: 23-4=19, Resulting Numbers: [3, 19]
Generated Node #0,1,0: 51:[3, 19] Operation: 23-4=19
Exploring Operation: 23-3=20, Resulting Numbers: [4, 20]
Generated Node #0,1,1: 51:[4, 20] Operation: 23-3=20
Exploring Operation: 4-3=1, Resulting Numbers: [23, 1]
Generated Node #0,1,2: 51:[23, 1] Operation: 4-3=1
Moving to Node #0,0
Current State: 51:[54, 23, 53], Operations: ['57-4=53']
Exploring Operation: 53-23=30, Resulting Numbers: [54, 30]
Generated Node #0,0,0: 51:[54, 30] Operation: 53-23=30
Exploring Operation: 54-23=31, Resulting Numbers: [53, 31]
Generated Node #0,0,1: 51:[53, 31] Operation: 54-23=31
Exploring Operation: 54-53=1, Resulting Numbers: [23, 1]
Generated Node #0,0,2: 51:[23, 1] Operation: 54-53=1
Moving to Node #0,2
Current State: 51:[54, 57, 19], Operations: ['23-4=19']
Exploring Operation: 57/19=3, Resulting Numbers: [54, 3]
Generated Node #0,2,0: 51:[54, 3] Operation: 57/19=3
Exploring Operation: 57-54=3, Resulting Numbers: [19, 3]
Generated Node #0,2,1: 51:[19, 3] Operation: 57-54=3
Exploring Operation: 57-19=38, Resulting Numbers: [54, 38]
Generated Node #0,2,2: 51:[54, 38] Operation: 57-19=38
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 51:[19, 3], Operations: ['23-4=19', '57-54=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 51:[54, 3], Operations: ['23-4=19', '57/19=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[54, 57, 23, 4], Operations: []
Exploring Operation: 23-4=19, Resulting Numbers: [54, 57, 19]
Generated Node #0,2: 51:[54, 57, 19] Operation: 23-4=19
Moving to Node #0,2
Current State: 51:[54, 57, 19], Operations: ['23-4=19']
Exploring Operation: 57/19=3, Resulting Numbers: [54, 3]
Generated Node #0,2,0: 51:[54, 3] Operation: 57/19=3
Moving to Node #0,2,0
Current State: 51:[54, 3], Operations: ['23-4=19', '57/19=3']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_3 | mult_heuristic |
[
47,
69,
94,
81
] | 35 | [
"69-47=22",
"94-81=13",
"22+13=35"
] | Current State: 35:[47, 69, 94, 81], Operations: []
Exploring Operation: 69-47=22, Resulting Numbers: [94, 81, 22]
Generated Node #2: [94, 81, 22] from Operation: 69-47=22
Current State: 35:[94, 81, 22], Operations: ['69-47=22']
Exploring Operation: 94-81=13, Resulting Numbers: [22, 13]
Generated Node #3: [22, 13] from Operation: 94-81=13
Current State: 35:[22, 13], Operations: ['69-47=22', '94-81=13']
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[47, 69, 94, 81], Operations: []
Exploring Operation: 94-81=13, Resulting Numbers: [47, 69, 13]
Generated Node #0,0: 35:[47, 69, 13] Operation: 94-81=13
Exploring Operation: 81-69=12, Resulting Numbers: [47, 94, 12]
Generated Node #0,1: 35:[47, 94, 12] Operation: 81-69=12
Exploring Operation: 94/47=2, Resulting Numbers: [69, 81, 2]
Generated Node #0,2: 35:[69, 81, 2] Operation: 94/47=2
Exploring Operation: 94-69=25, Resulting Numbers: [47, 81, 25]
Generated Node #0,3: 35:[47, 81, 25] Operation: 94-69=25
Moving to Node #0,0
Current State: 35:[47, 69, 13], Operations: ['94-81=13']
Exploring Operation: 47-13=34, Resulting Numbers: [69, 34]
Generated Node #0,0,0: 35:[69, 34] Operation: 47-13=34
Exploring Operation: 69-13=56, Resulting Numbers: [47, 56]
Generated Node #0,0,1: 35:[47, 56] Operation: 69-13=56
Exploring Operation: 47+13=60, Resulting Numbers: [69, 60]
Generated Node #0,0,2: 35:[69, 60] Operation: 47+13=60
Exploring Operation: 69-47=22, Resulting Numbers: [13, 22]
Generated Node #0,0,3: 35:[13, 22] Operation: 69-47=22
Moving to Node #0,3
Current State: 35:[47, 81, 25], Operations: ['94-69=25']
Exploring Operation: 81-47=34, Resulting Numbers: [25, 34]
Generated Node #0,3,0: 35:[25, 34] Operation: 81-47=34
Exploring Operation: 81-25=56, Resulting Numbers: [47, 56]
Generated Node #0,3,1: 35:[47, 56] Operation: 81-25=56
Exploring Operation: 47+25=72, Resulting Numbers: [81, 72]
Generated Node #0,3,2: 35:[81, 72] Operation: 47+25=72
Exploring Operation: 47-25=22, Resulting Numbers: [81, 22]
Generated Node #0,3,3: 35:[81, 22] Operation: 47-25=22
Moving to Node #0,1
Current State: 35:[47, 94, 12], Operations: ['81-69=12']
Exploring Operation: 94-47=47, Resulting Numbers: [12, 47]
Generated Node #0,1,0: 35:[12, 47] Operation: 94-47=47
Exploring Operation: 94/47=2, Resulting Numbers: [12, 2]
Generated Node #0,1,1: 35:[12, 2] Operation: 94/47=2
Exploring Operation: 47-12=35, Resulting Numbers: [94, 35]
Generated Node #0,1,2: 35:[94, 35] Operation: 47-12=35
Exploring Operation: 94-12=82, Resulting Numbers: [47, 82]
Generated Node #0,1,3: 35:[47, 82] Operation: 94-12=82
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[12, 2], Operations: ['81-69=12', '94/47=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[12, 47], Operations: ['81-69=12', '94-47=47']
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[47, 69, 94, 81], Operations: []
Exploring Operation: 81-69=12, Resulting Numbers: [47, 94, 12]
Generated Node #0,1: 35:[47, 94, 12] Operation: 81-69=12
Moving to Node #0,1
Current State: 35:[47, 94, 12], Operations: ['81-69=12']
Exploring Operation: 94-47=47, Resulting Numbers: [12, 47]
Generated Node #0,1,0: 35:[12, 47] Operation: 94-47=47
Moving to Node #0,1,0
Current State: 35:[12, 47], Operations: ['81-69=12', '94-47=47']
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | sum_heuristic |
[
65,
25,
36,
87
] | 75 | [
"65-36=29",
"25*87=2175",
"2175/29=75"
] | Current State: 75:[65, 25, 36, 87], Operations: []
Exploring Operation: 65-36=29, Resulting Numbers: [25, 87, 29]
Generated Node #2: [25, 87, 29] from Operation: 65-36=29
Current State: 75:[25, 87, 29], Operations: ['65-36=29']
Exploring Operation: 25*87=2175, Resulting Numbers: [29, 2175]
Generated Node #3: [29, 2175] from Operation: 25*87=2175
Current State: 75:[29, 2175], Operations: ['65-36=29', '25*87=2175']
Exploring Operation: 2175/29=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[65, 25, 36, 87], Operations: []
Exploring Operation: 65-36=29, Resulting Numbers: [25, 87, 29]
Generated Node #0,0: 75:[25, 87, 29] Operation: 65-36=29
Exploring Operation: 87-65=22, Resulting Numbers: [25, 36, 22]
Generated Node #0,1: 75:[25, 36, 22] Operation: 87-65=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[25, 36, 22], Operations: ['87-65=22']
Exploring Operation: 36-25=11, Resulting Numbers: [22, 11]
Generated Node #0,1,0: 75:[22, 11] Operation: 36-25=11
Exploring Operation: 36-22=14, Resulting Numbers: [25, 14]
Generated Node #0,1,1: 75:[25, 14] Operation: 36-22=14
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[25, 14], Operations: ['87-65=22', '36-22=14']
Exploring Operation: 25+14=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,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,1,0
Current State: 75:[22, 11], Operations: ['87-65=22', '36-25=11']
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,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,0
Current State: 75:[25, 87, 29], Operations: ['65-36=29']
Exploring Operation: 87/29=3, Resulting Numbers: [25, 3]
Generated Node #0,0,0: 75:[25, 3] Operation: 87/29=3
Exploring Operation: 29-25=4, Resulting Numbers: [87, 4]
Generated Node #0,0,1: 75:[87, 4] Operation: 29-25=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[25, 3], Operations: ['65-36=29', '87/29=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[65, 25, 36, 87], Operations: []
Exploring Operation: 65-36=29, Resulting Numbers: [25, 87, 29]
Generated Node #0,0: 75:[25, 87, 29] Operation: 65-36=29
Moving to Node #0,0
Current State: 75:[25, 87, 29], Operations: ['65-36=29']
Exploring Operation: 87/29=3, Resulting Numbers: [25, 3]
Generated Node #0,0,0: 75:[25, 3] Operation: 87/29=3
Moving to Node #0,0,0
Current State: 75:[25, 3], Operations: ['65-36=29', '87/29=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
15,
86,
46,
20
] | 75 | [
"15+86=101",
"46-20=26",
"101-26=75"
] | Current State: 75:[15, 86, 46, 20], Operations: []
Exploring Operation: 15+86=101, Resulting Numbers: [46, 20, 101]
Generated Node #2: [46, 20, 101] from Operation: 15+86=101
Current State: 75:[46, 20, 101], Operations: ['15+86=101']
Exploring Operation: 46-20=26, Resulting Numbers: [101, 26]
Generated Node #3: [101, 26] from Operation: 46-20=26
Current State: 75:[101, 26], Operations: ['15+86=101', '46-20=26']
Exploring Operation: 101-26=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[15, 86, 46, 20], Operations: []
Exploring Operation: 46+20=66, Resulting Numbers: [15, 86, 66]
Generated Node #0,0: 75:[15, 86, 66] Operation: 46+20=66
Exploring Operation: 86-46=40, Resulting Numbers: [15, 20, 40]
Generated Node #0,1: 75:[15, 20, 40] Operation: 86-46=40
Exploring Operation: 46-20=26, Resulting Numbers: [15, 86, 26]
Generated Node #0,2: 75:[15, 86, 26] Operation: 46-20=26
Moving to Node #0,2
Current State: 75:[15, 86, 26], Operations: ['46-20=26']
Exploring Operation: 86-15=71, Resulting Numbers: [26, 71]
Generated Node #0,2,0: 75:[26, 71] Operation: 86-15=71
Exploring Operation: 26-15=11, Resulting Numbers: [86, 11]
Generated Node #0,2,1: 75:[86, 11] Operation: 26-15=11
Exploring Operation: 86-26=60, Resulting Numbers: [15, 60]
Generated Node #0,2,2: 75:[15, 60] Operation: 86-26=60
Moving to Node #0,0
Current State: 75:[15, 86, 66], Operations: ['46+20=66']
Exploring Operation: 15+66=81, Resulting Numbers: [86, 81]
Generated Node #0,0,0: 75:[86, 81] Operation: 15+66=81
Exploring Operation: 86-15=71, Resulting Numbers: [66, 71]
Generated Node #0,0,1: 75:[66, 71] Operation: 86-15=71
Exploring Operation: 86-66=20, Resulting Numbers: [15, 20]
Generated Node #0,0,2: 75:[15, 20] Operation: 86-66=20
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 75:[15, 20], Operations: ['46+20=66', '86-66=20']
Exploring Operation: 15+20=35, Resulting Numbers: [35]
35,75 unequal: No Solution
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 15*20=300, Resulting Numbers: [300]
300,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[66, 71], Operations: ['46+20=66', '86-15=71']
Exploring Operation: 66+71=137, Resulting Numbers: [137]
137,75 unequal: No Solution
Exploring Operation: 71-66=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 66*71=4686, Resulting Numbers: [4686]
4686,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[86, 81], Operations: ['46+20=66', '15+66=81']
Exploring Operation: 86*81=6966, Resulting Numbers: [6966]
6966,75 unequal: No Solution
Exploring Operation: 86-81=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 86+81=167, Resulting Numbers: [167]
167,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 75:[15, 20, 40], Operations: ['86-46=40']
Exploring Operation: 40/20=2, Resulting Numbers: [15, 2]
Generated Node #0,1,0: 75:[15, 2] Operation: 40/20=2
Exploring Operation: 40-20=20, Resulting Numbers: [15, 20]
Generated Node #0,1,1: 75:[15, 20] Operation: 40-20=20
Exploring Operation: 40-15=25, Resulting Numbers: [20, 25]
Generated Node #0,1,2: 75:[20, 25] Operation: 40-15=25
Moving to Node #0,1,0
Current State: 75:[15, 2], Operations: ['86-46=40', '40/20=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,75 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,75 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[20, 25], Operations: ['86-46=40', '40-15=25']
Exploring Operation: 20*25=500, Resulting Numbers: [500]
500,75 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 20+25=45, Resulting Numbers: [45]
45,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[26, 71], Operations: ['46-20=26', '86-15=71']
Exploring Operation: 26+71=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 26*71=1846, Resulting Numbers: [1846]
1846,75 unequal: No Solution
Exploring Operation: 71-26=45, Resulting Numbers: [45]
45,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[15, 20], Operations: ['86-46=40', '40-20=20']
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 15*20=300, Resulting Numbers: [300]
300,75 unequal: No Solution
Exploring Operation: 15+20=35, Resulting Numbers: [35]
35,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[86, 11], Operations: ['46-20=26', '26-15=11']
Exploring Operation: 86-11=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[15, 86, 46, 20], Operations: []
Exploring Operation: 46-20=26, Resulting Numbers: [15, 86, 26]
Generated Node #0,2: 75:[15, 86, 26] Operation: 46-20=26
Moving to Node #0,2
Current State: 75:[15, 86, 26], Operations: ['46-20=26']
Exploring Operation: 26-15=11, Resulting Numbers: [86, 11]
Generated Node #0,2,1: 75:[86, 11] Operation: 26-15=11
Moving to Node #0,2,1
Current State: 75:[86, 11], Operations: ['46-20=26', '26-15=11']
Exploring Operation: 86-11=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.967014 | hs_3 | sum_heuristic |
[
92,
88,
10,
96
] | 12 | [
"96-92=4",
"88/4=22",
"22-10=12"
] | Current State: 12:[92, 88, 10, 96], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [88, 10, 4]
Generated Node #2: [88, 10, 4] from Operation: 96-92=4
Current State: 12:[88, 10, 4], Operations: ['96-92=4']
Exploring Operation: 88/4=22, Resulting Numbers: [10, 22]
Generated Node #3: [10, 22] from Operation: 88/4=22
Current State: 12:[10, 22], Operations: ['96-92=4', '88/4=22']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[92, 88, 10, 96], Operations: []
Exploring Operation: 96-88=8, Resulting Numbers: [92, 10, 8]
Generated Node #0,0: 12:[92, 10, 8] Operation: 96-88=8
Exploring Operation: 96-92=4, Resulting Numbers: [88, 10, 4]
Generated Node #0,1: 12:[88, 10, 4] Operation: 96-92=4
Exploring Operation: 92-88=4, Resulting Numbers: [10, 96, 4]
Generated Node #0,2: 12:[10, 96, 4] Operation: 92-88=4
Moving to Node #0,1
Current State: 12:[88, 10, 4], Operations: ['96-92=4']
Exploring Operation: 88-4=84, Resulting Numbers: [10, 84]
Generated Node #0,1,0: 12:[10, 84] Operation: 88-4=84
Exploring Operation: 88/4=22, Resulting Numbers: [10, 22]
Generated Node #0,1,1: 12:[10, 22] Operation: 88/4=22
Exploring Operation: 88-10=78, Resulting Numbers: [4, 78]
Generated Node #0,1,2: 12:[4, 78] Operation: 88-10=78
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[10, 22], Operations: ['96-92=4', '88/4=22']
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,12 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[92, 88, 10, 96], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [88, 10, 4]
Generated Node #0,1: 12:[88, 10, 4] Operation: 96-92=4
Moving to Node #0,1
Current State: 12:[88, 10, 4], Operations: ['96-92=4']
Exploring Operation: 88/4=22, Resulting Numbers: [10, 22]
Generated Node #0,1,1: 12:[10, 22] Operation: 88/4=22
Moving to Node #0,1,1
Current State: 12:[10, 22], Operations: ['96-92=4', '88/4=22']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
1,
60,
23,
2
] | 71 | [
"23-1=22",
"22/2=11",
"60+11=71"
] | Current State: 71:[1, 60, 23, 2], Operations: []
Exploring Operation: 23-1=22, Resulting Numbers: [60, 2, 22]
Generated Node #2: [60, 2, 22] from Operation: 23-1=22
Current State: 71:[60, 2, 22], Operations: ['23-1=22']
Exploring Operation: 22/2=11, Resulting Numbers: [60, 11]
Generated Node #3: [60, 11] from Operation: 22/2=11
Current State: 71:[60, 11], Operations: ['23-1=22', '22/2=11']
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[1, 60, 23, 2], Operations: []
Exploring Operation: 1+60=61, Resulting Numbers: [23, 2, 61]
Generated Node #0,0: 71:[23, 2, 61] Operation: 1+60=61
Exploring Operation: 23*2=46, Resulting Numbers: [1, 60, 46]
Generated Node #0,1: 71:[1, 60, 46] Operation: 23*2=46
Moving to Node #0,1
Current State: 71:[1, 60, 46], Operations: ['23*2=46']
Exploring Operation: 1+46=47, Resulting Numbers: [60, 47]
Generated Node #0,1,0: 71:[60, 47] Operation: 1+46=47
Exploring Operation: 1+60=61, Resulting Numbers: [46, 61]
Generated Node #0,1,1: 71:[46, 61] Operation: 1+60=61
Moving to Node #0,0
Current State: 71:[23, 2, 61], Operations: ['1+60=61']
Exploring Operation: 23+2=25, Resulting Numbers: [61, 25]
Generated Node #0,0,0: 71:[61, 25] Operation: 23+2=25
Exploring Operation: 23*2=46, Resulting Numbers: [61, 46]
Generated Node #0,0,1: 71:[61, 46] Operation: 23*2=46
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[61, 46], Operations: ['1+60=61', '23*2=46']
Exploring Operation: 61-46=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Exploring Operation: 61+46=107, Resulting Numbers: [107]
107,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[61, 25], Operations: ['1+60=61', '23+2=25']
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Exploring Operation: 61+25=86, Resulting Numbers: [86]
86,71 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: 71:[60, 47], Operations: ['23*2=46', '1+46=47']
Exploring Operation: 60+47=107, Resulting Numbers: [107]
107,71 unequal: No Solution
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[46, 61], Operations: ['23*2=46', '1+60=61']
Exploring Operation: 46+61=107, Resulting Numbers: [107]
107,71 unequal: No Solution
Exploring Operation: 61-46=15, Resulting Numbers: [15]
15,71 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
12,
4,
6,
76
] | 17 | [
"12/6=2",
"76/4=19",
"19-2=17"
] | Current State: 17:[12, 4, 6, 76], Operations: []
Exploring Operation: 12/6=2, Resulting Numbers: [4, 76, 2]
Generated Node #2: [4, 76, 2] from Operation: 12/6=2
Current State: 17:[4, 76, 2], Operations: ['12/6=2']
Exploring Operation: 76/4=19, Resulting Numbers: [2, 19]
Generated Node #3: [2, 19] from Operation: 76/4=19
Current State: 17:[2, 19], Operations: ['12/6=2', '76/4=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[12, 4, 6, 76], Operations: []
Exploring Operation: 4+6=10, Resulting Numbers: [12, 76, 10]
Generated Node #0,0: 17:[12, 76, 10] Operation: 4+6=10
Exploring Operation: 76-12=64, Resulting Numbers: [4, 6, 64]
Generated Node #0,1: 17:[4, 6, 64] Operation: 76-12=64
Exploring Operation: 12+4=16, Resulting Numbers: [6, 76, 16]
Generated Node #0,2: 17:[6, 76, 16] Operation: 12+4=16
Exploring Operation: 76/4=19, Resulting Numbers: [12, 6, 19]
Generated Node #0,3: 17:[12, 6, 19] Operation: 76/4=19
Exploring Operation: 4*6=24, Resulting Numbers: [12, 76, 24]
Generated Node #0,4: 17:[12, 76, 24] Operation: 4*6=24
Moving to Node #0,3
Current State: 17:[12, 6, 19], Operations: ['76/4=19']
Exploring Operation: 12+6=18, Resulting Numbers: [19, 18]
Generated Node #0,3,0: 17:[19, 18] Operation: 12+6=18
Exploring Operation: 19-6=13, Resulting Numbers: [12, 13]
Generated Node #0,3,1: 17:[12, 13] Operation: 19-6=13
Exploring Operation: 6+19=25, Resulting Numbers: [12, 25]
Generated Node #0,3,2: 17:[12, 25] Operation: 6+19=25
Exploring Operation: 12-6=6, Resulting Numbers: [19, 6]
Generated Node #0,3,3: 17:[19, 6] Operation: 12-6=6
Exploring Operation: 12/6=2, Resulting Numbers: [19, 2]
Generated Node #0,3,4: 17:[19, 2] Operation: 12/6=2
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 17:[19, 18], Operations: ['76/4=19', '12+6=18']
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,17 unequal: No Solution
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 17:[12, 13], Operations: ['76/4=19', '19-6=13']
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,17 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 17:[12, 25], Operations: ['76/4=19', '6+19=25']
Exploring Operation: 12*25=300, Resulting Numbers: [300]
300,17 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,17 unequal: No Solution
Exploring Operation: 12+25=37, Resulting Numbers: [37]
37,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 17:[19, 6], Operations: ['76/4=19', '12-6=6']
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,17 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,17 unequal: No Solution
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 17:[19, 2], Operations: ['76/4=19', '12/6=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[12, 4, 6, 76], Operations: []
Exploring Operation: 76/4=19, Resulting Numbers: [12, 6, 19]
Generated Node #0,3: 17:[12, 6, 19] Operation: 76/4=19
Moving to Node #0,3
Current State: 17:[12, 6, 19], Operations: ['76/4=19']
Exploring Operation: 12/6=2, Resulting Numbers: [19, 2]
Generated Node #0,3,4: 17:[19, 2] Operation: 12/6=2
Moving to Node #0,3,4
Current State: 17:[19, 2], Operations: ['76/4=19', '12/6=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | sum_heuristic |
[
28,
2,
64,
12
] | 98 | [
"28+64=92",
"12/2=6",
"92+6=98"
] | Current State: 98:[28, 2, 64, 12], Operations: []
Exploring Operation: 28+64=92, Resulting Numbers: [2, 12, 92]
Generated Node #2: [2, 12, 92] from Operation: 28+64=92
Current State: 98:[2, 12, 92], Operations: ['28+64=92']
Exploring Operation: 12/2=6, Resulting Numbers: [92, 6]
Generated Node #3: [92, 6] from Operation: 12/2=6
Current State: 98:[92, 6], Operations: ['28+64=92', '12/2=6']
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[28, 2, 64, 12], Operations: []
Exploring Operation: 28+64=92, Resulting Numbers: [2, 12, 92]
Generated Node #0,0: 98:[2, 12, 92] Operation: 28+64=92
Exploring Operation: 28/2=14, Resulting Numbers: [64, 12, 14]
Generated Node #0,1: 98:[64, 12, 14] Operation: 28/2=14
Exploring Operation: 64-12=52, Resulting Numbers: [28, 2, 52]
Generated Node #0,2: 98:[28, 2, 52] Operation: 64-12=52
Exploring Operation: 64-28=36, Resulting Numbers: [2, 12, 36]
Generated Node #0,3: 98:[2, 12, 36] Operation: 64-28=36
Exploring Operation: 28-12=16, Resulting Numbers: [2, 64, 16]
Generated Node #0,4: 98:[2, 64, 16] Operation: 28-12=16
Moving to Node #0,0
Current State: 98:[2, 12, 92], Operations: ['28+64=92']
Exploring Operation: 12+92=104, Resulting Numbers: [2, 104]
Generated Node #0,0,0: 98:[2, 104] Operation: 12+92=104
Exploring Operation: 2+12=14, Resulting Numbers: [92, 14]
Generated Node #0,0,1: 98:[92, 14] Operation: 2+12=14
Exploring Operation: 12/2=6, Resulting Numbers: [92, 6]
Generated Node #0,0,2: 98:[92, 6] Operation: 12/2=6
Exploring Operation: 92/2=46, Resulting Numbers: [12, 46]
Generated Node #0,0,3: 98:[12, 46] Operation: 92/2=46
Exploring Operation: 2+92=94, Resulting Numbers: [12, 94]
Generated Node #0,0,4: 98:[12, 94] Operation: 2+92=94
Moving to Node #0,3
Current State: 98:[2, 12, 36], Operations: ['64-28=36']
Exploring Operation: 36/2=18, Resulting Numbers: [12, 18]
Generated Node #0,3,0: 98:[12, 18] Operation: 36/2=18
Exploring Operation: 2+12=14, Resulting Numbers: [36, 14]
Generated Node #0,3,1: 98:[36, 14] Operation: 2+12=14
Exploring Operation: 36/12=3, Resulting Numbers: [2, 3]
Generated Node #0,3,2: 98:[2, 3] Operation: 36/12=3
Exploring Operation: 12+36=48, Resulting Numbers: [2, 48]
Generated Node #0,3,3: 98:[2, 48] Operation: 12+36=48
Exploring Operation: 36-12=24, Resulting Numbers: [2, 24]
Generated Node #0,3,4: 98:[2, 24] Operation: 36-12=24
Moving to Node #0,1
Current State: 98:[64, 12, 14], Operations: ['28/2=14']
Exploring Operation: 14-12=2, Resulting Numbers: [64, 2]
Generated Node #0,1,0: 98:[64, 2] Operation: 14-12=2
Exploring Operation: 64+14=78, Resulting Numbers: [12, 78]
Generated Node #0,1,1: 98:[12, 78] Operation: 64+14=78
Exploring Operation: 64+12=76, Resulting Numbers: [14, 76]
Generated Node #0,1,2: 98:[14, 76] Operation: 64+12=76
Exploring Operation: 64-12=52, Resulting Numbers: [14, 52]
Generated Node #0,1,3: 98:[14, 52] Operation: 64-12=52
Exploring Operation: 64-14=50, Resulting Numbers: [12, 50]
Generated Node #0,1,4: 98:[12, 50] Operation: 64-14=50
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 98:[14, 52], Operations: ['28/2=14', '64-12=52']
Exploring Operation: 14*52=728, Resulting Numbers: [728]
728,98 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 98:[12, 50], Operations: ['28/2=14', '64-14=50']
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Exploring Operation: 12*50=600, Resulting Numbers: [600]
600,98 unequal: No Solution
Exploring Operation: 12+50=62, Resulting Numbers: [62]
62,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[64, 2], Operations: ['28/2=14', '14-12=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 64*2=128, Resulting Numbers: [128]
128,98 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[12, 78], Operations: ['28/2=14', '64+14=78']
Exploring Operation: 12+78=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Exploring Operation: 12*78=936, Resulting Numbers: [936]
936,98 unequal: No Solution
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 98:[14, 76], Operations: ['28/2=14', '64+12=76']
Exploring Operation: 76-14=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Exploring Operation: 14+76=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Exploring Operation: 14*76=1064, Resulting Numbers: [1064]
1064,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 98:[28, 2, 52], Operations: ['64-12=52']
Exploring Operation: 28-2=26, Resulting Numbers: [52, 26]
Generated Node #0,2,0: 98:[52, 26] Operation: 28-2=26
Exploring Operation: 52-2=50, Resulting Numbers: [28, 50]
Generated Node #0,2,1: 98:[28, 50] Operation: 52-2=50
Exploring Operation: 28/2=14, Resulting Numbers: [52, 14]
Generated Node #0,2,2: 98:[52, 14] Operation: 28/2=14
Exploring Operation: 28*2=56, Resulting Numbers: [52, 56]
Generated Node #0,2,3: 98:[52, 56] Operation: 28*2=56
Exploring Operation: 52-28=24, Resulting Numbers: [2, 24]
Generated Node #0,2,4: 98:[2, 24] Operation: 52-28=24
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 98:[52, 14], Operations: ['64-12=52', '28/2=14']
Exploring Operation: 52+14=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 52*14=728, Resulting Numbers: [728]
728,98 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 98:[52, 56], Operations: ['64-12=52', '28*2=56']
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Exploring Operation: 52*56=2912, Resulting Numbers: [2912]
2912,98 unequal: No Solution
Exploring Operation: 52+56=108, Resulting Numbers: [108]
108,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 98:[2, 24], Operations: ['64-12=52', '52-28=24']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 98:[52, 26], Operations: ['64-12=52', '28-2=26']
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 52+26=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Exploring Operation: 52*26=1352, Resulting Numbers: [1352]
1352,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 98:[28, 50], Operations: ['64-12=52', '52-2=50']
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 28+50=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 28*50=1400, Resulting Numbers: [1400]
1400,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 98:[2, 64, 16], Operations: ['28-12=16']
Exploring Operation: 64/16=4, Resulting Numbers: [2, 4]
Generated Node #0,4,0: 98:[2, 4] Operation: 64/16=4
Exploring Operation: 64-16=48, Resulting Numbers: [2, 48]
Generated Node #0,4,1: 98:[2, 48] Operation: 64-16=48
Exploring Operation: 16-2=14, Resulting Numbers: [64, 14]
Generated Node #0,4,2: 98:[64, 14] Operation: 16-2=14
Exploring Operation: 64-2=62, Resulting Numbers: [16, 62]
Generated Node #0,4,3: 98:[16, 62] Operation: 64-2=62
Exploring Operation: 16/2=8, Resulting Numbers: [64, 8]
Generated Node #0,4,4: 98:[64, 8] Operation: 16/2=8
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 98:[2, 48], Operations: ['28-12=16', '64-16=48']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,98 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,98 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 98:[2, 4], Operations: ['28-12=16', '64/16=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 98:[64, 14], Operations: ['28-12=16', '16-2=14']
Exploring Operation: 64-14=50, Resulting Numbers: [50]
50,98 unequal: No Solution
Exploring Operation: 64*14=896, Resulting Numbers: [896]
896,98 unequal: No Solution
Exploring Operation: 64+14=78, Resulting Numbers: [78]
78,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 98:[16, 62], Operations: ['28-12=16', '64-2=62']
Exploring Operation: 16+62=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 16*62=992, Resulting Numbers: [992]
992,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 98:[64, 8], Operations: ['28-12=16', '16/2=8']
Exploring Operation: 64*8=512, Resulting Numbers: [512]
512,98 unequal: No Solution
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,98 unequal: No Solution
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 98:[2, 3], Operations: ['64-28=36', '36/12=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Moving to Node #0,3,3
Current State: 98:[2, 48], Operations: ['64-28=36', '12+36=48']
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,98 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,98 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,98 unequal: No Solution
Moving to Node #0,0,3
Current State: 98:[12, 46], Operations: ['28+64=92', '92/2=46']
Exploring Operation: 12*46=552, Resulting Numbers: [552]
552,98 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 12+46=58, Resulting Numbers: [58]
58,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[92, 14], Operations: ['28+64=92', '2+12=14']
Exploring Operation: 92+14=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Exploring Operation: 92-14=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 92*14=1288, Resulting Numbers: [1288]
1288,98 unequal: No Solution
Moving to Node #0,3,0
Current State: 98:[12, 18], Operations: ['64-28=36', '36/2=18']
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,98 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[2, 104], Operations: ['28+64=92', '12+92=104']
Exploring Operation: 104-2=102, Resulting Numbers: [102]
102,98 unequal: No Solution
Exploring Operation: 2*104=208, Resulting Numbers: [208]
208,98 unequal: No Solution
Exploring Operation: 2+104=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Exploring Operation: 104/2=52, Resulting Numbers: [52]
52,98 unequal: No Solution
Moving to Node #0,0,4
Current State: 98:[12, 94], Operations: ['28+64=92', '2+92=94']
Exploring Operation: 94-12=82, Resulting Numbers: [82]
82,98 unequal: No Solution
Exploring Operation: 12*94=1128, Resulting Numbers: [1128]
1128,98 unequal: No Solution
Exploring Operation: 12+94=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[92, 6], Operations: ['28+64=92', '12/2=6']
Exploring Operation: 92*6=552, Resulting Numbers: [552]
552,98 unequal: No Solution
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[28, 2, 64, 12], Operations: []
Exploring Operation: 28+64=92, Resulting Numbers: [2, 12, 92]
Generated Node #0,0: 98:[2, 12, 92] Operation: 28+64=92
Moving to Node #0,0
Current State: 98:[2, 12, 92], Operations: ['28+64=92']
Exploring Operation: 12/2=6, Resulting Numbers: [92, 6]
Generated Node #0,0,2: 98:[92, 6] Operation: 12/2=6
Moving to Node #0,0,2
Current State: 98:[92, 6], Operations: ['28+64=92', '12/2=6']
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.904514 | hs_5 | sum_heuristic |
[
11,
14,
33,
66
] | 99 | [
"14-11=3",
"66-33=33",
"3*33=99"
] | Current State: 99:[11, 14, 33, 66], Operations: []
Exploring Operation: 14-11=3, Resulting Numbers: [33, 66, 3]
Generated Node #2: [33, 66, 3] from Operation: 14-11=3
Current State: 99:[33, 66, 3], Operations: ['14-11=3']
Exploring Operation: 66-33=33, Resulting Numbers: [3, 33]
Generated Node #3: [3, 33] from Operation: 66-33=33
Current State: 99:[3, 33], Operations: ['14-11=3', '66-33=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[11, 14, 33, 66], Operations: []
Exploring Operation: 66/33=2, Resulting Numbers: [11, 14, 2]
Generated Node #0,0: 99:[11, 14, 2] Operation: 66/33=2
Exploring Operation: 66-33=33, Resulting Numbers: [11, 14, 33]
Generated Node #0,1: 99:[11, 14, 33] Operation: 66-33=33
Exploring Operation: 33+66=99, Resulting Numbers: [11, 14, 99]
Generated Node #0,2: 99:[11, 14, 99] Operation: 33+66=99
Moving to Node #0,1
Current State: 99:[11, 14, 33], Operations: ['66-33=33']
Exploring Operation: 14-11=3, Resulting Numbers: [33, 3]
Generated Node #0,1,0: 99:[33, 3] Operation: 14-11=3
Exploring Operation: 33/11=3, Resulting Numbers: [14, 3]
Generated Node #0,1,1: 99:[14, 3] Operation: 33/11=3
Exploring Operation: 11+14=25, Resulting Numbers: [33, 25]
Generated Node #0,1,2: 99:[33, 25] Operation: 11+14=25
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[33, 3], Operations: ['66-33=33', '14-11=3']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,99 unequal: No Solution
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[11, 14, 33, 66], Operations: []
Exploring Operation: 66-33=33, Resulting Numbers: [11, 14, 33]
Generated Node #0,1: 99:[11, 14, 33] Operation: 66-33=33
Moving to Node #0,1
Current State: 99:[11, 14, 33], Operations: ['66-33=33']
Exploring Operation: 14-11=3, Resulting Numbers: [33, 3]
Generated Node #0,1,0: 99:[33, 3] Operation: 14-11=3
Moving to Node #0,1,0
Current State: 99:[33, 3], Operations: ['66-33=33', '14-11=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
32,
52,
17,
51
] | 50 | [
"32+52=84",
"51-17=34",
"84-34=50"
] | Current State: 50:[32, 52, 17, 51], Operations: []
Exploring Operation: 32+52=84, Resulting Numbers: [17, 51, 84]
Generated Node #2: [17, 51, 84] from Operation: 32+52=84
Current State: 50:[17, 51, 84], Operations: ['32+52=84']
Exploring Operation: 51-17=34, Resulting Numbers: [84, 34]
Generated Node #3: [84, 34] from Operation: 51-17=34
Current State: 50:[84, 34], Operations: ['32+52=84', '51-17=34']
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[32, 52, 17, 51], Operations: []
Exploring Operation: 32+17=49, Resulting Numbers: [52, 51, 49]
Generated Node #0,0: 50:[52, 51, 49] Operation: 32+17=49
Exploring Operation: 51/17=3, Resulting Numbers: [32, 52, 3]
Generated Node #0,1: 50:[32, 52, 3] Operation: 51/17=3
Exploring Operation: 32-17=15, Resulting Numbers: [52, 51, 15]
Generated Node #0,2: 50:[52, 51, 15] Operation: 32-17=15
Moving to Node #0,0
Current State: 50:[52, 51, 49], Operations: ['32+17=49']
Exploring Operation: 52-51=1, Resulting Numbers: [49, 1]
Generated Node #0,0,0: 50:[49, 1] Operation: 52-51=1
Exploring Operation: 51-49=2, Resulting Numbers: [52, 2]
Generated Node #0,0,1: 50:[52, 2] Operation: 51-49=2
Exploring Operation: 52-49=3, Resulting Numbers: [51, 3]
Generated Node #0,0,2: 50:[51, 3] Operation: 52-49=3
Moving to Node #0,2
Current State: 50:[52, 51, 15], Operations: ['32-17=15']
Exploring Operation: 52-15=37, Resulting Numbers: [51, 37]
Generated Node #0,2,0: 50:[51, 37] Operation: 52-15=37
Exploring Operation: 51-15=36, Resulting Numbers: [52, 36]
Generated Node #0,2,1: 50:[52, 36] Operation: 51-15=36
Exploring Operation: 52-51=1, Resulting Numbers: [15, 1]
Generated Node #0,2,2: 50:[15, 1] Operation: 52-51=1
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 50:[15, 1], Operations: ['32-17=15', '52-51=1']
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,50 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,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,2,0
Current State: 50:[51, 37], Operations: ['32-17=15', '52-15=37']
Exploring Operation: 51*37=1887, Resulting Numbers: [1887]
1887,50 unequal: No Solution
Exploring Operation: 51+37=88, Resulting Numbers: [88]
88,50 unequal: No Solution
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,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,2,1
Current State: 50:[52, 36], Operations: ['32-17=15', '51-15=36']
Exploring Operation: 52+36=88, Resulting Numbers: [88]
88,50 unequal: No Solution
Exploring Operation: 52*36=1872, Resulting Numbers: [1872]
1872,50 unequal: No Solution
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,50 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: 50:[32, 52, 3], Operations: ['51/17=3']
Exploring Operation: 52-32=20, Resulting Numbers: [3, 20]
Generated Node #0,1,0: 50:[3, 20] Operation: 52-32=20
Exploring Operation: 32-3=29, Resulting Numbers: [52, 29]
Generated Node #0,1,1: 50:[52, 29] Operation: 32-3=29
Exploring Operation: 52-3=49, Resulting Numbers: [32, 49]
Generated Node #0,1,2: 50:[32, 49] Operation: 52-3=49
Moving to Node #0,0,0
Current State: 50:[49, 1], Operations: ['32+17=49', '52-51=1']
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[32, 52, 17, 51], Operations: []
Exploring Operation: 32+17=49, Resulting Numbers: [52, 51, 49]
Generated Node #0,0: 50:[52, 51, 49] Operation: 32+17=49
Moving to Node #0,0
Current State: 50:[52, 51, 49], Operations: ['32+17=49']
Exploring Operation: 52-51=1, Resulting Numbers: [49, 1]
Generated Node #0,0,0: 50:[49, 1] Operation: 52-51=1
Moving to Node #0,0,0
Current State: 50:[49, 1], Operations: ['32+17=49', '52-51=1']
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
41,
55,
4,
31
] | 68 | [
"55-41=14",
"31-14=17",
"4*17=68"
] | Current State: 68:[41, 55, 4, 31], Operations: []
Exploring Operation: 55-41=14, Resulting Numbers: [4, 31, 14]
Generated Node #2: [4, 31, 14] from Operation: 55-41=14
Current State: 68:[4, 31, 14], Operations: ['55-41=14']
Exploring Operation: 31-14=17, Resulting Numbers: [4, 17]
Generated Node #3: [4, 17] from Operation: 31-14=17
Current State: 68:[4, 17], Operations: ['55-41=14', '31-14=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[41, 55, 4, 31], Operations: []
Exploring Operation: 55-41=14, Resulting Numbers: [4, 31, 14]
Generated Node #0,0: 68:[4, 31, 14] Operation: 55-41=14
Exploring Operation: 55-31=24, Resulting Numbers: [41, 4, 24]
Generated Node #0,1: 68:[41, 4, 24] Operation: 55-31=24
Exploring Operation: 41+31=72, Resulting Numbers: [55, 4, 72]
Generated Node #0,2: 68:[55, 4, 72] Operation: 41+31=72
Moving to Node #0,0
Current State: 68:[4, 31, 14], Operations: ['55-41=14']
Exploring Operation: 31-14=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 68:[4, 17] Operation: 31-14=17
Exploring Operation: 4+14=18, Resulting Numbers: [31, 18]
Generated Node #0,0,1: 68:[31, 18] Operation: 4+14=18
Exploring Operation: 4+31=35, Resulting Numbers: [14, 35]
Generated Node #0,0,2: 68:[14, 35] Operation: 4+31=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[4, 17], Operations: ['55-41=14', '31-14=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[41, 55, 4, 31], Operations: []
Exploring Operation: 55-41=14, Resulting Numbers: [4, 31, 14]
Generated Node #0,0: 68:[4, 31, 14] Operation: 55-41=14
Moving to Node #0,0
Current State: 68:[4, 31, 14], Operations: ['55-41=14']
Exploring Operation: 31-14=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 68:[4, 17] Operation: 31-14=17
Moving to Node #0,0,0
Current State: 68:[4, 17], Operations: ['55-41=14', '31-14=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
22,
71,
4,
5
] | 49 | [
"71-22=49",
"5-4=1",
"49*1=49"
] | Current State: 49:[22, 71, 4, 5], Operations: []
Exploring Operation: 71-22=49, Resulting Numbers: [4, 5, 49]
Generated Node #2: [4, 5, 49] from Operation: 71-22=49
Current State: 49:[4, 5, 49], Operations: ['71-22=49']
Exploring Operation: 5-4=1, Resulting Numbers: [49, 1]
Generated Node #3: [49, 1] from Operation: 5-4=1
Current State: 49:[49, 1], Operations: ['71-22=49', '5-4=1']
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[22, 71, 4, 5], Operations: []
Exploring Operation: 71-22=49, Resulting Numbers: [4, 5, 49]
Generated Node #0,0: 49:[4, 5, 49] Operation: 71-22=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[4, 5, 49], Operations: ['71-22=49']
Exploring Operation: 4+5=9, Resulting Numbers: [49, 9]
Generated Node #0,0,0: 49:[49, 9] Operation: 4+5=9
Moving to Node #0,0,0
Current State: 49:[49, 9], Operations: ['71-22=49', '4+5=9']
Exploring Operation: 49+9=58, Resulting Numbers: [58]
58,49 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 |
[
25,
48,
2,
93
] | 72 | [
"48-25=23",
"2+93=95",
"95-23=72"
] | Current State: 72:[25, 48, 2, 93], Operations: []
Exploring Operation: 48-25=23, Resulting Numbers: [2, 93, 23]
Generated Node #2: [2, 93, 23] from Operation: 48-25=23
Current State: 72:[2, 93, 23], Operations: ['48-25=23']
Exploring Operation: 2+93=95, Resulting Numbers: [23, 95]
Generated Node #3: [23, 95] from Operation: 2+93=95
Current State: 72:[23, 95], Operations: ['48-25=23', '2+93=95']
Exploring Operation: 95-23=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[25, 48, 2, 93], Operations: []
Exploring Operation: 93-48=45, Resulting Numbers: [25, 2, 45]
Generated Node #0,0: 72:[25, 2, 45] Operation: 93-48=45
Exploring Operation: 93-25=68, Resulting Numbers: [48, 2, 68]
Generated Node #0,1: 72:[48, 2, 68] Operation: 93-25=68
Moving to Node #0,0
Current State: 72:[25, 2, 45], Operations: ['93-48=45']
Exploring Operation: 25+45=70, Resulting Numbers: [2, 70]
Generated Node #0,0,0: 72:[2, 70] Operation: 25+45=70
Exploring Operation: 45-25=20, Resulting Numbers: [2, 20]
Generated Node #0,0,1: 72:[2, 20] Operation: 45-25=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[2, 70], Operations: ['93-48=45', '25+45=70']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[25, 48, 2, 93], Operations: []
Exploring Operation: 93-48=45, Resulting Numbers: [25, 2, 45]
Generated Node #0,0: 72:[25, 2, 45] Operation: 93-48=45
Moving to Node #0,0
Current State: 72:[25, 2, 45], Operations: ['93-48=45']
Exploring Operation: 25+45=70, Resulting Numbers: [2, 70]
Generated Node #0,0,0: 72:[2, 70] Operation: 25+45=70
Moving to Node #0,0,0
Current State: 72:[2, 70], Operations: ['93-48=45', '25+45=70']
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
74,
53,
74,
1
] | 96 | [
"74-53=21",
"74+1=75",
"21+75=96"
] | Current State: 96:[74, 53, 74, 1], Operations: []
Exploring Operation: 74-53=21, Resulting Numbers: [1, 21]
Generated Node #2: [1, 21] from Operation: 74-53=21
Current State: 96:[1, 21], Operations: ['74-53=21']
Exploring Operation: 74+1=75, Resulting Numbers: [21, 75]
Generated Node #3: [21, 75] from Operation: 74+1=75
Current State: 96:[21, 75], Operations: ['74-53=21', '74+1=75']
Exploring Operation: 21+75=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[74, 53, 74, 1], Operations: []
Exploring Operation: 74/74=1, Resulting Numbers: [53, 1, 1]
Generated Node #0,0: 96:[53, 1, 1] Operation: 74/74=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[53, 1, 1], Operations: ['74/74=1']
Exploring Operation: 53-1=52, Resulting Numbers: [1, 52]
Generated Node #0,0,0: 96:[1, 52] Operation: 53-1=52
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[1, 52], Operations: ['74/74=1', '53-1=52']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,96 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 |
[
65,
32,
73,
20
] | 96 | [
"73-65=8",
"32-20=12",
"8*12=96"
] | Current State: 96:[65, 32, 73, 20], Operations: []
Exploring Operation: 73-65=8, Resulting Numbers: [32, 20, 8]
Generated Node #2: [32, 20, 8] from Operation: 73-65=8
Current State: 96:[32, 20, 8], Operations: ['73-65=8']
Exploring Operation: 32-20=12, Resulting Numbers: [8, 12]
Generated Node #3: [8, 12] from Operation: 32-20=12
Current State: 96:[8, 12], Operations: ['73-65=8', '32-20=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[65, 32, 73, 20], Operations: []
Exploring Operation: 73-20=53, Resulting Numbers: [65, 32, 53]
Generated Node #0,0: 96:[65, 32, 53] Operation: 73-20=53
Exploring Operation: 65-20=45, Resulting Numbers: [32, 73, 45]
Generated Node #0,1: 96:[32, 73, 45] Operation: 65-20=45
Exploring Operation: 73+20=93, Resulting Numbers: [65, 32, 93]
Generated Node #0,2: 96:[65, 32, 93] Operation: 73+20=93
Exploring Operation: 73-65=8, Resulting Numbers: [32, 20, 8]
Generated Node #0,3: 96:[32, 20, 8] Operation: 73-65=8
Moving to Node #0,3
Current State: 96:[32, 20, 8], Operations: ['73-65=8']
Exploring Operation: 20-8=12, Resulting Numbers: [32, 12]
Generated Node #0,3,0: 96:[32, 12] Operation: 20-8=12
Exploring Operation: 32-20=12, Resulting Numbers: [8, 12]
Generated Node #0,3,1: 96:[8, 12] Operation: 32-20=12
Exploring Operation: 32-8=24, Resulting Numbers: [20, 24]
Generated Node #0,3,2: 96:[20, 24] Operation: 32-8=24
Exploring Operation: 32+20=52, Resulting Numbers: [8, 52]
Generated Node #0,3,3: 96:[8, 52] Operation: 32+20=52
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 96:[32, 12], Operations: ['73-65=8', '20-8=12']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,96 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,96 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 96:[8, 12], Operations: ['73-65=8', '32-20=12']
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,96 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[65, 32, 73, 20], Operations: []
Exploring Operation: 73-65=8, Resulting Numbers: [32, 20, 8]
Generated Node #0,3: 96:[32, 20, 8] Operation: 73-65=8
Moving to Node #0,3
Current State: 96:[32, 20, 8], Operations: ['73-65=8']
Exploring Operation: 32-20=12, Resulting Numbers: [8, 12]
Generated Node #0,3,1: 96:[8, 12] Operation: 32-20=12
Moving to Node #0,3,1
Current State: 96:[8, 12], Operations: ['73-65=8', '32-20=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
28,
67,
41,
63
] | 52 | [
"41-28=13",
"67-63=4",
"13*4=52"
] | Current State: 52:[28, 67, 41, 63], Operations: []
Exploring Operation: 41-28=13, Resulting Numbers: [67, 63, 13]
Generated Node #2: [67, 63, 13] from Operation: 41-28=13
Current State: 52:[67, 63, 13], Operations: ['41-28=13']
Exploring Operation: 67-63=4, Resulting Numbers: [13, 4]
Generated Node #3: [13, 4] from Operation: 67-63=4
Current State: 52:[13, 4], Operations: ['41-28=13', '67-63=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[28, 67, 41, 63], Operations: []
Exploring Operation: 67-41=26, Resulting Numbers: [28, 63, 26]
Generated Node #0,0: 52:[28, 63, 26] Operation: 67-41=26
Moving to Node #0,0
Current State: 52:[28, 63, 26], Operations: ['67-41=26']
Exploring Operation: 63-28=35, Resulting Numbers: [26, 35]
Generated Node #0,0,0: 52:[26, 35] Operation: 63-28=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[26, 35], Operations: ['67-41=26', '63-28=35']
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,52 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 |
[
62,
63,
40,
73
] | 34 | [
"63-62=1",
"73-40=33",
"1+33=34"
] | Current State: 34:[62, 63, 40, 73], Operations: []
Exploring Operation: 63-62=1, Resulting Numbers: [40, 73, 1]
Generated Node #2: [40, 73, 1] from Operation: 63-62=1
Current State: 34:[40, 73, 1], Operations: ['63-62=1']
Exploring Operation: 73-40=33, Resulting Numbers: [1, 33]
Generated Node #3: [1, 33] from Operation: 73-40=33
Current State: 34:[1, 33], Operations: ['63-62=1', '73-40=33']
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[62, 63, 40, 73], Operations: []
Exploring Operation: 73-40=33, Resulting Numbers: [62, 63, 33]
Generated Node #0,0: 34:[62, 63, 33] Operation: 73-40=33
Exploring Operation: 73-62=11, Resulting Numbers: [63, 40, 11]
Generated Node #0,1: 34:[63, 40, 11] Operation: 73-62=11
Exploring Operation: 73-63=10, Resulting Numbers: [62, 40, 10]
Generated Node #0,2: 34:[62, 40, 10] Operation: 73-63=10
Exploring Operation: 63-62=1, Resulting Numbers: [40, 73, 1]
Generated Node #0,3: 34:[40, 73, 1] Operation: 63-62=1
Exploring Operation: 62-40=22, Resulting Numbers: [63, 73, 22]
Generated Node #0,4: 34:[63, 73, 22] Operation: 62-40=22
Moving to Node #0,1
Current State: 34:[63, 40, 11], Operations: ['73-62=11']
Exploring Operation: 63-11=52, Resulting Numbers: [40, 52]
Generated Node #0,1,0: 34:[40, 52] Operation: 63-11=52
Exploring Operation: 40-11=29, Resulting Numbers: [63, 29]
Generated Node #0,1,1: 34:[63, 29] Operation: 40-11=29
Exploring Operation: 63+11=74, Resulting Numbers: [40, 74]
Generated Node #0,1,2: 34:[40, 74] Operation: 63+11=74
Exploring Operation: 40+11=51, Resulting Numbers: [63, 51]
Generated Node #0,1,3: 34:[63, 51] Operation: 40+11=51
Exploring Operation: 63-40=23, Resulting Numbers: [11, 23]
Generated Node #0,1,4: 34:[11, 23] Operation: 63-40=23
Moving to Node #0,2
Current State: 34:[62, 40, 10], Operations: ['73-63=10']
Exploring Operation: 40/10=4, Resulting Numbers: [62, 4]
Generated Node #0,2,0: 34:[62, 4] Operation: 40/10=4
Exploring Operation: 62-40=22, Resulting Numbers: [10, 22]
Generated Node #0,2,1: 34:[10, 22] Operation: 62-40=22
Exploring Operation: 62+10=72, Resulting Numbers: [40, 72]
Generated Node #0,2,2: 34:[40, 72] Operation: 62+10=72
Exploring Operation: 62-10=52, Resulting Numbers: [40, 52]
Generated Node #0,2,3: 34:[40, 52] Operation: 62-10=52
Exploring Operation: 40-10=30, Resulting Numbers: [62, 30]
Generated Node #0,2,4: 34:[62, 30] Operation: 40-10=30
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 34:[10, 22], Operations: ['73-63=10', '62-40=22']
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,34 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,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:[40, 52], Operations: ['73-63=10', '62-10=52']
Exploring Operation: 52-40=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 40*52=2080, Resulting Numbers: [2080]
2080,34 unequal: No Solution
Exploring Operation: 40+52=92, Resulting Numbers: [92]
92,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,0
Current State: 34:[62, 4], Operations: ['73-63=10', '40/10=4']
Exploring Operation: 62*4=248, Resulting Numbers: [248]
248,34 unequal: No Solution
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 34:[62, 30], Operations: ['73-63=10', '40-10=30']
Exploring Operation: 62+30=92, Resulting Numbers: [92]
92,34 unequal: No Solution
Exploring Operation: 62*30=1860, Resulting Numbers: [1860]
1860,34 unequal: No Solution
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,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:[40, 72], Operations: ['73-63=10', '62+10=72']
Exploring Operation: 40*72=2880, Resulting Numbers: [2880]
2880,34 unequal: No Solution
Exploring Operation: 40+72=112, Resulting Numbers: [112]
112,34 unequal: No Solution
Exploring Operation: 72-40=32, Resulting Numbers: [32]
32,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:[40, 73, 1], Operations: ['63-62=1']
Exploring Operation: 73-40=33, Resulting Numbers: [1, 33]
Generated Node #0,3,0: 34:[1, 33] Operation: 73-40=33
Exploring Operation: 73-1=72, Resulting Numbers: [40, 72]
Generated Node #0,3,1: 34:[40, 72] Operation: 73-1=72
Exploring Operation: 40/1=40, Resulting Numbers: [73, 40]
Generated Node #0,3,2: 34:[73, 40] Operation: 40/1=40
Exploring Operation: 40*1=40, Resulting Numbers: [73, 40]
Generated Node #0,3,3: 34:[73, 40] Operation: 40*1=40
Exploring Operation: 40-1=39, Resulting Numbers: [73, 39]
Generated Node #0,3,4: 34:[73, 39] Operation: 40-1=39
Moving to Node #0,0
Current State: 34:[62, 63, 33], Operations: ['73-40=33']
Exploring Operation: 63+33=96, Resulting Numbers: [62, 96]
Generated Node #0,0,0: 34:[62, 96] Operation: 63+33=96
Exploring Operation: 62+33=95, Resulting Numbers: [63, 95]
Generated Node #0,0,1: 34:[63, 95] Operation: 62+33=95
Exploring Operation: 63-62=1, Resulting Numbers: [33, 1]
Generated Node #0,0,2: 34:[33, 1] Operation: 63-62=1
Exploring Operation: 62-33=29, Resulting Numbers: [63, 29]
Generated Node #0,0,3: 34:[63, 29] Operation: 62-33=29
Exploring Operation: 63-33=30, Resulting Numbers: [62, 30]
Generated Node #0,0,4: 34:[62, 30] Operation: 63-33=30
Moving to Node #0,4
Current State: 34:[63, 73, 22], Operations: ['62-40=22']
Exploring Operation: 63+22=85, Resulting Numbers: [73, 85]
Generated Node #0,4,0: 34:[73, 85] Operation: 63+22=85
Exploring Operation: 63-22=41, Resulting Numbers: [73, 41]
Generated Node #0,4,1: 34:[73, 41] Operation: 63-22=41
Exploring Operation: 73+22=95, Resulting Numbers: [63, 95]
Generated Node #0,4,2: 34:[63, 95] Operation: 73+22=95
Exploring Operation: 73-22=51, Resulting Numbers: [63, 51]
Generated Node #0,4,3: 34:[63, 51] Operation: 73-22=51
Exploring Operation: 73-63=10, Resulting Numbers: [22, 10]
Generated Node #0,4,4: 34:[22, 10] Operation: 73-63=10
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 34:[22, 10], Operations: ['62-40=22', '73-63=10']
Exploring Operation: 22+10=32, Resulting Numbers: [32]
32,34 unequal: No Solution
Exploring Operation: 22*10=220, Resulting Numbers: [220]
220,34 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 34:[73, 41], Operations: ['62-40=22', '63-22=41']
Exploring Operation: 73-41=32, Resulting Numbers: [32]
32,34 unequal: No Solution
Exploring Operation: 73+41=114, Resulting Numbers: [114]
114,34 unequal: No Solution
Exploring Operation: 73*41=2993, Resulting Numbers: [2993]
2993,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 34:[63, 51], Operations: ['62-40=22', '73-22=51']
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 63*51=3213, Resulting Numbers: [3213]
3213,34 unequal: No Solution
Exploring Operation: 63+51=114, Resulting Numbers: [114]
114,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 34:[73, 85], Operations: ['62-40=22', '63+22=85']
Exploring Operation: 73*85=6205, Resulting Numbers: [6205]
6205,34 unequal: No Solution
Exploring Operation: 73+85=158, Resulting Numbers: [158]
158,34 unequal: No Solution
Exploring Operation: 85-73=12, Resulting Numbers: [12]
12,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 34:[63, 95], Operations: ['62-40=22', '73+22=95']
Exploring Operation: 63+95=158, Resulting Numbers: [158]
158,34 unequal: No Solution
Exploring Operation: 63*95=5985, Resulting Numbers: [5985]
5985,34 unequal: No Solution
Exploring Operation: 95-63=32, Resulting Numbers: [32]
32,34 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: 34:[1, 33], Operations: ['63-62=1', '73-40=33']
Exploring Operation: 1*33=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[62, 63, 40, 73], Operations: []
Exploring Operation: 63-62=1, Resulting Numbers: [40, 73, 1]
Generated Node #0,3: 34:[40, 73, 1] Operation: 63-62=1
Moving to Node #0,3
Current State: 34:[40, 73, 1], Operations: ['63-62=1']
Exploring Operation: 73-40=33, Resulting Numbers: [1, 33]
Generated Node #0,3,0: 34:[1, 33] Operation: 73-40=33
Moving to Node #0,3,0
Current State: 34:[1, 33], Operations: ['63-62=1', '73-40=33']
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.942708 | hs_5 | mult_heuristic |
[
36,
29,
32,
19
] | 24 | [
"36*32=1152",
"29+19=48",
"1152/48=24"
] | Current State: 24:[36, 29, 32, 19], Operations: []
Exploring Operation: 36*32=1152, Resulting Numbers: [29, 19, 1152]
Generated Node #2: [29, 19, 1152] from Operation: 36*32=1152
Current State: 24:[29, 19, 1152], Operations: ['36*32=1152']
Exploring Operation: 29+19=48, Resulting Numbers: [1152, 48]
Generated Node #3: [1152, 48] from Operation: 29+19=48
Current State: 24:[1152, 48], Operations: ['36*32=1152', '29+19=48']
Exploring Operation: 1152/48=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[36, 29, 32, 19], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [29, 19, 4]
Generated Node #0,0: 24:[29, 19, 4] Operation: 36-32=4
Moving to Node #0,0
Current State: 24:[29, 19, 4], Operations: ['36-32=4']
Exploring Operation: 29-19=10, Resulting Numbers: [4, 10]
Generated Node #0,0,0: 24:[4, 10] Operation: 29-19=10
Moving to Node #0,0,0
Current State: 24:[4, 10], Operations: ['36-32=4', '29-19=10']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,24 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
17,
3,
72,
78
] | 71 | [
"17+78=95",
"72/3=24",
"95-24=71"
] | Current State: 71:[17, 3, 72, 78], Operations: []
Exploring Operation: 17+78=95, Resulting Numbers: [3, 72, 95]
Generated Node #2: [3, 72, 95] from Operation: 17+78=95
Current State: 71:[3, 72, 95], Operations: ['17+78=95']
Exploring Operation: 72/3=24, Resulting Numbers: [95, 24]
Generated Node #3: [95, 24] from Operation: 72/3=24
Current State: 71:[95, 24], Operations: ['17+78=95', '72/3=24']
Exploring Operation: 95-24=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[17, 3, 72, 78], Operations: []
Exploring Operation: 72-3=69, Resulting Numbers: [17, 78, 69]
Generated Node #0,0: 71:[17, 78, 69] Operation: 72-3=69
Exploring Operation: 78-3=75, Resulting Numbers: [17, 72, 75]
Generated Node #0,1: 71:[17, 72, 75] Operation: 78-3=75
Exploring Operation: 17-3=14, Resulting Numbers: [72, 78, 14]
Generated Node #0,2: 71:[72, 78, 14] Operation: 17-3=14
Exploring Operation: 17+3=20, Resulting Numbers: [72, 78, 20]
Generated Node #0,3: 71:[72, 78, 20] Operation: 17+3=20
Exploring Operation: 17*3=51, Resulting Numbers: [72, 78, 51]
Generated Node #0,4: 71:[72, 78, 51] Operation: 17*3=51
Start Sub Search at level 1: Moving to Node #0,4
Current State: 71:[72, 78, 51], Operations: ['17*3=51']
Exploring Operation: 78+51=129, Resulting Numbers: [72, 129]
Generated Node #0,4,0: 71:[72, 129] Operation: 78+51=129
Exploring Operation: 72+51=123, Resulting Numbers: [78, 123]
Generated Node #0,4,1: 71:[78, 123] Operation: 72+51=123
Exploring Operation: 72-51=21, Resulting Numbers: [78, 21]
Generated Node #0,4,2: 71:[78, 21] Operation: 72-51=21
Exploring Operation: 78-51=27, Resulting Numbers: [72, 27]
Generated Node #0,4,3: 71:[72, 27] Operation: 78-51=27
Exploring Operation: 78-72=6, Resulting Numbers: [51, 6]
Generated Node #0,4,4: 71:[51, 6] Operation: 78-72=6
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 71:[72, 27], Operations: ['17*3=51', '78-51=27']
Exploring Operation: 72+27=99, Resulting Numbers: [99]
99,71 unequal: No Solution
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 72*27=1944, Resulting Numbers: [1944]
1944,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,4,2
Current State: 71:[78, 21], Operations: ['17*3=51', '72-51=21']
Exploring Operation: 78+21=99, Resulting Numbers: [99]
99,71 unequal: No Solution
Exploring Operation: 78-21=57, Resulting Numbers: [57]
57,71 unequal: No Solution
Exploring Operation: 78*21=1638, Resulting Numbers: [1638]
1638,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,4,0
Current State: 71:[72, 129], Operations: ['17*3=51', '78+51=129']
Exploring Operation: 72*129=9288, Resulting Numbers: [9288]
9288,71 unequal: No Solution
Exploring Operation: 129-72=57, Resulting Numbers: [57]
57,71 unequal: No Solution
Exploring Operation: 72+129=201, Resulting Numbers: [201]
201,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,4,1
Current State: 71:[78, 123], Operations: ['17*3=51', '72+51=123']
Exploring Operation: 123-78=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 78+123=201, Resulting Numbers: [201]
201,71 unequal: No Solution
Exploring Operation: 78*123=9594, Resulting Numbers: [9594]
9594,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,4,4
Current State: 71:[51, 6], Operations: ['17*3=51', '78-72=6']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,71 unequal: No Solution
Exploring Operation: 51*6=306, Resulting Numbers: [306]
306,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,1
Current State: 71:[17, 72, 75], Operations: ['78-3=75']
Exploring Operation: 75-17=58, Resulting Numbers: [72, 58]
Generated Node #0,1,0: 71:[72, 58] Operation: 75-17=58
Exploring Operation: 72-17=55, Resulting Numbers: [75, 55]
Generated Node #0,1,1: 71:[75, 55] Operation: 72-17=55
Exploring Operation: 17+75=92, Resulting Numbers: [72, 92]
Generated Node #0,1,2: 71:[72, 92] Operation: 17+75=92
Exploring Operation: 75-72=3, Resulting Numbers: [17, 3]
Generated Node #0,1,3: 71:[17, 3] Operation: 75-72=3
Exploring Operation: 17+72=89, Resulting Numbers: [75, 89]
Generated Node #0,1,4: 71:[75, 89] Operation: 17+72=89
Moving to Node #0,1,0
Current State: 71:[72, 58], Operations: ['78-3=75', '75-17=58']
Exploring Operation: 72+58=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Exploring Operation: 72*58=4176, Resulting Numbers: [4176]
4176,71 unequal: No Solution
Exploring Operation: 72-58=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[75, 55], Operations: ['78-3=75', '72-17=55']
Exploring Operation: 75*55=4125, Resulting Numbers: [4125]
4125,71 unequal: No Solution
Exploring Operation: 75+55=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Exploring Operation: 75-55=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[72, 92], Operations: ['78-3=75', '17+75=92']
Exploring Operation: 72+92=164, Resulting Numbers: [164]
164,71 unequal: No Solution
Exploring Operation: 72*92=6624, Resulting Numbers: [6624]
6624,71 unequal: No Solution
Exploring Operation: 92-72=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Moving to Node #0,1,4
Current State: 71:[75, 89], Operations: ['78-3=75', '17+72=89']
Exploring Operation: 75*89=6675, Resulting Numbers: [6675]
6675,71 unequal: No Solution
Exploring Operation: 75+89=164, Resulting Numbers: [164]
164,71 unequal: No Solution
Exploring Operation: 89-75=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[17, 3], Operations: ['78-3=75', '75-72=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,71 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,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,3
Current State: 71:[72, 78, 20], Operations: ['17+3=20']
Exploring Operation: 78-20=58, Resulting Numbers: [72, 58]
Generated Node #0,3,0: 71:[72, 58] Operation: 78-20=58
Exploring Operation: 78-72=6, Resulting Numbers: [20, 6]
Generated Node #0,3,1: 71:[20, 6] Operation: 78-72=6
Exploring Operation: 72-20=52, Resulting Numbers: [78, 52]
Generated Node #0,3,2: 71:[78, 52] Operation: 72-20=52
Exploring Operation: 78+20=98, Resulting Numbers: [72, 98]
Generated Node #0,3,3: 71:[72, 98] Operation: 78+20=98
Exploring Operation: 72+20=92, Resulting Numbers: [78, 92]
Generated Node #0,3,4: 71:[78, 92] Operation: 72+20=92
Moving to Node #0,3,0
Current State: 71:[72, 58], Operations: ['17+3=20', '78-20=58']
Exploring Operation: 72-58=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Exploring Operation: 72*58=4176, Resulting Numbers: [4176]
4176,71 unequal: No Solution
Exploring Operation: 72+58=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[78, 52], Operations: ['17+3=20', '72-20=52']
Exploring Operation: 78-52=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 78+52=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Exploring Operation: 78*52=4056, Resulting Numbers: [4056]
4056,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[72, 98], Operations: ['17+3=20', '78+20=98']
Exploring Operation: 72*98=7056, Resulting Numbers: [7056]
7056,71 unequal: No Solution
Exploring Operation: 72+98=170, Resulting Numbers: [170]
170,71 unequal: No Solution
Exploring Operation: 98-72=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Moving to Node #0,3,4
Current State: 71:[78, 92], Operations: ['17+3=20', '72+20=92']
Exploring Operation: 78*92=7176, Resulting Numbers: [7176]
7176,71 unequal: No Solution
Exploring Operation: 78+92=170, Resulting Numbers: [170]
170,71 unequal: No Solution
Exploring Operation: 92-78=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[20, 6], Operations: ['17+3=20', '78-72=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[17, 78, 69], Operations: ['72-3=69']
Exploring Operation: 78-17=61, Resulting Numbers: [69, 61]
Generated Node #0,0,0: 71:[69, 61] Operation: 78-17=61
Exploring Operation: 17+78=95, Resulting Numbers: [69, 95]
Generated Node #0,0,1: 71:[69, 95] Operation: 17+78=95
Exploring Operation: 78-69=9, Resulting Numbers: [17, 9]
Generated Node #0,0,2: 71:[17, 9] Operation: 78-69=9
Exploring Operation: 17+69=86, Resulting Numbers: [78, 86]
Generated Node #0,0,3: 71:[78, 86] Operation: 17+69=86
Exploring Operation: 69-17=52, Resulting Numbers: [78, 52]
Generated Node #0,0,4: 71:[78, 52] Operation: 69-17=52
Moving to Node #0,0,0
Current State: 71:[69, 61], Operations: ['72-3=69', '78-17=61']
Exploring Operation: 69+61=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Exploring Operation: 69-61=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 69*61=4209, Resulting Numbers: [4209]
4209,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[78, 86], Operations: ['72-3=69', '17+69=86']
Exploring Operation: 78*86=6708, Resulting Numbers: [6708]
6708,71 unequal: No Solution
Exploring Operation: 86-78=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 78+86=164, Resulting Numbers: [164]
164,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[69, 95], Operations: ['72-3=69', '17+78=95']
Exploring Operation: 95-69=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 69+95=164, Resulting Numbers: [164]
164,71 unequal: No Solution
Exploring Operation: 69*95=6555, Resulting Numbers: [6555]
6555,71 unequal: No Solution
Moving to Node #0,0,4
Current State: 71:[78, 52], Operations: ['72-3=69', '69-17=52']
Exploring Operation: 78+52=130, Resulting Numbers: [130]
130,71 unequal: No Solution
Exploring Operation: 78-52=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 78*52=4056, Resulting Numbers: [4056]
4056,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[17, 9], Operations: ['72-3=69', '78-69=9']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,71 unequal: No Solution
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,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,2
Current State: 71:[72, 78, 14], Operations: ['17-3=14']
Exploring Operation: 72+14=86, Resulting Numbers: [78, 86]
Generated Node #0,2,0: 71:[78, 86] Operation: 72+14=86
Exploring Operation: 78+14=92, Resulting Numbers: [72, 92]
Generated Node #0,2,1: 71:[72, 92] Operation: 78+14=92
Exploring Operation: 78-14=64, Resulting Numbers: [72, 64]
Generated Node #0,2,2: 71:[72, 64] Operation: 78-14=64
Exploring Operation: 72-14=58, Resulting Numbers: [78, 58]
Generated Node #0,2,3: 71:[78, 58] Operation: 72-14=58
Exploring Operation: 78-72=6, Resulting Numbers: [14, 6]
Generated Node #0,2,4: 71:[14, 6] Operation: 78-72=6
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[72, 64], Operations: ['17-3=14', '78-14=64']
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 72*64=4608, Resulting Numbers: [4608]
4608,71 unequal: No Solution
Exploring Operation: 72+64=136, Resulting Numbers: [136]
136,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,3
Current State: 71:[78, 58], Operations: ['17-3=14', '72-14=58']
Exploring Operation: 78*58=4524, Resulting Numbers: [4524]
4524,71 unequal: No Solution
Exploring Operation: 78-58=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 78+58=136, Resulting Numbers: [136]
136,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:[78, 86], Operations: ['17-3=14', '72+14=86']
Exploring Operation: 78+86=164, Resulting Numbers: [164]
164,71 unequal: No Solution
Exploring Operation: 86-78=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 78*86=6708, Resulting Numbers: [6708]
6708,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:[72, 92], Operations: ['17-3=14', '78+14=92']
Exploring Operation: 92-72=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 72*92=6624, Resulting Numbers: [6624]
6624,71 unequal: No Solution
Exploring Operation: 72+92=164, Resulting Numbers: [164]
164,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,4
Current State: 71:[14, 6], Operations: ['17-3=14', '78-72=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,71 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,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_5 | sum_heuristic |
[
70,
4,
58,
5
] | 37 | [
"70+58=128",
"128/4=32",
"5+32=37"
] | Current State: 37:[70, 4, 58, 5], Operations: []
Exploring Operation: 70+58=128, Resulting Numbers: [4, 5, 128]
Generated Node #2: [4, 5, 128] from Operation: 70+58=128
Current State: 37:[4, 5, 128], Operations: ['70+58=128']
Exploring Operation: 128/4=32, Resulting Numbers: [5, 32]
Generated Node #3: [5, 32] from Operation: 128/4=32
Current State: 37:[5, 32], Operations: ['70+58=128', '128/4=32']
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[70, 4, 58, 5], Operations: []
Exploring Operation: 70/5=14, Resulting Numbers: [4, 58, 14]
Generated Node #0,0: 37:[4, 58, 14] Operation: 70/5=14
Exploring Operation: 70-4=66, Resulting Numbers: [58, 5, 66]
Generated Node #0,1: 37:[58, 5, 66] Operation: 70-4=66
Exploring Operation: 4*5=20, Resulting Numbers: [70, 58, 20]
Generated Node #0,2: 37:[70, 58, 20] Operation: 4*5=20
Moving to Node #0,2
Current State: 37:[70, 58, 20], Operations: ['4*5=20']
Exploring Operation: 58-20=38, Resulting Numbers: [70, 38]
Generated Node #0,2,0: 37:[70, 38] Operation: 58-20=38
Exploring Operation: 70-20=50, Resulting Numbers: [58, 50]
Generated Node #0,2,1: 37:[58, 50] Operation: 70-20=50
Exploring Operation: 70-58=12, Resulting Numbers: [20, 12]
Generated Node #0,2,2: 37:[20, 12] Operation: 70-58=12
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 37:[70, 38], Operations: ['4*5=20', '58-20=38']
Exploring Operation: 70*38=2660, Resulting Numbers: [2660]
2660,37 unequal: No Solution
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,37 unequal: No Solution
Exploring Operation: 70+38=108, Resulting Numbers: [108]
108,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:[58, 50], Operations: ['4*5=20', '70-20=50']
Exploring Operation: 58+50=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Exploring Operation: 58-50=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 58*50=2900, Resulting Numbers: [2900]
2900,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 37:[20, 12], Operations: ['4*5=20', '70-58=12']
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,37 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,37 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: 37:[4, 58, 14], Operations: ['70/5=14']
Exploring Operation: 4+14=18, Resulting Numbers: [58, 18]
Generated Node #0,0,0: 37:[58, 18] Operation: 4+14=18
Exploring Operation: 58-4=54, Resulting Numbers: [14, 54]
Generated Node #0,0,1: 37:[14, 54] Operation: 58-4=54
Exploring Operation: 4*14=56, Resulting Numbers: [58, 56]
Generated Node #0,0,2: 37:[58, 56] Operation: 4*14=56
Moving to Node #0,1
Current State: 37:[58, 5, 66], Operations: ['70-4=66']
Exploring Operation: 58-5=53, Resulting Numbers: [66, 53]
Generated Node #0,1,0: 37:[66, 53] Operation: 58-5=53
Exploring Operation: 58+5=63, Resulting Numbers: [66, 63]
Generated Node #0,1,1: 37:[66, 63] Operation: 58+5=63
Exploring Operation: 66-5=61, Resulting Numbers: [58, 61]
Generated Node #0,1,2: 37:[58, 61] Operation: 66-5=61
Moving to Node #0,0,0
Current State: 37:[58, 18], Operations: ['70/5=14', '4+14=18']
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,37 unequal: No Solution
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,37 unequal: No Solution
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[58, 56], Operations: ['70/5=14', '4*14=56']
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 58*56=3248, Resulting Numbers: [3248]
3248,37 unequal: No Solution
Exploring Operation: 58+56=114, Resulting Numbers: [114]
114,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[14, 54], Operations: ['70/5=14', '58-4=54']
Exploring Operation: 14*54=756, Resulting Numbers: [756]
756,37 unequal: No Solution
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,37 unequal: No Solution
Exploring Operation: 14+54=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[66, 53], Operations: ['70-4=66', '58-5=53']
Exploring Operation: 66+53=119, Resulting Numbers: [119]
119,37 unequal: No Solution
Exploring Operation: 66-53=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Exploring Operation: 66*53=3498, Resulting Numbers: [3498]
3498,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[58, 61], Operations: ['70-4=66', '66-5=61']
Exploring Operation: 58+61=119, Resulting Numbers: [119]
119,37 unequal: No Solution
Exploring Operation: 61-58=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 58*61=3538, Resulting Numbers: [3538]
3538,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[66, 63], Operations: ['70-4=66', '58+5=63']
Exploring Operation: 66+63=129, Resulting Numbers: [129]
129,37 unequal: No Solution
Exploring Operation: 66-63=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 66*63=4158, Resulting Numbers: [4158]
4158,37 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
40,
91,
34,
2
] | 45 | [
"40*2=80",
"91+34=125",
"125-80=45"
] | Current State: 45:[40, 91, 34, 2], Operations: []
Exploring Operation: 40*2=80, Resulting Numbers: [91, 34, 80]
Generated Node #2: [91, 34, 80] from Operation: 40*2=80
Current State: 45:[91, 34, 80], Operations: ['40*2=80']
Exploring Operation: 91+34=125, Resulting Numbers: [80, 125]
Generated Node #3: [80, 125] from Operation: 91+34=125
Current State: 45:[80, 125], Operations: ['40*2=80', '91+34=125']
Exploring Operation: 125-80=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[40, 91, 34, 2], Operations: []
Exploring Operation: 40+2=42, Resulting Numbers: [91, 34, 42]
Generated Node #0,0: 45:[91, 34, 42] Operation: 40+2=42
Exploring Operation: 91-40=51, Resulting Numbers: [34, 2, 51]
Generated Node #0,1: 45:[34, 2, 51] Operation: 91-40=51
Exploring Operation: 40-34=6, Resulting Numbers: [91, 2, 6]
Generated Node #0,2: 45:[91, 2, 6] Operation: 40-34=6
Exploring Operation: 34/2=17, Resulting Numbers: [40, 91, 17]
Generated Node #0,3: 45:[40, 91, 17] Operation: 34/2=17
Exploring Operation: 91-34=57, Resulting Numbers: [40, 2, 57]
Generated Node #0,4: 45:[40, 2, 57] Operation: 91-34=57
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[34, 2, 51], Operations: ['91-40=51']
Exploring Operation: 34/2=17, Resulting Numbers: [51, 17]
Generated Node #0,1,0: 45:[51, 17] Operation: 34/2=17
Exploring Operation: 51-34=17, Resulting Numbers: [2, 17]
Generated Node #0,1,1: 45:[2, 17] Operation: 51-34=17
Exploring Operation: 34+2=36, Resulting Numbers: [51, 36]
Generated Node #0,1,2: 45:[51, 36] Operation: 34+2=36
Exploring Operation: 34-2=32, Resulting Numbers: [51, 32]
Generated Node #0,1,3: 45:[51, 32] Operation: 34-2=32
Exploring Operation: 51-2=49, Resulting Numbers: [34, 49]
Generated Node #0,1,4: 45:[34, 49] Operation: 51-2=49
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 45:[2, 17], Operations: ['91-40=51', '51-34=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,45 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 45:[51, 17], Operations: ['91-40=51', '34/2=17']
Exploring Operation: 51*17=867, Resulting Numbers: [867]
867,45 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,45 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 45:[51, 36], Operations: ['91-40=51', '34+2=36']
Exploring Operation: 51*36=1836, Resulting Numbers: [1836]
1836,45 unequal: No Solution
Exploring Operation: 51+36=87, Resulting Numbers: [87]
87,45 unequal: No Solution
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 45:[34, 49], Operations: ['91-40=51', '51-2=49']
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 34*49=1666, Resulting Numbers: [1666]
1666,45 unequal: No Solution
Exploring Operation: 34+49=83, Resulting Numbers: [83]
83,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 45:[51, 32], Operations: ['91-40=51', '34-2=32']
Exploring Operation: 51*32=1632, Resulting Numbers: [1632]
1632,45 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,45 unequal: No Solution
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,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,4
Current State: 45:[40, 2, 57], Operations: ['91-34=57']
Exploring Operation: 40-2=38, Resulting Numbers: [57, 38]
Generated Node #0,4,0: 45:[57, 38] Operation: 40-2=38
Exploring Operation: 57-2=55, Resulting Numbers: [40, 55]
Generated Node #0,4,1: 45:[40, 55] Operation: 57-2=55
Exploring Operation: 40+2=42, Resulting Numbers: [57, 42]
Generated Node #0,4,2: 45:[57, 42] Operation: 40+2=42
Exploring Operation: 57-40=17, Resulting Numbers: [2, 17]
Generated Node #0,4,3: 45:[2, 17] Operation: 57-40=17
Exploring Operation: 40/2=20, Resulting Numbers: [57, 20]
Generated Node #0,4,4: 45:[57, 20] Operation: 40/2=20
Moving to Node #0,4,3
Current State: 45:[2, 17], Operations: ['91-34=57', '57-40=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,45 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Moving to Node #0,4,2
Current State: 45:[57, 42], Operations: ['91-34=57', '40+2=42']
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 57+42=99, Resulting Numbers: [99]
99,45 unequal: No Solution
Exploring Operation: 57*42=2394, Resulting Numbers: [2394]
2394,45 unequal: No Solution
Moving to Node #0,4,1
Current State: 45:[40, 55], Operations: ['91-34=57', '57-2=55']
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 40*55=2200, Resulting Numbers: [2200]
2200,45 unequal: No Solution
Exploring Operation: 40+55=95, Resulting Numbers: [95]
95,45 unequal: No Solution
Moving to Node #0,4,4
Current State: 45:[57, 20], Operations: ['91-34=57', '40/2=20']
Exploring Operation: 57*20=1140, Resulting Numbers: [1140]
1140,45 unequal: No Solution
Exploring Operation: 57-20=37, Resulting Numbers: [37]
37,45 unequal: No Solution
Exploring Operation: 57+20=77, Resulting Numbers: [77]
77,45 unequal: No Solution
Moving to Node #0,4,0
Current State: 45:[57, 38], Operations: ['91-34=57', '40-2=38']
Exploring Operation: 57-38=19, Resulting Numbers: [19]
19,45 unequal: No Solution
Exploring Operation: 57+38=95, Resulting Numbers: [95]
95,45 unequal: No Solution
Exploring Operation: 57*38=2166, Resulting Numbers: [2166]
2166,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[91, 2, 6], Operations: ['40-34=6']
Exploring Operation: 91-6=85, Resulting Numbers: [2, 85]
Generated Node #0,2,0: 45:[2, 85] Operation: 91-6=85
Exploring Operation: 6-2=4, Resulting Numbers: [91, 4]
Generated Node #0,2,1: 45:[91, 4] Operation: 6-2=4
Exploring Operation: 91-2=89, Resulting Numbers: [6, 89]
Generated Node #0,2,2: 45:[6, 89] Operation: 91-2=89
Exploring Operation: 2+6=8, Resulting Numbers: [91, 8]
Generated Node #0,2,3: 45:[91, 8] Operation: 2+6=8
Exploring Operation: 6/2=3, Resulting Numbers: [91, 3]
Generated Node #0,2,4: 45:[91, 3] Operation: 6/2=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 45:[2, 85], Operations: ['40-34=6', '91-6=85']
Exploring Operation: 2*85=170, Resulting Numbers: [170]
170,45 unequal: No Solution
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,45 unequal: No Solution
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,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,2,2
Current State: 45:[6, 89], Operations: ['40-34=6', '91-2=89']
Exploring Operation: 6+89=95, Resulting Numbers: [95]
95,45 unequal: No Solution
Exploring Operation: 6*89=534, Resulting Numbers: [534]
534,45 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,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,2,4
Current State: 45:[91, 3], Operations: ['40-34=6', '6/2=3']
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,45 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,45 unequal: No Solution
Exploring Operation: 91*3=273, Resulting Numbers: [273]
273,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,2,1
Current State: 45:[91, 4], Operations: ['40-34=6', '6-2=4']
Exploring Operation: 91*4=364, Resulting Numbers: [364]
364,45 unequal: No Solution
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,45 unequal: No Solution
Exploring Operation: 91+4=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,2,3
Current State: 45:[91, 8], Operations: ['40-34=6', '2+6=8']
Exploring Operation: 91*8=728, Resulting Numbers: [728]
728,45 unequal: No Solution
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,45 unequal: No Solution
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,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,3
Current State: 45:[40, 91, 17], Operations: ['34/2=17']
Exploring Operation: 91-17=74, Resulting Numbers: [40, 74]
Generated Node #0,3,0: 45:[40, 74] Operation: 91-17=74
Exploring Operation: 40-17=23, Resulting Numbers: [91, 23]
Generated Node #0,3,1: 45:[91, 23] Operation: 40-17=23
Exploring Operation: 91+17=108, Resulting Numbers: [40, 108]
Generated Node #0,3,2: 45:[40, 108] Operation: 91+17=108
Exploring Operation: 40+17=57, Resulting Numbers: [91, 57]
Generated Node #0,3,3: 45:[91, 57] Operation: 40+17=57
Exploring Operation: 91-40=51, Resulting Numbers: [17, 51]
Generated Node #0,3,4: 45:[17, 51] Operation: 91-40=51
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 45:[17, 51], Operations: ['34/2=17', '91-40=51']
Exploring Operation: 17*51=867, Resulting Numbers: [867]
867,45 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 17+51=68, Resulting Numbers: [68]
68,45 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,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,0
Current State: 45:[40, 74], Operations: ['34/2=17', '91-17=74']
Exploring Operation: 40+74=114, Resulting Numbers: [114]
114,45 unequal: No Solution
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 40*74=2960, Resulting Numbers: [2960]
2960,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:[91, 23], Operations: ['34/2=17', '40-17=23']
Exploring Operation: 91*23=2093, Resulting Numbers: [2093]
2093,45 unequal: No Solution
Exploring Operation: 91-23=68, Resulting Numbers: [68]
68,45 unequal: No Solution
Exploring Operation: 91+23=114, Resulting Numbers: [114]
114,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:[91, 57], Operations: ['34/2=17', '40+17=57']
Exploring Operation: 91*57=5187, Resulting Numbers: [5187]
5187,45 unequal: No Solution
Exploring Operation: 91+57=148, Resulting Numbers: [148]
148,45 unequal: No Solution
Exploring Operation: 91-57=34, Resulting Numbers: [34]
34,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:[40, 108], Operations: ['34/2=17', '91+17=108']
Exploring Operation: 40+108=148, Resulting Numbers: [148]
148,45 unequal: No Solution
Exploring Operation: 108-40=68, Resulting Numbers: [68]
68,45 unequal: No Solution
Exploring Operation: 40*108=4320, Resulting Numbers: [4320]
4320,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:[91, 34, 42], Operations: ['40+2=42']
Exploring Operation: 34+42=76, Resulting Numbers: [91, 76]
Generated Node #0,0,0: 45:[91, 76] Operation: 34+42=76
Exploring Operation: 91-42=49, Resulting Numbers: [34, 49]
Generated Node #0,0,1: 45:[34, 49] Operation: 91-42=49
Exploring Operation: 91-34=57, Resulting Numbers: [42, 57]
Generated Node #0,0,2: 45:[42, 57] Operation: 91-34=57
Exploring Operation: 91+34=125, Resulting Numbers: [42, 125]
Generated Node #0,0,3: 45:[42, 125] Operation: 91+34=125
Exploring Operation: 42-34=8, Resulting Numbers: [91, 8]
Generated Node #0,0,4: 45:[91, 8] Operation: 42-34=8
Moving to Node #0,0,1
Current State: 45:[34, 49], Operations: ['40+2=42', '91-42=49']
Exploring Operation: 34*49=1666, Resulting Numbers: [1666]
1666,45 unequal: No Solution
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 34+49=83, Resulting Numbers: [83]
83,45 unequal: No Solution
Moving to Node #0,0,2
Current State: 45:[42, 57], Operations: ['40+2=42', '91-34=57']
Exploring Operation: 42+57=99, Resulting Numbers: [99]
99,45 unequal: No Solution
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 42*57=2394, Resulting Numbers: [2394]
2394,45 unequal: No Solution
Moving to Node #0,0,4
Current State: 45:[91, 8], Operations: ['40+2=42', '42-34=8']
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,45 unequal: No Solution
Exploring Operation: 91*8=728, Resulting Numbers: [728]
728,45 unequal: No Solution
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[91, 76], Operations: ['40+2=42', '34+42=76']
Exploring Operation: 91-76=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 91+76=167, Resulting Numbers: [167]
167,45 unequal: No Solution
Exploring Operation: 91*76=6916, Resulting Numbers: [6916]
6916,45 unequal: No Solution
Moving to Node #0,0,3
Current State: 45:[42, 125], Operations: ['40+2=42', '91+34=125']
Exploring Operation: 42+125=167, Resulting Numbers: [167]
167,45 unequal: No Solution
Exploring Operation: 42*125=5250, Resulting Numbers: [5250]
5250,45 unequal: No Solution
Exploring Operation: 125-42=83, Resulting Numbers: [83]
83,45 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 |
[
65,
85,
56,
5
] | 80 | [
"85-56=29",
"5*29=145",
"145-65=80"
] | Current State: 80:[65, 85, 56, 5], Operations: []
Exploring Operation: 85-56=29, Resulting Numbers: [65, 5, 29]
Generated Node #2: [65, 5, 29] from Operation: 85-56=29
Current State: 80:[65, 5, 29], Operations: ['85-56=29']
Exploring Operation: 5*29=145, Resulting Numbers: [65, 145]
Generated Node #3: [65, 145] from Operation: 5*29=145
Current State: 80:[65, 145], Operations: ['85-56=29', '5*29=145']
Exploring Operation: 145-65=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[65, 85, 56, 5], Operations: []
Exploring Operation: 85-56=29, Resulting Numbers: [65, 5, 29]
Generated Node #0,0: 80:[65, 5, 29] Operation: 85-56=29
Exploring Operation: 65-56=9, Resulting Numbers: [85, 5, 9]
Generated Node #0,1: 80:[85, 5, 9] Operation: 65-56=9
Exploring Operation: 85-65=20, Resulting Numbers: [56, 5, 20]
Generated Node #0,2: 80:[56, 5, 20] Operation: 85-65=20
Exploring Operation: 65/5=13, Resulting Numbers: [85, 56, 13]
Generated Node #0,3: 80:[85, 56, 13] Operation: 65/5=13
Moving to Node #0,1
Current State: 80:[85, 5, 9], Operations: ['65-56=9']
Exploring Operation: 85-5=80, Resulting Numbers: [9, 80]
Generated Node #0,1,0: 80:[9, 80] Operation: 85-5=80
Exploring Operation: 85-9=76, Resulting Numbers: [5, 76]
Generated Node #0,1,1: 80:[5, 76] Operation: 85-9=76
Exploring Operation: 85/5=17, Resulting Numbers: [9, 17]
Generated Node #0,1,2: 80:[9, 17] Operation: 85/5=17
Exploring Operation: 9-5=4, Resulting Numbers: [85, 4]
Generated Node #0,1,3: 80:[85, 4] Operation: 9-5=4
Moving to Node #0,2
Current State: 80:[56, 5, 20], Operations: ['85-65=20']
Exploring Operation: 56-5=51, Resulting Numbers: [20, 51]
Generated Node #0,2,0: 80:[20, 51] Operation: 56-5=51
Exploring Operation: 20/5=4, Resulting Numbers: [56, 4]
Generated Node #0,2,1: 80:[56, 4] Operation: 20/5=4
Exploring Operation: 56+20=76, Resulting Numbers: [5, 76]
Generated Node #0,2,2: 80:[5, 76] Operation: 56+20=76
Exploring Operation: 56-20=36, Resulting Numbers: [5, 36]
Generated Node #0,2,3: 80:[5, 36] Operation: 56-20=36
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 80:[5, 76], Operations: ['85-65=20', '56+20=76']
Exploring Operation: 5+76=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 5*76=380, Resulting Numbers: [380]
380,80 unequal: No Solution
No 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: 80:[5, 36], Operations: ['85-65=20', '56-20=36']
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,80 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,80 unequal: No Solution
No 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: 80:[20, 51], Operations: ['85-65=20', '56-5=51']
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 20+51=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 20*51=1020, Resulting Numbers: [1020]
1020,80 unequal: No Solution
No 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: 80:[56, 4], Operations: ['85-65=20', '20/5=4']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,80 unequal: No Solution
Exploring Operation: 56*4=224, Resulting Numbers: [224]
224,80 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: 80:[85, 56, 13], Operations: ['65/5=13']
Exploring Operation: 85-56=29, Resulting Numbers: [13, 29]
Generated Node #0,3,0: 80:[13, 29] Operation: 85-56=29
Exploring Operation: 85-13=72, Resulting Numbers: [56, 72]
Generated Node #0,3,1: 80:[56, 72] Operation: 85-13=72
Exploring Operation: 56-13=43, Resulting Numbers: [85, 43]
Generated Node #0,3,2: 80:[85, 43] Operation: 56-13=43
Exploring Operation: 56+13=69, Resulting Numbers: [85, 69]
Generated Node #0,3,3: 80:[85, 69] Operation: 56+13=69
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 80:[85, 43], Operations: ['65/5=13', '56-13=43']
Exploring Operation: 85*43=3655, Resulting Numbers: [3655]
3655,80 unequal: No Solution
Exploring Operation: 85+43=128, Resulting Numbers: [128]
128,80 unequal: No Solution
Exploring Operation: 85-43=42, Resulting Numbers: [42]
42,80 unequal: No Solution
No 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: 80:[13, 29], Operations: ['65/5=13', '85-56=29']
Exploring Operation: 13*29=377, Resulting Numbers: [377]
377,80 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,80 unequal: No Solution
No 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: 80:[85, 69], Operations: ['65/5=13', '56+13=69']
Exploring Operation: 85+69=154, Resulting Numbers: [154]
154,80 unequal: No Solution
Exploring Operation: 85-69=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 85*69=5865, Resulting Numbers: [5865]
5865,80 unequal: No Solution
No 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: 80:[56, 72], Operations: ['65/5=13', '85-13=72']
Exploring Operation: 72-56=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 56+72=128, Resulting Numbers: [128]
128,80 unequal: No Solution
Exploring Operation: 56*72=4032, Resulting Numbers: [4032]
4032,80 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: 80:[65, 5, 29], Operations: ['85-56=29']
Exploring Operation: 65/5=13, Resulting Numbers: [29, 13]
Generated Node #0,0,0: 80:[29, 13] Operation: 65/5=13
Exploring Operation: 65+29=94, Resulting Numbers: [5, 94]
Generated Node #0,0,1: 80:[5, 94] Operation: 65+29=94
Exploring Operation: 65-29=36, Resulting Numbers: [5, 36]
Generated Node #0,0,2: 80:[5, 36] Operation: 65-29=36
Exploring Operation: 65+5=70, Resulting Numbers: [29, 70]
Generated Node #0,0,3: 80:[29, 70] Operation: 65+5=70
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 80:[5, 36], Operations: ['85-56=29', '65-29=36']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,80 unequal: No Solution
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,80 unequal: No Solution
No 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: 80:[29, 13], Operations: ['85-56=29', '65/5=13']
Exploring Operation: 29*13=377, Resulting Numbers: [377]
377,80 unequal: No Solution
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,80 unequal: No Solution
No 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: 80:[5, 94], Operations: ['85-56=29', '65+29=94']
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,80 unequal: No Solution
Exploring Operation: 5*94=470, Resulting Numbers: [470]
470,80 unequal: No Solution
Exploring Operation: 5+94=99, Resulting Numbers: [99]
99,80 unequal: No Solution
No 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: 80:[29, 70], Operations: ['85-56=29', '65+5=70']
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,80 unequal: No Solution
Exploring Operation: 29*70=2030, Resulting Numbers: [2030]
2030,80 unequal: No Solution
Exploring Operation: 29+70=99, Resulting Numbers: [99]
99,80 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: 80:[9, 80], Operations: ['65-56=9', '85-5=80']
Exploring Operation: 80-9=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 9*80=720, Resulting Numbers: [720]
720,80 unequal: No Solution
Exploring Operation: 9+80=89, Resulting Numbers: [89]
89,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[9, 17], Operations: ['65-56=9', '85/5=17']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,80 unequal: No Solution
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[5, 76], Operations: ['65-56=9', '85-9=76']
Exploring Operation: 5*76=380, Resulting Numbers: [380]
380,80 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 5+76=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Moving to Node #0,1,3
Current State: 80:[85, 4], Operations: ['65-56=9', '9-5=4']
Exploring Operation: 85+4=89, Resulting Numbers: [89]
89,80 unequal: No Solution
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 85*4=340, Resulting Numbers: [340]
340,80 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
42,
74,
21,
2
] | 75 | [
"42/21=2",
"2/2=1",
"74+1=75"
] | Current State: 75:[42, 74, 21, 2], Operations: []
Exploring Operation: 42/21=2, Resulting Numbers: [74, 2, 2]
Generated Node #2: [74, 2, 2] from Operation: 42/21=2
Current State: 75:[74, 2, 2], Operations: ['42/21=2']
Exploring Operation: 2/2=1, Resulting Numbers: [74, 1]
Generated Node #3: [74, 1] from Operation: 2/2=1
Current State: 75:[74, 1], Operations: ['42/21=2', '2/2=1']
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[42, 74, 21, 2], Operations: []
Exploring Operation: 74-42=32, Resulting Numbers: [21, 2, 32]
Generated Node #0,0: 75:[21, 2, 32] Operation: 74-42=32
Exploring Operation: 42-21=21, Resulting Numbers: [74, 2, 21]
Generated Node #0,1: 75:[74, 2, 21] Operation: 42-21=21
Exploring Operation: 42/2=21, Resulting Numbers: [74, 21, 21]
Generated Node #0,2: 75:[74, 21, 21] Operation: 42/2=21
Exploring Operation: 42+21=63, Resulting Numbers: [74, 2, 63]
Generated Node #0,3: 75:[74, 2, 63] Operation: 42+21=63
Exploring Operation: 42/21=2, Resulting Numbers: [74, 2, 2]
Generated Node #0,4: 75:[74, 2, 2] Operation: 42/21=2
Moving to Node #0,4
Current State: 75:[74, 2, 2], Operations: ['42/21=2']
Exploring Operation: 74+2=76, Resulting Numbers: [2, 76]
Generated Node #0,4,0: 75:[2, 76] Operation: 74+2=76
Exploring Operation: 2*2=4, Resulting Numbers: [74, 4]
Generated Node #0,4,1: 75:[74, 4] Operation: 2*2=4
Exploring Operation: 2/2=1, Resulting Numbers: [74, 1]
Generated Node #0,4,2: 75:[74, 1] Operation: 2/2=1
Exploring Operation: 74+2=76, Resulting Numbers: [2, 76]
Generated Node #0,4,3: 75:[2, 76] Operation: 74+2=76
Exploring Operation: 2+2=4, Resulting Numbers: [74, 4]
Generated Node #0,4,4: 75:[74, 4] Operation: 2+2=4
Moving to Node #0,1
Current State: 75:[74, 2, 21], Operations: ['42-21=21']
Exploring Operation: 21-2=19, Resulting Numbers: [74, 19]
Generated Node #0,1,0: 75:[74, 19] Operation: 21-2=19
Exploring Operation: 74+2=76, Resulting Numbers: [21, 76]
Generated Node #0,1,1: 75:[21, 76] Operation: 74+2=76
Exploring Operation: 74-2=72, Resulting Numbers: [21, 72]
Generated Node #0,1,2: 75:[21, 72] Operation: 74-2=72
Exploring Operation: 2+21=23, Resulting Numbers: [74, 23]
Generated Node #0,1,3: 75:[74, 23] Operation: 2+21=23
Exploring Operation: 74/2=37, Resulting Numbers: [21, 37]
Generated Node #0,1,4: 75:[21, 37] Operation: 74/2=37
Moving to Node #0,2
Current State: 75:[74, 21, 21], Operations: ['42/2=21']
Exploring Operation: 21-21=0, Resulting Numbers: [74, 0]
Generated Node #0,2,0: 75:[74, 0] Operation: 21-21=0
Exploring Operation: 21/21=1, Resulting Numbers: [74, 1]
Generated Node #0,2,1: 75:[74, 1] Operation: 21/21=1
Exploring Operation: 74+21=95, Resulting Numbers: [21, 95]
Generated Node #0,2,2: 75:[21, 95] Operation: 74+21=95
Exploring Operation: 74+21=95, Resulting Numbers: [21, 95]
Generated Node #0,2,3: 75:[21, 95] Operation: 74+21=95
Exploring Operation: 21+21=42, Resulting Numbers: [74, 42]
Generated Node #0,2,4: 75:[74, 42] Operation: 21+21=42
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 75:[74, 1], Operations: ['42/2=21', '21/21=1']
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[42, 74, 21, 2], Operations: []
Exploring Operation: 42/2=21, Resulting Numbers: [74, 21, 21]
Generated Node #0,2: 75:[74, 21, 21] Operation: 42/2=21
Moving to Node #0,2
Current State: 75:[74, 21, 21], Operations: ['42/2=21']
Exploring Operation: 21/21=1, Resulting Numbers: [74, 1]
Generated Node #0,2,1: 75:[74, 1] Operation: 21/21=1
Moving to Node #0,2,1
Current State: 75:[74, 1], Operations: ['42/2=21', '21/21=1']
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
19,
98,
27,
10
] | 53 | [
"98*10=980",
"27+980=1007",
"1007/19=53"
] | Current State: 53:[19, 98, 27, 10], Operations: []
Exploring Operation: 98*10=980, Resulting Numbers: [19, 27, 980]
Generated Node #2: [19, 27, 980] from Operation: 98*10=980
Current State: 53:[19, 27, 980], Operations: ['98*10=980']
Exploring Operation: 27+980=1007, Resulting Numbers: [19, 1007]
Generated Node #3: [19, 1007] from Operation: 27+980=1007
Current State: 53:[19, 1007], Operations: ['98*10=980', '27+980=1007']
Exploring Operation: 1007/19=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[19, 98, 27, 10], Operations: []
Exploring Operation: 98-10=88, Resulting Numbers: [19, 27, 88]
Generated Node #0,0: 53:[19, 27, 88] Operation: 98-10=88
Exploring Operation: 98-19=79, Resulting Numbers: [27, 10, 79]
Generated Node #0,1: 53:[27, 10, 79] Operation: 98-19=79
Exploring Operation: 19+27=46, Resulting Numbers: [98, 10, 46]
Generated Node #0,2: 53:[98, 10, 46] Operation: 19+27=46
Exploring Operation: 98-27=71, Resulting Numbers: [19, 10, 71]
Generated Node #0,3: 53:[19, 10, 71] Operation: 98-27=71
Exploring Operation: 19+10=29, Resulting Numbers: [98, 27, 29]
Generated Node #0,4: 53:[98, 27, 29] Operation: 19+10=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[19, 27, 88], Operations: ['98-10=88']
Exploring Operation: 19+27=46, Resulting Numbers: [88, 46]
Generated Node #0,0,0: 53:[88, 46] Operation: 19+27=46
Exploring Operation: 88-27=61, Resulting Numbers: [19, 61]
Generated Node #0,0,1: 53:[19, 61] Operation: 88-27=61
Exploring Operation: 27-19=8, Resulting Numbers: [88, 8]
Generated Node #0,0,2: 53:[88, 8] Operation: 27-19=8
Exploring Operation: 88-19=69, Resulting Numbers: [27, 69]
Generated Node #0,0,3: 53:[27, 69] Operation: 88-19=69
Exploring Operation: 19+88=107, Resulting Numbers: [27, 107]
Generated Node #0,0,4: 53:[27, 107] Operation: 19+88=107
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[88, 46], Operations: ['98-10=88', '19+27=46']
Exploring Operation: 88*46=4048, Resulting Numbers: [4048]
4048,53 unequal: No Solution
Exploring Operation: 88-46=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 88+46=134, Resulting Numbers: [134]
134,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:[19, 61], Operations: ['98-10=88', '88-27=61']
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 19*61=1159, Resulting Numbers: [1159]
1159,53 unequal: No Solution
Exploring Operation: 19+61=80, Resulting Numbers: [80]
80,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,3
Current State: 53:[27, 69], Operations: ['98-10=88', '88-19=69']
Exploring Operation: 27+69=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 27*69=1863, Resulting Numbers: [1863]
1863,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 53:[88, 8], Operations: ['98-10=88', '27-19=8']
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 88*8=704, Resulting Numbers: [704]
704,53 unequal: No Solution
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 53:[27, 107], Operations: ['98-10=88', '19+88=107']
Exploring Operation: 27*107=2889, Resulting Numbers: [2889]
2889,53 unequal: No Solution
Exploring Operation: 27+107=134, Resulting Numbers: [134]
134,53 unequal: No Solution
Exploring Operation: 107-27=80, Resulting Numbers: [80]
80,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:[27, 10, 79], Operations: ['98-19=79']
Exploring Operation: 27-10=17, Resulting Numbers: [79, 17]
Generated Node #0,1,0: 53:[79, 17] Operation: 27-10=17
Exploring Operation: 79-10=69, Resulting Numbers: [27, 69]
Generated Node #0,1,1: 53:[27, 69] Operation: 79-10=69
Exploring Operation: 10+79=89, Resulting Numbers: [27, 89]
Generated Node #0,1,2: 53:[27, 89] Operation: 10+79=89
Exploring Operation: 27+10=37, Resulting Numbers: [79, 37]
Generated Node #0,1,3: 53:[79, 37] Operation: 27+10=37
Exploring Operation: 79-27=52, Resulting Numbers: [10, 52]
Generated Node #0,1,4: 53:[10, 52] Operation: 79-27=52
Moving to Node #0,1,1
Current State: 53:[27, 69], Operations: ['98-19=79', '79-10=69']
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 27+69=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 27*69=1863, Resulting Numbers: [1863]
1863,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[79, 37], Operations: ['98-19=79', '27+10=37']
Exploring Operation: 79*37=2923, Resulting Numbers: [2923]
2923,53 unequal: No Solution
Exploring Operation: 79+37=116, Resulting Numbers: [116]
116,53 unequal: No Solution
Exploring Operation: 79-37=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Moving to Node #0,1,4
Current State: 53:[10, 52], Operations: ['98-19=79', '79-27=52']
Exploring Operation: 10+52=62, Resulting Numbers: [62]
62,53 unequal: No Solution
Exploring Operation: 10*52=520, Resulting Numbers: [520]
520,53 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[79, 17], Operations: ['98-19=79', '27-10=17']
Exploring Operation: 79*17=1343, Resulting Numbers: [1343]
1343,53 unequal: No Solution
Exploring Operation: 79+17=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[27, 89], Operations: ['98-19=79', '10+79=89']
Exploring Operation: 89-27=62, Resulting Numbers: [62]
62,53 unequal: No Solution
Exploring Operation: 27+89=116, Resulting Numbers: [116]
116,53 unequal: No Solution
Exploring Operation: 27*89=2403, Resulting Numbers: [2403]
2403,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
Current State: 53:[98, 10, 46], Operations: ['19+27=46']
Exploring Operation: 46-10=36, Resulting Numbers: [98, 36]
Generated Node #0,2,0: 53:[98, 36] Operation: 46-10=36
Exploring Operation: 98+10=108, Resulting Numbers: [46, 108]
Generated Node #0,2,1: 53:[46, 108] Operation: 98+10=108
Exploring Operation: 10+46=56, Resulting Numbers: [98, 56]
Generated Node #0,2,2: 53:[98, 56] Operation: 10+46=56
Exploring Operation: 98-46=52, Resulting Numbers: [10, 52]
Generated Node #0,2,3: 53:[10, 52] Operation: 98-46=52
Exploring Operation: 98-10=88, Resulting Numbers: [46, 88]
Generated Node #0,2,4: 53:[46, 88] Operation: 98-10=88
Moving to Node #0,2,4
Current State: 53:[46, 88], Operations: ['19+27=46', '98-10=88']
Exploring Operation: 88-46=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 46*88=4048, Resulting Numbers: [4048]
4048,53 unequal: No Solution
Exploring Operation: 46+88=134, Resulting Numbers: [134]
134,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[10, 52], Operations: ['19+27=46', '98-46=52']
Exploring Operation: 10*52=520, Resulting Numbers: [520]
520,53 unequal: No Solution
Exploring Operation: 10+52=62, Resulting Numbers: [62]
62,53 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[98, 56], Operations: ['19+27=46', '10+46=56']
Exploring Operation: 98+56=154, Resulting Numbers: [154]
154,53 unequal: No Solution
Exploring Operation: 98*56=5488, Resulting Numbers: [5488]
5488,53 unequal: No Solution
Exploring Operation: 98-56=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[98, 36], Operations: ['19+27=46', '46-10=36']
Exploring Operation: 98-36=62, Resulting Numbers: [62]
62,53 unequal: No Solution
Exploring Operation: 98+36=134, Resulting Numbers: [134]
134,53 unequal: No Solution
Exploring Operation: 98*36=3528, Resulting Numbers: [3528]
3528,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[46, 108], Operations: ['19+27=46', '98+10=108']
Exploring Operation: 108-46=62, Resulting Numbers: [62]
62,53 unequal: No Solution
Exploring Operation: 46*108=4968, Resulting Numbers: [4968]
4968,53 unequal: No Solution
Exploring Operation: 46+108=154, Resulting Numbers: [154]
154,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
Current State: 53:[19, 10, 71], Operations: ['98-27=71']
Exploring Operation: 19+10=29, Resulting Numbers: [71, 29]
Generated Node #0,3,0: 53:[71, 29] Operation: 19+10=29
Exploring Operation: 19-10=9, Resulting Numbers: [71, 9]
Generated Node #0,3,1: 53:[71, 9] Operation: 19-10=9
Exploring Operation: 10+71=81, Resulting Numbers: [19, 81]
Generated Node #0,3,2: 53:[19, 81] Operation: 10+71=81
Exploring Operation: 71-19=52, Resulting Numbers: [10, 52]
Generated Node #0,3,3: 53:[10, 52] Operation: 71-19=52
Exploring Operation: 71-10=61, Resulting Numbers: [19, 61]
Generated Node #0,3,4: 53:[19, 61] Operation: 71-10=61
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 53:[71, 29], Operations: ['98-27=71', '19+10=29']
Exploring Operation: 71+29=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 71*29=2059, Resulting Numbers: [2059]
2059,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,3,4
Current State: 53:[19, 61], Operations: ['98-27=71', '71-10=61']
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 19*61=1159, Resulting Numbers: [1159]
1159,53 unequal: No Solution
Exploring Operation: 19+61=80, Resulting Numbers: [80]
80,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,3,3
Current State: 53:[10, 52], Operations: ['98-27=71', '71-19=52']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 10*52=520, Resulting Numbers: [520]
520,53 unequal: No Solution
Exploring Operation: 10+52=62, Resulting Numbers: [62]
62,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,3,1
Current State: 53:[71, 9], Operations: ['98-27=71', '19-10=9']
Exploring Operation: 71*9=639, Resulting Numbers: [639]
639,53 unequal: No Solution
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,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,3,2
Current State: 53:[19, 81], Operations: ['98-27=71', '10+71=81']
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,53 unequal: No Solution
Exploring Operation: 19*81=1539, Resulting Numbers: [1539]
1539,53 unequal: No Solution
Exploring Operation: 19+81=100, Resulting Numbers: [100]
100,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,4
Current State: 53:[98, 27, 29], Operations: ['19+10=29']
Exploring Operation: 98-27=71, Resulting Numbers: [29, 71]
Generated Node #0,4,0: 53:[29, 71] Operation: 98-27=71
Exploring Operation: 98-29=69, Resulting Numbers: [27, 69]
Generated Node #0,4,1: 53:[27, 69] Operation: 98-29=69
Exploring Operation: 29-27=2, Resulting Numbers: [98, 2]
Generated Node #0,4,2: 53:[98, 2] Operation: 29-27=2
Exploring Operation: 98+27=125, Resulting Numbers: [29, 125]
Generated Node #0,4,3: 53:[29, 125] Operation: 98+27=125
Exploring Operation: 27+29=56, Resulting Numbers: [98, 56]
Generated Node #0,4,4: 53:[98, 56] Operation: 27+29=56
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 53:[29, 71], Operations: ['19+10=29', '98-27=71']
Exploring Operation: 29*71=2059, Resulting Numbers: [2059]
2059,53 unequal: No Solution
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 29+71=100, Resulting Numbers: [100]
100,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,4,1
Current State: 53:[27, 69], Operations: ['19+10=29', '98-29=69']
Exploring Operation: 27*69=1863, Resulting Numbers: [1863]
1863,53 unequal: No Solution
Exploring Operation: 27+69=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,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,4,4
Current State: 53:[98, 56], Operations: ['19+10=29', '27+29=56']
Exploring Operation: 98+56=154, Resulting Numbers: [154]
154,53 unequal: No Solution
Exploring Operation: 98*56=5488, Resulting Numbers: [5488]
5488,53 unequal: No Solution
Exploring Operation: 98-56=42, Resulting Numbers: [42]
42,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,4,2
Current State: 53:[98, 2], Operations: ['19+10=29', '29-27=2']
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 98*2=196, Resulting Numbers: [196]
196,53 unequal: No Solution
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,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,4,3
Current State: 53:[29, 125], Operations: ['19+10=29', '98+27=125']
Exploring Operation: 29*125=3625, Resulting Numbers: [3625]
3625,53 unequal: No Solution
Exploring Operation: 125-29=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 29+125=154, Resulting Numbers: [154]
154,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_5 | sum_heuristic |
[
71,
76,
13,
45
] | 38 | [
"71-45=26",
"76*13=988",
"988/26=38"
] | Current State: 38:[71, 76, 13, 45], Operations: []
Exploring Operation: 71-45=26, Resulting Numbers: [76, 13, 26]
Generated Node #2: [76, 13, 26] from Operation: 71-45=26
Current State: 38:[76, 13, 26], Operations: ['71-45=26']
Exploring Operation: 76*13=988, Resulting Numbers: [26, 988]
Generated Node #3: [26, 988] from Operation: 76*13=988
Current State: 38:[26, 988], Operations: ['71-45=26', '76*13=988']
Exploring Operation: 988/26=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[71, 76, 13, 45], Operations: []
Exploring Operation: 76-71=5, Resulting Numbers: [13, 45, 5]
Generated Node #0,0: 38:[13, 45, 5] Operation: 76-71=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[13, 45, 5], Operations: ['76-71=5']
Exploring Operation: 13+5=18, Resulting Numbers: [45, 18]
Generated Node #0,0,0: 38:[45, 18] Operation: 13+5=18
Moving to Node #0,0,0
Current State: 38:[45, 18], Operations: ['76-71=5', '13+5=18']
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,38 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 |
[
6,
8,
23,
75
] | 55 | [
"6*23=138",
"8+75=83",
"138-83=55"
] | Current State: 55:[6, 8, 23, 75], Operations: []
Exploring Operation: 6*23=138, Resulting Numbers: [8, 75, 138]
Generated Node #2: [8, 75, 138] from Operation: 6*23=138
Current State: 55:[8, 75, 138], Operations: ['6*23=138']
Exploring Operation: 8+75=83, Resulting Numbers: [138, 83]
Generated Node #3: [138, 83] from Operation: 8+75=83
Current State: 55:[138, 83], Operations: ['6*23=138', '8+75=83']
Exploring Operation: 138-83=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[6, 8, 23, 75], Operations: []
Exploring Operation: 75-23=52, Resulting Numbers: [6, 8, 52]
Generated Node #0,0: 55:[6, 8, 52] Operation: 75-23=52
Exploring Operation: 23-8=15, Resulting Numbers: [6, 75, 15]
Generated Node #0,1: 55:[6, 75, 15] Operation: 23-8=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[6, 8, 52], Operations: ['75-23=52']
Exploring Operation: 8-6=2, Resulting Numbers: [52, 2]
Generated Node #0,0,0: 55:[52, 2] Operation: 8-6=2
Exploring Operation: 6+8=14, Resulting Numbers: [52, 14]
Generated Node #0,0,1: 55:[52, 14] Operation: 6+8=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[52, 2], Operations: ['75-23=52', '8-6=2']
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,55 unequal: No Solution
No 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: 55:[52, 14], Operations: ['75-23=52', '6+8=14']
Exploring Operation: 52+14=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,55 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: 55:[6, 75, 15], Operations: ['23-8=15']
Exploring Operation: 75/15=5, Resulting Numbers: [6, 5]
Generated Node #0,1,0: 55:[6, 5] Operation: 75/15=5
Exploring Operation: 75-15=60, Resulting Numbers: [6, 60]
Generated Node #0,1,1: 55:[6, 60] Operation: 75-15=60
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[6, 5], Operations: ['23-8=15', '75/15=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,55 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,55 unequal: No Solution
No 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: 55:[6, 60], Operations: ['23-8=15', '75-15=60']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,55 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 |
[
5,
11,
73,
3
] | 21 | [
"5*11=55",
"73+3=76",
"76-55=21"
] | Current State: 21:[5, 11, 73, 3], Operations: []
Exploring Operation: 5*11=55, Resulting Numbers: [73, 3, 55]
Generated Node #2: [73, 3, 55] from Operation: 5*11=55
Current State: 21:[73, 3, 55], Operations: ['5*11=55']
Exploring Operation: 73+3=76, Resulting Numbers: [55, 76]
Generated Node #3: [55, 76] from Operation: 73+3=76
Current State: 21:[55, 76], Operations: ['5*11=55', '73+3=76']
Exploring Operation: 76-55=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[5, 11, 73, 3], Operations: []
Exploring Operation: 11-5=6, Resulting Numbers: [73, 3, 6]
Generated Node #0,0: 21:[73, 3, 6] Operation: 11-5=6
Exploring Operation: 73-11=62, Resulting Numbers: [5, 3, 62]
Generated Node #0,1: 21:[5, 3, 62] Operation: 73-11=62
Exploring Operation: 73-5=68, Resulting Numbers: [11, 3, 68]
Generated Node #0,2: 21:[11, 3, 68] Operation: 73-5=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[5, 3, 62], Operations: ['73-11=62']
Exploring Operation: 62-3=59, Resulting Numbers: [5, 59]
Generated Node #0,1,0: 21:[5, 59] Operation: 62-3=59
Exploring Operation: 5+3=8, Resulting Numbers: [62, 8]
Generated Node #0,1,1: 21:[62, 8] Operation: 5+3=8
Exploring Operation: 62-5=57, Resulting Numbers: [3, 57]
Generated Node #0,1,2: 21:[3, 57] Operation: 62-5=57
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 21:[3, 57], Operations: ['73-11=62', '62-5=57']
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[5, 59], Operations: ['73-11=62', '62-3=59']
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,21 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 5*59=295, Resulting Numbers: [295]
295,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[62, 8], Operations: ['73-11=62', '5+3=8']
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,21 unequal: No Solution
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,21 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[11, 3, 68], Operations: ['73-5=68']
Exploring Operation: 68-3=65, Resulting Numbers: [11, 65]
Generated Node #0,2,0: 21:[11, 65] Operation: 68-3=65
Exploring Operation: 11-3=8, Resulting Numbers: [68, 8]
Generated Node #0,2,1: 21:[68, 8] Operation: 11-3=8
Exploring Operation: 68-11=57, Resulting Numbers: [3, 57]
Generated Node #0,2,2: 21:[3, 57] Operation: 68-11=57
Moving to Node #0,2,2
Current State: 21:[3, 57], Operations: ['73-5=68', '68-11=57']
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[11, 65], Operations: ['73-5=68', '68-3=65']
Exploring Operation: 11+65=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 11*65=715, Resulting Numbers: [715]
715,21 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[68, 8], Operations: ['73-5=68', '11-3=8']
Exploring Operation: 68*8=544, Resulting Numbers: [544]
544,21 unequal: No Solution
Exploring Operation: 68-8=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 68+8=76, Resulting Numbers: [76]
76,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[73, 3, 6], Operations: ['11-5=6']
Exploring Operation: 6-3=3, Resulting Numbers: [73, 3]
Generated Node #0,0,0: 21:[73, 3] Operation: 6-3=3
Exploring Operation: 73-3=70, Resulting Numbers: [6, 70]
Generated Node #0,0,1: 21:[6, 70] Operation: 73-3=70
Exploring Operation: 73-6=67, Resulting Numbers: [3, 67]
Generated Node #0,0,2: 21:[3, 67] Operation: 73-6=67
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[3, 67], Operations: ['11-5=6', '73-6=67']
Exploring Operation: 3*67=201, Resulting Numbers: [201]
201,21 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,21 unequal: No Solution
Exploring Operation: 3+67=70, Resulting Numbers: [70]
70,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[6, 70], Operations: ['11-5=6', '73-3=70']
Exploring Operation: 6+70=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 6*70=420, Resulting Numbers: [420]
420,21 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[73, 3], Operations: ['11-5=6', '6-3=3']
Exploring Operation: 73*3=219, Resulting Numbers: [219]
219,21 unequal: No Solution
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
45,
37,
91,
79
] | 20 | [
"45-37=8",
"91-79=12",
"8+12=20"
] | Current State: 20:[45, 37, 91, 79], Operations: []
Exploring Operation: 45-37=8, Resulting Numbers: [91, 79, 8]
Generated Node #2: [91, 79, 8] from Operation: 45-37=8
Current State: 20:[91, 79, 8], Operations: ['45-37=8']
Exploring Operation: 91-79=12, Resulting Numbers: [8, 12]
Generated Node #3: [8, 12] from Operation: 91-79=12
Current State: 20:[8, 12], Operations: ['45-37=8', '91-79=12']
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[45, 37, 91, 79], Operations: []
Exploring Operation: 91-45=46, Resulting Numbers: [37, 79, 46]
Generated Node #0,0: 20:[37, 79, 46] Operation: 91-45=46
Exploring Operation: 91-37=54, Resulting Numbers: [45, 79, 54]
Generated Node #0,1: 20:[45, 79, 54] Operation: 91-37=54
Exploring Operation: 79-37=42, Resulting Numbers: [45, 91, 42]
Generated Node #0,2: 20:[45, 91, 42] Operation: 79-37=42
Exploring Operation: 91-79=12, Resulting Numbers: [45, 37, 12]
Generated Node #0,3: 20:[45, 37, 12] Operation: 91-79=12
Exploring Operation: 79-45=34, Resulting Numbers: [37, 91, 34]
Generated Node #0,4: 20:[37, 91, 34] Operation: 79-45=34
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[45, 37, 12], Operations: ['91-79=12']
Exploring Operation: 45+12=57, Resulting Numbers: [37, 57]
Generated Node #0,3,0: 20:[37, 57] Operation: 45+12=57
Exploring Operation: 37-12=25, Resulting Numbers: [45, 25]
Generated Node #0,3,1: 20:[45, 25] Operation: 37-12=25
Exploring Operation: 37+12=49, Resulting Numbers: [45, 49]
Generated Node #0,3,2: 20:[45, 49] Operation: 37+12=49
Exploring Operation: 45-37=8, Resulting Numbers: [12, 8]
Generated Node #0,3,3: 20:[12, 8] Operation: 45-37=8
Exploring Operation: 45-12=33, Resulting Numbers: [37, 33]
Generated Node #0,3,4: 20:[37, 33] Operation: 45-12=33
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 20:[12, 8], Operations: ['91-79=12', '45-37=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[45, 37, 91, 79], Operations: []
Exploring Operation: 91-79=12, Resulting Numbers: [45, 37, 12]
Generated Node #0,3: 20:[45, 37, 12] Operation: 91-79=12
Moving to Node #0,3
Current State: 20:[45, 37, 12], Operations: ['91-79=12']
Exploring Operation: 45-37=8, Resulting Numbers: [12, 8]
Generated Node #0,3,3: 20:[12, 8] Operation: 45-37=8
Moving to Node #0,3,3
Current State: 20:[12, 8], Operations: ['91-79=12', '45-37=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
57,
47,
1,
84
] | 93 | [
"57-47=10",
"84-1=83",
"10+83=93"
] | Current State: 93:[57, 47, 1, 84], Operations: []
Exploring Operation: 57-47=10, Resulting Numbers: [1, 84, 10]
Generated Node #2: [1, 84, 10] from Operation: 57-47=10
Current State: 93:[1, 84, 10], Operations: ['57-47=10']
Exploring Operation: 84-1=83, Resulting Numbers: [10, 83]
Generated Node #3: [10, 83] from Operation: 84-1=83
Current State: 93:[10, 83], Operations: ['57-47=10', '84-1=83']
Exploring Operation: 10+83=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[57, 47, 1, 84], Operations: []
Exploring Operation: 84-57=27, Resulting Numbers: [47, 1, 27]
Generated Node #0,0: 93:[47, 1, 27] Operation: 84-57=27
Exploring Operation: 57+47=104, Resulting Numbers: [1, 84, 104]
Generated Node #0,1: 93:[1, 84, 104] Operation: 57+47=104
Exploring Operation: 57-47=10, Resulting Numbers: [1, 84, 10]
Generated Node #0,2: 93:[1, 84, 10] Operation: 57-47=10
Moving to Node #0,2
Current State: 93:[1, 84, 10], Operations: ['57-47=10']
Exploring Operation: 1+84=85, Resulting Numbers: [10, 85]
Generated Node #0,2,0: 93:[10, 85] Operation: 1+84=85
Exploring Operation: 84+10=94, Resulting Numbers: [1, 94]
Generated Node #0,2,1: 93:[1, 94] Operation: 84+10=94
Exploring Operation: 10-1=9, Resulting Numbers: [84, 9]
Generated Node #0,2,2: 93:[84, 9] Operation: 10-1=9
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[1, 94], Operations: ['57-47=10', '84+10=94']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[57, 47, 1, 84], Operations: []
Exploring Operation: 57-47=10, Resulting Numbers: [1, 84, 10]
Generated Node #0,2: 93:[1, 84, 10] Operation: 57-47=10
Moving to Node #0,2
Current State: 93:[1, 84, 10], Operations: ['57-47=10']
Exploring Operation: 84+10=94, Resulting Numbers: [1, 94]
Generated Node #0,2,1: 93:[1, 94] Operation: 84+10=94
Moving to Node #0,2,1
Current State: 93:[1, 94], Operations: ['57-47=10', '84+10=94']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
74,
44,
71,
5
] | 73 | [
"74+71=145",
"145/5=29",
"44+29=73"
] | Current State: 73:[74, 44, 71, 5], Operations: []
Exploring Operation: 74+71=145, Resulting Numbers: [44, 5, 145]
Generated Node #2: [44, 5, 145] from Operation: 74+71=145
Current State: 73:[44, 5, 145], Operations: ['74+71=145']
Exploring Operation: 145/5=29, Resulting Numbers: [44, 29]
Generated Node #3: [44, 29] from Operation: 145/5=29
Current State: 73:[44, 29], Operations: ['74+71=145', '145/5=29']
Exploring Operation: 44+29=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[74, 44, 71, 5], Operations: []
Exploring Operation: 44+5=49, Resulting Numbers: [74, 71, 49]
Generated Node #0,0: 73:[74, 71, 49] Operation: 44+5=49
Moving to Node #0,0
Current State: 73:[74, 71, 49], Operations: ['44+5=49']
Exploring Operation: 71+49=120, Resulting Numbers: [74, 120]
Generated Node #0,0,0: 73:[74, 120] Operation: 71+49=120
Moving to Node #0,0,0
Current State: 73:[74, 120], Operations: ['44+5=49', '71+49=120']
Exploring Operation: 120-74=46, Resulting Numbers: [46]
46,73 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
21,
1,
30,
13
] | 22 | [
"21*1=21",
"30+13=43",
"43-21=22"
] | Current State: 22:[21, 1, 30, 13], Operations: []
Exploring Operation: 21*1=21, Resulting Numbers: [30, 13, 21]
Generated Node #2: [30, 13, 21] from Operation: 21*1=21
Current State: 22:[30, 13, 21], Operations: ['21*1=21']
Exploring Operation: 30+13=43, Resulting Numbers: [21, 43]
Generated Node #3: [21, 43] from Operation: 30+13=43
Current State: 22:[21, 43], Operations: ['21*1=21', '30+13=43']
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[21, 1, 30, 13], Operations: []
Exploring Operation: 30-21=9, Resulting Numbers: [1, 13, 9]
Generated Node #0,0: 22:[1, 13, 9] Operation: 30-21=9
Exploring Operation: 30-1=29, Resulting Numbers: [21, 13, 29]
Generated Node #0,1: 22:[21, 13, 29] Operation: 30-1=29
Exploring Operation: 21+1=22, Resulting Numbers: [30, 13, 22]
Generated Node #0,2: 22:[30, 13, 22] Operation: 21+1=22
Exploring Operation: 13-1=12, Resulting Numbers: [21, 30, 12]
Generated Node #0,3: 22:[21, 30, 12] Operation: 13-1=12
Exploring Operation: 30-13=17, Resulting Numbers: [21, 1, 17]
Generated Node #0,4: 22:[21, 1, 17] Operation: 30-13=17
Moving to Node #0,0
Current State: 22:[1, 13, 9], Operations: ['30-21=9']
Exploring Operation: 13+9=22, Resulting Numbers: [1, 22]
Generated Node #0,0,0: 22:[1, 22] Operation: 13+9=22
Exploring Operation: 13-1=12, Resulting Numbers: [9, 12]
Generated Node #0,0,1: 22:[9, 12] Operation: 13-1=12
Exploring Operation: 1*13=13, Resulting Numbers: [9, 13]
Generated Node #0,0,2: 22:[9, 13] Operation: 1*13=13
Exploring Operation: 13-9=4, Resulting Numbers: [1, 4]
Generated Node #0,0,3: 22:[1, 4] Operation: 13-9=4
Exploring Operation: 1+9=10, Resulting Numbers: [13, 10]
Generated Node #0,0,4: 22:[13, 10] Operation: 1+9=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[1, 22], Operations: ['30-21=9', '13+9=22']
Exploring Operation: 1+22=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[21, 1, 30, 13], Operations: []
Exploring Operation: 30-21=9, Resulting Numbers: [1, 13, 9]
Generated Node #0,0: 22:[1, 13, 9] Operation: 30-21=9
Moving to Node #0,0
Current State: 22:[1, 13, 9], Operations: ['30-21=9']
Exploring Operation: 13+9=22, Resulting Numbers: [1, 22]
Generated Node #0,0,0: 22:[1, 22] Operation: 13+9=22
Moving to Node #0,0,0
Current State: 22:[1, 22], Operations: ['30-21=9', '13+9=22']
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
33,
4,
60,
2
] | 80 | [
"33+2=35",
"4*35=140",
"140-60=80"
] | Current State: 80:[33, 4, 60, 2], Operations: []
Exploring Operation: 33+2=35, Resulting Numbers: [4, 60, 35]
Generated Node #2: [4, 60, 35] from Operation: 33+2=35
Current State: 80:[4, 60, 35], Operations: ['33+2=35']
Exploring Operation: 4*35=140, Resulting Numbers: [60, 140]
Generated Node #3: [60, 140] from Operation: 4*35=140
Current State: 80:[60, 140], Operations: ['33+2=35', '4*35=140']
Exploring Operation: 140-60=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[33, 4, 60, 2], Operations: []
Exploring Operation: 60-33=27, Resulting Numbers: [4, 2, 27]
Generated Node #0,0: 80:[4, 2, 27] Operation: 60-33=27
Moving to Node #0,0
Current State: 80:[4, 2, 27], Operations: ['60-33=27']
Exploring Operation: 27-4=23, Resulting Numbers: [2, 23]
Generated Node #0,0,0: 80:[2, 23] Operation: 27-4=23
Moving to Node #0,0,0
Current State: 80:[2, 23], Operations: ['60-33=27', '27-4=23']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,80 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
65,
56,
17,
28
] | 80 | [
"65+17=82",
"56/28=2",
"82-2=80"
] | Current State: 80:[65, 56, 17, 28], Operations: []
Exploring Operation: 65+17=82, Resulting Numbers: [56, 28, 82]
Generated Node #2: [56, 28, 82] from Operation: 65+17=82
Current State: 80:[56, 28, 82], Operations: ['65+17=82']
Exploring Operation: 56/28=2, Resulting Numbers: [82, 2]
Generated Node #3: [82, 2] from Operation: 56/28=2
Current State: 80:[82, 2], Operations: ['65+17=82', '56/28=2']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[65, 56, 17, 28], Operations: []
Exploring Operation: 65-56=9, Resulting Numbers: [17, 28, 9]
Generated Node #0,0: 80:[17, 28, 9] Operation: 65-56=9
Exploring Operation: 56/28=2, Resulting Numbers: [65, 17, 2]
Generated Node #0,1: 80:[65, 17, 2] Operation: 56/28=2
Exploring Operation: 65-28=37, Resulting Numbers: [56, 17, 37]
Generated Node #0,2: 80:[56, 17, 37] Operation: 65-28=37
Moving to Node #0,0
Current State: 80:[17, 28, 9], Operations: ['65-56=9']
Exploring Operation: 28-9=19, Resulting Numbers: [17, 19]
Generated Node #0,0,0: 80:[17, 19] Operation: 28-9=19
Exploring Operation: 28+9=37, Resulting Numbers: [17, 37]
Generated Node #0,0,1: 80:[17, 37] Operation: 28+9=37
Exploring Operation: 28-17=11, Resulting Numbers: [9, 11]
Generated Node #0,0,2: 80:[9, 11] Operation: 28-17=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[17, 19], Operations: ['65-56=9', '28-9=19']
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,80 unequal: No Solution
Exploring Operation: 17*19=323, Resulting Numbers: [323]
323,80 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,80 unequal: No Solution
No 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: 80:[9, 11], Operations: ['65-56=9', '28-17=11']
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,80 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,80 unequal: No Solution
No 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: 80:[17, 37], Operations: ['65-56=9', '28+9=37']
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 17*37=629, Resulting Numbers: [629]
629,80 unequal: No Solution
Exploring Operation: 17+37=54, Resulting Numbers: [54]
54,80 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: 80:[65, 17, 2], Operations: ['56/28=2']
Exploring Operation: 65+17=82, Resulting Numbers: [2, 82]
Generated Node #0,1,0: 80:[2, 82] Operation: 65+17=82
Exploring Operation: 65+2=67, Resulting Numbers: [17, 67]
Generated Node #0,1,1: 80:[17, 67] Operation: 65+2=67
Exploring Operation: 65-17=48, Resulting Numbers: [2, 48]
Generated Node #0,1,2: 80:[2, 48] Operation: 65-17=48
Moving to Node #0,2
Current State: 80:[56, 17, 37], Operations: ['65-28=37']
Exploring Operation: 56-17=39, Resulting Numbers: [37, 39]
Generated Node #0,2,0: 80:[37, 39] Operation: 56-17=39
Exploring Operation: 56+17=73, Resulting Numbers: [37, 73]
Generated Node #0,2,1: 80:[37, 73] Operation: 56+17=73
Exploring Operation: 56-37=19, Resulting Numbers: [17, 19]
Generated Node #0,2,2: 80:[17, 19] Operation: 56-37=19
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 80:[17, 19], Operations: ['65-28=37', '56-37=19']
Exploring Operation: 17*19=323, Resulting Numbers: [323]
323,80 unequal: No Solution
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,80 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,80 unequal: No Solution
No 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: 80:[37, 39], Operations: ['65-28=37', '56-17=39']
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,80 unequal: No Solution
Exploring Operation: 37*39=1443, Resulting Numbers: [1443]
1443,80 unequal: No Solution
No 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: 80:[37, 73], Operations: ['65-28=37', '56+17=73']
Exploring Operation: 37*73=2701, Resulting Numbers: [2701]
2701,80 unequal: No Solution
Exploring Operation: 73-37=36, Resulting Numbers: [36]
36,80 unequal: No Solution
Exploring Operation: 37+73=110, Resulting Numbers: [110]
110,80 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: 80:[2, 82], Operations: ['56/28=2', '65+17=82']
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,80 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[65, 56, 17, 28], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [65, 17, 2]
Generated Node #0,1: 80:[65, 17, 2] Operation: 56/28=2
Moving to Node #0,1
Current State: 80:[65, 17, 2], Operations: ['56/28=2']
Exploring Operation: 65+17=82, Resulting Numbers: [2, 82]
Generated Node #0,1,0: 80:[2, 82] Operation: 65+17=82
Moving to Node #0,1,0
Current State: 80:[2, 82], Operations: ['56/28=2', '65+17=82']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.96875 | hs_3 | mult_heuristic |
[
59,
59,
22,
38
] | 17 | [
"59/59=1",
"38-22=16",
"1+16=17"
] | Current State: 17:[59, 59, 22, 38], Operations: []
Exploring Operation: 59/59=1, Resulting Numbers: [22, 38, 1]
Generated Node #2: [22, 38, 1] from Operation: 59/59=1
Current State: 17:[22, 38, 1], Operations: ['59/59=1']
Exploring Operation: 38-22=16, Resulting Numbers: [1, 16]
Generated Node #3: [1, 16] from Operation: 38-22=16
Current State: 17:[1, 16], Operations: ['59/59=1', '38-22=16']
Exploring Operation: 1+16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[59, 59, 22, 38], Operations: []
Exploring Operation: 59/59=1, Resulting Numbers: [22, 38, 1]
Generated Node #0,0: 17:[22, 38, 1] Operation: 59/59=1
Exploring Operation: 59-59=0, Resulting Numbers: [22, 38, 0]
Generated Node #0,1: 17:[22, 38, 0] Operation: 59-59=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[22, 38, 1], Operations: ['59/59=1']
Exploring Operation: 22-1=21, Resulting Numbers: [38, 21]
Generated Node #0,0,0: 17:[38, 21] Operation: 22-1=21
Exploring Operation: 38-22=16, Resulting Numbers: [1, 16]
Generated Node #0,0,1: 17:[1, 16] Operation: 38-22=16
Moving to Node #0,0,1
Current State: 17:[1, 16], Operations: ['59/59=1', '38-22=16']
Exploring Operation: 1+16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[59, 59, 22, 38], Operations: []
Exploring Operation: 59/59=1, Resulting Numbers: [22, 38, 1]
Generated Node #0,0: 17:[22, 38, 1] Operation: 59/59=1
Moving to Node #0,0
Current State: 17:[22, 38, 1], Operations: ['59/59=1']
Exploring Operation: 38-22=16, Resulting Numbers: [1, 16]
Generated Node #0,0,1: 17:[1, 16] Operation: 38-22=16
Moving to Node #0,0,1
Current State: 17:[1, 16], Operations: ['59/59=1', '38-22=16']
Exploring Operation: 1+16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
2,
80,
64,
52
] | 74 | [
"64-52=12",
"12/2=6",
"80-6=74"
] | Current State: 74:[2, 80, 64, 52], Operations: []
Exploring Operation: 64-52=12, Resulting Numbers: [2, 80, 12]
Generated Node #2: [2, 80, 12] from Operation: 64-52=12
Current State: 74:[2, 80, 12], Operations: ['64-52=12']
Exploring Operation: 12/2=6, Resulting Numbers: [80, 6]
Generated Node #3: [80, 6] from Operation: 12/2=6
Current State: 74:[80, 6], Operations: ['64-52=12', '12/2=6']
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[2, 80, 64, 52], Operations: []
Exploring Operation: 64-52=12, Resulting Numbers: [2, 80, 12]
Generated Node #0,0: 74:[2, 80, 12] Operation: 64-52=12
Exploring Operation: 64/2=32, Resulting Numbers: [80, 52, 32]
Generated Node #0,1: 74:[80, 52, 32] Operation: 64/2=32
Exploring Operation: 80-52=28, Resulting Numbers: [2, 64, 28]
Generated Node #0,2: 74:[2, 64, 28] Operation: 80-52=28
Exploring Operation: 52/2=26, Resulting Numbers: [80, 64, 26]
Generated Node #0,3: 74:[80, 64, 26] Operation: 52/2=26
Moving to Node #0,0
Current State: 74:[2, 80, 12], Operations: ['64-52=12']
Exploring Operation: 80/2=40, Resulting Numbers: [12, 40]
Generated Node #0,0,0: 74:[12, 40] Operation: 80/2=40
Exploring Operation: 12/2=6, Resulting Numbers: [80, 6]
Generated Node #0,0,1: 74:[80, 6] Operation: 12/2=6
Exploring Operation: 80-12=68, Resulting Numbers: [2, 68]
Generated Node #0,0,2: 74:[2, 68] Operation: 80-12=68
Exploring Operation: 80-2=78, Resulting Numbers: [12, 78]
Generated Node #0,0,3: 74:[12, 78] Operation: 80-2=78
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 74:[2, 68], Operations: ['64-52=12', '80-12=68']
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 2*68=136, Resulting Numbers: [136]
136,74 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,74 unequal: No Solution
No 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: 74:[80, 6], Operations: ['64-52=12', '12/2=6']
Exploring Operation: 80+6=86, Resulting Numbers: [86]
86,74 unequal: No Solution
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[2, 80, 64, 52], Operations: []
Exploring Operation: 64-52=12, Resulting Numbers: [2, 80, 12]
Generated Node #0,0: 74:[2, 80, 12] Operation: 64-52=12
Moving to Node #0,0
Current State: 74:[2, 80, 12], Operations: ['64-52=12']
Exploring Operation: 12/2=6, Resulting Numbers: [80, 6]
Generated Node #0,0,1: 74:[80, 6] Operation: 12/2=6
Moving to Node #0,0,1
Current State: 74:[80, 6], Operations: ['64-52=12', '12/2=6']
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
43,
15,
39,
46
] | 35 | [
"43-15=28",
"46-39=7",
"28+7=35"
] | Current State: 35:[43, 15, 39, 46], Operations: []
Exploring Operation: 43-15=28, Resulting Numbers: [39, 46, 28]
Generated Node #2: [39, 46, 28] from Operation: 43-15=28
Current State: 35:[39, 46, 28], Operations: ['43-15=28']
Exploring Operation: 46-39=7, Resulting Numbers: [28, 7]
Generated Node #3: [28, 7] from Operation: 46-39=7
Current State: 35:[28, 7], Operations: ['43-15=28', '46-39=7']
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[43, 15, 39, 46], Operations: []
Exploring Operation: 43-15=28, Resulting Numbers: [39, 46, 28]
Generated Node #0,0: 35:[39, 46, 28] Operation: 43-15=28
Exploring Operation: 46-39=7, Resulting Numbers: [43, 15, 7]
Generated Node #0,1: 35:[43, 15, 7] Operation: 46-39=7
Exploring Operation: 46-15=31, Resulting Numbers: [43, 39, 31]
Generated Node #0,2: 35:[43, 39, 31] Operation: 46-15=31
Exploring Operation: 43-39=4, Resulting Numbers: [15, 46, 4]
Generated Node #0,3: 35:[15, 46, 4] Operation: 43-39=4
Exploring Operation: 46-43=3, Resulting Numbers: [15, 39, 3]
Generated Node #0,4: 35:[15, 39, 3] Operation: 46-43=3
Start Sub Search at level 1: Moving to Node #0,4
Current State: 35:[15, 39, 3], Operations: ['46-43=3']
Exploring Operation: 15/3=5, Resulting Numbers: [39, 5]
Generated Node #0,4,0: 35:[39, 5] Operation: 15/3=5
Exploring Operation: 15-3=12, Resulting Numbers: [39, 12]
Generated Node #0,4,1: 35:[39, 12] Operation: 15-3=12
Exploring Operation: 15*3=45, Resulting Numbers: [39, 45]
Generated Node #0,4,2: 35:[39, 45] Operation: 15*3=45
Exploring Operation: 39-15=24, Resulting Numbers: [3, 24]
Generated Node #0,4,3: 35:[3, 24] Operation: 39-15=24
Exploring Operation: 39-3=36, Resulting Numbers: [15, 36]
Generated Node #0,4,4: 35:[15, 36] Operation: 39-3=36
Moving to Node #0,4,0
Current State: 35:[39, 5], Operations: ['46-43=3', '15/3=5']
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,35 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,35 unequal: No Solution
Moving to Node #0,4,4
Current State: 35:[15, 36], Operations: ['46-43=3', '39-3=36']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 15*36=540, Resulting Numbers: [540]
540,35 unequal: No Solution
Moving to Node #0,4,1
Current State: 35:[39, 12], Operations: ['46-43=3', '15-3=12']
Exploring Operation: 39+12=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 39*12=468, Resulting Numbers: [468]
468,35 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Moving to Node #0,4,3
Current State: 35:[3, 24], Operations: ['46-43=3', '39-15=24']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,35 unequal: No Solution
Moving to Node #0,4,2
Current State: 35:[39, 45], Operations: ['46-43=3', '15*3=45']
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 39+45=84, Resulting Numbers: [84]
84,35 unequal: No Solution
Exploring Operation: 39*45=1755, Resulting Numbers: [1755]
1755,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[43, 15, 7], Operations: ['46-39=7']
Exploring Operation: 15+7=22, Resulting Numbers: [43, 22]
Generated Node #0,1,0: 35:[43, 22] Operation: 15+7=22
Exploring Operation: 43-15=28, Resulting Numbers: [7, 28]
Generated Node #0,1,1: 35:[7, 28] Operation: 43-15=28
Exploring Operation: 43+15=58, Resulting Numbers: [7, 58]
Generated Node #0,1,2: 35:[7, 58] Operation: 43+15=58
Exploring Operation: 15-7=8, Resulting Numbers: [43, 8]
Generated Node #0,1,3: 35:[43, 8] Operation: 15-7=8
Exploring Operation: 43-7=36, Resulting Numbers: [15, 36]
Generated Node #0,1,4: 35:[15, 36] Operation: 43-7=36
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 35:[7, 28], Operations: ['46-39=7', '43-15=28']
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[43, 15, 39, 46], Operations: []
Exploring Operation: 46-39=7, Resulting Numbers: [43, 15, 7]
Generated Node #0,1: 35:[43, 15, 7] Operation: 46-39=7
Moving to Node #0,1
Current State: 35:[43, 15, 7], Operations: ['46-39=7']
Exploring Operation: 43-15=28, Resulting Numbers: [7, 28]
Generated Node #0,1,1: 35:[7, 28] Operation: 43-15=28
Moving to Node #0,1,1
Current State: 35:[7, 28], Operations: ['46-39=7', '43-15=28']
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
25,
69,
79,
76
] | 97 | [
"25+69=94",
"79-76=3",
"94+3=97"
] | Current State: 97:[25, 69, 79, 76], Operations: []
Exploring Operation: 25+69=94, Resulting Numbers: [79, 76, 94]
Generated Node #2: [79, 76, 94] from Operation: 25+69=94
Current State: 97:[79, 76, 94], Operations: ['25+69=94']
Exploring Operation: 79-76=3, Resulting Numbers: [94, 3]
Generated Node #3: [94, 3] from Operation: 79-76=3
Current State: 97:[94, 3], Operations: ['25+69=94', '79-76=3']
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[25, 69, 79, 76], Operations: []
Exploring Operation: 25+76=101, Resulting Numbers: [69, 79, 101]
Generated Node #0,0: 97:[69, 79, 101] Operation: 25+76=101
Exploring Operation: 25+79=104, Resulting Numbers: [69, 76, 104]
Generated Node #0,1: 97:[69, 76, 104] Operation: 25+79=104
Exploring Operation: 25+69=94, Resulting Numbers: [79, 76, 94]
Generated Node #0,2: 97:[79, 76, 94] Operation: 25+69=94
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[79, 76, 94], Operations: ['25+69=94']
Exploring Operation: 79+76=155, Resulting Numbers: [94, 155]
Generated Node #0,2,0: 97:[94, 155] Operation: 79+76=155
Exploring Operation: 76+94=170, Resulting Numbers: [79, 170]
Generated Node #0,2,1: 97:[79, 170] Operation: 76+94=170
Exploring Operation: 79-76=3, Resulting Numbers: [94, 3]
Generated Node #0,2,2: 97:[94, 3] Operation: 79-76=3
Moving to Node #0,2,0
Current State: 97:[94, 155], Operations: ['25+69=94', '79+76=155']
Exploring Operation: 94+155=249, Resulting Numbers: [249]
249,97 unequal: No Solution
Exploring Operation: 155-94=61, Resulting Numbers: [61]
61,97 unequal: No Solution
Exploring Operation: 94*155=14570, Resulting Numbers: [14570]
14570,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[79, 170], Operations: ['25+69=94', '76+94=170']
Exploring Operation: 79*170=13430, Resulting Numbers: [13430]
13430,97 unequal: No Solution
Exploring Operation: 170-79=91, Resulting Numbers: [91]
91,97 unequal: No Solution
Exploring Operation: 79+170=249, Resulting Numbers: [249]
249,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[94, 3], Operations: ['25+69=94', '79-76=3']
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[25, 69, 79, 76], Operations: []
Exploring Operation: 25+69=94, Resulting Numbers: [79, 76, 94]
Generated Node #0,2: 97:[79, 76, 94] Operation: 25+69=94
Moving to Node #0,2
Current State: 97:[79, 76, 94], Operations: ['25+69=94']
Exploring Operation: 79-76=3, Resulting Numbers: [94, 3]
Generated Node #0,2,2: 97:[94, 3] Operation: 79-76=3
Moving to Node #0,2,2
Current State: 97:[94, 3], Operations: ['25+69=94', '79-76=3']
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
4,
23,
31,
29
] | 87 | [
"4+23=27",
"31+29=60",
"27+60=87"
] | Current State: 87:[4, 23, 31, 29], Operations: []
Exploring Operation: 4+23=27, Resulting Numbers: [31, 29, 27]
Generated Node #2: [31, 29, 27] from Operation: 4+23=27
Current State: 87:[31, 29, 27], Operations: ['4+23=27']
Exploring Operation: 31+29=60, Resulting Numbers: [27, 60]
Generated Node #3: [27, 60] from Operation: 31+29=60
Current State: 87:[27, 60], Operations: ['4+23=27', '31+29=60']
Exploring Operation: 27+60=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[4, 23, 31, 29], Operations: []
Exploring Operation: 4+23=27, Resulting Numbers: [31, 29, 27]
Generated Node #0,0: 87:[31, 29, 27] Operation: 4+23=27
Exploring Operation: 31-23=8, Resulting Numbers: [4, 29, 8]
Generated Node #0,1: 87:[4, 29, 8] Operation: 31-23=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[31, 29, 27], Operations: ['4+23=27']
Exploring Operation: 31-27=4, Resulting Numbers: [29, 4]
Generated Node #0,0,0: 87:[29, 4] Operation: 31-27=4
Exploring Operation: 31-29=2, Resulting Numbers: [27, 2]
Generated Node #0,0,1: 87:[27, 2] Operation: 31-29=2
Moving to Node #0,0,0
Current State: 87:[29, 4], Operations: ['4+23=27', '31-27=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[27, 2], Operations: ['4+23=27', '31-29=2']
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[4, 29, 8], Operations: ['31-23=8']
Exploring Operation: 8-4=4, Resulting Numbers: [29, 4]
Generated Node #0,1,0: 87:[29, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [29, 2]
Generated Node #0,1,1: 87:[29, 2] Operation: 8/4=2
Moving to Node #0,1,0
Current State: 87:[29, 4], Operations: ['31-23=8', '8-4=4']
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,87 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[29, 2], Operations: ['31-23=8', '8/4=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,87 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,87 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,
42,
46,
17
] | 54 | [
"41+42=83",
"46-17=29",
"83-29=54"
] | Current State: 54:[41, 42, 46, 17], Operations: []
Exploring Operation: 41+42=83, Resulting Numbers: [46, 17, 83]
Generated Node #2: [46, 17, 83] from Operation: 41+42=83
Current State: 54:[46, 17, 83], Operations: ['41+42=83']
Exploring Operation: 46-17=29, Resulting Numbers: [83, 29]
Generated Node #3: [83, 29] from Operation: 46-17=29
Current State: 54:[83, 29], Operations: ['41+42=83', '46-17=29']
Exploring Operation: 83-29=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[41, 42, 46, 17], Operations: []
Exploring Operation: 42-41=1, Resulting Numbers: [46, 17, 1]
Generated Node #0,0: 54:[46, 17, 1] Operation: 42-41=1
Moving to Node #0,0
Current State: 54:[46, 17, 1], Operations: ['42-41=1']
Exploring Operation: 46-17=29, Resulting Numbers: [1, 29]
Generated Node #0,0,0: 54:[1, 29] Operation: 46-17=29
Moving to Node #0,0,0
Current State: 54:[1, 29], Operations: ['42-41=1', '46-17=29']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,54 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
21,
46,
51,
25
] | 26 | [
"51-46=5",
"25/5=5",
"21+5=26"
] | Current State: 26:[21, 46, 51, 25], Operations: []
Exploring Operation: 51-46=5, Resulting Numbers: [21, 25, 5]
Generated Node #2: [21, 25, 5] from Operation: 51-46=5
Current State: 26:[21, 25, 5], Operations: ['51-46=5']
Exploring Operation: 25/5=5, Resulting Numbers: [21, 5]
Generated Node #3: [21, 5] from Operation: 25/5=5
Current State: 26:[21, 5], Operations: ['51-46=5', '25/5=5']
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[21, 46, 51, 25], Operations: []
Exploring Operation: 51-46=5, Resulting Numbers: [21, 25, 5]
Generated Node #0,0: 26:[21, 25, 5] Operation: 51-46=5
Exploring Operation: 51-21=30, Resulting Numbers: [46, 25, 30]
Generated Node #0,1: 26:[46, 25, 30] Operation: 51-21=30
Exploring Operation: 46-21=25, Resulting Numbers: [51, 25, 25]
Generated Node #0,2: 26:[51, 25, 25] Operation: 46-21=25
Exploring Operation: 46-25=21, Resulting Numbers: [21, 51, 21]
Generated Node #0,3: 26:[21, 51, 21] Operation: 46-25=21
Exploring Operation: 51-25=26, Resulting Numbers: [21, 46, 26]
Generated Node #0,4: 26:[21, 46, 26] Operation: 51-25=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[21, 25, 5], Operations: ['51-46=5']
Exploring Operation: 25+5=30, Resulting Numbers: [21, 30]
Generated Node #0,0,0: 26:[21, 30] Operation: 25+5=30
Exploring Operation: 21+5=26, Resulting Numbers: [25, 26]
Generated Node #0,0,1: 26:[25, 26] Operation: 21+5=26
Exploring Operation: 21-5=16, Resulting Numbers: [25, 16]
Generated Node #0,0,2: 26:[25, 16] Operation: 21-5=16
Exploring Operation: 25-21=4, Resulting Numbers: [5, 4]
Generated Node #0,0,3: 26:[5, 4] Operation: 25-21=4
Exploring Operation: 25/5=5, Resulting Numbers: [21, 5]
Generated Node #0,0,4: 26:[21, 5] Operation: 25/5=5
Moving to Node #0,0,1
Current State: 26:[25, 26], Operations: ['51-46=5', '21+5=26']
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 25*26=650, Resulting Numbers: [650]
650,26 unequal: No Solution
Exploring Operation: 25+26=51, Resulting Numbers: [51]
51,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[25, 16], Operations: ['51-46=5', '21-5=16']
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,26 unequal: No Solution
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Moving to Node #0,0,3
Current State: 26:[5, 4], Operations: ['51-46=5', '25-21=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,26 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Moving to Node #0,0,4
Current State: 26:[21, 5], Operations: ['51-46=5', '25/5=5']
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[21, 46, 51, 25], Operations: []
Exploring Operation: 51-46=5, Resulting Numbers: [21, 25, 5]
Generated Node #0,0: 26:[21, 25, 5] Operation: 51-46=5
Moving to Node #0,0
Current State: 26:[21, 25, 5], Operations: ['51-46=5']
Exploring Operation: 25/5=5, Resulting Numbers: [21, 5]
Generated Node #0,0,4: 26:[21, 5] Operation: 25/5=5
Moving to Node #0,0,4
Current State: 26:[21, 5], Operations: ['51-46=5', '25/5=5']
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | sum_heuristic |
[
28,
8,
63,
99
] | 81 | [
"8*63=504",
"504/28=18",
"99-18=81"
] | Current State: 81:[28, 8, 63, 99], Operations: []
Exploring Operation: 8*63=504, Resulting Numbers: [28, 99, 504]
Generated Node #2: [28, 99, 504] from Operation: 8*63=504
Current State: 81:[28, 99, 504], Operations: ['8*63=504']
Exploring Operation: 504/28=18, Resulting Numbers: [99, 18]
Generated Node #3: [99, 18] from Operation: 504/28=18
Current State: 81:[99, 18], Operations: ['8*63=504', '504/28=18']
Exploring Operation: 99-18=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[28, 8, 63, 99], Operations: []
Exploring Operation: 63-28=35, Resulting Numbers: [8, 99, 35]
Generated Node #0,0: 81:[8, 99, 35] Operation: 63-28=35
Exploring Operation: 99-28=71, Resulting Numbers: [8, 63, 71]
Generated Node #0,1: 81:[8, 63, 71] Operation: 99-28=71
Exploring Operation: 99-63=36, Resulting Numbers: [28, 8, 36]
Generated Node #0,2: 81:[28, 8, 36] Operation: 99-63=36
Exploring Operation: 28+63=91, Resulting Numbers: [8, 99, 91]
Generated Node #0,3: 81:[8, 99, 91] Operation: 28+63=91
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[28, 8, 36], Operations: ['99-63=36']
Exploring Operation: 36-28=8, Resulting Numbers: [8, 8]
Generated Node #0,2,0: 81:[8, 8] Operation: 36-28=8
Exploring Operation: 36-8=28, Resulting Numbers: [28, 28]
Generated Node #0,2,1: 81:[28, 28] Operation: 36-8=28
Exploring Operation: 28+8=36, Resulting Numbers: [36, 36]
Generated Node #0,2,2: 81:[36, 36] Operation: 28+8=36
Exploring Operation: 28-8=20, Resulting Numbers: [36, 20]
Generated Node #0,2,3: 81:[36, 20] Operation: 28-8=20
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 81:[8, 8], Operations: ['99-63=36', '36-28=8']
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,81 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,81 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,81 unequal: No Solution
No 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: 81:[28, 28], Operations: ['99-63=36', '36-8=28']
Exploring Operation: 28*28=784, Resulting Numbers: [784]
784,81 unequal: No Solution
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,81 unequal: No Solution
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,81 unequal: No Solution
No 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: 81:[36, 20], Operations: ['99-63=36', '28-8=20']
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 36*20=720, Resulting Numbers: [720]
720,81 unequal: No Solution
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,81 unequal: No Solution
No 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: 81:[36, 36], Operations: ['99-63=36', '28+8=36']
Exploring Operation: 36*36=1296, Resulting Numbers: [1296]
1296,81 unequal: No Solution
Exploring Operation: 36/36=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 36+36=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Exploring Operation: 36-36=0, Resulting Numbers: [0]
0,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[8, 99, 35], Operations: ['63-28=35']
Exploring Operation: 99-8=91, Resulting Numbers: [35, 91]
Generated Node #0,0,0: 81:[35, 91] Operation: 99-8=91
Exploring Operation: 8+99=107, Resulting Numbers: [35, 107]
Generated Node #0,0,1: 81:[35, 107] Operation: 8+99=107
Exploring Operation: 99-35=64, Resulting Numbers: [8, 64]
Generated Node #0,0,2: 81:[8, 64] Operation: 99-35=64
Exploring Operation: 35-8=27, Resulting Numbers: [99, 27]
Generated Node #0,0,3: 81:[99, 27] Operation: 35-8=27
Moving to Node #0,0,0
Current State: 81:[35, 91], Operations: ['63-28=35', '99-8=91']
Exploring Operation: 35+91=126, Resulting Numbers: [126]
126,81 unequal: No Solution
Exploring Operation: 91-35=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Exploring Operation: 35*91=3185, Resulting Numbers: [3185]
3185,81 unequal: No Solution
Moving to Node #0,0,3
Current State: 81:[99, 27], Operations: ['63-28=35', '35-8=27']
Exploring Operation: 99-27=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Exploring Operation: 99*27=2673, Resulting Numbers: [2673]
2673,81 unequal: No Solution
Exploring Operation: 99+27=126, Resulting Numbers: [126]
126,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[8, 64], Operations: ['63-28=35', '99-35=64']
Exploring Operation: 8+64=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Exploring Operation: 8*64=512, Resulting Numbers: [512]
512,81 unequal: No Solution
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[35, 107], Operations: ['63-28=35', '8+99=107']
Exploring Operation: 35+107=142, Resulting Numbers: [142]
142,81 unequal: No Solution
Exploring Operation: 107-35=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Exploring Operation: 35*107=3745, Resulting Numbers: [3745]
3745,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[8, 63, 71], Operations: ['99-28=71']
Exploring Operation: 8+71=79, Resulting Numbers: [63, 79]
Generated Node #0,1,0: 81:[63, 79] Operation: 8+71=79
Exploring Operation: 8+63=71, Resulting Numbers: [71, 71]
Generated Node #0,1,1: 81:[71, 71] Operation: 8+63=71
Exploring Operation: 63-8=55, Resulting Numbers: [71, 55]
Generated Node #0,1,2: 81:[71, 55] Operation: 63-8=55
Exploring Operation: 71-63=8, Resulting Numbers: [8, 8]
Generated Node #0,1,3: 81:[8, 8] Operation: 71-63=8
Moving to Node #0,1,3
Current State: 81:[8, 8], Operations: ['99-28=71', '71-63=8']
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,81 unequal: No Solution
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[71, 71], Operations: ['99-28=71', '8+63=71']
Exploring Operation: 71/71=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 71-71=0, Resulting Numbers: [0]
0,81 unequal: No Solution
Exploring Operation: 71+71=142, Resulting Numbers: [142]
142,81 unequal: No Solution
Exploring Operation: 71*71=5041, Resulting Numbers: [5041]
5041,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[63, 79], Operations: ['99-28=71', '8+71=79']
Exploring Operation: 63+79=142, Resulting Numbers: [142]
142,81 unequal: No Solution
Exploring Operation: 79-63=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 63*79=4977, Resulting Numbers: [4977]
4977,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[71, 55], Operations: ['99-28=71', '63-8=55']
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 71+55=126, Resulting Numbers: [126]
126,81 unequal: No Solution
Exploring Operation: 71*55=3905, Resulting Numbers: [3905]
3905,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 81:[8, 99, 91], Operations: ['28+63=91']
Exploring Operation: 99-91=8, Resulting Numbers: [8, 8]
Generated Node #0,3,0: 81:[8, 8] Operation: 99-91=8
Exploring Operation: 8+99=107, Resulting Numbers: [91, 107]
Generated Node #0,3,1: 81:[91, 107] Operation: 8+99=107
Exploring Operation: 91-8=83, Resulting Numbers: [99, 83]
Generated Node #0,3,2: 81:[99, 83] Operation: 91-8=83
Exploring Operation: 99-8=91, Resulting Numbers: [91, 91]
Generated Node #0,3,3: 81:[91, 91] Operation: 99-8=91
Moving to Node #0,3,0
Current State: 81:[8, 8], Operations: ['28+63=91', '99-91=8']
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,81 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[91, 91], Operations: ['28+63=91', '99-8=91']
Exploring Operation: 91/91=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 91-91=0, Resulting Numbers: [0]
0,81 unequal: No Solution
Exploring Operation: 91*91=8281, Resulting Numbers: [8281]
8281,81 unequal: No Solution
Exploring Operation: 91+91=182, Resulting Numbers: [182]
182,81 unequal: No Solution
Moving to Node #0,3,2
Current State: 81:[99, 83], Operations: ['28+63=91', '91-8=83']
Exploring Operation: 99+83=182, Resulting Numbers: [182]
182,81 unequal: No Solution
Exploring Operation: 99-83=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 99*83=8217, Resulting Numbers: [8217]
8217,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[91, 107], Operations: ['28+63=91', '8+99=107']
Exploring Operation: 107-91=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 91*107=9737, Resulting Numbers: [9737]
9737,81 unequal: No Solution
Exploring Operation: 91+107=198, Resulting Numbers: [198]
198,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
76,
34,
66,
64
] | 21 | [
"76-34=42",
"66-64=2",
"42/2=21"
] | Current State: 21:[76, 34, 66, 64], Operations: []
Exploring Operation: 76-34=42, Resulting Numbers: [66, 64, 42]
Generated Node #2: [66, 64, 42] from Operation: 76-34=42
Current State: 21:[66, 64, 42], Operations: ['76-34=42']
Exploring Operation: 66-64=2, Resulting Numbers: [42, 2]
Generated Node #3: [42, 2] from Operation: 66-64=2
Current State: 21:[42, 2], Operations: ['76-34=42', '66-64=2']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[76, 34, 66, 64], Operations: []
Exploring Operation: 76-34=42, Resulting Numbers: [66, 64, 42]
Generated Node #0,0: 21:[66, 64, 42] Operation: 76-34=42
Exploring Operation: 76-64=12, Resulting Numbers: [34, 66, 12]
Generated Node #0,1: 21:[34, 66, 12] Operation: 76-64=12
Exploring Operation: 76-66=10, Resulting Numbers: [34, 64, 10]
Generated Node #0,2: 21:[34, 64, 10] Operation: 76-66=10
Exploring Operation: 66-34=32, Resulting Numbers: [76, 64, 32]
Generated Node #0,3: 21:[76, 64, 32] Operation: 66-34=32
Exploring Operation: 66-64=2, Resulting Numbers: [76, 34, 2]
Generated Node #0,4: 21:[76, 34, 2] Operation: 66-64=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[34, 64, 10], Operations: ['76-66=10']
Exploring Operation: 64-34=30, Resulting Numbers: [10, 30]
Generated Node #0,2,0: 21:[10, 30] Operation: 64-34=30
Exploring Operation: 34+10=44, Resulting Numbers: [64, 44]
Generated Node #0,2,1: 21:[64, 44] Operation: 34+10=44
Exploring Operation: 64-10=54, Resulting Numbers: [34, 54]
Generated Node #0,2,2: 21:[34, 54] Operation: 64-10=54
Exploring Operation: 34-10=24, Resulting Numbers: [64, 24]
Generated Node #0,2,3: 21:[64, 24] Operation: 34-10=24
Exploring Operation: 64+10=74, Resulting Numbers: [34, 74]
Generated Node #0,2,4: 21:[34, 74] Operation: 64+10=74
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 21:[10, 30], Operations: ['76-66=10', '64-34=30']
Exploring Operation: 10*30=300, Resulting Numbers: [300]
300,21 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,21 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 21:[34, 54], Operations: ['76-66=10', '64-10=54']
Exploring Operation: 34*54=1836, Resulting Numbers: [1836]
1836,21 unequal: No Solution
Exploring Operation: 34+54=88, Resulting Numbers: [88]
88,21 unequal: No Solution
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 21:[64, 24], Operations: ['76-66=10', '34-10=24']
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 64+24=88, Resulting Numbers: [88]
88,21 unequal: No Solution
Exploring Operation: 64*24=1536, Resulting Numbers: [1536]
1536,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 21:[64, 44], Operations: ['76-66=10', '34+10=44']
Exploring Operation: 64*44=2816, Resulting Numbers: [2816]
2816,21 unequal: No Solution
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,21 unequal: No Solution
Exploring Operation: 64+44=108, Resulting Numbers: [108]
108,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 21:[34, 74], Operations: ['76-66=10', '64+10=74']
Exploring Operation: 74-34=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 34*74=2516, Resulting Numbers: [2516]
2516,21 unequal: No Solution
Exploring Operation: 34+74=108, Resulting Numbers: [108]
108,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[34, 66, 12], Operations: ['76-64=12']
Exploring Operation: 66+12=78, Resulting Numbers: [34, 78]
Generated Node #0,1,0: 21:[34, 78] Operation: 66+12=78
Exploring Operation: 66-34=32, Resulting Numbers: [12, 32]
Generated Node #0,1,1: 21:[12, 32] Operation: 66-34=32
Exploring Operation: 66-12=54, Resulting Numbers: [34, 54]
Generated Node #0,1,2: 21:[34, 54] Operation: 66-12=54
Exploring Operation: 34-12=22, Resulting Numbers: [66, 22]
Generated Node #0,1,3: 21:[66, 22] Operation: 34-12=22
Exploring Operation: 34+12=46, Resulting Numbers: [66, 46]
Generated Node #0,1,4: 21:[66, 46] Operation: 34+12=46
Moving to Node #0,1,1
Current State: 21:[12, 32], Operations: ['76-64=12', '66-34=32']
Exploring Operation: 12*32=384, Resulting Numbers: [384]
384,21 unequal: No Solution
Exploring Operation: 12+32=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,21 unequal: No Solution
Moving to Node #0,1,3
Current State: 21:[66, 22], Operations: ['76-64=12', '34-12=22']
Exploring Operation: 66+22=88, Resulting Numbers: [88]
88,21 unequal: No Solution
Exploring Operation: 66*22=1452, Resulting Numbers: [1452]
1452,21 unequal: No Solution
Exploring Operation: 66-22=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 66/22=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[34, 54], Operations: ['76-64=12', '66-12=54']
Exploring Operation: 34+54=88, Resulting Numbers: [88]
88,21 unequal: No Solution
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,21 unequal: No Solution
Exploring Operation: 34*54=1836, Resulting Numbers: [1836]
1836,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[34, 78], Operations: ['76-64=12', '66+12=78']
Exploring Operation: 34*78=2652, Resulting Numbers: [2652]
2652,21 unequal: No Solution
Exploring Operation: 34+78=112, Resulting Numbers: [112]
112,21 unequal: No Solution
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Moving to Node #0,1,4
Current State: 21:[66, 46], Operations: ['76-64=12', '34+12=46']
Exploring Operation: 66-46=20, Resulting Numbers: [20]
20,21 unequal: No Solution
Exploring Operation: 66+46=112, Resulting Numbers: [112]
112,21 unequal: No Solution
Exploring Operation: 66*46=3036, Resulting Numbers: [3036]
3036,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,4
Current State: 21:[76, 34, 2], Operations: ['66-64=2']
Exploring Operation: 76-2=74, Resulting Numbers: [34, 74]
Generated Node #0,4,0: 21:[34, 74] Operation: 76-2=74
Exploring Operation: 76-34=42, Resulting Numbers: [2, 42]
Generated Node #0,4,1: 21:[2, 42] Operation: 76-34=42
Exploring Operation: 34-2=32, Resulting Numbers: [76, 32]
Generated Node #0,4,2: 21:[76, 32] Operation: 34-2=32
Exploring Operation: 76/2=38, Resulting Numbers: [34, 38]
Generated Node #0,4,3: 21:[34, 38] Operation: 76/2=38
Exploring Operation: 34/2=17, Resulting Numbers: [76, 17]
Generated Node #0,4,4: 21:[76, 17] Operation: 34/2=17
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 21:[2, 42], Operations: ['66-64=2', '76-34=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,21 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[76, 34, 66, 64], Operations: []
Exploring Operation: 66-64=2, Resulting Numbers: [76, 34, 2]
Generated Node #0,4: 21:[76, 34, 2] Operation: 66-64=2
Moving to Node #0,4
Current State: 21:[76, 34, 2], Operations: ['66-64=2']
Exploring Operation: 76-34=42, Resulting Numbers: [2, 42]
Generated Node #0,4,1: 21:[2, 42] Operation: 76-34=42
Moving to Node #0,4,1
Current State: 21:[2, 42], Operations: ['66-64=2', '76-34=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.947917 | hs_5 | mult_heuristic |
[
75,
98,
73,
32
] | 68 | [
"75+98=173",
"73+32=105",
"173-105=68"
] | Current State: 68:[75, 98, 73, 32], Operations: []
Exploring Operation: 75+98=173, Resulting Numbers: [73, 32, 173]
Generated Node #2: [73, 32, 173] from Operation: 75+98=173
Current State: 68:[73, 32, 173], Operations: ['75+98=173']
Exploring Operation: 73+32=105, Resulting Numbers: [173, 105]
Generated Node #3: [173, 105] from Operation: 73+32=105
Current State: 68:[173, 105], Operations: ['75+98=173', '73+32=105']
Exploring Operation: 173-105=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[75, 98, 73, 32], Operations: []
Exploring Operation: 98-75=23, Resulting Numbers: [73, 32, 23]
Generated Node #0,0: 68:[73, 32, 23] Operation: 98-75=23
Exploring Operation: 98-73=25, Resulting Numbers: [75, 32, 25]
Generated Node #0,1: 68:[75, 32, 25] Operation: 98-73=25
Exploring Operation: 75-73=2, Resulting Numbers: [98, 32, 2]
Generated Node #0,2: 68:[98, 32, 2] Operation: 75-73=2
Exploring Operation: 98-32=66, Resulting Numbers: [75, 73, 66]
Generated Node #0,3: 68:[75, 73, 66] Operation: 98-32=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[73, 32, 23], Operations: ['98-75=23']
Exploring Operation: 73-32=41, Resulting Numbers: [23, 41]
Generated Node #0,0,0: 68:[23, 41] Operation: 73-32=41
Exploring Operation: 32+23=55, Resulting Numbers: [73, 55]
Generated Node #0,0,1: 68:[73, 55] Operation: 32+23=55
Exploring Operation: 73-23=50, Resulting Numbers: [32, 50]
Generated Node #0,0,2: 68:[32, 50] Operation: 73-23=50
Exploring Operation: 32-23=9, Resulting Numbers: [73, 9]
Generated Node #0,0,3: 68:[73, 9] Operation: 32-23=9
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 68:[73, 9], Operations: ['98-75=23', '32-23=9']
Exploring Operation: 73*9=657, Resulting Numbers: [657]
657,68 unequal: No Solution
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Exploring Operation: 73+9=82, Resulting Numbers: [82]
82,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[23, 41], Operations: ['98-75=23', '73-32=41']
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 23*41=943, Resulting Numbers: [943]
943,68 unequal: No Solution
Exploring Operation: 23+41=64, Resulting Numbers: [64]
64,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 68:[73, 55], Operations: ['98-75=23', '32+23=55']
Exploring Operation: 73*55=4015, Resulting Numbers: [4015]
4015,68 unequal: No Solution
Exploring Operation: 73+55=128, Resulting Numbers: [128]
128,68 unequal: No Solution
Exploring Operation: 73-55=18, Resulting Numbers: [18]
18,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 68:[32, 50], Operations: ['98-75=23', '73-23=50']
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 32+50=82, Resulting Numbers: [82]
82,68 unequal: No Solution
Exploring Operation: 32*50=1600, Resulting Numbers: [1600]
1600,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 68:[75, 73, 66], Operations: ['98-32=66']
Exploring Operation: 75-73=2, Resulting Numbers: [66, 2]
Generated Node #0,3,0: 68:[66, 2] Operation: 75-73=2
Exploring Operation: 75-66=9, Resulting Numbers: [73, 9]
Generated Node #0,3,1: 68:[73, 9] Operation: 75-66=9
Exploring Operation: 75+66=141, Resulting Numbers: [73, 141]
Generated Node #0,3,2: 68:[73, 141] Operation: 75+66=141
Exploring Operation: 73-66=7, Resulting Numbers: [75, 7]
Generated Node #0,3,3: 68:[75, 7] Operation: 73-66=7
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 68:[66, 2], Operations: ['98-32=66', '75-73=2']
Exploring Operation: 66*2=132, Resulting Numbers: [132]
132,68 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[75, 98, 73, 32], Operations: []
Exploring Operation: 98-32=66, Resulting Numbers: [75, 73, 66]
Generated Node #0,3: 68:[75, 73, 66] Operation: 98-32=66
Moving to Node #0,3
Current State: 68:[75, 73, 66], Operations: ['98-32=66']
Exploring Operation: 75-73=2, Resulting Numbers: [66, 2]
Generated Node #0,3,0: 68:[66, 2] Operation: 75-73=2
Moving to Node #0,3,0
Current State: 68:[66, 2], Operations: ['98-32=66', '75-73=2']
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
15,
50,
20,
3
] | 30 | [
"20-15=5",
"50*3=150",
"150/5=30"
] | Current State: 30:[15, 50, 20, 3], Operations: []
Exploring Operation: 20-15=5, Resulting Numbers: [50, 3, 5]
Generated Node #2: [50, 3, 5] from Operation: 20-15=5
Current State: 30:[50, 3, 5], Operations: ['20-15=5']
Exploring Operation: 50*3=150, Resulting Numbers: [5, 150]
Generated Node #3: [5, 150] from Operation: 50*3=150
Current State: 30:[5, 150], Operations: ['20-15=5', '50*3=150']
Exploring Operation: 150/5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[15, 50, 20, 3], Operations: []
Exploring Operation: 50-20=30, Resulting Numbers: [15, 3, 30]
Generated Node #0,0: 30:[15, 3, 30] Operation: 50-20=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[15, 3, 30], Operations: ['50-20=30']
Exploring Operation: 15/3=5, Resulting Numbers: [30, 5]
Generated Node #0,0,0: 30:[30, 5] Operation: 15/3=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[30, 5], Operations: ['50-20=30', '15/3=5']
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
65,
91,
61,
26
] | 61 | [
"91-65=26",
"61+26=87",
"87-26=61"
] | Current State: 61:[65, 91, 61, 26], Operations: []
Exploring Operation: 91-65=26, Resulting Numbers: [61, 26, 26]
Generated Node #2: [61, 26, 26] from Operation: 91-65=26
Current State: 61:[61, 26, 26], Operations: ['91-65=26']
Exploring Operation: 61+26=87, Resulting Numbers: [87]
87,61 equal: Goal Reached
Exploring Operation: 87-26=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[65, 91, 61, 26], Operations: []
Exploring Operation: 65-26=39, Resulting Numbers: [91, 61, 39]
Generated Node #0,0: 61:[91, 61, 39] Operation: 65-26=39
Exploring Operation: 91-26=65, Resulting Numbers: [65, 61, 65]
Generated Node #0,1: 61:[65, 61, 65] Operation: 91-26=65
Exploring Operation: 65+26=91, Resulting Numbers: [91, 61, 91]
Generated Node #0,2: 61:[91, 61, 91] Operation: 65+26=91
Exploring Operation: 91+26=117, Resulting Numbers: [65, 61, 117]
Generated Node #0,3: 61:[65, 61, 117] Operation: 91+26=117
Moving to Node #0,1
Current State: 61:[65, 61, 65], Operations: ['91-26=65']
Exploring Operation: 65/65=1, Resulting Numbers: [61, 1]
Generated Node #0,1,0: 61:[61, 1] Operation: 65/65=1
Exploring Operation: 65-61=4, Resulting Numbers: [65, 4]
Generated Node #0,1,1: 61:[65, 4] Operation: 65-61=4
Exploring Operation: 65-61=4, Resulting Numbers: [65, 4]
Generated Node #0,1,2: 61:[65, 4] Operation: 65-61=4
Exploring Operation: 65-65=0, Resulting Numbers: [61, 0]
Generated Node #0,1,3: 61:[61, 0] Operation: 65-65=0
Moving to Node #0,0
Current State: 61:[91, 61, 39], Operations: ['65-26=39']
Exploring Operation: 91-39=52, Resulting Numbers: [61, 52]
Generated Node #0,0,0: 61:[61, 52] Operation: 91-39=52
Exploring Operation: 61+39=100, Resulting Numbers: [91, 100]
Generated Node #0,0,1: 61:[91, 100] Operation: 61+39=100
Exploring Operation: 91+39=130, Resulting Numbers: [61, 130]
Generated Node #0,0,2: 61:[61, 130] Operation: 91+39=130
Exploring Operation: 91-61=30, Resulting Numbers: [39, 30]
Generated Node #0,0,3: 61:[39, 30] Operation: 91-61=30
Moving to Node #0,3
Current State: 61:[65, 61, 117], Operations: ['91+26=117']
Exploring Operation: 117-65=52, Resulting Numbers: [61, 52]
Generated Node #0,3,0: 61:[61, 52] Operation: 117-65=52
Exploring Operation: 65+61=126, Resulting Numbers: [117, 126]
Generated Node #0,3,1: 61:[117, 126] Operation: 65+61=126
Exploring Operation: 117-61=56, Resulting Numbers: [65, 56]
Generated Node #0,3,2: 61:[65, 56] Operation: 117-61=56
Exploring Operation: 65-61=4, Resulting Numbers: [117, 4]
Generated Node #0,3,3: 61:[117, 4] Operation: 65-61=4
Moving to Node #0,2
Current State: 61:[91, 61, 91], Operations: ['65+26=91']
Exploring Operation: 91/91=1, Resulting Numbers: [61, 1]
Generated Node #0,2,0: 61:[61, 1] Operation: 91/91=1
Exploring Operation: 91-61=30, Resulting Numbers: [91, 30]
Generated Node #0,2,1: 61:[91, 30] Operation: 91-61=30
Exploring Operation: 91-61=30, Resulting Numbers: [91, 30]
Generated Node #0,2,2: 61:[91, 30] Operation: 91-61=30
Exploring Operation: 91-91=0, Resulting Numbers: [61, 0]
Generated Node #0,2,3: 61:[61, 0] Operation: 91-91=0
Moving to Node #0,0,0
Current State: 61:[61, 52], Operations: ['65-26=39', '91-39=52']
Exploring Operation: 61+52=113, Resulting Numbers: [113]
113,61 unequal: No Solution
Exploring Operation: 61*52=3172, Resulting Numbers: [3172]
3172,61 unequal: No Solution
Exploring Operation: 61-52=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[61, 52], Operations: ['91+26=117', '117-65=52']
Exploring Operation: 61+52=113, Resulting Numbers: [113]
113,61 unequal: No Solution
Exploring Operation: 61-52=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 61*52=3172, Resulting Numbers: [3172]
3172,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[65, 56], Operations: ['91+26=117', '117-61=56']
Exploring Operation: 65+56=121, Resulting Numbers: [121]
121,61 unequal: No Solution
Exploring Operation: 65*56=3640, Resulting Numbers: [3640]
3640,61 unequal: No Solution
Exploring Operation: 65-56=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[39, 30], Operations: ['65-26=39', '91-61=30']
Exploring Operation: 39*30=1170, Resulting Numbers: [1170]
1170,61 unequal: No Solution
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[61, 1], Operations: ['65+26=91', '91/91=1']
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,61 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[65, 91, 61, 26], Operations: []
Exploring Operation: 65+26=91, Resulting Numbers: [91, 61, 91]
Generated Node #0,2: 61:[91, 61, 91] Operation: 65+26=91
Moving to Node #0,2
Current State: 61:[91, 61, 91], Operations: ['65+26=91']
Exploring Operation: 91/91=1, Resulting Numbers: [61, 1]
Generated Node #0,2,0: 61:[61, 1] Operation: 91/91=1
Moving to Node #0,2,0
Current State: 61:[61, 1], Operations: ['65+26=91', '91/91=1']
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 0.966146 | hs_4 | sum_heuristic |
[
21,
36,
65,
18
] | 10 | [
"21+36=57",
"65-18=47",
"57-47=10"
] | Current State: 10:[21, 36, 65, 18], Operations: []
Exploring Operation: 21+36=57, Resulting Numbers: [65, 18, 57]
Generated Node #2: [65, 18, 57] from Operation: 21+36=57
Current State: 10:[65, 18, 57], Operations: ['21+36=57']
Exploring Operation: 65-18=47, Resulting Numbers: [57, 47]
Generated Node #3: [57, 47] from Operation: 65-18=47
Current State: 10:[57, 47], Operations: ['21+36=57', '65-18=47']
Exploring Operation: 57-47=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[21, 36, 65, 18], Operations: []
Exploring Operation: 65-36=29, Resulting Numbers: [21, 18, 29]
Generated Node #0,0: 10:[21, 18, 29] Operation: 65-36=29
Exploring Operation: 36-21=15, Resulting Numbers: [65, 18, 15]
Generated Node #0,1: 10:[65, 18, 15] Operation: 36-21=15
Exploring Operation: 36/18=2, Resulting Numbers: [21, 65, 2]
Generated Node #0,2: 10:[21, 65, 2] Operation: 36/18=2
Moving to Node #0,0
Current State: 10:[21, 18, 29], Operations: ['65-36=29']
Exploring Operation: 29-21=8, Resulting Numbers: [18, 8]
Generated Node #0,0,0: 10:[18, 8] Operation: 29-21=8
Exploring Operation: 29-18=11, Resulting Numbers: [21, 11]
Generated Node #0,0,1: 10:[21, 11] Operation: 29-18=11
Exploring Operation: 21-18=3, Resulting Numbers: [29, 3]
Generated Node #0,0,2: 10:[29, 3] Operation: 21-18=3
Moving to Node #0,2
Current State: 10:[21, 65, 2], Operations: ['36/18=2']
Exploring Operation: 65-2=63, Resulting Numbers: [21, 63]
Generated Node #0,2,0: 10:[21, 63] Operation: 65-2=63
Exploring Operation: 65-21=44, Resulting Numbers: [2, 44]
Generated Node #0,2,1: 10:[2, 44] Operation: 65-21=44
Exploring Operation: 21-2=19, Resulting Numbers: [65, 19]
Generated Node #0,2,2: 10:[65, 19] Operation: 21-2=19
Moving to Node #0,1
Current State: 10:[65, 18, 15], Operations: ['36-21=15']
Exploring Operation: 18-15=3, Resulting Numbers: [65, 3]
Generated Node #0,1,0: 10:[65, 3] Operation: 18-15=3
Exploring Operation: 65-18=47, Resulting Numbers: [15, 47]
Generated Node #0,1,1: 10:[15, 47] Operation: 65-18=47
Exploring Operation: 65-15=50, Resulting Numbers: [18, 50]
Generated Node #0,1,2: 10:[18, 50] Operation: 65-15=50
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[15, 47], Operations: ['36-21=15', '65-18=47']
Exploring Operation: 15*47=705, Resulting Numbers: [705]
705,10 unequal: No Solution
Exploring Operation: 15+47=62, Resulting Numbers: [62]
62,10 unequal: No Solution
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 10:[18, 50], Operations: ['36-21=15', '65-15=50']
Exploring Operation: 18*50=900, Resulting Numbers: [900]
900,10 unequal: No Solution
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,10 unequal: No Solution
Exploring Operation: 18+50=68, Resulting Numbers: [68]
68,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[65, 3], Operations: ['36-21=15', '18-15=3']
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,10 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,10 unequal: No Solution
Exploring Operation: 65*3=195, Resulting Numbers: [195]
195,10 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: 10:[18, 8], Operations: ['65-36=29', '29-21=8']
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,10 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[21, 36, 65, 18], Operations: []
Exploring Operation: 65-36=29, Resulting Numbers: [21, 18, 29]
Generated Node #0,0: 10:[21, 18, 29] Operation: 65-36=29
Moving to Node #0,0
Current State: 10:[21, 18, 29], Operations: ['65-36=29']
Exploring Operation: 29-21=8, Resulting Numbers: [18, 8]
Generated Node #0,0,0: 10:[18, 8] Operation: 29-21=8
Moving to Node #0,0,0
Current State: 10:[18, 8], Operations: ['65-36=29', '29-21=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.975694 | hs_3 | mult_heuristic |
[
27,
74,
69,
61
] | 55 | [
"74-27=47",
"69-61=8",
"47+8=55"
] | Current State: 55:[27, 74, 69, 61], Operations: []
Exploring Operation: 74-27=47, Resulting Numbers: [69, 61, 47]
Generated Node #2: [69, 61, 47] from Operation: 74-27=47
Current State: 55:[69, 61, 47], Operations: ['74-27=47']
Exploring Operation: 69-61=8, Resulting Numbers: [47, 8]
Generated Node #3: [47, 8] from Operation: 69-61=8
Current State: 55:[47, 8], Operations: ['74-27=47', '69-61=8']
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[27, 74, 69, 61], Operations: []
Exploring Operation: 74-27=47, Resulting Numbers: [69, 61, 47]
Generated Node #0,0: 55:[69, 61, 47] Operation: 74-27=47
Exploring Operation: 74-69=5, Resulting Numbers: [27, 61, 5]
Generated Node #0,1: 55:[27, 61, 5] Operation: 74-69=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[27, 61, 5], Operations: ['74-69=5']
Exploring Operation: 27-5=22, Resulting Numbers: [61, 22]
Generated Node #0,1,0: 55:[61, 22] Operation: 27-5=22
Exploring Operation: 61-5=56, Resulting Numbers: [27, 56]
Generated Node #0,1,1: 55:[27, 56] Operation: 61-5=56
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[61, 22], Operations: ['74-69=5', '27-5=22']
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 61+22=83, Resulting Numbers: [83]
83,55 unequal: No Solution
No 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: 55:[27, 56], Operations: ['74-69=5', '61-5=56']
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,55 unequal: No Solution
Exploring Operation: 27+56=83, Resulting Numbers: [83]
83,55 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: 55:[69, 61, 47], Operations: ['74-27=47']
Exploring Operation: 69-47=22, Resulting Numbers: [61, 22]
Generated Node #0,0,0: 55:[61, 22] Operation: 69-47=22
Exploring Operation: 69-61=8, Resulting Numbers: [47, 8]
Generated Node #0,0,1: 55:[47, 8] Operation: 69-61=8
Moving to Node #0,0,1
Current State: 55:[47, 8], Operations: ['74-27=47', '69-61=8']
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[27, 74, 69, 61], Operations: []
Exploring Operation: 74-27=47, Resulting Numbers: [69, 61, 47]
Generated Node #0,0: 55:[69, 61, 47] Operation: 74-27=47
Moving to Node #0,0
Current State: 55:[69, 61, 47], Operations: ['74-27=47']
Exploring Operation: 69-61=8, Resulting Numbers: [47, 8]
Generated Node #0,0,1: 55:[47, 8] Operation: 69-61=8
Moving to Node #0,0,1
Current State: 55:[47, 8], Operations: ['74-27=47', '69-61=8']
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
5,
70,
1,
86
] | 26 | [
"5+1=6",
"70+86=156",
"156/6=26"
] | Current State: 26:[5, 70, 1, 86], Operations: []
Exploring Operation: 5+1=6, Resulting Numbers: [70, 86, 6]
Generated Node #2: [70, 86, 6] from Operation: 5+1=6
Current State: 26:[70, 86, 6], Operations: ['5+1=6']
Exploring Operation: 70+86=156, Resulting Numbers: [6, 156]
Generated Node #3: [6, 156] from Operation: 70+86=156
Current State: 26:[6, 156], Operations: ['5+1=6', '70+86=156']
Exploring Operation: 156/6=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[5, 70, 1, 86], Operations: []
Exploring Operation: 86-70=16, Resulting Numbers: [5, 1, 16]
Generated Node #0,0: 26:[5, 1, 16] Operation: 86-70=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[5, 1, 16], Operations: ['86-70=16']
Exploring Operation: 16-5=11, Resulting Numbers: [1, 11]
Generated Node #0,0,0: 26:[1, 11] Operation: 16-5=11
Moving to Node #0,0,0
Current State: 26:[1, 11], Operations: ['86-70=16', '16-5=11']
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
87,
10,
59,
37
] | 54 | [
"87-37=50",
"50/10=5",
"59-5=54"
] | Current State: 54:[87, 10, 59, 37], Operations: []
Exploring Operation: 87-37=50, Resulting Numbers: [10, 59, 50]
Generated Node #2: [10, 59, 50] from Operation: 87-37=50
Current State: 54:[10, 59, 50], Operations: ['87-37=50']
Exploring Operation: 50/10=5, Resulting Numbers: [59, 5]
Generated Node #3: [59, 5] from Operation: 50/10=5
Current State: 54:[59, 5], Operations: ['87-37=50', '50/10=5']
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[87, 10, 59, 37], Operations: []
Exploring Operation: 87-37=50, Resulting Numbers: [10, 59, 50]
Generated Node #0,0: 54:[10, 59, 50] Operation: 87-37=50
Exploring Operation: 87-10=77, Resulting Numbers: [59, 37, 77]
Generated Node #0,1: 54:[59, 37, 77] Operation: 87-10=77
Exploring Operation: 37-10=27, Resulting Numbers: [87, 59, 27]
Generated Node #0,2: 54:[87, 59, 27] Operation: 37-10=27
Exploring Operation: 87-59=28, Resulting Numbers: [10, 37, 28]
Generated Node #0,3: 54:[10, 37, 28] Operation: 87-59=28
Exploring Operation: 59-37=22, Resulting Numbers: [87, 10, 22]
Generated Node #0,4: 54:[87, 10, 22] Operation: 59-37=22
Moving to Node #0,0
Current State: 54:[10, 59, 50], Operations: ['87-37=50']
Exploring Operation: 59-50=9, Resulting Numbers: [10, 9]
Generated Node #0,0,0: 54:[10, 9] Operation: 59-50=9
Exploring Operation: 50-10=40, Resulting Numbers: [59, 40]
Generated Node #0,0,1: 54:[59, 40] Operation: 50-10=40
Exploring Operation: 10+50=60, Resulting Numbers: [59, 60]
Generated Node #0,0,2: 54:[59, 60] Operation: 10+50=60
Exploring Operation: 59-10=49, Resulting Numbers: [50, 49]
Generated Node #0,0,3: 54:[50, 49] Operation: 59-10=49
Exploring Operation: 50/10=5, Resulting Numbers: [59, 5]
Generated Node #0,0,4: 54:[59, 5] Operation: 50/10=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[10, 9], Operations: ['87-37=50', '59-50=9']
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,54 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 54:[59, 5], Operations: ['87-37=50', '50/10=5']
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[87, 10, 59, 37], Operations: []
Exploring Operation: 87-37=50, Resulting Numbers: [10, 59, 50]
Generated Node #0,0: 54:[10, 59, 50] Operation: 87-37=50
Moving to Node #0,0
Current State: 54:[10, 59, 50], Operations: ['87-37=50']
Exploring Operation: 50/10=5, Resulting Numbers: [59, 5]
Generated Node #0,0,4: 54:[59, 5] Operation: 50/10=5
Moving to Node #0,0,4
Current State: 54:[59, 5], Operations: ['87-37=50', '50/10=5']
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
61,
16,
20,
15
] | 17 | [
"61-16=45",
"45/15=3",
"20-3=17"
] | Current State: 17:[61, 16, 20, 15], Operations: []
Exploring Operation: 61-16=45, Resulting Numbers: [20, 15, 45]
Generated Node #2: [20, 15, 45] from Operation: 61-16=45
Current State: 17:[20, 15, 45], Operations: ['61-16=45']
Exploring Operation: 45/15=3, Resulting Numbers: [20, 3]
Generated Node #3: [20, 3] from Operation: 45/15=3
Current State: 17:[20, 3], Operations: ['61-16=45', '45/15=3']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[61, 16, 20, 15], Operations: []
Exploring Operation: 61-16=45, Resulting Numbers: [20, 15, 45]
Generated Node #0,0: 17:[20, 15, 45] Operation: 61-16=45
Exploring Operation: 61-20=41, Resulting Numbers: [16, 15, 41]
Generated Node #0,1: 17:[16, 15, 41] Operation: 61-20=41
Moving to Node #0,1
Current State: 17:[16, 15, 41], Operations: ['61-20=41']
Exploring Operation: 41-15=26, Resulting Numbers: [16, 26]
Generated Node #0,1,0: 17:[16, 26] Operation: 41-15=26
Exploring Operation: 41-16=25, Resulting Numbers: [15, 25]
Generated Node #0,1,1: 17:[15, 25] Operation: 41-16=25
Moving to Node #0,0
Current State: 17:[20, 15, 45], Operations: ['61-16=45']
Exploring Operation: 45-20=25, Resulting Numbers: [15, 25]
Generated Node #0,0,0: 17:[15, 25] Operation: 45-20=25
Exploring Operation: 45-15=30, Resulting Numbers: [20, 30]
Generated Node #0,0,1: 17:[20, 30] Operation: 45-15=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[15, 25], Operations: ['61-16=45', '45-20=25']
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,17 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[20, 30], Operations: ['61-16=45', '45-15=30']
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,17 unequal: No Solution
Exploring Operation: 20+30=50, Resulting Numbers: [50]
50,17 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: 17:[16, 26], Operations: ['61-20=41', '41-15=26']
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[15, 25], Operations: ['61-20=41', '41-16=25']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,17 unequal: No Solution
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,17 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
28,
99,
64,
18
] | 25 | [
"99-28=71",
"64-18=46",
"71-46=25"
] | Current State: 25:[28, 99, 64, 18], Operations: []
Exploring Operation: 99-28=71, Resulting Numbers: [64, 18, 71]
Generated Node #2: [64, 18, 71] from Operation: 99-28=71
Current State: 25:[64, 18, 71], Operations: ['99-28=71']
Exploring Operation: 64-18=46, Resulting Numbers: [71, 46]
Generated Node #3: [71, 46] from Operation: 64-18=46
Current State: 25:[71, 46], Operations: ['99-28=71', '64-18=46']
Exploring Operation: 71-46=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[28, 99, 64, 18], Operations: []
Exploring Operation: 99-28=71, Resulting Numbers: [64, 18, 71]
Generated Node #0,0: 25:[64, 18, 71] Operation: 99-28=71
Exploring Operation: 64-28=36, Resulting Numbers: [99, 18, 36]
Generated Node #0,1: 25:[99, 18, 36] Operation: 64-28=36
Exploring Operation: 64-18=46, Resulting Numbers: [28, 99, 46]
Generated Node #0,2: 25:[28, 99, 46] Operation: 64-18=46
Exploring Operation: 99-18=81, Resulting Numbers: [28, 64, 81]
Generated Node #0,3: 25:[28, 64, 81] Operation: 99-18=81
Exploring Operation: 99-64=35, Resulting Numbers: [28, 18, 35]
Generated Node #0,4: 25:[28, 18, 35] Operation: 99-64=35
Start Sub Search at level 1: Moving to Node #0,4
Current State: 25:[28, 18, 35], Operations: ['99-64=35']
Exploring Operation: 28+18=46, Resulting Numbers: [35, 46]
Generated Node #0,4,0: 25:[35, 46] Operation: 28+18=46
Exploring Operation: 18+35=53, Resulting Numbers: [28, 53]
Generated Node #0,4,1: 25:[28, 53] Operation: 18+35=53
Exploring Operation: 35-18=17, Resulting Numbers: [28, 17]
Generated Node #0,4,2: 25:[28, 17] Operation: 35-18=17
Exploring Operation: 28-18=10, Resulting Numbers: [35, 10]
Generated Node #0,4,3: 25:[35, 10] Operation: 28-18=10
Exploring Operation: 35-28=7, Resulting Numbers: [18, 7]
Generated Node #0,4,4: 25:[18, 7] Operation: 35-28=7
Moving to Node #0,4,4
Current State: 25:[18, 7], Operations: ['99-64=35', '35-28=7']
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[28, 99, 64, 18], Operations: []
Exploring Operation: 99-64=35, Resulting Numbers: [28, 18, 35]
Generated Node #0,4: 25:[28, 18, 35] Operation: 99-64=35
Moving to Node #0,4
Current State: 25:[28, 18, 35], Operations: ['99-64=35']
Exploring Operation: 35-28=7, Resulting Numbers: [18, 7]
Generated Node #0,4,4: 25:[18, 7] Operation: 35-28=7
Moving to Node #0,4,4
Current State: 25:[18, 7], Operations: ['99-64=35', '35-28=7']
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
37,
24,
54,
4
] | 46 | [
"24/4=6",
"54/6=9",
"37+9=46"
] | Current State: 46:[37, 24, 54, 4], Operations: []
Exploring Operation: 24/4=6, Resulting Numbers: [37, 54, 6]
Generated Node #2: [37, 54, 6] from Operation: 24/4=6
Current State: 46:[37, 54, 6], Operations: ['24/4=6']
Exploring Operation: 54/6=9, Resulting Numbers: [37, 9]
Generated Node #3: [37, 9] from Operation: 54/6=9
Current State: 46:[37, 9], Operations: ['24/4=6', '54/6=9']
Exploring Operation: 37+9=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[37, 24, 54, 4], Operations: []
Exploring Operation: 54-37=17, Resulting Numbers: [24, 4, 17]
Generated Node #0,0: 46:[24, 4, 17] Operation: 54-37=17
Exploring Operation: 54-24=30, Resulting Numbers: [37, 4, 30]
Generated Node #0,1: 46:[37, 4, 30] Operation: 54-24=30
Exploring Operation: 54-4=50, Resulting Numbers: [37, 24, 50]
Generated Node #0,2: 46:[37, 24, 50] Operation: 54-4=50
Exploring Operation: 37+4=41, Resulting Numbers: [24, 54, 41]
Generated Node #0,3: 46:[24, 54, 41] Operation: 37+4=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[24, 4, 17], Operations: ['54-37=17']
Exploring Operation: 24-17=7, Resulting Numbers: [4, 7]
Generated Node #0,0,0: 46:[4, 7] Operation: 24-17=7
Exploring Operation: 24-4=20, Resulting Numbers: [17, 20]
Generated Node #0,0,1: 46:[17, 20] Operation: 24-4=20
Exploring Operation: 4+17=21, Resulting Numbers: [24, 21]
Generated Node #0,0,2: 46:[24, 21] Operation: 4+17=21
Exploring Operation: 24+17=41, Resulting Numbers: [4, 41]
Generated Node #0,0,3: 46:[4, 41] Operation: 24+17=41
Moving to Node #0,0,2
Current State: 46:[24, 21], Operations: ['54-37=17', '4+17=21']
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 24+21=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 24*21=504, Resulting Numbers: [504]
504,46 unequal: No Solution
Moving to Node #0,0,3
Current State: 46:[4, 41], Operations: ['54-37=17', '24+17=41']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 4*41=164, Resulting Numbers: [164]
164,46 unequal: No Solution
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[4, 7], Operations: ['54-37=17', '24-17=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[17, 20], Operations: ['54-37=17', '24-4=20']
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 17*20=340, Resulting Numbers: [340]
340,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[37, 24, 50], Operations: ['54-4=50']
Exploring Operation: 37+24=61, Resulting Numbers: [50, 61]
Generated Node #0,2,0: 46:[50, 61] Operation: 37+24=61
Exploring Operation: 37-24=13, Resulting Numbers: [50, 13]
Generated Node #0,2,1: 46:[50, 13] Operation: 37-24=13
Exploring Operation: 50-24=26, Resulting Numbers: [37, 26]
Generated Node #0,2,2: 46:[37, 26] Operation: 50-24=26
Exploring Operation: 50-37=13, Resulting Numbers: [24, 13]
Generated Node #0,2,3: 46:[24, 13] Operation: 50-37=13
Moving to Node #0,2,3
Current State: 46:[24, 13], Operations: ['54-4=50', '50-37=13']
Exploring Operation: 24*13=312, Resulting Numbers: [312]
312,46 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[37, 26], Operations: ['54-4=50', '50-24=26']
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 37+26=63, Resulting Numbers: [63]
63,46 unequal: No Solution
Exploring Operation: 37*26=962, Resulting Numbers: [962]
962,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[50, 13], Operations: ['54-4=50', '37-24=13']
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 50*13=650, Resulting Numbers: [650]
650,46 unequal: No Solution
Exploring Operation: 50+13=63, Resulting Numbers: [63]
63,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[50, 61], Operations: ['54-4=50', '37+24=61']
Exploring Operation: 50+61=111, Resulting Numbers: [111]
111,46 unequal: No Solution
Exploring Operation: 50*61=3050, Resulting Numbers: [3050]
3050,46 unequal: No Solution
Exploring Operation: 61-50=11, Resulting Numbers: [11]
11,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 46:[24, 54, 41], Operations: ['37+4=41']
Exploring Operation: 54-41=13, Resulting Numbers: [24, 13]
Generated Node #0,3,0: 46:[24, 13] Operation: 54-41=13
Exploring Operation: 54-24=30, Resulting Numbers: [41, 30]
Generated Node #0,3,1: 46:[41, 30] Operation: 54-24=30
Exploring Operation: 24+41=65, Resulting Numbers: [54, 65]
Generated Node #0,3,2: 46:[54, 65] Operation: 24+41=65
Exploring Operation: 41-24=17, Resulting Numbers: [54, 17]
Generated Node #0,3,3: 46:[54, 17] Operation: 41-24=17
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 46:[24, 13], Operations: ['37+4=41', '54-41=13']
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 24*13=312, Resulting Numbers: [312]
312,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 46:[41, 30], Operations: ['37+4=41', '54-24=30']
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 41*30=1230, Resulting Numbers: [1230]
1230,46 unequal: No Solution
Exploring Operation: 41+30=71, Resulting Numbers: [71]
71,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 46:[54, 17], Operations: ['37+4=41', '41-24=17']
Exploring Operation: 54*17=918, Resulting Numbers: [918]
918,46 unequal: No Solution
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,46 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 46:[54, 65], Operations: ['37+4=41', '24+41=65']
Exploring Operation: 54*65=3510, Resulting Numbers: [3510]
3510,46 unequal: No Solution
Exploring Operation: 54+65=119, Resulting Numbers: [119]
119,46 unequal: No Solution
Exploring Operation: 65-54=11, Resulting Numbers: [11]
11,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[37, 4, 30], Operations: ['54-24=30']
Exploring Operation: 30-4=26, Resulting Numbers: [37, 26]
Generated Node #0,1,0: 46:[37, 26] Operation: 30-4=26
Exploring Operation: 37-30=7, Resulting Numbers: [4, 7]
Generated Node #0,1,1: 46:[4, 7] Operation: 37-30=7
Exploring Operation: 37-4=33, Resulting Numbers: [30, 33]
Generated Node #0,1,2: 46:[30, 33] Operation: 37-4=33
Exploring Operation: 37+4=41, Resulting Numbers: [30, 41]
Generated Node #0,1,3: 46:[30, 41] Operation: 37+4=41
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 46:[4, 7], Operations: ['54-24=30', '37-30=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 46:[37, 26], Operations: ['54-24=30', '30-4=26']
Exploring Operation: 37*26=962, Resulting Numbers: [962]
962,46 unequal: No Solution
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 37+26=63, Resulting Numbers: [63]
63,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 46:[30, 41], Operations: ['54-24=30', '37+4=41']
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 30+41=71, Resulting Numbers: [71]
71,46 unequal: No Solution
Exploring Operation: 30*41=1230, Resulting Numbers: [1230]
1230,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 46:[30, 33], Operations: ['54-24=30', '37-4=33']
Exploring Operation: 30*33=990, Resulting Numbers: [990]
990,46 unequal: No Solution
Exploring Operation: 30+33=63, Resulting Numbers: [63]
63,46 unequal: No Solution
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
34,
23,
68,
48
] | 47 | [
"68/34=2",
"48/2=24",
"23+24=47"
] | Current State: 47:[34, 23, 68, 48], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [23, 48, 2]
Generated Node #2: [23, 48, 2] from Operation: 68/34=2
Current State: 47:[23, 48, 2], Operations: ['68/34=2']
Exploring Operation: 48/2=24, Resulting Numbers: [23, 24]
Generated Node #3: [23, 24] from Operation: 48/2=24
Current State: 47:[23, 24], Operations: ['68/34=2', '48/2=24']
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[34, 23, 68, 48], Operations: []
Exploring Operation: 68-34=34, Resulting Numbers: [23, 48, 34]
Generated Node #0,0: 47:[23, 48, 34] Operation: 68-34=34
Exploring Operation: 68-23=45, Resulting Numbers: [34, 48, 45]
Generated Node #0,1: 47:[34, 48, 45] Operation: 68-23=45
Exploring Operation: 34+23=57, Resulting Numbers: [68, 48, 57]
Generated Node #0,2: 47:[68, 48, 57] Operation: 34+23=57
Moving to Node #0,1
Current State: 47:[34, 48, 45], Operations: ['68-23=45']
Exploring Operation: 34+45=79, Resulting Numbers: [48, 79]
Generated Node #0,1,0: 47:[48, 79] Operation: 34+45=79
Exploring Operation: 34+48=82, Resulting Numbers: [45, 82]
Generated Node #0,1,1: 47:[45, 82] Operation: 34+48=82
Exploring Operation: 48-34=14, Resulting Numbers: [45, 14]
Generated Node #0,1,2: 47:[45, 14] Operation: 48-34=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[48, 79], Operations: ['68-23=45', '34+45=79']
Exploring Operation: 79-48=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Exploring Operation: 48+79=127, Resulting Numbers: [127]
127,47 unequal: No Solution
Exploring Operation: 48*79=3792, Resulting Numbers: [3792]
3792,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 47:[45, 14], Operations: ['68-23=45', '48-34=14']
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,47 unequal: No Solution
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[45, 82], Operations: ['68-23=45', '34+48=82']
Exploring Operation: 45*82=3690, Resulting Numbers: [3690]
3690,47 unequal: No Solution
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 45+82=127, Resulting Numbers: [127]
127,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 47:[68, 48, 57], Operations: ['34+23=57']
Exploring Operation: 68-48=20, Resulting Numbers: [57, 20]
Generated Node #0,2,0: 47:[57, 20] Operation: 68-48=20
Exploring Operation: 68-57=11, Resulting Numbers: [48, 11]
Generated Node #0,2,1: 47:[48, 11] Operation: 68-57=11
Exploring Operation: 57-48=9, Resulting Numbers: [68, 9]
Generated Node #0,2,2: 47:[68, 9] Operation: 57-48=9
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[57, 20], Operations: ['34+23=57', '68-48=20']
Exploring Operation: 57+20=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 57*20=1140, Resulting Numbers: [1140]
1140,47 unequal: No Solution
Exploring Operation: 57-20=37, Resulting Numbers: [37]
37,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[48, 11], Operations: ['34+23=57', '68-57=11']
Exploring Operation: 48*11=528, Resulting Numbers: [528]
528,47 unequal: No Solution
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,47 unequal: No Solution
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[68, 9], Operations: ['34+23=57', '57-48=9']
Exploring Operation: 68+9=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,47 unequal: No Solution
Exploring Operation: 68*9=612, Resulting Numbers: [612]
612,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 47:[23, 48, 34], Operations: ['68-34=34']
Exploring Operation: 48-23=25, Resulting Numbers: [34, 25]
Generated Node #0,0,0: 47:[34, 25] Operation: 48-23=25
Exploring Operation: 23+34=57, Resulting Numbers: [48, 57]
Generated Node #0,0,1: 47:[48, 57] Operation: 23+34=57
Exploring Operation: 23+48=71, Resulting Numbers: [34, 71]
Generated Node #0,0,2: 47:[34, 71] Operation: 23+48=71
Moving to Node #0,0,1
Current State: 47:[48, 57], Operations: ['68-34=34', '23+34=57']
Exploring Operation: 48*57=2736, Resulting Numbers: [2736]
2736,47 unequal: No Solution
Exploring Operation: 48+57=105, Resulting Numbers: [105]
105,47 unequal: No Solution
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[34, 25], Operations: ['68-34=34', '48-23=25']
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Exploring Operation: 34+25=59, Resulting Numbers: [59]
59,47 unequal: No Solution
Exploring Operation: 34*25=850, Resulting Numbers: [850]
850,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[34, 71], Operations: ['68-34=34', '23+48=71']
Exploring Operation: 71-34=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 34*71=2414, Resulting Numbers: [2414]
2414,47 unequal: No Solution
Exploring Operation: 34+71=105, Resulting Numbers: [105]
105,47 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
53,
30,
66,
12
] | 45 | [
"30+66=96",
"96/12=8",
"53-8=45"
] | Current State: 45:[53, 30, 66, 12], Operations: []
Exploring Operation: 30+66=96, Resulting Numbers: [53, 12, 96]
Generated Node #2: [53, 12, 96] from Operation: 30+66=96
Current State: 45:[53, 12, 96], Operations: ['30+66=96']
Exploring Operation: 96/12=8, Resulting Numbers: [53, 8]
Generated Node #3: [53, 8] from Operation: 96/12=8
Current State: 45:[53, 8], Operations: ['30+66=96', '96/12=8']
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[53, 30, 66, 12], Operations: []
Exploring Operation: 66-30=36, Resulting Numbers: [53, 12, 36]
Generated Node #0,0: 45:[53, 12, 36] Operation: 66-30=36
Exploring Operation: 66-53=13, Resulting Numbers: [30, 12, 13]
Generated Node #0,1: 45:[30, 12, 13] Operation: 66-53=13
Exploring Operation: 53-30=23, Resulting Numbers: [66, 12, 23]
Generated Node #0,2: 45:[66, 12, 23] Operation: 53-30=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[53, 12, 36], Operations: ['66-30=36']
Exploring Operation: 36/12=3, Resulting Numbers: [53, 3]
Generated Node #0,0,0: 45:[53, 3] Operation: 36/12=3
Exploring Operation: 12+36=48, Resulting Numbers: [53, 48]
Generated Node #0,0,1: 45:[53, 48] Operation: 12+36=48
Exploring Operation: 53-36=17, Resulting Numbers: [12, 17]
Generated Node #0,0,2: 45:[12, 17] Operation: 53-36=17
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 45:[12, 17], Operations: ['66-30=36', '53-36=17']
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 12*17=204, Resulting Numbers: [204]
204,45 unequal: No Solution
Exploring Operation: 12+17=29, Resulting Numbers: [29]
29,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:[53, 3], Operations: ['66-30=36', '36/12=3']
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,45 unequal: No Solution
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,45 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,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:[53, 48], Operations: ['66-30=36', '12+36=48']
Exploring Operation: 53*48=2544, Resulting Numbers: [2544]
2544,45 unequal: No Solution
Exploring Operation: 53+48=101, Resulting Numbers: [101]
101,45 unequal: No Solution
Exploring Operation: 53-48=5, Resulting Numbers: [5]
5,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:[30, 12, 13], Operations: ['66-53=13']
Exploring Operation: 30+13=43, Resulting Numbers: [12, 43]
Generated Node #0,1,0: 45:[12, 43] Operation: 30+13=43
Exploring Operation: 30-12=18, Resulting Numbers: [13, 18]
Generated Node #0,1,1: 45:[13, 18] Operation: 30-12=18
Exploring Operation: 30+12=42, Resulting Numbers: [13, 42]
Generated Node #0,1,2: 45:[13, 42] Operation: 30+12=42
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 45:[12, 43], Operations: ['66-53=13', '30+13=43']
Exploring Operation: 12+43=55, Resulting Numbers: [55]
55,45 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 12*43=516, Resulting Numbers: [516]
516,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 45:[13, 18], Operations: ['66-53=13', '30-12=18']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 45:[13, 42], Operations: ['66-53=13', '30+12=42']
Exploring Operation: 13*42=546, Resulting Numbers: [546]
546,45 unequal: No Solution
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,45 unequal: No Solution
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,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,2
Current State: 45:[66, 12, 23], Operations: ['53-30=23']
Exploring Operation: 66-12=54, Resulting Numbers: [23, 54]
Generated Node #0,2,0: 45:[23, 54] Operation: 66-12=54
Exploring Operation: 66-23=43, Resulting Numbers: [12, 43]
Generated Node #0,2,1: 45:[12, 43] Operation: 66-23=43
Exploring Operation: 23-12=11, Resulting Numbers: [66, 11]
Generated Node #0,2,2: 45:[66, 11] Operation: 23-12=11
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 45:[12, 43], Operations: ['53-30=23', '66-23=43']
Exploring Operation: 12*43=516, Resulting Numbers: [516]
516,45 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 12+43=55, Resulting Numbers: [55]
55,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,2,0
Current State: 45:[23, 54], Operations: ['53-30=23', '66-12=54']
Exploring Operation: 23*54=1242, Resulting Numbers: [1242]
1242,45 unequal: No Solution
Exploring Operation: 23+54=77, Resulting Numbers: [77]
77,45 unequal: No Solution
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,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,2,2
Current State: 45:[66, 11], Operations: ['53-30=23', '23-12=11']
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,45 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,45 unequal: No Solution
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,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
No solution found.
| 0 | hs_3 | sum_heuristic |
[
7,
12,
38,
95
] | 37 | [
"12*95=1140",
"1140/38=30",
"7+30=37"
] | Current State: 37:[7, 12, 38, 95], Operations: []
Exploring Operation: 12*95=1140, Resulting Numbers: [7, 38, 1140]
Generated Node #2: [7, 38, 1140] from Operation: 12*95=1140
Current State: 37:[7, 38, 1140], Operations: ['12*95=1140']
Exploring Operation: 1140/38=30, Resulting Numbers: [7, 30]
Generated Node #3: [7, 30] from Operation: 1140/38=30
Current State: 37:[7, 30], Operations: ['12*95=1140', '1140/38=30']
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[7, 12, 38, 95], Operations: []
Exploring Operation: 7+12=19, Resulting Numbers: [38, 95, 19]
Generated Node #0,0: 37:[38, 95, 19] Operation: 7+12=19
Exploring Operation: 95-38=57, Resulting Numbers: [7, 12, 57]
Generated Node #0,1: 37:[7, 12, 57] Operation: 95-38=57
Exploring Operation: 95-7=88, Resulting Numbers: [12, 38, 88]
Generated Node #0,2: 37:[12, 38, 88] Operation: 95-7=88
Exploring Operation: 95-12=83, Resulting Numbers: [7, 38, 83]
Generated Node #0,3: 37:[7, 38, 83] Operation: 95-12=83
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[7, 12, 57], Operations: ['95-38=57']
Exploring Operation: 57-12=45, Resulting Numbers: [7, 45]
Generated Node #0,1,0: 37:[7, 45] Operation: 57-12=45
Exploring Operation: 7+12=19, Resulting Numbers: [57, 19]
Generated Node #0,1,1: 37:[57, 19] Operation: 7+12=19
Exploring Operation: 12-7=5, Resulting Numbers: [57, 5]
Generated Node #0,1,2: 37:[57, 5] Operation: 12-7=5
Exploring Operation: 57-7=50, Resulting Numbers: [12, 50]
Generated Node #0,1,3: 37:[12, 50] Operation: 57-7=50
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[7, 45], Operations: ['95-38=57', '57-12=45']
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,37 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,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:[57, 19], Operations: ['95-38=57', '7+12=19']
Exploring Operation: 57+19=76, Resulting Numbers: [76]
76,37 unequal: No Solution
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 57*19=1083, Resulting Numbers: [1083]
1083,37 unequal: No Solution
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,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,3
Current State: 37:[12, 50], Operations: ['95-38=57', '57-7=50']
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 12+50=62, Resulting Numbers: [62]
62,37 unequal: No Solution
Exploring Operation: 12*50=600, Resulting Numbers: [600]
600,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,2
Current State: 37:[57, 5], Operations: ['95-38=57', '12-7=5']
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,37 unequal: No Solution
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,37 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,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,0
Current State: 37:[38, 95, 19], Operations: ['7+12=19']
Exploring Operation: 38-19=19, Resulting Numbers: [95, 19]
Generated Node #0,0,0: 37:[95, 19] Operation: 38-19=19
Exploring Operation: 95/19=5, Resulting Numbers: [38, 5]
Generated Node #0,0,1: 37:[38, 5] Operation: 95/19=5
Exploring Operation: 95-38=57, Resulting Numbers: [19, 57]
Generated Node #0,0,2: 37:[19, 57] Operation: 95-38=57
Exploring Operation: 95-19=76, Resulting Numbers: [38, 76]
Generated Node #0,0,3: 37:[38, 76] Operation: 95-19=76
Moving to Node #0,0,1
Current State: 37:[38, 5], Operations: ['7+12=19', '95/19=5']
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,37 unequal: No Solution
Exploring Operation: 38*5=190, Resulting Numbers: [190]
190,37 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[19, 57], Operations: ['7+12=19', '95-38=57']
Exploring Operation: 19*57=1083, Resulting Numbers: [1083]
1083,37 unequal: No Solution
Exploring Operation: 19+57=76, Resulting Numbers: [76]
76,37 unequal: No Solution
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Moving to Node #0,0,3
Current State: 37:[38, 76], Operations: ['7+12=19', '95-19=76']
Exploring Operation: 76-38=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 38*76=2888, Resulting Numbers: [2888]
2888,37 unequal: No Solution
Exploring Operation: 76/38=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 38+76=114, Resulting Numbers: [114]
114,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[95, 19], Operations: ['7+12=19', '38-19=19']
Exploring Operation: 95/19=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Exploring Operation: 95*19=1805, Resulting Numbers: [1805]
1805,37 unequal: No Solution
Exploring Operation: 95+19=114, Resulting Numbers: [114]
114,37 unequal: No Solution
Exploring Operation: 95-19=76, Resulting Numbers: [76]
76,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[12, 38, 88], Operations: ['95-7=88']
Exploring Operation: 88-38=50, Resulting Numbers: [12, 50]
Generated Node #0,2,0: 37:[12, 50] Operation: 88-38=50
Exploring Operation: 88-12=76, Resulting Numbers: [38, 76]
Generated Node #0,2,1: 37:[38, 76] Operation: 88-12=76
Exploring Operation: 12+38=50, Resulting Numbers: [88, 50]
Generated Node #0,2,2: 37:[88, 50] Operation: 12+38=50
Exploring Operation: 38-12=26, Resulting Numbers: [88, 26]
Generated Node #0,2,3: 37:[88, 26] Operation: 38-12=26
Moving to Node #0,2,0
Current State: 37:[12, 50], Operations: ['95-7=88', '88-38=50']
Exploring Operation: 12+50=62, Resulting Numbers: [62]
62,37 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 12*50=600, Resulting Numbers: [600]
600,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[38, 76], Operations: ['95-7=88', '88-12=76']
Exploring Operation: 38+76=114, Resulting Numbers: [114]
114,37 unequal: No Solution
Exploring Operation: 38*76=2888, Resulting Numbers: [2888]
2888,37 unequal: No Solution
Exploring Operation: 76/38=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 76-38=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Moving to Node #0,2,3
Current State: 37:[88, 26], Operations: ['95-7=88', '38-12=26']
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,37 unequal: No Solution
Exploring Operation: 88*26=2288, Resulting Numbers: [2288]
2288,37 unequal: No Solution
Exploring Operation: 88+26=114, Resulting Numbers: [114]
114,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[88, 50], Operations: ['95-7=88', '12+38=50']
Exploring Operation: 88-50=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 88*50=4400, Resulting Numbers: [4400]
4400,37 unequal: No Solution
Exploring Operation: 88+50=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,3
Current State: 37:[7, 38, 83], Operations: ['95-12=83']
Exploring Operation: 83-7=76, Resulting Numbers: [38, 76]
Generated Node #0,3,0: 37:[38, 76] Operation: 83-7=76
Exploring Operation: 7+38=45, Resulting Numbers: [83, 45]
Generated Node #0,3,1: 37:[83, 45] Operation: 7+38=45
Exploring Operation: 83-38=45, Resulting Numbers: [7, 45]
Generated Node #0,3,2: 37:[7, 45] Operation: 83-38=45
Exploring Operation: 38-7=31, Resulting Numbers: [83, 31]
Generated Node #0,3,3: 37:[83, 31] Operation: 38-7=31
Moving to Node #0,3,2
Current State: 37:[7, 45], Operations: ['95-12=83', '83-38=45']
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,37 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,37 unequal: No Solution
Moving to Node #0,3,0
Current State: 37:[38, 76], Operations: ['95-12=83', '83-7=76']
Exploring Operation: 76-38=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 38+76=114, Resulting Numbers: [114]
114,37 unequal: No Solution
Exploring Operation: 76/38=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 38*76=2888, Resulting Numbers: [2888]
2888,37 unequal: No Solution
Moving to Node #0,3,3
Current State: 37:[83, 31], Operations: ['95-12=83', '38-7=31']
Exploring Operation: 83+31=114, Resulting Numbers: [114]
114,37 unequal: No Solution
Exploring Operation: 83-31=52, Resulting Numbers: [52]
52,37 unequal: No Solution
Exploring Operation: 83*31=2573, Resulting Numbers: [2573]
2573,37 unequal: No Solution
Moving to Node #0,3,1
Current State: 37:[83, 45], Operations: ['95-12=83', '7+38=45']
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 83+45=128, Resulting Numbers: [128]
128,37 unequal: No Solution
Exploring Operation: 83*45=3735, Resulting Numbers: [3735]
3735,37 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 |
[
86,
41,
62,
7
] | 24 | [
"86-41=45",
"62+7=69",
"69-45=24"
] | Current State: 24:[86, 41, 62, 7], Operations: []
Exploring Operation: 86-41=45, Resulting Numbers: [62, 7, 45]
Generated Node #2: [62, 7, 45] from Operation: 86-41=45
Current State: 24:[62, 7, 45], Operations: ['86-41=45']
Exploring Operation: 62+7=69, Resulting Numbers: [45, 69]
Generated Node #3: [45, 69] from Operation: 62+7=69
Current State: 24:[45, 69], Operations: ['86-41=45', '62+7=69']
Exploring Operation: 69-45=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[86, 41, 62, 7], Operations: []
Exploring Operation: 86-62=24, Resulting Numbers: [41, 7, 24]
Generated Node #0,0: 24:[41, 7, 24] Operation: 86-62=24
Exploring Operation: 86-41=45, Resulting Numbers: [62, 7, 45]
Generated Node #0,1: 24:[62, 7, 45] Operation: 86-41=45
Exploring Operation: 41-7=34, Resulting Numbers: [86, 62, 34]
Generated Node #0,2: 24:[86, 62, 34] Operation: 41-7=34
Exploring Operation: 62-41=21, Resulting Numbers: [86, 7, 21]
Generated Node #0,3: 24:[86, 7, 21] Operation: 62-41=21
Exploring Operation: 86-7=79, Resulting Numbers: [41, 62, 79]
Generated Node #0,4: 24:[41, 62, 79] Operation: 86-7=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[41, 7, 24], Operations: ['86-62=24']
Exploring Operation: 7+24=31, Resulting Numbers: [41, 31]
Generated Node #0,0,0: 24:[41, 31] Operation: 7+24=31
Exploring Operation: 41-24=17, Resulting Numbers: [7, 17]
Generated Node #0,0,1: 24:[7, 17] Operation: 41-24=17
Exploring Operation: 41-7=34, Resulting Numbers: [24, 34]
Generated Node #0,0,2: 24:[24, 34] Operation: 41-7=34
Exploring Operation: 41+7=48, Resulting Numbers: [24, 48]
Generated Node #0,0,3: 24:[24, 48] Operation: 41+7=48
Exploring Operation: 24-7=17, Resulting Numbers: [41, 17]
Generated Node #0,0,4: 24:[41, 17] Operation: 24-7=17
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 24:[7, 17], Operations: ['86-62=24', '41-24=17']
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,24 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[86, 41, 62, 7], Operations: []
Exploring Operation: 86-62=24, Resulting Numbers: [41, 7, 24]
Generated Node #0,0: 24:[41, 7, 24] Operation: 86-62=24
Moving to Node #0,0
Current State: 24:[41, 7, 24], Operations: ['86-62=24']
Exploring Operation: 41-24=17, Resulting Numbers: [7, 17]
Generated Node #0,0,1: 24:[7, 17] Operation: 41-24=17
Moving to Node #0,0,1
Current State: 24:[7, 17], Operations: ['86-62=24', '41-24=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
2,
12,
66,
85
] | 25 | [
"12/2=6",
"85-66=19",
"6+19=25"
] | Current State: 25:[2, 12, 66, 85], Operations: []
Exploring Operation: 12/2=6, Resulting Numbers: [66, 85, 6]
Generated Node #2: [66, 85, 6] from Operation: 12/2=6
Current State: 25:[66, 85, 6], Operations: ['12/2=6']
Exploring Operation: 85-66=19, Resulting Numbers: [6, 19]
Generated Node #3: [6, 19] from Operation: 85-66=19
Current State: 25:[6, 19], Operations: ['12/2=6', '85-66=19']
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[2, 12, 66, 85], Operations: []
Exploring Operation: 66/2=33, Resulting Numbers: [12, 85, 33]
Generated Node #0,0: 25:[12, 85, 33] Operation: 66/2=33
Exploring Operation: 85-66=19, Resulting Numbers: [2, 12, 19]
Generated Node #0,1: 25:[2, 12, 19] Operation: 85-66=19
Exploring Operation: 2*12=24, Resulting Numbers: [66, 85, 24]
Generated Node #0,2: 25:[66, 85, 24] Operation: 2*12=24
Exploring Operation: 66-12=54, Resulting Numbers: [2, 85, 54]
Generated Node #0,3: 25:[2, 85, 54] Operation: 66-12=54
Exploring Operation: 85-12=73, Resulting Numbers: [2, 66, 73]
Generated Node #0,4: 25:[2, 66, 73] Operation: 85-12=73
Moving to Node #0,1
Current State: 25:[2, 12, 19], Operations: ['85-66=19']
Exploring Operation: 2*12=24, Resulting Numbers: [19, 24]
Generated Node #0,1,0: 25:[19, 24] Operation: 2*12=24
Exploring Operation: 12-2=10, Resulting Numbers: [19, 10]
Generated Node #0,1,1: 25:[19, 10] Operation: 12-2=10
Exploring Operation: 12+19=31, Resulting Numbers: [2, 31]
Generated Node #0,1,2: 25:[2, 31] Operation: 12+19=31
Exploring Operation: 19-12=7, Resulting Numbers: [2, 7]
Generated Node #0,1,3: 25:[2, 7] Operation: 19-12=7
Exploring Operation: 12/2=6, Resulting Numbers: [19, 6]
Generated Node #0,1,4: 25:[19, 6] Operation: 12/2=6
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 25:[2, 7], Operations: ['85-66=19', '19-12=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[19, 24], Operations: ['85-66=19', '2*12=24']
Exploring Operation: 19*24=456, Resulting Numbers: [456]
456,25 unequal: No Solution
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,25 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 25:[19, 6], Operations: ['85-66=19', '12/2=6']
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,25 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,25 unequal: No Solution
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[2, 12, 66, 85], Operations: []
Exploring Operation: 85-66=19, Resulting Numbers: [2, 12, 19]
Generated Node #0,1: 25:[2, 12, 19] Operation: 85-66=19
Moving to Node #0,1
Current State: 25:[2, 12, 19], Operations: ['85-66=19']
Exploring Operation: 12/2=6, Resulting Numbers: [19, 6]
Generated Node #0,1,4: 25:[19, 6] Operation: 12/2=6
Moving to Node #0,1,4
Current State: 25:[19, 6], Operations: ['85-66=19', '12/2=6']
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
75,
7,
82,
56
] | 57 | [
"75+7=82",
"82/82=1",
"56+1=57"
] | Current State: 57:[75, 7, 82, 56], Operations: []
Exploring Operation: 75+7=82, Resulting Numbers: [82, 56, 82]
Generated Node #2: [82, 56, 82] from Operation: 75+7=82
Current State: 57:[82, 56, 82], Operations: ['75+7=82']
Exploring Operation: 82/82=1, Resulting Numbers: [56, 1]
Generated Node #3: [56, 1] from Operation: 82/82=1
Current State: 57:[56, 1], Operations: ['75+7=82', '82/82=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[75, 7, 82, 56], Operations: []
Exploring Operation: 75-7=68, Resulting Numbers: [82, 56, 68]
Generated Node #0,0: 57:[82, 56, 68] Operation: 75-7=68
Exploring Operation: 82-7=75, Resulting Numbers: [75, 56, 75]
Generated Node #0,1: 57:[75, 56, 75] Operation: 82-7=75
Exploring Operation: 75-56=19, Resulting Numbers: [7, 82, 19]
Generated Node #0,2: 57:[7, 82, 19] Operation: 75-56=19
Exploring Operation: 82-75=7, Resulting Numbers: [7, 56, 7]
Generated Node #0,3: 57:[7, 56, 7] Operation: 82-75=7
Exploring Operation: 82-56=26, Resulting Numbers: [75, 7, 26]
Generated Node #0,4: 57:[75, 7, 26] Operation: 82-56=26
Moving to Node #0,3
Current State: 57:[7, 56, 7], Operations: ['82-75=7']
Exploring Operation: 7*7=49, Resulting Numbers: [56, 49]
Generated Node #0,3,0: 57:[56, 49] Operation: 7*7=49
Exploring Operation: 7/7=1, Resulting Numbers: [56, 1]
Generated Node #0,3,1: 57:[56, 1] Operation: 7/7=1
Exploring Operation: 7-7=0, Resulting Numbers: [56, 0]
Generated Node #0,3,2: 57:[56, 0] Operation: 7-7=0
Exploring Operation: 56/7=8, Resulting Numbers: [7, 8]
Generated Node #0,3,3: 57:[7, 8] Operation: 56/7=8
Exploring Operation: 7+7=14, Resulting Numbers: [56, 14]
Generated Node #0,3,4: 57:[56, 14] Operation: 7+7=14
Moving to Node #0,4
Current State: 57:[75, 7, 26], Operations: ['82-56=26']
Exploring Operation: 75+7=82, Resulting Numbers: [26, 82]
Generated Node #0,4,0: 57:[26, 82] Operation: 75+7=82
Exploring Operation: 26-7=19, Resulting Numbers: [75, 19]
Generated Node #0,4,1: 57:[75, 19] Operation: 26-7=19
Exploring Operation: 75-26=49, Resulting Numbers: [7, 49]
Generated Node #0,4,2: 57:[7, 49] Operation: 75-26=49
Exploring Operation: 7+26=33, Resulting Numbers: [75, 33]
Generated Node #0,4,3: 57:[75, 33] Operation: 7+26=33
Exploring Operation: 75-7=68, Resulting Numbers: [26, 68]
Generated Node #0,4,4: 57:[26, 68] Operation: 75-7=68
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 57:[7, 49], Operations: ['82-56=26', '75-26=49']
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 7+49=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 7*49=343, Resulting Numbers: [343]
343,57 unequal: No Solution
No 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: 57:[75, 19], Operations: ['82-56=26', '26-7=19']
Exploring Operation: 75-19=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 75*19=1425, Resulting Numbers: [1425]
1425,57 unequal: No Solution
Exploring Operation: 75+19=94, Resulting Numbers: [94]
94,57 unequal: No Solution
No 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: 57:[26, 68], Operations: ['82-56=26', '75-7=68']
Exploring Operation: 68-26=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 26+68=94, Resulting Numbers: [94]
94,57 unequal: No Solution
Exploring Operation: 26*68=1768, Resulting Numbers: [1768]
1768,57 unequal: No Solution
No 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: 57:[26, 82], Operations: ['82-56=26', '75+7=82']
Exploring Operation: 82-26=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 26+82=108, Resulting Numbers: [108]
108,57 unequal: No Solution
Exploring Operation: 26*82=2132, Resulting Numbers: [2132]
2132,57 unequal: No Solution
No 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: 57:[75, 33], Operations: ['82-56=26', '7+26=33']
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 75*33=2475, Resulting Numbers: [2475]
2475,57 unequal: No Solution
Exploring Operation: 75+33=108, Resulting Numbers: [108]
108,57 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: 57:[7, 82, 19], Operations: ['75-56=19']
Exploring Operation: 7+19=26, Resulting Numbers: [82, 26]
Generated Node #0,2,0: 57:[82, 26] Operation: 7+19=26
Exploring Operation: 7+82=89, Resulting Numbers: [19, 89]
Generated Node #0,2,1: 57:[19, 89] Operation: 7+82=89
Exploring Operation: 19-7=12, Resulting Numbers: [82, 12]
Generated Node #0,2,2: 57:[82, 12] Operation: 19-7=12
Exploring Operation: 82-7=75, Resulting Numbers: [19, 75]
Generated Node #0,2,3: 57:[19, 75] Operation: 82-7=75
Exploring Operation: 82-19=63, Resulting Numbers: [7, 63]
Generated Node #0,2,4: 57:[7, 63] Operation: 82-19=63
Moving to Node #0,0
Current State: 57:[82, 56, 68], Operations: ['75-7=68']
Exploring Operation: 82-56=26, Resulting Numbers: [68, 26]
Generated Node #0,0,0: 57:[68, 26] Operation: 82-56=26
Exploring Operation: 82+56=138, Resulting Numbers: [68, 138]
Generated Node #0,0,1: 57:[68, 138] Operation: 82+56=138
Exploring Operation: 68-56=12, Resulting Numbers: [82, 12]
Generated Node #0,0,2: 57:[82, 12] Operation: 68-56=12
Exploring Operation: 82-68=14, Resulting Numbers: [56, 14]
Generated Node #0,0,3: 57:[56, 14] Operation: 82-68=14
Exploring Operation: 56+68=124, Resulting Numbers: [82, 124]
Generated Node #0,0,4: 57:[82, 124] Operation: 56+68=124
Moving to Node #0,1
Current State: 57:[75, 56, 75], Operations: ['82-7=75']
Exploring Operation: 75-56=19, Resulting Numbers: [75, 19]
Generated Node #0,1,0: 57:[75, 19] Operation: 75-56=19
Exploring Operation: 75-56=19, Resulting Numbers: [75, 19]
Generated Node #0,1,1: 57:[75, 19] Operation: 75-56=19
Exploring Operation: 75/75=1, Resulting Numbers: [56, 1]
Generated Node #0,1,2: 57:[56, 1] Operation: 75/75=1
Exploring Operation: 75+56=131, Resulting Numbers: [75, 131]
Generated Node #0,1,3: 57:[75, 131] Operation: 75+56=131
Exploring Operation: 75-75=0, Resulting Numbers: [56, 0]
Generated Node #0,1,4: 57:[56, 0] Operation: 75-75=0
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 57:[56, 1], Operations: ['82-7=75', '75/75=1']
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[75, 7, 82, 56], Operations: []
Exploring Operation: 82-7=75, Resulting Numbers: [75, 56, 75]
Generated Node #0,1: 57:[75, 56, 75] Operation: 82-7=75
Moving to Node #0,1
Current State: 57:[75, 56, 75], Operations: ['82-7=75']
Exploring Operation: 75/75=1, Resulting Numbers: [56, 1]
Generated Node #0,1,2: 57:[56, 1] Operation: 75/75=1
Moving to Node #0,1,2
Current State: 57:[56, 1], Operations: ['82-7=75', '75/75=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.954861 | hs_5 | mult_heuristic |
[
60,
59,
49,
89
] | 83 | [
"59-49=10",
"60/10=6",
"89-6=83"
] | Current State: 83:[60, 59, 49, 89], Operations: []
Exploring Operation: 59-49=10, Resulting Numbers: [60, 89, 10]
Generated Node #2: [60, 89, 10] from Operation: 59-49=10
Current State: 83:[60, 89, 10], Operations: ['59-49=10']
Exploring Operation: 60/10=6, Resulting Numbers: [89, 6]
Generated Node #3: [89, 6] from Operation: 60/10=6
Current State: 83:[89, 6], Operations: ['59-49=10', '60/10=6']
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[60, 59, 49, 89], Operations: []
Exploring Operation: 59+49=108, Resulting Numbers: [60, 89, 108]
Generated Node #0,0: 83:[60, 89, 108] Operation: 59+49=108
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[60, 89, 108], Operations: ['59+49=108']
Exploring Operation: 108-60=48, Resulting Numbers: [89, 48]
Generated Node #0,0,0: 83:[89, 48] Operation: 108-60=48
Moving to Node #0,0,0
Current State: 83:[89, 48], Operations: ['59+49=108', '108-60=48']
Exploring Operation: 89-48=41, Resulting Numbers: [41]
41,83 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 |
[
33,
2,
30,
15
] | 36 | [
"33-30=3",
"15+3=18",
"2*18=36"
] | Current State: 36:[33, 2, 30, 15], Operations: []
Exploring Operation: 33-30=3, Resulting Numbers: [2, 15, 3]
Generated Node #2: [2, 15, 3] from Operation: 33-30=3
Current State: 36:[2, 15, 3], Operations: ['33-30=3']
Exploring Operation: 15+3=18, Resulting Numbers: [2, 18]
Generated Node #3: [2, 18] from Operation: 15+3=18
Current State: 36:[2, 18], Operations: ['33-30=3', '15+3=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[33, 2, 30, 15], Operations: []
Exploring Operation: 33-30=3, Resulting Numbers: [2, 15, 3]
Generated Node #0,0: 36:[2, 15, 3] Operation: 33-30=3
Exploring Operation: 30-15=15, Resulting Numbers: [33, 2, 15]
Generated Node #0,1: 36:[33, 2, 15] Operation: 30-15=15
Exploring Operation: 33-15=18, Resulting Numbers: [2, 30, 18]
Generated Node #0,2: 36:[2, 30, 18] Operation: 33-15=18
Exploring Operation: 30/15=2, Resulting Numbers: [33, 2, 2]
Generated Node #0,3: 36:[33, 2, 2] Operation: 30/15=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[2, 15, 3], Operations: ['33-30=3']
Exploring Operation: 15+3=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 36:[2, 18] Operation: 15+3=18
Exploring Operation: 15-3=12, Resulting Numbers: [2, 12]
Generated Node #0,0,1: 36:[2, 12] Operation: 15-3=12
Exploring Operation: 15-2=13, Resulting Numbers: [3, 13]
Generated Node #0,0,2: 36:[3, 13] Operation: 15-2=13
Exploring Operation: 2+15=17, Resulting Numbers: [3, 17]
Generated Node #0,0,3: 36:[3, 17] Operation: 2+15=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[2, 18], Operations: ['33-30=3', '15+3=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[33, 2, 30, 15], Operations: []
Exploring Operation: 33-30=3, Resulting Numbers: [2, 15, 3]
Generated Node #0,0: 36:[2, 15, 3] Operation: 33-30=3
Moving to Node #0,0
Current State: 36:[2, 15, 3], Operations: ['33-30=3']
Exploring Operation: 15+3=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 36:[2, 18] Operation: 15+3=18
Moving to Node #0,0,0
Current State: 36:[2, 18], Operations: ['33-30=3', '15+3=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
3,
69,
67,
28
] | 72 | [
"69/3=23",
"67+28=95",
"95-23=72"
] | Current State: 72:[3, 69, 67, 28], Operations: []
Exploring Operation: 69/3=23, Resulting Numbers: [67, 28, 23]
Generated Node #2: [67, 28, 23] from Operation: 69/3=23
Current State: 72:[67, 28, 23], Operations: ['69/3=23']
Exploring Operation: 67+28=95, Resulting Numbers: [23, 95]
Generated Node #3: [23, 95] from Operation: 67+28=95
Current State: 72:[23, 95], Operations: ['69/3=23', '67+28=95']
Exploring Operation: 95-23=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[3, 69, 67, 28], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [3, 28, 2]
Generated Node #0,0: 72:[3, 28, 2] Operation: 69-67=2
Moving to Node #0,0
Current State: 72:[3, 28, 2], Operations: ['69-67=2']
Exploring Operation: 28-3=25, Resulting Numbers: [2, 25]
Generated Node #0,0,0: 72:[2, 25] Operation: 28-3=25
Moving to Node #0,0,0
Current State: 72:[2, 25], Operations: ['69-67=2', '28-3=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,72 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
84,
33,
40,
21
] | 92 | [
"84*33=2772",
"2772/21=132",
"132-40=92"
] | Current State: 92:[84, 33, 40, 21], Operations: []
Exploring Operation: 84*33=2772, Resulting Numbers: [40, 21, 2772]
Generated Node #2: [40, 21, 2772] from Operation: 84*33=2772
Current State: 92:[40, 21, 2772], Operations: ['84*33=2772']
Exploring Operation: 2772/21=132, Resulting Numbers: [40, 132]
Generated Node #3: [40, 132] from Operation: 2772/21=132
Current State: 92:[40, 132], Operations: ['84*33=2772', '2772/21=132']
Exploring Operation: 132-40=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[84, 33, 40, 21], Operations: []
Exploring Operation: 84-33=51, Resulting Numbers: [40, 21, 51]
Generated Node #0,0: 92:[40, 21, 51] Operation: 84-33=51
Moving to Node #0,0
Current State: 92:[40, 21, 51], Operations: ['84-33=51']
Exploring Operation: 40+51=91, Resulting Numbers: [21, 91]
Generated Node #0,0,0: 92:[21, 91] Operation: 40+51=91
Moving to Node #0,0,0
Current State: 92:[21, 91], Operations: ['84-33=51', '40+51=91']
Exploring Operation: 21+91=112, Resulting Numbers: [112]
112,92 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
7,
9,
32,
78
] | 17 | [
"7*9=63",
"78-32=46",
"63-46=17"
] | Current State: 17:[7, 9, 32, 78], Operations: []
Exploring Operation: 7*9=63, Resulting Numbers: [32, 78, 63]
Generated Node #2: [32, 78, 63] from Operation: 7*9=63
Current State: 17:[32, 78, 63], Operations: ['7*9=63']
Exploring Operation: 78-32=46, Resulting Numbers: [63, 46]
Generated Node #3: [63, 46] from Operation: 78-32=46
Current State: 17:[63, 46], Operations: ['7*9=63', '78-32=46']
Exploring Operation: 63-46=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[7, 9, 32, 78], Operations: []
Exploring Operation: 78-32=46, Resulting Numbers: [7, 9, 46]
Generated Node #0,0: 17:[7, 9, 46] Operation: 78-32=46
Exploring Operation: 32-7=25, Resulting Numbers: [9, 78, 25]
Generated Node #0,1: 17:[9, 78, 25] Operation: 32-7=25
Exploring Operation: 32-9=23, Resulting Numbers: [7, 78, 23]
Generated Node #0,2: 17:[7, 78, 23] Operation: 32-9=23
Exploring Operation: 78-7=71, Resulting Numbers: [9, 32, 71]
Generated Node #0,3: 17:[9, 32, 71] Operation: 78-7=71
Exploring Operation: 7+9=16, Resulting Numbers: [32, 78, 16]
Generated Node #0,4: 17:[32, 78, 16] Operation: 7+9=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[7, 9, 46], Operations: ['78-32=46']
Exploring Operation: 7+9=16, Resulting Numbers: [46, 16]
Generated Node #0,0,0: 17:[46, 16] Operation: 7+9=16
Exploring Operation: 9-7=2, Resulting Numbers: [46, 2]
Generated Node #0,0,1: 17:[46, 2] Operation: 9-7=2
Exploring Operation: 46-9=37, Resulting Numbers: [7, 37]
Generated Node #0,0,2: 17:[7, 37] Operation: 46-9=37
Exploring Operation: 7+46=53, Resulting Numbers: [9, 53]
Generated Node #0,0,3: 17:[9, 53] Operation: 7+46=53
Exploring Operation: 46-7=39, Resulting Numbers: [9, 39]
Generated Node #0,0,4: 17:[9, 39] Operation: 46-7=39
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[46, 16], Operations: ['78-32=46', '7+9=16']
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 46+16=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 46*16=736, Resulting Numbers: [736]
736,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 17:[7, 37], Operations: ['78-32=46', '46-9=37']
Exploring Operation: 7*37=259, Resulting Numbers: [259]
259,17 unequal: No Solution
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 17:[9, 39], Operations: ['78-32=46', '46-7=39']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,17 unequal: No Solution
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 17:[46, 2], Operations: ['78-32=46', '9-7=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,17 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,17 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 17:[9, 53], Operations: ['78-32=46', '7+46=53']
Exploring Operation: 9+53=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 9*53=477, Resulting Numbers: [477]
477,17 unequal: No Solution
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[9, 78, 25], Operations: ['32-7=25']
Exploring Operation: 9+78=87, Resulting Numbers: [25, 87]
Generated Node #0,1,0: 17:[25, 87] Operation: 9+78=87
Exploring Operation: 78-25=53, Resulting Numbers: [9, 53]
Generated Node #0,1,1: 17:[9, 53] Operation: 78-25=53
Exploring Operation: 78-9=69, Resulting Numbers: [25, 69]
Generated Node #0,1,2: 17:[25, 69] Operation: 78-9=69
Exploring Operation: 25-9=16, Resulting Numbers: [78, 16]
Generated Node #0,1,3: 17:[78, 16] Operation: 25-9=16
Exploring Operation: 9+25=34, Resulting Numbers: [78, 34]
Generated Node #0,1,4: 17:[78, 34] Operation: 9+25=34
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 17:[9, 53], Operations: ['32-7=25', '78-25=53']
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Exploring Operation: 9*53=477, Resulting Numbers: [477]
477,17 unequal: No Solution
Exploring Operation: 9+53=62, Resulting Numbers: [62]
62,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 17:[25, 69], Operations: ['32-7=25', '78-9=69']
Exploring Operation: 25*69=1725, Resulting Numbers: [1725]
1725,17 unequal: No Solution
Exploring Operation: 25+69=94, Resulting Numbers: [94]
94,17 unequal: No Solution
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 17:[78, 16], Operations: ['32-7=25', '25-9=16']
Exploring Operation: 78+16=94, Resulting Numbers: [94]
94,17 unequal: No Solution
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 78*16=1248, Resulting Numbers: [1248]
1248,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 17:[25, 87], Operations: ['32-7=25', '9+78=87']
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 25+87=112, Resulting Numbers: [112]
112,17 unequal: No Solution
Exploring Operation: 25*87=2175, Resulting Numbers: [2175]
2175,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 17:[78, 34], Operations: ['32-7=25', '9+25=34']
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Exploring Operation: 78+34=112, Resulting Numbers: [112]
112,17 unequal: No Solution
Exploring Operation: 78*34=2652, Resulting Numbers: [2652]
2652,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[7, 78, 23], Operations: ['32-9=23']
Exploring Operation: 7+78=85, Resulting Numbers: [23, 85]
Generated Node #0,2,0: 17:[23, 85] Operation: 7+78=85
Exploring Operation: 7+23=30, Resulting Numbers: [78, 30]
Generated Node #0,2,1: 17:[78, 30] Operation: 7+23=30
Exploring Operation: 23-7=16, Resulting Numbers: [78, 16]
Generated Node #0,2,2: 17:[78, 16] Operation: 23-7=16
Exploring Operation: 78-7=71, Resulting Numbers: [23, 71]
Generated Node #0,2,3: 17:[23, 71] Operation: 78-7=71
Exploring Operation: 78-23=55, Resulting Numbers: [7, 55]
Generated Node #0,2,4: 17:[7, 55] Operation: 78-23=55
Moving to Node #0,2,4
Current State: 17:[7, 55], Operations: ['32-9=23', '78-23=55']
Exploring Operation: 7+55=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 7*55=385, Resulting Numbers: [385]
385,17 unequal: No Solution
Moving to Node #0,2,3
Current State: 17:[23, 71], Operations: ['32-9=23', '78-7=71']
Exploring Operation: 23+71=94, Resulting Numbers: [94]
94,17 unequal: No Solution
Exploring Operation: 23*71=1633, Resulting Numbers: [1633]
1633,17 unequal: No Solution
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Moving to Node #0,2,2
Current State: 17:[78, 16], Operations: ['32-9=23', '23-7=16']
Exploring Operation: 78+16=94, Resulting Numbers: [94]
94,17 unequal: No Solution
Exploring Operation: 78*16=1248, Resulting Numbers: [1248]
1248,17 unequal: No Solution
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Moving to Node #0,2,0
Current State: 17:[23, 85], Operations: ['32-9=23', '7+78=85']
Exploring Operation: 23+85=108, Resulting Numbers: [108]
108,17 unequal: No Solution
Exploring Operation: 23*85=1955, Resulting Numbers: [1955]
1955,17 unequal: No Solution
Exploring Operation: 85-23=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[78, 30], Operations: ['32-9=23', '7+23=30']
Exploring Operation: 78-30=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 78+30=108, Resulting Numbers: [108]
108,17 unequal: No Solution
Exploring Operation: 78*30=2340, Resulting Numbers: [2340]
2340,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 17:[9, 32, 71], Operations: ['78-7=71']
Exploring Operation: 71-9=62, Resulting Numbers: [32, 62]
Generated Node #0,3,0: 17:[32, 62] Operation: 71-9=62
Exploring Operation: 71-32=39, Resulting Numbers: [9, 39]
Generated Node #0,3,1: 17:[9, 39] Operation: 71-32=39
Exploring Operation: 9+32=41, Resulting Numbers: [71, 41]
Generated Node #0,3,2: 17:[71, 41] Operation: 9+32=41
Exploring Operation: 32-9=23, Resulting Numbers: [71, 23]
Generated Node #0,3,3: 17:[71, 23] Operation: 32-9=23
Exploring Operation: 9+71=80, Resulting Numbers: [32, 80]
Generated Node #0,3,4: 17:[32, 80] Operation: 9+71=80
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 17:[9, 39], Operations: ['78-7=71', '71-32=39']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 17:[32, 62], Operations: ['78-7=71', '71-9=62']
Exploring Operation: 32*62=1984, Resulting Numbers: [1984]
1984,17 unequal: No Solution
Exploring Operation: 32+62=94, Resulting Numbers: [94]
94,17 unequal: No Solution
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 17:[71, 23], Operations: ['78-7=71', '32-9=23']
Exploring Operation: 71*23=1633, Resulting Numbers: [1633]
1633,17 unequal: No Solution
Exploring Operation: 71+23=94, Resulting Numbers: [94]
94,17 unequal: No Solution
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 17:[71, 41], Operations: ['78-7=71', '9+32=41']
Exploring Operation: 71*41=2911, Resulting Numbers: [2911]
2911,17 unequal: No Solution
Exploring Operation: 71+41=112, Resulting Numbers: [112]
112,17 unequal: No Solution
Exploring Operation: 71-41=30, Resulting Numbers: [30]
30,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 17:[32, 80], Operations: ['78-7=71', '9+71=80']
Exploring Operation: 80-32=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 32*80=2560, Resulting Numbers: [2560]
2560,17 unequal: No Solution
Exploring Operation: 32+80=112, Resulting Numbers: [112]
112,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 17:[32, 78, 16], Operations: ['7+9=16']
Exploring Operation: 32-16=16, Resulting Numbers: [78, 16]
Generated Node #0,4,0: 17:[78, 16] Operation: 32-16=16
Exploring Operation: 32+16=48, Resulting Numbers: [78, 48]
Generated Node #0,4,1: 17:[78, 48] Operation: 32+16=48
Exploring Operation: 78-32=46, Resulting Numbers: [16, 46]
Generated Node #0,4,2: 17:[16, 46] Operation: 78-32=46
Exploring Operation: 78-16=62, Resulting Numbers: [32, 62]
Generated Node #0,4,3: 17:[32, 62] Operation: 78-16=62
Exploring Operation: 32/16=2, Resulting Numbers: [78, 2]
Generated Node #0,4,4: 17:[78, 2] Operation: 32/16=2
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 17:[16, 46], Operations: ['7+9=16', '78-32=46']
Exploring Operation: 16*46=736, Resulting Numbers: [736]
736,17 unequal: No Solution
Exploring Operation: 16+46=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 17:[32, 62], Operations: ['7+9=16', '78-16=62']
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 32+62=94, Resulting Numbers: [94]
94,17 unequal: No Solution
Exploring Operation: 32*62=1984, Resulting Numbers: [1984]
1984,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 17:[78, 16], Operations: ['7+9=16', '32-16=16']
Exploring Operation: 78+16=94, Resulting Numbers: [94]
94,17 unequal: No Solution
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 78*16=1248, Resulting Numbers: [1248]
1248,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 17:[78, 2], Operations: ['7+9=16', '32/16=2']
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,17 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,17 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,17 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 17:[78, 48], Operations: ['7+9=16', '32+16=48']
Exploring Operation: 78-48=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 78+48=126, Resulting Numbers: [126]
126,17 unequal: No Solution
Exploring Operation: 78*48=3744, Resulting Numbers: [3744]
3744,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
78,
63,
99,
64
] | 50 | [
"78-63=15",
"99-64=35",
"15+35=50"
] | Current State: 50:[78, 63, 99, 64], Operations: []
Exploring Operation: 78-63=15, Resulting Numbers: [99, 64, 15]
Generated Node #2: [99, 64, 15] from Operation: 78-63=15
Current State: 50:[99, 64, 15], Operations: ['78-63=15']
Exploring Operation: 99-64=35, Resulting Numbers: [15, 35]
Generated Node #3: [15, 35] from Operation: 99-64=35
Current State: 50:[15, 35], Operations: ['78-63=15', '99-64=35']
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[78, 63, 99, 64], Operations: []
Exploring Operation: 99-64=35, Resulting Numbers: [78, 63, 35]
Generated Node #0,0: 50:[78, 63, 35] Operation: 99-64=35
Exploring Operation: 99-78=21, Resulting Numbers: [63, 64, 21]
Generated Node #0,1: 50:[63, 64, 21] Operation: 99-78=21
Exploring Operation: 78-64=14, Resulting Numbers: [63, 99, 14]
Generated Node #0,2: 50:[63, 99, 14] Operation: 78-64=14
Exploring Operation: 99-63=36, Resulting Numbers: [78, 64, 36]
Generated Node #0,3: 50:[78, 64, 36] Operation: 99-63=36
Moving to Node #0,1
Current State: 50:[63, 64, 21], Operations: ['99-78=21']
Exploring Operation: 63/21=3, Resulting Numbers: [64, 3]
Generated Node #0,1,0: 50:[64, 3] Operation: 63/21=3
Exploring Operation: 63-21=42, Resulting Numbers: [64, 42]
Generated Node #0,1,1: 50:[64, 42] Operation: 63-21=42
Exploring Operation: 64-63=1, Resulting Numbers: [21, 1]
Generated Node #0,1,2: 50:[21, 1] Operation: 64-63=1
Exploring Operation: 64-21=43, Resulting Numbers: [63, 43]
Generated Node #0,1,3: 50:[63, 43] Operation: 64-21=43
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 50:[21, 1], Operations: ['99-78=21', '64-63=1']
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,50 unequal: No Solution
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,50 unequal: No Solution
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,50 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,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:[64, 3], Operations: ['99-78=21', '63/21=3']
Exploring Operation: 64+3=67, Resulting Numbers: [67]
67,50 unequal: No Solution
Exploring Operation: 64*3=192, Resulting Numbers: [192]
192,50 unequal: No Solution
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,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,3
Current State: 50:[63, 43], Operations: ['99-78=21', '64-21=43']
Exploring Operation: 63*43=2709, Resulting Numbers: [2709]
2709,50 unequal: No Solution
Exploring Operation: 63-43=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Exploring Operation: 63+43=106, Resulting Numbers: [106]
106,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,1
Current State: 50:[64, 42], Operations: ['99-78=21', '63-21=42']
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,50 unequal: No Solution
Exploring Operation: 64+42=106, Resulting Numbers: [106]
106,50 unequal: No Solution
Exploring Operation: 64*42=2688, Resulting Numbers: [2688]
2688,50 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: 50:[78, 63, 35], Operations: ['99-64=35']
Exploring Operation: 63-35=28, Resulting Numbers: [78, 28]
Generated Node #0,0,0: 50:[78, 28] Operation: 63-35=28
Exploring Operation: 78-63=15, Resulting Numbers: [35, 15]
Generated Node #0,0,1: 50:[35, 15] Operation: 78-63=15
Exploring Operation: 78-35=43, Resulting Numbers: [63, 43]
Generated Node #0,0,2: 50:[63, 43] Operation: 78-35=43
Exploring Operation: 78+35=113, Resulting Numbers: [63, 113]
Generated Node #0,0,3: 50:[63, 113] Operation: 78+35=113
Moving to Node #0,3
Current State: 50:[78, 64, 36], Operations: ['99-63=36']
Exploring Operation: 64-36=28, Resulting Numbers: [78, 28]
Generated Node #0,3,0: 50:[78, 28] Operation: 64-36=28
Exploring Operation: 78-64=14, Resulting Numbers: [36, 14]
Generated Node #0,3,1: 50:[36, 14] Operation: 78-64=14
Exploring Operation: 78+36=114, Resulting Numbers: [64, 114]
Generated Node #0,3,2: 50:[64, 114] Operation: 78+36=114
Exploring Operation: 78-36=42, Resulting Numbers: [64, 42]
Generated Node #0,3,3: 50:[64, 42] Operation: 78-36=42
Moving to Node #0,2
Current State: 50:[63, 99, 14], Operations: ['78-64=14']
Exploring Operation: 99-63=36, Resulting Numbers: [14, 36]
Generated Node #0,2,0: 50:[14, 36] Operation: 99-63=36
Exploring Operation: 99-14=85, Resulting Numbers: [63, 85]
Generated Node #0,2,1: 50:[63, 85] Operation: 99-14=85
Exploring Operation: 63-14=49, Resulting Numbers: [99, 49]
Generated Node #0,2,2: 50:[99, 49] Operation: 63-14=49
Exploring Operation: 63+14=77, Resulting Numbers: [99, 77]
Generated Node #0,2,3: 50:[99, 77] Operation: 63+14=77
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 50:[14, 36], Operations: ['78-64=14', '99-63=36']
Exploring Operation: 14*36=504, Resulting Numbers: [504]
504,50 unequal: No Solution
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[78, 63, 99, 64], Operations: []
Exploring Operation: 78-64=14, Resulting Numbers: [63, 99, 14]
Generated Node #0,2: 50:[63, 99, 14] Operation: 78-64=14
Moving to Node #0,2
Current State: 50:[63, 99, 14], Operations: ['78-64=14']
Exploring Operation: 99-63=36, Resulting Numbers: [14, 36]
Generated Node #0,2,0: 50:[14, 36] Operation: 99-63=36
Moving to Node #0,2,0
Current State: 50:[14, 36], Operations: ['78-64=14', '99-63=36']
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_4 | mult_heuristic |
[
40,
77,
80,
25
] | 51 | [
"40*80=3200",
"3200/25=128",
"128-77=51"
] | Current State: 51:[40, 77, 80, 25], Operations: []
Exploring Operation: 40*80=3200, Resulting Numbers: [77, 25, 3200]
Generated Node #2: [77, 25, 3200] from Operation: 40*80=3200
Current State: 51:[77, 25, 3200], Operations: ['40*80=3200']
Exploring Operation: 3200/25=128, Resulting Numbers: [77, 128]
Generated Node #3: [77, 128] from Operation: 3200/25=128
Current State: 51:[77, 128], Operations: ['40*80=3200', '3200/25=128']
Exploring Operation: 128-77=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[40, 77, 80, 25], Operations: []
Exploring Operation: 80/40=2, Resulting Numbers: [77, 25, 2]
Generated Node #0,0: 51:[77, 25, 2] Operation: 80/40=2
Exploring Operation: 80-77=3, Resulting Numbers: [40, 25, 3]
Generated Node #0,1: 51:[40, 25, 3] Operation: 80-77=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[40, 25, 3], Operations: ['80-77=3']
Exploring Operation: 40+25=65, Resulting Numbers: [3, 65]
Generated Node #0,1,0: 51:[3, 65] Operation: 40+25=65
Exploring Operation: 40-25=15, Resulting Numbers: [3, 15]
Generated Node #0,1,1: 51:[3, 15] Operation: 40-25=15
Moving to Node #0,1,1
Current State: 51:[3, 15], Operations: ['80-77=3', '40-25=15']
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[3, 65], Operations: ['80-77=3', '40+25=65']
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,51 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[77, 25, 2], Operations: ['80/40=2']
Exploring Operation: 25*2=50, Resulting Numbers: [77, 50]
Generated Node #0,0,0: 51:[77, 50] Operation: 25*2=50
Exploring Operation: 77-25=52, Resulting Numbers: [2, 52]
Generated Node #0,0,1: 51:[2, 52] Operation: 77-25=52
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[2, 52], Operations: ['80/40=2', '77-25=52']
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,51 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,51 unequal: No Solution
No 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: 51:[77, 50], Operations: ['80/40=2', '25*2=50']
Exploring Operation: 77-50=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 77+50=127, Resulting Numbers: [127]
127,51 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 |
[
9,
81,
19,
90
] | 52 | [
"90/9=10",
"81-19=62",
"62-10=52"
] | Current State: 52:[9, 81, 19, 90], Operations: []
Exploring Operation: 90/9=10, Resulting Numbers: [81, 19, 10]
Generated Node #2: [81, 19, 10] from Operation: 90/9=10
Current State: 52:[81, 19, 10], Operations: ['90/9=10']
Exploring Operation: 81-19=62, Resulting Numbers: [10, 62]
Generated Node #3: [10, 62] from Operation: 81-19=62
Current State: 52:[10, 62], Operations: ['90/9=10', '81-19=62']
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[9, 81, 19, 90], Operations: []
Exploring Operation: 90-19=71, Resulting Numbers: [9, 81, 71]
Generated Node #0,0: 52:[9, 81, 71] Operation: 90-19=71
Exploring Operation: 81-19=62, Resulting Numbers: [9, 90, 62]
Generated Node #0,1: 52:[9, 90, 62] Operation: 81-19=62
Exploring Operation: 90/9=10, Resulting Numbers: [81, 19, 10]
Generated Node #0,2: 52:[81, 19, 10] Operation: 90/9=10
Exploring Operation: 81/9=9, Resulting Numbers: [19, 90, 9]
Generated Node #0,3: 52:[19, 90, 9] Operation: 81/9=9
Exploring Operation: 90-81=9, Resulting Numbers: [9, 19, 9]
Generated Node #0,4: 52:[9, 19, 9] Operation: 90-81=9
Moving to Node #0,4
Current State: 52:[9, 19, 9], Operations: ['90-81=9']
Exploring Operation: 19-9=10, Resulting Numbers: [9, 10]
Generated Node #0,4,0: 52:[9, 10] Operation: 19-9=10
Exploring Operation: 9+19=28, Resulting Numbers: [9, 28]
Generated Node #0,4,1: 52:[9, 28] Operation: 9+19=28
Exploring Operation: 9/9=1, Resulting Numbers: [19, 1]
Generated Node #0,4,2: 52:[19, 1] Operation: 9/9=1
Exploring Operation: 19-9=10, Resulting Numbers: [9, 10]
Generated Node #0,4,3: 52:[9, 10] Operation: 19-9=10
Exploring Operation: 19+9=28, Resulting Numbers: [9, 28]
Generated Node #0,4,4: 52:[9, 28] Operation: 19+9=28
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 52:[9, 28], Operations: ['90-81=9', '9+19=28']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,52 unequal: No Solution
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 52:[9, 28], Operations: ['90-81=9', '19+9=28']
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,52 unequal: No Solution
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 52:[9, 10], Operations: ['90-81=9', '19-9=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,52 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 52:[19, 1], Operations: ['90-81=9', '9/9=1']
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,52 unequal: No Solution
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 52:[9, 10], Operations: ['90-81=9', '19-9=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,52 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,52 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: 52:[81, 19, 10], Operations: ['90/9=10']
Exploring Operation: 81+10=91, Resulting Numbers: [19, 91]
Generated Node #0,2,0: 52:[19, 91] Operation: 81+10=91
Exploring Operation: 19+10=29, Resulting Numbers: [81, 29]
Generated Node #0,2,1: 52:[81, 29] Operation: 19+10=29
Exploring Operation: 19-10=9, Resulting Numbers: [81, 9]
Generated Node #0,2,2: 52:[81, 9] Operation: 19-10=9
Exploring Operation: 81-10=71, Resulting Numbers: [19, 71]
Generated Node #0,2,3: 52:[19, 71] Operation: 81-10=71
Exploring Operation: 81-19=62, Resulting Numbers: [10, 62]
Generated Node #0,2,4: 52:[10, 62] Operation: 81-19=62
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 52:[10, 62], Operations: ['90/9=10', '81-19=62']
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[9, 81, 19, 90], Operations: []
Exploring Operation: 90/9=10, Resulting Numbers: [81, 19, 10]
Generated Node #0,2: 52:[81, 19, 10] Operation: 90/9=10
Moving to Node #0,2
Current State: 52:[81, 19, 10], Operations: ['90/9=10']
Exploring Operation: 81-19=62, Resulting Numbers: [10, 62]
Generated Node #0,2,4: 52:[10, 62] Operation: 81-19=62
Moving to Node #0,2,4
Current State: 52:[10, 62], Operations: ['90/9=10', '81-19=62']
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
1,
10,
39,
62
] | 91 | [
"1*10=10",
"39+62=101",
"101-10=91"
] | Current State: 91:[1, 10, 39, 62], Operations: []
Exploring Operation: 1*10=10, Resulting Numbers: [39, 62, 10]
Generated Node #2: [39, 62, 10] from Operation: 1*10=10
Current State: 91:[39, 62, 10], Operations: ['1*10=10']
Exploring Operation: 39+62=101, Resulting Numbers: [10, 101]
Generated Node #3: [10, 101] from Operation: 39+62=101
Current State: 91:[10, 101], Operations: ['1*10=10', '39+62=101']
Exploring Operation: 101-10=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[1, 10, 39, 62], Operations: []
Exploring Operation: 39+62=101, Resulting Numbers: [1, 10, 101]
Generated Node #0,0: 91:[1, 10, 101] Operation: 39+62=101
Moving to Node #0,0
Current State: 91:[1, 10, 101], Operations: ['39+62=101']
Exploring Operation: 101-10=91, Resulting Numbers: [1, 91]
Generated Node #0,0,0: 91:[1, 91] Operation: 101-10=91
Moving to Node #0,0,0
Current State: 91:[1, 91], Operations: ['39+62=101', '101-10=91']
Exploring Operation: 1*91=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[1, 10, 39, 62], Operations: []
Exploring Operation: 39+62=101, Resulting Numbers: [1, 10, 101]
Generated Node #0,0: 91:[1, 10, 101] Operation: 39+62=101
Moving to Node #0,0
Current State: 91:[1, 10, 101], Operations: ['39+62=101']
Exploring Operation: 101-10=91, Resulting Numbers: [1, 91]
Generated Node #0,0,0: 91:[1, 91] Operation: 101-10=91
Moving to Node #0,0,0
Current State: 91:[1, 91], Operations: ['39+62=101', '101-10=91']
Exploring Operation: 1*91=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
98,
2,
64,
33
] | 50 | [
"98-64=34",
"34/2=17",
"33+17=50"
] | Current State: 50:[98, 2, 64, 33], Operations: []
Exploring Operation: 98-64=34, Resulting Numbers: [2, 33, 34]
Generated Node #2: [2, 33, 34] from Operation: 98-64=34
Current State: 50:[2, 33, 34], Operations: ['98-64=34']
Exploring Operation: 34/2=17, Resulting Numbers: [33, 17]
Generated Node #3: [33, 17] from Operation: 34/2=17
Current State: 50:[33, 17], Operations: ['98-64=34', '34/2=17']
Exploring Operation: 33+17=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[98, 2, 64, 33], Operations: []
Exploring Operation: 64-33=31, Resulting Numbers: [98, 2, 31]
Generated Node #0,0: 50:[98, 2, 31] Operation: 64-33=31
Exploring Operation: 98/2=49, Resulting Numbers: [64, 33, 49]
Generated Node #0,1: 50:[64, 33, 49] Operation: 98/2=49
Exploring Operation: 98-64=34, Resulting Numbers: [2, 33, 34]
Generated Node #0,2: 50:[2, 33, 34] Operation: 98-64=34
Exploring Operation: 98-33=65, Resulting Numbers: [2, 64, 65]
Generated Node #0,3: 50:[2, 64, 65] Operation: 98-33=65
Exploring Operation: 64/2=32, Resulting Numbers: [98, 33, 32]
Generated Node #0,4: 50:[98, 33, 32] Operation: 64/2=32
Moving to Node #0,2
Current State: 50:[2, 33, 34], Operations: ['98-64=34']
Exploring Operation: 33-2=31, Resulting Numbers: [34, 31]
Generated Node #0,2,0: 50:[34, 31] Operation: 33-2=31
Exploring Operation: 33+34=67, Resulting Numbers: [2, 67]
Generated Node #0,2,1: 50:[2, 67] Operation: 33+34=67
Exploring Operation: 34/2=17, Resulting Numbers: [33, 17]
Generated Node #0,2,2: 50:[33, 17] Operation: 34/2=17
Exploring Operation: 34-2=32, Resulting Numbers: [33, 32]
Generated Node #0,2,3: 50:[33, 32] Operation: 34-2=32
Exploring Operation: 34-33=1, Resulting Numbers: [2, 1]
Generated Node #0,2,4: 50:[2, 1] Operation: 34-33=1
Moving to Node #0,1
Current State: 50:[64, 33, 49], Operations: ['98/2=49']
Exploring Operation: 64-49=15, Resulting Numbers: [33, 15]
Generated Node #0,1,0: 50:[33, 15] Operation: 64-49=15
Exploring Operation: 33+49=82, Resulting Numbers: [64, 82]
Generated Node #0,1,1: 50:[64, 82] Operation: 33+49=82
Exploring Operation: 64+33=97, Resulting Numbers: [49, 97]
Generated Node #0,1,2: 50:[49, 97] Operation: 64+33=97
Exploring Operation: 49-33=16, Resulting Numbers: [64, 16]
Generated Node #0,1,3: 50:[64, 16] Operation: 49-33=16
Exploring Operation: 64-33=31, Resulting Numbers: [49, 31]
Generated Node #0,1,4: 50:[49, 31] Operation: 64-33=31
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 50:[49, 31], Operations: ['98/2=49', '64-33=31']
Exploring Operation: 49*31=1519, Resulting Numbers: [1519]
1519,50 unequal: No Solution
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,50 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,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:[33, 15], Operations: ['98/2=49', '64-49=15']
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,50 unequal: No Solution
Exploring Operation: 33+15=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Exploring Operation: 33*15=495, Resulting Numbers: [495]
495,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,3
Current State: 50:[64, 16], Operations: ['98/2=49', '49-33=16']
Exploring Operation: 64*16=1024, Resulting Numbers: [1024]
1024,50 unequal: No Solution
Exploring Operation: 64+16=80, Resulting Numbers: [80]
80,50 unequal: No Solution
Exploring Operation: 64/16=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 64-16=48, Resulting Numbers: [48]
48,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,1
Current State: 50:[64, 82], Operations: ['98/2=49', '33+49=82']
Exploring Operation: 64*82=5248, Resulting Numbers: [5248]
5248,50 unequal: No Solution
Exploring Operation: 64+82=146, Resulting Numbers: [146]
146,50 unequal: No Solution
Exploring Operation: 82-64=18, Resulting Numbers: [18]
18,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:[49, 97], Operations: ['98/2=49', '64+33=97']
Exploring Operation: 49*97=4753, Resulting Numbers: [4753]
4753,50 unequal: No Solution
Exploring Operation: 49+97=146, Resulting Numbers: [146]
146,50 unequal: No Solution
Exploring Operation: 97-49=48, Resulting Numbers: [48]
48,50 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: 50:[2, 64, 65], Operations: ['98-33=65']
Exploring Operation: 2+64=66, Resulting Numbers: [65, 66]
Generated Node #0,3,0: 50:[65, 66] Operation: 2+64=66
Exploring Operation: 65-2=63, Resulting Numbers: [64, 63]
Generated Node #0,3,1: 50:[64, 63] Operation: 65-2=63
Exploring Operation: 65-64=1, Resulting Numbers: [2, 1]
Generated Node #0,3,2: 50:[2, 1] Operation: 65-64=1
Exploring Operation: 64-2=62, Resulting Numbers: [65, 62]
Generated Node #0,3,3: 50:[65, 62] Operation: 64-2=62
Exploring Operation: 64/2=32, Resulting Numbers: [65, 32]
Generated Node #0,3,4: 50:[65, 32] Operation: 64/2=32
Moving to Node #0,0
Current State: 50:[98, 2, 31], Operations: ['64-33=31']
Exploring Operation: 98/2=49, Resulting Numbers: [31, 49]
Generated Node #0,0,0: 50:[31, 49] Operation: 98/2=49
Exploring Operation: 31-2=29, Resulting Numbers: [98, 29]
Generated Node #0,0,1: 50:[98, 29] Operation: 31-2=29
Exploring Operation: 98+2=100, Resulting Numbers: [31, 100]
Generated Node #0,0,2: 50:[31, 100] Operation: 98+2=100
Exploring Operation: 98-31=67, Resulting Numbers: [2, 67]
Generated Node #0,0,3: 50:[2, 67] Operation: 98-31=67
Exploring Operation: 98-2=96, Resulting Numbers: [31, 96]
Generated Node #0,0,4: 50:[31, 96] Operation: 98-2=96
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[31, 49], Operations: ['64-33=31', '98/2=49']
Exploring Operation: 31*49=1519, Resulting Numbers: [1519]
1519,50 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,50 unequal: No Solution
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,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,0,3
Current State: 50:[2, 67], Operations: ['64-33=31', '98-31=67']
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,50 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,50 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,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,0,1
Current State: 50:[98, 29], Operations: ['64-33=31', '31-2=29']
Exploring Operation: 98*29=2842, Resulting Numbers: [2842]
2842,50 unequal: No Solution
Exploring Operation: 98-29=69, Resulting Numbers: [69]
69,50 unequal: No Solution
Exploring Operation: 98+29=127, Resulting Numbers: [127]
127,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,0,4
Current State: 50:[31, 96], Operations: ['64-33=31', '98-2=96']
Exploring Operation: 31*96=2976, Resulting Numbers: [2976]
2976,50 unequal: No Solution
Exploring Operation: 31+96=127, Resulting Numbers: [127]
127,50 unequal: No Solution
Exploring Operation: 96-31=65, Resulting Numbers: [65]
65,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,0,2
Current State: 50:[31, 100], Operations: ['64-33=31', '98+2=100']
Exploring Operation: 31*100=3100, Resulting Numbers: [3100]
3100,50 unequal: No Solution
Exploring Operation: 31+100=131, Resulting Numbers: [131]
131,50 unequal: No Solution
Exploring Operation: 100-31=69, Resulting Numbers: [69]
69,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 50:[98, 33, 32], Operations: ['64/2=32']
Exploring Operation: 98+33=131, Resulting Numbers: [32, 131]
Generated Node #0,4,0: 50:[32, 131] Operation: 98+33=131
Exploring Operation: 33+32=65, Resulting Numbers: [98, 65]
Generated Node #0,4,1: 50:[98, 65] Operation: 33+32=65
Exploring Operation: 98-33=65, Resulting Numbers: [32, 65]
Generated Node #0,4,2: 50:[32, 65] Operation: 98-33=65
Exploring Operation: 33-32=1, Resulting Numbers: [98, 1]
Generated Node #0,4,3: 50:[98, 1] Operation: 33-32=1
Exploring Operation: 98-32=66, Resulting Numbers: [33, 66]
Generated Node #0,4,4: 50:[33, 66] Operation: 98-32=66
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 50:[32, 65], Operations: ['64/2=32', '98-33=65']
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 32*65=2080, Resulting Numbers: [2080]
2080,50 unequal: No Solution
Exploring Operation: 32+65=97, Resulting Numbers: [97]
97,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,4,4
Current State: 50:[33, 66], Operations: ['64/2=32', '98-32=66']
Exploring Operation: 33*66=2178, Resulting Numbers: [2178]
2178,50 unequal: No Solution
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 33+66=99, Resulting Numbers: [99]
99,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,4,3
Current State: 50:[98, 1], Operations: ['64/2=32', '33-32=1']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,50 unequal: No Solution
Exploring Operation: 98+1=99, Resulting Numbers: [99]
99,50 unequal: No Solution
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,50 unequal: No Solution
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,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,4,1
Current State: 50:[98, 65], Operations: ['64/2=32', '33+32=65']
Exploring Operation: 98-65=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 98+65=163, Resulting Numbers: [163]
163,50 unequal: No Solution
Exploring Operation: 98*65=6370, Resulting Numbers: [6370]
6370,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,4,0
Current State: 50:[32, 131], Operations: ['64/2=32', '98+33=131']
Exploring Operation: 32*131=4192, Resulting Numbers: [4192]
4192,50 unequal: No Solution
Exploring Operation: 131-32=99, Resulting Numbers: [99]
99,50 unequal: No Solution
Exploring Operation: 32+131=163, Resulting Numbers: [163]
163,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,4
Current State: 50:[2, 1], Operations: ['98-64=34', '34-33=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Moving to Node #0,3,2
Current State: 50:[2, 1], Operations: ['98-33=65', '65-64=1']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[33, 17], Operations: ['98-64=34', '34/2=17']
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 33*17=561, Resulting Numbers: [561]
561,50 unequal: No Solution
Exploring Operation: 33+17=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[98, 2, 64, 33], Operations: []
Exploring Operation: 98-64=34, Resulting Numbers: [2, 33, 34]
Generated Node #0,2: 50:[2, 33, 34] Operation: 98-64=34
Moving to Node #0,2
Current State: 50:[2, 33, 34], Operations: ['98-64=34']
Exploring Operation: 34/2=17, Resulting Numbers: [33, 17]
Generated Node #0,2,2: 50:[33, 17] Operation: 34/2=17
Moving to Node #0,2,2
Current State: 50:[33, 17], Operations: ['98-64=34', '34/2=17']
Exploring Operation: 33+17=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.919271 | hs_5 | sum_heuristic |
[
73,
70,
25,
17
] | 24 | [
"73-70=3",
"25-17=8",
"3*8=24"
] | Current State: 24:[73, 70, 25, 17], Operations: []
Exploring Operation: 73-70=3, Resulting Numbers: [25, 17, 3]
Generated Node #2: [25, 17, 3] from Operation: 73-70=3
Current State: 24:[25, 17, 3], Operations: ['73-70=3']
Exploring Operation: 25-17=8, Resulting Numbers: [3, 8]
Generated Node #3: [3, 8] from Operation: 25-17=8
Current State: 24:[3, 8], Operations: ['73-70=3', '25-17=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[73, 70, 25, 17], Operations: []
Exploring Operation: 70-25=45, Resulting Numbers: [73, 17, 45]
Generated Node #0,0: 24:[73, 17, 45] Operation: 70-25=45
Exploring Operation: 73-70=3, Resulting Numbers: [25, 17, 3]
Generated Node #0,1: 24:[25, 17, 3] Operation: 73-70=3
Exploring Operation: 73-17=56, Resulting Numbers: [70, 25, 56]
Generated Node #0,2: 24:[70, 25, 56] Operation: 73-17=56
Exploring Operation: 73-25=48, Resulting Numbers: [70, 17, 48]
Generated Node #0,3: 24:[70, 17, 48] Operation: 73-25=48
Moving to Node #0,1
Current State: 24:[25, 17, 3], Operations: ['73-70=3']
Exploring Operation: 25-3=22, Resulting Numbers: [17, 22]
Generated Node #0,1,0: 24:[17, 22] Operation: 25-3=22
Exploring Operation: 25-17=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 24:[3, 8] Operation: 25-17=8
Exploring Operation: 17+3=20, Resulting Numbers: [25, 20]
Generated Node #0,1,2: 24:[25, 20] Operation: 17+3=20
Exploring Operation: 17-3=14, Resulting Numbers: [25, 14]
Generated Node #0,1,3: 24:[25, 14] Operation: 17-3=14
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[3, 8], Operations: ['73-70=3', '25-17=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,24 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[73, 70, 25, 17], Operations: []
Exploring Operation: 73-70=3, Resulting Numbers: [25, 17, 3]
Generated Node #0,1: 24:[25, 17, 3] Operation: 73-70=3
Moving to Node #0,1
Current State: 24:[25, 17, 3], Operations: ['73-70=3']
Exploring Operation: 25-17=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 24:[3, 8] Operation: 25-17=8
Moving to Node #0,1,1
Current State: 24:[3, 8], Operations: ['73-70=3', '25-17=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
70,
5,
97,
46
] | 24 | [
"70+5=75",
"97-46=51",
"75-51=24"
] | Current State: 24:[70, 5, 97, 46], Operations: []
Exploring Operation: 70+5=75, Resulting Numbers: [97, 46, 75]
Generated Node #2: [97, 46, 75] from Operation: 70+5=75
Current State: 24:[97, 46, 75], Operations: ['70+5=75']
Exploring Operation: 97-46=51, Resulting Numbers: [75, 51]
Generated Node #3: [75, 51] from Operation: 97-46=51
Current State: 24:[75, 51], Operations: ['70+5=75', '97-46=51']
Exploring Operation: 75-51=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[70, 5, 97, 46], Operations: []
Exploring Operation: 97-70=27, Resulting Numbers: [5, 46, 27]
Generated Node #0,0: 24:[5, 46, 27] Operation: 97-70=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[5, 46, 27], Operations: ['97-70=27']
Exploring Operation: 46-27=19, Resulting Numbers: [5, 19]
Generated Node #0,0,0: 24:[5, 19] Operation: 46-27=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[5, 19], Operations: ['97-70=27', '46-27=19']
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[70, 5, 97, 46], Operations: []
Exploring Operation: 97-70=27, Resulting Numbers: [5, 46, 27]
Generated Node #0,0: 24:[5, 46, 27] Operation: 97-70=27
Moving to Node #0,0
Current State: 24:[5, 46, 27], Operations: ['97-70=27']
Exploring Operation: 46-27=19, Resulting Numbers: [5, 19]
Generated Node #0,0,0: 24:[5, 19] Operation: 46-27=19
Moving to Node #0,0,0
Current State: 24:[5, 19], Operations: ['97-70=27', '46-27=19']
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
24,
61,
73,
2
] | 91 | [
"61+73=134",
"134/2=67",
"24+67=91"
] | Current State: 91:[24, 61, 73, 2], Operations: []
Exploring Operation: 61+73=134, Resulting Numbers: [24, 2, 134]
Generated Node #2: [24, 2, 134] from Operation: 61+73=134
Current State: 91:[24, 2, 134], Operations: ['61+73=134']
Exploring Operation: 134/2=67, Resulting Numbers: [24, 67]
Generated Node #3: [24, 67] from Operation: 134/2=67
Current State: 91:[24, 67], Operations: ['61+73=134', '134/2=67']
Exploring Operation: 24+67=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[24, 61, 73, 2], Operations: []
Exploring Operation: 73-61=12, Resulting Numbers: [24, 2, 12]
Generated Node #0,0: 91:[24, 2, 12] Operation: 73-61=12
Moving to Node #0,0
Current State: 91:[24, 2, 12], Operations: ['73-61=12']
Exploring Operation: 24/2=12, Resulting Numbers: [12, 12]
Generated Node #0,0,0: 91:[12, 12] Operation: 24/2=12
Moving to Node #0,0,0
Current State: 91:[12, 12], Operations: ['73-61=12', '24/2=12']
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,91 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
92,
20,
11,
92
] | 32 | [
"92/92=1",
"20+11=31",
"1+31=32"
] | Current State: 32:[92, 20, 11, 92], Operations: []
Exploring Operation: 92/92=1, Resulting Numbers: [20, 11, 1]
Generated Node #2: [20, 11, 1] from Operation: 92/92=1
Current State: 32:[20, 11, 1], Operations: ['92/92=1']
Exploring Operation: 20+11=31, Resulting Numbers: [1, 31]
Generated Node #3: [1, 31] from Operation: 20+11=31
Current State: 32:[1, 31], Operations: ['92/92=1', '20+11=31']
Exploring Operation: 1+31=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[92, 20, 11, 92], Operations: []
Exploring Operation: 92/92=1, Resulting Numbers: [20, 11, 1]
Generated Node #0,0: 32:[20, 11, 1] Operation: 92/92=1
Moving to Node #0,0
Current State: 32:[20, 11, 1], Operations: ['92/92=1']
Exploring Operation: 20+11=31, Resulting Numbers: [1, 31]
Generated Node #0,0,0: 32:[1, 31] Operation: 20+11=31
Moving to Node #0,0,0
Current State: 32:[1, 31], Operations: ['92/92=1', '20+11=31']
Exploring Operation: 1+31=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[92, 20, 11, 92], Operations: []
Exploring Operation: 92/92=1, Resulting Numbers: [20, 11, 1]
Generated Node #0,0: 32:[20, 11, 1] Operation: 92/92=1
Moving to Node #0,0
Current State: 32:[20, 11, 1], Operations: ['92/92=1']
Exploring Operation: 20+11=31, Resulting Numbers: [1, 31]
Generated Node #0,0,0: 32:[1, 31] Operation: 20+11=31
Moving to Node #0,0,0
Current State: 32:[1, 31], Operations: ['92/92=1', '20+11=31']
Exploring Operation: 1+31=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
92,
3,
63,
62
] | 88 | [
"92-3=89",
"63-62=1",
"89-1=88"
] | Current State: 88:[92, 3, 63, 62], Operations: []
Exploring Operation: 92-3=89, Resulting Numbers: [63, 62, 89]
Generated Node #2: [63, 62, 89] from Operation: 92-3=89
Current State: 88:[63, 62, 89], Operations: ['92-3=89']
Exploring Operation: 63-62=1, Resulting Numbers: [89, 1]
Generated Node #3: [89, 1] from Operation: 63-62=1
Current State: 88:[89, 1], Operations: ['92-3=89', '63-62=1']
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[92, 3, 63, 62], Operations: []
Exploring Operation: 92-63=29, Resulting Numbers: [3, 62, 29]
Generated Node #0,0: 88:[3, 62, 29] Operation: 92-63=29
Exploring Operation: 63/3=21, Resulting Numbers: [92, 62, 21]
Generated Node #0,1: 88:[92, 62, 21] Operation: 63/3=21
Exploring Operation: 63-62=1, Resulting Numbers: [92, 3, 1]
Generated Node #0,2: 88:[92, 3, 1] Operation: 63-62=1
Exploring Operation: 92-62=30, Resulting Numbers: [3, 63, 30]
Generated Node #0,3: 88:[3, 63, 30] Operation: 92-62=30
Exploring Operation: 92-3=89, Resulting Numbers: [63, 62, 89]
Generated Node #0,4: 88:[63, 62, 89] Operation: 92-3=89
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[92, 3, 1], Operations: ['63-62=1']
Exploring Operation: 3+1=4, Resulting Numbers: [92, 4]
Generated Node #0,2,0: 88:[92, 4] Operation: 3+1=4
Exploring Operation: 92-3=89, Resulting Numbers: [1, 89]
Generated Node #0,2,1: 88:[1, 89] Operation: 92-3=89
Exploring Operation: 92-1=91, Resulting Numbers: [3, 91]
Generated Node #0,2,2: 88:[3, 91] Operation: 92-1=91
Exploring Operation: 3-1=2, Resulting Numbers: [92, 2]
Generated Node #0,2,3: 88:[92, 2] Operation: 3-1=2
Exploring Operation: 92*1=92, Resulting Numbers: [3, 92]
Generated Node #0,2,4: 88:[3, 92] Operation: 92*1=92
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 88:[1, 89], Operations: ['63-62=1', '92-3=89']
Exploring Operation: 89/1=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[92, 3, 63, 62], Operations: []
Exploring Operation: 63-62=1, Resulting Numbers: [92, 3, 1]
Generated Node #0,2: 88:[92, 3, 1] Operation: 63-62=1
Moving to Node #0,2
Current State: 88:[92, 3, 1], Operations: ['63-62=1']
Exploring Operation: 92-3=89, Resulting Numbers: [1, 89]
Generated Node #0,2,1: 88:[1, 89] Operation: 92-3=89
Moving to Node #0,2,1
Current State: 88:[1, 89], Operations: ['63-62=1', '92-3=89']
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
77,
4,
4,
60
] | 91 | [
"60-4=56",
"56/4=14",
"77+14=91"
] | Current State: 91:[77, 4, 4, 60], Operations: []
Exploring Operation: 60-4=56, Resulting Numbers: [77, 56]
Generated Node #2: [77, 56] from Operation: 60-4=56
Current State: 91:[77, 56], Operations: ['60-4=56']
Exploring Operation: 56/4=14, Resulting Numbers: [77, 14]
Generated Node #3: [77, 14] from Operation: 56/4=14
Current State: 91:[77, 14], Operations: ['60-4=56', '56/4=14']
Exploring Operation: 77+14=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[77, 4, 4, 60], Operations: []
Exploring Operation: 77-60=17, Resulting Numbers: [4, 4, 17]
Generated Node #0,0: 91:[4, 4, 17] Operation: 77-60=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[4, 4, 17], Operations: ['77-60=17']
Exploring Operation: 17-4=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 91:[4, 13] Operation: 17-4=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[4, 13], Operations: ['77-60=17', '17-4=13']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,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_1 | mult_heuristic |
[
85,
36,
77,
20
] | 40 | [
"85*36=3060",
"20+3060=3080",
"3080/77=40"
] | Current State: 40:[85, 36, 77, 20], Operations: []
Exploring Operation: 85*36=3060, Resulting Numbers: [77, 20, 3060]
Generated Node #2: [77, 20, 3060] from Operation: 85*36=3060
Current State: 40:[77, 20, 3060], Operations: ['85*36=3060']
Exploring Operation: 20+3060=3080, Resulting Numbers: [77, 3080]
Generated Node #3: [77, 3080] from Operation: 20+3060=3080
Current State: 40:[77, 3080], Operations: ['85*36=3060', '20+3060=3080']
Exploring Operation: 3080/77=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[85, 36, 77, 20], Operations: []
Exploring Operation: 85-77=8, Resulting Numbers: [36, 20, 8]
Generated Node #0,0: 40:[36, 20, 8] Operation: 85-77=8
Moving to Node #0,0
Current State: 40:[36, 20, 8], Operations: ['85-77=8']
Exploring Operation: 36-20=16, Resulting Numbers: [8, 16]
Generated Node #0,0,0: 40:[8, 16] Operation: 36-20=16
Moving to Node #0,0,0
Current State: 40:[8, 16], Operations: ['85-77=8', '36-20=16']
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,40 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
56,
39,
52,
27
] | 92 | [
"52*27=1404",
"1404/39=36",
"56+36=92"
] | Current State: 92:[56, 39, 52, 27], Operations: []
Exploring Operation: 52*27=1404, Resulting Numbers: [56, 39, 1404]
Generated Node #2: [56, 39, 1404] from Operation: 52*27=1404
Current State: 92:[56, 39, 1404], Operations: ['52*27=1404']
Exploring Operation: 1404/39=36, Resulting Numbers: [56, 36]
Generated Node #3: [56, 36] from Operation: 1404/39=36
Current State: 92:[56, 36], Operations: ['52*27=1404', '1404/39=36']
Exploring Operation: 56+36=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[56, 39, 52, 27], Operations: []
Exploring Operation: 56-52=4, Resulting Numbers: [39, 27, 4]
Generated Node #0,0: 92:[39, 27, 4] Operation: 56-52=4
Moving to Node #0,0
Current State: 92:[39, 27, 4], Operations: ['56-52=4']
Exploring Operation: 39+4=43, Resulting Numbers: [27, 43]
Generated Node #0,0,0: 92:[27, 43] Operation: 39+4=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[27, 43], Operations: ['56-52=4', '39+4=43']
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
87,
70,
94,
24
] | 87 | [
"87+70=157",
"94-24=70",
"157-70=87"
] | Current State: 87:[87, 70, 94, 24], Operations: []
Exploring Operation: 87+70=157, Resulting Numbers: [94, 24, 157]
Generated Node #2: [94, 24, 157] from Operation: 87+70=157
Current State: 87:[94, 24, 157], Operations: ['87+70=157']
Exploring Operation: 94-24=70, Resulting Numbers: [157, 70]
Generated Node #3: [157, 70] from Operation: 94-24=70
Current State: 87:[157, 70], Operations: ['87+70=157', '94-24=70']
Exploring Operation: 157-70=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[87, 70, 94, 24], Operations: []
Exploring Operation: 94-70=24, Resulting Numbers: [87, 24, 24]
Generated Node #0,0: 87:[87, 24, 24] Operation: 94-70=24
Exploring Operation: 87-70=17, Resulting Numbers: [94, 24, 17]
Generated Node #0,1: 87:[94, 24, 17] Operation: 87-70=17
Exploring Operation: 70+24=94, Resulting Numbers: [87, 94, 94]
Generated Node #0,2: 87:[87, 94, 94] Operation: 70+24=94
Exploring Operation: 70-24=46, Resulting Numbers: [87, 94, 46]
Generated Node #0,3: 87:[87, 94, 46] Operation: 70-24=46
Moving to Node #0,0
Current State: 87:[87, 24, 24], Operations: ['94-70=24']
Exploring Operation: 87+24=111, Resulting Numbers: [24, 111]
Generated Node #0,0,0: 87:[24, 111] Operation: 87+24=111
Exploring Operation: 24/24=1, Resulting Numbers: [87, 1]
Generated Node #0,0,1: 87:[87, 1] Operation: 24/24=1
Exploring Operation: 24+24=48, Resulting Numbers: [87, 48]
Generated Node #0,0,2: 87:[87, 48] Operation: 24+24=48
Exploring Operation: 24-24=0, Resulting Numbers: [87, 0]
Generated Node #0,0,3: 87:[87, 0] Operation: 24-24=0
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[87, 1], Operations: ['94-70=24', '24/24=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[87, 70, 94, 24], Operations: []
Exploring Operation: 94-70=24, Resulting Numbers: [87, 24, 24]
Generated Node #0,0: 87:[87, 24, 24] Operation: 94-70=24
Moving to Node #0,0
Current State: 87:[87, 24, 24], Operations: ['94-70=24']
Exploring Operation: 24/24=1, Resulting Numbers: [87, 1]
Generated Node #0,0,1: 87:[87, 1] Operation: 24/24=1
Moving to Node #0,0,1
Current State: 87:[87, 1], Operations: ['94-70=24', '24/24=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
28,
48,
34,
36
] | 14 | [
"34-28=6",
"48+36=84",
"84/6=14"
] | Current State: 14:[28, 48, 34, 36], Operations: []
Exploring Operation: 34-28=6, Resulting Numbers: [48, 36, 6]
Generated Node #2: [48, 36, 6] from Operation: 34-28=6
Current State: 14:[48, 36, 6], Operations: ['34-28=6']
Exploring Operation: 48+36=84, Resulting Numbers: [6, 84]
Generated Node #3: [6, 84] from Operation: 48+36=84
Current State: 14:[6, 84], Operations: ['34-28=6', '48+36=84']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[28, 48, 34, 36], Operations: []
Exploring Operation: 48-28=20, Resulting Numbers: [34, 36, 20]
Generated Node #0,0: 14:[34, 36, 20] Operation: 48-28=20
Exploring Operation: 48-36=12, Resulting Numbers: [28, 34, 12]
Generated Node #0,1: 14:[28, 34, 12] Operation: 48-36=12
Exploring Operation: 48-34=14, Resulting Numbers: [28, 36, 14]
Generated Node #0,2: 14:[28, 36, 14] Operation: 48-34=14
Exploring Operation: 36-34=2, Resulting Numbers: [28, 48, 2]
Generated Node #0,3: 14:[28, 48, 2] Operation: 36-34=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[28, 34, 12], Operations: ['48-36=12']
Exploring Operation: 34-12=22, Resulting Numbers: [28, 22]
Generated Node #0,1,0: 14:[28, 22] Operation: 34-12=22
Exploring Operation: 28-12=16, Resulting Numbers: [34, 16]
Generated Node #0,1,1: 14:[34, 16] Operation: 28-12=16
Exploring Operation: 34-28=6, Resulting Numbers: [12, 6]
Generated Node #0,1,2: 14:[12, 6] Operation: 34-28=6
Exploring Operation: 28+12=40, Resulting Numbers: [34, 40]
Generated Node #0,1,3: 14:[34, 40] Operation: 28+12=40
Moving to Node #0,1,2
Current State: 14:[12, 6], Operations: ['48-36=12', '34-28=6']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,14 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[34, 16], Operations: ['48-36=12', '28-12=16']
Exploring Operation: 34*16=544, Resulting Numbers: [544]
544,14 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,14 unequal: No Solution
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[28, 22], Operations: ['48-36=12', '34-12=22']
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,14 unequal: No Solution
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,14 unequal: No Solution
Moving to Node #0,1,3
Current State: 14:[34, 40], Operations: ['48-36=12', '28+12=40']
Exploring Operation: 34*40=1360, Resulting Numbers: [1360]
1360,14 unequal: No Solution
Exploring Operation: 34+40=74, Resulting Numbers: [74]
74,14 unequal: No Solution
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[28, 36, 14], Operations: ['48-34=14']
Exploring Operation: 36-14=22, Resulting Numbers: [28, 22]
Generated Node #0,2,0: 14:[28, 22] Operation: 36-14=22
Exploring Operation: 28/14=2, Resulting Numbers: [36, 2]
Generated Node #0,2,1: 14:[36, 2] Operation: 28/14=2
Exploring Operation: 36-28=8, Resulting Numbers: [14, 8]
Generated Node #0,2,2: 14:[14, 8] Operation: 36-28=8
Exploring Operation: 28-14=14, Resulting Numbers: [36, 14]
Generated Node #0,2,3: 14:[36, 14] Operation: 28-14=14
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 14:[14, 8], Operations: ['48-34=14', '36-28=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,14 unequal: No Solution
Exploring Operation: 14*8=112, Resulting Numbers: [112]
112,14 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 14:[28, 22], Operations: ['48-34=14', '36-14=22']
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,14 unequal: No Solution
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,14 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 14:[36, 2], Operations: ['48-34=14', '28/14=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,14 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,14 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,14 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 14:[36, 14], Operations: ['48-34=14', '28-14=14']
Exploring Operation: 36*14=504, Resulting Numbers: [504]
504,14 unequal: No Solution
Exploring Operation: 36+14=50, Resulting Numbers: [50]
50,14 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[34, 36, 20], Operations: ['48-28=20']
Exploring Operation: 34-20=14, Resulting Numbers: [36, 14]
Generated Node #0,0,0: 14:[36, 14] Operation: 34-20=14
Exploring Operation: 34+36=70, Resulting Numbers: [20, 70]
Generated Node #0,0,1: 14:[20, 70] Operation: 34+36=70
Exploring Operation: 36-34=2, Resulting Numbers: [20, 2]
Generated Node #0,0,2: 14:[20, 2] Operation: 36-34=2
Exploring Operation: 36-20=16, Resulting Numbers: [34, 16]
Generated Node #0,0,3: 14:[34, 16] Operation: 36-20=16
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 14:[20, 2], Operations: ['48-28=20', '36-34=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,14 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,14 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[36, 14], Operations: ['48-28=20', '34-20=14']
Exploring Operation: 36+14=50, Resulting Numbers: [50]
50,14 unequal: No Solution
Exploring Operation: 36*14=504, Resulting Numbers: [504]
504,14 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 14:[34, 16], Operations: ['48-28=20', '36-20=16']
Exploring Operation: 34*16=544, Resulting Numbers: [544]
544,14 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,14 unequal: No Solution
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 14:[20, 70], Operations: ['48-28=20', '34+36=70']
Exploring Operation: 20+70=90, Resulting Numbers: [90]
90,14 unequal: No Solution
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,14 unequal: No Solution
Exploring Operation: 20*70=1400, Resulting Numbers: [1400]
1400,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[28, 48, 2], Operations: ['36-34=2']
Exploring Operation: 28-2=26, Resulting Numbers: [48, 26]
Generated Node #0,3,0: 14:[48, 26] Operation: 28-2=26
Exploring Operation: 48-28=20, Resulting Numbers: [2, 20]
Generated Node #0,3,1: 14:[2, 20] Operation: 48-28=20
Exploring Operation: 28/2=14, Resulting Numbers: [48, 14]
Generated Node #0,3,2: 14:[48, 14] Operation: 28/2=14
Exploring Operation: 48/2=24, Resulting Numbers: [28, 24]
Generated Node #0,3,3: 14:[28, 24] Operation: 48/2=24
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 14:[2, 20], Operations: ['36-34=2', '48-28=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,14 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,14 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 14:[28, 24], Operations: ['36-34=2', '48/2=24']
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,14 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 14:[48, 14], Operations: ['36-34=2', '28/2=14']
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,14 unequal: No Solution
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 14:[48, 26], Operations: ['36-34=2', '28-2=26']
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,14 unequal: No Solution
Exploring Operation: 48+26=74, Resulting Numbers: [74]
74,14 unequal: No Solution
Exploring Operation: 48*26=1248, Resulting Numbers: [1248]
1248,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
72,
7,
67,
83
] | 63 | [
"72+7=79",
"83-67=16",
"79-16=63"
] | Current State: 63:[72, 7, 67, 83], Operations: []
Exploring Operation: 72+7=79, Resulting Numbers: [67, 83, 79]
Generated Node #2: [67, 83, 79] from Operation: 72+7=79
Current State: 63:[67, 83, 79], Operations: ['72+7=79']
Exploring Operation: 83-67=16, Resulting Numbers: [79, 16]
Generated Node #3: [79, 16] from Operation: 83-67=16
Current State: 63:[79, 16], Operations: ['72+7=79', '83-67=16']
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[72, 7, 67, 83], Operations: []
Exploring Operation: 83-67=16, Resulting Numbers: [72, 7, 16]
Generated Node #0,0: 63:[72, 7, 16] Operation: 83-67=16
Exploring Operation: 72-67=5, Resulting Numbers: [7, 83, 5]
Generated Node #0,1: 63:[7, 83, 5] Operation: 72-67=5
Exploring Operation: 72-7=65, Resulting Numbers: [67, 83, 65]
Generated Node #0,2: 63:[67, 83, 65] Operation: 72-7=65
Exploring Operation: 83-72=11, Resulting Numbers: [7, 67, 11]
Generated Node #0,3: 63:[7, 67, 11] Operation: 83-72=11
Start Sub Search at level 1: Moving to Node #0,3
Current State: 63:[7, 67, 11], Operations: ['83-72=11']
Exploring Operation: 67-7=60, Resulting Numbers: [11, 60]
Generated Node #0,3,0: 63:[11, 60] Operation: 67-7=60
Exploring Operation: 7+11=18, Resulting Numbers: [67, 18]
Generated Node #0,3,1: 63:[67, 18] Operation: 7+11=18
Exploring Operation: 67-11=56, Resulting Numbers: [7, 56]
Generated Node #0,3,2: 63:[7, 56] Operation: 67-11=56
Exploring Operation: 11-7=4, Resulting Numbers: [67, 4]
Generated Node #0,3,3: 63:[67, 4] Operation: 11-7=4
Moving to Node #0,3,0
Current State: 63:[11, 60], Operations: ['83-72=11', '67-7=60']
Exploring Operation: 11*60=660, Resulting Numbers: [660]
660,63 unequal: No Solution
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Exploring Operation: 11+60=71, Resulting Numbers: [71]
71,63 unequal: No Solution
Moving to Node #0,3,3
Current State: 63:[67, 4], Operations: ['83-72=11', '11-7=4']
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,63 unequal: No Solution
Exploring Operation: 67*4=268, Resulting Numbers: [268]
268,63 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[72, 7, 67, 83], Operations: []
Exploring Operation: 83-72=11, Resulting Numbers: [7, 67, 11]
Generated Node #0,3: 63:[7, 67, 11] Operation: 83-72=11
Moving to Node #0,3
Current State: 63:[7, 67, 11], Operations: ['83-72=11']
Exploring Operation: 11-7=4, Resulting Numbers: [67, 4]
Generated Node #0,3,3: 63:[67, 4] Operation: 11-7=4
Moving to Node #0,3,3
Current State: 63:[67, 4], Operations: ['83-72=11', '11-7=4']
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
14,
50,
18,
32
] | 51 | [
"14+18=32",
"32/32=1",
"50+1=51"
] | Current State: 51:[14, 50, 18, 32], Operations: []
Exploring Operation: 14+18=32, Resulting Numbers: [50, 32, 32]
Generated Node #2: [50, 32, 32] from Operation: 14+18=32
Current State: 51:[50, 32, 32], Operations: ['14+18=32']
Exploring Operation: 32/32=1, Resulting Numbers: [50, 1]
Generated Node #3: [50, 1] from Operation: 32/32=1
Current State: 51:[50, 1], Operations: ['14+18=32', '32/32=1']
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[14, 50, 18, 32], Operations: []
Exploring Operation: 32-14=18, Resulting Numbers: [50, 18, 18]
Generated Node #0,0: 51:[50, 18, 18] Operation: 32-14=18
Exploring Operation: 18+32=50, Resulting Numbers: [14, 50, 50]
Generated Node #0,1: 51:[14, 50, 50] Operation: 18+32=50
Exploring Operation: 14+32=46, Resulting Numbers: [50, 18, 46]
Generated Node #0,2: 51:[50, 18, 46] Operation: 14+32=46
Exploring Operation: 50-32=18, Resulting Numbers: [14, 18, 18]
Generated Node #0,3: 51:[14, 18, 18] Operation: 50-32=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[50, 18, 18], Operations: ['32-14=18']
Exploring Operation: 50-18=32, Resulting Numbers: [18, 32]
Generated Node #0,0,0: 51:[18, 32] Operation: 50-18=32
Exploring Operation: 50-18=32, Resulting Numbers: [18, 32]
Generated Node #0,0,1: 51:[18, 32] Operation: 50-18=32
Exploring Operation: 18-18=0, Resulting Numbers: [50, 0]
Generated Node #0,0,2: 51:[50, 0] Operation: 18-18=0
Exploring Operation: 18/18=1, Resulting Numbers: [50, 1]
Generated Node #0,0,3: 51:[50, 1] Operation: 18/18=1
Moving to Node #0,0,3
Current State: 51:[50, 1], Operations: ['32-14=18', '18/18=1']
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[14, 50, 18, 32], Operations: []
Exploring Operation: 32-14=18, Resulting Numbers: [50, 18, 18]
Generated Node #0,0: 51:[50, 18, 18] Operation: 32-14=18
Moving to Node #0,0
Current State: 51:[50, 18, 18], Operations: ['32-14=18']
Exploring Operation: 18/18=1, Resulting Numbers: [50, 1]
Generated Node #0,0,3: 51:[50, 1] Operation: 18/18=1
Moving to Node #0,0,3
Current State: 51:[50, 1], Operations: ['32-14=18', '18/18=1']
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
2,
79,
96,
15
] | 13 | [
"2*15=30",
"96-79=17",
"30-17=13"
] | Current State: 13:[2, 79, 96, 15], Operations: []
Exploring Operation: 2*15=30, Resulting Numbers: [79, 96, 30]
Generated Node #2: [79, 96, 30] from Operation: 2*15=30
Current State: 13:[79, 96, 30], Operations: ['2*15=30']
Exploring Operation: 96-79=17, Resulting Numbers: [30, 17]
Generated Node #3: [30, 17] from Operation: 96-79=17
Current State: 13:[30, 17], Operations: ['2*15=30', '96-79=17']
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[2, 79, 96, 15], Operations: []
Exploring Operation: 79-15=64, Resulting Numbers: [2, 96, 64]
Generated Node #0,0: 13:[2, 96, 64] Operation: 79-15=64
Exploring Operation: 96/2=48, Resulting Numbers: [79, 15, 48]
Generated Node #0,1: 13:[79, 15, 48] Operation: 96/2=48
Exploring Operation: 96-15=81, Resulting Numbers: [2, 79, 81]
Generated Node #0,2: 13:[2, 79, 81] Operation: 96-15=81
Exploring Operation: 96-79=17, Resulting Numbers: [2, 15, 17]
Generated Node #0,3: 13:[2, 15, 17] Operation: 96-79=17
Moving to Node #0,3
Current State: 13:[2, 15, 17], Operations: ['96-79=17']
Exploring Operation: 15-2=13, Resulting Numbers: [17, 13]
Generated Node #0,3,0: 13:[17, 13] Operation: 15-2=13
Exploring Operation: 2+17=19, Resulting Numbers: [15, 19]
Generated Node #0,3,1: 13:[15, 19] Operation: 2+17=19
Exploring Operation: 17-2=15, Resulting Numbers: [15, 15]
Generated Node #0,3,2: 13:[15, 15] Operation: 17-2=15
Exploring Operation: 2+15=17, Resulting Numbers: [17, 17]
Generated Node #0,3,3: 13:[17, 17] Operation: 2+15=17
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 13:[17, 13], Operations: ['96-79=17', '15-2=13']
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,13 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 13:[15, 15], Operations: ['96-79=17', '17-2=15']
Exploring Operation: 15*15=225, Resulting Numbers: [225]
225,13 unequal: No Solution
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Exploring Operation: 15-15=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 13:[15, 19], Operations: ['96-79=17', '2+17=19']
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,13 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 13:[17, 17], Operations: ['96-79=17', '2+15=17']
Exploring Operation: 17+17=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 17/17=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 17-17=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Exploring Operation: 17*17=289, Resulting Numbers: [289]
289,13 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: 13:[79, 15, 48], Operations: ['96/2=48']
Exploring Operation: 48-15=33, Resulting Numbers: [79, 33]
Generated Node #0,1,0: 13:[79, 33] Operation: 48-15=33
Exploring Operation: 79+15=94, Resulting Numbers: [48, 94]
Generated Node #0,1,1: 13:[48, 94] Operation: 79+15=94
Exploring Operation: 79-48=31, Resulting Numbers: [15, 31]
Generated Node #0,1,2: 13:[15, 31] Operation: 79-48=31
Exploring Operation: 79-15=64, Resulting Numbers: [48, 64]
Generated Node #0,1,3: 13:[48, 64] Operation: 79-15=64
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 13:[15, 31], Operations: ['96/2=48', '79-48=31']
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,13 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[79, 33], Operations: ['96/2=48', '48-15=33']
Exploring Operation: 79*33=2607, Resulting Numbers: [2607]
2607,13 unequal: No Solution
Exploring Operation: 79-33=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 79+33=112, Resulting Numbers: [112]
112,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 13:[48, 64], Operations: ['96/2=48', '79-15=64']
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 48*64=3072, Resulting Numbers: [3072]
3072,13 unequal: No Solution
Exploring Operation: 48+64=112, Resulting Numbers: [112]
112,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[48, 94], Operations: ['96/2=48', '79+15=94']
Exploring Operation: 94-48=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 48+94=142, Resulting Numbers: [142]
142,13 unequal: No Solution
Exploring Operation: 48*94=4512, Resulting Numbers: [4512]
4512,13 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: 13:[2, 79, 81], Operations: ['96-15=81']
Exploring Operation: 2+79=81, Resulting Numbers: [81, 81]
Generated Node #0,2,0: 13:[81, 81] Operation: 2+79=81
Exploring Operation: 81-2=79, Resulting Numbers: [79, 79]
Generated Node #0,2,1: 13:[79, 79] Operation: 81-2=79
Exploring Operation: 81-79=2, Resulting Numbers: [2, 2]
Generated Node #0,2,2: 13:[2, 2] Operation: 81-79=2
Exploring Operation: 79-2=77, Resulting Numbers: [81, 77]
Generated Node #0,2,3: 13:[81, 77] Operation: 79-2=77
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 13:[2, 2], Operations: ['96-15=81', '81-79=2']
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 13:[79, 79], Operations: ['96-15=81', '81-2=79']
Exploring Operation: 79+79=158, Resulting Numbers: [158]
158,13 unequal: No Solution
Exploring Operation: 79-79=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Exploring Operation: 79/79=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 79*79=6241, Resulting Numbers: [6241]
6241,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 13:[81, 77], Operations: ['96-15=81', '79-2=77']
Exploring Operation: 81*77=6237, Resulting Numbers: [6237]
6237,13 unequal: No Solution
Exploring Operation: 81-77=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 81+77=158, Resulting Numbers: [158]
158,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 13:[81, 81], Operations: ['96-15=81', '2+79=81']
Exploring Operation: 81-81=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Exploring Operation: 81+81=162, Resulting Numbers: [162]
162,13 unequal: No Solution
Exploring Operation: 81/81=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 81*81=6561, Resulting Numbers: [6561]
6561,13 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: 13:[2, 96, 64], Operations: ['79-15=64']
Exploring Operation: 96-2=94, Resulting Numbers: [64, 94]
Generated Node #0,0,0: 13:[64, 94] Operation: 96-2=94
Exploring Operation: 96/2=48, Resulting Numbers: [64, 48]
Generated Node #0,0,1: 13:[64, 48] Operation: 96/2=48
Exploring Operation: 96-64=32, Resulting Numbers: [2, 32]
Generated Node #0,0,2: 13:[2, 32] Operation: 96-64=32
Exploring Operation: 64/2=32, Resulting Numbers: [96, 32]
Generated Node #0,0,3: 13:[96, 32] Operation: 64/2=32
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 13:[2, 32], Operations: ['79-15=64', '96-64=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,13 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 13:[64, 48], Operations: ['79-15=64', '96/2=48']
Exploring Operation: 64+48=112, Resulting Numbers: [112]
112,13 unequal: No Solution
Exploring Operation: 64*48=3072, Resulting Numbers: [3072]
3072,13 unequal: No Solution
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 13:[96, 32], Operations: ['79-15=64', '64/2=32']
Exploring Operation: 96-32=64, Resulting Numbers: [64]
64,13 unequal: No Solution
Exploring Operation: 96+32=128, Resulting Numbers: [128]
128,13 unequal: No Solution
Exploring Operation: 96*32=3072, Resulting Numbers: [3072]
3072,13 unequal: No Solution
Exploring Operation: 96/32=3, Resulting Numbers: [3]
3,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[64, 94], Operations: ['79-15=64', '96-2=94']
Exploring Operation: 64*94=6016, Resulting Numbers: [6016]
6016,13 unequal: No Solution
Exploring Operation: 94-64=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Exploring Operation: 64+94=158, Resulting Numbers: [158]
158,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
42,
57,
13,
21
] | 72 | [
"42/21=2",
"57+13=70",
"2+70=72"
] | Current State: 72:[42, 57, 13, 21], Operations: []
Exploring Operation: 42/21=2, Resulting Numbers: [57, 13, 2]
Generated Node #2: [57, 13, 2] from Operation: 42/21=2
Current State: 72:[57, 13, 2], Operations: ['42/21=2']
Exploring Operation: 57+13=70, Resulting Numbers: [2, 70]
Generated Node #3: [2, 70] from Operation: 57+13=70
Current State: 72:[2, 70], Operations: ['42/21=2', '57+13=70']
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[42, 57, 13, 21], Operations: []
Exploring Operation: 57-42=15, Resulting Numbers: [13, 21, 15]
Generated Node #0,0: 72:[13, 21, 15] Operation: 57-42=15
Exploring Operation: 57-21=36, Resulting Numbers: [42, 13, 36]
Generated Node #0,1: 72:[42, 13, 36] Operation: 57-21=36
Exploring Operation: 57+13=70, Resulting Numbers: [42, 21, 70]
Generated Node #0,2: 72:[42, 21, 70] Operation: 57+13=70
Moving to Node #0,0
Current State: 72:[13, 21, 15], Operations: ['57-42=15']
Exploring Operation: 21-13=8, Resulting Numbers: [15, 8]
Generated Node #0,0,0: 72:[15, 8] Operation: 21-13=8
Exploring Operation: 21-15=6, Resulting Numbers: [13, 6]
Generated Node #0,0,1: 72:[13, 6] Operation: 21-15=6
Exploring Operation: 21+15=36, Resulting Numbers: [13, 36]
Generated Node #0,0,2: 72:[13, 36] Operation: 21+15=36
Moving to Node #0,1
Current State: 72:[42, 13, 36], Operations: ['57-21=36']
Exploring Operation: 42-13=29, Resulting Numbers: [36, 29]
Generated Node #0,1,0: 72:[36, 29] Operation: 42-13=29
Exploring Operation: 42+36=78, Resulting Numbers: [13, 78]
Generated Node #0,1,1: 72:[13, 78] Operation: 42+36=78
Exploring Operation: 42-36=6, Resulting Numbers: [13, 6]
Generated Node #0,1,2: 72:[13, 6] Operation: 42-36=6
Moving to Node #0,2
Current State: 72:[42, 21, 70], Operations: ['57+13=70']
Exploring Operation: 70-42=28, Resulting Numbers: [21, 28]
Generated Node #0,2,0: 72:[21, 28] Operation: 70-42=28
Exploring Operation: 42/21=2, Resulting Numbers: [70, 2]
Generated Node #0,2,1: 72:[70, 2] Operation: 42/21=2
Exploring Operation: 42-21=21, Resulting Numbers: [70, 21]
Generated Node #0,2,2: 72:[70, 21] Operation: 42-21=21
Moving to Node #0,0,1
Current State: 72:[13, 6], Operations: ['57-42=15', '21-15=6']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,72 unequal: No Solution
Moving to Node #0,0,2
Current State: 72:[13, 36], Operations: ['57-42=15', '21+15=36']
Exploring Operation: 13*36=468, Resulting Numbers: [468]
468,72 unequal: No Solution
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[13, 6], Operations: ['57-21=36', '42-36=6']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,72 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[70, 2], Operations: ['57+13=70', '42/21=2']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,72 unequal: No Solution
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[42, 57, 13, 21], Operations: []
Exploring Operation: 57+13=70, Resulting Numbers: [42, 21, 70]
Generated Node #0,2: 72:[42, 21, 70] Operation: 57+13=70
Moving to Node #0,2
Current State: 72:[42, 21, 70], Operations: ['57+13=70']
Exploring Operation: 42/21=2, Resulting Numbers: [70, 2]
Generated Node #0,2,1: 72:[70, 2] Operation: 42/21=2
Moving to Node #0,2,1
Current State: 72:[70, 2], Operations: ['57+13=70', '42/21=2']
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
[
13,
74,
54,
48
] | 93 | [
"13+74=87",
"54-48=6",
"87+6=93"
] | Current State: 93:[13, 74, 54, 48], Operations: []
Exploring Operation: 13+74=87, Resulting Numbers: [54, 48, 87]
Generated Node #2: [54, 48, 87] from Operation: 13+74=87
Current State: 93:[54, 48, 87], Operations: ['13+74=87']
Exploring Operation: 54-48=6, Resulting Numbers: [87, 6]
Generated Node #3: [87, 6] from Operation: 54-48=6
Current State: 93:[87, 6], Operations: ['13+74=87', '54-48=6']
Exploring Operation: 87+6=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[13, 74, 54, 48], Operations: []
Exploring Operation: 54-48=6, Resulting Numbers: [13, 74, 6]
Generated Node #0,0: 93:[13, 74, 6] Operation: 54-48=6
Exploring Operation: 74-54=20, Resulting Numbers: [13, 48, 20]
Generated Node #0,1: 93:[13, 48, 20] Operation: 74-54=20
Moving to Node #0,0
Current State: 93:[13, 74, 6], Operations: ['54-48=6']
Exploring Operation: 13-6=7, Resulting Numbers: [74, 7]
Generated Node #0,0,0: 93:[74, 7] Operation: 13-6=7
Exploring Operation: 13+74=87, Resulting Numbers: [6, 87]
Generated Node #0,0,1: 93:[6, 87] Operation: 13+74=87
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[6, 87], Operations: ['54-48=6', '13+74=87']
Exploring Operation: 6+87=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[13, 74, 54, 48], Operations: []
Exploring Operation: 54-48=6, Resulting Numbers: [13, 74, 6]
Generated Node #0,0: 93:[13, 74, 6] Operation: 54-48=6
Moving to Node #0,0
Current State: 93:[13, 74, 6], Operations: ['54-48=6']
Exploring Operation: 13+74=87, Resulting Numbers: [6, 87]
Generated Node #0,0,1: 93:[6, 87] Operation: 13+74=87
Moving to Node #0,0,1
Current State: 93:[6, 87], Operations: ['54-48=6', '13+74=87']
Exploring Operation: 6+87=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
91,
12,
23,
92
] | 93 | [
"91+92=183",
"12*23=276",
"276-183=93"
] | Current State: 93:[91, 12, 23, 92], Operations: []
Exploring Operation: 91+92=183, Resulting Numbers: [12, 23, 183]
Generated Node #2: [12, 23, 183] from Operation: 91+92=183
Current State: 93:[12, 23, 183], Operations: ['91+92=183']
Exploring Operation: 12*23=276, Resulting Numbers: [183, 276]
Generated Node #3: [183, 276] from Operation: 12*23=276
Current State: 93:[183, 276], Operations: ['91+92=183', '12*23=276']
Exploring Operation: 276-183=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[91, 12, 23, 92], Operations: []
Exploring Operation: 23-12=11, Resulting Numbers: [91, 92, 11]
Generated Node #0,0: 93:[91, 92, 11] Operation: 23-12=11
Exploring Operation: 12+23=35, Resulting Numbers: [91, 92, 35]
Generated Node #0,1: 93:[91, 92, 35] Operation: 12+23=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[91, 92, 35], Operations: ['12+23=35']
Exploring Operation: 92-91=1, Resulting Numbers: [35, 1]
Generated Node #0,1,0: 93:[35, 1] Operation: 92-91=1
Exploring Operation: 91-35=56, Resulting Numbers: [92, 56]
Generated Node #0,1,1: 93:[92, 56] Operation: 91-35=56
Moving to Node #0,1,0
Current State: 93:[35, 1], Operations: ['12+23=35', '92-91=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,93 unequal: No Solution
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[92, 56], Operations: ['12+23=35', '91-35=56']
Exploring Operation: 92-56=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 92+56=148, Resulting Numbers: [148]
148,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[91, 92, 11], Operations: ['23-12=11']
Exploring Operation: 91+11=102, Resulting Numbers: [92, 102]
Generated Node #0,0,0: 93:[92, 102] Operation: 91+11=102
Exploring Operation: 92-91=1, Resulting Numbers: [11, 1]
Generated Node #0,0,1: 93:[11, 1] Operation: 92-91=1
Moving to Node #0,0,0
Current State: 93:[92, 102], Operations: ['23-12=11', '91+11=102']
Exploring Operation: 92+102=194, Resulting Numbers: [194]
194,93 unequal: No Solution
Exploring Operation: 102-92=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[11, 1], Operations: ['23-12=11', '92-91=1']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
43,
78,
52,
84
] | 54 | [
"52-43=9",
"84-78=6",
"9*6=54"
] | Current State: 54:[43, 78, 52, 84], Operations: []
Exploring Operation: 52-43=9, Resulting Numbers: [78, 84, 9]
Generated Node #2: [78, 84, 9] from Operation: 52-43=9
Current State: 54:[78, 84, 9], Operations: ['52-43=9']
Exploring Operation: 84-78=6, Resulting Numbers: [9, 6]
Generated Node #3: [9, 6] from Operation: 84-78=6
Current State: 54:[9, 6], Operations: ['52-43=9', '84-78=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[43, 78, 52, 84], Operations: []
Exploring Operation: 84-78=6, Resulting Numbers: [43, 52, 6]
Generated Node #0,0: 54:[43, 52, 6] Operation: 84-78=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[43, 52, 6], Operations: ['84-78=6']
Exploring Operation: 52-43=9, Resulting Numbers: [6, 9]
Generated Node #0,0,0: 54:[6, 9] Operation: 52-43=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[6, 9], Operations: ['84-78=6', '52-43=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[43, 78, 52, 84], Operations: []
Exploring Operation: 84-78=6, Resulting Numbers: [43, 52, 6]
Generated Node #0,0: 54:[43, 52, 6] Operation: 84-78=6
Moving to Node #0,0
Current State: 54:[43, 52, 6], Operations: ['84-78=6']
Exploring Operation: 52-43=9, Resulting Numbers: [6, 9]
Generated Node #0,0,0: 54:[6, 9] Operation: 52-43=9
Moving to Node #0,0,0
Current State: 54:[6, 9], Operations: ['84-78=6', '52-43=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
74,
34,
30,
59
] | 79 | [
"74+34=108",
"59-30=29",
"108-29=79"
] | Current State: 79:[74, 34, 30, 59], Operations: []
Exploring Operation: 74+34=108, Resulting Numbers: [30, 59, 108]
Generated Node #2: [30, 59, 108] from Operation: 74+34=108
Current State: 79:[30, 59, 108], Operations: ['74+34=108']
Exploring Operation: 59-30=29, Resulting Numbers: [108, 29]
Generated Node #3: [108, 29] from Operation: 59-30=29
Current State: 79:[108, 29], Operations: ['74+34=108', '59-30=29']
Exploring Operation: 108-29=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[74, 34, 30, 59], Operations: []
Exploring Operation: 34+30=64, Resulting Numbers: [74, 59, 64]
Generated Node #0,0: 79:[74, 59, 64] Operation: 34+30=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[74, 59, 64], Operations: ['34+30=64']
Exploring Operation: 59+64=123, Resulting Numbers: [74, 123]
Generated Node #0,0,0: 79:[74, 123] Operation: 59+64=123
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[74, 123], Operations: ['34+30=64', '59+64=123']
Exploring Operation: 123-74=49, Resulting Numbers: [49]
49,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
13,
5,
91,
9
] | 17 | [
"13*5=65",
"91-9=82",
"82-65=17"
] | Current State: 17:[13, 5, 91, 9], Operations: []
Exploring Operation: 13*5=65, Resulting Numbers: [91, 9, 65]
Generated Node #2: [91, 9, 65] from Operation: 13*5=65
Current State: 17:[91, 9, 65], Operations: ['13*5=65']
Exploring Operation: 91-9=82, Resulting Numbers: [65, 82]
Generated Node #3: [65, 82] from Operation: 91-9=82
Current State: 17:[65, 82], Operations: ['13*5=65', '91-9=82']
Exploring Operation: 82-65=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[13, 5, 91, 9], Operations: []
Exploring Operation: 91-13=78, Resulting Numbers: [5, 9, 78]
Generated Node #0,0: 17:[5, 9, 78] Operation: 91-13=78
Exploring Operation: 91/13=7, Resulting Numbers: [5, 9, 7]
Generated Node #0,1: 17:[5, 9, 7] Operation: 91/13=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[5, 9, 7], Operations: ['91/13=7']
Exploring Operation: 5+7=12, Resulting Numbers: [9, 12]
Generated Node #0,1,0: 17:[9, 12] Operation: 5+7=12
Exploring Operation: 5+9=14, Resulting Numbers: [7, 14]
Generated Node #0,1,1: 17:[7, 14] Operation: 5+9=14
Moving to Node #0,1,0
Current State: 17:[9, 12], Operations: ['91/13=7', '5+7=12']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[7, 14], Operations: ['91/13=7', '5+9=14']
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,17 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[5, 9, 78], Operations: ['91-13=78']
Exploring Operation: 5+9=14, Resulting Numbers: [78, 14]
Generated Node #0,0,0: 17:[78, 14] Operation: 5+9=14
Exploring Operation: 78-5=73, Resulting Numbers: [9, 73]
Generated Node #0,0,1: 17:[9, 73] Operation: 78-5=73
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[78, 14], Operations: ['91-13=78', '5+9=14']
Exploring Operation: 78+14=92, Resulting Numbers: [92]
92,17 unequal: No Solution
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 17:[9, 73], Operations: ['91-13=78', '78-5=73']
Exploring Operation: 9+73=82, Resulting Numbers: [82]
82,17 unequal: No Solution
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.