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 |
|---|---|---|---|---|---|---|---|---|
[
80,
70,
5,
15
] | 33 | [
"80+70=150",
"15+150=165",
"165/5=33"
] | Current State: 33:[80, 70, 5, 15], Operations: []
Exploring Operation: 80+70=150, Resulting Numbers: [5, 15, 150]
Generated Node #2: [5, 15, 150] from Operation: 80+70=150
Current State: 33:[5, 15, 150], Operations: ['80+70=150']
Exploring Operation: 15+150=165, Resulting Numbers: [5, 165]
Generated Node #3: [5, 165] from Operation: 15+150=165
Current State: 33:[5, 165], Operations: ['80+70=150', '15+150=165']
Exploring Operation: 165/5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[80, 70, 5, 15], Operations: []
Exploring Operation: 80/5=16, Resulting Numbers: [70, 15, 16]
Generated Node #0,0: 33:[70, 15, 16] Operation: 80/5=16
Exploring Operation: 80-70=10, Resulting Numbers: [5, 15, 10]
Generated Node #0,1: 33:[5, 15, 10] Operation: 80-70=10
Exploring Operation: 80-15=65, Resulting Numbers: [70, 5, 65]
Generated Node #0,2: 33:[70, 5, 65] Operation: 80-15=65
Exploring Operation: 70/5=14, Resulting Numbers: [80, 15, 14]
Generated Node #0,3: 33:[80, 15, 14] Operation: 70/5=14
Moving to Node #0,1
Current State: 33:[5, 15, 10], Operations: ['80-70=10']
Exploring Operation: 15-10=5, Resulting Numbers: [5, 5]
Generated Node #0,1,0: 33:[5, 5] Operation: 15-10=5
Exploring Operation: 15/5=3, Resulting Numbers: [10, 3]
Generated Node #0,1,1: 33:[10, 3] Operation: 15/5=3
Exploring Operation: 10/5=2, Resulting Numbers: [15, 2]
Generated Node #0,1,2: 33:[15, 2] Operation: 10/5=2
Exploring Operation: 15-5=10, Resulting Numbers: [10, 10]
Generated Node #0,1,3: 33:[10, 10] Operation: 15-5=10
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[10, 3], Operations: ['80-70=10', '15/5=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 33:[10, 10], Operations: ['80-70=10', '15-5=10']
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,33 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 33:[5, 5], Operations: ['80-70=10', '15-10=5']
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 33:[15, 2], Operations: ['80-70=10', '10/5=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,33 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: 33:[70, 15, 16], Operations: ['80/5=16']
Exploring Operation: 16-15=1, Resulting Numbers: [70, 1]
Generated Node #0,0,0: 33:[70, 1] Operation: 16-15=1
Exploring Operation: 15+16=31, Resulting Numbers: [70, 31]
Generated Node #0,0,1: 33:[70, 31] Operation: 15+16=31
Exploring Operation: 70-15=55, Resulting Numbers: [16, 55]
Generated Node #0,0,2: 33:[16, 55] Operation: 70-15=55
Exploring Operation: 70-16=54, Resulting Numbers: [15, 54]
Generated Node #0,0,3: 33:[15, 54] Operation: 70-16=54
Moving to Node #0,3
Current State: 33:[80, 15, 14], Operations: ['70/5=14']
Exploring Operation: 80-15=65, Resulting Numbers: [14, 65]
Generated Node #0,3,0: 33:[14, 65] Operation: 80-15=65
Exploring Operation: 80-14=66, Resulting Numbers: [15, 66]
Generated Node #0,3,1: 33:[15, 66] Operation: 80-14=66
Exploring Operation: 15-14=1, Resulting Numbers: [80, 1]
Generated Node #0,3,2: 33:[80, 1] Operation: 15-14=1
Exploring Operation: 15+14=29, Resulting Numbers: [80, 29]
Generated Node #0,3,3: 33:[80, 29] Operation: 15+14=29
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 33:[14, 65], Operations: ['70/5=14', '80-15=65']
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,33 unequal: No Solution
Exploring Operation: 14+65=79, Resulting Numbers: [79]
79,33 unequal: No Solution
Exploring Operation: 14*65=910, Resulting Numbers: [910]
910,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 33:[15, 66], Operations: ['70/5=14', '80-14=66']
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,33 unequal: No Solution
Exploring Operation: 15+66=81, Resulting Numbers: [81]
81,33 unequal: No Solution
Exploring Operation: 15*66=990, Resulting Numbers: [990]
990,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 33:[80, 1], Operations: ['70/5=14', '15-14=1']
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,33 unequal: No Solution
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,33 unequal: No Solution
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,33 unequal: No Solution
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 33:[80, 29], Operations: ['70/5=14', '15+14=29']
Exploring Operation: 80-29=51, Resulting Numbers: [51]
51,33 unequal: No Solution
Exploring Operation: 80+29=109, Resulting Numbers: [109]
109,33 unequal: No Solution
Exploring Operation: 80*29=2320, Resulting Numbers: [2320]
2320,33 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: 33:[70, 5, 65], Operations: ['80-15=65']
Exploring Operation: 65/5=13, Resulting Numbers: [70, 13]
Generated Node #0,2,0: 33:[70, 13] Operation: 65/5=13
Exploring Operation: 70-5=65, Resulting Numbers: [65, 65]
Generated Node #0,2,1: 33:[65, 65] Operation: 70-5=65
Exploring Operation: 70-65=5, Resulting Numbers: [5, 5]
Generated Node #0,2,2: 33:[5, 5] Operation: 70-65=5
Exploring Operation: 70/5=14, Resulting Numbers: [65, 14]
Generated Node #0,2,3: 33:[65, 14] Operation: 70/5=14
Moving to Node #0,2,2
Current State: 33:[5, 5], Operations: ['80-15=65', '70-65=5']
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Moving to Node #0,0,3
Current State: 33:[15, 54], Operations: ['80/5=16', '70-16=54']
Exploring Operation: 15+54=69, Resulting Numbers: [69]
69,33 unequal: No Solution
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Exploring Operation: 15*54=810, Resulting Numbers: [810]
810,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[16, 55], Operations: ['80/5=16', '70-15=55']
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,33 unequal: No Solution
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,33 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Moving to Node #0,2,3
Current State: 33:[65, 14], Operations: ['80-15=65', '70/5=14']
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,33 unequal: No Solution
Exploring Operation: 65+14=79, Resulting Numbers: [79]
79,33 unequal: No Solution
Exploring Operation: 65*14=910, Resulting Numbers: [910]
910,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[70, 1], Operations: ['80/5=16', '16-15=1']
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,33 unequal: No Solution
Exploring Operation: 70+1=71, Resulting Numbers: [71]
71,33 unequal: No Solution
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[70, 31], Operations: ['80/5=16', '15+16=31']
Exploring Operation: 70+31=101, Resulting Numbers: [101]
101,33 unequal: No Solution
Exploring Operation: 70*31=2170, Resulting Numbers: [2170]
2170,33 unequal: No Solution
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[70, 13], Operations: ['80-15=65', '65/5=13']
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,33 unequal: No Solution
Exploring Operation: 70+13=83, Resulting Numbers: [83]
83,33 unequal: No Solution
Exploring Operation: 70*13=910, Resulting Numbers: [910]
910,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[65, 65], Operations: ['80-15=65', '70-5=65']
Exploring Operation: 65*65=4225, Resulting Numbers: [4225]
4225,33 unequal: No Solution
Exploring Operation: 65/65=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 65+65=130, Resulting Numbers: [130]
130,33 unequal: No Solution
Exploring Operation: 65-65=0, Resulting Numbers: [0]
0,33 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
6,
60,
18,
90
] | 33 | [
"18/6=3",
"90-60=30",
"3+30=33"
] | Current State: 33:[6, 60, 18, 90], Operations: []
Exploring Operation: 18/6=3, Resulting Numbers: [60, 90, 3]
Generated Node #2: [60, 90, 3] from Operation: 18/6=3
Current State: 33:[60, 90, 3], Operations: ['18/6=3']
Exploring Operation: 90-60=30, Resulting Numbers: [3, 30]
Generated Node #3: [3, 30] from Operation: 90-60=30
Current State: 33:[3, 30], Operations: ['18/6=3', '90-60=30']
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[6, 60, 18, 90], Operations: []
Exploring Operation: 90-60=30, Resulting Numbers: [6, 18, 30]
Generated Node #0,0: 33:[6, 18, 30] Operation: 90-60=30
Moving to Node #0,0
Current State: 33:[6, 18, 30], Operations: ['90-60=30']
Exploring Operation: 18/6=3, Resulting Numbers: [30, 3]
Generated Node #0,0,0: 33:[30, 3] Operation: 18/6=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[30, 3], Operations: ['90-60=30', '18/6=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[6, 60, 18, 90], Operations: []
Exploring Operation: 90-60=30, Resulting Numbers: [6, 18, 30]
Generated Node #0,0: 33:[6, 18, 30] Operation: 90-60=30
Moving to Node #0,0
Current State: 33:[6, 18, 30], Operations: ['90-60=30']
Exploring Operation: 18/6=3, Resulting Numbers: [30, 3]
Generated Node #0,0,0: 33:[30, 3] Operation: 18/6=3
Moving to Node #0,0,0
Current State: 33:[30, 3], Operations: ['90-60=30', '18/6=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
15,
18,
43,
42
] | 29 | [
"18-15=3",
"42/3=14",
"43-14=29"
] | Current State: 29:[15, 18, 43, 42], Operations: []
Exploring Operation: 18-15=3, Resulting Numbers: [43, 42, 3]
Generated Node #2: [43, 42, 3] from Operation: 18-15=3
Current State: 29:[43, 42, 3], Operations: ['18-15=3']
Exploring Operation: 42/3=14, Resulting Numbers: [43, 14]
Generated Node #3: [43, 14] from Operation: 42/3=14
Current State: 29:[43, 14], Operations: ['18-15=3', '42/3=14']
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[15, 18, 43, 42], Operations: []
Exploring Operation: 42-15=27, Resulting Numbers: [18, 43, 27]
Generated Node #0,0: 29:[18, 43, 27] Operation: 42-15=27
Exploring Operation: 43-15=28, Resulting Numbers: [18, 42, 28]
Generated Node #0,1: 29:[18, 42, 28] Operation: 43-15=28
Exploring Operation: 15+18=33, Resulting Numbers: [43, 42, 33]
Generated Node #0,2: 29:[43, 42, 33] Operation: 15+18=33
Exploring Operation: 43-18=25, Resulting Numbers: [15, 42, 25]
Generated Node #0,3: 29:[15, 42, 25] Operation: 43-18=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[18, 42, 28], Operations: ['43-15=28']
Exploring Operation: 18+28=46, Resulting Numbers: [42, 46]
Generated Node #0,1,0: 29:[42, 46] Operation: 18+28=46
Exploring Operation: 18+42=60, Resulting Numbers: [28, 60]
Generated Node #0,1,1: 29:[28, 60] Operation: 18+42=60
Exploring Operation: 42-28=14, Resulting Numbers: [18, 14]
Generated Node #0,1,2: 29:[18, 14] Operation: 42-28=14
Exploring Operation: 42-18=24, Resulting Numbers: [28, 24]
Generated Node #0,1,3: 29:[28, 24] Operation: 42-18=24
Moving to Node #0,1,3
Current State: 29:[28, 24], Operations: ['43-15=28', '42-18=24']
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[18, 14], Operations: ['43-15=28', '42-28=14']
Exploring Operation: 18*14=252, Resulting Numbers: [252]
252,29 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[42, 46], Operations: ['43-15=28', '18+28=46']
Exploring Operation: 42*46=1932, Resulting Numbers: [1932]
1932,29 unequal: No Solution
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,29 unequal: No Solution
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[28, 60], Operations: ['43-15=28', '18+42=60']
Exploring Operation: 28*60=1680, Resulting Numbers: [1680]
1680,29 unequal: No Solution
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 28+60=88, Resulting Numbers: [88]
88,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:[18, 43, 27], Operations: ['42-15=27']
Exploring Operation: 43-18=25, Resulting Numbers: [27, 25]
Generated Node #0,0,0: 29:[27, 25] Operation: 43-18=25
Exploring Operation: 18+27=45, Resulting Numbers: [43, 45]
Generated Node #0,0,1: 29:[43, 45] Operation: 18+27=45
Exploring Operation: 43-27=16, Resulting Numbers: [18, 16]
Generated Node #0,0,2: 29:[18, 16] Operation: 43-27=16
Exploring Operation: 18+43=61, Resulting Numbers: [27, 61]
Generated Node #0,0,3: 29:[27, 61] Operation: 18+43=61
Moving to Node #0,0,0
Current State: 29:[27, 25], Operations: ['42-15=27', '43-18=25']
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Exploring Operation: 27*25=675, Resulting Numbers: [675]
675,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[18, 16], Operations: ['42-15=27', '43-27=16']
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,29 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[43, 45], Operations: ['42-15=27', '18+27=45']
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 43+45=88, Resulting Numbers: [88]
88,29 unequal: No Solution
Exploring Operation: 43*45=1935, Resulting Numbers: [1935]
1935,29 unequal: No Solution
Moving to Node #0,0,3
Current State: 29:[27, 61], Operations: ['42-15=27', '18+43=61']
Exploring Operation: 61-27=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 27+61=88, Resulting Numbers: [88]
88,29 unequal: No Solution
Exploring Operation: 27*61=1647, Resulting Numbers: [1647]
1647,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:[43, 42, 33], Operations: ['15+18=33']
Exploring Operation: 43-33=10, Resulting Numbers: [42, 10]
Generated Node #0,2,0: 29:[42, 10] Operation: 43-33=10
Exploring Operation: 42-33=9, Resulting Numbers: [43, 9]
Generated Node #0,2,1: 29:[43, 9] Operation: 42-33=9
Exploring Operation: 43+42=85, Resulting Numbers: [33, 85]
Generated Node #0,2,2: 29:[33, 85] Operation: 43+42=85
Exploring Operation: 43-42=1, Resulting Numbers: [33, 1]
Generated Node #0,2,3: 29:[33, 1] Operation: 43-42=1
Moving to Node #0,2,0
Current State: 29:[42, 10], Operations: ['15+18=33', '43-33=10']
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,29 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[33, 1], Operations: ['15+18=33', '43-42=1']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,29 unequal: No Solution
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[43, 9], Operations: ['15+18=33', '42-33=9']
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Exploring Operation: 43*9=387, Resulting Numbers: [387]
387,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[33, 85], Operations: ['15+18=33', '43+42=85']
Exploring Operation: 33+85=118, Resulting Numbers: [118]
118,29 unequal: No Solution
Exploring Operation: 85-33=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Exploring Operation: 33*85=2805, Resulting Numbers: [2805]
2805,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,3
Current State: 29:[15, 42, 25], Operations: ['43-18=25']
Exploring Operation: 15+42=57, Resulting Numbers: [25, 57]
Generated Node #0,3,0: 29:[25, 57] Operation: 15+42=57
Exploring Operation: 15+25=40, Resulting Numbers: [42, 40]
Generated Node #0,3,1: 29:[42, 40] Operation: 15+25=40
Exploring Operation: 42-15=27, Resulting Numbers: [25, 27]
Generated Node #0,3,2: 29:[25, 27] Operation: 42-15=27
Exploring Operation: 42-25=17, Resulting Numbers: [15, 17]
Generated Node #0,3,3: 29:[15, 17] Operation: 42-25=17
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 29:[25, 27], Operations: ['43-18=25', '42-15=27']
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Exploring Operation: 25*27=675, Resulting Numbers: [675]
675,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,3,1
Current State: 29:[42, 40], Operations: ['43-18=25', '15+25=40']
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,29 unequal: No Solution
Exploring Operation: 42*40=1680, Resulting Numbers: [1680]
1680,29 unequal: No Solution
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,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,3,3
Current State: 29:[15, 17], Operations: ['43-18=25', '42-25=17']
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,29 unequal: No Solution
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,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,3,0
Current State: 29:[25, 57], Operations: ['43-18=25', '15+42=57']
Exploring Operation: 25*57=1425, Resulting Numbers: [1425]
1425,29 unequal: No Solution
Exploring Operation: 25+57=82, Resulting Numbers: [82]
82,29 unequal: No Solution
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
56,
98,
36,
39
] | 24 | [
"98*36=3528",
"3528/56=63",
"63-39=24"
] | Current State: 24:[56, 98, 36, 39], Operations: []
Exploring Operation: 98*36=3528, Resulting Numbers: [56, 39, 3528]
Generated Node #2: [56, 39, 3528] from Operation: 98*36=3528
Current State: 24:[56, 39, 3528], Operations: ['98*36=3528']
Exploring Operation: 3528/56=63, Resulting Numbers: [39, 63]
Generated Node #3: [39, 63] from Operation: 3528/56=63
Current State: 24:[39, 63], Operations: ['98*36=3528', '3528/56=63']
Exploring Operation: 63-39=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[56, 98, 36, 39], Operations: []
Exploring Operation: 98-56=42, Resulting Numbers: [36, 39, 42]
Generated Node #0,0: 24:[36, 39, 42] Operation: 98-56=42
Exploring Operation: 98-39=59, Resulting Numbers: [56, 36, 59]
Generated Node #0,1: 24:[56, 36, 59] Operation: 98-39=59
Moving to Node #0,0
Current State: 24:[36, 39, 42], Operations: ['98-56=42']
Exploring Operation: 42-39=3, Resulting Numbers: [36, 3]
Generated Node #0,0,0: 24:[36, 3] Operation: 42-39=3
Exploring Operation: 42-36=6, Resulting Numbers: [39, 6]
Generated Node #0,0,1: 24:[39, 6] Operation: 42-36=6
Moving to Node #0,1
Current State: 24:[56, 36, 59], Operations: ['98-39=59']
Exploring Operation: 59-56=3, Resulting Numbers: [36, 3]
Generated Node #0,1,0: 24:[36, 3] Operation: 59-56=3
Exploring Operation: 59-36=23, Resulting Numbers: [56, 23]
Generated Node #0,1,1: 24:[56, 23] Operation: 59-36=23
Moving to Node #0,0,0
Current State: 24:[36, 3], Operations: ['98-56=42', '42-39=3']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[36, 3], Operations: ['98-39=59', '59-56=3']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[39, 6], Operations: ['98-56=42', '42-36=6']
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,24 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Moving to Node #0,1,1
Current State: 24:[56, 23], Operations: ['98-39=59', '59-36=23']
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Exploring Operation: 56+23=79, Resulting Numbers: [79]
79,24 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
14,
94,
92,
14
] | 56 | [
"14+14=28",
"94-92=2",
"28*2=56"
] | Current State: 56:[14, 94, 92, 14], Operations: []
Exploring Operation: 14+14=28, Resulting Numbers: [94, 92, 28]
Generated Node #2: [94, 92, 28] from Operation: 14+14=28
Current State: 56:[94, 92, 28], Operations: ['14+14=28']
Exploring Operation: 94-92=2, Resulting Numbers: [28, 2]
Generated Node #3: [28, 2] from Operation: 94-92=2
Current State: 56:[28, 2], Operations: ['14+14=28', '94-92=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[14, 94, 92, 14], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [14, 14, 2]
Generated Node #0,0: 56:[14, 14, 2] Operation: 94-92=2
Exploring Operation: 92-14=78, Resulting Numbers: [94, 14, 78]
Generated Node #0,1: 56:[94, 14, 78] Operation: 92-14=78
Exploring Operation: 94-14=80, Resulting Numbers: [14, 92, 80]
Generated Node #0,2: 56:[14, 92, 80] Operation: 94-14=80
Exploring Operation: 92-14=78, Resulting Numbers: [14, 94, 78]
Generated Node #0,3: 56:[14, 94, 78] Operation: 92-14=78
Exploring Operation: 94-14=80, Resulting Numbers: [92, 14, 80]
Generated Node #0,4: 56:[92, 14, 80] Operation: 94-14=80
Moving to Node #0,0
Current State: 56:[14, 14, 2], Operations: ['94-92=2']
Exploring Operation: 14/2=7, Resulting Numbers: [14, 7]
Generated Node #0,0,0: 56:[14, 7] Operation: 14/2=7
Exploring Operation: 14*2=28, Resulting Numbers: [14, 28]
Generated Node #0,0,1: 56:[14, 28] Operation: 14*2=28
Exploring Operation: 14/2=7, Resulting Numbers: [14, 7]
Generated Node #0,0,2: 56:[14, 7] Operation: 14/2=7
Exploring Operation: 14*2=28, Resulting Numbers: [14, 28]
Generated Node #0,0,3: 56:[14, 28] Operation: 14*2=28
Exploring Operation: 14+14=28, Resulting Numbers: [2, 28]
Generated Node #0,0,4: 56:[2, 28] Operation: 14+14=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[14, 7], Operations: ['94-92=2', '14/2=7']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[14, 28], Operations: ['94-92=2', '14*2=28']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,56 unequal: No Solution
Exploring Operation: 14*28=392, Resulting Numbers: [392]
392,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 56:[14, 7], Operations: ['94-92=2', '14/2=7']
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 56:[14, 28], Operations: ['94-92=2', '14*2=28']
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 14*28=392, Resulting Numbers: [392]
392,56 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 56:[2, 28], Operations: ['94-92=2', '14+14=28']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[14, 94, 92, 14], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [14, 14, 2]
Generated Node #0,0: 56:[14, 14, 2] Operation: 94-92=2
Moving to Node #0,0
Current State: 56:[14, 14, 2], Operations: ['94-92=2']
Exploring Operation: 14+14=28, Resulting Numbers: [2, 28]
Generated Node #0,0,4: 56:[2, 28] Operation: 14+14=28
Moving to Node #0,0,4
Current State: 56:[2, 28], Operations: ['94-92=2', '14+14=28']
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_5 | mult_heuristic |
[
53,
8,
90,
36
] | 99 | [
"53-8=45",
"90-36=54",
"45+54=99"
] | Current State: 99:[53, 8, 90, 36], Operations: []
Exploring Operation: 53-8=45, Resulting Numbers: [90, 36, 45]
Generated Node #2: [90, 36, 45] from Operation: 53-8=45
Current State: 99:[90, 36, 45], Operations: ['53-8=45']
Exploring Operation: 90-36=54, Resulting Numbers: [45, 54]
Generated Node #3: [45, 54] from Operation: 90-36=54
Current State: 99:[45, 54], Operations: ['53-8=45', '90-36=54']
Exploring Operation: 45+54=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[53, 8, 90, 36], Operations: []
Exploring Operation: 53-36=17, Resulting Numbers: [8, 90, 17]
Generated Node #0,0: 99:[8, 90, 17] Operation: 53-36=17
Exploring Operation: 90-53=37, Resulting Numbers: [8, 36, 37]
Generated Node #0,1: 99:[8, 36, 37] Operation: 90-53=37
Moving to Node #0,1
Current State: 99:[8, 36, 37], Operations: ['90-53=37']
Exploring Operation: 37-8=29, Resulting Numbers: [36, 29]
Generated Node #0,1,0: 99:[36, 29] Operation: 37-8=29
Exploring Operation: 37-36=1, Resulting Numbers: [8, 1]
Generated Node #0,1,1: 99:[8, 1] Operation: 37-36=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[8, 1], Operations: ['90-53=37', '37-36=1']
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,99 unequal: No Solution
No 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: 99:[36, 29], Operations: ['90-53=37', '37-8=29']
Exploring Operation: 36+29=65, Resulting Numbers: [65]
65,99 unequal: No Solution
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,99 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: 99:[8, 90, 17], Operations: ['53-36=17']
Exploring Operation: 17-8=9, Resulting Numbers: [90, 9]
Generated Node #0,0,0: 99:[90, 9] Operation: 17-8=9
Exploring Operation: 8+90=98, Resulting Numbers: [17, 98]
Generated Node #0,0,1: 99:[17, 98] Operation: 8+90=98
Moving to Node #0,0,1
Current State: 99:[17, 98], Operations: ['53-36=17', '8+90=98']
Exploring Operation: 17+98=115, Resulting Numbers: [115]
115,99 unequal: No Solution
Exploring Operation: 98-17=81, Resulting Numbers: [81]
81,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[90, 9], Operations: ['53-36=17', '17-8=9']
Exploring Operation: 90+9=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[53, 8, 90, 36], Operations: []
Exploring Operation: 53-36=17, Resulting Numbers: [8, 90, 17]
Generated Node #0,0: 99:[8, 90, 17] Operation: 53-36=17
Moving to Node #0,0
Current State: 99:[8, 90, 17], Operations: ['53-36=17']
Exploring Operation: 17-8=9, Resulting Numbers: [90, 9]
Generated Node #0,0,0: 99:[90, 9] Operation: 17-8=9
Moving to Node #0,0,0
Current State: 99:[90, 9], Operations: ['53-36=17', '17-8=9']
Exploring Operation: 90+9=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 0.985243 | hs_2 | sum_heuristic |
[
49,
49,
99,
11
] | 87 | [
"49/49=1",
"99-11=88",
"88-1=87"
] | Current State: 87:[49, 49, 99, 11], Operations: []
Exploring Operation: 49/49=1, Resulting Numbers: [99, 11, 1]
Generated Node #2: [99, 11, 1] from Operation: 49/49=1
Current State: 87:[99, 11, 1], Operations: ['49/49=1']
Exploring Operation: 99-11=88, Resulting Numbers: [1, 88]
Generated Node #3: [1, 88] from Operation: 99-11=88
Current State: 87:[1, 88], Operations: ['49/49=1', '99-11=88']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[49, 49, 99, 11], Operations: []
Exploring Operation: 49-11=38, Resulting Numbers: [49, 99, 38]
Generated Node #0,0: 87:[49, 99, 38] Operation: 49-11=38
Exploring Operation: 49-49=0, Resulting Numbers: [99, 11, 0]
Generated Node #0,1: 87:[99, 11, 0] Operation: 49-49=0
Exploring Operation: 49-11=38, Resulting Numbers: [49, 99, 38]
Generated Node #0,2: 87:[49, 99, 38] Operation: 49-11=38
Exploring Operation: 49/49=1, Resulting Numbers: [99, 11, 1]
Generated Node #0,3: 87:[99, 11, 1] Operation: 49/49=1
Exploring Operation: 49+49=98, Resulting Numbers: [99, 11, 98]
Generated Node #0,4: 87:[99, 11, 98] Operation: 49+49=98
Moving to Node #0,3
Current State: 87:[99, 11, 1], Operations: ['49/49=1']
Exploring Operation: 99-11=88, Resulting Numbers: [1, 88]
Generated Node #0,3,0: 87:[1, 88] Operation: 99-11=88
Exploring Operation: 99-1=98, Resulting Numbers: [11, 98]
Generated Node #0,3,1: 87:[11, 98] Operation: 99-1=98
Exploring Operation: 99/11=9, Resulting Numbers: [1, 9]
Generated Node #0,3,2: 87:[1, 9] Operation: 99/11=9
Exploring Operation: 99*1=99, Resulting Numbers: [11, 99]
Generated Node #0,3,3: 87:[11, 99] Operation: 99*1=99
Exploring Operation: 11-1=10, Resulting Numbers: [99, 10]
Generated Node #0,3,4: 87:[99, 10] Operation: 11-1=10
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 87:[1, 88], Operations: ['49/49=1', '99-11=88']
Exploring Operation: 1+88=89, Resulting Numbers: [89]
89,87 unequal: No Solution
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[49, 49, 99, 11], Operations: []
Exploring Operation: 49/49=1, Resulting Numbers: [99, 11, 1]
Generated Node #0,3: 87:[99, 11, 1] Operation: 49/49=1
Moving to Node #0,3
Current State: 87:[99, 11, 1], Operations: ['49/49=1']
Exploring Operation: 99-11=88, Resulting Numbers: [1, 88]
Generated Node #0,3,0: 87:[1, 88] Operation: 99-11=88
Moving to Node #0,3,0
Current State: 87:[1, 88], Operations: ['49/49=1', '99-11=88']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
20,
40,
22,
58
] | 96 | [
"20+40=60",
"58-22=36",
"60+36=96"
] | Current State: 96:[20, 40, 22, 58], Operations: []
Exploring Operation: 20+40=60, Resulting Numbers: [22, 58, 60]
Generated Node #2: [22, 58, 60] from Operation: 20+40=60
Current State: 96:[22, 58, 60], Operations: ['20+40=60']
Exploring Operation: 58-22=36, Resulting Numbers: [60, 36]
Generated Node #3: [60, 36] from Operation: 58-22=36
Current State: 96:[60, 36], Operations: ['20+40=60', '58-22=36']
Exploring Operation: 60+36=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[20, 40, 22, 58], Operations: []
Exploring Operation: 58-40=18, Resulting Numbers: [20, 22, 18]
Generated Node #0,0: 96:[20, 22, 18] Operation: 58-40=18
Exploring Operation: 40/20=2, Resulting Numbers: [22, 58, 2]
Generated Node #0,1: 96:[22, 58, 2] Operation: 40/20=2
Exploring Operation: 40+58=98, Resulting Numbers: [20, 22, 98]
Generated Node #0,2: 96:[20, 22, 98] Operation: 40+58=98
Exploring Operation: 40-20=20, Resulting Numbers: [22, 58, 20]
Generated Node #0,3: 96:[22, 58, 20] Operation: 40-20=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[20, 22, 18], Operations: ['58-40=18']
Exploring Operation: 20-18=2, Resulting Numbers: [22, 2]
Generated Node #0,0,0: 96:[22, 2] Operation: 20-18=2
Exploring Operation: 22-18=4, Resulting Numbers: [20, 4]
Generated Node #0,0,1: 96:[20, 4] Operation: 22-18=4
Exploring Operation: 22-20=2, Resulting Numbers: [18, 2]
Generated Node #0,0,2: 96:[18, 2] Operation: 22-20=2
Exploring Operation: 20+22=42, Resulting Numbers: [18, 42]
Generated Node #0,0,3: 96:[18, 42] Operation: 20+22=42
Moving to Node #0,0,0
Current State: 96:[22, 2], Operations: ['58-40=18', '20-18=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,96 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[18, 2], Operations: ['58-40=18', '22-20=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,96 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,96 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[20, 4], Operations: ['58-40=18', '22-18=4']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,96 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[18, 42], Operations: ['58-40=18', '20+22=42']
Exploring Operation: 18+42=60, Resulting Numbers: [60]
60,96 unequal: No Solution
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 18*42=756, Resulting Numbers: [756]
756,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,2
Current State: 96:[20, 22, 98], Operations: ['40+58=98']
Exploring Operation: 22-20=2, Resulting Numbers: [98, 2]
Generated Node #0,2,0: 96:[98, 2] Operation: 22-20=2
Exploring Operation: 98-20=78, Resulting Numbers: [22, 78]
Generated Node #0,2,1: 96:[22, 78] Operation: 98-20=78
Exploring Operation: 20+22=42, Resulting Numbers: [98, 42]
Generated Node #0,2,2: 96:[98, 42] Operation: 20+22=42
Exploring Operation: 20+98=118, Resulting Numbers: [22, 118]
Generated Node #0,2,3: 96:[22, 118] Operation: 20+98=118
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[98, 2], Operations: ['40+58=98', '22-20=2']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,96 unequal: No Solution
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,96 unequal: No Solution
Exploring Operation: 98*2=196, Resulting Numbers: [196]
196,96 unequal: No Solution
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[20, 40, 22, 58], Operations: []
Exploring Operation: 40+58=98, Resulting Numbers: [20, 22, 98]
Generated Node #0,2: 96:[20, 22, 98] Operation: 40+58=98
Moving to Node #0,2
Current State: 96:[20, 22, 98], Operations: ['40+58=98']
Exploring Operation: 22-20=2, Resulting Numbers: [98, 2]
Generated Node #0,2,0: 96:[98, 2] Operation: 22-20=2
Moving to Node #0,2,0
Current State: 96:[98, 2], Operations: ['40+58=98', '22-20=2']
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_4 | sum_heuristic |
[
14,
47,
75,
96
] | 40 | [
"14+47=61",
"96-75=21",
"61-21=40"
] | Current State: 40:[14, 47, 75, 96], Operations: []
Exploring Operation: 14+47=61, Resulting Numbers: [75, 96, 61]
Generated Node #2: [75, 96, 61] from Operation: 14+47=61
Current State: 40:[75, 96, 61], Operations: ['14+47=61']
Exploring Operation: 96-75=21, Resulting Numbers: [61, 21]
Generated Node #3: [61, 21] from Operation: 96-75=21
Current State: 40:[61, 21], Operations: ['14+47=61', '96-75=21']
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[14, 47, 75, 96], Operations: []
Exploring Operation: 75-47=28, Resulting Numbers: [14, 96, 28]
Generated Node #0,0: 40:[14, 96, 28] Operation: 75-47=28
Exploring Operation: 96-75=21, Resulting Numbers: [14, 47, 21]
Generated Node #0,1: 40:[14, 47, 21] Operation: 96-75=21
Exploring Operation: 96-47=49, Resulting Numbers: [14, 75, 49]
Generated Node #0,2: 40:[14, 75, 49] Operation: 96-47=49
Moving to Node #0,1
Current State: 40:[14, 47, 21], Operations: ['96-75=21']
Exploring Operation: 21-14=7, Resulting Numbers: [47, 7]
Generated Node #0,1,0: 40:[47, 7] Operation: 21-14=7
Exploring Operation: 47-14=33, Resulting Numbers: [21, 33]
Generated Node #0,1,1: 40:[21, 33] Operation: 47-14=33
Exploring Operation: 47-21=26, Resulting Numbers: [14, 26]
Generated Node #0,1,2: 40:[14, 26] Operation: 47-21=26
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[47, 7], Operations: ['96-75=21', '21-14=7']
Exploring Operation: 47*7=329, Resulting Numbers: [329]
329,40 unequal: No Solution
Exploring Operation: 47+7=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[14, 47, 75, 96], Operations: []
Exploring Operation: 96-75=21, Resulting Numbers: [14, 47, 21]
Generated Node #0,1: 40:[14, 47, 21] Operation: 96-75=21
Moving to Node #0,1
Current State: 40:[14, 47, 21], Operations: ['96-75=21']
Exploring Operation: 21-14=7, Resulting Numbers: [47, 7]
Generated Node #0,1,0: 40:[47, 7] Operation: 21-14=7
Moving to Node #0,1,0
Current State: 40:[47, 7], Operations: ['96-75=21', '21-14=7']
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
66,
89,
3,
48
] | 61 | [
"66*3=198",
"89+48=137",
"198-137=61"
] | Current State: 61:[66, 89, 3, 48], Operations: []
Exploring Operation: 66*3=198, Resulting Numbers: [89, 48, 198]
Generated Node #2: [89, 48, 198] from Operation: 66*3=198
Current State: 61:[89, 48, 198], Operations: ['66*3=198']
Exploring Operation: 89+48=137, Resulting Numbers: [198, 137]
Generated Node #3: [198, 137] from Operation: 89+48=137
Current State: 61:[198, 137], Operations: ['66*3=198', '89+48=137']
Exploring Operation: 198-137=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[66, 89, 3, 48], Operations: []
Exploring Operation: 3+48=51, Resulting Numbers: [66, 89, 51]
Generated Node #0,0: 61:[66, 89, 51] Operation: 3+48=51
Exploring Operation: 89+3=92, Resulting Numbers: [66, 48, 92]
Generated Node #0,1: 61:[66, 48, 92] Operation: 89+3=92
Exploring Operation: 66-3=63, Resulting Numbers: [89, 48, 63]
Generated Node #0,2: 61:[89, 48, 63] Operation: 66-3=63
Exploring Operation: 66+3=69, Resulting Numbers: [89, 48, 69]
Generated Node #0,3: 61:[89, 48, 69] Operation: 66+3=69
Exploring Operation: 89-3=86, Resulting Numbers: [66, 48, 86]
Generated Node #0,4: 61:[66, 48, 86] Operation: 89-3=86
Moving to Node #0,0
Current State: 61:[66, 89, 51], Operations: ['3+48=51']
Exploring Operation: 66+51=117, Resulting Numbers: [89, 117]
Generated Node #0,0,0: 61:[89, 117] Operation: 66+51=117
Exploring Operation: 89-51=38, Resulting Numbers: [66, 38]
Generated Node #0,0,1: 61:[66, 38] Operation: 89-51=38
Exploring Operation: 89-66=23, Resulting Numbers: [51, 23]
Generated Node #0,0,2: 61:[51, 23] Operation: 89-66=23
Exploring Operation: 66-51=15, Resulting Numbers: [89, 15]
Generated Node #0,0,3: 61:[89, 15] Operation: 66-51=15
Exploring Operation: 89+51=140, Resulting Numbers: [66, 140]
Generated Node #0,0,4: 61:[66, 140] Operation: 89+51=140
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[66, 38], Operations: ['3+48=51', '89-51=38']
Exploring Operation: 66+38=104, Resulting Numbers: [104]
104,61 unequal: No Solution
Exploring Operation: 66*38=2508, Resulting Numbers: [2508]
2508,61 unequal: No Solution
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[51, 23], Operations: ['3+48=51', '89-66=23']
Exploring Operation: 51+23=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 51*23=1173, Resulting Numbers: [1173]
1173,61 unequal: No Solution
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 61:[89, 15], Operations: ['3+48=51', '66-51=15']
Exploring Operation: 89-15=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 89+15=104, Resulting Numbers: [104]
104,61 unequal: No Solution
Exploring Operation: 89*15=1335, Resulting Numbers: [1335]
1335,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[89, 117], Operations: ['3+48=51', '66+51=117']
Exploring Operation: 89*117=10413, Resulting Numbers: [10413]
10413,61 unequal: No Solution
Exploring Operation: 117-89=28, Resulting Numbers: [28]
28,61 unequal: No Solution
Exploring Operation: 89+117=206, Resulting Numbers: [206]
206,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 61:[66, 140], Operations: ['3+48=51', '89+51=140']
Exploring Operation: 66+140=206, Resulting Numbers: [206]
206,61 unequal: No Solution
Exploring Operation: 66*140=9240, Resulting Numbers: [9240]
9240,61 unequal: No Solution
Exploring Operation: 140-66=74, Resulting Numbers: [74]
74,61 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: 61:[66, 48, 86], Operations: ['89-3=86']
Exploring Operation: 48+86=134, Resulting Numbers: [66, 134]
Generated Node #0,4,0: 61:[66, 134] Operation: 48+86=134
Exploring Operation: 66+48=114, Resulting Numbers: [86, 114]
Generated Node #0,4,1: 61:[86, 114] Operation: 66+48=114
Exploring Operation: 86-48=38, Resulting Numbers: [66, 38]
Generated Node #0,4,2: 61:[66, 38] Operation: 86-48=38
Exploring Operation: 66-48=18, Resulting Numbers: [86, 18]
Generated Node #0,4,3: 61:[86, 18] Operation: 66-48=18
Exploring Operation: 86-66=20, Resulting Numbers: [48, 20]
Generated Node #0,4,4: 61:[48, 20] Operation: 86-66=20
Moving to Node #0,2
Current State: 61:[89, 48, 63], Operations: ['66-3=63']
Exploring Operation: 63-48=15, Resulting Numbers: [89, 15]
Generated Node #0,2,0: 61:[89, 15] Operation: 63-48=15
Exploring Operation: 89+48=137, Resulting Numbers: [63, 137]
Generated Node #0,2,1: 61:[63, 137] Operation: 89+48=137
Exploring Operation: 89-63=26, Resulting Numbers: [48, 26]
Generated Node #0,2,2: 61:[48, 26] Operation: 89-63=26
Exploring Operation: 48+63=111, Resulting Numbers: [89, 111]
Generated Node #0,2,3: 61:[89, 111] Operation: 48+63=111
Exploring Operation: 89-48=41, Resulting Numbers: [63, 41]
Generated Node #0,2,4: 61:[63, 41] Operation: 89-48=41
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 61:[63, 41], Operations: ['66-3=63', '89-48=41']
Exploring Operation: 63-41=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 63+41=104, Resulting Numbers: [104]
104,61 unequal: No Solution
Exploring Operation: 63*41=2583, Resulting Numbers: [2583]
2583,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 61:[48, 26], Operations: ['66-3=63', '89-63=26']
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 48*26=1248, Resulting Numbers: [1248]
1248,61 unequal: No Solution
Exploring Operation: 48+26=74, Resulting Numbers: [74]
74,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[89, 15], Operations: ['66-3=63', '63-48=15']
Exploring Operation: 89-15=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 89+15=104, Resulting Numbers: [104]
104,61 unequal: No Solution
Exploring Operation: 89*15=1335, Resulting Numbers: [1335]
1335,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 61:[63, 137], Operations: ['66-3=63', '89+48=137']
Exploring Operation: 63*137=8631, Resulting Numbers: [8631]
8631,61 unequal: No Solution
Exploring Operation: 137-63=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 63+137=200, Resulting Numbers: [200]
200,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 61:[89, 111], Operations: ['66-3=63', '48+63=111']
Exploring Operation: 89*111=9879, Resulting Numbers: [9879]
9879,61 unequal: No Solution
Exploring Operation: 89+111=200, Resulting Numbers: [200]
200,61 unequal: No Solution
Exploring Operation: 111-89=22, Resulting Numbers: [22]
22,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 61:[66, 48, 92], Operations: ['89+3=92']
Exploring Operation: 48+92=140, Resulting Numbers: [66, 140]
Generated Node #0,1,0: 61:[66, 140] Operation: 48+92=140
Exploring Operation: 92-66=26, Resulting Numbers: [48, 26]
Generated Node #0,1,1: 61:[48, 26] Operation: 92-66=26
Exploring Operation: 92-48=44, Resulting Numbers: [66, 44]
Generated Node #0,1,2: 61:[66, 44] Operation: 92-48=44
Exploring Operation: 66-48=18, Resulting Numbers: [92, 18]
Generated Node #0,1,3: 61:[92, 18] Operation: 66-48=18
Exploring Operation: 66+48=114, Resulting Numbers: [92, 114]
Generated Node #0,1,4: 61:[92, 114] Operation: 66+48=114
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[66, 44], Operations: ['89+3=92', '92-48=44']
Exploring Operation: 66-44=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 66*44=2904, Resulting Numbers: [2904]
2904,61 unequal: No Solution
Exploring Operation: 66+44=110, Resulting Numbers: [110]
110,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[48, 26], Operations: ['89+3=92', '92-66=26']
Exploring Operation: 48*26=1248, Resulting Numbers: [1248]
1248,61 unequal: No Solution
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 48+26=74, Resulting Numbers: [74]
74,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 61:[92, 18], Operations: ['89+3=92', '66-48=18']
Exploring Operation: 92-18=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 92+18=110, Resulting Numbers: [110]
110,61 unequal: No Solution
Exploring Operation: 92*18=1656, Resulting Numbers: [1656]
1656,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[66, 140], Operations: ['89+3=92', '48+92=140']
Exploring Operation: 140-66=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 66*140=9240, Resulting Numbers: [9240]
9240,61 unequal: No Solution
Exploring Operation: 66+140=206, Resulting Numbers: [206]
206,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 61:[92, 114], Operations: ['89+3=92', '66+48=114']
Exploring Operation: 92*114=10488, Resulting Numbers: [10488]
10488,61 unequal: No Solution
Exploring Operation: 92+114=206, Resulting Numbers: [206]
206,61 unequal: No Solution
Exploring Operation: 114-92=22, Resulting Numbers: [22]
22,61 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: 61:[89, 48, 69], Operations: ['66+3=69']
Exploring Operation: 48+69=117, Resulting Numbers: [89, 117]
Generated Node #0,3,0: 61:[89, 117] Operation: 48+69=117
Exploring Operation: 89+48=137, Resulting Numbers: [69, 137]
Generated Node #0,3,1: 61:[69, 137] Operation: 89+48=137
Exploring Operation: 69-48=21, Resulting Numbers: [89, 21]
Generated Node #0,3,2: 61:[89, 21] Operation: 69-48=21
Exploring Operation: 89-48=41, Resulting Numbers: [69, 41]
Generated Node #0,3,3: 61:[69, 41] Operation: 89-48=41
Exploring Operation: 89-69=20, Resulting Numbers: [48, 20]
Generated Node #0,3,4: 61:[48, 20] Operation: 89-69=20
Moving to Node #0,4,2
Current State: 61:[66, 38], Operations: ['89-3=86', '86-48=38']
Exploring Operation: 66+38=104, Resulting Numbers: [104]
104,61 unequal: No Solution
Exploring Operation: 66*38=2508, Resulting Numbers: [2508]
2508,61 unequal: No Solution
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[69, 41], Operations: ['66+3=69', '89-48=41']
Exploring Operation: 69-41=28, Resulting Numbers: [28]
28,61 unequal: No Solution
Exploring Operation: 69+41=110, Resulting Numbers: [110]
110,61 unequal: No Solution
Exploring Operation: 69*41=2829, Resulting Numbers: [2829]
2829,61 unequal: No Solution
Moving to Node #0,3,4
Current State: 61:[48, 20], Operations: ['66+3=69', '89-69=20']
Exploring Operation: 48+20=68, Resulting Numbers: [68]
68,61 unequal: No Solution
Exploring Operation: 48*20=960, Resulting Numbers: [960]
960,61 unequal: No Solution
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,61 unequal: No Solution
Moving to Node #0,4,4
Current State: 61:[48, 20], Operations: ['89-3=86', '86-66=20']
Exploring Operation: 48*20=960, Resulting Numbers: [960]
960,61 unequal: No Solution
Exploring Operation: 48+20=68, Resulting Numbers: [68]
68,61 unequal: No Solution
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,61 unequal: No Solution
Moving to Node #0,4,3
Current State: 61:[86, 18], Operations: ['89-3=86', '66-48=18']
Exploring Operation: 86-18=68, Resulting Numbers: [68]
68,61 unequal: No Solution
Exploring Operation: 86+18=104, Resulting Numbers: [104]
104,61 unequal: No Solution
Exploring Operation: 86*18=1548, Resulting Numbers: [1548]
1548,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[89, 21], Operations: ['66+3=69', '69-48=21']
Exploring Operation: 89+21=110, Resulting Numbers: [110]
110,61 unequal: No Solution
Exploring Operation: 89-21=68, Resulting Numbers: [68]
68,61 unequal: No Solution
Exploring Operation: 89*21=1869, Resulting Numbers: [1869]
1869,61 unequal: No Solution
Moving to Node #0,4,1
Current State: 61:[86, 114], Operations: ['89-3=86', '66+48=114']
Exploring Operation: 86+114=200, Resulting Numbers: [200]
200,61 unequal: No Solution
Exploring Operation: 86*114=9804, Resulting Numbers: [9804]
9804,61 unequal: No Solution
Exploring Operation: 114-86=28, Resulting Numbers: [28]
28,61 unequal: No Solution
Moving to Node #0,4,0
Current State: 61:[66, 134], Operations: ['89-3=86', '48+86=134']
Exploring Operation: 134-66=68, Resulting Numbers: [68]
68,61 unequal: No Solution
Exploring Operation: 66*134=8844, Resulting Numbers: [8844]
8844,61 unequal: No Solution
Exploring Operation: 66+134=200, Resulting Numbers: [200]
200,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[69, 137], Operations: ['66+3=69', '89+48=137']
Exploring Operation: 69+137=206, Resulting Numbers: [206]
206,61 unequal: No Solution
Exploring Operation: 69*137=9453, Resulting Numbers: [9453]
9453,61 unequal: No Solution
Exploring Operation: 137-69=68, Resulting Numbers: [68]
68,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[89, 117], Operations: ['66+3=69', '48+69=117']
Exploring Operation: 117-89=28, Resulting Numbers: [28]
28,61 unequal: No Solution
Exploring Operation: 89+117=206, Resulting Numbers: [206]
206,61 unequal: No Solution
Exploring Operation: 89*117=10413, Resulting Numbers: [10413]
10413,61 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
54,
68,
43,
43
] | 54 | [
"43-43=0",
"68*0=0",
"54+0=54"
] | Current State: 54:[54, 68, 43, 43], Operations: []
Exploring Operation: 43-43=0, Resulting Numbers: [54, 68, 0]
Generated Node #2: [54, 68, 0] from Operation: 43-43=0
Current State: 54:[54, 68, 0], Operations: ['43-43=0']
Exploring Operation: 68*0=0, Resulting Numbers: [54, 0]
Generated Node #3: [54, 0] from Operation: 68*0=0
Current State: 54:[54, 0], Operations: ['43-43=0', '68*0=0']
Exploring Operation: 54+0=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[54, 68, 43, 43], Operations: []
Exploring Operation: 68-43=25, Resulting Numbers: [54, 43, 25]
Generated Node #0,0: 54:[54, 43, 25] Operation: 68-43=25
Exploring Operation: 43/43=1, Resulting Numbers: [54, 68, 1]
Generated Node #0,1: 54:[54, 68, 1] Operation: 43/43=1
Exploring Operation: 68-43=25, Resulting Numbers: [54, 43, 25]
Generated Node #0,2: 54:[54, 43, 25] Operation: 68-43=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[54, 43, 25], Operations: ['68-43=25']
Exploring Operation: 54-25=29, Resulting Numbers: [43, 29]
Generated Node #0,0,0: 54:[43, 29] Operation: 54-25=29
Exploring Operation: 43-25=18, Resulting Numbers: [54, 18]
Generated Node #0,0,1: 54:[54, 18] Operation: 43-25=18
Exploring Operation: 54-43=11, Resulting Numbers: [25, 11]
Generated Node #0,0,2: 54:[25, 11] Operation: 54-43=11
Moving to Node #0,0,1
Current State: 54:[54, 18], Operations: ['68-43=25', '43-25=18']
Exploring Operation: 54+18=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,54 unequal: No Solution
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[25, 11], Operations: ['68-43=25', '54-43=11']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,54 unequal: No Solution
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[43, 29], Operations: ['68-43=25', '54-25=29']
Exploring Operation: 43+29=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 43*29=1247, Resulting Numbers: [1247]
1247,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[54, 43, 25], Operations: ['68-43=25']
Exploring Operation: 43-25=18, Resulting Numbers: [54, 18]
Generated Node #0,2,0: 54:[54, 18] Operation: 43-25=18
Exploring Operation: 54-25=29, Resulting Numbers: [43, 29]
Generated Node #0,2,1: 54:[43, 29] Operation: 54-25=29
Exploring Operation: 54-43=11, Resulting Numbers: [25, 11]
Generated Node #0,2,2: 54:[25, 11] Operation: 54-43=11
Moving to Node #0,2,0
Current State: 54:[54, 18], Operations: ['68-43=25', '43-25=18']
Exploring Operation: 54+18=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[25, 11], Operations: ['68-43=25', '54-43=11']
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,54 unequal: No Solution
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,54 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[43, 29], Operations: ['68-43=25', '54-25=29']
Exploring Operation: 43+29=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 43*29=1247, Resulting Numbers: [1247]
1247,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,1
Current State: 54:[54, 68, 1], Operations: ['43/43=1']
Exploring Operation: 54*1=54, Resulting Numbers: [68, 54]
Generated Node #0,1,0: 54:[68, 54] Operation: 54*1=54
Exploring Operation: 68-1=67, Resulting Numbers: [54, 67]
Generated Node #0,1,1: 54:[54, 67] Operation: 68-1=67
Exploring Operation: 68-54=14, Resulting Numbers: [1, 14]
Generated Node #0,1,2: 54:[1, 14] Operation: 68-54=14
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 54:[1, 14], Operations: ['43/43=1', '68-54=14']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 54:[54, 67], Operations: ['43/43=1', '68-1=67']
Exploring Operation: 67-54=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 54+67=121, Resulting Numbers: [121]
121,54 unequal: No Solution
Exploring Operation: 54*67=3618, Resulting Numbers: [3618]
3618,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[68, 54], Operations: ['43/43=1', '54*1=54']
Exploring Operation: 68*54=3672, Resulting Numbers: [3672]
3672,54 unequal: No Solution
Exploring Operation: 68+54=122, Resulting Numbers: [122]
122,54 unequal: No Solution
Exploring Operation: 68-54=14, Resulting Numbers: [14]
14,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
84,
28,
48,
5
] | 50 | [
"84/28=3",
"48+5=53",
"53-3=50"
] | Current State: 50:[84, 28, 48, 5], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [48, 5, 3]
Generated Node #2: [48, 5, 3] from Operation: 84/28=3
Current State: 50:[48, 5, 3], Operations: ['84/28=3']
Exploring Operation: 48+5=53, Resulting Numbers: [3, 53]
Generated Node #3: [3, 53] from Operation: 48+5=53
Current State: 50:[3, 53], Operations: ['84/28=3', '48+5=53']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[84, 28, 48, 5], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [48, 5, 3]
Generated Node #0,0: 50:[48, 5, 3] Operation: 84/28=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[48, 5, 3], Operations: ['84/28=3']
Exploring Operation: 48+3=51, Resulting Numbers: [5, 51]
Generated Node #0,0,0: 50:[5, 51] Operation: 48+3=51
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[5, 51], Operations: ['84/28=3', '48+3=51']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
73,
88,
77,
15
] | 69 | [
"73+88=161",
"77+15=92",
"161-92=69"
] | Current State: 69:[73, 88, 77, 15], Operations: []
Exploring Operation: 73+88=161, Resulting Numbers: [77, 15, 161]
Generated Node #2: [77, 15, 161] from Operation: 73+88=161
Current State: 69:[77, 15, 161], Operations: ['73+88=161']
Exploring Operation: 77+15=92, Resulting Numbers: [161, 92]
Generated Node #3: [161, 92] from Operation: 77+15=92
Current State: 69:[161, 92], Operations: ['73+88=161', '77+15=92']
Exploring Operation: 161-92=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[73, 88, 77, 15], Operations: []
Exploring Operation: 77-73=4, Resulting Numbers: [88, 15, 4]
Generated Node #0,0: 69:[88, 15, 4] Operation: 77-73=4
Exploring Operation: 88-77=11, Resulting Numbers: [73, 15, 11]
Generated Node #0,1: 69:[73, 15, 11] Operation: 88-77=11
Exploring Operation: 88-73=15, Resulting Numbers: [77, 15, 15]
Generated Node #0,2: 69:[77, 15, 15] Operation: 88-73=15
Exploring Operation: 88-15=73, Resulting Numbers: [73, 77, 73]
Generated Node #0,3: 69:[73, 77, 73] Operation: 88-15=73
Start Sub Search at level 1: Moving to Node #0,3
Current State: 69:[73, 77, 73], Operations: ['88-15=73']
Exploring Operation: 77-73=4, Resulting Numbers: [73, 4]
Generated Node #0,3,0: 69:[73, 4] Operation: 77-73=4
Exploring Operation: 77-73=4, Resulting Numbers: [73, 4]
Generated Node #0,3,1: 69:[73, 4] Operation: 77-73=4
Exploring Operation: 73-73=0, Resulting Numbers: [77, 0]
Generated Node #0,3,2: 69:[77, 0] Operation: 73-73=0
Exploring Operation: 73/73=1, Resulting Numbers: [77, 1]
Generated Node #0,3,3: 69:[77, 1] Operation: 73/73=1
Moving to Node #0,3,0
Current State: 69:[73, 4], Operations: ['88-15=73', '77-73=4']
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,69 unequal: No Solution
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,69 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[73, 88, 77, 15], Operations: []
Exploring Operation: 88-15=73, Resulting Numbers: [73, 77, 73]
Generated Node #0,3: 69:[73, 77, 73] Operation: 88-15=73
Moving to Node #0,3
Current State: 69:[73, 77, 73], Operations: ['88-15=73']
Exploring Operation: 77-73=4, Resulting Numbers: [73, 4]
Generated Node #0,3,0: 69:[73, 4] Operation: 77-73=4
Moving to Node #0,3,0
Current State: 69:[73, 4], Operations: ['88-15=73', '77-73=4']
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
32,
72,
64,
22
] | 100 | [
"64/32=2",
"72-22=50",
"2*50=100"
] | Current State: 100:[32, 72, 64, 22], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [72, 22, 2]
Generated Node #2: [72, 22, 2] from Operation: 64/32=2
Current State: 100:[72, 22, 2], Operations: ['64/32=2']
Exploring Operation: 72-22=50, Resulting Numbers: [2, 50]
Generated Node #3: [2, 50] from Operation: 72-22=50
Current State: 100:[2, 50], Operations: ['64/32=2', '72-22=50']
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[32, 72, 64, 22], Operations: []
Exploring Operation: 72-64=8, Resulting Numbers: [32, 22, 8]
Generated Node #0,0: 100:[32, 22, 8] Operation: 72-64=8
Exploring Operation: 32+72=104, Resulting Numbers: [64, 22, 104]
Generated Node #0,1: 100:[64, 22, 104] Operation: 32+72=104
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[32, 22, 8], Operations: ['72-64=8']
Exploring Operation: 32/8=4, Resulting Numbers: [22, 4]
Generated Node #0,0,0: 100:[22, 4] Operation: 32/8=4
Exploring Operation: 32-22=10, Resulting Numbers: [8, 10]
Generated Node #0,0,1: 100:[8, 10] Operation: 32-22=10
Moving to Node #0,0,0
Current State: 100:[22, 4], Operations: ['72-64=8', '32/8=4']
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[8, 10], Operations: ['72-64=8', '32-22=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,100 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[64, 22, 104], Operations: ['32+72=104']
Exploring Operation: 64-22=42, Resulting Numbers: [104, 42]
Generated Node #0,1,0: 100:[104, 42] Operation: 64-22=42
Exploring Operation: 104-64=40, Resulting Numbers: [22, 40]
Generated Node #0,1,1: 100:[22, 40] Operation: 104-64=40
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 100:[104, 42], Operations: ['32+72=104', '64-22=42']
Exploring Operation: 104-42=62, Resulting Numbers: [62]
62,100 unequal: No Solution
Exploring Operation: 104+42=146, Resulting Numbers: [146]
146,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 100:[22, 40], Operations: ['32+72=104', '104-64=40']
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 22+40=62, Resulting Numbers: [62]
62,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
37,
79,
98,
43
] | 25 | [
"37+79=116",
"98+43=141",
"141-116=25"
] | Current State: 25:[37, 79, 98, 43], Operations: []
Exploring Operation: 37+79=116, Resulting Numbers: [98, 43, 116]
Generated Node #2: [98, 43, 116] from Operation: 37+79=116
Current State: 25:[98, 43, 116], Operations: ['37+79=116']
Exploring Operation: 98+43=141, Resulting Numbers: [116, 141]
Generated Node #3: [116, 141] from Operation: 98+43=141
Current State: 25:[116, 141], Operations: ['37+79=116', '98+43=141']
Exploring Operation: 141-116=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[37, 79, 98, 43], Operations: []
Exploring Operation: 79-43=36, Resulting Numbers: [37, 98, 36]
Generated Node #0,0: 25:[37, 98, 36] Operation: 79-43=36
Exploring Operation: 98-79=19, Resulting Numbers: [37, 43, 19]
Generated Node #0,1: 25:[37, 43, 19] Operation: 98-79=19
Moving to Node #0,1
Current State: 25:[37, 43, 19], Operations: ['98-79=19']
Exploring Operation: 43-37=6, Resulting Numbers: [19, 6]
Generated Node #0,1,0: 25:[19, 6] Operation: 43-37=6
Exploring Operation: 43-19=24, Resulting Numbers: [37, 24]
Generated Node #0,1,1: 25:[37, 24] Operation: 43-19=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[19, 6], Operations: ['98-79=19', '43-37=6']
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:[37, 79, 98, 43], Operations: []
Exploring Operation: 98-79=19, Resulting Numbers: [37, 43, 19]
Generated Node #0,1: 25:[37, 43, 19] Operation: 98-79=19
Moving to Node #0,1
Current State: 25:[37, 43, 19], Operations: ['98-79=19']
Exploring Operation: 43-37=6, Resulting Numbers: [19, 6]
Generated Node #0,1,0: 25:[19, 6] Operation: 43-37=6
Moving to Node #0,1,0
Current State: 25:[19, 6], Operations: ['98-79=19', '43-37=6']
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
6,
2,
36,
76
] | 50 | [
"36+76=112",
"112/2=56",
"56-6=50"
] | Current State: 50:[6, 2, 36, 76], Operations: []
Exploring Operation: 36+76=112, Resulting Numbers: [6, 2, 112]
Generated Node #2: [6, 2, 112] from Operation: 36+76=112
Current State: 50:[6, 2, 112], Operations: ['36+76=112']
Exploring Operation: 112/2=56, Resulting Numbers: [6, 56]
Generated Node #3: [6, 56] from Operation: 112/2=56
Current State: 50:[6, 56], Operations: ['36+76=112', '112/2=56']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[6, 2, 36, 76], Operations: []
Exploring Operation: 76/2=38, Resulting Numbers: [6, 36, 38]
Generated Node #0,0: 50:[6, 36, 38] Operation: 76/2=38
Exploring Operation: 76-36=40, Resulting Numbers: [6, 2, 40]
Generated Node #0,1: 50:[6, 2, 40] Operation: 76-36=40
Moving to Node #0,1
Current State: 50:[6, 2, 40], Operations: ['76-36=40']
Exploring Operation: 6+40=46, Resulting Numbers: [2, 46]
Generated Node #0,1,0: 50:[2, 46] Operation: 6+40=46
Exploring Operation: 40/2=20, Resulting Numbers: [6, 20]
Generated Node #0,1,1: 50:[6, 20] Operation: 40/2=20
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[2, 46], Operations: ['76-36=40', '6+40=46']
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,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:[6, 20], Operations: ['76-36=40', '40/2=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,50 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,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:[6, 36, 38], Operations: ['76/2=38']
Exploring Operation: 36/6=6, Resulting Numbers: [38, 6]
Generated Node #0,0,0: 50:[38, 6] Operation: 36/6=6
Exploring Operation: 38-36=2, Resulting Numbers: [6, 2]
Generated Node #0,0,1: 50:[6, 2] Operation: 38-36=2
Moving to Node #0,0,1
Current State: 50:[6, 2], Operations: ['76/2=38', '38-36=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[38, 6], Operations: ['76/2=38', '36/6=6']
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,50 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,50 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
51,
20,
35,
93
] | 13 | [
"51+20=71",
"93-35=58",
"71-58=13"
] | Current State: 13:[51, 20, 35, 93], Operations: []
Exploring Operation: 51+20=71, Resulting Numbers: [35, 93, 71]
Generated Node #2: [35, 93, 71] from Operation: 51+20=71
Current State: 13:[35, 93, 71], Operations: ['51+20=71']
Exploring Operation: 93-35=58, Resulting Numbers: [71, 58]
Generated Node #3: [71, 58] from Operation: 93-35=58
Current State: 13:[71, 58], Operations: ['51+20=71', '93-35=58']
Exploring Operation: 71-58=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[51, 20, 35, 93], Operations: []
Exploring Operation: 93-51=42, Resulting Numbers: [20, 35, 42]
Generated Node #0,0: 13:[20, 35, 42] Operation: 93-51=42
Moving to Node #0,0
Current State: 13:[20, 35, 42], Operations: ['93-51=42']
Exploring Operation: 42-35=7, Resulting Numbers: [20, 7]
Generated Node #0,0,0: 13:[20, 7] Operation: 42-35=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[20, 7], Operations: ['93-51=42', '42-35=7']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[51, 20, 35, 93], Operations: []
Exploring Operation: 93-51=42, Resulting Numbers: [20, 35, 42]
Generated Node #0,0: 13:[20, 35, 42] Operation: 93-51=42
Moving to Node #0,0
Current State: 13:[20, 35, 42], Operations: ['93-51=42']
Exploring Operation: 42-35=7, Resulting Numbers: [20, 7]
Generated Node #0,0,0: 13:[20, 7] Operation: 42-35=7
Moving to Node #0,0,0
Current State: 13:[20, 7], Operations: ['93-51=42', '42-35=7']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
54,
14,
91,
56
] | 33 | [
"54+14=68",
"91-56=35",
"68-35=33"
] | Current State: 33:[54, 14, 91, 56], Operations: []
Exploring Operation: 54+14=68, Resulting Numbers: [91, 56, 68]
Generated Node #2: [91, 56, 68] from Operation: 54+14=68
Current State: 33:[91, 56, 68], Operations: ['54+14=68']
Exploring Operation: 91-56=35, Resulting Numbers: [68, 35]
Generated Node #3: [68, 35] from Operation: 91-56=35
Current State: 33:[68, 35], Operations: ['54+14=68', '91-56=35']
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[54, 14, 91, 56], Operations: []
Exploring Operation: 91-56=35, Resulting Numbers: [54, 14, 35]
Generated Node #0,0: 33:[54, 14, 35] Operation: 91-56=35
Exploring Operation: 91-54=37, Resulting Numbers: [14, 56, 37]
Generated Node #0,1: 33:[14, 56, 37] Operation: 91-54=37
Exploring Operation: 56-54=2, Resulting Numbers: [14, 91, 2]
Generated Node #0,2: 33:[14, 91, 2] Operation: 56-54=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[54, 14, 35], Operations: ['91-56=35']
Exploring Operation: 35-14=21, Resulting Numbers: [54, 21]
Generated Node #0,0,0: 33:[54, 21] Operation: 35-14=21
Exploring Operation: 54-14=40, Resulting Numbers: [35, 40]
Generated Node #0,0,1: 33:[35, 40] Operation: 54-14=40
Exploring Operation: 54-35=19, Resulting Numbers: [14, 19]
Generated Node #0,0,2: 33:[14, 19] Operation: 54-35=19
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[35, 40], Operations: ['91-56=35', '54-14=40']
Exploring Operation: 35*40=1400, Resulting Numbers: [1400]
1400,33 unequal: No Solution
Exploring Operation: 35+40=75, Resulting Numbers: [75]
75,33 unequal: No Solution
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 33:[14, 19], Operations: ['91-56=35', '54-35=19']
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,33 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[54, 14, 91, 56], Operations: []
Exploring Operation: 91-56=35, Resulting Numbers: [54, 14, 35]
Generated Node #0,0: 33:[54, 14, 35] Operation: 91-56=35
Moving to Node #0,0
Current State: 33:[54, 14, 35], Operations: ['91-56=35']
Exploring Operation: 54-35=19, Resulting Numbers: [14, 19]
Generated Node #0,0,2: 33:[14, 19] Operation: 54-35=19
Moving to Node #0,0,2
Current State: 33:[14, 19], Operations: ['91-56=35', '54-35=19']
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
6,
74,
38,
4
] | 43 | [
"74*4=296",
"296-38=258",
"258/6=43"
] | Current State: 43:[6, 74, 38, 4], Operations: []
Exploring Operation: 74*4=296, Resulting Numbers: [6, 38, 296]
Generated Node #2: [6, 38, 296] from Operation: 74*4=296
Current State: 43:[6, 38, 296], Operations: ['74*4=296']
Exploring Operation: 296-38=258, Resulting Numbers: [6, 258]
Generated Node #3: [6, 258] from Operation: 296-38=258
Current State: 43:[6, 258], Operations: ['74*4=296', '296-38=258']
Exploring Operation: 258/6=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[6, 74, 38, 4], Operations: []
Exploring Operation: 6*4=24, Resulting Numbers: [74, 38, 24]
Generated Node #0,0: 43:[74, 38, 24] Operation: 6*4=24
Exploring Operation: 74-4=70, Resulting Numbers: [6, 38, 70]
Generated Node #0,1: 43:[6, 38, 70] Operation: 74-4=70
Exploring Operation: 74-6=68, Resulting Numbers: [38, 4, 68]
Generated Node #0,2: 43:[38, 4, 68] Operation: 74-6=68
Exploring Operation: 6+4=10, Resulting Numbers: [74, 38, 10]
Generated Node #0,3: 43:[74, 38, 10] Operation: 6+4=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[74, 38, 24], Operations: ['6*4=24']
Exploring Operation: 74-24=50, Resulting Numbers: [38, 50]
Generated Node #0,0,0: 43:[38, 50] Operation: 74-24=50
Exploring Operation: 74-38=36, Resulting Numbers: [24, 36]
Generated Node #0,0,1: 43:[24, 36] Operation: 74-38=36
Exploring Operation: 74+24=98, Resulting Numbers: [38, 98]
Generated Node #0,0,2: 43:[38, 98] Operation: 74+24=98
Exploring Operation: 38+24=62, Resulting Numbers: [74, 62]
Generated Node #0,0,3: 43:[74, 62] Operation: 38+24=62
Moving to Node #0,0,0
Current State: 43:[38, 50], Operations: ['6*4=24', '74-24=50']
Exploring Operation: 38*50=1900, Resulting Numbers: [1900]
1900,43 unequal: No Solution
Exploring Operation: 38+50=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[24, 36], Operations: ['6*4=24', '74-38=36']
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 24*36=864, Resulting Numbers: [864]
864,43 unequal: No Solution
Exploring Operation: 24+36=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Moving to Node #0,0,3
Current State: 43:[74, 62], Operations: ['6*4=24', '38+24=62']
Exploring Operation: 74+62=136, Resulting Numbers: [136]
136,43 unequal: No Solution
Exploring Operation: 74*62=4588, Resulting Numbers: [4588]
4588,43 unequal: No Solution
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[38, 98], Operations: ['6*4=24', '74+24=98']
Exploring Operation: 38*98=3724, Resulting Numbers: [3724]
3724,43 unequal: No Solution
Exploring Operation: 98-38=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Exploring Operation: 38+98=136, Resulting Numbers: [136]
136,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[6, 38, 70], Operations: ['74-4=70']
Exploring Operation: 70-6=64, Resulting Numbers: [38, 64]
Generated Node #0,1,0: 43:[38, 64] Operation: 70-6=64
Exploring Operation: 6+38=44, Resulting Numbers: [70, 44]
Generated Node #0,1,1: 43:[70, 44] Operation: 6+38=44
Exploring Operation: 6+70=76, Resulting Numbers: [38, 76]
Generated Node #0,1,2: 43:[38, 76] Operation: 6+70=76
Exploring Operation: 38-6=32, Resulting Numbers: [70, 32]
Generated Node #0,1,3: 43:[70, 32] Operation: 38-6=32
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[38, 64], Operations: ['74-4=70', '70-6=64']
Exploring Operation: 38+64=102, Resulting Numbers: [102]
102,43 unequal: No Solution
Exploring Operation: 64-38=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 38*64=2432, Resulting Numbers: [2432]
2432,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[70, 44], Operations: ['74-4=70', '6+38=44']
Exploring Operation: 70-44=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 70*44=3080, Resulting Numbers: [3080]
3080,43 unequal: No Solution
Exploring Operation: 70+44=114, Resulting Numbers: [114]
114,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 43:[38, 76], Operations: ['74-4=70', '6+70=76']
Exploring Operation: 38*76=2888, Resulting Numbers: [2888]
2888,43 unequal: No Solution
Exploring Operation: 38+76=114, Resulting Numbers: [114]
114,43 unequal: No Solution
Exploring Operation: 76-38=38, Resulting Numbers: [38]
38,43 unequal: No Solution
Exploring Operation: 76/38=2, Resulting Numbers: [2]
2,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 43:[70, 32], Operations: ['74-4=70', '38-6=32']
Exploring Operation: 70*32=2240, Resulting Numbers: [2240]
2240,43 unequal: No Solution
Exploring Operation: 70+32=102, Resulting Numbers: [102]
102,43 unequal: No Solution
Exploring Operation: 70-32=38, Resulting Numbers: [38]
38,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[38, 4, 68], Operations: ['74-6=68']
Exploring Operation: 68/4=17, Resulting Numbers: [38, 17]
Generated Node #0,2,0: 43:[38, 17] Operation: 68/4=17
Exploring Operation: 68-4=64, Resulting Numbers: [38, 64]
Generated Node #0,2,1: 43:[38, 64] Operation: 68-4=64
Exploring Operation: 38-4=34, Resulting Numbers: [68, 34]
Generated Node #0,2,2: 43:[68, 34] Operation: 38-4=34
Exploring Operation: 38+4=42, Resulting Numbers: [68, 42]
Generated Node #0,2,3: 43:[68, 42] Operation: 38+4=42
Moving to Node #0,2,1
Current State: 43:[38, 64], Operations: ['74-6=68', '68-4=64']
Exploring Operation: 64-38=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 38+64=102, Resulting Numbers: [102]
102,43 unequal: No Solution
Exploring Operation: 38*64=2432, Resulting Numbers: [2432]
2432,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[68, 42], Operations: ['74-6=68', '38+4=42']
Exploring Operation: 68*42=2856, Resulting Numbers: [2856]
2856,43 unequal: No Solution
Exploring Operation: 68+42=110, Resulting Numbers: [110]
110,43 unequal: No Solution
Exploring Operation: 68-42=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[38, 17], Operations: ['74-6=68', '68/4=17']
Exploring Operation: 38+17=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 38*17=646, Resulting Numbers: [646]
646,43 unequal: No Solution
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[68, 34], Operations: ['74-6=68', '38-4=34']
Exploring Operation: 68*34=2312, Resulting Numbers: [2312]
2312,43 unequal: No Solution
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 68+34=102, Resulting Numbers: [102]
102,43 unequal: No Solution
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[74, 38, 10], Operations: ['6+4=10']
Exploring Operation: 74+10=84, Resulting Numbers: [38, 84]
Generated Node #0,3,0: 43:[38, 84] Operation: 74+10=84
Exploring Operation: 74-38=36, Resulting Numbers: [10, 36]
Generated Node #0,3,1: 43:[10, 36] Operation: 74-38=36
Exploring Operation: 74-10=64, Resulting Numbers: [38, 64]
Generated Node #0,3,2: 43:[38, 64] Operation: 74-10=64
Exploring Operation: 38+10=48, Resulting Numbers: [74, 48]
Generated Node #0,3,3: 43:[74, 48] Operation: 38+10=48
Moving to Node #0,3,2
Current State: 43:[38, 64], Operations: ['6+4=10', '74-10=64']
Exploring Operation: 38+64=102, Resulting Numbers: [102]
102,43 unequal: No Solution
Exploring Operation: 38*64=2432, Resulting Numbers: [2432]
2432,43 unequal: No Solution
Exploring Operation: 64-38=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Moving to Node #0,3,3
Current State: 43:[74, 48], Operations: ['6+4=10', '38+10=48']
Exploring Operation: 74*48=3552, Resulting Numbers: [3552]
3552,43 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 74+48=122, Resulting Numbers: [122]
122,43 unequal: No Solution
Moving to Node #0,3,1
Current State: 43:[10, 36], Operations: ['6+4=10', '74-38=36']
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,43 unequal: No Solution
Moving to Node #0,3,0
Current State: 43:[38, 84], Operations: ['6+4=10', '74+10=84']
Exploring Operation: 38*84=3192, Resulting Numbers: [3192]
3192,43 unequal: No Solution
Exploring Operation: 38+84=122, Resulting Numbers: [122]
122,43 unequal: No Solution
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,43 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 |
[
73,
89,
9,
2
] | 36 | [
"73+89=162",
"162/9=18",
"2*18=36"
] | Current State: 36:[73, 89, 9, 2], Operations: []
Exploring Operation: 73+89=162, Resulting Numbers: [9, 2, 162]
Generated Node #2: [9, 2, 162] from Operation: 73+89=162
Current State: 36:[9, 2, 162], Operations: ['73+89=162']
Exploring Operation: 162/9=18, Resulting Numbers: [2, 18]
Generated Node #3: [2, 18] from Operation: 162/9=18
Current State: 36:[2, 18], Operations: ['73+89=162', '162/9=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[73, 89, 9, 2], Operations: []
Exploring Operation: 89-9=80, Resulting Numbers: [73, 2, 80]
Generated Node #0,0: 36:[73, 2, 80] Operation: 89-9=80
Exploring Operation: 89-73=16, Resulting Numbers: [9, 2, 16]
Generated Node #0,1: 36:[9, 2, 16] Operation: 89-73=16
Exploring Operation: 73-9=64, Resulting Numbers: [89, 2, 64]
Generated Node #0,2: 36:[89, 2, 64] Operation: 73-9=64
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[9, 2, 16], Operations: ['89-73=16']
Exploring Operation: 2+16=18, Resulting Numbers: [9, 18]
Generated Node #0,1,0: 36:[9, 18] Operation: 2+16=18
Exploring Operation: 16-9=7, Resulting Numbers: [2, 7]
Generated Node #0,1,1: 36:[2, 7] Operation: 16-9=7
Exploring Operation: 16/2=8, Resulting Numbers: [9, 8]
Generated Node #0,1,2: 36:[9, 8] Operation: 16/2=8
Moving to Node #0,1,0
Current State: 36:[9, 18], Operations: ['89-73=16', '2+16=18']
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[2, 7], Operations: ['89-73=16', '16-9=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[9, 8], Operations: ['89-73=16', '16/2=8']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,36 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[73, 2, 80], Operations: ['89-9=80']
Exploring Operation: 80-73=7, Resulting Numbers: [2, 7]
Generated Node #0,0,0: 36:[2, 7] Operation: 80-73=7
Exploring Operation: 73-2=71, Resulting Numbers: [80, 71]
Generated Node #0,0,1: 36:[80, 71] Operation: 73-2=71
Exploring Operation: 80/2=40, Resulting Numbers: [73, 40]
Generated Node #0,0,2: 36:[73, 40] Operation: 80/2=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[2, 7], Operations: ['89-9=80', '80-73=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,36 unequal: No Solution
No 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: 36:[73, 40], Operations: ['89-9=80', '80/2=40']
Exploring Operation: 73-40=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Exploring Operation: 73+40=113, Resulting Numbers: [113]
113,36 unequal: No Solution
Exploring Operation: 73*40=2920, Resulting Numbers: [2920]
2920,36 unequal: No Solution
No 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: 36:[80, 71], Operations: ['89-9=80', '73-2=71']
Exploring Operation: 80*71=5680, Resulting Numbers: [5680]
5680,36 unequal: No Solution
Exploring Operation: 80+71=151, Resulting Numbers: [151]
151,36 unequal: No Solution
Exploring Operation: 80-71=9, Resulting Numbers: [9]
9,36 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: 36:[89, 2, 64], Operations: ['73-9=64']
Exploring Operation: 89-2=87, Resulting Numbers: [64, 87]
Generated Node #0,2,0: 36:[64, 87] Operation: 89-2=87
Exploring Operation: 89-64=25, Resulting Numbers: [2, 25]
Generated Node #0,2,1: 36:[2, 25] Operation: 89-64=25
Exploring Operation: 64/2=32, Resulting Numbers: [89, 32]
Generated Node #0,2,2: 36:[89, 32] Operation: 64/2=32
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[2, 25], Operations: ['73-9=64', '89-64=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,36 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,36 unequal: No Solution
No 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: 36:[89, 32], Operations: ['73-9=64', '64/2=32']
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,36 unequal: No Solution
Exploring Operation: 89+32=121, Resulting Numbers: [121]
121,36 unequal: No Solution
Exploring Operation: 89*32=2848, Resulting Numbers: [2848]
2848,36 unequal: No Solution
No 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: 36:[64, 87], Operations: ['73-9=64', '89-2=87']
Exploring Operation: 64+87=151, Resulting Numbers: [151]
151,36 unequal: No Solution
Exploring Operation: 64*87=5568, Resulting Numbers: [5568]
5568,36 unequal: No Solution
Exploring Operation: 87-64=23, Resulting Numbers: [23]
23,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
90,
2,
47,
4
] | 92 | [
"90*2=180",
"180/4=45",
"47+45=92"
] | Current State: 92:[90, 2, 47, 4], Operations: []
Exploring Operation: 90*2=180, Resulting Numbers: [47, 4, 180]
Generated Node #2: [47, 4, 180] from Operation: 90*2=180
Current State: 92:[47, 4, 180], Operations: ['90*2=180']
Exploring Operation: 180/4=45, Resulting Numbers: [47, 45]
Generated Node #3: [47, 45] from Operation: 180/4=45
Current State: 92:[47, 45], Operations: ['90*2=180', '180/4=45']
Exploring Operation: 47+45=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[90, 2, 47, 4], Operations: []
Exploring Operation: 90/2=45, Resulting Numbers: [47, 4, 45]
Generated Node #0,0: 92:[47, 4, 45] Operation: 90/2=45
Exploring Operation: 90+2=92, Resulting Numbers: [47, 4, 92]
Generated Node #0,1: 92:[47, 4, 92] Operation: 90+2=92
Exploring Operation: 90-47=43, Resulting Numbers: [2, 4, 43]
Generated Node #0,2: 92:[2, 4, 43] Operation: 90-47=43
Exploring Operation: 90+4=94, Resulting Numbers: [2, 47, 94]
Generated Node #0,3: 92:[2, 47, 94] Operation: 90+4=94
Exploring Operation: 47-2=45, Resulting Numbers: [90, 4, 45]
Generated Node #0,4: 92:[90, 4, 45] Operation: 47-2=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[47, 4, 92], Operations: ['90+2=92']
Exploring Operation: 92-47=45, Resulting Numbers: [4, 45]
Generated Node #0,1,0: 92:[4, 45] Operation: 92-47=45
Exploring Operation: 47-4=43, Resulting Numbers: [92, 43]
Generated Node #0,1,1: 92:[92, 43] Operation: 47-4=43
Exploring Operation: 92/4=23, Resulting Numbers: [47, 23]
Generated Node #0,1,2: 92:[47, 23] Operation: 92/4=23
Exploring Operation: 47+4=51, Resulting Numbers: [92, 51]
Generated Node #0,1,3: 92:[92, 51] Operation: 47+4=51
Exploring Operation: 4+92=96, Resulting Numbers: [47, 96]
Generated Node #0,1,4: 92:[47, 96] Operation: 4+92=96
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[4, 45], Operations: ['90+2=92', '92-47=45']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,92 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 92:[47, 23], Operations: ['90+2=92', '92/4=23']
Exploring Operation: 47*23=1081, Resulting Numbers: [1081]
1081,92 unequal: No Solution
Exploring Operation: 47+23=70, Resulting Numbers: [70]
70,92 unequal: No Solution
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[92, 43], Operations: ['90+2=92', '47-4=43']
Exploring Operation: 92+43=135, Resulting Numbers: [135]
135,92 unequal: No Solution
Exploring Operation: 92*43=3956, Resulting Numbers: [3956]
3956,92 unequal: No Solution
Exploring Operation: 92-43=49, Resulting Numbers: [49]
49,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 92:[92, 51], Operations: ['90+2=92', '47+4=51']
Exploring Operation: 92*51=4692, Resulting Numbers: [4692]
4692,92 unequal: No Solution
Exploring Operation: 92+51=143, Resulting Numbers: [143]
143,92 unequal: No Solution
Exploring Operation: 92-51=41, Resulting Numbers: [41]
41,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 92:[47, 96], Operations: ['90+2=92', '4+92=96']
Exploring Operation: 47*96=4512, Resulting Numbers: [4512]
4512,92 unequal: No Solution
Exploring Operation: 96-47=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 47+96=143, Resulting Numbers: [143]
143,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[47, 4, 45], Operations: ['90/2=45']
Exploring Operation: 4+45=49, Resulting Numbers: [47, 49]
Generated Node #0,0,0: 92:[47, 49] Operation: 4+45=49
Exploring Operation: 47+45=92, Resulting Numbers: [4, 92]
Generated Node #0,0,1: 92:[4, 92] Operation: 47+45=92
Exploring Operation: 47-45=2, Resulting Numbers: [4, 2]
Generated Node #0,0,2: 92:[4, 2] Operation: 47-45=2
Exploring Operation: 47+4=51, Resulting Numbers: [45, 51]
Generated Node #0,0,3: 92:[45, 51] Operation: 47+4=51
Exploring Operation: 47-4=43, Resulting Numbers: [45, 43]
Generated Node #0,0,4: 92:[45, 43] Operation: 47-4=43
Moving to Node #0,0,1
Current State: 92:[4, 92], Operations: ['90/2=45', '47+45=92']
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,92 unequal: No Solution
Exploring Operation: 4*92=368, Resulting Numbers: [368]
368,92 unequal: No Solution
Exploring Operation: 92/4=23, Resulting Numbers: [23]
23,92 unequal: No Solution
Exploring Operation: 4+92=96, Resulting Numbers: [96]
96,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[4, 2], Operations: ['90/2=45', '47-45=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[47, 49], Operations: ['90/2=45', '4+45=49']
Exploring Operation: 47*49=2303, Resulting Numbers: [2303]
2303,92 unequal: No Solution
Exploring Operation: 47+49=96, Resulting Numbers: [96]
96,92 unequal: No Solution
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Moving to Node #0,0,4
Current State: 92:[45, 43], Operations: ['90/2=45', '47-4=43']
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 45*43=1935, Resulting Numbers: [1935]
1935,92 unequal: No Solution
Exploring Operation: 45+43=88, Resulting Numbers: [88]
88,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[45, 51], Operations: ['90/2=45', '47+4=51']
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 45+51=96, Resulting Numbers: [96]
96,92 unequal: No Solution
Exploring Operation: 45*51=2295, Resulting Numbers: [2295]
2295,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[2, 4, 43], Operations: ['90-47=43']
Exploring Operation: 2+43=45, Resulting Numbers: [4, 45]
Generated Node #0,2,0: 92:[4, 45] Operation: 2+43=45
Exploring Operation: 4/2=2, Resulting Numbers: [43, 2]
Generated Node #0,2,1: 92:[43, 2] Operation: 4/2=2
Exploring Operation: 2+4=6, Resulting Numbers: [43, 6]
Generated Node #0,2,2: 92:[43, 6] Operation: 2+4=6
Exploring Operation: 4+43=47, Resulting Numbers: [2, 47]
Generated Node #0,2,3: 92:[2, 47] Operation: 4+43=47
Exploring Operation: 4-2=2, Resulting Numbers: [43, 2]
Generated Node #0,2,4: 92:[43, 2] Operation: 4-2=2
Moving to Node #0,2,0
Current State: 92:[4, 45], Operations: ['90-47=43', '2+43=45']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,92 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Moving to Node #0,2,3
Current State: 92:[2, 47], Operations: ['90-47=43', '4+43=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,92 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,92 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[43, 2], Operations: ['90-47=43', '4/2=2']
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,92 unequal: No Solution
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,92 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Moving to Node #0,2,4
Current State: 92:[43, 2], Operations: ['90-47=43', '4-2=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,92 unequal: No Solution
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[43, 6], Operations: ['90-47=43', '2+4=6']
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,92 unequal: No Solution
Exploring Operation: 43*6=258, Resulting Numbers: [258]
258,92 unequal: No Solution
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[2, 47, 94], Operations: ['90+4=94']
Exploring Operation: 94/2=47, Resulting Numbers: [47, 47]
Generated Node #0,3,0: 92:[47, 47] Operation: 94/2=47
Exploring Operation: 94-2=92, Resulting Numbers: [47, 92]
Generated Node #0,3,1: 92:[47, 92] Operation: 94-2=92
Exploring Operation: 94-47=47, Resulting Numbers: [2, 47]
Generated Node #0,3,2: 92:[2, 47] Operation: 94-47=47
Exploring Operation: 47-2=45, Resulting Numbers: [94, 45]
Generated Node #0,3,3: 92:[94, 45] Operation: 47-2=45
Exploring Operation: 94/47=2, Resulting Numbers: [2, 2]
Generated Node #0,3,4: 92:[2, 2] Operation: 94/47=2
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 92:[2, 2], Operations: ['90+4=94', '94/47=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 92:[47, 92], Operations: ['90+4=94', '94-2=92']
Exploring Operation: 47+92=139, Resulting Numbers: [139]
139,92 unequal: No Solution
Exploring Operation: 92-47=45, Resulting Numbers: [45]
45,92 unequal: No Solution
Exploring Operation: 47*92=4324, Resulting Numbers: [4324]
4324,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 92:[2, 47], Operations: ['90+4=94', '94-47=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,92 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,92 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 92:[47, 47], Operations: ['90+4=94', '94/2=47']
Exploring Operation: 47*47=2209, Resulting Numbers: [2209]
2209,92 unequal: No Solution
Exploring Operation: 47+47=94, Resulting Numbers: [94]
94,92 unequal: No Solution
Exploring Operation: 47-47=0, Resulting Numbers: [0]
0,92 unequal: No Solution
Exploring Operation: 47/47=1, Resulting Numbers: [1]
1,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 92:[94, 45], Operations: ['90+4=94', '47-2=45']
Exploring Operation: 94+45=139, Resulting Numbers: [139]
139,92 unequal: No Solution
Exploring Operation: 94-45=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 94*45=4230, Resulting Numbers: [4230]
4230,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 92:[90, 4, 45], Operations: ['47-2=45']
Exploring Operation: 90-4=86, Resulting Numbers: [45, 86]
Generated Node #0,4,0: 92:[45, 86] Operation: 90-4=86
Exploring Operation: 90/45=2, Resulting Numbers: [4, 2]
Generated Node #0,4,1: 92:[4, 2] Operation: 90/45=2
Exploring Operation: 90-45=45, Resulting Numbers: [4, 45]
Generated Node #0,4,2: 92:[4, 45] Operation: 90-45=45
Exploring Operation: 90+4=94, Resulting Numbers: [45, 94]
Generated Node #0,4,3: 92:[45, 94] Operation: 90+4=94
Exploring Operation: 4+45=49, Resulting Numbers: [90, 49]
Generated Node #0,4,4: 92:[90, 49] Operation: 4+45=49
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 92:[4, 2], Operations: ['47-2=45', '90/45=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 92:[4, 45], Operations: ['47-2=45', '90-45=45']
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 92:[45, 94], Operations: ['47-2=45', '90+4=94']
Exploring Operation: 45+94=139, Resulting Numbers: [139]
139,92 unequal: No Solution
Exploring Operation: 45*94=4230, Resulting Numbers: [4230]
4230,92 unequal: No Solution
Exploring Operation: 94-45=49, Resulting Numbers: [49]
49,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 92:[90, 49], Operations: ['47-2=45', '4+45=49']
Exploring Operation: 90-49=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 90*49=4410, Resulting Numbers: [4410]
4410,92 unequal: No Solution
Exploring Operation: 90+49=139, Resulting Numbers: [139]
139,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 92:[45, 86], Operations: ['47-2=45', '90-4=86']
Exploring Operation: 45*86=3870, Resulting Numbers: [3870]
3870,92 unequal: No Solution
Exploring Operation: 86-45=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 45+86=131, Resulting Numbers: [131]
131,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
89,
51,
18,
60
] | 40 | [
"89-51=38",
"18+60=78",
"78-38=40"
] | Current State: 40:[89, 51, 18, 60], Operations: []
Exploring Operation: 89-51=38, Resulting Numbers: [18, 60, 38]
Generated Node #2: [18, 60, 38] from Operation: 89-51=38
Current State: 40:[18, 60, 38], Operations: ['89-51=38']
Exploring Operation: 18+60=78, Resulting Numbers: [38, 78]
Generated Node #3: [38, 78] from Operation: 18+60=78
Current State: 40:[38, 78], Operations: ['89-51=38', '18+60=78']
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[89, 51, 18, 60], Operations: []
Exploring Operation: 89-51=38, Resulting Numbers: [18, 60, 38]
Generated Node #0,0: 40:[18, 60, 38] Operation: 89-51=38
Exploring Operation: 60-51=9, Resulting Numbers: [89, 18, 9]
Generated Node #0,1: 40:[89, 18, 9] Operation: 60-51=9
Exploring Operation: 89-60=29, Resulting Numbers: [51, 18, 29]
Generated Node #0,2: 40:[51, 18, 29] Operation: 89-60=29
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[51, 18, 29], Operations: ['89-60=29']
Exploring Operation: 51-18=33, Resulting Numbers: [29, 33]
Generated Node #0,2,0: 40:[29, 33] Operation: 51-18=33
Exploring Operation: 29-18=11, Resulting Numbers: [51, 11]
Generated Node #0,2,1: 40:[51, 11] Operation: 29-18=11
Exploring Operation: 51-29=22, Resulting Numbers: [18, 22]
Generated Node #0,2,2: 40:[18, 22] Operation: 51-29=22
Moving to Node #0,2,2
Current State: 40:[18, 22], Operations: ['89-60=29', '51-29=22']
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[89, 51, 18, 60], Operations: []
Exploring Operation: 89-60=29, Resulting Numbers: [51, 18, 29]
Generated Node #0,2: 40:[51, 18, 29] Operation: 89-60=29
Moving to Node #0,2
Current State: 40:[51, 18, 29], Operations: ['89-60=29']
Exploring Operation: 51-29=22, Resulting Numbers: [18, 22]
Generated Node #0,2,2: 40:[18, 22] Operation: 51-29=22
Moving to Node #0,2,2
Current State: 40:[18, 22], Operations: ['89-60=29', '51-29=22']
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
96,
82,
58,
53
] | 97 | [
"96-82=14",
"58+53=111",
"111-14=97"
] | Current State: 97:[96, 82, 58, 53], Operations: []
Exploring Operation: 96-82=14, Resulting Numbers: [58, 53, 14]
Generated Node #2: [58, 53, 14] from Operation: 96-82=14
Current State: 97:[58, 53, 14], Operations: ['96-82=14']
Exploring Operation: 58+53=111, Resulting Numbers: [14, 111]
Generated Node #3: [14, 111] from Operation: 58+53=111
Current State: 97:[14, 111], Operations: ['96-82=14', '58+53=111']
Exploring Operation: 111-14=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[96, 82, 58, 53], Operations: []
Exploring Operation: 96-53=43, Resulting Numbers: [82, 58, 43]
Generated Node #0,0: 97:[82, 58, 43] Operation: 96-53=43
Exploring Operation: 58+53=111, Resulting Numbers: [96, 82, 111]
Generated Node #0,1: 97:[96, 82, 111] Operation: 58+53=111
Exploring Operation: 96+53=149, Resulting Numbers: [82, 58, 149]
Generated Node #0,2: 97:[82, 58, 149] Operation: 96+53=149
Exploring Operation: 82+53=135, Resulting Numbers: [96, 58, 135]
Generated Node #0,3: 97:[96, 58, 135] Operation: 82+53=135
Exploring Operation: 82+58=140, Resulting Numbers: [96, 53, 140]
Generated Node #0,4: 97:[96, 53, 140] Operation: 82+58=140
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[96, 82, 111], Operations: ['58+53=111']
Exploring Operation: 111-82=29, Resulting Numbers: [96, 29]
Generated Node #0,1,0: 97:[96, 29] Operation: 111-82=29
Exploring Operation: 111-96=15, Resulting Numbers: [82, 15]
Generated Node #0,1,1: 97:[82, 15] Operation: 111-96=15
Exploring Operation: 96+82=178, Resulting Numbers: [111, 178]
Generated Node #0,1,2: 97:[111, 178] Operation: 96+82=178
Exploring Operation: 82+111=193, Resulting Numbers: [96, 193]
Generated Node #0,1,3: 97:[96, 193] Operation: 82+111=193
Exploring Operation: 96-82=14, Resulting Numbers: [111, 14]
Generated Node #0,1,4: 97:[111, 14] Operation: 96-82=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[96, 29], Operations: ['58+53=111', '111-82=29']
Exploring Operation: 96+29=125, Resulting Numbers: [125]
125,97 unequal: No Solution
Exploring Operation: 96*29=2784, Resulting Numbers: [2784]
2784,97 unequal: No Solution
Exploring Operation: 96-29=67, Resulting Numbers: [67]
67,97 unequal: No Solution
No 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: 97:[111, 178], Operations: ['58+53=111', '96+82=178']
Exploring Operation: 178-111=67, Resulting Numbers: [67]
67,97 unequal: No Solution
Exploring Operation: 111+178=289, Resulting Numbers: [289]
289,97 unequal: No Solution
Exploring Operation: 111*178=19758, Resulting Numbers: [19758]
19758,97 unequal: No Solution
No 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: 97:[82, 15], Operations: ['58+53=111', '111-96=15']
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,97 unequal: No Solution
Exploring Operation: 82+15=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[96, 82, 58, 53], Operations: []
Exploring Operation: 58+53=111, Resulting Numbers: [96, 82, 111]
Generated Node #0,1: 97:[96, 82, 111] Operation: 58+53=111
Moving to Node #0,1
Current State: 97:[96, 82, 111], Operations: ['58+53=111']
Exploring Operation: 111-96=15, Resulting Numbers: [82, 15]
Generated Node #0,1,1: 97:[82, 15] Operation: 111-96=15
Moving to Node #0,1,1
Current State: 97:[82, 15], Operations: ['58+53=111', '111-96=15']
Exploring Operation: 82+15=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
2,
86,
14,
80
] | 56 | [
"86-2=84",
"84-80=4",
"14*4=56"
] | Current State: 56:[2, 86, 14, 80], Operations: []
Exploring Operation: 86-2=84, Resulting Numbers: [14, 80, 84]
Generated Node #2: [14, 80, 84] from Operation: 86-2=84
Current State: 56:[14, 80, 84], Operations: ['86-2=84']
Exploring Operation: 84-80=4, Resulting Numbers: [14, 4]
Generated Node #3: [14, 4] from Operation: 84-80=4
Current State: 56:[14, 4], Operations: ['86-2=84', '84-80=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[2, 86, 14, 80], Operations: []
Exploring Operation: 86-80=6, Resulting Numbers: [2, 14, 6]
Generated Node #0,0: 56:[2, 14, 6] Operation: 86-80=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[2, 14, 6], Operations: ['86-80=6']
Exploring Operation: 2+6=8, Resulting Numbers: [14, 8]
Generated Node #0,0,0: 56:[14, 8] Operation: 2+6=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[14, 8], Operations: ['86-80=6', '2+6=8']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
39,
17,
10,
29
] | 83 | [
"39-29=10",
"10*10=100",
"100-17=83"
] | Current State: 83:[39, 17, 10, 29], Operations: []
Exploring Operation: 39-29=10, Resulting Numbers: [17, 10, 10]
Generated Node #2: [17, 10, 10] from Operation: 39-29=10
Current State: 83:[17, 10, 10], Operations: ['39-29=10']
Exploring Operation: 10*10=100, Resulting Numbers: [17, 100]
Generated Node #3: [17, 100] from Operation: 10*10=100
Current State: 83:[17, 100], Operations: ['39-29=10', '10*10=100']
Exploring Operation: 100-17=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[39, 17, 10, 29], Operations: []
Exploring Operation: 39+17=56, Resulting Numbers: [10, 29, 56]
Generated Node #0,0: 83:[10, 29, 56] Operation: 39+17=56
Exploring Operation: 39+10=49, Resulting Numbers: [17, 29, 49]
Generated Node #0,1: 83:[17, 29, 49] Operation: 39+10=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[10, 29, 56], Operations: ['39+17=56']
Exploring Operation: 10+56=66, Resulting Numbers: [29, 66]
Generated Node #0,0,0: 83:[29, 66] Operation: 10+56=66
Exploring Operation: 10+29=39, Resulting Numbers: [56, 39]
Generated Node #0,0,1: 83:[56, 39] Operation: 10+29=39
Moving to Node #0,0,0
Current State: 83:[29, 66], Operations: ['39+17=56', '10+56=66']
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,83 unequal: No Solution
Exploring Operation: 29+66=95, Resulting Numbers: [95]
95,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[56, 39], Operations: ['39+17=56', '10+29=39']
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,83 unequal: No Solution
Exploring Operation: 56+39=95, Resulting Numbers: [95]
95,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[17, 29, 49], Operations: ['39+10=49']
Exploring Operation: 17+49=66, Resulting Numbers: [29, 66]
Generated Node #0,1,0: 83:[29, 66] Operation: 17+49=66
Exploring Operation: 17+29=46, Resulting Numbers: [49, 46]
Generated Node #0,1,1: 83:[49, 46] Operation: 17+29=46
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[29, 66], Operations: ['39+10=49', '17+49=66']
Exploring Operation: 29+66=95, Resulting Numbers: [95]
95,83 unequal: No Solution
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,83 unequal: No Solution
No 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: 83:[49, 46], Operations: ['39+10=49', '17+29=46']
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,83 unequal: No Solution
Exploring Operation: 49+46=95, Resulting Numbers: [95]
95,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
52,
45,
60,
2
] | 82 | [
"60-52=8",
"45*2=90",
"90-8=82"
] | Current State: 82:[52, 45, 60, 2], Operations: []
Exploring Operation: 60-52=8, Resulting Numbers: [45, 2, 8]
Generated Node #2: [45, 2, 8] from Operation: 60-52=8
Current State: 82:[45, 2, 8], Operations: ['60-52=8']
Exploring Operation: 45*2=90, Resulting Numbers: [8, 90]
Generated Node #3: [8, 90] from Operation: 45*2=90
Current State: 82:[8, 90], Operations: ['60-52=8', '45*2=90']
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[52, 45, 60, 2], Operations: []
Exploring Operation: 60-52=8, Resulting Numbers: [45, 2, 8]
Generated Node #0,0: 82:[45, 2, 8] Operation: 60-52=8
Exploring Operation: 52-45=7, Resulting Numbers: [60, 2, 7]
Generated Node #0,1: 82:[60, 2, 7] Operation: 52-45=7
Moving to Node #0,0
Current State: 82:[45, 2, 8], Operations: ['60-52=8']
Exploring Operation: 45-8=37, Resulting Numbers: [2, 37]
Generated Node #0,0,0: 82:[2, 37] Operation: 45-8=37
Exploring Operation: 8/2=4, Resulting Numbers: [45, 4]
Generated Node #0,0,1: 82:[45, 4] Operation: 8/2=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[2, 37], Operations: ['60-52=8', '45-8=37']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,82 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 82:[45, 4], Operations: ['60-52=8', '8/2=4']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,82 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: 82:[60, 2, 7], Operations: ['52-45=7']
Exploring Operation: 60+7=67, Resulting Numbers: [2, 67]
Generated Node #0,1,0: 82:[2, 67] Operation: 60+7=67
Exploring Operation: 60-7=53, Resulting Numbers: [2, 53]
Generated Node #0,1,1: 82:[2, 53] Operation: 60-7=53
Moving to Node #0,1,1
Current State: 82:[2, 53], Operations: ['52-45=7', '60-7=53']
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,82 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[2, 67], Operations: ['52-45=7', '60+7=67']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,82 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,82 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
35,
45,
25,
22
] | 100 | [
"25-22=3",
"45*3=135",
"135-35=100"
] | Current State: 100:[35, 45, 25, 22], Operations: []
Exploring Operation: 25-22=3, Resulting Numbers: [35, 45, 3]
Generated Node #2: [35, 45, 3] from Operation: 25-22=3
Current State: 100:[35, 45, 3], Operations: ['25-22=3']
Exploring Operation: 45*3=135, Resulting Numbers: [35, 135]
Generated Node #3: [35, 135] from Operation: 45*3=135
Current State: 100:[35, 135], Operations: ['25-22=3', '45*3=135']
Exploring Operation: 135-35=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[35, 45, 25, 22], Operations: []
Exploring Operation: 45-35=10, Resulting Numbers: [25, 22, 10]
Generated Node #0,0: 100:[25, 22, 10] Operation: 45-35=10
Moving to Node #0,0
Current State: 100:[25, 22, 10], Operations: ['45-35=10']
Exploring Operation: 25-22=3, Resulting Numbers: [10, 3]
Generated Node #0,0,0: 100:[10, 3] Operation: 25-22=3
Moving to Node #0,0,0
Current State: 100:[10, 3], Operations: ['45-35=10', '25-22=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,100 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
26,
52,
18,
24
] | 15 | [
"52/26=2",
"18/2=9",
"24-9=15"
] | Current State: 15:[26, 52, 18, 24], Operations: []
Exploring Operation: 52/26=2, Resulting Numbers: [18, 24, 2]
Generated Node #2: [18, 24, 2] from Operation: 52/26=2
Current State: 15:[18, 24, 2], Operations: ['52/26=2']
Exploring Operation: 18/2=9, Resulting Numbers: [24, 9]
Generated Node #3: [24, 9] from Operation: 18/2=9
Current State: 15:[24, 9], Operations: ['52/26=2', '18/2=9']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[26, 52, 18, 24], Operations: []
Exploring Operation: 52-26=26, Resulting Numbers: [18, 24, 26]
Generated Node #0,0: 15:[18, 24, 26] Operation: 52-26=26
Exploring Operation: 52-24=28, Resulting Numbers: [26, 18, 28]
Generated Node #0,1: 15:[26, 18, 28] Operation: 52-24=28
Exploring Operation: 26-24=2, Resulting Numbers: [52, 18, 2]
Generated Node #0,2: 15:[52, 18, 2] Operation: 26-24=2
Exploring Operation: 52-18=34, Resulting Numbers: [26, 24, 34]
Generated Node #0,3: 15:[26, 24, 34] Operation: 52-18=34
Exploring Operation: 52/26=2, Resulting Numbers: [18, 24, 2]
Generated Node #0,4: 15:[18, 24, 2] Operation: 52/26=2
Moving to Node #0,4
Current State: 15:[18, 24, 2], Operations: ['52/26=2']
Exploring Operation: 24-2=22, Resulting Numbers: [18, 22]
Generated Node #0,4,0: 15:[18, 22] Operation: 24-2=22
Exploring Operation: 24/2=12, Resulting Numbers: [18, 12]
Generated Node #0,4,1: 15:[18, 12] Operation: 24/2=12
Exploring Operation: 18-2=16, Resulting Numbers: [24, 16]
Generated Node #0,4,2: 15:[24, 16] Operation: 18-2=16
Exploring Operation: 18/2=9, Resulting Numbers: [24, 9]
Generated Node #0,4,3: 15:[24, 9] Operation: 18/2=9
Exploring Operation: 24-18=6, Resulting Numbers: [2, 6]
Generated Node #0,4,4: 15:[2, 6] Operation: 24-18=6
Moving to Node #0,0
Current State: 15:[18, 24, 26], Operations: ['52-26=26']
Exploring Operation: 26-18=8, Resulting Numbers: [24, 8]
Generated Node #0,0,0: 15:[24, 8] Operation: 26-18=8
Exploring Operation: 18+26=44, Resulting Numbers: [24, 44]
Generated Node #0,0,1: 15:[24, 44] Operation: 18+26=44
Exploring Operation: 24-18=6, Resulting Numbers: [26, 6]
Generated Node #0,0,2: 15:[26, 6] Operation: 24-18=6
Exploring Operation: 18+24=42, Resulting Numbers: [26, 42]
Generated Node #0,0,3: 15:[26, 42] Operation: 18+24=42
Exploring Operation: 26-24=2, Resulting Numbers: [18, 2]
Generated Node #0,0,4: 15:[18, 2] Operation: 26-24=2
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 15:[18, 2], Operations: ['52-26=26', '26-24=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[24, 8], Operations: ['52-26=26', '26-18=8']
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,15 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 15:[26, 6], Operations: ['52-26=26', '24-18=6']
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,15 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[24, 44], Operations: ['52-26=26', '18+26=44']
Exploring Operation: 24+44=68, Resulting Numbers: [68]
68,15 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 24*44=1056, Resulting Numbers: [1056]
1056,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 15:[26, 42], Operations: ['52-26=26', '18+24=42']
Exploring Operation: 26*42=1092, Resulting Numbers: [1092]
1092,15 unequal: No Solution
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 26+42=68, Resulting Numbers: [68]
68,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 15:[26, 18, 28], Operations: ['52-24=28']
Exploring Operation: 28-26=2, Resulting Numbers: [18, 2]
Generated Node #0,1,0: 15:[18, 2] Operation: 28-26=2
Exploring Operation: 26+18=44, Resulting Numbers: [28, 44]
Generated Node #0,1,1: 15:[28, 44] Operation: 26+18=44
Exploring Operation: 26-18=8, Resulting Numbers: [28, 8]
Generated Node #0,1,2: 15:[28, 8] Operation: 26-18=8
Exploring Operation: 26+28=54, Resulting Numbers: [18, 54]
Generated Node #0,1,3: 15:[18, 54] Operation: 26+28=54
Exploring Operation: 28-18=10, Resulting Numbers: [26, 10]
Generated Node #0,1,4: 15:[26, 10] Operation: 28-18=10
Moving to Node #0,3
Current State: 15:[26, 24, 34], Operations: ['52-18=34']
Exploring Operation: 34-24=10, Resulting Numbers: [26, 10]
Generated Node #0,3,0: 15:[26, 10] Operation: 34-24=10
Exploring Operation: 34-26=8, Resulting Numbers: [24, 8]
Generated Node #0,3,1: 15:[24, 8] Operation: 34-26=8
Exploring Operation: 26-24=2, Resulting Numbers: [34, 2]
Generated Node #0,3,2: 15:[34, 2] Operation: 26-24=2
Exploring Operation: 26+24=50, Resulting Numbers: [34, 50]
Generated Node #0,3,3: 15:[34, 50] Operation: 26+24=50
Exploring Operation: 26+34=60, Resulting Numbers: [24, 60]
Generated Node #0,3,4: 15:[24, 60] Operation: 26+34=60
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 15:[24, 8], Operations: ['52-18=34', '34-26=8']
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,15 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 15:[26, 10], Operations: ['52-18=34', '34-24=10']
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 26*10=260, Resulting Numbers: [260]
260,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 15:[34, 2], Operations: ['52-18=34', '26-24=2']
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,15 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 15:[34, 50], Operations: ['52-18=34', '26+24=50']
Exploring Operation: 34+50=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 34*50=1700, Resulting Numbers: [1700]
1700,15 unequal: No Solution
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 15:[24, 60], Operations: ['52-18=34', '26+34=60']
Exploring Operation: 24+60=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 24*60=1440, Resulting Numbers: [1440]
1440,15 unequal: No Solution
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,15 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: 15:[52, 18, 2], Operations: ['26-24=2']
Exploring Operation: 52/2=26, Resulting Numbers: [18, 26]
Generated Node #0,2,0: 15:[18, 26] Operation: 52/2=26
Exploring Operation: 18-2=16, Resulting Numbers: [52, 16]
Generated Node #0,2,1: 15:[52, 16] Operation: 18-2=16
Exploring Operation: 52-2=50, Resulting Numbers: [18, 50]
Generated Node #0,2,2: 15:[18, 50] Operation: 52-2=50
Exploring Operation: 18/2=9, Resulting Numbers: [52, 9]
Generated Node #0,2,3: 15:[52, 9] Operation: 18/2=9
Exploring Operation: 52-18=34, Resulting Numbers: [2, 34]
Generated Node #0,2,4: 15:[2, 34] Operation: 52-18=34
Moving to Node #0,4,4
Current State: 15:[2, 6], Operations: ['52/26=2', '24-18=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,15 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[18, 2], Operations: ['52-24=28', '28-26=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Moving to Node #0,4,1
Current State: 15:[18, 12], Operations: ['52/26=2', '24/2=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,15 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Moving to Node #0,4,0
Current State: 15:[18, 22], Operations: ['52/26=2', '24-2=22']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,15 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Moving to Node #0,4,2
Current State: 15:[24, 16], Operations: ['52/26=2', '18-2=16']
Exploring Operation: 24*16=384, Resulting Numbers: [384]
384,15 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,15 unequal: No Solution
Moving to Node #0,4,3
Current State: 15:[24, 9], Operations: ['52/26=2', '18/2=9']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[26, 52, 18, 24], Operations: []
Exploring Operation: 52/26=2, Resulting Numbers: [18, 24, 2]
Generated Node #0,4: 15:[18, 24, 2] Operation: 52/26=2
Moving to Node #0,4
Current State: 15:[18, 24, 2], Operations: ['52/26=2']
Exploring Operation: 18/2=9, Resulting Numbers: [24, 9]
Generated Node #0,4,3: 15:[24, 9] Operation: 18/2=9
Moving to Node #0,4,3
Current State: 15:[24, 9], Operations: ['52/26=2', '18/2=9']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.925347 | hs_5 | sum_heuristic |
[
26,
58,
22,
57
] | 46 | [
"22*57=1254",
"1254-58=1196",
"1196/26=46"
] | Current State: 46:[26, 58, 22, 57], Operations: []
Exploring Operation: 22*57=1254, Resulting Numbers: [26, 58, 1254]
Generated Node #2: [26, 58, 1254] from Operation: 22*57=1254
Current State: 46:[26, 58, 1254], Operations: ['22*57=1254']
Exploring Operation: 1254-58=1196, Resulting Numbers: [26, 1196]
Generated Node #3: [26, 1196] from Operation: 1254-58=1196
Current State: 46:[26, 1196], Operations: ['22*57=1254', '1254-58=1196']
Exploring Operation: 1196/26=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[26, 58, 22, 57], Operations: []
Exploring Operation: 58-22=36, Resulting Numbers: [26, 57, 36]
Generated Node #0,0: 46:[26, 57, 36] Operation: 58-22=36
Exploring Operation: 57-26=31, Resulting Numbers: [58, 22, 31]
Generated Node #0,1: 46:[58, 22, 31] Operation: 57-26=31
Exploring Operation: 58-26=32, Resulting Numbers: [22, 57, 32]
Generated Node #0,2: 46:[22, 57, 32] Operation: 58-26=32
Exploring Operation: 26+22=48, Resulting Numbers: [58, 57, 48]
Generated Node #0,3: 46:[58, 57, 48] Operation: 26+22=48
Exploring Operation: 58-57=1, Resulting Numbers: [26, 22, 1]
Generated Node #0,4: 46:[26, 22, 1] Operation: 58-57=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 46:[26, 22, 1], Operations: ['58-57=1']
Exploring Operation: 26-1=25, Resulting Numbers: [22, 25]
Generated Node #0,4,0: 46:[22, 25] Operation: 26-1=25
Exploring Operation: 22+1=23, Resulting Numbers: [26, 23]
Generated Node #0,4,1: 46:[26, 23] Operation: 22+1=23
Exploring Operation: 26*1=26, Resulting Numbers: [22, 26]
Generated Node #0,4,2: 46:[22, 26] Operation: 26*1=26
Exploring Operation: 26-22=4, Resulting Numbers: [1, 4]
Generated Node #0,4,3: 46:[1, 4] Operation: 26-22=4
Exploring Operation: 26+22=48, Resulting Numbers: [1, 48]
Generated Node #0,4,4: 46:[1, 48] Operation: 26+22=48
Moving to Node #0,4,0
Current State: 46:[22, 25], Operations: ['58-57=1', '26-1=25']
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 22+25=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Exploring Operation: 22*25=550, Resulting Numbers: [550]
550,46 unequal: No Solution
Moving to Node #0,4,3
Current State: 46:[1, 4], Operations: ['58-57=1', '26-22=4']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Moving to Node #0,4,1
Current State: 46:[26, 23], Operations: ['58-57=1', '22+1=23']
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 26+23=49, Resulting Numbers: [49]
49,46 unequal: No Solution
Exploring Operation: 26*23=598, Resulting Numbers: [598]
598,46 unequal: No Solution
Moving to Node #0,4,4
Current State: 46:[1, 48], Operations: ['58-57=1', '26+22=48']
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 1+48=49, Resulting Numbers: [49]
49,46 unequal: No Solution
Exploring Operation: 1*48=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Moving to Node #0,4,2
Current State: 46:[22, 26], Operations: ['58-57=1', '26*1=26']
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,46 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[58, 22, 31], Operations: ['57-26=31']
Exploring Operation: 58-22=36, Resulting Numbers: [31, 36]
Generated Node #0,1,0: 46:[31, 36] Operation: 58-22=36
Exploring Operation: 58+22=80, Resulting Numbers: [31, 80]
Generated Node #0,1,1: 46:[31, 80] Operation: 58+22=80
Exploring Operation: 58-31=27, Resulting Numbers: [22, 27]
Generated Node #0,1,2: 46:[22, 27] Operation: 58-31=27
Exploring Operation: 22+31=53, Resulting Numbers: [58, 53]
Generated Node #0,1,3: 46:[58, 53] Operation: 22+31=53
Exploring Operation: 31-22=9, Resulting Numbers: [58, 9]
Generated Node #0,1,4: 46:[58, 9] Operation: 31-22=9
Moving to Node #0,1,2
Current State: 46:[22, 27], Operations: ['57-26=31', '58-31=27']
Exploring Operation: 22*27=594, Resulting Numbers: [594]
594,46 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 22+27=49, Resulting Numbers: [49]
49,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[31, 36], Operations: ['57-26=31', '58-22=36']
Exploring Operation: 31*36=1116, Resulting Numbers: [1116]
1116,46 unequal: No Solution
Exploring Operation: 31+36=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Moving to Node #0,1,3
Current State: 46:[58, 53], Operations: ['57-26=31', '22+31=53']
Exploring Operation: 58-53=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 58*53=3074, Resulting Numbers: [3074]
3074,46 unequal: No Solution
Exploring Operation: 58+53=111, Resulting Numbers: [111]
111,46 unequal: No Solution
Moving to Node #0,1,4
Current State: 46:[58, 9], Operations: ['57-26=31', '31-22=9']
Exploring Operation: 58*9=522, Resulting Numbers: [522]
522,46 unequal: No Solution
Exploring Operation: 58+9=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[31, 80], Operations: ['57-26=31', '58+22=80']
Exploring Operation: 31+80=111, Resulting Numbers: [111]
111,46 unequal: No Solution
Exploring Operation: 80-31=49, Resulting Numbers: [49]
49,46 unequal: No Solution
Exploring Operation: 31*80=2480, Resulting Numbers: [2480]
2480,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:[22, 57, 32], Operations: ['58-26=32']
Exploring Operation: 57-22=35, Resulting Numbers: [32, 35]
Generated Node #0,2,0: 46:[32, 35] Operation: 57-22=35
Exploring Operation: 32-22=10, Resulting Numbers: [57, 10]
Generated Node #0,2,1: 46:[57, 10] Operation: 32-22=10
Exploring Operation: 22+57=79, Resulting Numbers: [32, 79]
Generated Node #0,2,2: 46:[32, 79] Operation: 22+57=79
Exploring Operation: 57-32=25, Resulting Numbers: [22, 25]
Generated Node #0,2,3: 46:[22, 25] Operation: 57-32=25
Exploring Operation: 22+32=54, Resulting Numbers: [57, 54]
Generated Node #0,2,4: 46:[57, 54] Operation: 22+32=54
Moving to Node #0,2,3
Current State: 46:[22, 25], Operations: ['58-26=32', '57-32=25']
Exploring Operation: 22*25=550, Resulting Numbers: [550]
550,46 unequal: No Solution
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 22+25=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Moving to Node #0,2,4
Current State: 46:[57, 54], Operations: ['58-26=32', '22+32=54']
Exploring Operation: 57+54=111, Resulting Numbers: [111]
111,46 unequal: No Solution
Exploring Operation: 57-54=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 57*54=3078, Resulting Numbers: [3078]
3078,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[57, 10], Operations: ['58-26=32', '32-22=10']
Exploring Operation: 57-10=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Exploring Operation: 57*10=570, Resulting Numbers: [570]
570,46 unequal: No Solution
Exploring Operation: 57+10=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[32, 35], Operations: ['58-26=32', '57-22=35']
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 32*35=1120, Resulting Numbers: [1120]
1120,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[32, 79], Operations: ['58-26=32', '22+57=79']
Exploring Operation: 32+79=111, Resulting Numbers: [111]
111,46 unequal: No Solution
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Exploring Operation: 32*79=2528, Resulting Numbers: [2528]
2528,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,0
Current State: 46:[26, 57, 36], Operations: ['58-22=36']
Exploring Operation: 57-26=31, Resulting Numbers: [36, 31]
Generated Node #0,0,0: 46:[36, 31] Operation: 57-26=31
Exploring Operation: 36-26=10, Resulting Numbers: [57, 10]
Generated Node #0,0,1: 46:[57, 10] Operation: 36-26=10
Exploring Operation: 57-36=21, Resulting Numbers: [26, 21]
Generated Node #0,0,2: 46:[26, 21] Operation: 57-36=21
Exploring Operation: 26+57=83, Resulting Numbers: [36, 83]
Generated Node #0,0,3: 46:[36, 83] Operation: 26+57=83
Exploring Operation: 26+36=62, Resulting Numbers: [57, 62]
Generated Node #0,0,4: 46:[57, 62] Operation: 26+36=62
Moving to Node #0,0,2
Current State: 46:[26, 21], Operations: ['58-22=36', '57-36=21']
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Exploring Operation: 26*21=546, Resulting Numbers: [546]
546,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[36, 31], Operations: ['58-22=36', '57-26=31']
Exploring Operation: 36*31=1116, Resulting Numbers: [1116]
1116,46 unequal: No Solution
Exploring Operation: 36+31=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[57, 10], Operations: ['58-22=36', '36-26=10']
Exploring Operation: 57*10=570, Resulting Numbers: [570]
570,46 unequal: No Solution
Exploring Operation: 57+10=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 57-10=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Moving to Node #0,0,4
Current State: 46:[57, 62], Operations: ['58-22=36', '26+36=62']
Exploring Operation: 57*62=3534, Resulting Numbers: [3534]
3534,46 unequal: No Solution
Exploring Operation: 62-57=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 57+62=119, Resulting Numbers: [119]
119,46 unequal: No Solution
Moving to Node #0,0,3
Current State: 46:[36, 83], Operations: ['58-22=36', '26+57=83']
Exploring Operation: 83-36=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Exploring Operation: 36*83=2988, Resulting Numbers: [2988]
2988,46 unequal: No Solution
Exploring Operation: 36+83=119, Resulting Numbers: [119]
119,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:[58, 57, 48], Operations: ['26+22=48']
Exploring Operation: 58+48=106, Resulting Numbers: [57, 106]
Generated Node #0,3,0: 46:[57, 106] Operation: 58+48=106
Exploring Operation: 58-48=10, Resulting Numbers: [57, 10]
Generated Node #0,3,1: 46:[57, 10] Operation: 58-48=10
Exploring Operation: 57-48=9, Resulting Numbers: [58, 9]
Generated Node #0,3,2: 46:[58, 9] Operation: 57-48=9
Exploring Operation: 58+57=115, Resulting Numbers: [48, 115]
Generated Node #0,3,3: 46:[48, 115] Operation: 58+57=115
Exploring Operation: 58-57=1, Resulting Numbers: [48, 1]
Generated Node #0,3,4: 46:[48, 1] Operation: 58-57=1
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 46:[48, 1], Operations: ['26+22=48', '58-57=1']
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 48+1=49, Resulting Numbers: [49]
49,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:[57, 10], Operations: ['26+22=48', '58-48=10']
Exploring Operation: 57*10=570, Resulting Numbers: [570]
570,46 unequal: No Solution
Exploring Operation: 57+10=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 57-10=47, Resulting Numbers: [47]
47,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:[58, 9], Operations: ['26+22=48', '57-48=9']
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,46 unequal: No Solution
Exploring Operation: 58*9=522, Resulting Numbers: [522]
522,46 unequal: No Solution
Exploring Operation: 58+9=67, Resulting Numbers: [67]
67,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,0
Current State: 46:[57, 106], Operations: ['26+22=48', '58+48=106']
Exploring Operation: 57+106=163, Resulting Numbers: [163]
163,46 unequal: No Solution
Exploring Operation: 106-57=49, Resulting Numbers: [49]
49,46 unequal: No Solution
Exploring Operation: 57*106=6042, Resulting Numbers: [6042]
6042,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:[48, 115], Operations: ['26+22=48', '58+57=115']
Exploring Operation: 48+115=163, Resulting Numbers: [163]
163,46 unequal: No Solution
Exploring Operation: 115-48=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 48*115=5520, Resulting Numbers: [5520]
5520,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_5 | sum_heuristic |
[
52,
91,
88,
13
] | 62 | [
"91-52=39",
"88+13=101",
"101-39=62"
] | Current State: 62:[52, 91, 88, 13], Operations: []
Exploring Operation: 91-52=39, Resulting Numbers: [88, 13, 39]
Generated Node #2: [88, 13, 39] from Operation: 91-52=39
Current State: 62:[88, 13, 39], Operations: ['91-52=39']
Exploring Operation: 88+13=101, Resulting Numbers: [39, 101]
Generated Node #3: [39, 101] from Operation: 88+13=101
Current State: 62:[39, 101], Operations: ['91-52=39', '88+13=101']
Exploring Operation: 101-39=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[52, 91, 88, 13], Operations: []
Exploring Operation: 91/13=7, Resulting Numbers: [52, 88, 7]
Generated Node #0,0: 62:[52, 88, 7] Operation: 91/13=7
Exploring Operation: 91-88=3, Resulting Numbers: [52, 13, 3]
Generated Node #0,1: 62:[52, 13, 3] Operation: 91-88=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[52, 13, 3], Operations: ['91-88=3']
Exploring Operation: 52+13=65, Resulting Numbers: [3, 65]
Generated Node #0,1,0: 62:[3, 65] Operation: 52+13=65
Exploring Operation: 52/13=4, Resulting Numbers: [3, 4]
Generated Node #0,1,1: 62:[3, 4] Operation: 52/13=4
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 62:[3, 4], Operations: ['91-88=3', '52/13=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 62:[3, 65], Operations: ['91-88=3', '52+13=65']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[52, 91, 88, 13], Operations: []
Exploring Operation: 91-88=3, Resulting Numbers: [52, 13, 3]
Generated Node #0,1: 62:[52, 13, 3] Operation: 91-88=3
Moving to Node #0,1
Current State: 62:[52, 13, 3], Operations: ['91-88=3']
Exploring Operation: 52+13=65, Resulting Numbers: [3, 65]
Generated Node #0,1,0: 62:[3, 65] Operation: 52+13=65
Moving to Node #0,1,0
Current State: 62:[3, 65], Operations: ['91-88=3', '52+13=65']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
39,
82,
98,
43
] | 97 | [
"82-39=43",
"43/43=1",
"98-1=97"
] | Current State: 97:[39, 82, 98, 43], Operations: []
Exploring Operation: 82-39=43, Resulting Numbers: [98, 43, 43]
Generated Node #2: [98, 43, 43] from Operation: 82-39=43
Current State: 97:[98, 43, 43], Operations: ['82-39=43']
Exploring Operation: 43/43=1, Resulting Numbers: [98, 1]
Generated Node #3: [98, 1] from Operation: 43/43=1
Current State: 97:[98, 1], Operations: ['82-39=43', '43/43=1']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[39, 82, 98, 43], Operations: []
Exploring Operation: 98-39=59, Resulting Numbers: [82, 43, 59]
Generated Node #0,0: 97:[82, 43, 59] Operation: 98-39=59
Exploring Operation: 39+43=82, Resulting Numbers: [82, 98, 82]
Generated Node #0,1: 97:[82, 98, 82] Operation: 39+43=82
Exploring Operation: 82+43=125, Resulting Numbers: [39, 98, 125]
Generated Node #0,2: 97:[39, 98, 125] Operation: 82+43=125
Exploring Operation: 39+82=121, Resulting Numbers: [98, 43, 121]
Generated Node #0,3: 97:[98, 43, 121] Operation: 39+82=121
Exploring Operation: 82-39=43, Resulting Numbers: [98, 43, 43]
Generated Node #0,4: 97:[98, 43, 43] Operation: 82-39=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[82, 98, 82], Operations: ['39+43=82']
Exploring Operation: 82+82=164, Resulting Numbers: [98, 164]
Generated Node #0,1,0: 97:[98, 164] Operation: 82+82=164
Exploring Operation: 82+98=180, Resulting Numbers: [82, 180]
Generated Node #0,1,1: 97:[82, 180] Operation: 82+98=180
Exploring Operation: 98-82=16, Resulting Numbers: [82, 16]
Generated Node #0,1,2: 97:[82, 16] Operation: 98-82=16
Exploring Operation: 82/82=1, Resulting Numbers: [98, 1]
Generated Node #0,1,3: 97:[98, 1] Operation: 82/82=1
Exploring Operation: 98-82=16, Resulting Numbers: [82, 16]
Generated Node #0,1,4: 97:[82, 16] Operation: 98-82=16
Moving to Node #0,1,0
Current State: 97:[98, 164], Operations: ['39+43=82', '82+82=164']
Exploring Operation: 98+164=262, Resulting Numbers: [262]
262,97 unequal: No Solution
Exploring Operation: 98*164=16072, Resulting Numbers: [16072]
16072,97 unequal: No Solution
Exploring Operation: 164-98=66, Resulting Numbers: [66]
66,97 unequal: No Solution
Moving to Node #0,1,4
Current State: 97:[82, 16], Operations: ['39+43=82', '98-82=16']
Exploring Operation: 82*16=1312, Resulting Numbers: [1312]
1312,97 unequal: No Solution
Exploring Operation: 82-16=66, Resulting Numbers: [66]
66,97 unequal: No Solution
Exploring Operation: 82+16=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[82, 16], Operations: ['39+43=82', '98-82=16']
Exploring Operation: 82*16=1312, Resulting Numbers: [1312]
1312,97 unequal: No Solution
Exploring Operation: 82-16=66, Resulting Numbers: [66]
66,97 unequal: No Solution
Exploring Operation: 82+16=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[98, 1], Operations: ['39+43=82', '82/82=1']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[39, 82, 98, 43], Operations: []
Exploring Operation: 39+43=82, Resulting Numbers: [82, 98, 82]
Generated Node #0,1: 97:[82, 98, 82] Operation: 39+43=82
Moving to Node #0,1
Current State: 97:[82, 98, 82], Operations: ['39+43=82']
Exploring Operation: 82/82=1, Resulting Numbers: [98, 1]
Generated Node #0,1,3: 97:[98, 1] Operation: 82/82=1
Moving to Node #0,1,3
Current State: 97:[98, 1], Operations: ['39+43=82', '82/82=1']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | sum_heuristic |
[
22,
28,
82,
46
] | 30 | [
"28-22=6",
"82-46=36",
"36-6=30"
] | Current State: 30:[22, 28, 82, 46], Operations: []
Exploring Operation: 28-22=6, Resulting Numbers: [82, 46, 6]
Generated Node #2: [82, 46, 6] from Operation: 28-22=6
Current State: 30:[82, 46, 6], Operations: ['28-22=6']
Exploring Operation: 82-46=36, Resulting Numbers: [6, 36]
Generated Node #3: [6, 36] from Operation: 82-46=36
Current State: 30:[6, 36], Operations: ['28-22=6', '82-46=36']
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[22, 28, 82, 46], Operations: []
Exploring Operation: 82-46=36, Resulting Numbers: [22, 28, 36]
Generated Node #0,0: 30:[22, 28, 36] Operation: 82-46=36
Exploring Operation: 82-28=54, Resulting Numbers: [22, 46, 54]
Generated Node #0,1: 30:[22, 46, 54] Operation: 82-28=54
Moving to Node #0,0
Current State: 30:[22, 28, 36], Operations: ['82-46=36']
Exploring Operation: 28-22=6, Resulting Numbers: [36, 6]
Generated Node #0,0,0: 30:[36, 6] Operation: 28-22=6
Exploring Operation: 36-22=14, Resulting Numbers: [28, 14]
Generated Node #0,0,1: 30:[28, 14] Operation: 36-22=14
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[28, 14], Operations: ['82-46=36', '36-22=14']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[36, 6], Operations: ['82-46=36', '28-22=6']
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[22, 28, 82, 46], Operations: []
Exploring Operation: 82-46=36, Resulting Numbers: [22, 28, 36]
Generated Node #0,0: 30:[22, 28, 36] Operation: 82-46=36
Moving to Node #0,0
Current State: 30:[22, 28, 36], Operations: ['82-46=36']
Exploring Operation: 28-22=6, Resulting Numbers: [36, 6]
Generated Node #0,0,0: 30:[36, 6] Operation: 28-22=6
Moving to Node #0,0,0
Current State: 30:[36, 6], Operations: ['82-46=36', '28-22=6']
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
76,
18,
73,
32
] | 78 | [
"76-73=3",
"32*3=96",
"96-18=78"
] | Current State: 78:[76, 18, 73, 32], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [18, 32, 3]
Generated Node #2: [18, 32, 3] from Operation: 76-73=3
Current State: 78:[18, 32, 3], Operations: ['76-73=3']
Exploring Operation: 32*3=96, Resulting Numbers: [18, 96]
Generated Node #3: [18, 96] from Operation: 32*3=96
Current State: 78:[18, 96], Operations: ['76-73=3', '32*3=96']
Exploring Operation: 96-18=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[76, 18, 73, 32], Operations: []
Exploring Operation: 32-18=14, Resulting Numbers: [76, 73, 14]
Generated Node #0,0: 78:[76, 73, 14] Operation: 32-18=14
Moving to Node #0,0
Current State: 78:[76, 73, 14], Operations: ['32-18=14']
Exploring Operation: 76-73=3, Resulting Numbers: [14, 3]
Generated Node #0,0,0: 78:[14, 3] Operation: 76-73=3
Moving to Node #0,0,0
Current State: 78:[14, 3], Operations: ['32-18=14', '76-73=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,78 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
84,
67,
83,
52
] | 15 | [
"84-83=1",
"67-52=15",
"1*15=15"
] | Current State: 15:[84, 67, 83, 52], Operations: []
Exploring Operation: 84-83=1, Resulting Numbers: [67, 52, 1]
Generated Node #2: [67, 52, 1] from Operation: 84-83=1
Current State: 15:[67, 52, 1], Operations: ['84-83=1']
Exploring Operation: 67-52=15, Resulting Numbers: [1, 15]
Generated Node #3: [1, 15] from Operation: 67-52=15
Current State: 15:[1, 15], Operations: ['84-83=1', '67-52=15']
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[84, 67, 83, 52], Operations: []
Exploring Operation: 84-67=17, Resulting Numbers: [83, 52, 17]
Generated Node #0,0: 15:[83, 52, 17] Operation: 84-67=17
Exploring Operation: 84-83=1, Resulting Numbers: [67, 52, 1]
Generated Node #0,1: 15:[67, 52, 1] Operation: 84-83=1
Moving to Node #0,1
Current State: 15:[67, 52, 1], Operations: ['84-83=1']
Exploring Operation: 67-1=66, Resulting Numbers: [52, 66]
Generated Node #0,1,0: 15:[52, 66] Operation: 67-1=66
Exploring Operation: 67-52=15, Resulting Numbers: [1, 15]
Generated Node #0,1,1: 15:[1, 15] Operation: 67-52=15
Moving to Node #0,0
Current State: 15:[83, 52, 17], Operations: ['84-67=17']
Exploring Operation: 83-52=31, Resulting Numbers: [17, 31]
Generated Node #0,0,0: 15:[17, 31] Operation: 83-52=31
Exploring Operation: 83-17=66, Resulting Numbers: [52, 66]
Generated Node #0,0,1: 15:[52, 66] Operation: 83-17=66
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[17, 31], Operations: ['84-67=17', '83-52=31']
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[52, 66], Operations: ['84-67=17', '83-17=66']
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 52+66=118, Resulting Numbers: [118]
118,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 15:[1, 15], Operations: ['84-83=1', '67-52=15']
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[84, 67, 83, 52], Operations: []
Exploring Operation: 84-83=1, Resulting Numbers: [67, 52, 1]
Generated Node #0,1: 15:[67, 52, 1] Operation: 84-83=1
Moving to Node #0,1
Current State: 15:[67, 52, 1], Operations: ['84-83=1']
Exploring Operation: 67-52=15, Resulting Numbers: [1, 15]
Generated Node #0,1,1: 15:[1, 15] Operation: 67-52=15
Moving to Node #0,1,1
Current State: 15:[1, 15], Operations: ['84-83=1', '67-52=15']
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
4,
1,
51,
96
] | 75 | [
"4*1=4",
"96/4=24",
"51+24=75"
] | Current State: 75:[4, 1, 51, 96], Operations: []
Exploring Operation: 4*1=4, Resulting Numbers: [51, 96, 4]
Generated Node #2: [51, 96, 4] from Operation: 4*1=4
Current State: 75:[51, 96, 4], Operations: ['4*1=4']
Exploring Operation: 96/4=24, Resulting Numbers: [51, 24]
Generated Node #3: [51, 24] from Operation: 96/4=24
Current State: 75:[51, 24], Operations: ['4*1=4', '96/4=24']
Exploring Operation: 51+24=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[4, 1, 51, 96], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [1, 51, 24]
Generated Node #0,0: 75:[1, 51, 24] Operation: 96/4=24
Exploring Operation: 4+51=55, Resulting Numbers: [1, 96, 55]
Generated Node #0,1: 75:[1, 96, 55] Operation: 4+51=55
Exploring Operation: 96-51=45, Resulting Numbers: [4, 1, 45]
Generated Node #0,2: 75:[4, 1, 45] Operation: 96-51=45
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[4, 1, 45], Operations: ['96-51=45']
Exploring Operation: 45-4=41, Resulting Numbers: [1, 41]
Generated Node #0,2,0: 75:[1, 41] Operation: 45-4=41
Exploring Operation: 4-1=3, Resulting Numbers: [45, 3]
Generated Node #0,2,1: 75:[45, 3] Operation: 4-1=3
Exploring Operation: 4+1=5, Resulting Numbers: [45, 5]
Generated Node #0,2,2: 75:[45, 5] Operation: 4+1=5
Moving to Node #0,2,0
Current State: 75:[1, 41], Operations: ['96-51=45', '45-4=41']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[45, 3], Operations: ['96-51=45', '4-1=3']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[45, 5], Operations: ['96-51=45', '4+1=5']
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,75 unequal: No Solution
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[1, 51, 24], Operations: ['96/4=24']
Exploring Operation: 51+24=75, Resulting Numbers: [1, 75]
Generated Node #0,0,0: 75:[1, 75] Operation: 51+24=75
Exploring Operation: 51-24=27, Resulting Numbers: [1, 27]
Generated Node #0,0,1: 75:[1, 27] Operation: 51-24=27
Exploring Operation: 1+51=52, Resulting Numbers: [24, 52]
Generated Node #0,0,2: 75:[24, 52] Operation: 1+51=52
Moving to Node #0,0,0
Current State: 75:[1, 75], Operations: ['96/4=24', '51+24=75']
Exploring Operation: 1+75=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[4, 1, 51, 96], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [1, 51, 24]
Generated Node #0,0: 75:[1, 51, 24] Operation: 96/4=24
Moving to Node #0,0
Current State: 75:[1, 51, 24], Operations: ['96/4=24']
Exploring Operation: 51+24=75, Resulting Numbers: [1, 75]
Generated Node #0,0,0: 75:[1, 75] Operation: 51+24=75
Moving to Node #0,0,0
Current State: 75:[1, 75], Operations: ['96/4=24', '51+24=75']
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
51,
50,
90,
41
] | 41 | [
"51-41=10",
"90/10=9",
"50-9=41"
] | Current State: 41:[51, 50, 90, 41], Operations: []
Exploring Operation: 51-41=10, Resulting Numbers: [50, 90, 10]
Generated Node #2: [50, 90, 10] from Operation: 51-41=10
Current State: 41:[50, 90, 10], Operations: ['51-41=10']
Exploring Operation: 90/10=9, Resulting Numbers: [50, 9]
Generated Node #3: [50, 9] from Operation: 90/10=9
Current State: 41:[50, 9], Operations: ['51-41=10', '90/10=9']
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[51, 50, 90, 41], Operations: []
Exploring Operation: 90-51=39, Resulting Numbers: [50, 41, 39]
Generated Node #0,0: 41:[50, 41, 39] Operation: 90-51=39
Exploring Operation: 90-50=40, Resulting Numbers: [51, 41, 40]
Generated Node #0,1: 41:[51, 41, 40] Operation: 90-50=40
Exploring Operation: 90-41=49, Resulting Numbers: [51, 50, 49]
Generated Node #0,2: 41:[51, 50, 49] Operation: 90-41=49
Moving to Node #0,0
Current State: 41:[50, 41, 39], Operations: ['90-51=39']
Exploring Operation: 50+39=89, Resulting Numbers: [41, 89]
Generated Node #0,0,0: 41:[41, 89] Operation: 50+39=89
Exploring Operation: 50-41=9, Resulting Numbers: [39, 9]
Generated Node #0,0,1: 41:[39, 9] Operation: 50-41=9
Exploring Operation: 50-39=11, Resulting Numbers: [41, 11]
Generated Node #0,0,2: 41:[41, 11] Operation: 50-39=11
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[41, 11], Operations: ['90-51=39', '50-39=11']
Exploring Operation: 41+11=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 41*11=451, Resulting Numbers: [451]
451,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[39, 9], Operations: ['90-51=39', '50-41=9']
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,41 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[41, 89], Operations: ['90-51=39', '50+39=89']
Exploring Operation: 41+89=130, Resulting Numbers: [130]
130,41 unequal: No Solution
Exploring Operation: 41*89=3649, Resulting Numbers: [3649]
3649,41 unequal: No Solution
Exploring Operation: 89-41=48, Resulting Numbers: [48]
48,41 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: 41:[51, 41, 40], Operations: ['90-50=40']
Exploring Operation: 51+40=91, Resulting Numbers: [41, 91]
Generated Node #0,1,0: 41:[41, 91] Operation: 51+40=91
Exploring Operation: 51-41=10, Resulting Numbers: [40, 10]
Generated Node #0,1,1: 41:[40, 10] Operation: 51-41=10
Exploring Operation: 51-40=11, Resulting Numbers: [41, 11]
Generated Node #0,1,2: 41:[41, 11] Operation: 51-40=11
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[41, 11], Operations: ['90-50=40', '51-40=11']
Exploring Operation: 41*11=451, Resulting Numbers: [451]
451,41 unequal: No Solution
Exploring Operation: 41+11=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[40, 10], Operations: ['90-50=40', '51-41=10']
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[41, 91], Operations: ['90-50=40', '51+40=91']
Exploring Operation: 41+91=132, Resulting Numbers: [132]
132,41 unequal: No Solution
Exploring Operation: 91-41=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 41*91=3731, Resulting Numbers: [3731]
3731,41 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: 41:[51, 50, 49], Operations: ['90-41=49']
Exploring Operation: 50-49=1, Resulting Numbers: [51, 1]
Generated Node #0,2,0: 41:[51, 1] Operation: 50-49=1
Exploring Operation: 51-49=2, Resulting Numbers: [50, 2]
Generated Node #0,2,1: 41:[50, 2] Operation: 51-49=2
Exploring Operation: 51-50=1, Resulting Numbers: [49, 1]
Generated Node #0,2,2: 41:[49, 1] Operation: 51-50=1
Moving to Node #0,2,1
Current State: 41:[50, 2], Operations: ['90-41=49', '51-49=2']
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[49, 1], Operations: ['90-41=49', '51-50=1']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[51, 1], Operations: ['90-41=49', '50-49=1']
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,41 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
7,
43,
23,
86
] | 53 | [
"86/43=2",
"23*2=46",
"7+46=53"
] | Current State: 53:[7, 43, 23, 86], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [7, 23, 2]
Generated Node #2: [7, 23, 2] from Operation: 86/43=2
Current State: 53:[7, 23, 2], Operations: ['86/43=2']
Exploring Operation: 23*2=46, Resulting Numbers: [7, 46]
Generated Node #3: [7, 46] from Operation: 23*2=46
Current State: 53:[7, 46], Operations: ['86/43=2', '23*2=46']
Exploring Operation: 7+46=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[7, 43, 23, 86], Operations: []
Exploring Operation: 7+23=30, Resulting Numbers: [43, 86, 30]
Generated Node #0,0: 53:[43, 86, 30] Operation: 7+23=30
Exploring Operation: 86-7=79, Resulting Numbers: [43, 23, 79]
Generated Node #0,1: 53:[43, 23, 79] Operation: 86-7=79
Exploring Operation: 7+43=50, Resulting Numbers: [23, 86, 50]
Generated Node #0,2: 53:[23, 86, 50] Operation: 7+43=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[43, 86, 30], Operations: ['7+23=30']
Exploring Operation: 86-30=56, Resulting Numbers: [43, 56]
Generated Node #0,0,0: 53:[43, 56] Operation: 86-30=56
Exploring Operation: 86-43=43, Resulting Numbers: [30, 43]
Generated Node #0,0,1: 53:[30, 43] Operation: 86-43=43
Exploring Operation: 43+30=73, Resulting Numbers: [86, 73]
Generated Node #0,0,2: 53:[86, 73] Operation: 43+30=73
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[43, 56], Operations: ['7+23=30', '86-30=56']
Exploring Operation: 56-43=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 43*56=2408, Resulting Numbers: [2408]
2408,53 unequal: No Solution
Exploring Operation: 43+56=99, Resulting Numbers: [99]
99,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:[30, 43], Operations: ['7+23=30', '86-43=43']
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 30*43=1290, Resulting Numbers: [1290]
1290,53 unequal: No Solution
Exploring Operation: 30+43=73, Resulting Numbers: [73]
73,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:[86, 73], Operations: ['7+23=30', '43+30=73']
Exploring Operation: 86-73=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 86*73=6278, Resulting Numbers: [6278]
6278,53 unequal: No Solution
Exploring Operation: 86+73=159, Resulting Numbers: [159]
159,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:[43, 23, 79], Operations: ['86-7=79']
Exploring Operation: 79-23=56, Resulting Numbers: [43, 56]
Generated Node #0,1,0: 53:[43, 56] Operation: 79-23=56
Exploring Operation: 79-43=36, Resulting Numbers: [23, 36]
Generated Node #0,1,1: 53:[23, 36] Operation: 79-43=36
Exploring Operation: 43+23=66, Resulting Numbers: [79, 66]
Generated Node #0,1,2: 53:[79, 66] Operation: 43+23=66
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[43, 56], Operations: ['86-7=79', '79-23=56']
Exploring Operation: 43+56=99, Resulting Numbers: [99]
99,53 unequal: No Solution
Exploring Operation: 56-43=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 43*56=2408, Resulting Numbers: [2408]
2408,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 53:[79, 66], Operations: ['86-7=79', '43+23=66']
Exploring Operation: 79+66=145, Resulting Numbers: [145]
145,53 unequal: No Solution
Exploring Operation: 79-66=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 79*66=5214, Resulting Numbers: [5214]
5214,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[23, 36], Operations: ['86-7=79', '79-43=36']
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 23+36=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Exploring Operation: 23*36=828, Resulting Numbers: [828]
828,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[23, 86, 50], Operations: ['7+43=50']
Exploring Operation: 23+50=73, Resulting Numbers: [86, 73]
Generated Node #0,2,0: 53:[86, 73] Operation: 23+50=73
Exploring Operation: 86-23=63, Resulting Numbers: [50, 63]
Generated Node #0,2,1: 53:[50, 63] Operation: 86-23=63
Exploring Operation: 86-50=36, Resulting Numbers: [23, 36]
Generated Node #0,2,2: 53:[23, 36] Operation: 86-50=36
Moving to Node #0,2,1
Current State: 53:[50, 63], Operations: ['7+43=50', '86-23=63']
Exploring Operation: 50+63=113, Resulting Numbers: [113]
113,53 unequal: No Solution
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 50*63=3150, Resulting Numbers: [3150]
3150,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[23, 36], Operations: ['7+43=50', '86-50=36']
Exploring Operation: 23*36=828, Resulting Numbers: [828]
828,53 unequal: No Solution
Exploring Operation: 23+36=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[86, 73], Operations: ['7+43=50', '23+50=73']
Exploring Operation: 86+73=159, Resulting Numbers: [159]
159,53 unequal: No Solution
Exploring Operation: 86-73=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 86*73=6278, Resulting Numbers: [6278]
6278,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
32,
14,
20,
15
] | 38 | [
"32*15=480",
"480/20=24",
"14+24=38"
] | Current State: 38:[32, 14, 20, 15], Operations: []
Exploring Operation: 32*15=480, Resulting Numbers: [14, 20, 480]
Generated Node #2: [14, 20, 480] from Operation: 32*15=480
Current State: 38:[14, 20, 480], Operations: ['32*15=480']
Exploring Operation: 480/20=24, Resulting Numbers: [14, 24]
Generated Node #3: [14, 24] from Operation: 480/20=24
Current State: 38:[14, 24], Operations: ['32*15=480', '480/20=24']
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[32, 14, 20, 15], Operations: []
Exploring Operation: 32-14=18, Resulting Numbers: [20, 15, 18]
Generated Node #0,0: 38:[20, 15, 18] Operation: 32-14=18
Exploring Operation: 32-15=17, Resulting Numbers: [14, 20, 17]
Generated Node #0,1: 38:[14, 20, 17] Operation: 32-15=17
Moving to Node #0,0
Current State: 38:[20, 15, 18], Operations: ['32-14=18']
Exploring Operation: 18-15=3, Resulting Numbers: [20, 3]
Generated Node #0,0,0: 38:[20, 3] Operation: 18-15=3
Exploring Operation: 20+15=35, Resulting Numbers: [18, 35]
Generated Node #0,0,1: 38:[18, 35] Operation: 20+15=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[20, 3], Operations: ['32-14=18', '18-15=3']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[18, 35], Operations: ['32-14=18', '20+15=35']
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 18+35=53, Resulting Numbers: [53]
53,38 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: 38:[14, 20, 17], Operations: ['32-15=17']
Exploring Operation: 14+20=34, Resulting Numbers: [17, 34]
Generated Node #0,1,0: 38:[17, 34] Operation: 14+20=34
Exploring Operation: 17-14=3, Resulting Numbers: [20, 3]
Generated Node #0,1,1: 38:[20, 3] Operation: 17-14=3
Moving to Node #0,1,1
Current State: 38:[20, 3], Operations: ['32-15=17', '17-14=3']
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,38 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[17, 34], Operations: ['32-15=17', '14+20=34']
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,38 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
88,
50,
5,
11
] | 22 | [
"88-50=38",
"5+11=16",
"38-16=22"
] | Current State: 22:[88, 50, 5, 11], Operations: []
Exploring Operation: 88-50=38, Resulting Numbers: [5, 11, 38]
Generated Node #2: [5, 11, 38] from Operation: 88-50=38
Current State: 22:[5, 11, 38], Operations: ['88-50=38']
Exploring Operation: 5+11=16, Resulting Numbers: [38, 16]
Generated Node #3: [38, 16] from Operation: 5+11=16
Current State: 22:[38, 16], Operations: ['88-50=38', '5+11=16']
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[88, 50, 5, 11], Operations: []
Exploring Operation: 88/11=8, Resulting Numbers: [50, 5, 8]
Generated Node #0,0: 22:[50, 5, 8] Operation: 88/11=8
Exploring Operation: 88-50=38, Resulting Numbers: [5, 11, 38]
Generated Node #0,1: 22:[5, 11, 38] Operation: 88-50=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[5, 11, 38], Operations: ['88-50=38']
Exploring Operation: 38-11=27, Resulting Numbers: [5, 27]
Generated Node #0,1,0: 22:[5, 27] Operation: 38-11=27
Exploring Operation: 38-5=33, Resulting Numbers: [11, 33]
Generated Node #0,1,1: 22:[11, 33] Operation: 38-5=33
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 22:[5, 27], Operations: ['88-50=38', '38-11=27']
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[88, 50, 5, 11], Operations: []
Exploring Operation: 88-50=38, Resulting Numbers: [5, 11, 38]
Generated Node #0,1: 22:[5, 11, 38] Operation: 88-50=38
Moving to Node #0,1
Current State: 22:[5, 11, 38], Operations: ['88-50=38']
Exploring Operation: 38-11=27, Resulting Numbers: [5, 27]
Generated Node #0,1,0: 22:[5, 27] Operation: 38-11=27
Moving to Node #0,1,0
Current State: 22:[5, 27], Operations: ['88-50=38', '38-11=27']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
11,
67,
49,
40
] | 33 | [
"67-11=56",
"49+40=89",
"89-56=33"
] | Current State: 33:[11, 67, 49, 40], Operations: []
Exploring Operation: 67-11=56, Resulting Numbers: [49, 40, 56]
Generated Node #2: [49, 40, 56] from Operation: 67-11=56
Current State: 33:[49, 40, 56], Operations: ['67-11=56']
Exploring Operation: 49+40=89, Resulting Numbers: [56, 89]
Generated Node #3: [56, 89] from Operation: 49+40=89
Current State: 33:[56, 89], Operations: ['67-11=56', '49+40=89']
Exploring Operation: 89-56=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[11, 67, 49, 40], Operations: []
Exploring Operation: 67-11=56, Resulting Numbers: [49, 40, 56]
Generated Node #0,0: 33:[49, 40, 56] Operation: 67-11=56
Exploring Operation: 49-11=38, Resulting Numbers: [67, 40, 38]
Generated Node #0,1: 33:[67, 40, 38] Operation: 49-11=38
Exploring Operation: 67-40=27, Resulting Numbers: [11, 49, 27]
Generated Node #0,2: 33:[11, 49, 27] Operation: 67-40=27
Exploring Operation: 49-40=9, Resulting Numbers: [11, 67, 9]
Generated Node #0,3: 33:[11, 67, 9] Operation: 49-40=9
Exploring Operation: 67-49=18, Resulting Numbers: [11, 40, 18]
Generated Node #0,4: 33:[11, 40, 18] Operation: 67-49=18
Start Sub Search at level 1: Moving to Node #0,4
Current State: 33:[11, 40, 18], Operations: ['67-49=18']
Exploring Operation: 11+40=51, Resulting Numbers: [18, 51]
Generated Node #0,4,0: 33:[18, 51] Operation: 11+40=51
Exploring Operation: 40-18=22, Resulting Numbers: [11, 22]
Generated Node #0,4,1: 33:[11, 22] Operation: 40-18=22
Exploring Operation: 11+18=29, Resulting Numbers: [40, 29]
Generated Node #0,4,2: 33:[40, 29] Operation: 11+18=29
Exploring Operation: 18-11=7, Resulting Numbers: [40, 7]
Generated Node #0,4,3: 33:[40, 7] Operation: 18-11=7
Exploring Operation: 40-11=29, Resulting Numbers: [18, 29]
Generated Node #0,4,4: 33:[18, 29] Operation: 40-11=29
Moving to Node #0,4,1
Current State: 33:[11, 22], Operations: ['67-49=18', '40-18=22']
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[11, 67, 49, 40], Operations: []
Exploring Operation: 67-49=18, Resulting Numbers: [11, 40, 18]
Generated Node #0,4: 33:[11, 40, 18] Operation: 67-49=18
Moving to Node #0,4
Current State: 33:[11, 40, 18], Operations: ['67-49=18']
Exploring Operation: 40-18=22, Resulting Numbers: [11, 22]
Generated Node #0,4,1: 33:[11, 22] Operation: 40-18=22
Moving to Node #0,4,1
Current State: 33:[11, 22], Operations: ['67-49=18', '40-18=22']
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
5,
85,
14,
69
] | 10 | [
"85-14=71",
"71-69=2",
"5*2=10"
] | Current State: 10:[5, 85, 14, 69], Operations: []
Exploring Operation: 85-14=71, Resulting Numbers: [5, 69, 71]
Generated Node #2: [5, 69, 71] from Operation: 85-14=71
Current State: 10:[5, 69, 71], Operations: ['85-14=71']
Exploring Operation: 71-69=2, Resulting Numbers: [5, 2]
Generated Node #3: [5, 2] from Operation: 71-69=2
Current State: 10:[5, 2], Operations: ['85-14=71', '71-69=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[5, 85, 14, 69], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [14, 69, 17]
Generated Node #0,0: 10:[14, 69, 17] Operation: 85/5=17
Exploring Operation: 85-69=16, Resulting Numbers: [5, 14, 16]
Generated Node #0,1: 10:[5, 14, 16] Operation: 85-69=16
Exploring Operation: 85-14=71, Resulting Numbers: [5, 69, 71]
Generated Node #0,2: 10:[5, 69, 71] Operation: 85-14=71
Moving to Node #0,1
Current State: 10:[5, 14, 16], Operations: ['85-69=16']
Exploring Operation: 16-14=2, Resulting Numbers: [5, 2]
Generated Node #0,1,0: 10:[5, 2] Operation: 16-14=2
Exploring Operation: 16-5=11, Resulting Numbers: [14, 11]
Generated Node #0,1,1: 10:[14, 11] Operation: 16-5=11
Exploring Operation: 14-5=9, Resulting Numbers: [16, 9]
Generated Node #0,1,2: 10:[16, 9] Operation: 14-5=9
Moving to Node #0,0
Current State: 10:[14, 69, 17], Operations: ['85/5=17']
Exploring Operation: 69-14=55, Resulting Numbers: [17, 55]
Generated Node #0,0,0: 10:[17, 55] Operation: 69-14=55
Exploring Operation: 69-17=52, Resulting Numbers: [14, 52]
Generated Node #0,0,1: 10:[14, 52] Operation: 69-17=52
Exploring Operation: 17-14=3, Resulting Numbers: [69, 3]
Generated Node #0,0,2: 10:[69, 3] Operation: 17-14=3
Moving to Node #0,2
Current State: 10:[5, 69, 71], Operations: ['85-14=71']
Exploring Operation: 71-5=66, Resulting Numbers: [69, 66]
Generated Node #0,2,0: 10:[69, 66] Operation: 71-5=66
Exploring Operation: 71-69=2, Resulting Numbers: [5, 2]
Generated Node #0,2,1: 10:[5, 2] Operation: 71-69=2
Exploring Operation: 69-5=64, Resulting Numbers: [71, 64]
Generated Node #0,2,2: 10:[71, 64] Operation: 69-5=64
Moving to Node #0,1,0
Current State: 10:[5, 2], Operations: ['85-69=16', '16-14=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[5, 85, 14, 69], Operations: []
Exploring Operation: 85-69=16, Resulting Numbers: [5, 14, 16]
Generated Node #0,1: 10:[5, 14, 16] Operation: 85-69=16
Moving to Node #0,1
Current State: 10:[5, 14, 16], Operations: ['85-69=16']
Exploring Operation: 16-14=2, Resulting Numbers: [5, 2]
Generated Node #0,1,0: 10:[5, 2] Operation: 16-14=2
Moving to Node #0,1,0
Current State: 10:[5, 2], Operations: ['85-69=16', '16-14=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.984375 | hs_3 | sum_heuristic |
[
54,
87,
46,
27
] | 43 | [
"54/27=2",
"87-46=41",
"2+41=43"
] | Current State: 43:[54, 87, 46, 27], Operations: []
Exploring Operation: 54/27=2, Resulting Numbers: [87, 46, 2]
Generated Node #2: [87, 46, 2] from Operation: 54/27=2
Current State: 43:[87, 46, 2], Operations: ['54/27=2']
Exploring Operation: 87-46=41, Resulting Numbers: [2, 41]
Generated Node #3: [2, 41] from Operation: 87-46=41
Current State: 43:[2, 41], Operations: ['54/27=2', '87-46=41']
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[54, 87, 46, 27], Operations: []
Exploring Operation: 87-46=41, Resulting Numbers: [54, 27, 41]
Generated Node #0,0: 43:[54, 27, 41] Operation: 87-46=41
Exploring Operation: 87-54=33, Resulting Numbers: [46, 27, 33]
Generated Node #0,1: 43:[46, 27, 33] Operation: 87-54=33
Exploring Operation: 87-27=60, Resulting Numbers: [54, 46, 60]
Generated Node #0,2: 43:[54, 46, 60] Operation: 87-27=60
Moving to Node #0,0
Current State: 43:[54, 27, 41], Operations: ['87-46=41']
Exploring Operation: 54-27=27, Resulting Numbers: [41, 27]
Generated Node #0,0,0: 43:[41, 27] Operation: 54-27=27
Exploring Operation: 27+41=68, Resulting Numbers: [54, 68]
Generated Node #0,0,1: 43:[54, 68] Operation: 27+41=68
Exploring Operation: 54+27=81, Resulting Numbers: [41, 81]
Generated Node #0,0,2: 43:[41, 81] Operation: 54+27=81
Moving to Node #0,1
Current State: 43:[46, 27, 33], Operations: ['87-54=33']
Exploring Operation: 46+27=73, Resulting Numbers: [33, 73]
Generated Node #0,1,0: 43:[33, 73] Operation: 46+27=73
Exploring Operation: 46-27=19, Resulting Numbers: [33, 19]
Generated Node #0,1,1: 43:[33, 19] Operation: 46-27=19
Exploring Operation: 27+33=60, Resulting Numbers: [46, 60]
Generated Node #0,1,2: 43:[46, 60] Operation: 27+33=60
Moving to Node #0,2
Current State: 43:[54, 46, 60], Operations: ['87-27=60']
Exploring Operation: 60-46=14, Resulting Numbers: [54, 14]
Generated Node #0,2,0: 43:[54, 14] Operation: 60-46=14
Exploring Operation: 54-46=8, Resulting Numbers: [60, 8]
Generated Node #0,2,1: 43:[60, 8] Operation: 54-46=8
Exploring Operation: 60-54=6, Resulting Numbers: [46, 6]
Generated Node #0,2,2: 43:[46, 6] Operation: 60-54=6
Moving to Node #0,0,0
Current State: 43:[41, 27], Operations: ['87-46=41', '54-27=27']
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 41*27=1107, Resulting Numbers: [1107]
1107,43 unequal: No Solution
Exploring Operation: 41+27=68, Resulting Numbers: [68]
68,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[46, 60], Operations: ['87-54=33', '27+33=60']
Exploring Operation: 46+60=106, Resulting Numbers: [106]
106,43 unequal: No Solution
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 46*60=2760, Resulting Numbers: [2760]
2760,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[33, 19], Operations: ['87-54=33', '46-27=19']
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,43 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[54, 68], Operations: ['87-46=41', '27+41=68']
Exploring Operation: 68-54=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 54+68=122, Resulting Numbers: [122]
122,43 unequal: No Solution
Exploring Operation: 54*68=3672, Resulting Numbers: [3672]
3672,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[41, 81], Operations: ['87-46=41', '54+27=81']
Exploring Operation: 81-41=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 41*81=3321, Resulting Numbers: [3321]
3321,43 unequal: No Solution
Exploring Operation: 41+81=122, Resulting Numbers: [122]
122,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[33, 73], Operations: ['87-54=33', '46+27=73']
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 33*73=2409, Resulting Numbers: [2409]
2409,43 unequal: No Solution
Exploring Operation: 33+73=106, Resulting Numbers: [106]
106,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[46, 6], Operations: ['87-27=60', '60-54=6']
Exploring Operation: 46*6=276, Resulting Numbers: [276]
276,43 unequal: No Solution
Exploring Operation: 46+6=52, Resulting Numbers: [52]
52,43 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[54, 14], Operations: ['87-27=60', '60-46=14']
Exploring Operation: 54*14=756, Resulting Numbers: [756]
756,43 unequal: No Solution
Exploring Operation: 54+14=68, Resulting Numbers: [68]
68,43 unequal: No Solution
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[60, 8], Operations: ['87-27=60', '54-46=8']
Exploring Operation: 60*8=480, Resulting Numbers: [480]
480,43 unequal: No Solution
Exploring Operation: 60+8=68, Resulting Numbers: [68]
68,43 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,43 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
68,
49,
90,
55
] | 83 | [
"55-49=6",
"90/6=15",
"68+15=83"
] | Current State: 83:[68, 49, 90, 55], Operations: []
Exploring Operation: 55-49=6, Resulting Numbers: [68, 90, 6]
Generated Node #2: [68, 90, 6] from Operation: 55-49=6
Current State: 83:[68, 90, 6], Operations: ['55-49=6']
Exploring Operation: 90/6=15, Resulting Numbers: [68, 15]
Generated Node #3: [68, 15] from Operation: 90/6=15
Current State: 83:[68, 15], Operations: ['55-49=6', '90/6=15']
Exploring Operation: 68+15=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[68, 49, 90, 55], Operations: []
Exploring Operation: 90-49=41, Resulting Numbers: [68, 55, 41]
Generated Node #0,0: 83:[68, 55, 41] Operation: 90-49=41
Exploring Operation: 68+55=123, Resulting Numbers: [49, 90, 123]
Generated Node #0,1: 83:[49, 90, 123] Operation: 68+55=123
Exploring Operation: 68+49=117, Resulting Numbers: [90, 55, 117]
Generated Node #0,2: 83:[90, 55, 117] Operation: 68+49=117
Exploring Operation: 90-55=35, Resulting Numbers: [68, 49, 35]
Generated Node #0,3: 83:[68, 49, 35] Operation: 90-55=35
Exploring Operation: 49+55=104, Resulting Numbers: [68, 90, 104]
Generated Node #0,4: 83:[68, 90, 104] Operation: 49+55=104
Moving to Node #0,4
Current State: 83:[68, 90, 104], Operations: ['49+55=104']
Exploring Operation: 68+90=158, Resulting Numbers: [104, 158]
Generated Node #0,4,0: 83:[104, 158] Operation: 68+90=158
Exploring Operation: 90-68=22, Resulting Numbers: [104, 22]
Generated Node #0,4,1: 83:[104, 22] Operation: 90-68=22
Exploring Operation: 104-68=36, Resulting Numbers: [90, 36]
Generated Node #0,4,2: 83:[90, 36] Operation: 104-68=36
Exploring Operation: 68+104=172, Resulting Numbers: [90, 172]
Generated Node #0,4,3: 83:[90, 172] Operation: 68+104=172
Exploring Operation: 104-90=14, Resulting Numbers: [68, 14]
Generated Node #0,4,4: 83:[68, 14] Operation: 104-90=14
Moving to Node #0,2
Current State: 83:[90, 55, 117], Operations: ['68+49=117']
Exploring Operation: 90-55=35, Resulting Numbers: [117, 35]
Generated Node #0,2,0: 83:[117, 35] Operation: 90-55=35
Exploring Operation: 55+117=172, Resulting Numbers: [90, 172]
Generated Node #0,2,1: 83:[90, 172] Operation: 55+117=172
Exploring Operation: 117-55=62, Resulting Numbers: [90, 62]
Generated Node #0,2,2: 83:[90, 62] Operation: 117-55=62
Exploring Operation: 90+55=145, Resulting Numbers: [117, 145]
Generated Node #0,2,3: 83:[117, 145] Operation: 90+55=145
Exploring Operation: 117-90=27, Resulting Numbers: [55, 27]
Generated Node #0,2,4: 83:[55, 27] Operation: 117-90=27
Moving to Node #0,1
Current State: 83:[49, 90, 123], Operations: ['68+55=123']
Exploring Operation: 49+90=139, Resulting Numbers: [123, 139]
Generated Node #0,1,0: 83:[123, 139] Operation: 49+90=139
Exploring Operation: 123-90=33, Resulting Numbers: [49, 33]
Generated Node #0,1,1: 83:[49, 33] Operation: 123-90=33
Exploring Operation: 90-49=41, Resulting Numbers: [123, 41]
Generated Node #0,1,2: 83:[123, 41] Operation: 90-49=41
Exploring Operation: 123-49=74, Resulting Numbers: [90, 74]
Generated Node #0,1,3: 83:[90, 74] Operation: 123-49=74
Exploring Operation: 49+123=172, Resulting Numbers: [90, 172]
Generated Node #0,1,4: 83:[90, 172] Operation: 49+123=172
Moving to Node #0,0
Current State: 83:[68, 55, 41], Operations: ['90-49=41']
Exploring Operation: 55-41=14, Resulting Numbers: [68, 14]
Generated Node #0,0,0: 83:[68, 14] Operation: 55-41=14
Exploring Operation: 55+41=96, Resulting Numbers: [68, 96]
Generated Node #0,0,1: 83:[68, 96] Operation: 55+41=96
Exploring Operation: 68-41=27, Resulting Numbers: [55, 27]
Generated Node #0,0,2: 83:[55, 27] Operation: 68-41=27
Exploring Operation: 68+55=123, Resulting Numbers: [41, 123]
Generated Node #0,0,3: 83:[41, 123] Operation: 68+55=123
Exploring Operation: 68+41=109, Resulting Numbers: [55, 109]
Generated Node #0,0,4: 83:[55, 109] Operation: 68+41=109
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[68, 96], Operations: ['90-49=41', '55+41=96']
Exploring Operation: 96-68=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 68+96=164, Resulting Numbers: [164]
164,83 unequal: No Solution
Exploring Operation: 68*96=6528, Resulting Numbers: [6528]
6528,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 83:[55, 109], Operations: ['90-49=41', '68+41=109']
Exploring Operation: 109-55=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 55*109=5995, Resulting Numbers: [5995]
5995,83 unequal: No Solution
Exploring Operation: 55+109=164, Resulting Numbers: [164]
164,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[41, 123], Operations: ['90-49=41', '68+55=123']
Exploring Operation: 123-41=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 41+123=164, Resulting Numbers: [164]
164,83 unequal: No Solution
Exploring Operation: 123/41=3, Resulting Numbers: [3]
3,83 unequal: No Solution
Exploring Operation: 41*123=5043, Resulting Numbers: [5043]
5043,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[68, 14], Operations: ['90-49=41', '55-41=14']
Exploring Operation: 68*14=952, Resulting Numbers: [952]
952,83 unequal: No Solution
Exploring Operation: 68+14=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 68-14=54, Resulting Numbers: [54]
54,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[55, 27], Operations: ['90-49=41', '68-41=27']
Exploring Operation: 55*27=1485, Resulting Numbers: [1485]
1485,83 unequal: No Solution
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 55+27=82, Resulting Numbers: [82]
82,83 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: 83:[68, 49, 35], Operations: ['90-55=35']
Exploring Operation: 68+35=103, Resulting Numbers: [49, 103]
Generated Node #0,3,0: 83:[49, 103] Operation: 68+35=103
Exploring Operation: 68-35=33, Resulting Numbers: [49, 33]
Generated Node #0,3,1: 83:[49, 33] Operation: 68-35=33
Exploring Operation: 68+49=117, Resulting Numbers: [35, 117]
Generated Node #0,3,2: 83:[35, 117] Operation: 68+49=117
Exploring Operation: 49+35=84, Resulting Numbers: [68, 84]
Generated Node #0,3,3: 83:[68, 84] Operation: 49+35=84
Exploring Operation: 49-35=14, Resulting Numbers: [68, 14]
Generated Node #0,3,4: 83:[68, 14] Operation: 49-35=14
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 83:[68, 84], Operations: ['90-55=35', '49+35=84']
Exploring Operation: 84-68=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 68+84=152, Resulting Numbers: [152]
152,83 unequal: No Solution
Exploring Operation: 68*84=5712, Resulting Numbers: [5712]
5712,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 83:[49, 103], Operations: ['90-55=35', '68+35=103']
Exploring Operation: 49+103=152, Resulting Numbers: [152]
152,83 unequal: No Solution
Exploring Operation: 103-49=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 49*103=5047, Resulting Numbers: [5047]
5047,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 83:[35, 117], Operations: ['90-55=35', '68+49=117']
Exploring Operation: 117-35=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 35*117=4095, Resulting Numbers: [4095]
4095,83 unequal: No Solution
Exploring Operation: 35+117=152, Resulting Numbers: [152]
152,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 83:[49, 33], Operations: ['90-55=35', '68-35=33']
Exploring Operation: 49*33=1617, Resulting Numbers: [1617]
1617,83 unequal: No Solution
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 83:[68, 14], Operations: ['90-55=35', '49-35=14']
Exploring Operation: 68+14=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 68*14=952, Resulting Numbers: [952]
952,83 unequal: No Solution
Exploring Operation: 68-14=54, Resulting Numbers: [54]
54,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 83:[90, 74], Operations: ['68+55=123', '123-49=74']
Exploring Operation: 90+74=164, Resulting Numbers: [164]
164,83 unequal: No Solution
Exploring Operation: 90*74=6660, Resulting Numbers: [6660]
6660,83 unequal: No Solution
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[90, 62], Operations: ['68+49=117', '117-55=62']
Exploring Operation: 90*62=5580, Resulting Numbers: [5580]
5580,83 unequal: No Solution
Exploring Operation: 90+62=152, Resulting Numbers: [152]
152,83 unequal: No Solution
Exploring Operation: 90-62=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Moving to Node #0,4,2
Current State: 83:[90, 36], Operations: ['49+55=104', '104-68=36']
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 90*36=3240, Resulting Numbers: [3240]
3240,83 unequal: No Solution
Exploring Operation: 90+36=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[117, 35], Operations: ['68+49=117', '90-55=35']
Exploring Operation: 117*35=4095, Resulting Numbers: [4095]
4095,83 unequal: No Solution
Exploring Operation: 117+35=152, Resulting Numbers: [152]
152,83 unequal: No Solution
Exploring Operation: 117-35=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[123, 41], Operations: ['68+55=123', '90-49=41']
Exploring Operation: 123*41=5043, Resulting Numbers: [5043]
5043,83 unequal: No Solution
Exploring Operation: 123-41=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 123/41=3, Resulting Numbers: [3]
3,83 unequal: No Solution
Exploring Operation: 123+41=164, Resulting Numbers: [164]
164,83 unequal: No Solution
Moving to Node #0,4,1
Current State: 83:[104, 22], Operations: ['49+55=104', '90-68=22']
Exploring Operation: 104*22=2288, Resulting Numbers: [2288]
2288,83 unequal: No Solution
Exploring Operation: 104-22=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 104+22=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Moving to Node #0,4,4
Current State: 83:[68, 14], Operations: ['49+55=104', '104-90=14']
Exploring Operation: 68*14=952, Resulting Numbers: [952]
952,83 unequal: No Solution
Exploring Operation: 68-14=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 68+14=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[49, 33], Operations: ['68+55=123', '123-90=33']
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 49*33=1617, Resulting Numbers: [1617]
1617,83 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Moving to Node #0,2,4
Current State: 83:[55, 27], Operations: ['68+49=117', '117-90=27']
Exploring Operation: 55+27=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 55*27=1485, Resulting Numbers: [1485]
1485,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[123, 139], Operations: ['68+55=123', '49+90=139']
Exploring Operation: 123+139=262, Resulting Numbers: [262]
262,83 unequal: No Solution
Exploring Operation: 123*139=17097, Resulting Numbers: [17097]
17097,83 unequal: No Solution
Exploring Operation: 139-123=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[117, 145], Operations: ['68+49=117', '90+55=145']
Exploring Operation: 117+145=262, Resulting Numbers: [262]
262,83 unequal: No Solution
Exploring Operation: 117*145=16965, Resulting Numbers: [16965]
16965,83 unequal: No Solution
Exploring Operation: 145-117=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Moving to Node #0,1,4
Current State: 83:[90, 172], Operations: ['68+55=123', '49+123=172']
Exploring Operation: 90*172=15480, Resulting Numbers: [15480]
15480,83 unequal: No Solution
Exploring Operation: 90+172=262, Resulting Numbers: [262]
262,83 unequal: No Solution
Exploring Operation: 172-90=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Moving to Node #0,4,0
Current State: 83:[104, 158], Operations: ['49+55=104', '68+90=158']
Exploring Operation: 158-104=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 104*158=16432, Resulting Numbers: [16432]
16432,83 unequal: No Solution
Exploring Operation: 104+158=262, Resulting Numbers: [262]
262,83 unequal: No Solution
Moving to Node #0,4,3
Current State: 83:[90, 172], Operations: ['49+55=104', '68+104=172']
Exploring Operation: 90*172=15480, Resulting Numbers: [15480]
15480,83 unequal: No Solution
Exploring Operation: 172-90=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 90+172=262, Resulting Numbers: [262]
262,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[90, 172], Operations: ['68+49=117', '55+117=172']
Exploring Operation: 90*172=15480, Resulting Numbers: [15480]
15480,83 unequal: No Solution
Exploring Operation: 90+172=262, Resulting Numbers: [262]
262,83 unequal: No Solution
Exploring Operation: 172-90=82, Resulting Numbers: [82]
82,83 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
68,
31,
65,
13
] | 89 | [
"68-31=37",
"65-13=52",
"37+52=89"
] | Current State: 89:[68, 31, 65, 13], Operations: []
Exploring Operation: 68-31=37, Resulting Numbers: [65, 13, 37]
Generated Node #2: [65, 13, 37] from Operation: 68-31=37
Current State: 89:[65, 13, 37], Operations: ['68-31=37']
Exploring Operation: 65-13=52, Resulting Numbers: [37, 52]
Generated Node #3: [37, 52] from Operation: 65-13=52
Current State: 89:[37, 52], Operations: ['68-31=37', '65-13=52']
Exploring Operation: 37+52=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[68, 31, 65, 13], Operations: []
Exploring Operation: 68+13=81, Resulting Numbers: [31, 65, 81]
Generated Node #0,0: 89:[31, 65, 81] Operation: 68+13=81
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[31, 65, 81], Operations: ['68+13=81']
Exploring Operation: 31+65=96, Resulting Numbers: [81, 96]
Generated Node #0,0,0: 89:[81, 96] Operation: 31+65=96
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[81, 96], Operations: ['68+13=81', '31+65=96']
Exploring Operation: 96-81=15, Resulting Numbers: [15]
15,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
51,
4,
99,
32
] | 76 | [
"51+4=55",
"99+32=131",
"131-55=76"
] | Current State: 76:[51, 4, 99, 32], Operations: []
Exploring Operation: 51+4=55, Resulting Numbers: [99, 32, 55]
Generated Node #2: [99, 32, 55] from Operation: 51+4=55
Current State: 76:[99, 32, 55], Operations: ['51+4=55']
Exploring Operation: 99+32=131, Resulting Numbers: [55, 131]
Generated Node #3: [55, 131] from Operation: 99+32=131
Current State: 76:[55, 131], Operations: ['51+4=55', '99+32=131']
Exploring Operation: 131-55=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[51, 4, 99, 32], Operations: []
Exploring Operation: 99-32=67, Resulting Numbers: [51, 4, 67]
Generated Node #0,0: 76:[51, 4, 67] Operation: 99-32=67
Exploring Operation: 99-51=48, Resulting Numbers: [4, 32, 48]
Generated Node #0,1: 76:[4, 32, 48] Operation: 99-51=48
Exploring Operation: 51-32=19, Resulting Numbers: [4, 99, 19]
Generated Node #0,2: 76:[4, 99, 19] Operation: 51-32=19
Moving to Node #0,1
Current State: 76:[4, 32, 48], Operations: ['99-51=48']
Exploring Operation: 48-32=16, Resulting Numbers: [4, 16]
Generated Node #0,1,0: 76:[4, 16] Operation: 48-32=16
Exploring Operation: 32+48=80, Resulting Numbers: [4, 80]
Generated Node #0,1,1: 76:[4, 80] Operation: 32+48=80
Exploring Operation: 4+32=36, Resulting Numbers: [48, 36]
Generated Node #0,1,2: 76:[48, 36] Operation: 4+32=36
Moving to Node #0,0
Current State: 76:[51, 4, 67], Operations: ['99-32=67']
Exploring Operation: 4+67=71, Resulting Numbers: [51, 71]
Generated Node #0,0,0: 76:[51, 71] Operation: 4+67=71
Exploring Operation: 51-4=47, Resulting Numbers: [67, 47]
Generated Node #0,0,1: 76:[67, 47] Operation: 51-4=47
Exploring Operation: 67-51=16, Resulting Numbers: [4, 16]
Generated Node #0,0,2: 76:[4, 16] Operation: 67-51=16
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 76:[4, 16], Operations: ['99-32=67', '67-51=16']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[51, 71], Operations: ['99-32=67', '4+67=71']
Exploring Operation: 51*71=3621, Resulting Numbers: [3621]
3621,76 unequal: No Solution
Exploring Operation: 71-51=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 51+71=122, Resulting Numbers: [122]
122,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[67, 47], Operations: ['99-32=67', '51-4=47']
Exploring Operation: 67*47=3149, Resulting Numbers: [3149]
3149,76 unequal: No Solution
Exploring Operation: 67+47=114, Resulting Numbers: [114]
114,76 unequal: No Solution
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,76 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: 76:[4, 99, 19], Operations: ['51-32=19']
Exploring Operation: 4*19=76, Resulting Numbers: [99, 76]
Generated Node #0,2,0: 76:[99, 76] Operation: 4*19=76
Exploring Operation: 99-19=80, Resulting Numbers: [4, 80]
Generated Node #0,2,1: 76:[4, 80] Operation: 99-19=80
Exploring Operation: 99-4=95, Resulting Numbers: [19, 95]
Generated Node #0,2,2: 76:[19, 95] Operation: 99-4=95
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 76:[4, 80], Operations: ['51-32=19', '99-19=80']
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[51, 4, 99, 32], Operations: []
Exploring Operation: 51-32=19, Resulting Numbers: [4, 99, 19]
Generated Node #0,2: 76:[4, 99, 19] Operation: 51-32=19
Moving to Node #0,2
Current State: 76:[4, 99, 19], Operations: ['51-32=19']
Exploring Operation: 99-19=80, Resulting Numbers: [4, 80]
Generated Node #0,2,1: 76:[4, 80] Operation: 99-19=80
Moving to Node #0,2,1
Current State: 76:[4, 80], Operations: ['51-32=19', '99-19=80']
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
49,
9,
92,
80
] | 52 | [
"49-9=40",
"92-80=12",
"40+12=52"
] | Current State: 52:[49, 9, 92, 80], Operations: []
Exploring Operation: 49-9=40, Resulting Numbers: [92, 80, 40]
Generated Node #2: [92, 80, 40] from Operation: 49-9=40
Current State: 52:[92, 80, 40], Operations: ['49-9=40']
Exploring Operation: 92-80=12, Resulting Numbers: [40, 12]
Generated Node #3: [40, 12] from Operation: 92-80=12
Current State: 52:[40, 12], Operations: ['49-9=40', '92-80=12']
Exploring Operation: 40+12=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[49, 9, 92, 80], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [49, 9, 12]
Generated Node #0,0: 52:[49, 9, 12] Operation: 92-80=12
Moving to Node #0,0
Current State: 52:[49, 9, 12], Operations: ['92-80=12']
Exploring Operation: 12-9=3, Resulting Numbers: [49, 3]
Generated Node #0,0,0: 52:[49, 3] Operation: 12-9=3
Moving to Node #0,0,0
Current State: 52:[49, 3], Operations: ['92-80=12', '12-9=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[49, 9, 92, 80], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [49, 9, 12]
Generated Node #0,0: 52:[49, 9, 12] Operation: 92-80=12
Moving to Node #0,0
Current State: 52:[49, 9, 12], Operations: ['92-80=12']
Exploring Operation: 12-9=3, Resulting Numbers: [49, 3]
Generated Node #0,0,0: 52:[49, 3] Operation: 12-9=3
Moving to Node #0,0,0
Current State: 52:[49, 3], Operations: ['92-80=12', '12-9=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
58,
34,
14,
3
] | 26 | [
"58+34=92",
"92-14=78",
"78/3=26"
] | Current State: 26:[58, 34, 14, 3], Operations: []
Exploring Operation: 58+34=92, Resulting Numbers: [14, 3, 92]
Generated Node #2: [14, 3, 92] from Operation: 58+34=92
Current State: 26:[14, 3, 92], Operations: ['58+34=92']
Exploring Operation: 92-14=78, Resulting Numbers: [3, 78]
Generated Node #3: [3, 78] from Operation: 92-14=78
Current State: 26:[3, 78], Operations: ['58+34=92', '92-14=78']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[58, 34, 14, 3], Operations: []
Exploring Operation: 58-34=24, Resulting Numbers: [14, 3, 24]
Generated Node #0,0: 26:[14, 3, 24] Operation: 58-34=24
Exploring Operation: 58-14=44, Resulting Numbers: [34, 3, 44]
Generated Node #0,1: 26:[34, 3, 44] Operation: 58-14=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[14, 3, 24], Operations: ['58-34=24']
Exploring Operation: 3+24=27, Resulting Numbers: [14, 27]
Generated Node #0,0,0: 26:[14, 27] Operation: 3+24=27
Exploring Operation: 14-3=11, Resulting Numbers: [24, 11]
Generated Node #0,0,1: 26:[24, 11] Operation: 14-3=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[14, 27], Operations: ['58-34=24', '3+24=27']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,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,1
Current State: 26:[24, 11], Operations: ['58-34=24', '14-3=11']
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 24+11=35, Resulting Numbers: [35]
35,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:[34, 3, 44], Operations: ['58-14=44']
Exploring Operation: 44-34=10, Resulting Numbers: [3, 10]
Generated Node #0,1,0: 26:[3, 10] Operation: 44-34=10
Exploring Operation: 34-3=31, Resulting Numbers: [44, 31]
Generated Node #0,1,1: 26:[44, 31] Operation: 34-3=31
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 26:[3, 10], Operations: ['58-14=44', '44-34=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 3+10=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,1
Current State: 26:[44, 31], Operations: ['58-14=44', '34-3=31']
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,26 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,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 | sum_heuristic |
[
6,
5,
60,
86
] | 14 | [
"6*60=360",
"360/5=72",
"86-72=14"
] | Current State: 14:[6, 5, 60, 86], Operations: []
Exploring Operation: 6*60=360, Resulting Numbers: [5, 86, 360]
Generated Node #2: [5, 86, 360] from Operation: 6*60=360
Current State: 14:[5, 86, 360], Operations: ['6*60=360']
Exploring Operation: 360/5=72, Resulting Numbers: [86, 72]
Generated Node #3: [86, 72] from Operation: 360/5=72
Current State: 14:[86, 72], Operations: ['6*60=360', '360/5=72']
Exploring Operation: 86-72=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[6, 5, 60, 86], Operations: []
Exploring Operation: 86-60=26, Resulting Numbers: [6, 5, 26]
Generated Node #0,0: 14:[6, 5, 26] Operation: 86-60=26
Exploring Operation: 60/5=12, Resulting Numbers: [6, 86, 12]
Generated Node #0,1: 14:[6, 86, 12] Operation: 60/5=12
Moving to Node #0,0
Current State: 14:[6, 5, 26], Operations: ['86-60=26']
Exploring Operation: 26-5=21, Resulting Numbers: [6, 21]
Generated Node #0,0,0: 14:[6, 21] Operation: 26-5=21
Exploring Operation: 26-6=20, Resulting Numbers: [5, 20]
Generated Node #0,0,1: 14:[5, 20] Operation: 26-6=20
Moving to Node #0,1
Current State: 14:[6, 86, 12], Operations: ['60/5=12']
Exploring Operation: 86-12=74, Resulting Numbers: [6, 74]
Generated Node #0,1,0: 14:[6, 74] Operation: 86-12=74
Exploring Operation: 86-6=80, Resulting Numbers: [12, 80]
Generated Node #0,1,1: 14:[12, 80] Operation: 86-6=80
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 14:[6, 74], Operations: ['60/5=12', '86-12=74']
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,14 unequal: No Solution
Exploring Operation: 6+74=80, Resulting Numbers: [80]
80,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[12, 80], Operations: ['60/5=12', '86-6=80']
Exploring Operation: 12+80=92, Resulting Numbers: [92]
92,14 unequal: No Solution
Exploring Operation: 80-12=68, Resulting Numbers: [68]
68,14 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: 14:[6, 21], Operations: ['86-60=26', '26-5=21']
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[5, 20], Operations: ['86-60=26', '26-6=20']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,14 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
19,
6,
42,
16
] | 10 | [
"19-16=3",
"42/6=7",
"3+7=10"
] | Current State: 10:[19, 6, 42, 16], Operations: []
Exploring Operation: 19-16=3, Resulting Numbers: [6, 42, 3]
Generated Node #2: [6, 42, 3] from Operation: 19-16=3
Current State: 10:[6, 42, 3], Operations: ['19-16=3']
Exploring Operation: 42/6=7, Resulting Numbers: [3, 7]
Generated Node #3: [3, 7] from Operation: 42/6=7
Current State: 10:[3, 7], Operations: ['19-16=3', '42/6=7']
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[19, 6, 42, 16], Operations: []
Exploring Operation: 19-6=13, Resulting Numbers: [42, 16, 13]
Generated Node #0,0: 10:[42, 16, 13] Operation: 19-6=13
Exploring Operation: 42-19=23, Resulting Numbers: [6, 16, 23]
Generated Node #0,1: 10:[6, 16, 23] Operation: 42-19=23
Exploring Operation: 42/6=7, Resulting Numbers: [19, 16, 7]
Generated Node #0,2: 10:[19, 16, 7] Operation: 42/6=7
Exploring Operation: 19-16=3, Resulting Numbers: [6, 42, 3]
Generated Node #0,3: 10:[6, 42, 3] Operation: 19-16=3
Exploring Operation: 42-16=26, Resulting Numbers: [19, 6, 26]
Generated Node #0,4: 10:[19, 6, 26] Operation: 42-16=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[19, 16, 7], Operations: ['42/6=7']
Exploring Operation: 19-16=3, Resulting Numbers: [7, 3]
Generated Node #0,2,0: 10:[7, 3] Operation: 19-16=3
Exploring Operation: 19+7=26, Resulting Numbers: [16, 26]
Generated Node #0,2,1: 10:[16, 26] Operation: 19+7=26
Exploring Operation: 19-7=12, Resulting Numbers: [16, 12]
Generated Node #0,2,2: 10:[16, 12] Operation: 19-7=12
Exploring Operation: 16+7=23, Resulting Numbers: [19, 23]
Generated Node #0,2,3: 10:[19, 23] Operation: 16+7=23
Exploring Operation: 16-7=9, Resulting Numbers: [19, 9]
Generated Node #0,2,4: 10:[19, 9] Operation: 16-7=9
Moving to Node #0,2,0
Current State: 10:[7, 3], Operations: ['42/6=7', '19-16=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[19, 6, 42, 16], Operations: []
Exploring Operation: 42/6=7, Resulting Numbers: [19, 16, 7]
Generated Node #0,2: 10:[19, 16, 7] Operation: 42/6=7
Moving to Node #0,2
Current State: 10:[19, 16, 7], Operations: ['42/6=7']
Exploring Operation: 19-16=3, Resulting Numbers: [7, 3]
Generated Node #0,2,0: 10:[7, 3] Operation: 19-16=3
Moving to Node #0,2,0
Current State: 10:[7, 3], Operations: ['42/6=7', '19-16=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
23,
82,
25,
45
] | 11 | [
"82-23=59",
"25+45=70",
"70-59=11"
] | Current State: 11:[23, 82, 25, 45], Operations: []
Exploring Operation: 82-23=59, Resulting Numbers: [25, 45, 59]
Generated Node #2: [25, 45, 59] from Operation: 82-23=59
Current State: 11:[25, 45, 59], Operations: ['82-23=59']
Exploring Operation: 25+45=70, Resulting Numbers: [59, 70]
Generated Node #3: [59, 70] from Operation: 25+45=70
Current State: 11:[59, 70], Operations: ['82-23=59', '25+45=70']
Exploring Operation: 70-59=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[23, 82, 25, 45], Operations: []
Exploring Operation: 82-25=57, Resulting Numbers: [23, 45, 57]
Generated Node #0,0: 11:[23, 45, 57] Operation: 82-25=57
Exploring Operation: 82-45=37, Resulting Numbers: [23, 25, 37]
Generated Node #0,1: 11:[23, 25, 37] Operation: 82-45=37
Exploring Operation: 45-25=20, Resulting Numbers: [23, 82, 20]
Generated Node #0,2: 11:[23, 82, 20] Operation: 45-25=20
Moving to Node #0,1
Current State: 11:[23, 25, 37], Operations: ['82-45=37']
Exploring Operation: 37-25=12, Resulting Numbers: [23, 12]
Generated Node #0,1,0: 11:[23, 12] Operation: 37-25=12
Exploring Operation: 25-23=2, Resulting Numbers: [37, 2]
Generated Node #0,1,1: 11:[37, 2] Operation: 25-23=2
Exploring Operation: 37-23=14, Resulting Numbers: [25, 14]
Generated Node #0,1,2: 11:[25, 14] Operation: 37-23=14
Moving to Node #0,0
Current State: 11:[23, 45, 57], Operations: ['82-25=57']
Exploring Operation: 57-45=12, Resulting Numbers: [23, 12]
Generated Node #0,0,0: 11:[23, 12] Operation: 57-45=12
Exploring Operation: 57-23=34, Resulting Numbers: [45, 34]
Generated Node #0,0,1: 11:[45, 34] Operation: 57-23=34
Exploring Operation: 45-23=22, Resulting Numbers: [57, 22]
Generated Node #0,0,2: 11:[57, 22] Operation: 45-23=22
Moving to Node #0,2
Current State: 11:[23, 82, 20], Operations: ['45-25=20']
Exploring Operation: 82-23=59, Resulting Numbers: [20, 59]
Generated Node #0,2,0: 11:[20, 59] Operation: 82-23=59
Exploring Operation: 82-20=62, Resulting Numbers: [23, 62]
Generated Node #0,2,1: 11:[23, 62] Operation: 82-20=62
Exploring Operation: 23-20=3, Resulting Numbers: [82, 3]
Generated Node #0,2,2: 11:[82, 3] Operation: 23-20=3
Moving to Node #0,1,0
Current State: 11:[23, 12], Operations: ['82-45=37', '37-25=12']
Exploring Operation: 23*12=276, Resulting Numbers: [276]
276,11 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[23, 82, 25, 45], Operations: []
Exploring Operation: 82-45=37, Resulting Numbers: [23, 25, 37]
Generated Node #0,1: 11:[23, 25, 37] Operation: 82-45=37
Moving to Node #0,1
Current State: 11:[23, 25, 37], Operations: ['82-45=37']
Exploring Operation: 37-25=12, Resulting Numbers: [23, 12]
Generated Node #0,1,0: 11:[23, 12] Operation: 37-25=12
Moving to Node #0,1,0
Current State: 11:[23, 12], Operations: ['82-45=37', '37-25=12']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.984375 | hs_3 | sum_heuristic |
[
44,
30,
26,
92
] | 81 | [
"30-26=4",
"44/4=11",
"92-11=81"
] | Current State: 81:[44, 30, 26, 92], Operations: []
Exploring Operation: 30-26=4, Resulting Numbers: [44, 92, 4]
Generated Node #2: [44, 92, 4] from Operation: 30-26=4
Current State: 81:[44, 92, 4], Operations: ['30-26=4']
Exploring Operation: 44/4=11, Resulting Numbers: [92, 11]
Generated Node #3: [92, 11] from Operation: 44/4=11
Current State: 81:[92, 11], Operations: ['30-26=4', '44/4=11']
Exploring Operation: 92-11=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[44, 30, 26, 92], Operations: []
Exploring Operation: 44-26=18, Resulting Numbers: [30, 92, 18]
Generated Node #0,0: 81:[30, 92, 18] Operation: 44-26=18
Exploring Operation: 44+30=74, Resulting Numbers: [26, 92, 74]
Generated Node #0,1: 81:[26, 92, 74] Operation: 44+30=74
Exploring Operation: 44-30=14, Resulting Numbers: [26, 92, 14]
Generated Node #0,2: 81:[26, 92, 14] Operation: 44-30=14
Exploring Operation: 44+26=70, Resulting Numbers: [30, 92, 70]
Generated Node #0,3: 81:[30, 92, 70] Operation: 44+26=70
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[26, 92, 14], Operations: ['44-30=14']
Exploring Operation: 92-14=78, Resulting Numbers: [26, 78]
Generated Node #0,2,0: 81:[26, 78] Operation: 92-14=78
Exploring Operation: 92-26=66, Resulting Numbers: [14, 66]
Generated Node #0,2,1: 81:[14, 66] Operation: 92-26=66
Exploring Operation: 26-14=12, Resulting Numbers: [92, 12]
Generated Node #0,2,2: 81:[92, 12] Operation: 26-14=12
Exploring Operation: 26+14=40, Resulting Numbers: [92, 40]
Generated Node #0,2,3: 81:[92, 40] Operation: 26+14=40
Moving to Node #0,2,0
Current State: 81:[26, 78], Operations: ['44-30=14', '92-14=78']
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 26*78=2028, Resulting Numbers: [2028]
2028,81 unequal: No Solution
Exploring Operation: 26+78=104, Resulting Numbers: [104]
104,81 unequal: No Solution
Exploring Operation: 78/26=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[92, 12], Operations: ['44-30=14', '26-14=12']
Exploring Operation: 92*12=1104, Resulting Numbers: [1104]
1104,81 unequal: No Solution
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 92+12=104, Resulting Numbers: [104]
104,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[14, 66], Operations: ['44-30=14', '92-26=66']
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 14*66=924, Resulting Numbers: [924]
924,81 unequal: No Solution
Exploring Operation: 14+66=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Moving to Node #0,2,3
Current State: 81:[92, 40], Operations: ['44-30=14', '26+14=40']
Exploring Operation: 92+40=132, Resulting Numbers: [132]
132,81 unequal: No Solution
Exploring Operation: 92-40=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 92*40=3680, Resulting Numbers: [3680]
3680,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:[26, 92, 74], Operations: ['44+30=74']
Exploring Operation: 92-26=66, Resulting Numbers: [74, 66]
Generated Node #0,1,0: 81:[74, 66] Operation: 92-26=66
Exploring Operation: 26+74=100, Resulting Numbers: [92, 100]
Generated Node #0,1,1: 81:[92, 100] Operation: 26+74=100
Exploring Operation: 92-74=18, Resulting Numbers: [26, 18]
Generated Node #0,1,2: 81:[26, 18] Operation: 92-74=18
Exploring Operation: 74-26=48, Resulting Numbers: [92, 48]
Generated Node #0,1,3: 81:[92, 48] Operation: 74-26=48
Moving to Node #0,1,2
Current State: 81:[26, 18], Operations: ['44+30=74', '92-74=18']
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,81 unequal: No Solution
Exploring Operation: 26*18=468, Resulting Numbers: [468]
468,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[74, 66], Operations: ['44+30=74', '92-26=66']
Exploring Operation: 74*66=4884, Resulting Numbers: [4884]
4884,81 unequal: No Solution
Exploring Operation: 74-66=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 74+66=140, Resulting Numbers: [140]
140,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[92, 100], Operations: ['44+30=74', '26+74=100']
Exploring Operation: 92+100=192, Resulting Numbers: [192]
192,81 unequal: No Solution
Exploring Operation: 92*100=9200, Resulting Numbers: [9200]
9200,81 unequal: No Solution
Exploring Operation: 100-92=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[92, 48], Operations: ['44+30=74', '74-26=48']
Exploring Operation: 92-48=44, Resulting Numbers: [44]
44,81 unequal: No Solution
Exploring Operation: 92*48=4416, Resulting Numbers: [4416]
4416,81 unequal: No Solution
Exploring Operation: 92+48=140, Resulting Numbers: [140]
140,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,0
Current State: 81:[30, 92, 18], Operations: ['44-26=18']
Exploring Operation: 30+18=48, Resulting Numbers: [92, 48]
Generated Node #0,0,0: 81:[92, 48] Operation: 30+18=48
Exploring Operation: 92-18=74, Resulting Numbers: [30, 74]
Generated Node #0,0,1: 81:[30, 74] Operation: 92-18=74
Exploring Operation: 92-30=62, Resulting Numbers: [18, 62]
Generated Node #0,0,2: 81:[18, 62] Operation: 92-30=62
Exploring Operation: 30-18=12, Resulting Numbers: [92, 12]
Generated Node #0,0,3: 81:[92, 12] Operation: 30-18=12
Moving to Node #0,0,1
Current State: 81:[30, 74], Operations: ['44-26=18', '92-18=74']
Exploring Operation: 30+74=104, Resulting Numbers: [104]
104,81 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,81 unequal: No Solution
Exploring Operation: 30*74=2220, Resulting Numbers: [2220]
2220,81 unequal: No Solution
Moving to Node #0,0,3
Current State: 81:[92, 12], Operations: ['44-26=18', '30-18=12']
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 92*12=1104, Resulting Numbers: [1104]
1104,81 unequal: No Solution
Exploring Operation: 92+12=104, Resulting Numbers: [104]
104,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[18, 62], Operations: ['44-26=18', '92-30=62']
Exploring Operation: 18*62=1116, Resulting Numbers: [1116]
1116,81 unequal: No Solution
Exploring Operation: 18+62=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[92, 48], Operations: ['44-26=18', '30+18=48']
Exploring Operation: 92-48=44, Resulting Numbers: [44]
44,81 unequal: No Solution
Exploring Operation: 92*48=4416, Resulting Numbers: [4416]
4416,81 unequal: No Solution
Exploring Operation: 92+48=140, Resulting Numbers: [140]
140,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:[30, 92, 70], Operations: ['44+26=70']
Exploring Operation: 92-30=62, Resulting Numbers: [70, 62]
Generated Node #0,3,0: 81:[70, 62] Operation: 92-30=62
Exploring Operation: 92-70=22, Resulting Numbers: [30, 22]
Generated Node #0,3,1: 81:[30, 22] Operation: 92-70=22
Exploring Operation: 70-30=40, Resulting Numbers: [92, 40]
Generated Node #0,3,2: 81:[92, 40] Operation: 70-30=40
Exploring Operation: 30+70=100, Resulting Numbers: [92, 100]
Generated Node #0,3,3: 81:[92, 100] Operation: 30+70=100
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 81:[30, 22], Operations: ['44+26=70', '92-70=22']
Exploring Operation: 30*22=660, Resulting Numbers: [660]
660,81 unequal: No Solution
Exploring Operation: 30+22=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,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,3,2
Current State: 81:[92, 40], Operations: ['44+26=70', '70-30=40']
Exploring Operation: 92-40=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 92+40=132, Resulting Numbers: [132]
132,81 unequal: No Solution
Exploring Operation: 92*40=3680, Resulting Numbers: [3680]
3680,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,3,0
Current State: 81:[70, 62], Operations: ['44+26=70', '92-30=62']
Exploring Operation: 70+62=132, Resulting Numbers: [132]
132,81 unequal: No Solution
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 70*62=4340, Resulting Numbers: [4340]
4340,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,3,3
Current State: 81:[92, 100], Operations: ['44+26=70', '30+70=100']
Exploring Operation: 92*100=9200, Resulting Numbers: [9200]
9200,81 unequal: No Solution
Exploring Operation: 100-92=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 92+100=192, Resulting Numbers: [192]
192,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
25,
77,
19,
45
] | 77 | [
"25+19=44",
"45-44=1",
"77*1=77"
] | Current State: 77:[25, 77, 19, 45], Operations: []
Exploring Operation: 25+19=44, Resulting Numbers: [77, 45, 44]
Generated Node #2: [77, 45, 44] from Operation: 25+19=44
Current State: 77:[77, 45, 44], Operations: ['25+19=44']
Exploring Operation: 45-44=1, Resulting Numbers: [77, 1]
Generated Node #3: [77, 1] from Operation: 45-44=1
Current State: 77:[77, 1], Operations: ['25+19=44', '45-44=1']
Exploring Operation: 77*1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[25, 77, 19, 45], Operations: []
Exploring Operation: 25+45=70, Resulting Numbers: [77, 19, 70]
Generated Node #0,0: 77:[77, 19, 70] Operation: 25+45=70
Moving to Node #0,0
Current State: 77:[77, 19, 70], Operations: ['25+45=70']
Exploring Operation: 77-70=7, Resulting Numbers: [19, 7]
Generated Node #0,0,0: 77:[19, 7] Operation: 77-70=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[19, 7], Operations: ['25+45=70', '77-70=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,77 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 |
[
10,
15,
96,
95
] | 89 | [
"10+95=105",
"105/15=7",
"96-7=89"
] | Current State: 89:[10, 15, 96, 95], Operations: []
Exploring Operation: 10+95=105, Resulting Numbers: [15, 96, 105]
Generated Node #2: [15, 96, 105] from Operation: 10+95=105
Current State: 89:[15, 96, 105], Operations: ['10+95=105']
Exploring Operation: 105/15=7, Resulting Numbers: [96, 7]
Generated Node #3: [96, 7] from Operation: 105/15=7
Current State: 89:[96, 7], Operations: ['10+95=105', '105/15=7']
Exploring Operation: 96-7=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[10, 15, 96, 95], Operations: []
Exploring Operation: 96-15=81, Resulting Numbers: [10, 95, 81]
Generated Node #0,0: 89:[10, 95, 81] Operation: 96-15=81
Exploring Operation: 10*15=150, Resulting Numbers: [96, 95, 150]
Generated Node #0,1: 89:[96, 95, 150] Operation: 10*15=150
Exploring Operation: 96-10=86, Resulting Numbers: [15, 95, 86]
Generated Node #0,2: 89:[15, 95, 86] Operation: 96-10=86
Exploring Operation: 10+15=25, Resulting Numbers: [96, 95, 25]
Generated Node #0,3: 89:[96, 95, 25] Operation: 10+15=25
Exploring Operation: 95-10=85, Resulting Numbers: [15, 96, 85]
Generated Node #0,4: 89:[15, 96, 85] Operation: 95-10=85
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[96, 95, 150], Operations: ['10*15=150']
Exploring Operation: 96-95=1, Resulting Numbers: [150, 1]
Generated Node #0,1,0: 89:[150, 1] Operation: 96-95=1
Exploring Operation: 96+95=191, Resulting Numbers: [150, 191]
Generated Node #0,1,1: 89:[150, 191] Operation: 96+95=191
Exploring Operation: 150-96=54, Resulting Numbers: [95, 54]
Generated Node #0,1,2: 89:[95, 54] Operation: 150-96=54
Exploring Operation: 96+150=246, Resulting Numbers: [95, 246]
Generated Node #0,1,3: 89:[95, 246] Operation: 96+150=246
Exploring Operation: 150-95=55, Resulting Numbers: [96, 55]
Generated Node #0,1,4: 89:[96, 55] Operation: 150-95=55
Moving to Node #0,1,2
Current State: 89:[95, 54], Operations: ['10*15=150', '150-96=54']
Exploring Operation: 95*54=5130, Resulting Numbers: [5130]
5130,89 unequal: No Solution
Exploring Operation: 95-54=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 95+54=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Moving to Node #0,1,4
Current State: 89:[96, 55], Operations: ['10*15=150', '150-95=55']
Exploring Operation: 96-55=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 96+55=151, Resulting Numbers: [151]
151,89 unequal: No Solution
Exploring Operation: 96*55=5280, Resulting Numbers: [5280]
5280,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[150, 1], Operations: ['10*15=150', '96-95=1']
Exploring Operation: 150/1=150, Resulting Numbers: [150]
150,89 unequal: No Solution
Exploring Operation: 150+1=151, Resulting Numbers: [151]
151,89 unequal: No Solution
Exploring Operation: 150-1=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Exploring Operation: 150*1=150, Resulting Numbers: [150]
150,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[150, 191], Operations: ['10*15=150', '96+95=191']
Exploring Operation: 191-150=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 150+191=341, Resulting Numbers: [341]
341,89 unequal: No Solution
Exploring Operation: 150*191=28650, Resulting Numbers: [28650]
28650,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[95, 246], Operations: ['10*15=150', '96+150=246']
Exploring Operation: 95*246=23370, Resulting Numbers: [23370]
23370,89 unequal: No Solution
Exploring Operation: 95+246=341, Resulting Numbers: [341]
341,89 unequal: No Solution
Exploring Operation: 246-95=151, Resulting Numbers: [151]
151,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[96, 95, 25], Operations: ['10+15=25']
Exploring Operation: 96-25=71, Resulting Numbers: [95, 71]
Generated Node #0,3,0: 89:[95, 71] Operation: 96-25=71
Exploring Operation: 95+25=120, Resulting Numbers: [96, 120]
Generated Node #0,3,1: 89:[96, 120] Operation: 95+25=120
Exploring Operation: 96-95=1, Resulting Numbers: [25, 1]
Generated Node #0,3,2: 89:[25, 1] Operation: 96-95=1
Exploring Operation: 95-25=70, Resulting Numbers: [96, 70]
Generated Node #0,3,3: 89:[96, 70] Operation: 95-25=70
Exploring Operation: 96+25=121, Resulting Numbers: [95, 121]
Generated Node #0,3,4: 89:[95, 121] Operation: 96+25=121
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 89:[95, 71], Operations: ['10+15=25', '96-25=71']
Exploring Operation: 95+71=166, Resulting Numbers: [166]
166,89 unequal: No Solution
Exploring Operation: 95-71=24, Resulting Numbers: [24]
24,89 unequal: No Solution
Exploring Operation: 95*71=6745, Resulting Numbers: [6745]
6745,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 89:[96, 70], Operations: ['10+15=25', '95-25=70']
Exploring Operation: 96+70=166, Resulting Numbers: [166]
166,89 unequal: No Solution
Exploring Operation: 96*70=6720, Resulting Numbers: [6720]
6720,89 unequal: No Solution
Exploring Operation: 96-70=26, Resulting Numbers: [26]
26,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 89:[96, 120], Operations: ['10+15=25', '95+25=120']
Exploring Operation: 96+120=216, Resulting Numbers: [216]
216,89 unequal: No Solution
Exploring Operation: 120-96=24, Resulting Numbers: [24]
24,89 unequal: No Solution
Exploring Operation: 96*120=11520, Resulting Numbers: [11520]
11520,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 89:[95, 121], Operations: ['10+15=25', '96+25=121']
Exploring Operation: 95*121=11495, Resulting Numbers: [11495]
11495,89 unequal: No Solution
Exploring Operation: 121-95=26, Resulting Numbers: [26]
26,89 unequal: No Solution
Exploring Operation: 95+121=216, Resulting Numbers: [216]
216,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 89:[25, 1], Operations: ['10+15=25', '96-95=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,89 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,89 unequal: No Solution
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,89 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[15, 95, 86], Operations: ['96-10=86']
Exploring Operation: 15+95=110, Resulting Numbers: [86, 110]
Generated Node #0,2,0: 89:[86, 110] Operation: 15+95=110
Exploring Operation: 95-86=9, Resulting Numbers: [15, 9]
Generated Node #0,2,1: 89:[15, 9] Operation: 95-86=9
Exploring Operation: 86-15=71, Resulting Numbers: [95, 71]
Generated Node #0,2,2: 89:[95, 71] Operation: 86-15=71
Exploring Operation: 95-15=80, Resulting Numbers: [86, 80]
Generated Node #0,2,3: 89:[86, 80] Operation: 95-15=80
Exploring Operation: 15+86=101, Resulting Numbers: [95, 101]
Generated Node #0,2,4: 89:[95, 101] Operation: 15+86=101
Moving to Node #0,2,3
Current State: 89:[86, 80], Operations: ['96-10=86', '95-15=80']
Exploring Operation: 86*80=6880, Resulting Numbers: [6880]
6880,89 unequal: No Solution
Exploring Operation: 86+80=166, Resulting Numbers: [166]
166,89 unequal: No Solution
Exploring Operation: 86-80=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Moving to Node #0,2,4
Current State: 89:[95, 101], Operations: ['96-10=86', '15+86=101']
Exploring Operation: 95*101=9595, Resulting Numbers: [9595]
9595,89 unequal: No Solution
Exploring Operation: 95+101=196, Resulting Numbers: [196]
196,89 unequal: No Solution
Exploring Operation: 101-95=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[86, 110], Operations: ['96-10=86', '15+95=110']
Exploring Operation: 86*110=9460, Resulting Numbers: [9460]
9460,89 unequal: No Solution
Exploring Operation: 86+110=196, Resulting Numbers: [196]
196,89 unequal: No Solution
Exploring Operation: 110-86=24, Resulting Numbers: [24]
24,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[95, 71], Operations: ['96-10=86', '86-15=71']
Exploring Operation: 95-71=24, Resulting Numbers: [24]
24,89 unequal: No Solution
Exploring Operation: 95+71=166, Resulting Numbers: [166]
166,89 unequal: No Solution
Exploring Operation: 95*71=6745, Resulting Numbers: [6745]
6745,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[15, 9], Operations: ['96-10=86', '95-86=9']
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,89 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 89:[15, 96, 85], Operations: ['95-10=85']
Exploring Operation: 15+85=100, Resulting Numbers: [96, 100]
Generated Node #0,4,0: 89:[96, 100] Operation: 15+85=100
Exploring Operation: 96-15=81, Resulting Numbers: [85, 81]
Generated Node #0,4,1: 89:[85, 81] Operation: 96-15=81
Exploring Operation: 96-85=11, Resulting Numbers: [15, 11]
Generated Node #0,4,2: 89:[15, 11] Operation: 96-85=11
Exploring Operation: 15+96=111, Resulting Numbers: [85, 111]
Generated Node #0,4,3: 89:[85, 111] Operation: 15+96=111
Exploring Operation: 85-15=70, Resulting Numbers: [96, 70]
Generated Node #0,4,4: 89:[96, 70] Operation: 85-15=70
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 89:[85, 81], Operations: ['95-10=85', '96-15=81']
Exploring Operation: 85*81=6885, Resulting Numbers: [6885]
6885,89 unequal: No Solution
Exploring Operation: 85-81=4, Resulting Numbers: [4]
4,89 unequal: No Solution
Exploring Operation: 85+81=166, Resulting Numbers: [166]
166,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 89:[96, 100], Operations: ['95-10=85', '15+85=100']
Exploring Operation: 100-96=4, Resulting Numbers: [4]
4,89 unequal: No Solution
Exploring Operation: 96+100=196, Resulting Numbers: [196]
196,89 unequal: No Solution
Exploring Operation: 96*100=9600, Resulting Numbers: [9600]
9600,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 89:[85, 111], Operations: ['95-10=85', '15+96=111']
Exploring Operation: 111-85=26, Resulting Numbers: [26]
26,89 unequal: No Solution
Exploring Operation: 85*111=9435, Resulting Numbers: [9435]
9435,89 unequal: No Solution
Exploring Operation: 85+111=196, Resulting Numbers: [196]
196,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 89:[96, 70], Operations: ['95-10=85', '85-15=70']
Exploring Operation: 96*70=6720, Resulting Numbers: [6720]
6720,89 unequal: No Solution
Exploring Operation: 96-70=26, Resulting Numbers: [26]
26,89 unequal: No Solution
Exploring Operation: 96+70=166, Resulting Numbers: [166]
166,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 89:[15, 11], Operations: ['95-10=85', '96-85=11']
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,89 unequal: No Solution
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,89 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[10, 95, 81], Operations: ['96-15=81']
Exploring Operation: 95-81=14, Resulting Numbers: [10, 14]
Generated Node #0,0,0: 89:[10, 14] Operation: 95-81=14
Exploring Operation: 10+95=105, Resulting Numbers: [81, 105]
Generated Node #0,0,1: 89:[81, 105] Operation: 10+95=105
Exploring Operation: 81-10=71, Resulting Numbers: [95, 71]
Generated Node #0,0,2: 89:[95, 71] Operation: 81-10=71
Exploring Operation: 10+81=91, Resulting Numbers: [95, 91]
Generated Node #0,0,3: 89:[95, 91] Operation: 10+81=91
Exploring Operation: 95-10=85, Resulting Numbers: [81, 85]
Generated Node #0,0,4: 89:[81, 85] Operation: 95-10=85
Moving to Node #0,0,3
Current State: 89:[95, 91], Operations: ['96-15=81', '10+81=91']
Exploring Operation: 95*91=8645, Resulting Numbers: [8645]
8645,89 unequal: No Solution
Exploring Operation: 95+91=186, Resulting Numbers: [186]
186,89 unequal: No Solution
Exploring Operation: 95-91=4, Resulting Numbers: [4]
4,89 unequal: No Solution
Moving to Node #0,0,4
Current State: 89:[81, 85], Operations: ['96-15=81', '95-10=85']
Exploring Operation: 81+85=166, Resulting Numbers: [166]
166,89 unequal: No Solution
Exploring Operation: 81*85=6885, Resulting Numbers: [6885]
6885,89 unequal: No Solution
Exploring Operation: 85-81=4, Resulting Numbers: [4]
4,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[81, 105], Operations: ['96-15=81', '10+95=105']
Exploring Operation: 81+105=186, Resulting Numbers: [186]
186,89 unequal: No Solution
Exploring Operation: 105-81=24, Resulting Numbers: [24]
24,89 unequal: No Solution
Exploring Operation: 81*105=8505, Resulting Numbers: [8505]
8505,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[95, 71], Operations: ['96-15=81', '81-10=71']
Exploring Operation: 95+71=166, Resulting Numbers: [166]
166,89 unequal: No Solution
Exploring Operation: 95-71=24, Resulting Numbers: [24]
24,89 unequal: No Solution
Exploring Operation: 95*71=6745, Resulting Numbers: [6745]
6745,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[10, 14], Operations: ['96-15=81', '95-81=14']
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,89 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,89 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,89 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 |
[
30,
82,
64,
3
] | 84 | [
"82-64=18",
"3*18=54",
"30+54=84"
] | Current State: 84:[30, 82, 64, 3], Operations: []
Exploring Operation: 82-64=18, Resulting Numbers: [30, 3, 18]
Generated Node #2: [30, 3, 18] from Operation: 82-64=18
Current State: 84:[30, 3, 18], Operations: ['82-64=18']
Exploring Operation: 3*18=54, Resulting Numbers: [30, 54]
Generated Node #3: [30, 54] from Operation: 3*18=54
Current State: 84:[30, 54], Operations: ['82-64=18', '3*18=54']
Exploring Operation: 30+54=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[30, 82, 64, 3], Operations: []
Exploring Operation: 82-64=18, Resulting Numbers: [30, 3, 18]
Generated Node #0,0: 84:[30, 3, 18] Operation: 82-64=18
Exploring Operation: 64-30=34, Resulting Numbers: [82, 3, 34]
Generated Node #0,1: 84:[82, 3, 34] Operation: 64-30=34
Moving to Node #0,0
Current State: 84:[30, 3, 18], Operations: ['82-64=18']
Exploring Operation: 30-18=12, Resulting Numbers: [3, 12]
Generated Node #0,0,0: 84:[3, 12] Operation: 30-18=12
Exploring Operation: 3+18=21, Resulting Numbers: [30, 21]
Generated Node #0,0,1: 84:[30, 21] Operation: 3+18=21
Moving to Node #0,1
Current State: 84:[82, 3, 34], Operations: ['64-30=34']
Exploring Operation: 82-34=48, Resulting Numbers: [3, 48]
Generated Node #0,1,0: 84:[3, 48] Operation: 82-34=48
Exploring Operation: 34-3=31, Resulting Numbers: [82, 31]
Generated Node #0,1,1: 84:[82, 31] Operation: 34-3=31
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[82, 31], Operations: ['64-30=34', '34-3=31']
Exploring Operation: 82+31=113, Resulting Numbers: [113]
113,84 unequal: No Solution
Exploring Operation: 82-31=51, Resulting Numbers: [51]
51,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[3, 48], Operations: ['64-30=34', '82-34=48']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,84 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: 84:[3, 12], Operations: ['82-64=18', '30-18=12']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[30, 21], Operations: ['82-64=18', '3+18=21']
Exploring Operation: 30+21=51, Resulting Numbers: [51]
51,84 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,84 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
73,
94,
7,
23
] | 20 | [
"94-73=21",
"21/7=3",
"23-3=20"
] | Current State: 20:[73, 94, 7, 23], Operations: []
Exploring Operation: 94-73=21, Resulting Numbers: [7, 23, 21]
Generated Node #2: [7, 23, 21] from Operation: 94-73=21
Current State: 20:[7, 23, 21], Operations: ['94-73=21']
Exploring Operation: 21/7=3, Resulting Numbers: [23, 3]
Generated Node #3: [23, 3] from Operation: 21/7=3
Current State: 20:[23, 3], Operations: ['94-73=21', '21/7=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[73, 94, 7, 23], Operations: []
Exploring Operation: 94-73=21, Resulting Numbers: [7, 23, 21]
Generated Node #0,0: 20:[7, 23, 21] Operation: 94-73=21
Exploring Operation: 73-23=50, Resulting Numbers: [94, 7, 50]
Generated Node #0,1: 20:[94, 7, 50] Operation: 73-23=50
Moving to Node #0,0
Current State: 20:[7, 23, 21], Operations: ['94-73=21']
Exploring Operation: 23-21=2, Resulting Numbers: [7, 2]
Generated Node #0,0,0: 20:[7, 2] Operation: 23-21=2
Exploring Operation: 21/7=3, Resulting Numbers: [23, 3]
Generated Node #0,0,1: 20:[23, 3] Operation: 21/7=3
Moving to Node #0,1
Current State: 20:[94, 7, 50], Operations: ['73-23=50']
Exploring Operation: 94-50=44, Resulting Numbers: [7, 44]
Generated Node #0,1,0: 20:[7, 44] Operation: 94-50=44
Exploring Operation: 94-7=87, Resulting Numbers: [50, 87]
Generated Node #0,1,1: 20:[50, 87] Operation: 94-7=87
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[7, 44], Operations: ['73-23=50', '94-50=44']
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[50, 87], Operations: ['73-23=50', '94-7=87']
Exploring Operation: 87-50=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Exploring Operation: 50+87=137, Resulting Numbers: [137]
137,20 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: 20:[7, 2], Operations: ['94-73=21', '23-21=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[23, 3], Operations: ['94-73=21', '21/7=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[73, 94, 7, 23], Operations: []
Exploring Operation: 94-73=21, Resulting Numbers: [7, 23, 21]
Generated Node #0,0: 20:[7, 23, 21] Operation: 94-73=21
Moving to Node #0,0
Current State: 20:[7, 23, 21], Operations: ['94-73=21']
Exploring Operation: 21/7=3, Resulting Numbers: [23, 3]
Generated Node #0,0,1: 20:[23, 3] Operation: 21/7=3
Moving to Node #0,0,1
Current State: 20:[23, 3], Operations: ['94-73=21', '21/7=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.985243 | hs_2 | mult_heuristic |
[
61,
18,
70,
31
] | 40 | [
"61+18=79",
"70-31=39",
"79-39=40"
] | Current State: 40:[61, 18, 70, 31], Operations: []
Exploring Operation: 61+18=79, Resulting Numbers: [70, 31, 79]
Generated Node #2: [70, 31, 79] from Operation: 61+18=79
Current State: 40:[70, 31, 79], Operations: ['61+18=79']
Exploring Operation: 70-31=39, Resulting Numbers: [79, 39]
Generated Node #3: [79, 39] from Operation: 70-31=39
Current State: 40:[79, 39], Operations: ['61+18=79', '70-31=39']
Exploring Operation: 79-39=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[61, 18, 70, 31], Operations: []
Exploring Operation: 70-61=9, Resulting Numbers: [18, 31, 9]
Generated Node #0,0: 40:[18, 31, 9] Operation: 70-61=9
Exploring Operation: 70-31=39, Resulting Numbers: [61, 18, 39]
Generated Node #0,1: 40:[61, 18, 39] Operation: 70-31=39
Exploring Operation: 61-18=43, Resulting Numbers: [70, 31, 43]
Generated Node #0,2: 40:[70, 31, 43] Operation: 61-18=43
Moving to Node #0,0
Current State: 40:[18, 31, 9], Operations: ['70-61=9']
Exploring Operation: 31+9=40, Resulting Numbers: [18, 40]
Generated Node #0,0,0: 40:[18, 40] Operation: 31+9=40
Exploring Operation: 31-9=22, Resulting Numbers: [18, 22]
Generated Node #0,0,1: 40:[18, 22] Operation: 31-9=22
Exploring Operation: 31-18=13, Resulting Numbers: [9, 13]
Generated Node #0,0,2: 40:[9, 13] Operation: 31-18=13
Moving to Node #0,1
Current State: 40:[61, 18, 39], Operations: ['70-31=39']
Exploring Operation: 61-39=22, Resulting Numbers: [18, 22]
Generated Node #0,1,0: 40:[18, 22] Operation: 61-39=22
Exploring Operation: 61-18=43, Resulting Numbers: [39, 43]
Generated Node #0,1,1: 40:[39, 43] Operation: 61-18=43
Exploring Operation: 39-18=21, Resulting Numbers: [61, 21]
Generated Node #0,1,2: 40:[61, 21] Operation: 39-18=21
Moving to Node #0,2
Current State: 40:[70, 31, 43], Operations: ['61-18=43']
Exploring Operation: 43-31=12, Resulting Numbers: [70, 12]
Generated Node #0,2,0: 40:[70, 12] Operation: 43-31=12
Exploring Operation: 70-31=39, Resulting Numbers: [43, 39]
Generated Node #0,2,1: 40:[43, 39] Operation: 70-31=39
Exploring Operation: 70-43=27, Resulting Numbers: [31, 27]
Generated Node #0,2,2: 40:[31, 27] Operation: 70-43=27
Moving to Node #0,0,0
Current State: 40:[18, 40], Operations: ['70-61=9', '31+9=40']
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,40 unequal: No Solution
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,40 unequal: No Solution
Moving to Node #0,0,2
Current State: 40:[9, 13], Operations: ['70-61=9', '31-18=13']
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,40 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[43, 39], Operations: ['61-18=43', '70-31=39']
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 43*39=1677, Resulting Numbers: [1677]
1677,40 unequal: No Solution
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[18, 22], Operations: ['70-61=9', '31-9=22']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,40 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[61, 18, 70, 31], Operations: []
Exploring Operation: 70-61=9, Resulting Numbers: [18, 31, 9]
Generated Node #0,0: 40:[18, 31, 9] Operation: 70-61=9
Moving to Node #0,0
Current State: 40:[18, 31, 9], Operations: ['70-61=9']
Exploring Operation: 31-9=22, Resulting Numbers: [18, 22]
Generated Node #0,0,1: 40:[18, 22] Operation: 31-9=22
Moving to Node #0,0,1
Current State: 40:[18, 22], Operations: ['70-61=9', '31-9=22']
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
34,
49,
43,
1
] | 58 | [
"49-34=15",
"43*1=43",
"15+43=58"
] | Current State: 58:[34, 49, 43, 1], Operations: []
Exploring Operation: 49-34=15, Resulting Numbers: [43, 1, 15]
Generated Node #2: [43, 1, 15] from Operation: 49-34=15
Current State: 58:[43, 1, 15], Operations: ['49-34=15']
Exploring Operation: 43*1=43, Resulting Numbers: [15, 43]
Generated Node #3: [15, 43] from Operation: 43*1=43
Current State: 58:[15, 43], Operations: ['49-34=15', '43*1=43']
Exploring Operation: 15+43=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[34, 49, 43, 1], Operations: []
Exploring Operation: 49+1=50, Resulting Numbers: [34, 43, 50]
Generated Node #0,0: 58:[34, 43, 50] Operation: 49+1=50
Exploring Operation: 43-1=42, Resulting Numbers: [34, 49, 42]
Generated Node #0,1: 58:[34, 49, 42] Operation: 43-1=42
Exploring Operation: 43-34=9, Resulting Numbers: [49, 1, 9]
Generated Node #0,2: 58:[49, 1, 9] Operation: 43-34=9
Exploring Operation: 34-1=33, Resulting Numbers: [49, 43, 33]
Generated Node #0,3: 58:[49, 43, 33] Operation: 34-1=33
Exploring Operation: 49-43=6, Resulting Numbers: [34, 1, 6]
Generated Node #0,4: 58:[34, 1, 6] Operation: 49-43=6
Moving to Node #0,4
Current State: 58:[34, 1, 6], Operations: ['49-43=6']
Exploring Operation: 6-1=5, Resulting Numbers: [34, 5]
Generated Node #0,4,0: 58:[34, 5] Operation: 6-1=5
Exploring Operation: 34/1=34, Resulting Numbers: [6, 34]
Generated Node #0,4,1: 58:[6, 34] Operation: 34/1=34
Exploring Operation: 34-1=33, Resulting Numbers: [6, 33]
Generated Node #0,4,2: 58:[6, 33] Operation: 34-1=33
Exploring Operation: 34*1=34, Resulting Numbers: [6, 34]
Generated Node #0,4,3: 58:[6, 34] Operation: 34*1=34
Exploring Operation: 34-6=28, Resulting Numbers: [1, 28]
Generated Node #0,4,4: 58:[1, 28] Operation: 34-6=28
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 58:[1, 28], Operations: ['49-43=6', '34-6=28']
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,58 unequal: No Solution
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,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,4,0
Current State: 58:[34, 5], Operations: ['49-43=6', '6-1=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,58 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,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,4,2
Current State: 58:[6, 33], Operations: ['49-43=6', '34-1=33']
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,58 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,58 unequal: No Solution
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,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,4,1
Current State: 58:[6, 34], Operations: ['49-43=6', '34/1=34']
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,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,4,3
Current State: 58:[6, 34], Operations: ['49-43=6', '34*1=34']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 58:[49, 1, 9], Operations: ['43-34=9']
Exploring Operation: 9-1=8, Resulting Numbers: [49, 8]
Generated Node #0,2,0: 58:[49, 8] Operation: 9-1=8
Exploring Operation: 49-9=40, Resulting Numbers: [1, 40]
Generated Node #0,2,1: 58:[1, 40] Operation: 49-9=40
Exploring Operation: 49*1=49, Resulting Numbers: [9, 49]
Generated Node #0,2,2: 58:[9, 49] Operation: 49*1=49
Exploring Operation: 49+9=58, Resulting Numbers: [1, 58]
Generated Node #0,2,3: 58:[1, 58] Operation: 49+9=58
Exploring Operation: 49+1=50, Resulting Numbers: [9, 50]
Generated Node #0,2,4: 58:[9, 50] Operation: 49+1=50
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 58:[1, 58], Operations: ['43-34=9', '49+9=58']
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[34, 49, 43, 1], Operations: []
Exploring Operation: 43-34=9, Resulting Numbers: [49, 1, 9]
Generated Node #0,2: 58:[49, 1, 9] Operation: 43-34=9
Moving to Node #0,2
Current State: 58:[49, 1, 9], Operations: ['43-34=9']
Exploring Operation: 49+9=58, Resulting Numbers: [1, 58]
Generated Node #0,2,3: 58:[1, 58] Operation: 49+9=58
Moving to Node #0,2,3
Current State: 58:[1, 58], Operations: ['43-34=9', '49+9=58']
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
64,
57,
83,
91
] | 96 | [
"64-57=7",
"91/7=13",
"83+13=96"
] | Current State: 96:[64, 57, 83, 91], Operations: []
Exploring Operation: 64-57=7, Resulting Numbers: [83, 91, 7]
Generated Node #2: [83, 91, 7] from Operation: 64-57=7
Current State: 96:[83, 91, 7], Operations: ['64-57=7']
Exploring Operation: 91/7=13, Resulting Numbers: [83, 13]
Generated Node #3: [83, 13] from Operation: 91/7=13
Current State: 96:[83, 13], Operations: ['64-57=7', '91/7=13']
Exploring Operation: 83+13=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[64, 57, 83, 91], Operations: []
Exploring Operation: 83-64=19, Resulting Numbers: [57, 91, 19]
Generated Node #0,0: 96:[57, 91, 19] Operation: 83-64=19
Exploring Operation: 83-57=26, Resulting Numbers: [64, 91, 26]
Generated Node #0,1: 96:[64, 91, 26] Operation: 83-57=26
Exploring Operation: 91-83=8, Resulting Numbers: [64, 57, 8]
Generated Node #0,2: 96:[64, 57, 8] Operation: 91-83=8
Exploring Operation: 64-57=7, Resulting Numbers: [83, 91, 7]
Generated Node #0,3: 96:[83, 91, 7] Operation: 64-57=7
Exploring Operation: 91-64=27, Resulting Numbers: [57, 83, 27]
Generated Node #0,4: 96:[57, 83, 27] Operation: 91-64=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[57, 91, 19], Operations: ['83-64=19']
Exploring Operation: 57-19=38, Resulting Numbers: [91, 38]
Generated Node #0,0,0: 96:[91, 38] Operation: 57-19=38
Exploring Operation: 57/19=3, Resulting Numbers: [91, 3]
Generated Node #0,0,1: 96:[91, 3] Operation: 57/19=3
Exploring Operation: 57+19=76, Resulting Numbers: [91, 76]
Generated Node #0,0,2: 96:[91, 76] Operation: 57+19=76
Exploring Operation: 91-57=34, Resulting Numbers: [19, 34]
Generated Node #0,0,3: 96:[19, 34] Operation: 91-57=34
Exploring Operation: 91+19=110, Resulting Numbers: [57, 110]
Generated Node #0,0,4: 96:[57, 110] Operation: 91+19=110
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[91, 3], Operations: ['83-64=19', '57/19=3']
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,96 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,96 unequal: No Solution
Exploring Operation: 91*3=273, Resulting Numbers: [273]
273,96 unequal: No Solution
No 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: 96:[19, 34], Operations: ['83-64=19', '91-57=34']
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,96 unequal: No Solution
Exploring Operation: 19*34=646, Resulting Numbers: [646]
646,96 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,96 unequal: No Solution
No 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: 96:[91, 38], Operations: ['83-64=19', '57-19=38']
Exploring Operation: 91*38=3458, Resulting Numbers: [3458]
3458,96 unequal: No Solution
Exploring Operation: 91+38=129, Resulting Numbers: [129]
129,96 unequal: No Solution
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,96 unequal: No Solution
No 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: 96:[57, 110], Operations: ['83-64=19', '91+19=110']
Exploring Operation: 57*110=6270, Resulting Numbers: [6270]
6270,96 unequal: No Solution
Exploring Operation: 57+110=167, Resulting Numbers: [167]
167,96 unequal: No Solution
Exploring Operation: 110-57=53, Resulting Numbers: [53]
53,96 unequal: No Solution
No 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: 96:[91, 76], Operations: ['83-64=19', '57+19=76']
Exploring Operation: 91-76=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Exploring Operation: 91*76=6916, Resulting Numbers: [6916]
6916,96 unequal: No Solution
Exploring Operation: 91+76=167, Resulting Numbers: [167]
167,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
Start Sub Search at level 1: Moving to Node #0,3
Current State: 96:[83, 91, 7], Operations: ['64-57=7']
Exploring Operation: 91+7=98, Resulting Numbers: [83, 98]
Generated Node #0,3,0: 96:[83, 98] Operation: 91+7=98
Exploring Operation: 83+7=90, Resulting Numbers: [91, 90]
Generated Node #0,3,1: 96:[91, 90] Operation: 83+7=90
Exploring Operation: 83-7=76, Resulting Numbers: [91, 76]
Generated Node #0,3,2: 96:[91, 76] Operation: 83-7=76
Exploring Operation: 91-83=8, Resulting Numbers: [7, 8]
Generated Node #0,3,3: 96:[7, 8] Operation: 91-83=8
Exploring Operation: 91/7=13, Resulting Numbers: [83, 13]
Generated Node #0,3,4: 96:[83, 13] Operation: 91/7=13
Moving to Node #0,3,3
Current State: 96:[7, 8], Operations: ['64-57=7', '91-83=8']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,96 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Moving to Node #0,3,1
Current State: 96:[91, 90], Operations: ['64-57=7', '83+7=90']
Exploring Operation: 91+90=181, Resulting Numbers: [181]
181,96 unequal: No Solution
Exploring Operation: 91-90=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 91*90=8190, Resulting Numbers: [8190]
8190,96 unequal: No Solution
Moving to Node #0,3,4
Current State: 96:[83, 13], Operations: ['64-57=7', '91/7=13']
Exploring Operation: 83+13=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[64, 57, 83, 91], Operations: []
Exploring Operation: 64-57=7, Resulting Numbers: [83, 91, 7]
Generated Node #0,3: 96:[83, 91, 7] Operation: 64-57=7
Moving to Node #0,3
Current State: 96:[83, 91, 7], Operations: ['64-57=7']
Exploring Operation: 91/7=13, Resulting Numbers: [83, 13]
Generated Node #0,3,4: 96:[83, 13] Operation: 91/7=13
Moving to Node #0,3,4
Current State: 96:[83, 13], Operations: ['64-57=7', '91/7=13']
Exploring Operation: 83+13=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
39,
62,
68,
93
] | 76 | [
"39+62=101",
"93-68=25",
"101-25=76"
] | Current State: 76:[39, 62, 68, 93], Operations: []
Exploring Operation: 39+62=101, Resulting Numbers: [68, 93, 101]
Generated Node #2: [68, 93, 101] from Operation: 39+62=101
Current State: 76:[68, 93, 101], Operations: ['39+62=101']
Exploring Operation: 93-68=25, Resulting Numbers: [101, 25]
Generated Node #3: [101, 25] from Operation: 93-68=25
Current State: 76:[101, 25], Operations: ['39+62=101', '93-68=25']
Exploring Operation: 101-25=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[39, 62, 68, 93], Operations: []
Exploring Operation: 93-62=31, Resulting Numbers: [39, 68, 31]
Generated Node #0,0: 76:[39, 68, 31] Operation: 93-62=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[39, 68, 31], Operations: ['93-62=31']
Exploring Operation: 68-31=37, Resulting Numbers: [39, 37]
Generated Node #0,0,0: 76:[39, 37] Operation: 68-31=37
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[39, 37], Operations: ['93-62=31', '68-31=37']
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[39, 62, 68, 93], Operations: []
Exploring Operation: 93-62=31, Resulting Numbers: [39, 68, 31]
Generated Node #0,0: 76:[39, 68, 31] Operation: 93-62=31
Moving to Node #0,0
Current State: 76:[39, 68, 31], Operations: ['93-62=31']
Exploring Operation: 68-31=37, Resulting Numbers: [39, 37]
Generated Node #0,0,0: 76:[39, 37] Operation: 68-31=37
Moving to Node #0,0,0
Current State: 76:[39, 37], Operations: ['93-62=31', '68-31=37']
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
76,
56,
54,
72
] | 40 | [
"76-72=4",
"56/4=14",
"54-14=40"
] | Current State: 40:[76, 56, 54, 72], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [56, 54, 4]
Generated Node #2: [56, 54, 4] from Operation: 76-72=4
Current State: 40:[56, 54, 4], Operations: ['76-72=4']
Exploring Operation: 56/4=14, Resulting Numbers: [54, 14]
Generated Node #3: [54, 14] from Operation: 56/4=14
Current State: 40:[54, 14], Operations: ['76-72=4', '56/4=14']
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[76, 56, 54, 72], Operations: []
Exploring Operation: 76-56=20, Resulting Numbers: [54, 72, 20]
Generated Node #0,0: 40:[54, 72, 20] Operation: 76-56=20
Exploring Operation: 76-72=4, Resulting Numbers: [56, 54, 4]
Generated Node #0,1: 40:[56, 54, 4] Operation: 76-72=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[56, 54, 4], Operations: ['76-72=4']
Exploring Operation: 56/4=14, Resulting Numbers: [54, 14]
Generated Node #0,1,0: 40:[54, 14] Operation: 56/4=14
Exploring Operation: 56-54=2, Resulting Numbers: [4, 2]
Generated Node #0,1,1: 40:[4, 2] Operation: 56-54=2
Moving to Node #0,1,1
Current State: 40:[4, 2], Operations: ['76-72=4', '56-54=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[54, 14], Operations: ['76-72=4', '56/4=14']
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[76, 56, 54, 72], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [56, 54, 4]
Generated Node #0,1: 40:[56, 54, 4] Operation: 76-72=4
Moving to Node #0,1
Current State: 40:[56, 54, 4], Operations: ['76-72=4']
Exploring Operation: 56/4=14, Resulting Numbers: [54, 14]
Generated Node #0,1,0: 40:[54, 14] Operation: 56/4=14
Moving to Node #0,1,0
Current State: 40:[54, 14], Operations: ['76-72=4', '56/4=14']
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
73,
19,
36,
31
] | 25 | [
"73+19=92",
"36+31=67",
"92-67=25"
] | Current State: 25:[73, 19, 36, 31], Operations: []
Exploring Operation: 73+19=92, Resulting Numbers: [36, 31, 92]
Generated Node #2: [36, 31, 92] from Operation: 73+19=92
Current State: 25:[36, 31, 92], Operations: ['73+19=92']
Exploring Operation: 36+31=67, Resulting Numbers: [92, 67]
Generated Node #3: [92, 67] from Operation: 36+31=67
Current State: 25:[92, 67], Operations: ['73+19=92', '36+31=67']
Exploring Operation: 92-67=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[73, 19, 36, 31], Operations: []
Exploring Operation: 73-36=37, Resulting Numbers: [19, 31, 37]
Generated Node #0,0: 25:[19, 31, 37] Operation: 73-36=37
Moving to Node #0,0
Current State: 25:[19, 31, 37], Operations: ['73-36=37']
Exploring Operation: 37-31=6, Resulting Numbers: [19, 6]
Generated Node #0,0,0: 25:[19, 6] Operation: 37-31=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[19, 6], Operations: ['73-36=37', '37-31=6']
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[73, 19, 36, 31], Operations: []
Exploring Operation: 73-36=37, Resulting Numbers: [19, 31, 37]
Generated Node #0,0: 25:[19, 31, 37] Operation: 73-36=37
Moving to Node #0,0
Current State: 25:[19, 31, 37], Operations: ['73-36=37']
Exploring Operation: 37-31=6, Resulting Numbers: [19, 6]
Generated Node #0,0,0: 25:[19, 6] Operation: 37-31=6
Moving to Node #0,0,0
Current State: 25:[19, 6], Operations: ['73-36=37', '37-31=6']
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
77,
71,
83,
9
] | 18 | [
"71+83=154",
"154/77=2",
"9*2=18"
] | Current State: 18:[77, 71, 83, 9], Operations: []
Exploring Operation: 71+83=154, Resulting Numbers: [77, 9, 154]
Generated Node #2: [77, 9, 154] from Operation: 71+83=154
Current State: 18:[77, 9, 154], Operations: ['71+83=154']
Exploring Operation: 154/77=2, Resulting Numbers: [9, 2]
Generated Node #3: [9, 2] from Operation: 154/77=2
Current State: 18:[9, 2], Operations: ['71+83=154', '154/77=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[77, 71, 83, 9], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [71, 9, 6]
Generated Node #0,0: 18:[71, 9, 6] Operation: 83-77=6
Exploring Operation: 83-71=12, Resulting Numbers: [77, 9, 12]
Generated Node #0,1: 18:[77, 9, 12] Operation: 83-71=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[71, 9, 6], Operations: ['83-77=6']
Exploring Operation: 71-6=65, Resulting Numbers: [9, 65]
Generated Node #0,0,0: 18:[9, 65] Operation: 71-6=65
Exploring Operation: 71-9=62, Resulting Numbers: [6, 62]
Generated Node #0,0,1: 18:[6, 62] Operation: 71-9=62
Moving to Node #0,0,1
Current State: 18:[6, 62], Operations: ['83-77=6', '71-9=62']
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,18 unequal: No Solution
Exploring Operation: 6+62=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[9, 65], Operations: ['83-77=6', '71-6=65']
Exploring Operation: 65-9=56, Resulting Numbers: [56]
56,18 unequal: No Solution
Exploring Operation: 9+65=74, Resulting Numbers: [74]
74,18 unequal: No Solution
No 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: 18:[77, 9, 12], Operations: ['83-71=12']
Exploring Operation: 77-9=68, Resulting Numbers: [12, 68]
Generated Node #0,1,0: 18:[12, 68] Operation: 77-9=68
Exploring Operation: 77-12=65, Resulting Numbers: [9, 65]
Generated Node #0,1,1: 18:[9, 65] Operation: 77-12=65
Moving to Node #0,1,1
Current State: 18:[9, 65], Operations: ['83-71=12', '77-12=65']
Exploring Operation: 9+65=74, Resulting Numbers: [74]
74,18 unequal: No Solution
Exploring Operation: 65-9=56, Resulting Numbers: [56]
56,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[12, 68], Operations: ['83-71=12', '77-9=68']
Exploring Operation: 12+68=80, Resulting Numbers: [80]
80,18 unequal: No Solution
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,18 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 |
[
31,
10,
84,
52
] | 62 | [
"31*84=2604",
"52-10=42",
"2604/42=62"
] | Current State: 62:[31, 10, 84, 52], Operations: []
Exploring Operation: 31*84=2604, Resulting Numbers: [10, 52, 2604]
Generated Node #2: [10, 52, 2604] from Operation: 31*84=2604
Current State: 62:[10, 52, 2604], Operations: ['31*84=2604']
Exploring Operation: 52-10=42, Resulting Numbers: [2604, 42]
Generated Node #3: [2604, 42] from Operation: 52-10=42
Current State: 62:[2604, 42], Operations: ['31*84=2604', '52-10=42']
Exploring Operation: 2604/42=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[31, 10, 84, 52], Operations: []
Exploring Operation: 84-10=74, Resulting Numbers: [31, 52, 74]
Generated Node #0,0: 62:[31, 52, 74] Operation: 84-10=74
Exploring Operation: 84-52=32, Resulting Numbers: [31, 10, 32]
Generated Node #0,1: 62:[31, 10, 32] Operation: 84-52=32
Moving to Node #0,1
Current State: 62:[31, 10, 32], Operations: ['84-52=32']
Exploring Operation: 32-31=1, Resulting Numbers: [10, 1]
Generated Node #0,1,0: 62:[10, 1] Operation: 32-31=1
Exploring Operation: 31+32=63, Resulting Numbers: [10, 63]
Generated Node #0,1,1: 62:[10, 63] Operation: 31+32=63
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[10, 1], Operations: ['84-52=32', '32-31=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[10, 63], Operations: ['84-52=32', '31+32=63']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Exploring Operation: 10+63=73, Resulting Numbers: [73]
73,62 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: 62:[31, 52, 74], Operations: ['84-10=74']
Exploring Operation: 74-52=22, Resulting Numbers: [31, 22]
Generated Node #0,0,0: 62:[31, 22] Operation: 74-52=22
Exploring Operation: 52-31=21, Resulting Numbers: [74, 21]
Generated Node #0,0,1: 62:[74, 21] Operation: 52-31=21
Moving to Node #0,0,0
Current State: 62:[31, 22], Operations: ['84-10=74', '74-52=22']
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 31+22=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[74, 21], Operations: ['84-10=74', '52-31=21']
Exploring Operation: 74+21=95, Resulting Numbers: [95]
95,62 unequal: No Solution
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,62 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
53,
14,
64,
43
] | 16 | [
"53-14=39",
"43-39=4",
"64/4=16"
] | Current State: 16:[53, 14, 64, 43], Operations: []
Exploring Operation: 53-14=39, Resulting Numbers: [64, 43, 39]
Generated Node #2: [64, 43, 39] from Operation: 53-14=39
Current State: 16:[64, 43, 39], Operations: ['53-14=39']
Exploring Operation: 43-39=4, Resulting Numbers: [64, 4]
Generated Node #3: [64, 4] from Operation: 43-39=4
Current State: 16:[64, 4], Operations: ['53-14=39', '43-39=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[53, 14, 64, 43], Operations: []
Exploring Operation: 64-53=11, Resulting Numbers: [14, 43, 11]
Generated Node #0,0: 16:[14, 43, 11] Operation: 64-53=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[14, 43, 11], Operations: ['64-53=11']
Exploring Operation: 43-14=29, Resulting Numbers: [11, 29]
Generated Node #0,0,0: 16:[11, 29] Operation: 43-14=29
Moving to Node #0,0,0
Current State: 16:[11, 29], Operations: ['64-53=11', '43-14=29']
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,16 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 |
[
28,
24,
6,
8
] | 52 | [
"28-24=4",
"6*8=48",
"4+48=52"
] | Current State: 52:[28, 24, 6, 8], Operations: []
Exploring Operation: 28-24=4, Resulting Numbers: [6, 8, 4]
Generated Node #2: [6, 8, 4] from Operation: 28-24=4
Current State: 52:[6, 8, 4], Operations: ['28-24=4']
Exploring Operation: 6*8=48, Resulting Numbers: [4, 48]
Generated Node #3: [4, 48] from Operation: 6*8=48
Current State: 52:[4, 48], Operations: ['28-24=4', '6*8=48']
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[28, 24, 6, 8], Operations: []
Exploring Operation: 28-24=4, Resulting Numbers: [6, 8, 4]
Generated Node #0,0: 52:[6, 8, 4] Operation: 28-24=4
Exploring Operation: 8-6=2, Resulting Numbers: [28, 24, 2]
Generated Node #0,1: 52:[28, 24, 2] Operation: 8-6=2
Exploring Operation: 28+24=52, Resulting Numbers: [6, 8, 52]
Generated Node #0,2: 52:[6, 8, 52] Operation: 28+24=52
Exploring Operation: 24/8=3, Resulting Numbers: [28, 6, 3]
Generated Node #0,3: 52:[28, 6, 3] Operation: 24/8=3
Exploring Operation: 6+8=14, Resulting Numbers: [28, 24, 14]
Generated Node #0,4: 52:[28, 24, 14] Operation: 6+8=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[28, 24, 2], Operations: ['8-6=2']
Exploring Operation: 28-2=26, Resulting Numbers: [24, 26]
Generated Node #0,1,0: 52:[24, 26] Operation: 28-2=26
Exploring Operation: 28/2=14, Resulting Numbers: [24, 14]
Generated Node #0,1,1: 52:[24, 14] Operation: 28/2=14
Exploring Operation: 28-24=4, Resulting Numbers: [2, 4]
Generated Node #0,1,2: 52:[2, 4] Operation: 28-24=4
Exploring Operation: 24+2=26, Resulting Numbers: [28, 26]
Generated Node #0,1,3: 52:[28, 26] Operation: 24+2=26
Exploring Operation: 28+24=52, Resulting Numbers: [2, 52]
Generated Node #0,1,4: 52:[2, 52] Operation: 28+24=52
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 52:[2, 4], Operations: ['8-6=2', '28-24=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,52 unequal: No Solution
No 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: 52:[2, 52], Operations: ['8-6=2', '28+24=52']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 2*52=104, Resulting Numbers: [104]
104,52 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,52 unequal: No Solution
No 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: 52:[24, 26], Operations: ['8-6=2', '28-2=26']
Exploring Operation: 24*26=624, Resulting Numbers: [624]
624,52 unequal: No Solution
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,52 unequal: No Solution
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,52 unequal: No Solution
No 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: 52:[28, 26], Operations: ['8-6=2', '24+2=26']
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 28*26=728, Resulting Numbers: [728]
728,52 unequal: No Solution
No 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: 52:[24, 14], Operations: ['8-6=2', '28/2=14']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 24*14=336, Resulting Numbers: [336]
336,52 unequal: No Solution
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,52 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: 52:[28, 6, 3], Operations: ['24/8=3']
Exploring Operation: 6/3=2, Resulting Numbers: [28, 2]
Generated Node #0,3,0: 52:[28, 2] Operation: 6/3=2
Exploring Operation: 28-3=25, Resulting Numbers: [6, 25]
Generated Node #0,3,1: 52:[6, 25] Operation: 28-3=25
Exploring Operation: 6+3=9, Resulting Numbers: [28, 9]
Generated Node #0,3,2: 52:[28, 9] Operation: 6+3=9
Exploring Operation: 28-6=22, Resulting Numbers: [3, 22]
Generated Node #0,3,3: 52:[3, 22] Operation: 28-6=22
Exploring Operation: 6-3=3, Resulting Numbers: [28, 3]
Generated Node #0,3,4: 52:[28, 3] Operation: 6-3=3
Moving to Node #0,3,0
Current State: 52:[28, 2], Operations: ['24/8=3', '6/3=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,52 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Moving to Node #0,3,4
Current State: 52:[28, 3], Operations: ['24/8=3', '6-3=3']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,52 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[6, 25], Operations: ['24/8=3', '28-3=25']
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,52 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,52 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[3, 22], Operations: ['24/8=3', '28-6=22']
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,52 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[28, 9], Operations: ['24/8=3', '6+3=9']
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,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
Current State: 52:[28, 24, 14], Operations: ['6+8=14']
Exploring Operation: 24-14=10, Resulting Numbers: [28, 10]
Generated Node #0,4,0: 52:[28, 10] Operation: 24-14=10
Exploring Operation: 28-24=4, Resulting Numbers: [14, 4]
Generated Node #0,4,1: 52:[14, 4] Operation: 28-24=4
Exploring Operation: 28+24=52, Resulting Numbers: [14, 52]
Generated Node #0,4,2: 52:[14, 52] Operation: 28+24=52
Exploring Operation: 28/14=2, Resulting Numbers: [24, 2]
Generated Node #0,4,3: 52:[24, 2] Operation: 28/14=2
Exploring Operation: 28-14=14, Resulting Numbers: [24, 14]
Generated Node #0,4,4: 52:[24, 14] Operation: 28-14=14
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 52:[14, 4], Operations: ['6+8=14', '28-24=4']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,52 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,52 unequal: No Solution
No 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: 52:[14, 52], Operations: ['6+8=14', '28+24=52']
Exploring Operation: 14*52=728, Resulting Numbers: [728]
728,52 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,52 unequal: No Solution
No 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: 52:[24, 2], Operations: ['6+8=14', '28/14=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,52 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,52 unequal: No Solution
No 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: 52:[24, 14], Operations: ['6+8=14', '28-14=14']
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 24*14=336, Resulting Numbers: [336]
336,52 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,52 unequal: No Solution
No 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: 52:[28, 10], Operations: ['6+8=14', '24-14=10']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,52 unequal: No Solution
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,52 unequal: No Solution
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,52 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: 52:[6, 8, 4], Operations: ['28-24=4']
Exploring Operation: 6+8=14, Resulting Numbers: [4, 14]
Generated Node #0,0,0: 52:[4, 14] Operation: 6+8=14
Exploring Operation: 8-4=4, Resulting Numbers: [6, 4]
Generated Node #0,0,1: 52:[6, 4] Operation: 8-4=4
Exploring Operation: 8+4=12, Resulting Numbers: [6, 12]
Generated Node #0,0,2: 52:[6, 12] Operation: 8+4=12
Exploring Operation: 8-6=2, Resulting Numbers: [4, 2]
Generated Node #0,0,3: 52:[4, 2] Operation: 8-6=2
Exploring Operation: 8/4=2, Resulting Numbers: [6, 2]
Generated Node #0,0,4: 52:[6, 2] Operation: 8/4=2
Moving to Node #0,0,3
Current State: 52:[4, 2], Operations: ['28-24=4', '8-6=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[4, 14], Operations: ['28-24=4', '6+8=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,52 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[6, 4], Operations: ['28-24=4', '8-4=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Moving to Node #0,0,4
Current State: 52:[6, 2], Operations: ['28-24=4', '8/4=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[6, 12], Operations: ['28-24=4', '8+4=12']
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,52 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,52 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[6, 8, 52], Operations: ['28+24=52']
Exploring Operation: 6*8=48, Resulting Numbers: [52, 48]
Generated Node #0,2,0: 52:[52, 48] Operation: 6*8=48
Exploring Operation: 52-6=46, Resulting Numbers: [8, 46]
Generated Node #0,2,1: 52:[8, 46] Operation: 52-6=46
Exploring Operation: 8-6=2, Resulting Numbers: [52, 2]
Generated Node #0,2,2: 52:[52, 2] Operation: 8-6=2
Exploring Operation: 6+8=14, Resulting Numbers: [52, 14]
Generated Node #0,2,3: 52:[52, 14] Operation: 6+8=14
Exploring Operation: 6+52=58, Resulting Numbers: [8, 58]
Generated Node #0,2,4: 52:[8, 58] Operation: 6+52=58
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 52:[52, 2], Operations: ['28+24=52', '8-6=2']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,52 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 52*2=104, Resulting Numbers: [104]
104,52 unequal: No Solution
No 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: 52:[52, 14], Operations: ['28+24=52', '6+8=14']
Exploring Operation: 52*14=728, Resulting Numbers: [728]
728,52 unequal: No Solution
Exploring Operation: 52+14=66, Resulting Numbers: [66]
66,52 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,52 unequal: No Solution
No 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: 52:[52, 48], Operations: ['28+24=52', '6*8=48']
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 52*48=2496, Resulting Numbers: [2496]
2496,52 unequal: No Solution
Exploring Operation: 52+48=100, Resulting Numbers: [100]
100,52 unequal: No Solution
No 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: 52:[8, 46], Operations: ['28+24=52', '52-6=46']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 8*46=368, Resulting Numbers: [368]
368,52 unequal: No Solution
Exploring Operation: 8+46=54, Resulting Numbers: [54]
54,52 unequal: No Solution
No 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: 52:[8, 58], Operations: ['28+24=52', '6+52=58']
Exploring Operation: 8+58=66, Resulting Numbers: [66]
66,52 unequal: No Solution
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,52 unequal: No Solution
Exploring Operation: 8*58=464, Resulting Numbers: [464]
464,52 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 |
[
38,
21,
13,
19
] | 27 | [
"38+21=59",
"13+19=32",
"59-32=27"
] | Current State: 27:[38, 21, 13, 19], Operations: []
Exploring Operation: 38+21=59, Resulting Numbers: [13, 19, 59]
Generated Node #2: [13, 19, 59] from Operation: 38+21=59
Current State: 27:[13, 19, 59], Operations: ['38+21=59']
Exploring Operation: 13+19=32, Resulting Numbers: [59, 32]
Generated Node #3: [59, 32] from Operation: 13+19=32
Current State: 27:[59, 32], Operations: ['38+21=59', '13+19=32']
Exploring Operation: 59-32=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[38, 21, 13, 19], Operations: []
Exploring Operation: 38-19=19, Resulting Numbers: [21, 13, 19]
Generated Node #0,0: 27:[21, 13, 19] Operation: 38-19=19
Exploring Operation: 38-21=17, Resulting Numbers: [13, 19, 17]
Generated Node #0,1: 27:[13, 19, 17] Operation: 38-21=17
Exploring Operation: 21-19=2, Resulting Numbers: [38, 13, 2]
Generated Node #0,2: 27:[38, 13, 2] Operation: 21-19=2
Exploring Operation: 38-13=25, Resulting Numbers: [21, 19, 25]
Generated Node #0,3: 27:[21, 19, 25] Operation: 38-13=25
Exploring Operation: 38/19=2, Resulting Numbers: [21, 13, 2]
Generated Node #0,4: 27:[21, 13, 2] Operation: 38/19=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 27:[21, 13, 2], Operations: ['38/19=2']
Exploring Operation: 13-2=11, Resulting Numbers: [21, 11]
Generated Node #0,4,0: 27:[21, 11] Operation: 13-2=11
Exploring Operation: 21+2=23, Resulting Numbers: [13, 23]
Generated Node #0,4,1: 27:[13, 23] Operation: 21+2=23
Exploring Operation: 21+13=34, Resulting Numbers: [2, 34]
Generated Node #0,4,2: 27:[2, 34] Operation: 21+13=34
Exploring Operation: 13*2=26, Resulting Numbers: [21, 26]
Generated Node #0,4,3: 27:[21, 26] Operation: 13*2=26
Exploring Operation: 21-13=8, Resulting Numbers: [2, 8]
Generated Node #0,4,4: 27:[2, 8] Operation: 21-13=8
Moving to Node #0,4,4
Current State: 27:[2, 8], Operations: ['38/19=2', '21-13=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Moving to Node #0,4,3
Current State: 27:[21, 26], Operations: ['38/19=2', '13*2=26']
Exploring Operation: 21+26=47, Resulting Numbers: [47]
47,27 unequal: No Solution
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 21*26=546, Resulting Numbers: [546]
546,27 unequal: No Solution
Moving to Node #0,4,0
Current State: 27:[21, 11], Operations: ['38/19=2', '13-2=11']
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,27 unequal: No Solution
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Moving to Node #0,4,1
Current State: 27:[13, 23], Operations: ['38/19=2', '21+2=23']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 13+23=36, Resulting Numbers: [36]
36,27 unequal: No Solution
Exploring Operation: 13*23=299, Resulting Numbers: [299]
299,27 unequal: No Solution
Moving to Node #0,4,2
Current State: 27:[2, 34], Operations: ['38/19=2', '21+13=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,27 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[38, 13, 2], Operations: ['21-19=2']
Exploring Operation: 38-13=25, Resulting Numbers: [2, 25]
Generated Node #0,2,0: 27:[2, 25] Operation: 38-13=25
Exploring Operation: 38-2=36, Resulting Numbers: [13, 36]
Generated Node #0,2,1: 27:[13, 36] Operation: 38-2=36
Exploring Operation: 38/2=19, Resulting Numbers: [13, 19]
Generated Node #0,2,2: 27:[13, 19] Operation: 38/2=19
Exploring Operation: 13-2=11, Resulting Numbers: [38, 11]
Generated Node #0,2,3: 27:[38, 11] Operation: 13-2=11
Exploring Operation: 13*2=26, Resulting Numbers: [38, 26]
Generated Node #0,2,4: 27:[38, 26] Operation: 13*2=26
Moving to Node #0,2,0
Current State: 27:[2, 25], Operations: ['21-19=2', '38-13=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,27 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[38, 21, 13, 19], Operations: []
Exploring Operation: 21-19=2, Resulting Numbers: [38, 13, 2]
Generated Node #0,2: 27:[38, 13, 2] Operation: 21-19=2
Moving to Node #0,2
Current State: 27:[38, 13, 2], Operations: ['21-19=2']
Exploring Operation: 38-13=25, Resulting Numbers: [2, 25]
Generated Node #0,2,0: 27:[2, 25] Operation: 38-13=25
Moving to Node #0,2,0
Current State: 27:[2, 25], Operations: ['21-19=2', '38-13=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
12,
27,
63,
55
] | 83 | [
"12*63=756",
"756/27=28",
"55+28=83"
] | Current State: 83:[12, 27, 63, 55], Operations: []
Exploring Operation: 12*63=756, Resulting Numbers: [27, 55, 756]
Generated Node #2: [27, 55, 756] from Operation: 12*63=756
Current State: 83:[27, 55, 756], Operations: ['12*63=756']
Exploring Operation: 756/27=28, Resulting Numbers: [55, 28]
Generated Node #3: [55, 28] from Operation: 756/27=28
Current State: 83:[55, 28], Operations: ['12*63=756', '756/27=28']
Exploring Operation: 55+28=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[12, 27, 63, 55], Operations: []
Exploring Operation: 12+27=39, Resulting Numbers: [63, 55, 39]
Generated Node #0,0: 83:[63, 55, 39] Operation: 12+27=39
Exploring Operation: 27+55=82, Resulting Numbers: [12, 63, 82]
Generated Node #0,1: 83:[12, 63, 82] Operation: 27+55=82
Exploring Operation: 12+63=75, Resulting Numbers: [27, 55, 75]
Generated Node #0,2: 83:[27, 55, 75] Operation: 12+63=75
Exploring Operation: 12+55=67, Resulting Numbers: [27, 63, 67]
Generated Node #0,3: 83:[27, 63, 67] Operation: 12+55=67
Moving to Node #0,0
Current State: 83:[63, 55, 39], Operations: ['12+27=39']
Exploring Operation: 63-39=24, Resulting Numbers: [55, 24]
Generated Node #0,0,0: 83:[55, 24] Operation: 63-39=24
Exploring Operation: 63+55=118, Resulting Numbers: [39, 118]
Generated Node #0,0,1: 83:[39, 118] Operation: 63+55=118
Exploring Operation: 63+39=102, Resulting Numbers: [55, 102]
Generated Node #0,0,2: 83:[55, 102] Operation: 63+39=102
Exploring Operation: 55+39=94, Resulting Numbers: [63, 94]
Generated Node #0,0,3: 83:[63, 94] Operation: 55+39=94
Moving to Node #0,2
Current State: 83:[27, 55, 75], Operations: ['12+63=75']
Exploring Operation: 27+55=82, Resulting Numbers: [75, 82]
Generated Node #0,2,0: 83:[75, 82] Operation: 27+55=82
Exploring Operation: 75-27=48, Resulting Numbers: [55, 48]
Generated Node #0,2,1: 83:[55, 48] Operation: 75-27=48
Exploring Operation: 55-27=28, Resulting Numbers: [75, 28]
Generated Node #0,2,2: 83:[75, 28] Operation: 55-27=28
Exploring Operation: 27+75=102, Resulting Numbers: [55, 102]
Generated Node #0,2,3: 83:[55, 102] Operation: 27+75=102
Moving to Node #0,1
Current State: 83:[12, 63, 82], Operations: ['27+55=82']
Exploring Operation: 82-12=70, Resulting Numbers: [63, 70]
Generated Node #0,1,0: 83:[63, 70] Operation: 82-12=70
Exploring Operation: 12+63=75, Resulting Numbers: [82, 75]
Generated Node #0,1,1: 83:[82, 75] Operation: 12+63=75
Exploring Operation: 12+82=94, Resulting Numbers: [63, 94]
Generated Node #0,1,2: 83:[63, 94] Operation: 12+82=94
Exploring Operation: 63-12=51, Resulting Numbers: [82, 51]
Generated Node #0,1,3: 83:[82, 51] Operation: 63-12=51
Moving to Node #0,3
Current State: 83:[27, 63, 67], Operations: ['12+55=67']
Exploring Operation: 63-27=36, Resulting Numbers: [67, 36]
Generated Node #0,3,0: 83:[67, 36] Operation: 63-27=36
Exploring Operation: 27+67=94, Resulting Numbers: [63, 94]
Generated Node #0,3,1: 83:[63, 94] Operation: 27+67=94
Exploring Operation: 67-27=40, Resulting Numbers: [63, 40]
Generated Node #0,3,2: 83:[63, 40] Operation: 67-27=40
Exploring Operation: 27+63=90, Resulting Numbers: [67, 90]
Generated Node #0,3,3: 83:[67, 90] Operation: 27+63=90
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 83:[67, 90], Operations: ['12+55=67', '27+63=90']
Exploring Operation: 67*90=6030, Resulting Numbers: [6030]
6030,83 unequal: No Solution
Exploring Operation: 67+90=157, Resulting Numbers: [157]
157,83 unequal: No Solution
Exploring Operation: 90-67=23, Resulting Numbers: [23]
23,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 83:[63, 94], Operations: ['12+55=67', '27+67=94']
Exploring Operation: 63*94=5922, Resulting Numbers: [5922]
5922,83 unequal: No Solution
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 63+94=157, Resulting Numbers: [157]
157,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 83:[67, 36], Operations: ['12+55=67', '63-27=36']
Exploring Operation: 67*36=2412, Resulting Numbers: [2412]
2412,83 unequal: No Solution
Exploring Operation: 67+36=103, Resulting Numbers: [103]
103,83 unequal: No Solution
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 83:[63, 40], Operations: ['12+55=67', '67-27=40']
Exploring Operation: 63-40=23, Resulting Numbers: [23]
23,83 unequal: No Solution
Exploring Operation: 63*40=2520, Resulting Numbers: [2520]
2520,83 unequal: No Solution
Exploring Operation: 63+40=103, Resulting Numbers: [103]
103,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 83:[75, 82], Operations: ['12+63=75', '27+55=82']
Exploring Operation: 82-75=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 75*82=6150, Resulting Numbers: [6150]
6150,83 unequal: No Solution
Exploring Operation: 75+82=157, Resulting Numbers: [157]
157,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[82, 75], Operations: ['27+55=82', '12+63=75']
Exploring Operation: 82-75=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 82+75=157, Resulting Numbers: [157]
157,83 unequal: No Solution
Exploring Operation: 82*75=6150, Resulting Numbers: [6150]
6150,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[63, 94], Operations: ['27+55=82', '12+82=94']
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 63*94=5922, Resulting Numbers: [5922]
5922,83 unequal: No Solution
Exploring Operation: 63+94=157, Resulting Numbers: [157]
157,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[63, 94], Operations: ['12+27=39', '55+39=94']
Exploring Operation: 63+94=157, Resulting Numbers: [157]
157,83 unequal: No Solution
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 63*94=5922, Resulting Numbers: [5922]
5922,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[82, 51], Operations: ['27+55=82', '63-12=51']
Exploring Operation: 82+51=133, Resulting Numbers: [133]
133,83 unequal: No Solution
Exploring Operation: 82-51=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 82*51=4182, Resulting Numbers: [4182]
4182,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[63, 70], Operations: ['27+55=82', '82-12=70']
Exploring Operation: 63*70=4410, Resulting Numbers: [4410]
4410,83 unequal: No Solution
Exploring Operation: 70-63=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 63+70=133, Resulting Numbers: [133]
133,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[55, 102], Operations: ['12+63=75', '27+75=102']
Exploring Operation: 55+102=157, Resulting Numbers: [157]
157,83 unequal: No Solution
Exploring Operation: 102-55=47, Resulting Numbers: [47]
47,83 unequal: No Solution
Exploring Operation: 55*102=5610, Resulting Numbers: [5610]
5610,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[55, 102], Operations: ['12+27=39', '63+39=102']
Exploring Operation: 55+102=157, Resulting Numbers: [157]
157,83 unequal: No Solution
Exploring Operation: 102-55=47, Resulting Numbers: [47]
47,83 unequal: No Solution
Exploring Operation: 55*102=5610, Resulting Numbers: [5610]
5610,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[55, 48], Operations: ['12+63=75', '75-27=48']
Exploring Operation: 55-48=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 55+48=103, Resulting Numbers: [103]
103,83 unequal: No Solution
Exploring Operation: 55*48=2640, Resulting Numbers: [2640]
2640,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[75, 28], Operations: ['12+63=75', '55-27=28']
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,83 unequal: No Solution
Exploring Operation: 75+28=103, Resulting Numbers: [103]
103,83 unequal: No Solution
Exploring Operation: 75*28=2100, Resulting Numbers: [2100]
2100,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[39, 118], Operations: ['12+27=39', '63+55=118']
Exploring Operation: 39*118=4602, Resulting Numbers: [4602]
4602,83 unequal: No Solution
Exploring Operation: 39+118=157, Resulting Numbers: [157]
157,83 unequal: No Solution
Exploring Operation: 118-39=79, Resulting Numbers: [79]
79,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[55, 24], Operations: ['12+27=39', '63-39=24']
Exploring Operation: 55+24=79, Resulting Numbers: [79]
79,83 unequal: No Solution
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 55*24=1320, Resulting Numbers: [1320]
1320,83 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
88,
82,
5,
7
] | 77 | [
"88-82=6",
"5+6=11",
"7*11=77"
] | Current State: 77:[88, 82, 5, 7], Operations: []
Exploring Operation: 88-82=6, Resulting Numbers: [5, 7, 6]
Generated Node #2: [5, 7, 6] from Operation: 88-82=6
Current State: 77:[5, 7, 6], Operations: ['88-82=6']
Exploring Operation: 5+6=11, Resulting Numbers: [7, 11]
Generated Node #3: [7, 11] from Operation: 5+6=11
Current State: 77:[7, 11], Operations: ['88-82=6', '5+6=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[88, 82, 5, 7], Operations: []
Exploring Operation: 88-5=83, Resulting Numbers: [82, 7, 83]
Generated Node #0,0: 77:[82, 7, 83] Operation: 88-5=83
Exploring Operation: 88-7=81, Resulting Numbers: [82, 5, 81]
Generated Node #0,1: 77:[82, 5, 81] Operation: 88-7=81
Exploring Operation: 82-5=77, Resulting Numbers: [88, 7, 77]
Generated Node #0,2: 77:[88, 7, 77] Operation: 82-5=77
Exploring Operation: 88-82=6, Resulting Numbers: [5, 7, 6]
Generated Node #0,3: 77:[5, 7, 6] Operation: 88-82=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 77:[5, 7, 6], Operations: ['88-82=6']
Exploring Operation: 7+6=13, Resulting Numbers: [5, 13]
Generated Node #0,3,0: 77:[5, 13] Operation: 7+6=13
Exploring Operation: 5+7=12, Resulting Numbers: [6, 12]
Generated Node #0,3,1: 77:[6, 12] Operation: 5+7=12
Exploring Operation: 7-5=2, Resulting Numbers: [6, 2]
Generated Node #0,3,2: 77:[6, 2] Operation: 7-5=2
Exploring Operation: 5+6=11, Resulting Numbers: [7, 11]
Generated Node #0,3,3: 77:[7, 11] Operation: 5+6=11
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 77:[7, 11], Operations: ['88-82=6', '5+6=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[88, 82, 5, 7], Operations: []
Exploring Operation: 88-82=6, Resulting Numbers: [5, 7, 6]
Generated Node #0,3: 77:[5, 7, 6] Operation: 88-82=6
Moving to Node #0,3
Current State: 77:[5, 7, 6], Operations: ['88-82=6']
Exploring Operation: 5+6=11, Resulting Numbers: [7, 11]
Generated Node #0,3,3: 77:[7, 11] Operation: 5+6=11
Moving to Node #0,3,3
Current State: 77:[7, 11], Operations: ['88-82=6', '5+6=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
20,
82,
40,
49
] | 98 | [
"49-40=9",
"20*9=180",
"180-82=98"
] | Current State: 98:[20, 82, 40, 49], Operations: []
Exploring Operation: 49-40=9, Resulting Numbers: [20, 82, 9]
Generated Node #2: [20, 82, 9] from Operation: 49-40=9
Current State: 98:[20, 82, 9], Operations: ['49-40=9']
Exploring Operation: 20*9=180, Resulting Numbers: [82, 180]
Generated Node #3: [82, 180] from Operation: 20*9=180
Current State: 98:[82, 180], Operations: ['49-40=9', '20*9=180']
Exploring Operation: 180-82=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[20, 82, 40, 49], Operations: []
Exploring Operation: 20+82=102, Resulting Numbers: [40, 49, 102]
Generated Node #0,0: 98:[40, 49, 102] Operation: 20+82=102
Moving to Node #0,0
Current State: 98:[40, 49, 102], Operations: ['20+82=102']
Exploring Operation: 49-40=9, Resulting Numbers: [102, 9]
Generated Node #0,0,0: 98:[102, 9] Operation: 49-40=9
Moving to Node #0,0,0
Current State: 98:[102, 9], Operations: ['20+82=102', '49-40=9']
Exploring Operation: 102-9=93, Resulting Numbers: [93]
93,98 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
7,
20,
85,
44
] | 83 | [
"44-20=24",
"7*24=168",
"168-85=83"
] | Current State: 83:[7, 20, 85, 44], Operations: []
Exploring Operation: 44-20=24, Resulting Numbers: [7, 85, 24]
Generated Node #2: [7, 85, 24] from Operation: 44-20=24
Current State: 83:[7, 85, 24], Operations: ['44-20=24']
Exploring Operation: 7*24=168, Resulting Numbers: [85, 168]
Generated Node #3: [85, 168] from Operation: 7*24=168
Current State: 83:[85, 168], Operations: ['44-20=24', '7*24=168']
Exploring Operation: 168-85=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[7, 20, 85, 44], Operations: []
Exploring Operation: 7+44=51, Resulting Numbers: [20, 85, 51]
Generated Node #0,0: 83:[20, 85, 51] Operation: 7+44=51
Exploring Operation: 7+20=27, Resulting Numbers: [85, 44, 27]
Generated Node #0,1: 83:[85, 44, 27] Operation: 7+20=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[20, 85, 51], Operations: ['7+44=51']
Exploring Operation: 20+51=71, Resulting Numbers: [85, 71]
Generated Node #0,0,0: 83:[85, 71] Operation: 20+51=71
Exploring Operation: 85-20=65, Resulting Numbers: [51, 65]
Generated Node #0,0,1: 83:[51, 65] Operation: 85-20=65
Moving to Node #0,0,0
Current State: 83:[85, 71], Operations: ['7+44=51', '20+51=71']
Exploring Operation: 85+71=156, Resulting Numbers: [156]
156,83 unequal: No Solution
Exploring Operation: 85-71=14, Resulting Numbers: [14]
14,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[51, 65], Operations: ['7+44=51', '85-20=65']
Exploring Operation: 51+65=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Exploring Operation: 65-51=14, Resulting Numbers: [14]
14,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[85, 44, 27], Operations: ['7+20=27']
Exploring Operation: 44+27=71, Resulting Numbers: [85, 71]
Generated Node #0,1,0: 83:[85, 71] Operation: 44+27=71
Exploring Operation: 85-27=58, Resulting Numbers: [44, 58]
Generated Node #0,1,1: 83:[44, 58] Operation: 85-27=58
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[85, 71], Operations: ['7+20=27', '44+27=71']
Exploring Operation: 85+71=156, Resulting Numbers: [156]
156,83 unequal: No Solution
Exploring Operation: 85-71=14, Resulting Numbers: [14]
14,83 unequal: No Solution
No 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: 83:[44, 58], Operations: ['7+20=27', '85-27=58']
Exploring Operation: 58-44=14, Resulting Numbers: [14]
14,83 unequal: No Solution
Exploring Operation: 44+58=102, Resulting Numbers: [102]
102,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
65,
51,
39,
57
] | 20 | [
"65+51=116",
"39+57=96",
"116-96=20"
] | Current State: 20:[65, 51, 39, 57], Operations: []
Exploring Operation: 65+51=116, Resulting Numbers: [39, 57, 116]
Generated Node #2: [39, 57, 116] from Operation: 65+51=116
Current State: 20:[39, 57, 116], Operations: ['65+51=116']
Exploring Operation: 39+57=96, Resulting Numbers: [116, 96]
Generated Node #3: [116, 96] from Operation: 39+57=96
Current State: 20:[116, 96], Operations: ['65+51=116', '39+57=96']
Exploring Operation: 116-96=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[65, 51, 39, 57], Operations: []
Exploring Operation: 57-51=6, Resulting Numbers: [65, 39, 6]
Generated Node #0,0: 20:[65, 39, 6] Operation: 57-51=6
Exploring Operation: 65-51=14, Resulting Numbers: [39, 57, 14]
Generated Node #0,1: 20:[39, 57, 14] Operation: 65-51=14
Exploring Operation: 65-57=8, Resulting Numbers: [51, 39, 8]
Generated Node #0,2: 20:[51, 39, 8] Operation: 65-57=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[51, 39, 8], Operations: ['65-57=8']
Exploring Operation: 39-8=31, Resulting Numbers: [51, 31]
Generated Node #0,2,0: 20:[51, 31] Operation: 39-8=31
Exploring Operation: 51-39=12, Resulting Numbers: [8, 12]
Generated Node #0,2,1: 20:[8, 12] Operation: 51-39=12
Exploring Operation: 51-8=43, Resulting Numbers: [39, 43]
Generated Node #0,2,2: 20:[39, 43] Operation: 51-8=43
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 20:[8, 12], Operations: ['65-57=8', '51-39=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,20 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[65, 51, 39, 57], Operations: []
Exploring Operation: 65-57=8, Resulting Numbers: [51, 39, 8]
Generated Node #0,2: 20:[51, 39, 8] Operation: 65-57=8
Moving to Node #0,2
Current State: 20:[51, 39, 8], Operations: ['65-57=8']
Exploring Operation: 51-39=12, Resulting Numbers: [8, 12]
Generated Node #0,2,1: 20:[8, 12] Operation: 51-39=12
Moving to Node #0,2,1
Current State: 20:[8, 12], Operations: ['65-57=8', '51-39=12']
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
5,
30,
38,
91
] | 47 | [
"30/5=6",
"91-38=53",
"53-6=47"
] | Current State: 47:[5, 30, 38, 91], Operations: []
Exploring Operation: 30/5=6, Resulting Numbers: [38, 91, 6]
Generated Node #2: [38, 91, 6] from Operation: 30/5=6
Current State: 47:[38, 91, 6], Operations: ['30/5=6']
Exploring Operation: 91-38=53, Resulting Numbers: [6, 53]
Generated Node #3: [6, 53] from Operation: 91-38=53
Current State: 47:[6, 53], Operations: ['30/5=6', '91-38=53']
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[5, 30, 38, 91], Operations: []
Exploring Operation: 5+38=43, Resulting Numbers: [30, 91, 43]
Generated Node #0,0: 47:[30, 91, 43] Operation: 5+38=43
Exploring Operation: 5+30=35, Resulting Numbers: [38, 91, 35]
Generated Node #0,1: 47:[38, 91, 35] Operation: 5+30=35
Exploring Operation: 91-5=86, Resulting Numbers: [30, 38, 86]
Generated Node #0,2: 47:[30, 38, 86] Operation: 91-5=86
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[30, 91, 43], Operations: ['5+38=43']
Exploring Operation: 91-43=48, Resulting Numbers: [30, 48]
Generated Node #0,0,0: 47:[30, 48] Operation: 91-43=48
Exploring Operation: 91-30=61, Resulting Numbers: [43, 61]
Generated Node #0,0,1: 47:[43, 61] Operation: 91-30=61
Exploring Operation: 30+43=73, Resulting Numbers: [91, 73]
Generated Node #0,0,2: 47:[91, 73] Operation: 30+43=73
Moving to Node #0,0,0
Current State: 47:[30, 48], Operations: ['5+38=43', '91-43=48']
Exploring Operation: 30+48=78, Resulting Numbers: [78]
78,47 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 30*48=1440, Resulting Numbers: [1440]
1440,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[43, 61], Operations: ['5+38=43', '91-30=61']
Exploring Operation: 43+61=104, Resulting Numbers: [104]
104,47 unequal: No Solution
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 43*61=2623, Resulting Numbers: [2623]
2623,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[91, 73], Operations: ['5+38=43', '30+43=73']
Exploring Operation: 91-73=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 91+73=164, Resulting Numbers: [164]
164,47 unequal: No Solution
Exploring Operation: 91*73=6643, Resulting Numbers: [6643]
6643,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
Current State: 47:[38, 91, 35], Operations: ['5+30=35']
Exploring Operation: 91-35=56, Resulting Numbers: [38, 56]
Generated Node #0,1,0: 47:[38, 56] Operation: 91-35=56
Exploring Operation: 38+35=73, Resulting Numbers: [91, 73]
Generated Node #0,1,1: 47:[91, 73] Operation: 38+35=73
Exploring Operation: 91-38=53, Resulting Numbers: [35, 53]
Generated Node #0,1,2: 47:[35, 53] Operation: 91-38=53
Moving to Node #0,1,0
Current State: 47:[38, 56], Operations: ['5+30=35', '91-35=56']
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 38*56=2128, Resulting Numbers: [2128]
2128,47 unequal: No Solution
Exploring Operation: 38+56=94, Resulting Numbers: [94]
94,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[35, 53], Operations: ['5+30=35', '91-38=53']
Exploring Operation: 35*53=1855, Resulting Numbers: [1855]
1855,47 unequal: No Solution
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 35+53=88, Resulting Numbers: [88]
88,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[91, 73], Operations: ['5+30=35', '38+35=73']
Exploring Operation: 91+73=164, Resulting Numbers: [164]
164,47 unequal: No Solution
Exploring Operation: 91*73=6643, Resulting Numbers: [6643]
6643,47 unequal: No Solution
Exploring Operation: 91-73=18, Resulting Numbers: [18]
18,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
Current State: 47:[30, 38, 86], Operations: ['91-5=86']
Exploring Operation: 86-30=56, Resulting Numbers: [38, 56]
Generated Node #0,2,0: 47:[38, 56] Operation: 86-30=56
Exploring Operation: 86-38=48, Resulting Numbers: [30, 48]
Generated Node #0,2,1: 47:[30, 48] Operation: 86-38=48
Exploring Operation: 30+38=68, Resulting Numbers: [86, 68]
Generated Node #0,2,2: 47:[86, 68] Operation: 30+38=68
Moving to Node #0,2,0
Current State: 47:[38, 56], Operations: ['91-5=86', '86-30=56']
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 38*56=2128, Resulting Numbers: [2128]
2128,47 unequal: No Solution
Exploring Operation: 38+56=94, Resulting Numbers: [94]
94,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[30, 48], Operations: ['91-5=86', '86-38=48']
Exploring Operation: 30*48=1440, Resulting Numbers: [1440]
1440,47 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 30+48=78, Resulting Numbers: [78]
78,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[86, 68], Operations: ['91-5=86', '30+38=68']
Exploring Operation: 86-68=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 86*68=5848, Resulting Numbers: [5848]
5848,47 unequal: No Solution
Exploring Operation: 86+68=154, Resulting Numbers: [154]
154,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
97,
73,
21,
84
] | 20 | [
"97-73=24",
"84/21=4",
"24-4=20"
] | Current State: 20:[97, 73, 21, 84], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [21, 84, 24]
Generated Node #2: [21, 84, 24] from Operation: 97-73=24
Current State: 20:[21, 84, 24], Operations: ['97-73=24']
Exploring Operation: 84/21=4, Resulting Numbers: [24, 4]
Generated Node #3: [24, 4] from Operation: 84/21=4
Current State: 20:[24, 4], Operations: ['97-73=24', '84/21=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[97, 73, 21, 84], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [21, 84, 24]
Generated Node #0,0: 20:[21, 84, 24] Operation: 97-73=24
Exploring Operation: 97-84=13, Resulting Numbers: [73, 21, 13]
Generated Node #0,1: 20:[73, 21, 13] Operation: 97-84=13
Exploring Operation: 84-73=11, Resulting Numbers: [97, 21, 11]
Generated Node #0,2: 20:[97, 21, 11] Operation: 84-73=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[73, 21, 13], Operations: ['97-84=13']
Exploring Operation: 21-13=8, Resulting Numbers: [73, 8]
Generated Node #0,1,0: 20:[73, 8] Operation: 21-13=8
Exploring Operation: 73-13=60, Resulting Numbers: [21, 60]
Generated Node #0,1,1: 20:[21, 60] Operation: 73-13=60
Exploring Operation: 73-21=52, Resulting Numbers: [13, 52]
Generated Node #0,1,2: 20:[13, 52] Operation: 73-21=52
Moving to Node #0,1,2
Current State: 20:[13, 52], Operations: ['97-84=13', '73-21=52']
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 13+52=65, Resulting Numbers: [65]
65,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[21, 60], Operations: ['97-84=13', '73-13=60']
Exploring Operation: 60-21=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 21*60=1260, Resulting Numbers: [1260]
1260,20 unequal: No Solution
Exploring Operation: 21+60=81, Resulting Numbers: [81]
81,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[73, 8], Operations: ['97-84=13', '21-13=8']
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,20 unequal: No Solution
Exploring Operation: 73*8=584, Resulting Numbers: [584]
584,20 unequal: No Solution
Exploring Operation: 73+8=81, Resulting Numbers: [81]
81,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[21, 84, 24], Operations: ['97-73=24']
Exploring Operation: 84/21=4, Resulting Numbers: [24, 4]
Generated Node #0,0,0: 20:[24, 4] Operation: 84/21=4
Exploring Operation: 84-24=60, Resulting Numbers: [21, 60]
Generated Node #0,0,1: 20:[21, 60] Operation: 84-24=60
Exploring Operation: 84-21=63, Resulting Numbers: [24, 63]
Generated Node #0,0,2: 20:[24, 63] Operation: 84-21=63
Moving to Node #0,0,0
Current State: 20:[24, 4], Operations: ['97-73=24', '84/21=4']
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[97, 73, 21, 84], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [21, 84, 24]
Generated Node #0,0: 20:[21, 84, 24] Operation: 97-73=24
Moving to Node #0,0
Current State: 20:[21, 84, 24], Operations: ['97-73=24']
Exploring Operation: 84/21=4, Resulting Numbers: [24, 4]
Generated Node #0,0,0: 20:[24, 4] Operation: 84/21=4
Moving to Node #0,0,0
Current State: 20:[24, 4], Operations: ['97-73=24', '84/21=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
4,
54,
36,
50
] | 95 | [
"36/4=9",
"54+50=104",
"104-9=95"
] | Current State: 95:[4, 54, 36, 50], Operations: []
Exploring Operation: 36/4=9, Resulting Numbers: [54, 50, 9]
Generated Node #2: [54, 50, 9] from Operation: 36/4=9
Current State: 95:[54, 50, 9], Operations: ['36/4=9']
Exploring Operation: 54+50=104, Resulting Numbers: [9, 104]
Generated Node #3: [9, 104] from Operation: 54+50=104
Current State: 95:[9, 104], Operations: ['36/4=9', '54+50=104']
Exploring Operation: 104-9=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[4, 54, 36, 50], Operations: []
Exploring Operation: 54-50=4, Resulting Numbers: [4, 36, 4]
Generated Node #0,0: 95:[4, 36, 4] Operation: 54-50=4
Moving to Node #0,0
Current State: 95:[4, 36, 4], Operations: ['54-50=4']
Exploring Operation: 36/4=9, Resulting Numbers: [4, 9]
Generated Node #0,0,0: 95:[4, 9] Operation: 36/4=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[4, 9], Operations: ['54-50=4', '36/4=9']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
32,
54,
10,
81
] | 47 | [
"10*81=810",
"810/54=15",
"32+15=47"
] | Current State: 47:[32, 54, 10, 81], Operations: []
Exploring Operation: 10*81=810, Resulting Numbers: [32, 54, 810]
Generated Node #2: [32, 54, 810] from Operation: 10*81=810
Current State: 47:[32, 54, 810], Operations: ['10*81=810']
Exploring Operation: 810/54=15, Resulting Numbers: [32, 15]
Generated Node #3: [32, 15] from Operation: 810/54=15
Current State: 47:[32, 15], Operations: ['10*81=810', '810/54=15']
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[32, 54, 10, 81], Operations: []
Exploring Operation: 32+10=42, Resulting Numbers: [54, 81, 42]
Generated Node #0,0: 47:[54, 81, 42] Operation: 32+10=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[54, 81, 42], Operations: ['32+10=42']
Exploring Operation: 81-42=39, Resulting Numbers: [54, 39]
Generated Node #0,0,0: 47:[54, 39] Operation: 81-42=39
Moving to Node #0,0,0
Current State: 47:[54, 39], Operations: ['32+10=42', '81-42=39']
Exploring Operation: 54-39=15, Resulting Numbers: [15]
15,47 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 |
[
12,
44,
95,
5
] | 65 | [
"44-12=32",
"5*32=160",
"160-95=65"
] | Current State: 65:[12, 44, 95, 5], Operations: []
Exploring Operation: 44-12=32, Resulting Numbers: [95, 5, 32]
Generated Node #2: [95, 5, 32] from Operation: 44-12=32
Current State: 65:[95, 5, 32], Operations: ['44-12=32']
Exploring Operation: 5*32=160, Resulting Numbers: [95, 160]
Generated Node #3: [95, 160] from Operation: 5*32=160
Current State: 65:[95, 160], Operations: ['44-12=32', '5*32=160']
Exploring Operation: 160-95=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[12, 44, 95, 5], Operations: []
Exploring Operation: 95-44=51, Resulting Numbers: [12, 5, 51]
Generated Node #0,0: 65:[12, 5, 51] Operation: 95-44=51
Exploring Operation: 12+44=56, Resulting Numbers: [95, 5, 56]
Generated Node #0,1: 65:[95, 5, 56] Operation: 12+44=56
Exploring Operation: 95/5=19, Resulting Numbers: [12, 44, 19]
Generated Node #0,2: 65:[12, 44, 19] Operation: 95/5=19
Moving to Node #0,0
Current State: 65:[12, 5, 51], Operations: ['95-44=51']
Exploring Operation: 12+51=63, Resulting Numbers: [5, 63]
Generated Node #0,0,0: 65:[5, 63] Operation: 12+51=63
Exploring Operation: 5+51=56, Resulting Numbers: [12, 56]
Generated Node #0,0,1: 65:[12, 56] Operation: 5+51=56
Exploring Operation: 12-5=7, Resulting Numbers: [51, 7]
Generated Node #0,0,2: 65:[51, 7] Operation: 12-5=7
Moving to Node #0,2
Current State: 65:[12, 44, 19], Operations: ['95/5=19']
Exploring Operation: 44+19=63, Resulting Numbers: [12, 63]
Generated Node #0,2,0: 65:[12, 63] Operation: 44+19=63
Exploring Operation: 12+44=56, Resulting Numbers: [19, 56]
Generated Node #0,2,1: 65:[19, 56] Operation: 12+44=56
Exploring Operation: 44-19=25, Resulting Numbers: [12, 25]
Generated Node #0,2,2: 65:[12, 25] Operation: 44-19=25
Moving to Node #0,1
Current State: 65:[95, 5, 56], Operations: ['12+44=56']
Exploring Operation: 95-56=39, Resulting Numbers: [5, 39]
Generated Node #0,1,0: 65:[5, 39] Operation: 95-56=39
Exploring Operation: 95/5=19, Resulting Numbers: [56, 19]
Generated Node #0,1,1: 65:[56, 19] Operation: 95/5=19
Exploring Operation: 95-5=90, Resulting Numbers: [56, 90]
Generated Node #0,1,2: 65:[56, 90] Operation: 95-5=90
Moving to Node #0,0,0
Current State: 65:[5, 63], Operations: ['95-44=51', '12+51=63']
Exploring Operation: 5*63=315, Resulting Numbers: [315]
315,65 unequal: No Solution
Exploring Operation: 5+63=68, Resulting Numbers: [68]
68,65 unequal: No Solution
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[12, 63], Operations: ['95/5=19', '44+19=63']
Exploring Operation: 12*63=756, Resulting Numbers: [756]
756,65 unequal: No Solution
Exploring Operation: 12+63=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[12, 56], Operations: ['95-44=51', '5+51=56']
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,65 unequal: No Solution
Exploring Operation: 12*56=672, Resulting Numbers: [672]
672,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[12, 25], Operations: ['95/5=19', '44-19=25']
Exploring Operation: 12*25=300, Resulting Numbers: [300]
300,65 unequal: No Solution
Exploring Operation: 12+25=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[19, 56], Operations: ['95/5=19', '12+44=56']
Exploring Operation: 19+56=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 19*56=1064, Resulting Numbers: [1064]
1064,65 unequal: No Solution
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[56, 19], Operations: ['12+44=56', '95/5=19']
Exploring Operation: 56*19=1064, Resulting Numbers: [1064]
1064,65 unequal: No Solution
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 56+19=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[51, 7], Operations: ['95-44=51', '12-5=7']
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 51*7=357, Resulting Numbers: [357]
357,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[5, 39], Operations: ['12+44=56', '95-56=39']
Exploring Operation: 5*39=195, Resulting Numbers: [195]
195,65 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[56, 90], Operations: ['12+44=56', '95-5=90']
Exploring Operation: 90-56=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Exploring Operation: 56+90=146, Resulting Numbers: [146]
146,65 unequal: No Solution
Exploring Operation: 56*90=5040, Resulting Numbers: [5040]
5040,65 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
27,
57,
2,
71
] | 82 | [
"57-27=30",
"71-30=41",
"2*41=82"
] | Current State: 82:[27, 57, 2, 71], Operations: []
Exploring Operation: 57-27=30, Resulting Numbers: [2, 71, 30]
Generated Node #2: [2, 71, 30] from Operation: 57-27=30
Current State: 82:[2, 71, 30], Operations: ['57-27=30']
Exploring Operation: 71-30=41, Resulting Numbers: [2, 41]
Generated Node #3: [2, 41] from Operation: 71-30=41
Current State: 82:[2, 41], Operations: ['57-27=30', '71-30=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[27, 57, 2, 71], Operations: []
Exploring Operation: 27+57=84, Resulting Numbers: [2, 71, 84]
Generated Node #0,0: 82:[2, 71, 84] Operation: 27+57=84
Exploring Operation: 71-27=44, Resulting Numbers: [57, 2, 44]
Generated Node #0,1: 82:[57, 2, 44] Operation: 71-27=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[2, 71, 84], Operations: ['27+57=84']
Exploring Operation: 2+71=73, Resulting Numbers: [84, 73]
Generated Node #0,0,0: 82:[84, 73] Operation: 2+71=73
Exploring Operation: 84-2=82, Resulting Numbers: [71, 82]
Generated Node #0,0,1: 82:[71, 82] Operation: 84-2=82
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[84, 73], Operations: ['27+57=84', '2+71=73']
Exploring Operation: 84-73=11, Resulting Numbers: [11]
11,82 unequal: No Solution
Exploring Operation: 84+73=157, Resulting Numbers: [157]
157,82 unequal: No Solution
No 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: 82:[71, 82], Operations: ['27+57=84', '84-2=82']
Exploring Operation: 71+82=153, Resulting Numbers: [153]
153,82 unequal: No Solution
Exploring Operation: 82-71=11, Resulting Numbers: [11]
11,82 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: 82:[57, 2, 44], Operations: ['71-27=44']
Exploring Operation: 57-44=13, Resulting Numbers: [2, 13]
Generated Node #0,1,0: 82:[2, 13] Operation: 57-44=13
Exploring Operation: 57-2=55, Resulting Numbers: [44, 55]
Generated Node #0,1,1: 82:[44, 55] Operation: 57-2=55
Moving to Node #0,1,0
Current State: 82:[2, 13], Operations: ['71-27=44', '57-44=13']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,82 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[44, 55], Operations: ['71-27=44', '57-2=55']
Exploring Operation: 55-44=11, Resulting Numbers: [11]
11,82 unequal: No Solution
Exploring Operation: 44+55=99, Resulting Numbers: [99]
99,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
42,
72,
87,
1
] | 27 | [
"42+72=114",
"87*1=87",
"114-87=27"
] | Current State: 27:[42, 72, 87, 1], Operations: []
Exploring Operation: 42+72=114, Resulting Numbers: [87, 1, 114]
Generated Node #2: [87, 1, 114] from Operation: 42+72=114
Current State: 27:[87, 1, 114], Operations: ['42+72=114']
Exploring Operation: 87*1=87, Resulting Numbers: [114, 87]
Generated Node #3: [114, 87] from Operation: 87*1=87
Current State: 27:[114, 87], Operations: ['42+72=114', '87*1=87']
Exploring Operation: 114-87=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[42, 72, 87, 1], Operations: []
Exploring Operation: 87-72=15, Resulting Numbers: [42, 1, 15]
Generated Node #0,0: 27:[42, 1, 15] Operation: 87-72=15
Moving to Node #0,0
Current State: 27:[42, 1, 15], Operations: ['87-72=15']
Exploring Operation: 42-15=27, Resulting Numbers: [1, 27]
Generated Node #0,0,0: 27:[1, 27] Operation: 42-15=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[1, 27], Operations: ['87-72=15', '42-15=27']
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[42, 72, 87, 1], Operations: []
Exploring Operation: 87-72=15, Resulting Numbers: [42, 1, 15]
Generated Node #0,0: 27:[42, 1, 15] Operation: 87-72=15
Moving to Node #0,0
Current State: 27:[42, 1, 15], Operations: ['87-72=15']
Exploring Operation: 42-15=27, Resulting Numbers: [1, 27]
Generated Node #0,0,0: 27:[1, 27] Operation: 42-15=27
Moving to Node #0,0,0
Current State: 27:[1, 27], Operations: ['87-72=15', '42-15=27']
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
2,
54,
79,
10
] | 47 | [
"54+10=64",
"64/2=32",
"79-32=47"
] | Current State: 47:[2, 54, 79, 10], Operations: []
Exploring Operation: 54+10=64, Resulting Numbers: [2, 79, 64]
Generated Node #2: [2, 79, 64] from Operation: 54+10=64
Current State: 47:[2, 79, 64], Operations: ['54+10=64']
Exploring Operation: 64/2=32, Resulting Numbers: [79, 32]
Generated Node #3: [79, 32] from Operation: 64/2=32
Current State: 47:[79, 32], Operations: ['54+10=64', '64/2=32']
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[2, 54, 79, 10], Operations: []
Exploring Operation: 2*10=20, Resulting Numbers: [54, 79, 20]
Generated Node #0,0: 47:[54, 79, 20] Operation: 2*10=20
Exploring Operation: 54-2=52, Resulting Numbers: [79, 10, 52]
Generated Node #0,1: 47:[79, 10, 52] Operation: 54-2=52
Moving to Node #0,0
Current State: 47:[54, 79, 20], Operations: ['2*10=20']
Exploring Operation: 54-20=34, Resulting Numbers: [79, 34]
Generated Node #0,0,0: 47:[79, 34] Operation: 54-20=34
Exploring Operation: 79-20=59, Resulting Numbers: [54, 59]
Generated Node #0,0,1: 47:[54, 59] Operation: 79-20=59
Moving to Node #0,1
Current State: 47:[79, 10, 52], Operations: ['54-2=52']
Exploring Operation: 52-10=42, Resulting Numbers: [79, 42]
Generated Node #0,1,0: 47:[79, 42] Operation: 52-10=42
Exploring Operation: 79-10=69, Resulting Numbers: [52, 69]
Generated Node #0,1,1: 47:[52, 69] Operation: 79-10=69
Moving to Node #0,0,1
Current State: 47:[54, 59], Operations: ['2*10=20', '79-20=59']
Exploring Operation: 59-54=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Exploring Operation: 54+59=113, Resulting Numbers: [113]
113,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[52, 69], Operations: ['54-2=52', '79-10=69']
Exploring Operation: 69-52=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 52+69=121, Resulting Numbers: [121]
121,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[79, 42], Operations: ['54-2=52', '52-10=42']
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 79+42=121, Resulting Numbers: [121]
121,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[79, 34], Operations: ['2*10=20', '54-20=34']
Exploring Operation: 79-34=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 79+34=113, Resulting Numbers: [113]
113,47 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
21,
51,
77,
7
] | 47 | [
"77+7=84",
"84/21=4",
"51-4=47"
] | Current State: 47:[21, 51, 77, 7], Operations: []
Exploring Operation: 77+7=84, Resulting Numbers: [21, 51, 84]
Generated Node #2: [21, 51, 84] from Operation: 77+7=84
Current State: 47:[21, 51, 84], Operations: ['77+7=84']
Exploring Operation: 84/21=4, Resulting Numbers: [51, 4]
Generated Node #3: [51, 4] from Operation: 84/21=4
Current State: 47:[51, 4], Operations: ['77+7=84', '84/21=4']
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[21, 51, 77, 7], Operations: []
Exploring Operation: 77-7=70, Resulting Numbers: [21, 51, 70]
Generated Node #0,0: 47:[21, 51, 70] Operation: 77-7=70
Exploring Operation: 77-21=56, Resulting Numbers: [51, 7, 56]
Generated Node #0,1: 47:[51, 7, 56] Operation: 77-21=56
Exploring Operation: 21+7=28, Resulting Numbers: [51, 77, 28]
Generated Node #0,2: 47:[51, 77, 28] Operation: 21+7=28
Moving to Node #0,0
Current State: 47:[21, 51, 70], Operations: ['77-7=70']
Exploring Operation: 21+51=72, Resulting Numbers: [70, 72]
Generated Node #0,0,0: 47:[70, 72] Operation: 21+51=72
Exploring Operation: 70-21=49, Resulting Numbers: [51, 49]
Generated Node #0,0,1: 47:[51, 49] Operation: 70-21=49
Exploring Operation: 51-21=30, Resulting Numbers: [70, 30]
Generated Node #0,0,2: 47:[70, 30] Operation: 51-21=30
Moving to Node #0,1
Current State: 47:[51, 7, 56], Operations: ['77-21=56']
Exploring Operation: 51-7=44, Resulting Numbers: [56, 44]
Generated Node #0,1,0: 47:[56, 44] Operation: 51-7=44
Exploring Operation: 51+7=58, Resulting Numbers: [56, 58]
Generated Node #0,1,1: 47:[56, 58] Operation: 51+7=58
Exploring Operation: 56-7=49, Resulting Numbers: [51, 49]
Generated Node #0,1,2: 47:[51, 49] Operation: 56-7=49
Moving to Node #0,2
Current State: 47:[51, 77, 28], Operations: ['21+7=28']
Exploring Operation: 77-28=49, Resulting Numbers: [51, 49]
Generated Node #0,2,0: 47:[51, 49] Operation: 77-28=49
Exploring Operation: 51-28=23, Resulting Numbers: [77, 23]
Generated Node #0,2,1: 47:[77, 23] Operation: 51-28=23
Exploring Operation: 77-51=26, Resulting Numbers: [28, 26]
Generated Node #0,2,2: 47:[28, 26] Operation: 77-51=26
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[51, 49], Operations: ['21+7=28', '77-28=49']
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 51*49=2499, Resulting Numbers: [2499]
2499,47 unequal: No Solution
Exploring Operation: 51+49=100, Resulting Numbers: [100]
100,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:[28, 26], Operations: ['21+7=28', '77-51=26']
Exploring Operation: 28*26=728, Resulting Numbers: [728]
728,47 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,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:[77, 23], Operations: ['21+7=28', '51-28=23']
Exploring Operation: 77+23=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Exploring Operation: 77-23=54, Resulting Numbers: [54]
54,47 unequal: No Solution
Exploring Operation: 77*23=1771, Resulting Numbers: [1771]
1771,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 47:[51, 49], Operations: ['77-7=70', '70-21=49']
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 51*49=2499, Resulting Numbers: [2499]
2499,47 unequal: No Solution
Exploring Operation: 51+49=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[51, 49], Operations: ['77-21=56', '56-7=49']
Exploring Operation: 51*49=2499, Resulting Numbers: [2499]
2499,47 unequal: No Solution
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 51+49=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[56, 44], Operations: ['77-21=56', '51-7=44']
Exploring Operation: 56*44=2464, Resulting Numbers: [2464]
2464,47 unequal: No Solution
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[56, 58], Operations: ['77-21=56', '51+7=58']
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 56*58=3248, Resulting Numbers: [3248]
3248,47 unequal: No Solution
Exploring Operation: 56+58=114, Resulting Numbers: [114]
114,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[70, 30], Operations: ['77-7=70', '51-21=30']
Exploring Operation: 70*30=2100, Resulting Numbers: [2100]
2100,47 unequal: No Solution
Exploring Operation: 70-30=40, Resulting Numbers: [40]
40,47 unequal: No Solution
Exploring Operation: 70+30=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[70, 72], Operations: ['77-7=70', '21+51=72']
Exploring Operation: 70*72=5040, Resulting Numbers: [5040]
5040,47 unequal: No Solution
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 70+72=142, Resulting Numbers: [142]
142,47 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
66,
67,
24,
21
] | 44 | [
"67-66=1",
"24+21=45",
"45-1=44"
] | Current State: 44:[66, 67, 24, 21], Operations: []
Exploring Operation: 67-66=1, Resulting Numbers: [24, 21, 1]
Generated Node #2: [24, 21, 1] from Operation: 67-66=1
Current State: 44:[24, 21, 1], Operations: ['67-66=1']
Exploring Operation: 24+21=45, Resulting Numbers: [1, 45]
Generated Node #3: [1, 45] from Operation: 24+21=45
Current State: 44:[1, 45], Operations: ['67-66=1', '24+21=45']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[66, 67, 24, 21], Operations: []
Exploring Operation: 67-21=46, Resulting Numbers: [66, 24, 46]
Generated Node #0,0: 44:[66, 24, 46] Operation: 67-21=46
Exploring Operation: 66-21=45, Resulting Numbers: [67, 24, 45]
Generated Node #0,1: 44:[67, 24, 45] Operation: 66-21=45
Exploring Operation: 67-24=43, Resulting Numbers: [66, 21, 43]
Generated Node #0,2: 44:[66, 21, 43] Operation: 67-24=43
Exploring Operation: 67-66=1, Resulting Numbers: [24, 21, 1]
Generated Node #0,3: 44:[24, 21, 1] Operation: 67-66=1
Exploring Operation: 66-24=42, Resulting Numbers: [67, 21, 42]
Generated Node #0,4: 44:[67, 21, 42] Operation: 66-24=42
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[24, 21, 1], Operations: ['67-66=1']
Exploring Operation: 24-21=3, Resulting Numbers: [1, 3]
Generated Node #0,3,0: 44:[1, 3] Operation: 24-21=3
Exploring Operation: 24-1=23, Resulting Numbers: [21, 23]
Generated Node #0,3,1: 44:[21, 23] Operation: 24-1=23
Exploring Operation: 24+21=45, Resulting Numbers: [1, 45]
Generated Node #0,3,2: 44:[1, 45] Operation: 24+21=45
Exploring Operation: 24*1=24, Resulting Numbers: [21, 24]
Generated Node #0,3,3: 44:[21, 24] Operation: 24*1=24
Exploring Operation: 21+1=22, Resulting Numbers: [24, 22]
Generated Node #0,3,4: 44:[24, 22] Operation: 21+1=22
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 44:[1, 3], Operations: ['67-66=1', '24-21=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,44 unequal: No Solution
No 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: 44:[21, 23], Operations: ['67-66=1', '24-1=23']
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,44 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[66, 67, 24, 21], Operations: []
Exploring Operation: 67-66=1, Resulting Numbers: [24, 21, 1]
Generated Node #0,3: 44:[24, 21, 1] Operation: 67-66=1
Moving to Node #0,3
Current State: 44:[24, 21, 1], Operations: ['67-66=1']
Exploring Operation: 24-1=23, Resulting Numbers: [21, 23]
Generated Node #0,3,1: 44:[21, 23] Operation: 24-1=23
Moving to Node #0,3,1
Current State: 44:[21, 23], Operations: ['67-66=1', '24-1=23']
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
3,
90,
18,
6
] | 90 | [
"3+90=93",
"18/6=3",
"93-3=90"
] | Current State: 90:[3, 90, 18, 6], Operations: []
Exploring Operation: 3+90=93, Resulting Numbers: [18, 6, 93]
Generated Node #2: [18, 6, 93] from Operation: 3+90=93
Current State: 90:[18, 6, 93], Operations: ['3+90=93']
Exploring Operation: 18/6=3, Resulting Numbers: [93, 3]
Generated Node #3: [93, 3] from Operation: 18/6=3
Current State: 90:[93, 3], Operations: ['3+90=93', '18/6=3']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[3, 90, 18, 6], Operations: []
Exploring Operation: 90/3=30, Resulting Numbers: [18, 6, 30]
Generated Node #0,0: 90:[18, 6, 30] Operation: 90/3=30
Exploring Operation: 3+6=9, Resulting Numbers: [90, 18, 9]
Generated Node #0,1: 90:[90, 18, 9] Operation: 3+6=9
Exploring Operation: 18-3=15, Resulting Numbers: [90, 6, 15]
Generated Node #0,2: 90:[90, 6, 15] Operation: 18-3=15
Exploring Operation: 3*6=18, Resulting Numbers: [90, 18, 18]
Generated Node #0,3: 90:[90, 18, 18] Operation: 3*6=18
Exploring Operation: 18/3=6, Resulting Numbers: [90, 6, 6]
Generated Node #0,4: 90:[90, 6, 6] Operation: 18/3=6
Moving to Node #0,0
Current State: 90:[18, 6, 30], Operations: ['90/3=30']
Exploring Operation: 18/6=3, Resulting Numbers: [30, 3]
Generated Node #0,0,0: 90:[30, 3] Operation: 18/6=3
Exploring Operation: 30/6=5, Resulting Numbers: [18, 5]
Generated Node #0,0,1: 90:[18, 5] Operation: 30/6=5
Exploring Operation: 30-18=12, Resulting Numbers: [6, 12]
Generated Node #0,0,2: 90:[6, 12] Operation: 30-18=12
Exploring Operation: 18-6=12, Resulting Numbers: [30, 12]
Generated Node #0,0,3: 90:[30, 12] Operation: 18-6=12
Exploring Operation: 18+30=48, Resulting Numbers: [6, 48]
Generated Node #0,0,4: 90:[6, 48] Operation: 18+30=48
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[30, 3], Operations: ['90/3=30', '18/6=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,90 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[3, 90, 18, 6], Operations: []
Exploring Operation: 90/3=30, Resulting Numbers: [18, 6, 30]
Generated Node #0,0: 90:[18, 6, 30] Operation: 90/3=30
Moving to Node #0,0
Current State: 90:[18, 6, 30], Operations: ['90/3=30']
Exploring Operation: 18/6=3, Resulting Numbers: [30, 3]
Generated Node #0,0,0: 90:[30, 3] Operation: 18/6=3
Moving to Node #0,0,0
Current State: 90:[30, 3], Operations: ['90/3=30', '18/6=3']
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
9,
51,
40,
98
] | 49 | [
"51-9=42",
"42-40=2",
"98/2=49"
] | Current State: 49:[9, 51, 40, 98], Operations: []
Exploring Operation: 51-9=42, Resulting Numbers: [40, 98, 42]
Generated Node #2: [40, 98, 42] from Operation: 51-9=42
Current State: 49:[40, 98, 42], Operations: ['51-9=42']
Exploring Operation: 42-40=2, Resulting Numbers: [98, 2]
Generated Node #3: [98, 2] from Operation: 42-40=2
Current State: 49:[98, 2], Operations: ['51-9=42', '42-40=2']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[9, 51, 40, 98], Operations: []
Exploring Operation: 51-40=11, Resulting Numbers: [9, 98, 11]
Generated Node #0,0: 49:[9, 98, 11] Operation: 51-40=11
Exploring Operation: 98-51=47, Resulting Numbers: [9, 40, 47]
Generated Node #0,1: 49:[9, 40, 47] Operation: 98-51=47
Exploring Operation: 9+40=49, Resulting Numbers: [51, 98, 49]
Generated Node #0,2: 49:[51, 98, 49] Operation: 9+40=49
Exploring Operation: 98-40=58, Resulting Numbers: [9, 51, 58]
Generated Node #0,3: 49:[9, 51, 58] Operation: 98-40=58
Exploring Operation: 98-9=89, Resulting Numbers: [51, 40, 89]
Generated Node #0,4: 49:[51, 40, 89] Operation: 98-9=89
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[9, 40, 47], Operations: ['98-51=47']
Exploring Operation: 9+47=56, Resulting Numbers: [40, 56]
Generated Node #0,1,0: 49:[40, 56] Operation: 9+47=56
Exploring Operation: 47-9=38, Resulting Numbers: [40, 38]
Generated Node #0,1,1: 49:[40, 38] Operation: 47-9=38
Exploring Operation: 40-9=31, Resulting Numbers: [47, 31]
Generated Node #0,1,2: 49:[47, 31] Operation: 40-9=31
Exploring Operation: 9+40=49, Resulting Numbers: [47, 49]
Generated Node #0,1,3: 49:[47, 49] Operation: 9+40=49
Exploring Operation: 47-40=7, Resulting Numbers: [9, 7]
Generated Node #0,1,4: 49:[9, 7] Operation: 47-40=7
Moving to Node #0,1,3
Current State: 49:[47, 49], Operations: ['98-51=47', '9+40=49']
Exploring Operation: 47+49=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 47*49=2303, Resulting Numbers: [2303]
2303,49 unequal: No Solution
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Moving to Node #0,1,4
Current State: 49:[9, 7], Operations: ['98-51=47', '47-40=7']
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,49 unequal: No Solution
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,49 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[40, 56], Operations: ['98-51=47', '9+47=56']
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,49 unequal: No Solution
Exploring Operation: 40+56=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 40*56=2240, Resulting Numbers: [2240]
2240,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[40, 38], Operations: ['98-51=47', '47-9=38']
Exploring Operation: 40*38=1520, Resulting Numbers: [1520]
1520,49 unequal: No Solution
Exploring Operation: 40+38=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Exploring Operation: 40-38=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[47, 31], Operations: ['98-51=47', '40-9=31']
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,49 unequal: No Solution
Exploring Operation: 47+31=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Exploring Operation: 47*31=1457, Resulting Numbers: [1457]
1457,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[9, 51, 58], Operations: ['98-40=58']
Exploring Operation: 51-9=42, Resulting Numbers: [58, 42]
Generated Node #0,3,0: 49:[58, 42] Operation: 51-9=42
Exploring Operation: 58-9=49, Resulting Numbers: [51, 49]
Generated Node #0,3,1: 49:[51, 49] Operation: 58-9=49
Exploring Operation: 9+51=60, Resulting Numbers: [58, 60]
Generated Node #0,3,2: 49:[58, 60] Operation: 9+51=60
Exploring Operation: 58-51=7, Resulting Numbers: [9, 7]
Generated Node #0,3,3: 49:[9, 7] Operation: 58-51=7
Exploring Operation: 9+58=67, Resulting Numbers: [51, 67]
Generated Node #0,3,4: 49:[51, 67] Operation: 9+58=67
Moving to Node #0,3,1
Current State: 49:[51, 49], Operations: ['98-40=58', '58-9=49']
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 51+49=100, Resulting Numbers: [100]
100,49 unequal: No Solution
Exploring Operation: 51*49=2499, Resulting Numbers: [2499]
2499,49 unequal: No Solution
Moving to Node #0,3,3
Current State: 49:[9, 7], Operations: ['98-40=58', '58-51=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,49 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,49 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Moving to Node #0,3,0
Current State: 49:[58, 42], Operations: ['98-40=58', '51-9=42']
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,49 unequal: No Solution
Exploring Operation: 58*42=2436, Resulting Numbers: [2436]
2436,49 unequal: No Solution
Exploring Operation: 58+42=100, Resulting Numbers: [100]
100,49 unequal: No Solution
Moving to Node #0,3,2
Current State: 49:[58, 60], Operations: ['98-40=58', '9+51=60']
Exploring Operation: 58*60=3480, Resulting Numbers: [3480]
3480,49 unequal: No Solution
Exploring Operation: 58+60=118, Resulting Numbers: [118]
118,49 unequal: No Solution
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Moving to Node #0,3,4
Current State: 49:[51, 67], Operations: ['98-40=58', '9+58=67']
Exploring Operation: 51+67=118, Resulting Numbers: [118]
118,49 unequal: No Solution
Exploring Operation: 51*67=3417, Resulting Numbers: [3417]
3417,49 unequal: No Solution
Exploring Operation: 67-51=16, Resulting Numbers: [16]
16,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[51, 98, 49], Operations: ['9+40=49']
Exploring Operation: 98-51=47, Resulting Numbers: [49, 47]
Generated Node #0,2,0: 49:[49, 47] Operation: 98-51=47
Exploring Operation: 98/49=2, Resulting Numbers: [51, 2]
Generated Node #0,2,1: 49:[51, 2] Operation: 98/49=2
Exploring Operation: 51+98=149, Resulting Numbers: [49, 149]
Generated Node #0,2,2: 49:[49, 149] Operation: 51+98=149
Exploring Operation: 98-49=49, Resulting Numbers: [51, 49]
Generated Node #0,2,3: 49:[51, 49] Operation: 98-49=49
Exploring Operation: 51-49=2, Resulting Numbers: [98, 2]
Generated Node #0,2,4: 49:[98, 2] Operation: 51-49=2
Moving to Node #0,2,0
Current State: 49:[49, 47], Operations: ['9+40=49', '98-51=47']
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 49+47=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 49*47=2303, Resulting Numbers: [2303]
2303,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[51, 49], Operations: ['9+40=49', '98-49=49']
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 51*49=2499, Resulting Numbers: [2499]
2499,49 unequal: No Solution
Exploring Operation: 51+49=100, Resulting Numbers: [100]
100,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[51, 2], Operations: ['9+40=49', '98/49=2']
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,49 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[9, 51, 40, 98], Operations: []
Exploring Operation: 9+40=49, Resulting Numbers: [51, 98, 49]
Generated Node #0,2: 49:[51, 98, 49] Operation: 9+40=49
Moving to Node #0,2
Current State: 49:[51, 98, 49], Operations: ['9+40=49']
Exploring Operation: 98/49=2, Resulting Numbers: [51, 2]
Generated Node #0,2,1: 49:[51, 2] Operation: 98/49=2
Moving to Node #0,2,1
Current State: 49:[51, 2], Operations: ['9+40=49', '98/49=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.946181 | hs_5 | sum_heuristic |
[
20,
97,
92,
75
] | 46 | [
"97-20=77",
"77-75=2",
"92/2=46"
] | Current State: 46:[20, 97, 92, 75], Operations: []
Exploring Operation: 97-20=77, Resulting Numbers: [92, 75, 77]
Generated Node #2: [92, 75, 77] from Operation: 97-20=77
Current State: 46:[92, 75, 77], Operations: ['97-20=77']
Exploring Operation: 77-75=2, Resulting Numbers: [92, 2]
Generated Node #3: [92, 2] from Operation: 77-75=2
Current State: 46:[92, 2], Operations: ['97-20=77', '77-75=2']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[20, 97, 92, 75], Operations: []
Exploring Operation: 97-92=5, Resulting Numbers: [20, 75, 5]
Generated Node #0,0: 46:[20, 75, 5] Operation: 97-92=5
Exploring Operation: 97-75=22, Resulting Numbers: [20, 92, 22]
Generated Node #0,1: 46:[20, 92, 22] Operation: 97-75=22
Moving to Node #0,0
Current State: 46:[20, 75, 5], Operations: ['97-92=5']
Exploring Operation: 75-20=55, Resulting Numbers: [5, 55]
Generated Node #0,0,0: 46:[5, 55] Operation: 75-20=55
Exploring Operation: 75/5=15, Resulting Numbers: [20, 15]
Generated Node #0,0,1: 46:[20, 15] Operation: 75/5=15
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[20, 15], Operations: ['97-92=5', '75/5=15']
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 20+15=35, Resulting Numbers: [35]
35,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,0,0
Current State: 46:[5, 55], Operations: ['97-92=5', '75-20=55']
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 46:[20, 92, 22], Operations: ['97-75=22']
Exploring Operation: 92-20=72, Resulting Numbers: [22, 72]
Generated Node #0,1,0: 46:[22, 72] Operation: 92-20=72
Exploring Operation: 92-22=70, Resulting Numbers: [20, 70]
Generated Node #0,1,1: 46:[20, 70] Operation: 92-22=70
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[22, 72], Operations: ['97-75=22', '92-20=72']
Exploring Operation: 72-22=50, Resulting Numbers: [50]
50,46 unequal: No Solution
Exploring Operation: 22+72=94, Resulting Numbers: [94]
94,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[20, 70], Operations: ['97-75=22', '92-22=70']
Exploring Operation: 20+70=90, Resulting Numbers: [90]
90,46 unequal: No Solution
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
41,
60,
82,
97
] | 45 | [
"97-82=15",
"60/15=4",
"41+4=45"
] | Current State: 45:[41, 60, 82, 97], Operations: []
Exploring Operation: 97-82=15, Resulting Numbers: [41, 60, 15]
Generated Node #2: [41, 60, 15] from Operation: 97-82=15
Current State: 45:[41, 60, 15], Operations: ['97-82=15']
Exploring Operation: 60/15=4, Resulting Numbers: [41, 4]
Generated Node #3: [41, 4] from Operation: 60/15=4
Current State: 45:[41, 4], Operations: ['97-82=15', '60/15=4']
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[41, 60, 82, 97], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [60, 97, 2]
Generated Node #0,0: 45:[60, 97, 2] Operation: 82/41=2
Exploring Operation: 97-41=56, Resulting Numbers: [60, 82, 56]
Generated Node #0,1: 45:[60, 82, 56] Operation: 97-41=56
Exploring Operation: 82-60=22, Resulting Numbers: [41, 97, 22]
Generated Node #0,2: 45:[41, 97, 22] Operation: 82-60=22
Exploring Operation: 97-82=15, Resulting Numbers: [41, 60, 15]
Generated Node #0,3: 45:[41, 60, 15] Operation: 97-82=15
Exploring Operation: 97-60=37, Resulting Numbers: [41, 82, 37]
Generated Node #0,4: 45:[41, 82, 37] Operation: 97-60=37
Start Sub Search at level 1: Moving to Node #0,3
Current State: 45:[41, 60, 15], Operations: ['97-82=15']
Exploring Operation: 60-15=45, Resulting Numbers: [41, 45]
Generated Node #0,3,0: 45:[41, 45] Operation: 60-15=45
Exploring Operation: 60/15=4, Resulting Numbers: [41, 4]
Generated Node #0,3,1: 45:[41, 4] Operation: 60/15=4
Exploring Operation: 41-15=26, Resulting Numbers: [60, 26]
Generated Node #0,3,2: 45:[60, 26] Operation: 41-15=26
Exploring Operation: 41+15=56, Resulting Numbers: [60, 56]
Generated Node #0,3,3: 45:[60, 56] Operation: 41+15=56
Exploring Operation: 60-41=19, Resulting Numbers: [15, 19]
Generated Node #0,3,4: 45:[15, 19] Operation: 60-41=19
Moving to Node #0,3,0
Current State: 45:[41, 45], Operations: ['97-82=15', '60-15=45']
Exploring Operation: 41+45=86, Resulting Numbers: [86]
86,45 unequal: No Solution
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 41*45=1845, Resulting Numbers: [1845]
1845,45 unequal: No Solution
Moving to Node #0,3,4
Current State: 45:[15, 19], Operations: ['97-82=15', '60-41=19']
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,45 unequal: No Solution
Moving to Node #0,3,1
Current State: 45:[41, 4], Operations: ['97-82=15', '60/15=4']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,45 unequal: No Solution
Exploring Operation: 41*4=164, Resulting Numbers: [164]
164,45 unequal: No Solution
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[41, 60, 82, 97], Operations: []
Exploring Operation: 97-82=15, Resulting Numbers: [41, 60, 15]
Generated Node #0,3: 45:[41, 60, 15] Operation: 97-82=15
Moving to Node #0,3
Current State: 45:[41, 60, 15], Operations: ['97-82=15']
Exploring Operation: 60/15=4, Resulting Numbers: [41, 4]
Generated Node #0,3,1: 45:[41, 4] Operation: 60/15=4
Moving to Node #0,3,1
Current State: 45:[41, 4], Operations: ['97-82=15', '60/15=4']
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
5,
40,
87,
95
] | 27 | [
"40-5=35",
"95-87=8",
"35-8=27"
] | Current State: 27:[5, 40, 87, 95], Operations: []
Exploring Operation: 40-5=35, Resulting Numbers: [87, 95, 35]
Generated Node #2: [87, 95, 35] from Operation: 40-5=35
Current State: 27:[87, 95, 35], Operations: ['40-5=35']
Exploring Operation: 95-87=8, Resulting Numbers: [35, 8]
Generated Node #3: [35, 8] from Operation: 95-87=8
Current State: 27:[35, 8], Operations: ['40-5=35', '95-87=8']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[5, 40, 87, 95], Operations: []
Exploring Operation: 95-87=8, Resulting Numbers: [5, 40, 8]
Generated Node #0,0: 27:[5, 40, 8] Operation: 95-87=8
Exploring Operation: 95-40=55, Resulting Numbers: [5, 87, 55]
Generated Node #0,1: 27:[5, 87, 55] Operation: 95-40=55
Exploring Operation: 95/5=19, Resulting Numbers: [40, 87, 19]
Generated Node #0,2: 27:[40, 87, 19] Operation: 95/5=19
Exploring Operation: 87-40=47, Resulting Numbers: [5, 95, 47]
Generated Node #0,3: 27:[5, 95, 47] Operation: 87-40=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[5, 40, 8], Operations: ['95-87=8']
Exploring Operation: 40/8=5, Resulting Numbers: [5, 5]
Generated Node #0,0,0: 27:[5, 5] Operation: 40/8=5
Exploring Operation: 40-5=35, Resulting Numbers: [8, 35]
Generated Node #0,0,1: 27:[8, 35] Operation: 40-5=35
Exploring Operation: 40/5=8, Resulting Numbers: [8, 8]
Generated Node #0,0,2: 27:[8, 8] Operation: 40/5=8
Exploring Operation: 40-8=32, Resulting Numbers: [5, 32]
Generated Node #0,0,3: 27:[5, 32] Operation: 40-8=32
Moving to Node #0,0,2
Current State: 27:[8, 8], Operations: ['95-87=8', '40/5=8']
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,27 unequal: No Solution
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,27 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[5, 5], Operations: ['95-87=8', '40/8=5']
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,27 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Moving to Node #0,0,3
Current State: 27:[5, 32], Operations: ['95-87=8', '40-8=32']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[5, 40, 87, 95], Operations: []
Exploring Operation: 95-87=8, Resulting Numbers: [5, 40, 8]
Generated Node #0,0: 27:[5, 40, 8] Operation: 95-87=8
Moving to Node #0,0
Current State: 27:[5, 40, 8], Operations: ['95-87=8']
Exploring Operation: 40-8=32, Resulting Numbers: [5, 32]
Generated Node #0,0,3: 27:[5, 32] Operation: 40-8=32
Moving to Node #0,0,3
Current State: 27:[5, 32], Operations: ['95-87=8', '40-8=32']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
87,
17,
58,
69
] | 93 | [
"87+17=104",
"69-58=11",
"104-11=93"
] | Current State: 93:[87, 17, 58, 69], Operations: []
Exploring Operation: 87+17=104, Resulting Numbers: [58, 69, 104]
Generated Node #2: [58, 69, 104] from Operation: 87+17=104
Current State: 93:[58, 69, 104], Operations: ['87+17=104']
Exploring Operation: 69-58=11, Resulting Numbers: [104, 11]
Generated Node #3: [104, 11] from Operation: 69-58=11
Current State: 93:[104, 11], Operations: ['87+17=104', '69-58=11']
Exploring Operation: 104-11=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[87, 17, 58, 69], Operations: []
Exploring Operation: 69-58=11, Resulting Numbers: [87, 17, 11]
Generated Node #0,0: 93:[87, 17, 11] Operation: 69-58=11
Exploring Operation: 58-17=41, Resulting Numbers: [87, 69, 41]
Generated Node #0,1: 93:[87, 69, 41] Operation: 58-17=41
Exploring Operation: 87-58=29, Resulting Numbers: [17, 69, 29]
Generated Node #0,2: 93:[17, 69, 29] Operation: 87-58=29
Exploring Operation: 17+69=86, Resulting Numbers: [87, 58, 86]
Generated Node #0,3: 93:[87, 58, 86] Operation: 17+69=86
Exploring Operation: 17+58=75, Resulting Numbers: [87, 69, 75]
Generated Node #0,4: 93:[87, 69, 75] Operation: 17+58=75
Moving to Node #0,0
Current State: 93:[87, 17, 11], Operations: ['69-58=11']
Exploring Operation: 87-17=70, Resulting Numbers: [11, 70]
Generated Node #0,0,0: 93:[11, 70] Operation: 87-17=70
Exploring Operation: 17+11=28, Resulting Numbers: [87, 28]
Generated Node #0,0,1: 93:[87, 28] Operation: 17+11=28
Exploring Operation: 87+11=98, Resulting Numbers: [17, 98]
Generated Node #0,0,2: 93:[17, 98] Operation: 87+11=98
Exploring Operation: 17-11=6, Resulting Numbers: [87, 6]
Generated Node #0,0,3: 93:[87, 6] Operation: 17-11=6
Exploring Operation: 87+17=104, Resulting Numbers: [11, 104]
Generated Node #0,0,4: 93:[11, 104] Operation: 87+17=104
Moving to Node #0,2
Current State: 93:[17, 69, 29], Operations: ['87-58=29']
Exploring Operation: 17+69=86, Resulting Numbers: [29, 86]
Generated Node #0,2,0: 93:[29, 86] Operation: 17+69=86
Exploring Operation: 69+29=98, Resulting Numbers: [17, 98]
Generated Node #0,2,1: 93:[17, 98] Operation: 69+29=98
Exploring Operation: 29-17=12, Resulting Numbers: [69, 12]
Generated Node #0,2,2: 93:[69, 12] Operation: 29-17=12
Exploring Operation: 69-17=52, Resulting Numbers: [29, 52]
Generated Node #0,2,3: 93:[29, 52] Operation: 69-17=52
Exploring Operation: 69-29=40, Resulting Numbers: [17, 40]
Generated Node #0,2,4: 93:[17, 40] Operation: 69-29=40
Moving to Node #0,1
Current State: 93:[87, 69, 41], Operations: ['58-17=41']
Exploring Operation: 69-41=28, Resulting Numbers: [87, 28]
Generated Node #0,1,0: 93:[87, 28] Operation: 69-41=28
Exploring Operation: 87-41=46, Resulting Numbers: [69, 46]
Generated Node #0,1,1: 93:[69, 46] Operation: 87-41=46
Exploring Operation: 87+41=128, Resulting Numbers: [69, 128]
Generated Node #0,1,2: 93:[69, 128] Operation: 87+41=128
Exploring Operation: 87-69=18, Resulting Numbers: [41, 18]
Generated Node #0,1,3: 93:[41, 18] Operation: 87-69=18
Exploring Operation: 69+41=110, Resulting Numbers: [87, 110]
Generated Node #0,1,4: 93:[87, 110] Operation: 69+41=110
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[87, 28], Operations: ['58-17=41', '69-41=28']
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Exploring Operation: 87*28=2436, Resulting Numbers: [2436]
2436,93 unequal: No Solution
Exploring Operation: 87+28=115, Resulting Numbers: [115]
115,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 93:[41, 18], Operations: ['58-17=41', '87-69=18']
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,93 unequal: No Solution
Exploring Operation: 41*18=738, Resulting Numbers: [738]
738,93 unequal: No Solution
Exploring Operation: 41+18=59, Resulting Numbers: [59]
59,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 93:[87, 110], Operations: ['58-17=41', '69+41=110']
Exploring Operation: 110-87=23, Resulting Numbers: [23]
23,93 unequal: No Solution
Exploring Operation: 87+110=197, Resulting Numbers: [197]
197,93 unequal: No Solution
Exploring Operation: 87*110=9570, Resulting Numbers: [9570]
9570,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[69, 46], Operations: ['58-17=41', '87-41=46']
Exploring Operation: 69-46=23, Resulting Numbers: [23]
23,93 unequal: No Solution
Exploring Operation: 69*46=3174, Resulting Numbers: [3174]
3174,93 unequal: No Solution
Exploring Operation: 69+46=115, Resulting Numbers: [115]
115,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[69, 128], Operations: ['58-17=41', '87+41=128']
Exploring Operation: 69*128=8832, Resulting Numbers: [8832]
8832,93 unequal: No Solution
Exploring Operation: 128-69=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Exploring Operation: 69+128=197, Resulting Numbers: [197]
197,93 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: 93:[87, 58, 86], Operations: ['17+69=86']
Exploring Operation: 86-58=28, Resulting Numbers: [87, 28]
Generated Node #0,3,0: 93:[87, 28] Operation: 86-58=28
Exploring Operation: 87-86=1, Resulting Numbers: [58, 1]
Generated Node #0,3,1: 93:[58, 1] Operation: 87-86=1
Exploring Operation: 58+86=144, Resulting Numbers: [87, 144]
Generated Node #0,3,2: 93:[87, 144] Operation: 58+86=144
Exploring Operation: 87+58=145, Resulting Numbers: [86, 145]
Generated Node #0,3,3: 93:[86, 145] Operation: 87+58=145
Exploring Operation: 87-58=29, Resulting Numbers: [86, 29]
Generated Node #0,3,4: 93:[86, 29] Operation: 87-58=29
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 93:[87, 28], Operations: ['17+69=86', '86-58=28']
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Exploring Operation: 87+28=115, Resulting Numbers: [115]
115,93 unequal: No Solution
Exploring Operation: 87*28=2436, Resulting Numbers: [2436]
2436,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,3,4
Current State: 93:[86, 29], Operations: ['17+69=86', '87-58=29']
Exploring Operation: 86*29=2494, Resulting Numbers: [2494]
2494,93 unequal: No Solution
Exploring Operation: 86+29=115, Resulting Numbers: [115]
115,93 unequal: No Solution
Exploring Operation: 86-29=57, Resulting Numbers: [57]
57,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,3,1
Current State: 93:[58, 1], Operations: ['17+69=86', '87-86=1']
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,93 unequal: No Solution
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,93 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,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,3,2
Current State: 93:[87, 144], Operations: ['17+69=86', '58+86=144']
Exploring Operation: 144-87=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Exploring Operation: 87*144=12528, Resulting Numbers: [12528]
12528,93 unequal: No Solution
Exploring Operation: 87+144=231, Resulting Numbers: [231]
231,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,3,3
Current State: 93:[86, 145], Operations: ['17+69=86', '87+58=145']
Exploring Operation: 145-86=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Exploring Operation: 86*145=12470, Resulting Numbers: [12470]
12470,93 unequal: No Solution
Exploring Operation: 86+145=231, Resulting Numbers: [231]
231,93 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: 93:[87, 69, 75], Operations: ['17+58=75']
Exploring Operation: 75-69=6, Resulting Numbers: [87, 6]
Generated Node #0,4,0: 93:[87, 6] Operation: 75-69=6
Exploring Operation: 87+69=156, Resulting Numbers: [75, 156]
Generated Node #0,4,1: 93:[75, 156] Operation: 87+69=156
Exploring Operation: 87-75=12, Resulting Numbers: [69, 12]
Generated Node #0,4,2: 93:[69, 12] Operation: 87-75=12
Exploring Operation: 87-69=18, Resulting Numbers: [75, 18]
Generated Node #0,4,3: 93:[75, 18] Operation: 87-69=18
Exploring Operation: 69+75=144, Resulting Numbers: [87, 144]
Generated Node #0,4,4: 93:[87, 144] Operation: 69+75=144
Moving to Node #0,0,1
Current State: 93:[87, 28], Operations: ['69-58=11', '17+11=28']
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,93 unequal: No Solution
Exploring Operation: 87*28=2436, Resulting Numbers: [2436]
2436,93 unequal: No Solution
Exploring Operation: 87+28=115, Resulting Numbers: [115]
115,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[29, 86], Operations: ['87-58=29', '17+69=86']
Exploring Operation: 86-29=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Exploring Operation: 29*86=2494, Resulting Numbers: [2494]
2494,93 unequal: No Solution
Exploring Operation: 29+86=115, Resulting Numbers: [115]
115,93 unequal: No Solution
Moving to Node #0,0,3
Current State: 93:[87, 6], Operations: ['69-58=11', '17-11=6']
Exploring Operation: 87*6=522, Resulting Numbers: [522]
522,93 unequal: No Solution
Exploring Operation: 87+6=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[87, 17, 58, 69], Operations: []
Exploring Operation: 69-58=11, Resulting Numbers: [87, 17, 11]
Generated Node #0,0: 93:[87, 17, 11] Operation: 69-58=11
Moving to Node #0,0
Current State: 93:[87, 17, 11], Operations: ['69-58=11']
Exploring Operation: 17-11=6, Resulting Numbers: [87, 6]
Generated Node #0,0,3: 93:[87, 6] Operation: 17-11=6
Moving to Node #0,0,3
Current State: 93:[87, 6], Operations: ['69-58=11', '17-11=6']
Exploring Operation: 87+6=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.936632 | hs_5 | mult_heuristic |
[
51,
38,
48,
33
] | 81 | [
"51-48=3",
"38*3=114",
"114-33=81"
] | Current State: 81:[51, 38, 48, 33], Operations: []
Exploring Operation: 51-48=3, Resulting Numbers: [38, 33, 3]
Generated Node #2: [38, 33, 3] from Operation: 51-48=3
Current State: 81:[38, 33, 3], Operations: ['51-48=3']
Exploring Operation: 38*3=114, Resulting Numbers: [33, 114]
Generated Node #3: [33, 114] from Operation: 38*3=114
Current State: 81:[33, 114], Operations: ['51-48=3', '38*3=114']
Exploring Operation: 114-33=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[51, 38, 48, 33], Operations: []
Exploring Operation: 48-38=10, Resulting Numbers: [51, 33, 10]
Generated Node #0,0: 81:[51, 33, 10] Operation: 48-38=10
Exploring Operation: 51+48=99, Resulting Numbers: [38, 33, 99]
Generated Node #0,1: 81:[38, 33, 99] Operation: 51+48=99
Exploring Operation: 51+38=89, Resulting Numbers: [48, 33, 89]
Generated Node #0,2: 81:[48, 33, 89] Operation: 51+38=89
Exploring Operation: 51-48=3, Resulting Numbers: [38, 33, 3]
Generated Node #0,3: 81:[38, 33, 3] Operation: 51-48=3
Exploring Operation: 51-38=13, Resulting Numbers: [48, 33, 13]
Generated Node #0,4: 81:[48, 33, 13] Operation: 51-38=13
Start Sub Search at level 1: Moving to Node #0,3
Current State: 81:[38, 33, 3], Operations: ['51-48=3']
Exploring Operation: 33/3=11, Resulting Numbers: [38, 11]
Generated Node #0,3,0: 81:[38, 11] Operation: 33/3=11
Exploring Operation: 38+33=71, Resulting Numbers: [3, 71]
Generated Node #0,3,1: 81:[3, 71] Operation: 38+33=71
Exploring Operation: 38-33=5, Resulting Numbers: [3, 5]
Generated Node #0,3,2: 81:[3, 5] Operation: 38-33=5
Exploring Operation: 38-3=35, Resulting Numbers: [33, 35]
Generated Node #0,3,3: 81:[33, 35] Operation: 38-3=35
Exploring Operation: 33-3=30, Resulting Numbers: [38, 30]
Generated Node #0,3,4: 81:[38, 30] Operation: 33-3=30
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 81:[3, 5], Operations: ['51-48=3', '38-33=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,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,3,1
Current State: 81:[3, 71], Operations: ['51-48=3', '38+33=71']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,81 unequal: No Solution
Exploring Operation: 3*71=213, Resulting Numbers: [213]
213,81 unequal: No Solution
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,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,3,0
Current State: 81:[38, 11], Operations: ['51-48=3', '33/3=11']
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,81 unequal: No Solution
Exploring Operation: 38*11=418, Resulting Numbers: [418]
418,81 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,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,3,3
Current State: 81:[33, 35], Operations: ['51-48=3', '38-3=35']
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,81 unequal: No Solution
Exploring Operation: 33*35=1155, Resulting Numbers: [1155]
1155,81 unequal: No Solution
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,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,3,4
Current State: 81:[38, 30], Operations: ['51-48=3', '33-3=30']
Exploring Operation: 38*30=1140, Resulting Numbers: [1140]
1140,81 unequal: No Solution
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,81 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,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:[51, 33, 10], Operations: ['48-38=10']
Exploring Operation: 51-33=18, Resulting Numbers: [10, 18]
Generated Node #0,0,0: 81:[10, 18] Operation: 51-33=18
Exploring Operation: 51+10=61, Resulting Numbers: [33, 61]
Generated Node #0,0,1: 81:[33, 61] Operation: 51+10=61
Exploring Operation: 51-10=41, Resulting Numbers: [33, 41]
Generated Node #0,0,2: 81:[33, 41] Operation: 51-10=41
Exploring Operation: 33-10=23, Resulting Numbers: [51, 23]
Generated Node #0,0,3: 81:[51, 23] Operation: 33-10=23
Exploring Operation: 51+33=84, Resulting Numbers: [10, 84]
Generated Node #0,0,4: 81:[10, 84] Operation: 51+33=84
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 81:[10, 84], Operations: ['48-38=10', '51+33=84']
Exploring Operation: 10*84=840, Resulting Numbers: [840]
840,81 unequal: No Solution
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Exploring Operation: 10+84=94, Resulting Numbers: [94]
94,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,0,0
Current State: 81:[10, 18], Operations: ['48-38=10', '51-33=18']
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,81 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,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,0,2
Current State: 81:[33, 41], Operations: ['48-38=10', '51-10=41']
Exploring Operation: 33*41=1353, Resulting Numbers: [1353]
1353,81 unequal: No Solution
Exploring Operation: 33+41=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,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,0,1
Current State: 81:[33, 61], Operations: ['48-38=10', '51+10=61']
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 33*61=2013, Resulting Numbers: [2013]
2013,81 unequal: No Solution
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,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,0,3
Current State: 81:[51, 23], Operations: ['48-38=10', '33-10=23']
Exploring Operation: 51+23=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Exploring Operation: 51*23=1173, Resulting Numbers: [1173]
1173,81 unequal: No Solution
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,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,4
Current State: 81:[48, 33, 13], Operations: ['51-38=13']
Exploring Operation: 48+13=61, Resulting Numbers: [33, 61]
Generated Node #0,4,0: 81:[33, 61] Operation: 48+13=61
Exploring Operation: 48+33=81, Resulting Numbers: [13, 81]
Generated Node #0,4,1: 81:[13, 81] Operation: 48+33=81
Exploring Operation: 48-33=15, Resulting Numbers: [13, 15]
Generated Node #0,4,2: 81:[13, 15] Operation: 48-33=15
Exploring Operation: 48-13=35, Resulting Numbers: [33, 35]
Generated Node #0,4,3: 81:[33, 35] Operation: 48-13=35
Exploring Operation: 33-13=20, Resulting Numbers: [48, 20]
Generated Node #0,4,4: 81:[48, 20] Operation: 33-13=20
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 81:[13, 81], Operations: ['51-38=13', '48+33=81']
Exploring Operation: 13*81=1053, Resulting Numbers: [1053]
1053,81 unequal: No Solution
Exploring Operation: 81-13=68, Resulting Numbers: [68]
68,81 unequal: No Solution
Exploring Operation: 13+81=94, Resulting Numbers: [94]
94,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,4,2
Current State: 81:[13, 15], Operations: ['51-38=13', '48-33=15']
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 13*15=195, Resulting Numbers: [195]
195,81 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,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,4,3
Current State: 81:[33, 35], Operations: ['51-38=13', '48-13=35']
Exploring Operation: 33*35=1155, Resulting Numbers: [1155]
1155,81 unequal: No Solution
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,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,4,0
Current State: 81:[33, 61], Operations: ['51-38=13', '48+13=61']
Exploring Operation: 33*61=2013, Resulting Numbers: [2013]
2013,81 unequal: No Solution
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,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,4,4
Current State: 81:[48, 20], Operations: ['51-38=13', '33-13=20']
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 48+20=68, Resulting Numbers: [68]
68,81 unequal: No Solution
Exploring Operation: 48*20=960, Resulting Numbers: [960]
960,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,1
Current State: 81:[38, 33, 99], Operations: ['51+48=99']
Exploring Operation: 99/33=3, Resulting Numbers: [38, 3]
Generated Node #0,1,0: 81:[38, 3] Operation: 99/33=3
Exploring Operation: 38+33=71, Resulting Numbers: [99, 71]
Generated Node #0,1,1: 81:[99, 71] Operation: 38+33=71
Exploring Operation: 38-33=5, Resulting Numbers: [99, 5]
Generated Node #0,1,2: 81:[99, 5] Operation: 38-33=5
Exploring Operation: 99-33=66, Resulting Numbers: [38, 66]
Generated Node #0,1,3: 81:[38, 66] Operation: 99-33=66
Exploring Operation: 99-38=61, Resulting Numbers: [33, 61]
Generated Node #0,1,4: 81:[33, 61] Operation: 99-38=61
Moving to Node #0,1,0
Current State: 81:[38, 3], Operations: ['51+48=99', '99/33=3']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,81 unequal: No Solution
Exploring Operation: 38*3=114, Resulting Numbers: [114]
114,81 unequal: No Solution
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[99, 5], Operations: ['51+48=99', '38-33=5']
Exploring Operation: 99-5=94, Resulting Numbers: [94]
94,81 unequal: No Solution
Exploring Operation: 99+5=104, Resulting Numbers: [104]
104,81 unequal: No Solution
Exploring Operation: 99*5=495, Resulting Numbers: [495]
495,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[38, 66], Operations: ['51+48=99', '99-33=66']
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 38+66=104, Resulting Numbers: [104]
104,81 unequal: No Solution
Exploring Operation: 38*66=2508, Resulting Numbers: [2508]
2508,81 unequal: No Solution
Moving to Node #0,1,4
Current State: 81:[33, 61], Operations: ['51+48=99', '99-38=61']
Exploring Operation: 33*61=2013, Resulting Numbers: [2013]
2013,81 unequal: No Solution
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[99, 71], Operations: ['51+48=99', '38+33=71']
Exploring Operation: 99*71=7029, Resulting Numbers: [7029]
7029,81 unequal: No Solution
Exploring Operation: 99+71=170, Resulting Numbers: [170]
170,81 unequal: No Solution
Exploring Operation: 99-71=28, Resulting Numbers: [28]
28,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,2
Current State: 81:[48, 33, 89], Operations: ['51+38=89']
Exploring Operation: 48-33=15, Resulting Numbers: [89, 15]
Generated Node #0,2,0: 81:[89, 15] Operation: 48-33=15
Exploring Operation: 48+33=81, Resulting Numbers: [89, 81]
Generated Node #0,2,1: 81:[89, 81] Operation: 48+33=81
Exploring Operation: 89-48=41, Resulting Numbers: [33, 41]
Generated Node #0,2,2: 81:[33, 41] Operation: 89-48=41
Exploring Operation: 89-33=56, Resulting Numbers: [48, 56]
Generated Node #0,2,3: 81:[48, 56] Operation: 89-33=56
Exploring Operation: 48+89=137, Resulting Numbers: [33, 137]
Generated Node #0,2,4: 81:[33, 137] Operation: 48+89=137
Moving to Node #0,2,1
Current State: 81:[89, 81], Operations: ['51+38=89', '48+33=81']
Exploring Operation: 89*81=7209, Resulting Numbers: [7209]
7209,81 unequal: No Solution
Exploring Operation: 89-81=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 89+81=170, Resulting Numbers: [170]
170,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[89, 15], Operations: ['51+38=89', '48-33=15']
Exploring Operation: 89*15=1335, Resulting Numbers: [1335]
1335,81 unequal: No Solution
Exploring Operation: 89-15=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Exploring Operation: 89+15=104, Resulting Numbers: [104]
104,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[33, 41], Operations: ['51+38=89', '89-48=41']
Exploring Operation: 33+41=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Exploring Operation: 33*41=1353, Resulting Numbers: [1353]
1353,81 unequal: No Solution
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Moving to Node #0,2,3
Current State: 81:[48, 56], Operations: ['51+38=89', '89-33=56']
Exploring Operation: 48*56=2688, Resulting Numbers: [2688]
2688,81 unequal: No Solution
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 48+56=104, Resulting Numbers: [104]
104,81 unequal: No Solution
Moving to Node #0,2,4
Current State: 81:[33, 137], Operations: ['51+38=89', '48+89=137']
Exploring Operation: 137-33=104, Resulting Numbers: [104]
104,81 unequal: No Solution
Exploring Operation: 33*137=4521, Resulting Numbers: [4521]
4521,81 unequal: No Solution
Exploring Operation: 33+137=170, Resulting Numbers: [170]
170,81 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 |
[
27,
16,
94,
97
] | 25 | [
"97-94=3",
"27/3=9",
"16+9=25"
] | Current State: 25:[27, 16, 94, 97], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [27, 16, 3]
Generated Node #2: [27, 16, 3] from Operation: 97-94=3
Current State: 25:[27, 16, 3], Operations: ['97-94=3']
Exploring Operation: 27/3=9, Resulting Numbers: [16, 9]
Generated Node #3: [16, 9] from Operation: 27/3=9
Current State: 25:[16, 9], Operations: ['97-94=3', '27/3=9']
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[27, 16, 94, 97], Operations: []
Exploring Operation: 94-27=67, Resulting Numbers: [16, 97, 67]
Generated Node #0,0: 25:[16, 97, 67] Operation: 94-27=67
Exploring Operation: 97-94=3, Resulting Numbers: [27, 16, 3]
Generated Node #0,1: 25:[27, 16, 3] Operation: 97-94=3
Exploring Operation: 97-27=70, Resulting Numbers: [16, 94, 70]
Generated Node #0,2: 25:[16, 94, 70] Operation: 97-27=70
Exploring Operation: 94-16=78, Resulting Numbers: [27, 97, 78]
Generated Node #0,3: 25:[27, 97, 78] Operation: 94-16=78
Exploring Operation: 97-16=81, Resulting Numbers: [27, 94, 81]
Generated Node #0,4: 25:[27, 94, 81] Operation: 97-16=81
Moving to Node #0,1
Current State: 25:[27, 16, 3], Operations: ['97-94=3']
Exploring Operation: 27-3=24, Resulting Numbers: [16, 24]
Generated Node #0,1,0: 25:[16, 24] Operation: 27-3=24
Exploring Operation: 27/3=9, Resulting Numbers: [16, 9]
Generated Node #0,1,1: 25:[16, 9] Operation: 27/3=9
Exploring Operation: 16+3=19, Resulting Numbers: [27, 19]
Generated Node #0,1,2: 25:[27, 19] Operation: 16+3=19
Exploring Operation: 16-3=13, Resulting Numbers: [27, 13]
Generated Node #0,1,3: 25:[27, 13] Operation: 16-3=13
Exploring Operation: 27-16=11, Resulting Numbers: [3, 11]
Generated Node #0,1,4: 25:[3, 11] Operation: 27-16=11
Moving to Node #0,2
Current State: 25:[16, 94, 70], Operations: ['97-27=70']
Exploring Operation: 16+70=86, Resulting Numbers: [94, 86]
Generated Node #0,2,0: 25:[94, 86] Operation: 16+70=86
Exploring Operation: 94-16=78, Resulting Numbers: [70, 78]
Generated Node #0,2,1: 25:[70, 78] Operation: 94-16=78
Exploring Operation: 70-16=54, Resulting Numbers: [94, 54]
Generated Node #0,2,2: 25:[94, 54] Operation: 70-16=54
Exploring Operation: 94-70=24, Resulting Numbers: [16, 24]
Generated Node #0,2,3: 25:[16, 24] Operation: 94-70=24
Exploring Operation: 16+94=110, Resulting Numbers: [70, 110]
Generated Node #0,2,4: 25:[70, 110] Operation: 16+94=110
Moving to Node #0,0
Current State: 25:[16, 97, 67], Operations: ['94-27=67']
Exploring Operation: 97-16=81, Resulting Numbers: [67, 81]
Generated Node #0,0,0: 25:[67, 81] Operation: 97-16=81
Exploring Operation: 67-16=51, Resulting Numbers: [97, 51]
Generated Node #0,0,1: 25:[97, 51] Operation: 67-16=51
Exploring Operation: 97-67=30, Resulting Numbers: [16, 30]
Generated Node #0,0,2: 25:[16, 30] Operation: 97-67=30
Exploring Operation: 16+67=83, Resulting Numbers: [97, 83]
Generated Node #0,0,3: 25:[97, 83] Operation: 16+67=83
Exploring Operation: 16+97=113, Resulting Numbers: [67, 113]
Generated Node #0,0,4: 25:[67, 113] Operation: 16+97=113
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[16, 30], Operations: ['94-27=67', '97-67=30']
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 16+30=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Exploring Operation: 16*30=480, Resulting Numbers: [480]
480,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,0,0
Current State: 25:[67, 81], Operations: ['94-27=67', '97-16=81']
Exploring Operation: 81-67=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 67+81=148, Resulting Numbers: [148]
148,25 unequal: No Solution
Exploring Operation: 67*81=5427, Resulting Numbers: [5427]
5427,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,0,1
Current State: 25:[97, 51], Operations: ['94-27=67', '67-16=51']
Exploring Operation: 97+51=148, Resulting Numbers: [148]
148,25 unequal: No Solution
Exploring Operation: 97*51=4947, Resulting Numbers: [4947]
4947,25 unequal: No Solution
Exploring Operation: 97-51=46, Resulting Numbers: [46]
46,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,0,3
Current State: 25:[97, 83], Operations: ['94-27=67', '16+67=83']
Exploring Operation: 97-83=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 97+83=180, Resulting Numbers: [180]
180,25 unequal: No Solution
Exploring Operation: 97*83=8051, Resulting Numbers: [8051]
8051,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,0,4
Current State: 25:[67, 113], Operations: ['94-27=67', '16+97=113']
Exploring Operation: 67*113=7571, Resulting Numbers: [7571]
7571,25 unequal: No Solution
Exploring Operation: 67+113=180, Resulting Numbers: [180]
180,25 unequal: No Solution
Exploring Operation: 113-67=46, Resulting Numbers: [46]
46,25 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: 25:[27, 97, 78], Operations: ['94-16=78']
Exploring Operation: 27+97=124, Resulting Numbers: [78, 124]
Generated Node #0,3,0: 25:[78, 124] Operation: 27+97=124
Exploring Operation: 97-27=70, Resulting Numbers: [78, 70]
Generated Node #0,3,1: 25:[78, 70] Operation: 97-27=70
Exploring Operation: 78-27=51, Resulting Numbers: [97, 51]
Generated Node #0,3,2: 25:[97, 51] Operation: 78-27=51
Exploring Operation: 97-78=19, Resulting Numbers: [27, 19]
Generated Node #0,3,3: 25:[27, 19] Operation: 97-78=19
Exploring Operation: 27+78=105, Resulting Numbers: [97, 105]
Generated Node #0,3,4: 25:[97, 105] Operation: 27+78=105
Moving to Node #0,4
Current State: 25:[27, 94, 81], Operations: ['97-16=81']
Exploring Operation: 94-27=67, Resulting Numbers: [81, 67]
Generated Node #0,4,0: 25:[81, 67] Operation: 94-27=67
Exploring Operation: 81-27=54, Resulting Numbers: [94, 54]
Generated Node #0,4,1: 25:[94, 54] Operation: 81-27=54
Exploring Operation: 81/27=3, Resulting Numbers: [94, 3]
Generated Node #0,4,2: 25:[94, 3] Operation: 81/27=3
Exploring Operation: 94-81=13, Resulting Numbers: [27, 13]
Generated Node #0,4,3: 25:[27, 13] Operation: 94-81=13
Exploring Operation: 27+94=121, Resulting Numbers: [81, 121]
Generated Node #0,4,4: 25:[81, 121] Operation: 27+94=121
Moving to Node #0,1,2
Current State: 25:[27, 19], Operations: ['97-94=3', '16+3=19']
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Exploring Operation: 27*19=513, Resulting Numbers: [513]
513,25 unequal: No Solution
Moving to Node #0,1,4
Current State: 25:[3, 11], Operations: ['97-94=3', '27-16=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[27, 19], Operations: ['94-16=78', '97-78=19']
Exploring Operation: 27*19=513, Resulting Numbers: [513]
513,25 unequal: No Solution
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[16, 24], Operations: ['97-94=3', '27-3=24']
Exploring Operation: 16*24=384, Resulting Numbers: [384]
384,25 unequal: No Solution
Exploring Operation: 16+24=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[16, 24], Operations: ['97-27=70', '94-70=24']
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 16*24=384, Resulting Numbers: [384]
384,25 unequal: No Solution
Exploring Operation: 16+24=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Moving to Node #0,1,3
Current State: 25:[27, 13], Operations: ['97-94=3', '16-3=13']
Exploring Operation: 27*13=351, Resulting Numbers: [351]
351,25 unequal: No Solution
Exploring Operation: 27+13=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Moving to Node #0,4,3
Current State: 25:[27, 13], Operations: ['97-16=81', '94-81=13']
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 27*13=351, Resulting Numbers: [351]
351,25 unequal: No Solution
Exploring Operation: 27+13=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[16, 9], Operations: ['97-94=3', '27/3=9']
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[27, 16, 94, 97], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [27, 16, 3]
Generated Node #0,1: 25:[27, 16, 3] Operation: 97-94=3
Moving to Node #0,1
Current State: 25:[27, 16, 3], Operations: ['97-94=3']
Exploring Operation: 27/3=9, Resulting Numbers: [16, 9]
Generated Node #0,1,1: 25:[16, 9] Operation: 27/3=9
Moving to Node #0,1,1
Current State: 25:[16, 9], Operations: ['97-94=3', '27/3=9']
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.938368 | hs_5 | mult_heuristic |
[
96,
35,
30,
49
] | 29 | [
"96+49=145",
"35-30=5",
"145/5=29"
] | Current State: 29:[96, 35, 30, 49], Operations: []
Exploring Operation: 96+49=145, Resulting Numbers: [35, 30, 145]
Generated Node #2: [35, 30, 145] from Operation: 96+49=145
Current State: 29:[35, 30, 145], Operations: ['96+49=145']
Exploring Operation: 35-30=5, Resulting Numbers: [145, 5]
Generated Node #3: [145, 5] from Operation: 35-30=5
Current State: 29:[145, 5], Operations: ['96+49=145', '35-30=5']
Exploring Operation: 145/5=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[96, 35, 30, 49], Operations: []
Exploring Operation: 49-35=14, Resulting Numbers: [96, 30, 14]
Generated Node #0,0: 29:[96, 30, 14] Operation: 49-35=14
Exploring Operation: 96-49=47, Resulting Numbers: [35, 30, 47]
Generated Node #0,1: 29:[35, 30, 47] Operation: 96-49=47
Exploring Operation: 96-35=61, Resulting Numbers: [30, 49, 61]
Generated Node #0,2: 29:[30, 49, 61] Operation: 96-35=61
Exploring Operation: 96-30=66, Resulting Numbers: [35, 49, 66]
Generated Node #0,3: 29:[35, 49, 66] Operation: 96-30=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[35, 30, 47], Operations: ['96-49=47']
Exploring Operation: 47-35=12, Resulting Numbers: [30, 12]
Generated Node #0,1,0: 29:[30, 12] Operation: 47-35=12
Exploring Operation: 35+30=65, Resulting Numbers: [47, 65]
Generated Node #0,1,1: 29:[47, 65] Operation: 35+30=65
Exploring Operation: 47-30=17, Resulting Numbers: [35, 17]
Generated Node #0,1,2: 29:[35, 17] Operation: 47-30=17
Exploring Operation: 35-30=5, Resulting Numbers: [47, 5]
Generated Node #0,1,3: 29:[47, 5] Operation: 35-30=5
Moving to Node #0,1,0
Current State: 29:[30, 12], Operations: ['96-49=47', '47-35=12']
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 30*12=360, Resulting Numbers: [360]
360,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[35, 17], Operations: ['96-49=47', '47-30=17']
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 35*17=595, Resulting Numbers: [595]
595,29 unequal: No Solution
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[47, 5], Operations: ['96-49=47', '35-30=5']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 47*5=235, Resulting Numbers: [235]
235,29 unequal: No Solution
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[47, 65], Operations: ['96-49=47', '35+30=65']
Exploring Operation: 65-47=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 47+65=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 47*65=3055, Resulting Numbers: [3055]
3055,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:[30, 49, 61], Operations: ['96-35=61']
Exploring Operation: 61-49=12, Resulting Numbers: [30, 12]
Generated Node #0,2,0: 29:[30, 12] Operation: 61-49=12
Exploring Operation: 61-30=31, Resulting Numbers: [49, 31]
Generated Node #0,2,1: 29:[49, 31] Operation: 61-30=31
Exploring Operation: 49-30=19, Resulting Numbers: [61, 19]
Generated Node #0,2,2: 29:[61, 19] Operation: 49-30=19
Exploring Operation: 30+49=79, Resulting Numbers: [61, 79]
Generated Node #0,2,3: 29:[61, 79] Operation: 30+49=79
Moving to Node #0,2,0
Current State: 29:[30, 12], Operations: ['96-35=61', '61-49=12']
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 30*12=360, Resulting Numbers: [360]
360,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[49, 31], Operations: ['96-35=61', '61-30=31']
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 49*31=1519, Resulting Numbers: [1519]
1519,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[61, 19], Operations: ['96-35=61', '49-30=19']
Exploring Operation: 61+19=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 61*19=1159, Resulting Numbers: [1159]
1159,29 unequal: No Solution
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[61, 79], Operations: ['96-35=61', '30+49=79']
Exploring Operation: 61*79=4819, Resulting Numbers: [4819]
4819,29 unequal: No Solution
Exploring Operation: 61+79=140, Resulting Numbers: [140]
140,29 unequal: No Solution
Exploring Operation: 79-61=18, Resulting Numbers: [18]
18,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,3
Current State: 29:[35, 49, 66], Operations: ['96-30=66']
Exploring Operation: 66-49=17, Resulting Numbers: [35, 17]
Generated Node #0,3,0: 29:[35, 17] Operation: 66-49=17
Exploring Operation: 66-35=31, Resulting Numbers: [49, 31]
Generated Node #0,3,1: 29:[49, 31] Operation: 66-35=31
Exploring Operation: 35+49=84, Resulting Numbers: [66, 84]
Generated Node #0,3,2: 29:[66, 84] Operation: 35+49=84
Exploring Operation: 49-35=14, Resulting Numbers: [66, 14]
Generated Node #0,3,3: 29:[66, 14] Operation: 49-35=14
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 29:[35, 17], Operations: ['96-30=66', '66-49=17']
Exploring Operation: 35*17=595, Resulting Numbers: [595]
595,29 unequal: No Solution
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,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,3,1
Current State: 29:[49, 31], Operations: ['96-30=66', '66-35=31']
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 49*31=1519, Resulting Numbers: [1519]
1519,29 unequal: No Solution
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,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,3,3
Current State: 29:[66, 14], Operations: ['96-30=66', '49-35=14']
Exploring Operation: 66*14=924, Resulting Numbers: [924]
924,29 unequal: No Solution
Exploring Operation: 66+14=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,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,3,2
Current State: 29:[66, 84], Operations: ['96-30=66', '35+49=84']
Exploring Operation: 66*84=5544, Resulting Numbers: [5544]
5544,29 unequal: No Solution
Exploring Operation: 84-66=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 66+84=150, Resulting Numbers: [150]
150,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,0
Current State: 29:[96, 30, 14], Operations: ['49-35=14']
Exploring Operation: 96+14=110, Resulting Numbers: [30, 110]
Generated Node #0,0,0: 29:[30, 110] Operation: 96+14=110
Exploring Operation: 30-14=16, Resulting Numbers: [96, 16]
Generated Node #0,0,1: 29:[96, 16] Operation: 30-14=16
Exploring Operation: 96-30=66, Resulting Numbers: [14, 66]
Generated Node #0,0,2: 29:[14, 66] Operation: 96-30=66
Exploring Operation: 96-14=82, Resulting Numbers: [30, 82]
Generated Node #0,0,3: 29:[30, 82] Operation: 96-14=82
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 29:[14, 66], Operations: ['49-35=14', '96-30=66']
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Exploring Operation: 14+66=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 14*66=924, Resulting Numbers: [924]
924,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:[30, 82], Operations: ['49-35=14', '96-14=82']
Exploring Operation: 82-30=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Exploring Operation: 30+82=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 30*82=2460, Resulting Numbers: [2460]
2460,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:[96, 16], Operations: ['49-35=14', '30-14=16']
Exploring Operation: 96+16=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 96-16=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 96/16=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 96*16=1536, Resulting Numbers: [1536]
1536,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,0
Current State: 29:[30, 110], Operations: ['49-35=14', '96+14=110']
Exploring Operation: 30+110=140, Resulting Numbers: [140]
140,29 unequal: No Solution
Exploring Operation: 30*110=3300, Resulting Numbers: [3300]
3300,29 unequal: No Solution
Exploring Operation: 110-30=80, Resulting Numbers: [80]
80,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_4 | sum_heuristic |
[
31,
40,
96,
84
] | 59 | [
"31+40=71",
"96-84=12",
"71-12=59"
] | Current State: 59:[31, 40, 96, 84], Operations: []
Exploring Operation: 31+40=71, Resulting Numbers: [96, 84, 71]
Generated Node #2: [96, 84, 71] from Operation: 31+40=71
Current State: 59:[96, 84, 71], Operations: ['31+40=71']
Exploring Operation: 96-84=12, Resulting Numbers: [71, 12]
Generated Node #3: [71, 12] from Operation: 96-84=12
Current State: 59:[71, 12], Operations: ['31+40=71', '96-84=12']
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[31, 40, 96, 84], Operations: []
Exploring Operation: 96-40=56, Resulting Numbers: [31, 84, 56]
Generated Node #0,0: 59:[31, 84, 56] Operation: 96-40=56
Exploring Operation: 96-31=65, Resulting Numbers: [40, 84, 65]
Generated Node #0,1: 59:[40, 84, 65] Operation: 96-31=65
Exploring Operation: 84-40=44, Resulting Numbers: [31, 96, 44]
Generated Node #0,2: 59:[31, 96, 44] Operation: 84-40=44
Exploring Operation: 31+40=71, Resulting Numbers: [96, 84, 71]
Generated Node #0,3: 59:[96, 84, 71] Operation: 31+40=71
Exploring Operation: 84-31=53, Resulting Numbers: [40, 96, 53]
Generated Node #0,4: 59:[40, 96, 53] Operation: 84-31=53
Moving to Node #0,1
Current State: 59:[40, 84, 65], Operations: ['96-31=65']
Exploring Operation: 84-65=19, Resulting Numbers: [40, 19]
Generated Node #0,1,0: 59:[40, 19] Operation: 84-65=19
Exploring Operation: 65-40=25, Resulting Numbers: [84, 25]
Generated Node #0,1,1: 59:[84, 25] Operation: 65-40=25
Exploring Operation: 84-40=44, Resulting Numbers: [65, 44]
Generated Node #0,1,2: 59:[65, 44] Operation: 84-40=44
Exploring Operation: 40+65=105, Resulting Numbers: [84, 105]
Generated Node #0,1,3: 59:[84, 105] Operation: 40+65=105
Exploring Operation: 40+84=124, Resulting Numbers: [65, 124]
Generated Node #0,1,4: 59:[65, 124] Operation: 40+84=124
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[65, 44], Operations: ['96-31=65', '84-40=44']
Exploring Operation: 65*44=2860, Resulting Numbers: [2860]
2860,59 unequal: No Solution
Exploring Operation: 65+44=109, Resulting Numbers: [109]
109,59 unequal: No Solution
Exploring Operation: 65-44=21, Resulting Numbers: [21]
21,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[40, 19], Operations: ['96-31=65', '84-65=19']
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,59 unequal: No Solution
Exploring Operation: 40+19=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[31, 40, 96, 84], Operations: []
Exploring Operation: 96-31=65, Resulting Numbers: [40, 84, 65]
Generated Node #0,1: 59:[40, 84, 65] Operation: 96-31=65
Moving to Node #0,1
Current State: 59:[40, 84, 65], Operations: ['96-31=65']
Exploring Operation: 84-65=19, Resulting Numbers: [40, 19]
Generated Node #0,1,0: 59:[40, 19] Operation: 84-65=19
Moving to Node #0,1,0
Current State: 59:[40, 19], Operations: ['96-31=65', '84-65=19']
Exploring Operation: 40+19=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
86,
48,
78,
96
] | 56 | [
"86-48=38",
"96-78=18",
"38+18=56"
] | Current State: 56:[86, 48, 78, 96], Operations: []
Exploring Operation: 86-48=38, Resulting Numbers: [78, 96, 38]
Generated Node #2: [78, 96, 38] from Operation: 86-48=38
Current State: 56:[78, 96, 38], Operations: ['86-48=38']
Exploring Operation: 96-78=18, Resulting Numbers: [38, 18]
Generated Node #3: [38, 18] from Operation: 96-78=18
Current State: 56:[38, 18], Operations: ['86-48=38', '96-78=18']
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[86, 48, 78, 96], Operations: []
Exploring Operation: 96-86=10, Resulting Numbers: [48, 78, 10]
Generated Node #0,0: 56:[48, 78, 10] Operation: 96-86=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[48, 78, 10], Operations: ['96-86=10']
Exploring Operation: 78-48=30, Resulting Numbers: [10, 30]
Generated Node #0,0,0: 56:[10, 30] Operation: 78-48=30
Moving to Node #0,0,0
Current State: 56:[10, 30], Operations: ['96-86=10', '78-48=30']
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
47,
55,
65
] | 14 | [
"47+55=102",
"102/2=51",
"65-51=14"
] | Current State: 14:[2, 47, 55, 65], Operations: []
Exploring Operation: 47+55=102, Resulting Numbers: [2, 65, 102]
Generated Node #2: [2, 65, 102] from Operation: 47+55=102
Current State: 14:[2, 65, 102], Operations: ['47+55=102']
Exploring Operation: 102/2=51, Resulting Numbers: [65, 51]
Generated Node #3: [65, 51] from Operation: 102/2=51
Current State: 14:[65, 51], Operations: ['47+55=102', '102/2=51']
Exploring Operation: 65-51=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[2, 47, 55, 65], Operations: []
Exploring Operation: 65-55=10, Resulting Numbers: [2, 47, 10]
Generated Node #0,0: 14:[2, 47, 10] Operation: 65-55=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[2, 47, 10], Operations: ['65-55=10']
Exploring Operation: 47-10=37, Resulting Numbers: [2, 37]
Generated Node #0,0,0: 14:[2, 37] Operation: 47-10=37
Moving to Node #0,0,0
Current State: 14:[2, 37], Operations: ['65-55=10', '47-10=37']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
9,
87,
33,
53
] | 76 | [
"9+87=96",
"53-33=20",
"96-20=76"
] | Current State: 76:[9, 87, 33, 53], Operations: []
Exploring Operation: 9+87=96, Resulting Numbers: [33, 53, 96]
Generated Node #2: [33, 53, 96] from Operation: 9+87=96
Current State: 76:[33, 53, 96], Operations: ['9+87=96']
Exploring Operation: 53-33=20, Resulting Numbers: [96, 20]
Generated Node #3: [96, 20] from Operation: 53-33=20
Current State: 76:[96, 20], Operations: ['9+87=96', '53-33=20']
Exploring Operation: 96-20=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[9, 87, 33, 53], Operations: []
Exploring Operation: 87-53=34, Resulting Numbers: [9, 33, 34]
Generated Node #0,0: 76:[9, 33, 34] Operation: 87-53=34
Exploring Operation: 53-9=44, Resulting Numbers: [87, 33, 44]
Generated Node #0,1: 76:[87, 33, 44] Operation: 53-9=44
Exploring Operation: 53-33=20, Resulting Numbers: [9, 87, 20]
Generated Node #0,2: 76:[9, 87, 20] Operation: 53-33=20
Exploring Operation: 87-9=78, Resulting Numbers: [33, 53, 78]
Generated Node #0,3: 76:[33, 53, 78] Operation: 87-9=78
Moving to Node #0,0
Current State: 76:[9, 33, 34], Operations: ['87-53=34']
Exploring Operation: 34-33=1, Resulting Numbers: [9, 1]
Generated Node #0,0,0: 76:[9, 1] Operation: 34-33=1
Exploring Operation: 9+33=42, Resulting Numbers: [34, 42]
Generated Node #0,0,1: 76:[34, 42] Operation: 9+33=42
Exploring Operation: 9+34=43, Resulting Numbers: [33, 43]
Generated Node #0,0,2: 76:[33, 43] Operation: 9+34=43
Exploring Operation: 33-9=24, Resulting Numbers: [34, 24]
Generated Node #0,0,3: 76:[34, 24] Operation: 33-9=24
Moving to Node #0,2
Current State: 76:[9, 87, 20], Operations: ['53-33=20']
Exploring Operation: 87-20=67, Resulting Numbers: [9, 67]
Generated Node #0,2,0: 76:[9, 67] Operation: 87-20=67
Exploring Operation: 20-9=11, Resulting Numbers: [87, 11]
Generated Node #0,2,1: 76:[87, 11] Operation: 20-9=11
Exploring Operation: 87-9=78, Resulting Numbers: [20, 78]
Generated Node #0,2,2: 76:[20, 78] Operation: 87-9=78
Exploring Operation: 9+20=29, Resulting Numbers: [87, 29]
Generated Node #0,2,3: 76:[87, 29] Operation: 9+20=29
Moving to Node #0,3
Current State: 76:[33, 53, 78], Operations: ['87-9=78']
Exploring Operation: 78-33=45, Resulting Numbers: [53, 45]
Generated Node #0,3,0: 76:[53, 45] Operation: 78-33=45
Exploring Operation: 33+53=86, Resulting Numbers: [78, 86]
Generated Node #0,3,1: 76:[78, 86] Operation: 33+53=86
Exploring Operation: 78-53=25, Resulting Numbers: [33, 25]
Generated Node #0,3,2: 76:[33, 25] Operation: 78-53=25
Exploring Operation: 53-33=20, Resulting Numbers: [78, 20]
Generated Node #0,3,3: 76:[78, 20] Operation: 53-33=20
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 76:[78, 20], Operations: ['87-9=78', '53-33=20']
Exploring Operation: 78-20=58, Resulting Numbers: [58]
58,76 unequal: No Solution
Exploring Operation: 78*20=1560, Resulting Numbers: [1560]
1560,76 unequal: No Solution
Exploring Operation: 78+20=98, Resulting Numbers: [98]
98,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 76:[33, 25], Operations: ['87-9=78', '78-53=25']
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 33*25=825, Resulting Numbers: [825]
825,76 unequal: No Solution
Exploring Operation: 33+25=58, Resulting Numbers: [58]
58,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 76:[78, 86], Operations: ['87-9=78', '33+53=86']
Exploring Operation: 78+86=164, Resulting Numbers: [164]
164,76 unequal: No Solution
Exploring Operation: 78*86=6708, Resulting Numbers: [6708]
6708,76 unequal: No Solution
Exploring Operation: 86-78=8, Resulting Numbers: [8]
8,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 76:[53, 45], Operations: ['87-9=78', '78-33=45']
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 53*45=2385, Resulting Numbers: [2385]
2385,76 unequal: No Solution
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,76 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: 76:[87, 33, 44], Operations: ['53-9=44']
Exploring Operation: 44-33=11, Resulting Numbers: [87, 11]
Generated Node #0,1,0: 76:[87, 11] Operation: 44-33=11
Exploring Operation: 87-33=54, Resulting Numbers: [44, 54]
Generated Node #0,1,1: 76:[44, 54] Operation: 87-33=54
Exploring Operation: 33+44=77, Resulting Numbers: [87, 77]
Generated Node #0,1,2: 76:[87, 77] Operation: 33+44=77
Exploring Operation: 87-44=43, Resulting Numbers: [33, 43]
Generated Node #0,1,3: 76:[33, 43] Operation: 87-44=43
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 76:[33, 43], Operations: ['53-9=44', '87-44=43']
Exploring Operation: 33*43=1419, Resulting Numbers: [1419]
1419,76 unequal: No Solution
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 33+43=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[9, 87, 33, 53], Operations: []
Exploring Operation: 53-9=44, Resulting Numbers: [87, 33, 44]
Generated Node #0,1: 76:[87, 33, 44] Operation: 53-9=44
Moving to Node #0,1
Current State: 76:[87, 33, 44], Operations: ['53-9=44']
Exploring Operation: 87-44=43, Resulting Numbers: [33, 43]
Generated Node #0,1,3: 76:[33, 43] Operation: 87-44=43
Moving to Node #0,1,3
Current State: 76:[33, 43], Operations: ['53-9=44', '87-44=43']
Exploring Operation: 33+43=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_4 | mult_heuristic |
[
73,
98,
30,
14
] | 50 | [
"73-30=43",
"98/14=7",
"43+7=50"
] | Current State: 50:[73, 98, 30, 14], Operations: []
Exploring Operation: 73-30=43, Resulting Numbers: [98, 14, 43]
Generated Node #2: [98, 14, 43] from Operation: 73-30=43
Current State: 50:[98, 14, 43], Operations: ['73-30=43']
Exploring Operation: 98/14=7, Resulting Numbers: [43, 7]
Generated Node #3: [43, 7] from Operation: 98/14=7
Current State: 50:[43, 7], Operations: ['73-30=43', '98/14=7']
Exploring Operation: 43+7=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[73, 98, 30, 14], Operations: []
Exploring Operation: 98-30=68, Resulting Numbers: [73, 14, 68]
Generated Node #0,0: 50:[73, 14, 68] Operation: 98-30=68
Exploring Operation: 98-73=25, Resulting Numbers: [30, 14, 25]
Generated Node #0,1: 50:[30, 14, 25] Operation: 98-73=25
Exploring Operation: 98/14=7, Resulting Numbers: [73, 30, 7]
Generated Node #0,2: 50:[73, 30, 7] Operation: 98/14=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[30, 14, 25], Operations: ['98-73=25']
Exploring Operation: 30+14=44, Resulting Numbers: [25, 44]
Generated Node #0,1,0: 50:[25, 44] Operation: 30+14=44
Exploring Operation: 30-25=5, Resulting Numbers: [14, 5]
Generated Node #0,1,1: 50:[14, 5] Operation: 30-25=5
Exploring Operation: 30-14=16, Resulting Numbers: [25, 16]
Generated Node #0,1,2: 50:[25, 16] Operation: 30-14=16
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 50:[14, 5], Operations: ['98-73=25', '30-25=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,50 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,50 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 50:[25, 44], Operations: ['98-73=25', '30+14=44']
Exploring Operation: 25*44=1100, Resulting Numbers: [1100]
1100,50 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,50 unequal: No Solution
Exploring Operation: 25+44=69, Resulting Numbers: [69]
69,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 50:[25, 16], Operations: ['98-73=25', '30-14=16']
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,50 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[73, 30, 7], Operations: ['98/14=7']
Exploring Operation: 73-30=43, Resulting Numbers: [7, 43]
Generated Node #0,2,0: 50:[7, 43] Operation: 73-30=43
Exploring Operation: 30-7=23, Resulting Numbers: [73, 23]
Generated Node #0,2,1: 50:[73, 23] Operation: 30-7=23
Exploring Operation: 73-7=66, Resulting Numbers: [30, 66]
Generated Node #0,2,2: 50:[30, 66] Operation: 73-7=66
Moving to Node #0,2,0
Current State: 50:[7, 43], Operations: ['98/14=7', '73-30=43']
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,50 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,50 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[73, 98, 30, 14], Operations: []
Exploring Operation: 98/14=7, Resulting Numbers: [73, 30, 7]
Generated Node #0,2: 50:[73, 30, 7] Operation: 98/14=7
Moving to Node #0,2
Current State: 50:[73, 30, 7], Operations: ['98/14=7']
Exploring Operation: 73-30=43, Resulting Numbers: [7, 43]
Generated Node #0,2,0: 50:[7, 43] Operation: 73-30=43
Moving to Node #0,2,0
Current State: 50:[7, 43], Operations: ['98/14=7', '73-30=43']
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
8,
41,
3,
83
] | 79 | [
"8*41=328",
"3*83=249",
"328-249=79"
] | Current State: 79:[8, 41, 3, 83], Operations: []
Exploring Operation: 8*41=328, Resulting Numbers: [3, 83, 328]
Generated Node #2: [3, 83, 328] from Operation: 8*41=328
Current State: 79:[3, 83, 328], Operations: ['8*41=328']
Exploring Operation: 3*83=249, Resulting Numbers: [328, 249]
Generated Node #3: [328, 249] from Operation: 3*83=249
Current State: 79:[328, 249], Operations: ['8*41=328', '3*83=249']
Exploring Operation: 328-249=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[8, 41, 3, 83], Operations: []
Exploring Operation: 8*3=24, Resulting Numbers: [41, 83, 24]
Generated Node #0,0: 79:[41, 83, 24] Operation: 8*3=24
Moving to Node #0,0
Current State: 79:[41, 83, 24], Operations: ['8*3=24']
Exploring Operation: 41+24=65, Resulting Numbers: [83, 65]
Generated Node #0,0,0: 79:[83, 65] Operation: 41+24=65
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[83, 65], Operations: ['8*3=24', '41+24=65']
Exploring Operation: 83-65=18, Resulting Numbers: [18]
18,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
72,
40,
3,
83
] | 87 | [
"72+40=112",
"112-83=29",
"3*29=87"
] | Current State: 87:[72, 40, 3, 83], Operations: []
Exploring Operation: 72+40=112, Resulting Numbers: [3, 83, 112]
Generated Node #2: [3, 83, 112] from Operation: 72+40=112
Current State: 87:[3, 83, 112], Operations: ['72+40=112']
Exploring Operation: 112-83=29, Resulting Numbers: [3, 29]
Generated Node #3: [3, 29] from Operation: 112-83=29
Current State: 87:[3, 29], Operations: ['72+40=112', '112-83=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[72, 40, 3, 83], Operations: []
Exploring Operation: 72-40=32, Resulting Numbers: [3, 83, 32]
Generated Node #0,0: 87:[3, 83, 32] Operation: 72-40=32
Exploring Operation: 83-72=11, Resulting Numbers: [40, 3, 11]
Generated Node #0,1: 87:[40, 3, 11] Operation: 83-72=11
Moving to Node #0,0
Current State: 87:[3, 83, 32], Operations: ['72-40=32']
Exploring Operation: 3+83=86, Resulting Numbers: [32, 86]
Generated Node #0,0,0: 87:[32, 86] Operation: 3+83=86
Exploring Operation: 32-3=29, Resulting Numbers: [83, 29]
Generated Node #0,0,1: 87:[83, 29] Operation: 32-3=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[32, 86], Operations: ['72-40=32', '3+83=86']
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,87 unequal: No Solution
Exploring Operation: 32+86=118, Resulting Numbers: [118]
118,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[83, 29], Operations: ['72-40=32', '32-3=29']
Exploring Operation: 83-29=54, Resulting Numbers: [54]
54,87 unequal: No Solution
Exploring Operation: 83+29=112, Resulting Numbers: [112]
112,87 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: 87:[40, 3, 11], Operations: ['83-72=11']
Exploring Operation: 3*11=33, Resulting Numbers: [40, 33]
Generated Node #0,1,0: 87:[40, 33] Operation: 3*11=33
Exploring Operation: 40-11=29, Resulting Numbers: [3, 29]
Generated Node #0,1,1: 87:[3, 29] Operation: 40-11=29
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[3, 29], Operations: ['83-72=11', '40-11=29']
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[72, 40, 3, 83], Operations: []
Exploring Operation: 83-72=11, Resulting Numbers: [40, 3, 11]
Generated Node #0,1: 87:[40, 3, 11] Operation: 83-72=11
Moving to Node #0,1
Current State: 87:[40, 3, 11], Operations: ['83-72=11']
Exploring Operation: 40-11=29, Resulting Numbers: [3, 29]
Generated Node #0,1,1: 87:[3, 29] Operation: 40-11=29
Moving to Node #0,1,1
Current State: 87:[3, 29], Operations: ['83-72=11', '40-11=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
55,
91,
43,
35
] | 28 | [
"91-55=36",
"43-35=8",
"36-8=28"
] | Current State: 28:[55, 91, 43, 35], Operations: []
Exploring Operation: 91-55=36, Resulting Numbers: [43, 35, 36]
Generated Node #2: [43, 35, 36] from Operation: 91-55=36
Current State: 28:[43, 35, 36], Operations: ['91-55=36']
Exploring Operation: 43-35=8, Resulting Numbers: [36, 8]
Generated Node #3: [36, 8] from Operation: 43-35=8
Current State: 28:[36, 8], Operations: ['91-55=36', '43-35=8']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[55, 91, 43, 35], Operations: []
Exploring Operation: 91-35=56, Resulting Numbers: [55, 43, 56]
Generated Node #0,0: 28:[55, 43, 56] Operation: 91-35=56
Exploring Operation: 91-43=48, Resulting Numbers: [55, 35, 48]
Generated Node #0,1: 28:[55, 35, 48] Operation: 91-43=48
Exploring Operation: 91-55=36, Resulting Numbers: [43, 35, 36]
Generated Node #0,2: 28:[43, 35, 36] Operation: 91-55=36
Moving to Node #0,2
Current State: 28:[43, 35, 36], Operations: ['91-55=36']
Exploring Operation: 36-35=1, Resulting Numbers: [43, 1]
Generated Node #0,2,0: 28:[43, 1] Operation: 36-35=1
Exploring Operation: 43-35=8, Resulting Numbers: [36, 8]
Generated Node #0,2,1: 28:[36, 8] Operation: 43-35=8
Exploring Operation: 43-36=7, Resulting Numbers: [35, 7]
Generated Node #0,2,2: 28:[35, 7] Operation: 43-36=7
Moving to Node #0,1
Current State: 28:[55, 35, 48], Operations: ['91-43=48']
Exploring Operation: 48-35=13, Resulting Numbers: [55, 13]
Generated Node #0,1,0: 28:[55, 13] Operation: 48-35=13
Exploring Operation: 55-35=20, Resulting Numbers: [48, 20]
Generated Node #0,1,1: 28:[48, 20] Operation: 55-35=20
Exploring Operation: 55-48=7, Resulting Numbers: [35, 7]
Generated Node #0,1,2: 28:[35, 7] Operation: 55-48=7
Moving to Node #0,0
Current State: 28:[55, 43, 56], Operations: ['91-35=56']
Exploring Operation: 56-55=1, Resulting Numbers: [43, 1]
Generated Node #0,0,0: 28:[43, 1] Operation: 56-55=1
Exploring Operation: 56-43=13, Resulting Numbers: [55, 13]
Generated Node #0,0,1: 28:[55, 13] Operation: 56-43=13
Exploring Operation: 55-43=12, Resulting Numbers: [56, 12]
Generated Node #0,0,2: 28:[56, 12] Operation: 55-43=12
Moving to Node #0,2,2
Current State: 28:[35, 7], Operations: ['91-55=36', '43-36=7']
Exploring Operation: 35+7=42, Resulting Numbers: [42]
42,28 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[55, 91, 43, 35], Operations: []
Exploring Operation: 91-55=36, Resulting Numbers: [43, 35, 36]
Generated Node #0,2: 28:[43, 35, 36] Operation: 91-55=36
Moving to Node #0,2
Current State: 28:[43, 35, 36], Operations: ['91-55=36']
Exploring Operation: 43-36=7, Resulting Numbers: [35, 7]
Generated Node #0,2,2: 28:[35, 7] Operation: 43-36=7
Moving to Node #0,2,2
Current State: 28:[35, 7], Operations: ['91-55=36', '43-36=7']
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.983507 | hs_3 | mult_heuristic |
[
6,
57,
24,
29
] | 68 | [
"6+57=63",
"29-24=5",
"63+5=68"
] | Current State: 68:[6, 57, 24, 29], Operations: []
Exploring Operation: 6+57=63, Resulting Numbers: [24, 29, 63]
Generated Node #2: [24, 29, 63] from Operation: 6+57=63
Current State: 68:[24, 29, 63], Operations: ['6+57=63']
Exploring Operation: 29-24=5, Resulting Numbers: [63, 5]
Generated Node #3: [63, 5] from Operation: 29-24=5
Current State: 68:[63, 5], Operations: ['6+57=63', '29-24=5']
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[6, 57, 24, 29], Operations: []
Exploring Operation: 57-29=28, Resulting Numbers: [6, 24, 28]
Generated Node #0,0: 68:[6, 24, 28] Operation: 57-29=28
Exploring Operation: 57-24=33, Resulting Numbers: [6, 29, 33]
Generated Node #0,1: 68:[6, 29, 33] Operation: 57-24=33
Exploring Operation: 29-24=5, Resulting Numbers: [6, 57, 5]
Generated Node #0,2: 68:[6, 57, 5] Operation: 29-24=5
Exploring Operation: 6+57=63, Resulting Numbers: [24, 29, 63]
Generated Node #0,3: 68:[24, 29, 63] Operation: 6+57=63
Exploring Operation: 24/6=4, Resulting Numbers: [57, 29, 4]
Generated Node #0,4: 68:[57, 29, 4] Operation: 24/6=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[6, 29, 33], Operations: ['57-24=33']
Exploring Operation: 29+33=62, Resulting Numbers: [6, 62]
Generated Node #0,1,0: 68:[6, 62] Operation: 29+33=62
Exploring Operation: 6+29=35, Resulting Numbers: [33, 35]
Generated Node #0,1,1: 68:[33, 35] Operation: 6+29=35
Exploring Operation: 33-29=4, Resulting Numbers: [6, 4]
Generated Node #0,1,2: 68:[6, 4] Operation: 33-29=4
Exploring Operation: 29-6=23, Resulting Numbers: [33, 23]
Generated Node #0,1,3: 68:[33, 23] Operation: 29-6=23
Exploring Operation: 6+33=39, Resulting Numbers: [29, 39]
Generated Node #0,1,4: 68:[29, 39] Operation: 6+33=39
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 68:[33, 35], Operations: ['57-24=33', '6+29=35']
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[6, 57, 24, 29], Operations: []
Exploring Operation: 57-24=33, Resulting Numbers: [6, 29, 33]
Generated Node #0,1: 68:[6, 29, 33] Operation: 57-24=33
Moving to Node #0,1
Current State: 68:[6, 29, 33], Operations: ['57-24=33']
Exploring Operation: 6+29=35, Resulting Numbers: [33, 35]
Generated Node #0,1,1: 68:[33, 35] Operation: 6+29=35
Moving to Node #0,1,1
Current State: 68:[33, 35], Operations: ['57-24=33', '6+29=35']
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
47,
20,
59,
9
] | 41 | [
"47-20=27",
"59+9=68",
"68-27=41"
] | Current State: 41:[47, 20, 59, 9], Operations: []
Exploring Operation: 47-20=27, Resulting Numbers: [59, 9, 27]
Generated Node #2: [59, 9, 27] from Operation: 47-20=27
Current State: 41:[59, 9, 27], Operations: ['47-20=27']
Exploring Operation: 59+9=68, Resulting Numbers: [27, 68]
Generated Node #3: [27, 68] from Operation: 59+9=68
Current State: 41:[27, 68], Operations: ['47-20=27', '59+9=68']
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[47, 20, 59, 9], Operations: []
Exploring Operation: 47+9=56, Resulting Numbers: [20, 59, 56]
Generated Node #0,0: 41:[20, 59, 56] Operation: 47+9=56
Exploring Operation: 59-20=39, Resulting Numbers: [47, 9, 39]
Generated Node #0,1: 41:[47, 9, 39] Operation: 59-20=39
Exploring Operation: 20+9=29, Resulting Numbers: [47, 59, 29]
Generated Node #0,2: 41:[47, 59, 29] Operation: 20+9=29
Exploring Operation: 47-9=38, Resulting Numbers: [20, 59, 38]
Generated Node #0,3: 41:[20, 59, 38] Operation: 47-9=38
Exploring Operation: 59-9=50, Resulting Numbers: [47, 20, 50]
Generated Node #0,4: 41:[47, 20, 50] Operation: 59-9=50
Moving to Node #0,2
Current State: 41:[47, 59, 29], Operations: ['20+9=29']
Exploring Operation: 59-29=30, Resulting Numbers: [47, 30]
Generated Node #0,2,0: 41:[47, 30] Operation: 59-29=30
Exploring Operation: 47-29=18, Resulting Numbers: [59, 18]
Generated Node #0,2,1: 41:[59, 18] Operation: 47-29=18
Exploring Operation: 47+29=76, Resulting Numbers: [59, 76]
Generated Node #0,2,2: 41:[59, 76] Operation: 47+29=76
Exploring Operation: 59-47=12, Resulting Numbers: [29, 12]
Generated Node #0,2,3: 41:[29, 12] Operation: 59-47=12
Exploring Operation: 59+29=88, Resulting Numbers: [47, 88]
Generated Node #0,2,4: 41:[47, 88] Operation: 59+29=88
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[47, 30], Operations: ['20+9=29', '59-29=30']
Exploring Operation: 47+30=77, Resulting Numbers: [77]
77,41 unequal: No Solution
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 47*30=1410, Resulting Numbers: [1410]
1410,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[59, 18], Operations: ['20+9=29', '47-29=18']
Exploring Operation: 59+18=77, Resulting Numbers: [77]
77,41 unequal: No Solution
Exploring Operation: 59*18=1062, Resulting Numbers: [1062]
1062,41 unequal: No Solution
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[47, 20, 59, 9], Operations: []
Exploring Operation: 20+9=29, Resulting Numbers: [47, 59, 29]
Generated Node #0,2: 41:[47, 59, 29] Operation: 20+9=29
Moving to Node #0,2
Current State: 41:[47, 59, 29], Operations: ['20+9=29']
Exploring Operation: 47-29=18, Resulting Numbers: [59, 18]
Generated Node #0,2,1: 41:[59, 18] Operation: 47-29=18
Moving to Node #0,2,1
Current State: 41:[59, 18], Operations: ['20+9=29', '47-29=18']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.