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 |
|---|---|---|---|---|---|---|---|---|
[
52,
40,
63,
36
] | 81 | [
"52*63=3276",
"3276-36=3240",
"3240/40=81"
] | Current State: 81:[52, 40, 63, 36], Operations: []
Exploring Operation: 52*63=3276, Resulting Numbers: [40, 36, 3276]
Generated Node #2: [40, 36, 3276] from Operation: 52*63=3276
Current State: 81:[40, 36, 3276], Operations: ['52*63=3276']
Exploring Operation: 3276-36=3240, Resulting Numbers: [40, 3240]
Generated Node #3: [40, 3240] from Operation: 3276-36=3240
Current State: 81:[40, 3240], Operations: ['52*63=3276', '3276-36=3240']
Exploring Operation: 3240/40=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[52, 40, 63, 36], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [63, 36, 12]
Generated Node #0,0: 81:[63, 36, 12] Operation: 52-40=12
Exploring Operation: 63-52=11, Resulting Numbers: [40, 36, 11]
Generated Node #0,1: 81:[40, 36, 11] Operation: 63-52=11
Moving to Node #0,1
Current State: 81:[40, 36, 11], Operations: ['63-52=11']
Exploring Operation: 40-36=4, Resulting Numbers: [11, 4]
Generated Node #0,1,0: 81:[11, 4] Operation: 40-36=4
Exploring Operation: 40+36=76, Resulting Numbers: [11, 76]
Generated Node #0,1,1: 81:[11, 76] Operation: 40+36=76
Moving to Node #0,0
Current State: 81:[63, 36, 12], Operations: ['52-40=12']
Exploring Operation: 63+12=75, Resulting Numbers: [36, 75]
Generated Node #0,0,0: 81:[36, 75] Operation: 63+12=75
Exploring Operation: 63-36=27, Resulting Numbers: [12, 27]
Generated Node #0,0,1: 81:[12, 27] Operation: 63-36=27
Moving to Node #0,1,0
Current State: 81:[11, 4], Operations: ['63-52=11', '40-36=4']
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[12, 27], Operations: ['52-40=12', '63-36=27']
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[11, 76], Operations: ['63-52=11', '40+36=76']
Exploring Operation: 11+76=87, Resulting Numbers: [87]
87,81 unequal: No Solution
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[36, 75], Operations: ['52-40=12', '63+12=75']
Exploring Operation: 36+75=111, Resulting Numbers: [111]
111,81 unequal: No Solution
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,81 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
81,
91,
64,
31
] | 77 | [
"81+91=172",
"64+31=95",
"172-95=77"
] | Current State: 77:[81, 91, 64, 31], Operations: []
Exploring Operation: 81+91=172, Resulting Numbers: [64, 31, 172]
Generated Node #2: [64, 31, 172] from Operation: 81+91=172
Current State: 77:[64, 31, 172], Operations: ['81+91=172']
Exploring Operation: 64+31=95, Resulting Numbers: [172, 95]
Generated Node #3: [172, 95] from Operation: 64+31=95
Current State: 77:[172, 95], Operations: ['81+91=172', '64+31=95']
Exploring Operation: 172-95=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[81, 91, 64, 31], Operations: []
Exploring Operation: 81-64=17, Resulting Numbers: [91, 31, 17]
Generated Node #0,0: 77:[91, 31, 17] Operation: 81-64=17
Exploring Operation: 64+31=95, Resulting Numbers: [81, 91, 95]
Generated Node #0,1: 77:[81, 91, 95] Operation: 64+31=95
Exploring Operation: 91-31=60, Resulting Numbers: [81, 64, 60]
Generated Node #0,2: 77:[81, 64, 60] Operation: 91-31=60
Exploring Operation: 91-64=27, Resulting Numbers: [81, 31, 27]
Generated Node #0,3: 77:[81, 31, 27] Operation: 91-64=27
Exploring Operation: 91-81=10, Resulting Numbers: [64, 31, 10]
Generated Node #0,4: 77:[64, 31, 10] Operation: 91-81=10
Moving to Node #0,2
Current State: 77:[81, 64, 60], Operations: ['91-31=60']
Exploring Operation: 81+60=141, Resulting Numbers: [64, 141]
Generated Node #0,2,0: 77:[64, 141] Operation: 81+60=141
Exploring Operation: 64-60=4, Resulting Numbers: [81, 4]
Generated Node #0,2,1: 77:[81, 4] Operation: 64-60=4
Exploring Operation: 81-60=21, Resulting Numbers: [64, 21]
Generated Node #0,2,2: 77:[64, 21] Operation: 81-60=21
Exploring Operation: 81-64=17, Resulting Numbers: [60, 17]
Generated Node #0,2,3: 77:[60, 17] Operation: 81-64=17
Exploring Operation: 64+60=124, Resulting Numbers: [81, 124]
Generated Node #0,2,4: 77:[81, 124] Operation: 64+60=124
Moving to Node #0,4
Current State: 77:[64, 31, 10], Operations: ['91-81=10']
Exploring Operation: 64+31=95, Resulting Numbers: [10, 95]
Generated Node #0,4,0: 77:[10, 95] Operation: 64+31=95
Exploring Operation: 64-31=33, Resulting Numbers: [10, 33]
Generated Node #0,4,1: 77:[10, 33] Operation: 64-31=33
Exploring Operation: 64-10=54, Resulting Numbers: [31, 54]
Generated Node #0,4,2: 77:[31, 54] Operation: 64-10=54
Exploring Operation: 64+10=74, Resulting Numbers: [31, 74]
Generated Node #0,4,3: 77:[31, 74] Operation: 64+10=74
Exploring Operation: 31-10=21, Resulting Numbers: [64, 21]
Generated Node #0,4,4: 77:[64, 21] Operation: 31-10=21
Moving to Node #0,1
Current State: 77:[81, 91, 95], Operations: ['64+31=95']
Exploring Operation: 95-81=14, Resulting Numbers: [91, 14]
Generated Node #0,1,0: 77:[91, 14] Operation: 95-81=14
Exploring Operation: 81+95=176, Resulting Numbers: [91, 176]
Generated Node #0,1,1: 77:[91, 176] Operation: 81+95=176
Exploring Operation: 95-91=4, Resulting Numbers: [81, 4]
Generated Node #0,1,2: 77:[81, 4] Operation: 95-91=4
Exploring Operation: 91-81=10, Resulting Numbers: [95, 10]
Generated Node #0,1,3: 77:[95, 10] Operation: 91-81=10
Exploring Operation: 81+91=172, Resulting Numbers: [95, 172]
Generated Node #0,1,4: 77:[95, 172] Operation: 81+91=172
Moving to Node #0,0
Current State: 77:[91, 31, 17], Operations: ['81-64=17']
Exploring Operation: 91+31=122, Resulting Numbers: [17, 122]
Generated Node #0,0,0: 77:[17, 122] Operation: 91+31=122
Exploring Operation: 91-17=74, Resulting Numbers: [31, 74]
Generated Node #0,0,1: 77:[31, 74] Operation: 91-17=74
Exploring Operation: 91-31=60, Resulting Numbers: [17, 60]
Generated Node #0,0,2: 77:[17, 60] Operation: 91-31=60
Exploring Operation: 31-17=14, Resulting Numbers: [91, 14]
Generated Node #0,0,3: 77:[91, 14] Operation: 31-17=14
Exploring Operation: 31+17=48, Resulting Numbers: [91, 48]
Generated Node #0,0,4: 77:[91, 48] Operation: 31+17=48
Moving to Node #0,3
Current State: 77:[81, 31, 27], Operations: ['91-64=27']
Exploring Operation: 81/27=3, Resulting Numbers: [31, 3]
Generated Node #0,3,0: 77:[31, 3] Operation: 81/27=3
Exploring Operation: 31-27=4, Resulting Numbers: [81, 4]
Generated Node #0,3,1: 77:[81, 4] Operation: 31-27=4
Exploring Operation: 31+27=58, Resulting Numbers: [81, 58]
Generated Node #0,3,2: 77:[81, 58] Operation: 31+27=58
Exploring Operation: 81-31=50, Resulting Numbers: [27, 50]
Generated Node #0,3,3: 77:[27, 50] Operation: 81-31=50
Exploring Operation: 81-27=54, Resulting Numbers: [31, 54]
Generated Node #0,3,4: 77:[31, 54] Operation: 81-27=54
Moving to Node #0,2,1
Current State: 77:[81, 4], Operations: ['91-31=60', '64-60=4']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[81, 91, 64, 31], Operations: []
Exploring Operation: 91-31=60, Resulting Numbers: [81, 64, 60]
Generated Node #0,2: 77:[81, 64, 60] Operation: 91-31=60
Moving to Node #0,2
Current State: 77:[81, 64, 60], Operations: ['91-31=60']
Exploring Operation: 64-60=4, Resulting Numbers: [81, 4]
Generated Node #0,2,1: 77:[81, 4] Operation: 64-60=4
Moving to Node #0,2,1
Current State: 77:[81, 4], Operations: ['91-31=60', '64-60=4']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 0.969618 | hs_5 | sum_heuristic |
[
78,
79,
8,
87
] | 77 | [
"79+8=87",
"87/87=1",
"78-1=77"
] | Current State: 77:[78, 79, 8, 87], Operations: []
Exploring Operation: 79+8=87, Resulting Numbers: [78, 87, 87]
Generated Node #2: [78, 87, 87] from Operation: 79+8=87
Current State: 77:[78, 87, 87], Operations: ['79+8=87']
Exploring Operation: 87/87=1, Resulting Numbers: [78, 1]
Generated Node #3: [78, 1] from Operation: 87/87=1
Current State: 77:[78, 1], Operations: ['79+8=87', '87/87=1']
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[78, 79, 8, 87], Operations: []
Exploring Operation: 87-79=8, Resulting Numbers: [78, 8, 8]
Generated Node #0,0: 77:[78, 8, 8] Operation: 87-79=8
Exploring Operation: 87-78=9, Resulting Numbers: [79, 8, 9]
Generated Node #0,1: 77:[79, 8, 9] Operation: 87-78=9
Exploring Operation: 79-8=71, Resulting Numbers: [78, 87, 71]
Generated Node #0,2: 77:[78, 87, 71] Operation: 79-8=71
Exploring Operation: 79-78=1, Resulting Numbers: [8, 87, 1]
Generated Node #0,3: 77:[8, 87, 1] Operation: 79-78=1
Exploring Operation: 87-8=79, Resulting Numbers: [78, 79, 79]
Generated Node #0,4: 77:[78, 79, 79] Operation: 87-8=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[78, 8, 8], Operations: ['87-79=8']
Exploring Operation: 8/8=1, Resulting Numbers: [78, 1]
Generated Node #0,0,0: 77:[78, 1] Operation: 8/8=1
Exploring Operation: 8-8=0, Resulting Numbers: [78, 0]
Generated Node #0,0,1: 77:[78, 0] Operation: 8-8=0
Exploring Operation: 8+8=16, Resulting Numbers: [78, 16]
Generated Node #0,0,2: 77:[78, 16] Operation: 8+8=16
Exploring Operation: 78-8=70, Resulting Numbers: [8, 70]
Generated Node #0,0,3: 77:[8, 70] Operation: 78-8=70
Exploring Operation: 78-8=70, Resulting Numbers: [8, 70]
Generated Node #0,0,4: 77:[8, 70] Operation: 78-8=70
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 77:[78, 16], Operations: ['87-79=8', '8+8=16']
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,77 unequal: No Solution
Exploring Operation: 78*16=1248, Resulting Numbers: [1248]
1248,77 unequal: No Solution
Exploring Operation: 78+16=94, Resulting Numbers: [94]
94,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[78, 1], Operations: ['87-79=8', '8/8=1']
Exploring Operation: 78*1=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,77 unequal: No Solution
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[78, 79, 8, 87], Operations: []
Exploring Operation: 87-79=8, Resulting Numbers: [78, 8, 8]
Generated Node #0,0: 77:[78, 8, 8] Operation: 87-79=8
Moving to Node #0,0
Current State: 77:[78, 8, 8], Operations: ['87-79=8']
Exploring Operation: 8/8=1, Resulting Numbers: [78, 1]
Generated Node #0,0,0: 77:[78, 1] Operation: 8/8=1
Moving to Node #0,0,0
Current State: 77:[78, 1], Operations: ['87-79=8', '8/8=1']
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
73,
6,
70,
93
] | 84 | [
"73+6=79",
"70+93=163",
"163-79=84"
] | Current State: 84:[73, 6, 70, 93], Operations: []
Exploring Operation: 73+6=79, Resulting Numbers: [70, 93, 79]
Generated Node #2: [70, 93, 79] from Operation: 73+6=79
Current State: 84:[70, 93, 79], Operations: ['73+6=79']
Exploring Operation: 70+93=163, Resulting Numbers: [79, 163]
Generated Node #3: [79, 163] from Operation: 70+93=163
Current State: 84:[79, 163], Operations: ['73+6=79', '70+93=163']
Exploring Operation: 163-79=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[73, 6, 70, 93], Operations: []
Exploring Operation: 73+6=79, Resulting Numbers: [70, 93, 79]
Generated Node #0,0: 84:[70, 93, 79] Operation: 73+6=79
Exploring Operation: 93-70=23, Resulting Numbers: [73, 6, 23]
Generated Node #0,1: 84:[73, 6, 23] Operation: 93-70=23
Exploring Operation: 73-70=3, Resulting Numbers: [6, 93, 3]
Generated Node #0,2: 84:[6, 93, 3] Operation: 73-70=3
Exploring Operation: 93-73=20, Resulting Numbers: [6, 70, 20]
Generated Node #0,3: 84:[6, 70, 20] Operation: 93-73=20
Exploring Operation: 6+70=76, Resulting Numbers: [73, 93, 76]
Generated Node #0,4: 84:[73, 93, 76] Operation: 6+70=76
Moving to Node #0,2
Current State: 84:[6, 93, 3], Operations: ['73-70=3']
Exploring Operation: 6-3=3, Resulting Numbers: [93, 3]
Generated Node #0,2,0: 84:[93, 3] Operation: 6-3=3
Exploring Operation: 93-3=90, Resulting Numbers: [6, 90]
Generated Node #0,2,1: 84:[6, 90] Operation: 93-3=90
Exploring Operation: 93-6=87, Resulting Numbers: [3, 87]
Generated Node #0,2,2: 84:[3, 87] Operation: 93-6=87
Exploring Operation: 93/3=31, Resulting Numbers: [6, 31]
Generated Node #0,2,3: 84:[6, 31] Operation: 93/3=31
Exploring Operation: 6/3=2, Resulting Numbers: [93, 2]
Generated Node #0,2,4: 84:[93, 2] Operation: 6/3=2
Moving to Node #0,1
Current State: 84:[73, 6, 23], Operations: ['93-70=23']
Exploring Operation: 73-23=50, Resulting Numbers: [6, 50]
Generated Node #0,1,0: 84:[6, 50] Operation: 73-23=50
Exploring Operation: 73+23=96, Resulting Numbers: [6, 96]
Generated Node #0,1,1: 84:[6, 96] Operation: 73+23=96
Exploring Operation: 73+6=79, Resulting Numbers: [23, 79]
Generated Node #0,1,2: 84:[23, 79] Operation: 73+6=79
Exploring Operation: 6+23=29, Resulting Numbers: [73, 29]
Generated Node #0,1,3: 84:[73, 29] Operation: 6+23=29
Exploring Operation: 23-6=17, Resulting Numbers: [73, 17]
Generated Node #0,1,4: 84:[73, 17] Operation: 23-6=17
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 84:[23, 79], Operations: ['93-70=23', '73+6=79']
Exploring Operation: 79-23=56, Resulting Numbers: [56]
56,84 unequal: No Solution
Exploring Operation: 23*79=1817, Resulting Numbers: [1817]
1817,84 unequal: No Solution
Exploring Operation: 23+79=102, Resulting Numbers: [102]
102,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:[6, 50], Operations: ['93-70=23', '73-23=50']
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,84 unequal: No Solution
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,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,1
Current State: 84:[6, 96], Operations: ['93-70=23', '73+23=96']
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,84 unequal: No Solution
Exploring Operation: 6*96=576, Resulting Numbers: [576]
576,84 unequal: No Solution
Exploring Operation: 6+96=102, Resulting Numbers: [102]
102,84 unequal: No Solution
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,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,3
Current State: 84:[73, 29], Operations: ['93-70=23', '6+23=29']
Exploring Operation: 73-29=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 73*29=2117, Resulting Numbers: [2117]
2117,84 unequal: No Solution
Exploring Operation: 73+29=102, Resulting Numbers: [102]
102,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,4
Current State: 84:[73, 17], Operations: ['93-70=23', '23-6=17']
Exploring Operation: 73+17=90, Resulting Numbers: [90]
90,84 unequal: No Solution
Exploring Operation: 73*17=1241, Resulting Numbers: [1241]
1241,84 unequal: No Solution
Exploring Operation: 73-17=56, Resulting Numbers: [56]
56,84 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: 84:[6, 70, 20], Operations: ['93-73=20']
Exploring Operation: 70+20=90, Resulting Numbers: [6, 90]
Generated Node #0,3,0: 84:[6, 90] Operation: 70+20=90
Exploring Operation: 70-20=50, Resulting Numbers: [6, 50]
Generated Node #0,3,1: 84:[6, 50] Operation: 70-20=50
Exploring Operation: 20-6=14, Resulting Numbers: [70, 14]
Generated Node #0,3,2: 84:[70, 14] Operation: 20-6=14
Exploring Operation: 6+70=76, Resulting Numbers: [20, 76]
Generated Node #0,3,3: 84:[20, 76] Operation: 6+70=76
Exploring Operation: 6+20=26, Resulting Numbers: [70, 26]
Generated Node #0,3,4: 84:[70, 26] Operation: 6+20=26
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 84:[6, 90], Operations: ['93-73=20', '70+20=90']
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 6+90=96, Resulting Numbers: [96]
96,84 unequal: No Solution
Exploring Operation: 6*90=540, Resulting Numbers: [540]
540,84 unequal: No Solution
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[73, 6, 70, 93], Operations: []
Exploring Operation: 93-73=20, Resulting Numbers: [6, 70, 20]
Generated Node #0,3: 84:[6, 70, 20] Operation: 93-73=20
Moving to Node #0,3
Current State: 84:[6, 70, 20], Operations: ['93-73=20']
Exploring Operation: 70+20=90, Resulting Numbers: [6, 90]
Generated Node #0,3,0: 84:[6, 90] Operation: 70+20=90
Moving to Node #0,3,0
Current State: 84:[6, 90], Operations: ['93-73=20', '70+20=90']
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_5 | mult_heuristic |
[
12,
21,
55,
31
] | 15 | [
"21-12=9",
"55-31=24",
"24-9=15"
] | Current State: 15:[12, 21, 55, 31], Operations: []
Exploring Operation: 21-12=9, Resulting Numbers: [55, 31, 9]
Generated Node #2: [55, 31, 9] from Operation: 21-12=9
Current State: 15:[55, 31, 9], Operations: ['21-12=9']
Exploring Operation: 55-31=24, Resulting Numbers: [9, 24]
Generated Node #3: [9, 24] from Operation: 55-31=24
Current State: 15:[9, 24], Operations: ['21-12=9', '55-31=24']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[12, 21, 55, 31], Operations: []
Exploring Operation: 55-21=34, Resulting Numbers: [12, 31, 34]
Generated Node #0,0: 15:[12, 31, 34] Operation: 55-21=34
Exploring Operation: 55-12=43, Resulting Numbers: [21, 31, 43]
Generated Node #0,1: 15:[21, 31, 43] Operation: 55-12=43
Exploring Operation: 55-31=24, Resulting Numbers: [12, 21, 24]
Generated Node #0,2: 15:[12, 21, 24] Operation: 55-31=24
Exploring Operation: 31-21=10, Resulting Numbers: [12, 55, 10]
Generated Node #0,3: 15:[12, 55, 10] Operation: 31-21=10
Exploring Operation: 31-12=19, Resulting Numbers: [21, 55, 19]
Generated Node #0,4: 15:[21, 55, 19] Operation: 31-12=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[12, 21, 24], Operations: ['55-31=24']
Exploring Operation: 12+21=33, Resulting Numbers: [24, 33]
Generated Node #0,2,0: 15:[24, 33] Operation: 12+21=33
Exploring Operation: 24/12=2, Resulting Numbers: [21, 2]
Generated Node #0,2,1: 15:[21, 2] Operation: 24/12=2
Exploring Operation: 24-12=12, Resulting Numbers: [21, 12]
Generated Node #0,2,2: 15:[21, 12] Operation: 24-12=12
Exploring Operation: 21-12=9, Resulting Numbers: [24, 9]
Generated Node #0,2,3: 15:[24, 9] Operation: 21-12=9
Exploring Operation: 24-21=3, Resulting Numbers: [12, 3]
Generated Node #0,2,4: 15:[12, 3] Operation: 24-21=3
Moving to Node #0,2,4
Current State: 15:[12, 3], Operations: ['55-31=24', '24-21=3']
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[12, 21, 55, 31], Operations: []
Exploring Operation: 55-31=24, Resulting Numbers: [12, 21, 24]
Generated Node #0,2: 15:[12, 21, 24] Operation: 55-31=24
Moving to Node #0,2
Current State: 15:[12, 21, 24], Operations: ['55-31=24']
Exploring Operation: 24-21=3, Resulting Numbers: [12, 3]
Generated Node #0,2,4: 15:[12, 3] Operation: 24-21=3
Moving to Node #0,2,4
Current State: 15:[12, 3], Operations: ['55-31=24', '24-21=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
1,
41,
29,
37
] | 32 | [
"41-1=40",
"37-29=8",
"40-8=32"
] | Current State: 32:[1, 41, 29, 37], Operations: []
Exploring Operation: 41-1=40, Resulting Numbers: [29, 37, 40]
Generated Node #2: [29, 37, 40] from Operation: 41-1=40
Current State: 32:[29, 37, 40], Operations: ['41-1=40']
Exploring Operation: 37-29=8, Resulting Numbers: [40, 8]
Generated Node #3: [40, 8] from Operation: 37-29=8
Current State: 32:[40, 8], Operations: ['41-1=40', '37-29=8']
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[1, 41, 29, 37], Operations: []
Exploring Operation: 41-29=12, Resulting Numbers: [1, 37, 12]
Generated Node #0,0: 32:[1, 37, 12] Operation: 41-29=12
Exploring Operation: 41-37=4, Resulting Numbers: [1, 29, 4]
Generated Node #0,1: 32:[1, 29, 4] Operation: 41-37=4
Exploring Operation: 37-29=8, Resulting Numbers: [1, 41, 8]
Generated Node #0,2: 32:[1, 41, 8] Operation: 37-29=8
Moving to Node #0,1
Current State: 32:[1, 29, 4], Operations: ['41-37=4']
Exploring Operation: 1+29=30, Resulting Numbers: [4, 30]
Generated Node #0,1,0: 32:[4, 30] Operation: 1+29=30
Exploring Operation: 29+4=33, Resulting Numbers: [1, 33]
Generated Node #0,1,1: 32:[1, 33] Operation: 29+4=33
Exploring Operation: 1*29=29, Resulting Numbers: [4, 29]
Generated Node #0,1,2: 32:[4, 29] Operation: 1*29=29
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 32:[4, 30], Operations: ['41-37=4', '1+29=30']
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,32 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,32 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[1, 33], Operations: ['41-37=4', '29+4=33']
Exploring Operation: 1*33=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[1, 41, 29, 37], Operations: []
Exploring Operation: 41-37=4, Resulting Numbers: [1, 29, 4]
Generated Node #0,1: 32:[1, 29, 4] Operation: 41-37=4
Moving to Node #0,1
Current State: 32:[1, 29, 4], Operations: ['41-37=4']
Exploring Operation: 29+4=33, Resulting Numbers: [1, 33]
Generated Node #0,1,1: 32:[1, 33] Operation: 29+4=33
Moving to Node #0,1,1
Current State: 32:[1, 33], Operations: ['41-37=4', '29+4=33']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
38,
58,
36,
76
] | 11 | [
"76/38=2",
"58-36=22",
"22/2=11"
] | Current State: 11:[38, 58, 36, 76], Operations: []
Exploring Operation: 76/38=2, Resulting Numbers: [58, 36, 2]
Generated Node #2: [58, 36, 2] from Operation: 76/38=2
Current State: 11:[58, 36, 2], Operations: ['76/38=2']
Exploring Operation: 58-36=22, Resulting Numbers: [2, 22]
Generated Node #3: [2, 22] from Operation: 58-36=22
Current State: 11:[2, 22], Operations: ['76/38=2', '58-36=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[38, 58, 36, 76], Operations: []
Exploring Operation: 76-58=18, Resulting Numbers: [38, 36, 18]
Generated Node #0,0: 11:[38, 36, 18] Operation: 76-58=18
Exploring Operation: 76/38=2, Resulting Numbers: [58, 36, 2]
Generated Node #0,1: 11:[58, 36, 2] Operation: 76/38=2
Moving to Node #0,0
Current State: 11:[38, 36, 18], Operations: ['76-58=18']
Exploring Operation: 38-18=20, Resulting Numbers: [36, 20]
Generated Node #0,0,0: 11:[36, 20] Operation: 38-18=20
Exploring Operation: 38-36=2, Resulting Numbers: [18, 2]
Generated Node #0,0,1: 11:[18, 2] Operation: 38-36=2
Moving to Node #0,1
Current State: 11:[58, 36, 2], Operations: ['76/38=2']
Exploring Operation: 58-36=22, Resulting Numbers: [2, 22]
Generated Node #0,1,0: 11:[2, 22] Operation: 58-36=22
Exploring Operation: 58/2=29, Resulting Numbers: [36, 29]
Generated Node #0,1,1: 11:[36, 29] Operation: 58/2=29
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[2, 22], Operations: ['76/38=2', '58-36=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[38, 58, 36, 76], Operations: []
Exploring Operation: 76/38=2, Resulting Numbers: [58, 36, 2]
Generated Node #0,1: 11:[58, 36, 2] Operation: 76/38=2
Moving to Node #0,1
Current State: 11:[58, 36, 2], Operations: ['76/38=2']
Exploring Operation: 58-36=22, Resulting Numbers: [2, 22]
Generated Node #0,1,0: 11:[2, 22] Operation: 58-36=22
Moving to Node #0,1,0
Current State: 11:[2, 22], Operations: ['76/38=2', '58-36=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
94,
11,
35,
11
] | 62 | [
"94-35=59",
"11*11=121",
"121-59=62"
] | Current State: 62:[94, 11, 35, 11], Operations: []
Exploring Operation: 94-35=59, Resulting Numbers: [11, 11, 59]
Generated Node #2: [11, 11, 59] from Operation: 94-35=59
Current State: 62:[11, 11, 59], Operations: ['94-35=59']
Exploring Operation: 11*11=121, Resulting Numbers: [59, 121]
Generated Node #3: [59, 121] from Operation: 11*11=121
Current State: 62:[59, 121], Operations: ['94-35=59', '11*11=121']
Exploring Operation: 121-59=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[94, 11, 35, 11], Operations: []
Exploring Operation: 94-11=83, Resulting Numbers: [11, 35, 83]
Generated Node #0,0: 62:[11, 35, 83] Operation: 94-11=83
Exploring Operation: 94-11=83, Resulting Numbers: [35, 11, 83]
Generated Node #0,1: 62:[35, 11, 83] Operation: 94-11=83
Exploring Operation: 11/11=1, Resulting Numbers: [94, 35, 1]
Generated Node #0,2: 62:[94, 35, 1] Operation: 11/11=1
Exploring Operation: 94-35=59, Resulting Numbers: [11, 11, 59]
Generated Node #0,3: 62:[11, 11, 59] Operation: 94-35=59
Exploring Operation: 11-11=0, Resulting Numbers: [94, 35, 0]
Generated Node #0,4: 62:[94, 35, 0] Operation: 11-11=0
Moving to Node #0,3
Current State: 62:[11, 11, 59], Operations: ['94-35=59']
Exploring Operation: 11/11=1, Resulting Numbers: [59, 1]
Generated Node #0,3,0: 62:[59, 1] Operation: 11/11=1
Exploring Operation: 11+59=70, Resulting Numbers: [11, 70]
Generated Node #0,3,1: 62:[11, 70] Operation: 11+59=70
Exploring Operation: 11-11=0, Resulting Numbers: [59, 0]
Generated Node #0,3,2: 62:[59, 0] Operation: 11-11=0
Exploring Operation: 11+11=22, Resulting Numbers: [59, 22]
Generated Node #0,3,3: 62:[59, 22] Operation: 11+11=22
Exploring Operation: 11+59=70, Resulting Numbers: [11, 70]
Generated Node #0,3,4: 62:[11, 70] Operation: 11+59=70
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 62:[59, 1], Operations: ['94-35=59', '11/11=1']
Exploring Operation: 59+1=60, Resulting Numbers: [60]
60,62 unequal: No Solution
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,62 unequal: No Solution
Exploring Operation: 59*1=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 62:[59, 0], Operations: ['94-35=59', '11-11=0']
Exploring Operation: 59*0=0, Resulting Numbers: [0]
0,62 unequal: No Solution
Exploring Operation: 59-0=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 59+0=59, Resulting Numbers: [59]
59,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 62:[59, 22], Operations: ['94-35=59', '11+11=22']
Exploring Operation: 59+22=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Exploring Operation: 59*22=1298, Resulting Numbers: [1298]
1298,62 unequal: No Solution
Exploring Operation: 59-22=37, Resulting Numbers: [37]
37,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 62:[11, 70], Operations: ['94-35=59', '11+59=70']
Exploring Operation: 11+70=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Exploring Operation: 11*70=770, Resulting Numbers: [770]
770,62 unequal: No Solution
Exploring Operation: 70-11=59, Resulting Numbers: [59]
59,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 62:[11, 70], Operations: ['94-35=59', '11+59=70']
Exploring Operation: 70-11=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 11*70=770, Resulting Numbers: [770]
770,62 unequal: No Solution
Exploring Operation: 11+70=81, Resulting Numbers: [81]
81,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 62:[35, 11, 83], Operations: ['94-11=83']
Exploring Operation: 11+83=94, Resulting Numbers: [35, 94]
Generated Node #0,1,0: 62:[35, 94] Operation: 11+83=94
Exploring Operation: 35+11=46, Resulting Numbers: [83, 46]
Generated Node #0,1,1: 62:[83, 46] Operation: 35+11=46
Exploring Operation: 35-11=24, Resulting Numbers: [83, 24]
Generated Node #0,1,2: 62:[83, 24] Operation: 35-11=24
Exploring Operation: 83-35=48, Resulting Numbers: [11, 48]
Generated Node #0,1,3: 62:[11, 48] Operation: 83-35=48
Exploring Operation: 83-11=72, Resulting Numbers: [35, 72]
Generated Node #0,1,4: 62:[35, 72] Operation: 83-11=72
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 62:[35, 72], Operations: ['94-11=83', '83-11=72']
Exploring Operation: 35+72=107, Resulting Numbers: [107]
107,62 unequal: No Solution
Exploring Operation: 35*72=2520, Resulting Numbers: [2520]
2520,62 unequal: No Solution
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,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,3
Current State: 62:[11, 48], Operations: ['94-11=83', '83-35=48']
Exploring Operation: 11+48=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 11*48=528, Resulting Numbers: [528]
528,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,2
Current State: 62:[83, 24], Operations: ['94-11=83', '35-11=24']
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 83+24=107, Resulting Numbers: [107]
107,62 unequal: No Solution
Exploring Operation: 83*24=1992, Resulting Numbers: [1992]
1992,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,0
Current State: 62:[35, 94], Operations: ['94-11=83', '11+83=94']
Exploring Operation: 35+94=129, Resulting Numbers: [129]
129,62 unequal: No Solution
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 35*94=3290, Resulting Numbers: [3290]
3290,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:[83, 46], Operations: ['94-11=83', '35+11=46']
Exploring Operation: 83*46=3818, Resulting Numbers: [3818]
3818,62 unequal: No Solution
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 83+46=129, Resulting Numbers: [129]
129,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:[11, 35, 83], Operations: ['94-11=83']
Exploring Operation: 83-11=72, Resulting Numbers: [35, 72]
Generated Node #0,0,0: 62:[35, 72] Operation: 83-11=72
Exploring Operation: 11+35=46, Resulting Numbers: [83, 46]
Generated Node #0,0,1: 62:[83, 46] Operation: 11+35=46
Exploring Operation: 83-35=48, Resulting Numbers: [11, 48]
Generated Node #0,0,2: 62:[11, 48] Operation: 83-35=48
Exploring Operation: 11+83=94, Resulting Numbers: [35, 94]
Generated Node #0,0,3: 62:[35, 94] Operation: 11+83=94
Exploring Operation: 35-11=24, Resulting Numbers: [83, 24]
Generated Node #0,0,4: 62:[83, 24] Operation: 35-11=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[35, 72], Operations: ['94-11=83', '83-11=72']
Exploring Operation: 35*72=2520, Resulting Numbers: [2520]
2520,62 unequal: No Solution
Exploring Operation: 35+72=107, Resulting Numbers: [107]
107,62 unequal: No Solution
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[11, 48], Operations: ['94-11=83', '83-35=48']
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 11*48=528, Resulting Numbers: [528]
528,62 unequal: No Solution
Exploring Operation: 11+48=59, Resulting Numbers: [59]
59,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 62:[83, 24], Operations: ['94-11=83', '35-11=24']
Exploring Operation: 83+24=107, Resulting Numbers: [107]
107,62 unequal: No Solution
Exploring Operation: 83*24=1992, Resulting Numbers: [1992]
1992,62 unequal: No Solution
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[83, 46], Operations: ['94-11=83', '11+35=46']
Exploring Operation: 83+46=129, Resulting Numbers: [129]
129,62 unequal: No Solution
Exploring Operation: 83*46=3818, Resulting Numbers: [3818]
3818,62 unequal: No Solution
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 62:[35, 94], Operations: ['94-11=83', '11+83=94']
Exploring Operation: 35*94=3290, Resulting Numbers: [3290]
3290,62 unequal: No Solution
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 35+94=129, Resulting Numbers: [129]
129,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 62:[94, 35, 1], Operations: ['11/11=1']
Exploring Operation: 94/1=94, Resulting Numbers: [35, 94]
Generated Node #0,2,0: 62:[35, 94] Operation: 94/1=94
Exploring Operation: 94-1=93, Resulting Numbers: [35, 93]
Generated Node #0,2,1: 62:[35, 93] Operation: 94-1=93
Exploring Operation: 94*1=94, Resulting Numbers: [35, 94]
Generated Node #0,2,2: 62:[35, 94] Operation: 94*1=94
Exploring Operation: 35-1=34, Resulting Numbers: [94, 34]
Generated Node #0,2,3: 62:[94, 34] Operation: 35-1=34
Exploring Operation: 94-35=59, Resulting Numbers: [1, 59]
Generated Node #0,2,4: 62:[1, 59] Operation: 94-35=59
Moving to Node #0,4
Current State: 62:[94, 35, 0], Operations: ['11-11=0']
Exploring Operation: 94*0=0, Resulting Numbers: [35, 0]
Generated Node #0,4,0: 62:[35, 0] Operation: 94*0=0
Exploring Operation: 94-35=59, Resulting Numbers: [0, 59]
Generated Node #0,4,1: 62:[0, 59] Operation: 94-35=59
Exploring Operation: 94+0=94, Resulting Numbers: [35, 94]
Generated Node #0,4,2: 62:[35, 94] Operation: 94+0=94
Exploring Operation: 35*0=0, Resulting Numbers: [94, 0]
Generated Node #0,4,3: 62:[94, 0] Operation: 35*0=0
Exploring Operation: 94-0=94, Resulting Numbers: [35, 94]
Generated Node #0,4,4: 62:[35, 94] Operation: 94-0=94
Moving to Node #0,2,4
Current State: 62:[1, 59], Operations: ['11/11=1', '94-35=59']
Exploring Operation: 1*59=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,62 unequal: No Solution
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 1+59=60, Resulting Numbers: [60]
60,62 unequal: No Solution
Moving to Node #0,4,1
Current State: 62:[0, 59], Operations: ['11-11=0', '94-35=59']
Exploring Operation: 0+59=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 0*59=0, Resulting Numbers: [0]
0,62 unequal: No Solution
Exploring Operation: 59-0=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Moving to Node #0,4,0
Current State: 62:[35, 0], Operations: ['11-11=0', '94*0=0']
Exploring Operation: 35*0=0, Resulting Numbers: [0]
0,62 unequal: No Solution
Exploring Operation: 35+0=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 35-0=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Moving to Node #0,4,3
Current State: 62:[94, 0], Operations: ['11-11=0', '35*0=0']
Exploring Operation: 94+0=94, Resulting Numbers: [94]
94,62 unequal: No Solution
Exploring Operation: 94*0=0, Resulting Numbers: [0]
0,62 unequal: No Solution
Exploring Operation: 94-0=94, Resulting Numbers: [94]
94,62 unequal: No Solution
Moving to Node #0,2,3
Current State: 62:[94, 34], Operations: ['11/11=1', '35-1=34']
Exploring Operation: 94*34=3196, Resulting Numbers: [3196]
3196,62 unequal: No Solution
Exploring Operation: 94-34=60, Resulting Numbers: [60]
60,62 unequal: No Solution
Exploring Operation: 94+34=128, Resulting Numbers: [128]
128,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[35, 93], Operations: ['11/11=1', '94-1=93']
Exploring Operation: 35*93=3255, Resulting Numbers: [3255]
3255,62 unequal: No Solution
Exploring Operation: 93-35=58, Resulting Numbers: [58]
58,62 unequal: No Solution
Exploring Operation: 35+93=128, Resulting Numbers: [128]
128,62 unequal: No Solution
Moving to Node #0,4,2
Current State: 62:[35, 94], Operations: ['11-11=0', '94+0=94']
Exploring Operation: 35+94=129, Resulting Numbers: [129]
129,62 unequal: No Solution
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 35*94=3290, Resulting Numbers: [3290]
3290,62 unequal: No Solution
Moving to Node #0,4,4
Current State: 62:[35, 94], Operations: ['11-11=0', '94-0=94']
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 35*94=3290, Resulting Numbers: [3290]
3290,62 unequal: No Solution
Exploring Operation: 35+94=129, Resulting Numbers: [129]
129,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[35, 94], Operations: ['11/11=1', '94*1=94']
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 35+94=129, Resulting Numbers: [129]
129,62 unequal: No Solution
Exploring Operation: 35*94=3290, Resulting Numbers: [3290]
3290,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[35, 94], Operations: ['11/11=1', '94/1=94']
Exploring Operation: 35+94=129, Resulting Numbers: [129]
129,62 unequal: No Solution
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 35*94=3290, Resulting Numbers: [3290]
3290,62 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
8,
20,
30,
10
] | 65 | [
"20*30=600",
"600/8=75",
"75-10=65"
] | Current State: 65:[8, 20, 30, 10], Operations: []
Exploring Operation: 20*30=600, Resulting Numbers: [8, 10, 600]
Generated Node #2: [8, 10, 600] from Operation: 20*30=600
Current State: 65:[8, 10, 600], Operations: ['20*30=600']
Exploring Operation: 600/8=75, Resulting Numbers: [10, 75]
Generated Node #3: [10, 75] from Operation: 600/8=75
Current State: 65:[10, 75], Operations: ['20*30=600', '600/8=75']
Exploring Operation: 75-10=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[8, 20, 30, 10], Operations: []
Exploring Operation: 30-20=10, Resulting Numbers: [8, 10, 10]
Generated Node #0,0: 65:[8, 10, 10] Operation: 30-20=10
Moving to Node #0,0
Current State: 65:[8, 10, 10], Operations: ['30-20=10']
Exploring Operation: 10-8=2, Resulting Numbers: [10, 2]
Generated Node #0,0,0: 65:[10, 2] Operation: 10-8=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[10, 2], Operations: ['30-20=10', '10-8=2']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,65 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 |
[
38,
33,
90,
48
] | 47 | [
"38-33=5",
"90-48=42",
"5+42=47"
] | Current State: 47:[38, 33, 90, 48], Operations: []
Exploring Operation: 38-33=5, Resulting Numbers: [90, 48, 5]
Generated Node #2: [90, 48, 5] from Operation: 38-33=5
Current State: 47:[90, 48, 5], Operations: ['38-33=5']
Exploring Operation: 90-48=42, Resulting Numbers: [5, 42]
Generated Node #3: [5, 42] from Operation: 90-48=42
Current State: 47:[5, 42], Operations: ['38-33=5', '90-48=42']
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[38, 33, 90, 48], Operations: []
Exploring Operation: 90-33=57, Resulting Numbers: [38, 48, 57]
Generated Node #0,0: 47:[38, 48, 57] Operation: 90-33=57
Exploring Operation: 90-38=52, Resulting Numbers: [33, 48, 52]
Generated Node #0,1: 47:[33, 48, 52] Operation: 90-38=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[38, 48, 57], Operations: ['90-33=57']
Exploring Operation: 57-38=19, Resulting Numbers: [48, 19]
Generated Node #0,0,0: 47:[48, 19] Operation: 57-38=19
Exploring Operation: 48-38=10, Resulting Numbers: [57, 10]
Generated Node #0,0,1: 47:[57, 10] Operation: 48-38=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[48, 19], Operations: ['90-33=57', '57-38=19']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,47 unequal: No Solution
No 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: 47:[57, 10], Operations: ['90-33=57', '48-38=10']
Exploring Operation: 57+10=67, Resulting Numbers: [67]
67,47 unequal: No Solution
Exploring Operation: 57-10=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[38, 33, 90, 48], Operations: []
Exploring Operation: 90-33=57, Resulting Numbers: [38, 48, 57]
Generated Node #0,0: 47:[38, 48, 57] Operation: 90-33=57
Moving to Node #0,0
Current State: 47:[38, 48, 57], Operations: ['90-33=57']
Exploring Operation: 48-38=10, Resulting Numbers: [57, 10]
Generated Node #0,0,1: 47:[57, 10] Operation: 48-38=10
Moving to Node #0,0,1
Current State: 47:[57, 10], Operations: ['90-33=57', '48-38=10']
Exploring Operation: 57-10=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
1,
65,
68,
22
] | 25 | [
"1*65=65",
"68+22=90",
"90-65=25"
] | Current State: 25:[1, 65, 68, 22], Operations: []
Exploring Operation: 1*65=65, Resulting Numbers: [68, 22, 65]
Generated Node #2: [68, 22, 65] from Operation: 1*65=65
Current State: 25:[68, 22, 65], Operations: ['1*65=65']
Exploring Operation: 68+22=90, Resulting Numbers: [65, 90]
Generated Node #3: [65, 90] from Operation: 68+22=90
Current State: 25:[65, 90], Operations: ['1*65=65', '68+22=90']
Exploring Operation: 90-65=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[1, 65, 68, 22], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [1, 22, 3]
Generated Node #0,0: 25:[1, 22, 3] Operation: 68-65=3
Moving to Node #0,0
Current State: 25:[1, 22, 3], Operations: ['68-65=3']
Exploring Operation: 1+22=23, Resulting Numbers: [3, 23]
Generated Node #0,0,0: 25:[3, 23] Operation: 1+22=23
Moving to Node #0,0,0
Current State: 25:[3, 23], Operations: ['68-65=3', '1+22=23']
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,25 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
33,
5,
36,
42
] | 50 | [
"33-5=28",
"36+42=78",
"78-28=50"
] | Current State: 50:[33, 5, 36, 42], Operations: []
Exploring Operation: 33-5=28, Resulting Numbers: [36, 42, 28]
Generated Node #2: [36, 42, 28] from Operation: 33-5=28
Current State: 50:[36, 42, 28], Operations: ['33-5=28']
Exploring Operation: 36+42=78, Resulting Numbers: [28, 78]
Generated Node #3: [28, 78] from Operation: 36+42=78
Current State: 50:[28, 78], Operations: ['33-5=28', '36+42=78']
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[33, 5, 36, 42], Operations: []
Exploring Operation: 36-33=3, Resulting Numbers: [5, 42, 3]
Generated Node #0,0: 50:[5, 42, 3] Operation: 36-33=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[5, 42, 3], Operations: ['36-33=3']
Exploring Operation: 5+42=47, Resulting Numbers: [3, 47]
Generated Node #0,0,0: 50:[3, 47] Operation: 5+42=47
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[3, 47], Operations: ['36-33=3', '5+42=47']
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[33, 5, 36, 42], Operations: []
Exploring Operation: 36-33=3, Resulting Numbers: [5, 42, 3]
Generated Node #0,0: 50:[5, 42, 3] Operation: 36-33=3
Moving to Node #0,0
Current State: 50:[5, 42, 3], Operations: ['36-33=3']
Exploring Operation: 5+42=47, Resulting Numbers: [3, 47]
Generated Node #0,0,0: 50:[3, 47] Operation: 5+42=47
Moving to Node #0,0,0
Current State: 50:[3, 47], Operations: ['36-33=3', '5+42=47']
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
60,
42,
23,
17
] | 17 | [
"60+42=102",
"23-17=6",
"102/6=17"
] | Current State: 17:[60, 42, 23, 17], Operations: []
Exploring Operation: 60+42=102, Resulting Numbers: [23, 17, 102]
Generated Node #2: [23, 17, 102] from Operation: 60+42=102
Current State: 17:[23, 17, 102], Operations: ['60+42=102']
Exploring Operation: 23-17=6, Resulting Numbers: [102, 6]
Generated Node #3: [102, 6] from Operation: 23-17=6
Current State: 17:[102, 6], Operations: ['60+42=102', '23-17=6']
Exploring Operation: 102/6=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[60, 42, 23, 17], Operations: []
Exploring Operation: 60-42=18, Resulting Numbers: [23, 17, 18]
Generated Node #0,0: 17:[23, 17, 18] Operation: 60-42=18
Exploring Operation: 60-23=37, Resulting Numbers: [42, 17, 37]
Generated Node #0,1: 17:[42, 17, 37] Operation: 60-23=37
Exploring Operation: 42-17=25, Resulting Numbers: [60, 23, 25]
Generated Node #0,2: 17:[60, 23, 25] Operation: 42-17=25
Exploring Operation: 60-17=43, Resulting Numbers: [42, 23, 43]
Generated Node #0,3: 17:[42, 23, 43] Operation: 60-17=43
Exploring Operation: 42-23=19, Resulting Numbers: [60, 17, 19]
Generated Node #0,4: 17:[60, 17, 19] Operation: 42-23=19
Moving to Node #0,0
Current State: 17:[23, 17, 18], Operations: ['60-42=18']
Exploring Operation: 23+18=41, Resulting Numbers: [17, 41]
Generated Node #0,0,0: 17:[17, 41] Operation: 23+18=41
Exploring Operation: 18-17=1, Resulting Numbers: [23, 1]
Generated Node #0,0,1: 17:[23, 1] Operation: 18-17=1
Exploring Operation: 23-18=5, Resulting Numbers: [17, 5]
Generated Node #0,0,2: 17:[17, 5] Operation: 23-18=5
Exploring Operation: 23+17=40, Resulting Numbers: [18, 40]
Generated Node #0,0,3: 17:[18, 40] Operation: 23+17=40
Exploring Operation: 23-17=6, Resulting Numbers: [18, 6]
Generated Node #0,0,4: 17:[18, 6] Operation: 23-17=6
Moving to Node #0,4
Current State: 17:[60, 17, 19], Operations: ['42-23=19']
Exploring Operation: 60-19=41, Resulting Numbers: [17, 41]
Generated Node #0,4,0: 17:[17, 41] Operation: 60-19=41
Exploring Operation: 60-17=43, Resulting Numbers: [19, 43]
Generated Node #0,4,1: 17:[19, 43] Operation: 60-17=43
Exploring Operation: 60+17=77, Resulting Numbers: [19, 77]
Generated Node #0,4,2: 17:[19, 77] Operation: 60+17=77
Exploring Operation: 60+19=79, Resulting Numbers: [17, 79]
Generated Node #0,4,3: 17:[17, 79] Operation: 60+19=79
Exploring Operation: 19-17=2, Resulting Numbers: [60, 2]
Generated Node #0,4,4: 17:[60, 2] Operation: 19-17=2
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 17:[17, 41], Operations: ['42-23=19', '60-19=41']
Exploring Operation: 17*41=697, Resulting Numbers: [697]
697,17 unequal: No Solution
Exploring Operation: 17+41=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 17:[19, 43], Operations: ['42-23=19', '60-17=43']
Exploring Operation: 19*43=817, Resulting Numbers: [817]
817,17 unequal: No Solution
Exploring Operation: 19+43=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 17:[60, 2], Operations: ['42-23=19', '19-17=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,17 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 17:[19, 77], Operations: ['42-23=19', '60+17=77']
Exploring Operation: 19+77=96, Resulting Numbers: [96]
96,17 unequal: No Solution
Exploring Operation: 19*77=1463, Resulting Numbers: [1463]
1463,17 unequal: No Solution
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 17:[17, 79], Operations: ['42-23=19', '60+19=79']
Exploring Operation: 17+79=96, Resulting Numbers: [96]
96,17 unequal: No Solution
Exploring Operation: 17*79=1343, Resulting Numbers: [1343]
1343,17 unequal: No Solution
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,17 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: 17:[42, 17, 37], Operations: ['60-23=37']
Exploring Operation: 42-37=5, Resulting Numbers: [17, 5]
Generated Node #0,1,0: 17:[17, 5] Operation: 42-37=5
Exploring Operation: 37-17=20, Resulting Numbers: [42, 20]
Generated Node #0,1,1: 17:[42, 20] Operation: 37-17=20
Exploring Operation: 42-17=25, Resulting Numbers: [37, 25]
Generated Node #0,1,2: 17:[37, 25] Operation: 42-17=25
Exploring Operation: 42+17=59, Resulting Numbers: [37, 59]
Generated Node #0,1,3: 17:[37, 59] Operation: 42+17=59
Exploring Operation: 42+37=79, Resulting Numbers: [17, 79]
Generated Node #0,1,4: 17:[17, 79] Operation: 42+37=79
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[17, 5], Operations: ['60-23=37', '42-37=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,17 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 17:[42, 20], Operations: ['60-23=37', '37-17=20']
Exploring Operation: 42*20=840, Resulting Numbers: [840]
840,17 unequal: No Solution
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,17 unequal: No Solution
Exploring Operation: 42+20=62, Resulting Numbers: [62]
62,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 17:[37, 25], Operations: ['60-23=37', '42-17=25']
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 37+25=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 37*25=925, Resulting Numbers: [925]
925,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 17:[37, 59], Operations: ['60-23=37', '42+17=59']
Exploring Operation: 37+59=96, Resulting Numbers: [96]
96,17 unequal: No Solution
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,17 unequal: No Solution
Exploring Operation: 37*59=2183, Resulting Numbers: [2183]
2183,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 17:[17, 79], Operations: ['60-23=37', '42+37=79']
Exploring Operation: 17*79=1343, Resulting Numbers: [1343]
1343,17 unequal: No Solution
Exploring Operation: 17+79=96, Resulting Numbers: [96]
96,17 unequal: No Solution
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 17:[60, 23, 25], Operations: ['42-17=25']
Exploring Operation: 25-23=2, Resulting Numbers: [60, 2]
Generated Node #0,2,0: 17:[60, 2] Operation: 25-23=2
Exploring Operation: 60-25=35, Resulting Numbers: [23, 35]
Generated Node #0,2,1: 17:[23, 35] Operation: 60-25=35
Exploring Operation: 60+23=83, Resulting Numbers: [25, 83]
Generated Node #0,2,2: 17:[25, 83] Operation: 60+23=83
Exploring Operation: 60-23=37, Resulting Numbers: [25, 37]
Generated Node #0,2,3: 17:[25, 37] Operation: 60-23=37
Exploring Operation: 60+25=85, Resulting Numbers: [23, 85]
Generated Node #0,2,4: 17:[23, 85] Operation: 60+25=85
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[23, 35], Operations: ['42-17=25', '60-25=35']
Exploring Operation: 23*35=805, Resulting Numbers: [805]
805,17 unequal: No Solution
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 23+35=58, Resulting Numbers: [58]
58,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 17:[25, 37], Operations: ['42-17=25', '60-23=37']
Exploring Operation: 25*37=925, Resulting Numbers: [925]
925,17 unequal: No Solution
Exploring Operation: 25+37=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 17:[60, 2], Operations: ['42-17=25', '25-23=2']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,17 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 17:[25, 83], Operations: ['42-17=25', '60+23=83']
Exploring Operation: 83-25=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 25+83=108, Resulting Numbers: [108]
108,17 unequal: No Solution
Exploring Operation: 25*83=2075, Resulting Numbers: [2075]
2075,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 17:[23, 85], Operations: ['42-17=25', '60+25=85']
Exploring Operation: 23*85=1955, Resulting Numbers: [1955]
1955,17 unequal: No Solution
Exploring Operation: 23+85=108, Resulting Numbers: [108]
108,17 unequal: No Solution
Exploring Operation: 85-23=62, Resulting Numbers: [62]
62,17 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: 17:[42, 23, 43], Operations: ['60-17=43']
Exploring Operation: 43-23=20, Resulting Numbers: [42, 20]
Generated Node #0,3,0: 17:[42, 20] Operation: 43-23=20
Exploring Operation: 42+23=65, Resulting Numbers: [43, 65]
Generated Node #0,3,1: 17:[43, 65] Operation: 42+23=65
Exploring Operation: 43-42=1, Resulting Numbers: [23, 1]
Generated Node #0,3,2: 17:[23, 1] Operation: 43-42=1
Exploring Operation: 42-23=19, Resulting Numbers: [43, 19]
Generated Node #0,3,3: 17:[43, 19] Operation: 42-23=19
Exploring Operation: 42+43=85, Resulting Numbers: [23, 85]
Generated Node #0,3,4: 17:[23, 85] Operation: 42+43=85
Moving to Node #0,0,2
Current State: 17:[17, 5], Operations: ['60-42=18', '23-18=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,17 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,17 unequal: No Solution
Moving to Node #0,0,4
Current State: 17:[18, 6], Operations: ['60-42=18', '23-17=6']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[23, 1], Operations: ['60-42=18', '18-17=1']
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,17 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,17 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,17 unequal: No Solution
Moving to Node #0,3,2
Current State: 17:[23, 1], Operations: ['60-17=43', '43-42=1']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,17 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,17 unequal: No Solution
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,17 unequal: No Solution
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Moving to Node #0,0,3
Current State: 17:[18, 40], Operations: ['60-42=18', '23+17=40']
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,17 unequal: No Solution
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[17, 41], Operations: ['60-42=18', '23+18=41']
Exploring Operation: 17+41=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 17*41=697, Resulting Numbers: [697]
697,17 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Moving to Node #0,3,0
Current State: 17:[42, 20], Operations: ['60-17=43', '43-23=20']
Exploring Operation: 42+20=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 42*20=840, Resulting Numbers: [840]
840,17 unequal: No Solution
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,17 unequal: No Solution
Moving to Node #0,3,3
Current State: 17:[43, 19], Operations: ['60-17=43', '42-23=19']
Exploring Operation: 43*19=817, Resulting Numbers: [817]
817,17 unequal: No Solution
Exploring Operation: 43+19=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Moving to Node #0,3,1
Current State: 17:[43, 65], Operations: ['60-17=43', '42+23=65']
Exploring Operation: 65-43=22, Resulting Numbers: [22]
22,17 unequal: No Solution
Exploring Operation: 43+65=108, Resulting Numbers: [108]
108,17 unequal: No Solution
Exploring Operation: 43*65=2795, Resulting Numbers: [2795]
2795,17 unequal: No Solution
Moving to Node #0,3,4
Current State: 17:[23, 85], Operations: ['60-17=43', '42+43=85']
Exploring Operation: 85-23=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 23+85=108, Resulting Numbers: [108]
108,17 unequal: No Solution
Exploring Operation: 23*85=1955, Resulting Numbers: [1955]
1955,17 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
90,
83,
35,
57
] | 86 | [
"83+57=140",
"140/35=4",
"90-4=86"
] | Current State: 86:[90, 83, 35, 57], Operations: []
Exploring Operation: 83+57=140, Resulting Numbers: [90, 35, 140]
Generated Node #2: [90, 35, 140] from Operation: 83+57=140
Current State: 86:[90, 35, 140], Operations: ['83+57=140']
Exploring Operation: 140/35=4, Resulting Numbers: [90, 4]
Generated Node #3: [90, 4] from Operation: 140/35=4
Current State: 86:[90, 4], Operations: ['83+57=140', '140/35=4']
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[90, 83, 35, 57], Operations: []
Exploring Operation: 90-83=7, Resulting Numbers: [35, 57, 7]
Generated Node #0,0: 86:[35, 57, 7] Operation: 90-83=7
Exploring Operation: 35+57=92, Resulting Numbers: [90, 83, 92]
Generated Node #0,1: 86:[90, 83, 92] Operation: 35+57=92
Exploring Operation: 90-57=33, Resulting Numbers: [83, 35, 33]
Generated Node #0,2: 86:[83, 35, 33] Operation: 90-57=33
Exploring Operation: 57-35=22, Resulting Numbers: [90, 83, 22]
Generated Node #0,3: 86:[90, 83, 22] Operation: 57-35=22
Exploring Operation: 83-35=48, Resulting Numbers: [90, 57, 48]
Generated Node #0,4: 86:[90, 57, 48] Operation: 83-35=48
Moving to Node #0,1
Current State: 86:[90, 83, 92], Operations: ['35+57=92']
Exploring Operation: 90-83=7, Resulting Numbers: [92, 7]
Generated Node #0,1,0: 86:[92, 7] Operation: 90-83=7
Exploring Operation: 90+83=173, Resulting Numbers: [92, 173]
Generated Node #0,1,1: 86:[92, 173] Operation: 90+83=173
Exploring Operation: 92-83=9, Resulting Numbers: [90, 9]
Generated Node #0,1,2: 86:[90, 9] Operation: 92-83=9
Exploring Operation: 92-90=2, Resulting Numbers: [83, 2]
Generated Node #0,1,3: 86:[83, 2] Operation: 92-90=2
Exploring Operation: 83+92=175, Resulting Numbers: [90, 175]
Generated Node #0,1,4: 86:[90, 175] Operation: 83+92=175
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 86:[83, 2], Operations: ['35+57=92', '92-90=2']
Exploring Operation: 83*2=166, Resulting Numbers: [166]
166,86 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[92, 7], Operations: ['35+57=92', '90-83=7']
Exploring Operation: 92+7=99, Resulting Numbers: [99]
99,86 unequal: No Solution
Exploring Operation: 92*7=644, Resulting Numbers: [644]
644,86 unequal: No Solution
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[90, 9], Operations: ['35+57=92', '92-83=9']
Exploring Operation: 90+9=99, Resulting Numbers: [99]
99,86 unequal: No Solution
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Exploring Operation: 90*9=810, Resulting Numbers: [810]
810,86 unequal: No Solution
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[92, 173], Operations: ['35+57=92', '90+83=173']
Exploring Operation: 173-92=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Exploring Operation: 92*173=15916, Resulting Numbers: [15916]
15916,86 unequal: No Solution
Exploring Operation: 92+173=265, Resulting Numbers: [265]
265,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 86:[90, 175], Operations: ['35+57=92', '83+92=175']
Exploring Operation: 175-90=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 90*175=15750, Resulting Numbers: [15750]
15750,86 unequal: No Solution
Exploring Operation: 90+175=265, Resulting Numbers: [265]
265,86 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: 86:[83, 35, 33], Operations: ['90-57=33']
Exploring Operation: 83-35=48, Resulting Numbers: [33, 48]
Generated Node #0,2,0: 86:[33, 48] Operation: 83-35=48
Exploring Operation: 83-33=50, Resulting Numbers: [35, 50]
Generated Node #0,2,1: 86:[35, 50] Operation: 83-33=50
Exploring Operation: 83+33=116, Resulting Numbers: [35, 116]
Generated Node #0,2,2: 86:[35, 116] Operation: 83+33=116
Exploring Operation: 35-33=2, Resulting Numbers: [83, 2]
Generated Node #0,2,3: 86:[83, 2] Operation: 35-33=2
Exploring Operation: 35+33=68, Resulting Numbers: [83, 68]
Generated Node #0,2,4: 86:[83, 68] Operation: 35+33=68
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 86:[83, 2], Operations: ['90-57=33', '35-33=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 83*2=166, Resulting Numbers: [166]
166,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[33, 48], Operations: ['90-57=33', '83-35=48']
Exploring Operation: 33*48=1584, Resulting Numbers: [1584]
1584,86 unequal: No Solution
Exploring Operation: 33+48=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[35, 50], Operations: ['90-57=33', '83-33=50']
Exploring Operation: 35*50=1750, Resulting Numbers: [1750]
1750,86 unequal: No Solution
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 35+50=85, Resulting Numbers: [85]
85,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 86:[83, 68], Operations: ['90-57=33', '35+33=68']
Exploring Operation: 83-68=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 83*68=5644, Resulting Numbers: [5644]
5644,86 unequal: No Solution
Exploring Operation: 83+68=151, Resulting Numbers: [151]
151,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[35, 116], Operations: ['90-57=33', '83+33=116']
Exploring Operation: 116-35=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Exploring Operation: 35+116=151, Resulting Numbers: [151]
151,86 unequal: No Solution
Exploring Operation: 35*116=4060, Resulting Numbers: [4060]
4060,86 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: 86:[90, 57, 48], Operations: ['83-35=48']
Exploring Operation: 57-48=9, Resulting Numbers: [90, 9]
Generated Node #0,4,0: 86:[90, 9] Operation: 57-48=9
Exploring Operation: 90-48=42, Resulting Numbers: [57, 42]
Generated Node #0,4,1: 86:[57, 42] Operation: 90-48=42
Exploring Operation: 90+57=147, Resulting Numbers: [48, 147]
Generated Node #0,4,2: 86:[48, 147] Operation: 90+57=147
Exploring Operation: 90-57=33, Resulting Numbers: [48, 33]
Generated Node #0,4,3: 86:[48, 33] Operation: 90-57=33
Exploring Operation: 57+48=105, Resulting Numbers: [90, 105]
Generated Node #0,4,4: 86:[90, 105] Operation: 57+48=105
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 86:[90, 9], Operations: ['83-35=48', '57-48=9']
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Exploring Operation: 90*9=810, Resulting Numbers: [810]
810,86 unequal: No Solution
Exploring Operation: 90+9=99, Resulting Numbers: [99]
99,86 unequal: No Solution
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 86:[57, 42], Operations: ['83-35=48', '90-48=42']
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 57*42=2394, Resulting Numbers: [2394]
2394,86 unequal: No Solution
Exploring Operation: 57+42=99, Resulting Numbers: [99]
99,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 86:[48, 33], Operations: ['83-35=48', '90-57=33']
Exploring Operation: 48*33=1584, Resulting Numbers: [1584]
1584,86 unequal: No Solution
Exploring Operation: 48+33=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 86:[90, 105], Operations: ['83-35=48', '57+48=105']
Exploring Operation: 105-90=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 90*105=9450, Resulting Numbers: [9450]
9450,86 unequal: No Solution
Exploring Operation: 90+105=195, Resulting Numbers: [195]
195,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 86:[48, 147], Operations: ['83-35=48', '90+57=147']
Exploring Operation: 48+147=195, Resulting Numbers: [195]
195,86 unequal: No Solution
Exploring Operation: 48*147=7056, Resulting Numbers: [7056]
7056,86 unequal: No Solution
Exploring Operation: 147-48=99, Resulting Numbers: [99]
99,86 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: 86:[35, 57, 7], Operations: ['90-83=7']
Exploring Operation: 35+7=42, Resulting Numbers: [57, 42]
Generated Node #0,0,0: 86:[57, 42] Operation: 35+7=42
Exploring Operation: 35/7=5, Resulting Numbers: [57, 5]
Generated Node #0,0,1: 86:[57, 5] Operation: 35/7=5
Exploring Operation: 35+57=92, Resulting Numbers: [7, 92]
Generated Node #0,0,2: 86:[7, 92] Operation: 35+57=92
Exploring Operation: 57-7=50, Resulting Numbers: [35, 50]
Generated Node #0,0,3: 86:[35, 50] Operation: 57-7=50
Exploring Operation: 57-35=22, Resulting Numbers: [7, 22]
Generated Node #0,0,4: 86:[7, 22] Operation: 57-35=22
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[7, 92], Operations: ['90-83=7', '35+57=92']
Exploring Operation: 7+92=99, Resulting Numbers: [99]
99,86 unequal: No Solution
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 7*92=644, Resulting Numbers: [644]
644,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[57, 42], Operations: ['90-83=7', '35+7=42']
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 57+42=99, Resulting Numbers: [99]
99,86 unequal: No Solution
Exploring Operation: 57*42=2394, Resulting Numbers: [2394]
2394,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 86:[35, 50], Operations: ['90-83=7', '57-7=50']
Exploring Operation: 35*50=1750, Resulting Numbers: [1750]
1750,86 unequal: No Solution
Exploring Operation: 35+50=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[57, 5], Operations: ['90-83=7', '35/7=5']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,86 unequal: No Solution
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,86 unequal: No Solution
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 86:[7, 22], Operations: ['90-83=7', '57-35=22']
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,86 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,86 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: 86:[90, 83, 22], Operations: ['57-35=22']
Exploring Operation: 83-22=61, Resulting Numbers: [90, 61]
Generated Node #0,3,0: 86:[90, 61] Operation: 83-22=61
Exploring Operation: 83+22=105, Resulting Numbers: [90, 105]
Generated Node #0,3,1: 86:[90, 105] Operation: 83+22=105
Exploring Operation: 90-83=7, Resulting Numbers: [22, 7]
Generated Node #0,3,2: 86:[22, 7] Operation: 90-83=7
Exploring Operation: 90+22=112, Resulting Numbers: [83, 112]
Generated Node #0,3,3: 86:[83, 112] Operation: 90+22=112
Exploring Operation: 90-22=68, Resulting Numbers: [83, 68]
Generated Node #0,3,4: 86:[83, 68] Operation: 90-22=68
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 86:[83, 68], Operations: ['57-35=22', '90-22=68']
Exploring Operation: 83+68=151, Resulting Numbers: [151]
151,86 unequal: No Solution
Exploring Operation: 83*68=5644, Resulting Numbers: [5644]
5644,86 unequal: No Solution
Exploring Operation: 83-68=15, Resulting Numbers: [15]
15,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 86:[90, 61], Operations: ['57-35=22', '83-22=61']
Exploring Operation: 90*61=5490, Resulting Numbers: [5490]
5490,86 unequal: No Solution
Exploring Operation: 90+61=151, Resulting Numbers: [151]
151,86 unequal: No Solution
Exploring Operation: 90-61=29, Resulting Numbers: [29]
29,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 86:[90, 105], Operations: ['57-35=22', '83+22=105']
Exploring Operation: 105-90=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 90*105=9450, Resulting Numbers: [9450]
9450,86 unequal: No Solution
Exploring Operation: 90+105=195, Resulting Numbers: [195]
195,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 86:[22, 7], Operations: ['57-35=22', '90-83=7']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 22*7=154, Resulting Numbers: [154]
154,86 unequal: No Solution
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 86:[83, 112], Operations: ['57-35=22', '90+22=112']
Exploring Operation: 83*112=9296, Resulting Numbers: [9296]
9296,86 unequal: No Solution
Exploring Operation: 112-83=29, Resulting Numbers: [29]
29,86 unequal: No Solution
Exploring Operation: 83+112=195, Resulting Numbers: [195]
195,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
66,
67,
70,
45
] | 25 | [
"67-66=1",
"70-45=25",
"1*25=25"
] | Current State: 25:[66, 67, 70, 45], Operations: []
Exploring Operation: 67-66=1, Resulting Numbers: [70, 45, 1]
Generated Node #2: [70, 45, 1] from Operation: 67-66=1
Current State: 25:[70, 45, 1], Operations: ['67-66=1']
Exploring Operation: 70-45=25, Resulting Numbers: [1, 25]
Generated Node #3: [1, 25] from Operation: 70-45=25
Current State: 25:[1, 25], Operations: ['67-66=1', '70-45=25']
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[66, 67, 70, 45], Operations: []
Exploring Operation: 70-67=3, Resulting Numbers: [66, 45, 3]
Generated Node #0,0: 25:[66, 45, 3] Operation: 70-67=3
Exploring Operation: 70-66=4, Resulting Numbers: [67, 45, 4]
Generated Node #0,1: 25:[67, 45, 4] Operation: 70-66=4
Moving to Node #0,0
Current State: 25:[66, 45, 3], Operations: ['70-67=3']
Exploring Operation: 66/3=22, Resulting Numbers: [45, 22]
Generated Node #0,0,0: 25:[45, 22] Operation: 66/3=22
Exploring Operation: 66-45=21, Resulting Numbers: [3, 21]
Generated Node #0,0,1: 25:[3, 21] Operation: 66-45=21
Moving to Node #0,1
Current State: 25:[67, 45, 4], Operations: ['70-66=4']
Exploring Operation: 67-45=22, Resulting Numbers: [4, 22]
Generated Node #0,1,0: 25:[4, 22] Operation: 67-45=22
Exploring Operation: 67-4=63, Resulting Numbers: [45, 63]
Generated Node #0,1,1: 25:[45, 63] Operation: 67-4=63
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[4, 22], Operations: ['70-66=4', '67-45=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[45, 63], Operations: ['70-66=4', '67-4=63']
Exploring Operation: 45+63=108, Resulting Numbers: [108]
108,25 unequal: No Solution
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,25 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: 25:[3, 21], Operations: ['70-67=3', '66-45=21']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[45, 22], Operations: ['70-67=3', '66/3=22']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 45+22=67, Resulting Numbers: [67]
67,25 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
36,
48,
96,
5
] | 79 | [
"48-36=12",
"96-5=91",
"91-12=79"
] | Current State: 79:[36, 48, 96, 5], Operations: []
Exploring Operation: 48-36=12, Resulting Numbers: [96, 5, 12]
Generated Node #2: [96, 5, 12] from Operation: 48-36=12
Current State: 79:[96, 5, 12], Operations: ['48-36=12']
Exploring Operation: 96-5=91, Resulting Numbers: [12, 91]
Generated Node #3: [12, 91] from Operation: 96-5=91
Current State: 79:[12, 91], Operations: ['48-36=12', '96-5=91']
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[36, 48, 96, 5], Operations: []
Exploring Operation: 36+5=41, Resulting Numbers: [48, 96, 41]
Generated Node #0,0: 79:[48, 96, 41] Operation: 36+5=41
Exploring Operation: 96-5=91, Resulting Numbers: [36, 48, 91]
Generated Node #0,1: 79:[36, 48, 91] Operation: 96-5=91
Exploring Operation: 48+5=53, Resulting Numbers: [36, 96, 53]
Generated Node #0,2: 79:[36, 96, 53] Operation: 48+5=53
Exploring Operation: 36-5=31, Resulting Numbers: [48, 96, 31]
Generated Node #0,3: 79:[48, 96, 31] Operation: 36-5=31
Exploring Operation: 36+48=84, Resulting Numbers: [96, 5, 84]
Generated Node #0,4: 79:[96, 5, 84] Operation: 36+48=84
Moving to Node #0,0
Current State: 79:[48, 96, 41], Operations: ['36+5=41']
Exploring Operation: 96-41=55, Resulting Numbers: [48, 55]
Generated Node #0,0,0: 79:[48, 55] Operation: 96-41=55
Exploring Operation: 96+41=137, Resulting Numbers: [48, 137]
Generated Node #0,0,1: 79:[48, 137] Operation: 96+41=137
Exploring Operation: 48+41=89, Resulting Numbers: [96, 89]
Generated Node #0,0,2: 79:[96, 89] Operation: 48+41=89
Exploring Operation: 48-41=7, Resulting Numbers: [96, 7]
Generated Node #0,0,3: 79:[96, 7] Operation: 48-41=7
Exploring Operation: 96-48=48, Resulting Numbers: [41, 48]
Generated Node #0,0,4: 79:[41, 48] Operation: 96-48=48
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[96, 89], Operations: ['36+5=41', '48+41=89']
Exploring Operation: 96*89=8544, Resulting Numbers: [8544]
8544,79 unequal: No Solution
Exploring Operation: 96+89=185, Resulting Numbers: [185]
185,79 unequal: No Solution
Exploring Operation: 96-89=7, Resulting Numbers: [7]
7,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[48, 55], Operations: ['36+5=41', '96-41=55']
Exploring Operation: 55-48=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 48+55=103, Resulting Numbers: [103]
103,79 unequal: No Solution
Exploring Operation: 48*55=2640, Resulting Numbers: [2640]
2640,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 79:[41, 48], Operations: ['36+5=41', '96-48=48']
Exploring Operation: 48-41=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 41+48=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 41*48=1968, Resulting Numbers: [1968]
1968,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[48, 137], Operations: ['36+5=41', '96+41=137']
Exploring Operation: 48*137=6576, Resulting Numbers: [6576]
6576,79 unequal: No Solution
Exploring Operation: 48+137=185, Resulting Numbers: [185]
185,79 unequal: No Solution
Exploring Operation: 137-48=89, Resulting Numbers: [89]
89,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 79:[96, 7], Operations: ['36+5=41', '48-41=7']
Exploring Operation: 96+7=103, Resulting Numbers: [103]
103,79 unequal: No Solution
Exploring Operation: 96*7=672, Resulting Numbers: [672]
672,79 unequal: No Solution
Exploring Operation: 96-7=89, Resulting Numbers: [89]
89,79 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: 79:[36, 96, 53], Operations: ['48+5=53']
Exploring Operation: 96-36=60, Resulting Numbers: [53, 60]
Generated Node #0,2,0: 79:[53, 60] Operation: 96-36=60
Exploring Operation: 36+96=132, Resulting Numbers: [53, 132]
Generated Node #0,2,1: 79:[53, 132] Operation: 36+96=132
Exploring Operation: 96-53=43, Resulting Numbers: [36, 43]
Generated Node #0,2,2: 79:[36, 43] Operation: 96-53=43
Exploring Operation: 53-36=17, Resulting Numbers: [96, 17]
Generated Node #0,2,3: 79:[96, 17] Operation: 53-36=17
Exploring Operation: 36+53=89, Resulting Numbers: [96, 89]
Generated Node #0,2,4: 79:[96, 89] Operation: 36+53=89
Moving to Node #0,1
Current State: 79:[36, 48, 91], Operations: ['96-5=91']
Exploring Operation: 48-36=12, Resulting Numbers: [91, 12]
Generated Node #0,1,0: 79:[91, 12] Operation: 48-36=12
Exploring Operation: 36+48=84, Resulting Numbers: [91, 84]
Generated Node #0,1,1: 79:[91, 84] Operation: 36+48=84
Exploring Operation: 36+91=127, Resulting Numbers: [48, 127]
Generated Node #0,1,2: 79:[48, 127] Operation: 36+91=127
Exploring Operation: 91-48=43, Resulting Numbers: [36, 43]
Generated Node #0,1,3: 79:[36, 43] Operation: 91-48=43
Exploring Operation: 91-36=55, Resulting Numbers: [48, 55]
Generated Node #0,1,4: 79:[48, 55] Operation: 91-36=55
Moving to Node #0,3
Current State: 79:[48, 96, 31], Operations: ['36-5=31']
Exploring Operation: 48+31=79, Resulting Numbers: [96, 79]
Generated Node #0,3,0: 79:[96, 79] Operation: 48+31=79
Exploring Operation: 96-31=65, Resulting Numbers: [48, 65]
Generated Node #0,3,1: 79:[48, 65] Operation: 96-31=65
Exploring Operation: 96+31=127, Resulting Numbers: [48, 127]
Generated Node #0,3,2: 79:[48, 127] Operation: 96+31=127
Exploring Operation: 48-31=17, Resulting Numbers: [96, 17]
Generated Node #0,3,3: 79:[96, 17] Operation: 48-31=17
Exploring Operation: 96-48=48, Resulting Numbers: [31, 48]
Generated Node #0,3,4: 79:[31, 48] Operation: 96-48=48
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 79:[96, 79], Operations: ['36-5=31', '48+31=79']
Exploring Operation: 96-79=17, Resulting Numbers: [17]
17,79 unequal: No Solution
Exploring Operation: 96*79=7584, Resulting Numbers: [7584]
7584,79 unequal: No Solution
Exploring Operation: 96+79=175, Resulting Numbers: [175]
175,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 79:[48, 65], Operations: ['36-5=31', '96-31=65']
Exploring Operation: 65-48=17, Resulting Numbers: [17]
17,79 unequal: No Solution
Exploring Operation: 48*65=3120, Resulting Numbers: [3120]
3120,79 unequal: No Solution
Exploring Operation: 48+65=113, Resulting Numbers: [113]
113,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 79:[48, 127], Operations: ['36-5=31', '96+31=127']
Exploring Operation: 48*127=6096, Resulting Numbers: [6096]
6096,79 unequal: No Solution
Exploring Operation: 127-48=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[36, 48, 96, 5], Operations: []
Exploring Operation: 36-5=31, Resulting Numbers: [48, 96, 31]
Generated Node #0,3: 79:[48, 96, 31] Operation: 36-5=31
Moving to Node #0,3
Current State: 79:[48, 96, 31], Operations: ['36-5=31']
Exploring Operation: 96+31=127, Resulting Numbers: [48, 127]
Generated Node #0,3,2: 79:[48, 127] Operation: 96+31=127
Moving to Node #0,3,2
Current State: 79:[48, 127], Operations: ['36-5=31', '96+31=127']
Exploring Operation: 127-48=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.954861 | hs_5 | sum_heuristic |
[
94,
22,
15,
5
] | 28 | [
"22*15=330",
"330/5=66",
"94-66=28"
] | Current State: 28:[94, 22, 15, 5], Operations: []
Exploring Operation: 22*15=330, Resulting Numbers: [94, 5, 330]
Generated Node #2: [94, 5, 330] from Operation: 22*15=330
Current State: 28:[94, 5, 330], Operations: ['22*15=330']
Exploring Operation: 330/5=66, Resulting Numbers: [94, 66]
Generated Node #3: [94, 66] from Operation: 330/5=66
Current State: 28:[94, 66], Operations: ['22*15=330', '330/5=66']
Exploring Operation: 94-66=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[94, 22, 15, 5], Operations: []
Exploring Operation: 22-15=7, Resulting Numbers: [94, 5, 7]
Generated Node #0,0: 28:[94, 5, 7] Operation: 22-15=7
Exploring Operation: 22+5=27, Resulting Numbers: [94, 15, 27]
Generated Node #0,1: 28:[94, 15, 27] Operation: 22+5=27
Exploring Operation: 94-15=79, Resulting Numbers: [22, 5, 79]
Generated Node #0,2: 28:[22, 5, 79] Operation: 94-15=79
Exploring Operation: 94-22=72, Resulting Numbers: [15, 5, 72]
Generated Node #0,3: 28:[15, 5, 72] Operation: 94-22=72
Exploring Operation: 94-5=89, Resulting Numbers: [22, 15, 89]
Generated Node #0,4: 28:[22, 15, 89] Operation: 94-5=89
Start Sub Search at level 1: Moving to Node #0,3
Current State: 28:[15, 5, 72], Operations: ['94-22=72']
Exploring Operation: 15+5=20, Resulting Numbers: [72, 20]
Generated Node #0,3,0: 28:[72, 20] Operation: 15+5=20
Exploring Operation: 15-5=10, Resulting Numbers: [72, 10]
Generated Node #0,3,1: 28:[72, 10] Operation: 15-5=10
Exploring Operation: 15/5=3, Resulting Numbers: [72, 3]
Generated Node #0,3,2: 28:[72, 3] Operation: 15/5=3
Exploring Operation: 72-5=67, Resulting Numbers: [15, 67]
Generated Node #0,3,3: 28:[15, 67] Operation: 72-5=67
Exploring Operation: 72-15=57, Resulting Numbers: [5, 57]
Generated Node #0,3,4: 28:[5, 57] Operation: 72-15=57
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 28:[5, 57], Operations: ['94-22=72', '72-15=57']
Exploring Operation: 5*57=285, Resulting Numbers: [285]
285,28 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Exploring Operation: 5+57=62, Resulting Numbers: [62]
62,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 28:[15, 67], Operations: ['94-22=72', '72-5=67']
Exploring Operation: 15+67=82, Resulting Numbers: [82]
82,28 unequal: No Solution
Exploring Operation: 15*67=1005, Resulting Numbers: [1005]
1005,28 unequal: No Solution
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 28:[72, 3], Operations: ['94-22=72', '15/5=3']
Exploring Operation: 72*3=216, Resulting Numbers: [216]
216,28 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,28 unequal: No Solution
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 28:[72, 10], Operations: ['94-22=72', '15-5=10']
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,28 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,28 unequal: No Solution
Exploring Operation: 72*10=720, Resulting Numbers: [720]
720,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 28:[72, 20], Operations: ['94-22=72', '15+5=20']
Exploring Operation: 72*20=1440, Resulting Numbers: [1440]
1440,28 unequal: No Solution
Exploring Operation: 72+20=92, Resulting Numbers: [92]
92,28 unequal: No Solution
Exploring Operation: 72-20=52, Resulting Numbers: [52]
52,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[22, 5, 79], Operations: ['94-15=79']
Exploring Operation: 5+79=84, Resulting Numbers: [22, 84]
Generated Node #0,2,0: 28:[22, 84] Operation: 5+79=84
Exploring Operation: 22+5=27, Resulting Numbers: [79, 27]
Generated Node #0,2,1: 28:[79, 27] Operation: 22+5=27
Exploring Operation: 79-5=74, Resulting Numbers: [22, 74]
Generated Node #0,2,2: 28:[22, 74] Operation: 79-5=74
Exploring Operation: 22-5=17, Resulting Numbers: [79, 17]
Generated Node #0,2,3: 28:[79, 17] Operation: 22-5=17
Exploring Operation: 79-22=57, Resulting Numbers: [5, 57]
Generated Node #0,2,4: 28:[5, 57] Operation: 79-22=57
Moving to Node #0,2,4
Current State: 28:[5, 57], Operations: ['94-15=79', '79-22=57']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Exploring Operation: 5+57=62, Resulting Numbers: [62]
62,28 unequal: No Solution
Exploring Operation: 5*57=285, Resulting Numbers: [285]
285,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[22, 74], Operations: ['94-15=79', '79-5=74']
Exploring Operation: 22*74=1628, Resulting Numbers: [1628]
1628,28 unequal: No Solution
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Exploring Operation: 22+74=96, Resulting Numbers: [96]
96,28 unequal: No Solution
Moving to Node #0,2,1
Current State: 28:[79, 27], Operations: ['94-15=79', '22+5=27']
Exploring Operation: 79+27=106, Resulting Numbers: [106]
106,28 unequal: No Solution
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Exploring Operation: 79*27=2133, Resulting Numbers: [2133]
2133,28 unequal: No Solution
Moving to Node #0,2,3
Current State: 28:[79, 17], Operations: ['94-15=79', '22-5=17']
Exploring Operation: 79*17=1343, Resulting Numbers: [1343]
1343,28 unequal: No Solution
Exploring Operation: 79+17=96, Resulting Numbers: [96]
96,28 unequal: No Solution
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[22, 84], Operations: ['94-15=79', '5+79=84']
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,28 unequal: No Solution
Exploring Operation: 22*84=1848, Resulting Numbers: [1848]
1848,28 unequal: No Solution
Exploring Operation: 22+84=106, Resulting Numbers: [106]
106,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[94, 5, 7], Operations: ['22-15=7']
Exploring Operation: 94-5=89, Resulting Numbers: [7, 89]
Generated Node #0,0,0: 28:[7, 89] Operation: 94-5=89
Exploring Operation: 94-7=87, Resulting Numbers: [5, 87]
Generated Node #0,0,1: 28:[5, 87] Operation: 94-7=87
Exploring Operation: 7-5=2, Resulting Numbers: [94, 2]
Generated Node #0,0,2: 28:[94, 2] Operation: 7-5=2
Exploring Operation: 94+5=99, Resulting Numbers: [7, 99]
Generated Node #0,0,3: 28:[7, 99] Operation: 94+5=99
Exploring Operation: 5+7=12, Resulting Numbers: [94, 12]
Generated Node #0,0,4: 28:[94, 12] Operation: 5+7=12
Moving to Node #0,0,1
Current State: 28:[5, 87], Operations: ['22-15=7', '94-7=87']
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,28 unequal: No Solution
Exploring Operation: 5*87=435, Resulting Numbers: [435]
435,28 unequal: No Solution
Exploring Operation: 5+87=92, Resulting Numbers: [92]
92,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[7, 89], Operations: ['22-15=7', '94-5=89']
Exploring Operation: 7*89=623, Resulting Numbers: [623]
623,28 unequal: No Solution
Exploring Operation: 7+89=96, Resulting Numbers: [96]
96,28 unequal: No Solution
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[94, 2], Operations: ['22-15=7', '7-5=2']
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,28 unequal: No Solution
Exploring Operation: 94*2=188, Resulting Numbers: [188]
188,28 unequal: No Solution
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,28 unequal: No Solution
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Moving to Node #0,0,4
Current State: 28:[94, 12], Operations: ['22-15=7', '5+7=12']
Exploring Operation: 94-12=82, Resulting Numbers: [82]
82,28 unequal: No Solution
Exploring Operation: 94+12=106, Resulting Numbers: [106]
106,28 unequal: No Solution
Exploring Operation: 94*12=1128, Resulting Numbers: [1128]
1128,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[7, 99], Operations: ['22-15=7', '94+5=99']
Exploring Operation: 7*99=693, Resulting Numbers: [693]
693,28 unequal: No Solution
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,28 unequal: No Solution
Exploring Operation: 7+99=106, Resulting Numbers: [106]
106,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[94, 15, 27], Operations: ['22+5=27']
Exploring Operation: 94+15=109, Resulting Numbers: [27, 109]
Generated Node #0,1,0: 28:[27, 109] Operation: 94+15=109
Exploring Operation: 94-15=79, Resulting Numbers: [27, 79]
Generated Node #0,1,1: 28:[27, 79] Operation: 94-15=79
Exploring Operation: 27-15=12, Resulting Numbers: [94, 12]
Generated Node #0,1,2: 28:[94, 12] Operation: 27-15=12
Exploring Operation: 94-27=67, Resulting Numbers: [15, 67]
Generated Node #0,1,3: 28:[15, 67] Operation: 94-27=67
Exploring Operation: 15+27=42, Resulting Numbers: [94, 42]
Generated Node #0,1,4: 28:[94, 42] Operation: 15+27=42
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 28:[15, 67], Operations: ['22+5=27', '94-27=67']
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Exploring Operation: 15*67=1005, Resulting Numbers: [1005]
1005,28 unequal: No Solution
Exploring Operation: 15+67=82, Resulting Numbers: [82]
82,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 28:[27, 79], Operations: ['22+5=27', '94-15=79']
Exploring Operation: 27+79=106, Resulting Numbers: [106]
106,28 unequal: No Solution
Exploring Operation: 27*79=2133, Resulting Numbers: [2133]
2133,28 unequal: No Solution
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 28:[94, 12], Operations: ['22+5=27', '27-15=12']
Exploring Operation: 94-12=82, Resulting Numbers: [82]
82,28 unequal: No Solution
Exploring Operation: 94*12=1128, Resulting Numbers: [1128]
1128,28 unequal: No Solution
Exploring Operation: 94+12=106, Resulting Numbers: [106]
106,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 28:[94, 42], Operations: ['22+5=27', '15+27=42']
Exploring Operation: 94*42=3948, Resulting Numbers: [3948]
3948,28 unequal: No Solution
Exploring Operation: 94+42=136, Resulting Numbers: [136]
136,28 unequal: No Solution
Exploring Operation: 94-42=52, Resulting Numbers: [52]
52,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 28:[27, 109], Operations: ['22+5=27', '94+15=109']
Exploring Operation: 27*109=2943, Resulting Numbers: [2943]
2943,28 unequal: No Solution
Exploring Operation: 109-27=82, Resulting Numbers: [82]
82,28 unequal: No Solution
Exploring Operation: 27+109=136, Resulting Numbers: [136]
136,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 28:[22, 15, 89], Operations: ['94-5=89']
Exploring Operation: 22-15=7, Resulting Numbers: [89, 7]
Generated Node #0,4,0: 28:[89, 7] Operation: 22-15=7
Exploring Operation: 89-22=67, Resulting Numbers: [15, 67]
Generated Node #0,4,1: 28:[15, 67] Operation: 89-22=67
Exploring Operation: 89-15=74, Resulting Numbers: [22, 74]
Generated Node #0,4,2: 28:[22, 74] Operation: 89-15=74
Exploring Operation: 22+15=37, Resulting Numbers: [89, 37]
Generated Node #0,4,3: 28:[89, 37] Operation: 22+15=37
Exploring Operation: 15+89=104, Resulting Numbers: [22, 104]
Generated Node #0,4,4: 28:[22, 104] Operation: 15+89=104
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 28:[15, 67], Operations: ['94-5=89', '89-22=67']
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Exploring Operation: 15*67=1005, Resulting Numbers: [1005]
1005,28 unequal: No Solution
Exploring Operation: 15+67=82, Resulting Numbers: [82]
82,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 28:[22, 74], Operations: ['94-5=89', '89-15=74']
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Exploring Operation: 22*74=1628, Resulting Numbers: [1628]
1628,28 unequal: No Solution
Exploring Operation: 22+74=96, Resulting Numbers: [96]
96,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 28:[89, 7], Operations: ['94-5=89', '22-15=7']
Exploring Operation: 89+7=96, Resulting Numbers: [96]
96,28 unequal: No Solution
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,28 unequal: No Solution
Exploring Operation: 89*7=623, Resulting Numbers: [623]
623,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 28:[89, 37], Operations: ['94-5=89', '22+15=37']
Exploring Operation: 89-37=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Exploring Operation: 89*37=3293, Resulting Numbers: [3293]
3293,28 unequal: No Solution
Exploring Operation: 89+37=126, Resulting Numbers: [126]
126,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 28:[22, 104], Operations: ['94-5=89', '15+89=104']
Exploring Operation: 22+104=126, Resulting Numbers: [126]
126,28 unequal: No Solution
Exploring Operation: 22*104=2288, Resulting Numbers: [2288]
2288,28 unequal: No Solution
Exploring Operation: 104-22=82, Resulting Numbers: [82]
82,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
95,
45,
96,
47
] | 47 | [
"95-47=48",
"96/48=2",
"45+2=47"
] | Current State: 47:[95, 45, 96, 47], Operations: []
Exploring Operation: 95-47=48, Resulting Numbers: [45, 96, 48]
Generated Node #2: [45, 96, 48] from Operation: 95-47=48
Current State: 47:[45, 96, 48], Operations: ['95-47=48']
Exploring Operation: 96/48=2, Resulting Numbers: [45, 2]
Generated Node #3: [45, 2] from Operation: 96/48=2
Current State: 47:[45, 2], Operations: ['95-47=48', '96/48=2']
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[95, 45, 96, 47], Operations: []
Exploring Operation: 96-95=1, Resulting Numbers: [45, 47, 1]
Generated Node #0,0: 47:[45, 47, 1] Operation: 96-95=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[45, 47, 1], Operations: ['96-95=1']
Exploring Operation: 45+1=46, Resulting Numbers: [47, 46]
Generated Node #0,0,0: 47:[47, 46] Operation: 45+1=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[47, 46], Operations: ['96-95=1', '45+1=46']
Exploring Operation: 47+46=93, Resulting Numbers: [93]
93,47 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 |
[
78,
10,
9,
22
] | 75 | [
"78+10=88",
"22-9=13",
"88-13=75"
] | Current State: 75:[78, 10, 9, 22], Operations: []
Exploring Operation: 78+10=88, Resulting Numbers: [9, 22, 88]
Generated Node #2: [9, 22, 88] from Operation: 78+10=88
Current State: 75:[9, 22, 88], Operations: ['78+10=88']
Exploring Operation: 22-9=13, Resulting Numbers: [88, 13]
Generated Node #3: [88, 13] from Operation: 22-9=13
Current State: 75:[88, 13], Operations: ['78+10=88', '22-9=13']
Exploring Operation: 88-13=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[78, 10, 9, 22], Operations: []
Exploring Operation: 10-9=1, Resulting Numbers: [78, 22, 1]
Generated Node #0,0: 75:[78, 22, 1] Operation: 10-9=1
Exploring Operation: 10+9=19, Resulting Numbers: [78, 22, 19]
Generated Node #0,1: 75:[78, 22, 19] Operation: 10+9=19
Exploring Operation: 22-9=13, Resulting Numbers: [78, 10, 13]
Generated Node #0,2: 75:[78, 10, 13] Operation: 22-9=13
Exploring Operation: 22-10=12, Resulting Numbers: [78, 9, 12]
Generated Node #0,3: 75:[78, 9, 12] Operation: 22-10=12
Moving to Node #0,0
Current State: 75:[78, 22, 1], Operations: ['10-9=1']
Exploring Operation: 22+1=23, Resulting Numbers: [78, 23]
Generated Node #0,0,0: 75:[78, 23] Operation: 22+1=23
Exploring Operation: 78*1=78, Resulting Numbers: [22, 78]
Generated Node #0,0,1: 75:[22, 78] Operation: 78*1=78
Exploring Operation: 78/1=78, Resulting Numbers: [22, 78]
Generated Node #0,0,2: 75:[22, 78] Operation: 78/1=78
Exploring Operation: 78-1=77, Resulting Numbers: [22, 77]
Generated Node #0,0,3: 75:[22, 77] Operation: 78-1=77
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[78, 23], Operations: ['10-9=1', '22+1=23']
Exploring Operation: 78+23=101, Resulting Numbers: [101]
101,75 unequal: No Solution
Exploring Operation: 78*23=1794, Resulting Numbers: [1794]
1794,75 unequal: No Solution
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,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,3
Current State: 75:[22, 77], Operations: ['10-9=1', '78-1=77']
Exploring Operation: 22*77=1694, Resulting Numbers: [1694]
1694,75 unequal: No Solution
Exploring Operation: 77-22=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Exploring Operation: 22+77=99, Resulting Numbers: [99]
99,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[22, 78], Operations: ['10-9=1', '78*1=78']
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,75 unequal: No Solution
Exploring Operation: 22+78=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 22*78=1716, Resulting Numbers: [1716]
1716,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 75:[22, 78], Operations: ['10-9=1', '78/1=78']
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,75 unequal: No Solution
Exploring Operation: 22+78=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 22*78=1716, Resulting Numbers: [1716]
1716,75 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: 75:[78, 10, 13], Operations: ['22-9=13']
Exploring Operation: 78-10=68, Resulting Numbers: [13, 68]
Generated Node #0,2,0: 75:[13, 68] Operation: 78-10=68
Exploring Operation: 10+13=23, Resulting Numbers: [78, 23]
Generated Node #0,2,1: 75:[78, 23] Operation: 10+13=23
Exploring Operation: 78/13=6, Resulting Numbers: [10, 6]
Generated Node #0,2,2: 75:[10, 6] Operation: 78/13=6
Exploring Operation: 13-10=3, Resulting Numbers: [78, 3]
Generated Node #0,2,3: 75:[78, 3] Operation: 13-10=3
Moving to Node #0,1
Current State: 75:[78, 22, 19], Operations: ['10+9=19']
Exploring Operation: 78-22=56, Resulting Numbers: [19, 56]
Generated Node #0,1,0: 75:[19, 56] Operation: 78-22=56
Exploring Operation: 78-19=59, Resulting Numbers: [22, 59]
Generated Node #0,1,1: 75:[22, 59] Operation: 78-19=59
Exploring Operation: 22-19=3, Resulting Numbers: [78, 3]
Generated Node #0,1,2: 75:[78, 3] Operation: 22-19=3
Exploring Operation: 22+19=41, Resulting Numbers: [78, 41]
Generated Node #0,1,3: 75:[78, 41] Operation: 22+19=41
Moving to Node #0,3
Current State: 75:[78, 9, 12], Operations: ['22-10=12']
Exploring Operation: 9+12=21, Resulting Numbers: [78, 21]
Generated Node #0,3,0: 75:[78, 21] Operation: 9+12=21
Exploring Operation: 78-9=69, Resulting Numbers: [12, 69]
Generated Node #0,3,1: 75:[12, 69] Operation: 78-9=69
Exploring Operation: 78-12=66, Resulting Numbers: [9, 66]
Generated Node #0,3,2: 75:[9, 66] Operation: 78-12=66
Exploring Operation: 12-9=3, Resulting Numbers: [78, 3]
Generated Node #0,3,3: 75:[78, 3] Operation: 12-9=3
Moving to Node #0,2,3
Current State: 75:[78, 3], Operations: ['22-9=13', '13-10=3']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[78, 10, 9, 22], Operations: []
Exploring Operation: 22-9=13, Resulting Numbers: [78, 10, 13]
Generated Node #0,2: 75:[78, 10, 13] Operation: 22-9=13
Moving to Node #0,2
Current State: 75:[78, 10, 13], Operations: ['22-9=13']
Exploring Operation: 13-10=3, Resulting Numbers: [78, 3]
Generated Node #0,2,3: 75:[78, 3] Operation: 13-10=3
Moving to Node #0,2,3
Current State: 75:[78, 3], Operations: ['22-9=13', '13-10=3']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.967882 | hs_4 | sum_heuristic |
[
63,
37,
84,
15
] | 73 | [
"63-37=26",
"84+15=99",
"99-26=73"
] | Current State: 73:[63, 37, 84, 15], Operations: []
Exploring Operation: 63-37=26, Resulting Numbers: [84, 15, 26]
Generated Node #2: [84, 15, 26] from Operation: 63-37=26
Current State: 73:[84, 15, 26], Operations: ['63-37=26']
Exploring Operation: 84+15=99, Resulting Numbers: [26, 99]
Generated Node #3: [26, 99] from Operation: 84+15=99
Current State: 73:[26, 99], Operations: ['63-37=26', '84+15=99']
Exploring Operation: 99-26=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[63, 37, 84, 15], Operations: []
Exploring Operation: 37-15=22, Resulting Numbers: [63, 84, 22]
Generated Node #0,0: 73:[63, 84, 22] Operation: 37-15=22
Exploring Operation: 63-15=48, Resulting Numbers: [37, 84, 48]
Generated Node #0,1: 73:[37, 84, 48] Operation: 63-15=48
Exploring Operation: 37+15=52, Resulting Numbers: [63, 84, 52]
Generated Node #0,2: 73:[63, 84, 52] Operation: 37+15=52
Exploring Operation: 63+15=78, Resulting Numbers: [37, 84, 78]
Generated Node #0,3: 73:[37, 84, 78] Operation: 63+15=78
Exploring Operation: 84-15=69, Resulting Numbers: [63, 37, 69]
Generated Node #0,4: 73:[63, 37, 69] Operation: 84-15=69
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[63, 84, 52], Operations: ['37+15=52']
Exploring Operation: 63+52=115, Resulting Numbers: [84, 115]
Generated Node #0,2,0: 73:[84, 115] Operation: 63+52=115
Exploring Operation: 63-52=11, Resulting Numbers: [84, 11]
Generated Node #0,2,1: 73:[84, 11] Operation: 63-52=11
Exploring Operation: 84+52=136, Resulting Numbers: [63, 136]
Generated Node #0,2,2: 73:[63, 136] Operation: 84+52=136
Exploring Operation: 84-52=32, Resulting Numbers: [63, 32]
Generated Node #0,2,3: 73:[63, 32] Operation: 84-52=32
Exploring Operation: 84-63=21, Resulting Numbers: [52, 21]
Generated Node #0,2,4: 73:[52, 21] Operation: 84-63=21
Moving to Node #0,2,3
Current State: 73:[63, 32], Operations: ['37+15=52', '84-52=32']
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[84, 115], Operations: ['37+15=52', '63+52=115']
Exploring Operation: 84*115=9660, Resulting Numbers: [9660]
9660,73 unequal: No Solution
Exploring Operation: 84+115=199, Resulting Numbers: [199]
199,73 unequal: No Solution
Exploring Operation: 115-84=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[84, 11], Operations: ['37+15=52', '63-52=11']
Exploring Operation: 84+11=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 84-11=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[63, 37, 84, 15], Operations: []
Exploring Operation: 37+15=52, Resulting Numbers: [63, 84, 52]
Generated Node #0,2: 73:[63, 84, 52] Operation: 37+15=52
Moving to Node #0,2
Current State: 73:[63, 84, 52], Operations: ['37+15=52']
Exploring Operation: 63-52=11, Resulting Numbers: [84, 11]
Generated Node #0,2,1: 73:[84, 11] Operation: 63-52=11
Moving to Node #0,2,1
Current State: 73:[84, 11], Operations: ['37+15=52', '63-52=11']
Exploring Operation: 84-11=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
48,
1,
25,
22
] | 16 | [
"48*1=48",
"25-22=3",
"48/3=16"
] | Current State: 16:[48, 1, 25, 22], Operations: []
Exploring Operation: 48*1=48, Resulting Numbers: [25, 22, 48]
Generated Node #2: [25, 22, 48] from Operation: 48*1=48
Current State: 16:[25, 22, 48], Operations: ['48*1=48']
Exploring Operation: 25-22=3, Resulting Numbers: [48, 3]
Generated Node #3: [48, 3] from Operation: 25-22=3
Current State: 16:[48, 3], Operations: ['48*1=48', '25-22=3']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[48, 1, 25, 22], Operations: []
Exploring Operation: 25-22=3, Resulting Numbers: [48, 1, 3]
Generated Node #0,0: 16:[48, 1, 3] Operation: 25-22=3
Exploring Operation: 48-22=26, Resulting Numbers: [1, 25, 26]
Generated Node #0,1: 16:[1, 25, 26] Operation: 48-22=26
Exploring Operation: 48-25=23, Resulting Numbers: [1, 22, 23]
Generated Node #0,2: 16:[1, 22, 23] Operation: 48-25=23
Moving to Node #0,2
Current State: 16:[1, 22, 23], Operations: ['48-25=23']
Exploring Operation: 23-22=1, Resulting Numbers: [1, 1]
Generated Node #0,2,0: 16:[1, 1] Operation: 23-22=1
Exploring Operation: 23-1=22, Resulting Numbers: [22, 22]
Generated Node #0,2,1: 16:[22, 22] Operation: 23-1=22
Exploring Operation: 22-1=21, Resulting Numbers: [23, 21]
Generated Node #0,2,2: 16:[23, 21] Operation: 22-1=21
Moving to Node #0,1
Current State: 16:[1, 25, 26], Operations: ['48-22=26']
Exploring Operation: 26-25=1, Resulting Numbers: [1, 1]
Generated Node #0,1,0: 16:[1, 1] Operation: 26-25=1
Exploring Operation: 25-1=24, Resulting Numbers: [26, 24]
Generated Node #0,1,1: 16:[26, 24] Operation: 25-1=24
Exploring Operation: 26-1=25, Resulting Numbers: [25, 25]
Generated Node #0,1,2: 16:[25, 25] Operation: 26-1=25
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[1, 1], Operations: ['48-22=26', '26-25=1']
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[26, 24], Operations: ['48-22=26', '25-1=24']
Exploring Operation: 26*24=624, Resulting Numbers: [624]
624,16 unequal: No Solution
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 16:[25, 25], Operations: ['48-22=26', '26-1=25']
Exploring Operation: 25/25=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 25-25=0, Resulting Numbers: [0]
0,16 unequal: No Solution
Exploring Operation: 25+25=50, Resulting Numbers: [50]
50,16 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: 16:[48, 1, 3], Operations: ['25-22=3']
Exploring Operation: 48-3=45, Resulting Numbers: [1, 45]
Generated Node #0,0,0: 16:[1, 45] Operation: 48-3=45
Exploring Operation: 48/3=16, Resulting Numbers: [1, 16]
Generated Node #0,0,1: 16:[1, 16] Operation: 48/3=16
Exploring Operation: 48-1=47, Resulting Numbers: [3, 47]
Generated Node #0,0,2: 16:[3, 47] Operation: 48-1=47
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[1, 16], Operations: ['25-22=3', '48/3=16']
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[48, 1, 25, 22], Operations: []
Exploring Operation: 25-22=3, Resulting Numbers: [48, 1, 3]
Generated Node #0,0: 16:[48, 1, 3] Operation: 25-22=3
Moving to Node #0,0
Current State: 16:[48, 1, 3], Operations: ['25-22=3']
Exploring Operation: 48/3=16, Resulting Numbers: [1, 16]
Generated Node #0,0,1: 16:[1, 16] Operation: 48/3=16
Moving to Node #0,0,1
Current State: 16:[1, 16], Operations: ['25-22=3', '48/3=16']
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
3,
72,
17,
12
] | 81 | [
"12-3=9",
"17*9=153",
"153-72=81"
] | Current State: 81:[3, 72, 17, 12], Operations: []
Exploring Operation: 12-3=9, Resulting Numbers: [72, 17, 9]
Generated Node #2: [72, 17, 9] from Operation: 12-3=9
Current State: 81:[72, 17, 9], Operations: ['12-3=9']
Exploring Operation: 17*9=153, Resulting Numbers: [72, 153]
Generated Node #3: [72, 153] from Operation: 17*9=153
Current State: 81:[72, 153], Operations: ['12-3=9', '17*9=153']
Exploring Operation: 153-72=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[3, 72, 17, 12], Operations: []
Exploring Operation: 72+17=89, Resulting Numbers: [3, 12, 89]
Generated Node #0,0: 81:[3, 12, 89] Operation: 72+17=89
Exploring Operation: 72+12=84, Resulting Numbers: [3, 17, 84]
Generated Node #0,1: 81:[3, 17, 84] Operation: 72+12=84
Exploring Operation: 72/12=6, Resulting Numbers: [3, 17, 6]
Generated Node #0,2: 81:[3, 17, 6] Operation: 72/12=6
Moving to Node #0,0
Current State: 81:[3, 12, 89], Operations: ['72+17=89']
Exploring Operation: 89-3=86, Resulting Numbers: [12, 86]
Generated Node #0,0,0: 81:[12, 86] Operation: 89-3=86
Exploring Operation: 12-3=9, Resulting Numbers: [89, 9]
Generated Node #0,0,1: 81:[89, 9] Operation: 12-3=9
Exploring Operation: 89-12=77, Resulting Numbers: [3, 77]
Generated Node #0,0,2: 81:[3, 77] Operation: 89-12=77
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[3, 77], Operations: ['72+17=89', '89-12=77']
Exploring Operation: 3*77=231, Resulting Numbers: [231]
231,81 unequal: No Solution
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Exploring Operation: 3+77=80, Resulting Numbers: [80]
80,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,0
Current State: 81:[12, 86], Operations: ['72+17=89', '89-3=86']
Exploring Operation: 86-12=74, Resulting Numbers: [74]
74,81 unequal: No Solution
Exploring Operation: 12+86=98, Resulting Numbers: [98]
98,81 unequal: No Solution
Exploring Operation: 12*86=1032, Resulting Numbers: [1032]
1032,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,1
Current State: 81:[89, 9], Operations: ['72+17=89', '12-3=9']
Exploring Operation: 89*9=801, Resulting Numbers: [801]
801,81 unequal: No Solution
Exploring Operation: 89+9=98, Resulting Numbers: [98]
98,81 unequal: No Solution
Exploring Operation: 89-9=80, Resulting Numbers: [80]
80,81 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: 81:[3, 17, 84], Operations: ['72+12=84']
Exploring Operation: 84-3=81, Resulting Numbers: [17, 81]
Generated Node #0,1,0: 81:[17, 81] Operation: 84-3=81
Exploring Operation: 17-3=14, Resulting Numbers: [84, 14]
Generated Node #0,1,1: 81:[84, 14] Operation: 17-3=14
Exploring Operation: 84/3=28, Resulting Numbers: [17, 28]
Generated Node #0,1,2: 81:[17, 28] Operation: 84/3=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[17, 81], Operations: ['72+12=84', '84-3=81']
Exploring Operation: 81-17=64, Resulting Numbers: [64]
64,81 unequal: No Solution
Exploring Operation: 17+81=98, Resulting Numbers: [98]
98,81 unequal: No Solution
Exploring Operation: 17*81=1377, Resulting Numbers: [1377]
1377,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,1
Current State: 81:[84, 14], Operations: ['72+12=84', '17-3=14']
Exploring Operation: 84+14=98, Resulting Numbers: [98]
98,81 unequal: No Solution
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,81 unequal: No Solution
Exploring Operation: 84/14=6, Resulting Numbers: [6]
6,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,2
Current State: 81:[17, 28], Operations: ['72+12=84', '84/3=28']
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 17*28=476, Resulting Numbers: [476]
476,81 unequal: No Solution
Exploring Operation: 17+28=45, Resulting Numbers: [45]
45,81 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: 81:[3, 17, 6], Operations: ['72/12=6']
Exploring Operation: 17+6=23, Resulting Numbers: [3, 23]
Generated Node #0,2,0: 81:[3, 23] Operation: 17+6=23
Exploring Operation: 17-3=14, Resulting Numbers: [6, 14]
Generated Node #0,2,1: 81:[6, 14] Operation: 17-3=14
Exploring Operation: 17-6=11, Resulting Numbers: [3, 11]
Generated Node #0,2,2: 81:[3, 11] Operation: 17-6=11
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[3, 11], Operations: ['72/12=6', '17-6=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,81 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,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,0
Current State: 81:[3, 23], Operations: ['72/12=6', '17+6=23']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,81 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,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,1
Current State: 81:[6, 14], Operations: ['72/12=6', '17-3=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,81 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,81 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 |
[
52,
25,
45,
10
] | 59 | [
"25+45=70",
"70/10=7",
"52+7=59"
] | Current State: 59:[52, 25, 45, 10], Operations: []
Exploring Operation: 25+45=70, Resulting Numbers: [52, 10, 70]
Generated Node #2: [52, 10, 70] from Operation: 25+45=70
Current State: 59:[52, 10, 70], Operations: ['25+45=70']
Exploring Operation: 70/10=7, Resulting Numbers: [52, 7]
Generated Node #3: [52, 7] from Operation: 70/10=7
Current State: 59:[52, 7], Operations: ['25+45=70', '70/10=7']
Exploring Operation: 52+7=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[52, 25, 45, 10], Operations: []
Exploring Operation: 52+10=62, Resulting Numbers: [25, 45, 62]
Generated Node #0,0: 59:[25, 45, 62] Operation: 52+10=62
Exploring Operation: 45+10=55, Resulting Numbers: [52, 25, 55]
Generated Node #0,1: 59:[52, 25, 55] Operation: 45+10=55
Exploring Operation: 25+10=35, Resulting Numbers: [52, 45, 35]
Generated Node #0,2: 59:[52, 45, 35] Operation: 25+10=35
Moving to Node #0,1
Current State: 59:[52, 25, 55], Operations: ['45+10=55']
Exploring Operation: 25+55=80, Resulting Numbers: [52, 80]
Generated Node #0,1,0: 59:[52, 80] Operation: 25+55=80
Exploring Operation: 52+25=77, Resulting Numbers: [55, 77]
Generated Node #0,1,1: 59:[55, 77] Operation: 52+25=77
Exploring Operation: 52-25=27, Resulting Numbers: [55, 27]
Generated Node #0,1,2: 59:[55, 27] Operation: 52-25=27
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[55, 77], Operations: ['45+10=55', '52+25=77']
Exploring Operation: 77-55=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 55*77=4235, Resulting Numbers: [4235]
4235,59 unequal: No Solution
Exploring Operation: 55+77=132, Resulting Numbers: [132]
132,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:[52, 80], Operations: ['45+10=55', '25+55=80']
Exploring Operation: 80-52=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Exploring Operation: 52*80=4160, Resulting Numbers: [4160]
4160,59 unequal: No Solution
Exploring Operation: 52+80=132, Resulting Numbers: [132]
132,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,2
Current State: 59:[55, 27], Operations: ['45+10=55', '52-25=27']
Exploring Operation: 55+27=82, Resulting Numbers: [82]
82,59 unequal: No Solution
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Exploring Operation: 55*27=1485, Resulting Numbers: [1485]
1485,59 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: 59:[52, 45, 35], Operations: ['25+10=35']
Exploring Operation: 52+35=87, Resulting Numbers: [45, 87]
Generated Node #0,2,0: 59:[45, 87] Operation: 52+35=87
Exploring Operation: 45+35=80, Resulting Numbers: [52, 80]
Generated Node #0,2,1: 59:[52, 80] Operation: 45+35=80
Exploring Operation: 52-35=17, Resulting Numbers: [45, 17]
Generated Node #0,2,2: 59:[45, 17] Operation: 52-35=17
Moving to Node #0,0
Current State: 59:[25, 45, 62], Operations: ['52+10=62']
Exploring Operation: 45-25=20, Resulting Numbers: [62, 20]
Generated Node #0,0,0: 59:[62, 20] Operation: 45-25=20
Exploring Operation: 62-25=37, Resulting Numbers: [45, 37]
Generated Node #0,0,1: 59:[45, 37] Operation: 62-25=37
Exploring Operation: 25+45=70, Resulting Numbers: [62, 70]
Generated Node #0,0,2: 59:[62, 70] Operation: 25+45=70
Moving to Node #0,0,2
Current State: 59:[62, 70], Operations: ['52+10=62', '25+45=70']
Exploring Operation: 62*70=4340, Resulting Numbers: [4340]
4340,59 unequal: No Solution
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 62+70=132, Resulting Numbers: [132]
132,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[52, 80], Operations: ['25+10=35', '45+35=80']
Exploring Operation: 52+80=132, Resulting Numbers: [132]
132,59 unequal: No Solution
Exploring Operation: 52*80=4160, Resulting Numbers: [4160]
4160,59 unequal: No Solution
Exploring Operation: 80-52=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[45, 37], Operations: ['52+10=62', '62-25=37']
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,59 unequal: No Solution
Exploring Operation: 45*37=1665, Resulting Numbers: [1665]
1665,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[62, 20], Operations: ['52+10=62', '45-25=20']
Exploring Operation: 62*20=1240, Resulting Numbers: [1240]
1240,59 unequal: No Solution
Exploring Operation: 62+20=82, Resulting Numbers: [82]
82,59 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[45, 87], Operations: ['25+10=35', '52+35=87']
Exploring Operation: 87-45=42, Resulting Numbers: [42]
42,59 unequal: No Solution
Exploring Operation: 45*87=3915, Resulting Numbers: [3915]
3915,59 unequal: No Solution
Exploring Operation: 45+87=132, Resulting Numbers: [132]
132,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[45, 17], Operations: ['25+10=35', '52-35=17']
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Exploring Operation: 45+17=62, Resulting Numbers: [62]
62,59 unequal: No Solution
Exploring Operation: 45*17=765, Resulting Numbers: [765]
765,59 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
36,
63,
23,
39
] | 44 | [
"39-36=3",
"63/3=21",
"23+21=44"
] | Current State: 44:[36, 63, 23, 39], Operations: []
Exploring Operation: 39-36=3, Resulting Numbers: [63, 23, 3]
Generated Node #2: [63, 23, 3] from Operation: 39-36=3
Current State: 44:[63, 23, 3], Operations: ['39-36=3']
Exploring Operation: 63/3=21, Resulting Numbers: [23, 21]
Generated Node #3: [23, 21] from Operation: 63/3=21
Current State: 44:[23, 21], Operations: ['39-36=3', '63/3=21']
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[36, 63, 23, 39], Operations: []
Exploring Operation: 63-36=27, Resulting Numbers: [23, 39, 27]
Generated Node #0,0: 44:[23, 39, 27] Operation: 63-36=27
Moving to Node #0,0
Current State: 44:[23, 39, 27], Operations: ['63-36=27']
Exploring Operation: 39-27=12, Resulting Numbers: [23, 12]
Generated Node #0,0,0: 44:[23, 12] Operation: 39-27=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[23, 12], Operations: ['63-36=27', '39-27=12']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,44 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 |
[
57,
26,
19,
7
] | 47 | [
"57/19=3",
"7*3=21",
"26+21=47"
] | Current State: 47:[57, 26, 19, 7], Operations: []
Exploring Operation: 57/19=3, Resulting Numbers: [26, 7, 3]
Generated Node #2: [26, 7, 3] from Operation: 57/19=3
Current State: 47:[26, 7, 3], Operations: ['57/19=3']
Exploring Operation: 7*3=21, Resulting Numbers: [26, 21]
Generated Node #3: [26, 21] from Operation: 7*3=21
Current State: 47:[26, 21], Operations: ['57/19=3', '7*3=21']
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[57, 26, 19, 7], Operations: []
Exploring Operation: 57-7=50, Resulting Numbers: [26, 19, 50]
Generated Node #0,0: 47:[26, 19, 50] Operation: 57-7=50
Exploring Operation: 26+19=45, Resulting Numbers: [57, 7, 45]
Generated Node #0,1: 47:[57, 7, 45] Operation: 26+19=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[26, 19, 50], Operations: ['57-7=50']
Exploring Operation: 50-19=31, Resulting Numbers: [26, 31]
Generated Node #0,0,0: 47:[26, 31] Operation: 50-19=31
Exploring Operation: 26+19=45, Resulting Numbers: [50, 45]
Generated Node #0,0,1: 47:[50, 45] Operation: 26+19=45
Moving to Node #0,0,1
Current State: 47:[50, 45], Operations: ['57-7=50', '26+19=45']
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Exploring Operation: 50+45=95, Resulting Numbers: [95]
95,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[26, 31], Operations: ['57-7=50', '50-19=31']
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Exploring Operation: 26+31=57, Resulting Numbers: [57]
57,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:[57, 7, 45], Operations: ['26+19=45']
Exploring Operation: 57-7=50, Resulting Numbers: [45, 50]
Generated Node #0,1,0: 47:[45, 50] Operation: 57-7=50
Exploring Operation: 7+45=52, Resulting Numbers: [57, 52]
Generated Node #0,1,1: 47:[57, 52] Operation: 7+45=52
Moving to Node #0,1,0
Current State: 47:[45, 50], Operations: ['26+19=45', '57-7=50']
Exploring Operation: 45+50=95, Resulting Numbers: [95]
95,47 unequal: No Solution
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[57, 52], Operations: ['26+19=45', '7+45=52']
Exploring Operation: 57+52=109, Resulting Numbers: [109]
109,47 unequal: No Solution
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,47 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 |
[
95,
12,
87,
56
] | 40 | [
"95-87=8",
"12*8=96",
"96-56=40"
] | Current State: 40:[95, 12, 87, 56], Operations: []
Exploring Operation: 95-87=8, Resulting Numbers: [12, 56, 8]
Generated Node #2: [12, 56, 8] from Operation: 95-87=8
Current State: 40:[12, 56, 8], Operations: ['95-87=8']
Exploring Operation: 12*8=96, Resulting Numbers: [56, 96]
Generated Node #3: [56, 96] from Operation: 12*8=96
Current State: 40:[56, 96], Operations: ['95-87=8', '12*8=96']
Exploring Operation: 96-56=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[95, 12, 87, 56], Operations: []
Exploring Operation: 95-12=83, Resulting Numbers: [87, 56, 83]
Generated Node #0,0: 40:[87, 56, 83] Operation: 95-12=83
Exploring Operation: 87-56=31, Resulting Numbers: [95, 12, 31]
Generated Node #0,1: 40:[95, 12, 31] Operation: 87-56=31
Exploring Operation: 87-12=75, Resulting Numbers: [95, 56, 75]
Generated Node #0,2: 40:[95, 56, 75] Operation: 87-12=75
Exploring Operation: 95-87=8, Resulting Numbers: [12, 56, 8]
Generated Node #0,3: 40:[12, 56, 8] Operation: 95-87=8
Exploring Operation: 95-56=39, Resulting Numbers: [12, 87, 39]
Generated Node #0,4: 40:[12, 87, 39] Operation: 95-56=39
Moving to Node #0,3
Current State: 40:[12, 56, 8], Operations: ['95-87=8']
Exploring Operation: 56/8=7, Resulting Numbers: [12, 7]
Generated Node #0,3,0: 40:[12, 7] Operation: 56/8=7
Exploring Operation: 56-8=48, Resulting Numbers: [12, 48]
Generated Node #0,3,1: 40:[12, 48] Operation: 56-8=48
Exploring Operation: 12+8=20, Resulting Numbers: [56, 20]
Generated Node #0,3,2: 40:[56, 20] Operation: 12+8=20
Exploring Operation: 56-12=44, Resulting Numbers: [8, 44]
Generated Node #0,3,3: 40:[8, 44] Operation: 56-12=44
Exploring Operation: 12-8=4, Resulting Numbers: [56, 4]
Generated Node #0,3,4: 40:[56, 4] Operation: 12-8=4
Moving to Node #0,4
Current State: 40:[12, 87, 39], Operations: ['95-56=39']
Exploring Operation: 87-39=48, Resulting Numbers: [12, 48]
Generated Node #0,4,0: 40:[12, 48] Operation: 87-39=48
Exploring Operation: 39-12=27, Resulting Numbers: [87, 27]
Generated Node #0,4,1: 40:[87, 27] Operation: 39-12=27
Exploring Operation: 12+39=51, Resulting Numbers: [87, 51]
Generated Node #0,4,2: 40:[87, 51] Operation: 12+39=51
Exploring Operation: 12+87=99, Resulting Numbers: [39, 99]
Generated Node #0,4,3: 40:[39, 99] Operation: 12+87=99
Exploring Operation: 87-12=75, Resulting Numbers: [39, 75]
Generated Node #0,4,4: 40:[39, 75] Operation: 87-12=75
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 40:[12, 48], Operations: ['95-56=39', '87-39=48']
Exploring Operation: 12*48=576, Resulting Numbers: [576]
576,40 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,40 unequal: No Solution
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 40:[39, 75], Operations: ['95-56=39', '87-12=75']
Exploring Operation: 39+75=114, Resulting Numbers: [114]
114,40 unequal: No Solution
Exploring Operation: 39*75=2925, Resulting Numbers: [2925]
2925,40 unequal: No Solution
Exploring Operation: 75-39=36, Resulting Numbers: [36]
36,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 40:[87, 27], Operations: ['95-56=39', '39-12=27']
Exploring Operation: 87-27=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Exploring Operation: 87*27=2349, Resulting Numbers: [2349]
2349,40 unequal: No Solution
Exploring Operation: 87+27=114, Resulting Numbers: [114]
114,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 40:[87, 51], Operations: ['95-56=39', '12+39=51']
Exploring Operation: 87*51=4437, Resulting Numbers: [4437]
4437,40 unequal: No Solution
Exploring Operation: 87-51=36, Resulting Numbers: [36]
36,40 unequal: No Solution
Exploring Operation: 87+51=138, Resulting Numbers: [138]
138,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 40:[39, 99], Operations: ['95-56=39', '12+87=99']
Exploring Operation: 99-39=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Exploring Operation: 39+99=138, Resulting Numbers: [138]
138,40 unequal: No Solution
Exploring Operation: 39*99=3861, Resulting Numbers: [3861]
3861,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 40:[95, 12, 31], Operations: ['87-56=31']
Exploring Operation: 95-12=83, Resulting Numbers: [31, 83]
Generated Node #0,1,0: 40:[31, 83] Operation: 95-12=83
Exploring Operation: 95+12=107, Resulting Numbers: [31, 107]
Generated Node #0,1,1: 40:[31, 107] Operation: 95+12=107
Exploring Operation: 31-12=19, Resulting Numbers: [95, 19]
Generated Node #0,1,2: 40:[95, 19] Operation: 31-12=19
Exploring Operation: 12+31=43, Resulting Numbers: [95, 43]
Generated Node #0,1,3: 40:[95, 43] Operation: 12+31=43
Exploring Operation: 95-31=64, Resulting Numbers: [12, 64]
Generated Node #0,1,4: 40:[12, 64] Operation: 95-31=64
Moving to Node #0,0
Current State: 40:[87, 56, 83], Operations: ['95-12=83']
Exploring Operation: 87-83=4, Resulting Numbers: [56, 4]
Generated Node #0,0,0: 40:[56, 4] Operation: 87-83=4
Exploring Operation: 87-56=31, Resulting Numbers: [83, 31]
Generated Node #0,0,1: 40:[83, 31] Operation: 87-56=31
Exploring Operation: 83-56=27, Resulting Numbers: [87, 27]
Generated Node #0,0,2: 40:[87, 27] Operation: 83-56=27
Exploring Operation: 87+56=143, Resulting Numbers: [83, 143]
Generated Node #0,0,3: 40:[83, 143] Operation: 87+56=143
Exploring Operation: 87+83=170, Resulting Numbers: [56, 170]
Generated Node #0,0,4: 40:[56, 170] Operation: 87+83=170
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[56, 4], Operations: ['95-12=83', '87-83=4']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Exploring Operation: 56*4=224, Resulting Numbers: [224]
224,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[83, 31], Operations: ['95-12=83', '87-56=31']
Exploring Operation: 83-31=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Exploring Operation: 83*31=2573, Resulting Numbers: [2573]
2573,40 unequal: No Solution
Exploring Operation: 83+31=114, Resulting Numbers: [114]
114,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 40:[87, 27], Operations: ['95-12=83', '83-56=27']
Exploring Operation: 87-27=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Exploring Operation: 87*27=2349, Resulting Numbers: [2349]
2349,40 unequal: No Solution
Exploring Operation: 87+27=114, Resulting Numbers: [114]
114,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 40:[83, 143], Operations: ['95-12=83', '87+56=143']
Exploring Operation: 143-83=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Exploring Operation: 83*143=11869, Resulting Numbers: [11869]
11869,40 unequal: No Solution
Exploring Operation: 83+143=226, Resulting Numbers: [226]
226,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 40:[56, 170], Operations: ['95-12=83', '87+83=170']
Exploring Operation: 56*170=9520, Resulting Numbers: [9520]
9520,40 unequal: No Solution
Exploring Operation: 56+170=226, Resulting Numbers: [226]
226,40 unequal: No Solution
Exploring Operation: 170-56=114, Resulting Numbers: [114]
114,40 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: 40:[95, 56, 75], Operations: ['87-12=75']
Exploring Operation: 95-56=39, Resulting Numbers: [75, 39]
Generated Node #0,2,0: 40:[75, 39] Operation: 95-56=39
Exploring Operation: 75-56=19, Resulting Numbers: [95, 19]
Generated Node #0,2,1: 40:[95, 19] Operation: 75-56=19
Exploring Operation: 95-75=20, Resulting Numbers: [56, 20]
Generated Node #0,2,2: 40:[56, 20] Operation: 95-75=20
Exploring Operation: 95+56=151, Resulting Numbers: [75, 151]
Generated Node #0,2,3: 40:[75, 151] Operation: 95+56=151
Exploring Operation: 95+75=170, Resulting Numbers: [56, 170]
Generated Node #0,2,4: 40:[56, 170] Operation: 95+75=170
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 40:[56, 20], Operations: ['87-12=75', '95-75=20']
Exploring Operation: 56*20=1120, Resulting Numbers: [1120]
1120,40 unequal: No Solution
Exploring Operation: 56+20=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 40:[75, 39], Operations: ['87-12=75', '95-56=39']
Exploring Operation: 75*39=2925, Resulting Numbers: [2925]
2925,40 unequal: No Solution
Exploring Operation: 75+39=114, Resulting Numbers: [114]
114,40 unequal: No Solution
Exploring Operation: 75-39=36, Resulting Numbers: [36]
36,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 40:[95, 19], Operations: ['87-12=75', '75-56=19']
Exploring Operation: 95*19=1805, Resulting Numbers: [1805]
1805,40 unequal: No Solution
Exploring Operation: 95-19=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Exploring Operation: 95+19=114, Resulting Numbers: [114]
114,40 unequal: No Solution
Exploring Operation: 95/19=5, Resulting Numbers: [5]
5,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 40:[75, 151], Operations: ['87-12=75', '95+56=151']
Exploring Operation: 75+151=226, Resulting Numbers: [226]
226,40 unequal: No Solution
Exploring Operation: 151-75=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Exploring Operation: 75*151=11325, Resulting Numbers: [11325]
11325,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 40:[56, 170], Operations: ['87-12=75', '95+75=170']
Exploring Operation: 56+170=226, Resulting Numbers: [226]
226,40 unequal: No Solution
Exploring Operation: 56*170=9520, Resulting Numbers: [9520]
9520,40 unequal: No Solution
Exploring Operation: 170-56=114, Resulting Numbers: [114]
114,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 40:[12, 7], Operations: ['95-87=8', '56/8=7']
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,40 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,40 unequal: No Solution
Moving to Node #0,3,3
Current State: 40:[8, 44], Operations: ['95-87=8', '56-12=44']
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,40 unequal: No Solution
Exploring Operation: 8+44=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Exploring Operation: 8*44=352, Resulting Numbers: [352]
352,40 unequal: No Solution
Moving to Node #0,3,1
Current State: 40:[12, 48], Operations: ['95-87=8', '56-8=48']
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,40 unequal: No Solution
Exploring Operation: 12*48=576, Resulting Numbers: [576]
576,40 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Moving to Node #0,3,4
Current State: 40:[56, 4], Operations: ['95-87=8', '12-8=4']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Exploring Operation: 56*4=224, Resulting Numbers: [224]
224,40 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Moving to Node #0,3,2
Current State: 40:[56, 20], Operations: ['95-87=8', '12+8=20']
Exploring Operation: 56*20=1120, Resulting Numbers: [1120]
1120,40 unequal: No Solution
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,40 unequal: No Solution
Exploring Operation: 56+20=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Moving to Node #0,1,4
Current State: 40:[12, 64], Operations: ['87-56=31', '95-31=64']
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Exploring Operation: 12*64=768, Resulting Numbers: [768]
768,40 unequal: No Solution
Exploring Operation: 12+64=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[31, 83], Operations: ['87-56=31', '95-12=83']
Exploring Operation: 31*83=2573, Resulting Numbers: [2573]
2573,40 unequal: No Solution
Exploring Operation: 83-31=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Exploring Operation: 31+83=114, Resulting Numbers: [114]
114,40 unequal: No Solution
Moving to Node #0,1,2
Current State: 40:[95, 19], Operations: ['87-56=31', '31-12=19']
Exploring Operation: 95/19=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 95+19=114, Resulting Numbers: [114]
114,40 unequal: No Solution
Exploring Operation: 95*19=1805, Resulting Numbers: [1805]
1805,40 unequal: No Solution
Exploring Operation: 95-19=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Moving to Node #0,1,3
Current State: 40:[95, 43], Operations: ['87-56=31', '12+31=43']
Exploring Operation: 95+43=138, Resulting Numbers: [138]
138,40 unequal: No Solution
Exploring Operation: 95*43=4085, Resulting Numbers: [4085]
4085,40 unequal: No Solution
Exploring Operation: 95-43=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[31, 107], Operations: ['87-56=31', '95+12=107']
Exploring Operation: 31*107=3317, Resulting Numbers: [3317]
3317,40 unequal: No Solution
Exploring Operation: 107-31=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Exploring Operation: 31+107=138, Resulting Numbers: [138]
138,40 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
46,
89,
1,
92
] | 49 | [
"89-46=43",
"1*92=92",
"92-43=49"
] | Current State: 49:[46, 89, 1, 92], Operations: []
Exploring Operation: 89-46=43, Resulting Numbers: [1, 92, 43]
Generated Node #2: [1, 92, 43] from Operation: 89-46=43
Current State: 49:[1, 92, 43], Operations: ['89-46=43']
Exploring Operation: 1*92=92, Resulting Numbers: [43, 92]
Generated Node #3: [43, 92] from Operation: 1*92=92
Current State: 49:[43, 92], Operations: ['89-46=43', '1*92=92']
Exploring Operation: 92-43=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[46, 89, 1, 92], Operations: []
Exploring Operation: 92-89=3, Resulting Numbers: [46, 1, 3]
Generated Node #0,0: 49:[46, 1, 3] Operation: 92-89=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[46, 1, 3], Operations: ['92-89=3']
Exploring Operation: 46+1=47, Resulting Numbers: [3, 47]
Generated Node #0,0,0: 49:[3, 47] Operation: 46+1=47
Moving to Node #0,0,0
Current State: 49:[3, 47], Operations: ['92-89=3', '46+1=47']
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
30,
29,
3,
55
] | 12 | [
"30+29=59",
"59-55=4",
"3*4=12"
] | Current State: 12:[30, 29, 3, 55], Operations: []
Exploring Operation: 30+29=59, Resulting Numbers: [3, 55, 59]
Generated Node #2: [3, 55, 59] from Operation: 30+29=59
Current State: 12:[3, 55, 59], Operations: ['30+29=59']
Exploring Operation: 59-55=4, Resulting Numbers: [3, 4]
Generated Node #3: [3, 4] from Operation: 59-55=4
Current State: 12:[3, 4], Operations: ['30+29=59', '59-55=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[30, 29, 3, 55], Operations: []
Exploring Operation: 30/3=10, Resulting Numbers: [29, 55, 10]
Generated Node #0,0: 12:[29, 55, 10] Operation: 30/3=10
Exploring Operation: 55-30=25, Resulting Numbers: [29, 3, 25]
Generated Node #0,1: 12:[29, 3, 25] Operation: 55-30=25
Exploring Operation: 30-29=1, Resulting Numbers: [3, 55, 1]
Generated Node #0,2: 12:[3, 55, 1] Operation: 30-29=1
Exploring Operation: 55-29=26, Resulting Numbers: [30, 3, 26]
Generated Node #0,3: 12:[30, 3, 26] Operation: 55-29=26
Moving to Node #0,1
Current State: 12:[29, 3, 25], Operations: ['55-30=25']
Exploring Operation: 25-3=22, Resulting Numbers: [29, 22]
Generated Node #0,1,0: 12:[29, 22] Operation: 25-3=22
Exploring Operation: 29-3=26, Resulting Numbers: [25, 26]
Generated Node #0,1,1: 12:[25, 26] Operation: 29-3=26
Exploring Operation: 29+3=32, Resulting Numbers: [25, 32]
Generated Node #0,1,2: 12:[25, 32] Operation: 29+3=32
Exploring Operation: 29-25=4, Resulting Numbers: [3, 4]
Generated Node #0,1,3: 12:[3, 4] Operation: 29-25=4
Moving to Node #0,3
Current State: 12:[30, 3, 26], Operations: ['55-29=26']
Exploring Operation: 30/3=10, Resulting Numbers: [26, 10]
Generated Node #0,3,0: 12:[26, 10] Operation: 30/3=10
Exploring Operation: 26-3=23, Resulting Numbers: [30, 23]
Generated Node #0,3,1: 12:[30, 23] Operation: 26-3=23
Exploring Operation: 30-26=4, Resulting Numbers: [3, 4]
Generated Node #0,3,2: 12:[3, 4] Operation: 30-26=4
Exploring Operation: 30-3=27, Resulting Numbers: [26, 27]
Generated Node #0,3,3: 12:[26, 27] Operation: 30-3=27
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 12:[3, 4], Operations: ['55-29=26', '30-26=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[30, 29, 3, 55], Operations: []
Exploring Operation: 55-29=26, Resulting Numbers: [30, 3, 26]
Generated Node #0,3: 12:[30, 3, 26] Operation: 55-29=26
Moving to Node #0,3
Current State: 12:[30, 3, 26], Operations: ['55-29=26']
Exploring Operation: 30-26=4, Resulting Numbers: [3, 4]
Generated Node #0,3,2: 12:[3, 4] Operation: 30-26=4
Moving to Node #0,3,2
Current State: 12:[3, 4], Operations: ['55-29=26', '30-26=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
8,
92,
85,
94
] | 95 | [
"92-8=84",
"85+94=179",
"179-84=95"
] | Current State: 95:[8, 92, 85, 94], Operations: []
Exploring Operation: 92-8=84, Resulting Numbers: [85, 94, 84]
Generated Node #2: [85, 94, 84] from Operation: 92-8=84
Current State: 95:[85, 94, 84], Operations: ['92-8=84']
Exploring Operation: 85+94=179, Resulting Numbers: [84, 179]
Generated Node #3: [84, 179] from Operation: 85+94=179
Current State: 95:[84, 179], Operations: ['92-8=84', '85+94=179']
Exploring Operation: 179-84=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[8, 92, 85, 94], Operations: []
Exploring Operation: 8+85=93, Resulting Numbers: [92, 94, 93]
Generated Node #0,0: 95:[92, 94, 93] Operation: 8+85=93
Moving to Node #0,0
Current State: 95:[92, 94, 93], Operations: ['8+85=93']
Exploring Operation: 94-92=2, Resulting Numbers: [93, 2]
Generated Node #0,0,0: 95:[93, 2] Operation: 94-92=2
Moving to Node #0,0,0
Current State: 95:[93, 2], Operations: ['8+85=93', '94-92=2']
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[8, 92, 85, 94], Operations: []
Exploring Operation: 8+85=93, Resulting Numbers: [92, 94, 93]
Generated Node #0,0: 95:[92, 94, 93] Operation: 8+85=93
Moving to Node #0,0
Current State: 95:[92, 94, 93], Operations: ['8+85=93']
Exploring Operation: 94-92=2, Resulting Numbers: [93, 2]
Generated Node #0,0,0: 95:[93, 2] Operation: 94-92=2
Moving to Node #0,0,0
Current State: 95:[93, 2], Operations: ['8+85=93', '94-92=2']
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
14,
17,
16,
76
] | 20 | [
"17-14=3",
"76-16=60",
"60/3=20"
] | Current State: 20:[14, 17, 16, 76], Operations: []
Exploring Operation: 17-14=3, Resulting Numbers: [16, 76, 3]
Generated Node #2: [16, 76, 3] from Operation: 17-14=3
Current State: 20:[16, 76, 3], Operations: ['17-14=3']
Exploring Operation: 76-16=60, Resulting Numbers: [3, 60]
Generated Node #3: [3, 60] from Operation: 76-16=60
Current State: 20:[3, 60], Operations: ['17-14=3', '76-16=60']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[14, 17, 16, 76], Operations: []
Exploring Operation: 16-14=2, Resulting Numbers: [17, 76, 2]
Generated Node #0,0: 20:[17, 76, 2] Operation: 16-14=2
Exploring Operation: 76-16=60, Resulting Numbers: [14, 17, 60]
Generated Node #0,1: 20:[14, 17, 60] Operation: 76-16=60
Exploring Operation: 76-17=59, Resulting Numbers: [14, 16, 59]
Generated Node #0,2: 20:[14, 16, 59] Operation: 76-17=59
Exploring Operation: 76-14=62, Resulting Numbers: [17, 16, 62]
Generated Node #0,3: 20:[17, 16, 62] Operation: 76-14=62
Moving to Node #0,1
Current State: 20:[14, 17, 60], Operations: ['76-16=60']
Exploring Operation: 14+17=31, Resulting Numbers: [60, 31]
Generated Node #0,1,0: 20:[60, 31] Operation: 14+17=31
Exploring Operation: 60-14=46, Resulting Numbers: [17, 46]
Generated Node #0,1,1: 20:[17, 46] Operation: 60-14=46
Exploring Operation: 60-17=43, Resulting Numbers: [14, 43]
Generated Node #0,1,2: 20:[14, 43] Operation: 60-17=43
Exploring Operation: 17-14=3, Resulting Numbers: [60, 3]
Generated Node #0,1,3: 20:[60, 3] Operation: 17-14=3
Moving to Node #0,2
Current State: 20:[14, 16, 59], Operations: ['76-17=59']
Exploring Operation: 16-14=2, Resulting Numbers: [59, 2]
Generated Node #0,2,0: 20:[59, 2] Operation: 16-14=2
Exploring Operation: 59-14=45, Resulting Numbers: [16, 45]
Generated Node #0,2,1: 20:[16, 45] Operation: 59-14=45
Exploring Operation: 14+16=30, Resulting Numbers: [59, 30]
Generated Node #0,2,2: 20:[59, 30] Operation: 14+16=30
Exploring Operation: 59-16=43, Resulting Numbers: [14, 43]
Generated Node #0,2,3: 20:[14, 43] Operation: 59-16=43
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 20:[14, 43], Operations: ['76-17=59', '59-16=43']
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 14+43=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 14*43=602, Resulting Numbers: [602]
602,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 20:[16, 45], Operations: ['76-17=59', '59-14=45']
Exploring Operation: 16+45=61, Resulting Numbers: [61]
61,20 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 16*45=720, Resulting Numbers: [720]
720,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 20:[59, 2], Operations: ['76-17=59', '16-14=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 59*2=118, Resulting Numbers: [118]
118,20 unequal: No Solution
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[59, 30], Operations: ['76-17=59', '14+16=30']
Exploring Operation: 59*30=1770, Resulting Numbers: [1770]
1770,20 unequal: No Solution
Exploring Operation: 59+30=89, Resulting Numbers: [89]
89,20 unequal: No Solution
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,20 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: 20:[17, 16, 62], Operations: ['76-14=62']
Exploring Operation: 62-16=46, Resulting Numbers: [17, 46]
Generated Node #0,3,0: 20:[17, 46] Operation: 62-16=46
Exploring Operation: 62-17=45, Resulting Numbers: [16, 45]
Generated Node #0,3,1: 20:[16, 45] Operation: 62-17=45
Exploring Operation: 17+16=33, Resulting Numbers: [62, 33]
Generated Node #0,3,2: 20:[62, 33] Operation: 17+16=33
Exploring Operation: 17-16=1, Resulting Numbers: [62, 1]
Generated Node #0,3,3: 20:[62, 1] Operation: 17-16=1
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 20:[17, 46], Operations: ['76-14=62', '62-16=46']
Exploring Operation: 17*46=782, Resulting Numbers: [782]
782,20 unequal: No Solution
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 17+46=63, Resulting Numbers: [63]
63,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,3,1
Current State: 20:[16, 45], Operations: ['76-14=62', '62-17=45']
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 16+45=61, Resulting Numbers: [61]
61,20 unequal: No Solution
Exploring Operation: 16*45=720, Resulting Numbers: [720]
720,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,3,3
Current State: 20:[62, 1], Operations: ['76-14=62', '17-16=1']
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,20 unequal: No Solution
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,20 unequal: No Solution
Exploring Operation: 62*1=62, Resulting Numbers: [62]
62,20 unequal: No Solution
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,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,3,2
Current State: 20:[62, 33], Operations: ['76-14=62', '17+16=33']
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 62*33=2046, Resulting Numbers: [2046]
2046,20 unequal: No Solution
Exploring Operation: 62+33=95, Resulting Numbers: [95]
95,20 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: 20:[17, 76, 2], Operations: ['16-14=2']
Exploring Operation: 76-17=59, Resulting Numbers: [2, 59]
Generated Node #0,0,0: 20:[2, 59] Operation: 76-17=59
Exploring Operation: 17+2=19, Resulting Numbers: [76, 19]
Generated Node #0,0,1: 20:[76, 19] Operation: 17+2=19
Exploring Operation: 76/2=38, Resulting Numbers: [17, 38]
Generated Node #0,0,2: 20:[17, 38] Operation: 76/2=38
Exploring Operation: 76-2=74, Resulting Numbers: [17, 74]
Generated Node #0,0,3: 20:[17, 74] Operation: 76-2=74
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[17, 38], Operations: ['16-14=2', '76/2=38']
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 17*38=646, Resulting Numbers: [646]
646,20 unequal: No Solution
Exploring Operation: 17+38=55, Resulting Numbers: [55]
55,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,0
Current State: 20:[2, 59], Operations: ['16-14=2', '76-17=59']
Exploring Operation: 2*59=118, Resulting Numbers: [118]
118,20 unequal: No Solution
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,20 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,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,1
Current State: 20:[76, 19], Operations: ['16-14=2', '17+2=19']
Exploring Operation: 76*19=1444, Resulting Numbers: [1444]
1444,20 unequal: No Solution
Exploring Operation: 76+19=95, Resulting Numbers: [95]
95,20 unequal: No Solution
Exploring Operation: 76/19=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 76-19=57, Resulting Numbers: [57]
57,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,3
Current State: 20:[17, 74], Operations: ['16-14=2', '76-2=74']
Exploring Operation: 74-17=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 17+74=91, Resulting Numbers: [91]
91,20 unequal: No Solution
Exploring Operation: 17*74=1258, Resulting Numbers: [1258]
1258,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 20:[14, 43], Operations: ['76-16=60', '60-17=43']
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 14*43=602, Resulting Numbers: [602]
602,20 unequal: No Solution
Exploring Operation: 14+43=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[17, 46], Operations: ['76-16=60', '60-14=46']
Exploring Operation: 17*46=782, Resulting Numbers: [782]
782,20 unequal: No Solution
Exploring Operation: 17+46=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Moving to Node #0,1,3
Current State: 20:[60, 3], Operations: ['76-16=60', '17-14=3']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[14, 17, 16, 76], Operations: []
Exploring Operation: 76-16=60, Resulting Numbers: [14, 17, 60]
Generated Node #0,1: 20:[14, 17, 60] Operation: 76-16=60
Moving to Node #0,1
Current State: 20:[14, 17, 60], Operations: ['76-16=60']
Exploring Operation: 17-14=3, Resulting Numbers: [60, 3]
Generated Node #0,1,3: 20:[60, 3] Operation: 17-14=3
Moving to Node #0,1,3
Current State: 20:[60, 3], Operations: ['76-16=60', '17-14=3']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.938368 | hs_4 | mult_heuristic |
[
7,
72,
68,
74
] | 73 | [
"7+72=79",
"74-68=6",
"79-6=73"
] | Current State: 73:[7, 72, 68, 74], Operations: []
Exploring Operation: 7+72=79, Resulting Numbers: [68, 74, 79]
Generated Node #2: [68, 74, 79] from Operation: 7+72=79
Current State: 73:[68, 74, 79], Operations: ['7+72=79']
Exploring Operation: 74-68=6, Resulting Numbers: [79, 6]
Generated Node #3: [79, 6] from Operation: 74-68=6
Current State: 73:[79, 6], Operations: ['7+72=79', '74-68=6']
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[7, 72, 68, 74], Operations: []
Exploring Operation: 74-7=67, Resulting Numbers: [72, 68, 67]
Generated Node #0,0: 73:[72, 68, 67] Operation: 74-7=67
Exploring Operation: 7+68=75, Resulting Numbers: [72, 74, 75]
Generated Node #0,1: 73:[72, 74, 75] Operation: 7+68=75
Exploring Operation: 7+72=79, Resulting Numbers: [68, 74, 79]
Generated Node #0,2: 73:[68, 74, 79] Operation: 7+72=79
Moving to Node #0,1
Current State: 73:[72, 74, 75], Operations: ['7+68=75']
Exploring Operation: 75-72=3, Resulting Numbers: [74, 3]
Generated Node #0,1,0: 73:[74, 3] Operation: 75-72=3
Exploring Operation: 74-72=2, Resulting Numbers: [75, 2]
Generated Node #0,1,1: 73:[75, 2] Operation: 74-72=2
Exploring Operation: 75-74=1, Resulting Numbers: [72, 1]
Generated Node #0,1,2: 73:[72, 1] Operation: 75-74=1
Moving to Node #0,0
Current State: 73:[72, 68, 67], Operations: ['74-7=67']
Exploring Operation: 68+67=135, Resulting Numbers: [72, 135]
Generated Node #0,0,0: 73:[72, 135] Operation: 68+67=135
Exploring Operation: 72+68=140, Resulting Numbers: [67, 140]
Generated Node #0,0,1: 73:[67, 140] Operation: 72+68=140
Exploring Operation: 72+67=139, Resulting Numbers: [68, 139]
Generated Node #0,0,2: 73:[68, 139] Operation: 72+67=139
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[72, 135], Operations: ['74-7=67', '68+67=135']
Exploring Operation: 72+135=207, Resulting Numbers: [207]
207,73 unequal: No Solution
Exploring Operation: 135-72=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 72*135=9720, Resulting Numbers: [9720]
9720,73 unequal: No Solution
No 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: 73:[68, 139], Operations: ['74-7=67', '72+67=139']
Exploring Operation: 68+139=207, Resulting Numbers: [207]
207,73 unequal: No Solution
Exploring Operation: 68*139=9452, Resulting Numbers: [9452]
9452,73 unequal: No Solution
Exploring Operation: 139-68=71, Resulting Numbers: [71]
71,73 unequal: No Solution
No 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: 73:[67, 140], Operations: ['74-7=67', '72+68=140']
Exploring Operation: 140-67=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[7, 72, 68, 74], Operations: []
Exploring Operation: 74-7=67, Resulting Numbers: [72, 68, 67]
Generated Node #0,0: 73:[72, 68, 67] Operation: 74-7=67
Moving to Node #0,0
Current State: 73:[72, 68, 67], Operations: ['74-7=67']
Exploring Operation: 72+68=140, Resulting Numbers: [67, 140]
Generated Node #0,0,1: 73:[67, 140] Operation: 72+68=140
Moving to Node #0,0,1
Current State: 73:[67, 140], Operations: ['74-7=67', '72+68=140']
Exploring Operation: 140-67=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_3 | sum_heuristic |
[
70,
60,
56,
74
] | 21 | [
"74-56=18",
"70*18=1260",
"1260/60=21"
] | Current State: 21:[70, 60, 56, 74], Operations: []
Exploring Operation: 74-56=18, Resulting Numbers: [70, 60, 18]
Generated Node #2: [70, 60, 18] from Operation: 74-56=18
Current State: 21:[70, 60, 18], Operations: ['74-56=18']
Exploring Operation: 70*18=1260, Resulting Numbers: [60, 1260]
Generated Node #3: [60, 1260] from Operation: 70*18=1260
Current State: 21:[60, 1260], Operations: ['74-56=18', '70*18=1260']
Exploring Operation: 1260/60=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[70, 60, 56, 74], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [60, 56, 4]
Generated Node #0,0: 21:[60, 56, 4] Operation: 74-70=4
Exploring Operation: 70-60=10, Resulting Numbers: [56, 74, 10]
Generated Node #0,1: 21:[56, 74, 10] Operation: 70-60=10
Moving to Node #0,0
Current State: 21:[60, 56, 4], Operations: ['74-70=4']
Exploring Operation: 60-56=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 21:[4, 4] Operation: 60-56=4
Exploring Operation: 60/4=15, Resulting Numbers: [56, 15]
Generated Node #0,0,1: 21:[56, 15] Operation: 60/4=15
Moving to Node #0,1
Current State: 21:[56, 74, 10], Operations: ['70-60=10']
Exploring Operation: 74-56=18, Resulting Numbers: [10, 18]
Generated Node #0,1,0: 21:[10, 18] Operation: 74-56=18
Exploring Operation: 56-10=46, Resulting Numbers: [74, 46]
Generated Node #0,1,1: 21:[74, 46] Operation: 56-10=46
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[10, 18], Operations: ['70-60=10', '74-56=18']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 21:[74, 46], Operations: ['70-60=10', '56-10=46']
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,21 unequal: No Solution
Exploring Operation: 74+46=120, Resulting Numbers: [120]
120,21 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: 21:[4, 4], Operations: ['74-70=4', '60-56=4']
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[56, 15], Operations: ['74-70=4', '60/4=15']
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,21 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,21 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
9,
73,
43,
49
] | 76 | [
"9+73=82",
"49-43=6",
"82-6=76"
] | Current State: 76:[9, 73, 43, 49], Operations: []
Exploring Operation: 9+73=82, Resulting Numbers: [43, 49, 82]
Generated Node #2: [43, 49, 82] from Operation: 9+73=82
Current State: 76:[43, 49, 82], Operations: ['9+73=82']
Exploring Operation: 49-43=6, Resulting Numbers: [82, 6]
Generated Node #3: [82, 6] from Operation: 49-43=6
Current State: 76:[82, 6], Operations: ['9+73=82', '49-43=6']
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[9, 73, 43, 49], Operations: []
Exploring Operation: 49-9=40, Resulting Numbers: [73, 43, 40]
Generated Node #0,0: 76:[73, 43, 40] Operation: 49-9=40
Exploring Operation: 73-49=24, Resulting Numbers: [9, 43, 24]
Generated Node #0,1: 76:[9, 43, 24] Operation: 73-49=24
Exploring Operation: 49-43=6, Resulting Numbers: [9, 73, 6]
Generated Node #0,2: 76:[9, 73, 6] Operation: 49-43=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[73, 43, 40], Operations: ['49-9=40']
Exploring Operation: 43-40=3, Resulting Numbers: [73, 3]
Generated Node #0,0,0: 76:[73, 3] Operation: 43-40=3
Exploring Operation: 73-43=30, Resulting Numbers: [40, 30]
Generated Node #0,0,1: 76:[40, 30] Operation: 73-43=30
Exploring Operation: 73-40=33, Resulting Numbers: [43, 33]
Generated Node #0,0,2: 76:[43, 33] Operation: 73-40=33
Moving to Node #0,0,0
Current State: 76:[73, 3], Operations: ['49-9=40', '43-40=3']
Exploring Operation: 73*3=219, Resulting Numbers: [219]
219,76 unequal: No Solution
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[9, 73, 43, 49], Operations: []
Exploring Operation: 49-9=40, Resulting Numbers: [73, 43, 40]
Generated Node #0,0: 76:[73, 43, 40] Operation: 49-9=40
Moving to Node #0,0
Current State: 76:[73, 43, 40], Operations: ['49-9=40']
Exploring Operation: 43-40=3, Resulting Numbers: [73, 3]
Generated Node #0,0,0: 76:[73, 3] Operation: 43-40=3
Moving to Node #0,0,0
Current State: 76:[73, 3], Operations: ['49-9=40', '43-40=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
58,
71,
9,
5
] | 74 | [
"71-58=13",
"5*13=65",
"9+65=74"
] | Current State: 74:[58, 71, 9, 5], Operations: []
Exploring Operation: 71-58=13, Resulting Numbers: [9, 5, 13]
Generated Node #2: [9, 5, 13] from Operation: 71-58=13
Current State: 74:[9, 5, 13], Operations: ['71-58=13']
Exploring Operation: 5*13=65, Resulting Numbers: [9, 65]
Generated Node #3: [9, 65] from Operation: 5*13=65
Current State: 74:[9, 65], Operations: ['71-58=13', '5*13=65']
Exploring Operation: 9+65=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[58, 71, 9, 5], Operations: []
Exploring Operation: 58+9=67, Resulting Numbers: [71, 5, 67]
Generated Node #0,0: 74:[71, 5, 67] Operation: 58+9=67
Exploring Operation: 58-9=49, Resulting Numbers: [71, 5, 49]
Generated Node #0,1: 74:[71, 5, 49] Operation: 58-9=49
Moving to Node #0,0
Current State: 74:[71, 5, 67], Operations: ['58+9=67']
Exploring Operation: 71-67=4, Resulting Numbers: [5, 4]
Generated Node #0,0,0: 74:[5, 4] Operation: 71-67=4
Exploring Operation: 5+67=72, Resulting Numbers: [71, 72]
Generated Node #0,0,1: 74:[71, 72] Operation: 5+67=72
Moving to Node #0,1
Current State: 74:[71, 5, 49], Operations: ['58-9=49']
Exploring Operation: 49-5=44, Resulting Numbers: [71, 44]
Generated Node #0,1,0: 74:[71, 44] Operation: 49-5=44
Exploring Operation: 71+5=76, Resulting Numbers: [49, 76]
Generated Node #0,1,1: 74:[49, 76] Operation: 71+5=76
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[71, 44], Operations: ['58-9=49', '49-5=44']
Exploring Operation: 71+44=115, Resulting Numbers: [115]
115,74 unequal: No Solution
Exploring Operation: 71-44=27, Resulting Numbers: [27]
27,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[49, 76], Operations: ['58-9=49', '71+5=76']
Exploring Operation: 76-49=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 49+76=125, Resulting Numbers: [125]
125,74 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: 74:[5, 4], Operations: ['58+9=67', '71-67=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[71, 72], Operations: ['58+9=67', '5+67=72']
Exploring Operation: 72-71=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 71+72=143, Resulting Numbers: [143]
143,74 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
61,
89,
4,
5
] | 59 | [
"89*4=356",
"356-61=295",
"295/5=59"
] | Current State: 59:[61, 89, 4, 5], Operations: []
Exploring Operation: 89*4=356, Resulting Numbers: [61, 5, 356]
Generated Node #2: [61, 5, 356] from Operation: 89*4=356
Current State: 59:[61, 5, 356], Operations: ['89*4=356']
Exploring Operation: 356-61=295, Resulting Numbers: [5, 295]
Generated Node #3: [5, 295] from Operation: 356-61=295
Current State: 59:[5, 295], Operations: ['89*4=356', '356-61=295']
Exploring Operation: 295/5=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[61, 89, 4, 5], Operations: []
Exploring Operation: 4*5=20, Resulting Numbers: [61, 89, 20]
Generated Node #0,0: 59:[61, 89, 20] Operation: 4*5=20
Exploring Operation: 89-5=84, Resulting Numbers: [61, 4, 84]
Generated Node #0,1: 59:[61, 4, 84] Operation: 89-5=84
Exploring Operation: 4+5=9, Resulting Numbers: [61, 89, 9]
Generated Node #0,2: 59:[61, 89, 9] Operation: 4+5=9
Exploring Operation: 89-4=85, Resulting Numbers: [61, 5, 85]
Generated Node #0,3: 59:[61, 5, 85] Operation: 89-4=85
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[61, 89, 20], Operations: ['4*5=20']
Exploring Operation: 61+20=81, Resulting Numbers: [89, 81]
Generated Node #0,0,0: 59:[89, 81] Operation: 61+20=81
Exploring Operation: 61-20=41, Resulting Numbers: [89, 41]
Generated Node #0,0,1: 59:[89, 41] Operation: 61-20=41
Exploring Operation: 89-20=69, Resulting Numbers: [61, 69]
Generated Node #0,0,2: 59:[61, 69] Operation: 89-20=69
Exploring Operation: 89+20=109, Resulting Numbers: [61, 109]
Generated Node #0,0,3: 59:[61, 109] Operation: 89+20=109
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 59:[61, 69], Operations: ['4*5=20', '89-20=69']
Exploring Operation: 61+69=130, Resulting Numbers: [130]
130,59 unequal: No Solution
Exploring Operation: 61*69=4209, Resulting Numbers: [4209]
4209,59 unequal: No Solution
Exploring Operation: 69-61=8, Resulting Numbers: [8]
8,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[89, 41], Operations: ['4*5=20', '61-20=41']
Exploring Operation: 89-41=48, Resulting Numbers: [48]
48,59 unequal: No Solution
Exploring Operation: 89*41=3649, Resulting Numbers: [3649]
3649,59 unequal: No Solution
Exploring Operation: 89+41=130, Resulting Numbers: [130]
130,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[89, 81], Operations: ['4*5=20', '61+20=81']
Exploring Operation: 89*81=7209, Resulting Numbers: [7209]
7209,59 unequal: No Solution
Exploring Operation: 89-81=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 89+81=170, Resulting Numbers: [170]
170,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 59:[61, 109], Operations: ['4*5=20', '89+20=109']
Exploring Operation: 61+109=170, Resulting Numbers: [170]
170,59 unequal: No Solution
Exploring Operation: 61*109=6649, Resulting Numbers: [6649]
6649,59 unequal: No Solution
Exploring Operation: 109-61=48, Resulting Numbers: [48]
48,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[61, 4, 84], Operations: ['89-5=84']
Exploring Operation: 61+4=65, Resulting Numbers: [84, 65]
Generated Node #0,1,0: 59:[84, 65] Operation: 61+4=65
Exploring Operation: 84-4=80, Resulting Numbers: [61, 80]
Generated Node #0,1,1: 59:[61, 80] Operation: 84-4=80
Exploring Operation: 4+84=88, Resulting Numbers: [61, 88]
Generated Node #0,1,2: 59:[61, 88] Operation: 4+84=88
Exploring Operation: 61-4=57, Resulting Numbers: [84, 57]
Generated Node #0,1,3: 59:[84, 57] Operation: 61-4=57
Moving to Node #0,1,1
Current State: 59:[61, 80], Operations: ['89-5=84', '84-4=80']
Exploring Operation: 61*80=4880, Resulting Numbers: [4880]
4880,59 unequal: No Solution
Exploring Operation: 61+80=141, Resulting Numbers: [141]
141,59 unequal: No Solution
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[84, 57], Operations: ['89-5=84', '61-4=57']
Exploring Operation: 84+57=141, Resulting Numbers: [141]
141,59 unequal: No Solution
Exploring Operation: 84*57=4788, Resulting Numbers: [4788]
4788,59 unequal: No Solution
Exploring Operation: 84-57=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[61, 88], Operations: ['89-5=84', '4+84=88']
Exploring Operation: 61+88=149, Resulting Numbers: [149]
149,59 unequal: No Solution
Exploring Operation: 88-61=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 61*88=5368, Resulting Numbers: [5368]
5368,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[84, 65], Operations: ['89-5=84', '61+4=65']
Exploring Operation: 84+65=149, Resulting Numbers: [149]
149,59 unequal: No Solution
Exploring Operation: 84-65=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 84*65=5460, Resulting Numbers: [5460]
5460,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[61, 89, 9], Operations: ['4+5=9']
Exploring Operation: 89-9=80, Resulting Numbers: [61, 80]
Generated Node #0,2,0: 59:[61, 80] Operation: 89-9=80
Exploring Operation: 89+9=98, Resulting Numbers: [61, 98]
Generated Node #0,2,1: 59:[61, 98] Operation: 89+9=98
Exploring Operation: 61-9=52, Resulting Numbers: [89, 52]
Generated Node #0,2,2: 59:[89, 52] Operation: 61-9=52
Exploring Operation: 61+9=70, Resulting Numbers: [89, 70]
Generated Node #0,2,3: 59:[89, 70] Operation: 61+9=70
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 59:[61, 80], Operations: ['4+5=9', '89-9=80']
Exploring Operation: 61+80=141, Resulting Numbers: [141]
141,59 unequal: No Solution
Exploring Operation: 61*80=4880, Resulting Numbers: [4880]
4880,59 unequal: No Solution
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 59:[89, 52], Operations: ['4+5=9', '61-9=52']
Exploring Operation: 89-52=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 89+52=141, Resulting Numbers: [141]
141,59 unequal: No Solution
Exploring Operation: 89*52=4628, Resulting Numbers: [4628]
4628,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 59:[61, 98], Operations: ['4+5=9', '89+9=98']
Exploring Operation: 61+98=159, Resulting Numbers: [159]
159,59 unequal: No Solution
Exploring Operation: 61*98=5978, Resulting Numbers: [5978]
5978,59 unequal: No Solution
Exploring Operation: 98-61=37, Resulting Numbers: [37]
37,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 59:[89, 70], Operations: ['4+5=9', '61+9=70']
Exploring Operation: 89*70=6230, Resulting Numbers: [6230]
6230,59 unequal: No Solution
Exploring Operation: 89-70=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 89+70=159, Resulting Numbers: [159]
159,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 59:[61, 5, 85], Operations: ['89-4=85']
Exploring Operation: 61+5=66, Resulting Numbers: [85, 66]
Generated Node #0,3,0: 59:[85, 66] Operation: 61+5=66
Exploring Operation: 85-5=80, Resulting Numbers: [61, 80]
Generated Node #0,3,1: 59:[61, 80] Operation: 85-5=80
Exploring Operation: 5+85=90, Resulting Numbers: [61, 90]
Generated Node #0,3,2: 59:[61, 90] Operation: 5+85=90
Exploring Operation: 61-5=56, Resulting Numbers: [85, 56]
Generated Node #0,3,3: 59:[85, 56] Operation: 61-5=56
Moving to Node #0,3,1
Current State: 59:[61, 80], Operations: ['89-4=85', '85-5=80']
Exploring Operation: 61*80=4880, Resulting Numbers: [4880]
4880,59 unequal: No Solution
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 61+80=141, Resulting Numbers: [141]
141,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[85, 56], Operations: ['89-4=85', '61-5=56']
Exploring Operation: 85*56=4760, Resulting Numbers: [4760]
4760,59 unequal: No Solution
Exploring Operation: 85+56=141, Resulting Numbers: [141]
141,59 unequal: No Solution
Exploring Operation: 85-56=29, Resulting Numbers: [29]
29,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[61, 90], Operations: ['89-4=85', '5+85=90']
Exploring Operation: 61*90=5490, Resulting Numbers: [5490]
5490,59 unequal: No Solution
Exploring Operation: 61+90=151, Resulting Numbers: [151]
151,59 unequal: No Solution
Exploring Operation: 90-61=29, Resulting Numbers: [29]
29,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[85, 66], Operations: ['89-4=85', '61+5=66']
Exploring Operation: 85*66=5610, Resulting Numbers: [5610]
5610,59 unequal: No Solution
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 85+66=151, Resulting Numbers: [151]
151,59 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 |
[
43,
5,
55,
37
] | 54 | [
"43-5=38",
"55+37=92",
"92-38=54"
] | Current State: 54:[43, 5, 55, 37], Operations: []
Exploring Operation: 43-5=38, Resulting Numbers: [55, 37, 38]
Generated Node #2: [55, 37, 38] from Operation: 43-5=38
Current State: 54:[55, 37, 38], Operations: ['43-5=38']
Exploring Operation: 55+37=92, Resulting Numbers: [38, 92]
Generated Node #3: [38, 92] from Operation: 55+37=92
Current State: 54:[38, 92], Operations: ['43-5=38', '55+37=92']
Exploring Operation: 92-38=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[43, 5, 55, 37], Operations: []
Exploring Operation: 37-5=32, Resulting Numbers: [43, 55, 32]
Generated Node #0,0: 54:[43, 55, 32] Operation: 37-5=32
Exploring Operation: 55-43=12, Resulting Numbers: [5, 37, 12]
Generated Node #0,1: 54:[5, 37, 12] Operation: 55-43=12
Exploring Operation: 43+5=48, Resulting Numbers: [55, 37, 48]
Generated Node #0,2: 54:[55, 37, 48] Operation: 43+5=48
Exploring Operation: 55-37=18, Resulting Numbers: [43, 5, 18]
Generated Node #0,3: 54:[43, 5, 18] Operation: 55-37=18
Exploring Operation: 43-37=6, Resulting Numbers: [5, 55, 6]
Generated Node #0,4: 54:[5, 55, 6] Operation: 43-37=6
Moving to Node #0,4
Current State: 54:[5, 55, 6], Operations: ['43-37=6']
Exploring Operation: 55/5=11, Resulting Numbers: [6, 11]
Generated Node #0,4,0: 54:[6, 11] Operation: 55/5=11
Exploring Operation: 55-5=50, Resulting Numbers: [6, 50]
Generated Node #0,4,1: 54:[6, 50] Operation: 55-5=50
Exploring Operation: 5*6=30, Resulting Numbers: [55, 30]
Generated Node #0,4,2: 54:[55, 30] Operation: 5*6=30
Exploring Operation: 6-5=1, Resulting Numbers: [55, 1]
Generated Node #0,4,3: 54:[55, 1] Operation: 6-5=1
Exploring Operation: 5+6=11, Resulting Numbers: [55, 11]
Generated Node #0,4,4: 54:[55, 11] Operation: 5+6=11
Moving to Node #0,3
Current State: 54:[43, 5, 18], Operations: ['55-37=18']
Exploring Operation: 43+5=48, Resulting Numbers: [18, 48]
Generated Node #0,3,0: 54:[18, 48] Operation: 43+5=48
Exploring Operation: 43-18=25, Resulting Numbers: [5, 25]
Generated Node #0,3,1: 54:[5, 25] Operation: 43-18=25
Exploring Operation: 43-5=38, Resulting Numbers: [18, 38]
Generated Node #0,3,2: 54:[18, 38] Operation: 43-5=38
Exploring Operation: 5+18=23, Resulting Numbers: [43, 23]
Generated Node #0,3,3: 54:[43, 23] Operation: 5+18=23
Exploring Operation: 43+18=61, Resulting Numbers: [5, 61]
Generated Node #0,3,4: 54:[5, 61] Operation: 43+18=61
Moving to Node #0,1
Current State: 54:[5, 37, 12], Operations: ['55-43=12']
Exploring Operation: 37+12=49, Resulting Numbers: [5, 49]
Generated Node #0,1,0: 54:[5, 49] Operation: 37+12=49
Exploring Operation: 37-5=32, Resulting Numbers: [12, 32]
Generated Node #0,1,1: 54:[12, 32] Operation: 37-5=32
Exploring Operation: 37-12=25, Resulting Numbers: [5, 25]
Generated Node #0,1,2: 54:[5, 25] Operation: 37-12=25
Exploring Operation: 5+12=17, Resulting Numbers: [37, 17]
Generated Node #0,1,3: 54:[37, 17] Operation: 5+12=17
Exploring Operation: 12-5=7, Resulting Numbers: [37, 7]
Generated Node #0,1,4: 54:[37, 7] Operation: 12-5=7
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 54:[5, 25], Operations: ['55-43=12', '37-12=25']
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,54 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,54 unequal: No Solution
Exploring Operation: 5*25=125, Resulting Numbers: [125]
125,54 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,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,0
Current State: 54:[5, 49], Operations: ['55-43=12', '37+12=49']
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[43, 5, 55, 37], Operations: []
Exploring Operation: 55-43=12, Resulting Numbers: [5, 37, 12]
Generated Node #0,1: 54:[5, 37, 12] Operation: 55-43=12
Moving to Node #0,1
Current State: 54:[5, 37, 12], Operations: ['55-43=12']
Exploring Operation: 37+12=49, Resulting Numbers: [5, 49]
Generated Node #0,1,0: 54:[5, 49] Operation: 37+12=49
Moving to Node #0,1,0
Current State: 54:[5, 49], Operations: ['55-43=12', '37+12=49']
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_5 | sum_heuristic |
[
20,
33,
50,
90
] | 35 | [
"90-50=40",
"40/20=2",
"33+2=35"
] | Current State: 35:[20, 33, 50, 90], Operations: []
Exploring Operation: 90-50=40, Resulting Numbers: [20, 33, 40]
Generated Node #2: [20, 33, 40] from Operation: 90-50=40
Current State: 35:[20, 33, 40], Operations: ['90-50=40']
Exploring Operation: 40/20=2, Resulting Numbers: [33, 2]
Generated Node #3: [33, 2] from Operation: 40/20=2
Current State: 35:[33, 2], Operations: ['90-50=40', '40/20=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[20, 33, 50, 90], Operations: []
Exploring Operation: 90-20=70, Resulting Numbers: [33, 50, 70]
Generated Node #0,0: 35:[33, 50, 70] Operation: 90-20=70
Exploring Operation: 90-50=40, Resulting Numbers: [20, 33, 40]
Generated Node #0,1: 35:[20, 33, 40] Operation: 90-50=40
Exploring Operation: 90-33=57, Resulting Numbers: [20, 50, 57]
Generated Node #0,2: 35:[20, 50, 57] Operation: 90-33=57
Moving to Node #0,1
Current State: 35:[20, 33, 40], Operations: ['90-50=40']
Exploring Operation: 40-33=7, Resulting Numbers: [20, 7]
Generated Node #0,1,0: 35:[20, 7] Operation: 40-33=7
Exploring Operation: 40/20=2, Resulting Numbers: [33, 2]
Generated Node #0,1,1: 35:[33, 2] Operation: 40/20=2
Exploring Operation: 33-20=13, Resulting Numbers: [40, 13]
Generated Node #0,1,2: 35:[40, 13] Operation: 33-20=13
Moving to Node #0,2
Current State: 35:[20, 50, 57], Operations: ['90-33=57']
Exploring Operation: 50-20=30, Resulting Numbers: [57, 30]
Generated Node #0,2,0: 35:[57, 30] Operation: 50-20=30
Exploring Operation: 57-50=7, Resulting Numbers: [20, 7]
Generated Node #0,2,1: 35:[20, 7] Operation: 57-50=7
Exploring Operation: 57-20=37, Resulting Numbers: [50, 37]
Generated Node #0,2,2: 35:[50, 37] Operation: 57-20=37
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 35:[20, 7], Operations: ['90-33=57', '57-50=7']
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,35 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[50, 37], Operations: ['90-33=57', '57-20=37']
Exploring Operation: 50*37=1850, Resulting Numbers: [1850]
1850,35 unequal: No Solution
Exploring Operation: 50+37=87, Resulting Numbers: [87]
87,35 unequal: No Solution
Exploring Operation: 50-37=13, Resulting Numbers: [13]
13,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[57, 30], Operations: ['90-33=57', '50-20=30']
Exploring Operation: 57*30=1710, Resulting Numbers: [1710]
1710,35 unequal: No Solution
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 57+30=87, Resulting Numbers: [87]
87,35 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: 35:[33, 50, 70], Operations: ['90-20=70']
Exploring Operation: 70-33=37, Resulting Numbers: [50, 37]
Generated Node #0,0,0: 35:[50, 37] Operation: 70-33=37
Exploring Operation: 50-33=17, Resulting Numbers: [70, 17]
Generated Node #0,0,1: 35:[70, 17] Operation: 50-33=17
Exploring Operation: 70-50=20, Resulting Numbers: [33, 20]
Generated Node #0,0,2: 35:[33, 20] Operation: 70-50=20
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[33, 20], Operations: ['90-20=70', '70-50=20']
Exploring Operation: 33*20=660, Resulting Numbers: [660]
660,35 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[50, 37], Operations: ['90-20=70', '70-33=37']
Exploring Operation: 50+37=87, Resulting Numbers: [87]
87,35 unequal: No Solution
Exploring Operation: 50*37=1850, Resulting Numbers: [1850]
1850,35 unequal: No Solution
Exploring Operation: 50-37=13, Resulting Numbers: [13]
13,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[70, 17], Operations: ['90-20=70', '50-33=17']
Exploring Operation: 70*17=1190, Resulting Numbers: [1190]
1190,35 unequal: No Solution
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,35 unequal: No Solution
Exploring Operation: 70+17=87, Resulting Numbers: [87]
87,35 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: 35:[33, 2], Operations: ['90-50=40', '40/20=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[20, 33, 50, 90], Operations: []
Exploring Operation: 90-50=40, Resulting Numbers: [20, 33, 40]
Generated Node #0,1: 35:[20, 33, 40] Operation: 90-50=40
Moving to Node #0,1
Current State: 35:[20, 33, 40], Operations: ['90-50=40']
Exploring Operation: 40/20=2, Resulting Numbers: [33, 2]
Generated Node #0,1,1: 35:[33, 2] Operation: 40/20=2
Moving to Node #0,1,1
Current State: 35:[33, 2], Operations: ['90-50=40', '40/20=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 0.96875 | hs_3 | mult_heuristic |
[
67,
22,
11,
28
] | 78 | [
"67-28=39",
"22/11=2",
"39*2=78"
] | Current State: 78:[67, 22, 11, 28], Operations: []
Exploring Operation: 67-28=39, Resulting Numbers: [22, 11, 39]
Generated Node #2: [22, 11, 39] from Operation: 67-28=39
Current State: 78:[22, 11, 39], Operations: ['67-28=39']
Exploring Operation: 22/11=2, Resulting Numbers: [39, 2]
Generated Node #3: [39, 2] from Operation: 22/11=2
Current State: 78:[39, 2], Operations: ['67-28=39', '22/11=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[67, 22, 11, 28], Operations: []
Exploring Operation: 67-28=39, Resulting Numbers: [22, 11, 39]
Generated Node #0,0: 78:[22, 11, 39] Operation: 67-28=39
Exploring Operation: 22/11=2, Resulting Numbers: [67, 28, 2]
Generated Node #0,1: 78:[67, 28, 2] Operation: 22/11=2
Exploring Operation: 28-22=6, Resulting Numbers: [67, 11, 6]
Generated Node #0,2: 78:[67, 11, 6] Operation: 28-22=6
Exploring Operation: 67-22=45, Resulting Numbers: [11, 28, 45]
Generated Node #0,3: 78:[11, 28, 45] Operation: 67-22=45
Exploring Operation: 67+11=78, Resulting Numbers: [22, 28, 78]
Generated Node #0,4: 78:[22, 28, 78] Operation: 67+11=78
Moving to Node #0,0
Current State: 78:[22, 11, 39], Operations: ['67-28=39']
Exploring Operation: 39-11=28, Resulting Numbers: [22, 28]
Generated Node #0,0,0: 78:[22, 28] Operation: 39-11=28
Exploring Operation: 39-22=17, Resulting Numbers: [11, 17]
Generated Node #0,0,1: 78:[11, 17] Operation: 39-22=17
Exploring Operation: 22/11=2, Resulting Numbers: [39, 2]
Generated Node #0,0,2: 78:[39, 2] Operation: 22/11=2
Exploring Operation: 22-11=11, Resulting Numbers: [39, 11]
Generated Node #0,0,3: 78:[39, 11] Operation: 22-11=11
Exploring Operation: 22+11=33, Resulting Numbers: [39, 33]
Generated Node #0,0,4: 78:[39, 33] Operation: 22+11=33
Moving to Node #0,4
Current State: 78:[22, 28, 78], Operations: ['67+11=78']
Exploring Operation: 28-22=6, Resulting Numbers: [78, 6]
Generated Node #0,4,0: 78:[78, 6] Operation: 28-22=6
Exploring Operation: 78-28=50, Resulting Numbers: [22, 50]
Generated Node #0,4,1: 78:[22, 50] Operation: 78-28=50
Exploring Operation: 22+28=50, Resulting Numbers: [78, 50]
Generated Node #0,4,2: 78:[78, 50] Operation: 22+28=50
Exploring Operation: 78-22=56, Resulting Numbers: [28, 56]
Generated Node #0,4,3: 78:[28, 56] Operation: 78-22=56
Exploring Operation: 22+78=100, Resulting Numbers: [28, 100]
Generated Node #0,4,4: 78:[28, 100] Operation: 22+78=100
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 78:[78, 6], Operations: ['67+11=78', '28-22=6']
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,78 unequal: No Solution
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Exploring Operation: 78*6=468, Resulting Numbers: [468]
468,78 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,78 unequal: No Solution
No 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: 78:[78, 50], Operations: ['67+11=78', '22+28=50']
Exploring Operation: 78*50=3900, Resulting Numbers: [3900]
3900,78 unequal: No Solution
Exploring Operation: 78+50=128, Resulting Numbers: [128]
128,78 unequal: No Solution
Exploring Operation: 78-50=28, Resulting Numbers: [28]
28,78 unequal: No Solution
No 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: 78:[22, 50], Operations: ['67+11=78', '78-28=50']
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,78 unequal: No Solution
Exploring Operation: 22*50=1100, Resulting Numbers: [1100]
1100,78 unequal: No Solution
Exploring Operation: 22+50=72, Resulting Numbers: [72]
72,78 unequal: No Solution
No 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: 78:[28, 56], Operations: ['67+11=78', '78-22=56']
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 28+56=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,78 unequal: No Solution
Exploring Operation: 28*56=1568, Resulting Numbers: [1568]
1568,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 78:[28, 100], Operations: ['67+11=78', '22+78=100']
Exploring Operation: 100-28=72, Resulting Numbers: [72]
72,78 unequal: No Solution
Exploring Operation: 28+100=128, Resulting Numbers: [128]
128,78 unequal: No Solution
Exploring Operation: 28*100=2800, Resulting Numbers: [2800]
2800,78 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: 78:[11, 28, 45], Operations: ['67-22=45']
Exploring Operation: 11+28=39, Resulting Numbers: [45, 39]
Generated Node #0,3,0: 78:[45, 39] Operation: 11+28=39
Exploring Operation: 45-11=34, Resulting Numbers: [28, 34]
Generated Node #0,3,1: 78:[28, 34] Operation: 45-11=34
Exploring Operation: 28-11=17, Resulting Numbers: [45, 17]
Generated Node #0,3,2: 78:[45, 17] Operation: 28-11=17
Exploring Operation: 45-28=17, Resulting Numbers: [11, 17]
Generated Node #0,3,3: 78:[11, 17] Operation: 45-28=17
Exploring Operation: 28+45=73, Resulting Numbers: [11, 73]
Generated Node #0,3,4: 78:[11, 73] Operation: 28+45=73
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 78:[45, 39], Operations: ['67-22=45', '11+28=39']
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Exploring Operation: 45*39=1755, Resulting Numbers: [1755]
1755,78 unequal: No Solution
No 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: 78:[11, 17], Operations: ['67-22=45', '45-28=17']
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,78 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,78 unequal: No Solution
No 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: 78:[28, 34], Operations: ['67-22=45', '45-11=34']
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,78 unequal: No Solution
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,78 unequal: No Solution
No 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: 78:[11, 73], Operations: ['67-22=45', '28+45=73']
Exploring Operation: 11*73=803, Resulting Numbers: [803]
803,78 unequal: No Solution
Exploring Operation: 11+73=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,78 unequal: No Solution
No 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: 78:[45, 17], Operations: ['67-22=45', '28-11=17']
Exploring Operation: 45+17=62, Resulting Numbers: [62]
62,78 unequal: No Solution
Exploring Operation: 45*17=765, Resulting Numbers: [765]
765,78 unequal: No Solution
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,78 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: 78:[67, 28, 2], Operations: ['22/11=2']
Exploring Operation: 28-2=26, Resulting Numbers: [67, 26]
Generated Node #0,1,0: 78:[67, 26] Operation: 28-2=26
Exploring Operation: 67-2=65, Resulting Numbers: [28, 65]
Generated Node #0,1,1: 78:[28, 65] Operation: 67-2=65
Exploring Operation: 67+2=69, Resulting Numbers: [28, 69]
Generated Node #0,1,2: 78:[28, 69] Operation: 67+2=69
Exploring Operation: 28/2=14, Resulting Numbers: [67, 14]
Generated Node #0,1,3: 78:[67, 14] Operation: 28/2=14
Exploring Operation: 67-28=39, Resulting Numbers: [2, 39]
Generated Node #0,1,4: 78:[2, 39] Operation: 67-28=39
Moving to Node #0,2
Current State: 78:[67, 11, 6], Operations: ['28-22=6']
Exploring Operation: 11+6=17, Resulting Numbers: [67, 17]
Generated Node #0,2,0: 78:[67, 17] Operation: 11+6=17
Exploring Operation: 67-11=56, Resulting Numbers: [6, 56]
Generated Node #0,2,1: 78:[6, 56] Operation: 67-11=56
Exploring Operation: 67+11=78, Resulting Numbers: [6, 78]
Generated Node #0,2,2: 78:[6, 78] Operation: 67+11=78
Exploring Operation: 67+6=73, Resulting Numbers: [11, 73]
Generated Node #0,2,3: 78:[11, 73] Operation: 67+6=73
Exploring Operation: 11-6=5, Resulting Numbers: [67, 5]
Generated Node #0,2,4: 78:[67, 5] Operation: 11-6=5
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 78:[6, 78], Operations: ['28-22=6', '67+11=78']
Exploring Operation: 6+78=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Exploring Operation: 6*78=468, Resulting Numbers: [468]
468,78 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,78 unequal: No Solution
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,78 unequal: No Solution
No 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: 78:[11, 73], Operations: ['28-22=6', '67+6=73']
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,78 unequal: No Solution
Exploring Operation: 11+73=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Exploring Operation: 11*73=803, Resulting Numbers: [803]
803,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 78:[67, 5], Operations: ['28-22=6', '11-6=5']
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,78 unequal: No Solution
Exploring Operation: 67*5=335, Resulting Numbers: [335]
335,78 unequal: No Solution
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,78 unequal: No Solution
No 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: 78:[67, 17], Operations: ['28-22=6', '11+6=17']
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,78 unequal: No Solution
Exploring Operation: 67*17=1139, Resulting Numbers: [1139]
1139,78 unequal: No Solution
Exploring Operation: 67+17=84, Resulting Numbers: [84]
84,78 unequal: No Solution
No 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: 78:[6, 56], Operations: ['28-22=6', '67-11=56']
Exploring Operation: 6+56=62, Resulting Numbers: [62]
62,78 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,78 unequal: No Solution
Exploring Operation: 6*56=336, Resulting Numbers: [336]
336,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 78:[39, 2], Operations: ['67-28=39', '22/11=2']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,78 unequal: No Solution
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,78 unequal: No Solution
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[67, 22, 11, 28], Operations: []
Exploring Operation: 67-28=39, Resulting Numbers: [22, 11, 39]
Generated Node #0,0: 78:[22, 11, 39] Operation: 67-28=39
Moving to Node #0,0
Current State: 78:[22, 11, 39], Operations: ['67-28=39']
Exploring Operation: 22/11=2, Resulting Numbers: [39, 2]
Generated Node #0,0,2: 78:[39, 2] Operation: 22/11=2
Moving to Node #0,0,2
Current State: 78:[39, 2], Operations: ['67-28=39', '22/11=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.926215 | hs_5 | sum_heuristic |
[
13,
28,
10,
80
] | 78 | [
"13*10=130",
"80-28=52",
"130-52=78"
] | Current State: 78:[13, 28, 10, 80], Operations: []
Exploring Operation: 13*10=130, Resulting Numbers: [28, 80, 130]
Generated Node #2: [28, 80, 130] from Operation: 13*10=130
Current State: 78:[28, 80, 130], Operations: ['13*10=130']
Exploring Operation: 80-28=52, Resulting Numbers: [130, 52]
Generated Node #3: [130, 52] from Operation: 80-28=52
Current State: 78:[130, 52], Operations: ['13*10=130', '80-28=52']
Exploring Operation: 130-52=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[13, 28, 10, 80], Operations: []
Exploring Operation: 13+28=41, Resulting Numbers: [10, 80, 41]
Generated Node #0,0: 78:[10, 80, 41] Operation: 13+28=41
Exploring Operation: 13-10=3, Resulting Numbers: [28, 80, 3]
Generated Node #0,1: 78:[28, 80, 3] Operation: 13-10=3
Exploring Operation: 28+10=38, Resulting Numbers: [13, 80, 38]
Generated Node #0,2: 78:[13, 80, 38] Operation: 28+10=38
Exploring Operation: 80/10=8, Resulting Numbers: [13, 28, 8]
Generated Node #0,3: 78:[13, 28, 8] Operation: 80/10=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[13, 80, 38], Operations: ['28+10=38']
Exploring Operation: 38-13=25, Resulting Numbers: [80, 25]
Generated Node #0,2,0: 78:[80, 25] Operation: 38-13=25
Exploring Operation: 80-38=42, Resulting Numbers: [13, 42]
Generated Node #0,2,1: 78:[13, 42] Operation: 80-38=42
Exploring Operation: 13+38=51, Resulting Numbers: [80, 51]
Generated Node #0,2,2: 78:[80, 51] Operation: 13+38=51
Exploring Operation: 80-13=67, Resulting Numbers: [38, 67]
Generated Node #0,2,3: 78:[38, 67] Operation: 80-13=67
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 78:[80, 25], Operations: ['28+10=38', '38-13=25']
Exploring Operation: 80*25=2000, Resulting Numbers: [2000]
2000,78 unequal: No Solution
Exploring Operation: 80+25=105, Resulting Numbers: [105]
105,78 unequal: No Solution
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,78 unequal: No Solution
No 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: 78:[13, 42], Operations: ['28+10=38', '80-38=42']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,78 unequal: No Solution
Exploring Operation: 13*42=546, Resulting Numbers: [546]
546,78 unequal: No Solution
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,78 unequal: No Solution
No 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: 78:[38, 67], Operations: ['28+10=38', '80-13=67']
Exploring Operation: 38*67=2546, Resulting Numbers: [2546]
2546,78 unequal: No Solution
Exploring Operation: 38+67=105, Resulting Numbers: [105]
105,78 unequal: No Solution
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,78 unequal: No Solution
No 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: 78:[80, 51], Operations: ['28+10=38', '13+38=51']
Exploring Operation: 80*51=4080, Resulting Numbers: [4080]
4080,78 unequal: No Solution
Exploring Operation: 80+51=131, Resulting Numbers: [131]
131,78 unequal: No Solution
Exploring Operation: 80-51=29, Resulting Numbers: [29]
29,78 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: 78:[28, 80, 3], Operations: ['13-10=3']
Exploring Operation: 80-3=77, Resulting Numbers: [28, 77]
Generated Node #0,1,0: 78:[28, 77] Operation: 80-3=77
Exploring Operation: 80+3=83, Resulting Numbers: [28, 83]
Generated Node #0,1,1: 78:[28, 83] Operation: 80+3=83
Exploring Operation: 28-3=25, Resulting Numbers: [80, 25]
Generated Node #0,1,2: 78:[80, 25] Operation: 28-3=25
Exploring Operation: 28+3=31, Resulting Numbers: [80, 31]
Generated Node #0,1,3: 78:[80, 31] Operation: 28+3=31
Moving to Node #0,1,0
Current State: 78:[28, 77], Operations: ['13-10=3', '80-3=77']
Exploring Operation: 77-28=49, Resulting Numbers: [49]
49,78 unequal: No Solution
Exploring Operation: 28+77=105, Resulting Numbers: [105]
105,78 unequal: No Solution
Exploring Operation: 28*77=2156, Resulting Numbers: [2156]
2156,78 unequal: No Solution
Moving to Node #0,1,2
Current State: 78:[80, 25], Operations: ['13-10=3', '28-3=25']
Exploring Operation: 80*25=2000, Resulting Numbers: [2000]
2000,78 unequal: No Solution
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,78 unequal: No Solution
Exploring Operation: 80+25=105, Resulting Numbers: [105]
105,78 unequal: No Solution
Moving to Node #0,1,3
Current State: 78:[80, 31], Operations: ['13-10=3', '28+3=31']
Exploring Operation: 80+31=111, Resulting Numbers: [111]
111,78 unequal: No Solution
Exploring Operation: 80-31=49, Resulting Numbers: [49]
49,78 unequal: No Solution
Exploring Operation: 80*31=2480, Resulting Numbers: [2480]
2480,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[28, 83], Operations: ['13-10=3', '80+3=83']
Exploring Operation: 83-28=55, Resulting Numbers: [55]
55,78 unequal: No Solution
Exploring Operation: 28+83=111, Resulting Numbers: [111]
111,78 unequal: No Solution
Exploring Operation: 28*83=2324, Resulting Numbers: [2324]
2324,78 unequal: No Solution
No 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: 78:[13, 28, 8], Operations: ['80/10=8']
Exploring Operation: 13-8=5, Resulting Numbers: [28, 5]
Generated Node #0,3,0: 78:[28, 5] Operation: 13-8=5
Exploring Operation: 28-13=15, Resulting Numbers: [8, 15]
Generated Node #0,3,1: 78:[8, 15] Operation: 28-13=15
Exploring Operation: 13+28=41, Resulting Numbers: [8, 41]
Generated Node #0,3,2: 78:[8, 41] Operation: 13+28=41
Exploring Operation: 28+8=36, Resulting Numbers: [13, 36]
Generated Node #0,3,3: 78:[13, 36] Operation: 28+8=36
Moving to Node #0,3,0
Current State: 78:[28, 5], Operations: ['80/10=8', '13-8=5']
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,78 unequal: No Solution
Moving to Node #0,3,3
Current State: 78:[13, 36], Operations: ['80/10=8', '28+8=36']
Exploring Operation: 13*36=468, Resulting Numbers: [468]
468,78 unequal: No Solution
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,78 unequal: No Solution
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Moving to Node #0,3,2
Current State: 78:[8, 41], Operations: ['80/10=8', '13+28=41']
Exploring Operation: 8*41=328, Resulting Numbers: [328]
328,78 unequal: No Solution
Exploring Operation: 8+41=49, Resulting Numbers: [49]
49,78 unequal: No Solution
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Moving to Node #0,3,1
Current State: 78:[8, 15], Operations: ['80/10=8', '28-13=15']
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,78 unequal: No Solution
No 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: 78:[10, 80, 41], Operations: ['13+28=41']
Exploring Operation: 41-10=31, Resulting Numbers: [80, 31]
Generated Node #0,0,0: 78:[80, 31] Operation: 41-10=31
Exploring Operation: 80/10=8, Resulting Numbers: [41, 8]
Generated Node #0,0,1: 78:[41, 8] Operation: 80/10=8
Exploring Operation: 80-41=39, Resulting Numbers: [10, 39]
Generated Node #0,0,2: 78:[10, 39] Operation: 80-41=39
Exploring Operation: 80-10=70, Resulting Numbers: [41, 70]
Generated Node #0,0,3: 78:[41, 70] Operation: 80-10=70
Moving to Node #0,0,2
Current State: 78:[10, 39], Operations: ['13+28=41', '80-41=39']
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,78 unequal: No Solution
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,78 unequal: No Solution
Exploring Operation: 10*39=390, Resulting Numbers: [390]
390,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[41, 8], Operations: ['13+28=41', '80/10=8']
Exploring Operation: 41*8=328, Resulting Numbers: [328]
328,78 unequal: No Solution
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[80, 31], Operations: ['13+28=41', '41-10=31']
Exploring Operation: 80-31=49, Resulting Numbers: [49]
49,78 unequal: No Solution
Exploring Operation: 80+31=111, Resulting Numbers: [111]
111,78 unequal: No Solution
Exploring Operation: 80*31=2480, Resulting Numbers: [2480]
2480,78 unequal: No Solution
Moving to Node #0,0,3
Current State: 78:[41, 70], Operations: ['13+28=41', '80-10=70']
Exploring Operation: 41+70=111, Resulting Numbers: [111]
111,78 unequal: No Solution
Exploring Operation: 41*70=2870, Resulting Numbers: [2870]
2870,78 unequal: No Solution
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
4,
22,
7,
86
] | 53 | [
"4+22=26",
"86-7=79",
"79-26=53"
] | Current State: 53:[4, 22, 7, 86], Operations: []
Exploring Operation: 4+22=26, Resulting Numbers: [7, 86, 26]
Generated Node #2: [7, 86, 26] from Operation: 4+22=26
Current State: 53:[7, 86, 26], Operations: ['4+22=26']
Exploring Operation: 86-7=79, Resulting Numbers: [26, 79]
Generated Node #3: [26, 79] from Operation: 86-7=79
Current State: 53:[26, 79], Operations: ['4+22=26', '86-7=79']
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[4, 22, 7, 86], Operations: []
Exploring Operation: 4+22=26, Resulting Numbers: [7, 86, 26]
Generated Node #0,0: 53:[7, 86, 26] Operation: 4+22=26
Exploring Operation: 4*7=28, Resulting Numbers: [22, 86, 28]
Generated Node #0,1: 53:[22, 86, 28] Operation: 4*7=28
Exploring Operation: 4+7=11, Resulting Numbers: [22, 86, 11]
Generated Node #0,2: 53:[22, 86, 11] Operation: 4+7=11
Moving to Node #0,1
Current State: 53:[22, 86, 28], Operations: ['4*7=28']
Exploring Operation: 22+28=50, Resulting Numbers: [86, 50]
Generated Node #0,1,0: 53:[86, 50] Operation: 22+28=50
Exploring Operation: 86-22=64, Resulting Numbers: [28, 64]
Generated Node #0,1,1: 53:[28, 64] Operation: 86-22=64
Exploring Operation: 86-28=58, Resulting Numbers: [22, 58]
Generated Node #0,1,2: 53:[22, 58] Operation: 86-28=58
Moving to Node #0,0
Current State: 53:[7, 86, 26], Operations: ['4+22=26']
Exploring Operation: 86-7=79, Resulting Numbers: [26, 79]
Generated Node #0,0,0: 53:[26, 79] Operation: 86-7=79
Exploring Operation: 86-26=60, Resulting Numbers: [7, 60]
Generated Node #0,0,1: 53:[7, 60] Operation: 86-26=60
Exploring Operation: 7+26=33, Resulting Numbers: [86, 33]
Generated Node #0,0,2: 53:[86, 33] Operation: 7+26=33
Moving to Node #0,2
Current State: 53:[22, 86, 11], Operations: ['4+7=11']
Exploring Operation: 86-11=75, Resulting Numbers: [22, 75]
Generated Node #0,2,0: 53:[22, 75] Operation: 86-11=75
Exploring Operation: 86-22=64, Resulting Numbers: [11, 64]
Generated Node #0,2,1: 53:[11, 64] Operation: 86-22=64
Exploring Operation: 22+11=33, Resulting Numbers: [86, 33]
Generated Node #0,2,2: 53:[86, 33] Operation: 22+11=33
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[22, 75], Operations: ['4+7=11', '86-11=75']
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[4, 22, 7, 86], Operations: []
Exploring Operation: 4+7=11, Resulting Numbers: [22, 86, 11]
Generated Node #0,2: 53:[22, 86, 11] Operation: 4+7=11
Moving to Node #0,2
Current State: 53:[22, 86, 11], Operations: ['4+7=11']
Exploring Operation: 86-11=75, Resulting Numbers: [22, 75]
Generated Node #0,2,0: 53:[22, 75] Operation: 86-11=75
Moving to Node #0,2,0
Current State: 53:[22, 75], Operations: ['4+7=11', '86-11=75']
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
82,
53,
54,
32
] | 92 | [
"53*54=2862",
"82+2862=2944",
"2944/32=92"
] | Current State: 92:[82, 53, 54, 32], Operations: []
Exploring Operation: 53*54=2862, Resulting Numbers: [82, 32, 2862]
Generated Node #2: [82, 32, 2862] from Operation: 53*54=2862
Current State: 92:[82, 32, 2862], Operations: ['53*54=2862']
Exploring Operation: 82+2862=2944, Resulting Numbers: [32, 2944]
Generated Node #3: [32, 2944] from Operation: 82+2862=2944
Current State: 92:[32, 2944], Operations: ['53*54=2862', '82+2862=2944']
Exploring Operation: 2944/32=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[82, 53, 54, 32], Operations: []
Exploring Operation: 82-32=50, Resulting Numbers: [53, 54, 50]
Generated Node #0,0: 92:[53, 54, 50] Operation: 82-32=50
Exploring Operation: 54-32=22, Resulting Numbers: [82, 53, 22]
Generated Node #0,1: 92:[82, 53, 22] Operation: 54-32=22
Moving to Node #0,1
Current State: 92:[82, 53, 22], Operations: ['54-32=22']
Exploring Operation: 53-22=31, Resulting Numbers: [82, 31]
Generated Node #0,1,0: 92:[82, 31] Operation: 53-22=31
Exploring Operation: 82-53=29, Resulting Numbers: [22, 29]
Generated Node #0,1,1: 92:[22, 29] Operation: 82-53=29
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[22, 29], Operations: ['54-32=22', '82-53=29']
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,92 unequal: No Solution
Exploring Operation: 22+29=51, Resulting Numbers: [51]
51,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[82, 31], Operations: ['54-32=22', '53-22=31']
Exploring Operation: 82+31=113, Resulting Numbers: [113]
113,92 unequal: No Solution
Exploring Operation: 82-31=51, Resulting Numbers: [51]
51,92 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: 92:[53, 54, 50], Operations: ['82-32=50']
Exploring Operation: 54-53=1, Resulting Numbers: [50, 1]
Generated Node #0,0,0: 92:[50, 1] Operation: 54-53=1
Exploring Operation: 54-50=4, Resulting Numbers: [53, 4]
Generated Node #0,0,1: 92:[53, 4] Operation: 54-50=4
Moving to Node #0,0,0
Current State: 92:[50, 1], Operations: ['82-32=50', '54-53=1']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[53, 4], Operations: ['82-32=50', '54-50=4']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,92 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
42,
65,
59,
54
] | 28 | [
"65-42=23",
"59-54=5",
"23+5=28"
] | Current State: 28:[42, 65, 59, 54], Operations: []
Exploring Operation: 65-42=23, Resulting Numbers: [59, 54, 23]
Generated Node #2: [59, 54, 23] from Operation: 65-42=23
Current State: 28:[59, 54, 23], Operations: ['65-42=23']
Exploring Operation: 59-54=5, Resulting Numbers: [23, 5]
Generated Node #3: [23, 5] from Operation: 59-54=5
Current State: 28:[23, 5], Operations: ['65-42=23', '59-54=5']
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[42, 65, 59, 54], Operations: []
Exploring Operation: 65-59=6, Resulting Numbers: [42, 54, 6]
Generated Node #0,0: 28:[42, 54, 6] Operation: 65-59=6
Exploring Operation: 59-54=5, Resulting Numbers: [42, 65, 5]
Generated Node #0,1: 28:[42, 65, 5] Operation: 59-54=5
Exploring Operation: 65-54=11, Resulting Numbers: [42, 59, 11]
Generated Node #0,2: 28:[42, 59, 11] Operation: 65-54=11
Moving to Node #0,0
Current State: 28:[42, 54, 6], Operations: ['65-59=6']
Exploring Operation: 42/6=7, Resulting Numbers: [54, 7]
Generated Node #0,0,0: 28:[54, 7] Operation: 42/6=7
Exploring Operation: 54/6=9, Resulting Numbers: [42, 9]
Generated Node #0,0,1: 28:[42, 9] Operation: 54/6=9
Exploring Operation: 54-42=12, Resulting Numbers: [6, 12]
Generated Node #0,0,2: 28:[6, 12] Operation: 54-42=12
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 28:[6, 12], Operations: ['65-59=6', '54-42=12']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[42, 9], Operations: ['65-59=6', '54/6=9']
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Exploring Operation: 42*9=378, Resulting Numbers: [378]
378,28 unequal: No Solution
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[54, 7], Operations: ['65-59=6', '42/6=7']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Exploring Operation: 54*7=378, Resulting Numbers: [378]
378,28 unequal: No Solution
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,28 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: 28:[42, 59, 11], Operations: ['65-54=11']
Exploring Operation: 59-42=17, Resulting Numbers: [11, 17]
Generated Node #0,2,0: 28:[11, 17] Operation: 59-42=17
Exploring Operation: 42-11=31, Resulting Numbers: [59, 31]
Generated Node #0,2,1: 28:[59, 31] Operation: 42-11=31
Exploring Operation: 59-11=48, Resulting Numbers: [42, 48]
Generated Node #0,2,2: 28:[42, 48] Operation: 59-11=48
Moving to Node #0,1
Current State: 28:[42, 65, 5], Operations: ['59-54=5']
Exploring Operation: 42-5=37, Resulting Numbers: [65, 37]
Generated Node #0,1,0: 28:[65, 37] Operation: 42-5=37
Exploring Operation: 65/5=13, Resulting Numbers: [42, 13]
Generated Node #0,1,1: 28:[42, 13] Operation: 65/5=13
Exploring Operation: 65-42=23, Resulting Numbers: [5, 23]
Generated Node #0,1,2: 28:[5, 23] Operation: 65-42=23
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[5, 23], Operations: ['59-54=5', '65-42=23']
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,28 unequal: No Solution
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[42, 65, 59, 54], Operations: []
Exploring Operation: 59-54=5, Resulting Numbers: [42, 65, 5]
Generated Node #0,1: 28:[42, 65, 5] Operation: 59-54=5
Moving to Node #0,1
Current State: 28:[42, 65, 5], Operations: ['59-54=5']
Exploring Operation: 65-42=23, Resulting Numbers: [5, 23]
Generated Node #0,1,2: 28:[5, 23] Operation: 65-42=23
Moving to Node #0,1,2
Current State: 28:[5, 23], Operations: ['59-54=5', '65-42=23']
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
79,
69,
5,
43
] | 93 | [
"79-69=10",
"5*10=50",
"43+50=93"
] | Current State: 93:[79, 69, 5, 43], Operations: []
Exploring Operation: 79-69=10, Resulting Numbers: [5, 43, 10]
Generated Node #2: [5, 43, 10] from Operation: 79-69=10
Current State: 93:[5, 43, 10], Operations: ['79-69=10']
Exploring Operation: 5*10=50, Resulting Numbers: [43, 50]
Generated Node #3: [43, 50] from Operation: 5*10=50
Current State: 93:[43, 50], Operations: ['79-69=10', '5*10=50']
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[79, 69, 5, 43], Operations: []
Exploring Operation: 79-43=36, Resulting Numbers: [69, 5, 36]
Generated Node #0,0: 93:[69, 5, 36] Operation: 79-43=36
Exploring Operation: 69-43=26, Resulting Numbers: [79, 5, 26]
Generated Node #0,1: 93:[79, 5, 26] Operation: 69-43=26
Exploring Operation: 79-69=10, Resulting Numbers: [5, 43, 10]
Generated Node #0,2: 93:[5, 43, 10] Operation: 79-69=10
Moving to Node #0,1
Current State: 93:[79, 5, 26], Operations: ['69-43=26']
Exploring Operation: 79+26=105, Resulting Numbers: [5, 105]
Generated Node #0,1,0: 93:[5, 105] Operation: 79+26=105
Exploring Operation: 5+26=31, Resulting Numbers: [79, 31]
Generated Node #0,1,1: 93:[79, 31] Operation: 5+26=31
Exploring Operation: 79+5=84, Resulting Numbers: [26, 84]
Generated Node #0,1,2: 93:[26, 84] Operation: 79+5=84
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[5, 105], Operations: ['69-43=26', '79+26=105']
Exploring Operation: 5+105=110, Resulting Numbers: [110]
110,93 unequal: No Solution
Exploring Operation: 105/5=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Exploring Operation: 105-5=100, Resulting Numbers: [100]
100,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:[79, 31], Operations: ['69-43=26', '5+26=31']
Exploring Operation: 79+31=110, Resulting Numbers: [110]
110,93 unequal: No Solution
Exploring Operation: 79*31=2449, Resulting Numbers: [2449]
2449,93 unequal: No Solution
Exploring Operation: 79-31=48, Resulting Numbers: [48]
48,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:[26, 84], Operations: ['69-43=26', '79+5=84']
Exploring Operation: 84-26=58, Resulting Numbers: [58]
58,93 unequal: No Solution
Exploring Operation: 26+84=110, Resulting Numbers: [110]
110,93 unequal: No Solution
Exploring Operation: 26*84=2184, Resulting Numbers: [2184]
2184,93 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: 93:[5, 43, 10], Operations: ['79-69=10']
Exploring Operation: 10/5=2, Resulting Numbers: [43, 2]
Generated Node #0,2,0: 93:[43, 2] Operation: 10/5=2
Exploring Operation: 43-5=38, Resulting Numbers: [10, 38]
Generated Node #0,2,1: 93:[10, 38] Operation: 43-5=38
Exploring Operation: 43-10=33, Resulting Numbers: [5, 33]
Generated Node #0,2,2: 93:[5, 33] Operation: 43-10=33
Moving to Node #0,0
Current State: 93:[69, 5, 36], Operations: ['79-43=36']
Exploring Operation: 69+36=105, Resulting Numbers: [5, 105]
Generated Node #0,0,0: 93:[5, 105] Operation: 69+36=105
Exploring Operation: 69-36=33, Resulting Numbers: [5, 33]
Generated Node #0,0,1: 93:[5, 33] Operation: 69-36=33
Exploring Operation: 69+5=74, Resulting Numbers: [36, 74]
Generated Node #0,0,2: 93:[36, 74] Operation: 69+5=74
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[5, 33], Operations: ['79-43=36', '69-36=33']
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,93 unequal: No Solution
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,93 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[5, 105], Operations: ['79-43=36', '69+36=105']
Exploring Operation: 105/5=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Exploring Operation: 5+105=110, Resulting Numbers: [110]
110,93 unequal: No Solution
Exploring Operation: 105-5=100, Resulting Numbers: [100]
100,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[36, 74], Operations: ['79-43=36', '69+5=74']
Exploring Operation: 36+74=110, Resulting Numbers: [110]
110,93 unequal: No Solution
Exploring Operation: 36*74=2664, Resulting Numbers: [2664]
2664,93 unequal: No Solution
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 93:[5, 33], Operations: ['79-69=10', '43-10=33']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,93 unequal: No Solution
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[43, 2], Operations: ['79-69=10', '10/5=2']
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,93 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[10, 38], Operations: ['79-69=10', '43-5=38']
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 10*38=380, Resulting Numbers: [380]
380,93 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
11,
74,
11,
25
] | 33 | [
"11*74=814",
"11+814=825",
"825/25=33"
] | Current State: 33:[11, 74, 11, 25], Operations: []
Exploring Operation: 11*74=814, Resulting Numbers: [25, 814]
Generated Node #2: [25, 814] from Operation: 11*74=814
Current State: 33:[25, 814], Operations: ['11*74=814']
Exploring Operation: 11+814=825, Resulting Numbers: [25, 825]
Generated Node #3: [25, 825] from Operation: 11+814=825
Current State: 33:[25, 825], Operations: ['11*74=814', '11+814=825']
Exploring Operation: 825/25=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[11, 74, 11, 25], Operations: []
Exploring Operation: 74-25=49, Resulting Numbers: [11, 11, 49]
Generated Node #0,0: 33:[11, 11, 49] Operation: 74-25=49
Exploring Operation: 74-11=63, Resulting Numbers: [11, 25, 63]
Generated Node #0,1: 33:[11, 25, 63] Operation: 74-11=63
Exploring Operation: 74-11=63, Resulting Numbers: [11, 25, 63]
Generated Node #0,2: 33:[11, 25, 63] Operation: 74-11=63
Exploring Operation: 11+25=36, Resulting Numbers: [74, 11, 36]
Generated Node #0,3: 33:[74, 11, 36] Operation: 11+25=36
Moving to Node #0,0
Current State: 33:[11, 11, 49], Operations: ['74-25=49']
Exploring Operation: 49-11=38, Resulting Numbers: [11, 38]
Generated Node #0,0,0: 33:[11, 38] Operation: 49-11=38
Exploring Operation: 11-11=0, Resulting Numbers: [49, 0]
Generated Node #0,0,1: 33:[49, 0] Operation: 11-11=0
Exploring Operation: 49-11=38, Resulting Numbers: [11, 38]
Generated Node #0,0,2: 33:[11, 38] Operation: 49-11=38
Exploring Operation: 11/11=1, Resulting Numbers: [49, 1]
Generated Node #0,0,3: 33:[49, 1] Operation: 11/11=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[11, 38], Operations: ['74-25=49', '49-11=38']
Exploring Operation: 11+38=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Exploring Operation: 11*38=418, Resulting Numbers: [418]
418,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,0,2
Current State: 33:[11, 38], Operations: ['74-25=49', '49-11=38']
Exploring Operation: 11*38=418, Resulting Numbers: [418]
418,33 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Exploring Operation: 11+38=49, Resulting Numbers: [49]
49,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,0,3
Current State: 33:[49, 1], Operations: ['74-25=49', '11/11=1']
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,33 unequal: No Solution
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,33 unequal: No Solution
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,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,0,1
Current State: 33:[49, 0], Operations: ['74-25=49', '11-11=0']
Exploring Operation: 49*0=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 49+0=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Exploring Operation: 49-0=49, Resulting Numbers: [49]
49,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:[11, 25, 63], Operations: ['74-11=63']
Exploring Operation: 11+25=36, Resulting Numbers: [63, 36]
Generated Node #0,2,0: 33:[63, 36] Operation: 11+25=36
Exploring Operation: 25-11=14, Resulting Numbers: [63, 14]
Generated Node #0,2,1: 33:[63, 14] Operation: 25-11=14
Exploring Operation: 63-25=38, Resulting Numbers: [11, 38]
Generated Node #0,2,2: 33:[11, 38] Operation: 63-25=38
Exploring Operation: 63-11=52, Resulting Numbers: [25, 52]
Generated Node #0,2,3: 33:[25, 52] Operation: 63-11=52
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 33:[11, 38], Operations: ['74-11=63', '63-25=38']
Exploring Operation: 11*38=418, Resulting Numbers: [418]
418,33 unequal: No Solution
Exploring Operation: 11+38=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,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,2,3
Current State: 33:[25, 52], Operations: ['74-11=63', '63-11=52']
Exploring Operation: 25*52=1300, Resulting Numbers: [1300]
1300,33 unequal: No Solution
Exploring Operation: 25+52=77, Resulting Numbers: [77]
77,33 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,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,2,0
Current State: 33:[63, 36], Operations: ['74-11=63', '11+25=36']
Exploring Operation: 63+36=99, Resulting Numbers: [99]
99,33 unequal: No Solution
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Exploring Operation: 63*36=2268, Resulting Numbers: [2268]
2268,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,2,1
Current State: 33:[63, 14], Operations: ['74-11=63', '25-11=14']
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,33 unequal: No Solution
Exploring Operation: 63*14=882, Resulting Numbers: [882]
882,33 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,33 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: 33:[11, 25, 63], Operations: ['74-11=63']
Exploring Operation: 63-25=38, Resulting Numbers: [11, 38]
Generated Node #0,1,0: 33:[11, 38] Operation: 63-25=38
Exploring Operation: 11+25=36, Resulting Numbers: [63, 36]
Generated Node #0,1,1: 33:[63, 36] Operation: 11+25=36
Exploring Operation: 25-11=14, Resulting Numbers: [63, 14]
Generated Node #0,1,2: 33:[63, 14] Operation: 25-11=14
Exploring Operation: 63-11=52, Resulting Numbers: [25, 52]
Generated Node #0,1,3: 33:[25, 52] Operation: 63-11=52
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 33:[11, 38], Operations: ['74-11=63', '63-25=38']
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Exploring Operation: 11+38=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Exploring Operation: 11*38=418, Resulting Numbers: [418]
418,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:[25, 52], Operations: ['74-11=63', '63-11=52']
Exploring Operation: 25+52=77, Resulting Numbers: [77]
77,33 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Exploring Operation: 25*52=1300, Resulting Numbers: [1300]
1300,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,1
Current State: 33:[63, 36], Operations: ['74-11=63', '11+25=36']
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Exploring Operation: 63+36=99, Resulting Numbers: [99]
99,33 unequal: No Solution
Exploring Operation: 63*36=2268, Resulting Numbers: [2268]
2268,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:[63, 14], Operations: ['74-11=63', '25-11=14']
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,33 unequal: No Solution
Exploring Operation: 63*14=882, Resulting Numbers: [882]
882,33 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: 33:[74, 11, 36], Operations: ['11+25=36']
Exploring Operation: 74-36=38, Resulting Numbers: [11, 38]
Generated Node #0,3,0: 33:[11, 38] Operation: 74-36=38
Exploring Operation: 74+11=85, Resulting Numbers: [36, 85]
Generated Node #0,3,1: 33:[36, 85] Operation: 74+11=85
Exploring Operation: 36-11=25, Resulting Numbers: [74, 25]
Generated Node #0,3,2: 33:[74, 25] Operation: 36-11=25
Exploring Operation: 74-11=63, Resulting Numbers: [36, 63]
Generated Node #0,3,3: 33:[36, 63] Operation: 74-11=63
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 33:[11, 38], Operations: ['11+25=36', '74-36=38']
Exploring Operation: 11*38=418, Resulting Numbers: [418]
418,33 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Exploring Operation: 11+38=49, Resulting Numbers: [49]
49,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:[36, 63], Operations: ['11+25=36', '74-11=63']
Exploring Operation: 36+63=99, Resulting Numbers: [99]
99,33 unequal: No Solution
Exploring Operation: 36*63=2268, Resulting Numbers: [2268]
2268,33 unequal: No Solution
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,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:[74, 25], Operations: ['11+25=36', '36-11=25']
Exploring Operation: 74+25=99, Resulting Numbers: [99]
99,33 unequal: No Solution
Exploring Operation: 74*25=1850, Resulting Numbers: [1850]
1850,33 unequal: No Solution
Exploring Operation: 74-25=49, Resulting Numbers: [49]
49,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:[36, 85], Operations: ['11+25=36', '74+11=85']
Exploring Operation: 85-36=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Exploring Operation: 36*85=3060, Resulting Numbers: [3060]
3060,33 unequal: No Solution
Exploring Operation: 36+85=121, Resulting Numbers: [121]
121,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
86,
7,
40,
42
] | 50 | [
"42-40=2",
"86/2=43",
"7+43=50"
] | Current State: 50:[86, 7, 40, 42], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [86, 7, 2]
Generated Node #2: [86, 7, 2] from Operation: 42-40=2
Current State: 50:[86, 7, 2], Operations: ['42-40=2']
Exploring Operation: 86/2=43, Resulting Numbers: [7, 43]
Generated Node #3: [7, 43] from Operation: 86/2=43
Current State: 50:[7, 43], Operations: ['42-40=2', '86/2=43']
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[86, 7, 40, 42], Operations: []
Exploring Operation: 86-40=46, Resulting Numbers: [7, 42, 46]
Generated Node #0,0: 50:[7, 42, 46] Operation: 86-40=46
Moving to Node #0,0
Current State: 50:[7, 42, 46], Operations: ['86-40=46']
Exploring Operation: 46-42=4, Resulting Numbers: [7, 4]
Generated Node #0,0,0: 50:[7, 4] Operation: 46-42=4
Moving to Node #0,0,0
Current State: 50:[7, 4], Operations: ['86-40=46', '46-42=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,50 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
68,
91,
79,
70
] | 28 | [
"68*70=4760",
"91+79=170",
"4760/170=28"
] | Current State: 28:[68, 91, 79, 70], Operations: []
Exploring Operation: 68*70=4760, Resulting Numbers: [91, 79, 4760]
Generated Node #2: [91, 79, 4760] from Operation: 68*70=4760
Current State: 28:[91, 79, 4760], Operations: ['68*70=4760']
Exploring Operation: 91+79=170, Resulting Numbers: [4760, 170]
Generated Node #3: [4760, 170] from Operation: 91+79=170
Current State: 28:[4760, 170], Operations: ['68*70=4760', '91+79=170']
Exploring Operation: 4760/170=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[68, 91, 79, 70], Operations: []
Exploring Operation: 91-68=23, Resulting Numbers: [79, 70, 23]
Generated Node #0,0: 28:[79, 70, 23] Operation: 91-68=23
Exploring Operation: 79-70=9, Resulting Numbers: [68, 91, 9]
Generated Node #0,1: 28:[68, 91, 9] Operation: 79-70=9
Exploring Operation: 91-79=12, Resulting Numbers: [68, 70, 12]
Generated Node #0,2: 28:[68, 70, 12] Operation: 91-79=12
Exploring Operation: 79-68=11, Resulting Numbers: [91, 70, 11]
Generated Node #0,3: 28:[91, 70, 11] Operation: 79-68=11
Exploring Operation: 91-70=21, Resulting Numbers: [68, 79, 21]
Generated Node #0,4: 28:[68, 79, 21] Operation: 91-70=21
Moving to Node #0,2
Current State: 28:[68, 70, 12], Operations: ['91-79=12']
Exploring Operation: 70-68=2, Resulting Numbers: [12, 2]
Generated Node #0,2,0: 28:[12, 2] Operation: 70-68=2
Exploring Operation: 68-12=56, Resulting Numbers: [70, 56]
Generated Node #0,2,1: 28:[70, 56] Operation: 68-12=56
Exploring Operation: 70-12=58, Resulting Numbers: [68, 58]
Generated Node #0,2,2: 28:[68, 58] Operation: 70-12=58
Exploring Operation: 68+12=80, Resulting Numbers: [70, 80]
Generated Node #0,2,3: 28:[70, 80] Operation: 68+12=80
Exploring Operation: 70+12=82, Resulting Numbers: [68, 82]
Generated Node #0,2,4: 28:[68, 82] Operation: 70+12=82
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 28:[12, 2], Operations: ['91-79=12', '70-68=2']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 28:[70, 56], Operations: ['91-79=12', '68-12=56']
Exploring Operation: 70*56=3920, Resulting Numbers: [3920]
3920,28 unequal: No Solution
Exploring Operation: 70+56=126, Resulting Numbers: [126]
126,28 unequal: No Solution
Exploring Operation: 70-56=14, Resulting Numbers: [14]
14,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 28:[68, 58], Operations: ['91-79=12', '70-12=58']
Exploring Operation: 68-58=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 68*58=3944, Resulting Numbers: [3944]
3944,28 unequal: No Solution
Exploring Operation: 68+58=126, Resulting Numbers: [126]
126,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 28:[70, 80], Operations: ['91-79=12', '68+12=80']
Exploring Operation: 70+80=150, Resulting Numbers: [150]
150,28 unequal: No Solution
Exploring Operation: 80-70=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 70*80=5600, Resulting Numbers: [5600]
5600,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 28:[68, 82], Operations: ['91-79=12', '70+12=82']
Exploring Operation: 68*82=5576, Resulting Numbers: [5576]
5576,28 unequal: No Solution
Exploring Operation: 68+82=150, Resulting Numbers: [150]
150,28 unequal: No Solution
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,28 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: 28:[68, 79, 21], Operations: ['91-70=21']
Exploring Operation: 68-21=47, Resulting Numbers: [79, 47]
Generated Node #0,4,0: 28:[79, 47] Operation: 68-21=47
Exploring Operation: 68+21=89, Resulting Numbers: [79, 89]
Generated Node #0,4,1: 28:[79, 89] Operation: 68+21=89
Exploring Operation: 79+21=100, Resulting Numbers: [68, 100]
Generated Node #0,4,2: 28:[68, 100] Operation: 79+21=100
Exploring Operation: 79-21=58, Resulting Numbers: [68, 58]
Generated Node #0,4,3: 28:[68, 58] Operation: 79-21=58
Exploring Operation: 79-68=11, Resulting Numbers: [21, 11]
Generated Node #0,4,4: 28:[21, 11] Operation: 79-68=11
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 28:[21, 11], Operations: ['91-70=21', '79-68=11']
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,28 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 28:[79, 47], Operations: ['91-70=21', '68-21=47']
Exploring Operation: 79-47=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Exploring Operation: 79+47=126, Resulting Numbers: [126]
126,28 unequal: No Solution
Exploring Operation: 79*47=3713, Resulting Numbers: [3713]
3713,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 28:[68, 58], Operations: ['91-70=21', '79-21=58']
Exploring Operation: 68*58=3944, Resulting Numbers: [3944]
3944,28 unequal: No Solution
Exploring Operation: 68-58=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 68+58=126, Resulting Numbers: [126]
126,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 28:[79, 89], Operations: ['91-70=21', '68+21=89']
Exploring Operation: 89-79=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 79*89=7031, Resulting Numbers: [7031]
7031,28 unequal: No Solution
Exploring Operation: 79+89=168, Resulting Numbers: [168]
168,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 28:[68, 100], Operations: ['91-70=21', '79+21=100']
Exploring Operation: 68+100=168, Resulting Numbers: [168]
168,28 unequal: No Solution
Exploring Operation: 100-68=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Exploring Operation: 68*100=6800, Resulting Numbers: [6800]
6800,28 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: 28:[79, 70, 23], Operations: ['91-68=23']
Exploring Operation: 79-23=56, Resulting Numbers: [70, 56]
Generated Node #0,0,0: 28:[70, 56] Operation: 79-23=56
Exploring Operation: 70-23=47, Resulting Numbers: [79, 47]
Generated Node #0,0,1: 28:[79, 47] Operation: 70-23=47
Exploring Operation: 79-70=9, Resulting Numbers: [23, 9]
Generated Node #0,0,2: 28:[23, 9] Operation: 79-70=9
Exploring Operation: 70+23=93, Resulting Numbers: [79, 93]
Generated Node #0,0,3: 28:[79, 93] Operation: 70+23=93
Exploring Operation: 79+23=102, Resulting Numbers: [70, 102]
Generated Node #0,0,4: 28:[70, 102] Operation: 79+23=102
Moving to Node #0,1
Current State: 28:[68, 91, 9], Operations: ['79-70=9']
Exploring Operation: 68+9=77, Resulting Numbers: [91, 77]
Generated Node #0,1,0: 28:[91, 77] Operation: 68+9=77
Exploring Operation: 91+9=100, Resulting Numbers: [68, 100]
Generated Node #0,1,1: 28:[68, 100] Operation: 91+9=100
Exploring Operation: 91-9=82, Resulting Numbers: [68, 82]
Generated Node #0,1,2: 28:[68, 82] Operation: 91-9=82
Exploring Operation: 68-9=59, Resulting Numbers: [91, 59]
Generated Node #0,1,3: 28:[91, 59] Operation: 68-9=59
Exploring Operation: 91-68=23, Resulting Numbers: [9, 23]
Generated Node #0,1,4: 28:[9, 23] Operation: 91-68=23
Moving to Node #0,3
Current State: 28:[91, 70, 11], Operations: ['79-68=11']
Exploring Operation: 91-11=80, Resulting Numbers: [70, 80]
Generated Node #0,3,0: 28:[70, 80] Operation: 91-11=80
Exploring Operation: 91-70=21, Resulting Numbers: [11, 21]
Generated Node #0,3,1: 28:[11, 21] Operation: 91-70=21
Exploring Operation: 91+11=102, Resulting Numbers: [70, 102]
Generated Node #0,3,2: 28:[70, 102] Operation: 91+11=102
Exploring Operation: 70-11=59, Resulting Numbers: [91, 59]
Generated Node #0,3,3: 28:[91, 59] Operation: 70-11=59
Exploring Operation: 70+11=81, Resulting Numbers: [91, 81]
Generated Node #0,3,4: 28:[91, 81] Operation: 70+11=81
Moving to Node #0,0,2
Current State: 28:[23, 9], Operations: ['91-68=23', '79-70=9']
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 23*9=207, Resulting Numbers: [207]
207,28 unequal: No Solution
Moving to Node #0,1,4
Current State: 28:[9, 23], Operations: ['79-70=9', '91-68=23']
Exploring Operation: 9*23=207, Resulting Numbers: [207]
207,28 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 9+23=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Moving to Node #0,3,1
Current State: 28:[11, 21], Operations: ['79-68=11', '91-70=21']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,28 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[79, 47], Operations: ['91-68=23', '70-23=47']
Exploring Operation: 79+47=126, Resulting Numbers: [126]
126,28 unequal: No Solution
Exploring Operation: 79-47=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Exploring Operation: 79*47=3713, Resulting Numbers: [3713]
3713,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[70, 56], Operations: ['91-68=23', '79-23=56']
Exploring Operation: 70+56=126, Resulting Numbers: [126]
126,28 unequal: No Solution
Exploring Operation: 70-56=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 70*56=3920, Resulting Numbers: [3920]
3920,28 unequal: No Solution
Moving to Node #0,1,2
Current State: 28:[68, 82], Operations: ['79-70=9', '91-9=82']
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 68*82=5576, Resulting Numbers: [5576]
5576,28 unequal: No Solution
Exploring Operation: 68+82=150, Resulting Numbers: [150]
150,28 unequal: No Solution
Moving to Node #0,3,3
Current State: 28:[91, 59], Operations: ['79-68=11', '70-11=59']
Exploring Operation: 91*59=5369, Resulting Numbers: [5369]
5369,28 unequal: No Solution
Exploring Operation: 91+59=150, Resulting Numbers: [150]
150,28 unequal: No Solution
Exploring Operation: 91-59=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Moving to Node #0,1,3
Current State: 28:[91, 59], Operations: ['79-70=9', '68-9=59']
Exploring Operation: 91+59=150, Resulting Numbers: [150]
150,28 unequal: No Solution
Exploring Operation: 91*59=5369, Resulting Numbers: [5369]
5369,28 unequal: No Solution
Exploring Operation: 91-59=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Moving to Node #0,3,0
Current State: 28:[70, 80], Operations: ['79-68=11', '91-11=80']
Exploring Operation: 80-70=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 70*80=5600, Resulting Numbers: [5600]
5600,28 unequal: No Solution
Exploring Operation: 70+80=150, Resulting Numbers: [150]
150,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[68, 100], Operations: ['79-70=9', '91+9=100']
Exploring Operation: 68*100=6800, Resulting Numbers: [6800]
6800,28 unequal: No Solution
Exploring Operation: 100-68=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Exploring Operation: 68+100=168, Resulting Numbers: [168]
168,28 unequal: No Solution
Moving to Node #0,1,0
Current State: 28:[91, 77], Operations: ['79-70=9', '68+9=77']
Exploring Operation: 91+77=168, Resulting Numbers: [168]
168,28 unequal: No Solution
Exploring Operation: 91*77=7007, Resulting Numbers: [7007]
7007,28 unequal: No Solution
Exploring Operation: 91-77=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Moving to Node #0,3,4
Current State: 28:[91, 81], Operations: ['79-68=11', '70+11=81']
Exploring Operation: 91+81=172, Resulting Numbers: [172]
172,28 unequal: No Solution
Exploring Operation: 91*81=7371, Resulting Numbers: [7371]
7371,28 unequal: No Solution
Exploring Operation: 91-81=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Moving to Node #0,3,2
Current State: 28:[70, 102], Operations: ['79-68=11', '91+11=102']
Exploring Operation: 102-70=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Exploring Operation: 70*102=7140, Resulting Numbers: [7140]
7140,28 unequal: No Solution
Exploring Operation: 70+102=172, Resulting Numbers: [172]
172,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[79, 93], Operations: ['91-68=23', '70+23=93']
Exploring Operation: 79*93=7347, Resulting Numbers: [7347]
7347,28 unequal: No Solution
Exploring Operation: 79+93=172, Resulting Numbers: [172]
172,28 unequal: No Solution
Exploring Operation: 93-79=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Moving to Node #0,0,4
Current State: 28:[70, 102], Operations: ['91-68=23', '79+23=102']
Exploring Operation: 70+102=172, Resulting Numbers: [172]
172,28 unequal: No Solution
Exploring Operation: 102-70=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Exploring Operation: 70*102=7140, Resulting Numbers: [7140]
7140,28 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
26,
72,
55,
9
] | 81 | [
"72-26=46",
"55-46=9",
"9*9=81"
] | Current State: 81:[26, 72, 55, 9], Operations: []
Exploring Operation: 72-26=46, Resulting Numbers: [55, 9, 46]
Generated Node #2: [55, 9, 46] from Operation: 72-26=46
Current State: 81:[55, 9, 46], Operations: ['72-26=46']
Exploring Operation: 55-46=9, Resulting Numbers: [9, 9]
Generated Node #3: [9, 9] from Operation: 55-46=9
Current State: 81:[9, 9], Operations: ['72-26=46', '55-46=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[26, 72, 55, 9], Operations: []
Exploring Operation: 26+55=81, Resulting Numbers: [72, 9, 81]
Generated Node #0,0: 81:[72, 9, 81] Operation: 26+55=81
Exploring Operation: 72-55=17, Resulting Numbers: [26, 9, 17]
Generated Node #0,1: 81:[26, 9, 17] Operation: 72-55=17
Moving to Node #0,0
Current State: 81:[72, 9, 81], Operations: ['26+55=81']
Exploring Operation: 81-72=9, Resulting Numbers: [9, 9]
Generated Node #0,0,0: 81:[9, 9] Operation: 81-72=9
Exploring Operation: 72+9=81, Resulting Numbers: [81, 81]
Generated Node #0,0,1: 81:[81, 81] Operation: 72+9=81
Moving to Node #0,1
Current State: 81:[26, 9, 17], Operations: ['72-55=17']
Exploring Operation: 9+17=26, Resulting Numbers: [26, 26]
Generated Node #0,1,0: 81:[26, 26] Operation: 9+17=26
Exploring Operation: 26-17=9, Resulting Numbers: [9, 9]
Generated Node #0,1,1: 81:[9, 9] Operation: 26-17=9
Moving to Node #0,0,0
Current State: 81:[9, 9], Operations: ['26+55=81', '81-72=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[26, 72, 55, 9], Operations: []
Exploring Operation: 26+55=81, Resulting Numbers: [72, 9, 81]
Generated Node #0,0: 81:[72, 9, 81] Operation: 26+55=81
Moving to Node #0,0
Current State: 81:[72, 9, 81], Operations: ['26+55=81']
Exploring Operation: 81-72=9, Resulting Numbers: [9, 9]
Generated Node #0,0,0: 81:[9, 9] Operation: 81-72=9
Moving to Node #0,0,0
Current State: 81:[9, 9], Operations: ['26+55=81', '81-72=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
10,
65,
51,
56
] | 70 | [
"10+65=75",
"56-51=5",
"75-5=70"
] | Current State: 70:[10, 65, 51, 56], Operations: []
Exploring Operation: 10+65=75, Resulting Numbers: [51, 56, 75]
Generated Node #2: [51, 56, 75] from Operation: 10+65=75
Current State: 70:[51, 56, 75], Operations: ['10+65=75']
Exploring Operation: 56-51=5, Resulting Numbers: [75, 5]
Generated Node #3: [75, 5] from Operation: 56-51=5
Current State: 70:[75, 5], Operations: ['10+65=75', '56-51=5']
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[10, 65, 51, 56], Operations: []
Exploring Operation: 56-51=5, Resulting Numbers: [10, 65, 5]
Generated Node #0,0: 70:[10, 65, 5] Operation: 56-51=5
Exploring Operation: 65-51=14, Resulting Numbers: [10, 56, 14]
Generated Node #0,1: 70:[10, 56, 14] Operation: 65-51=14
Moving to Node #0,0
Current State: 70:[10, 65, 5], Operations: ['56-51=5']
Exploring Operation: 65+5=70, Resulting Numbers: [10, 70]
Generated Node #0,0,0: 70:[10, 70] Operation: 65+5=70
Exploring Operation: 65/5=13, Resulting Numbers: [10, 13]
Generated Node #0,0,1: 70:[10, 13] Operation: 65/5=13
Moving to Node #0,1
Current State: 70:[10, 56, 14], Operations: ['65-51=14']
Exploring Operation: 56/14=4, Resulting Numbers: [10, 4]
Generated Node #0,1,0: 70:[10, 4] Operation: 56/14=4
Exploring Operation: 56+14=70, Resulting Numbers: [10, 70]
Generated Node #0,1,1: 70:[10, 70] Operation: 56+14=70
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[10, 70], Operations: ['65-51=14', '56+14=70']
Exploring Operation: 10+70=80, Resulting Numbers: [80]
80,70 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[10, 4], Operations: ['65-51=14', '56/14=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,70 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: 70:[10, 70], Operations: ['56-51=5', '65+5=70']
Exploring Operation: 10+70=80, Resulting Numbers: [80]
80,70 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[10, 13], Operations: ['56-51=5', '65/5=13']
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,70 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
29,
39,
55,
68
] | 23 | [
"39-29=10",
"68-55=13",
"10+13=23"
] | Current State: 23:[29, 39, 55, 68], Operations: []
Exploring Operation: 39-29=10, Resulting Numbers: [55, 68, 10]
Generated Node #2: [55, 68, 10] from Operation: 39-29=10
Current State: 23:[55, 68, 10], Operations: ['39-29=10']
Exploring Operation: 68-55=13, Resulting Numbers: [10, 13]
Generated Node #3: [10, 13] from Operation: 68-55=13
Current State: 23:[10, 13], Operations: ['39-29=10', '68-55=13']
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[29, 39, 55, 68], Operations: []
Exploring Operation: 68-55=13, Resulting Numbers: [29, 39, 13]
Generated Node #0,0: 23:[29, 39, 13] Operation: 68-55=13
Exploring Operation: 68-39=29, Resulting Numbers: [29, 55, 29]
Generated Node #0,1: 23:[29, 55, 29] Operation: 68-39=29
Exploring Operation: 55-29=26, Resulting Numbers: [39, 68, 26]
Generated Node #0,2: 23:[39, 68, 26] Operation: 55-29=26
Exploring Operation: 68-29=39, Resulting Numbers: [39, 55, 39]
Generated Node #0,3: 23:[39, 55, 39] Operation: 68-29=39
Exploring Operation: 55-39=16, Resulting Numbers: [29, 68, 16]
Generated Node #0,4: 23:[29, 68, 16] Operation: 55-39=16
Moving to Node #0,0
Current State: 23:[29, 39, 13], Operations: ['68-55=13']
Exploring Operation: 39-29=10, Resulting Numbers: [13, 10]
Generated Node #0,0,0: 23:[13, 10] Operation: 39-29=10
Exploring Operation: 29+13=42, Resulting Numbers: [39, 42]
Generated Node #0,0,1: 23:[39, 42] Operation: 29+13=42
Exploring Operation: 29-13=16, Resulting Numbers: [39, 16]
Generated Node #0,0,2: 23:[39, 16] Operation: 29-13=16
Exploring Operation: 39-13=26, Resulting Numbers: [29, 26]
Generated Node #0,0,3: 23:[29, 26] Operation: 39-13=26
Exploring Operation: 39/13=3, Resulting Numbers: [29, 3]
Generated Node #0,0,4: 23:[29, 3] Operation: 39/13=3
Moving to Node #0,1
Current State: 23:[29, 55, 29], Operations: ['68-39=29']
Exploring Operation: 55-29=26, Resulting Numbers: [29, 26]
Generated Node #0,1,0: 23:[29, 26] Operation: 55-29=26
Exploring Operation: 55-29=26, Resulting Numbers: [29, 26]
Generated Node #0,1,1: 23:[29, 26] Operation: 55-29=26
Exploring Operation: 29-29=0, Resulting Numbers: [55, 0]
Generated Node #0,1,2: 23:[55, 0] Operation: 29-29=0
Exploring Operation: 29+55=84, Resulting Numbers: [29, 84]
Generated Node #0,1,3: 23:[29, 84] Operation: 29+55=84
Exploring Operation: 29/29=1, Resulting Numbers: [55, 1]
Generated Node #0,1,4: 23:[55, 1] Operation: 29/29=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[29, 26], Operations: ['68-39=29', '55-29=26']
Exploring Operation: 29*26=754, Resulting Numbers: [754]
754,23 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[29, 26], Operations: ['68-39=29', '55-29=26']
Exploring Operation: 29*26=754, Resulting Numbers: [754]
754,23 unequal: No Solution
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,23 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 23:[55, 1], Operations: ['68-39=29', '29/29=1']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,23 unequal: No Solution
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[55, 0], Operations: ['68-39=29', '29-29=0']
Exploring Operation: 55*0=0, Resulting Numbers: [0]
0,23 unequal: No Solution
Exploring Operation: 55+0=55, Resulting Numbers: [55]
55,23 unequal: No Solution
Exploring Operation: 55-0=55, Resulting Numbers: [55]
55,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 23:[29, 84], Operations: ['68-39=29', '29+55=84']
Exploring Operation: 29+84=113, Resulting Numbers: [113]
113,23 unequal: No Solution
Exploring Operation: 84-29=55, Resulting Numbers: [55]
55,23 unequal: No Solution
Exploring Operation: 29*84=2436, Resulting Numbers: [2436]
2436,23 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: 23:[29, 68, 16], Operations: ['55-39=16']
Exploring Operation: 29+16=45, Resulting Numbers: [68, 45]
Generated Node #0,4,0: 23:[68, 45] Operation: 29+16=45
Exploring Operation: 68+16=84, Resulting Numbers: [29, 84]
Generated Node #0,4,1: 23:[29, 84] Operation: 68+16=84
Exploring Operation: 29-16=13, Resulting Numbers: [68, 13]
Generated Node #0,4,2: 23:[68, 13] Operation: 29-16=13
Exploring Operation: 68-16=52, Resulting Numbers: [29, 52]
Generated Node #0,4,3: 23:[29, 52] Operation: 68-16=52
Exploring Operation: 68-29=39, Resulting Numbers: [16, 39]
Generated Node #0,4,4: 23:[16, 39] Operation: 68-29=39
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 23:[16, 39], Operations: ['55-39=16', '68-29=39']
Exploring Operation: 16+39=55, Resulting Numbers: [55]
55,23 unequal: No Solution
Exploring Operation: 16*39=624, Resulting Numbers: [624]
624,23 unequal: No Solution
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[29, 39, 55, 68], Operations: []
Exploring Operation: 55-39=16, Resulting Numbers: [29, 68, 16]
Generated Node #0,4: 23:[29, 68, 16] Operation: 55-39=16
Moving to Node #0,4
Current State: 23:[29, 68, 16], Operations: ['55-39=16']
Exploring Operation: 68-29=39, Resulting Numbers: [16, 39]
Generated Node #0,4,4: 23:[16, 39] Operation: 68-29=39
Moving to Node #0,4,4
Current State: 23:[16, 39], Operations: ['55-39=16', '68-29=39']
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_5 | sum_heuristic |
[
73,
92,
26,
78
] | 61 | [
"73+92=165",
"26+78=104",
"165-104=61"
] | Current State: 61:[73, 92, 26, 78], Operations: []
Exploring Operation: 73+92=165, Resulting Numbers: [26, 78, 165]
Generated Node #2: [26, 78, 165] from Operation: 73+92=165
Current State: 61:[26, 78, 165], Operations: ['73+92=165']
Exploring Operation: 26+78=104, Resulting Numbers: [165, 104]
Generated Node #3: [165, 104] from Operation: 26+78=104
Current State: 61:[165, 104], Operations: ['73+92=165', '26+78=104']
Exploring Operation: 165-104=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[73, 92, 26, 78], Operations: []
Exploring Operation: 92+26=118, Resulting Numbers: [73, 78, 118]
Generated Node #0,0: 61:[73, 78, 118] Operation: 92+26=118
Exploring Operation: 78-26=52, Resulting Numbers: [73, 92, 52]
Generated Node #0,1: 61:[73, 92, 52] Operation: 78-26=52
Exploring Operation: 73+26=99, Resulting Numbers: [92, 78, 99]
Generated Node #0,2: 61:[92, 78, 99] Operation: 73+26=99
Exploring Operation: 73-26=47, Resulting Numbers: [92, 78, 47]
Generated Node #0,3: 61:[92, 78, 47] Operation: 73-26=47
Exploring Operation: 92-26=66, Resulting Numbers: [73, 78, 66]
Generated Node #0,4: 61:[73, 78, 66] Operation: 92-26=66
Start Sub Search at level 1: Moving to Node #0,4
Current State: 61:[73, 78, 66], Operations: ['92-26=66']
Exploring Operation: 73-66=7, Resulting Numbers: [78, 7]
Generated Node #0,4,0: 61:[78, 7] Operation: 73-66=7
Exploring Operation: 78-73=5, Resulting Numbers: [66, 5]
Generated Node #0,4,1: 61:[66, 5] Operation: 78-73=5
Exploring Operation: 73+66=139, Resulting Numbers: [78, 139]
Generated Node #0,4,2: 61:[78, 139] Operation: 73+66=139
Exploring Operation: 78-66=12, Resulting Numbers: [73, 12]
Generated Node #0,4,3: 61:[73, 12] Operation: 78-66=12
Exploring Operation: 73+78=151, Resulting Numbers: [66, 151]
Generated Node #0,4,4: 61:[66, 151] Operation: 73+78=151
Moving to Node #0,4,1
Current State: 61:[66, 5], Operations: ['92-26=66', '78-73=5']
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,61 unequal: No Solution
Exploring Operation: 66*5=330, Resulting Numbers: [330]
330,61 unequal: No Solution
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[73, 92, 26, 78], Operations: []
Exploring Operation: 92-26=66, Resulting Numbers: [73, 78, 66]
Generated Node #0,4: 61:[73, 78, 66] Operation: 92-26=66
Moving to Node #0,4
Current State: 61:[73, 78, 66], Operations: ['92-26=66']
Exploring Operation: 78-73=5, Resulting Numbers: [66, 5]
Generated Node #0,4,1: 61:[66, 5] Operation: 78-73=5
Moving to Node #0,4,1
Current State: 61:[66, 5], Operations: ['92-26=66', '78-73=5']
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
42,
41,
60,
58
] | 81 | [
"42+41=83",
"60-58=2",
"83-2=81"
] | Current State: 81:[42, 41, 60, 58], Operations: []
Exploring Operation: 42+41=83, Resulting Numbers: [60, 58, 83]
Generated Node #2: [60, 58, 83] from Operation: 42+41=83
Current State: 81:[60, 58, 83], Operations: ['42+41=83']
Exploring Operation: 60-58=2, Resulting Numbers: [83, 2]
Generated Node #3: [83, 2] from Operation: 60-58=2
Current State: 81:[83, 2], Operations: ['42+41=83', '60-58=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[42, 41, 60, 58], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [42, 41, 2]
Generated Node #0,0: 81:[42, 41, 2] Operation: 60-58=2
Exploring Operation: 58-41=17, Resulting Numbers: [42, 60, 17]
Generated Node #0,1: 81:[42, 60, 17] Operation: 58-41=17
Exploring Operation: 58-42=16, Resulting Numbers: [41, 60, 16]
Generated Node #0,2: 81:[41, 60, 16] Operation: 58-42=16
Exploring Operation: 42+41=83, Resulting Numbers: [60, 58, 83]
Generated Node #0,3: 81:[60, 58, 83] Operation: 42+41=83
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[42, 41, 2], Operations: ['60-58=2']
Exploring Operation: 42-41=1, Resulting Numbers: [2, 1]
Generated Node #0,0,0: 81:[2, 1] Operation: 42-41=1
Exploring Operation: 41*2=82, Resulting Numbers: [42, 82]
Generated Node #0,0,1: 81:[42, 82] Operation: 41*2=82
Exploring Operation: 42*2=84, Resulting Numbers: [41, 84]
Generated Node #0,0,2: 81:[41, 84] Operation: 42*2=84
Exploring Operation: 42+41=83, Resulting Numbers: [2, 83]
Generated Node #0,0,3: 81:[2, 83] Operation: 42+41=83
Moving to Node #0,0,0
Current State: 81:[2, 1], Operations: ['60-58=2', '42-41=1']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Moving to Node #0,0,3
Current State: 81:[2, 83], Operations: ['60-58=2', '42+41=83']
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,81 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[42, 41, 60, 58], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [42, 41, 2]
Generated Node #0,0: 81:[42, 41, 2] Operation: 60-58=2
Moving to Node #0,0
Current State: 81:[42, 41, 2], Operations: ['60-58=2']
Exploring Operation: 42+41=83, Resulting Numbers: [2, 83]
Generated Node #0,0,3: 81:[2, 83] Operation: 42+41=83
Moving to Node #0,0,3
Current State: 81:[2, 83], Operations: ['60-58=2', '42+41=83']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
57,
72,
51,
15
] | 27 | [
"57-51=6",
"72/6=12",
"15+12=27"
] | Current State: 27:[57, 72, 51, 15], Operations: []
Exploring Operation: 57-51=6, Resulting Numbers: [72, 15, 6]
Generated Node #2: [72, 15, 6] from Operation: 57-51=6
Current State: 27:[72, 15, 6], Operations: ['57-51=6']
Exploring Operation: 72/6=12, Resulting Numbers: [15, 12]
Generated Node #3: [15, 12] from Operation: 72/6=12
Current State: 27:[15, 12], Operations: ['57-51=6', '72/6=12']
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[57, 72, 51, 15], Operations: []
Exploring Operation: 72-57=15, Resulting Numbers: [51, 15, 15]
Generated Node #0,0: 27:[51, 15, 15] Operation: 72-57=15
Exploring Operation: 72-51=21, Resulting Numbers: [57, 15, 21]
Generated Node #0,1: 27:[57, 15, 21] Operation: 72-51=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[51, 15, 15], Operations: ['72-57=15']
Exploring Operation: 51-15=36, Resulting Numbers: [15, 36]
Generated Node #0,0,0: 27:[15, 36] Operation: 51-15=36
Exploring Operation: 51-15=36, Resulting Numbers: [15, 36]
Generated Node #0,0,1: 27:[15, 36] Operation: 51-15=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[15, 36], Operations: ['72-57=15', '51-15=36']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,27 unequal: No Solution
No 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: 27:[15, 36], Operations: ['72-57=15', '51-15=36']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,27 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: 27:[57, 15, 21], Operations: ['72-51=21']
Exploring Operation: 57-21=36, Resulting Numbers: [15, 36]
Generated Node #0,1,0: 27:[15, 36] Operation: 57-21=36
Exploring Operation: 57-15=42, Resulting Numbers: [21, 42]
Generated Node #0,1,1: 27:[21, 42] Operation: 57-15=42
Moving to Node #0,1,0
Current State: 27:[15, 36], Operations: ['72-51=21', '57-21=36']
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,27 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[21, 42], Operations: ['72-51=21', '57-15=42']
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,27 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 |
[
7,
77,
10,
9
] | 79 | [
"77/7=11",
"10*9=90",
"90-11=79"
] | Current State: 79:[7, 77, 10, 9], Operations: []
Exploring Operation: 77/7=11, Resulting Numbers: [10, 9, 11]
Generated Node #2: [10, 9, 11] from Operation: 77/7=11
Current State: 79:[10, 9, 11], Operations: ['77/7=11']
Exploring Operation: 10*9=90, Resulting Numbers: [11, 90]
Generated Node #3: [11, 90] from Operation: 10*9=90
Current State: 79:[11, 90], Operations: ['77/7=11', '10*9=90']
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[7, 77, 10, 9], Operations: []
Exploring Operation: 7*10=70, Resulting Numbers: [77, 9, 70]
Generated Node #0,0: 79:[77, 9, 70] Operation: 7*10=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[77, 9, 70], Operations: ['7*10=70']
Exploring Operation: 9+70=79, Resulting Numbers: [77, 79]
Generated Node #0,0,0: 79:[77, 79] Operation: 9+70=79
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[77, 79], Operations: ['7*10=70', '9+70=79']
Exploring Operation: 77+79=156, Resulting Numbers: [156]
156,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
38,
58,
66
] | 98 | [
"38+58=96",
"96/3=32",
"66+32=98"
] | Current State: 98:[3, 38, 58, 66], Operations: []
Exploring Operation: 38+58=96, Resulting Numbers: [3, 66, 96]
Generated Node #2: [3, 66, 96] from Operation: 38+58=96
Current State: 98:[3, 66, 96], Operations: ['38+58=96']
Exploring Operation: 96/3=32, Resulting Numbers: [66, 32]
Generated Node #3: [66, 32] from Operation: 96/3=32
Current State: 98:[66, 32], Operations: ['38+58=96', '96/3=32']
Exploring Operation: 66+32=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[3, 38, 58, 66], Operations: []
Exploring Operation: 66-58=8, Resulting Numbers: [3, 38, 8]
Generated Node #0,0: 98:[3, 38, 8] Operation: 66-58=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[3, 38, 8], Operations: ['66-58=8']
Exploring Operation: 38+8=46, Resulting Numbers: [3, 46]
Generated Node #0,0,0: 98:[3, 46] Operation: 38+8=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[3, 46], Operations: ['66-58=8', '38+8=46']
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,98 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 |
[
44,
15,
22,
30
] | 43 | [
"44/22=2",
"15+30=45",
"45-2=43"
] | Current State: 43:[44, 15, 22, 30], Operations: []
Exploring Operation: 44/22=2, Resulting Numbers: [15, 30, 2]
Generated Node #2: [15, 30, 2] from Operation: 44/22=2
Current State: 43:[15, 30, 2], Operations: ['44/22=2']
Exploring Operation: 15+30=45, Resulting Numbers: [2, 45]
Generated Node #3: [2, 45] from Operation: 15+30=45
Current State: 43:[2, 45], Operations: ['44/22=2', '15+30=45']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[44, 15, 22, 30], Operations: []
Exploring Operation: 15+22=37, Resulting Numbers: [44, 30, 37]
Generated Node #0,0: 43:[44, 30, 37] Operation: 15+22=37
Exploring Operation: 22+30=52, Resulting Numbers: [44, 15, 52]
Generated Node #0,1: 43:[44, 15, 52] Operation: 22+30=52
Exploring Operation: 15+30=45, Resulting Numbers: [44, 22, 45]
Generated Node #0,2: 43:[44, 22, 45] Operation: 15+30=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[44, 30, 37], Operations: ['15+22=37']
Exploring Operation: 44+30=74, Resulting Numbers: [37, 74]
Generated Node #0,0,0: 43:[37, 74] Operation: 44+30=74
Exploring Operation: 30+37=67, Resulting Numbers: [44, 67]
Generated Node #0,0,1: 43:[44, 67] Operation: 30+37=67
Exploring Operation: 44-30=14, Resulting Numbers: [37, 14]
Generated Node #0,0,2: 43:[37, 14] Operation: 44-30=14
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[44, 67], Operations: ['15+22=37', '30+37=67']
Exploring Operation: 67-44=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 44*67=2948, Resulting Numbers: [2948]
2948,43 unequal: No Solution
Exploring Operation: 44+67=111, Resulting Numbers: [111]
111,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[37, 14], Operations: ['15+22=37', '44-30=14']
Exploring Operation: 37+14=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 37*14=518, Resulting Numbers: [518]
518,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[37, 74], Operations: ['15+22=37', '44+30=74']
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,43 unequal: No Solution
Exploring Operation: 37+74=111, Resulting Numbers: [111]
111,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:[44, 22, 45], Operations: ['15+30=45']
Exploring Operation: 45-22=23, Resulting Numbers: [44, 23]
Generated Node #0,2,0: 43:[44, 23] Operation: 45-22=23
Exploring Operation: 44-22=22, Resulting Numbers: [45, 22]
Generated Node #0,2,1: 43:[45, 22] Operation: 44-22=22
Exploring Operation: 44+22=66, Resulting Numbers: [45, 66]
Generated Node #0,2,2: 43:[45, 66] Operation: 44+22=66
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[44, 23], Operations: ['15+30=45', '45-22=23']
Exploring Operation: 44*23=1012, Resulting Numbers: [1012]
1012,43 unequal: No Solution
Exploring Operation: 44+23=67, Resulting Numbers: [67]
67,43 unequal: No Solution
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[45, 22], Operations: ['15+30=45', '44-22=22']
Exploring Operation: 45*22=990, Resulting Numbers: [990]
990,43 unequal: No Solution
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 45+22=67, Resulting Numbers: [67]
67,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[45, 66], Operations: ['15+30=45', '44+22=66']
Exploring Operation: 66-45=21, Resulting Numbers: [21]
21,43 unequal: No Solution
Exploring Operation: 45+66=111, Resulting Numbers: [111]
111,43 unequal: No Solution
Exploring Operation: 45*66=2970, Resulting Numbers: [2970]
2970,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,1
Current State: 43:[44, 15, 52], Operations: ['22+30=52']
Exploring Operation: 44+15=59, Resulting Numbers: [52, 59]
Generated Node #0,1,0: 43:[52, 59] Operation: 44+15=59
Exploring Operation: 52-15=37, Resulting Numbers: [44, 37]
Generated Node #0,1,1: 43:[44, 37] Operation: 52-15=37
Exploring Operation: 44-15=29, Resulting Numbers: [52, 29]
Generated Node #0,1,2: 43:[52, 29] Operation: 44-15=29
Moving to Node #0,1,1
Current State: 43:[44, 37], Operations: ['22+30=52', '52-15=37']
Exploring Operation: 44+37=81, Resulting Numbers: [81]
81,43 unequal: No Solution
Exploring Operation: 44*37=1628, Resulting Numbers: [1628]
1628,43 unequal: No Solution
Exploring Operation: 44-37=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[52, 29], Operations: ['22+30=52', '44-15=29']
Exploring Operation: 52*29=1508, Resulting Numbers: [1508]
1508,43 unequal: No Solution
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 52+29=81, Resulting Numbers: [81]
81,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[52, 59], Operations: ['22+30=52', '44+15=59']
Exploring Operation: 52*59=3068, Resulting Numbers: [3068]
3068,43 unequal: No Solution
Exploring Operation: 52+59=111, Resulting Numbers: [111]
111,43 unequal: No Solution
Exploring Operation: 59-52=7, Resulting Numbers: [7]
7,43 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 |
[
10,
90,
39,
59
] | 89 | [
"90/10=9",
"39+59=98",
"98-9=89"
] | Current State: 89:[10, 90, 39, 59], Operations: []
Exploring Operation: 90/10=9, Resulting Numbers: [39, 59, 9]
Generated Node #2: [39, 59, 9] from Operation: 90/10=9
Current State: 89:[39, 59, 9], Operations: ['90/10=9']
Exploring Operation: 39+59=98, Resulting Numbers: [9, 98]
Generated Node #3: [9, 98] from Operation: 39+59=98
Current State: 89:[9, 98], Operations: ['90/10=9', '39+59=98']
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[10, 90, 39, 59], Operations: []
Exploring Operation: 90-10=80, Resulting Numbers: [39, 59, 80]
Generated Node #0,0: 89:[39, 59, 80] Operation: 90-10=80
Exploring Operation: 10+59=69, Resulting Numbers: [90, 39, 69]
Generated Node #0,1: 89:[90, 39, 69] Operation: 10+59=69
Exploring Operation: 10+39=49, Resulting Numbers: [90, 59, 49]
Generated Node #0,2: 89:[90, 59, 49] Operation: 10+39=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[90, 39, 69], Operations: ['10+59=69']
Exploring Operation: 90-39=51, Resulting Numbers: [69, 51]
Generated Node #0,1,0: 89:[69, 51] Operation: 90-39=51
Exploring Operation: 90+39=129, Resulting Numbers: [69, 129]
Generated Node #0,1,1: 89:[69, 129] Operation: 90+39=129
Exploring Operation: 39+69=108, Resulting Numbers: [90, 108]
Generated Node #0,1,2: 89:[90, 108] Operation: 39+69=108
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 89:[90, 108], Operations: ['10+59=69', '39+69=108']
Exploring Operation: 90*108=9720, Resulting Numbers: [9720]
9720,89 unequal: No Solution
Exploring Operation: 108-90=18, Resulting Numbers: [18]
18,89 unequal: No Solution
Exploring Operation: 90+108=198, Resulting Numbers: [198]
198,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,1,0
Current State: 89:[69, 51], Operations: ['10+59=69', '90-39=51']
Exploring Operation: 69*51=3519, Resulting Numbers: [3519]
3519,89 unequal: No Solution
Exploring Operation: 69+51=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Exploring Operation: 69-51=18, Resulting Numbers: [18]
18,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,1,1
Current State: 89:[69, 129], Operations: ['10+59=69', '90+39=129']
Exploring Operation: 69*129=8901, Resulting Numbers: [8901]
8901,89 unequal: No Solution
Exploring Operation: 129-69=60, Resulting Numbers: [60]
60,89 unequal: No Solution
Exploring Operation: 69+129=198, Resulting Numbers: [198]
198,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:[90, 59, 49], Operations: ['10+39=49']
Exploring Operation: 59+49=108, Resulting Numbers: [90, 108]
Generated Node #0,2,0: 89:[90, 108] Operation: 59+49=108
Exploring Operation: 90-49=41, Resulting Numbers: [59, 41]
Generated Node #0,2,1: 89:[59, 41] Operation: 90-49=41
Exploring Operation: 90+49=139, Resulting Numbers: [59, 139]
Generated Node #0,2,2: 89:[59, 139] Operation: 90+49=139
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 89:[90, 108], Operations: ['10+39=49', '59+49=108']
Exploring Operation: 90+108=198, Resulting Numbers: [198]
198,89 unequal: No Solution
Exploring Operation: 108-90=18, Resulting Numbers: [18]
18,89 unequal: No Solution
Exploring Operation: 90*108=9720, Resulting Numbers: [9720]
9720,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,2,1
Current State: 89:[59, 41], Operations: ['10+39=49', '90-49=41']
Exploring Operation: 59+41=100, Resulting Numbers: [100]
100,89 unequal: No Solution
Exploring Operation: 59*41=2419, Resulting Numbers: [2419]
2419,89 unequal: No Solution
Exploring Operation: 59-41=18, Resulting Numbers: [18]
18,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,2,2
Current State: 89:[59, 139], Operations: ['10+39=49', '90+49=139']
Exploring Operation: 59+139=198, Resulting Numbers: [198]
198,89 unequal: No Solution
Exploring Operation: 139-59=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Exploring Operation: 59*139=8201, Resulting Numbers: [8201]
8201,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:[39, 59, 80], Operations: ['90-10=80']
Exploring Operation: 39+80=119, Resulting Numbers: [59, 119]
Generated Node #0,0,0: 89:[59, 119] Operation: 39+80=119
Exploring Operation: 39+59=98, Resulting Numbers: [80, 98]
Generated Node #0,0,1: 89:[80, 98] Operation: 39+59=98
Exploring Operation: 59-39=20, Resulting Numbers: [80, 20]
Generated Node #0,0,2: 89:[80, 20] Operation: 59-39=20
Moving to Node #0,0,1
Current State: 89:[80, 98], Operations: ['90-10=80', '39+59=98']
Exploring Operation: 80*98=7840, Resulting Numbers: [7840]
7840,89 unequal: No Solution
Exploring Operation: 98-80=18, Resulting Numbers: [18]
18,89 unequal: No Solution
Exploring Operation: 80+98=178, Resulting Numbers: [178]
178,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[59, 119], Operations: ['90-10=80', '39+80=119']
Exploring Operation: 59+119=178, Resulting Numbers: [178]
178,89 unequal: No Solution
Exploring Operation: 59*119=7021, Resulting Numbers: [7021]
7021,89 unequal: No Solution
Exploring Operation: 119-59=60, Resulting Numbers: [60]
60,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[80, 20], Operations: ['90-10=80', '59-39=20']
Exploring Operation: 80+20=100, Resulting Numbers: [100]
100,89 unequal: No Solution
Exploring Operation: 80-20=60, Resulting Numbers: [60]
60,89 unequal: No Solution
Exploring Operation: 80/20=4, Resulting Numbers: [4]
4,89 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 |
[
83,
8,
17,
18
] | 87 | [
"18-8=10",
"17*10=170",
"170-83=87"
] | Current State: 87:[83, 8, 17, 18], Operations: []
Exploring Operation: 18-8=10, Resulting Numbers: [83, 17, 10]
Generated Node #2: [83, 17, 10] from Operation: 18-8=10
Current State: 87:[83, 17, 10], Operations: ['18-8=10']
Exploring Operation: 17*10=170, Resulting Numbers: [83, 170]
Generated Node #3: [83, 170] from Operation: 17*10=170
Current State: 87:[83, 170], Operations: ['18-8=10', '17*10=170']
Exploring Operation: 170-83=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[83, 8, 17, 18], Operations: []
Exploring Operation: 17+18=35, Resulting Numbers: [83, 8, 35]
Generated Node #0,0: 87:[83, 8, 35] Operation: 17+18=35
Exploring Operation: 18-17=1, Resulting Numbers: [83, 8, 1]
Generated Node #0,1: 87:[83, 8, 1] Operation: 18-17=1
Moving to Node #0,1
Current State: 87:[83, 8, 1], Operations: ['18-17=1']
Exploring Operation: 83+1=84, Resulting Numbers: [8, 84]
Generated Node #0,1,0: 87:[8, 84] Operation: 83+1=84
Exploring Operation: 83+8=91, Resulting Numbers: [1, 91]
Generated Node #0,1,1: 87:[1, 91] Operation: 83+8=91
Moving to Node #0,0
Current State: 87:[83, 8, 35], Operations: ['17+18=35']
Exploring Operation: 35-8=27, Resulting Numbers: [83, 27]
Generated Node #0,0,0: 87:[83, 27] Operation: 35-8=27
Exploring Operation: 83+8=91, Resulting Numbers: [35, 91]
Generated Node #0,0,1: 87:[35, 91] Operation: 83+8=91
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[83, 27], Operations: ['17+18=35', '35-8=27']
Exploring Operation: 83-27=56, Resulting Numbers: [56]
56,87 unequal: No Solution
Exploring Operation: 83+27=110, Resulting Numbers: [110]
110,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:[35, 91], Operations: ['17+18=35', '83+8=91']
Exploring Operation: 35+91=126, Resulting Numbers: [126]
126,87 unequal: No Solution
Exploring Operation: 91-35=56, Resulting Numbers: [56]
56,87 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: 87:[1, 91], Operations: ['18-17=1', '83+8=91']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,87 unequal: No Solution
Exploring Operation: 1*91=91, Resulting Numbers: [91]
91,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[8, 84], Operations: ['18-17=1', '83+1=84']
Exploring Operation: 8+84=92, Resulting Numbers: [92]
92,87 unequal: No Solution
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,87 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
55,
46,
70,
93
] | 78 | [
"55+46=101",
"93-70=23",
"101-23=78"
] | Current State: 78:[55, 46, 70, 93], Operations: []
Exploring Operation: 55+46=101, Resulting Numbers: [70, 93, 101]
Generated Node #2: [70, 93, 101] from Operation: 55+46=101
Current State: 78:[70, 93, 101], Operations: ['55+46=101']
Exploring Operation: 93-70=23, Resulting Numbers: [101, 23]
Generated Node #3: [101, 23] from Operation: 93-70=23
Current State: 78:[101, 23], Operations: ['55+46=101', '93-70=23']
Exploring Operation: 101-23=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[55, 46, 70, 93], Operations: []
Exploring Operation: 93-55=38, Resulting Numbers: [46, 70, 38]
Generated Node #0,0: 78:[46, 70, 38] Operation: 93-55=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[46, 70, 38], Operations: ['93-55=38']
Exploring Operation: 70-46=24, Resulting Numbers: [38, 24]
Generated Node #0,0,0: 78:[38, 24] Operation: 70-46=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[38, 24], Operations: ['93-55=38', '70-46=24']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,78 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 |
[
28,
24,
84,
59
] | 86 | [
"84/28=3",
"24+59=83",
"3+83=86"
] | Current State: 86:[28, 24, 84, 59], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [24, 59, 3]
Generated Node #2: [24, 59, 3] from Operation: 84/28=3
Current State: 86:[24, 59, 3], Operations: ['84/28=3']
Exploring Operation: 24+59=83, Resulting Numbers: [3, 83]
Generated Node #3: [3, 83] from Operation: 24+59=83
Current State: 86:[3, 83], Operations: ['84/28=3', '24+59=83']
Exploring Operation: 3+83=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[28, 24, 84, 59], Operations: []
Exploring Operation: 28+24=52, Resulting Numbers: [84, 59, 52]
Generated Node #0,0: 86:[84, 59, 52] Operation: 28+24=52
Exploring Operation: 59-24=35, Resulting Numbers: [28, 84, 35]
Generated Node #0,1: 86:[28, 84, 35] Operation: 59-24=35
Exploring Operation: 28-24=4, Resulting Numbers: [84, 59, 4]
Generated Node #0,2: 86:[84, 59, 4] Operation: 28-24=4
Exploring Operation: 24+59=83, Resulting Numbers: [28, 84, 83]
Generated Node #0,3: 86:[28, 84, 83] Operation: 24+59=83
Exploring Operation: 28+59=87, Resulting Numbers: [24, 84, 87]
Generated Node #0,4: 86:[24, 84, 87] Operation: 28+59=87
Moving to Node #0,2
Current State: 86:[84, 59, 4], Operations: ['28-24=4']
Exploring Operation: 59+4=63, Resulting Numbers: [84, 63]
Generated Node #0,2,0: 86:[84, 63] Operation: 59+4=63
Exploring Operation: 84+4=88, Resulting Numbers: [59, 88]
Generated Node #0,2,1: 86:[59, 88] Operation: 84+4=88
Exploring Operation: 84-59=25, Resulting Numbers: [4, 25]
Generated Node #0,2,2: 86:[4, 25] Operation: 84-59=25
Exploring Operation: 84-4=80, Resulting Numbers: [59, 80]
Generated Node #0,2,3: 86:[59, 80] Operation: 84-4=80
Exploring Operation: 59-4=55, Resulting Numbers: [84, 55]
Generated Node #0,2,4: 86:[84, 55] Operation: 59-4=55
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 86:[84, 55], Operations: ['28-24=4', '59-4=55']
Exploring Operation: 84+55=139, Resulting Numbers: [139]
139,86 unequal: No Solution
Exploring Operation: 84*55=4620, Resulting Numbers: [4620]
4620,86 unequal: No Solution
Exploring Operation: 84-55=29, Resulting Numbers: [29]
29,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[59, 88], Operations: ['28-24=4', '84+4=88']
Exploring Operation: 59*88=5192, Resulting Numbers: [5192]
5192,86 unequal: No Solution
Exploring Operation: 59+88=147, Resulting Numbers: [147]
147,86 unequal: No Solution
Exploring Operation: 88-59=29, Resulting Numbers: [29]
29,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[4, 25], Operations: ['28-24=4', '84-59=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,86 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,86 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[84, 63], Operations: ['28-24=4', '59+4=63']
Exploring Operation: 84-63=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 84+63=147, Resulting Numbers: [147]
147,86 unequal: No Solution
Exploring Operation: 84*63=5292, Resulting Numbers: [5292]
5292,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 86:[59, 80], Operations: ['28-24=4', '84-4=80']
Exploring Operation: 59+80=139, Resulting Numbers: [139]
139,86 unequal: No Solution
Exploring Operation: 80-59=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 59*80=4720, Resulting Numbers: [4720]
4720,86 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: 86:[28, 84, 83], Operations: ['24+59=83']
Exploring Operation: 84/28=3, Resulting Numbers: [83, 3]
Generated Node #0,3,0: 86:[83, 3] Operation: 84/28=3
Exploring Operation: 84-28=56, Resulting Numbers: [83, 56]
Generated Node #0,3,1: 86:[83, 56] Operation: 84-28=56
Exploring Operation: 28+83=111, Resulting Numbers: [84, 111]
Generated Node #0,3,2: 86:[84, 111] Operation: 28+83=111
Exploring Operation: 84-83=1, Resulting Numbers: [28, 1]
Generated Node #0,3,3: 86:[28, 1] Operation: 84-83=1
Exploring Operation: 83-28=55, Resulting Numbers: [84, 55]
Generated Node #0,3,4: 86:[84, 55] Operation: 83-28=55
Moving to Node #0,4
Current State: 86:[24, 84, 87], Operations: ['28+59=87']
Exploring Operation: 87-24=63, Resulting Numbers: [84, 63]
Generated Node #0,4,0: 86:[84, 63] Operation: 87-24=63
Exploring Operation: 24+84=108, Resulting Numbers: [87, 108]
Generated Node #0,4,1: 86:[87, 108] Operation: 24+84=108
Exploring Operation: 84-24=60, Resulting Numbers: [87, 60]
Generated Node #0,4,2: 86:[87, 60] Operation: 84-24=60
Exploring Operation: 87-84=3, Resulting Numbers: [24, 3]
Generated Node #0,4,3: 86:[24, 3] Operation: 87-84=3
Exploring Operation: 24+87=111, Resulting Numbers: [84, 111]
Generated Node #0,4,4: 86:[84, 111] Operation: 24+87=111
Moving to Node #0,1
Current State: 86:[28, 84, 35], Operations: ['59-24=35']
Exploring Operation: 28+35=63, Resulting Numbers: [84, 63]
Generated Node #0,1,0: 86:[84, 63] Operation: 28+35=63
Exploring Operation: 84-28=56, Resulting Numbers: [35, 56]
Generated Node #0,1,1: 86:[35, 56] Operation: 84-28=56
Exploring Operation: 84-35=49, Resulting Numbers: [28, 49]
Generated Node #0,1,2: 86:[28, 49] Operation: 84-35=49
Exploring Operation: 35-28=7, Resulting Numbers: [84, 7]
Generated Node #0,1,3: 86:[84, 7] Operation: 35-28=7
Exploring Operation: 84/28=3, Resulting Numbers: [35, 3]
Generated Node #0,1,4: 86:[35, 3] Operation: 84/28=3
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 86:[84, 7], Operations: ['59-24=35', '35-28=7']
Exploring Operation: 84*7=588, Resulting Numbers: [588]
588,86 unequal: No Solution
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,86 unequal: No Solution
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,86 unequal: No Solution
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 86:[35, 3], Operations: ['59-24=35', '84/28=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,86 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,86 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[35, 56], Operations: ['59-24=35', '84-28=56']
Exploring Operation: 35+56=91, Resulting Numbers: [91]
91,86 unequal: No Solution
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 35*56=1960, Resulting Numbers: [1960]
1960,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[28, 49], Operations: ['59-24=35', '84-35=49']
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 28*49=1372, Resulting Numbers: [1372]
1372,86 unequal: No Solution
Exploring Operation: 28+49=77, Resulting Numbers: [77]
77,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[84, 63], Operations: ['59-24=35', '28+35=63']
Exploring Operation: 84-63=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 84*63=5292, Resulting Numbers: [5292]
5292,86 unequal: No Solution
Exploring Operation: 84+63=147, Resulting Numbers: [147]
147,86 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: 86:[84, 59, 52], Operations: ['28+24=52']
Exploring Operation: 84-52=32, Resulting Numbers: [59, 32]
Generated Node #0,0,0: 86:[59, 32] Operation: 84-52=32
Exploring Operation: 84-59=25, Resulting Numbers: [52, 25]
Generated Node #0,0,1: 86:[52, 25] Operation: 84-59=25
Exploring Operation: 59+52=111, Resulting Numbers: [84, 111]
Generated Node #0,0,2: 86:[84, 111] Operation: 59+52=111
Exploring Operation: 84+59=143, Resulting Numbers: [52, 143]
Generated Node #0,0,3: 86:[52, 143] Operation: 84+59=143
Exploring Operation: 59-52=7, Resulting Numbers: [84, 7]
Generated Node #0,0,4: 86:[84, 7] Operation: 59-52=7
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 86:[84, 7], Operations: ['28+24=52', '59-52=7']
Exploring Operation: 84*7=588, Resulting Numbers: [588]
588,86 unequal: No Solution
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,86 unequal: No Solution
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,86 unequal: No Solution
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[59, 32], Operations: ['28+24=52', '84-52=32']
Exploring Operation: 59+32=91, Resulting Numbers: [91]
91,86 unequal: No Solution
Exploring Operation: 59*32=1888, Resulting Numbers: [1888]
1888,86 unequal: No Solution
Exploring Operation: 59-32=27, Resulting Numbers: [27]
27,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[52, 25], Operations: ['28+24=52', '84-59=25']
Exploring Operation: 52*25=1300, Resulting Numbers: [1300]
1300,86 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[84, 111], Operations: ['28+24=52', '59+52=111']
Exploring Operation: 84*111=9324, Resulting Numbers: [9324]
9324,86 unequal: No Solution
Exploring Operation: 84+111=195, Resulting Numbers: [195]
195,86 unequal: No Solution
Exploring Operation: 111-84=27, Resulting Numbers: [27]
27,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 86:[52, 143], Operations: ['28+24=52', '84+59=143']
Exploring Operation: 143-52=91, Resulting Numbers: [91]
91,86 unequal: No Solution
Exploring Operation: 52*143=7436, Resulting Numbers: [7436]
7436,86 unequal: No Solution
Exploring Operation: 52+143=195, Resulting Numbers: [195]
195,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 86:[83, 3], Operations: ['24+59=83', '84/28=3']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,86 unequal: No Solution
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,86 unequal: No Solution
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[28, 24, 84, 59], Operations: []
Exploring Operation: 24+59=83, Resulting Numbers: [28, 84, 83]
Generated Node #0,3: 86:[28, 84, 83] Operation: 24+59=83
Moving to Node #0,3
Current State: 86:[28, 84, 83], Operations: ['24+59=83']
Exploring Operation: 84/28=3, Resulting Numbers: [83, 3]
Generated Node #0,3,0: 86:[83, 3] Operation: 84/28=3
Moving to Node #0,3,0
Current State: 86:[83, 3], Operations: ['24+59=83', '84/28=3']
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.927083 | hs_5 | sum_heuristic |
[
71,
47,
75,
80
] | 67 | [
"75-71=4",
"80/4=20",
"47+20=67"
] | Current State: 67:[71, 47, 75, 80], Operations: []
Exploring Operation: 75-71=4, Resulting Numbers: [47, 80, 4]
Generated Node #2: [47, 80, 4] from Operation: 75-71=4
Current State: 67:[47, 80, 4], Operations: ['75-71=4']
Exploring Operation: 80/4=20, Resulting Numbers: [47, 20]
Generated Node #3: [47, 20] from Operation: 80/4=20
Current State: 67:[47, 20], Operations: ['75-71=4', '80/4=20']
Exploring Operation: 47+20=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[71, 47, 75, 80], Operations: []
Exploring Operation: 80-47=33, Resulting Numbers: [71, 75, 33]
Generated Node #0,0: 67:[71, 75, 33] Operation: 80-47=33
Exploring Operation: 75-47=28, Resulting Numbers: [71, 80, 28]
Generated Node #0,1: 67:[71, 80, 28] Operation: 75-47=28
Moving to Node #0,0
Current State: 67:[71, 75, 33], Operations: ['80-47=33']
Exploring Operation: 75-33=42, Resulting Numbers: [71, 42]
Generated Node #0,0,0: 67:[71, 42] Operation: 75-33=42
Exploring Operation: 71-33=38, Resulting Numbers: [75, 38]
Generated Node #0,0,1: 67:[75, 38] Operation: 71-33=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[71, 42], Operations: ['80-47=33', '75-33=42']
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 71+42=113, Resulting Numbers: [113]
113,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[75, 38], Operations: ['80-47=33', '71-33=38']
Exploring Operation: 75-38=37, Resulting Numbers: [37]
37,67 unequal: No Solution
Exploring Operation: 75+38=113, Resulting Numbers: [113]
113,67 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: 67:[71, 80, 28], Operations: ['75-47=28']
Exploring Operation: 80-28=52, Resulting Numbers: [71, 52]
Generated Node #0,1,0: 67:[71, 52] Operation: 80-28=52
Exploring Operation: 71-28=43, Resulting Numbers: [80, 43]
Generated Node #0,1,1: 67:[80, 43] Operation: 71-28=43
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[71, 52], Operations: ['75-47=28', '80-28=52']
Exploring Operation: 71-52=19, Resulting Numbers: [19]
19,67 unequal: No Solution
Exploring Operation: 71+52=123, Resulting Numbers: [123]
123,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[80, 43], Operations: ['75-47=28', '71-28=43']
Exploring Operation: 80+43=123, Resulting Numbers: [123]
123,67 unequal: No Solution
Exploring Operation: 80-43=37, Resulting Numbers: [37]
37,67 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 |
[
10,
25,
84,
95
] | 25 | [
"10+84=94",
"95-94=1",
"25*1=25"
] | Current State: 25:[10, 25, 84, 95], Operations: []
Exploring Operation: 10+84=94, Resulting Numbers: [25, 95, 94]
Generated Node #2: [25, 95, 94] from Operation: 10+84=94
Current State: 25:[25, 95, 94], Operations: ['10+84=94']
Exploring Operation: 95-94=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 95-94=1
Current State: 25:[25, 1], Operations: ['10+84=94', '95-94=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[10, 25, 84, 95], Operations: []
Exploring Operation: 84-10=74, Resulting Numbers: [25, 95, 74]
Generated Node #0,0: 25:[25, 95, 74] Operation: 84-10=74
Exploring Operation: 95-25=70, Resulting Numbers: [10, 84, 70]
Generated Node #0,1: 25:[10, 84, 70] Operation: 95-25=70
Exploring Operation: 95-84=11, Resulting Numbers: [10, 25, 11]
Generated Node #0,2: 25:[10, 25, 11] Operation: 95-84=11
Exploring Operation: 84-25=59, Resulting Numbers: [10, 95, 59]
Generated Node #0,3: 25:[10, 95, 59] Operation: 84-25=59
Exploring Operation: 95-10=85, Resulting Numbers: [25, 84, 85]
Generated Node #0,4: 25:[25, 84, 85] Operation: 95-10=85
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[10, 25, 11], Operations: ['95-84=11']
Exploring Operation: 10+11=21, Resulting Numbers: [25, 21]
Generated Node #0,2,0: 25:[25, 21] Operation: 10+11=21
Exploring Operation: 11-10=1, Resulting Numbers: [25, 1]
Generated Node #0,2,1: 25:[25, 1] Operation: 11-10=1
Exploring Operation: 10+25=35, Resulting Numbers: [11, 35]
Generated Node #0,2,2: 25:[11, 35] Operation: 10+25=35
Exploring Operation: 25-10=15, Resulting Numbers: [11, 15]
Generated Node #0,2,3: 25:[11, 15] Operation: 25-10=15
Exploring Operation: 25-11=14, Resulting Numbers: [10, 14]
Generated Node #0,2,4: 25:[10, 14] Operation: 25-11=14
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 25:[25, 21], Operations: ['95-84=11', '10+11=21']
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 25*21=525, Resulting Numbers: [525]
525,25 unequal: No Solution
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,25 unequal: No Solution
No 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: 25:[25, 1], Operations: ['95-84=11', '11-10=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[10, 25, 84, 95], Operations: []
Exploring Operation: 95-84=11, Resulting Numbers: [10, 25, 11]
Generated Node #0,2: 25:[10, 25, 11] Operation: 95-84=11
Moving to Node #0,2
Current State: 25:[10, 25, 11], Operations: ['95-84=11']
Exploring Operation: 11-10=1, Resulting Numbers: [25, 1]
Generated Node #0,2,1: 25:[25, 1] Operation: 11-10=1
Moving to Node #0,2,1
Current State: 25:[25, 1], Operations: ['95-84=11', '11-10=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
15,
13,
33,
68
] | 51 | [
"15*68=1020",
"33-13=20",
"1020/20=51"
] | Current State: 51:[15, 13, 33, 68], Operations: []
Exploring Operation: 15*68=1020, Resulting Numbers: [13, 33, 1020]
Generated Node #2: [13, 33, 1020] from Operation: 15*68=1020
Current State: 51:[13, 33, 1020], Operations: ['15*68=1020']
Exploring Operation: 33-13=20, Resulting Numbers: [1020, 20]
Generated Node #3: [1020, 20] from Operation: 33-13=20
Current State: 51:[1020, 20], Operations: ['15*68=1020', '33-13=20']
Exploring Operation: 1020/20=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[15, 13, 33, 68], Operations: []
Exploring Operation: 33-15=18, Resulting Numbers: [13, 68, 18]
Generated Node #0,0: 51:[13, 68, 18] Operation: 33-15=18
Moving to Node #0,0
Current State: 51:[13, 68, 18], Operations: ['33-15=18']
Exploring Operation: 68-13=55, Resulting Numbers: [18, 55]
Generated Node #0,0,0: 51:[18, 55] Operation: 68-13=55
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[18, 55], Operations: ['33-15=18', '68-13=55']
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,51 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 |
[
60,
38,
26,
37
] | 33 | [
"60-38=22",
"37-26=11",
"22+11=33"
] | Current State: 33:[60, 38, 26, 37], Operations: []
Exploring Operation: 60-38=22, Resulting Numbers: [26, 37, 22]
Generated Node #2: [26, 37, 22] from Operation: 60-38=22
Current State: 33:[26, 37, 22], Operations: ['60-38=22']
Exploring Operation: 37-26=11, Resulting Numbers: [22, 11]
Generated Node #3: [22, 11] from Operation: 37-26=11
Current State: 33:[22, 11], Operations: ['60-38=22', '37-26=11']
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[60, 38, 26, 37], Operations: []
Exploring Operation: 60-26=34, Resulting Numbers: [38, 37, 34]
Generated Node #0,0: 33:[38, 37, 34] Operation: 60-26=34
Exploring Operation: 60-38=22, Resulting Numbers: [26, 37, 22]
Generated Node #0,1: 33:[26, 37, 22] Operation: 60-38=22
Exploring Operation: 60-37=23, Resulting Numbers: [38, 26, 23]
Generated Node #0,2: 33:[38, 26, 23] Operation: 60-37=23
Exploring Operation: 38-26=12, Resulting Numbers: [60, 37, 12]
Generated Node #0,3: 33:[60, 37, 12] Operation: 38-26=12
Exploring Operation: 37-26=11, Resulting Numbers: [60, 38, 11]
Generated Node #0,4: 33:[60, 38, 11] Operation: 37-26=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[38, 37, 34], Operations: ['60-26=34']
Exploring Operation: 38+34=72, Resulting Numbers: [37, 72]
Generated Node #0,0,0: 33:[37, 72] Operation: 38+34=72
Exploring Operation: 38-34=4, Resulting Numbers: [37, 4]
Generated Node #0,0,1: 33:[37, 4] Operation: 38-34=4
Exploring Operation: 37-34=3, Resulting Numbers: [38, 3]
Generated Node #0,0,2: 33:[38, 3] Operation: 37-34=3
Exploring Operation: 38+37=75, Resulting Numbers: [34, 75]
Generated Node #0,0,3: 33:[34, 75] Operation: 38+37=75
Exploring Operation: 38-37=1, Resulting Numbers: [34, 1]
Generated Node #0,0,4: 33:[34, 1] Operation: 38-37=1
Moving to Node #0,0,4
Current State: 33:[34, 1], Operations: ['60-26=34', '38-37=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[60, 38, 26, 37], Operations: []
Exploring Operation: 60-26=34, Resulting Numbers: [38, 37, 34]
Generated Node #0,0: 33:[38, 37, 34] Operation: 60-26=34
Moving to Node #0,0
Current State: 33:[38, 37, 34], Operations: ['60-26=34']
Exploring Operation: 38-37=1, Resulting Numbers: [34, 1]
Generated Node #0,0,4: 33:[34, 1] Operation: 38-37=1
Moving to Node #0,0,4
Current State: 33:[34, 1], Operations: ['60-26=34', '38-37=1']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
3,
9,
39,
33
] | 17 | [
"9+39=48",
"48/3=16",
"33-16=17"
] | Current State: 17:[3, 9, 39, 33], Operations: []
Exploring Operation: 9+39=48, Resulting Numbers: [3, 33, 48]
Generated Node #2: [3, 33, 48] from Operation: 9+39=48
Current State: 17:[3, 33, 48], Operations: ['9+39=48']
Exploring Operation: 48/3=16, Resulting Numbers: [33, 16]
Generated Node #3: [33, 16] from Operation: 48/3=16
Current State: 17:[33, 16], Operations: ['9+39=48', '48/3=16']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[3, 9, 39, 33], Operations: []
Exploring Operation: 39/3=13, Resulting Numbers: [9, 33, 13]
Generated Node #0,0: 17:[9, 33, 13] Operation: 39/3=13
Exploring Operation: 39-33=6, Resulting Numbers: [3, 9, 6]
Generated Node #0,1: 17:[3, 9, 6] Operation: 39-33=6
Exploring Operation: 33/3=11, Resulting Numbers: [9, 39, 11]
Generated Node #0,2: 17:[9, 39, 11] Operation: 33/3=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[9, 33, 13], Operations: ['39/3=13']
Exploring Operation: 33-13=20, Resulting Numbers: [9, 20]
Generated Node #0,0,0: 17:[9, 20] Operation: 33-13=20
Exploring Operation: 33-9=24, Resulting Numbers: [13, 24]
Generated Node #0,0,1: 17:[13, 24] Operation: 33-9=24
Exploring Operation: 9+13=22, Resulting Numbers: [33, 22]
Generated Node #0,0,2: 17:[33, 22] Operation: 9+13=22
Moving to Node #0,0,0
Current State: 17:[9, 20], Operations: ['39/3=13', '33-13=20']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,17 unequal: No Solution
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,17 unequal: No Solution
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[13, 24], Operations: ['39/3=13', '33-9=24']
Exploring Operation: 13*24=312, Resulting Numbers: [312]
312,17 unequal: No Solution
Exploring Operation: 13+24=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[33, 22], Operations: ['39/3=13', '9+13=22']
Exploring Operation: 33*22=726, Resulting Numbers: [726]
726,17 unequal: No Solution
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,17 unequal: No Solution
Exploring Operation: 33+22=55, Resulting Numbers: [55]
55,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[3, 9, 6], Operations: ['39-33=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9, 9]
Generated Node #0,1,0: 17:[9, 9] Operation: 3+6=9
Exploring Operation: 3*6=18, Resulting Numbers: [9, 18]
Generated Node #0,1,1: 17:[9, 18] Operation: 3*6=18
Exploring Operation: 3+9=12, Resulting Numbers: [6, 12]
Generated Node #0,1,2: 17:[6, 12] Operation: 3+9=12
Moving to Node #0,1,1
Current State: 17:[9, 18], Operations: ['39-33=6', '3*6=18']
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[9, 9], Operations: ['39-33=6', '3+6=9']
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[6, 12], Operations: ['39-33=6', '3+9=12']
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[9, 39, 11], Operations: ['33/3=11']
Exploring Operation: 39-9=30, Resulting Numbers: [11, 30]
Generated Node #0,2,0: 17:[11, 30] Operation: 39-9=30
Exploring Operation: 9+11=20, Resulting Numbers: [39, 20]
Generated Node #0,2,1: 17:[39, 20] Operation: 9+11=20
Exploring Operation: 39-11=28, Resulting Numbers: [9, 28]
Generated Node #0,2,2: 17:[9, 28] Operation: 39-11=28
Moving to Node #0,2,0
Current State: 17:[11, 30], Operations: ['33/3=11', '39-9=30']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Exploring Operation: 11*30=330, Resulting Numbers: [330]
330,17 unequal: No Solution
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,17 unequal: No Solution
Moving to Node #0,2,2
Current State: 17:[9, 28], Operations: ['33/3=11', '39-11=28']
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,17 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[39, 20], Operations: ['33/3=11', '9+11=20']
Exploring Operation: 39*20=780, Resulting Numbers: [780]
780,17 unequal: No Solution
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,17 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 |
[
57,
64,
27,
9
] | 21 | [
"64-57=7",
"27/9=3",
"7*3=21"
] | Current State: 21:[57, 64, 27, 9], Operations: []
Exploring Operation: 64-57=7, Resulting Numbers: [27, 9, 7]
Generated Node #2: [27, 9, 7] from Operation: 64-57=7
Current State: 21:[27, 9, 7], Operations: ['64-57=7']
Exploring Operation: 27/9=3, Resulting Numbers: [7, 3]
Generated Node #3: [7, 3] from Operation: 27/9=3
Current State: 21:[7, 3], Operations: ['64-57=7', '27/9=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[57, 64, 27, 9], Operations: []
Exploring Operation: 64-57=7, Resulting Numbers: [27, 9, 7]
Generated Node #0,0: 21:[27, 9, 7] Operation: 64-57=7
Moving to Node #0,0
Current State: 21:[27, 9, 7], Operations: ['64-57=7']
Exploring Operation: 27/9=3, Resulting Numbers: [7, 3]
Generated Node #0,0,0: 21:[7, 3] Operation: 27/9=3
Moving to Node #0,0,0
Current State: 21:[7, 3], Operations: ['64-57=7', '27/9=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[57, 64, 27, 9], Operations: []
Exploring Operation: 64-57=7, Resulting Numbers: [27, 9, 7]
Generated Node #0,0: 21:[27, 9, 7] Operation: 64-57=7
Moving to Node #0,0
Current State: 21:[27, 9, 7], Operations: ['64-57=7']
Exploring Operation: 27/9=3, Resulting Numbers: [7, 3]
Generated Node #0,0,0: 21:[7, 3] Operation: 27/9=3
Moving to Node #0,0,0
Current State: 21:[7, 3], Operations: ['64-57=7', '27/9=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
49,
5,
5,
28
] | 67 | [
"49-5=44",
"28-5=23",
"44+23=67"
] | Current State: 67:[49, 5, 5, 28], Operations: []
Exploring Operation: 49-5=44, Resulting Numbers: [28, 44]
Generated Node #2: [28, 44] from Operation: 49-5=44
Current State: 67:[28, 44], Operations: ['49-5=44']
Exploring Operation: 28-5=23, Resulting Numbers: [44, 23]
Generated Node #3: [44, 23] from Operation: 28-5=23
Current State: 67:[44, 23], Operations: ['49-5=44', '28-5=23']
Exploring Operation: 44+23=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[49, 5, 5, 28], Operations: []
Exploring Operation: 49+5=54, Resulting Numbers: [5, 28, 54]
Generated Node #0,0: 67:[5, 28, 54] Operation: 49+5=54
Exploring Operation: 49+5=54, Resulting Numbers: [5, 28, 54]
Generated Node #0,1: 67:[5, 28, 54] Operation: 49+5=54
Exploring Operation: 5*5=25, Resulting Numbers: [49, 28, 25]
Generated Node #0,2: 67:[49, 28, 25] Operation: 5*5=25
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[49, 28, 25], Operations: ['5*5=25']
Exploring Operation: 28+25=53, Resulting Numbers: [49, 53]
Generated Node #0,2,0: 67:[49, 53] Operation: 28+25=53
Exploring Operation: 49+28=77, Resulting Numbers: [25, 77]
Generated Node #0,2,1: 67:[25, 77] Operation: 49+28=77
Exploring Operation: 49+25=74, Resulting Numbers: [28, 74]
Generated Node #0,2,2: 67:[28, 74] Operation: 49+25=74
Moving to Node #0,2,0
Current State: 67:[49, 53], Operations: ['5*5=25', '28+25=53']
Exploring Operation: 53-49=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 49+53=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 49*53=2597, Resulting Numbers: [2597]
2597,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[28, 74], Operations: ['5*5=25', '49+25=74']
Exploring Operation: 28+74=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 28*74=2072, Resulting Numbers: [2072]
2072,67 unequal: No Solution
Exploring Operation: 74-28=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[25, 77], Operations: ['5*5=25', '49+28=77']
Exploring Operation: 77-25=52, Resulting Numbers: [52]
52,67 unequal: No Solution
Exploring Operation: 25+77=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 25*77=1925, Resulting Numbers: [1925]
1925,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[5, 28, 54], Operations: ['49+5=54']
Exploring Operation: 5+54=59, Resulting Numbers: [28, 59]
Generated Node #0,0,0: 67:[28, 59] Operation: 5+54=59
Exploring Operation: 28-5=23, Resulting Numbers: [54, 23]
Generated Node #0,0,1: 67:[54, 23] Operation: 28-5=23
Exploring Operation: 5+28=33, Resulting Numbers: [54, 33]
Generated Node #0,0,2: 67:[54, 33] Operation: 5+28=33
Moving to Node #0,0,0
Current State: 67:[28, 59], Operations: ['49+5=54', '5+54=59']
Exploring Operation: 28*59=1652, Resulting Numbers: [1652]
1652,67 unequal: No Solution
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,67 unequal: No Solution
Exploring Operation: 28+59=87, Resulting Numbers: [87]
87,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[54, 33], Operations: ['49+5=54', '5+28=33']
Exploring Operation: 54+33=87, Resulting Numbers: [87]
87,67 unequal: No Solution
Exploring Operation: 54*33=1782, Resulting Numbers: [1782]
1782,67 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[54, 23], Operations: ['49+5=54', '28-5=23']
Exploring Operation: 54*23=1242, Resulting Numbers: [1242]
1242,67 unequal: No Solution
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,67 unequal: No Solution
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[5, 28, 54], Operations: ['49+5=54']
Exploring Operation: 28-5=23, Resulting Numbers: [54, 23]
Generated Node #0,1,0: 67:[54, 23] Operation: 28-5=23
Exploring Operation: 5+54=59, Resulting Numbers: [28, 59]
Generated Node #0,1,1: 67:[28, 59] Operation: 5+54=59
Exploring Operation: 5+28=33, Resulting Numbers: [54, 33]
Generated Node #0,1,2: 67:[54, 33] Operation: 5+28=33
Moving to Node #0,1,1
Current State: 67:[28, 59], Operations: ['49+5=54', '5+54=59']
Exploring Operation: 28+59=87, Resulting Numbers: [87]
87,67 unequal: No Solution
Exploring Operation: 28*59=1652, Resulting Numbers: [1652]
1652,67 unequal: No Solution
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[54, 33], Operations: ['49+5=54', '5+28=33']
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,67 unequal: No Solution
Exploring Operation: 54+33=87, Resulting Numbers: [87]
87,67 unequal: No Solution
Exploring Operation: 54*33=1782, Resulting Numbers: [1782]
1782,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[54, 23], Operations: ['49+5=54', '28-5=23']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,67 unequal: No Solution
Exploring Operation: 54*23=1242, Resulting Numbers: [1242]
1242,67 unequal: No Solution
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,67 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 |
[
39,
28,
81,
82
] | 67 | [
"39+28=67",
"82-81=1",
"67*1=67"
] | Current State: 67:[39, 28, 81, 82], Operations: []
Exploring Operation: 39+28=67, Resulting Numbers: [81, 82, 67]
Generated Node #2: [81, 82, 67] from Operation: 39+28=67
Current State: 67:[81, 82, 67], Operations: ['39+28=67']
Exploring Operation: 82-81=1, Resulting Numbers: [67, 1]
Generated Node #3: [67, 1] from Operation: 82-81=1
Current State: 67:[67, 1], Operations: ['39+28=67', '82-81=1']
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[39, 28, 81, 82], Operations: []
Exploring Operation: 82-28=54, Resulting Numbers: [39, 81, 54]
Generated Node #0,0: 67:[39, 81, 54] Operation: 82-28=54
Exploring Operation: 39+28=67, Resulting Numbers: [81, 82, 67]
Generated Node #0,1: 67:[81, 82, 67] Operation: 39+28=67
Exploring Operation: 82-39=43, Resulting Numbers: [28, 81, 43]
Generated Node #0,2: 67:[28, 81, 43] Operation: 82-39=43
Exploring Operation: 81-28=53, Resulting Numbers: [39, 82, 53]
Generated Node #0,3: 67:[39, 82, 53] Operation: 81-28=53
Moving to Node #0,1
Current State: 67:[81, 82, 67], Operations: ['39+28=67']
Exploring Operation: 82-67=15, Resulting Numbers: [81, 15]
Generated Node #0,1,0: 67:[81, 15] Operation: 82-67=15
Exploring Operation: 81-67=14, Resulting Numbers: [82, 14]
Generated Node #0,1,1: 67:[82, 14] Operation: 81-67=14
Exploring Operation: 81+82=163, Resulting Numbers: [67, 163]
Generated Node #0,1,2: 67:[67, 163] Operation: 81+82=163
Exploring Operation: 82-81=1, Resulting Numbers: [67, 1]
Generated Node #0,1,3: 67:[67, 1] Operation: 82-81=1
Moving to Node #0,0
Current State: 67:[39, 81, 54], Operations: ['82-28=54']
Exploring Operation: 54-39=15, Resulting Numbers: [81, 15]
Generated Node #0,0,0: 67:[81, 15] Operation: 54-39=15
Exploring Operation: 81-39=42, Resulting Numbers: [54, 42]
Generated Node #0,0,1: 67:[54, 42] Operation: 81-39=42
Exploring Operation: 39+81=120, Resulting Numbers: [54, 120]
Generated Node #0,0,2: 67:[54, 120] Operation: 39+81=120
Exploring Operation: 39+54=93, Resulting Numbers: [81, 93]
Generated Node #0,0,3: 67:[81, 93] Operation: 39+54=93
Moving to Node #0,3
Current State: 67:[39, 82, 53], Operations: ['81-28=53']
Exploring Operation: 82-53=29, Resulting Numbers: [39, 29]
Generated Node #0,3,0: 67:[39, 29] Operation: 82-53=29
Exploring Operation: 39+82=121, Resulting Numbers: [53, 121]
Generated Node #0,3,1: 67:[53, 121] Operation: 39+82=121
Exploring Operation: 82-39=43, Resulting Numbers: [53, 43]
Generated Node #0,3,2: 67:[53, 43] Operation: 82-39=43
Exploring Operation: 39+53=92, Resulting Numbers: [82, 92]
Generated Node #0,3,3: 67:[82, 92] Operation: 39+53=92
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 67:[53, 43], Operations: ['81-28=53', '82-39=43']
Exploring Operation: 53*43=2279, Resulting Numbers: [2279]
2279,67 unequal: No Solution
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 53+43=96, Resulting Numbers: [96]
96,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 67:[82, 92], Operations: ['81-28=53', '39+53=92']
Exploring Operation: 82*92=7544, Resulting Numbers: [7544]
7544,67 unequal: No Solution
Exploring Operation: 92-82=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 82+92=174, Resulting Numbers: [174]
174,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 67:[39, 29], Operations: ['81-28=53', '82-53=29']
Exploring Operation: 39+29=68, Resulting Numbers: [68]
68,67 unequal: No Solution
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 39*29=1131, Resulting Numbers: [1131]
1131,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 67:[53, 121], Operations: ['81-28=53', '39+82=121']
Exploring Operation: 53+121=174, Resulting Numbers: [174]
174,67 unequal: No Solution
Exploring Operation: 121-53=68, Resulting Numbers: [68]
68,67 unequal: No Solution
Exploring Operation: 53*121=6413, Resulting Numbers: [6413]
6413,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 67:[28, 81, 43], Operations: ['82-39=43']
Exploring Operation: 43-28=15, Resulting Numbers: [81, 15]
Generated Node #0,2,0: 67:[81, 15] Operation: 43-28=15
Exploring Operation: 81-28=53, Resulting Numbers: [43, 53]
Generated Node #0,2,1: 67:[43, 53] Operation: 81-28=53
Exploring Operation: 28+43=71, Resulting Numbers: [81, 71]
Generated Node #0,2,2: 67:[81, 71] Operation: 28+43=71
Exploring Operation: 28+81=109, Resulting Numbers: [43, 109]
Generated Node #0,2,3: 67:[43, 109] Operation: 28+81=109
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[81, 71], Operations: ['82-39=43', '28+43=71']
Exploring Operation: 81+71=152, Resulting Numbers: [152]
152,67 unequal: No Solution
Exploring Operation: 81*71=5751, Resulting Numbers: [5751]
5751,67 unequal: No Solution
Exploring Operation: 81-71=10, Resulting Numbers: [10]
10,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[43, 53], Operations: ['82-39=43', '81-28=53']
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 43+53=96, Resulting Numbers: [96]
96,67 unequal: No Solution
Exploring Operation: 43*53=2279, Resulting Numbers: [2279]
2279,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[81, 15], Operations: ['82-39=43', '43-28=15']
Exploring Operation: 81*15=1215, Resulting Numbers: [1215]
1215,67 unequal: No Solution
Exploring Operation: 81+15=96, Resulting Numbers: [96]
96,67 unequal: No Solution
Exploring Operation: 81-15=66, Resulting Numbers: [66]
66,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 67:[43, 109], Operations: ['82-39=43', '28+81=109']
Exploring Operation: 109-43=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 43+109=152, Resulting Numbers: [152]
152,67 unequal: No Solution
Exploring Operation: 43*109=4687, Resulting Numbers: [4687]
4687,67 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: 67:[54, 42], Operations: ['82-28=54', '81-39=42']
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 54*42=2268, Resulting Numbers: [2268]
2268,67 unequal: No Solution
Exploring Operation: 54+42=96, Resulting Numbers: [96]
96,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[81, 93], Operations: ['82-28=54', '39+54=93']
Exploring Operation: 93-81=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 81+93=174, Resulting Numbers: [174]
174,67 unequal: No Solution
Exploring Operation: 81*93=7533, Resulting Numbers: [7533]
7533,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[81, 15], Operations: ['82-28=54', '54-39=15']
Exploring Operation: 81*15=1215, Resulting Numbers: [1215]
1215,67 unequal: No Solution
Exploring Operation: 81+15=96, Resulting Numbers: [96]
96,67 unequal: No Solution
Exploring Operation: 81-15=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[81, 15], Operations: ['39+28=67', '82-67=15']
Exploring Operation: 81+15=96, Resulting Numbers: [96]
96,67 unequal: No Solution
Exploring Operation: 81*15=1215, Resulting Numbers: [1215]
1215,67 unequal: No Solution
Exploring Operation: 81-15=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[67, 1], Operations: ['39+28=67', '82-81=1']
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 67+1=68, Resulting Numbers: [68]
68,67 unequal: No Solution
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[39, 28, 81, 82], Operations: []
Exploring Operation: 39+28=67, Resulting Numbers: [81, 82, 67]
Generated Node #0,1: 67:[81, 82, 67] Operation: 39+28=67
Moving to Node #0,1
Current State: 67:[81, 82, 67], Operations: ['39+28=67']
Exploring Operation: 82-81=1, Resulting Numbers: [67, 1]
Generated Node #0,1,3: 67:[67, 1] Operation: 82-81=1
Moving to Node #0,1,3
Current State: 67:[67, 1], Operations: ['39+28=67', '82-81=1']
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 0.945313 | hs_4 | mult_heuristic |
[
63,
82,
71,
11
] | 41 | [
"82-63=19",
"71-11=60",
"60-19=41"
] | Current State: 41:[63, 82, 71, 11], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [71, 11, 19]
Generated Node #2: [71, 11, 19] from Operation: 82-63=19
Current State: 41:[71, 11, 19], Operations: ['82-63=19']
Exploring Operation: 71-11=60, Resulting Numbers: [19, 60]
Generated Node #3: [19, 60] from Operation: 71-11=60
Current State: 41:[19, 60], Operations: ['82-63=19', '71-11=60']
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[63, 82, 71, 11], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [71, 11, 19]
Generated Node #0,0: 41:[71, 11, 19] Operation: 82-63=19
Exploring Operation: 63-11=52, Resulting Numbers: [82, 71, 52]
Generated Node #0,1: 41:[82, 71, 52] Operation: 63-11=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[71, 11, 19], Operations: ['82-63=19']
Exploring Operation: 71-19=52, Resulting Numbers: [11, 52]
Generated Node #0,0,0: 41:[11, 52] Operation: 71-19=52
Exploring Operation: 71-11=60, Resulting Numbers: [19, 60]
Generated Node #0,0,1: 41:[19, 60] Operation: 71-11=60
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[11, 52], Operations: ['82-63=19', '71-19=52']
Exploring Operation: 11+52=63, Resulting Numbers: [63]
63,41 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[63, 82, 71, 11], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [71, 11, 19]
Generated Node #0,0: 41:[71, 11, 19] Operation: 82-63=19
Moving to Node #0,0
Current State: 41:[71, 11, 19], Operations: ['82-63=19']
Exploring Operation: 71-19=52, Resulting Numbers: [11, 52]
Generated Node #0,0,0: 41:[11, 52] Operation: 71-19=52
Moving to Node #0,0,0
Current State: 41:[11, 52], Operations: ['82-63=19', '71-19=52']
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
53,
19,
11,
12
] | 34 | [
"53-19=34",
"12-11=1",
"34*1=34"
] | Current State: 34:[53, 19, 11, 12], Operations: []
Exploring Operation: 53-19=34, Resulting Numbers: [11, 12, 34]
Generated Node #2: [11, 12, 34] from Operation: 53-19=34
Current State: 34:[11, 12, 34], Operations: ['53-19=34']
Exploring Operation: 12-11=1, Resulting Numbers: [34, 1]
Generated Node #3: [34, 1] from Operation: 12-11=1
Current State: 34:[34, 1], Operations: ['53-19=34', '12-11=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[53, 19, 11, 12], Operations: []
Exploring Operation: 53-12=41, Resulting Numbers: [19, 11, 41]
Generated Node #0,0: 34:[19, 11, 41] Operation: 53-12=41
Exploring Operation: 53-11=42, Resulting Numbers: [19, 12, 42]
Generated Node #0,1: 34:[19, 12, 42] Operation: 53-11=42
Exploring Operation: 53-19=34, Resulting Numbers: [11, 12, 34]
Generated Node #0,2: 34:[11, 12, 34] Operation: 53-19=34
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[11, 12, 34], Operations: ['53-19=34']
Exploring Operation: 34-11=23, Resulting Numbers: [12, 23]
Generated Node #0,2,0: 34:[12, 23] Operation: 34-11=23
Exploring Operation: 12-11=1, Resulting Numbers: [34, 1]
Generated Node #0,2,1: 34:[34, 1] Operation: 12-11=1
Exploring Operation: 11+12=23, Resulting Numbers: [34, 23]
Generated Node #0,2,2: 34:[34, 23] Operation: 11+12=23
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 34:[34, 1], Operations: ['53-19=34', '12-11=1']
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[53, 19, 11, 12], Operations: []
Exploring Operation: 53-19=34, Resulting Numbers: [11, 12, 34]
Generated Node #0,2: 34:[11, 12, 34] Operation: 53-19=34
Moving to Node #0,2
Current State: 34:[11, 12, 34], Operations: ['53-19=34']
Exploring Operation: 12-11=1, Resulting Numbers: [34, 1]
Generated Node #0,2,1: 34:[34, 1] Operation: 12-11=1
Moving to Node #0,2,1
Current State: 34:[34, 1], Operations: ['53-19=34', '12-11=1']
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
23,
20,
52,
16
] | 21 | [
"23*16=368",
"52+368=420",
"420/20=21"
] | Current State: 21:[23, 20, 52, 16], Operations: []
Exploring Operation: 23*16=368, Resulting Numbers: [20, 52, 368]
Generated Node #2: [20, 52, 368] from Operation: 23*16=368
Current State: 21:[20, 52, 368], Operations: ['23*16=368']
Exploring Operation: 52+368=420, Resulting Numbers: [20, 420]
Generated Node #3: [20, 420] from Operation: 52+368=420
Current State: 21:[20, 420], Operations: ['23*16=368', '52+368=420']
Exploring Operation: 420/20=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[23, 20, 52, 16], Operations: []
Exploring Operation: 52-23=29, Resulting Numbers: [20, 16, 29]
Generated Node #0,0: 21:[20, 16, 29] Operation: 52-23=29
Exploring Operation: 52-20=32, Resulting Numbers: [23, 16, 32]
Generated Node #0,1: 21:[23, 16, 32] Operation: 52-20=32
Exploring Operation: 23-16=7, Resulting Numbers: [20, 52, 7]
Generated Node #0,2: 21:[20, 52, 7] Operation: 23-16=7
Exploring Operation: 20-16=4, Resulting Numbers: [23, 52, 4]
Generated Node #0,3: 21:[23, 52, 4] Operation: 20-16=4
Exploring Operation: 52-16=36, Resulting Numbers: [23, 20, 36]
Generated Node #0,4: 21:[23, 20, 36] Operation: 52-16=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[20, 16, 29], Operations: ['52-23=29']
Exploring Operation: 20-16=4, Resulting Numbers: [29, 4]
Generated Node #0,0,0: 21:[29, 4] Operation: 20-16=4
Exploring Operation: 20+16=36, Resulting Numbers: [29, 36]
Generated Node #0,0,1: 21:[29, 36] Operation: 20+16=36
Exploring Operation: 29-20=9, Resulting Numbers: [16, 9]
Generated Node #0,0,2: 21:[16, 9] Operation: 29-20=9
Exploring Operation: 16+29=45, Resulting Numbers: [20, 45]
Generated Node #0,0,3: 21:[20, 45] Operation: 16+29=45
Exploring Operation: 29-16=13, Resulting Numbers: [20, 13]
Generated Node #0,0,4: 21:[20, 13] Operation: 29-16=13
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[16, 9], Operations: ['52-23=29', '29-20=9']
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,21 unequal: No Solution
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,21 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 21:[20, 13], Operations: ['52-23=29', '29-16=13']
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,21 unequal: No Solution
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,21 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[29, 4], Operations: ['52-23=29', '20-16=4']
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,21 unequal: No Solution
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,21 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[29, 36], Operations: ['52-23=29', '20+16=36']
Exploring Operation: 29*36=1044, Resulting Numbers: [1044]
1044,21 unequal: No Solution
Exploring Operation: 29+36=65, Resulting Numbers: [65]
65,21 unequal: No Solution
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 21:[20, 45], Operations: ['52-23=29', '16+29=45']
Exploring Operation: 20+45=65, Resulting Numbers: [65]
65,21 unequal: No Solution
Exploring Operation: 45-20=25, Resulting Numbers: [25]
25,21 unequal: No Solution
Exploring Operation: 20*45=900, Resulting Numbers: [900]
900,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[23, 16, 32], Operations: ['52-20=32']
Exploring Operation: 32-23=9, Resulting Numbers: [16, 9]
Generated Node #0,1,0: 21:[16, 9] Operation: 32-23=9
Exploring Operation: 23-16=7, Resulting Numbers: [32, 7]
Generated Node #0,1,1: 21:[32, 7] Operation: 23-16=7
Exploring Operation: 32-16=16, Resulting Numbers: [23, 16]
Generated Node #0,1,2: 21:[23, 16] Operation: 32-16=16
Exploring Operation: 23+16=39, Resulting Numbers: [32, 39]
Generated Node #0,1,3: 21:[32, 39] Operation: 23+16=39
Exploring Operation: 32/16=2, Resulting Numbers: [23, 2]
Generated Node #0,1,4: 21:[23, 2] Operation: 32/16=2
Moving to Node #0,1,4
Current State: 21:[23, 2], Operations: ['52-20=32', '32/16=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,21 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,21 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[23, 20, 52, 16], Operations: []
Exploring Operation: 52-20=32, Resulting Numbers: [23, 16, 32]
Generated Node #0,1: 21:[23, 16, 32] Operation: 52-20=32
Moving to Node #0,1
Current State: 21:[23, 16, 32], Operations: ['52-20=32']
Exploring Operation: 32/16=2, Resulting Numbers: [23, 2]
Generated Node #0,1,4: 21:[23, 2] Operation: 32/16=2
Moving to Node #0,1,4
Current State: 21:[23, 2], Operations: ['52-20=32', '32/16=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
28,
57,
36,
23
] | 26 | [
"28+57=85",
"36+23=59",
"85-59=26"
] | Current State: 26:[28, 57, 36, 23], Operations: []
Exploring Operation: 28+57=85, Resulting Numbers: [36, 23, 85]
Generated Node #2: [36, 23, 85] from Operation: 28+57=85
Current State: 26:[36, 23, 85], Operations: ['28+57=85']
Exploring Operation: 36+23=59, Resulting Numbers: [85, 59]
Generated Node #3: [85, 59] from Operation: 36+23=59
Current State: 26:[85, 59], Operations: ['28+57=85', '36+23=59']
Exploring Operation: 85-59=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[28, 57, 36, 23], Operations: []
Exploring Operation: 57-36=21, Resulting Numbers: [28, 23, 21]
Generated Node #0,0: 26:[28, 23, 21] Operation: 57-36=21
Exploring Operation: 57-23=34, Resulting Numbers: [28, 36, 34]
Generated Node #0,1: 26:[28, 36, 34] Operation: 57-23=34
Exploring Operation: 36-23=13, Resulting Numbers: [28, 57, 13]
Generated Node #0,2: 26:[28, 57, 13] Operation: 36-23=13
Exploring Operation: 57-28=29, Resulting Numbers: [36, 23, 29]
Generated Node #0,3: 26:[36, 23, 29] Operation: 57-28=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[28, 23, 21], Operations: ['57-36=21']
Exploring Operation: 23-21=2, Resulting Numbers: [28, 2]
Generated Node #0,0,0: 26:[28, 2] Operation: 23-21=2
Exploring Operation: 28-23=5, Resulting Numbers: [21, 5]
Generated Node #0,0,1: 26:[21, 5] Operation: 28-23=5
Exploring Operation: 28-21=7, Resulting Numbers: [23, 7]
Generated Node #0,0,2: 26:[23, 7] Operation: 28-21=7
Exploring Operation: 23+21=44, Resulting Numbers: [28, 44]
Generated Node #0,0,3: 26:[28, 44] Operation: 23+21=44
Moving to Node #0,0,0
Current State: 26:[28, 2], Operations: ['57-36=21', '23-21=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,26 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[28, 57, 36, 23], Operations: []
Exploring Operation: 57-36=21, Resulting Numbers: [28, 23, 21]
Generated Node #0,0: 26:[28, 23, 21] Operation: 57-36=21
Moving to Node #0,0
Current State: 26:[28, 23, 21], Operations: ['57-36=21']
Exploring Operation: 23-21=2, Resulting Numbers: [28, 2]
Generated Node #0,0,0: 26:[28, 2] Operation: 23-21=2
Moving to Node #0,0,0
Current State: 26:[28, 2], Operations: ['57-36=21', '23-21=2']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
68,
13,
59,
95
] | 99 | [
"68-13=55",
"59+95=154",
"154-55=99"
] | Current State: 99:[68, 13, 59, 95], Operations: []
Exploring Operation: 68-13=55, Resulting Numbers: [59, 95, 55]
Generated Node #2: [59, 95, 55] from Operation: 68-13=55
Current State: 99:[59, 95, 55], Operations: ['68-13=55']
Exploring Operation: 59+95=154, Resulting Numbers: [55, 154]
Generated Node #3: [55, 154] from Operation: 59+95=154
Current State: 99:[55, 154], Operations: ['68-13=55', '59+95=154']
Exploring Operation: 154-55=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[68, 13, 59, 95], Operations: []
Exploring Operation: 68-59=9, Resulting Numbers: [13, 95, 9]
Generated Node #0,0: 99:[13, 95, 9] Operation: 68-59=9
Moving to Node #0,0
Current State: 99:[13, 95, 9], Operations: ['68-59=9']
Exploring Operation: 13-9=4, Resulting Numbers: [95, 4]
Generated Node #0,0,0: 99:[95, 4] Operation: 13-9=4
Moving to Node #0,0,0
Current State: 99:[95, 4], Operations: ['68-59=9', '13-9=4']
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[68, 13, 59, 95], Operations: []
Exploring Operation: 68-59=9, Resulting Numbers: [13, 95, 9]
Generated Node #0,0: 99:[13, 95, 9] Operation: 68-59=9
Moving to Node #0,0
Current State: 99:[13, 95, 9], Operations: ['68-59=9']
Exploring Operation: 13-9=4, Resulting Numbers: [95, 4]
Generated Node #0,0,0: 99:[95, 4] Operation: 13-9=4
Moving to Node #0,0,0
Current State: 99:[95, 4], Operations: ['68-59=9', '13-9=4']
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
70,
29,
55,
35
] | 79 | [
"70+29=99",
"55-35=20",
"99-20=79"
] | Current State: 79:[70, 29, 55, 35], Operations: []
Exploring Operation: 70+29=99, Resulting Numbers: [55, 35, 99]
Generated Node #2: [55, 35, 99] from Operation: 70+29=99
Current State: 79:[55, 35, 99], Operations: ['70+29=99']
Exploring Operation: 55-35=20, Resulting Numbers: [99, 20]
Generated Node #3: [99, 20] from Operation: 55-35=20
Current State: 79:[99, 20], Operations: ['70+29=99', '55-35=20']
Exploring Operation: 99-20=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[70, 29, 55, 35], Operations: []
Exploring Operation: 29+35=64, Resulting Numbers: [70, 55, 64]
Generated Node #0,0: 79:[70, 55, 64] Operation: 29+35=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[70, 55, 64], Operations: ['29+35=64']
Exploring Operation: 55+64=119, Resulting Numbers: [70, 119]
Generated Node #0,0,0: 79:[70, 119] Operation: 55+64=119
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[70, 119], Operations: ['29+35=64', '55+64=119']
Exploring Operation: 119-70=49, Resulting Numbers: [49]
49,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
72,
9,
36,
46
] | 72 | [
"9+36=45",
"46-45=1",
"72*1=72"
] | Current State: 72:[72, 9, 36, 46], Operations: []
Exploring Operation: 9+36=45, Resulting Numbers: [72, 46, 45]
Generated Node #2: [72, 46, 45] from Operation: 9+36=45
Current State: 72:[72, 46, 45], Operations: ['9+36=45']
Exploring Operation: 46-45=1, Resulting Numbers: [72, 1]
Generated Node #3: [72, 1] from Operation: 46-45=1
Current State: 72:[72, 1], Operations: ['9+36=45', '46-45=1']
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[72, 9, 36, 46], Operations: []
Exploring Operation: 72-46=26, Resulting Numbers: [9, 36, 26]
Generated Node #0,0: 72:[9, 36, 26] Operation: 72-46=26
Exploring Operation: 46-36=10, Resulting Numbers: [72, 9, 10]
Generated Node #0,1: 72:[72, 9, 10] Operation: 46-36=10
Exploring Operation: 46-9=37, Resulting Numbers: [72, 36, 37]
Generated Node #0,2: 72:[72, 36, 37] Operation: 46-9=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[72, 9, 10], Operations: ['46-36=10']
Exploring Operation: 9+10=19, Resulting Numbers: [72, 19]
Generated Node #0,1,0: 72:[72, 19] Operation: 9+10=19
Exploring Operation: 72/9=8, Resulting Numbers: [10, 8]
Generated Node #0,1,1: 72:[10, 8] Operation: 72/9=8
Exploring Operation: 10-9=1, Resulting Numbers: [72, 1]
Generated Node #0,1,2: 72:[72, 1] Operation: 10-9=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[72, 19], Operations: ['46-36=10', '9+10=19']
Exploring Operation: 72+19=91, Resulting Numbers: [91]
91,72 unequal: No Solution
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,72 unequal: No Solution
Exploring Operation: 72*19=1368, Resulting Numbers: [1368]
1368,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 72:[10, 8], Operations: ['46-36=10', '72/9=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,72 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 72:[72, 1], Operations: ['46-36=10', '10-9=1']
Exploring Operation: 72/1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[72, 9, 36, 46], Operations: []
Exploring Operation: 46-36=10, Resulting Numbers: [72, 9, 10]
Generated Node #0,1: 72:[72, 9, 10] Operation: 46-36=10
Moving to Node #0,1
Current State: 72:[72, 9, 10], Operations: ['46-36=10']
Exploring Operation: 10-9=1, Resulting Numbers: [72, 1]
Generated Node #0,1,2: 72:[72, 1] Operation: 10-9=1
Moving to Node #0,1,2
Current State: 72:[72, 1], Operations: ['46-36=10', '10-9=1']
Exploring Operation: 72/1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
45,
51,
63,
72
] | 27 | [
"45*72=3240",
"51*63=3213",
"3240-3213=27"
] | Current State: 27:[45, 51, 63, 72], Operations: []
Exploring Operation: 45*72=3240, Resulting Numbers: [51, 63, 3240]
Generated Node #2: [51, 63, 3240] from Operation: 45*72=3240
Current State: 27:[51, 63, 3240], Operations: ['45*72=3240']
Exploring Operation: 51*63=3213, Resulting Numbers: [3240, 3213]
Generated Node #3: [3240, 3213] from Operation: 51*63=3213
Current State: 27:[3240, 3213], Operations: ['45*72=3240', '51*63=3213']
Exploring Operation: 3240-3213=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[45, 51, 63, 72], Operations: []
Exploring Operation: 72-63=9, Resulting Numbers: [45, 51, 9]
Generated Node #0,0: 27:[45, 51, 9] Operation: 72-63=9
Exploring Operation: 72-45=27, Resulting Numbers: [51, 63, 27]
Generated Node #0,1: 27:[51, 63, 27] Operation: 72-45=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[45, 51, 9], Operations: ['72-63=9']
Exploring Operation: 45/9=5, Resulting Numbers: [51, 5]
Generated Node #0,0,0: 27:[51, 5] Operation: 45/9=5
Exploring Operation: 51-45=6, Resulting Numbers: [9, 6]
Generated Node #0,0,1: 27:[9, 6] Operation: 51-45=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[9, 6], Operations: ['72-63=9', '51-45=6']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,27 unequal: No Solution
No 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: 27:[51, 5], Operations: ['72-63=9', '45/9=5']
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,27 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: 27:[51, 63, 27], Operations: ['72-45=27']
Exploring Operation: 63-27=36, Resulting Numbers: [51, 36]
Generated Node #0,1,0: 27:[51, 36] Operation: 63-27=36
Exploring Operation: 63-51=12, Resulting Numbers: [27, 12]
Generated Node #0,1,1: 27:[27, 12] Operation: 63-51=12
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[27, 12], Operations: ['72-45=27', '63-51=12']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,27 unequal: No Solution
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,27 unequal: No Solution
No 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: 27:[51, 36], Operations: ['72-45=27', '63-27=36']
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,27 unequal: No Solution
Exploring Operation: 51+36=87, Resulting Numbers: [87]
87,27 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 |
[
15,
14,
74,
16
] | 44 | [
"16-14=2",
"15*2=30",
"74-30=44"
] | Current State: 44:[15, 14, 74, 16], Operations: []
Exploring Operation: 16-14=2, Resulting Numbers: [15, 74, 2]
Generated Node #2: [15, 74, 2] from Operation: 16-14=2
Current State: 44:[15, 74, 2], Operations: ['16-14=2']
Exploring Operation: 15*2=30, Resulting Numbers: [74, 30]
Generated Node #3: [74, 30] from Operation: 15*2=30
Current State: 44:[74, 30], Operations: ['16-14=2', '15*2=30']
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[15, 14, 74, 16], Operations: []
Exploring Operation: 74-15=59, Resulting Numbers: [14, 16, 59]
Generated Node #0,0: 44:[14, 16, 59] Operation: 74-15=59
Exploring Operation: 74-14=60, Resulting Numbers: [15, 16, 60]
Generated Node #0,1: 44:[15, 16, 60] Operation: 74-14=60
Exploring Operation: 74-16=58, Resulting Numbers: [15, 14, 58]
Generated Node #0,2: 44:[15, 14, 58] Operation: 74-16=58
Exploring Operation: 16-15=1, Resulting Numbers: [14, 74, 1]
Generated Node #0,3: 44:[14, 74, 1] Operation: 16-15=1
Exploring Operation: 16-14=2, Resulting Numbers: [15, 74, 2]
Generated Node #0,4: 44:[15, 74, 2] Operation: 16-14=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[15, 14, 58], Operations: ['74-16=58']
Exploring Operation: 15-14=1, Resulting Numbers: [58, 1]
Generated Node #0,2,0: 44:[58, 1] Operation: 15-14=1
Exploring Operation: 58-14=44, Resulting Numbers: [15, 44]
Generated Node #0,2,1: 44:[15, 44] Operation: 58-14=44
Exploring Operation: 15+14=29, Resulting Numbers: [58, 29]
Generated Node #0,2,2: 44:[58, 29] Operation: 15+14=29
Exploring Operation: 58-15=43, Resulting Numbers: [14, 43]
Generated Node #0,2,3: 44:[14, 43] Operation: 58-15=43
Exploring Operation: 15+58=73, Resulting Numbers: [14, 73]
Generated Node #0,2,4: 44:[14, 73] Operation: 15+58=73
Moving to Node #0,2,1
Current State: 44:[15, 44], Operations: ['74-16=58', '58-14=44']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,44 unequal: No Solution
Moving to Node #0,2,3
Current State: 44:[14, 43], Operations: ['74-16=58', '58-15=43']
Exploring Operation: 14+43=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 14*43=602, Resulting Numbers: [602]
602,44 unequal: No Solution
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[58, 1], Operations: ['74-16=58', '15-14=1']
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[58, 29], Operations: ['74-16=58', '15+14=29']
Exploring Operation: 58*29=1682, Resulting Numbers: [1682]
1682,44 unequal: No Solution
Exploring Operation: 58/29=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 58-29=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Exploring Operation: 58+29=87, Resulting Numbers: [87]
87,44 unequal: No Solution
Moving to Node #0,2,4
Current State: 44:[14, 73], Operations: ['74-16=58', '15+58=73']
Exploring Operation: 14*73=1022, Resulting Numbers: [1022]
1022,44 unequal: No Solution
Exploring Operation: 14+73=87, Resulting Numbers: [87]
87,44 unequal: No Solution
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[14, 16, 59], Operations: ['74-15=59']
Exploring Operation: 14+59=73, Resulting Numbers: [16, 73]
Generated Node #0,0,0: 44:[16, 73] Operation: 14+59=73
Exploring Operation: 59-14=45, Resulting Numbers: [16, 45]
Generated Node #0,0,1: 44:[16, 45] Operation: 59-14=45
Exploring Operation: 16-14=2, Resulting Numbers: [59, 2]
Generated Node #0,0,2: 44:[59, 2] Operation: 16-14=2
Exploring Operation: 59-16=43, Resulting Numbers: [14, 43]
Generated Node #0,0,3: 44:[14, 43] Operation: 59-16=43
Exploring Operation: 14+16=30, Resulting Numbers: [59, 30]
Generated Node #0,0,4: 44:[59, 30] Operation: 14+16=30
Moving to Node #0,0,3
Current State: 44:[14, 43], Operations: ['74-15=59', '59-16=43']
Exploring Operation: 14*43=602, Resulting Numbers: [602]
602,44 unequal: No Solution
Exploring Operation: 14+43=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[16, 45], Operations: ['74-15=59', '59-14=45']
Exploring Operation: 16+45=61, Resulting Numbers: [61]
61,44 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Exploring Operation: 16*45=720, Resulting Numbers: [720]
720,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[59, 2], Operations: ['74-15=59', '16-14=2']
Exploring Operation: 59*2=118, Resulting Numbers: [118]
118,44 unequal: No Solution
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,44 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Moving to Node #0,0,4
Current State: 44:[59, 30], Operations: ['74-15=59', '14+16=30']
Exploring Operation: 59*30=1770, Resulting Numbers: [1770]
1770,44 unequal: No Solution
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Exploring Operation: 59+30=89, Resulting Numbers: [89]
89,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[16, 73], Operations: ['74-15=59', '14+59=73']
Exploring Operation: 16+73=89, Resulting Numbers: [89]
89,44 unequal: No Solution
Exploring Operation: 73-16=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 16*73=1168, Resulting Numbers: [1168]
1168,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[15, 16, 60], Operations: ['74-14=60']
Exploring Operation: 60/15=4, Resulting Numbers: [16, 4]
Generated Node #0,1,0: 44:[16, 4] Operation: 60/15=4
Exploring Operation: 60-16=44, Resulting Numbers: [15, 44]
Generated Node #0,1,1: 44:[15, 44] Operation: 60-16=44
Exploring Operation: 60-15=45, Resulting Numbers: [16, 45]
Generated Node #0,1,2: 44:[16, 45] Operation: 60-15=45
Exploring Operation: 16-15=1, Resulting Numbers: [60, 1]
Generated Node #0,1,3: 44:[60, 1] Operation: 16-15=1
Exploring Operation: 15+16=31, Resulting Numbers: [60, 31]
Generated Node #0,1,4: 44:[60, 31] Operation: 15+16=31
Moving to Node #0,1,1
Current State: 44:[15, 44], Operations: ['74-14=60', '60-16=44']
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[16, 4], Operations: ['74-14=60', '60/15=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,44 unequal: No Solution
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[16, 45], Operations: ['74-14=60', '60-15=45']
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Exploring Operation: 16+45=61, Resulting Numbers: [61]
61,44 unequal: No Solution
Exploring Operation: 16*45=720, Resulting Numbers: [720]
720,44 unequal: No Solution
Moving to Node #0,1,3
Current State: 44:[60, 1], Operations: ['74-14=60', '16-15=1']
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,44 unequal: No Solution
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Moving to Node #0,1,4
Current State: 44:[60, 31], Operations: ['74-14=60', '15+16=31']
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Exploring Operation: 60+31=91, Resulting Numbers: [91]
91,44 unequal: No Solution
Exploring Operation: 60*31=1860, Resulting Numbers: [1860]
1860,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[14, 74, 1], Operations: ['16-15=1']
Exploring Operation: 14*1=14, Resulting Numbers: [74, 14]
Generated Node #0,3,0: 44:[74, 14] Operation: 14*1=14
Exploring Operation: 14/1=14, Resulting Numbers: [74, 14]
Generated Node #0,3,1: 44:[74, 14] Operation: 14/1=14
Exploring Operation: 14-1=13, Resulting Numbers: [74, 13]
Generated Node #0,3,2: 44:[74, 13] Operation: 14-1=13
Exploring Operation: 74-14=60, Resulting Numbers: [1, 60]
Generated Node #0,3,3: 44:[1, 60] Operation: 74-14=60
Exploring Operation: 74-1=73, Resulting Numbers: [14, 73]
Generated Node #0,3,4: 44:[14, 73] Operation: 74-1=73
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 44:[1, 60], Operations: ['16-15=1', '74-14=60']
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 1*60=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 1+60=61, Resulting Numbers: [61]
61,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,2
Current State: 44:[74, 13], Operations: ['16-15=1', '14-1=13']
Exploring Operation: 74+13=87, Resulting Numbers: [87]
87,44 unequal: No Solution
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,44 unequal: No Solution
Exploring Operation: 74*13=962, Resulting Numbers: [962]
962,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,4
Current State: 44:[14, 73], Operations: ['16-15=1', '74-1=73']
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Exploring Operation: 14*73=1022, Resulting Numbers: [1022]
1022,44 unequal: No Solution
Exploring Operation: 14+73=87, Resulting Numbers: [87]
87,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,0
Current State: 44:[74, 14], Operations: ['16-15=1', '14*1=14']
Exploring Operation: 74+14=88, Resulting Numbers: [88]
88,44 unequal: No Solution
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 74*14=1036, Resulting Numbers: [1036]
1036,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:[74, 14], Operations: ['16-15=1', '14/1=14']
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 74*14=1036, Resulting Numbers: [1036]
1036,44 unequal: No Solution
Exploring Operation: 74+14=88, Resulting Numbers: [88]
88,44 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: 44:[15, 74, 2], Operations: ['16-14=2']
Exploring Operation: 74-2=72, Resulting Numbers: [15, 72]
Generated Node #0,4,0: 44:[15, 72] Operation: 74-2=72
Exploring Operation: 74/2=37, Resulting Numbers: [15, 37]
Generated Node #0,4,1: 44:[15, 37] Operation: 74/2=37
Exploring Operation: 15+2=17, Resulting Numbers: [74, 17]
Generated Node #0,4,2: 44:[74, 17] Operation: 15+2=17
Exploring Operation: 74-15=59, Resulting Numbers: [2, 59]
Generated Node #0,4,3: 44:[2, 59] Operation: 74-15=59
Exploring Operation: 15-2=13, Resulting Numbers: [74, 13]
Generated Node #0,4,4: 44:[74, 13] Operation: 15-2=13
Moving to Node #0,4,1
Current State: 44:[15, 37], Operations: ['16-14=2', '74/2=37']
Exploring Operation: 37-15=22, Resulting Numbers: [22]
22,44 unequal: No Solution
Exploring Operation: 15+37=52, Resulting Numbers: [52]
52,44 unequal: No Solution
Exploring Operation: 15*37=555, Resulting Numbers: [555]
555,44 unequal: No Solution
Moving to Node #0,4,3
Current State: 44:[2, 59], Operations: ['16-14=2', '74-15=59']
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,44 unequal: No Solution
Exploring Operation: 2*59=118, Resulting Numbers: [118]
118,44 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Moving to Node #0,4,0
Current State: 44:[15, 72], Operations: ['16-14=2', '74-2=72']
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 15+72=87, Resulting Numbers: [87]
87,44 unequal: No Solution
Exploring Operation: 15*72=1080, Resulting Numbers: [1080]
1080,44 unequal: No Solution
Moving to Node #0,4,4
Current State: 44:[74, 13], Operations: ['16-14=2', '15-2=13']
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,44 unequal: No Solution
Exploring Operation: 74*13=962, Resulting Numbers: [962]
962,44 unequal: No Solution
Exploring Operation: 74+13=87, Resulting Numbers: [87]
87,44 unequal: No Solution
Moving to Node #0,4,2
Current State: 44:[74, 17], Operations: ['16-14=2', '15+2=17']
Exploring Operation: 74*17=1258, Resulting Numbers: [1258]
1258,44 unequal: No Solution
Exploring Operation: 74+17=91, Resulting Numbers: [91]
91,44 unequal: No Solution
Exploring Operation: 74-17=57, Resulting Numbers: [57]
57,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
49,
56,
88,
88
] | 71 | [
"49+56=105",
"88+88=176",
"176-105=71"
] | Current State: 71:[49, 56, 88, 88], Operations: []
Exploring Operation: 49+56=105, Resulting Numbers: [88, 88, 105]
Generated Node #2: [88, 88, 105] from Operation: 49+56=105
Current State: 71:[88, 88, 105], Operations: ['49+56=105']
Exploring Operation: 88+88=176, Resulting Numbers: [105, 176]
Generated Node #3: [105, 176] from Operation: 88+88=176
Current State: 71:[105, 176], Operations: ['49+56=105', '88+88=176']
Exploring Operation: 176-105=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[49, 56, 88, 88], Operations: []
Exploring Operation: 88-49=39, Resulting Numbers: [56, 88, 39]
Generated Node #0,0: 71:[56, 88, 39] Operation: 88-49=39
Exploring Operation: 88-49=39, Resulting Numbers: [56, 88, 39]
Generated Node #0,1: 71:[56, 88, 39] Operation: 88-49=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[56, 88, 39], Operations: ['88-49=39']
Exploring Operation: 88-39=49, Resulting Numbers: [56, 49]
Generated Node #0,0,0: 71:[56, 49] Operation: 88-39=49
Exploring Operation: 56+39=95, Resulting Numbers: [88, 95]
Generated Node #0,0,1: 71:[88, 95] Operation: 56+39=95
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[56, 49], Operations: ['88-49=39', '88-39=49']
Exploring Operation: 56-49=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 56+49=105, Resulting Numbers: [105]
105,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[88, 95], Operations: ['88-49=39', '56+39=95']
Exploring Operation: 95-88=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 88+95=183, Resulting Numbers: [183]
183,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[56, 88, 39], Operations: ['88-49=39']
Exploring Operation: 56+39=95, Resulting Numbers: [88, 95]
Generated Node #0,1,0: 71:[88, 95] Operation: 56+39=95
Exploring Operation: 88-39=49, Resulting Numbers: [56, 49]
Generated Node #0,1,1: 71:[56, 49] Operation: 88-39=49
Moving to Node #0,1,1
Current State: 71:[56, 49], Operations: ['88-49=39', '88-39=49']
Exploring Operation: 56-49=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 56+49=105, Resulting Numbers: [105]
105,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[88, 95], Operations: ['88-49=39', '56+39=95']
Exploring Operation: 88+95=183, Resulting Numbers: [183]
183,71 unequal: No Solution
Exploring Operation: 95-88=7, Resulting Numbers: [7]
7,71 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 |
[
93,
33,
43,
41
] | 17 | [
"93+43=136",
"41-33=8",
"136/8=17"
] | Current State: 17:[93, 33, 43, 41], Operations: []
Exploring Operation: 93+43=136, Resulting Numbers: [33, 41, 136]
Generated Node #2: [33, 41, 136] from Operation: 93+43=136
Current State: 17:[33, 41, 136], Operations: ['93+43=136']
Exploring Operation: 41-33=8, Resulting Numbers: [136, 8]
Generated Node #3: [136, 8] from Operation: 41-33=8
Current State: 17:[136, 8], Operations: ['93+43=136', '41-33=8']
Exploring Operation: 136/8=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[93, 33, 43, 41], Operations: []
Exploring Operation: 93-43=50, Resulting Numbers: [33, 41, 50]
Generated Node #0,0: 17:[33, 41, 50] Operation: 93-43=50
Exploring Operation: 93-41=52, Resulting Numbers: [33, 43, 52]
Generated Node #0,1: 17:[33, 43, 52] Operation: 93-41=52
Exploring Operation: 93-33=60, Resulting Numbers: [43, 41, 60]
Generated Node #0,2: 17:[43, 41, 60] Operation: 93-33=60
Moving to Node #0,0
Current State: 17:[33, 41, 50], Operations: ['93-43=50']
Exploring Operation: 41-33=8, Resulting Numbers: [50, 8]
Generated Node #0,0,0: 17:[50, 8] Operation: 41-33=8
Exploring Operation: 50-33=17, Resulting Numbers: [41, 17]
Generated Node #0,0,1: 17:[41, 17] Operation: 50-33=17
Exploring Operation: 50-41=9, Resulting Numbers: [33, 9]
Generated Node #0,0,2: 17:[33, 9] Operation: 50-41=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[41, 17], Operations: ['93-43=50', '50-33=17']
Exploring Operation: 41+17=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 41*17=697, Resulting Numbers: [697]
697,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 17:[33, 9], Operations: ['93-43=50', '50-41=9']
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 33+9=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Exploring Operation: 33*9=297, Resulting Numbers: [297]
297,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[50, 8], Operations: ['93-43=50', '41-33=8']
Exploring Operation: 50*8=400, Resulting Numbers: [400]
400,17 unequal: No Solution
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Exploring Operation: 50+8=58, Resulting Numbers: [58]
58,17 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: 17:[33, 43, 52], Operations: ['93-41=52']
Exploring Operation: 52-33=19, Resulting Numbers: [43, 19]
Generated Node #0,1,0: 17:[43, 19] Operation: 52-33=19
Exploring Operation: 52-43=9, Resulting Numbers: [33, 9]
Generated Node #0,1,1: 17:[33, 9] Operation: 52-43=9
Exploring Operation: 43-33=10, Resulting Numbers: [52, 10]
Generated Node #0,1,2: 17:[52, 10] Operation: 43-33=10
Moving to Node #0,2
Current State: 17:[43, 41, 60], Operations: ['93-33=60']
Exploring Operation: 60-43=17, Resulting Numbers: [41, 17]
Generated Node #0,2,0: 17:[41, 17] Operation: 60-43=17
Exploring Operation: 43-41=2, Resulting Numbers: [60, 2]
Generated Node #0,2,1: 17:[60, 2] Operation: 43-41=2
Exploring Operation: 60-41=19, Resulting Numbers: [43, 19]
Generated Node #0,2,2: 17:[43, 19] Operation: 60-41=19
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 17:[41, 17], Operations: ['93-33=60', '60-43=17']
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 41+17=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 41*17=697, Resulting Numbers: [697]
697,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 17:[43, 19], Operations: ['93-33=60', '60-41=19']
Exploring Operation: 43+19=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 43*19=817, Resulting Numbers: [817]
817,17 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[60, 2], Operations: ['93-33=60', '43-41=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,17 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: 17:[33, 9], Operations: ['93-41=52', '52-43=9']
Exploring Operation: 33*9=297, Resulting Numbers: [297]
297,17 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 33+9=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[43, 19], Operations: ['93-41=52', '52-33=19']
Exploring Operation: 43+19=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 43*19=817, Resulting Numbers: [817]
817,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[52, 10], Operations: ['93-41=52', '43-33=10']
Exploring Operation: 52*10=520, Resulting Numbers: [520]
520,17 unequal: No Solution
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,17 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
10,
64,
48,
62
] | 53 | [
"64-62=2",
"10/2=5",
"48+5=53"
] | Current State: 53:[10, 64, 48, 62], Operations: []
Exploring Operation: 64-62=2, Resulting Numbers: [10, 48, 2]
Generated Node #2: [10, 48, 2] from Operation: 64-62=2
Current State: 53:[10, 48, 2], Operations: ['64-62=2']
Exploring Operation: 10/2=5, Resulting Numbers: [48, 5]
Generated Node #3: [48, 5] from Operation: 10/2=5
Current State: 53:[48, 5], Operations: ['64-62=2', '10/2=5']
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[10, 64, 48, 62], Operations: []
Exploring Operation: 62-10=52, Resulting Numbers: [64, 48, 52]
Generated Node #0,0: 53:[64, 48, 52] Operation: 62-10=52
Exploring Operation: 10+48=58, Resulting Numbers: [64, 62, 58]
Generated Node #0,1: 53:[64, 62, 58] Operation: 10+48=58
Exploring Operation: 64-10=54, Resulting Numbers: [48, 62, 54]
Generated Node #0,2: 53:[48, 62, 54] Operation: 64-10=54
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[48, 62, 54], Operations: ['64-10=54']
Exploring Operation: 62-48=14, Resulting Numbers: [54, 14]
Generated Node #0,2,0: 53:[54, 14] Operation: 62-48=14
Exploring Operation: 62-54=8, Resulting Numbers: [48, 8]
Generated Node #0,2,1: 53:[48, 8] Operation: 62-54=8
Exploring Operation: 54-48=6, Resulting Numbers: [62, 6]
Generated Node #0,2,2: 53:[62, 6] Operation: 54-48=6
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 53:[54, 14], Operations: ['64-10=54', '62-48=14']
Exploring Operation: 54+14=68, Resulting Numbers: [68]
68,53 unequal: No Solution
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 54*14=756, Resulting Numbers: [756]
756,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,2,1
Current State: 53:[48, 8], Operations: ['64-10=54', '62-54=8']
Exploring Operation: 48+8=56, Resulting Numbers: [56]
56,53 unequal: No Solution
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,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,2,2
Current State: 53:[62, 6], Operations: ['64-10=54', '54-48=6']
Exploring Operation: 62*6=372, Resulting Numbers: [372]
372,53 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,53 unequal: No Solution
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,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,0
Current State: 53:[64, 48, 52], Operations: ['62-10=52']
Exploring Operation: 48+52=100, Resulting Numbers: [64, 100]
Generated Node #0,0,0: 53:[64, 100] Operation: 48+52=100
Exploring Operation: 64-48=16, Resulting Numbers: [52, 16]
Generated Node #0,0,1: 53:[52, 16] Operation: 64-48=16
Exploring Operation: 64-52=12, Resulting Numbers: [48, 12]
Generated Node #0,0,2: 53:[48, 12] Operation: 64-52=12
Moving to Node #0,0,1
Current State: 53:[52, 16], Operations: ['62-10=52', '64-48=16']
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 52+16=68, Resulting Numbers: [68]
68,53 unequal: No Solution
Exploring Operation: 52*16=832, Resulting Numbers: [832]
832,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[48, 12], Operations: ['62-10=52', '64-52=12']
Exploring Operation: 48+12=60, Resulting Numbers: [60]
60,53 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,53 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[64, 100], Operations: ['62-10=52', '48+52=100']
Exploring Operation: 64+100=164, Resulting Numbers: [164]
164,53 unequal: No Solution
Exploring Operation: 100-64=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 64*100=6400, Resulting Numbers: [6400]
6400,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[64, 62, 58], Operations: ['10+48=58']
Exploring Operation: 62-58=4, Resulting Numbers: [64, 4]
Generated Node #0,1,0: 53:[64, 4] Operation: 62-58=4
Exploring Operation: 64-62=2, Resulting Numbers: [58, 2]
Generated Node #0,1,1: 53:[58, 2] Operation: 64-62=2
Exploring Operation: 64-58=6, Resulting Numbers: [62, 6]
Generated Node #0,1,2: 53:[62, 6] Operation: 64-58=6
Moving to Node #0,1,1
Current State: 53:[58, 2], Operations: ['10+48=58', '64-62=2']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,53 unequal: No Solution
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,53 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[62, 6], Operations: ['10+48=58', '64-58=6']
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,53 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,53 unequal: No Solution
Exploring Operation: 62*6=372, Resulting Numbers: [372]
372,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[64, 4], Operations: ['10+48=58', '62-58=4']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,53 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,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 | sum_heuristic |
[
94,
63,
83,
66
] | 59 | [
"94+83=177",
"66-63=3",
"177/3=59"
] | Current State: 59:[94, 63, 83, 66], Operations: []
Exploring Operation: 94+83=177, Resulting Numbers: [63, 66, 177]
Generated Node #2: [63, 66, 177] from Operation: 94+83=177
Current State: 59:[63, 66, 177], Operations: ['94+83=177']
Exploring Operation: 66-63=3, Resulting Numbers: [177, 3]
Generated Node #3: [177, 3] from Operation: 66-63=3
Current State: 59:[177, 3], Operations: ['94+83=177', '66-63=3']
Exploring Operation: 177/3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[94, 63, 83, 66], Operations: []
Exploring Operation: 94-63=31, Resulting Numbers: [83, 66, 31]
Generated Node #0,0: 59:[83, 66, 31] Operation: 94-63=31
Exploring Operation: 94-83=11, Resulting Numbers: [63, 66, 11]
Generated Node #0,1: 59:[63, 66, 11] Operation: 94-83=11
Exploring Operation: 94-66=28, Resulting Numbers: [63, 83, 28]
Generated Node #0,2: 59:[63, 83, 28] Operation: 94-66=28
Moving to Node #0,0
Current State: 59:[83, 66, 31], Operations: ['94-63=31']
Exploring Operation: 83+31=114, Resulting Numbers: [66, 114]
Generated Node #0,0,0: 59:[66, 114] Operation: 83+31=114
Exploring Operation: 66-31=35, Resulting Numbers: [83, 35]
Generated Node #0,0,1: 59:[83, 35] Operation: 66-31=35
Exploring Operation: 83-31=52, Resulting Numbers: [66, 52]
Generated Node #0,0,2: 59:[66, 52] Operation: 83-31=52
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 59:[66, 52], Operations: ['94-63=31', '83-31=52']
Exploring Operation: 66*52=3432, Resulting Numbers: [3432]
3432,59 unequal: No Solution
Exploring Operation: 66+52=118, Resulting Numbers: [118]
118,59 unequal: No Solution
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[83, 35], Operations: ['94-63=31', '66-31=35']
Exploring Operation: 83+35=118, Resulting Numbers: [118]
118,59 unequal: No Solution
Exploring Operation: 83*35=2905, Resulting Numbers: [2905]
2905,59 unequal: No Solution
Exploring Operation: 83-35=48, Resulting Numbers: [48]
48,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[66, 114], Operations: ['94-63=31', '83+31=114']
Exploring Operation: 66*114=7524, Resulting Numbers: [7524]
7524,59 unequal: No Solution
Exploring Operation: 66+114=180, Resulting Numbers: [180]
180,59 unequal: No Solution
Exploring Operation: 114-66=48, Resulting Numbers: [48]
48,59 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: 59:[63, 66, 11], Operations: ['94-83=11']
Exploring Operation: 66-11=55, Resulting Numbers: [63, 55]
Generated Node #0,1,0: 59:[63, 55] Operation: 66-11=55
Exploring Operation: 63+11=74, Resulting Numbers: [66, 74]
Generated Node #0,1,1: 59:[66, 74] Operation: 63+11=74
Exploring Operation: 63-11=52, Resulting Numbers: [66, 52]
Generated Node #0,1,2: 59:[66, 52] Operation: 63-11=52
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[63, 55], Operations: ['94-83=11', '66-11=55']
Exploring Operation: 63*55=3465, Resulting Numbers: [3465]
3465,59 unequal: No Solution
Exploring Operation: 63-55=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 63+55=118, Resulting Numbers: [118]
118,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,2
Current State: 59:[66, 52], Operations: ['94-83=11', '63-11=52']
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 66*52=3432, Resulting Numbers: [3432]
3432,59 unequal: No Solution
Exploring Operation: 66+52=118, Resulting Numbers: [118]
118,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,1
Current State: 59:[66, 74], Operations: ['94-83=11', '63+11=74']
Exploring Operation: 74-66=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 66+74=140, Resulting Numbers: [140]
140,59 unequal: No Solution
Exploring Operation: 66*74=4884, Resulting Numbers: [4884]
4884,59 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: 59:[63, 83, 28], Operations: ['94-66=28']
Exploring Operation: 83-28=55, Resulting Numbers: [63, 55]
Generated Node #0,2,0: 59:[63, 55] Operation: 83-28=55
Exploring Operation: 63+28=91, Resulting Numbers: [83, 91]
Generated Node #0,2,1: 59:[83, 91] Operation: 63+28=91
Exploring Operation: 63-28=35, Resulting Numbers: [83, 35]
Generated Node #0,2,2: 59:[83, 35] Operation: 63-28=35
Moving to Node #0,2,0
Current State: 59:[63, 55], Operations: ['94-66=28', '83-28=55']
Exploring Operation: 63+55=118, Resulting Numbers: [118]
118,59 unequal: No Solution
Exploring Operation: 63-55=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 63*55=3465, Resulting Numbers: [3465]
3465,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[83, 35], Operations: ['94-66=28', '63-28=35']
Exploring Operation: 83-35=48, Resulting Numbers: [48]
48,59 unequal: No Solution
Exploring Operation: 83*35=2905, Resulting Numbers: [2905]
2905,59 unequal: No Solution
Exploring Operation: 83+35=118, Resulting Numbers: [118]
118,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[83, 91], Operations: ['94-66=28', '63+28=91']
Exploring Operation: 83*91=7553, Resulting Numbers: [7553]
7553,59 unequal: No Solution
Exploring Operation: 91-83=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 83+91=174, Resulting Numbers: [174]
174,59 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
10,
31,
33,
19
] | 19 | [
"10*33=330",
"31+330=361",
"361/19=19"
] | Current State: 19:[10, 31, 33, 19], Operations: []
Exploring Operation: 10*33=330, Resulting Numbers: [31, 19, 330]
Generated Node #2: [31, 19, 330] from Operation: 10*33=330
Current State: 19:[31, 19, 330], Operations: ['10*33=330']
Exploring Operation: 31+330=361, Resulting Numbers: [19, 361]
Generated Node #3: [19, 361] from Operation: 31+330=361
Current State: 19:[19, 361], Operations: ['10*33=330', '31+330=361']
Exploring Operation: 361/19=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[10, 31, 33, 19], Operations: []
Exploring Operation: 31-10=21, Resulting Numbers: [33, 19, 21]
Generated Node #0,0: 19:[33, 19, 21] Operation: 31-10=21
Moving to Node #0,0
Current State: 19:[33, 19, 21], Operations: ['31-10=21']
Exploring Operation: 33-19=14, Resulting Numbers: [21, 14]
Generated Node #0,0,0: 19:[21, 14] Operation: 33-19=14
Moving to Node #0,0,0
Current State: 19:[21, 14], Operations: ['31-10=21', '33-19=14']
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,19 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
86,
8,
60,
2
] | 69 | [
"86-8=78",
"60+78=138",
"138/2=69"
] | Current State: 69:[86, 8, 60, 2], Operations: []
Exploring Operation: 86-8=78, Resulting Numbers: [60, 2, 78]
Generated Node #2: [60, 2, 78] from Operation: 86-8=78
Current State: 69:[60, 2, 78], Operations: ['86-8=78']
Exploring Operation: 60+78=138, Resulting Numbers: [2, 138]
Generated Node #3: [2, 138] from Operation: 60+78=138
Current State: 69:[2, 138], Operations: ['86-8=78', '60+78=138']
Exploring Operation: 138/2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[86, 8, 60, 2], Operations: []
Exploring Operation: 86-8=78, Resulting Numbers: [60, 2, 78]
Generated Node #0,0: 69:[60, 2, 78] Operation: 86-8=78
Exploring Operation: 86-60=26, Resulting Numbers: [8, 2, 26]
Generated Node #0,1: 69:[8, 2, 26] Operation: 86-60=26
Exploring Operation: 8+60=68, Resulting Numbers: [86, 2, 68]
Generated Node #0,2: 69:[86, 2, 68] Operation: 8+60=68
Exploring Operation: 8/2=4, Resulting Numbers: [86, 60, 4]
Generated Node #0,3: 69:[86, 60, 4] Operation: 8/2=4
Exploring Operation: 86-2=84, Resulting Numbers: [8, 60, 84]
Generated Node #0,4: 69:[8, 60, 84] Operation: 86-2=84
Moving to Node #0,1
Current State: 69:[8, 2, 26], Operations: ['86-60=26']
Exploring Operation: 8/2=4, Resulting Numbers: [26, 4]
Generated Node #0,1,0: 69:[26, 4] Operation: 8/2=4
Exploring Operation: 26-2=24, Resulting Numbers: [8, 24]
Generated Node #0,1,1: 69:[8, 24] Operation: 26-2=24
Exploring Operation: 26-8=18, Resulting Numbers: [2, 18]
Generated Node #0,1,2: 69:[2, 18] Operation: 26-8=18
Exploring Operation: 8-2=6, Resulting Numbers: [26, 6]
Generated Node #0,1,3: 69:[26, 6] Operation: 8-2=6
Exploring Operation: 8+2=10, Resulting Numbers: [26, 10]
Generated Node #0,1,4: 69:[26, 10] Operation: 8+2=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 69:[26, 4], Operations: ['86-60=26', '8/2=4']
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,69 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 69:[8, 24], Operations: ['86-60=26', '26-2=24']
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,69 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 69:[2, 18], Operations: ['86-60=26', '26-8=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,69 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 69:[26, 6], Operations: ['86-60=26', '8-2=6']
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,69 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 69:[26, 10], Operations: ['86-60=26', '8+2=10']
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 26*10=260, Resulting Numbers: [260]
260,69 unequal: No Solution
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 69:[86, 2, 68], Operations: ['8+60=68']
Exploring Operation: 68-2=66, Resulting Numbers: [86, 66]
Generated Node #0,2,0: 69:[86, 66] Operation: 68-2=66
Exploring Operation: 86-68=18, Resulting Numbers: [2, 18]
Generated Node #0,2,1: 69:[2, 18] Operation: 86-68=18
Exploring Operation: 2+68=70, Resulting Numbers: [86, 70]
Generated Node #0,2,2: 69:[86, 70] Operation: 2+68=70
Exploring Operation: 86+2=88, Resulting Numbers: [68, 88]
Generated Node #0,2,3: 69:[68, 88] Operation: 86+2=88
Exploring Operation: 86-2=84, Resulting Numbers: [68, 84]
Generated Node #0,2,4: 69:[68, 84] Operation: 86-2=84
Moving to Node #0,0
Current State: 69:[60, 2, 78], Operations: ['86-8=78']
Exploring Operation: 60/2=30, Resulting Numbers: [78, 30]
Generated Node #0,0,0: 69:[78, 30] Operation: 60/2=30
Exploring Operation: 78-2=76, Resulting Numbers: [60, 76]
Generated Node #0,0,1: 69:[60, 76] Operation: 78-2=76
Exploring Operation: 60+2=62, Resulting Numbers: [78, 62]
Generated Node #0,0,2: 69:[78, 62] Operation: 60+2=62
Exploring Operation: 78-60=18, Resulting Numbers: [2, 18]
Generated Node #0,0,3: 69:[2, 18] Operation: 78-60=18
Exploring Operation: 60-2=58, Resulting Numbers: [78, 58]
Generated Node #0,0,4: 69:[78, 58] Operation: 60-2=58
Moving to Node #0,3
Current State: 69:[86, 60, 4], Operations: ['8/2=4']
Exploring Operation: 86+4=90, Resulting Numbers: [60, 90]
Generated Node #0,3,0: 69:[60, 90] Operation: 86+4=90
Exploring Operation: 86-4=82, Resulting Numbers: [60, 82]
Generated Node #0,3,1: 69:[60, 82] Operation: 86-4=82
Exploring Operation: 60+4=64, Resulting Numbers: [86, 64]
Generated Node #0,3,2: 69:[86, 64] Operation: 60+4=64
Exploring Operation: 86-60=26, Resulting Numbers: [4, 26]
Generated Node #0,3,3: 69:[4, 26] Operation: 86-60=26
Exploring Operation: 60/4=15, Resulting Numbers: [86, 15]
Generated Node #0,3,4: 69:[86, 15] Operation: 60/4=15
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 69:[4, 26], Operations: ['8/2=4', '86-60=26']
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 69:[60, 82], Operations: ['8/2=4', '86-4=82']
Exploring Operation: 82-60=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Exploring Operation: 60+82=142, Resulting Numbers: [142]
142,69 unequal: No Solution
Exploring Operation: 60*82=4920, Resulting Numbers: [4920]
4920,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 69:[86, 64], Operations: ['8/2=4', '60+4=64']
Exploring Operation: 86+64=150, Resulting Numbers: [150]
150,69 unequal: No Solution
Exploring Operation: 86*64=5504, Resulting Numbers: [5504]
5504,69 unequal: No Solution
Exploring Operation: 86-64=22, Resulting Numbers: [22]
22,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 69:[86, 15], Operations: ['8/2=4', '60/4=15']
Exploring Operation: 86+15=101, Resulting Numbers: [101]
101,69 unequal: No Solution
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,69 unequal: No Solution
Exploring Operation: 86*15=1290, Resulting Numbers: [1290]
1290,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 69:[60, 90], Operations: ['8/2=4', '86+4=90']
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 60+90=150, Resulting Numbers: [150]
150,69 unequal: No Solution
Exploring Operation: 60*90=5400, Resulting Numbers: [5400]
5400,69 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: 69:[8, 60, 84], Operations: ['86-2=84']
Exploring Operation: 84-60=24, Resulting Numbers: [8, 24]
Generated Node #0,4,0: 69:[8, 24] Operation: 84-60=24
Exploring Operation: 60-8=52, Resulting Numbers: [84, 52]
Generated Node #0,4,1: 69:[84, 52] Operation: 60-8=52
Exploring Operation: 84-8=76, Resulting Numbers: [60, 76]
Generated Node #0,4,2: 69:[60, 76] Operation: 84-8=76
Exploring Operation: 8+60=68, Resulting Numbers: [84, 68]
Generated Node #0,4,3: 69:[84, 68] Operation: 8+60=68
Exploring Operation: 8+84=92, Resulting Numbers: [60, 92]
Generated Node #0,4,4: 69:[60, 92] Operation: 8+84=92
Moving to Node #0,2,1
Current State: 69:[2, 18], Operations: ['8+60=68', '86-68=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,69 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Moving to Node #0,0,3
Current State: 69:[2, 18], Operations: ['86-8=78', '78-60=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,69 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Moving to Node #0,4,0
Current State: 69:[8, 24], Operations: ['86-2=84', '84-60=24']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[78, 30], Operations: ['86-8=78', '60/2=30']
Exploring Operation: 78-30=48, Resulting Numbers: [48]
48,69 unequal: No Solution
Exploring Operation: 78+30=108, Resulting Numbers: [108]
108,69 unequal: No Solution
Exploring Operation: 78*30=2340, Resulting Numbers: [2340]
2340,69 unequal: No Solution
Moving to Node #0,4,2
Current State: 69:[60, 76], Operations: ['86-2=84', '84-8=76']
Exploring Operation: 76-60=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 60+76=136, Resulting Numbers: [136]
136,69 unequal: No Solution
Exploring Operation: 60*76=4560, Resulting Numbers: [4560]
4560,69 unequal: No Solution
Moving to Node #0,4,3
Current State: 69:[84, 68], Operations: ['86-2=84', '8+60=68']
Exploring Operation: 84*68=5712, Resulting Numbers: [5712]
5712,69 unequal: No Solution
Exploring Operation: 84-68=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 84+68=152, Resulting Numbers: [152]
152,69 unequal: No Solution
Moving to Node #0,2,4
Current State: 69:[68, 84], Operations: ['8+60=68', '86-2=84']
Exploring Operation: 68+84=152, Resulting Numbers: [152]
152,69 unequal: No Solution
Exploring Operation: 68*84=5712, Resulting Numbers: [5712]
5712,69 unequal: No Solution
Exploring Operation: 84-68=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[60, 76], Operations: ['86-8=78', '78-2=76']
Exploring Operation: 60+76=136, Resulting Numbers: [136]
136,69 unequal: No Solution
Exploring Operation: 76-60=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 60*76=4560, Resulting Numbers: [4560]
4560,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[78, 62], Operations: ['86-8=78', '60+2=62']
Exploring Operation: 78-62=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 78*62=4836, Resulting Numbers: [4836]
4836,69 unequal: No Solution
Exploring Operation: 78+62=140, Resulting Numbers: [140]
140,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[86, 70], Operations: ['8+60=68', '2+68=70']
Exploring Operation: 86*70=6020, Resulting Numbers: [6020]
6020,69 unequal: No Solution
Exploring Operation: 86+70=156, Resulting Numbers: [156]
156,69 unequal: No Solution
Exploring Operation: 86-70=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Moving to Node #0,2,3
Current State: 69:[68, 88], Operations: ['8+60=68', '86+2=88']
Exploring Operation: 68*88=5984, Resulting Numbers: [5984]
5984,69 unequal: No Solution
Exploring Operation: 88-68=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 68+88=156, Resulting Numbers: [156]
156,69 unequal: No Solution
Moving to Node #0,0,4
Current State: 69:[78, 58], Operations: ['86-8=78', '60-2=58']
Exploring Operation: 78+58=136, Resulting Numbers: [136]
136,69 unequal: No Solution
Exploring Operation: 78-58=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 78*58=4524, Resulting Numbers: [4524]
4524,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[86, 66], Operations: ['8+60=68', '68-2=66']
Exploring Operation: 86+66=152, Resulting Numbers: [152]
152,69 unequal: No Solution
Exploring Operation: 86*66=5676, Resulting Numbers: [5676]
5676,69 unequal: No Solution
Exploring Operation: 86-66=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Moving to Node #0,4,1
Current State: 69:[84, 52], Operations: ['86-2=84', '60-8=52']
Exploring Operation: 84+52=136, Resulting Numbers: [136]
136,69 unequal: No Solution
Exploring Operation: 84*52=4368, Resulting Numbers: [4368]
4368,69 unequal: No Solution
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Moving to Node #0,4,4
Current State: 69:[60, 92], Operations: ['86-2=84', '8+84=92']
Exploring Operation: 60*92=5520, Resulting Numbers: [5520]
5520,69 unequal: No Solution
Exploring Operation: 92-60=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 60+92=152, Resulting Numbers: [152]
152,69 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
47,
11,
94,
80
] | 93 | [
"94/47=2",
"11+80=91",
"2+91=93"
] | Current State: 93:[47, 11, 94, 80], Operations: []
Exploring Operation: 94/47=2, Resulting Numbers: [11, 80, 2]
Generated Node #2: [11, 80, 2] from Operation: 94/47=2
Current State: 93:[11, 80, 2], Operations: ['94/47=2']
Exploring Operation: 11+80=91, Resulting Numbers: [2, 91]
Generated Node #3: [2, 91] from Operation: 11+80=91
Current State: 93:[2, 91], Operations: ['94/47=2', '11+80=91']
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[47, 11, 94, 80], Operations: []
Exploring Operation: 47-11=36, Resulting Numbers: [94, 80, 36]
Generated Node #0,0: 93:[94, 80, 36] Operation: 47-11=36
Exploring Operation: 80-47=33, Resulting Numbers: [11, 94, 33]
Generated Node #0,1: 93:[11, 94, 33] Operation: 80-47=33
Exploring Operation: 11+80=91, Resulting Numbers: [47, 94, 91]
Generated Node #0,2: 93:[47, 94, 91] Operation: 11+80=91
Moving to Node #0,1
Current State: 93:[11, 94, 33], Operations: ['80-47=33']
Exploring Operation: 94-11=83, Resulting Numbers: [33, 83]
Generated Node #0,1,0: 93:[33, 83] Operation: 94-11=83
Exploring Operation: 33/11=3, Resulting Numbers: [94, 3]
Generated Node #0,1,1: 93:[94, 3] Operation: 33/11=3
Exploring Operation: 33-11=22, Resulting Numbers: [94, 22]
Generated Node #0,1,2: 93:[94, 22] Operation: 33-11=22
Moving to Node #0,0
Current State: 93:[94, 80, 36], Operations: ['47-11=36']
Exploring Operation: 80-36=44, Resulting Numbers: [94, 44]
Generated Node #0,0,0: 93:[94, 44] Operation: 80-36=44
Exploring Operation: 80+36=116, Resulting Numbers: [94, 116]
Generated Node #0,0,1: 93:[94, 116] Operation: 80+36=116
Exploring Operation: 94-80=14, Resulting Numbers: [36, 14]
Generated Node #0,0,2: 93:[36, 14] Operation: 94-80=14
Moving to Node #0,2
Current State: 93:[47, 94, 91], Operations: ['11+80=91']
Exploring Operation: 94-91=3, Resulting Numbers: [47, 3]
Generated Node #0,2,0: 93:[47, 3] Operation: 94-91=3
Exploring Operation: 91-47=44, Resulting Numbers: [94, 44]
Generated Node #0,2,1: 93:[94, 44] Operation: 91-47=44
Exploring Operation: 94/47=2, Resulting Numbers: [91, 2]
Generated Node #0,2,2: 93:[91, 2] Operation: 94/47=2
Moving to Node #0,1,1
Current State: 93:[94, 3], Operations: ['80-47=33', '33/11=3']
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,93 unequal: No Solution
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,93 unequal: No Solution
Exploring Operation: 94*3=282, Resulting Numbers: [282]
282,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[91, 2], Operations: ['11+80=91', '94/47=2']
Exploring Operation: 91*2=182, Resulting Numbers: [182]
182,93 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,93 unequal: No Solution
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[47, 11, 94, 80], Operations: []
Exploring Operation: 11+80=91, Resulting Numbers: [47, 94, 91]
Generated Node #0,2: 93:[47, 94, 91] Operation: 11+80=91
Moving to Node #0,2
Current State: 93:[47, 94, 91], Operations: ['11+80=91']
Exploring Operation: 94/47=2, Resulting Numbers: [91, 2]
Generated Node #0,2,2: 93:[91, 2] Operation: 94/47=2
Moving to Node #0,2,2
Current State: 93:[91, 2], Operations: ['11+80=91', '94/47=2']
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.980903 | hs_3 | sum_heuristic |
[
18,
21,
19,
19
] | 41 | [
"21-18=3",
"19+19=38",
"3+38=41"
] | Current State: 41:[18, 21, 19, 19], Operations: []
Exploring Operation: 21-18=3, Resulting Numbers: [19, 19, 3]
Generated Node #2: [19, 19, 3] from Operation: 21-18=3
Current State: 41:[19, 19, 3], Operations: ['21-18=3']
Exploring Operation: 19+19=38, Resulting Numbers: [3, 38]
Generated Node #3: [3, 38] from Operation: 19+19=38
Current State: 41:[3, 38], Operations: ['21-18=3', '19+19=38']
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[18, 21, 19, 19], Operations: []
Exploring Operation: 18+21=39, Resulting Numbers: [19, 19, 39]
Generated Node #0,0: 41:[19, 19, 39] Operation: 18+21=39
Moving to Node #0,0
Current State: 41:[19, 19, 39], Operations: ['18+21=39']
Exploring Operation: 19+19=38, Resulting Numbers: [39, 38]
Generated Node #0,0,0: 41:[39, 38] Operation: 19+19=38
Moving to Node #0,0,0
Current State: 41:[39, 38], Operations: ['18+21=39', '19+19=38']
Exploring Operation: 39+38=77, Resulting Numbers: [77]
77,41 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
65,
70,
33,
52
] | 24 | [
"70-65=5",
"52-33=19",
"5+19=24"
] | Current State: 24:[65, 70, 33, 52], Operations: []
Exploring Operation: 70-65=5, Resulting Numbers: [33, 52, 5]
Generated Node #2: [33, 52, 5] from Operation: 70-65=5
Current State: 24:[33, 52, 5], Operations: ['70-65=5']
Exploring Operation: 52-33=19, Resulting Numbers: [5, 19]
Generated Node #3: [5, 19] from Operation: 52-33=19
Current State: 24:[5, 19], Operations: ['70-65=5', '52-33=19']
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[65, 70, 33, 52], Operations: []
Exploring Operation: 65-33=32, Resulting Numbers: [70, 52, 32]
Generated Node #0,0: 24:[70, 52, 32] Operation: 65-33=32
Exploring Operation: 65-52=13, Resulting Numbers: [70, 33, 13]
Generated Node #0,1: 24:[70, 33, 13] Operation: 65-52=13
Exploring Operation: 70-52=18, Resulting Numbers: [65, 33, 18]
Generated Node #0,2: 24:[65, 33, 18] Operation: 70-52=18
Exploring Operation: 70-65=5, Resulting Numbers: [33, 52, 5]
Generated Node #0,3: 24:[33, 52, 5] Operation: 70-65=5
Moving to Node #0,3
Current State: 24:[33, 52, 5], Operations: ['70-65=5']
Exploring Operation: 33-5=28, Resulting Numbers: [52, 28]
Generated Node #0,3,0: 24:[52, 28] Operation: 33-5=28
Exploring Operation: 33+5=38, Resulting Numbers: [52, 38]
Generated Node #0,3,1: 24:[52, 38] Operation: 33+5=38
Exploring Operation: 52-33=19, Resulting Numbers: [5, 19]
Generated Node #0,3,2: 24:[5, 19] Operation: 52-33=19
Exploring Operation: 52-5=47, Resulting Numbers: [33, 47]
Generated Node #0,3,3: 24:[33, 47] Operation: 52-5=47
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 24:[5, 19], Operations: ['70-65=5', '52-33=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,24 unequal: No Solution
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[65, 70, 33, 52], Operations: []
Exploring Operation: 70-65=5, Resulting Numbers: [33, 52, 5]
Generated Node #0,3: 24:[33, 52, 5] Operation: 70-65=5
Moving to Node #0,3
Current State: 24:[33, 52, 5], Operations: ['70-65=5']
Exploring Operation: 52-33=19, Resulting Numbers: [5, 19]
Generated Node #0,3,2: 24:[5, 19] Operation: 52-33=19
Moving to Node #0,3,2
Current State: 24:[5, 19], Operations: ['70-65=5', '52-33=19']
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
7,
33,
80,
48
] | 58 | [
"33-7=26",
"80-48=32",
"26+32=58"
] | Current State: 58:[7, 33, 80, 48], Operations: []
Exploring Operation: 33-7=26, Resulting Numbers: [80, 48, 26]
Generated Node #2: [80, 48, 26] from Operation: 33-7=26
Current State: 58:[80, 48, 26], Operations: ['33-7=26']
Exploring Operation: 80-48=32, Resulting Numbers: [26, 32]
Generated Node #3: [26, 32] from Operation: 80-48=32
Current State: 58:[26, 32], Operations: ['33-7=26', '80-48=32']
Exploring Operation: 26+32=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[7, 33, 80, 48], Operations: []
Exploring Operation: 80-33=47, Resulting Numbers: [7, 48, 47]
Generated Node #0,0: 58:[7, 48, 47] Operation: 80-33=47
Exploring Operation: 80-48=32, Resulting Numbers: [7, 33, 32]
Generated Node #0,1: 58:[7, 33, 32] Operation: 80-48=32
Exploring Operation: 80-7=73, Resulting Numbers: [33, 48, 73]
Generated Node #0,2: 58:[33, 48, 73] Operation: 80-7=73
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[7, 33, 32], Operations: ['80-48=32']
Exploring Operation: 32-7=25, Resulting Numbers: [33, 25]
Generated Node #0,1,0: 58:[33, 25] Operation: 32-7=25
Exploring Operation: 33-7=26, Resulting Numbers: [32, 26]
Generated Node #0,1,1: 58:[32, 26] Operation: 33-7=26
Exploring Operation: 33-32=1, Resulting Numbers: [7, 1]
Generated Node #0,1,2: 58:[7, 1] Operation: 33-32=1
Moving to Node #0,1,1
Current State: 58:[32, 26], Operations: ['80-48=32', '33-7=26']
Exploring Operation: 32+26=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[7, 33, 80, 48], Operations: []
Exploring Operation: 80-48=32, Resulting Numbers: [7, 33, 32]
Generated Node #0,1: 58:[7, 33, 32] Operation: 80-48=32
Moving to Node #0,1
Current State: 58:[7, 33, 32], Operations: ['80-48=32']
Exploring Operation: 33-7=26, Resulting Numbers: [32, 26]
Generated Node #0,1,1: 58:[32, 26] Operation: 33-7=26
Moving to Node #0,1,1
Current State: 58:[32, 26], Operations: ['80-48=32', '33-7=26']
Exploring Operation: 32+26=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
51,
9,
16,
87
] | 57 | [
"9+87=96",
"96/16=6",
"51+6=57"
] | Current State: 57:[51, 9, 16, 87], Operations: []
Exploring Operation: 9+87=96, Resulting Numbers: [51, 16, 96]
Generated Node #2: [51, 16, 96] from Operation: 9+87=96
Current State: 57:[51, 16, 96], Operations: ['9+87=96']
Exploring Operation: 96/16=6, Resulting Numbers: [51, 6]
Generated Node #3: [51, 6] from Operation: 96/16=6
Current State: 57:[51, 6], Operations: ['9+87=96', '96/16=6']
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[51, 9, 16, 87], Operations: []
Exploring Operation: 87-51=36, Resulting Numbers: [9, 16, 36]
Generated Node #0,0: 57:[9, 16, 36] Operation: 87-51=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[9, 16, 36], Operations: ['87-51=36']
Exploring Operation: 36/9=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 57:[16, 4] Operation: 36/9=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[16, 4], Operations: ['87-51=36', '36/9=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,57 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 |
[
17,
38,
6,
12
] | 52 | [
"17*6=102",
"38+12=50",
"102-50=52"
] | Current State: 52:[17, 38, 6, 12], Operations: []
Exploring Operation: 17*6=102, Resulting Numbers: [38, 12, 102]
Generated Node #2: [38, 12, 102] from Operation: 17*6=102
Current State: 52:[38, 12, 102], Operations: ['17*6=102']
Exploring Operation: 38+12=50, Resulting Numbers: [102, 50]
Generated Node #3: [102, 50] from Operation: 38+12=50
Current State: 52:[102, 50], Operations: ['17*6=102', '38+12=50']
Exploring Operation: 102-50=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[17, 38, 6, 12], Operations: []
Exploring Operation: 17+38=55, Resulting Numbers: [6, 12, 55]
Generated Node #0,0: 52:[6, 12, 55] Operation: 17+38=55
Exploring Operation: 38-17=21, Resulting Numbers: [6, 12, 21]
Generated Node #0,1: 52:[6, 12, 21] Operation: 38-17=21
Exploring Operation: 38-12=26, Resulting Numbers: [17, 6, 26]
Generated Node #0,2: 52:[17, 6, 26] Operation: 38-12=26
Moving to Node #0,0
Current State: 52:[6, 12, 55], Operations: ['17+38=55']
Exploring Operation: 12/6=2, Resulting Numbers: [55, 2]
Generated Node #0,0,0: 52:[55, 2] Operation: 12/6=2
Exploring Operation: 55-6=49, Resulting Numbers: [12, 49]
Generated Node #0,0,1: 52:[12, 49] Operation: 55-6=49
Exploring Operation: 12-6=6, Resulting Numbers: [55, 6]
Generated Node #0,0,2: 52:[55, 6] Operation: 12-6=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[55, 2], Operations: ['17+38=55', '12/6=2']
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,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,0,1
Current State: 52:[12, 49], Operations: ['17+38=55', '55-6=49']
Exploring Operation: 12*49=588, Resulting Numbers: [588]
588,52 unequal: No Solution
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 12+49=61, Resulting Numbers: [61]
61,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,0,2
Current State: 52:[55, 6], Operations: ['17+38=55', '12-6=6']
Exploring Operation: 55*6=330, Resulting Numbers: [330]
330,52 unequal: No Solution
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 52:[17, 6, 26], Operations: ['38-12=26']
Exploring Operation: 17+6=23, Resulting Numbers: [26, 23]
Generated Node #0,2,0: 52:[26, 23] Operation: 17+6=23
Exploring Operation: 17-6=11, Resulting Numbers: [26, 11]
Generated Node #0,2,1: 52:[26, 11] Operation: 17-6=11
Exploring Operation: 26-17=9, Resulting Numbers: [6, 9]
Generated Node #0,2,2: 52:[6, 9] Operation: 26-17=9
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 52:[26, 11], Operations: ['38-12=26', '17-6=11']
Exploring Operation: 26*11=286, Resulting Numbers: [286]
286,52 unequal: No Solution
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,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,0
Current State: 52:[26, 23], Operations: ['38-12=26', '17+6=23']
Exploring Operation: 26*23=598, Resulting Numbers: [598]
598,52 unequal: No Solution
Exploring Operation: 26+23=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,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,2
Current State: 52:[6, 9], Operations: ['38-12=26', '26-17=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,52 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: 52:[6, 12, 21], Operations: ['38-17=21']
Exploring Operation: 6+21=27, Resulting Numbers: [12, 27]
Generated Node #0,1,0: 52:[12, 27] Operation: 6+21=27
Exploring Operation: 12/6=2, Resulting Numbers: [21, 2]
Generated Node #0,1,1: 52:[21, 2] Operation: 12/6=2
Exploring Operation: 21-6=15, Resulting Numbers: [12, 15]
Generated Node #0,1,2: 52:[12, 15] Operation: 21-6=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[12, 27], Operations: ['38-17=21', '6+21=27']
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,52 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,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,1,2
Current State: 52:[12, 15], Operations: ['38-17=21', '21-6=15']
Exploring Operation: 12*15=180, Resulting Numbers: [180]
180,52 unequal: No Solution
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,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,1,1
Current State: 52:[21, 2], Operations: ['38-17=21', '12/6=2']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,52 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,52 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 |
[
55,
54,
56,
49
] | 98 | [
"54+56=110",
"110/55=2",
"49*2=98"
] | Current State: 98:[55, 54, 56, 49], Operations: []
Exploring Operation: 54+56=110, Resulting Numbers: [55, 49, 110]
Generated Node #2: [55, 49, 110] from Operation: 54+56=110
Current State: 98:[55, 49, 110], Operations: ['54+56=110']
Exploring Operation: 110/55=2, Resulting Numbers: [49, 2]
Generated Node #3: [49, 2] from Operation: 110/55=2
Current State: 98:[49, 2], Operations: ['54+56=110', '110/55=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[55, 54, 56, 49], Operations: []
Exploring Operation: 56-55=1, Resulting Numbers: [54, 49, 1]
Generated Node #0,0: 98:[54, 49, 1] Operation: 56-55=1
Exploring Operation: 56-54=2, Resulting Numbers: [55, 49, 2]
Generated Node #0,1: 98:[55, 49, 2] Operation: 56-54=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[54, 49, 1], Operations: ['56-55=1']
Exploring Operation: 54-49=5, Resulting Numbers: [1, 5]
Generated Node #0,0,0: 98:[1, 5] Operation: 54-49=5
Exploring Operation: 54-1=53, Resulting Numbers: [49, 53]
Generated Node #0,0,1: 98:[49, 53] Operation: 54-1=53
Moving to Node #0,0,0
Current State: 98:[1, 5], Operations: ['56-55=1', '54-49=5']
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[49, 53], Operations: ['56-55=1', '54-1=53']
Exploring Operation: 53-49=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Exploring Operation: 49+53=102, Resulting Numbers: [102]
102,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[55, 49, 2], Operations: ['56-54=2']
Exploring Operation: 55-2=53, Resulting Numbers: [49, 53]
Generated Node #0,1,0: 98:[49, 53] Operation: 55-2=53
Exploring Operation: 55-49=6, Resulting Numbers: [2, 6]
Generated Node #0,1,1: 98:[2, 6] Operation: 55-49=6
Moving to Node #0,1,1
Current State: 98:[2, 6], Operations: ['56-54=2', '55-49=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[49, 53], Operations: ['56-54=2', '55-2=53']
Exploring Operation: 53-49=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Exploring Operation: 49+53=102, Resulting Numbers: [102]
102,98 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 |
[
72,
60,
63,
53
] | 81 | [
"60-53=7",
"63/7=9",
"72+9=81"
] | Current State: 81:[72, 60, 63, 53], Operations: []
Exploring Operation: 60-53=7, Resulting Numbers: [72, 63, 7]
Generated Node #2: [72, 63, 7] from Operation: 60-53=7
Current State: 81:[72, 63, 7], Operations: ['60-53=7']
Exploring Operation: 63/7=9, Resulting Numbers: [72, 9]
Generated Node #3: [72, 9] from Operation: 63/7=9
Current State: 81:[72, 9], Operations: ['60-53=7', '63/7=9']
Exploring Operation: 72+9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[72, 60, 63, 53], Operations: []
Exploring Operation: 63-53=10, Resulting Numbers: [72, 60, 10]
Generated Node #0,0: 81:[72, 60, 10] Operation: 63-53=10
Exploring Operation: 60-53=7, Resulting Numbers: [72, 63, 7]
Generated Node #0,1: 81:[72, 63, 7] Operation: 60-53=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[72, 63, 7], Operations: ['60-53=7']
Exploring Operation: 63/7=9, Resulting Numbers: [72, 9]
Generated Node #0,1,0: 81:[72, 9] Operation: 63/7=9
Exploring Operation: 72-63=9, Resulting Numbers: [7, 9]
Generated Node #0,1,1: 81:[7, 9] Operation: 72-63=9
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[7, 9], Operations: ['60-53=7', '72-63=9']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[72, 9], Operations: ['60-53=7', '63/7=9']
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 72+9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[72, 60, 63, 53], Operations: []
Exploring Operation: 60-53=7, Resulting Numbers: [72, 63, 7]
Generated Node #0,1: 81:[72, 63, 7] Operation: 60-53=7
Moving to Node #0,1
Current State: 81:[72, 63, 7], Operations: ['60-53=7']
Exploring Operation: 63/7=9, Resulting Numbers: [72, 9]
Generated Node #0,1,0: 81:[72, 9] Operation: 63/7=9
Moving to Node #0,1,0
Current State: 81:[72, 9], Operations: ['60-53=7', '63/7=9']
Exploring Operation: 72+9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
10,
2,
47,
2
] | 76 | [
"47-10=37",
"2*37=74",
"2+74=76"
] | Current State: 76:[10, 2, 47, 2], Operations: []
Exploring Operation: 47-10=37, Resulting Numbers: [2, 2, 37]
Generated Node #2: [2, 2, 37] from Operation: 47-10=37
Current State: 76:[2, 2, 37], Operations: ['47-10=37']
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,76 equal: Goal Reached
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[10, 2, 47, 2], Operations: []
Exploring Operation: 47-10=37, Resulting Numbers: [2, 2, 37]
Generated Node #0,0: 76:[2, 2, 37] Operation: 47-10=37
Exploring Operation: 10*2=20, Resulting Numbers: [47, 2, 20]
Generated Node #0,1: 76:[47, 2, 20] Operation: 10*2=20
Moving to Node #0,0
Current State: 76:[2, 2, 37], Operations: ['47-10=37']
Exploring Operation: 2+2=4, Resulting Numbers: [37, 4]
Generated Node #0,0,0: 76:[37, 4] Operation: 2+2=4
Exploring Operation: 2*2=4, Resulting Numbers: [37, 4]
Generated Node #0,0,1: 76:[37, 4] Operation: 2*2=4
Moving to Node #0,1
Current State: 76:[47, 2, 20], Operations: ['10*2=20']
Exploring Operation: 47-2=45, Resulting Numbers: [20, 45]
Generated Node #0,1,0: 76:[20, 45] Operation: 47-2=45
Exploring Operation: 47-20=27, Resulting Numbers: [2, 27]
Generated Node #0,1,1: 76:[2, 27] Operation: 47-20=27
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[20, 45], Operations: ['10*2=20', '47-2=45']
Exploring Operation: 45-20=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 20+45=65, Resulting Numbers: [65]
65,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[2, 27], Operations: ['10*2=20', '47-20=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,76 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: 76:[37, 4], Operations: ['47-10=37', '2+2=4']
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[37, 4], Operations: ['47-10=37', '2*2=4']
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,76 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
48,
8,
5,
41
] | 86 | [
"48-8=40",
"5+41=46",
"40+46=86"
] | Current State: 86:[48, 8, 5, 41], Operations: []
Exploring Operation: 48-8=40, Resulting Numbers: [5, 41, 40]
Generated Node #2: [5, 41, 40] from Operation: 48-8=40
Current State: 86:[5, 41, 40], Operations: ['48-8=40']
Exploring Operation: 5+41=46, Resulting Numbers: [40, 46]
Generated Node #3: [40, 46] from Operation: 5+41=46
Current State: 86:[40, 46], Operations: ['48-8=40', '5+41=46']
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[48, 8, 5, 41], Operations: []
Exploring Operation: 48-8=40, Resulting Numbers: [5, 41, 40]
Generated Node #0,0: 86:[5, 41, 40] Operation: 48-8=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[5, 41, 40], Operations: ['48-8=40']
Exploring Operation: 5+40=45, Resulting Numbers: [41, 45]
Generated Node #0,0,0: 86:[41, 45] Operation: 5+40=45
Moving to Node #0,0,0
Current State: 86:[41, 45], Operations: ['48-8=40', '5+40=45']
Exploring Operation: 41+45=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[48, 8, 5, 41], Operations: []
Exploring Operation: 48-8=40, Resulting Numbers: [5, 41, 40]
Generated Node #0,0: 86:[5, 41, 40] Operation: 48-8=40
Moving to Node #0,0
Current State: 86:[5, 41, 40], Operations: ['48-8=40']
Exploring Operation: 5+40=45, Resulting Numbers: [41, 45]
Generated Node #0,0,0: 86:[41, 45] Operation: 5+40=45
Moving to Node #0,0,0
Current State: 86:[41, 45], Operations: ['48-8=40', '5+40=45']
Exploring Operation: 41+45=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
45,
25,
48,
6
] | 75 | [
"48-45=3",
"6-3=3",
"25*3=75"
] | Current State: 75:[45, 25, 48, 6], Operations: []
Exploring Operation: 48-45=3, Resulting Numbers: [25, 6, 3]
Generated Node #2: [25, 6, 3] from Operation: 48-45=3
Current State: 75:[25, 6, 3], Operations: ['48-45=3']
Exploring Operation: 6-3=3, Resulting Numbers: [25, 3]
Generated Node #3: [25, 3] from Operation: 6-3=3
Current State: 75:[25, 3], Operations: ['48-45=3', '6-3=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[45, 25, 48, 6], Operations: []
Exploring Operation: 48-45=3, Resulting Numbers: [25, 6, 3]
Generated Node #0,0: 75:[25, 6, 3] Operation: 48-45=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[25, 6, 3], Operations: ['48-45=3']
Exploring Operation: 6-3=3, Resulting Numbers: [25, 3]
Generated Node #0,0,0: 75:[25, 3] Operation: 6-3=3
Moving to Node #0,0,0
Current State: 75:[25, 3], Operations: ['48-45=3', '6-3=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[45, 25, 48, 6], Operations: []
Exploring Operation: 48-45=3, Resulting Numbers: [25, 6, 3]
Generated Node #0,0: 75:[25, 6, 3] Operation: 48-45=3
Moving to Node #0,0
Current State: 75:[25, 6, 3], Operations: ['48-45=3']
Exploring Operation: 6-3=3, Resulting Numbers: [25, 3]
Generated Node #0,0,0: 75:[25, 3] Operation: 6-3=3
Moving to Node #0,0,0
Current State: 75:[25, 3], Operations: ['48-45=3', '6-3=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
74,
87,
51,
3
] | 52 | [
"74-51=23",
"87/3=29",
"23+29=52"
] | Current State: 52:[74, 87, 51, 3], Operations: []
Exploring Operation: 74-51=23, Resulting Numbers: [87, 3, 23]
Generated Node #2: [87, 3, 23] from Operation: 74-51=23
Current State: 52:[87, 3, 23], Operations: ['74-51=23']
Exploring Operation: 87/3=29, Resulting Numbers: [23, 29]
Generated Node #3: [23, 29] from Operation: 87/3=29
Current State: 52:[23, 29], Operations: ['74-51=23', '87/3=29']
Exploring Operation: 23+29=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[74, 87, 51, 3], Operations: []
Exploring Operation: 87-74=13, Resulting Numbers: [51, 3, 13]
Generated Node #0,0: 52:[51, 3, 13] Operation: 87-74=13
Exploring Operation: 87/3=29, Resulting Numbers: [74, 51, 29]
Generated Node #0,1: 52:[74, 51, 29] Operation: 87/3=29
Moving to Node #0,0
Current State: 52:[51, 3, 13], Operations: ['87-74=13']
Exploring Operation: 51-3=48, Resulting Numbers: [13, 48]
Generated Node #0,0,0: 52:[13, 48] Operation: 51-3=48
Exploring Operation: 51+3=54, Resulting Numbers: [13, 54]
Generated Node #0,0,1: 52:[13, 54] Operation: 51+3=54
Moving to Node #0,1
Current State: 52:[74, 51, 29], Operations: ['87/3=29']
Exploring Operation: 74-51=23, Resulting Numbers: [29, 23]
Generated Node #0,1,0: 52:[29, 23] Operation: 74-51=23
Exploring Operation: 74-29=45, Resulting Numbers: [51, 45]
Generated Node #0,1,1: 52:[51, 45] Operation: 74-29=45
Moving to Node #0,0,1
Current State: 52:[13, 54], Operations: ['87-74=13', '51+3=54']
Exploring Operation: 13+54=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[13, 48], Operations: ['87-74=13', '51-3=48']
Exploring Operation: 13+48=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[29, 23], Operations: ['87/3=29', '74-51=23']
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[74, 87, 51, 3], Operations: []
Exploring Operation: 87/3=29, Resulting Numbers: [74, 51, 29]
Generated Node #0,1: 52:[74, 51, 29] Operation: 87/3=29
Moving to Node #0,1
Current State: 52:[74, 51, 29], Operations: ['87/3=29']
Exploring Operation: 74-51=23, Resulting Numbers: [29, 23]
Generated Node #0,1,0: 52:[29, 23] Operation: 74-51=23
Moving to Node #0,1,0
Current State: 52:[29, 23], Operations: ['87/3=29', '74-51=23']
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
86,
10,
32,
95
] | 27 | [
"10*95=950",
"950-86=864",
"864/32=27"
] | Current State: 27:[86, 10, 32, 95], Operations: []
Exploring Operation: 10*95=950, Resulting Numbers: [86, 32, 950]
Generated Node #2: [86, 32, 950] from Operation: 10*95=950
Current State: 27:[86, 32, 950], Operations: ['10*95=950']
Exploring Operation: 950-86=864, Resulting Numbers: [32, 864]
Generated Node #3: [32, 864] from Operation: 950-86=864
Current State: 27:[32, 864], Operations: ['10*95=950', '950-86=864']
Exploring Operation: 864/32=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[86, 10, 32, 95], Operations: []
Exploring Operation: 95-10=85, Resulting Numbers: [86, 32, 85]
Generated Node #0,0: 27:[86, 32, 85] Operation: 95-10=85
Exploring Operation: 95-32=63, Resulting Numbers: [86, 10, 63]
Generated Node #0,1: 27:[86, 10, 63] Operation: 95-32=63
Exploring Operation: 86-10=76, Resulting Numbers: [32, 95, 76]
Generated Node #0,2: 27:[32, 95, 76] Operation: 86-10=76
Exploring Operation: 86-32=54, Resulting Numbers: [10, 95, 54]
Generated Node #0,3: 27:[10, 95, 54] Operation: 86-32=54
Exploring Operation: 95-86=9, Resulting Numbers: [10, 32, 9]
Generated Node #0,4: 27:[10, 32, 9] Operation: 95-86=9
Moving to Node #0,4
Current State: 27:[10, 32, 9], Operations: ['95-86=9']
Exploring Operation: 10-9=1, Resulting Numbers: [32, 1]
Generated Node #0,4,0: 27:[32, 1] Operation: 10-9=1
Exploring Operation: 32-10=22, Resulting Numbers: [9, 22]
Generated Node #0,4,1: 27:[9, 22] Operation: 32-10=22
Exploring Operation: 10+32=42, Resulting Numbers: [9, 42]
Generated Node #0,4,2: 27:[9, 42] Operation: 10+32=42
Exploring Operation: 10+9=19, Resulting Numbers: [32, 19]
Generated Node #0,4,3: 27:[32, 19] Operation: 10+9=19
Exploring Operation: 32-9=23, Resulting Numbers: [10, 23]
Generated Node #0,4,4: 27:[10, 23] Operation: 32-9=23
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 27:[9, 22], Operations: ['95-86=9', '32-10=22']
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,27 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 9*22=198, Resulting Numbers: [198]
198,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 27:[10, 23], Operations: ['95-86=9', '32-9=23']
Exploring Operation: 10*23=230, Resulting Numbers: [230]
230,27 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 27:[32, 1], Operations: ['95-86=9', '10-9=1']
Exploring Operation: 32+1=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,27 unequal: No Solution
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 27:[32, 19], Operations: ['95-86=9', '10+9=19']
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,27 unequal: No Solution
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 27:[9, 42], Operations: ['95-86=9', '10+32=42']
Exploring Operation: 9*42=378, Resulting Numbers: [378]
378,27 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,27 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: 27:[10, 95, 54], Operations: ['86-32=54']
Exploring Operation: 95-10=85, Resulting Numbers: [54, 85]
Generated Node #0,3,0: 27:[54, 85] Operation: 95-10=85
Exploring Operation: 95-54=41, Resulting Numbers: [10, 41]
Generated Node #0,3,1: 27:[10, 41] Operation: 95-54=41
Exploring Operation: 10+95=105, Resulting Numbers: [54, 105]
Generated Node #0,3,2: 27:[54, 105] Operation: 10+95=105
Exploring Operation: 10+54=64, Resulting Numbers: [95, 64]
Generated Node #0,3,3: 27:[95, 64] Operation: 10+54=64
Exploring Operation: 54-10=44, Resulting Numbers: [95, 44]
Generated Node #0,3,4: 27:[95, 44] Operation: 54-10=44
Moving to Node #0,1
Current State: 27:[86, 10, 63], Operations: ['95-32=63']
Exploring Operation: 63-10=53, Resulting Numbers: [86, 53]
Generated Node #0,1,0: 27:[86, 53] Operation: 63-10=53
Exploring Operation: 86-63=23, Resulting Numbers: [10, 23]
Generated Node #0,1,1: 27:[10, 23] Operation: 86-63=23
Exploring Operation: 86-10=76, Resulting Numbers: [63, 76]
Generated Node #0,1,2: 27:[63, 76] Operation: 86-10=76
Exploring Operation: 10+63=73, Resulting Numbers: [86, 73]
Generated Node #0,1,3: 27:[86, 73] Operation: 10+63=73
Exploring Operation: 86+10=96, Resulting Numbers: [63, 96]
Generated Node #0,1,4: 27:[63, 96] Operation: 86+10=96
Moving to Node #0,0
Current State: 27:[86, 32, 85], Operations: ['95-10=85']
Exploring Operation: 86+32=118, Resulting Numbers: [85, 118]
Generated Node #0,0,0: 27:[85, 118] Operation: 86+32=118
Exploring Operation: 86-32=54, Resulting Numbers: [85, 54]
Generated Node #0,0,1: 27:[85, 54] Operation: 86-32=54
Exploring Operation: 86+85=171, Resulting Numbers: [32, 171]
Generated Node #0,0,2: 27:[32, 171] Operation: 86+85=171
Exploring Operation: 85-32=53, Resulting Numbers: [86, 53]
Generated Node #0,0,3: 27:[86, 53] Operation: 85-32=53
Exploring Operation: 86-85=1, Resulting Numbers: [32, 1]
Generated Node #0,0,4: 27:[32, 1] Operation: 86-85=1
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 27:[32, 1], Operations: ['95-10=85', '86-85=1']
Exploring Operation: 32+1=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,27 unequal: No Solution
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[85, 54], Operations: ['95-10=85', '86-32=54']
Exploring Operation: 85*54=4590, Resulting Numbers: [4590]
4590,27 unequal: No Solution
Exploring Operation: 85+54=139, Resulting Numbers: [139]
139,27 unequal: No Solution
Exploring Operation: 85-54=31, Resulting Numbers: [31]
31,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 27:[86, 53], Operations: ['95-10=85', '85-32=53']
Exploring Operation: 86+53=139, Resulting Numbers: [139]
139,27 unequal: No Solution
Exploring Operation: 86-53=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 86*53=4558, Resulting Numbers: [4558]
4558,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[85, 118], Operations: ['95-10=85', '86+32=118']
Exploring Operation: 118-85=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 85+118=203, Resulting Numbers: [203]
203,27 unequal: No Solution
Exploring Operation: 85*118=10030, Resulting Numbers: [10030]
10030,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 27:[32, 171], Operations: ['95-10=85', '86+85=171']
Exploring Operation: 32+171=203, Resulting Numbers: [203]
203,27 unequal: No Solution
Exploring Operation: 171-32=139, Resulting Numbers: [139]
139,27 unequal: No Solution
Exploring Operation: 32*171=5472, Resulting Numbers: [5472]
5472,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 27:[32, 95, 76], Operations: ['86-10=76']
Exploring Operation: 32+76=108, Resulting Numbers: [95, 108]
Generated Node #0,2,0: 27:[95, 108] Operation: 32+76=108
Exploring Operation: 95-76=19, Resulting Numbers: [32, 19]
Generated Node #0,2,1: 27:[32, 19] Operation: 95-76=19
Exploring Operation: 76-32=44, Resulting Numbers: [95, 44]
Generated Node #0,2,2: 27:[95, 44] Operation: 76-32=44
Exploring Operation: 95-32=63, Resulting Numbers: [76, 63]
Generated Node #0,2,3: 27:[76, 63] Operation: 95-32=63
Exploring Operation: 32+95=127, Resulting Numbers: [76, 127]
Generated Node #0,2,4: 27:[76, 127] Operation: 32+95=127
Moving to Node #0,1,1
Current State: 27:[10, 23], Operations: ['95-32=63', '86-63=23']
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 10*23=230, Resulting Numbers: [230]
230,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[32, 19], Operations: ['86-10=76', '95-76=19']
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,27 unequal: No Solution
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,27 unequal: No Solution
Moving to Node #0,3,1
Current State: 27:[10, 41], Operations: ['86-32=54', '95-54=41']
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,27 unequal: No Solution
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,27 unequal: No Solution
Exploring Operation: 10*41=410, Resulting Numbers: [410]
410,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[86, 53], Operations: ['95-32=63', '63-10=53']
Exploring Operation: 86+53=139, Resulting Numbers: [139]
139,27 unequal: No Solution
Exploring Operation: 86-53=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 86*53=4558, Resulting Numbers: [4558]
4558,27 unequal: No Solution
Moving to Node #0,3,4
Current State: 27:[95, 44], Operations: ['86-32=54', '54-10=44']
Exploring Operation: 95*44=4180, Resulting Numbers: [4180]
4180,27 unequal: No Solution
Exploring Operation: 95-44=51, Resulting Numbers: [51]
51,27 unequal: No Solution
Exploring Operation: 95+44=139, Resulting Numbers: [139]
139,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[95, 44], Operations: ['86-10=76', '76-32=44']
Exploring Operation: 95+44=139, Resulting Numbers: [139]
139,27 unequal: No Solution
Exploring Operation: 95*44=4180, Resulting Numbers: [4180]
4180,27 unequal: No Solution
Exploring Operation: 95-44=51, Resulting Numbers: [51]
51,27 unequal: No Solution
Moving to Node #0,2,3
Current State: 27:[76, 63], Operations: ['86-10=76', '95-32=63']
Exploring Operation: 76+63=139, Resulting Numbers: [139]
139,27 unequal: No Solution
Exploring Operation: 76*63=4788, Resulting Numbers: [4788]
4788,27 unequal: No Solution
Exploring Operation: 76-63=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Moving to Node #0,3,0
Current State: 27:[54, 85], Operations: ['86-32=54', '95-10=85']
Exploring Operation: 85-54=31, Resulting Numbers: [31]
31,27 unequal: No Solution
Exploring Operation: 54*85=4590, Resulting Numbers: [4590]
4590,27 unequal: No Solution
Exploring Operation: 54+85=139, Resulting Numbers: [139]
139,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[63, 76], Operations: ['95-32=63', '86-10=76']
Exploring Operation: 63*76=4788, Resulting Numbers: [4788]
4788,27 unequal: No Solution
Exploring Operation: 63+76=139, Resulting Numbers: [139]
139,27 unequal: No Solution
Exploring Operation: 76-63=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Moving to Node #0,1,4
Current State: 27:[63, 96], Operations: ['95-32=63', '86+10=96']
Exploring Operation: 63+96=159, Resulting Numbers: [159]
159,27 unequal: No Solution
Exploring Operation: 63*96=6048, Resulting Numbers: [6048]
6048,27 unequal: No Solution
Exploring Operation: 96-63=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Moving to Node #0,3,3
Current State: 27:[95, 64], Operations: ['86-32=54', '10+54=64']
Exploring Operation: 95*64=6080, Resulting Numbers: [6080]
6080,27 unequal: No Solution
Exploring Operation: 95-64=31, Resulting Numbers: [31]
31,27 unequal: No Solution
Exploring Operation: 95+64=159, Resulting Numbers: [159]
159,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[86, 73], Operations: ['95-32=63', '10+63=73']
Exploring Operation: 86+73=159, Resulting Numbers: [159]
159,27 unequal: No Solution
Exploring Operation: 86-73=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 86*73=6278, Resulting Numbers: [6278]
6278,27 unequal: No Solution
Moving to Node #0,3,2
Current State: 27:[54, 105], Operations: ['86-32=54', '10+95=105']
Exploring Operation: 54*105=5670, Resulting Numbers: [5670]
5670,27 unequal: No Solution
Exploring Operation: 54+105=159, Resulting Numbers: [159]
159,27 unequal: No Solution
Exploring Operation: 105-54=51, Resulting Numbers: [51]
51,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[95, 108], Operations: ['86-10=76', '32+76=108']
Exploring Operation: 108-95=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 95*108=10260, Resulting Numbers: [10260]
10260,27 unequal: No Solution
Exploring Operation: 95+108=203, Resulting Numbers: [203]
203,27 unequal: No Solution
Moving to Node #0,2,4
Current State: 27:[76, 127], Operations: ['86-10=76', '32+95=127']
Exploring Operation: 76*127=9652, Resulting Numbers: [9652]
9652,27 unequal: No Solution
Exploring Operation: 127-76=51, Resulting Numbers: [51]
51,27 unequal: No Solution
Exploring Operation: 76+127=203, Resulting Numbers: [203]
203,27 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
30,
8,
27,
9
] | 99 | [
"30+8=38",
"38-27=11",
"9*11=99"
] | Current State: 99:[30, 8, 27, 9], Operations: []
Exploring Operation: 30+8=38, Resulting Numbers: [27, 9, 38]
Generated Node #2: [27, 9, 38] from Operation: 30+8=38
Current State: 99:[27, 9, 38], Operations: ['30+8=38']
Exploring Operation: 38-27=11, Resulting Numbers: [9, 11]
Generated Node #3: [9, 11] from Operation: 38-27=11
Current State: 99:[9, 11], Operations: ['30+8=38', '38-27=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[30, 8, 27, 9], Operations: []
Exploring Operation: 27/9=3, Resulting Numbers: [30, 8, 3]
Generated Node #0,0: 99:[30, 8, 3] Operation: 27/9=3
Exploring Operation: 30+8=38, Resulting Numbers: [27, 9, 38]
Generated Node #0,1: 99:[27, 9, 38] Operation: 30+8=38
Exploring Operation: 30-27=3, Resulting Numbers: [8, 9, 3]
Generated Node #0,2: 99:[8, 9, 3] Operation: 30-27=3
Exploring Operation: 27+9=36, Resulting Numbers: [30, 8, 36]
Generated Node #0,3: 99:[30, 8, 36] Operation: 27+9=36
Exploring Operation: 8+27=35, Resulting Numbers: [30, 9, 35]
Generated Node #0,4: 99:[30, 9, 35] Operation: 8+27=35
Moving to Node #0,2
Current State: 99:[8, 9, 3], Operations: ['30-27=3']
Exploring Operation: 9/3=3, Resulting Numbers: [8, 3]
Generated Node #0,2,0: 99:[8, 3] Operation: 9/3=3
Exploring Operation: 9-8=1, Resulting Numbers: [3, 1]
Generated Node #0,2,1: 99:[3, 1] Operation: 9-8=1
Exploring Operation: 9+3=12, Resulting Numbers: [8, 12]
Generated Node #0,2,2: 99:[8, 12] Operation: 9+3=12
Exploring Operation: 8-3=5, Resulting Numbers: [9, 5]
Generated Node #0,2,3: 99:[9, 5] Operation: 8-3=5
Exploring Operation: 8+3=11, Resulting Numbers: [9, 11]
Generated Node #0,2,4: 99:[9, 11] Operation: 8+3=11
Moving to Node #0,0
Current State: 99:[30, 8, 3], Operations: ['27/9=3']
Exploring Operation: 8-3=5, Resulting Numbers: [30, 5]
Generated Node #0,0,0: 99:[30, 5] Operation: 8-3=5
Exploring Operation: 30+8=38, Resulting Numbers: [3, 38]
Generated Node #0,0,1: 99:[3, 38] Operation: 30+8=38
Exploring Operation: 8+3=11, Resulting Numbers: [30, 11]
Generated Node #0,0,2: 99:[30, 11] Operation: 8+3=11
Exploring Operation: 30/3=10, Resulting Numbers: [8, 10]
Generated Node #0,0,3: 99:[8, 10] Operation: 30/3=10
Exploring Operation: 30+3=33, Resulting Numbers: [8, 33]
Generated Node #0,0,4: 99:[8, 33] Operation: 30+3=33
Moving to Node #0,4
Current State: 99:[30, 9, 35], Operations: ['8+27=35']
Exploring Operation: 35-30=5, Resulting Numbers: [9, 5]
Generated Node #0,4,0: 99:[9, 5] Operation: 35-30=5
Exploring Operation: 9+35=44, Resulting Numbers: [30, 44]
Generated Node #0,4,1: 99:[30, 44] Operation: 9+35=44
Exploring Operation: 30-9=21, Resulting Numbers: [35, 21]
Generated Node #0,4,2: 99:[35, 21] Operation: 30-9=21
Exploring Operation: 30+9=39, Resulting Numbers: [35, 39]
Generated Node #0,4,3: 99:[35, 39] Operation: 30+9=39
Exploring Operation: 35-9=26, Resulting Numbers: [30, 26]
Generated Node #0,4,4: 99:[30, 26] Operation: 35-9=26
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 99:[9, 5], Operations: ['8+27=35', '35-30=5']
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,99 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,99 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,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,4,3
Current State: 99:[35, 39], Operations: ['8+27=35', '30+9=39']
Exploring Operation: 35+39=74, Resulting Numbers: [74]
74,99 unequal: No Solution
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 35*39=1365, Resulting Numbers: [1365]
1365,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,4,4
Current State: 99:[30, 26], Operations: ['8+27=35', '35-9=26']
Exploring Operation: 30*26=780, Resulting Numbers: [780]
780,99 unequal: No Solution
Exploring Operation: 30+26=56, Resulting Numbers: [56]
56,99 unequal: No Solution
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,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,4,2
Current State: 99:[35, 21], Operations: ['8+27=35', '30-9=21']
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,99 unequal: No Solution
Exploring Operation: 35*21=735, Resulting Numbers: [735]
735,99 unequal: No Solution
Exploring Operation: 35+21=56, Resulting Numbers: [56]
56,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,4,1
Current State: 99:[30, 44], Operations: ['8+27=35', '9+35=44']
Exploring Operation: 30+44=74, Resulting Numbers: [74]
74,99 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,99 unequal: No Solution
Exploring Operation: 30*44=1320, Resulting Numbers: [1320]
1320,99 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: 99:[30, 8, 36], Operations: ['27+9=36']
Exploring Operation: 36-8=28, Resulting Numbers: [30, 28]
Generated Node #0,3,0: 99:[30, 28] Operation: 36-8=28
Exploring Operation: 30-8=22, Resulting Numbers: [36, 22]
Generated Node #0,3,1: 99:[36, 22] Operation: 30-8=22
Exploring Operation: 30+8=38, Resulting Numbers: [36, 38]
Generated Node #0,3,2: 99:[36, 38] Operation: 30+8=38
Exploring Operation: 36-30=6, Resulting Numbers: [8, 6]
Generated Node #0,3,3: 99:[8, 6] Operation: 36-30=6
Exploring Operation: 8+36=44, Resulting Numbers: [30, 44]
Generated Node #0,3,4: 99:[30, 44] Operation: 8+36=44
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 99:[8, 6], Operations: ['27+9=36', '36-30=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,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,3,0
Current State: 99:[30, 28], Operations: ['27+9=36', '36-8=28']
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,99 unequal: No Solution
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,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,3,2
Current State: 99:[36, 38], Operations: ['27+9=36', '30+8=38']
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 36*38=1368, Resulting Numbers: [1368]
1368,99 unequal: No Solution
Exploring Operation: 36+38=74, Resulting Numbers: [74]
74,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,3,1
Current State: 99:[36, 22], Operations: ['27+9=36', '30-8=22']
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,99 unequal: No Solution
Exploring Operation: 36*22=792, Resulting Numbers: [792]
792,99 unequal: No Solution
Exploring Operation: 36+22=58, Resulting Numbers: [58]
58,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,3,4
Current State: 99:[30, 44], Operations: ['27+9=36', '8+36=44']
Exploring Operation: 30*44=1320, Resulting Numbers: [1320]
1320,99 unequal: No Solution
Exploring Operation: 30+44=74, Resulting Numbers: [74]
74,99 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,99 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: 99:[27, 9, 38], Operations: ['30+8=38']
Exploring Operation: 38-9=29, Resulting Numbers: [27, 29]
Generated Node #0,1,0: 99:[27, 29] Operation: 38-9=29
Exploring Operation: 38-27=11, Resulting Numbers: [9, 11]
Generated Node #0,1,1: 99:[9, 11] Operation: 38-27=11
Exploring Operation: 27+9=36, Resulting Numbers: [38, 36]
Generated Node #0,1,2: 99:[38, 36] Operation: 27+9=36
Exploring Operation: 27/9=3, Resulting Numbers: [38, 3]
Generated Node #0,1,3: 99:[38, 3] Operation: 27/9=3
Exploring Operation: 27-9=18, Resulting Numbers: [38, 18]
Generated Node #0,1,4: 99:[38, 18] Operation: 27-9=18
Moving to Node #0,2,4
Current State: 99:[9, 11], Operations: ['30-27=3', '8+3=11']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[30, 8, 27, 9], Operations: []
Exploring Operation: 30-27=3, Resulting Numbers: [8, 9, 3]
Generated Node #0,2: 99:[8, 9, 3] Operation: 30-27=3
Moving to Node #0,2
Current State: 99:[8, 9, 3], Operations: ['30-27=3']
Exploring Operation: 8+3=11, Resulting Numbers: [9, 11]
Generated Node #0,2,4: 99:[9, 11] Operation: 8+3=11
Moving to Node #0,2,4
Current State: 99:[9, 11], Operations: ['30-27=3', '8+3=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 0.94184 | hs_5 | sum_heuristic |
[
75,
87,
65,
2
] | 99 | [
"75+87=162",
"65-2=63",
"162-63=99"
] | Current State: 99:[75, 87, 65, 2], Operations: []
Exploring Operation: 75+87=162, Resulting Numbers: [65, 2, 162]
Generated Node #2: [65, 2, 162] from Operation: 75+87=162
Current State: 99:[65, 2, 162], Operations: ['75+87=162']
Exploring Operation: 65-2=63, Resulting Numbers: [162, 63]
Generated Node #3: [162, 63] from Operation: 65-2=63
Current State: 99:[162, 63], Operations: ['75+87=162', '65-2=63']
Exploring Operation: 162-63=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[75, 87, 65, 2], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [87, 2, 10]
Generated Node #0,0: 99:[87, 2, 10] Operation: 75-65=10
Exploring Operation: 87-65=22, Resulting Numbers: [75, 2, 22]
Generated Node #0,1: 99:[75, 2, 22] Operation: 87-65=22
Exploring Operation: 75+65=140, Resulting Numbers: [87, 2, 140]
Generated Node #0,2: 99:[87, 2, 140] Operation: 75+65=140
Exploring Operation: 87-75=12, Resulting Numbers: [65, 2, 12]
Generated Node #0,3: 99:[65, 2, 12] Operation: 87-75=12
Moving to Node #0,0
Current State: 99:[87, 2, 10], Operations: ['75-65=10']
Exploring Operation: 87+10=97, Resulting Numbers: [2, 97]
Generated Node #0,0,0: 99:[2, 97] Operation: 87+10=97
Exploring Operation: 87+2=89, Resulting Numbers: [10, 89]
Generated Node #0,0,1: 99:[10, 89] Operation: 87+2=89
Exploring Operation: 10-2=8, Resulting Numbers: [87, 8]
Generated Node #0,0,2: 99:[87, 8] Operation: 10-2=8
Exploring Operation: 2+10=12, Resulting Numbers: [87, 12]
Generated Node #0,0,3: 99:[87, 12] Operation: 2+10=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[2, 97], Operations: ['75-65=10', '87+10=97']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,99 unequal: No Solution
Exploring Operation: 2+97=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[75, 87, 65, 2], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [87, 2, 10]
Generated Node #0,0: 99:[87, 2, 10] Operation: 75-65=10
Moving to Node #0,0
Current State: 99:[87, 2, 10], Operations: ['75-65=10']
Exploring Operation: 87+10=97, Resulting Numbers: [2, 97]
Generated Node #0,0,0: 99:[2, 97] Operation: 87+10=97
Moving to Node #0,0,0
Current State: 99:[2, 97], Operations: ['75-65=10', '87+10=97']
Exploring Operation: 2+97=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
17,
33,
37,
34
] | 47 | [
"17+33=50",
"37-34=3",
"50-3=47"
] | Current State: 47:[17, 33, 37, 34], Operations: []
Exploring Operation: 17+33=50, Resulting Numbers: [37, 34, 50]
Generated Node #2: [37, 34, 50] from Operation: 17+33=50
Current State: 47:[37, 34, 50], Operations: ['17+33=50']
Exploring Operation: 37-34=3, Resulting Numbers: [50, 3]
Generated Node #3: [50, 3] from Operation: 37-34=3
Current State: 47:[50, 3], Operations: ['17+33=50', '37-34=3']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[17, 33, 37, 34], Operations: []
Exploring Operation: 17+37=54, Resulting Numbers: [33, 34, 54]
Generated Node #0,0: 47:[33, 34, 54] Operation: 17+37=54
Exploring Operation: 17+33=50, Resulting Numbers: [37, 34, 50]
Generated Node #0,1: 47:[37, 34, 50] Operation: 17+33=50
Exploring Operation: 33-17=16, Resulting Numbers: [37, 34, 16]
Generated Node #0,2: 47:[37, 34, 16] Operation: 33-17=16
Exploring Operation: 17+34=51, Resulting Numbers: [33, 37, 51]
Generated Node #0,3: 47:[33, 37, 51] Operation: 17+34=51
Exploring Operation: 37-17=20, Resulting Numbers: [33, 34, 20]
Generated Node #0,4: 47:[33, 34, 20] Operation: 37-17=20
Moving to Node #0,1
Current State: 47:[37, 34, 50], Operations: ['17+33=50']
Exploring Operation: 37+34=71, Resulting Numbers: [50, 71]
Generated Node #0,1,0: 47:[50, 71] Operation: 37+34=71
Exploring Operation: 37-34=3, Resulting Numbers: [50, 3]
Generated Node #0,1,1: 47:[50, 3] Operation: 37-34=3
Exploring Operation: 50-34=16, Resulting Numbers: [37, 16]
Generated Node #0,1,2: 47:[37, 16] Operation: 50-34=16
Exploring Operation: 34+50=84, Resulting Numbers: [37, 84]
Generated Node #0,1,3: 47:[37, 84] Operation: 34+50=84
Exploring Operation: 50-37=13, Resulting Numbers: [34, 13]
Generated Node #0,1,4: 47:[34, 13] Operation: 50-37=13
Moving to Node #0,3
Current State: 47:[33, 37, 51], Operations: ['17+34=51']
Exploring Operation: 51-33=18, Resulting Numbers: [37, 18]
Generated Node #0,3,0: 47:[37, 18] Operation: 51-33=18
Exploring Operation: 33+51=84, Resulting Numbers: [37, 84]
Generated Node #0,3,1: 47:[37, 84] Operation: 33+51=84
Exploring Operation: 51-37=14, Resulting Numbers: [33, 14]
Generated Node #0,3,2: 47:[33, 14] Operation: 51-37=14
Exploring Operation: 33+37=70, Resulting Numbers: [51, 70]
Generated Node #0,3,3: 47:[51, 70] Operation: 33+37=70
Exploring Operation: 37-33=4, Resulting Numbers: [51, 4]
Generated Node #0,3,4: 47:[51, 4] Operation: 37-33=4
Moving to Node #0,0
Current State: 47:[33, 34, 54], Operations: ['17+37=54']
Exploring Operation: 34-33=1, Resulting Numbers: [54, 1]
Generated Node #0,0,0: 47:[54, 1] Operation: 34-33=1
Exploring Operation: 33+54=87, Resulting Numbers: [34, 87]
Generated Node #0,0,1: 47:[34, 87] Operation: 33+54=87
Exploring Operation: 33+34=67, Resulting Numbers: [54, 67]
Generated Node #0,0,2: 47:[54, 67] Operation: 33+34=67
Exploring Operation: 54-34=20, Resulting Numbers: [33, 20]
Generated Node #0,0,3: 47:[33, 20] Operation: 54-34=20
Exploring Operation: 54-33=21, Resulting Numbers: [34, 21]
Generated Node #0,0,4: 47:[34, 21] Operation: 54-33=21
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[54, 67], Operations: ['17+37=54', '33+34=67']
Exploring Operation: 54+67=121, Resulting Numbers: [121]
121,47 unequal: No Solution
Exploring Operation: 54*67=3618, Resulting Numbers: [3618]
3618,47 unequal: No Solution
Exploring Operation: 67-54=13, Resulting Numbers: [13]
13,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,0,4
Current State: 47:[34, 21], Operations: ['17+37=54', '54-33=21']
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 34*21=714, Resulting Numbers: [714]
714,47 unequal: No Solution
Exploring Operation: 34+21=55, Resulting Numbers: [55]
55,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,0,3
Current State: 47:[33, 20], Operations: ['17+37=54', '54-34=20']
Exploring Operation: 33*20=660, Resulting Numbers: [660]
660,47 unequal: No Solution
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,47 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,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,0,0
Current State: 47:[54, 1], Operations: ['17+37=54', '34-33=1']
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,47 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,47 unequal: No Solution
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,47 unequal: No Solution
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,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,0,1
Current State: 47:[34, 87], Operations: ['17+37=54', '33+54=87']
Exploring Operation: 34*87=2958, Resulting Numbers: [2958]
2958,47 unequal: No Solution
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,47 unequal: No Solution
Exploring Operation: 34+87=121, Resulting Numbers: [121]
121,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 47:[37, 34, 16], Operations: ['33-17=16']
Exploring Operation: 37-16=21, Resulting Numbers: [34, 21]
Generated Node #0,2,0: 47:[34, 21] Operation: 37-16=21
Exploring Operation: 34-16=18, Resulting Numbers: [37, 18]
Generated Node #0,2,1: 47:[37, 18] Operation: 34-16=18
Exploring Operation: 34+16=50, Resulting Numbers: [37, 50]
Generated Node #0,2,2: 47:[37, 50] Operation: 34+16=50
Exploring Operation: 37+16=53, Resulting Numbers: [34, 53]
Generated Node #0,2,3: 47:[34, 53] Operation: 37+16=53
Exploring Operation: 37+34=71, Resulting Numbers: [16, 71]
Generated Node #0,2,4: 47:[16, 71] Operation: 37+34=71
Moving to Node #0,4
Current State: 47:[33, 34, 20], Operations: ['37-17=20']
Exploring Operation: 34-20=14, Resulting Numbers: [33, 14]
Generated Node #0,4,0: 47:[33, 14] Operation: 34-20=14
Exploring Operation: 33+20=53, Resulting Numbers: [34, 53]
Generated Node #0,4,1: 47:[34, 53] Operation: 33+20=53
Exploring Operation: 33+34=67, Resulting Numbers: [20, 67]
Generated Node #0,4,2: 47:[20, 67] Operation: 33+34=67
Exploring Operation: 33-20=13, Resulting Numbers: [34, 13]
Generated Node #0,4,3: 47:[34, 13] Operation: 33-20=13
Exploring Operation: 34+20=54, Resulting Numbers: [33, 54]
Generated Node #0,4,4: 47:[33, 54] Operation: 34+20=54
Moving to Node #0,2,2
Current State: 47:[37, 50], Operations: ['33-17=16', '34+16=50']
Exploring Operation: 37+50=87, Resulting Numbers: [87]
87,47 unequal: No Solution
Exploring Operation: 37*50=1850, Resulting Numbers: [1850]
1850,47 unequal: No Solution
Exploring Operation: 50-37=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[34, 53], Operations: ['33-17=16', '37+16=53']
Exploring Operation: 53-34=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 34*53=1802, Resulting Numbers: [1802]
1802,47 unequal: No Solution
Exploring Operation: 34+53=87, Resulting Numbers: [87]
87,47 unequal: No Solution
Moving to Node #0,4,1
Current State: 47:[34, 53], Operations: ['37-17=20', '33+20=53']
Exploring Operation: 34+53=87, Resulting Numbers: [87]
87,47 unequal: No Solution
Exploring Operation: 53-34=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 34*53=1802, Resulting Numbers: [1802]
1802,47 unequal: No Solution
Moving to Node #0,4,4
Current State: 47:[33, 54], Operations: ['37-17=20', '34+20=54']
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,47 unequal: No Solution
Exploring Operation: 33+54=87, Resulting Numbers: [87]
87,47 unequal: No Solution
Exploring Operation: 33*54=1782, Resulting Numbers: [1782]
1782,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[51, 70], Operations: ['17+34=51', '33+37=70']
Exploring Operation: 51*70=3570, Resulting Numbers: [3570]
3570,47 unequal: No Solution
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 51+70=121, Resulting Numbers: [121]
121,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[50, 71], Operations: ['17+33=50', '37+34=71']
Exploring Operation: 50*71=3550, Resulting Numbers: [3550]
3550,47 unequal: No Solution
Exploring Operation: 71-50=21, Resulting Numbers: [21]
21,47 unequal: No Solution
Exploring Operation: 50+71=121, Resulting Numbers: [121]
121,47 unequal: No Solution
Moving to Node #0,3,0
Current State: 47:[37, 18], Operations: ['17+34=51', '51-33=18']
Exploring Operation: 37*18=666, Resulting Numbers: [666]
666,47 unequal: No Solution
Exploring Operation: 37+18=55, Resulting Numbers: [55]
55,47 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[37, 18], Operations: ['33-17=16', '34-16=18']
Exploring Operation: 37+18=55, Resulting Numbers: [55]
55,47 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 37*18=666, Resulting Numbers: [666]
666,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[34, 21], Operations: ['33-17=16', '37-16=21']
Exploring Operation: 34*21=714, Resulting Numbers: [714]
714,47 unequal: No Solution
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 34+21=55, Resulting Numbers: [55]
55,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[37, 16], Operations: ['17+33=50', '50-34=16']
Exploring Operation: 37*16=592, Resulting Numbers: [592]
592,47 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,47 unequal: No Solution
Exploring Operation: 37+16=53, Resulting Numbers: [53]
53,47 unequal: No Solution
Moving to Node #0,4,2
Current State: 47:[20, 67], Operations: ['37-17=20', '33+34=67']
Exploring Operation: 67-20=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[17, 33, 37, 34], Operations: []
Exploring Operation: 37-17=20, Resulting Numbers: [33, 34, 20]
Generated Node #0,4: 47:[33, 34, 20] Operation: 37-17=20
Moving to Node #0,4
Current State: 47:[33, 34, 20], Operations: ['37-17=20']
Exploring Operation: 33+34=67, Resulting Numbers: [20, 67]
Generated Node #0,4,2: 47:[20, 67] Operation: 33+34=67
Moving to Node #0,4,2
Current State: 47:[20, 67], Operations: ['37-17=20', '33+34=67']
Exploring Operation: 67-20=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 0.929688 | hs_5 | mult_heuristic |
[
99,
36,
13,
67
] | 17 | [
"99-36=63",
"13+67=80",
"80-63=17"
] | Current State: 17:[99, 36, 13, 67], Operations: []
Exploring Operation: 99-36=63, Resulting Numbers: [13, 67, 63]
Generated Node #2: [13, 67, 63] from Operation: 99-36=63
Current State: 17:[13, 67, 63], Operations: ['99-36=63']
Exploring Operation: 13+67=80, Resulting Numbers: [63, 80]
Generated Node #3: [63, 80] from Operation: 13+67=80
Current State: 17:[63, 80], Operations: ['99-36=63', '13+67=80']
Exploring Operation: 80-63=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[99, 36, 13, 67], Operations: []
Exploring Operation: 99-67=32, Resulting Numbers: [36, 13, 32]
Generated Node #0,0: 17:[36, 13, 32] Operation: 99-67=32
Exploring Operation: 99-36=63, Resulting Numbers: [13, 67, 63]
Generated Node #0,1: 17:[13, 67, 63] Operation: 99-36=63
Exploring Operation: 36-13=23, Resulting Numbers: [99, 67, 23]
Generated Node #0,2: 17:[99, 67, 23] Operation: 36-13=23
Exploring Operation: 99-13=86, Resulting Numbers: [36, 67, 86]
Generated Node #0,3: 17:[36, 67, 86] Operation: 99-13=86
Exploring Operation: 67-36=31, Resulting Numbers: [99, 13, 31]
Generated Node #0,4: 17:[99, 13, 31] Operation: 67-36=31
Moving to Node #0,0
Current State: 17:[36, 13, 32], Operations: ['99-67=32']
Exploring Operation: 36+13=49, Resulting Numbers: [32, 49]
Generated Node #0,0,0: 17:[32, 49] Operation: 36+13=49
Exploring Operation: 36-32=4, Resulting Numbers: [13, 4]
Generated Node #0,0,1: 17:[13, 4] Operation: 36-32=4
Exploring Operation: 36-13=23, Resulting Numbers: [32, 23]
Generated Node #0,0,2: 17:[32, 23] Operation: 36-13=23
Exploring Operation: 32-13=19, Resulting Numbers: [36, 19]
Generated Node #0,0,3: 17:[36, 19] Operation: 32-13=19
Exploring Operation: 13+32=45, Resulting Numbers: [36, 45]
Generated Node #0,0,4: 17:[36, 45] Operation: 13+32=45
Moving to Node #0,4
Current State: 17:[99, 13, 31], Operations: ['67-36=31']
Exploring Operation: 99-31=68, Resulting Numbers: [13, 68]
Generated Node #0,4,0: 17:[13, 68] Operation: 99-31=68
Exploring Operation: 31-13=18, Resulting Numbers: [99, 18]
Generated Node #0,4,1: 17:[99, 18] Operation: 31-13=18
Exploring Operation: 99-13=86, Resulting Numbers: [31, 86]
Generated Node #0,4,2: 17:[31, 86] Operation: 99-13=86
Exploring Operation: 13+31=44, Resulting Numbers: [99, 44]
Generated Node #0,4,3: 17:[99, 44] Operation: 13+31=44
Exploring Operation: 99+13=112, Resulting Numbers: [31, 112]
Generated Node #0,4,4: 17:[31, 112] Operation: 99+13=112
Moving to Node #0,1
Current State: 17:[13, 67, 63], Operations: ['99-36=63']
Exploring Operation: 13+63=76, Resulting Numbers: [67, 76]
Generated Node #0,1,0: 17:[67, 76] Operation: 13+63=76
Exploring Operation: 13+67=80, Resulting Numbers: [63, 80]
Generated Node #0,1,1: 17:[63, 80] Operation: 13+67=80
Exploring Operation: 67-63=4, Resulting Numbers: [13, 4]
Generated Node #0,1,2: 17:[13, 4] Operation: 67-63=4
Exploring Operation: 67-13=54, Resulting Numbers: [63, 54]
Generated Node #0,1,3: 17:[63, 54] Operation: 67-13=54
Exploring Operation: 63-13=50, Resulting Numbers: [67, 50]
Generated Node #0,1,4: 17:[67, 50] Operation: 63-13=50
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 17:[13, 4], Operations: ['99-36=63', '67-63=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[99, 36, 13, 67], Operations: []
Exploring Operation: 99-36=63, Resulting Numbers: [13, 67, 63]
Generated Node #0,1: 17:[13, 67, 63] Operation: 99-36=63
Moving to Node #0,1
Current State: 17:[13, 67, 63], Operations: ['99-36=63']
Exploring Operation: 67-63=4, Resulting Numbers: [13, 4]
Generated Node #0,1,2: 17:[13, 4] Operation: 67-63=4
Moving to Node #0,1,2
Current State: 17:[13, 4], Operations: ['99-36=63', '67-63=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | sum_heuristic |
[
32,
11,
25,
17
] | 85 | [
"32+11=43",
"25+17=42",
"43+42=85"
] | Current State: 85:[32, 11, 25, 17], Operations: []
Exploring Operation: 32+11=43, Resulting Numbers: [25, 17, 43]
Generated Node #2: [25, 17, 43] from Operation: 32+11=43
Current State: 85:[25, 17, 43], Operations: ['32+11=43']
Exploring Operation: 25+17=42, Resulting Numbers: [43, 42]
Generated Node #3: [43, 42] from Operation: 25+17=42
Current State: 85:[43, 42], Operations: ['32+11=43', '25+17=42']
Exploring Operation: 43+42=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[32, 11, 25, 17], Operations: []
Exploring Operation: 32-25=7, Resulting Numbers: [11, 17, 7]
Generated Node #0,0: 85:[11, 17, 7] Operation: 32-25=7
Exploring Operation: 32-11=21, Resulting Numbers: [25, 17, 21]
Generated Node #0,1: 85:[25, 17, 21] Operation: 32-11=21
Moving to Node #0,0
Current State: 85:[11, 17, 7], Operations: ['32-25=7']
Exploring Operation: 11-7=4, Resulting Numbers: [17, 4]
Generated Node #0,0,0: 85:[17, 4] Operation: 11-7=4
Exploring Operation: 11+7=18, Resulting Numbers: [17, 18]
Generated Node #0,0,1: 85:[17, 18] Operation: 11+7=18
Moving to Node #0,1
Current State: 85:[25, 17, 21], Operations: ['32-11=21']
Exploring Operation: 25-17=8, Resulting Numbers: [21, 8]
Generated Node #0,1,0: 85:[21, 8] Operation: 25-17=8
Exploring Operation: 25-21=4, Resulting Numbers: [17, 4]
Generated Node #0,1,1: 85:[17, 4] Operation: 25-21=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[17, 4], Operations: ['32-11=21', '25-21=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[21, 8], Operations: ['32-11=21', '25-17=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,85 unequal: No Solution
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 85:[17, 4], Operations: ['32-25=7', '11-7=4']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,85 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[17, 18], Operations: ['32-25=7', '11+7=18']
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,85 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.