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 |
|---|---|---|---|---|---|---|---|---|
[
22,
41,
15,
46
] | 53 | [
"46-41=5",
"15*5=75",
"75-22=53"
] | Current State: 53:[22, 41, 15, 46], Operations: []
Exploring Operation: 46-41=5, Resulting Numbers: [22, 15, 5]
Generated Node #2: [22, 15, 5] from Operation: 46-41=5
Current State: 53:[22, 15, 5], Operations: ['46-41=5']
Exploring Operation: 15*5=75, Resulting Numbers: [22, 75]
Generated Node #3: [22, 75] from Operation: 15*5=75
Current State: 53:[22, 75], Operations: ['46-41=5', '15*5=75']
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[22, 41, 15, 46], Operations: []
Exploring Operation: 15+46=61, Resulting Numbers: [22, 41, 61]
Generated Node #0,0: 53:[22, 41, 61] Operation: 15+46=61
Exploring Operation: 22+15=37, Resulting Numbers: [41, 46, 37]
Generated Node #0,1: 53:[41, 46, 37] Operation: 22+15=37
Exploring Operation: 41+15=56, Resulting Numbers: [22, 46, 56]
Generated Node #0,2: 53:[22, 46, 56] Operation: 41+15=56
Moving to Node #0,1
Current State: 53:[41, 46, 37], Operations: ['22+15=37']
Exploring Operation: 41+46=87, Resulting Numbers: [37, 87]
Generated Node #0,1,0: 53:[37, 87] Operation: 41+46=87
Exploring Operation: 41+37=78, Resulting Numbers: [46, 78]
Generated Node #0,1,1: 53:[46, 78] Operation: 41+37=78
Exploring Operation: 46+37=83, Resulting Numbers: [41, 83]
Generated Node #0,1,2: 53:[41, 83] Operation: 46+37=83
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[46, 78], Operations: ['22+15=37', '41+37=78']
Exploring Operation: 46*78=3588, Resulting Numbers: [3588]
3588,53 unequal: No Solution
Exploring Operation: 78-46=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 46+78=124, Resulting Numbers: [124]
124,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,2
Current State: 53:[41, 83], Operations: ['22+15=37', '46+37=83']
Exploring Operation: 83-41=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 41+83=124, Resulting Numbers: [124]
124,53 unequal: No Solution
Exploring Operation: 41*83=3403, Resulting Numbers: [3403]
3403,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,0
Current State: 53:[37, 87], Operations: ['22+15=37', '41+46=87']
Exploring Operation: 37*87=3219, Resulting Numbers: [3219]
3219,53 unequal: No Solution
Exploring Operation: 37+87=124, Resulting Numbers: [124]
124,53 unequal: No Solution
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 53:[22, 46, 56], Operations: ['41+15=56']
Exploring Operation: 22+46=68, Resulting Numbers: [56, 68]
Generated Node #0,2,0: 53:[56, 68] Operation: 22+46=68
Exploring Operation: 46-22=24, Resulting Numbers: [56, 24]
Generated Node #0,2,1: 53:[56, 24] Operation: 46-22=24
Exploring Operation: 56-22=34, Resulting Numbers: [46, 34]
Generated Node #0,2,2: 53:[46, 34] Operation: 56-22=34
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[56, 68], Operations: ['41+15=56', '22+46=68']
Exploring Operation: 68-56=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 56*68=3808, Resulting Numbers: [3808]
3808,53 unequal: No Solution
Exploring Operation: 56+68=124, Resulting Numbers: [124]
124,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[46, 34], Operations: ['41+15=56', '56-22=34']
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 46*34=1564, Resulting Numbers: [1564]
1564,53 unequal: No Solution
Exploring Operation: 46+34=80, Resulting Numbers: [80]
80,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[56, 24], Operations: ['41+15=56', '46-22=24']
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,53 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 53:[22, 41, 61], Operations: ['15+46=61']
Exploring Operation: 41-22=19, Resulting Numbers: [61, 19]
Generated Node #0,0,0: 53:[61, 19] Operation: 41-22=19
Exploring Operation: 22+41=63, Resulting Numbers: [61, 63]
Generated Node #0,0,1: 53:[61, 63] Operation: 22+41=63
Exploring Operation: 61-22=39, Resulting Numbers: [41, 39]
Generated Node #0,0,2: 53:[41, 39] Operation: 61-22=39
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[61, 63], Operations: ['15+46=61', '22+41=63']
Exploring Operation: 61+63=124, Resulting Numbers: [124]
124,53 unequal: No Solution
Exploring Operation: 61*63=3843, Resulting Numbers: [3843]
3843,53 unequal: No Solution
Exploring Operation: 63-61=2, Resulting Numbers: [2]
2,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 53:[41, 39], Operations: ['15+46=61', '61-22=39']
Exploring Operation: 41+39=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 41*39=1599, Resulting Numbers: [1599]
1599,53 unequal: No Solution
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[61, 19], Operations: ['15+46=61', '41-22=19']
Exploring Operation: 61*19=1159, Resulting Numbers: [1159]
1159,53 unequal: No Solution
Exploring Operation: 61+19=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,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 |
[
13,
16,
66,
3
] | 92 | [
"13+16=29",
"66-3=63",
"29+63=92"
] | Current State: 92:[13, 16, 66, 3], Operations: []
Exploring Operation: 13+16=29, Resulting Numbers: [66, 3, 29]
Generated Node #2: [66, 3, 29] from Operation: 13+16=29
Current State: 92:[66, 3, 29], Operations: ['13+16=29']
Exploring Operation: 66-3=63, Resulting Numbers: [29, 63]
Generated Node #3: [29, 63] from Operation: 66-3=63
Current State: 92:[29, 63], Operations: ['13+16=29', '66-3=63']
Exploring Operation: 29+63=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[13, 16, 66, 3], Operations: []
Exploring Operation: 16+66=82, Resulting Numbers: [13, 3, 82]
Generated Node #0,0: 92:[13, 3, 82] Operation: 16+66=82
Exploring Operation: 66/3=22, Resulting Numbers: [13, 16, 22]
Generated Node #0,1: 92:[13, 16, 22] Operation: 66/3=22
Exploring Operation: 66-13=53, Resulting Numbers: [16, 3, 53]
Generated Node #0,2: 92:[16, 3, 53] Operation: 66-13=53
Exploring Operation: 66-16=50, Resulting Numbers: [13, 3, 50]
Generated Node #0,3: 92:[13, 3, 50] Operation: 66-16=50
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[13, 3, 50], Operations: ['66-16=50']
Exploring Operation: 13+3=16, Resulting Numbers: [50, 16]
Generated Node #0,3,0: 92:[50, 16] Operation: 13+3=16
Exploring Operation: 13-3=10, Resulting Numbers: [50, 10]
Generated Node #0,3,1: 92:[50, 10] Operation: 13-3=10
Exploring Operation: 50-3=47, Resulting Numbers: [13, 47]
Generated Node #0,3,2: 92:[13, 47] Operation: 50-3=47
Exploring Operation: 50-13=37, Resulting Numbers: [3, 37]
Generated Node #0,3,3: 92:[3, 37] Operation: 50-13=37
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 92:[50, 10], Operations: ['66-16=50', '13-3=10']
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Exploring Operation: 50+10=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,92 unequal: No Solution
Exploring Operation: 50*10=500, Resulting Numbers: [500]
500,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 92:[13, 47], Operations: ['66-16=50', '50-3=47']
Exploring Operation: 13*47=611, Resulting Numbers: [611]
611,92 unequal: No Solution
Exploring Operation: 13+47=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 92:[3, 37], Operations: ['66-16=50', '50-13=37']
Exploring Operation: 3*37=111, Resulting Numbers: [111]
111,92 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 92:[50, 16], Operations: ['66-16=50', '13+3=16']
Exploring Operation: 50+16=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Exploring Operation: 50*16=800, Resulting Numbers: [800]
800,92 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[16, 3, 53], Operations: ['66-13=53']
Exploring Operation: 53-16=37, Resulting Numbers: [3, 37]
Generated Node #0,2,0: 92:[3, 37] Operation: 53-16=37
Exploring Operation: 16*3=48, Resulting Numbers: [53, 48]
Generated Node #0,2,1: 92:[53, 48] Operation: 16*3=48
Exploring Operation: 53-3=50, Resulting Numbers: [16, 50]
Generated Node #0,2,2: 92:[16, 50] Operation: 53-3=50
Exploring Operation: 16+3=19, Resulting Numbers: [53, 19]
Generated Node #0,2,3: 92:[53, 19] Operation: 16+3=19
Moving to Node #0,2,1
Current State: 92:[53, 48], Operations: ['66-13=53', '16*3=48']
Exploring Operation: 53+48=101, Resulting Numbers: [101]
101,92 unequal: No Solution
Exploring Operation: 53-48=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Exploring Operation: 53*48=2544, Resulting Numbers: [2544]
2544,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[3, 37], Operations: ['66-13=53', '53-16=37']
Exploring Operation: 3*37=111, Resulting Numbers: [111]
111,92 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,92 unequal: No Solution
Moving to Node #0,2,3
Current State: 92:[53, 19], Operations: ['66-13=53', '16+3=19']
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 53+19=72, Resulting Numbers: [72]
72,92 unequal: No Solution
Exploring Operation: 53*19=1007, Resulting Numbers: [1007]
1007,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[16, 50], Operations: ['66-13=53', '53-3=50']
Exploring Operation: 16+50=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Exploring Operation: 16*50=800, Resulting Numbers: [800]
800,92 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,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
Current State: 92:[13, 16, 22], Operations: ['66/3=22']
Exploring Operation: 22-13=9, Resulting Numbers: [16, 9]
Generated Node #0,1,0: 92:[16, 9] Operation: 22-13=9
Exploring Operation: 22-16=6, Resulting Numbers: [13, 6]
Generated Node #0,1,1: 92:[13, 6] Operation: 22-16=6
Exploring Operation: 16-13=3, Resulting Numbers: [22, 3]
Generated Node #0,1,2: 92:[22, 3] Operation: 16-13=3
Exploring Operation: 13+16=29, Resulting Numbers: [22, 29]
Generated Node #0,1,3: 92:[22, 29] Operation: 13+16=29
Moving to Node #0,1,2
Current State: 92:[22, 3], Operations: ['66/3=22', '16-13=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[22, 29], Operations: ['66/3=22', '13+16=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
Exploring Operation: 22*29=638, Resulting Numbers: [638]
638,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[13, 6], Operations: ['66/3=22', '22-16=6']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,92 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[16, 9], Operations: ['66/3=22', '22-13=9']
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,92 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,92 unequal: No Solution
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,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,0
Current State: 92:[13, 3, 82], Operations: ['16+66=82']
Exploring Operation: 13+3=16, Resulting Numbers: [82, 16]
Generated Node #0,0,0: 92:[82, 16] Operation: 13+3=16
Exploring Operation: 3+82=85, Resulting Numbers: [13, 85]
Generated Node #0,0,1: 92:[13, 85] Operation: 3+82=85
Exploring Operation: 13+82=95, Resulting Numbers: [3, 95]
Generated Node #0,0,2: 92:[3, 95] Operation: 13+82=95
Exploring Operation: 13-3=10, Resulting Numbers: [82, 10]
Generated Node #0,0,3: 92:[82, 10] Operation: 13-3=10
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 92:[3, 95], Operations: ['16+66=82', '13+82=95']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[13, 16, 66, 3], Operations: []
Exploring Operation: 16+66=82, Resulting Numbers: [13, 3, 82]
Generated Node #0,0: 92:[13, 3, 82] Operation: 16+66=82
Moving to Node #0,0
Current State: 92:[13, 3, 82], Operations: ['16+66=82']
Exploring Operation: 13+82=95, Resulting Numbers: [3, 95]
Generated Node #0,0,2: 92:[3, 95] Operation: 13+82=95
Moving to Node #0,0,2
Current State: 92:[3, 95], Operations: ['16+66=82', '13+82=95']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.946181 | hs_4 | mult_heuristic |
[
40,
5,
5,
61
] | 69 | [
"5*61=305",
"40+305=345",
"345/5=69"
] | Current State: 69:[40, 5, 5, 61], Operations: []
Exploring Operation: 5*61=305, Resulting Numbers: [40, 305]
Generated Node #2: [40, 305] from Operation: 5*61=305
Current State: 69:[40, 305], Operations: ['5*61=305']
Exploring Operation: 40+305=345, Resulting Numbers: [345]
345,69 equal: Goal Reached
Exploring Operation: 345/5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[40, 5, 5, 61], Operations: []
Exploring Operation: 40/5=8, Resulting Numbers: [5, 61, 8]
Generated Node #0,0: 69:[5, 61, 8] Operation: 40/5=8
Exploring Operation: 61-40=21, Resulting Numbers: [5, 5, 21]
Generated Node #0,1: 69:[5, 5, 21] Operation: 61-40=21
Exploring Operation: 40/5=8, Resulting Numbers: [5, 61, 8]
Generated Node #0,2: 69:[5, 61, 8] Operation: 40/5=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[5, 5, 21], Operations: ['61-40=21']
Exploring Operation: 5*5=25, Resulting Numbers: [21, 25]
Generated Node #0,1,0: 69:[21, 25] Operation: 5*5=25
Exploring Operation: 5/5=1, Resulting Numbers: [21, 1]
Generated Node #0,1,1: 69:[21, 1] Operation: 5/5=1
Exploring Operation: 5-5=0, Resulting Numbers: [21, 0]
Generated Node #0,1,2: 69:[21, 0] Operation: 5-5=0
Moving to Node #0,1,0
Current State: 69:[21, 25], Operations: ['61-40=21', '5*5=25']
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,69 unequal: No Solution
Exploring Operation: 21*25=525, Resulting Numbers: [525]
525,69 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[21, 1], Operations: ['61-40=21', '5/5=1']
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[21, 0], Operations: ['61-40=21', '5-5=0']
Exploring Operation: 21*0=0, Resulting Numbers: [0]
0,69 unequal: No Solution
Exploring Operation: 21-0=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 21+0=21, Resulting Numbers: [21]
21,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[5, 61, 8], Operations: ['40/5=8']
Exploring Operation: 8-5=3, Resulting Numbers: [61, 3]
Generated Node #0,0,0: 69:[61, 3] Operation: 8-5=3
Exploring Operation: 61+8=69, Resulting Numbers: [5, 69]
Generated Node #0,0,1: 69:[5, 69] Operation: 61+8=69
Exploring Operation: 5+61=66, Resulting Numbers: [8, 66]
Generated Node #0,0,2: 69:[8, 66] Operation: 5+61=66
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 69:[5, 69], Operations: ['40/5=8', '61+8=69']
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,69 unequal: No Solution
Exploring Operation: 5*69=345, Resulting Numbers: [345]
345,69 unequal: No Solution
Exploring Operation: 5+69=74, Resulting Numbers: [74]
74,69 unequal: No Solution
No 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: 69:[61, 3], Operations: ['40/5=8', '8-5=3']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 61*3=183, Resulting Numbers: [183]
183,69 unequal: No Solution
Exploring Operation: 61+3=64, Resulting Numbers: [64]
64,69 unequal: No Solution
No 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: 69:[8, 66], Operations: ['40/5=8', '5+61=66']
Exploring Operation: 8*66=528, Resulting Numbers: [528]
528,69 unequal: No Solution
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 8+66=74, Resulting Numbers: [74]
74,69 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: 69:[5, 61, 8], Operations: ['40/5=8']
Exploring Operation: 8-5=3, Resulting Numbers: [61, 3]
Generated Node #0,2,0: 69:[61, 3] Operation: 8-5=3
Exploring Operation: 5+61=66, Resulting Numbers: [8, 66]
Generated Node #0,2,1: 69:[8, 66] Operation: 5+61=66
Exploring Operation: 61+8=69, Resulting Numbers: [5, 69]
Generated Node #0,2,2: 69:[5, 69] Operation: 61+8=69
Moving to Node #0,2,2
Current State: 69:[5, 69], Operations: ['40/5=8', '61+8=69']
Exploring Operation: 5+69=74, Resulting Numbers: [74]
74,69 unequal: No Solution
Exploring Operation: 5*69=345, Resulting Numbers: [345]
345,69 unequal: No Solution
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[61, 3], Operations: ['40/5=8', '8-5=3']
Exploring Operation: 61+3=64, Resulting Numbers: [64]
64,69 unequal: No Solution
Exploring Operation: 61*3=183, Resulting Numbers: [183]
183,69 unequal: No Solution
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[8, 66], Operations: ['40/5=8', '5+61=66']
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 8+66=74, Resulting Numbers: [74]
74,69 unequal: No Solution
Exploring Operation: 8*66=528, Resulting Numbers: [528]
528,69 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 |
[
40,
73,
34,
1
] | 68 | [
"73-40=33",
"34+1=35",
"33+35=68"
] | Current State: 68:[40, 73, 34, 1], Operations: []
Exploring Operation: 73-40=33, Resulting Numbers: [34, 1, 33]
Generated Node #2: [34, 1, 33] from Operation: 73-40=33
Current State: 68:[34, 1, 33], Operations: ['73-40=33']
Exploring Operation: 34+1=35, Resulting Numbers: [33, 35]
Generated Node #3: [33, 35] from Operation: 34+1=35
Current State: 68:[33, 35], Operations: ['73-40=33', '34+1=35']
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[40, 73, 34, 1], Operations: []
Exploring Operation: 73-40=33, Resulting Numbers: [34, 1, 33]
Generated Node #0,0: 68:[34, 1, 33] Operation: 73-40=33
Exploring Operation: 40-34=6, Resulting Numbers: [73, 1, 6]
Generated Node #0,1: 68:[73, 1, 6] Operation: 40-34=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[34, 1, 33], Operations: ['73-40=33']
Exploring Operation: 1+33=34, Resulting Numbers: [34, 34]
Generated Node #0,0,0: 68:[34, 34] Operation: 1+33=34
Exploring Operation: 34*1=34, Resulting Numbers: [33, 34]
Generated Node #0,0,1: 68:[33, 34] Operation: 34*1=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[34, 34], Operations: ['73-40=33', '1+33=34']
Exploring Operation: 34/34=1, Resulting Numbers: [1]
1,68 unequal: No Solution
Exploring Operation: 34+34=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[40, 73, 34, 1], Operations: []
Exploring Operation: 73-40=33, Resulting Numbers: [34, 1, 33]
Generated Node #0,0: 68:[34, 1, 33] Operation: 73-40=33
Moving to Node #0,0
Current State: 68:[34, 1, 33], Operations: ['73-40=33']
Exploring Operation: 1+33=34, Resulting Numbers: [34, 34]
Generated Node #0,0,0: 68:[34, 34] Operation: 1+33=34
Moving to Node #0,0,0
Current State: 68:[34, 34], Operations: ['73-40=33', '1+33=34']
Exploring Operation: 34+34=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
40,
4,
39,
49
] | 72 | [
"40*4=160",
"39+49=88",
"160-88=72"
] | Current State: 72:[40, 4, 39, 49], Operations: []
Exploring Operation: 40*4=160, Resulting Numbers: [39, 49, 160]
Generated Node #2: [39, 49, 160] from Operation: 40*4=160
Current State: 72:[39, 49, 160], Operations: ['40*4=160']
Exploring Operation: 39+49=88, Resulting Numbers: [160, 88]
Generated Node #3: [160, 88] from Operation: 39+49=88
Current State: 72:[160, 88], Operations: ['40*4=160', '39+49=88']
Exploring Operation: 160-88=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[40, 4, 39, 49], Operations: []
Exploring Operation: 40-4=36, Resulting Numbers: [39, 49, 36]
Generated Node #0,0: 72:[39, 49, 36] Operation: 40-4=36
Exploring Operation: 40-39=1, Resulting Numbers: [4, 49, 1]
Generated Node #0,1: 72:[4, 49, 1] Operation: 40-39=1
Exploring Operation: 49-40=9, Resulting Numbers: [4, 39, 9]
Generated Node #0,2: 72:[4, 39, 9] Operation: 49-40=9
Exploring Operation: 49-4=45, Resulting Numbers: [40, 39, 45]
Generated Node #0,3: 72:[40, 39, 45] Operation: 49-4=45
Exploring Operation: 49-39=10, Resulting Numbers: [40, 4, 10]
Generated Node #0,4: 72:[40, 4, 10] Operation: 49-39=10
Moving to Node #0,2
Current State: 72:[4, 39, 9], Operations: ['49-40=9']
Exploring Operation: 39-9=30, Resulting Numbers: [4, 30]
Generated Node #0,2,0: 72:[4, 30] Operation: 39-9=30
Exploring Operation: 39-4=35, Resulting Numbers: [9, 35]
Generated Node #0,2,1: 72:[9, 35] Operation: 39-4=35
Exploring Operation: 4+9=13, Resulting Numbers: [39, 13]
Generated Node #0,2,2: 72:[39, 13] Operation: 4+9=13
Exploring Operation: 9-4=5, Resulting Numbers: [39, 5]
Generated Node #0,2,3: 72:[39, 5] Operation: 9-4=5
Exploring Operation: 4*9=36, Resulting Numbers: [39, 36]
Generated Node #0,2,4: 72:[39, 36] Operation: 4*9=36
Moving to Node #0,4
Current State: 72:[40, 4, 10], Operations: ['49-39=10']
Exploring Operation: 40/4=10, Resulting Numbers: [10, 10]
Generated Node #0,4,0: 72:[10, 10] Operation: 40/4=10
Exploring Operation: 40-10=30, Resulting Numbers: [4, 30]
Generated Node #0,4,1: 72:[4, 30] Operation: 40-10=30
Exploring Operation: 40-4=36, Resulting Numbers: [10, 36]
Generated Node #0,4,2: 72:[10, 36] Operation: 40-4=36
Exploring Operation: 40/10=4, Resulting Numbers: [4, 4]
Generated Node #0,4,3: 72:[4, 4] Operation: 40/10=4
Exploring Operation: 10-4=6, Resulting Numbers: [40, 6]
Generated Node #0,4,4: 72:[40, 6] Operation: 10-4=6
Moving to Node #0,1
Current State: 72:[4, 49, 1], Operations: ['40-39=1']
Exploring Operation: 49-1=48, Resulting Numbers: [4, 48]
Generated Node #0,1,0: 72:[4, 48] Operation: 49-1=48
Exploring Operation: 49-4=45, Resulting Numbers: [1, 45]
Generated Node #0,1,1: 72:[1, 45] Operation: 49-4=45
Exploring Operation: 4-1=3, Resulting Numbers: [49, 3]
Generated Node #0,1,2: 72:[49, 3] Operation: 4-1=3
Exploring Operation: 4/1=4, Resulting Numbers: [49, 4]
Generated Node #0,1,3: 72:[49, 4] Operation: 4/1=4
Exploring Operation: 4*1=4, Resulting Numbers: [49, 4]
Generated Node #0,1,4: 72:[49, 4] Operation: 4*1=4
Moving to Node #0,0
Current State: 72:[39, 49, 36], Operations: ['40-4=36']
Exploring Operation: 49-36=13, Resulting Numbers: [39, 13]
Generated Node #0,0,0: 72:[39, 13] Operation: 49-36=13
Exploring Operation: 39+49=88, Resulting Numbers: [36, 88]
Generated Node #0,0,1: 72:[36, 88] Operation: 39+49=88
Exploring Operation: 39-36=3, Resulting Numbers: [49, 3]
Generated Node #0,0,2: 72:[49, 3] Operation: 39-36=3
Exploring Operation: 49-39=10, Resulting Numbers: [36, 10]
Generated Node #0,0,3: 72:[36, 10] Operation: 49-39=10
Exploring Operation: 39+36=75, Resulting Numbers: [49, 75]
Generated Node #0,0,4: 72:[49, 75] Operation: 39+36=75
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 72:[36, 10], Operations: ['40-4=36', '49-39=10']
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 36*10=360, Resulting Numbers: [360]
360,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[39, 13], Operations: ['40-4=36', '49-36=13']
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 39*13=507, Resulting Numbers: [507]
507,72 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 72:[49, 3], Operations: ['40-4=36', '39-36=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[36, 88], Operations: ['40-4=36', '39+49=88']
Exploring Operation: 36*88=3168, Resulting Numbers: [3168]
3168,72 unequal: No Solution
Exploring Operation: 36+88=124, Resulting Numbers: [124]
124,72 unequal: No Solution
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 72:[49, 75], Operations: ['40-4=36', '39+36=75']
Exploring Operation: 49+75=124, Resulting Numbers: [124]
124,72 unequal: No Solution
Exploring Operation: 75-49=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 49*75=3675, Resulting Numbers: [3675]
3675,72 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: 72:[40, 39, 45], Operations: ['49-4=45']
Exploring Operation: 40-39=1, Resulting Numbers: [45, 1]
Generated Node #0,3,0: 72:[45, 1] Operation: 40-39=1
Exploring Operation: 45-40=5, Resulting Numbers: [39, 5]
Generated Node #0,3,1: 72:[39, 5] Operation: 45-40=5
Exploring Operation: 45-39=6, Resulting Numbers: [40, 6]
Generated Node #0,3,2: 72:[40, 6] Operation: 45-39=6
Exploring Operation: 40+39=79, Resulting Numbers: [45, 79]
Generated Node #0,3,3: 72:[45, 79] Operation: 40+39=79
Exploring Operation: 40+45=85, Resulting Numbers: [39, 85]
Generated Node #0,3,4: 72:[39, 85] Operation: 40+45=85
Moving to Node #0,4,3
Current State: 72:[4, 4], Operations: ['49-39=10', '40/10=4']
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[9, 35], Operations: ['49-40=9', '39-4=35']
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,72 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Moving to Node #0,4,2
Current State: 72:[10, 36], Operations: ['49-39=10', '40-4=36']
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,72 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Moving to Node #0,4,0
Current State: 72:[10, 10], Operations: ['49-39=10', '40/4=10']
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,72 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,72 unequal: No Solution
Moving to Node #0,2,4
Current State: 72:[39, 36], Operations: ['49-40=9', '4*9=36']
Exploring Operation: 39+36=75, Resulting Numbers: [75]
75,72 unequal: No Solution
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 39*36=1404, Resulting Numbers: [1404]
1404,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[39, 13], Operations: ['49-40=9', '4+9=13']
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 39*13=507, Resulting Numbers: [507]
507,72 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Moving to Node #0,3,2
Current State: 72:[40, 6], Operations: ['49-4=45', '45-39=6']
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,72 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,72 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Moving to Node #0,4,4
Current State: 72:[40, 6], Operations: ['49-39=10', '10-4=6']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,72 unequal: No Solution
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,72 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Moving to Node #0,2,3
Current State: 72:[39, 5], Operations: ['49-40=9', '9-4=5']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,72 unequal: No Solution
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,72 unequal: No Solution
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Moving to Node #0,3,1
Current State: 72:[39, 5], Operations: ['49-4=45', '45-40=5']
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,72 unequal: No Solution
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[4, 30], Operations: ['49-40=9', '39-9=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,72 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,72 unequal: No Solution
Moving to Node #0,4,1
Current State: 72:[4, 30], Operations: ['49-39=10', '40-10=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,72 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[1, 45], Operations: ['40-39=1', '49-4=45']
Exploring Operation: 1*45=45, Resulting Numbers: [45]
45,72 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,72 unequal: No Solution
Exploring Operation: 1+45=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Moving to Node #0,3,0
Current State: 72:[45, 1], Operations: ['49-4=45', '40-39=1']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,72 unequal: No Solution
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[4, 48], Operations: ['40-39=1', '49-1=48']
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 4*48=192, Resulting Numbers: [192]
192,72 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[49, 3], Operations: ['40-39=1', '4-1=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,72 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Moving to Node #0,1,4
Current State: 72:[49, 4], Operations: ['40-39=1', '4*1=4']
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,72 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,72 unequal: No Solution
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,72 unequal: No Solution
Moving to Node #0,1,3
Current State: 72:[49, 4], Operations: ['40-39=1', '4/1=4']
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,72 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,72 unequal: No Solution
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,72 unequal: No Solution
Moving to Node #0,3,4
Current State: 72:[39, 85], Operations: ['49-4=45', '40+45=85']
Exploring Operation: 85-39=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 39*85=3315, Resulting Numbers: [3315]
3315,72 unequal: No Solution
Exploring Operation: 39+85=124, Resulting Numbers: [124]
124,72 unequal: No Solution
Moving to Node #0,3,3
Current State: 72:[45, 79], Operations: ['49-4=45', '40+39=79']
Exploring Operation: 45*79=3555, Resulting Numbers: [3555]
3555,72 unequal: No Solution
Exploring Operation: 79-45=34, Resulting Numbers: [34]
34,72 unequal: No Solution
Exploring Operation: 45+79=124, Resulting Numbers: [124]
124,72 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
67,
71,
64,
54
] | 40 | [
"71-67=4",
"64-54=10",
"4*10=40"
] | Current State: 40:[67, 71, 64, 54], Operations: []
Exploring Operation: 71-67=4, Resulting Numbers: [64, 54, 4]
Generated Node #2: [64, 54, 4] from Operation: 71-67=4
Current State: 40:[64, 54, 4], Operations: ['71-67=4']
Exploring Operation: 64-54=10, Resulting Numbers: [4, 10]
Generated Node #3: [4, 10] from Operation: 64-54=10
Current State: 40:[4, 10], Operations: ['71-67=4', '64-54=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[67, 71, 64, 54], Operations: []
Exploring Operation: 71-67=4, Resulting Numbers: [64, 54, 4]
Generated Node #0,0: 40:[64, 54, 4] Operation: 71-67=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[64, 54, 4], Operations: ['71-67=4']
Exploring Operation: 64-54=10, Resulting Numbers: [4, 10]
Generated Node #0,0,0: 40:[4, 10] Operation: 64-54=10
Moving to Node #0,0,0
Current State: 40:[4, 10], Operations: ['71-67=4', '64-54=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[67, 71, 64, 54], Operations: []
Exploring Operation: 71-67=4, Resulting Numbers: [64, 54, 4]
Generated Node #0,0: 40:[64, 54, 4] Operation: 71-67=4
Moving to Node #0,0
Current State: 40:[64, 54, 4], Operations: ['71-67=4']
Exploring Operation: 64-54=10, Resulting Numbers: [4, 10]
Generated Node #0,0,0: 40:[4, 10] Operation: 64-54=10
Moving to Node #0,0,0
Current State: 40:[4, 10], Operations: ['71-67=4', '64-54=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
55,
40,
2,
7
] | 37 | [
"55-40=15",
"2*15=30",
"7+30=37"
] | Current State: 37:[55, 40, 2, 7], Operations: []
Exploring Operation: 55-40=15, Resulting Numbers: [2, 7, 15]
Generated Node #2: [2, 7, 15] from Operation: 55-40=15
Current State: 37:[2, 7, 15], Operations: ['55-40=15']
Exploring Operation: 2*15=30, Resulting Numbers: [7, 30]
Generated Node #3: [7, 30] from Operation: 2*15=30
Current State: 37:[7, 30], Operations: ['55-40=15', '2*15=30']
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[55, 40, 2, 7], Operations: []
Exploring Operation: 2*7=14, Resulting Numbers: [55, 40, 14]
Generated Node #0,0: 37:[55, 40, 14] Operation: 2*7=14
Exploring Operation: 55-2=53, Resulting Numbers: [40, 7, 53]
Generated Node #0,1: 37:[40, 7, 53] Operation: 55-2=53
Exploring Operation: 2+7=9, Resulting Numbers: [55, 40, 9]
Generated Node #0,2: 37:[55, 40, 9] Operation: 2+7=9
Exploring Operation: 40-2=38, Resulting Numbers: [55, 7, 38]
Generated Node #0,3: 37:[55, 7, 38] Operation: 40-2=38
Exploring Operation: 55-7=48, Resulting Numbers: [40, 2, 48]
Generated Node #0,4: 37:[40, 2, 48] Operation: 55-7=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[55, 40, 14], Operations: ['2*7=14']
Exploring Operation: 55-40=15, Resulting Numbers: [14, 15]
Generated Node #0,0,0: 37:[14, 15] Operation: 55-40=15
Exploring Operation: 40+14=54, Resulting Numbers: [55, 54]
Generated Node #0,0,1: 37:[55, 54] Operation: 40+14=54
Exploring Operation: 40-14=26, Resulting Numbers: [55, 26]
Generated Node #0,0,2: 37:[55, 26] Operation: 40-14=26
Exploring Operation: 55-14=41, Resulting Numbers: [40, 41]
Generated Node #0,0,3: 37:[40, 41] Operation: 55-14=41
Exploring Operation: 55+14=69, Resulting Numbers: [40, 69]
Generated Node #0,0,4: 37:[40, 69] Operation: 55+14=69
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 37:[40, 41], Operations: ['2*7=14', '55-14=41']
Exploring Operation: 40*41=1640, Resulting Numbers: [1640]
1640,37 unequal: No Solution
Exploring Operation: 40+41=81, Resulting Numbers: [81]
81,37 unequal: No Solution
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 37:[55, 26], Operations: ['2*7=14', '40-14=26']
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,37 unequal: No Solution
Exploring Operation: 55*26=1430, Resulting Numbers: [1430]
1430,37 unequal: No Solution
Exploring Operation: 55+26=81, Resulting Numbers: [81]
81,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[55, 54], Operations: ['2*7=14', '40+14=54']
Exploring Operation: 55*54=2970, Resulting Numbers: [2970]
2970,37 unequal: No Solution
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 55+54=109, Resulting Numbers: [109]
109,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 37:[40, 69], Operations: ['2*7=14', '55+14=69']
Exploring Operation: 40*69=2760, Resulting Numbers: [2760]
2760,37 unequal: No Solution
Exploring Operation: 69-40=29, Resulting Numbers: [29]
29,37 unequal: No Solution
Exploring Operation: 40+69=109, Resulting Numbers: [109]
109,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[14, 15], Operations: ['2*7=14', '55-40=15']
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,37 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[40, 7, 53], Operations: ['55-2=53']
Exploring Operation: 40-7=33, Resulting Numbers: [53, 33]
Generated Node #0,1,0: 37:[53, 33] Operation: 40-7=33
Exploring Operation: 53-7=46, Resulting Numbers: [40, 46]
Generated Node #0,1,1: 37:[40, 46] Operation: 53-7=46
Exploring Operation: 40+7=47, Resulting Numbers: [53, 47]
Generated Node #0,1,2: 37:[53, 47] Operation: 40+7=47
Exploring Operation: 7+53=60, Resulting Numbers: [40, 60]
Generated Node #0,1,3: 37:[40, 60] Operation: 7+53=60
Exploring Operation: 53-40=13, Resulting Numbers: [7, 13]
Generated Node #0,1,4: 37:[7, 13] Operation: 53-40=13
Moving to Node #0,1,1
Current State: 37:[40, 46], Operations: ['55-2=53', '53-7=46']
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 40*46=1840, Resulting Numbers: [1840]
1840,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[53, 33], Operations: ['55-2=53', '40-7=33']
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 53*33=1749, Resulting Numbers: [1749]
1749,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[53, 47], Operations: ['55-2=53', '40+7=47']
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 53+47=100, Resulting Numbers: [100]
100,37 unequal: No Solution
Exploring Operation: 53*47=2491, Resulting Numbers: [2491]
2491,37 unequal: No Solution
Moving to Node #0,1,3
Current State: 37:[40, 60], Operations: ['55-2=53', '7+53=60']
Exploring Operation: 40+60=100, Resulting Numbers: [100]
100,37 unequal: No Solution
Exploring Operation: 40*60=2400, Resulting Numbers: [2400]
2400,37 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Moving to Node #0,1,4
Current State: 37:[7, 13], Operations: ['55-2=53', '53-40=13']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[55, 40, 9], Operations: ['2+7=9']
Exploring Operation: 55-40=15, Resulting Numbers: [9, 15]
Generated Node #0,2,0: 37:[9, 15] Operation: 55-40=15
Exploring Operation: 40-9=31, Resulting Numbers: [55, 31]
Generated Node #0,2,1: 37:[55, 31] Operation: 40-9=31
Exploring Operation: 40+9=49, Resulting Numbers: [55, 49]
Generated Node #0,2,2: 37:[55, 49] Operation: 40+9=49
Exploring Operation: 55-9=46, Resulting Numbers: [40, 46]
Generated Node #0,2,3: 37:[40, 46] Operation: 55-9=46
Exploring Operation: 55+9=64, Resulting Numbers: [40, 64]
Generated Node #0,2,4: 37:[40, 64] Operation: 55+9=64
Moving to Node #0,2,3
Current State: 37:[40, 46], Operations: ['2+7=9', '55-9=46']
Exploring Operation: 40*46=1840, Resulting Numbers: [1840]
1840,37 unequal: No Solution
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[55, 31], Operations: ['2+7=9', '40-9=31']
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 55+31=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Exploring Operation: 55*31=1705, Resulting Numbers: [1705]
1705,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[55, 49], Operations: ['2+7=9', '40+9=49']
Exploring Operation: 55+49=104, Resulting Numbers: [104]
104,37 unequal: No Solution
Exploring Operation: 55-49=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 55*49=2695, Resulting Numbers: [2695]
2695,37 unequal: No Solution
Moving to Node #0,2,4
Current State: 37:[40, 64], Operations: ['2+7=9', '55+9=64']
Exploring Operation: 40*64=2560, Resulting Numbers: [2560]
2560,37 unequal: No Solution
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 40+64=104, Resulting Numbers: [104]
104,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[9, 15], Operations: ['2+7=9', '55-40=15']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 37:[55, 7, 38], Operations: ['40-2=38']
Exploring Operation: 7+38=45, Resulting Numbers: [55, 45]
Generated Node #0,3,0: 37:[55, 45] Operation: 7+38=45
Exploring Operation: 38-7=31, Resulting Numbers: [55, 31]
Generated Node #0,3,1: 37:[55, 31] Operation: 38-7=31
Exploring Operation: 55+7=62, Resulting Numbers: [38, 62]
Generated Node #0,3,2: 37:[38, 62] Operation: 55+7=62
Exploring Operation: 55-7=48, Resulting Numbers: [38, 48]
Generated Node #0,3,3: 37:[38, 48] Operation: 55-7=48
Exploring Operation: 55-38=17, Resulting Numbers: [7, 17]
Generated Node #0,3,4: 37:[7, 17] Operation: 55-38=17
Moving to Node #0,3,3
Current State: 37:[38, 48], Operations: ['40-2=38', '55-7=48']
Exploring Operation: 38*48=1824, Resulting Numbers: [1824]
1824,37 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 38+48=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Moving to Node #0,3,1
Current State: 37:[55, 31], Operations: ['40-2=38', '38-7=31']
Exploring Operation: 55+31=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Exploring Operation: 55*31=1705, Resulting Numbers: [1705]
1705,37 unequal: No Solution
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Moving to Node #0,3,0
Current State: 37:[55, 45], Operations: ['40-2=38', '7+38=45']
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 55*45=2475, Resulting Numbers: [2475]
2475,37 unequal: No Solution
Exploring Operation: 55+45=100, Resulting Numbers: [100]
100,37 unequal: No Solution
Moving to Node #0,3,2
Current State: 37:[38, 62], Operations: ['40-2=38', '55+7=62']
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 38*62=2356, Resulting Numbers: [2356]
2356,37 unequal: No Solution
Exploring Operation: 38+62=100, Resulting Numbers: [100]
100,37 unequal: No Solution
Moving to Node #0,3,4
Current State: 37:[7, 17], Operations: ['40-2=38', '55-38=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,37 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 37:[40, 2, 48], Operations: ['55-7=48']
Exploring Operation: 48/2=24, Resulting Numbers: [40, 24]
Generated Node #0,4,0: 37:[40, 24] Operation: 48/2=24
Exploring Operation: 40-2=38, Resulting Numbers: [48, 38]
Generated Node #0,4,1: 37:[48, 38] Operation: 40-2=38
Exploring Operation: 2+48=50, Resulting Numbers: [40, 50]
Generated Node #0,4,2: 37:[40, 50] Operation: 2+48=50
Exploring Operation: 48-2=46, Resulting Numbers: [40, 46]
Generated Node #0,4,3: 37:[40, 46] Operation: 48-2=46
Exploring Operation: 40+2=42, Resulting Numbers: [48, 42]
Generated Node #0,4,4: 37:[48, 42] Operation: 40+2=42
Moving to Node #0,4,1
Current State: 37:[48, 38], Operations: ['55-7=48', '40-2=38']
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Exploring Operation: 48*38=1824, Resulting Numbers: [1824]
1824,37 unequal: No Solution
Moving to Node #0,4,3
Current State: 37:[40, 46], Operations: ['55-7=48', '48-2=46']
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 40*46=1840, Resulting Numbers: [1840]
1840,37 unequal: No Solution
Moving to Node #0,4,0
Current State: 37:[40, 24], Operations: ['55-7=48', '48/2=24']
Exploring Operation: 40*24=960, Resulting Numbers: [960]
960,37 unequal: No Solution
Exploring Operation: 40+24=64, Resulting Numbers: [64]
64,37 unequal: No Solution
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,37 unequal: No Solution
Moving to Node #0,4,2
Current State: 37:[40, 50], Operations: ['55-7=48', '2+48=50']
Exploring Operation: 40*50=2000, Resulting Numbers: [2000]
2000,37 unequal: No Solution
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 40+50=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Moving to Node #0,4,4
Current State: 37:[48, 42], Operations: ['55-7=48', '40+2=42']
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 48+42=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Exploring Operation: 48*42=2016, Resulting Numbers: [2016]
2016,37 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 |
[
13,
57,
57,
69
] | 58 | [
"13+57=70",
"69-57=12",
"70-12=58"
] | Current State: 58:[13, 57, 57, 69], Operations: []
Exploring Operation: 13+57=70, Resulting Numbers: [69, 70]
Generated Node #2: [69, 70] from Operation: 13+57=70
Current State: 58:[69, 70], Operations: ['13+57=70']
Exploring Operation: 69-57=12, Resulting Numbers: [70, 12]
Generated Node #3: [70, 12] from Operation: 69-57=12
Current State: 58:[70, 12], Operations: ['13+57=70', '69-57=12']
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[13, 57, 57, 69], Operations: []
Exploring Operation: 57/57=1, Resulting Numbers: [13, 69, 1]
Generated Node #0,0: 58:[13, 69, 1] Operation: 57/57=1
Exploring Operation: 69-13=56, Resulting Numbers: [57, 57, 56]
Generated Node #0,1: 58:[57, 57, 56] Operation: 69-13=56
Exploring Operation: 69-57=12, Resulting Numbers: [13, 57, 12]
Generated Node #0,2: 58:[13, 57, 12] Operation: 69-57=12
Exploring Operation: 69-57=12, Resulting Numbers: [13, 57, 12]
Generated Node #0,3: 58:[13, 57, 12] Operation: 69-57=12
Moving to Node #0,1
Current State: 58:[57, 57, 56], Operations: ['69-13=56']
Exploring Operation: 57-56=1, Resulting Numbers: [57, 1]
Generated Node #0,1,0: 58:[57, 1] Operation: 57-56=1
Exploring Operation: 57-57=0, Resulting Numbers: [56, 0]
Generated Node #0,1,1: 58:[56, 0] Operation: 57-57=0
Exploring Operation: 57/57=1, Resulting Numbers: [56, 1]
Generated Node #0,1,2: 58:[56, 1] Operation: 57/57=1
Exploring Operation: 57-56=1, Resulting Numbers: [57, 1]
Generated Node #0,1,3: 58:[57, 1] Operation: 57-56=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[57, 1], Operations: ['69-13=56', '57-56=1']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[13, 57, 57, 69], Operations: []
Exploring Operation: 69-13=56, Resulting Numbers: [57, 57, 56]
Generated Node #0,1: 58:[57, 57, 56] Operation: 69-13=56
Moving to Node #0,1
Current State: 58:[57, 57, 56], Operations: ['69-13=56']
Exploring Operation: 57-56=1, Resulting Numbers: [57, 1]
Generated Node #0,1,0: 58:[57, 1] Operation: 57-56=1
Moving to Node #0,1,0
Current State: 58:[57, 1], Operations: ['69-13=56', '57-56=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
56,
14,
98,
62
] | 78 | [
"56-14=42",
"98-62=36",
"42+36=78"
] | Current State: 78:[56, 14, 98, 62], Operations: []
Exploring Operation: 56-14=42, Resulting Numbers: [98, 62, 42]
Generated Node #2: [98, 62, 42] from Operation: 56-14=42
Current State: 78:[98, 62, 42], Operations: ['56-14=42']
Exploring Operation: 98-62=36, Resulting Numbers: [42, 36]
Generated Node #3: [42, 36] from Operation: 98-62=36
Current State: 78:[42, 36], Operations: ['56-14=42', '98-62=36']
Exploring Operation: 42+36=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[56, 14, 98, 62], Operations: []
Exploring Operation: 98/14=7, Resulting Numbers: [56, 62, 7]
Generated Node #0,0: 78:[56, 62, 7] Operation: 98/14=7
Exploring Operation: 62-56=6, Resulting Numbers: [14, 98, 6]
Generated Node #0,1: 78:[14, 98, 6] Operation: 62-56=6
Exploring Operation: 56/14=4, Resulting Numbers: [98, 62, 4]
Generated Node #0,2: 78:[98, 62, 4] Operation: 56/14=4
Exploring Operation: 98-62=36, Resulting Numbers: [56, 14, 36]
Generated Node #0,3: 78:[56, 14, 36] Operation: 98-62=36
Exploring Operation: 98-56=42, Resulting Numbers: [14, 62, 42]
Generated Node #0,4: 78:[14, 62, 42] Operation: 98-56=42
Start Sub Search at level 1: Moving to Node #0,4
Current State: 78:[14, 62, 42], Operations: ['98-56=42']
Exploring Operation: 42/14=3, Resulting Numbers: [62, 3]
Generated Node #0,4,0: 78:[62, 3] Operation: 42/14=3
Exploring Operation: 62-42=20, Resulting Numbers: [14, 20]
Generated Node #0,4,1: 78:[14, 20] Operation: 62-42=20
Exploring Operation: 42-14=28, Resulting Numbers: [62, 28]
Generated Node #0,4,2: 78:[62, 28] Operation: 42-14=28
Exploring Operation: 62-14=48, Resulting Numbers: [42, 48]
Generated Node #0,4,3: 78:[42, 48] Operation: 62-14=48
Exploring Operation: 14+62=76, Resulting Numbers: [42, 76]
Generated Node #0,4,4: 78:[42, 76] Operation: 14+62=76
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 78:[42, 76], Operations: ['98-56=42', '14+62=76']
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 42+76=118, Resulting Numbers: [118]
118,78 unequal: No Solution
Exploring Operation: 42*76=3192, Resulting Numbers: [3192]
3192,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,4,1
Current State: 78:[14, 20], Operations: ['98-56=42', '62-42=20']
Exploring Operation: 14*20=280, Resulting Numbers: [280]
280,78 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,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,4,3
Current State: 78:[42, 48], Operations: ['98-56=42', '62-14=48']
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 42*48=2016, Resulting Numbers: [2016]
2016,78 unequal: No Solution
Exploring Operation: 42+48=90, Resulting Numbers: [90]
90,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,4,0
Current State: 78:[62, 3], Operations: ['98-56=42', '42/14=3']
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,78 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,78 unequal: No Solution
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,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,4,2
Current State: 78:[62, 28], Operations: ['98-56=42', '42-14=28']
Exploring Operation: 62+28=90, Resulting Numbers: [90]
90,78 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 62*28=1736, Resulting Numbers: [1736]
1736,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:[14, 98, 6], Operations: ['62-56=6']
Exploring Operation: 14+6=20, Resulting Numbers: [98, 20]
Generated Node #0,1,0: 78:[98, 20] Operation: 14+6=20
Exploring Operation: 98-6=92, Resulting Numbers: [14, 92]
Generated Node #0,1,1: 78:[14, 92] Operation: 98-6=92
Exploring Operation: 98-14=84, Resulting Numbers: [6, 84]
Generated Node #0,1,2: 78:[6, 84] Operation: 98-14=84
Exploring Operation: 98/14=7, Resulting Numbers: [6, 7]
Generated Node #0,1,3: 78:[6, 7] Operation: 98/14=7
Exploring Operation: 14-6=8, Resulting Numbers: [98, 8]
Generated Node #0,1,4: 78:[98, 8] Operation: 14-6=8
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 78:[6, 7], Operations: ['62-56=6', '98/14=7']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,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,1,2
Current State: 78:[6, 84], Operations: ['62-56=6', '98-14=84']
Exploring Operation: 6+84=90, Resulting Numbers: [90]
90,78 unequal: No Solution
Exploring Operation: 6*84=504, Resulting Numbers: [504]
504,78 unequal: No Solution
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[56, 14, 98, 62], Operations: []
Exploring Operation: 62-56=6, Resulting Numbers: [14, 98, 6]
Generated Node #0,1: 78:[14, 98, 6] Operation: 62-56=6
Moving to Node #0,1
Current State: 78:[14, 98, 6], Operations: ['62-56=6']
Exploring Operation: 98-14=84, Resulting Numbers: [6, 84]
Generated Node #0,1,2: 78:[6, 84] Operation: 98-14=84
Moving to Node #0,1,2
Current State: 78:[6, 84], Operations: ['62-56=6', '98-14=84']
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.965278 | hs_5 | mult_heuristic |
[
64,
24,
22,
61
] | 67 | [
"24-22=2",
"64*2=128",
"128-61=67"
] | Current State: 67:[64, 24, 22, 61], Operations: []
Exploring Operation: 24-22=2, Resulting Numbers: [64, 61, 2]
Generated Node #2: [64, 61, 2] from Operation: 24-22=2
Current State: 67:[64, 61, 2], Operations: ['24-22=2']
Exploring Operation: 64*2=128, Resulting Numbers: [61, 128]
Generated Node #3: [61, 128] from Operation: 64*2=128
Current State: 67:[61, 128], Operations: ['24-22=2', '64*2=128']
Exploring Operation: 128-61=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[64, 24, 22, 61], Operations: []
Exploring Operation: 24+22=46, Resulting Numbers: [64, 61, 46]
Generated Node #0,0: 67:[64, 61, 46] Operation: 24+22=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[64, 61, 46], Operations: ['24+22=46']
Exploring Operation: 61+46=107, Resulting Numbers: [64, 107]
Generated Node #0,0,0: 67:[64, 107] Operation: 61+46=107
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[64, 107], Operations: ['24+22=46', '61+46=107']
Exploring Operation: 107-64=43, Resulting Numbers: [43]
43,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
15,
66,
39,
17
] | 10 | [
"66+39=105",
"105/15=7",
"17-7=10"
] | Current State: 10:[15, 66, 39, 17], Operations: []
Exploring Operation: 66+39=105, Resulting Numbers: [15, 17, 105]
Generated Node #2: [15, 17, 105] from Operation: 66+39=105
Current State: 10:[15, 17, 105], Operations: ['66+39=105']
Exploring Operation: 105/15=7, Resulting Numbers: [17, 7]
Generated Node #3: [17, 7] from Operation: 105/15=7
Current State: 10:[17, 7], Operations: ['66+39=105', '105/15=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[15, 66, 39, 17], Operations: []
Exploring Operation: 66-39=27, Resulting Numbers: [15, 17, 27]
Generated Node #0,0: 10:[15, 17, 27] Operation: 66-39=27
Exploring Operation: 66-17=49, Resulting Numbers: [15, 39, 49]
Generated Node #0,1: 10:[15, 39, 49] Operation: 66-17=49
Exploring Operation: 39-17=22, Resulting Numbers: [15, 66, 22]
Generated Node #0,2: 10:[15, 66, 22] Operation: 39-17=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[15, 17, 27], Operations: ['66-39=27']
Exploring Operation: 27-17=10, Resulting Numbers: [15, 10]
Generated Node #0,0,0: 10:[15, 10] Operation: 27-17=10
Exploring Operation: 17-15=2, Resulting Numbers: [27, 2]
Generated Node #0,0,1: 10:[27, 2] Operation: 17-15=2
Exploring Operation: 27-15=12, Resulting Numbers: [17, 12]
Generated Node #0,0,2: 10:[17, 12] Operation: 27-15=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[15, 10], Operations: ['66-39=27', '27-17=10']
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,10 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,10 unequal: No Solution
No 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: 10:[17, 12], Operations: ['66-39=27', '27-15=12']
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,10 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,10 unequal: No Solution
No 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: 10:[27, 2], Operations: ['66-39=27', '17-15=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,10 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: 10:[15, 39, 49], Operations: ['66-17=49']
Exploring Operation: 49-15=34, Resulting Numbers: [39, 34]
Generated Node #0,1,0: 10:[39, 34] Operation: 49-15=34
Exploring Operation: 39-15=24, Resulting Numbers: [49, 24]
Generated Node #0,1,1: 10:[49, 24] Operation: 39-15=24
Exploring Operation: 49-39=10, Resulting Numbers: [15, 10]
Generated Node #0,1,2: 10:[15, 10] Operation: 49-39=10
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 10:[15, 10], Operations: ['66-17=49', '49-39=10']
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,10 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,10 unequal: No Solution
No 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: 10:[39, 34], Operations: ['66-17=49', '49-15=34']
Exploring Operation: 39*34=1326, Resulting Numbers: [1326]
1326,10 unequal: No Solution
Exploring Operation: 39+34=73, Resulting Numbers: [73]
73,10 unequal: No Solution
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,10 unequal: No Solution
No 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: 10:[49, 24], Operations: ['66-17=49', '39-15=24']
Exploring Operation: 49*24=1176, Resulting Numbers: [1176]
1176,10 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,10 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: 10:[15, 66, 22], Operations: ['39-17=22']
Exploring Operation: 66/22=3, Resulting Numbers: [15, 3]
Generated Node #0,2,0: 10:[15, 3] Operation: 66/22=3
Exploring Operation: 66-15=51, Resulting Numbers: [22, 51]
Generated Node #0,2,1: 10:[22, 51] Operation: 66-15=51
Exploring Operation: 66-22=44, Resulting Numbers: [15, 44]
Generated Node #0,2,2: 10:[15, 44] Operation: 66-22=44
Moving to Node #0,2,0
Current State: 10:[15, 3], Operations: ['39-17=22', '66/22=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,10 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[15, 44], Operations: ['39-17=22', '66-22=44']
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,10 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[22, 51], Operations: ['39-17=22', '66-15=51']
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 22*51=1122, Resulting Numbers: [1122]
1122,10 unequal: No Solution
Exploring Operation: 22+51=73, Resulting Numbers: [73]
73,10 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 |
[
1,
6,
20,
94
] | 27 | [
"94-1=93",
"6*20=120",
"120-93=27"
] | Current State: 27:[1, 6, 20, 94], Operations: []
Exploring Operation: 94-1=93, Resulting Numbers: [6, 20, 93]
Generated Node #2: [6, 20, 93] from Operation: 94-1=93
Current State: 27:[6, 20, 93], Operations: ['94-1=93']
Exploring Operation: 6*20=120, Resulting Numbers: [93, 120]
Generated Node #3: [93, 120] from Operation: 6*20=120
Current State: 27:[93, 120], Operations: ['94-1=93', '6*20=120']
Exploring Operation: 120-93=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[1, 6, 20, 94], Operations: []
Exploring Operation: 20-6=14, Resulting Numbers: [1, 94, 14]
Generated Node #0,0: 27:[1, 94, 14] Operation: 20-6=14
Exploring Operation: 1+6=7, Resulting Numbers: [20, 94, 7]
Generated Node #0,1: 27:[20, 94, 7] Operation: 1+6=7
Exploring Operation: 94-20=74, Resulting Numbers: [1, 6, 74]
Generated Node #0,2: 27:[1, 6, 74] Operation: 94-20=74
Exploring Operation: 6+20=26, Resulting Numbers: [1, 94, 26]
Generated Node #0,3: 27:[1, 94, 26] Operation: 6+20=26
Exploring Operation: 94-6=88, Resulting Numbers: [1, 20, 88]
Generated Node #0,4: 27:[1, 20, 88] Operation: 94-6=88
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[1, 6, 74], Operations: ['94-20=74']
Exploring Operation: 1*6=6, Resulting Numbers: [74, 6]
Generated Node #0,2,0: 27:[74, 6] Operation: 1*6=6
Exploring Operation: 6-1=5, Resulting Numbers: [74, 5]
Generated Node #0,2,1: 27:[74, 5] Operation: 6-1=5
Exploring Operation: 1+6=7, Resulting Numbers: [74, 7]
Generated Node #0,2,2: 27:[74, 7] Operation: 1+6=7
Exploring Operation: 74-1=73, Resulting Numbers: [6, 73]
Generated Node #0,2,3: 27:[6, 73] Operation: 74-1=73
Exploring Operation: 74-6=68, Resulting Numbers: [1, 68]
Generated Node #0,2,4: 27:[1, 68] Operation: 74-6=68
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 27:[1, 68], Operations: ['94-20=74', '74-6=68']
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,27 unequal: No Solution
Exploring Operation: 1*68=68, Resulting Numbers: [68]
68,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,2,1
Current State: 27:[74, 5], Operations: ['94-20=74', '6-1=5']
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 74*5=370, Resulting Numbers: [370]
370,27 unequal: No Solution
Exploring Operation: 74+5=79, Resulting Numbers: [79]
79,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,2,2
Current State: 27:[74, 7], Operations: ['94-20=74', '1+6=7']
Exploring Operation: 74+7=81, Resulting Numbers: [81]
81,27 unequal: No Solution
Exploring Operation: 74*7=518, Resulting Numbers: [518]
518,27 unequal: No Solution
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,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,2,3
Current State: 27:[6, 73], Operations: ['94-20=74', '74-1=73']
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,27 unequal: No Solution
Exploring Operation: 6+73=79, Resulting Numbers: [79]
79,27 unequal: No Solution
Exploring Operation: 6*73=438, Resulting Numbers: [438]
438,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,2,0
Current State: 27:[74, 6], Operations: ['94-20=74', '1*6=6']
Exploring Operation: 74*6=444, Resulting Numbers: [444]
444,27 unequal: No Solution
Exploring Operation: 74+6=80, Resulting Numbers: [80]
80,27 unequal: No Solution
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,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,3
Current State: 27:[1, 94, 26], Operations: ['6+20=26']
Exploring Operation: 1*94=94, Resulting Numbers: [26, 94]
Generated Node #0,3,0: 27:[26, 94] Operation: 1*94=94
Exploring Operation: 94/1=94, Resulting Numbers: [26, 94]
Generated Node #0,3,1: 27:[26, 94] Operation: 94/1=94
Exploring Operation: 94-26=68, Resulting Numbers: [1, 68]
Generated Node #0,3,2: 27:[1, 68] Operation: 94-26=68
Exploring Operation: 94-1=93, Resulting Numbers: [26, 93]
Generated Node #0,3,3: 27:[26, 93] Operation: 94-1=93
Exploring Operation: 1+26=27, Resulting Numbers: [94, 27]
Generated Node #0,3,4: 27:[94, 27] Operation: 1+26=27
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 27:[1, 68], Operations: ['6+20=26', '94-26=68']
Exploring Operation: 1*68=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,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,3,3
Current State: 27:[26, 93], Operations: ['6+20=26', '94-1=93']
Exploring Operation: 26*93=2418, Resulting Numbers: [2418]
2418,27 unequal: No Solution
Exploring Operation: 93-26=67, Resulting Numbers: [67]
67,27 unequal: No Solution
Exploring Operation: 26+93=119, Resulting Numbers: [119]
119,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,3,4
Current State: 27:[94, 27], Operations: ['6+20=26', '1+26=27']
Exploring Operation: 94*27=2538, Resulting Numbers: [2538]
2538,27 unequal: No Solution
Exploring Operation: 94+27=121, Resulting Numbers: [121]
121,27 unequal: No Solution
Exploring Operation: 94-27=67, Resulting Numbers: [67]
67,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,3,0
Current State: 27:[26, 94], Operations: ['6+20=26', '1*94=94']
Exploring Operation: 94-26=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 26+94=120, Resulting Numbers: [120]
120,27 unequal: No Solution
Exploring Operation: 26*94=2444, Resulting Numbers: [2444]
2444,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,3,1
Current State: 27:[26, 94], Operations: ['6+20=26', '94/1=94']
Exploring Operation: 26*94=2444, Resulting Numbers: [2444]
2444,27 unequal: No Solution
Exploring Operation: 94-26=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 26+94=120, Resulting Numbers: [120]
120,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,4
Current State: 27:[1, 20, 88], Operations: ['94-6=88']
Exploring Operation: 88-1=87, Resulting Numbers: [20, 87]
Generated Node #0,4,0: 27:[20, 87] Operation: 88-1=87
Exploring Operation: 20/1=20, Resulting Numbers: [88, 20]
Generated Node #0,4,1: 27:[88, 20] Operation: 20/1=20
Exploring Operation: 1+20=21, Resulting Numbers: [88, 21]
Generated Node #0,4,2: 27:[88, 21] Operation: 1+20=21
Exploring Operation: 88-20=68, Resulting Numbers: [1, 68]
Generated Node #0,4,3: 27:[1, 68] Operation: 88-20=68
Exploring Operation: 1*20=20, Resulting Numbers: [88, 20]
Generated Node #0,4,4: 27:[88, 20] Operation: 1*20=20
Moving to Node #0,4,3
Current State: 27:[1, 68], Operations: ['94-6=88', '88-20=68']
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,27 unequal: No Solution
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 1*68=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Moving to Node #0,4,2
Current State: 27:[88, 21], Operations: ['94-6=88', '1+20=21']
Exploring Operation: 88+21=109, Resulting Numbers: [109]
109,27 unequal: No Solution
Exploring Operation: 88-21=67, Resulting Numbers: [67]
67,27 unequal: No Solution
Exploring Operation: 88*21=1848, Resulting Numbers: [1848]
1848,27 unequal: No Solution
Moving to Node #0,4,0
Current State: 27:[20, 87], Operations: ['94-6=88', '88-1=87']
Exploring Operation: 87-20=67, Resulting Numbers: [67]
67,27 unequal: No Solution
Exploring Operation: 20+87=107, Resulting Numbers: [107]
107,27 unequal: No Solution
Exploring Operation: 20*87=1740, Resulting Numbers: [1740]
1740,27 unequal: No Solution
Moving to Node #0,4,1
Current State: 27:[88, 20], Operations: ['94-6=88', '20/1=20']
Exploring Operation: 88+20=108, Resulting Numbers: [108]
108,27 unequal: No Solution
Exploring Operation: 88*20=1760, Resulting Numbers: [1760]
1760,27 unequal: No Solution
Exploring Operation: 88-20=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Moving to Node #0,4,4
Current State: 27:[88, 20], Operations: ['94-6=88', '1*20=20']
Exploring Operation: 88+20=108, Resulting Numbers: [108]
108,27 unequal: No Solution
Exploring Operation: 88-20=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 88*20=1760, Resulting Numbers: [1760]
1760,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
Current State: 27:[1, 94, 14], Operations: ['20-6=14']
Exploring Operation: 94-14=80, Resulting Numbers: [1, 80]
Generated Node #0,0,0: 27:[1, 80] Operation: 94-14=80
Exploring Operation: 94-1=93, Resulting Numbers: [14, 93]
Generated Node #0,0,1: 27:[14, 93] Operation: 94-1=93
Exploring Operation: 1*94=94, Resulting Numbers: [14, 94]
Generated Node #0,0,2: 27:[14, 94] Operation: 1*94=94
Exploring Operation: 94/1=94, Resulting Numbers: [14, 94]
Generated Node #0,0,3: 27:[14, 94] Operation: 94/1=94
Exploring Operation: 14-1=13, Resulting Numbers: [94, 13]
Generated Node #0,0,4: 27:[94, 13] Operation: 14-1=13
Moving to Node #0,0,0
Current State: 27:[1, 80], Operations: ['20-6=14', '94-14=80']
Exploring Operation: 1+80=81, Resulting Numbers: [81]
81,27 unequal: No Solution
Exploring Operation: 1*80=80, Resulting Numbers: [80]
80,27 unequal: No Solution
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,27 unequal: No Solution
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,27 unequal: No Solution
Moving to Node #0,0,4
Current State: 27:[94, 13], Operations: ['20-6=14', '14-1=13']
Exploring Operation: 94-13=81, Resulting Numbers: [81]
81,27 unequal: No Solution
Exploring Operation: 94*13=1222, Resulting Numbers: [1222]
1222,27 unequal: No Solution
Exploring Operation: 94+13=107, Resulting Numbers: [107]
107,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[14, 93], Operations: ['20-6=14', '94-1=93']
Exploring Operation: 14+93=107, Resulting Numbers: [107]
107,27 unequal: No Solution
Exploring Operation: 14*93=1302, Resulting Numbers: [1302]
1302,27 unequal: No Solution
Exploring Operation: 93-14=79, Resulting Numbers: [79]
79,27 unequal: No Solution
Moving to Node #0,0,2
Current State: 27:[14, 94], Operations: ['20-6=14', '1*94=94']
Exploring Operation: 14+94=108, Resulting Numbers: [108]
108,27 unequal: No Solution
Exploring Operation: 94-14=80, Resulting Numbers: [80]
80,27 unequal: No Solution
Exploring Operation: 14*94=1316, Resulting Numbers: [1316]
1316,27 unequal: No Solution
Moving to Node #0,0,3
Current State: 27:[14, 94], Operations: ['20-6=14', '94/1=94']
Exploring Operation: 94-14=80, Resulting Numbers: [80]
80,27 unequal: No Solution
Exploring Operation: 14*94=1316, Resulting Numbers: [1316]
1316,27 unequal: No Solution
Exploring Operation: 14+94=108, Resulting Numbers: [108]
108,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[20, 94, 7], Operations: ['1+6=7']
Exploring Operation: 20-7=13, Resulting Numbers: [94, 13]
Generated Node #0,1,0: 27:[94, 13] Operation: 20-7=13
Exploring Operation: 20+7=27, Resulting Numbers: [94, 27]
Generated Node #0,1,1: 27:[94, 27] Operation: 20+7=27
Exploring Operation: 94-20=74, Resulting Numbers: [7, 74]
Generated Node #0,1,2: 27:[7, 74] Operation: 94-20=74
Exploring Operation: 94-7=87, Resulting Numbers: [20, 87]
Generated Node #0,1,3: 27:[20, 87] Operation: 94-7=87
Exploring Operation: 94+7=101, Resulting Numbers: [20, 101]
Generated Node #0,1,4: 27:[20, 101] Operation: 94+7=101
Moving to Node #0,1,2
Current State: 27:[7, 74], Operations: ['1+6=7', '94-20=74']
Exploring Operation: 7*74=518, Resulting Numbers: [518]
518,27 unequal: No Solution
Exploring Operation: 7+74=81, Resulting Numbers: [81]
81,27 unequal: No Solution
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[20, 87], Operations: ['1+6=7', '94-7=87']
Exploring Operation: 20*87=1740, Resulting Numbers: [1740]
1740,27 unequal: No Solution
Exploring Operation: 20+87=107, Resulting Numbers: [107]
107,27 unequal: No Solution
Exploring Operation: 87-20=67, Resulting Numbers: [67]
67,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[94, 27], Operations: ['1+6=7', '20+7=27']
Exploring Operation: 94-27=67, Resulting Numbers: [67]
67,27 unequal: No Solution
Exploring Operation: 94+27=121, Resulting Numbers: [121]
121,27 unequal: No Solution
Exploring Operation: 94*27=2538, Resulting Numbers: [2538]
2538,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[94, 13], Operations: ['1+6=7', '20-7=13']
Exploring Operation: 94-13=81, Resulting Numbers: [81]
81,27 unequal: No Solution
Exploring Operation: 94+13=107, Resulting Numbers: [107]
107,27 unequal: No Solution
Exploring Operation: 94*13=1222, Resulting Numbers: [1222]
1222,27 unequal: No Solution
Moving to Node #0,1,4
Current State: 27:[20, 101], Operations: ['1+6=7', '94+7=101']
Exploring Operation: 20*101=2020, Resulting Numbers: [2020]
2020,27 unequal: No Solution
Exploring Operation: 101-20=81, Resulting Numbers: [81]
81,27 unequal: No Solution
Exploring Operation: 20+101=121, Resulting Numbers: [121]
121,27 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,
51,
85,
60
] | 40 | [
"66-51=15",
"85-60=25",
"15+25=40"
] | Current State: 40:[66, 51, 85, 60], Operations: []
Exploring Operation: 66-51=15, Resulting Numbers: [85, 60, 15]
Generated Node #2: [85, 60, 15] from Operation: 66-51=15
Current State: 40:[85, 60, 15], Operations: ['66-51=15']
Exploring Operation: 85-60=25, Resulting Numbers: [15, 25]
Generated Node #3: [15, 25] from Operation: 85-60=25
Current State: 40:[15, 25], Operations: ['66-51=15', '85-60=25']
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[66, 51, 85, 60], Operations: []
Exploring Operation: 85-66=19, Resulting Numbers: [51, 60, 19]
Generated Node #0,0: 40:[51, 60, 19] Operation: 85-66=19
Exploring Operation: 85-60=25, Resulting Numbers: [66, 51, 25]
Generated Node #0,1: 40:[66, 51, 25] Operation: 85-60=25
Exploring Operation: 85-51=34, Resulting Numbers: [66, 60, 34]
Generated Node #0,2: 40:[66, 60, 34] Operation: 85-51=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[51, 60, 19], Operations: ['85-66=19']
Exploring Operation: 60-19=41, Resulting Numbers: [51, 41]
Generated Node #0,0,0: 40:[51, 41] Operation: 60-19=41
Exploring Operation: 60-51=9, Resulting Numbers: [19, 9]
Generated Node #0,0,1: 40:[19, 9] Operation: 60-51=9
Exploring Operation: 51-19=32, Resulting Numbers: [60, 32]
Generated Node #0,0,2: 40:[60, 32] Operation: 51-19=32
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 40:[19, 9], Operations: ['85-66=19', '60-51=9']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,40 unequal: No Solution
No 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: 40:[51, 41], Operations: ['85-66=19', '60-19=41']
Exploring Operation: 51-41=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 51+41=92, Resulting Numbers: [92]
92,40 unequal: No Solution
Exploring Operation: 51*41=2091, Resulting Numbers: [2091]
2091,40 unequal: No Solution
No 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: 40:[60, 32], Operations: ['85-66=19', '51-19=32']
Exploring Operation: 60+32=92, Resulting Numbers: [92]
92,40 unequal: No Solution
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 60*32=1920, Resulting Numbers: [1920]
1920,40 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: 40:[66, 51, 25], Operations: ['85-60=25']
Exploring Operation: 66-51=15, Resulting Numbers: [25, 15]
Generated Node #0,1,0: 40:[25, 15] Operation: 66-51=15
Exploring Operation: 66-25=41, Resulting Numbers: [51, 41]
Generated Node #0,1,1: 40:[51, 41] Operation: 66-25=41
Exploring Operation: 51-25=26, Resulting Numbers: [66, 26]
Generated Node #0,1,2: 40:[66, 26] Operation: 51-25=26
Moving to Node #0,1,0
Current State: 40:[25, 15], Operations: ['85-60=25', '66-51=15']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[66, 51, 85, 60], Operations: []
Exploring Operation: 85-60=25, Resulting Numbers: [66, 51, 25]
Generated Node #0,1: 40:[66, 51, 25] Operation: 85-60=25
Moving to Node #0,1
Current State: 40:[66, 51, 25], Operations: ['85-60=25']
Exploring Operation: 66-51=15, Resulting Numbers: [25, 15]
Generated Node #0,1,0: 40:[25, 15] Operation: 66-51=15
Moving to Node #0,1,0
Current State: 40:[25, 15], Operations: ['85-60=25', '66-51=15']
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
70,
71,
5,
38
] | 43 | [
"71-70=1",
"5+38=43",
"1*43=43"
] | Current State: 43:[70, 71, 5, 38], Operations: []
Exploring Operation: 71-70=1, Resulting Numbers: [5, 38, 1]
Generated Node #2: [5, 38, 1] from Operation: 71-70=1
Current State: 43:[5, 38, 1], Operations: ['71-70=1']
Exploring Operation: 5+38=43, Resulting Numbers: [1, 43]
Generated Node #3: [1, 43] from Operation: 5+38=43
Current State: 43:[1, 43], Operations: ['71-70=1', '5+38=43']
Exploring Operation: 1*43=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[70, 71, 5, 38], Operations: []
Exploring Operation: 71-5=66, Resulting Numbers: [70, 38, 66]
Generated Node #0,0: 43:[70, 38, 66] Operation: 71-5=66
Exploring Operation: 70-5=65, Resulting Numbers: [71, 38, 65]
Generated Node #0,1: 43:[71, 38, 65] Operation: 70-5=65
Moving to Node #0,0
Current State: 43:[70, 38, 66], Operations: ['71-5=66']
Exploring Operation: 70-38=32, Resulting Numbers: [66, 32]
Generated Node #0,0,0: 43:[66, 32] Operation: 70-38=32
Exploring Operation: 66-38=28, Resulting Numbers: [70, 28]
Generated Node #0,0,1: 43:[70, 28] Operation: 66-38=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[66, 32], Operations: ['71-5=66', '70-38=32']
Exploring Operation: 66+32=98, Resulting Numbers: [98]
98,43 unequal: No Solution
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[70, 28], Operations: ['71-5=66', '66-38=28']
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,43 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,43 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: 43:[71, 38, 65], Operations: ['70-5=65']
Exploring Operation: 71-65=6, Resulting Numbers: [38, 6]
Generated Node #0,1,0: 43:[38, 6] Operation: 71-65=6
Exploring Operation: 71-38=33, Resulting Numbers: [65, 33]
Generated Node #0,1,1: 43:[65, 33] Operation: 71-38=33
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[65, 33], Operations: ['70-5=65', '71-38=33']
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,43 unequal: No Solution
Exploring Operation: 65+33=98, Resulting Numbers: [98]
98,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[38, 6], Operations: ['70-5=65', '71-65=6']
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,43 unequal: No Solution
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,43 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 |
[
29,
64,
41,
7
] | 59 | [
"29+64=93",
"41-7=34",
"93-34=59"
] | Current State: 59:[29, 64, 41, 7], Operations: []
Exploring Operation: 29+64=93, Resulting Numbers: [41, 7, 93]
Generated Node #2: [41, 7, 93] from Operation: 29+64=93
Current State: 59:[41, 7, 93], Operations: ['29+64=93']
Exploring Operation: 41-7=34, Resulting Numbers: [93, 34]
Generated Node #3: [93, 34] from Operation: 41-7=34
Current State: 59:[93, 34], Operations: ['29+64=93', '41-7=34']
Exploring Operation: 93-34=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[29, 64, 41, 7], Operations: []
Exploring Operation: 64-7=57, Resulting Numbers: [29, 41, 57]
Generated Node #0,0: 59:[29, 41, 57] Operation: 64-7=57
Exploring Operation: 29+7=36, Resulting Numbers: [64, 41, 36]
Generated Node #0,1: 59:[64, 41, 36] Operation: 29+7=36
Exploring Operation: 41+7=48, Resulting Numbers: [29, 64, 48]
Generated Node #0,2: 59:[29, 64, 48] Operation: 41+7=48
Exploring Operation: 29-7=22, Resulting Numbers: [64, 41, 22]
Generated Node #0,3: 59:[64, 41, 22] Operation: 29-7=22
Exploring Operation: 64+7=71, Resulting Numbers: [29, 41, 71]
Generated Node #0,4: 59:[29, 41, 71] Operation: 64+7=71
Moving to Node #0,1
Current State: 59:[64, 41, 36], Operations: ['29+7=36']
Exploring Operation: 64-36=28, Resulting Numbers: [41, 28]
Generated Node #0,1,0: 59:[41, 28] Operation: 64-36=28
Exploring Operation: 64+36=100, Resulting Numbers: [41, 100]
Generated Node #0,1,1: 59:[41, 100] Operation: 64+36=100
Exploring Operation: 64-41=23, Resulting Numbers: [36, 23]
Generated Node #0,1,2: 59:[36, 23] Operation: 64-41=23
Exploring Operation: 41+36=77, Resulting Numbers: [64, 77]
Generated Node #0,1,3: 59:[64, 77] Operation: 41+36=77
Exploring Operation: 41-36=5, Resulting Numbers: [64, 5]
Generated Node #0,1,4: 59:[64, 5] Operation: 41-36=5
Moving to Node #0,2
Current State: 59:[29, 64, 48], Operations: ['41+7=48']
Exploring Operation: 64-29=35, Resulting Numbers: [48, 35]
Generated Node #0,2,0: 59:[48, 35] Operation: 64-29=35
Exploring Operation: 29+64=93, Resulting Numbers: [48, 93]
Generated Node #0,2,1: 59:[48, 93] Operation: 29+64=93
Exploring Operation: 48-29=19, Resulting Numbers: [64, 19]
Generated Node #0,2,2: 59:[64, 19] Operation: 48-29=19
Exploring Operation: 29+48=77, Resulting Numbers: [64, 77]
Generated Node #0,2,3: 59:[64, 77] Operation: 29+48=77
Exploring Operation: 64-48=16, Resulting Numbers: [29, 16]
Generated Node #0,2,4: 59:[29, 16] Operation: 64-48=16
Moving to Node #0,0
Current State: 59:[29, 41, 57], Operations: ['64-7=57']
Exploring Operation: 57-29=28, Resulting Numbers: [41, 28]
Generated Node #0,0,0: 59:[41, 28] Operation: 57-29=28
Exploring Operation: 29+41=70, Resulting Numbers: [57, 70]
Generated Node #0,0,1: 59:[57, 70] Operation: 29+41=70
Exploring Operation: 29+57=86, Resulting Numbers: [41, 86]
Generated Node #0,0,2: 59:[41, 86] Operation: 29+57=86
Exploring Operation: 41+57=98, Resulting Numbers: [29, 98]
Generated Node #0,0,3: 59:[29, 98] Operation: 41+57=98
Exploring Operation: 41-29=12, Resulting Numbers: [57, 12]
Generated Node #0,0,4: 59:[57, 12] Operation: 41-29=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[57, 70], Operations: ['64-7=57', '29+41=70']
Exploring Operation: 57*70=3990, Resulting Numbers: [3990]
3990,59 unequal: No Solution
Exploring Operation: 70-57=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Exploring Operation: 57+70=127, Resulting Numbers: [127]
127,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,2
Current State: 59:[41, 86], Operations: ['64-7=57', '29+57=86']
Exploring Operation: 86-41=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 41*86=3526, Resulting Numbers: [3526]
3526,59 unequal: No Solution
Exploring Operation: 41+86=127, Resulting Numbers: [127]
127,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:[41, 28], Operations: ['64-7=57', '57-29=28']
Exploring Operation: 41+28=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Exploring Operation: 41*28=1148, Resulting Numbers: [1148]
1148,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,4
Current State: 59:[57, 12], Operations: ['64-7=57', '41-29=12']
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 57*12=684, Resulting Numbers: [684]
684,59 unequal: No Solution
Exploring Operation: 57+12=69, Resulting Numbers: [69]
69,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,3
Current State: 59:[29, 98], Operations: ['64-7=57', '41+57=98']
Exploring Operation: 29+98=127, Resulting Numbers: [127]
127,59 unequal: No Solution
Exploring Operation: 98-29=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 29*98=2842, Resulting Numbers: [2842]
2842,59 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: 59:[64, 41, 22], Operations: ['29-7=22']
Exploring Operation: 64-41=23, Resulting Numbers: [22, 23]
Generated Node #0,3,0: 59:[22, 23] Operation: 64-41=23
Exploring Operation: 64-22=42, Resulting Numbers: [41, 42]
Generated Node #0,3,1: 59:[41, 42] Operation: 64-22=42
Exploring Operation: 41+22=63, Resulting Numbers: [64, 63]
Generated Node #0,3,2: 59:[64, 63] Operation: 41+22=63
Exploring Operation: 64+22=86, Resulting Numbers: [41, 86]
Generated Node #0,3,3: 59:[41, 86] Operation: 64+22=86
Exploring Operation: 41-22=19, Resulting Numbers: [64, 19]
Generated Node #0,3,4: 59:[64, 19] Operation: 41-22=19
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 59:[64, 63], Operations: ['29-7=22', '41+22=63']
Exploring Operation: 64*63=4032, Resulting Numbers: [4032]
4032,59 unequal: No Solution
Exploring Operation: 64+63=127, Resulting Numbers: [127]
127,59 unequal: No Solution
Exploring Operation: 64-63=1, Resulting Numbers: [1]
1,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 59:[41, 42], Operations: ['29-7=22', '64-22=42']
Exploring Operation: 41+42=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 41*42=1722, Resulting Numbers: [1722]
1722,59 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 59:[41, 86], Operations: ['29-7=22', '64+22=86']
Exploring Operation: 41*86=3526, Resulting Numbers: [3526]
3526,59 unequal: No Solution
Exploring Operation: 86-41=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 41+86=127, Resulting Numbers: [127]
127,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 59:[64, 19], Operations: ['29-7=22', '41-22=19']
Exploring Operation: 64*19=1216, Resulting Numbers: [1216]
1216,59 unequal: No Solution
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 59:[22, 23], Operations: ['29-7=22', '64-41=23']
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,59 unequal: No Solution
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,59 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: 59:[29, 41, 71], Operations: ['64+7=71']
Exploring Operation: 71-41=30, Resulting Numbers: [29, 30]
Generated Node #0,4,0: 59:[29, 30] Operation: 71-41=30
Exploring Operation: 71-29=42, Resulting Numbers: [41, 42]
Generated Node #0,4,1: 59:[41, 42] Operation: 71-29=42
Exploring Operation: 29+71=100, Resulting Numbers: [41, 100]
Generated Node #0,4,2: 59:[41, 100] Operation: 29+71=100
Exploring Operation: 41-29=12, Resulting Numbers: [71, 12]
Generated Node #0,4,3: 59:[71, 12] Operation: 41-29=12
Exploring Operation: 29+41=70, Resulting Numbers: [71, 70]
Generated Node #0,4,4: 59:[71, 70] Operation: 29+41=70
Moving to Node #0,1,3
Current State: 59:[64, 77], Operations: ['29+7=36', '41+36=77']
Exploring Operation: 64*77=4928, Resulting Numbers: [4928]
4928,59 unequal: No Solution
Exploring Operation: 77-64=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Exploring Operation: 64+77=141, Resulting Numbers: [141]
141,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[64, 77], Operations: ['41+7=48', '29+48=77']
Exploring Operation: 64+77=141, Resulting Numbers: [141]
141,59 unequal: No Solution
Exploring Operation: 64*77=4928, Resulting Numbers: [4928]
4928,59 unequal: No Solution
Exploring Operation: 77-64=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Moving to Node #0,4,4
Current State: 59:[71, 70], Operations: ['64+7=71', '29+41=70']
Exploring Operation: 71*70=4970, Resulting Numbers: [4970]
4970,59 unequal: No Solution
Exploring Operation: 71+70=141, Resulting Numbers: [141]
141,59 unequal: No Solution
Exploring Operation: 71-70=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[48, 35], Operations: ['41+7=48', '64-29=35']
Exploring Operation: 48+35=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Exploring Operation: 48*35=1680, Resulting Numbers: [1680]
1680,59 unequal: No Solution
Moving to Node #0,4,1
Current State: 59:[41, 42], Operations: ['64+7=71', '71-29=42']
Exploring Operation: 41+42=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 41*42=1722, Resulting Numbers: [1722]
1722,59 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[48, 93], Operations: ['41+7=48', '29+64=93']
Exploring Operation: 48*93=4464, Resulting Numbers: [4464]
4464,59 unequal: No Solution
Exploring Operation: 48+93=141, Resulting Numbers: [141]
141,59 unequal: No Solution
Exploring Operation: 93-48=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[64, 19], Operations: ['41+7=48', '48-29=19']
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 64*19=1216, Resulting Numbers: [1216]
1216,59 unequal: No Solution
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[41, 28], Operations: ['29+7=36', '64-36=28']
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Exploring Operation: 41+28=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 41*28=1148, Resulting Numbers: [1148]
1148,59 unequal: No Solution
Moving to Node #0,4,2
Current State: 59:[41, 100], Operations: ['64+7=71', '29+71=100']
Exploring Operation: 41*100=4100, Resulting Numbers: [4100]
4100,59 unequal: No Solution
Exploring Operation: 100-41=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[29, 64, 41, 7], Operations: []
Exploring Operation: 64+7=71, Resulting Numbers: [29, 41, 71]
Generated Node #0,4: 59:[29, 41, 71] Operation: 64+7=71
Moving to Node #0,4
Current State: 59:[29, 41, 71], Operations: ['64+7=71']
Exploring Operation: 29+71=100, Resulting Numbers: [41, 100]
Generated Node #0,4,2: 59:[41, 100] Operation: 29+71=100
Moving to Node #0,4,2
Current State: 59:[41, 100], Operations: ['64+7=71', '29+71=100']
Exploring Operation: 100-41=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 0.921875 | hs_5 | mult_heuristic |
[
28,
76,
91,
67
] | 44 | [
"76+67=143",
"28*143=4004",
"4004/91=44"
] | Current State: 44:[28, 76, 91, 67], Operations: []
Exploring Operation: 76+67=143, Resulting Numbers: [28, 91, 143]
Generated Node #2: [28, 91, 143] from Operation: 76+67=143
Current State: 44:[28, 91, 143], Operations: ['76+67=143']
Exploring Operation: 28*143=4004, Resulting Numbers: [91, 4004]
Generated Node #3: [91, 4004] from Operation: 28*143=4004
Current State: 44:[91, 4004], Operations: ['76+67=143', '28*143=4004']
Exploring Operation: 4004/91=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[28, 76, 91, 67], Operations: []
Exploring Operation: 91-76=15, Resulting Numbers: [28, 67, 15]
Generated Node #0,0: 44:[28, 67, 15] Operation: 91-76=15
Exploring Operation: 91-67=24, Resulting Numbers: [28, 76, 24]
Generated Node #0,1: 44:[28, 76, 24] Operation: 91-67=24
Exploring Operation: 76-67=9, Resulting Numbers: [28, 91, 9]
Generated Node #0,2: 44:[28, 91, 9] Operation: 76-67=9
Exploring Operation: 76-28=48, Resulting Numbers: [91, 67, 48]
Generated Node #0,3: 44:[91, 67, 48] Operation: 76-28=48
Moving to Node #0,0
Current State: 44:[28, 67, 15], Operations: ['91-76=15']
Exploring Operation: 28+15=43, Resulting Numbers: [67, 43]
Generated Node #0,0,0: 44:[67, 43] Operation: 28+15=43
Exploring Operation: 67-28=39, Resulting Numbers: [15, 39]
Generated Node #0,0,1: 44:[15, 39] Operation: 67-28=39
Exploring Operation: 28-15=13, Resulting Numbers: [67, 13]
Generated Node #0,0,2: 44:[67, 13] Operation: 28-15=13
Exploring Operation: 67-15=52, Resulting Numbers: [28, 52]
Generated Node #0,0,3: 44:[28, 52] Operation: 67-15=52
Moving to Node #0,1
Current State: 44:[28, 76, 24], Operations: ['91-67=24']
Exploring Operation: 28-24=4, Resulting Numbers: [76, 4]
Generated Node #0,1,0: 44:[76, 4] Operation: 28-24=4
Exploring Operation: 76-24=52, Resulting Numbers: [28, 52]
Generated Node #0,1,1: 44:[28, 52] Operation: 76-24=52
Exploring Operation: 28+24=52, Resulting Numbers: [76, 52]
Generated Node #0,1,2: 44:[76, 52] Operation: 28+24=52
Exploring Operation: 76-28=48, Resulting Numbers: [24, 48]
Generated Node #0,1,3: 44:[24, 48] Operation: 76-28=48
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 44:[24, 48], Operations: ['91-67=24', '76-28=48']
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 24+48=72, Resulting Numbers: [72]
72,44 unequal: No Solution
Exploring Operation: 24*48=1152, Resulting Numbers: [1152]
1152,44 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[28, 52], Operations: ['91-67=24', '76-24=52']
Exploring Operation: 28+52=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 28*52=1456, Resulting Numbers: [1456]
1456,44 unequal: No Solution
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,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,0
Current State: 44:[76, 4], Operations: ['91-67=24', '28-24=4']
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,44 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,44 unequal: No Solution
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,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,2
Current State: 44:[76, 52], Operations: ['91-67=24', '28+24=52']
Exploring Operation: 76+52=128, Resulting Numbers: [128]
128,44 unequal: No Solution
Exploring Operation: 76-52=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 76*52=3952, Resulting Numbers: [3952]
3952,44 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: 44:[28, 91, 9], Operations: ['76-67=9']
Exploring Operation: 28+9=37, Resulting Numbers: [91, 37]
Generated Node #0,2,0: 44:[91, 37] Operation: 28+9=37
Exploring Operation: 91-9=82, Resulting Numbers: [28, 82]
Generated Node #0,2,1: 44:[28, 82] Operation: 91-9=82
Exploring Operation: 91-28=63, Resulting Numbers: [9, 63]
Generated Node #0,2,2: 44:[9, 63] Operation: 91-28=63
Exploring Operation: 28-9=19, Resulting Numbers: [91, 19]
Generated Node #0,2,3: 44:[91, 19] Operation: 28-9=19
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 44:[9, 63], Operations: ['76-67=9', '91-28=63']
Exploring Operation: 9*63=567, Resulting Numbers: [567]
567,44 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Exploring Operation: 9+63=72, Resulting Numbers: [72]
72,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,2,1
Current State: 44:[28, 82], Operations: ['76-67=9', '91-9=82']
Exploring Operation: 28+82=110, Resulting Numbers: [110]
110,44 unequal: No Solution
Exploring Operation: 82-28=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 28*82=2296, Resulting Numbers: [2296]
2296,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,2,3
Current State: 44:[91, 19], Operations: ['76-67=9', '28-9=19']
Exploring Operation: 91*19=1729, Resulting Numbers: [1729]
1729,44 unequal: No Solution
Exploring Operation: 91+19=110, Resulting Numbers: [110]
110,44 unequal: No Solution
Exploring Operation: 91-19=72, Resulting Numbers: [72]
72,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,2,0
Current State: 44:[91, 37], Operations: ['76-67=9', '28+9=37']
Exploring Operation: 91+37=128, Resulting Numbers: [128]
128,44 unequal: No Solution
Exploring Operation: 91-37=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 91*37=3367, Resulting Numbers: [3367]
3367,44 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: 44:[91, 67, 48], Operations: ['76-28=48']
Exploring Operation: 91-67=24, Resulting Numbers: [48, 24]
Generated Node #0,3,0: 44:[48, 24] Operation: 91-67=24
Exploring Operation: 67-48=19, Resulting Numbers: [91, 19]
Generated Node #0,3,1: 44:[91, 19] Operation: 67-48=19
Exploring Operation: 91+67=158, Resulting Numbers: [48, 158]
Generated Node #0,3,2: 44:[48, 158] Operation: 91+67=158
Exploring Operation: 91-48=43, Resulting Numbers: [67, 43]
Generated Node #0,3,3: 44:[67, 43] Operation: 91-48=43
Moving to Node #0,3,0
Current State: 44:[48, 24], Operations: ['76-28=48', '91-67=24']
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 48+24=72, Resulting Numbers: [72]
72,44 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 48*24=1152, Resulting Numbers: [1152]
1152,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[15, 39], Operations: ['91-76=15', '67-28=39']
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 15*39=585, Resulting Numbers: [585]
585,44 unequal: No Solution
Moving to Node #0,0,3
Current State: 44:[28, 52], Operations: ['91-76=15', '67-15=52']
Exploring Operation: 28+52=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 28*52=1456, Resulting Numbers: [1456]
1456,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[67, 43], Operations: ['91-76=15', '28+15=43']
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 67+43=110, Resulting Numbers: [110]
110,44 unequal: No Solution
Exploring Operation: 67*43=2881, Resulting Numbers: [2881]
2881,44 unequal: No Solution
Moving to Node #0,3,3
Current State: 44:[67, 43], Operations: ['76-28=48', '91-48=43']
Exploring Operation: 67*43=2881, Resulting Numbers: [2881]
2881,44 unequal: No Solution
Exploring Operation: 67+43=110, Resulting Numbers: [110]
110,44 unequal: No Solution
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[67, 13], Operations: ['91-76=15', '28-15=13']
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 67+13=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 67*13=871, Resulting Numbers: [871]
871,44 unequal: No Solution
Moving to Node #0,3,1
Current State: 44:[91, 19], Operations: ['76-28=48', '67-48=19']
Exploring Operation: 91+19=110, Resulting Numbers: [110]
110,44 unequal: No Solution
Exploring Operation: 91-19=72, Resulting Numbers: [72]
72,44 unequal: No Solution
Exploring Operation: 91*19=1729, Resulting Numbers: [1729]
1729,44 unequal: No Solution
Moving to Node #0,3,2
Current State: 44:[48, 158], Operations: ['76-28=48', '91+67=158']
Exploring Operation: 48+158=206, Resulting Numbers: [206]
206,44 unequal: No Solution
Exploring Operation: 48*158=7584, Resulting Numbers: [7584]
7584,44 unequal: No Solution
Exploring Operation: 158-48=110, Resulting Numbers: [110]
110,44 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
1,
24,
88,
44
] | 24 | [
"88/44=2",
"2-1=1",
"24*1=24"
] | Current State: 24:[1, 24, 88, 44], Operations: []
Exploring Operation: 88/44=2, Resulting Numbers: [1, 24, 2]
Generated Node #2: [1, 24, 2] from Operation: 88/44=2
Current State: 24:[1, 24, 2], Operations: ['88/44=2']
Exploring Operation: 2-1=1, Resulting Numbers: [24, 1]
Generated Node #3: [24, 1] from Operation: 2-1=1
Current State: 24:[24, 1], Operations: ['88/44=2', '2-1=1']
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[1, 24, 88, 44], Operations: []
Exploring Operation: 44-24=20, Resulting Numbers: [1, 88, 20]
Generated Node #0,0: 24:[1, 88, 20] Operation: 44-24=20
Exploring Operation: 88-44=44, Resulting Numbers: [1, 24, 44]
Generated Node #0,1: 24:[1, 24, 44] Operation: 88-44=44
Exploring Operation: 88/44=2, Resulting Numbers: [1, 24, 2]
Generated Node #0,2: 24:[1, 24, 2] Operation: 88/44=2
Exploring Operation: 88-24=64, Resulting Numbers: [1, 44, 64]
Generated Node #0,3: 24:[1, 44, 64] Operation: 88-24=64
Moving to Node #0,2
Current State: 24:[1, 24, 2], Operations: ['88/44=2']
Exploring Operation: 24/1=24, Resulting Numbers: [2, 24]
Generated Node #0,2,0: 24:[2, 24] Operation: 24/1=24
Exploring Operation: 1*2=2, Resulting Numbers: [24, 2]
Generated Node #0,2,1: 24:[24, 2] Operation: 1*2=2
Exploring Operation: 1*24=24, Resulting Numbers: [2, 24]
Generated Node #0,2,2: 24:[2, 24] Operation: 1*24=24
Exploring Operation: 1+2=3, Resulting Numbers: [24, 3]
Generated Node #0,2,3: 24:[24, 3] Operation: 1+2=3
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 24:[2, 24], Operations: ['88/44=2', '24/1=24']
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,24 unequal: No Solution
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 24:[24, 2], Operations: ['88/44=2', '1*2=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,24 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 24:[2, 24], Operations: ['88/44=2', '1*24=24']
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,24 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,24 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 24:[24, 3], Operations: ['88/44=2', '1+2=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,24 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,24 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: 24:[1, 24, 44], Operations: ['88-44=44']
Exploring Operation: 24/1=24, Resulting Numbers: [44, 24]
Generated Node #0,1,0: 24:[44, 24] Operation: 24/1=24
Exploring Operation: 1*24=24, Resulting Numbers: [44, 24]
Generated Node #0,1,1: 24:[44, 24] Operation: 1*24=24
Exploring Operation: 44-24=20, Resulting Numbers: [1, 20]
Generated Node #0,1,2: 24:[1, 20] Operation: 44-24=20
Exploring Operation: 44-1=43, Resulting Numbers: [24, 43]
Generated Node #0,1,3: 24:[24, 43] Operation: 44-1=43
Moving to Node #0,3
Current State: 24:[1, 44, 64], Operations: ['88-24=64']
Exploring Operation: 64-1=63, Resulting Numbers: [44, 63]
Generated Node #0,3,0: 24:[44, 63] Operation: 64-1=63
Exploring Operation: 64-44=20, Resulting Numbers: [1, 20]
Generated Node #0,3,1: 24:[1, 20] Operation: 64-44=20
Exploring Operation: 44-1=43, Resulting Numbers: [64, 43]
Generated Node #0,3,2: 24:[64, 43] Operation: 44-1=43
Exploring Operation: 1*44=44, Resulting Numbers: [64, 44]
Generated Node #0,3,3: 24:[64, 44] Operation: 1*44=44
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 24:[1, 20], Operations: ['88-24=64', '64-44=20']
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,24 unequal: No Solution
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 24:[44, 63], Operations: ['88-24=64', '64-1=63']
Exploring Operation: 44*63=2772, Resulting Numbers: [2772]
2772,24 unequal: No Solution
Exploring Operation: 44+63=107, Resulting Numbers: [107]
107,24 unequal: No Solution
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 24:[64, 43], Operations: ['88-24=64', '44-1=43']
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 64+43=107, Resulting Numbers: [107]
107,24 unequal: No Solution
Exploring Operation: 64*43=2752, Resulting Numbers: [2752]
2752,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 24:[64, 44], Operations: ['88-24=64', '1*44=44']
Exploring Operation: 64+44=108, Resulting Numbers: [108]
108,24 unequal: No Solution
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,24 unequal: No Solution
Exploring Operation: 64*44=2816, Resulting Numbers: [2816]
2816,24 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: 24:[1, 88, 20], Operations: ['44-24=20']
Exploring Operation: 88-1=87, Resulting Numbers: [20, 87]
Generated Node #0,0,0: 24:[20, 87] Operation: 88-1=87
Exploring Operation: 1*88=88, Resulting Numbers: [20, 88]
Generated Node #0,0,1: 24:[20, 88] Operation: 1*88=88
Exploring Operation: 88-20=68, Resulting Numbers: [1, 68]
Generated Node #0,0,2: 24:[1, 68] Operation: 88-20=68
Exploring Operation: 1+20=21, Resulting Numbers: [88, 21]
Generated Node #0,0,3: 24:[88, 21] Operation: 1+20=21
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 24:[1, 68], Operations: ['44-24=20', '88-20=68']
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,24 unequal: No Solution
Exploring Operation: 1*68=68, Resulting Numbers: [68]
68,24 unequal: No Solution
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,24 unequal: No Solution
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[20, 87], Operations: ['44-24=20', '88-1=87']
Exploring Operation: 87-20=67, Resulting Numbers: [67]
67,24 unequal: No Solution
Exploring Operation: 20*87=1740, Resulting Numbers: [1740]
1740,24 unequal: No Solution
Exploring Operation: 20+87=107, Resulting Numbers: [107]
107,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 24:[88, 21], Operations: ['44-24=20', '1+20=21']
Exploring Operation: 88*21=1848, Resulting Numbers: [1848]
1848,24 unequal: No Solution
Exploring Operation: 88-21=67, Resulting Numbers: [67]
67,24 unequal: No Solution
Exploring Operation: 88+21=109, Resulting Numbers: [109]
109,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[20, 88], Operations: ['44-24=20', '1*88=88']
Exploring Operation: 20+88=108, Resulting Numbers: [108]
108,24 unequal: No Solution
Exploring Operation: 88-20=68, Resulting Numbers: [68]
68,24 unequal: No Solution
Exploring Operation: 20*88=1760, Resulting Numbers: [1760]
1760,24 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: 24:[1, 20], Operations: ['88-44=44', '44-24=20']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,24 unequal: No Solution
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,24 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Moving to Node #0,1,3
Current State: 24:[24, 43], Operations: ['88-44=44', '44-1=43']
Exploring Operation: 24+43=67, Resulting Numbers: [67]
67,24 unequal: No Solution
Exploring Operation: 43-24=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 24*43=1032, Resulting Numbers: [1032]
1032,24 unequal: No Solution
Moving to Node #0,1,1
Current State: 24:[44, 24], Operations: ['88-44=44', '1*24=24']
Exploring Operation: 44*24=1056, Resulting Numbers: [1056]
1056,24 unequal: No Solution
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,24 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[44, 24], Operations: ['88-44=44', '24/1=24']
Exploring Operation: 44*24=1056, Resulting Numbers: [1056]
1056,24 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,24 unequal: No Solution
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,24 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
62,
14,
52,
70
] | 60 | [
"70-62=8",
"14*8=112",
"112-52=60"
] | Current State: 60:[62, 14, 52, 70], Operations: []
Exploring Operation: 70-62=8, Resulting Numbers: [14, 52, 8]
Generated Node #2: [14, 52, 8] from Operation: 70-62=8
Current State: 60:[14, 52, 8], Operations: ['70-62=8']
Exploring Operation: 14*8=112, Resulting Numbers: [52, 112]
Generated Node #3: [52, 112] from Operation: 14*8=112
Current State: 60:[52, 112], Operations: ['70-62=8', '14*8=112']
Exploring Operation: 112-52=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[62, 14, 52, 70], Operations: []
Exploring Operation: 70/14=5, Resulting Numbers: [62, 52, 5]
Generated Node #0,0: 60:[62, 52, 5] Operation: 70/14=5
Exploring Operation: 70-52=18, Resulting Numbers: [62, 14, 18]
Generated Node #0,1: 60:[62, 14, 18] Operation: 70-52=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[62, 14, 18], Operations: ['70-52=18']
Exploring Operation: 18-14=4, Resulting Numbers: [62, 4]
Generated Node #0,1,0: 60:[62, 4] Operation: 18-14=4
Exploring Operation: 14+18=32, Resulting Numbers: [62, 32]
Generated Node #0,1,1: 60:[62, 32] Operation: 14+18=32
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[62, 4], Operations: ['70-52=18', '18-14=4']
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,60 unequal: No Solution
No 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: 60:[62, 32], Operations: ['70-52=18', '14+18=32']
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 62+32=94, Resulting Numbers: [94]
94,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[62, 52, 5], Operations: ['70/14=5']
Exploring Operation: 52+5=57, Resulting Numbers: [62, 57]
Generated Node #0,0,0: 60:[62, 57] Operation: 52+5=57
Exploring Operation: 62-52=10, Resulting Numbers: [5, 10]
Generated Node #0,0,1: 60:[5, 10] Operation: 62-52=10
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[5, 10], Operations: ['70/14=5', '62-52=10']
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,60 unequal: No Solution
No 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: 60:[62, 57], Operations: ['70/14=5', '52+5=57']
Exploring Operation: 62+57=119, Resulting Numbers: [119]
119,60 unequal: No Solution
Exploring Operation: 62-57=5, Resulting Numbers: [5]
5,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
83,
17,
70,
15
] | 88 | [
"70+15=85",
"85/17=5",
"83+5=88"
] | Current State: 88:[83, 17, 70, 15], Operations: []
Exploring Operation: 70+15=85, Resulting Numbers: [83, 17, 85]
Generated Node #2: [83, 17, 85] from Operation: 70+15=85
Current State: 88:[83, 17, 85], Operations: ['70+15=85']
Exploring Operation: 85/17=5, Resulting Numbers: [83, 5]
Generated Node #3: [83, 5] from Operation: 85/17=5
Current State: 88:[83, 5], Operations: ['70+15=85', '85/17=5']
Exploring Operation: 83+5=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[83, 17, 70, 15], Operations: []
Exploring Operation: 83-70=13, Resulting Numbers: [17, 15, 13]
Generated Node #0,0: 88:[17, 15, 13] Operation: 83-70=13
Exploring Operation: 70+15=85, Resulting Numbers: [83, 17, 85]
Generated Node #0,1: 88:[83, 17, 85] Operation: 70+15=85
Exploring Operation: 70-17=53, Resulting Numbers: [83, 15, 53]
Generated Node #0,2: 88:[83, 15, 53] Operation: 70-17=53
Exploring Operation: 17+70=87, Resulting Numbers: [83, 15, 87]
Generated Node #0,3: 88:[83, 15, 87] Operation: 17+70=87
Moving to Node #0,3
Current State: 88:[83, 15, 87], Operations: ['17+70=87']
Exploring Operation: 83+15=98, Resulting Numbers: [87, 98]
Generated Node #0,3,0: 88:[87, 98] Operation: 83+15=98
Exploring Operation: 87-83=4, Resulting Numbers: [15, 4]
Generated Node #0,3,1: 88:[15, 4] Operation: 87-83=4
Exploring Operation: 83-15=68, Resulting Numbers: [87, 68]
Generated Node #0,3,2: 88:[87, 68] Operation: 83-15=68
Exploring Operation: 15+87=102, Resulting Numbers: [83, 102]
Generated Node #0,3,3: 88:[83, 102] Operation: 15+87=102
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 88:[15, 4], Operations: ['17+70=87', '87-83=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,88 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 88:[87, 98], Operations: ['17+70=87', '83+15=98']
Exploring Operation: 87+98=185, Resulting Numbers: [185]
185,88 unequal: No Solution
Exploring Operation: 98-87=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 87*98=8526, Resulting Numbers: [8526]
8526,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 88:[83, 102], Operations: ['17+70=87', '15+87=102']
Exploring Operation: 102-83=19, Resulting Numbers: [19]
19,88 unequal: No Solution
Exploring Operation: 83+102=185, Resulting Numbers: [185]
185,88 unequal: No Solution
Exploring Operation: 83*102=8466, Resulting Numbers: [8466]
8466,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 88:[87, 68], Operations: ['17+70=87', '83-15=68']
Exploring Operation: 87+68=155, Resulting Numbers: [155]
155,88 unequal: No Solution
Exploring Operation: 87*68=5916, Resulting Numbers: [5916]
5916,88 unequal: No Solution
Exploring Operation: 87-68=19, Resulting Numbers: [19]
19,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 88:[17, 15, 13], Operations: ['83-70=13']
Exploring Operation: 15-13=2, Resulting Numbers: [17, 2]
Generated Node #0,0,0: 88:[17, 2] Operation: 15-13=2
Exploring Operation: 17-13=4, Resulting Numbers: [15, 4]
Generated Node #0,0,1: 88:[15, 4] Operation: 17-13=4
Exploring Operation: 15+13=28, Resulting Numbers: [17, 28]
Generated Node #0,0,2: 88:[17, 28] Operation: 15+13=28
Exploring Operation: 17-15=2, Resulting Numbers: [13, 2]
Generated Node #0,0,3: 88:[13, 2] Operation: 17-15=2
Moving to Node #0,1
Current State: 88:[83, 17, 85], Operations: ['70+15=85']
Exploring Operation: 85-83=2, Resulting Numbers: [17, 2]
Generated Node #0,1,0: 88:[17, 2] Operation: 85-83=2
Exploring Operation: 83+17=100, Resulting Numbers: [85, 100]
Generated Node #0,1,1: 88:[85, 100] Operation: 83+17=100
Exploring Operation: 17+85=102, Resulting Numbers: [83, 102]
Generated Node #0,1,2: 88:[83, 102] Operation: 17+85=102
Exploring Operation: 85/17=5, Resulting Numbers: [83, 5]
Generated Node #0,1,3: 88:[83, 5] Operation: 85/17=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[17, 2], Operations: ['70+15=85', '85-83=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,88 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 88:[83, 5], Operations: ['70+15=85', '85/17=5']
Exploring Operation: 83-5=78, Resulting Numbers: [78]
78,88 unequal: No Solution
Exploring Operation: 83*5=415, Resulting Numbers: [415]
415,88 unequal: No Solution
Exploring Operation: 83+5=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[83, 17, 70, 15], Operations: []
Exploring Operation: 70+15=85, Resulting Numbers: [83, 17, 85]
Generated Node #0,1: 88:[83, 17, 85] Operation: 70+15=85
Moving to Node #0,1
Current State: 88:[83, 17, 85], Operations: ['70+15=85']
Exploring Operation: 85/17=5, Resulting Numbers: [83, 5]
Generated Node #0,1,3: 88:[83, 5] Operation: 85/17=5
Moving to Node #0,1,3
Current State: 88:[83, 5], Operations: ['70+15=85', '85/17=5']
Exploring Operation: 83+5=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | sum_heuristic |
[
37,
2,
57,
30
] | 40 | [
"57-37=20",
"2*30=60",
"60-20=40"
] | Current State: 40:[37, 2, 57, 30], Operations: []
Exploring Operation: 57-37=20, Resulting Numbers: [2, 30, 20]
Generated Node #2: [2, 30, 20] from Operation: 57-37=20
Current State: 40:[2, 30, 20], Operations: ['57-37=20']
Exploring Operation: 2*30=60, Resulting Numbers: [20, 60]
Generated Node #3: [20, 60] from Operation: 2*30=60
Current State: 40:[20, 60], Operations: ['57-37=20', '2*30=60']
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[37, 2, 57, 30], Operations: []
Exploring Operation: 57-37=20, Resulting Numbers: [2, 30, 20]
Generated Node #0,0: 40:[2, 30, 20] Operation: 57-37=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[2, 30, 20], Operations: ['57-37=20']
Exploring Operation: 30-20=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 40:[2, 10] Operation: 30-20=10
Moving to Node #0,0,0
Current State: 40:[2, 10], Operations: ['57-37=20', '30-20=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,40 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 |
[
73,
52,
66,
72
] | 13 | [
"73+52=125",
"66+72=138",
"138-125=13"
] | Current State: 13:[73, 52, 66, 72], Operations: []
Exploring Operation: 73+52=125, Resulting Numbers: [66, 72, 125]
Generated Node #2: [66, 72, 125] from Operation: 73+52=125
Current State: 13:[66, 72, 125], Operations: ['73+52=125']
Exploring Operation: 66+72=138, Resulting Numbers: [125, 138]
Generated Node #3: [125, 138] from Operation: 66+72=138
Current State: 13:[125, 138], Operations: ['73+52=125', '66+72=138']
Exploring Operation: 138-125=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[73, 52, 66, 72], Operations: []
Exploring Operation: 73-72=1, Resulting Numbers: [52, 66, 1]
Generated Node #0,0: 13:[52, 66, 1] Operation: 73-72=1
Exploring Operation: 73-66=7, Resulting Numbers: [52, 72, 7]
Generated Node #0,1: 13:[52, 72, 7] Operation: 73-66=7
Exploring Operation: 72-66=6, Resulting Numbers: [73, 52, 6]
Generated Node #0,2: 13:[73, 52, 6] Operation: 72-66=6
Moving to Node #0,0
Current State: 13:[52, 66, 1], Operations: ['73-72=1']
Exploring Operation: 52-1=51, Resulting Numbers: [66, 51]
Generated Node #0,0,0: 13:[66, 51] Operation: 52-1=51
Exploring Operation: 66-1=65, Resulting Numbers: [52, 65]
Generated Node #0,0,1: 13:[52, 65] Operation: 66-1=65
Exploring Operation: 66-52=14, Resulting Numbers: [1, 14]
Generated Node #0,0,2: 13:[1, 14] Operation: 66-52=14
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 13:[1, 14], Operations: ['73-72=1', '66-52=14']
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[73, 52, 66, 72], Operations: []
Exploring Operation: 73-72=1, Resulting Numbers: [52, 66, 1]
Generated Node #0,0: 13:[52, 66, 1] Operation: 73-72=1
Moving to Node #0,0
Current State: 13:[52, 66, 1], Operations: ['73-72=1']
Exploring Operation: 66-52=14, Resulting Numbers: [1, 14]
Generated Node #0,0,2: 13:[1, 14] Operation: 66-52=14
Moving to Node #0,0,2
Current State: 13:[1, 14], Operations: ['73-72=1', '66-52=14']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
78,
10,
89,
76
] | 55 | [
"78-10=68",
"89-76=13",
"68-13=55"
] | Current State: 55:[78, 10, 89, 76], Operations: []
Exploring Operation: 78-10=68, Resulting Numbers: [89, 76, 68]
Generated Node #2: [89, 76, 68] from Operation: 78-10=68
Current State: 55:[89, 76, 68], Operations: ['78-10=68']
Exploring Operation: 89-76=13, Resulting Numbers: [68, 13]
Generated Node #3: [68, 13] from Operation: 89-76=13
Current State: 55:[68, 13], Operations: ['78-10=68', '89-76=13']
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[78, 10, 89, 76], Operations: []
Exploring Operation: 89-78=11, Resulting Numbers: [10, 76, 11]
Generated Node #0,0: 55:[10, 76, 11] Operation: 89-78=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[10, 76, 11], Operations: ['89-78=11']
Exploring Operation: 76-10=66, Resulting Numbers: [11, 66]
Generated Node #0,0,0: 55:[11, 66] Operation: 76-10=66
Moving to Node #0,0,0
Current State: 55:[11, 66], Operations: ['89-78=11', '76-10=66']
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[78, 10, 89, 76], Operations: []
Exploring Operation: 89-78=11, Resulting Numbers: [10, 76, 11]
Generated Node #0,0: 55:[10, 76, 11] Operation: 89-78=11
Moving to Node #0,0
Current State: 55:[10, 76, 11], Operations: ['89-78=11']
Exploring Operation: 76-10=66, Resulting Numbers: [11, 66]
Generated Node #0,0,0: 55:[11, 66] Operation: 76-10=66
Moving to Node #0,0,0
Current State: 55:[11, 66], Operations: ['89-78=11', '76-10=66']
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
58,
99,
32,
88
] | 94 | [
"99*32=3168",
"3168/88=36",
"58+36=94"
] | Current State: 94:[58, 99, 32, 88], Operations: []
Exploring Operation: 99*32=3168, Resulting Numbers: [58, 88, 3168]
Generated Node #2: [58, 88, 3168] from Operation: 99*32=3168
Current State: 94:[58, 88, 3168], Operations: ['99*32=3168']
Exploring Operation: 3168/88=36, Resulting Numbers: [58, 36]
Generated Node #3: [58, 36] from Operation: 3168/88=36
Current State: 94:[58, 36], Operations: ['99*32=3168', '3168/88=36']
Exploring Operation: 58+36=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[58, 99, 32, 88], Operations: []
Exploring Operation: 88-32=56, Resulting Numbers: [58, 99, 56]
Generated Node #0,0: 94:[58, 99, 56] Operation: 88-32=56
Exploring Operation: 58+32=90, Resulting Numbers: [99, 88, 90]
Generated Node #0,1: 94:[99, 88, 90] Operation: 58+32=90
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[99, 88, 90], Operations: ['58+32=90']
Exploring Operation: 90-88=2, Resulting Numbers: [99, 2]
Generated Node #0,1,0: 94:[99, 2] Operation: 90-88=2
Exploring Operation: 99-88=11, Resulting Numbers: [90, 11]
Generated Node #0,1,1: 94:[90, 11] Operation: 99-88=11
Moving to Node #0,1,0
Current State: 94:[99, 2], Operations: ['58+32=90', '90-88=2']
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,94 unequal: No Solution
Exploring Operation: 99+2=101, Resulting Numbers: [101]
101,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[90, 11], Operations: ['58+32=90', '99-88=11']
Exploring Operation: 90+11=101, Resulting Numbers: [101]
101,94 unequal: No Solution
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[58, 99, 56], Operations: ['88-32=56']
Exploring Operation: 58-56=2, Resulting Numbers: [99, 2]
Generated Node #0,0,0: 94:[99, 2] Operation: 58-56=2
Exploring Operation: 99-58=41, Resulting Numbers: [56, 41]
Generated Node #0,0,1: 94:[56, 41] Operation: 99-58=41
Moving to Node #0,0,0
Current State: 94:[99, 2], Operations: ['88-32=56', '58-56=2']
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,94 unequal: No Solution
Exploring Operation: 99+2=101, Resulting Numbers: [101]
101,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[56, 41], Operations: ['88-32=56', '99-58=41']
Exploring Operation: 56+41=97, Resulting Numbers: [97]
97,94 unequal: No Solution
Exploring Operation: 56-41=15, Resulting Numbers: [15]
15,94 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 |
[
9,
27,
33,
16
] | 14 | [
"27/9=3",
"33-16=17",
"17-3=14"
] | Current State: 14:[9, 27, 33, 16], Operations: []
Exploring Operation: 27/9=3, Resulting Numbers: [33, 16, 3]
Generated Node #2: [33, 16, 3] from Operation: 27/9=3
Current State: 14:[33, 16, 3], Operations: ['27/9=3']
Exploring Operation: 33-16=17, Resulting Numbers: [3, 17]
Generated Node #3: [3, 17] from Operation: 33-16=17
Current State: 14:[3, 17], Operations: ['27/9=3', '33-16=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[9, 27, 33, 16], Operations: []
Exploring Operation: 33-16=17, Resulting Numbers: [9, 27, 17]
Generated Node #0,0: 14:[9, 27, 17] Operation: 33-16=17
Exploring Operation: 27-16=11, Resulting Numbers: [9, 33, 11]
Generated Node #0,1: 14:[9, 33, 11] Operation: 27-16=11
Exploring Operation: 27/9=3, Resulting Numbers: [33, 16, 3]
Generated Node #0,2: 14:[33, 16, 3] Operation: 27/9=3
Exploring Operation: 33-27=6, Resulting Numbers: [9, 16, 6]
Generated Node #0,3: 14:[9, 16, 6] Operation: 33-27=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[9, 16, 6], Operations: ['33-27=6']
Exploring Operation: 16-6=10, Resulting Numbers: [9, 10]
Generated Node #0,3,0: 14:[9, 10] Operation: 16-6=10
Exploring Operation: 9+6=15, Resulting Numbers: [16, 15]
Generated Node #0,3,1: 14:[16, 15] Operation: 9+6=15
Exploring Operation: 16-9=7, Resulting Numbers: [6, 7]
Generated Node #0,3,2: 14:[6, 7] Operation: 16-9=7
Exploring Operation: 9-6=3, Resulting Numbers: [16, 3]
Generated Node #0,3,3: 14:[16, 3] Operation: 9-6=3
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 14:[6, 7], Operations: ['33-27=6', '16-9=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,14 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 14:[16, 15], Operations: ['33-27=6', '9+6=15']
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,14 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 14:[16, 3], Operations: ['33-27=6', '9-6=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 14:[9, 10], Operations: ['33-27=6', '16-6=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,14 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[9, 27, 17], Operations: ['33-16=17']
Exploring Operation: 17-9=8, Resulting Numbers: [27, 8]
Generated Node #0,0,0: 14:[27, 8] Operation: 17-9=8
Exploring Operation: 27/9=3, Resulting Numbers: [17, 3]
Generated Node #0,0,1: 14:[17, 3] Operation: 27/9=3
Exploring Operation: 27-9=18, Resulting Numbers: [17, 18]
Generated Node #0,0,2: 14:[17, 18] Operation: 27-9=18
Exploring Operation: 27-17=10, Resulting Numbers: [9, 10]
Generated Node #0,0,3: 14:[9, 10] Operation: 27-17=10
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 14:[17, 3], Operations: ['33-16=17', '27/9=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[9, 27, 33, 16], Operations: []
Exploring Operation: 33-16=17, Resulting Numbers: [9, 27, 17]
Generated Node #0,0: 14:[9, 27, 17] Operation: 33-16=17
Moving to Node #0,0
Current State: 14:[9, 27, 17], Operations: ['33-16=17']
Exploring Operation: 27/9=3, Resulting Numbers: [17, 3]
Generated Node #0,0,1: 14:[17, 3] Operation: 27/9=3
Moving to Node #0,0,1
Current State: 14:[17, 3], Operations: ['33-16=17', '27/9=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
32,
54,
38,
29
] | 56 | [
"32-29=3",
"54/3=18",
"38+18=56"
] | Current State: 56:[32, 54, 38, 29], Operations: []
Exploring Operation: 32-29=3, Resulting Numbers: [54, 38, 3]
Generated Node #2: [54, 38, 3] from Operation: 32-29=3
Current State: 56:[54, 38, 3], Operations: ['32-29=3']
Exploring Operation: 54/3=18, Resulting Numbers: [38, 18]
Generated Node #3: [38, 18] from Operation: 54/3=18
Current State: 56:[38, 18], Operations: ['32-29=3', '54/3=18']
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[32, 54, 38, 29], Operations: []
Exploring Operation: 54-38=16, Resulting Numbers: [32, 29, 16]
Generated Node #0,0: 56:[32, 29, 16] Operation: 54-38=16
Exploring Operation: 38-32=6, Resulting Numbers: [54, 29, 6]
Generated Node #0,1: 56:[54, 29, 6] Operation: 38-32=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[54, 29, 6], Operations: ['38-32=6']
Exploring Operation: 54/6=9, Resulting Numbers: [29, 9]
Generated Node #0,1,0: 56:[29, 9] Operation: 54/6=9
Exploring Operation: 54-29=25, Resulting Numbers: [6, 25]
Generated Node #0,1,1: 56:[6, 25] Operation: 54-29=25
Moving to Node #0,1,0
Current State: 56:[29, 9], Operations: ['38-32=6', '54/6=9']
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,56 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[6, 25], Operations: ['38-32=6', '54-29=25']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[32, 29, 16], Operations: ['54-38=16']
Exploring Operation: 32-29=3, Resulting Numbers: [16, 3]
Generated Node #0,0,0: 56:[16, 3] Operation: 32-29=3
Exploring Operation: 32/16=2, Resulting Numbers: [29, 2]
Generated Node #0,0,1: 56:[29, 2] Operation: 32/16=2
Moving to Node #0,0,1
Current State: 56:[29, 2], Operations: ['54-38=16', '32/16=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[16, 3], Operations: ['54-38=16', '32-29=3']
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,56 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 |
[
66,
38,
81,
37
] | 15 | [
"81-66=15",
"38-37=1",
"15*1=15"
] | Current State: 15:[66, 38, 81, 37], Operations: []
Exploring Operation: 81-66=15, Resulting Numbers: [38, 37, 15]
Generated Node #2: [38, 37, 15] from Operation: 81-66=15
Current State: 15:[38, 37, 15], Operations: ['81-66=15']
Exploring Operation: 38-37=1, Resulting Numbers: [15, 1]
Generated Node #3: [15, 1] from Operation: 38-37=1
Current State: 15:[15, 1], Operations: ['81-66=15', '38-37=1']
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[66, 38, 81, 37], Operations: []
Exploring Operation: 81-66=15, Resulting Numbers: [38, 37, 15]
Generated Node #0,0: 15:[38, 37, 15] Operation: 81-66=15
Moving to Node #0,0
Current State: 15:[38, 37, 15], Operations: ['81-66=15']
Exploring Operation: 38-37=1, Resulting Numbers: [15, 1]
Generated Node #0,0,0: 15:[15, 1] Operation: 38-37=1
Moving to Node #0,0,0
Current State: 15:[15, 1], Operations: ['81-66=15', '38-37=1']
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[66, 38, 81, 37], Operations: []
Exploring Operation: 81-66=15, Resulting Numbers: [38, 37, 15]
Generated Node #0,0: 15:[38, 37, 15] Operation: 81-66=15
Moving to Node #0,0
Current State: 15:[38, 37, 15], Operations: ['81-66=15']
Exploring Operation: 38-37=1, Resulting Numbers: [15, 1]
Generated Node #0,0,0: 15:[15, 1] Operation: 38-37=1
Moving to Node #0,0,0
Current State: 15:[15, 1], Operations: ['81-66=15', '38-37=1']
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
52,
53,
31,
94
] | 54 | [
"31*94=2914",
"2914-52=2862",
"2862/53=54"
] | Current State: 54:[52, 53, 31, 94], Operations: []
Exploring Operation: 31*94=2914, Resulting Numbers: [52, 53, 2914]
Generated Node #2: [52, 53, 2914] from Operation: 31*94=2914
Current State: 54:[52, 53, 2914], Operations: ['31*94=2914']
Exploring Operation: 2914-52=2862, Resulting Numbers: [53, 2862]
Generated Node #3: [53, 2862] from Operation: 2914-52=2862
Current State: 54:[53, 2862], Operations: ['31*94=2914', '2914-52=2862']
Exploring Operation: 2862/53=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[52, 53, 31, 94], Operations: []
Exploring Operation: 53-52=1, Resulting Numbers: [31, 94, 1]
Generated Node #0,0: 54:[31, 94, 1] Operation: 53-52=1
Exploring Operation: 94-31=63, Resulting Numbers: [52, 53, 63]
Generated Node #0,1: 54:[52, 53, 63] Operation: 94-31=63
Exploring Operation: 52-31=21, Resulting Numbers: [53, 94, 21]
Generated Node #0,2: 54:[53, 94, 21] Operation: 52-31=21
Exploring Operation: 94-53=41, Resulting Numbers: [52, 31, 41]
Generated Node #0,3: 54:[52, 31, 41] Operation: 94-53=41
Exploring Operation: 94-52=42, Resulting Numbers: [53, 31, 42]
Generated Node #0,4: 54:[53, 31, 42] Operation: 94-52=42
Moving to Node #0,1
Current State: 54:[52, 53, 63], Operations: ['94-31=63']
Exploring Operation: 63-53=10, Resulting Numbers: [52, 10]
Generated Node #0,1,0: 54:[52, 10] Operation: 63-53=10
Exploring Operation: 53-52=1, Resulting Numbers: [63, 1]
Generated Node #0,1,1: 54:[63, 1] Operation: 53-52=1
Exploring Operation: 63-52=11, Resulting Numbers: [53, 11]
Generated Node #0,1,2: 54:[53, 11] Operation: 63-52=11
Exploring Operation: 52+53=105, Resulting Numbers: [63, 105]
Generated Node #0,1,3: 54:[63, 105] Operation: 52+53=105
Exploring Operation: 52+63=115, Resulting Numbers: [53, 115]
Generated Node #0,1,4: 54:[53, 115] Operation: 52+63=115
Moving to Node #0,4
Current State: 54:[53, 31, 42], Operations: ['94-52=42']
Exploring Operation: 53-42=11, Resulting Numbers: [31, 11]
Generated Node #0,4,0: 54:[31, 11] Operation: 53-42=11
Exploring Operation: 53+31=84, Resulting Numbers: [42, 84]
Generated Node #0,4,1: 54:[42, 84] Operation: 53+31=84
Exploring Operation: 53-31=22, Resulting Numbers: [42, 22]
Generated Node #0,4,2: 54:[42, 22] Operation: 53-31=22
Exploring Operation: 42-31=11, Resulting Numbers: [53, 11]
Generated Node #0,4,3: 54:[53, 11] Operation: 42-31=11
Exploring Operation: 31+42=73, Resulting Numbers: [53, 73]
Generated Node #0,4,4: 54:[53, 73] Operation: 31+42=73
Moving to Node #0,3
Current State: 54:[52, 31, 41], Operations: ['94-53=41']
Exploring Operation: 52+31=83, Resulting Numbers: [41, 83]
Generated Node #0,3,0: 54:[41, 83] Operation: 52+31=83
Exploring Operation: 52-41=11, Resulting Numbers: [31, 11]
Generated Node #0,3,1: 54:[31, 11] Operation: 52-41=11
Exploring Operation: 31+41=72, Resulting Numbers: [52, 72]
Generated Node #0,3,2: 54:[52, 72] Operation: 31+41=72
Exploring Operation: 52-31=21, Resulting Numbers: [41, 21]
Generated Node #0,3,3: 54:[41, 21] Operation: 52-31=21
Exploring Operation: 41-31=10, Resulting Numbers: [52, 10]
Generated Node #0,3,4: 54:[52, 10] Operation: 41-31=10
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 54:[52, 10], Operations: ['94-53=41', '41-31=10']
Exploring Operation: 52*10=520, Resulting Numbers: [520]
520,54 unequal: No Solution
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,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,3,1
Current State: 54:[31, 11], Operations: ['94-53=41', '52-41=11']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,54 unequal: No Solution
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,54 unequal: No Solution
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,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,3,3
Current State: 54:[41, 21], Operations: ['94-53=41', '52-31=21']
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,54 unequal: No Solution
Exploring Operation: 41*21=861, Resulting Numbers: [861]
861,54 unequal: No Solution
Exploring Operation: 41+21=62, Resulting Numbers: [62]
62,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,3,2
Current State: 54:[52, 72], Operations: ['94-53=41', '31+41=72']
Exploring Operation: 52*72=3744, Resulting Numbers: [3744]
3744,54 unequal: No Solution
Exploring Operation: 52+72=124, Resulting Numbers: [124]
124,54 unequal: No Solution
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,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,3,0
Current State: 54:[41, 83], Operations: ['94-53=41', '52+31=83']
Exploring Operation: 41+83=124, Resulting Numbers: [124]
124,54 unequal: No Solution
Exploring Operation: 41*83=3403, Resulting Numbers: [3403]
3403,54 unequal: No Solution
Exploring Operation: 83-41=42, Resulting Numbers: [42]
42,54 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: 54:[53, 94, 21], Operations: ['52-31=21']
Exploring Operation: 94+21=115, Resulting Numbers: [53, 115]
Generated Node #0,2,0: 54:[53, 115] Operation: 94+21=115
Exploring Operation: 94-53=41, Resulting Numbers: [21, 41]
Generated Node #0,2,1: 54:[21, 41] Operation: 94-53=41
Exploring Operation: 94-21=73, Resulting Numbers: [53, 73]
Generated Node #0,2,2: 54:[53, 73] Operation: 94-21=73
Exploring Operation: 53-21=32, Resulting Numbers: [94, 32]
Generated Node #0,2,3: 54:[94, 32] Operation: 53-21=32
Exploring Operation: 53+21=74, Resulting Numbers: [94, 74]
Generated Node #0,2,4: 54:[94, 74] Operation: 53+21=74
Moving to Node #0,0
Current State: 54:[31, 94, 1], Operations: ['53-52=1']
Exploring Operation: 94-31=63, Resulting Numbers: [1, 63]
Generated Node #0,0,0: 54:[1, 63] Operation: 94-31=63
Exploring Operation: 31-1=30, Resulting Numbers: [94, 30]
Generated Node #0,0,1: 54:[94, 30] Operation: 31-1=30
Exploring Operation: 31*1=31, Resulting Numbers: [94, 31]
Generated Node #0,0,2: 54:[94, 31] Operation: 31*1=31
Exploring Operation: 31/1=31, Resulting Numbers: [94, 31]
Generated Node #0,0,3: 54:[94, 31] Operation: 31/1=31
Exploring Operation: 94-1=93, Resulting Numbers: [31, 93]
Generated Node #0,0,4: 54:[31, 93] Operation: 94-1=93
Moving to Node #0,1,0
Current State: 54:[52, 10], Operations: ['94-31=63', '63-53=10']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 52*10=520, Resulting Numbers: [520]
520,54 unequal: No Solution
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Moving to Node #0,4,3
Current State: 54:[53, 11], Operations: ['94-52=42', '42-31=11']
Exploring Operation: 53+11=64, Resulting Numbers: [64]
64,54 unequal: No Solution
Exploring Operation: 53*11=583, Resulting Numbers: [583]
583,54 unequal: No Solution
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[53, 11], Operations: ['94-31=63', '63-52=11']
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 53*11=583, Resulting Numbers: [583]
583,54 unequal: No Solution
Exploring Operation: 53+11=64, Resulting Numbers: [64]
64,54 unequal: No Solution
Moving to Node #0,4,0
Current State: 54:[31, 11], Operations: ['94-52=42', '53-42=11']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,54 unequal: No Solution
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,54 unequal: No Solution
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[63, 1], Operations: ['94-31=63', '53-52=1']
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,54 unequal: No Solution
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,54 unequal: No Solution
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[1, 63], Operations: ['53-52=1', '94-31=63']
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,54 unequal: No Solution
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,54 unequal: No Solution
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 1+63=64, Resulting Numbers: [64]
64,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[21, 41], Operations: ['52-31=21', '94-53=41']
Exploring Operation: 21+41=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 21*41=861, Resulting Numbers: [861]
861,54 unequal: No Solution
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,54 unequal: No Solution
Moving to Node #0,4,2
Current State: 54:[42, 22], Operations: ['94-52=42', '53-31=22']
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,54 unequal: No Solution
Exploring Operation: 42*22=924, Resulting Numbers: [924]
924,54 unequal: No Solution
Exploring Operation: 42+22=64, Resulting Numbers: [64]
64,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[53, 73], Operations: ['52-31=21', '94-21=73']
Exploring Operation: 53*73=3869, Resulting Numbers: [3869]
3869,54 unequal: No Solution
Exploring Operation: 53+73=126, Resulting Numbers: [126]
126,54 unequal: No Solution
Exploring Operation: 73-53=20, Resulting Numbers: [20]
20,54 unequal: No Solution
Moving to Node #0,4,4
Current State: 54:[53, 73], Operations: ['94-52=42', '31+42=73']
Exploring Operation: 53*73=3869, Resulting Numbers: [3869]
3869,54 unequal: No Solution
Exploring Operation: 53+73=126, Resulting Numbers: [126]
126,54 unequal: No Solution
Exploring Operation: 73-53=20, Resulting Numbers: [20]
20,54 unequal: No Solution
Moving to Node #0,4,1
Current State: 54:[42, 84], Operations: ['94-52=42', '53+31=84']
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 42+84=126, Resulting Numbers: [126]
126,54 unequal: No Solution
Exploring Operation: 42*84=3528, Resulting Numbers: [3528]
3528,54 unequal: No Solution
Exploring Operation: 84/42=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Moving to Node #0,0,4
Current State: 54:[31, 93], Operations: ['53-52=1', '94-1=93']
Exploring Operation: 31*93=2883, Resulting Numbers: [2883]
2883,54 unequal: No Solution
Exploring Operation: 93-31=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 31+93=124, Resulting Numbers: [124]
124,54 unequal: No Solution
Exploring Operation: 93/31=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[94, 30], Operations: ['53-52=1', '31-1=30']
Exploring Operation: 94-30=64, Resulting Numbers: [64]
64,54 unequal: No Solution
Exploring Operation: 94+30=124, Resulting Numbers: [124]
124,54 unequal: No Solution
Exploring Operation: 94*30=2820, Resulting Numbers: [2820]
2820,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[94, 31], Operations: ['53-52=1', '31*1=31']
Exploring Operation: 94+31=125, Resulting Numbers: [125]
125,54 unequal: No Solution
Exploring Operation: 94-31=63, Resulting Numbers: [63]
63,54 unequal: No Solution
Exploring Operation: 94*31=2914, Resulting Numbers: [2914]
2914,54 unequal: No Solution
Moving to Node #0,0,3
Current State: 54:[94, 31], Operations: ['53-52=1', '31/1=31']
Exploring Operation: 94*31=2914, Resulting Numbers: [2914]
2914,54 unequal: No Solution
Exploring Operation: 94-31=63, Resulting Numbers: [63]
63,54 unequal: No Solution
Exploring Operation: 94+31=125, Resulting Numbers: [125]
125,54 unequal: No Solution
Moving to Node #0,2,3
Current State: 54:[94, 32], Operations: ['52-31=21', '53-21=32']
Exploring Operation: 94*32=3008, Resulting Numbers: [3008]
3008,54 unequal: No Solution
Exploring Operation: 94+32=126, Resulting Numbers: [126]
126,54 unequal: No Solution
Exploring Operation: 94-32=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Moving to Node #0,1,3
Current State: 54:[63, 105], Operations: ['94-31=63', '52+53=105']
Exploring Operation: 63*105=6615, Resulting Numbers: [6615]
6615,54 unequal: No Solution
Exploring Operation: 63+105=168, Resulting Numbers: [168]
168,54 unequal: No Solution
Exploring Operation: 105-63=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Moving to Node #0,2,4
Current State: 54:[94, 74], Operations: ['52-31=21', '53+21=74']
Exploring Operation: 94-74=20, Resulting Numbers: [20]
20,54 unequal: No Solution
Exploring Operation: 94+74=168, Resulting Numbers: [168]
168,54 unequal: No Solution
Exploring Operation: 94*74=6956, Resulting Numbers: [6956]
6956,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[53, 115], Operations: ['52-31=21', '94+21=115']
Exploring Operation: 53+115=168, Resulting Numbers: [168]
168,54 unequal: No Solution
Exploring Operation: 53*115=6095, Resulting Numbers: [6095]
6095,54 unequal: No Solution
Exploring Operation: 115-53=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Moving to Node #0,1,4
Current State: 54:[53, 115], Operations: ['94-31=63', '52+63=115']
Exploring Operation: 115-53=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 53*115=6095, Resulting Numbers: [6095]
6095,54 unequal: No Solution
Exploring Operation: 53+115=168, Resulting Numbers: [168]
168,54 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
37,
76,
18,
50
] | 29 | [
"76-37=39",
"18+50=68",
"68-39=29"
] | Current State: 29:[37, 76, 18, 50], Operations: []
Exploring Operation: 76-37=39, Resulting Numbers: [18, 50, 39]
Generated Node #2: [18, 50, 39] from Operation: 76-37=39
Current State: 29:[18, 50, 39], Operations: ['76-37=39']
Exploring Operation: 18+50=68, Resulting Numbers: [39, 68]
Generated Node #3: [39, 68] from Operation: 18+50=68
Current State: 29:[39, 68], Operations: ['76-37=39', '18+50=68']
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[37, 76, 18, 50], Operations: []
Exploring Operation: 76-37=39, Resulting Numbers: [18, 50, 39]
Generated Node #0,0: 29:[18, 50, 39] Operation: 76-37=39
Exploring Operation: 76-50=26, Resulting Numbers: [37, 18, 26]
Generated Node #0,1: 29:[37, 18, 26] Operation: 76-50=26
Exploring Operation: 76-18=58, Resulting Numbers: [37, 50, 58]
Generated Node #0,2: 29:[37, 50, 58] Operation: 76-18=58
Moving to Node #0,1
Current State: 29:[37, 18, 26], Operations: ['76-50=26']
Exploring Operation: 18+26=44, Resulting Numbers: [37, 44]
Generated Node #0,1,0: 29:[37, 44] Operation: 18+26=44
Exploring Operation: 37-18=19, Resulting Numbers: [26, 19]
Generated Node #0,1,1: 29:[26, 19] Operation: 37-18=19
Exploring Operation: 37+18=55, Resulting Numbers: [26, 55]
Generated Node #0,1,2: 29:[26, 55] Operation: 37+18=55
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[26, 19], Operations: ['76-50=26', '37-18=19']
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 26*19=494, Resulting Numbers: [494]
494,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[37, 44], Operations: ['76-50=26', '18+26=44']
Exploring Operation: 37+44=81, Resulting Numbers: [81]
81,29 unequal: No Solution
Exploring Operation: 37*44=1628, Resulting Numbers: [1628]
1628,29 unequal: No Solution
Exploring Operation: 44-37=7, Resulting Numbers: [7]
7,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[26, 55], Operations: ['76-50=26', '37+18=55']
Exploring Operation: 26*55=1430, Resulting Numbers: [1430]
1430,29 unequal: No Solution
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[37, 76, 18, 50], Operations: []
Exploring Operation: 76-50=26, Resulting Numbers: [37, 18, 26]
Generated Node #0,1: 29:[37, 18, 26] Operation: 76-50=26
Moving to Node #0,1
Current State: 29:[37, 18, 26], Operations: ['76-50=26']
Exploring Operation: 37+18=55, Resulting Numbers: [26, 55]
Generated Node #0,1,2: 29:[26, 55] Operation: 37+18=55
Moving to Node #0,1,2
Current State: 29:[26, 55], Operations: ['76-50=26', '37+18=55']
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
65,
5,
15,
82
] | 27 | [
"65+5=70",
"15+82=97",
"97-70=27"
] | Current State: 27:[65, 5, 15, 82], Operations: []
Exploring Operation: 65+5=70, Resulting Numbers: [15, 82, 70]
Generated Node #2: [15, 82, 70] from Operation: 65+5=70
Current State: 27:[15, 82, 70], Operations: ['65+5=70']
Exploring Operation: 15+82=97, Resulting Numbers: [70, 97]
Generated Node #3: [70, 97] from Operation: 15+82=97
Current State: 27:[70, 97], Operations: ['65+5=70', '15+82=97']
Exploring Operation: 97-70=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[65, 5, 15, 82], Operations: []
Exploring Operation: 65/5=13, Resulting Numbers: [15, 82, 13]
Generated Node #0,0: 27:[15, 82, 13] Operation: 65/5=13
Exploring Operation: 82-65=17, Resulting Numbers: [5, 15, 17]
Generated Node #0,1: 27:[5, 15, 17] Operation: 82-65=17
Moving to Node #0,1
Current State: 27:[5, 15, 17], Operations: ['82-65=17']
Exploring Operation: 17-15=2, Resulting Numbers: [5, 2]
Generated Node #0,1,0: 27:[5, 2] Operation: 17-15=2
Exploring Operation: 15+17=32, Resulting Numbers: [5, 32]
Generated Node #0,1,1: 27:[5, 32] Operation: 15+17=32
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 27:[5, 2], Operations: ['82-65=17', '17-15=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[5, 32], Operations: ['82-65=17', '15+17=32']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[65, 5, 15, 82], Operations: []
Exploring Operation: 82-65=17, Resulting Numbers: [5, 15, 17]
Generated Node #0,1: 27:[5, 15, 17] Operation: 82-65=17
Moving to Node #0,1
Current State: 27:[5, 15, 17], Operations: ['82-65=17']
Exploring Operation: 15+17=32, Resulting Numbers: [5, 32]
Generated Node #0,1,1: 27:[5, 32] Operation: 15+17=32
Moving to Node #0,1,1
Current State: 27:[5, 32], Operations: ['82-65=17', '15+17=32']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
4,
20,
24,
6
] | 42 | [
"4+20=24",
"24-6=18",
"24+18=42"
] | Current State: 42:[4, 20, 24, 6], Operations: []
Exploring Operation: 4+20=24, Resulting Numbers: [24, 6, 24]
Generated Node #2: [24, 6, 24] from Operation: 4+20=24
Current State: 42:[24, 6, 24], Operations: ['4+20=24']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,42 equal: Goal Reached
Exploring Operation: 24+18=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[4, 20, 24, 6], Operations: []
Exploring Operation: 20+24=44, Resulting Numbers: [4, 6, 44]
Generated Node #0,0: 42:[4, 6, 44] Operation: 20+24=44
Exploring Operation: 24-20=4, Resulting Numbers: [4, 6, 4]
Generated Node #0,1: 42:[4, 6, 4] Operation: 24-20=4
Exploring Operation: 24/4=6, Resulting Numbers: [20, 6, 6]
Generated Node #0,2: 42:[20, 6, 6] Operation: 24/4=6
Exploring Operation: 24-4=20, Resulting Numbers: [20, 6, 20]
Generated Node #0,3: 42:[20, 6, 20] Operation: 24-4=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[20, 6, 6], Operations: ['24/4=6']
Exploring Operation: 6/6=1, Resulting Numbers: [20, 1]
Generated Node #0,2,0: 42:[20, 1] Operation: 6/6=1
Exploring Operation: 6+6=12, Resulting Numbers: [20, 12]
Generated Node #0,2,1: 42:[20, 12] Operation: 6+6=12
Exploring Operation: 20-6=14, Resulting Numbers: [6, 14]
Generated Node #0,2,2: 42:[6, 14] Operation: 20-6=14
Exploring Operation: 20-6=14, Resulting Numbers: [6, 14]
Generated Node #0,2,3: 42:[6, 14] Operation: 20-6=14
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 42:[6, 14], Operations: ['24/4=6', '20-6=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,42 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,42 unequal: No Solution
No 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: 42:[6, 14], Operations: ['24/4=6', '20-6=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 42:[20, 1], Operations: ['24/4=6', '6/6=1']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,42 unequal: No Solution
No 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: 42:[20, 12], Operations: ['24/4=6', '6+6=12']
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,42 unequal: No Solution
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,42 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,42 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: 42:[4, 6, 4], Operations: ['24-20=4']
Exploring Operation: 4/4=1, Resulting Numbers: [6, 1]
Generated Node #0,1,0: 42:[6, 1] Operation: 4/4=1
Exploring Operation: 6-4=2, Resulting Numbers: [4, 2]
Generated Node #0,1,1: 42:[4, 2] Operation: 6-4=2
Exploring Operation: 6-4=2, Resulting Numbers: [4, 2]
Generated Node #0,1,2: 42:[4, 2] Operation: 6-4=2
Exploring Operation: 4+4=8, Resulting Numbers: [6, 8]
Generated Node #0,1,3: 42:[6, 8] Operation: 4+4=8
Moving to Node #0,1,0
Current State: 42:[6, 1], Operations: ['24-20=4', '4/4=1']
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[4, 2], Operations: ['24-20=4', '6-4=2']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[4, 2], Operations: ['24-20=4', '6-4=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Moving to Node #0,1,3
Current State: 42:[6, 8], Operations: ['24-20=4', '4+4=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 42:[20, 6, 20], Operations: ['24-4=20']
Exploring Operation: 20-6=14, Resulting Numbers: [20, 14]
Generated Node #0,3,0: 42:[20, 14] Operation: 20-6=14
Exploring Operation: 20-6=14, Resulting Numbers: [20, 14]
Generated Node #0,3,1: 42:[20, 14] Operation: 20-6=14
Exploring Operation: 20+20=40, Resulting Numbers: [6, 40]
Generated Node #0,3,2: 42:[6, 40] Operation: 20+20=40
Exploring Operation: 20/20=1, Resulting Numbers: [6, 1]
Generated Node #0,3,3: 42:[6, 1] Operation: 20/20=1
Moving to Node #0,3,0
Current State: 42:[20, 14], Operations: ['24-4=20', '20-6=14']
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,42 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Moving to Node #0,3,3
Current State: 42:[6, 1], Operations: ['24-4=20', '20/20=1']
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Moving to Node #0,3,1
Current State: 42:[20, 14], Operations: ['24-4=20', '20-6=14']
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,42 unequal: No Solution
Moving to Node #0,3,2
Current State: 42:[6, 40], Operations: ['24-4=20', '20+20=40']
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,42 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[4, 6, 44], Operations: ['20+24=44']
Exploring Operation: 44-4=40, Resulting Numbers: [6, 40]
Generated Node #0,0,0: 42:[6, 40] Operation: 44-4=40
Exploring Operation: 44/4=11, Resulting Numbers: [6, 11]
Generated Node #0,0,1: 42:[6, 11] Operation: 44/4=11
Exploring Operation: 6-4=2, Resulting Numbers: [44, 2]
Generated Node #0,0,2: 42:[44, 2] Operation: 6-4=2
Exploring Operation: 4+6=10, Resulting Numbers: [44, 10]
Generated Node #0,0,3: 42:[44, 10] Operation: 4+6=10
Moving to Node #0,0,0
Current State: 42:[6, 40], Operations: ['20+24=44', '44-4=40']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,42 unequal: No Solution
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[44, 2], Operations: ['20+24=44', '6-4=2']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,42 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,42 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[4, 20, 24, 6], Operations: []
Exploring Operation: 20+24=44, Resulting Numbers: [4, 6, 44]
Generated Node #0,0: 42:[4, 6, 44] Operation: 20+24=44
Moving to Node #0,0
Current State: 42:[4, 6, 44], Operations: ['20+24=44']
Exploring Operation: 6-4=2, Resulting Numbers: [44, 2]
Generated Node #0,0,2: 42:[44, 2] Operation: 6-4=2
Moving to Node #0,0,2
Current State: 42:[44, 2], Operations: ['20+24=44', '6-4=2']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.9375 | hs_4 | mult_heuristic |
[
40,
58,
53,
27
] | 18 | [
"40+58=98",
"53+27=80",
"98-80=18"
] | Current State: 18:[40, 58, 53, 27], Operations: []
Exploring Operation: 40+58=98, Resulting Numbers: [53, 27, 98]
Generated Node #2: [53, 27, 98] from Operation: 40+58=98
Current State: 18:[53, 27, 98], Operations: ['40+58=98']
Exploring Operation: 53+27=80, Resulting Numbers: [98, 80]
Generated Node #3: [98, 80] from Operation: 53+27=80
Current State: 18:[98, 80], Operations: ['40+58=98', '53+27=80']
Exploring Operation: 98-80=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[40, 58, 53, 27], Operations: []
Exploring Operation: 58-53=5, Resulting Numbers: [40, 27, 5]
Generated Node #0,0: 18:[40, 27, 5] Operation: 58-53=5
Moving to Node #0,0
Current State: 18:[40, 27, 5], Operations: ['58-53=5']
Exploring Operation: 40-27=13, Resulting Numbers: [5, 13]
Generated Node #0,0,0: 18:[5, 13] Operation: 40-27=13
Moving to Node #0,0,0
Current State: 18:[5, 13], Operations: ['58-53=5', '40-27=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[40, 58, 53, 27], Operations: []
Exploring Operation: 58-53=5, Resulting Numbers: [40, 27, 5]
Generated Node #0,0: 18:[40, 27, 5] Operation: 58-53=5
Moving to Node #0,0
Current State: 18:[40, 27, 5], Operations: ['58-53=5']
Exploring Operation: 40-27=13, Resulting Numbers: [5, 13]
Generated Node #0,0,0: 18:[5, 13] Operation: 40-27=13
Moving to Node #0,0,0
Current State: 18:[5, 13], Operations: ['58-53=5', '40-27=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
40,
26,
34,
42
] | 74 | [
"40+26=66",
"42-34=8",
"66+8=74"
] | Current State: 74:[40, 26, 34, 42], Operations: []
Exploring Operation: 40+26=66, Resulting Numbers: [34, 42, 66]
Generated Node #2: [34, 42, 66] from Operation: 40+26=66
Current State: 74:[34, 42, 66], Operations: ['40+26=66']
Exploring Operation: 42-34=8, Resulting Numbers: [66, 8]
Generated Node #3: [66, 8] from Operation: 42-34=8
Current State: 74:[66, 8], Operations: ['40+26=66', '42-34=8']
Exploring Operation: 66+8=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[40, 26, 34, 42], Operations: []
Exploring Operation: 26+42=68, Resulting Numbers: [40, 34, 68]
Generated Node #0,0: 74:[40, 34, 68] Operation: 26+42=68
Exploring Operation: 42-40=2, Resulting Numbers: [26, 34, 2]
Generated Node #0,1: 74:[26, 34, 2] Operation: 42-40=2
Exploring Operation: 34-26=8, Resulting Numbers: [40, 42, 8]
Generated Node #0,2: 74:[40, 42, 8] Operation: 34-26=8
Moving to Node #0,0
Current State: 74:[40, 34, 68], Operations: ['26+42=68']
Exploring Operation: 68-34=34, Resulting Numbers: [40, 34]
Generated Node #0,0,0: 74:[40, 34] Operation: 68-34=34
Exploring Operation: 40+34=74, Resulting Numbers: [68, 74]
Generated Node #0,0,1: 74:[68, 74] Operation: 40+34=74
Exploring Operation: 68/34=2, Resulting Numbers: [40, 2]
Generated Node #0,0,2: 74:[40, 2] Operation: 68/34=2
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 74:[40, 2], Operations: ['26+42=68', '68/34=2']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,74 unequal: No Solution
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[40, 34], Operations: ['26+42=68', '68-34=34']
Exploring Operation: 40*34=1360, Resulting Numbers: [1360]
1360,74 unequal: No Solution
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[40, 26, 34, 42], Operations: []
Exploring Operation: 26+42=68, Resulting Numbers: [40, 34, 68]
Generated Node #0,0: 74:[40, 34, 68] Operation: 26+42=68
Moving to Node #0,0
Current State: 74:[40, 34, 68], Operations: ['26+42=68']
Exploring Operation: 68-34=34, Resulting Numbers: [40, 34]
Generated Node #0,0,0: 74:[40, 34] Operation: 68-34=34
Moving to Node #0,0,0
Current State: 74:[40, 34], Operations: ['26+42=68', '68-34=34']
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
47,
7,
34,
2
] | 89 | [
"47-34=13",
"7*13=91",
"91-2=89"
] | Current State: 89:[47, 7, 34, 2], Operations: []
Exploring Operation: 47-34=13, Resulting Numbers: [7, 2, 13]
Generated Node #2: [7, 2, 13] from Operation: 47-34=13
Current State: 89:[7, 2, 13], Operations: ['47-34=13']
Exploring Operation: 7*13=91, Resulting Numbers: [2, 91]
Generated Node #3: [2, 91] from Operation: 7*13=91
Current State: 89:[2, 91], Operations: ['47-34=13', '7*13=91']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[47, 7, 34, 2], Operations: []
Exploring Operation: 7*2=14, Resulting Numbers: [47, 34, 14]
Generated Node #0,0: 89:[47, 34, 14] Operation: 7*2=14
Exploring Operation: 34*2=68, Resulting Numbers: [47, 7, 68]
Generated Node #0,1: 89:[47, 7, 68] Operation: 34*2=68
Exploring Operation: 47+7=54, Resulting Numbers: [34, 2, 54]
Generated Node #0,2: 89:[34, 2, 54] Operation: 47+7=54
Exploring Operation: 47*2=94, Resulting Numbers: [7, 34, 94]
Generated Node #0,3: 89:[7, 34, 94] Operation: 47*2=94
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[7, 34, 94], Operations: ['47*2=94']
Exploring Operation: 7+94=101, Resulting Numbers: [34, 101]
Generated Node #0,3,0: 89:[34, 101] Operation: 7+94=101
Exploring Operation: 34-7=27, Resulting Numbers: [94, 27]
Generated Node #0,3,1: 89:[94, 27] Operation: 34-7=27
Exploring Operation: 94-7=87, Resulting Numbers: [34, 87]
Generated Node #0,3,2: 89:[34, 87] Operation: 94-7=87
Exploring Operation: 7+34=41, Resulting Numbers: [94, 41]
Generated Node #0,3,3: 89:[94, 41] Operation: 7+34=41
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 89:[94, 41], Operations: ['47*2=94', '7+34=41']
Exploring Operation: 94+41=135, Resulting Numbers: [135]
135,89 unequal: No Solution
Exploring Operation: 94*41=3854, Resulting Numbers: [3854]
3854,89 unequal: No Solution
Exploring Operation: 94-41=53, Resulting Numbers: [53]
53,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 89:[34, 87], Operations: ['47*2=94', '94-7=87']
Exploring Operation: 34*87=2958, Resulting Numbers: [2958]
2958,89 unequal: No Solution
Exploring Operation: 34+87=121, Resulting Numbers: [121]
121,89 unequal: No Solution
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 89:[34, 101], Operations: ['47*2=94', '7+94=101']
Exploring Operation: 34*101=3434, Resulting Numbers: [3434]
3434,89 unequal: No Solution
Exploring Operation: 34+101=135, Resulting Numbers: [135]
135,89 unequal: No Solution
Exploring Operation: 101-34=67, Resulting Numbers: [67]
67,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 89:[94, 27], Operations: ['47*2=94', '34-7=27']
Exploring Operation: 94+27=121, Resulting Numbers: [121]
121,89 unequal: No Solution
Exploring Operation: 94-27=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Exploring Operation: 94*27=2538, Resulting Numbers: [2538]
2538,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,1
Current State: 89:[47, 7, 68], Operations: ['34*2=68']
Exploring Operation: 7+68=75, Resulting Numbers: [47, 75]
Generated Node #0,1,0: 89:[47, 75] Operation: 7+68=75
Exploring Operation: 47+7=54, Resulting Numbers: [68, 54]
Generated Node #0,1,1: 89:[68, 54] Operation: 47+7=54
Exploring Operation: 47-7=40, Resulting Numbers: [68, 40]
Generated Node #0,1,2: 89:[68, 40] Operation: 47-7=40
Exploring Operation: 68-7=61, Resulting Numbers: [47, 61]
Generated Node #0,1,3: 89:[47, 61] Operation: 68-7=61
Moving to Node #0,1,0
Current State: 89:[47, 75], Operations: ['34*2=68', '7+68=75']
Exploring Operation: 75-47=28, Resulting Numbers: [28]
28,89 unequal: No Solution
Exploring Operation: 47+75=122, Resulting Numbers: [122]
122,89 unequal: No Solution
Exploring Operation: 47*75=3525, Resulting Numbers: [3525]
3525,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[68, 54], Operations: ['34*2=68', '47+7=54']
Exploring Operation: 68+54=122, Resulting Numbers: [122]
122,89 unequal: No Solution
Exploring Operation: 68-54=14, Resulting Numbers: [14]
14,89 unequal: No Solution
Exploring Operation: 68*54=3672, Resulting Numbers: [3672]
3672,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[47, 61], Operations: ['34*2=68', '68-7=61']
Exploring Operation: 47+61=108, Resulting Numbers: [108]
108,89 unequal: No Solution
Exploring Operation: 61-47=14, Resulting Numbers: [14]
14,89 unequal: No Solution
Exploring Operation: 47*61=2867, Resulting Numbers: [2867]
2867,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[68, 40], Operations: ['34*2=68', '47-7=40']
Exploring Operation: 68+40=108, Resulting Numbers: [108]
108,89 unequal: No Solution
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,89 unequal: No Solution
Exploring Operation: 68*40=2720, Resulting Numbers: [2720]
2720,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[47, 34, 14], Operations: ['7*2=14']
Exploring Operation: 47+34=81, Resulting Numbers: [14, 81]
Generated Node #0,0,0: 89:[14, 81] Operation: 47+34=81
Exploring Operation: 47-14=33, Resulting Numbers: [34, 33]
Generated Node #0,0,1: 89:[34, 33] Operation: 47-14=33
Exploring Operation: 34+14=48, Resulting Numbers: [47, 48]
Generated Node #0,0,2: 89:[47, 48] Operation: 34+14=48
Exploring Operation: 47+14=61, Resulting Numbers: [34, 61]
Generated Node #0,0,3: 89:[34, 61] Operation: 47+14=61
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[14, 81], Operations: ['7*2=14', '47+34=81']
Exploring Operation: 14+81=95, Resulting Numbers: [95]
95,89 unequal: No Solution
Exploring Operation: 14*81=1134, Resulting Numbers: [1134]
1134,89 unequal: No Solution
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,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,0,2
Current State: 89:[47, 48], Operations: ['7*2=14', '34+14=48']
Exploring Operation: 47*48=2256, Resulting Numbers: [2256]
2256,89 unequal: No Solution
Exploring Operation: 47+48=95, Resulting Numbers: [95]
95,89 unequal: No Solution
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,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,0,3
Current State: 89:[34, 61], Operations: ['7*2=14', '47+14=61']
Exploring Operation: 34*61=2074, Resulting Numbers: [2074]
2074,89 unequal: No Solution
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,89 unequal: No Solution
Exploring Operation: 34+61=95, Resulting Numbers: [95]
95,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,0,1
Current State: 89:[34, 33], Operations: ['7*2=14', '47-14=33']
Exploring Operation: 34*33=1122, Resulting Numbers: [1122]
1122,89 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,89 unequal: No Solution
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,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:[34, 2, 54], Operations: ['47+7=54']
Exploring Operation: 34+2=36, Resulting Numbers: [54, 36]
Generated Node #0,2,0: 89:[54, 36] Operation: 34+2=36
Exploring Operation: 34+54=88, Resulting Numbers: [2, 88]
Generated Node #0,2,1: 89:[2, 88] Operation: 34+54=88
Exploring Operation: 34*2=68, Resulting Numbers: [54, 68]
Generated Node #0,2,2: 89:[54, 68] Operation: 34*2=68
Exploring Operation: 2*54=108, Resulting Numbers: [34, 108]
Generated Node #0,2,3: 89:[34, 108] Operation: 2*54=108
Moving to Node #0,2,2
Current State: 89:[54, 68], Operations: ['47+7=54', '34*2=68']
Exploring Operation: 54*68=3672, Resulting Numbers: [3672]
3672,89 unequal: No Solution
Exploring Operation: 68-54=14, Resulting Numbers: [14]
14,89 unequal: No Solution
Exploring Operation: 54+68=122, Resulting Numbers: [122]
122,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[34, 108], Operations: ['47+7=54', '2*54=108']
Exploring Operation: 34*108=3672, Resulting Numbers: [3672]
3672,89 unequal: No Solution
Exploring Operation: 108-34=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 34+108=142, Resulting Numbers: [142]
142,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[2, 88], Operations: ['47+7=54', '34+54=88']
Exploring Operation: 2*88=176, Resulting Numbers: [176]
176,89 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,89 unequal: No Solution
Exploring Operation: 2+88=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[54, 36], Operations: ['47+7=54', '34+2=36']
Exploring Operation: 54*36=1944, Resulting Numbers: [1944]
1944,89 unequal: No Solution
Exploring Operation: 54+36=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,89 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 |
[
8,
88,
16,
46
] | 86 | [
"8*16=128",
"88-46=42",
"128-42=86"
] | Current State: 86:[8, 88, 16, 46], Operations: []
Exploring Operation: 8*16=128, Resulting Numbers: [88, 46, 128]
Generated Node #2: [88, 46, 128] from Operation: 8*16=128
Current State: 86:[88, 46, 128], Operations: ['8*16=128']
Exploring Operation: 88-46=42, Resulting Numbers: [128, 42]
Generated Node #3: [128, 42] from Operation: 88-46=42
Current State: 86:[128, 42], Operations: ['8*16=128', '88-46=42']
Exploring Operation: 128-42=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[8, 88, 16, 46], Operations: []
Exploring Operation: 16/8=2, Resulting Numbers: [88, 46, 2]
Generated Node #0,0: 86:[88, 46, 2] Operation: 16/8=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[88, 46, 2], Operations: ['16/8=2']
Exploring Operation: 88-46=42, Resulting Numbers: [2, 42]
Generated Node #0,0,0: 86:[2, 42] Operation: 88-46=42
Moving to Node #0,0,0
Current State: 86:[2, 42], Operations: ['16/8=2', '88-46=42']
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
50,
55,
61
] | 91 | [
"55-50=5",
"6*5=30",
"61+30=91"
] | Current State: 91:[6, 50, 55, 61], Operations: []
Exploring Operation: 55-50=5, Resulting Numbers: [6, 61, 5]
Generated Node #2: [6, 61, 5] from Operation: 55-50=5
Current State: 91:[6, 61, 5], Operations: ['55-50=5']
Exploring Operation: 6*5=30, Resulting Numbers: [61, 30]
Generated Node #3: [61, 30] from Operation: 6*5=30
Current State: 91:[61, 30], Operations: ['55-50=5', '6*5=30']
Exploring Operation: 61+30=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[6, 50, 55, 61], Operations: []
Exploring Operation: 61-50=11, Resulting Numbers: [6, 55, 11]
Generated Node #0,0: 91:[6, 55, 11] Operation: 61-50=11
Exploring Operation: 61-55=6, Resulting Numbers: [6, 50, 6]
Generated Node #0,1: 91:[6, 50, 6] Operation: 61-55=6
Exploring Operation: 55-50=5, Resulting Numbers: [6, 61, 5]
Generated Node #0,2: 91:[6, 61, 5] Operation: 55-50=5
Exploring Operation: 50+55=105, Resulting Numbers: [6, 61, 105]
Generated Node #0,3: 91:[6, 61, 105] Operation: 50+55=105
Moving to Node #0,2
Current State: 91:[6, 61, 5], Operations: ['55-50=5']
Exploring Operation: 61+5=66, Resulting Numbers: [6, 66]
Generated Node #0,2,0: 91:[6, 66] Operation: 61+5=66
Exploring Operation: 6-5=1, Resulting Numbers: [61, 1]
Generated Node #0,2,1: 91:[61, 1] Operation: 6-5=1
Exploring Operation: 6+61=67, Resulting Numbers: [5, 67]
Generated Node #0,2,2: 91:[5, 67] Operation: 6+61=67
Exploring Operation: 6+5=11, Resulting Numbers: [61, 11]
Generated Node #0,2,3: 91:[61, 11] Operation: 6+5=11
Moving to Node #0,1
Current State: 91:[6, 50, 6], Operations: ['61-55=6']
Exploring Operation: 50-6=44, Resulting Numbers: [6, 44]
Generated Node #0,1,0: 91:[6, 44] Operation: 50-6=44
Exploring Operation: 6+50=56, Resulting Numbers: [6, 56]
Generated Node #0,1,1: 91:[6, 56] Operation: 6+50=56
Exploring Operation: 50-6=44, Resulting Numbers: [6, 44]
Generated Node #0,1,2: 91:[6, 44] Operation: 50-6=44
Exploring Operation: 50+6=56, Resulting Numbers: [6, 56]
Generated Node #0,1,3: 91:[6, 56] Operation: 50+6=56
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[6, 44], Operations: ['61-55=6', '50-6=44']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[6, 44], Operations: ['61-55=6', '50-6=44']
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[6, 56], Operations: ['61-55=6', '6+50=56']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 6+56=62, Resulting Numbers: [62]
62,91 unequal: No Solution
Exploring Operation: 6*56=336, Resulting Numbers: [336]
336,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 91:[6, 56], Operations: ['61-55=6', '50+6=56']
Exploring Operation: 6+56=62, Resulting Numbers: [62]
62,91 unequal: No Solution
Exploring Operation: 6*56=336, Resulting Numbers: [336]
336,91 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,91 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: 91:[6, 55, 11], Operations: ['61-50=11']
Exploring Operation: 55/11=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 91:[6, 5] Operation: 55/11=5
Exploring Operation: 55-11=44, Resulting Numbers: [6, 44]
Generated Node #0,0,1: 91:[6, 44] Operation: 55-11=44
Exploring Operation: 55+11=66, Resulting Numbers: [6, 66]
Generated Node #0,0,2: 91:[6, 66] Operation: 55+11=66
Exploring Operation: 6+55=61, Resulting Numbers: [11, 61]
Generated Node #0,0,3: 91:[11, 61] Operation: 6+55=61
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[6, 5], Operations: ['61-50=11', '55/11=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 91:[6, 66], Operations: ['61-50=11', '55+11=66']
Exploring Operation: 6*66=396, Resulting Numbers: [396]
396,91 unequal: No Solution
Exploring Operation: 6+66=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,91 unequal: No Solution
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[6, 44], Operations: ['61-50=11', '55-11=44']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,91 unequal: No Solution
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 91:[11, 61], Operations: ['61-50=11', '6+55=61']
Exploring Operation: 11+61=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Exploring Operation: 11*61=671, Resulting Numbers: [671]
671,91 unequal: No Solution
Exploring Operation: 61-11=50, Resulting Numbers: [50]
50,91 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: 91:[6, 61, 105], Operations: ['50+55=105']
Exploring Operation: 105-6=99, Resulting Numbers: [61, 99]
Generated Node #0,3,0: 91:[61, 99] Operation: 105-6=99
Exploring Operation: 6+61=67, Resulting Numbers: [105, 67]
Generated Node #0,3,1: 91:[105, 67] Operation: 6+61=67
Exploring Operation: 105-61=44, Resulting Numbers: [6, 44]
Generated Node #0,3,2: 91:[6, 44] Operation: 105-61=44
Exploring Operation: 61-6=55, Resulting Numbers: [105, 55]
Generated Node #0,3,3: 91:[105, 55] Operation: 61-6=55
Moving to Node #0,2,0
Current State: 91:[6, 66], Operations: ['55-50=5', '61+5=66']
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,91 unequal: No Solution
Exploring Operation: 6+66=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 6*66=396, Resulting Numbers: [396]
396,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[5, 67], Operations: ['55-50=5', '6+61=67']
Exploring Operation: 5*67=335, Resulting Numbers: [335]
335,91 unequal: No Solution
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,91 unequal: No Solution
Exploring Operation: 5+67=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Moving to Node #0,2,3
Current State: 91:[61, 11], Operations: ['55-50=5', '6+5=11']
Exploring Operation: 61-11=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 61*11=671, Resulting Numbers: [671]
671,91 unequal: No Solution
Exploring Operation: 61+11=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Moving to Node #0,3,2
Current State: 91:[6, 44], Operations: ['50+55=105', '105-61=44']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[61, 1], Operations: ['55-50=5', '6-5=1']
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,91 unequal: No Solution
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,91 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,91 unequal: No Solution
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,91 unequal: No Solution
Moving to Node #0,3,0
Current State: 91:[61, 99], Operations: ['50+55=105', '105-6=99']
Exploring Operation: 61+99=160, Resulting Numbers: [160]
160,91 unequal: No Solution
Exploring Operation: 99-61=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 61*99=6039, Resulting Numbers: [6039]
6039,91 unequal: No Solution
Moving to Node #0,3,1
Current State: 91:[105, 67], Operations: ['50+55=105', '6+61=67']
Exploring Operation: 105*67=7035, Resulting Numbers: [7035]
7035,91 unequal: No Solution
Exploring Operation: 105-67=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 105+67=172, Resulting Numbers: [172]
172,91 unequal: No Solution
Moving to Node #0,3,3
Current State: 91:[105, 55], Operations: ['50+55=105', '61-6=55']
Exploring Operation: 105*55=5775, Resulting Numbers: [5775]
5775,91 unequal: No Solution
Exploring Operation: 105+55=160, Resulting Numbers: [160]
160,91 unequal: No Solution
Exploring Operation: 105-55=50, Resulting Numbers: [50]
50,91 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
46,
24,
3,
25
] | 53 | [
"46-24=22",
"3*25=75",
"75-22=53"
] | Current State: 53:[46, 24, 3, 25], Operations: []
Exploring Operation: 46-24=22, Resulting Numbers: [3, 25, 22]
Generated Node #2: [3, 25, 22] from Operation: 46-24=22
Current State: 53:[3, 25, 22], Operations: ['46-24=22']
Exploring Operation: 3*25=75, Resulting Numbers: [22, 75]
Generated Node #3: [22, 75] from Operation: 3*25=75
Current State: 53:[22, 75], Operations: ['46-24=22', '3*25=75']
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[46, 24, 3, 25], Operations: []
Exploring Operation: 24*3=72, Resulting Numbers: [46, 25, 72]
Generated Node #0,0: 53:[46, 25, 72] Operation: 24*3=72
Exploring Operation: 3*25=75, Resulting Numbers: [46, 24, 75]
Generated Node #0,1: 53:[46, 24, 75] Operation: 3*25=75
Moving to Node #0,0
Current State: 53:[46, 25, 72], Operations: ['24*3=72']
Exploring Operation: 72-25=47, Resulting Numbers: [46, 47]
Generated Node #0,0,0: 53:[46, 47] Operation: 72-25=47
Exploring Operation: 46+25=71, Resulting Numbers: [72, 71]
Generated Node #0,0,1: 53:[72, 71] Operation: 46+25=71
Moving to Node #0,1
Current State: 53:[46, 24, 75], Operations: ['3*25=75']
Exploring Operation: 46+24=70, Resulting Numbers: [75, 70]
Generated Node #0,1,0: 53:[75, 70] Operation: 46+24=70
Exploring Operation: 75-24=51, Resulting Numbers: [46, 51]
Generated Node #0,1,1: 53:[46, 51] Operation: 75-24=51
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[46, 51], Operations: ['3*25=75', '75-24=51']
Exploring Operation: 51-46=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 46+51=97, Resulting Numbers: [97]
97,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,0
Current State: 53:[75, 70], Operations: ['3*25=75', '46+24=70']
Exploring Operation: 75-70=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 75+70=145, Resulting Numbers: [145]
145,53 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: 53:[46, 47], Operations: ['24*3=72', '72-25=47']
Exploring Operation: 46+47=93, Resulting Numbers: [93]
93,53 unequal: No Solution
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[72, 71], Operations: ['24*3=72', '46+25=71']
Exploring Operation: 72+71=143, Resulting Numbers: [143]
143,53 unequal: No Solution
Exploring Operation: 72-71=1, Resulting Numbers: [1]
1,53 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
28,
90,
56,
74
] | 98 | [
"28*56=1568",
"90-74=16",
"1568/16=98"
] | Current State: 98:[28, 90, 56, 74], Operations: []
Exploring Operation: 28*56=1568, Resulting Numbers: [90, 74, 1568]
Generated Node #2: [90, 74, 1568] from Operation: 28*56=1568
Current State: 98:[90, 74, 1568], Operations: ['28*56=1568']
Exploring Operation: 90-74=16, Resulting Numbers: [1568, 16]
Generated Node #3: [1568, 16] from Operation: 90-74=16
Current State: 98:[1568, 16], Operations: ['28*56=1568', '90-74=16']
Exploring Operation: 1568/16=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[28, 90, 56, 74], Operations: []
Exploring Operation: 74-28=46, Resulting Numbers: [90, 56, 46]
Generated Node #0,0: 98:[90, 56, 46] Operation: 74-28=46
Exploring Operation: 28+74=102, Resulting Numbers: [90, 56, 102]
Generated Node #0,1: 98:[90, 56, 102] Operation: 28+74=102
Moving to Node #0,0
Current State: 98:[90, 56, 46], Operations: ['74-28=46']
Exploring Operation: 90-46=44, Resulting Numbers: [56, 44]
Generated Node #0,0,0: 98:[56, 44] Operation: 90-46=44
Exploring Operation: 56-46=10, Resulting Numbers: [90, 10]
Generated Node #0,0,1: 98:[90, 10] Operation: 56-46=10
Moving to Node #0,1
Current State: 98:[90, 56, 102], Operations: ['28+74=102']
Exploring Operation: 102-56=46, Resulting Numbers: [90, 46]
Generated Node #0,1,0: 98:[90, 46] Operation: 102-56=46
Exploring Operation: 102-90=12, Resulting Numbers: [56, 12]
Generated Node #0,1,1: 98:[56, 12] Operation: 102-90=12
Moving to Node #0,1,1
Current State: 98:[56, 12], Operations: ['28+74=102', '102-90=12']
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,98 unequal: No Solution
Exploring Operation: 56+12=68, Resulting Numbers: [68]
68,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[90, 10], Operations: ['74-28=46', '56-46=10']
Exploring Operation: 90/10=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 90+10=100, Resulting Numbers: [100]
100,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[90, 46], Operations: ['28+74=102', '102-56=46']
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,98 unequal: No Solution
Exploring Operation: 90+46=136, Resulting Numbers: [136]
136,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[56, 44], Operations: ['74-28=46', '90-46=44']
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,98 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
10,
40,
88,
30
] | 76 | [
"88*30=2640",
"2640/40=66",
"10+66=76"
] | Current State: 76:[10, 40, 88, 30], Operations: []
Exploring Operation: 88*30=2640, Resulting Numbers: [10, 40, 2640]
Generated Node #2: [10, 40, 2640] from Operation: 88*30=2640
Current State: 76:[10, 40, 2640], Operations: ['88*30=2640']
Exploring Operation: 2640/40=66, Resulting Numbers: [10, 66]
Generated Node #3: [10, 66] from Operation: 2640/40=66
Current State: 76:[10, 66], Operations: ['88*30=2640', '2640/40=66']
Exploring Operation: 10+66=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[10, 40, 88, 30], Operations: []
Exploring Operation: 88-10=78, Resulting Numbers: [40, 30, 78]
Generated Node #0,0: 76:[40, 30, 78] Operation: 88-10=78
Exploring Operation: 30-10=20, Resulting Numbers: [40, 88, 20]
Generated Node #0,1: 76:[40, 88, 20] Operation: 30-10=20
Moving to Node #0,0
Current State: 76:[40, 30, 78], Operations: ['88-10=78']
Exploring Operation: 40+30=70, Resulting Numbers: [78, 70]
Generated Node #0,0,0: 76:[78, 70] Operation: 40+30=70
Exploring Operation: 40-30=10, Resulting Numbers: [78, 10]
Generated Node #0,0,1: 76:[78, 10] Operation: 40-30=10
Moving to Node #0,1
Current State: 76:[40, 88, 20], Operations: ['30-10=20']
Exploring Operation: 88-20=68, Resulting Numbers: [40, 68]
Generated Node #0,1,0: 76:[40, 68] Operation: 88-20=68
Exploring Operation: 88-40=48, Resulting Numbers: [20, 48]
Generated Node #0,1,1: 76:[20, 48] Operation: 88-40=48
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[40, 68], Operations: ['30-10=20', '88-20=68']
Exploring Operation: 40+68=108, Resulting Numbers: [108]
108,76 unequal: No Solution
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,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:[20, 48], Operations: ['30-10=20', '88-40=48']
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,76 unequal: No Solution
Exploring Operation: 20+48=68, Resulting Numbers: [68]
68,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:[78, 70], Operations: ['88-10=78', '40+30=70']
Exploring Operation: 78+70=148, Resulting Numbers: [148]
148,76 unequal: No Solution
Exploring Operation: 78-70=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[78, 10], Operations: ['88-10=78', '40-30=10']
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,76 unequal: No Solution
Exploring Operation: 78+10=88, Resulting Numbers: [88]
88,76 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
12,
59,
48,
47
] | 72 | [
"12+59=71",
"48-47=1",
"71+1=72"
] | Current State: 72:[12, 59, 48, 47], Operations: []
Exploring Operation: 12+59=71, Resulting Numbers: [48, 47, 71]
Generated Node #2: [48, 47, 71] from Operation: 12+59=71
Current State: 72:[48, 47, 71], Operations: ['12+59=71']
Exploring Operation: 48-47=1, Resulting Numbers: [71, 1]
Generated Node #3: [71, 1] from Operation: 48-47=1
Current State: 72:[71, 1], Operations: ['12+59=71', '48-47=1']
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[12, 59, 48, 47], Operations: []
Exploring Operation: 12+59=71, Resulting Numbers: [48, 47, 71]
Generated Node #0,0: 72:[48, 47, 71] Operation: 12+59=71
Exploring Operation: 59-48=11, Resulting Numbers: [12, 47, 11]
Generated Node #0,1: 72:[12, 47, 11] Operation: 59-48=11
Exploring Operation: 59-47=12, Resulting Numbers: [12, 48, 12]
Generated Node #0,2: 72:[12, 48, 12] Operation: 59-47=12
Exploring Operation: 48-47=1, Resulting Numbers: [12, 59, 1]
Generated Node #0,3: 72:[12, 59, 1] Operation: 48-47=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[12, 47, 11], Operations: ['59-48=11']
Exploring Operation: 12-11=1, Resulting Numbers: [47, 1]
Generated Node #0,1,0: 72:[47, 1] Operation: 12-11=1
Exploring Operation: 12+11=23, Resulting Numbers: [47, 23]
Generated Node #0,1,1: 72:[47, 23] Operation: 12+11=23
Exploring Operation: 47-12=35, Resulting Numbers: [11, 35]
Generated Node #0,1,2: 72:[11, 35] Operation: 47-12=35
Exploring Operation: 47-11=36, Resulting Numbers: [12, 36]
Generated Node #0,1,3: 72:[12, 36] Operation: 47-11=36
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 72:[12, 36], Operations: ['59-48=11', '47-11=36']
Exploring Operation: 12*36=432, Resulting Numbers: [432]
432,72 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,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:[11, 35], Operations: ['59-48=11', '47-12=35']
Exploring Operation: 11*35=385, Resulting Numbers: [385]
385,72 unequal: No Solution
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[47, 1], Operations: ['59-48=11', '12-11=1']
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,72 unequal: No Solution
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,72 unequal: No Solution
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,72 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,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:[47, 23], Operations: ['59-48=11', '12+11=23']
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 47*23=1081, Resulting Numbers: [1081]
1081,72 unequal: No Solution
Exploring Operation: 47+23=70, Resulting Numbers: [70]
70,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[12, 48, 12], Operations: ['59-47=12']
Exploring Operation: 48-12=36, Resulting Numbers: [12, 36]
Generated Node #0,2,0: 72:[12, 36] Operation: 48-12=36
Exploring Operation: 48-12=36, Resulting Numbers: [12, 36]
Generated Node #0,2,1: 72:[12, 36] Operation: 48-12=36
Exploring Operation: 48/12=4, Resulting Numbers: [12, 4]
Generated Node #0,2,2: 72:[12, 4] Operation: 48/12=4
Exploring Operation: 48/12=4, Resulting Numbers: [12, 4]
Generated Node #0,2,3: 72:[12, 4] Operation: 48/12=4
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 72:[12, 36], Operations: ['59-47=12', '48-12=36']
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 12*36=432, Resulting Numbers: [432]
432,72 unequal: No Solution
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,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,2,1
Current State: 72:[12, 36], Operations: ['59-47=12', '48-12=36']
Exploring Operation: 12*36=432, Resulting Numbers: [432]
432,72 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,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,2,2
Current State: 72:[12, 4], Operations: ['59-47=12', '48/12=4']
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,72 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,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,2,3
Current State: 72:[12, 4], Operations: ['59-47=12', '48/12=4']
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,72 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 72:[12, 59, 1], Operations: ['48-47=1']
Exploring Operation: 59-12=47, Resulting Numbers: [1, 47]
Generated Node #0,3,0: 72:[1, 47] Operation: 59-12=47
Exploring Operation: 12+59=71, Resulting Numbers: [1, 71]
Generated Node #0,3,1: 72:[1, 71] Operation: 12+59=71
Exploring Operation: 59+1=60, Resulting Numbers: [12, 60]
Generated Node #0,3,2: 72:[12, 60] Operation: 59+1=60
Exploring Operation: 12*1=12, Resulting Numbers: [59, 12]
Generated Node #0,3,3: 72:[59, 12] Operation: 12*1=12
Moving to Node #0,3,1
Current State: 72:[1, 71], Operations: ['48-47=1', '12+59=71']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,72 unequal: No Solution
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,72 unequal: No Solution
Exploring Operation: 1+71=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[12, 59, 48, 47], Operations: []
Exploring Operation: 48-47=1, Resulting Numbers: [12, 59, 1]
Generated Node #0,3: 72:[12, 59, 1] Operation: 48-47=1
Moving to Node #0,3
Current State: 72:[12, 59, 1], Operations: ['48-47=1']
Exploring Operation: 12+59=71, Resulting Numbers: [1, 71]
Generated Node #0,3,1: 72:[1, 71] Operation: 12+59=71
Moving to Node #0,3,1
Current State: 72:[1, 71], Operations: ['48-47=1', '12+59=71']
Exploring Operation: 1+71=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.953993 | hs_4 | mult_heuristic |
[
95,
60,
89,
2
] | 68 | [
"95+60=155",
"89-2=87",
"155-87=68"
] | Current State: 68:[95, 60, 89, 2], Operations: []
Exploring Operation: 95+60=155, Resulting Numbers: [89, 2, 155]
Generated Node #2: [89, 2, 155] from Operation: 95+60=155
Current State: 68:[89, 2, 155], Operations: ['95+60=155']
Exploring Operation: 89-2=87, Resulting Numbers: [155, 87]
Generated Node #3: [155, 87] from Operation: 89-2=87
Current State: 68:[155, 87], Operations: ['95+60=155', '89-2=87']
Exploring Operation: 155-87=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[95, 60, 89, 2], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [60, 2, 6]
Generated Node #0,0: 68:[60, 2, 6] Operation: 95-89=6
Exploring Operation: 95-60=35, Resulting Numbers: [89, 2, 35]
Generated Node #0,1: 68:[89, 2, 35] Operation: 95-60=35
Moving to Node #0,0
Current State: 68:[60, 2, 6], Operations: ['95-89=6']
Exploring Operation: 60+6=66, Resulting Numbers: [2, 66]
Generated Node #0,0,0: 68:[2, 66] Operation: 60+6=66
Exploring Operation: 60/2=30, Resulting Numbers: [6, 30]
Generated Node #0,0,1: 68:[6, 30] Operation: 60/2=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[2, 66], Operations: ['95-89=6', '60+6=66']
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[95, 60, 89, 2], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [60, 2, 6]
Generated Node #0,0: 68:[60, 2, 6] Operation: 95-89=6
Moving to Node #0,0
Current State: 68:[60, 2, 6], Operations: ['95-89=6']
Exploring Operation: 60+6=66, Resulting Numbers: [2, 66]
Generated Node #0,0,0: 68:[2, 66] Operation: 60+6=66
Moving to Node #0,0,0
Current State: 68:[2, 66], Operations: ['95-89=6', '60+6=66']
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
53,
85,
39,
83
] | 67 | [
"85-83=2",
"53*2=106",
"106-39=67"
] | Current State: 67:[53, 85, 39, 83], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [53, 39, 2]
Generated Node #2: [53, 39, 2] from Operation: 85-83=2
Current State: 67:[53, 39, 2], Operations: ['85-83=2']
Exploring Operation: 53*2=106, Resulting Numbers: [39, 106]
Generated Node #3: [39, 106] from Operation: 53*2=106
Current State: 67:[39, 106], Operations: ['85-83=2', '53*2=106']
Exploring Operation: 106-39=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[53, 85, 39, 83], Operations: []
Exploring Operation: 85-39=46, Resulting Numbers: [53, 83, 46]
Generated Node #0,0: 67:[53, 83, 46] Operation: 85-39=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[53, 83, 46], Operations: ['85-39=46']
Exploring Operation: 83-46=37, Resulting Numbers: [53, 37]
Generated Node #0,0,0: 67:[53, 37] Operation: 83-46=37
Moving to Node #0,0,0
Current State: 67:[53, 37], Operations: ['85-39=46', '83-46=37']
Exploring Operation: 53+37=90, Resulting Numbers: [90]
90,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
65,
99,
32,
44
] | 46 | [
"99-65=34",
"44-32=12",
"34+12=46"
] | Current State: 46:[65, 99, 32, 44], Operations: []
Exploring Operation: 99-65=34, Resulting Numbers: [32, 44, 34]
Generated Node #2: [32, 44, 34] from Operation: 99-65=34
Current State: 46:[32, 44, 34], Operations: ['99-65=34']
Exploring Operation: 44-32=12, Resulting Numbers: [34, 12]
Generated Node #3: [34, 12] from Operation: 44-32=12
Current State: 46:[34, 12], Operations: ['99-65=34', '44-32=12']
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[65, 99, 32, 44], Operations: []
Exploring Operation: 65-44=21, Resulting Numbers: [99, 32, 21]
Generated Node #0,0: 46:[99, 32, 21] Operation: 65-44=21
Exploring Operation: 99-65=34, Resulting Numbers: [32, 44, 34]
Generated Node #0,1: 46:[32, 44, 34] Operation: 99-65=34
Exploring Operation: 99-44=55, Resulting Numbers: [65, 32, 55]
Generated Node #0,2: 46:[65, 32, 55] Operation: 99-44=55
Exploring Operation: 99-32=67, Resulting Numbers: [65, 44, 67]
Generated Node #0,3: 46:[65, 44, 67] Operation: 99-32=67
Moving to Node #0,1
Current State: 46:[32, 44, 34], Operations: ['99-65=34']
Exploring Operation: 34-32=2, Resulting Numbers: [44, 2]
Generated Node #0,1,0: 46:[44, 2] Operation: 34-32=2
Exploring Operation: 32+34=66, Resulting Numbers: [44, 66]
Generated Node #0,1,1: 46:[44, 66] Operation: 32+34=66
Exploring Operation: 44-34=10, Resulting Numbers: [32, 10]
Generated Node #0,1,2: 46:[32, 10] Operation: 44-34=10
Exploring Operation: 44-32=12, Resulting Numbers: [34, 12]
Generated Node #0,1,3: 46:[34, 12] Operation: 44-32=12
Moving to Node #0,2
Current State: 46:[65, 32, 55], Operations: ['99-44=55']
Exploring Operation: 65-32=33, Resulting Numbers: [55, 33]
Generated Node #0,2,0: 46:[55, 33] Operation: 65-32=33
Exploring Operation: 65+32=97, Resulting Numbers: [55, 97]
Generated Node #0,2,1: 46:[55, 97] Operation: 65+32=97
Exploring Operation: 55-32=23, Resulting Numbers: [65, 23]
Generated Node #0,2,2: 46:[65, 23] Operation: 55-32=23
Exploring Operation: 65-55=10, Resulting Numbers: [32, 10]
Generated Node #0,2,3: 46:[32, 10] Operation: 65-55=10
Moving to Node #0,3
Current State: 46:[65, 44, 67], Operations: ['99-32=67']
Exploring Operation: 67-44=23, Resulting Numbers: [65, 23]
Generated Node #0,3,0: 46:[65, 23] Operation: 67-44=23
Exploring Operation: 65+44=109, Resulting Numbers: [67, 109]
Generated Node #0,3,1: 46:[67, 109] Operation: 65+44=109
Exploring Operation: 67-65=2, Resulting Numbers: [44, 2]
Generated Node #0,3,2: 46:[44, 2] Operation: 67-65=2
Exploring Operation: 65-44=21, Resulting Numbers: [67, 21]
Generated Node #0,3,3: 46:[67, 21] Operation: 65-44=21
Moving to Node #0,0
Current State: 46:[99, 32, 21], Operations: ['65-44=21']
Exploring Operation: 32+21=53, Resulting Numbers: [99, 53]
Generated Node #0,0,0: 46:[99, 53] Operation: 32+21=53
Exploring Operation: 99-21=78, Resulting Numbers: [32, 78]
Generated Node #0,0,1: 46:[32, 78] Operation: 99-21=78
Exploring Operation: 99-32=67, Resulting Numbers: [21, 67]
Generated Node #0,0,2: 46:[21, 67] Operation: 99-32=67
Exploring Operation: 32-21=11, Resulting Numbers: [99, 11]
Generated Node #0,0,3: 46:[99, 11] Operation: 32-21=11
Moving to Node #0,1,0
Current State: 46:[44, 2], Operations: ['99-65=34', '34-32=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,46 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[65, 99, 32, 44], Operations: []
Exploring Operation: 99-65=34, Resulting Numbers: [32, 44, 34]
Generated Node #0,1: 46:[32, 44, 34] Operation: 99-65=34
Moving to Node #0,1
Current State: 46:[32, 44, 34], Operations: ['99-65=34']
Exploring Operation: 34-32=2, Resulting Numbers: [44, 2]
Generated Node #0,1,0: 46:[44, 2] Operation: 34-32=2
Moving to Node #0,1,0
Current State: 46:[44, 2], Operations: ['99-65=34', '34-32=2']
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.976563 | hs_4 | sum_heuristic |
[
59,
67,
87,
50
] | 29 | [
"67-59=8",
"87-50=37",
"37-8=29"
] | Current State: 29:[59, 67, 87, 50], Operations: []
Exploring Operation: 67-59=8, Resulting Numbers: [87, 50, 8]
Generated Node #2: [87, 50, 8] from Operation: 67-59=8
Current State: 29:[87, 50, 8], Operations: ['67-59=8']
Exploring Operation: 87-50=37, Resulting Numbers: [8, 37]
Generated Node #3: [8, 37] from Operation: 87-50=37
Current State: 29:[8, 37], Operations: ['67-59=8', '87-50=37']
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[59, 67, 87, 50], Operations: []
Exploring Operation: 87-59=28, Resulting Numbers: [67, 50, 28]
Generated Node #0,0: 29:[67, 50, 28] Operation: 87-59=28
Exploring Operation: 87-67=20, Resulting Numbers: [59, 50, 20]
Generated Node #0,1: 29:[59, 50, 20] Operation: 87-67=20
Exploring Operation: 87-50=37, Resulting Numbers: [59, 67, 37]
Generated Node #0,2: 29:[59, 67, 37] Operation: 87-50=37
Exploring Operation: 67-59=8, Resulting Numbers: [87, 50, 8]
Generated Node #0,3: 29:[87, 50, 8] Operation: 67-59=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[67, 50, 28], Operations: ['87-59=28']
Exploring Operation: 67-50=17, Resulting Numbers: [28, 17]
Generated Node #0,0,0: 29:[28, 17] Operation: 67-50=17
Exploring Operation: 67-28=39, Resulting Numbers: [50, 39]
Generated Node #0,0,1: 29:[50, 39] Operation: 67-28=39
Exploring Operation: 67+28=95, Resulting Numbers: [50, 95]
Generated Node #0,0,2: 29:[50, 95] Operation: 67+28=95
Exploring Operation: 50-28=22, Resulting Numbers: [67, 22]
Generated Node #0,0,3: 29:[67, 22] Operation: 50-28=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[28, 17], Operations: ['87-59=28', '67-50=17']
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,29 unequal: No Solution
Exploring Operation: 28*17=476, Resulting Numbers: [476]
476,29 unequal: No Solution
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[50, 39], Operations: ['87-59=28', '67-28=39']
Exploring Operation: 50+39=89, Resulting Numbers: [89]
89,29 unequal: No Solution
Exploring Operation: 50*39=1950, Resulting Numbers: [1950]
1950,29 unequal: No Solution
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 29:[67, 22], Operations: ['87-59=28', '50-28=22']
Exploring Operation: 67+22=89, Resulting Numbers: [89]
89,29 unequal: No Solution
Exploring Operation: 67-22=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Exploring Operation: 67*22=1474, Resulting Numbers: [1474]
1474,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 29:[50, 95], Operations: ['87-59=28', '67+28=95']
Exploring Operation: 95-50=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Exploring Operation: 50+95=145, Resulting Numbers: [145]
145,29 unequal: No Solution
Exploring Operation: 50*95=4750, Resulting Numbers: [4750]
4750,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[59, 50, 20], Operations: ['87-67=20']
Exploring Operation: 59-50=9, Resulting Numbers: [20, 9]
Generated Node #0,1,0: 29:[20, 9] Operation: 59-50=9
Exploring Operation: 50-20=30, Resulting Numbers: [59, 30]
Generated Node #0,1,1: 29:[59, 30] Operation: 50-20=30
Exploring Operation: 59+20=79, Resulting Numbers: [50, 79]
Generated Node #0,1,2: 29:[50, 79] Operation: 59+20=79
Exploring Operation: 59-20=39, Resulting Numbers: [50, 39]
Generated Node #0,1,3: 29:[50, 39] Operation: 59-20=39
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[20, 9], Operations: ['87-67=20', '59-50=9']
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[59, 67, 87, 50], Operations: []
Exploring Operation: 87-67=20, Resulting Numbers: [59, 50, 20]
Generated Node #0,1: 29:[59, 50, 20] Operation: 87-67=20
Moving to Node #0,1
Current State: 29:[59, 50, 20], Operations: ['87-67=20']
Exploring Operation: 59-50=9, Resulting Numbers: [20, 9]
Generated Node #0,1,0: 29:[20, 9] Operation: 59-50=9
Moving to Node #0,1,0
Current State: 29:[20, 9], Operations: ['87-67=20', '59-50=9']
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
79,
10,
48,
6
] | 91 | [
"79-48=31",
"10*6=60",
"31+60=91"
] | Current State: 91:[79, 10, 48, 6], Operations: []
Exploring Operation: 79-48=31, Resulting Numbers: [10, 6, 31]
Generated Node #2: [10, 6, 31] from Operation: 79-48=31
Current State: 91:[10, 6, 31], Operations: ['79-48=31']
Exploring Operation: 10*6=60, Resulting Numbers: [31, 60]
Generated Node #3: [31, 60] from Operation: 10*6=60
Current State: 91:[31, 60], Operations: ['79-48=31', '10*6=60']
Exploring Operation: 31+60=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[79, 10, 48, 6], Operations: []
Exploring Operation: 48/6=8, Resulting Numbers: [79, 10, 8]
Generated Node #0,0: 91:[79, 10, 8] Operation: 48/6=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[79, 10, 8], Operations: ['48/6=8']
Exploring Operation: 79+10=89, Resulting Numbers: [8, 89]
Generated Node #0,0,0: 91:[8, 89] Operation: 79+10=89
Moving to Node #0,0,0
Current State: 91:[8, 89], Operations: ['48/6=8', '79+10=89']
Exploring Operation: 8+89=97, Resulting Numbers: [97]
97,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
44,
57,
51,
49
] | 31 | [
"51-49=2",
"44*2=88",
"88-57=31"
] | Current State: 31:[44, 57, 51, 49], Operations: []
Exploring Operation: 51-49=2, Resulting Numbers: [44, 57, 2]
Generated Node #2: [44, 57, 2] from Operation: 51-49=2
Current State: 31:[44, 57, 2], Operations: ['51-49=2']
Exploring Operation: 44*2=88, Resulting Numbers: [57, 88]
Generated Node #3: [57, 88] from Operation: 44*2=88
Current State: 31:[57, 88], Operations: ['51-49=2', '44*2=88']
Exploring Operation: 88-57=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[44, 57, 51, 49], Operations: []
Exploring Operation: 57-44=13, Resulting Numbers: [51, 49, 13]
Generated Node #0,0: 31:[51, 49, 13] Operation: 57-44=13
Moving to Node #0,0
Current State: 31:[51, 49, 13], Operations: ['57-44=13']
Exploring Operation: 51-13=38, Resulting Numbers: [49, 38]
Generated Node #0,0,0: 31:[49, 38] Operation: 51-13=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[49, 38], Operations: ['57-44=13', '51-13=38']
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,31 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 |
[
5,
84,
17,
29
] | 12 | [
"5+17=22",
"29-22=7",
"84/7=12"
] | Current State: 12:[5, 84, 17, 29], Operations: []
Exploring Operation: 5+17=22, Resulting Numbers: [84, 29, 22]
Generated Node #2: [84, 29, 22] from Operation: 5+17=22
Current State: 12:[84, 29, 22], Operations: ['5+17=22']
Exploring Operation: 29-22=7, Resulting Numbers: [84, 7]
Generated Node #3: [84, 7] from Operation: 29-22=7
Current State: 12:[84, 7], Operations: ['5+17=22', '29-22=7']
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[5, 84, 17, 29], Operations: []
Exploring Operation: 29-17=12, Resulting Numbers: [5, 84, 12]
Generated Node #0,0: 12:[5, 84, 12] Operation: 29-17=12
Exploring Operation: 84-29=55, Resulting Numbers: [5, 17, 55]
Generated Node #0,1: 12:[5, 17, 55] Operation: 84-29=55
Exploring Operation: 84-17=67, Resulting Numbers: [5, 29, 67]
Generated Node #0,2: 12:[5, 29, 67] Operation: 84-17=67
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[5, 17, 55], Operations: ['84-29=55']
Exploring Operation: 55/5=11, Resulting Numbers: [17, 11]
Generated Node #0,1,0: 12:[17, 11] Operation: 55/5=11
Exploring Operation: 17-5=12, Resulting Numbers: [55, 12]
Generated Node #0,1,1: 12:[55, 12] Operation: 17-5=12
Exploring Operation: 55-17=38, Resulting Numbers: [5, 38]
Generated Node #0,1,2: 12:[5, 38] Operation: 55-17=38
Moving to Node #0,1,0
Current State: 12:[17, 11], Operations: ['84-29=55', '55/5=11']
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,12 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[5, 38], Operations: ['84-29=55', '55-17=38']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,12 unequal: No Solution
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[55, 12], Operations: ['84-29=55', '17-5=12']
Exploring Operation: 55*12=660, Resulting Numbers: [660]
660,12 unequal: No Solution
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,12 unequal: No Solution
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[5, 84, 12], Operations: ['29-17=12']
Exploring Operation: 84-12=72, Resulting Numbers: [5, 72]
Generated Node #0,0,0: 12:[5, 72] Operation: 84-12=72
Exploring Operation: 84/12=7, Resulting Numbers: [5, 7]
Generated Node #0,0,1: 12:[5, 7] Operation: 84/12=7
Exploring Operation: 84-5=79, Resulting Numbers: [12, 79]
Generated Node #0,0,2: 12:[12, 79] Operation: 84-5=79
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 12:[5, 7], Operations: ['29-17=12', '84/12=7']
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[5, 84, 17, 29], Operations: []
Exploring Operation: 29-17=12, Resulting Numbers: [5, 84, 12]
Generated Node #0,0: 12:[5, 84, 12] Operation: 29-17=12
Moving to Node #0,0
Current State: 12:[5, 84, 12], Operations: ['29-17=12']
Exploring Operation: 84/12=7, Resulting Numbers: [5, 7]
Generated Node #0,0,1: 12:[5, 7] Operation: 84/12=7
Moving to Node #0,0,1
Current State: 12:[5, 7], Operations: ['29-17=12', '84/12=7']
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
35,
14,
28,
57
] | 76 | [
"35-14=21",
"28*57=1596",
"1596/21=76"
] | Current State: 76:[35, 14, 28, 57], Operations: []
Exploring Operation: 35-14=21, Resulting Numbers: [28, 57, 21]
Generated Node #2: [28, 57, 21] from Operation: 35-14=21
Current State: 76:[28, 57, 21], Operations: ['35-14=21']
Exploring Operation: 28*57=1596, Resulting Numbers: [21, 1596]
Generated Node #3: [21, 1596] from Operation: 28*57=1596
Current State: 76:[21, 1596], Operations: ['35-14=21', '28*57=1596']
Exploring Operation: 1596/21=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[35, 14, 28, 57], Operations: []
Exploring Operation: 57-35=22, Resulting Numbers: [14, 28, 22]
Generated Node #0,0: 76:[14, 28, 22] Operation: 57-35=22
Exploring Operation: 14+57=71, Resulting Numbers: [35, 28, 71]
Generated Node #0,1: 76:[35, 28, 71] Operation: 14+57=71
Moving to Node #0,0
Current State: 76:[14, 28, 22], Operations: ['57-35=22']
Exploring Operation: 14+28=42, Resulting Numbers: [22, 42]
Generated Node #0,0,0: 76:[22, 42] Operation: 14+28=42
Exploring Operation: 28/14=2, Resulting Numbers: [22, 2]
Generated Node #0,0,1: 76:[22, 2] Operation: 28/14=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[22, 2], Operations: ['57-35=22', '28/14=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[22, 42], Operations: ['57-35=22', '14+28=42']
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 22+42=64, Resulting Numbers: [64]
64,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 76:[35, 28, 71], Operations: ['14+57=71']
Exploring Operation: 71-28=43, Resulting Numbers: [35, 43]
Generated Node #0,1,0: 76:[35, 43] Operation: 71-28=43
Exploring Operation: 35-28=7, Resulting Numbers: [71, 7]
Generated Node #0,1,1: 76:[71, 7] Operation: 35-28=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[35, 43], Operations: ['14+57=71', '71-28=43']
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 35+43=78, Resulting Numbers: [78]
78,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:[71, 7], Operations: ['14+57=71', '35-28=7']
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,76 unequal: No Solution
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,76 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 |
[
91,
90,
79,
10
] | 68 | [
"91-90=1",
"79-10=69",
"69-1=68"
] | Current State: 68:[91, 90, 79, 10], Operations: []
Exploring Operation: 91-90=1, Resulting Numbers: [79, 10, 1]
Generated Node #2: [79, 10, 1] from Operation: 91-90=1
Current State: 68:[79, 10, 1], Operations: ['91-90=1']
Exploring Operation: 79-10=69, Resulting Numbers: [1, 69]
Generated Node #3: [1, 69] from Operation: 79-10=69
Current State: 68:[1, 69], Operations: ['91-90=1', '79-10=69']
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[91, 90, 79, 10], Operations: []
Exploring Operation: 90-79=11, Resulting Numbers: [91, 10, 11]
Generated Node #0,0: 68:[91, 10, 11] Operation: 90-79=11
Exploring Operation: 91-79=12, Resulting Numbers: [90, 10, 12]
Generated Node #0,1: 68:[90, 10, 12] Operation: 91-79=12
Exploring Operation: 91-90=1, Resulting Numbers: [79, 10, 1]
Generated Node #0,2: 68:[79, 10, 1] Operation: 91-90=1
Exploring Operation: 90/10=9, Resulting Numbers: [91, 79, 9]
Generated Node #0,3: 68:[91, 79, 9] Operation: 90/10=9
Moving to Node #0,2
Current State: 68:[79, 10, 1], Operations: ['91-90=1']
Exploring Operation: 79-10=69, Resulting Numbers: [1, 69]
Generated Node #0,2,0: 68:[1, 69] Operation: 79-10=69
Exploring Operation: 79-1=78, Resulting Numbers: [10, 78]
Generated Node #0,2,1: 68:[10, 78] Operation: 79-1=78
Exploring Operation: 10-1=9, Resulting Numbers: [79, 9]
Generated Node #0,2,2: 68:[79, 9] Operation: 10-1=9
Exploring Operation: 79*1=79, Resulting Numbers: [10, 79]
Generated Node #0,2,3: 68:[10, 79] Operation: 79*1=79
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 68:[1, 69], Operations: ['91-90=1', '79-10=69']
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[91, 90, 79, 10], Operations: []
Exploring Operation: 91-90=1, Resulting Numbers: [79, 10, 1]
Generated Node #0,2: 68:[79, 10, 1] Operation: 91-90=1
Moving to Node #0,2
Current State: 68:[79, 10, 1], Operations: ['91-90=1']
Exploring Operation: 79-10=69, Resulting Numbers: [1, 69]
Generated Node #0,2,0: 68:[1, 69] Operation: 79-10=69
Moving to Node #0,2,0
Current State: 68:[1, 69], Operations: ['91-90=1', '79-10=69']
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
44,
95,
79,
40
] | 19 | [
"79-44=35",
"40-35=5",
"95/5=19"
] | Current State: 19:[44, 95, 79, 40], Operations: []
Exploring Operation: 79-44=35, Resulting Numbers: [95, 40, 35]
Generated Node #2: [95, 40, 35] from Operation: 79-44=35
Current State: 19:[95, 40, 35], Operations: ['79-44=35']
Exploring Operation: 40-35=5, Resulting Numbers: [95, 5]
Generated Node #3: [95, 5] from Operation: 40-35=5
Current State: 19:[95, 5], Operations: ['79-44=35', '40-35=5']
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[44, 95, 79, 40], Operations: []
Exploring Operation: 95-79=16, Resulting Numbers: [44, 40, 16]
Generated Node #0,0: 19:[44, 40, 16] Operation: 95-79=16
Moving to Node #0,0
Current State: 19:[44, 40, 16], Operations: ['95-79=16']
Exploring Operation: 44-40=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 19:[16, 4] Operation: 44-40=4
Moving to Node #0,0,0
Current State: 19:[16, 4], Operations: ['95-79=16', '44-40=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,19 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
95,
1,
97,
20
] | 40 | [
"95*1=95",
"97-95=2",
"20*2=40"
] | Current State: 40:[95, 1, 97, 20], Operations: []
Exploring Operation: 95*1=95, Resulting Numbers: [97, 20, 95]
Generated Node #2: [97, 20, 95] from Operation: 95*1=95
Current State: 40:[97, 20, 95], Operations: ['95*1=95']
Exploring Operation: 97-95=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 97-95=2
Current State: 40:[20, 2], Operations: ['95*1=95', '97-95=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[95, 1, 97, 20], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [1, 20, 2]
Generated Node #0,0: 40:[1, 20, 2] Operation: 97-95=2
Exploring Operation: 95-20=75, Resulting Numbers: [1, 97, 75]
Generated Node #0,1: 40:[1, 97, 75] Operation: 95-20=75
Moving to Node #0,0
Current State: 40:[1, 20, 2], Operations: ['97-95=2']
Exploring Operation: 20/1=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 40:[2, 20] Operation: 20/1=20
Exploring Operation: 1*20=20, Resulting Numbers: [2, 20]
Generated Node #0,0,1: 40:[2, 20] Operation: 1*20=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[2, 20], Operations: ['97-95=2', '20/1=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[95, 1, 97, 20], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [1, 20, 2]
Generated Node #0,0: 40:[1, 20, 2] Operation: 97-95=2
Moving to Node #0,0
Current State: 40:[1, 20, 2], Operations: ['97-95=2']
Exploring Operation: 20/1=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 40:[2, 20] Operation: 20/1=20
Moving to Node #0,0,0
Current State: 40:[2, 20], Operations: ['97-95=2', '20/1=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
96,
2,
84,
5
] | 34 | [
"96+84=180",
"180/5=36",
"36-2=34"
] | Current State: 34:[96, 2, 84, 5], Operations: []
Exploring Operation: 96+84=180, Resulting Numbers: [2, 5, 180]
Generated Node #2: [2, 5, 180] from Operation: 96+84=180
Current State: 34:[2, 5, 180], Operations: ['96+84=180']
Exploring Operation: 180/5=36, Resulting Numbers: [2, 36]
Generated Node #3: [2, 36] from Operation: 180/5=36
Current State: 34:[2, 36], Operations: ['96+84=180', '180/5=36']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[96, 2, 84, 5], Operations: []
Exploring Operation: 96/2=48, Resulting Numbers: [84, 5, 48]
Generated Node #0,0: 34:[84, 5, 48] Operation: 96/2=48
Exploring Operation: 84-5=79, Resulting Numbers: [96, 2, 79]
Generated Node #0,1: 34:[96, 2, 79] Operation: 84-5=79
Exploring Operation: 96-84=12, Resulting Numbers: [2, 5, 12]
Generated Node #0,2: 34:[2, 5, 12] Operation: 96-84=12
Exploring Operation: 84/2=42, Resulting Numbers: [96, 5, 42]
Generated Node #0,3: 34:[96, 5, 42] Operation: 84/2=42
Exploring Operation: 96-5=91, Resulting Numbers: [2, 84, 91]
Generated Node #0,4: 34:[2, 84, 91] Operation: 96-5=91
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[2, 5, 12], Operations: ['96-84=12']
Exploring Operation: 12-5=7, Resulting Numbers: [2, 7]
Generated Node #0,2,0: 34:[2, 7] Operation: 12-5=7
Exploring Operation: 2+12=14, Resulting Numbers: [5, 14]
Generated Node #0,2,1: 34:[5, 14] Operation: 2+12=14
Exploring Operation: 5-2=3, Resulting Numbers: [12, 3]
Generated Node #0,2,2: 34:[12, 3] Operation: 5-2=3
Exploring Operation: 12/2=6, Resulting Numbers: [5, 6]
Generated Node #0,2,3: 34:[5, 6] Operation: 12/2=6
Exploring Operation: 5+12=17, Resulting Numbers: [2, 17]
Generated Node #0,2,4: 34:[2, 17] Operation: 5+12=17
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 34:[2, 17], Operations: ['96-84=12', '5+12=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[96, 2, 84, 5], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [2, 5, 12]
Generated Node #0,2: 34:[2, 5, 12] Operation: 96-84=12
Moving to Node #0,2
Current State: 34:[2, 5, 12], Operations: ['96-84=12']
Exploring Operation: 5+12=17, Resulting Numbers: [2, 17]
Generated Node #0,2,4: 34:[2, 17] Operation: 5+12=17
Moving to Node #0,2,4
Current State: 34:[2, 17], Operations: ['96-84=12', '5+12=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
97,
90,
45,
90
] | 95 | [
"90-45=45",
"90/45=2",
"97-2=95"
] | Current State: 95:[97, 90, 45, 90], Operations: []
Exploring Operation: 90-45=45, Resulting Numbers: [97, 45]
Generated Node #2: [97, 45] from Operation: 90-45=45
Current State: 95:[97, 45], Operations: ['90-45=45']
Exploring Operation: 90/45=2, Resulting Numbers: [97, 2]
Generated Node #3: [97, 2] from Operation: 90/45=2
Current State: 95:[97, 2], Operations: ['90-45=45', '90/45=2']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[97, 90, 45, 90], Operations: []
Exploring Operation: 97-90=7, Resulting Numbers: [45, 90, 7]
Generated Node #0,0: 95:[45, 90, 7] Operation: 97-90=7
Exploring Operation: 97-90=7, Resulting Numbers: [90, 45, 7]
Generated Node #0,1: 95:[90, 45, 7] Operation: 97-90=7
Exploring Operation: 90/45=2, Resulting Numbers: [97, 90, 2]
Generated Node #0,2: 95:[97, 90, 2] Operation: 90/45=2
Exploring Operation: 90/45=2, Resulting Numbers: [97, 90, 2]
Generated Node #0,3: 95:[97, 90, 2] Operation: 90/45=2
Exploring Operation: 90/90=1, Resulting Numbers: [97, 45, 1]
Generated Node #0,4: 95:[97, 45, 1] Operation: 90/90=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[97, 90, 2], Operations: ['90/45=2']
Exploring Operation: 97-2=95, Resulting Numbers: [90, 95]
Generated Node #0,2,0: 95:[90, 95] Operation: 97-2=95
Exploring Operation: 90+2=92, Resulting Numbers: [97, 92]
Generated Node #0,2,1: 95:[97, 92] Operation: 90+2=92
Exploring Operation: 90-2=88, Resulting Numbers: [97, 88]
Generated Node #0,2,2: 95:[97, 88] Operation: 90-2=88
Exploring Operation: 97-90=7, Resulting Numbers: [2, 7]
Generated Node #0,2,3: 95:[2, 7] Operation: 97-90=7
Exploring Operation: 97+2=99, Resulting Numbers: [90, 99]
Generated Node #0,2,4: 95:[90, 99] Operation: 97+2=99
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 95:[90, 95], Operations: ['90/45=2', '97-2=95']
Exploring Operation: 90+95=185, Resulting Numbers: [185]
185,95 unequal: No Solution
Exploring Operation: 90*95=8550, Resulting Numbers: [8550]
8550,95 unequal: No Solution
Exploring Operation: 95-90=5, Resulting Numbers: [5]
5,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 95:[97, 92], Operations: ['90/45=2', '90+2=92']
Exploring Operation: 97*92=8924, Resulting Numbers: [8924]
8924,95 unequal: No Solution
Exploring Operation: 97-92=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 97+92=189, Resulting Numbers: [189]
189,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 95:[2, 7], Operations: ['90/45=2', '97-90=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 95:[97, 88], Operations: ['90/45=2', '90-2=88']
Exploring Operation: 97-88=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 97*88=8536, Resulting Numbers: [8536]
8536,95 unequal: No Solution
Exploring Operation: 97+88=185, Resulting Numbers: [185]
185,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 95:[90, 99], Operations: ['90/45=2', '97+2=99']
Exploring Operation: 90*99=8910, Resulting Numbers: [8910]
8910,95 unequal: No Solution
Exploring Operation: 99-90=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 90+99=189, Resulting Numbers: [189]
189,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[97, 90, 2], Operations: ['90/45=2']
Exploring Operation: 90-2=88, Resulting Numbers: [97, 88]
Generated Node #0,3,0: 95:[97, 88] Operation: 90-2=88
Exploring Operation: 97-90=7, Resulting Numbers: [2, 7]
Generated Node #0,3,1: 95:[2, 7] Operation: 97-90=7
Exploring Operation: 97+2=99, Resulting Numbers: [90, 99]
Generated Node #0,3,2: 95:[90, 99] Operation: 97+2=99
Exploring Operation: 90+2=92, Resulting Numbers: [97, 92]
Generated Node #0,3,3: 95:[97, 92] Operation: 90+2=92
Exploring Operation: 97-2=95, Resulting Numbers: [90, 95]
Generated Node #0,3,4: 95:[90, 95] Operation: 97-2=95
Moving to Node #0,3,1
Current State: 95:[2, 7], Operations: ['90/45=2', '97-90=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Moving to Node #0,3,4
Current State: 95:[90, 95], Operations: ['90/45=2', '97-2=95']
Exploring Operation: 90+95=185, Resulting Numbers: [185]
185,95 unequal: No Solution
Exploring Operation: 90*95=8550, Resulting Numbers: [8550]
8550,95 unequal: No Solution
Exploring Operation: 95-90=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Moving to Node #0,3,3
Current State: 95:[97, 92], Operations: ['90/45=2', '90+2=92']
Exploring Operation: 97*92=8924, Resulting Numbers: [8924]
8924,95 unequal: No Solution
Exploring Operation: 97-92=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 97+92=189, Resulting Numbers: [189]
189,95 unequal: No Solution
Moving to Node #0,3,0
Current State: 95:[97, 88], Operations: ['90/45=2', '90-2=88']
Exploring Operation: 97*88=8536, Resulting Numbers: [8536]
8536,95 unequal: No Solution
Exploring Operation: 97-88=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 97+88=185, Resulting Numbers: [185]
185,95 unequal: No Solution
Moving to Node #0,3,2
Current State: 95:[90, 99], Operations: ['90/45=2', '97+2=99']
Exploring Operation: 90+99=189, Resulting Numbers: [189]
189,95 unequal: No Solution
Exploring Operation: 90*99=8910, Resulting Numbers: [8910]
8910,95 unequal: No Solution
Exploring Operation: 99-90=9, Resulting Numbers: [9]
9,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 95:[97, 45, 1], Operations: ['90/90=1']
Exploring Operation: 45-1=44, Resulting Numbers: [97, 44]
Generated Node #0,4,0: 95:[97, 44] Operation: 45-1=44
Exploring Operation: 97/1=97, Resulting Numbers: [45, 97]
Generated Node #0,4,1: 95:[45, 97] Operation: 97/1=97
Exploring Operation: 97-1=96, Resulting Numbers: [45, 96]
Generated Node #0,4,2: 95:[45, 96] Operation: 97-1=96
Exploring Operation: 45*1=45, Resulting Numbers: [97, 45]
Generated Node #0,4,3: 95:[97, 45] Operation: 45*1=45
Exploring Operation: 97*1=97, Resulting Numbers: [45, 97]
Generated Node #0,4,4: 95:[45, 97] Operation: 97*1=97
Moving to Node #0,4,0
Current State: 95:[97, 44], Operations: ['90/90=1', '45-1=44']
Exploring Operation: 97-44=53, Resulting Numbers: [53]
53,95 unequal: No Solution
Exploring Operation: 97+44=141, Resulting Numbers: [141]
141,95 unequal: No Solution
Exploring Operation: 97*44=4268, Resulting Numbers: [4268]
4268,95 unequal: No Solution
Moving to Node #0,4,2
Current State: 95:[45, 96], Operations: ['90/90=1', '97-1=96']
Exploring Operation: 96-45=51, Resulting Numbers: [51]
51,95 unequal: No Solution
Exploring Operation: 45+96=141, Resulting Numbers: [141]
141,95 unequal: No Solution
Exploring Operation: 45*96=4320, Resulting Numbers: [4320]
4320,95 unequal: No Solution
Moving to Node #0,4,1
Current State: 95:[45, 97], Operations: ['90/90=1', '97/1=97']
Exploring Operation: 45+97=142, Resulting Numbers: [142]
142,95 unequal: No Solution
Exploring Operation: 97-45=52, Resulting Numbers: [52]
52,95 unequal: No Solution
Exploring Operation: 45*97=4365, Resulting Numbers: [4365]
4365,95 unequal: No Solution
Moving to Node #0,4,3
Current State: 95:[97, 45], Operations: ['90/90=1', '45*1=45']
Exploring Operation: 97+45=142, Resulting Numbers: [142]
142,95 unequal: No Solution
Exploring Operation: 97-45=52, Resulting Numbers: [52]
52,95 unequal: No Solution
Exploring Operation: 97*45=4365, Resulting Numbers: [4365]
4365,95 unequal: No Solution
Moving to Node #0,4,4
Current State: 95:[45, 97], Operations: ['90/90=1', '97*1=97']
Exploring Operation: 45+97=142, Resulting Numbers: [142]
142,95 unequal: No Solution
Exploring Operation: 45*97=4365, Resulting Numbers: [4365]
4365,95 unequal: No Solution
Exploring Operation: 97-45=52, Resulting Numbers: [52]
52,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[45, 90, 7], Operations: ['97-90=7']
Exploring Operation: 45-7=38, Resulting Numbers: [90, 38]
Generated Node #0,0,0: 95:[90, 38] Operation: 45-7=38
Exploring Operation: 90/45=2, Resulting Numbers: [7, 2]
Generated Node #0,0,1: 95:[7, 2] Operation: 90/45=2
Exploring Operation: 45+7=52, Resulting Numbers: [90, 52]
Generated Node #0,0,2: 95:[90, 52] Operation: 45+7=52
Exploring Operation: 90-45=45, Resulting Numbers: [7, 45]
Generated Node #0,0,3: 95:[7, 45] Operation: 90-45=45
Exploring Operation: 90+7=97, Resulting Numbers: [45, 97]
Generated Node #0,0,4: 95:[45, 97] Operation: 90+7=97
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[7, 2], Operations: ['97-90=7', '90/45=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[90, 38], Operations: ['97-90=7', '45-7=38']
Exploring Operation: 90+38=128, Resulting Numbers: [128]
128,95 unequal: No Solution
Exploring Operation: 90*38=3420, Resulting Numbers: [3420]
3420,95 unequal: No Solution
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 95:[7, 45], Operations: ['97-90=7', '90-45=45']
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,95 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,95 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 95:[45, 97], Operations: ['97-90=7', '90+7=97']
Exploring Operation: 97-45=52, Resulting Numbers: [52]
52,95 unequal: No Solution
Exploring Operation: 45+97=142, Resulting Numbers: [142]
142,95 unequal: No Solution
Exploring Operation: 45*97=4365, Resulting Numbers: [4365]
4365,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 95:[90, 52], Operations: ['97-90=7', '45+7=52']
Exploring Operation: 90*52=4680, Resulting Numbers: [4680]
4680,95 unequal: No Solution
Exploring Operation: 90+52=142, Resulting Numbers: [142]
142,95 unequal: No Solution
Exploring Operation: 90-52=38, Resulting Numbers: [38]
38,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[90, 45, 7], Operations: ['97-90=7']
Exploring Operation: 90/45=2, Resulting Numbers: [7, 2]
Generated Node #0,1,0: 95:[7, 2] Operation: 90/45=2
Exploring Operation: 90-45=45, Resulting Numbers: [7, 45]
Generated Node #0,1,1: 95:[7, 45] Operation: 90-45=45
Exploring Operation: 90-7=83, Resulting Numbers: [45, 83]
Generated Node #0,1,2: 95:[45, 83] Operation: 90-7=83
Exploring Operation: 45-7=38, Resulting Numbers: [90, 38]
Generated Node #0,1,3: 95:[90, 38] Operation: 45-7=38
Exploring Operation: 90+7=97, Resulting Numbers: [45, 97]
Generated Node #0,1,4: 95:[45, 97] Operation: 90+7=97
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[7, 2], Operations: ['97-90=7', '90/45=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 95:[90, 38], Operations: ['97-90=7', '45-7=38']
Exploring Operation: 90+38=128, Resulting Numbers: [128]
128,95 unequal: No Solution
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,95 unequal: No Solution
Exploring Operation: 90*38=3420, Resulting Numbers: [3420]
3420,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[7, 45], Operations: ['97-90=7', '90-45=45']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,95 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,95 unequal: No Solution
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 95:[45, 97], Operations: ['97-90=7', '90+7=97']
Exploring Operation: 45+97=142, Resulting Numbers: [142]
142,95 unequal: No Solution
Exploring Operation: 45*97=4365, Resulting Numbers: [4365]
4365,95 unequal: No Solution
Exploring Operation: 97-45=52, Resulting Numbers: [52]
52,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 95:[45, 83], Operations: ['97-90=7', '90-7=83']
Exploring Operation: 45+83=128, Resulting Numbers: [128]
128,95 unequal: No Solution
Exploring Operation: 45*83=3735, Resulting Numbers: [3735]
3735,95 unequal: No Solution
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
18,
40,
18,
2
] | 72 | [
"18*2=36",
"40-36=4",
"18*4=72"
] | Current State: 72:[18, 40, 18, 2], Operations: []
Exploring Operation: 18*2=36, Resulting Numbers: [40, 36]
Generated Node #2: [40, 36] from Operation: 18*2=36
Current State: 72:[40, 36], Operations: ['18*2=36']
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,72 equal: Goal Reached
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[18, 40, 18, 2], Operations: []
Exploring Operation: 40-18=22, Resulting Numbers: [18, 2, 22]
Generated Node #0,0: 72:[18, 2, 22] Operation: 40-18=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[18, 2, 22], Operations: ['40-18=22']
Exploring Operation: 22-18=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 72:[2, 4] Operation: 22-18=4
Moving to Node #0,0,0
Current State: 72:[2, 4], Operations: ['40-18=22', '22-18=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,72 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 |
[
38,
67,
38,
31
] | 97 | [
"38/38=1",
"67+31=98",
"98-1=97"
] | Current State: 97:[38, 67, 38, 31], Operations: []
Exploring Operation: 38/38=1, Resulting Numbers: [67, 31, 1]
Generated Node #2: [67, 31, 1] from Operation: 38/38=1
Current State: 97:[67, 31, 1], Operations: ['38/38=1']
Exploring Operation: 67+31=98, Resulting Numbers: [1, 98]
Generated Node #3: [1, 98] from Operation: 67+31=98
Current State: 97:[1, 98], Operations: ['38/38=1', '67+31=98']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[38, 67, 38, 31], Operations: []
Exploring Operation: 38+38=76, Resulting Numbers: [67, 31, 76]
Generated Node #0,0: 97:[67, 31, 76] Operation: 38+38=76
Exploring Operation: 38+31=69, Resulting Numbers: [38, 67, 69]
Generated Node #0,1: 97:[38, 67, 69] Operation: 38+31=69
Exploring Operation: 38+31=69, Resulting Numbers: [67, 38, 69]
Generated Node #0,2: 97:[67, 38, 69] Operation: 38+31=69
Exploring Operation: 67+31=98, Resulting Numbers: [38, 38, 98]
Generated Node #0,3: 97:[38, 38, 98] Operation: 67+31=98
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[67, 31, 76], Operations: ['38+38=76']
Exploring Operation: 31+76=107, Resulting Numbers: [67, 107]
Generated Node #0,0,0: 97:[67, 107] Operation: 31+76=107
Exploring Operation: 67-31=36, Resulting Numbers: [76, 36]
Generated Node #0,0,1: 97:[76, 36] Operation: 67-31=36
Exploring Operation: 76-31=45, Resulting Numbers: [67, 45]
Generated Node #0,0,2: 97:[67, 45] Operation: 76-31=45
Exploring Operation: 67+31=98, Resulting Numbers: [76, 98]
Generated Node #0,0,3: 97:[76, 98] Operation: 67+31=98
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 97:[76, 98], Operations: ['38+38=76', '67+31=98']
Exploring Operation: 76+98=174, Resulting Numbers: [174]
174,97 unequal: No Solution
Exploring Operation: 98-76=22, Resulting Numbers: [22]
22,97 unequal: No Solution
Exploring Operation: 76*98=7448, Resulting Numbers: [7448]
7448,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[67, 107], Operations: ['38+38=76', '31+76=107']
Exploring Operation: 107-67=40, Resulting Numbers: [40]
40,97 unequal: No Solution
Exploring Operation: 67*107=7169, Resulting Numbers: [7169]
7169,97 unequal: No Solution
Exploring Operation: 67+107=174, Resulting Numbers: [174]
174,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[76, 36], Operations: ['38+38=76', '67-31=36']
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,97 unequal: No Solution
Exploring Operation: 76*36=2736, Resulting Numbers: [2736]
2736,97 unequal: No Solution
Exploring Operation: 76+36=112, Resulting Numbers: [112]
112,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 97:[67, 45], Operations: ['38+38=76', '76-31=45']
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,97 unequal: No Solution
Exploring Operation: 67+45=112, Resulting Numbers: [112]
112,97 unequal: No Solution
Exploring Operation: 67*45=3015, Resulting Numbers: [3015]
3015,97 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: 97:[38, 67, 69], Operations: ['38+31=69']
Exploring Operation: 38+67=105, Resulting Numbers: [69, 105]
Generated Node #0,1,0: 97:[69, 105] Operation: 38+67=105
Exploring Operation: 67-38=29, Resulting Numbers: [69, 29]
Generated Node #0,1,1: 97:[69, 29] Operation: 67-38=29
Exploring Operation: 38+69=107, Resulting Numbers: [67, 107]
Generated Node #0,1,2: 97:[67, 107] Operation: 38+69=107
Exploring Operation: 69-38=31, Resulting Numbers: [67, 31]
Generated Node #0,1,3: 97:[67, 31] Operation: 69-38=31
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[69, 105], Operations: ['38+31=69', '38+67=105']
Exploring Operation: 69*105=7245, Resulting Numbers: [7245]
7245,97 unequal: No Solution
Exploring Operation: 105-69=36, Resulting Numbers: [36]
36,97 unequal: No Solution
Exploring Operation: 69+105=174, Resulting Numbers: [174]
174,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 97:[67, 107], Operations: ['38+31=69', '38+69=107']
Exploring Operation: 67+107=174, Resulting Numbers: [174]
174,97 unequal: No Solution
Exploring Operation: 67*107=7169, Resulting Numbers: [7169]
7169,97 unequal: No Solution
Exploring Operation: 107-67=40, Resulting Numbers: [40]
40,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[69, 29], Operations: ['38+31=69', '67-38=29']
Exploring Operation: 69+29=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 69*29=2001, Resulting Numbers: [2001]
2001,97 unequal: No Solution
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 97:[67, 31], Operations: ['38+31=69', '69-38=31']
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,97 unequal: No Solution
Exploring Operation: 67*31=2077, Resulting Numbers: [2077]
2077,97 unequal: No Solution
Exploring Operation: 67+31=98, Resulting Numbers: [98]
98,97 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: 97:[67, 38, 69], Operations: ['38+31=69']
Exploring Operation: 67+38=105, Resulting Numbers: [69, 105]
Generated Node #0,2,0: 97:[69, 105] Operation: 67+38=105
Exploring Operation: 38+69=107, Resulting Numbers: [67, 107]
Generated Node #0,2,1: 97:[67, 107] Operation: 38+69=107
Exploring Operation: 69-38=31, Resulting Numbers: [67, 31]
Generated Node #0,2,2: 97:[67, 31] Operation: 69-38=31
Exploring Operation: 67-38=29, Resulting Numbers: [69, 29]
Generated Node #0,2,3: 97:[69, 29] Operation: 67-38=29
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 97:[69, 105], Operations: ['38+31=69', '67+38=105']
Exploring Operation: 69*105=7245, Resulting Numbers: [7245]
7245,97 unequal: No Solution
Exploring Operation: 105-69=36, Resulting Numbers: [36]
36,97 unequal: No Solution
Exploring Operation: 69+105=174, Resulting Numbers: [174]
174,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 97:[67, 107], Operations: ['38+31=69', '38+69=107']
Exploring Operation: 107-67=40, Resulting Numbers: [40]
40,97 unequal: No Solution
Exploring Operation: 67+107=174, Resulting Numbers: [174]
174,97 unequal: No Solution
Exploring Operation: 67*107=7169, Resulting Numbers: [7169]
7169,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 97:[67, 31], Operations: ['38+31=69', '69-38=31']
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,97 unequal: No Solution
Exploring Operation: 67*31=2077, Resulting Numbers: [2077]
2077,97 unequal: No Solution
Exploring Operation: 67+31=98, Resulting Numbers: [98]
98,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 97:[69, 29], Operations: ['38+31=69', '67-38=29']
Exploring Operation: 69*29=2001, Resulting Numbers: [2001]
2001,97 unequal: No Solution
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,97 unequal: No Solution
Exploring Operation: 69+29=98, Resulting Numbers: [98]
98,97 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: 97:[38, 38, 98], Operations: ['67+31=98']
Exploring Operation: 38/38=1, Resulting Numbers: [98, 1]
Generated Node #0,3,0: 97:[98, 1] Operation: 38/38=1
Exploring Operation: 98-38=60, Resulting Numbers: [38, 60]
Generated Node #0,3,1: 97:[38, 60] Operation: 98-38=60
Exploring Operation: 98-38=60, Resulting Numbers: [38, 60]
Generated Node #0,3,2: 97:[38, 60] Operation: 98-38=60
Exploring Operation: 38+38=76, Resulting Numbers: [98, 76]
Generated Node #0,3,3: 97:[98, 76] Operation: 38+38=76
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 97:[98, 76], Operations: ['67+31=98', '38+38=76']
Exploring Operation: 98+76=174, Resulting Numbers: [174]
174,97 unequal: No Solution
Exploring Operation: 98*76=7448, Resulting Numbers: [7448]
7448,97 unequal: No Solution
Exploring Operation: 98-76=22, Resulting Numbers: [22]
22,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 97:[38, 60], Operations: ['67+31=98', '98-38=60']
Exploring Operation: 38+60=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 60-38=22, Resulting Numbers: [22]
22,97 unequal: No Solution
Exploring Operation: 38*60=2280, Resulting Numbers: [2280]
2280,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 97:[38, 60], Operations: ['67+31=98', '98-38=60']
Exploring Operation: 38+60=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 38*60=2280, Resulting Numbers: [2280]
2280,97 unequal: No Solution
Exploring Operation: 60-38=22, Resulting Numbers: [22]
22,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 97:[98, 1], Operations: ['67+31=98', '38/38=1']
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[38, 67, 38, 31], Operations: []
Exploring Operation: 67+31=98, Resulting Numbers: [38, 38, 98]
Generated Node #0,3: 97:[38, 38, 98] Operation: 67+31=98
Moving to Node #0,3
Current State: 97:[38, 38, 98], Operations: ['67+31=98']
Exploring Operation: 38/38=1, Resulting Numbers: [98, 1]
Generated Node #0,3,0: 97:[98, 1] Operation: 38/38=1
Moving to Node #0,3,0
Current State: 97:[98, 1], Operations: ['67+31=98', '38/38=1']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.938368 | hs_4 | sum_heuristic |
[
51,
50,
17,
30
] | 88 | [
"51+50=101",
"30-17=13",
"101-13=88"
] | Current State: 88:[51, 50, 17, 30], Operations: []
Exploring Operation: 51+50=101, Resulting Numbers: [17, 30, 101]
Generated Node #2: [17, 30, 101] from Operation: 51+50=101
Current State: 88:[17, 30, 101], Operations: ['51+50=101']
Exploring Operation: 30-17=13, Resulting Numbers: [101, 13]
Generated Node #3: [101, 13] from Operation: 30-17=13
Current State: 88:[101, 13], Operations: ['51+50=101', '30-17=13']
Exploring Operation: 101-13=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[51, 50, 17, 30], Operations: []
Exploring Operation: 51-30=21, Resulting Numbers: [50, 17, 21]
Generated Node #0,0: 88:[50, 17, 21] Operation: 51-30=21
Exploring Operation: 51-50=1, Resulting Numbers: [17, 30, 1]
Generated Node #0,1: 88:[17, 30, 1] Operation: 51-50=1
Exploring Operation: 50-30=20, Resulting Numbers: [51, 17, 20]
Generated Node #0,2: 88:[51, 17, 20] Operation: 50-30=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[50, 17, 21], Operations: ['51-30=21']
Exploring Operation: 50-17=33, Resulting Numbers: [21, 33]
Generated Node #0,0,0: 88:[21, 33] Operation: 50-17=33
Exploring Operation: 50-21=29, Resulting Numbers: [17, 29]
Generated Node #0,0,1: 88:[17, 29] Operation: 50-21=29
Exploring Operation: 21-17=4, Resulting Numbers: [50, 4]
Generated Node #0,0,2: 88:[50, 4] Operation: 21-17=4
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 88:[50, 4], Operations: ['51-30=21', '21-17=4']
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,88 unequal: No Solution
Exploring Operation: 50*4=200, Resulting Numbers: [200]
200,88 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,88 unequal: No Solution
No 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: 88:[21, 33], Operations: ['51-30=21', '50-17=33']
Exploring Operation: 21*33=693, Resulting Numbers: [693]
693,88 unequal: No Solution
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Exploring Operation: 21+33=54, Resulting Numbers: [54]
54,88 unequal: No Solution
No 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: 88:[17, 29], Operations: ['51-30=21', '50-21=29']
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Exploring Operation: 17*29=493, Resulting Numbers: [493]
493,88 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: 88:[17, 30, 1], Operations: ['51-50=1']
Exploring Operation: 17+30=47, Resulting Numbers: [1, 47]
Generated Node #0,1,0: 88:[1, 47] Operation: 17+30=47
Exploring Operation: 30-17=13, Resulting Numbers: [1, 13]
Generated Node #0,1,1: 88:[1, 13] Operation: 30-17=13
Exploring Operation: 17+1=18, Resulting Numbers: [30, 18]
Generated Node #0,1,2: 88:[30, 18] Operation: 17+1=18
Moving to Node #0,1,1
Current State: 88:[1, 13], Operations: ['51-50=1', '30-17=13']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[1, 47], Operations: ['51-50=1', '17+30=47']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Exploring Operation: 1*47=47, Resulting Numbers: [47]
47,88 unequal: No Solution
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[30, 18], Operations: ['51-50=1', '17+1=18']
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[51, 17, 20], Operations: ['50-30=20']
Exploring Operation: 51-17=34, Resulting Numbers: [20, 34]
Generated Node #0,2,0: 88:[20, 34] Operation: 51-17=34
Exploring Operation: 51/17=3, Resulting Numbers: [20, 3]
Generated Node #0,2,1: 88:[20, 3] Operation: 51/17=3
Exploring Operation: 20-17=3, Resulting Numbers: [51, 3]
Generated Node #0,2,2: 88:[51, 3] Operation: 20-17=3
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 88:[20, 3], Operations: ['50-30=20', '51/17=3']
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,88 unequal: No Solution
No 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: 88:[51, 3], Operations: ['50-30=20', '20-17=3']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 88:[20, 34], Operations: ['50-30=20', '51-17=34']
Exploring Operation: 20*34=680, Resulting Numbers: [680]
680,88 unequal: No Solution
Exploring Operation: 20+34=54, Resulting Numbers: [54]
54,88 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
32,
63,
18,
25
] | 61 | [
"32+18=50",
"50/25=2",
"63-2=61"
] | Current State: 61:[32, 63, 18, 25], Operations: []
Exploring Operation: 32+18=50, Resulting Numbers: [63, 25, 50]
Generated Node #2: [63, 25, 50] from Operation: 32+18=50
Current State: 61:[63, 25, 50], Operations: ['32+18=50']
Exploring Operation: 50/25=2, Resulting Numbers: [63, 2]
Generated Node #3: [63, 2] from Operation: 50/25=2
Current State: 61:[63, 2], Operations: ['32+18=50', '50/25=2']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[32, 63, 18, 25], Operations: []
Exploring Operation: 32+18=50, Resulting Numbers: [63, 25, 50]
Generated Node #0,0: 61:[63, 25, 50] Operation: 32+18=50
Exploring Operation: 32+25=57, Resulting Numbers: [63, 18, 57]
Generated Node #0,1: 61:[63, 18, 57] Operation: 32+25=57
Exploring Operation: 63-18=45, Resulting Numbers: [32, 25, 45]
Generated Node #0,2: 61:[32, 25, 45] Operation: 63-18=45
Exploring Operation: 18+25=43, Resulting Numbers: [32, 63, 43]
Generated Node #0,3: 61:[32, 63, 43] Operation: 18+25=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[63, 25, 50], Operations: ['32+18=50']
Exploring Operation: 63+25=88, Resulting Numbers: [50, 88]
Generated Node #0,0,0: 61:[50, 88] Operation: 63+25=88
Exploring Operation: 25+50=75, Resulting Numbers: [63, 75]
Generated Node #0,0,1: 61:[63, 75] Operation: 25+50=75
Exploring Operation: 63-25=38, Resulting Numbers: [50, 38]
Generated Node #0,0,2: 61:[50, 38] Operation: 63-25=38
Exploring Operation: 50-25=25, Resulting Numbers: [63, 25]
Generated Node #0,0,3: 61:[63, 25] Operation: 50-25=25
Moving to Node #0,0,1
Current State: 61:[63, 75], Operations: ['32+18=50', '25+50=75']
Exploring Operation: 75-63=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 63+75=138, Resulting Numbers: [138]
138,61 unequal: No Solution
Exploring Operation: 63*75=4725, Resulting Numbers: [4725]
4725,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[50, 38], Operations: ['32+18=50', '63-25=38']
Exploring Operation: 50+38=88, Resulting Numbers: [88]
88,61 unequal: No Solution
Exploring Operation: 50*38=1900, Resulting Numbers: [1900]
1900,61 unequal: No Solution
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[63, 25], Operations: ['32+18=50', '50-25=25']
Exploring Operation: 63*25=1575, Resulting Numbers: [1575]
1575,61 unequal: No Solution
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,61 unequal: No Solution
Exploring Operation: 63+25=88, Resulting Numbers: [88]
88,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[50, 88], Operations: ['32+18=50', '63+25=88']
Exploring Operation: 50*88=4400, Resulting Numbers: [4400]
4400,61 unequal: No Solution
Exploring Operation: 88-50=38, Resulting Numbers: [38]
38,61 unequal: No Solution
Exploring Operation: 50+88=138, Resulting Numbers: [138]
138,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[63, 18, 57], Operations: ['32+25=57']
Exploring Operation: 18+57=75, Resulting Numbers: [63, 75]
Generated Node #0,1,0: 61:[63, 75] Operation: 18+57=75
Exploring Operation: 63+18=81, Resulting Numbers: [57, 81]
Generated Node #0,1,1: 61:[57, 81] Operation: 63+18=81
Exploring Operation: 63-18=45, Resulting Numbers: [57, 45]
Generated Node #0,1,2: 61:[57, 45] Operation: 63-18=45
Exploring Operation: 57-18=39, Resulting Numbers: [63, 39]
Generated Node #0,1,3: 61:[63, 39] Operation: 57-18=39
Moving to Node #0,1,0
Current State: 61:[63, 75], Operations: ['32+25=57', '18+57=75']
Exploring Operation: 63*75=4725, Resulting Numbers: [4725]
4725,61 unequal: No Solution
Exploring Operation: 75-63=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 63+75=138, Resulting Numbers: [138]
138,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[57, 45], Operations: ['32+25=57', '63-18=45']
Exploring Operation: 57+45=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Exploring Operation: 57-45=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 57*45=2565, Resulting Numbers: [2565]
2565,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[63, 39], Operations: ['32+25=57', '57-18=39']
Exploring Operation: 63+39=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Exploring Operation: 63-39=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 63*39=2457, Resulting Numbers: [2457]
2457,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[57, 81], Operations: ['32+25=57', '63+18=81']
Exploring Operation: 57*81=4617, Resulting Numbers: [4617]
4617,61 unequal: No Solution
Exploring Operation: 81-57=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 57+81=138, Resulting Numbers: [138]
138,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 61:[32, 63, 43], Operations: ['18+25=43']
Exploring Operation: 63-32=31, Resulting Numbers: [43, 31]
Generated Node #0,3,0: 61:[43, 31] Operation: 63-32=31
Exploring Operation: 32+43=75, Resulting Numbers: [63, 75]
Generated Node #0,3,1: 61:[63, 75] Operation: 32+43=75
Exploring Operation: 32+63=95, Resulting Numbers: [43, 95]
Generated Node #0,3,2: 61:[43, 95] Operation: 32+63=95
Exploring Operation: 43-32=11, Resulting Numbers: [63, 11]
Generated Node #0,3,3: 61:[63, 11] Operation: 43-32=11
Moving to Node #0,3,1
Current State: 61:[63, 75], Operations: ['18+25=43', '32+43=75']
Exploring Operation: 75-63=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 63*75=4725, Resulting Numbers: [4725]
4725,61 unequal: No Solution
Exploring Operation: 63+75=138, Resulting Numbers: [138]
138,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[43, 31], Operations: ['18+25=43', '63-32=31']
Exploring Operation: 43+31=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 43*31=1333, Resulting Numbers: [1333]
1333,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[63, 11], Operations: ['18+25=43', '43-32=11']
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Exploring Operation: 63*11=693, Resulting Numbers: [693]
693,61 unequal: No Solution
Exploring Operation: 63+11=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[43, 95], Operations: ['18+25=43', '32+63=95']
Exploring Operation: 43+95=138, Resulting Numbers: [138]
138,61 unequal: No Solution
Exploring Operation: 95-43=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Exploring Operation: 43*95=4085, Resulting Numbers: [4085]
4085,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[32, 25, 45], Operations: ['63-18=45']
Exploring Operation: 32-25=7, Resulting Numbers: [45, 7]
Generated Node #0,2,0: 61:[45, 7] Operation: 32-25=7
Exploring Operation: 32+45=77, Resulting Numbers: [25, 77]
Generated Node #0,2,1: 61:[25, 77] Operation: 32+45=77
Exploring Operation: 25+45=70, Resulting Numbers: [32, 70]
Generated Node #0,2,2: 61:[32, 70] Operation: 25+45=70
Exploring Operation: 32+25=57, Resulting Numbers: [45, 57]
Generated Node #0,2,3: 61:[45, 57] Operation: 32+25=57
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 61:[45, 57], Operations: ['63-18=45', '32+25=57']
Exploring Operation: 57-45=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 45+57=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Exploring Operation: 45*57=2565, Resulting Numbers: [2565]
2565,61 unequal: No Solution
No 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: 61:[32, 70], Operations: ['63-18=45', '25+45=70']
Exploring Operation: 70-32=38, Resulting Numbers: [38]
38,61 unequal: No Solution
Exploring Operation: 32*70=2240, Resulting Numbers: [2240]
2240,61 unequal: No Solution
Exploring Operation: 32+70=102, Resulting Numbers: [102]
102,61 unequal: No Solution
No 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: 61:[25, 77], Operations: ['63-18=45', '32+45=77']
Exploring Operation: 77-25=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Exploring Operation: 25+77=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Exploring Operation: 25*77=1925, Resulting Numbers: [1925]
1925,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 61:[45, 7], Operations: ['63-18=45', '32-25=7']
Exploring Operation: 45+7=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,61 unequal: No Solution
Exploring Operation: 45*7=315, Resulting Numbers: [315]
315,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
91,
44,
72,
26
] | 37 | [
"91+44=135",
"72+26=98",
"135-98=37"
] | Current State: 37:[91, 44, 72, 26], Operations: []
Exploring Operation: 91+44=135, Resulting Numbers: [72, 26, 135]
Generated Node #2: [72, 26, 135] from Operation: 91+44=135
Current State: 37:[72, 26, 135], Operations: ['91+44=135']
Exploring Operation: 72+26=98, Resulting Numbers: [135, 98]
Generated Node #3: [135, 98] from Operation: 72+26=98
Current State: 37:[135, 98], Operations: ['91+44=135', '72+26=98']
Exploring Operation: 135-98=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[91, 44, 72, 26], Operations: []
Exploring Operation: 91-44=47, Resulting Numbers: [72, 26, 47]
Generated Node #0,0: 37:[72, 26, 47] Operation: 91-44=47
Exploring Operation: 91-72=19, Resulting Numbers: [44, 26, 19]
Generated Node #0,1: 37:[44, 26, 19] Operation: 91-72=19
Exploring Operation: 72-26=46, Resulting Numbers: [91, 44, 46]
Generated Node #0,2: 37:[91, 44, 46] Operation: 72-26=46
Exploring Operation: 91-26=65, Resulting Numbers: [44, 72, 65]
Generated Node #0,3: 37:[44, 72, 65] Operation: 91-26=65
Exploring Operation: 72-44=28, Resulting Numbers: [91, 26, 28]
Generated Node #0,4: 37:[91, 26, 28] Operation: 72-44=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[44, 26, 19], Operations: ['91-72=19']
Exploring Operation: 26+19=45, Resulting Numbers: [44, 45]
Generated Node #0,1,0: 37:[44, 45] Operation: 26+19=45
Exploring Operation: 44-19=25, Resulting Numbers: [26, 25]
Generated Node #0,1,1: 37:[26, 25] Operation: 44-19=25
Exploring Operation: 44+19=63, Resulting Numbers: [26, 63]
Generated Node #0,1,2: 37:[26, 63] Operation: 44+19=63
Exploring Operation: 44-26=18, Resulting Numbers: [19, 18]
Generated Node #0,1,3: 37:[19, 18] Operation: 44-26=18
Exploring Operation: 26-19=7, Resulting Numbers: [44, 7]
Generated Node #0,1,4: 37:[44, 7] Operation: 26-19=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[44, 45], Operations: ['91-72=19', '26+19=45']
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 44*45=1980, Resulting Numbers: [1980]
1980,37 unequal: No Solution
Exploring Operation: 44+45=89, Resulting Numbers: [89]
89,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[26, 25], Operations: ['91-72=19', '44-19=25']
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,37 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 37:[26, 63], Operations: ['91-72=19', '44+19=63']
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[91, 44, 72, 26], Operations: []
Exploring Operation: 91-72=19, Resulting Numbers: [44, 26, 19]
Generated Node #0,1: 37:[44, 26, 19] Operation: 91-72=19
Moving to Node #0,1
Current State: 37:[44, 26, 19], Operations: ['91-72=19']
Exploring Operation: 44+19=63, Resulting Numbers: [26, 63]
Generated Node #0,1,2: 37:[26, 63] Operation: 44+19=63
Moving to Node #0,1,2
Current State: 37:[26, 63], Operations: ['91-72=19', '44+19=63']
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
98,
49,
86,
96
] | 91 | [
"98/49=2",
"86+96=182",
"182/2=91"
] | Current State: 91:[98, 49, 86, 96], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [86, 96, 2]
Generated Node #2: [86, 96, 2] from Operation: 98/49=2
Current State: 91:[86, 96, 2], Operations: ['98/49=2']
Exploring Operation: 86+96=182, Resulting Numbers: [2, 182]
Generated Node #3: [2, 182] from Operation: 86+96=182
Current State: 91:[2, 182], Operations: ['98/49=2', '86+96=182']
Exploring Operation: 182/2=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[98, 49, 86, 96], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [86, 96, 2]
Generated Node #0,0: 91:[86, 96, 2] Operation: 98/49=2
Exploring Operation: 86-49=37, Resulting Numbers: [98, 96, 37]
Generated Node #0,1: 91:[98, 96, 37] Operation: 86-49=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[86, 96, 2], Operations: ['98/49=2']
Exploring Operation: 86+2=88, Resulting Numbers: [96, 88]
Generated Node #0,0,0: 91:[96, 88] Operation: 86+2=88
Exploring Operation: 96-86=10, Resulting Numbers: [2, 10]
Generated Node #0,0,1: 91:[2, 10] Operation: 96-86=10
Moving to Node #0,0,0
Current State: 91:[96, 88], Operations: ['98/49=2', '86+2=88']
Exploring Operation: 96-88=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 96+88=184, Resulting Numbers: [184]
184,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[2, 10], Operations: ['98/49=2', '96-86=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[98, 96, 37], Operations: ['86-49=37']
Exploring Operation: 98-37=61, Resulting Numbers: [96, 61]
Generated Node #0,1,0: 91:[96, 61] Operation: 98-37=61
Exploring Operation: 98-96=2, Resulting Numbers: [37, 2]
Generated Node #0,1,1: 91:[37, 2] Operation: 98-96=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[37, 2], Operations: ['86-49=37', '98-96=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,91 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[96, 61], Operations: ['86-49=37', '98-37=61']
Exploring Operation: 96-61=35, Resulting Numbers: [35]
35,91 unequal: No Solution
Exploring Operation: 96+61=157, Resulting Numbers: [157]
157,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
4,
17,
8,
42
] | 76 | [
"8/4=2",
"17*2=34",
"42+34=76"
] | Current State: 76:[4, 17, 8, 42], Operations: []
Exploring Operation: 8/4=2, Resulting Numbers: [17, 42, 2]
Generated Node #2: [17, 42, 2] from Operation: 8/4=2
Current State: 76:[17, 42, 2], Operations: ['8/4=2']
Exploring Operation: 17*2=34, Resulting Numbers: [42, 34]
Generated Node #3: [42, 34] from Operation: 17*2=34
Current State: 76:[42, 34], Operations: ['8/4=2', '17*2=34']
Exploring Operation: 42+34=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[4, 17, 8, 42], Operations: []
Exploring Operation: 8/4=2, Resulting Numbers: [17, 42, 2]
Generated Node #0,0: 76:[17, 42, 2] Operation: 8/4=2
Exploring Operation: 8-4=4, Resulting Numbers: [17, 42, 4]
Generated Node #0,1: 76:[17, 42, 4] Operation: 8-4=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[17, 42, 2], Operations: ['8/4=2']
Exploring Operation: 17+2=19, Resulting Numbers: [42, 19]
Generated Node #0,0,0: 76:[42, 19] Operation: 17+2=19
Exploring Operation: 42-2=40, Resulting Numbers: [17, 40]
Generated Node #0,0,1: 76:[17, 40] Operation: 42-2=40
Moving to Node #0,0,0
Current State: 76:[42, 19], Operations: ['8/4=2', '17+2=19']
Exploring Operation: 42+19=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[17, 40], Operations: ['8/4=2', '42-2=40']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[17, 42, 4], Operations: ['8-4=4']
Exploring Operation: 42-4=38, Resulting Numbers: [17, 38]
Generated Node #0,1,0: 76:[17, 38] Operation: 42-4=38
Exploring Operation: 42-17=25, Resulting Numbers: [4, 25]
Generated Node #0,1,1: 76:[4, 25] Operation: 42-17=25
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[17, 38], Operations: ['8-4=4', '42-4=38']
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,76 unequal: No Solution
Exploring Operation: 17+38=55, Resulting Numbers: [55]
55,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[4, 25], Operations: ['8-4=4', '42-17=25']
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
42,
76,
97,
2
] | 84 | [
"97-76=21",
"2*21=42",
"42+42=84"
] | Current State: 84:[42, 76, 97, 2], Operations: []
Exploring Operation: 97-76=21, Resulting Numbers: [42, 2, 21]
Generated Node #2: [42, 2, 21] from Operation: 97-76=21
Current State: 84:[42, 2, 21], Operations: ['97-76=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42, 42]
Generated Node #3: [42, 42] from Operation: 2*21=42
Current State: 84:[42, 42], Operations: ['97-76=21', '2*21=42']
Exploring Operation: 42+42=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[42, 76, 97, 2], Operations: []
Exploring Operation: 76/2=38, Resulting Numbers: [42, 97, 38]
Generated Node #0,0: 84:[42, 97, 38] Operation: 76/2=38
Exploring Operation: 97-2=95, Resulting Numbers: [42, 76, 95]
Generated Node #0,1: 84:[42, 76, 95] Operation: 97-2=95
Exploring Operation: 76+2=78, Resulting Numbers: [42, 97, 78]
Generated Node #0,2: 84:[42, 97, 78] Operation: 76+2=78
Exploring Operation: 97-76=21, Resulting Numbers: [42, 2, 21]
Generated Node #0,3: 84:[42, 2, 21] Operation: 97-76=21
Exploring Operation: 76-42=34, Resulting Numbers: [97, 2, 34]
Generated Node #0,4: 84:[97, 2, 34] Operation: 76-42=34
Moving to Node #0,3
Current State: 84:[42, 2, 21], Operations: ['97-76=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42, 42]
Generated Node #0,3,0: 84:[42, 42] Operation: 2*21=42
Exploring Operation: 42/21=2, Resulting Numbers: [2, 2]
Generated Node #0,3,1: 84:[2, 2] Operation: 42/21=2
Exploring Operation: 42*2=84, Resulting Numbers: [21, 84]
Generated Node #0,3,2: 84:[21, 84] Operation: 42*2=84
Exploring Operation: 42/2=21, Resulting Numbers: [21, 21]
Generated Node #0,3,3: 84:[21, 21] Operation: 42/2=21
Exploring Operation: 42-21=21, Resulting Numbers: [2, 21]
Generated Node #0,3,4: 84:[2, 21] Operation: 42-21=21
Moving to Node #0,0
Current State: 84:[42, 97, 38], Operations: ['76/2=38']
Exploring Operation: 97-42=55, Resulting Numbers: [38, 55]
Generated Node #0,0,0: 84:[38, 55] Operation: 97-42=55
Exploring Operation: 42+38=80, Resulting Numbers: [97, 80]
Generated Node #0,0,1: 84:[97, 80] Operation: 42+38=80
Exploring Operation: 97+38=135, Resulting Numbers: [42, 135]
Generated Node #0,0,2: 84:[42, 135] Operation: 97+38=135
Exploring Operation: 97-38=59, Resulting Numbers: [42, 59]
Generated Node #0,0,3: 84:[42, 59] Operation: 97-38=59
Exploring Operation: 42-38=4, Resulting Numbers: [97, 4]
Generated Node #0,0,4: 84:[97, 4] Operation: 42-38=4
Moving to Node #0,1
Current State: 84:[42, 76, 95], Operations: ['97-2=95']
Exploring Operation: 76-42=34, Resulting Numbers: [95, 34]
Generated Node #0,1,0: 84:[95, 34] Operation: 76-42=34
Exploring Operation: 42+95=137, Resulting Numbers: [76, 137]
Generated Node #0,1,1: 84:[76, 137] Operation: 42+95=137
Exploring Operation: 42+76=118, Resulting Numbers: [95, 118]
Generated Node #0,1,2: 84:[95, 118] Operation: 42+76=118
Exploring Operation: 95-76=19, Resulting Numbers: [42, 19]
Generated Node #0,1,3: 84:[42, 19] Operation: 95-76=19
Exploring Operation: 95-42=53, Resulting Numbers: [76, 53]
Generated Node #0,1,4: 84:[76, 53] Operation: 95-42=53
Moving to Node #0,2
Current State: 84:[42, 97, 78], Operations: ['76+2=78']
Exploring Operation: 97-42=55, Resulting Numbers: [78, 55]
Generated Node #0,2,0: 84:[78, 55] Operation: 97-42=55
Exploring Operation: 42+78=120, Resulting Numbers: [97, 120]
Generated Node #0,2,1: 84:[97, 120] Operation: 42+78=120
Exploring Operation: 97-78=19, Resulting Numbers: [42, 19]
Generated Node #0,2,2: 84:[42, 19] Operation: 97-78=19
Exploring Operation: 78-42=36, Resulting Numbers: [97, 36]
Generated Node #0,2,3: 84:[97, 36] Operation: 78-42=36
Exploring Operation: 42+97=139, Resulting Numbers: [78, 139]
Generated Node #0,2,4: 84:[78, 139] Operation: 42+97=139
Moving to Node #0,4
Current State: 84:[97, 2, 34], Operations: ['76-42=34']
Exploring Operation: 2+34=36, Resulting Numbers: [97, 36]
Generated Node #0,4,0: 84:[97, 36] Operation: 2+34=36
Exploring Operation: 34-2=32, Resulting Numbers: [97, 32]
Generated Node #0,4,1: 84:[97, 32] Operation: 34-2=32
Exploring Operation: 97-2=95, Resulting Numbers: [34, 95]
Generated Node #0,4,2: 84:[34, 95] Operation: 97-2=95
Exploring Operation: 97+2=99, Resulting Numbers: [34, 99]
Generated Node #0,4,3: 84:[34, 99] Operation: 97+2=99
Exploring Operation: 34/2=17, Resulting Numbers: [97, 17]
Generated Node #0,4,4: 84:[97, 17] Operation: 34/2=17
Moving to Node #0,3,0
Current State: 84:[42, 42], Operations: ['97-76=21', '2*21=42']
Exploring Operation: 42/42=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 42-42=0, Resulting Numbers: [0]
0,84 unequal: No Solution
Exploring Operation: 42+42=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[42, 76, 97, 2], Operations: []
Exploring Operation: 97-76=21, Resulting Numbers: [42, 2, 21]
Generated Node #0,3: 84:[42, 2, 21] Operation: 97-76=21
Moving to Node #0,3
Current State: 84:[42, 2, 21], Operations: ['97-76=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42, 42]
Generated Node #0,3,0: 84:[42, 42] Operation: 2*21=42
Moving to Node #0,3,0
Current State: 84:[42, 42], Operations: ['97-76=21', '2*21=42']
Exploring Operation: 42+42=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.967882 | hs_5 | sum_heuristic |
[
7,
82,
92,
28
] | 14 | [
"28/7=4",
"92-82=10",
"4+10=14"
] | Current State: 14:[7, 82, 92, 28], Operations: []
Exploring Operation: 28/7=4, Resulting Numbers: [82, 92, 4]
Generated Node #2: [82, 92, 4] from Operation: 28/7=4
Current State: 14:[82, 92, 4], Operations: ['28/7=4']
Exploring Operation: 92-82=10, Resulting Numbers: [4, 10]
Generated Node #3: [4, 10] from Operation: 92-82=10
Current State: 14:[4, 10], Operations: ['28/7=4', '92-82=10']
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[7, 82, 92, 28], Operations: []
Exploring Operation: 92-82=10, Resulting Numbers: [7, 28, 10]
Generated Node #0,0: 14:[7, 28, 10] Operation: 92-82=10
Moving to Node #0,0
Current State: 14:[7, 28, 10], Operations: ['92-82=10']
Exploring Operation: 28-10=18, Resulting Numbers: [7, 18]
Generated Node #0,0,0: 14:[7, 18] Operation: 28-10=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[7, 18], Operations: ['92-82=10', '28-10=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
97,
20,
34,
3
] | 40 | [
"97-20=77",
"34+3=37",
"77-37=40"
] | Current State: 40:[97, 20, 34, 3], Operations: []
Exploring Operation: 97-20=77, Resulting Numbers: [34, 3, 77]
Generated Node #2: [34, 3, 77] from Operation: 97-20=77
Current State: 40:[34, 3, 77], Operations: ['97-20=77']
Exploring Operation: 34+3=37, Resulting Numbers: [77, 37]
Generated Node #3: [77, 37] from Operation: 34+3=37
Current State: 40:[77, 37], Operations: ['97-20=77', '34+3=37']
Exploring Operation: 77-37=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[97, 20, 34, 3], Operations: []
Exploring Operation: 97-34=63, Resulting Numbers: [20, 3, 63]
Generated Node #0,0: 40:[20, 3, 63] Operation: 97-34=63
Moving to Node #0,0
Current State: 40:[20, 3, 63], Operations: ['97-34=63']
Exploring Operation: 63/3=21, Resulting Numbers: [20, 21]
Generated Node #0,0,0: 40:[20, 21] Operation: 63/3=21
Moving to Node #0,0,0
Current State: 40:[20, 21], Operations: ['97-34=63', '63/3=21']
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,40 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
84,
77,
5,
92
] | 57 | [
"84-77=7",
"5*7=35",
"92-35=57"
] | Current State: 57:[84, 77, 5, 92], Operations: []
Exploring Operation: 84-77=7, Resulting Numbers: [5, 92, 7]
Generated Node #2: [5, 92, 7] from Operation: 84-77=7
Current State: 57:[5, 92, 7], Operations: ['84-77=7']
Exploring Operation: 5*7=35, Resulting Numbers: [92, 35]
Generated Node #3: [92, 35] from Operation: 5*7=35
Current State: 57:[92, 35], Operations: ['84-77=7', '5*7=35']
Exploring Operation: 92-35=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[84, 77, 5, 92], Operations: []
Exploring Operation: 92-77=15, Resulting Numbers: [84, 5, 15]
Generated Node #0,0: 57:[84, 5, 15] Operation: 92-77=15
Exploring Operation: 92-84=8, Resulting Numbers: [77, 5, 8]
Generated Node #0,1: 57:[77, 5, 8] Operation: 92-84=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[77, 5, 8], Operations: ['92-84=8']
Exploring Operation: 77-5=72, Resulting Numbers: [8, 72]
Generated Node #0,1,0: 57:[8, 72] Operation: 77-5=72
Exploring Operation: 77-8=69, Resulting Numbers: [5, 69]
Generated Node #0,1,1: 57:[5, 69] Operation: 77-8=69
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[5, 69], Operations: ['92-84=8', '77-8=69']
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 5+69=74, Resulting Numbers: [74]
74,57 unequal: No Solution
No 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: 57:[8, 72], Operations: ['92-84=8', '77-5=72']
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[84, 5, 15], Operations: ['92-77=15']
Exploring Operation: 84-5=79, Resulting Numbers: [15, 79]
Generated Node #0,0,0: 57:[15, 79] Operation: 84-5=79
Exploring Operation: 84-15=69, Resulting Numbers: [5, 69]
Generated Node #0,0,1: 57:[5, 69] Operation: 84-15=69
Moving to Node #0,0,1
Current State: 57:[5, 69], Operations: ['92-77=15', '84-15=69']
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 5+69=74, Resulting Numbers: [74]
74,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[15, 79], Operations: ['92-77=15', '84-5=79']
Exploring Operation: 79-15=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 15+79=94, Resulting Numbers: [94]
94,57 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 |
[
2,
96,
2,
38
] | 96 | [
"2-2=0",
"38*0=0",
"96+0=96"
] | Current State: 96:[2, 96, 2, 38], Operations: []
Exploring Operation: 2-2=0, Resulting Numbers: [96, 38, 0]
Generated Node #2: [96, 38, 0] from Operation: 2-2=0
Current State: 96:[96, 38, 0], Operations: ['2-2=0']
Exploring Operation: 38*0=0, Resulting Numbers: [96, 0]
Generated Node #3: [96, 0] from Operation: 38*0=0
Current State: 96:[96, 0], Operations: ['2-2=0', '38*0=0']
Exploring Operation: 96+0=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[2, 96, 2, 38], Operations: []
Exploring Operation: 38/2=19, Resulting Numbers: [96, 2, 19]
Generated Node #0,0: 96:[96, 2, 19] Operation: 38/2=19
Exploring Operation: 38/2=19, Resulting Numbers: [2, 96, 19]
Generated Node #0,1: 96:[2, 96, 19] Operation: 38/2=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[96, 2, 19], Operations: ['38/2=19']
Exploring Operation: 19-2=17, Resulting Numbers: [96, 17]
Generated Node #0,0,0: 96:[96, 17] Operation: 19-2=17
Exploring Operation: 96/2=48, Resulting Numbers: [19, 48]
Generated Node #0,0,1: 96:[19, 48] Operation: 96/2=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[96, 17], Operations: ['38/2=19', '19-2=17']
Exploring Operation: 96-17=79, Resulting Numbers: [79]
79,96 unequal: No Solution
Exploring Operation: 96+17=113, Resulting Numbers: [113]
113,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[19, 48], Operations: ['38/2=19', '96/2=48']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,96 unequal: No Solution
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[2, 96, 19], Operations: ['38/2=19']
Exploring Operation: 96/2=48, Resulting Numbers: [19, 48]
Generated Node #0,1,0: 96:[19, 48] Operation: 96/2=48
Exploring Operation: 19-2=17, Resulting Numbers: [96, 17]
Generated Node #0,1,1: 96:[96, 17] Operation: 19-2=17
Moving to Node #0,1,1
Current State: 96:[96, 17], Operations: ['38/2=19', '19-2=17']
Exploring Operation: 96-17=79, Resulting Numbers: [79]
79,96 unequal: No Solution
Exploring Operation: 96+17=113, Resulting Numbers: [113]
113,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[19, 48], Operations: ['38/2=19', '96/2=48']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,96 unequal: No Solution
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,96 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 |
[
77,
38,
61,
58
] | 37 | [
"61-58=3",
"38*3=114",
"114-77=37"
] | Current State: 37:[77, 38, 61, 58], Operations: []
Exploring Operation: 61-58=3, Resulting Numbers: [77, 38, 3]
Generated Node #2: [77, 38, 3] from Operation: 61-58=3
Current State: 37:[77, 38, 3], Operations: ['61-58=3']
Exploring Operation: 38*3=114, Resulting Numbers: [77, 114]
Generated Node #3: [77, 114] from Operation: 38*3=114
Current State: 37:[77, 114], Operations: ['61-58=3', '38*3=114']
Exploring Operation: 114-77=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[77, 38, 61, 58], Operations: []
Exploring Operation: 77-58=19, Resulting Numbers: [38, 61, 19]
Generated Node #0,0: 37:[38, 61, 19] Operation: 77-58=19
Exploring Operation: 77-61=16, Resulting Numbers: [38, 58, 16]
Generated Node #0,1: 37:[38, 58, 16] Operation: 77-61=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[38, 61, 19], Operations: ['77-58=19']
Exploring Operation: 61-38=23, Resulting Numbers: [19, 23]
Generated Node #0,0,0: 37:[19, 23] Operation: 61-38=23
Exploring Operation: 61-19=42, Resulting Numbers: [38, 42]
Generated Node #0,0,1: 37:[38, 42] Operation: 61-19=42
Moving to Node #0,0,1
Current State: 37:[38, 42], Operations: ['77-58=19', '61-19=42']
Exploring Operation: 38+42=80, Resulting Numbers: [80]
80,37 unequal: No Solution
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[19, 23], Operations: ['77-58=19', '61-38=23']
Exploring Operation: 19+23=42, Resulting Numbers: [42]
42,37 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[38, 58, 16], Operations: ['77-61=16']
Exploring Operation: 58-16=42, Resulting Numbers: [38, 42]
Generated Node #0,1,0: 37:[38, 42] Operation: 58-16=42
Exploring Operation: 38-16=22, Resulting Numbers: [58, 22]
Generated Node #0,1,1: 37:[58, 22] Operation: 38-16=22
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[38, 42], Operations: ['77-61=16', '58-16=42']
Exploring Operation: 38+42=80, Resulting Numbers: [80]
80,37 unequal: No Solution
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[58, 22], Operations: ['77-61=16', '38-16=22']
Exploring Operation: 58+22=80, Resulting Numbers: [80]
80,37 unequal: No Solution
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
25,
35,
10,
64
] | 90 | [
"35*64=2240",
"10+2240=2250",
"2250/25=90"
] | Current State: 90:[25, 35, 10, 64], Operations: []
Exploring Operation: 35*64=2240, Resulting Numbers: [25, 10, 2240]
Generated Node #2: [25, 10, 2240] from Operation: 35*64=2240
Current State: 90:[25, 10, 2240], Operations: ['35*64=2240']
Exploring Operation: 10+2240=2250, Resulting Numbers: [25, 2250]
Generated Node #3: [25, 2250] from Operation: 10+2240=2250
Current State: 90:[25, 2250], Operations: ['35*64=2240', '10+2240=2250']
Exploring Operation: 2250/25=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[25, 35, 10, 64], Operations: []
Exploring Operation: 25+64=89, Resulting Numbers: [35, 10, 89]
Generated Node #0,0: 90:[35, 10, 89] Operation: 25+64=89
Exploring Operation: 64-35=29, Resulting Numbers: [25, 10, 29]
Generated Node #0,1: 90:[25, 10, 29] Operation: 64-35=29
Exploring Operation: 64-25=39, Resulting Numbers: [35, 10, 39]
Generated Node #0,2: 90:[35, 10, 39] Operation: 64-25=39
Moving to Node #0,0
Current State: 90:[35, 10, 89], Operations: ['25+64=89']
Exploring Operation: 35+10=45, Resulting Numbers: [89, 45]
Generated Node #0,0,0: 90:[89, 45] Operation: 35+10=45
Exploring Operation: 89-35=54, Resulting Numbers: [10, 54]
Generated Node #0,0,1: 90:[10, 54] Operation: 89-35=54
Exploring Operation: 35-10=25, Resulting Numbers: [89, 25]
Generated Node #0,0,2: 90:[89, 25] Operation: 35-10=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[89, 45], Operations: ['25+64=89', '35+10=45']
Exploring Operation: 89-45=44, Resulting Numbers: [44]
44,90 unequal: No Solution
Exploring Operation: 89+45=134, Resulting Numbers: [134]
134,90 unequal: No Solution
Exploring Operation: 89*45=4005, Resulting Numbers: [4005]
4005,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 90:[89, 25], Operations: ['25+64=89', '35-10=25']
Exploring Operation: 89+25=114, Resulting Numbers: [114]
114,90 unequal: No Solution
Exploring Operation: 89-25=64, Resulting Numbers: [64]
64,90 unequal: No Solution
Exploring Operation: 89*25=2225, Resulting Numbers: [2225]
2225,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[10, 54], Operations: ['25+64=89', '89-35=54']
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,90 unequal: No Solution
Exploring Operation: 10*54=540, Resulting Numbers: [540]
540,90 unequal: No Solution
Exploring Operation: 10+54=64, Resulting Numbers: [64]
64,90 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: 90:[25, 10, 29], Operations: ['64-35=29']
Exploring Operation: 25-10=15, Resulting Numbers: [29, 15]
Generated Node #0,1,0: 90:[29, 15] Operation: 25-10=15
Exploring Operation: 25+10=35, Resulting Numbers: [29, 35]
Generated Node #0,1,1: 90:[29, 35] Operation: 25+10=35
Exploring Operation: 29-25=4, Resulting Numbers: [10, 4]
Generated Node #0,1,2: 90:[10, 4] Operation: 29-25=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[29, 15], Operations: ['64-35=29', '25-10=15']
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,90 unequal: No Solution
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 90:[10, 4], Operations: ['64-35=29', '29-25=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,90 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[29, 35], Operations: ['64-35=29', '25+10=35']
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,90 unequal: No Solution
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,90 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,90 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: 90:[35, 10, 39], Operations: ['64-25=39']
Exploring Operation: 35+10=45, Resulting Numbers: [39, 45]
Generated Node #0,2,0: 90:[39, 45] Operation: 35+10=45
Exploring Operation: 39-10=29, Resulting Numbers: [35, 29]
Generated Node #0,2,1: 90:[35, 29] Operation: 39-10=29
Exploring Operation: 39-35=4, Resulting Numbers: [10, 4]
Generated Node #0,2,2: 90:[10, 4] Operation: 39-35=4
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[10, 4], Operations: ['64-25=39', '39-35=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,90 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[39, 45], Operations: ['64-25=39', '35+10=45']
Exploring Operation: 39*45=1755, Resulting Numbers: [1755]
1755,90 unequal: No Solution
Exploring Operation: 39+45=84, Resulting Numbers: [84]
84,90 unequal: No Solution
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[35, 29], Operations: ['64-25=39', '39-10=29']
Exploring Operation: 35*29=1015, Resulting Numbers: [1015]
1015,90 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 35+29=64, Resulting Numbers: [64]
64,90 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 |
[
52,
98,
19,
10
] | 75 | [
"98-52=46",
"19+10=29",
"46+29=75"
] | Current State: 75:[52, 98, 19, 10], Operations: []
Exploring Operation: 98-52=46, Resulting Numbers: [19, 10, 46]
Generated Node #2: [19, 10, 46] from Operation: 98-52=46
Current State: 75:[19, 10, 46], Operations: ['98-52=46']
Exploring Operation: 19+10=29, Resulting Numbers: [46, 29]
Generated Node #3: [46, 29] from Operation: 19+10=29
Current State: 75:[46, 29], Operations: ['98-52=46', '19+10=29']
Exploring Operation: 46+29=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[52, 98, 19, 10], Operations: []
Exploring Operation: 98-52=46, Resulting Numbers: [19, 10, 46]
Generated Node #0,0: 75:[19, 10, 46] Operation: 98-52=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[19, 10, 46], Operations: ['98-52=46']
Exploring Operation: 46-19=27, Resulting Numbers: [10, 27]
Generated Node #0,0,0: 75:[10, 27] Operation: 46-19=27
Moving to Node #0,0,0
Current State: 75:[10, 27], Operations: ['98-52=46', '46-19=27']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,75 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 |
[
82,
39,
2,
10
] | 75 | [
"82-10=72",
"72/2=36",
"39+36=75"
] | Current State: 75:[82, 39, 2, 10], Operations: []
Exploring Operation: 82-10=72, Resulting Numbers: [39, 2, 72]
Generated Node #2: [39, 2, 72] from Operation: 82-10=72
Current State: 75:[39, 2, 72], Operations: ['82-10=72']
Exploring Operation: 72/2=36, Resulting Numbers: [39, 36]
Generated Node #3: [39, 36] from Operation: 72/2=36
Current State: 75:[39, 36], Operations: ['82-10=72', '72/2=36']
Exploring Operation: 39+36=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[82, 39, 2, 10], Operations: []
Exploring Operation: 82-39=43, Resulting Numbers: [2, 10, 43]
Generated Node #0,0: 75:[2, 10, 43] Operation: 82-39=43
Exploring Operation: 10/2=5, Resulting Numbers: [82, 39, 5]
Generated Node #0,1: 75:[82, 39, 5] Operation: 10/2=5
Exploring Operation: 39-10=29, Resulting Numbers: [82, 2, 29]
Generated Node #0,2: 75:[82, 2, 29] Operation: 39-10=29
Exploring Operation: 39*2=78, Resulting Numbers: [82, 10, 78]
Generated Node #0,3: 75:[82, 10, 78] Operation: 39*2=78
Exploring Operation: 82-10=72, Resulting Numbers: [39, 2, 72]
Generated Node #0,4: 75:[39, 2, 72] Operation: 82-10=72
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[82, 2, 29], Operations: ['39-10=29']
Exploring Operation: 82-2=80, Resulting Numbers: [29, 80]
Generated Node #0,2,0: 75:[29, 80] Operation: 82-2=80
Exploring Operation: 82+2=84, Resulting Numbers: [29, 84]
Generated Node #0,2,1: 75:[29, 84] Operation: 82+2=84
Exploring Operation: 29-2=27, Resulting Numbers: [82, 27]
Generated Node #0,2,2: 75:[82, 27] Operation: 29-2=27
Exploring Operation: 82/2=41, Resulting Numbers: [29, 41]
Generated Node #0,2,3: 75:[29, 41] Operation: 82/2=41
Exploring Operation: 2+29=31, Resulting Numbers: [82, 31]
Generated Node #0,2,4: 75:[82, 31] Operation: 2+29=31
Moving to Node #0,2,0
Current State: 75:[29, 80], Operations: ['39-10=29', '82-2=80']
Exploring Operation: 29+80=109, Resulting Numbers: [109]
109,75 unequal: No Solution
Exploring Operation: 29*80=2320, Resulting Numbers: [2320]
2320,75 unequal: No Solution
Exploring Operation: 80-29=51, Resulting Numbers: [51]
51,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[82, 27], Operations: ['39-10=29', '29-2=27']
Exploring Operation: 82+27=109, Resulting Numbers: [109]
109,75 unequal: No Solution
Exploring Operation: 82-27=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Exploring Operation: 82*27=2214, Resulting Numbers: [2214]
2214,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[29, 84], Operations: ['39-10=29', '82+2=84']
Exploring Operation: 29*84=2436, Resulting Numbers: [2436]
2436,75 unequal: No Solution
Exploring Operation: 29+84=113, Resulting Numbers: [113]
113,75 unequal: No Solution
Exploring Operation: 84-29=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Moving to Node #0,2,4
Current State: 75:[82, 31], Operations: ['39-10=29', '2+29=31']
Exploring Operation: 82-31=51, Resulting Numbers: [51]
51,75 unequal: No Solution
Exploring Operation: 82*31=2542, Resulting Numbers: [2542]
2542,75 unequal: No Solution
Exploring Operation: 82+31=113, Resulting Numbers: [113]
113,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[29, 41], Operations: ['39-10=29', '82/2=41']
Exploring Operation: 29*41=1189, Resulting Numbers: [1189]
1189,75 unequal: No Solution
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Exploring Operation: 29+41=70, Resulting Numbers: [70]
70,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[82, 10, 78], Operations: ['39*2=78']
Exploring Operation: 82+10=92, Resulting Numbers: [78, 92]
Generated Node #0,3,0: 75:[78, 92] Operation: 82+10=92
Exploring Operation: 10+78=88, Resulting Numbers: [82, 88]
Generated Node #0,3,1: 75:[82, 88] Operation: 10+78=88
Exploring Operation: 78-10=68, Resulting Numbers: [82, 68]
Generated Node #0,3,2: 75:[82, 68] Operation: 78-10=68
Exploring Operation: 82-78=4, Resulting Numbers: [10, 4]
Generated Node #0,3,3: 75:[10, 4] Operation: 82-78=4
Exploring Operation: 82-10=72, Resulting Numbers: [78, 72]
Generated Node #0,3,4: 75:[78, 72] Operation: 82-10=72
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 75:[10, 4], Operations: ['39*2=78', '82-78=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 75:[78, 72], Operations: ['39*2=78', '82-10=72']
Exploring Operation: 78-72=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 78+72=150, Resulting Numbers: [150]
150,75 unequal: No Solution
Exploring Operation: 78*72=5616, Resulting Numbers: [5616]
5616,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 75:[82, 68], Operations: ['39*2=78', '78-10=68']
Exploring Operation: 82+68=150, Resulting Numbers: [150]
150,75 unequal: No Solution
Exploring Operation: 82*68=5576, Resulting Numbers: [5576]
5576,75 unequal: No Solution
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 75:[78, 92], Operations: ['39*2=78', '82+10=92']
Exploring Operation: 92-78=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 78*92=7176, Resulting Numbers: [7176]
7176,75 unequal: No Solution
Exploring Operation: 78+92=170, Resulting Numbers: [170]
170,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 75:[82, 88], Operations: ['39*2=78', '10+78=88']
Exploring Operation: 88-82=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 82*88=7216, Resulting Numbers: [7216]
7216,75 unequal: No Solution
Exploring Operation: 82+88=170, Resulting Numbers: [170]
170,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 75:[39, 2, 72], Operations: ['82-10=72']
Exploring Operation: 39-2=37, Resulting Numbers: [72, 37]
Generated Node #0,4,0: 75:[72, 37] Operation: 39-2=37
Exploring Operation: 72-39=33, Resulting Numbers: [2, 33]
Generated Node #0,4,1: 75:[2, 33] Operation: 72-39=33
Exploring Operation: 2+72=74, Resulting Numbers: [39, 74]
Generated Node #0,4,2: 75:[39, 74] Operation: 2+72=74
Exploring Operation: 39*2=78, Resulting Numbers: [72, 78]
Generated Node #0,4,3: 75:[72, 78] Operation: 39*2=78
Exploring Operation: 39+2=41, Resulting Numbers: [72, 41]
Generated Node #0,4,4: 75:[72, 41] Operation: 39+2=41
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 75:[72, 78], Operations: ['82-10=72', '39*2=78']
Exploring Operation: 72+78=150, Resulting Numbers: [150]
150,75 unequal: No Solution
Exploring Operation: 78-72=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 72*78=5616, Resulting Numbers: [5616]
5616,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 75:[2, 33], Operations: ['82-10=72', '72-39=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,75 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 75:[72, 37], Operations: ['82-10=72', '39-2=37']
Exploring Operation: 72*37=2664, Resulting Numbers: [2664]
2664,75 unequal: No Solution
Exploring Operation: 72+37=109, Resulting Numbers: [109]
109,75 unequal: No Solution
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 75:[39, 74], Operations: ['82-10=72', '2+72=74']
Exploring Operation: 39*74=2886, Resulting Numbers: [2886]
2886,75 unequal: No Solution
Exploring Operation: 39+74=113, Resulting Numbers: [113]
113,75 unequal: No Solution
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 75:[72, 41], Operations: ['82-10=72', '39+2=41']
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 72*41=2952, Resulting Numbers: [2952]
2952,75 unequal: No Solution
Exploring Operation: 72+41=113, Resulting Numbers: [113]
113,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[82, 39, 5], Operations: ['10/2=5']
Exploring Operation: 82+5=87, Resulting Numbers: [39, 87]
Generated Node #0,1,0: 75:[39, 87] Operation: 82+5=87
Exploring Operation: 82-39=43, Resulting Numbers: [5, 43]
Generated Node #0,1,1: 75:[5, 43] Operation: 82-39=43
Exploring Operation: 82-5=77, Resulting Numbers: [39, 77]
Generated Node #0,1,2: 75:[39, 77] Operation: 82-5=77
Exploring Operation: 39+5=44, Resulting Numbers: [82, 44]
Generated Node #0,1,3: 75:[82, 44] Operation: 39+5=44
Exploring Operation: 39-5=34, Resulting Numbers: [82, 34]
Generated Node #0,1,4: 75:[82, 34] Operation: 39-5=34
Moving to Node #0,1,2
Current State: 75:[39, 77], Operations: ['10/2=5', '82-5=77']
Exploring Operation: 39+77=116, Resulting Numbers: [116]
116,75 unequal: No Solution
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 39*77=3003, Resulting Numbers: [3003]
3003,75 unequal: No Solution
Moving to Node #0,1,4
Current State: 75:[82, 34], Operations: ['10/2=5', '39-5=34']
Exploring Operation: 82*34=2788, Resulting Numbers: [2788]
2788,75 unequal: No Solution
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 82+34=116, Resulting Numbers: [116]
116,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[5, 43], Operations: ['10/2=5', '82-39=43']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[39, 87], Operations: ['10/2=5', '82+5=87']
Exploring Operation: 39+87=126, Resulting Numbers: [126]
126,75 unequal: No Solution
Exploring Operation: 39*87=3393, Resulting Numbers: [3393]
3393,75 unequal: No Solution
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Moving to Node #0,1,3
Current State: 75:[82, 44], Operations: ['10/2=5', '39+5=44']
Exploring Operation: 82+44=126, Resulting Numbers: [126]
126,75 unequal: No Solution
Exploring Operation: 82-44=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 82*44=3608, Resulting Numbers: [3608]
3608,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[2, 10, 43], Operations: ['82-39=43']
Exploring Operation: 2+10=12, Resulting Numbers: [43, 12]
Generated Node #0,0,0: 75:[43, 12] Operation: 2+10=12
Exploring Operation: 10-2=8, Resulting Numbers: [43, 8]
Generated Node #0,0,1: 75:[43, 8] Operation: 10-2=8
Exploring Operation: 43-10=33, Resulting Numbers: [2, 33]
Generated Node #0,0,2: 75:[2, 33] Operation: 43-10=33
Exploring Operation: 10/2=5, Resulting Numbers: [43, 5]
Generated Node #0,0,3: 75:[43, 5] Operation: 10/2=5
Exploring Operation: 2*43=86, Resulting Numbers: [10, 86]
Generated Node #0,0,4: 75:[10, 86] Operation: 2*43=86
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 75:[2, 33], Operations: ['82-39=43', '43-10=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,75 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 75:[10, 86], Operations: ['82-39=43', '2*43=86']
Exploring Operation: 86-10=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 10*86=860, Resulting Numbers: [860]
860,75 unequal: No Solution
Exploring Operation: 10+86=96, Resulting Numbers: [96]
96,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 75:[43, 5], Operations: ['82-39=43', '10/2=5']
Exploring Operation: 43*5=215, Resulting Numbers: [215]
215,75 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 43+5=48, Resulting Numbers: [48]
48,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[43, 12], Operations: ['82-39=43', '2+10=12']
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 43*12=516, Resulting Numbers: [516]
516,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[43, 8], Operations: ['82-39=43', '10-2=8']
Exploring Operation: 43+8=51, Resulting Numbers: [51]
51,75 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,75 unequal: No Solution
Exploring Operation: 43*8=344, Resulting Numbers: [344]
344,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
24,
81,
2,
25
] | 79 | [
"25-24=1",
"81-2=79",
"1*79=79"
] | Current State: 79:[24, 81, 2, 25], Operations: []
Exploring Operation: 25-24=1, Resulting Numbers: [81, 2, 1]
Generated Node #2: [81, 2, 1] from Operation: 25-24=1
Current State: 79:[81, 2, 1], Operations: ['25-24=1']
Exploring Operation: 81-2=79, Resulting Numbers: [1, 79]
Generated Node #3: [1, 79] from Operation: 81-2=79
Current State: 79:[1, 79], Operations: ['25-24=1', '81-2=79']
Exploring Operation: 1*79=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[24, 81, 2, 25], Operations: []
Exploring Operation: 24*2=48, Resulting Numbers: [81, 25, 48]
Generated Node #0,0: 79:[81, 25, 48] Operation: 24*2=48
Exploring Operation: 2*25=50, Resulting Numbers: [24, 81, 50]
Generated Node #0,1: 79:[24, 81, 50] Operation: 2*25=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[24, 81, 50], Operations: ['2*25=50']
Exploring Operation: 81-24=57, Resulting Numbers: [50, 57]
Generated Node #0,1,0: 79:[50, 57] Operation: 81-24=57
Exploring Operation: 24+50=74, Resulting Numbers: [81, 74]
Generated Node #0,1,1: 79:[81, 74] Operation: 24+50=74
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[81, 74], Operations: ['2*25=50', '24+50=74']
Exploring Operation: 81-74=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 81+74=155, Resulting Numbers: [155]
155,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[50, 57], Operations: ['2*25=50', '81-24=57']
Exploring Operation: 57-50=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 50+57=107, Resulting Numbers: [107]
107,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[81, 25, 48], Operations: ['24*2=48']
Exploring Operation: 81-25=56, Resulting Numbers: [48, 56]
Generated Node #0,0,0: 79:[48, 56] Operation: 81-25=56
Exploring Operation: 25+48=73, Resulting Numbers: [81, 73]
Generated Node #0,0,1: 79:[81, 73] Operation: 25+48=73
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[81, 73], Operations: ['24*2=48', '25+48=73']
Exploring Operation: 81-73=8, Resulting Numbers: [8]
8,79 unequal: No Solution
Exploring Operation: 81+73=154, Resulting Numbers: [154]
154,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[48, 56], Operations: ['24*2=48', '81-25=56']
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,79 unequal: No Solution
Exploring Operation: 48+56=104, Resulting Numbers: [104]
104,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_2 | sum_heuristic |
[
44,
3,
31,
65
] | 90 | [
"44+31=75",
"75/3=25",
"65+25=90"
] | Current State: 90:[44, 3, 31, 65], Operations: []
Exploring Operation: 44+31=75, Resulting Numbers: [3, 65, 75]
Generated Node #2: [3, 65, 75] from Operation: 44+31=75
Current State: 90:[3, 65, 75], Operations: ['44+31=75']
Exploring Operation: 75/3=25, Resulting Numbers: [65, 25]
Generated Node #3: [65, 25] from Operation: 75/3=25
Current State: 90:[65, 25], Operations: ['44+31=75', '75/3=25']
Exploring Operation: 65+25=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[44, 3, 31, 65], Operations: []
Exploring Operation: 65-44=21, Resulting Numbers: [3, 31, 21]
Generated Node #0,0: 90:[3, 31, 21] Operation: 65-44=21
Exploring Operation: 65-31=34, Resulting Numbers: [44, 3, 34]
Generated Node #0,1: 90:[44, 3, 34] Operation: 65-31=34
Exploring Operation: 31+65=96, Resulting Numbers: [44, 3, 96]
Generated Node #0,2: 90:[44, 3, 96] Operation: 31+65=96
Moving to Node #0,0
Current State: 90:[3, 31, 21], Operations: ['65-44=21']
Exploring Operation: 21-3=18, Resulting Numbers: [31, 18]
Generated Node #0,0,0: 90:[31, 18] Operation: 21-3=18
Exploring Operation: 31-21=10, Resulting Numbers: [3, 10]
Generated Node #0,0,1: 90:[3, 10] Operation: 31-21=10
Exploring Operation: 21/3=7, Resulting Numbers: [31, 7]
Generated Node #0,0,2: 90:[31, 7] Operation: 21/3=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[3, 10], Operations: ['65-44=21', '31-21=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,90 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[31, 18], Operations: ['65-44=21', '21-3=18']
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,90 unequal: No Solution
Exploring Operation: 31*18=558, Resulting Numbers: [558]
558,90 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 90:[31, 7], Operations: ['65-44=21', '21/3=7']
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,90 unequal: No Solution
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,90 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: 90:[44, 3, 34], Operations: ['65-31=34']
Exploring Operation: 34-3=31, Resulting Numbers: [44, 31]
Generated Node #0,1,0: 90:[44, 31] Operation: 34-3=31
Exploring Operation: 44-34=10, Resulting Numbers: [3, 10]
Generated Node #0,1,1: 90:[3, 10] Operation: 44-34=10
Exploring Operation: 44+3=47, Resulting Numbers: [34, 47]
Generated Node #0,1,2: 90:[34, 47] Operation: 44+3=47
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[3, 10], Operations: ['65-31=34', '44-34=10']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,90 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[44, 31], Operations: ['65-31=34', '34-3=31']
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,90 unequal: No Solution
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 90:[34, 47], Operations: ['65-31=34', '44+3=47']
Exploring Operation: 34+47=81, Resulting Numbers: [81]
81,90 unequal: No Solution
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,90 unequal: No Solution
Exploring Operation: 34*47=1598, Resulting Numbers: [1598]
1598,90 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: 90:[44, 3, 96], Operations: ['31+65=96']
Exploring Operation: 96-3=93, Resulting Numbers: [44, 93]
Generated Node #0,2,0: 90:[44, 93] Operation: 96-3=93
Exploring Operation: 96-44=52, Resulting Numbers: [3, 52]
Generated Node #0,2,1: 90:[3, 52] Operation: 96-44=52
Exploring Operation: 96/3=32, Resulting Numbers: [44, 32]
Generated Node #0,2,2: 90:[44, 32] Operation: 96/3=32
Moving to Node #0,2,2
Current State: 90:[44, 32], Operations: ['31+65=96', '96/3=32']
Exploring Operation: 44*32=1408, Resulting Numbers: [1408]
1408,90 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,90 unequal: No Solution
Exploring Operation: 44+32=76, Resulting Numbers: [76]
76,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[44, 93], Operations: ['31+65=96', '96-3=93']
Exploring Operation: 44+93=137, Resulting Numbers: [137]
137,90 unequal: No Solution
Exploring Operation: 44*93=4092, Resulting Numbers: [4092]
4092,90 unequal: No Solution
Exploring Operation: 93-44=49, Resulting Numbers: [49]
49,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[3, 52], Operations: ['31+65=96', '96-44=52']
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,90 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,90 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,90 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
65,
8,
64,
32
] | 23 | [
"65+8=73",
"64+32=96",
"96-73=23"
] | Current State: 23:[65, 8, 64, 32], Operations: []
Exploring Operation: 65+8=73, Resulting Numbers: [64, 32, 73]
Generated Node #2: [64, 32, 73] from Operation: 65+8=73
Current State: 23:[64, 32, 73], Operations: ['65+8=73']
Exploring Operation: 64+32=96, Resulting Numbers: [73, 96]
Generated Node #3: [73, 96] from Operation: 64+32=96
Current State: 23:[73, 96], Operations: ['65+8=73', '64+32=96']
Exploring Operation: 96-73=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[65, 8, 64, 32], Operations: []
Exploring Operation: 65-64=1, Resulting Numbers: [8, 32, 1]
Generated Node #0,0: 23:[8, 32, 1] Operation: 65-64=1
Moving to Node #0,0
Current State: 23:[8, 32, 1], Operations: ['65-64=1']
Exploring Operation: 32-8=24, Resulting Numbers: [1, 24]
Generated Node #0,0,0: 23:[1, 24] Operation: 32-8=24
Moving to Node #0,0,0
Current State: 23:[1, 24], Operations: ['65-64=1', '32-8=24']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[65, 8, 64, 32], Operations: []
Exploring Operation: 65-64=1, Resulting Numbers: [8, 32, 1]
Generated Node #0,0: 23:[8, 32, 1] Operation: 65-64=1
Moving to Node #0,0
Current State: 23:[8, 32, 1], Operations: ['65-64=1']
Exploring Operation: 32-8=24, Resulting Numbers: [1, 24]
Generated Node #0,0,0: 23:[1, 24] Operation: 32-8=24
Moving to Node #0,0,0
Current State: 23:[1, 24], Operations: ['65-64=1', '32-8=24']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
65,
10,
11,
13
] | 55 | [
"65/13=5",
"10-5=5",
"11*5=55"
] | Current State: 55:[65, 10, 11, 13], Operations: []
Exploring Operation: 65/13=5, Resulting Numbers: [10, 11, 5]
Generated Node #2: [10, 11, 5] from Operation: 65/13=5
Current State: 55:[10, 11, 5], Operations: ['65/13=5']
Exploring Operation: 10-5=5, Resulting Numbers: [11, 5]
Generated Node #3: [11, 5] from Operation: 10-5=5
Current State: 55:[11, 5], Operations: ['65/13=5', '10-5=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[65, 10, 11, 13], Operations: []
Exploring Operation: 65-10=55, Resulting Numbers: [11, 13, 55]
Generated Node #0,0: 55:[11, 13, 55] Operation: 65-10=55
Exploring Operation: 65-13=52, Resulting Numbers: [10, 11, 52]
Generated Node #0,1: 55:[10, 11, 52] Operation: 65-13=52
Exploring Operation: 65/13=5, Resulting Numbers: [10, 11, 5]
Generated Node #0,2: 55:[10, 11, 5] Operation: 65/13=5
Exploring Operation: 65-11=54, Resulting Numbers: [10, 13, 54]
Generated Node #0,3: 55:[10, 13, 54] Operation: 65-11=54
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[10, 11, 5], Operations: ['65/13=5']
Exploring Operation: 10/5=2, Resulting Numbers: [11, 2]
Generated Node #0,2,0: 55:[11, 2] Operation: 10/5=2
Exploring Operation: 10-5=5, Resulting Numbers: [11, 5]
Generated Node #0,2,1: 55:[11, 5] Operation: 10-5=5
Exploring Operation: 11*5=55, Resulting Numbers: [10, 55]
Generated Node #0,2,2: 55:[10, 55] Operation: 11*5=55
Exploring Operation: 11-5=6, Resulting Numbers: [10, 6]
Generated Node #0,2,3: 55:[10, 6] Operation: 11-5=6
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 55:[11, 5], Operations: ['65/13=5', '10-5=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[65, 10, 11, 13], Operations: []
Exploring Operation: 65/13=5, Resulting Numbers: [10, 11, 5]
Generated Node #0,2: 55:[10, 11, 5] Operation: 65/13=5
Moving to Node #0,2
Current State: 55:[10, 11, 5], Operations: ['65/13=5']
Exploring Operation: 10-5=5, Resulting Numbers: [11, 5]
Generated Node #0,2,1: 55:[11, 5] Operation: 10-5=5
Moving to Node #0,2,1
Current State: 55:[11, 5], Operations: ['65/13=5', '10-5=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
3,
34,
12,
4
] | 22 | [
"4-3=1",
"34-12=22",
"1*22=22"
] | Current State: 22:[3, 34, 12, 4], Operations: []
Exploring Operation: 4-3=1, Resulting Numbers: [34, 12, 1]
Generated Node #2: [34, 12, 1] from Operation: 4-3=1
Current State: 22:[34, 12, 1], Operations: ['4-3=1']
Exploring Operation: 34-12=22, Resulting Numbers: [1, 22]
Generated Node #3: [1, 22] from Operation: 34-12=22
Current State: 22:[1, 22], Operations: ['4-3=1', '34-12=22']
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[3, 34, 12, 4], Operations: []
Exploring Operation: 34-3=31, Resulting Numbers: [12, 4, 31]
Generated Node #0,0: 22:[12, 4, 31] Operation: 34-3=31
Exploring Operation: 4-3=1, Resulting Numbers: [34, 12, 1]
Generated Node #0,1: 22:[34, 12, 1] Operation: 4-3=1
Exploring Operation: 34-4=30, Resulting Numbers: [3, 12, 30]
Generated Node #0,2: 22:[3, 12, 30] Operation: 34-4=30
Exploring Operation: 34-12=22, Resulting Numbers: [3, 4, 22]
Generated Node #0,3: 22:[3, 4, 22] Operation: 34-12=22
Exploring Operation: 3*4=12, Resulting Numbers: [34, 12, 12]
Generated Node #0,4: 22:[34, 12, 12] Operation: 3*4=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 22:[3, 4, 22], Operations: ['34-12=22']
Exploring Operation: 22-3=19, Resulting Numbers: [4, 19]
Generated Node #0,3,0: 22:[4, 19] Operation: 22-3=19
Exploring Operation: 3+22=25, Resulting Numbers: [4, 25]
Generated Node #0,3,1: 22:[4, 25] Operation: 3+22=25
Exploring Operation: 4-3=1, Resulting Numbers: [22, 1]
Generated Node #0,3,2: 22:[22, 1] Operation: 4-3=1
Exploring Operation: 3*4=12, Resulting Numbers: [22, 12]
Generated Node #0,3,3: 22:[22, 12] Operation: 3*4=12
Exploring Operation: 3+4=7, Resulting Numbers: [22, 7]
Generated Node #0,3,4: 22:[22, 7] Operation: 3+4=7
Moving to Node #0,3,2
Current State: 22:[22, 1], Operations: ['34-12=22', '4-3=1']
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[3, 34, 12, 4], Operations: []
Exploring Operation: 34-12=22, Resulting Numbers: [3, 4, 22]
Generated Node #0,3: 22:[3, 4, 22] Operation: 34-12=22
Moving to Node #0,3
Current State: 22:[3, 4, 22], Operations: ['34-12=22']
Exploring Operation: 4-3=1, Resulting Numbers: [22, 1]
Generated Node #0,3,2: 22:[22, 1] Operation: 4-3=1
Moving to Node #0,3,2
Current State: 22:[22, 1], Operations: ['34-12=22', '4-3=1']
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
27,
30,
46,
64
] | 20 | [
"64-46=18",
"30*18=540",
"540/27=20"
] | Current State: 20:[27, 30, 46, 64], Operations: []
Exploring Operation: 64-46=18, Resulting Numbers: [27, 30, 18]
Generated Node #2: [27, 30, 18] from Operation: 64-46=18
Current State: 20:[27, 30, 18], Operations: ['64-46=18']
Exploring Operation: 30*18=540, Resulting Numbers: [27, 540]
Generated Node #3: [27, 540] from Operation: 30*18=540
Current State: 20:[27, 540], Operations: ['64-46=18', '30*18=540']
Exploring Operation: 540/27=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[27, 30, 46, 64], Operations: []
Exploring Operation: 64-46=18, Resulting Numbers: [27, 30, 18]
Generated Node #0,0: 20:[27, 30, 18] Operation: 64-46=18
Exploring Operation: 64-27=37, Resulting Numbers: [30, 46, 37]
Generated Node #0,1: 20:[30, 46, 37] Operation: 64-27=37
Exploring Operation: 46-30=16, Resulting Numbers: [27, 64, 16]
Generated Node #0,2: 20:[27, 64, 16] Operation: 46-30=16
Exploring Operation: 46-27=19, Resulting Numbers: [30, 64, 19]
Generated Node #0,3: 20:[30, 64, 19] Operation: 46-27=19
Exploring Operation: 64-30=34, Resulting Numbers: [27, 46, 34]
Generated Node #0,4: 20:[27, 46, 34] Operation: 64-30=34
Moving to Node #0,0
Current State: 20:[27, 30, 18], Operations: ['64-46=18']
Exploring Operation: 30-18=12, Resulting Numbers: [27, 12]
Generated Node #0,0,0: 20:[27, 12] Operation: 30-18=12
Exploring Operation: 27+18=45, Resulting Numbers: [30, 45]
Generated Node #0,0,1: 20:[30, 45] Operation: 27+18=45
Exploring Operation: 30-27=3, Resulting Numbers: [18, 3]
Generated Node #0,0,2: 20:[18, 3] Operation: 30-27=3
Exploring Operation: 30+18=48, Resulting Numbers: [27, 48]
Generated Node #0,0,3: 20:[27, 48] Operation: 30+18=48
Exploring Operation: 27-18=9, Resulting Numbers: [30, 9]
Generated Node #0,0,4: 20:[30, 9] Operation: 27-18=9
Moving to Node #0,4
Current State: 20:[27, 46, 34], Operations: ['64-30=34']
Exploring Operation: 27+34=61, Resulting Numbers: [46, 61]
Generated Node #0,4,0: 20:[46, 61] Operation: 27+34=61
Exploring Operation: 34-27=7, Resulting Numbers: [46, 7]
Generated Node #0,4,1: 20:[46, 7] Operation: 34-27=7
Exploring Operation: 27+46=73, Resulting Numbers: [34, 73]
Generated Node #0,4,2: 20:[34, 73] Operation: 27+46=73
Exploring Operation: 46-34=12, Resulting Numbers: [27, 12]
Generated Node #0,4,3: 20:[27, 12] Operation: 46-34=12
Exploring Operation: 46-27=19, Resulting Numbers: [34, 19]
Generated Node #0,4,4: 20:[34, 19] Operation: 46-27=19
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 20:[27, 12], Operations: ['64-30=34', '46-34=12']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,20 unequal: No Solution
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 20:[34, 19], Operations: ['64-30=34', '46-27=19']
Exploring Operation: 34*19=646, Resulting Numbers: [646]
646,20 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,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,4,1
Current State: 20:[46, 7], Operations: ['64-30=34', '34-27=7']
Exploring Operation: 46*7=322, Resulting Numbers: [322]
322,20 unequal: No Solution
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 20:[46, 61], Operations: ['64-30=34', '27+34=61']
Exploring Operation: 46+61=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Exploring Operation: 61-46=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 46*61=2806, Resulting Numbers: [2806]
2806,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,4,2
Current State: 20:[34, 73], Operations: ['64-30=34', '27+46=73']
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 34+73=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Exploring Operation: 34*73=2482, Resulting Numbers: [2482]
2482,20 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: 20:[30, 46, 37], Operations: ['64-27=37']
Exploring Operation: 30+37=67, Resulting Numbers: [46, 67]
Generated Node #0,1,0: 20:[46, 67] Operation: 30+37=67
Exploring Operation: 46-30=16, Resulting Numbers: [37, 16]
Generated Node #0,1,1: 20:[37, 16] Operation: 46-30=16
Exploring Operation: 37-30=7, Resulting Numbers: [46, 7]
Generated Node #0,1,2: 20:[46, 7] Operation: 37-30=7
Exploring Operation: 46-37=9, Resulting Numbers: [30, 9]
Generated Node #0,1,3: 20:[30, 9] Operation: 46-37=9
Exploring Operation: 30+46=76, Resulting Numbers: [37, 76]
Generated Node #0,1,4: 20:[37, 76] Operation: 30+46=76
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 20:[30, 9], Operations: ['64-27=37', '46-37=9']
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,20 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[37, 16], Operations: ['64-27=37', '46-30=16']
Exploring Operation: 37+16=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 37*16=592, Resulting Numbers: [592]
592,20 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[46, 7], Operations: ['64-27=37', '37-30=7']
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 46*7=322, Resulting Numbers: [322]
322,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[46, 67], Operations: ['64-27=37', '30+37=67']
Exploring Operation: 46+67=113, Resulting Numbers: [113]
113,20 unequal: No Solution
Exploring Operation: 46*67=3082, Resulting Numbers: [3082]
3082,20 unequal: No Solution
Exploring Operation: 67-46=21, Resulting Numbers: [21]
21,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 20:[37, 76], Operations: ['64-27=37', '30+46=76']
Exploring Operation: 37*76=2812, Resulting Numbers: [2812]
2812,20 unequal: No Solution
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 37+76=113, Resulting Numbers: [113]
113,20 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: 20:[27, 64, 16], Operations: ['46-30=16']
Exploring Operation: 27+16=43, Resulting Numbers: [64, 43]
Generated Node #0,2,0: 20:[64, 43] Operation: 27+16=43
Exploring Operation: 64-16=48, Resulting Numbers: [27, 48]
Generated Node #0,2,1: 20:[27, 48] Operation: 64-16=48
Exploring Operation: 64-27=37, Resulting Numbers: [16, 37]
Generated Node #0,2,2: 20:[16, 37] Operation: 64-27=37
Exploring Operation: 27-16=11, Resulting Numbers: [64, 11]
Generated Node #0,2,3: 20:[64, 11] Operation: 27-16=11
Exploring Operation: 64/16=4, Resulting Numbers: [27, 4]
Generated Node #0,2,4: 20:[27, 4] Operation: 64/16=4
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 20:[27, 4], Operations: ['46-30=16', '64/16=4']
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,20 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,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:[16, 37], Operations: ['46-30=16', '64-27=37']
Exploring Operation: 16*37=592, Resulting Numbers: [592]
592,20 unequal: No Solution
Exploring Operation: 16+37=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,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:[27, 48], Operations: ['46-30=16', '64-16=48']
Exploring Operation: 27*48=1296, Resulting Numbers: [1296]
1296,20 unequal: No Solution
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 27+48=75, Resulting Numbers: [75]
75,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,3
Current State: 20:[64, 11], Operations: ['46-30=16', '27-16=11']
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,20 unequal: No Solution
Exploring Operation: 64*11=704, Resulting Numbers: [704]
704,20 unequal: No Solution
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,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:[64, 43], Operations: ['46-30=16', '27+16=43']
Exploring Operation: 64*43=2752, Resulting Numbers: [2752]
2752,20 unequal: No Solution
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 64+43=107, Resulting Numbers: [107]
107,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:[30, 64, 19], Operations: ['46-27=19']
Exploring Operation: 64+19=83, Resulting Numbers: [30, 83]
Generated Node #0,3,0: 20:[30, 83] Operation: 64+19=83
Exploring Operation: 30+19=49, Resulting Numbers: [64, 49]
Generated Node #0,3,1: 20:[64, 49] Operation: 30+19=49
Exploring Operation: 30-19=11, Resulting Numbers: [64, 11]
Generated Node #0,3,2: 20:[64, 11] Operation: 30-19=11
Exploring Operation: 64-30=34, Resulting Numbers: [19, 34]
Generated Node #0,3,3: 20:[19, 34] Operation: 64-30=34
Exploring Operation: 64-19=45, Resulting Numbers: [30, 45]
Generated Node #0,3,4: 20:[30, 45] Operation: 64-19=45
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 20:[19, 34], Operations: ['46-27=19', '64-30=34']
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 19*34=646, Resulting Numbers: [646]
646,20 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,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,4
Current State: 20:[30, 45], Operations: ['46-27=19', '64-19=45']
Exploring Operation: 30+45=75, Resulting Numbers: [75]
75,20 unequal: No Solution
Exploring Operation: 30*45=1350, Resulting Numbers: [1350]
1350,20 unequal: No Solution
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,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:[64, 11], Operations: ['46-27=19', '30-19=11']
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,20 unequal: No Solution
Exploring Operation: 64*11=704, Resulting Numbers: [704]
704,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,0
Current State: 20:[30, 83], Operations: ['46-27=19', '64+19=83']
Exploring Operation: 30*83=2490, Resulting Numbers: [2490]
2490,20 unequal: No Solution
Exploring Operation: 30+83=113, Resulting Numbers: [113]
113,20 unequal: No Solution
Exploring Operation: 83-30=53, Resulting Numbers: [53]
53,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:[64, 49], Operations: ['46-27=19', '30+19=49']
Exploring Operation: 64*49=3136, Resulting Numbers: [3136]
3136,20 unequal: No Solution
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 64+49=113, Resulting Numbers: [113]
113,20 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: 20:[18, 3], Operations: ['64-46=18', '30-27=3']
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,20 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[27, 12], Operations: ['64-46=18', '30-18=12']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,20 unequal: No Solution
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Moving to Node #0,0,4
Current State: 20:[30, 9], Operations: ['64-46=18', '27-18=9']
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,20 unequal: No Solution
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[30, 45], Operations: ['64-46=18', '27+18=45']
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 30*45=1350, Resulting Numbers: [1350]
1350,20 unequal: No Solution
Exploring Operation: 30+45=75, Resulting Numbers: [75]
75,20 unequal: No Solution
Moving to Node #0,0,3
Current State: 20:[27, 48], Operations: ['64-46=18', '30+18=48']
Exploring Operation: 27*48=1296, Resulting Numbers: [1296]
1296,20 unequal: No Solution
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 27+48=75, Resulting Numbers: [75]
75,20 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
82,
62,
19,
55
] | 94 | [
"82-62=20",
"19+55=74",
"20+74=94"
] | Current State: 94:[82, 62, 19, 55], Operations: []
Exploring Operation: 82-62=20, Resulting Numbers: [19, 55, 20]
Generated Node #2: [19, 55, 20] from Operation: 82-62=20
Current State: 94:[19, 55, 20], Operations: ['82-62=20']
Exploring Operation: 19+55=74, Resulting Numbers: [20, 74]
Generated Node #3: [20, 74] from Operation: 19+55=74
Current State: 94:[20, 74], Operations: ['82-62=20', '19+55=74']
Exploring Operation: 20+74=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[82, 62, 19, 55], Operations: []
Exploring Operation: 82+19=101, Resulting Numbers: [62, 55, 101]
Generated Node #0,0: 94:[62, 55, 101] Operation: 82+19=101
Exploring Operation: 62-19=43, Resulting Numbers: [82, 55, 43]
Generated Node #0,1: 94:[82, 55, 43] Operation: 62-19=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[82, 55, 43], Operations: ['62-19=43']
Exploring Operation: 82-43=39, Resulting Numbers: [55, 39]
Generated Node #0,1,0: 94:[55, 39] Operation: 82-43=39
Exploring Operation: 55+43=98, Resulting Numbers: [82, 98]
Generated Node #0,1,1: 94:[82, 98] Operation: 55+43=98
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[55, 39], Operations: ['62-19=43', '82-43=39']
Exploring Operation: 55-39=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 55+39=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[82, 62, 19, 55], Operations: []
Exploring Operation: 62-19=43, Resulting Numbers: [82, 55, 43]
Generated Node #0,1: 94:[82, 55, 43] Operation: 62-19=43
Moving to Node #0,1
Current State: 94:[82, 55, 43], Operations: ['62-19=43']
Exploring Operation: 82-43=39, Resulting Numbers: [55, 39]
Generated Node #0,1,0: 94:[55, 39] Operation: 82-43=39
Moving to Node #0,1,0
Current State: 94:[55, 39], Operations: ['62-19=43', '82-43=39']
Exploring Operation: 55+39=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
77,
67,
8,
21
] | 23 | [
"77-67=10",
"21-8=13",
"10+13=23"
] | Current State: 23:[77, 67, 8, 21], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [8, 21, 10]
Generated Node #2: [8, 21, 10] from Operation: 77-67=10
Current State: 23:[8, 21, 10], Operations: ['77-67=10']
Exploring Operation: 21-8=13, Resulting Numbers: [10, 13]
Generated Node #3: [10, 13] from Operation: 21-8=13
Current State: 23:[10, 13], Operations: ['77-67=10', '21-8=13']
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[77, 67, 8, 21], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [8, 21, 10]
Generated Node #0,0: 23:[8, 21, 10] Operation: 77-67=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[8, 21, 10], Operations: ['77-67=10']
Exploring Operation: 8+10=18, Resulting Numbers: [21, 18]
Generated Node #0,0,0: 23:[21, 18] Operation: 8+10=18
Moving to Node #0,0,0
Current State: 23:[21, 18], Operations: ['77-67=10', '8+10=18']
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
60,
58,
17,
30
] | 82 | [
"60/30=2",
"58-17=41",
"2*41=82"
] | Current State: 82:[60, 58, 17, 30], Operations: []
Exploring Operation: 60/30=2, Resulting Numbers: [58, 17, 2]
Generated Node #2: [58, 17, 2] from Operation: 60/30=2
Current State: 82:[58, 17, 2], Operations: ['60/30=2']
Exploring Operation: 58-17=41, Resulting Numbers: [2, 41]
Generated Node #3: [2, 41] from Operation: 58-17=41
Current State: 82:[2, 41], Operations: ['60/30=2', '58-17=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[60, 58, 17, 30], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [17, 30, 2]
Generated Node #0,0: 82:[17, 30, 2] Operation: 60-58=2
Exploring Operation: 60-17=43, Resulting Numbers: [58, 30, 43]
Generated Node #0,1: 82:[58, 30, 43] Operation: 60-17=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[17, 30, 2], Operations: ['60-58=2']
Exploring Operation: 30-17=13, Resulting Numbers: [2, 13]
Generated Node #0,0,0: 82:[2, 13] Operation: 30-17=13
Exploring Operation: 17+30=47, Resulting Numbers: [2, 47]
Generated Node #0,0,1: 82:[2, 47] Operation: 17+30=47
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[2, 47], Operations: ['60-58=2', '17+30=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[2, 13], Operations: ['60-58=2', '30-17=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[58, 30, 43], Operations: ['60-17=43']
Exploring Operation: 58+30=88, Resulting Numbers: [43, 88]
Generated Node #0,1,0: 82:[43, 88] Operation: 58+30=88
Exploring Operation: 58-30=28, Resulting Numbers: [43, 28]
Generated Node #0,1,1: 82:[43, 28] Operation: 58-30=28
Moving to Node #0,1,0
Current State: 82:[43, 88], Operations: ['60-17=43', '58+30=88']
Exploring Operation: 43+88=131, Resulting Numbers: [131]
131,82 unequal: No Solution
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[43, 28], Operations: ['60-17=43', '58-30=28']
Exploring Operation: 43-28=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 43+28=71, Resulting Numbers: [71]
71,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
17,
14,
26,
74
] | 49 | [
"17+74=91",
"14*91=1274",
"1274/26=49"
] | Current State: 49:[17, 14, 26, 74], Operations: []
Exploring Operation: 17+74=91, Resulting Numbers: [14, 26, 91]
Generated Node #2: [14, 26, 91] from Operation: 17+74=91
Current State: 49:[14, 26, 91], Operations: ['17+74=91']
Exploring Operation: 14*91=1274, Resulting Numbers: [26, 1274]
Generated Node #3: [26, 1274] from Operation: 14*91=1274
Current State: 49:[26, 1274], Operations: ['17+74=91', '14*91=1274']
Exploring Operation: 1274/26=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[17, 14, 26, 74], Operations: []
Exploring Operation: 74-26=48, Resulting Numbers: [17, 14, 48]
Generated Node #0,0: 49:[17, 14, 48] Operation: 74-26=48
Moving to Node #0,0
Current State: 49:[17, 14, 48], Operations: ['74-26=48']
Exploring Operation: 17-14=3, Resulting Numbers: [48, 3]
Generated Node #0,0,0: 49:[48, 3] Operation: 17-14=3
Moving to Node #0,0,0
Current State: 49:[48, 3], Operations: ['74-26=48', '17-14=3']
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,49 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
44,
84,
20,
33
] | 93 | [
"84-44=40",
"20+33=53",
"40+53=93"
] | Current State: 93:[44, 84, 20, 33], Operations: []
Exploring Operation: 84-44=40, Resulting Numbers: [20, 33, 40]
Generated Node #2: [20, 33, 40] from Operation: 84-44=40
Current State: 93:[20, 33, 40], Operations: ['84-44=40']
Exploring Operation: 20+33=53, Resulting Numbers: [40, 53]
Generated Node #3: [40, 53] from Operation: 20+33=53
Current State: 93:[40, 53], Operations: ['84-44=40', '20+33=53']
Exploring Operation: 40+53=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[44, 84, 20, 33], Operations: []
Exploring Operation: 44-20=24, Resulting Numbers: [84, 33, 24]
Generated Node #0,0: 93:[84, 33, 24] Operation: 44-20=24
Exploring Operation: 33-20=13, Resulting Numbers: [44, 84, 13]
Generated Node #0,1: 93:[44, 84, 13] Operation: 33-20=13
Exploring Operation: 84-44=40, Resulting Numbers: [20, 33, 40]
Generated Node #0,2: 93:[20, 33, 40] Operation: 84-44=40
Exploring Operation: 44-33=11, Resulting Numbers: [84, 20, 11]
Generated Node #0,3: 93:[84, 20, 11] Operation: 44-33=11
Exploring Operation: 84+20=104, Resulting Numbers: [44, 33, 104]
Generated Node #0,4: 93:[44, 33, 104] Operation: 84+20=104
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[84, 33, 24], Operations: ['44-20=24']
Exploring Operation: 84+24=108, Resulting Numbers: [33, 108]
Generated Node #0,0,0: 93:[33, 108] Operation: 84+24=108
Exploring Operation: 84-24=60, Resulting Numbers: [33, 60]
Generated Node #0,0,1: 93:[33, 60] Operation: 84-24=60
Exploring Operation: 84-33=51, Resulting Numbers: [24, 51]
Generated Node #0,0,2: 93:[24, 51] Operation: 84-33=51
Exploring Operation: 84+33=117, Resulting Numbers: [24, 117]
Generated Node #0,0,3: 93:[24, 117] Operation: 84+33=117
Exploring Operation: 33-24=9, Resulting Numbers: [84, 9]
Generated Node #0,0,4: 93:[84, 9] Operation: 33-24=9
Moving to Node #0,0,4
Current State: 93:[84, 9], Operations: ['44-20=24', '33-24=9']
Exploring Operation: 84*9=756, Resulting Numbers: [756]
756,93 unequal: No Solution
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[44, 84, 20, 33], Operations: []
Exploring Operation: 44-20=24, Resulting Numbers: [84, 33, 24]
Generated Node #0,0: 93:[84, 33, 24] Operation: 44-20=24
Moving to Node #0,0
Current State: 93:[84, 33, 24], Operations: ['44-20=24']
Exploring Operation: 33-24=9, Resulting Numbers: [84, 9]
Generated Node #0,0,4: 93:[84, 9] Operation: 33-24=9
Moving to Node #0,0,4
Current State: 93:[84, 9], Operations: ['44-20=24', '33-24=9']
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
16,
15,
65,
36
] | 28 | [
"16-15=1",
"65-36=29",
"29-1=28"
] | Current State: 28:[16, 15, 65, 36], Operations: []
Exploring Operation: 16-15=1, Resulting Numbers: [65, 36, 1]
Generated Node #2: [65, 36, 1] from Operation: 16-15=1
Current State: 28:[65, 36, 1], Operations: ['16-15=1']
Exploring Operation: 65-36=29, Resulting Numbers: [1, 29]
Generated Node #3: [1, 29] from Operation: 65-36=29
Current State: 28:[1, 29], Operations: ['16-15=1', '65-36=29']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[16, 15, 65, 36], Operations: []
Exploring Operation: 65-36=29, Resulting Numbers: [16, 15, 29]
Generated Node #0,0: 28:[16, 15, 29] Operation: 65-36=29
Exploring Operation: 65-16=49, Resulting Numbers: [15, 36, 49]
Generated Node #0,1: 28:[15, 36, 49] Operation: 65-16=49
Exploring Operation: 65-15=50, Resulting Numbers: [16, 36, 50]
Generated Node #0,2: 28:[16, 36, 50] Operation: 65-15=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[16, 15, 29], Operations: ['65-36=29']
Exploring Operation: 29-15=14, Resulting Numbers: [16, 14]
Generated Node #0,0,0: 28:[16, 14] Operation: 29-15=14
Exploring Operation: 29-16=13, Resulting Numbers: [15, 13]
Generated Node #0,0,1: 28:[15, 13] Operation: 29-16=13
Exploring Operation: 16-15=1, Resulting Numbers: [29, 1]
Generated Node #0,0,2: 28:[29, 1] Operation: 16-15=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[16, 14], Operations: ['65-36=29', '29-15=14']
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,28 unequal: No Solution
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,28 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 28:[15, 13], Operations: ['65-36=29', '29-16=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[16, 15, 65, 36], Operations: []
Exploring Operation: 65-36=29, Resulting Numbers: [16, 15, 29]
Generated Node #0,0: 28:[16, 15, 29] Operation: 65-36=29
Moving to Node #0,0
Current State: 28:[16, 15, 29], Operations: ['65-36=29']
Exploring Operation: 29-16=13, Resulting Numbers: [15, 13]
Generated Node #0,0,1: 28:[15, 13] Operation: 29-16=13
Moving to Node #0,0,1
Current State: 28:[15, 13], Operations: ['65-36=29', '29-16=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
38,
39,
65,
16
] | 50 | [
"39-38=1",
"65-16=49",
"1+49=50"
] | Current State: 50:[38, 39, 65, 16], Operations: []
Exploring Operation: 39-38=1, Resulting Numbers: [65, 16, 1]
Generated Node #2: [65, 16, 1] from Operation: 39-38=1
Current State: 50:[65, 16, 1], Operations: ['39-38=1']
Exploring Operation: 65-16=49, Resulting Numbers: [1, 49]
Generated Node #3: [1, 49] from Operation: 65-16=49
Current State: 50:[1, 49], Operations: ['39-38=1', '65-16=49']
Exploring Operation: 1+49=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[38, 39, 65, 16], Operations: []
Exploring Operation: 65-38=27, Resulting Numbers: [39, 16, 27]
Generated Node #0,0: 50:[39, 16, 27] Operation: 65-38=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[39, 16, 27], Operations: ['65-38=27']
Exploring Operation: 39-16=23, Resulting Numbers: [27, 23]
Generated Node #0,0,0: 50:[27, 23] Operation: 39-16=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[27, 23], Operations: ['65-38=27', '39-16=23']
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[38, 39, 65, 16], Operations: []
Exploring Operation: 65-38=27, Resulting Numbers: [39, 16, 27]
Generated Node #0,0: 50:[39, 16, 27] Operation: 65-38=27
Moving to Node #0,0
Current State: 50:[39, 16, 27], Operations: ['65-38=27']
Exploring Operation: 39-16=23, Resulting Numbers: [27, 23]
Generated Node #0,0,0: 50:[27, 23] Operation: 39-16=23
Moving to Node #0,0,0
Current State: 50:[27, 23], Operations: ['65-38=27', '39-16=23']
Exploring Operation: 27+23=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 |
[
9,
4,
8,
71
] | 18 | [
"9-8=1",
"71+1=72",
"72/4=18"
] | Current State: 18:[9, 4, 8, 71], Operations: []
Exploring Operation: 9-8=1, Resulting Numbers: [4, 71, 1]
Generated Node #2: [4, 71, 1] from Operation: 9-8=1
Current State: 18:[4, 71, 1], Operations: ['9-8=1']
Exploring Operation: 71+1=72, Resulting Numbers: [4, 72]
Generated Node #3: [4, 72] from Operation: 71+1=72
Current State: 18:[4, 72], Operations: ['9-8=1', '71+1=72']
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[9, 4, 8, 71], Operations: []
Exploring Operation: 71-8=63, Resulting Numbers: [9, 4, 63]
Generated Node #0,0: 18:[9, 4, 63] Operation: 71-8=63
Exploring Operation: 71-4=67, Resulting Numbers: [9, 8, 67]
Generated Node #0,1: 18:[9, 8, 67] Operation: 71-4=67
Exploring Operation: 8/4=2, Resulting Numbers: [9, 71, 2]
Generated Node #0,2: 18:[9, 71, 2] Operation: 8/4=2
Exploring Operation: 71-9=62, Resulting Numbers: [4, 8, 62]
Generated Node #0,3: 18:[4, 8, 62] Operation: 71-9=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[9, 4, 63], Operations: ['71-8=63']
Exploring Operation: 9-4=5, Resulting Numbers: [63, 5]
Generated Node #0,0,0: 18:[63, 5] Operation: 9-4=5
Exploring Operation: 63-9=54, Resulting Numbers: [4, 54]
Generated Node #0,0,1: 18:[4, 54] Operation: 63-9=54
Exploring Operation: 63/9=7, Resulting Numbers: [4, 7]
Generated Node #0,0,2: 18:[4, 7] Operation: 63/9=7
Exploring Operation: 63-4=59, Resulting Numbers: [9, 59]
Generated Node #0,0,3: 18:[9, 59] Operation: 63-4=59
Moving to Node #0,0,2
Current State: 18:[4, 7], Operations: ['71-8=63', '63/9=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[4, 54], Operations: ['71-8=63', '63-9=54']
Exploring Operation: 4+54=58, Resulting Numbers: [58]
58,18 unequal: No Solution
Exploring Operation: 4*54=216, Resulting Numbers: [216]
216,18 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Moving to Node #0,0,3
Current State: 18:[9, 59], Operations: ['71-8=63', '63-4=59']
Exploring Operation: 9*59=531, Resulting Numbers: [531]
531,18 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 9+59=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[63, 5], Operations: ['71-8=63', '9-4=5']
Exploring Operation: 63*5=315, Resulting Numbers: [315]
315,18 unequal: No Solution
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,18 unequal: No Solution
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 18:[4, 8, 62], Operations: ['71-9=62']
Exploring Operation: 62-4=58, Resulting Numbers: [8, 58]
Generated Node #0,3,0: 18:[8, 58] Operation: 62-4=58
Exploring Operation: 62-8=54, Resulting Numbers: [4, 54]
Generated Node #0,3,1: 18:[4, 54] Operation: 62-8=54
Exploring Operation: 8/4=2, Resulting Numbers: [62, 2]
Generated Node #0,3,2: 18:[62, 2] Operation: 8/4=2
Exploring Operation: 8-4=4, Resulting Numbers: [62, 4]
Generated Node #0,3,3: 18:[62, 4] Operation: 8-4=4
Moving to Node #0,3,1
Current State: 18:[4, 54], Operations: ['71-9=62', '62-8=54']
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 4*54=216, Resulting Numbers: [216]
216,18 unequal: No Solution
Exploring Operation: 4+54=58, Resulting Numbers: [58]
58,18 unequal: No Solution
Moving to Node #0,3,0
Current State: 18:[8, 58], Operations: ['71-9=62', '62-4=58']
Exploring Operation: 8+58=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Exploring Operation: 8*58=464, Resulting Numbers: [464]
464,18 unequal: No Solution
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Moving to Node #0,3,2
Current State: 18:[62, 2], Operations: ['71-9=62', '8/4=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 62*2=124, Resulting Numbers: [124]
124,18 unequal: No Solution
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Moving to Node #0,3,3
Current State: 18:[62, 4], Operations: ['71-9=62', '8-4=4']
Exploring Operation: 62*4=248, Resulting Numbers: [248]
248,18 unequal: No Solution
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,18 unequal: No Solution
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[9, 8, 67], Operations: ['71-4=67']
Exploring Operation: 67-8=59, Resulting Numbers: [9, 59]
Generated Node #0,1,0: 18:[9, 59] Operation: 67-8=59
Exploring Operation: 67-9=58, Resulting Numbers: [8, 58]
Generated Node #0,1,1: 18:[8, 58] Operation: 67-9=58
Exploring Operation: 9+8=17, Resulting Numbers: [67, 17]
Generated Node #0,1,2: 18:[67, 17] Operation: 9+8=17
Exploring Operation: 9-8=1, Resulting Numbers: [67, 1]
Generated Node #0,1,3: 18:[67, 1] Operation: 9-8=1
Moving to Node #0,1,0
Current State: 18:[9, 59], Operations: ['71-4=67', '67-8=59']
Exploring Operation: 9+59=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 9*59=531, Resulting Numbers: [531]
531,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[8, 58], Operations: ['71-4=67', '67-9=58']
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 8+58=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Exploring Operation: 8*58=464, Resulting Numbers: [464]
464,18 unequal: No Solution
Moving to Node #0,1,3
Current State: 18:[67, 1], Operations: ['71-4=67', '9-8=1']
Exploring Operation: 67/1=67, Resulting Numbers: [67]
67,18 unequal: No Solution
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,18 unequal: No Solution
Exploring Operation: 67+1=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[67, 17], Operations: ['71-4=67', '9+8=17']
Exploring Operation: 67+17=84, Resulting Numbers: [84]
84,18 unequal: No Solution
Exploring Operation: 67*17=1139, Resulting Numbers: [1139]
1139,18 unequal: No Solution
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[9, 71, 2], Operations: ['8/4=2']
Exploring Operation: 9-2=7, Resulting Numbers: [71, 7]
Generated Node #0,2,0: 18:[71, 7] Operation: 9-2=7
Exploring Operation: 71-9=62, Resulting Numbers: [2, 62]
Generated Node #0,2,1: 18:[2, 62] Operation: 71-9=62
Exploring Operation: 71-2=69, Resulting Numbers: [9, 69]
Generated Node #0,2,2: 18:[9, 69] Operation: 71-2=69
Exploring Operation: 9*2=18, Resulting Numbers: [71, 18]
Generated Node #0,2,3: 18:[71, 18] Operation: 9*2=18
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 18:[2, 62], Operations: ['8/4=2', '71-9=62']
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,18 unequal: No Solution
No 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: 18:[9, 69], Operations: ['8/4=2', '71-2=69']
Exploring Operation: 69-9=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 9+69=78, Resulting Numbers: [78]
78,18 unequal: No Solution
Exploring Operation: 9*69=621, Resulting Numbers: [621]
621,18 unequal: No Solution
No 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: 18:[71, 18], Operations: ['8/4=2', '9*2=18']
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,18 unequal: No Solution
Exploring Operation: 71+18=89, Resulting Numbers: [89]
89,18 unequal: No Solution
Exploring Operation: 71*18=1278, Resulting Numbers: [1278]
1278,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 18:[71, 7], Operations: ['8/4=2', '9-2=7']
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,18 unequal: No Solution
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Exploring Operation: 71*7=497, Resulting Numbers: [497]
497,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
33,
50,
22,
22
] | 84 | [
"33+50=83",
"22/22=1",
"83+1=84"
] | Current State: 84:[33, 50, 22, 22], Operations: []
Exploring Operation: 33+50=83, Resulting Numbers: [22, 22, 83]
Generated Node #2: [22, 22, 83] from Operation: 33+50=83
Current State: 84:[22, 22, 83], Operations: ['33+50=83']
Exploring Operation: 22/22=1, Resulting Numbers: [83, 1]
Generated Node #3: [83, 1] from Operation: 22/22=1
Current State: 84:[83, 1], Operations: ['33+50=83', '22/22=1']
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[33, 50, 22, 22], Operations: []
Exploring Operation: 50-22=28, Resulting Numbers: [33, 22, 28]
Generated Node #0,0: 84:[33, 22, 28] Operation: 50-22=28
Exploring Operation: 33+50=83, Resulting Numbers: [22, 22, 83]
Generated Node #0,1: 84:[22, 22, 83] Operation: 33+50=83
Exploring Operation: 50-33=17, Resulting Numbers: [22, 22, 17]
Generated Node #0,2: 84:[22, 22, 17] Operation: 50-33=17
Moving to Node #0,1
Current State: 84:[22, 22, 83], Operations: ['33+50=83']
Exploring Operation: 22/22=1, Resulting Numbers: [83, 1]
Generated Node #0,1,0: 84:[83, 1] Operation: 22/22=1
Exploring Operation: 22-22=0, Resulting Numbers: [83, 0]
Generated Node #0,1,1: 84:[83, 0] Operation: 22-22=0
Exploring Operation: 22+22=44, Resulting Numbers: [83, 44]
Generated Node #0,1,2: 84:[83, 44] Operation: 22+22=44
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[83, 1], Operations: ['33+50=83', '22/22=1']
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[33, 50, 22, 22], Operations: []
Exploring Operation: 33+50=83, Resulting Numbers: [22, 22, 83]
Generated Node #0,1: 84:[22, 22, 83] Operation: 33+50=83
Moving to Node #0,1
Current State: 84:[22, 22, 83], Operations: ['33+50=83']
Exploring Operation: 22/22=1, Resulting Numbers: [83, 1]
Generated Node #0,1,0: 84:[83, 1] Operation: 22/22=1
Moving to Node #0,1,0
Current State: 84:[83, 1], Operations: ['33+50=83', '22/22=1']
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
54,
3,
60,
20
] | 66 | [
"60-54=6",
"3*20=60",
"6+60=66"
] | Current State: 66:[54, 3, 60, 20], Operations: []
Exploring Operation: 60-54=6, Resulting Numbers: [3, 20, 6]
Generated Node #2: [3, 20, 6] from Operation: 60-54=6
Current State: 66:[3, 20, 6], Operations: ['60-54=6']
Exploring Operation: 3*20=60, Resulting Numbers: [6, 60]
Generated Node #3: [6, 60] from Operation: 3*20=60
Current State: 66:[6, 60], Operations: ['60-54=6', '3*20=60']
Exploring Operation: 6+60=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[54, 3, 60, 20], Operations: []
Exploring Operation: 54/3=18, Resulting Numbers: [60, 20, 18]
Generated Node #0,0: 66:[60, 20, 18] Operation: 54/3=18
Exploring Operation: 54-20=34, Resulting Numbers: [3, 60, 34]
Generated Node #0,1: 66:[3, 60, 34] Operation: 54-20=34
Exploring Operation: 60/20=3, Resulting Numbers: [54, 3, 3]
Generated Node #0,2: 66:[54, 3, 3] Operation: 60/20=3
Exploring Operation: 60-54=6, Resulting Numbers: [3, 20, 6]
Generated Node #0,3: 66:[3, 20, 6] Operation: 60-54=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 66:[3, 20, 6], Operations: ['60-54=6']
Exploring Operation: 6-3=3, Resulting Numbers: [20, 3]
Generated Node #0,3,0: 66:[20, 3] Operation: 6-3=3
Exploring Operation: 3+20=23, Resulting Numbers: [6, 23]
Generated Node #0,3,1: 66:[6, 23] Operation: 3+20=23
Exploring Operation: 20-6=14, Resulting Numbers: [3, 14]
Generated Node #0,3,2: 66:[3, 14] Operation: 20-6=14
Exploring Operation: 6/3=2, Resulting Numbers: [20, 2]
Generated Node #0,3,3: 66:[20, 2] Operation: 6/3=2
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 66:[6, 23], Operations: ['60-54=6', '3+20=23']
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,66 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 66:[20, 3], Operations: ['60-54=6', '6-3=3']
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,66 unequal: No Solution
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 66:[20, 2], Operations: ['60-54=6', '6/3=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,66 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 66:[3, 14], Operations: ['60-54=6', '20-6=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[3, 60, 34], Operations: ['54-20=34']
Exploring Operation: 34-3=31, Resulting Numbers: [60, 31]
Generated Node #0,1,0: 66:[60, 31] Operation: 34-3=31
Exploring Operation: 60/3=20, Resulting Numbers: [34, 20]
Generated Node #0,1,1: 66:[34, 20] Operation: 60/3=20
Exploring Operation: 60-34=26, Resulting Numbers: [3, 26]
Generated Node #0,1,2: 66:[3, 26] Operation: 60-34=26
Exploring Operation: 3+60=63, Resulting Numbers: [34, 63]
Generated Node #0,1,3: 66:[34, 63] Operation: 3+60=63
Moving to Node #0,1,1
Current State: 66:[34, 20], Operations: ['54-20=34', '60/3=20']
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 34*20=680, Resulting Numbers: [680]
680,66 unequal: No Solution
Moving to Node #0,1,3
Current State: 66:[34, 63], Operations: ['54-20=34', '3+60=63']
Exploring Operation: 34+63=97, Resulting Numbers: [97]
97,66 unequal: No Solution
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 34*63=2142, Resulting Numbers: [2142]
2142,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[3, 26], Operations: ['54-20=34', '60-34=26']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[60, 31], Operations: ['54-20=34', '34-3=31']
Exploring Operation: 60*31=1860, Resulting Numbers: [1860]
1860,66 unequal: No Solution
Exploring Operation: 60+31=91, Resulting Numbers: [91]
91,66 unequal: No Solution
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,66 unequal: No Solution
No 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: 66:[60, 20, 18], Operations: ['54/3=18']
Exploring Operation: 20-18=2, Resulting Numbers: [60, 2]
Generated Node #0,0,0: 66:[60, 2] Operation: 20-18=2
Exploring Operation: 60/20=3, Resulting Numbers: [18, 3]
Generated Node #0,0,1: 66:[18, 3] Operation: 60/20=3
Exploring Operation: 60-20=40, Resulting Numbers: [18, 40]
Generated Node #0,0,2: 66:[18, 40] Operation: 60-20=40
Exploring Operation: 60-18=42, Resulting Numbers: [20, 42]
Generated Node #0,0,3: 66:[20, 42] Operation: 60-18=42
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[18, 3], Operations: ['54/3=18', '60/20=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[60, 2], Operations: ['54/3=18', '20-18=2']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,66 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 66:[18, 40], Operations: ['54/3=18', '60-20=40']
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 66:[20, 42], Operations: ['54/3=18', '60-18=42']
Exploring Operation: 20*42=840, Resulting Numbers: [840]
840,66 unequal: No Solution
Exploring Operation: 20+42=62, Resulting Numbers: [62]
62,66 unequal: No Solution
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[54, 3, 3], Operations: ['60/20=3']
Exploring Operation: 54+3=57, Resulting Numbers: [3, 57]
Generated Node #0,2,0: 66:[3, 57] Operation: 54+3=57
Exploring Operation: 54/3=18, Resulting Numbers: [3, 18]
Generated Node #0,2,1: 66:[3, 18] Operation: 54/3=18
Exploring Operation: 54+3=57, Resulting Numbers: [3, 57]
Generated Node #0,2,2: 66:[3, 57] Operation: 54+3=57
Exploring Operation: 54/3=18, Resulting Numbers: [3, 18]
Generated Node #0,2,3: 66:[3, 18] Operation: 54/3=18
Moving to Node #0,2,1
Current State: 66:[3, 18], Operations: ['60/20=3', '54/3=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[3, 18], Operations: ['60/20=3', '54/3=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[3, 57], Operations: ['60/20=3', '54+3=57']
Exploring Operation: 3*57=171, Resulting Numbers: [171]
171,66 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,66 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[3, 57], Operations: ['60/20=3', '54+3=57']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Exploring Operation: 3*57=171, Resulting Numbers: [171]
171,66 unequal: No Solution
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,66 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 |
[
53,
17,
88,
33
] | 51 | [
"53+17=70",
"88+33=121",
"121-70=51"
] | Current State: 51:[53, 17, 88, 33], Operations: []
Exploring Operation: 53+17=70, Resulting Numbers: [88, 33, 70]
Generated Node #2: [88, 33, 70] from Operation: 53+17=70
Current State: 51:[88, 33, 70], Operations: ['53+17=70']
Exploring Operation: 88+33=121, Resulting Numbers: [70, 121]
Generated Node #3: [70, 121] from Operation: 88+33=121
Current State: 51:[70, 121], Operations: ['53+17=70', '88+33=121']
Exploring Operation: 121-70=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[53, 17, 88, 33], Operations: []
Exploring Operation: 88-33=55, Resulting Numbers: [53, 17, 55]
Generated Node #0,0: 51:[53, 17, 55] Operation: 88-33=55
Exploring Operation: 88-17=71, Resulting Numbers: [53, 33, 71]
Generated Node #0,1: 51:[53, 33, 71] Operation: 88-17=71
Exploring Operation: 88-53=35, Resulting Numbers: [17, 33, 35]
Generated Node #0,2: 51:[17, 33, 35] Operation: 88-53=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[53, 17, 55], Operations: ['88-33=55']
Exploring Operation: 55-53=2, Resulting Numbers: [17, 2]
Generated Node #0,0,0: 51:[17, 2] Operation: 55-53=2
Exploring Operation: 53-17=36, Resulting Numbers: [55, 36]
Generated Node #0,0,1: 51:[55, 36] Operation: 53-17=36
Exploring Operation: 55-17=38, Resulting Numbers: [53, 38]
Generated Node #0,0,2: 51:[53, 38] Operation: 55-17=38
Moving to Node #0,0,0
Current State: 51:[17, 2], Operations: ['88-33=55', '55-53=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,51 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[53, 38], Operations: ['88-33=55', '55-17=38']
Exploring Operation: 53-38=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 53+38=91, Resulting Numbers: [91]
91,51 unequal: No Solution
Exploring Operation: 53*38=2014, Resulting Numbers: [2014]
2014,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[55, 36], Operations: ['88-33=55', '53-17=36']
Exploring Operation: 55+36=91, Resulting Numbers: [91]
91,51 unequal: No Solution
Exploring Operation: 55*36=1980, Resulting Numbers: [1980]
1980,51 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[17, 33, 35], Operations: ['88-53=35']
Exploring Operation: 17+33=50, Resulting Numbers: [35, 50]
Generated Node #0,2,0: 51:[35, 50] Operation: 17+33=50
Exploring Operation: 35-33=2, Resulting Numbers: [17, 2]
Generated Node #0,2,1: 51:[17, 2] Operation: 35-33=2
Exploring Operation: 33-17=16, Resulting Numbers: [35, 16]
Generated Node #0,2,2: 51:[35, 16] Operation: 33-17=16
Moving to Node #0,2,1
Current State: 51:[17, 2], Operations: ['88-53=35', '35-33=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,51 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[35, 50], Operations: ['88-53=35', '17+33=50']
Exploring Operation: 35+50=85, Resulting Numbers: [85]
85,51 unequal: No Solution
Exploring Operation: 35*50=1750, Resulting Numbers: [1750]
1750,51 unequal: No Solution
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[35, 16], Operations: ['88-53=35', '33-17=16']
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,51 unequal: No Solution
Exploring Operation: 35+16=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[53, 17, 88, 33], Operations: []
Exploring Operation: 88-53=35, Resulting Numbers: [17, 33, 35]
Generated Node #0,2: 51:[17, 33, 35] Operation: 88-53=35
Moving to Node #0,2
Current State: 51:[17, 33, 35], Operations: ['88-53=35']
Exploring Operation: 33-17=16, Resulting Numbers: [35, 16]
Generated Node #0,2,2: 51:[35, 16] Operation: 33-17=16
Moving to Node #0,2,2
Current State: 51:[35, 16], Operations: ['88-53=35', '33-17=16']
Exploring Operation: 35+16=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_3 | sum_heuristic |
[
21,
26,
4,
29
] | 80 | [
"21+26=47",
"4+29=33",
"47+33=80"
] | Current State: 80:[21, 26, 4, 29], Operations: []
Exploring Operation: 21+26=47, Resulting Numbers: [4, 29, 47]
Generated Node #2: [4, 29, 47] from Operation: 21+26=47
Current State: 80:[4, 29, 47], Operations: ['21+26=47']
Exploring Operation: 4+29=33, Resulting Numbers: [47, 33]
Generated Node #3: [47, 33] from Operation: 4+29=33
Current State: 80:[47, 33], Operations: ['21+26=47', '4+29=33']
Exploring Operation: 47+33=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[21, 26, 4, 29], Operations: []
Exploring Operation: 29-21=8, Resulting Numbers: [26, 4, 8]
Generated Node #0,0: 80:[26, 4, 8] Operation: 29-21=8
Exploring Operation: 29-26=3, Resulting Numbers: [21, 4, 3]
Generated Node #0,1: 80:[21, 4, 3] Operation: 29-26=3
Moving to Node #0,1
Current State: 80:[21, 4, 3], Operations: ['29-26=3']
Exploring Operation: 21/3=7, Resulting Numbers: [4, 7]
Generated Node #0,1,0: 80:[4, 7] Operation: 21/3=7
Exploring Operation: 21-4=17, Resulting Numbers: [3, 17]
Generated Node #0,1,1: 80:[3, 17] Operation: 21-4=17
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[4, 7], Operations: ['29-26=3', '21/3=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[3, 17], Operations: ['29-26=3', '21-4=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 80:[26, 4, 8], Operations: ['29-21=8']
Exploring Operation: 26-8=18, Resulting Numbers: [4, 18]
Generated Node #0,0,0: 80:[4, 18] Operation: 26-8=18
Exploring Operation: 26-4=22, Resulting Numbers: [8, 22]
Generated Node #0,0,1: 80:[8, 22] Operation: 26-4=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[4, 18], Operations: ['29-21=8', '26-8=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[8, 22], Operations: ['29-21=8', '26-4=22']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,80 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 |
[
68,
76,
9,
14
] | 86 | [
"76-68=8",
"9*8=72",
"14+72=86"
] | Current State: 86:[68, 76, 9, 14], Operations: []
Exploring Operation: 76-68=8, Resulting Numbers: [9, 14, 8]
Generated Node #2: [9, 14, 8] from Operation: 76-68=8
Current State: 86:[9, 14, 8], Operations: ['76-68=8']
Exploring Operation: 9*8=72, Resulting Numbers: [14, 72]
Generated Node #3: [14, 72] from Operation: 9*8=72
Current State: 86:[14, 72], Operations: ['76-68=8', '9*8=72']
Exploring Operation: 14+72=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[68, 76, 9, 14], Operations: []
Exploring Operation: 68+14=82, Resulting Numbers: [76, 9, 82]
Generated Node #0,0: 86:[76, 9, 82] Operation: 68+14=82
Exploring Operation: 68-14=54, Resulting Numbers: [76, 9, 54]
Generated Node #0,1: 86:[76, 9, 54] Operation: 68-14=54
Exploring Operation: 76-68=8, Resulting Numbers: [9, 14, 8]
Generated Node #0,2: 86:[9, 14, 8] Operation: 76-68=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[76, 9, 82], Operations: ['68+14=82']
Exploring Operation: 9+82=91, Resulting Numbers: [76, 91]
Generated Node #0,0,0: 86:[76, 91] Operation: 9+82=91
Exploring Operation: 82-76=6, Resulting Numbers: [9, 6]
Generated Node #0,0,1: 86:[9, 6] Operation: 82-76=6
Exploring Operation: 76+9=85, Resulting Numbers: [82, 85]
Generated Node #0,0,2: 86:[82, 85] Operation: 76+9=85
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 86:[82, 85], Operations: ['68+14=82', '76+9=85']
Exploring Operation: 82+85=167, Resulting Numbers: [167]
167,86 unequal: No Solution
Exploring Operation: 82*85=6970, Resulting Numbers: [6970]
6970,86 unequal: No Solution
Exploring Operation: 85-82=3, Resulting Numbers: [3]
3,86 unequal: No Solution
No 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: 86:[9, 6], Operations: ['68+14=82', '82-76=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,86 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,86 unequal: No Solution
No 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: 86:[76, 91], Operations: ['68+14=82', '9+82=91']
Exploring Operation: 76*91=6916, Resulting Numbers: [6916]
6916,86 unequal: No Solution
Exploring Operation: 91-76=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 76+91=167, Resulting Numbers: [167]
167,86 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: 86:[9, 14, 8], Operations: ['76-68=8']
Exploring Operation: 14-8=6, Resulting Numbers: [9, 6]
Generated Node #0,2,0: 86:[9, 6] Operation: 14-8=6
Exploring Operation: 9-8=1, Resulting Numbers: [14, 1]
Generated Node #0,2,1: 86:[14, 1] Operation: 9-8=1
Exploring Operation: 14-9=5, Resulting Numbers: [8, 5]
Generated Node #0,2,2: 86:[8, 5] Operation: 14-9=5
Moving to Node #0,2,2
Current State: 86:[8, 5], Operations: ['76-68=8', '14-9=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,86 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,86 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[9, 6], Operations: ['76-68=8', '14-8=6']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[14, 1], Operations: ['76-68=8', '9-8=1']
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,86 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,86 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,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
Current State: 86:[76, 9, 54], Operations: ['68-14=54']
Exploring Operation: 54-9=45, Resulting Numbers: [76, 45]
Generated Node #0,1,0: 86:[76, 45] Operation: 54-9=45
Exploring Operation: 54/9=6, Resulting Numbers: [76, 6]
Generated Node #0,1,1: 86:[76, 6] Operation: 54/9=6
Exploring Operation: 76+9=85, Resulting Numbers: [54, 85]
Generated Node #0,1,2: 86:[54, 85] Operation: 76+9=85
Moving to Node #0,1,0
Current State: 86:[76, 45], Operations: ['68-14=54', '54-9=45']
Exploring Operation: 76+45=121, Resulting Numbers: [121]
121,86 unequal: No Solution
Exploring Operation: 76-45=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Exploring Operation: 76*45=3420, Resulting Numbers: [3420]
3420,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[54, 85], Operations: ['68-14=54', '76+9=85']
Exploring Operation: 54*85=4590, Resulting Numbers: [4590]
4590,86 unequal: No Solution
Exploring Operation: 85-54=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Exploring Operation: 54+85=139, Resulting Numbers: [139]
139,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[76, 6], Operations: ['68-14=54', '54/9=6']
Exploring Operation: 76*6=456, Resulting Numbers: [456]
456,86 unequal: No Solution
Exploring Operation: 76+6=82, Resulting Numbers: [82]
82,86 unequal: No Solution
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,86 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 |
[
13,
66,
26,
36
] | 51 | [
"26/13=2",
"66+36=102",
"102/2=51"
] | Current State: 51:[13, 66, 26, 36], Operations: []
Exploring Operation: 26/13=2, Resulting Numbers: [66, 36, 2]
Generated Node #2: [66, 36, 2] from Operation: 26/13=2
Current State: 51:[66, 36, 2], Operations: ['26/13=2']
Exploring Operation: 66+36=102, Resulting Numbers: [2, 102]
Generated Node #3: [2, 102] from Operation: 66+36=102
Current State: 51:[2, 102], Operations: ['26/13=2', '66+36=102']
Exploring Operation: 102/2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[13, 66, 26, 36], Operations: []
Exploring Operation: 13+36=49, Resulting Numbers: [66, 26, 49]
Generated Node #0,0: 51:[66, 26, 49] Operation: 13+36=49
Exploring Operation: 36-13=23, Resulting Numbers: [66, 26, 23]
Generated Node #0,1: 51:[66, 26, 23] Operation: 36-13=23
Exploring Operation: 36-26=10, Resulting Numbers: [13, 66, 10]
Generated Node #0,2: 51:[13, 66, 10] Operation: 36-26=10
Exploring Operation: 66-13=53, Resulting Numbers: [26, 36, 53]
Generated Node #0,3: 51:[26, 36, 53] Operation: 66-13=53
Exploring Operation: 66-36=30, Resulting Numbers: [13, 26, 30]
Generated Node #0,4: 51:[13, 26, 30] Operation: 66-36=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[66, 26, 49], Operations: ['13+36=49']
Exploring Operation: 66+26=92, Resulting Numbers: [49, 92]
Generated Node #0,0,0: 51:[49, 92] Operation: 66+26=92
Exploring Operation: 66-49=17, Resulting Numbers: [26, 17]
Generated Node #0,0,1: 51:[26, 17] Operation: 66-49=17
Exploring Operation: 66-26=40, Resulting Numbers: [49, 40]
Generated Node #0,0,2: 51:[49, 40] Operation: 66-26=40
Exploring Operation: 49-26=23, Resulting Numbers: [66, 23]
Generated Node #0,0,3: 51:[66, 23] Operation: 49-26=23
Exploring Operation: 26+49=75, Resulting Numbers: [66, 75]
Generated Node #0,0,4: 51:[66, 75] Operation: 26+49=75
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[26, 17], Operations: ['13+36=49', '66-49=17']
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 51:[49, 40], Operations: ['13+36=49', '66-26=40']
Exploring Operation: 49-40=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 49+40=89, Resulting Numbers: [89]
89,51 unequal: No Solution
Exploring Operation: 49*40=1960, Resulting Numbers: [1960]
1960,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 51:[66, 23], Operations: ['13+36=49', '49-26=23']
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 66*23=1518, Resulting Numbers: [1518]
1518,51 unequal: No Solution
Exploring Operation: 66+23=89, Resulting Numbers: [89]
89,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 51:[66, 75], Operations: ['13+36=49', '26+49=75']
Exploring Operation: 66+75=141, Resulting Numbers: [141]
141,51 unequal: No Solution
Exploring Operation: 75-66=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 66*75=4950, Resulting Numbers: [4950]
4950,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[49, 92], Operations: ['13+36=49', '66+26=92']
Exploring Operation: 92-49=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 49+92=141, Resulting Numbers: [141]
141,51 unequal: No Solution
Exploring Operation: 49*92=4508, Resulting Numbers: [4508]
4508,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[13, 66, 10], Operations: ['36-26=10']
Exploring Operation: 66+10=76, Resulting Numbers: [13, 76]
Generated Node #0,2,0: 51:[13, 76] Operation: 66+10=76
Exploring Operation: 66-13=53, Resulting Numbers: [10, 53]
Generated Node #0,2,1: 51:[10, 53] Operation: 66-13=53
Exploring Operation: 13-10=3, Resulting Numbers: [66, 3]
Generated Node #0,2,2: 51:[66, 3] Operation: 13-10=3
Exploring Operation: 13+10=23, Resulting Numbers: [66, 23]
Generated Node #0,2,3: 51:[66, 23] Operation: 13+10=23
Exploring Operation: 66-10=56, Resulting Numbers: [13, 56]
Generated Node #0,2,4: 51:[13, 56] Operation: 66-10=56
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 51:[10, 53], Operations: ['36-26=10', '66-13=53']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 10*53=530, Resulting Numbers: [530]
530,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 51:[13, 56], Operations: ['36-26=10', '66-10=56']
Exploring Operation: 56-13=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 13*56=728, Resulting Numbers: [728]
728,51 unequal: No Solution
Exploring Operation: 13+56=69, Resulting Numbers: [69]
69,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 51:[66, 3], Operations: ['36-26=10', '13-10=3']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 66*3=198, Resulting Numbers: [198]
198,51 unequal: No Solution
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 66+3=69, Resulting Numbers: [69]
69,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 51:[66, 23], Operations: ['36-26=10', '13+10=23']
Exploring Operation: 66*23=1518, Resulting Numbers: [1518]
1518,51 unequal: No Solution
Exploring Operation: 66+23=89, Resulting Numbers: [89]
89,51 unequal: No Solution
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 51:[13, 76], Operations: ['36-26=10', '66+10=76']
Exploring Operation: 13*76=988, Resulting Numbers: [988]
988,51 unequal: No Solution
Exploring Operation: 13+76=89, Resulting Numbers: [89]
89,51 unequal: No Solution
Exploring Operation: 76-13=63, Resulting Numbers: [63]
63,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[26, 36, 53], Operations: ['66-13=53']
Exploring Operation: 26+36=62, Resulting Numbers: [53, 62]
Generated Node #0,3,0: 51:[53, 62] Operation: 26+36=62
Exploring Operation: 26+53=79, Resulting Numbers: [36, 79]
Generated Node #0,3,1: 51:[36, 79] Operation: 26+53=79
Exploring Operation: 53-26=27, Resulting Numbers: [36, 27]
Generated Node #0,3,2: 51:[36, 27] Operation: 53-26=27
Exploring Operation: 36-26=10, Resulting Numbers: [53, 10]
Generated Node #0,3,3: 51:[53, 10] Operation: 36-26=10
Exploring Operation: 53-36=17, Resulting Numbers: [26, 17]
Generated Node #0,3,4: 51:[26, 17] Operation: 53-36=17
Moving to Node #0,3,3
Current State: 51:[53, 10], Operations: ['66-13=53', '36-26=10']
Exploring Operation: 53+10=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 53*10=530, Resulting Numbers: [530]
530,51 unequal: No Solution
Moving to Node #0,3,4
Current State: 51:[26, 17], Operations: ['66-13=53', '53-36=17']
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,51 unequal: No Solution
Moving to Node #0,3,0
Current State: 51:[53, 62], Operations: ['66-13=53', '26+36=62']
Exploring Operation: 53+62=115, Resulting Numbers: [115]
115,51 unequal: No Solution
Exploring Operation: 53*62=3286, Resulting Numbers: [3286]
3286,51 unequal: No Solution
Exploring Operation: 62-53=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Moving to Node #0,3,2
Current State: 51:[36, 27], Operations: ['66-13=53', '53-26=27']
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 36*27=972, Resulting Numbers: [972]
972,51 unequal: No Solution
Exploring Operation: 36+27=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Moving to Node #0,3,1
Current State: 51:[36, 79], Operations: ['66-13=53', '26+53=79']
Exploring Operation: 36+79=115, Resulting Numbers: [115]
115,51 unequal: No Solution
Exploring Operation: 79-36=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 36*79=2844, Resulting Numbers: [2844]
2844,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 51:[13, 26, 30], Operations: ['66-36=30']
Exploring Operation: 26-13=13, Resulting Numbers: [30, 13]
Generated Node #0,4,0: 51:[30, 13] Operation: 26-13=13
Exploring Operation: 30-26=4, Resulting Numbers: [13, 4]
Generated Node #0,4,1: 51:[13, 4] Operation: 30-26=4
Exploring Operation: 26+30=56, Resulting Numbers: [13, 56]
Generated Node #0,4,2: 51:[13, 56] Operation: 26+30=56
Exploring Operation: 30-13=17, Resulting Numbers: [26, 17]
Generated Node #0,4,3: 51:[26, 17] Operation: 30-13=17
Exploring Operation: 26/13=2, Resulting Numbers: [30, 2]
Generated Node #0,4,4: 51:[30, 2] Operation: 26/13=2
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 51:[13, 4], Operations: ['66-36=30', '30-26=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 51:[13, 56], Operations: ['66-36=30', '26+30=56']
Exploring Operation: 13*56=728, Resulting Numbers: [728]
728,51 unequal: No Solution
Exploring Operation: 13+56=69, Resulting Numbers: [69]
69,51 unequal: No Solution
Exploring Operation: 56-13=43, Resulting Numbers: [43]
43,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 51:[26, 17], Operations: ['66-36=30', '30-13=17']
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 51:[30, 2], Operations: ['66-36=30', '26/13=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 51:[30, 13], Operations: ['66-36=30', '26-13=13']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,51 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[66, 26, 23], Operations: ['36-13=23']
Exploring Operation: 66+26=92, Resulting Numbers: [23, 92]
Generated Node #0,1,0: 51:[23, 92] Operation: 66+26=92
Exploring Operation: 66-26=40, Resulting Numbers: [23, 40]
Generated Node #0,1,1: 51:[23, 40] Operation: 66-26=40
Exploring Operation: 26-23=3, Resulting Numbers: [66, 3]
Generated Node #0,1,2: 51:[66, 3] Operation: 26-23=3
Exploring Operation: 66-23=43, Resulting Numbers: [26, 43]
Generated Node #0,1,3: 51:[26, 43] Operation: 66-23=43
Exploring Operation: 26+23=49, Resulting Numbers: [66, 49]
Generated Node #0,1,4: 51:[66, 49] Operation: 26+23=49
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 51:[66, 3], Operations: ['36-13=23', '26-23=3']
Exploring Operation: 66*3=198, Resulting Numbers: [198]
198,51 unequal: No Solution
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 66+3=69, Resulting Numbers: [69]
69,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[23, 40], Operations: ['36-13=23', '66-26=40']
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 23+40=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 23*40=920, Resulting Numbers: [920]
920,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 51:[26, 43], Operations: ['36-13=23', '66-23=43']
Exploring Operation: 26+43=69, Resulting Numbers: [69]
69,51 unequal: No Solution
Exploring Operation: 26*43=1118, Resulting Numbers: [1118]
1118,51 unequal: No Solution
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 51:[66, 49], Operations: ['36-13=23', '26+23=49']
Exploring Operation: 66*49=3234, Resulting Numbers: [3234]
3234,51 unequal: No Solution
Exploring Operation: 66-49=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 66+49=115, Resulting Numbers: [115]
115,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[23, 92], Operations: ['36-13=23', '66+26=92']
Exploring Operation: 92/23=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 23*92=2116, Resulting Numbers: [2116]
2116,51 unequal: No Solution
Exploring Operation: 92-23=69, Resulting Numbers: [69]
69,51 unequal: No Solution
Exploring Operation: 23+92=115, Resulting Numbers: [115]
115,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
5,
88,
49,
13
] | 92 | [
"49-13=36",
"5*36=180",
"180-88=92"
] | Current State: 92:[5, 88, 49, 13], Operations: []
Exploring Operation: 49-13=36, Resulting Numbers: [5, 88, 36]
Generated Node #2: [5, 88, 36] from Operation: 49-13=36
Current State: 92:[5, 88, 36], Operations: ['49-13=36']
Exploring Operation: 5*36=180, Resulting Numbers: [88, 180]
Generated Node #3: [88, 180] from Operation: 5*36=180
Current State: 92:[88, 180], Operations: ['49-13=36', '5*36=180']
Exploring Operation: 180-88=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[5, 88, 49, 13], Operations: []
Exploring Operation: 5+13=18, Resulting Numbers: [88, 49, 18]
Generated Node #0,0: 92:[88, 49, 18] Operation: 5+13=18
Exploring Operation: 13-5=8, Resulting Numbers: [88, 49, 8]
Generated Node #0,1: 92:[88, 49, 8] Operation: 13-5=8
Exploring Operation: 5+88=93, Resulting Numbers: [49, 13, 93]
Generated Node #0,2: 92:[49, 13, 93] Operation: 5+88=93
Exploring Operation: 49-5=44, Resulting Numbers: [88, 13, 44]
Generated Node #0,3: 92:[88, 13, 44] Operation: 49-5=44
Exploring Operation: 88+13=101, Resulting Numbers: [5, 49, 101]
Generated Node #0,4: 92:[5, 49, 101] Operation: 88+13=101
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[88, 49, 8], Operations: ['13-5=8']
Exploring Operation: 88/8=11, Resulting Numbers: [49, 11]
Generated Node #0,1,0: 92:[49, 11] Operation: 88/8=11
Exploring Operation: 88-8=80, Resulting Numbers: [49, 80]
Generated Node #0,1,1: 92:[49, 80] Operation: 88-8=80
Exploring Operation: 88+8=96, Resulting Numbers: [49, 96]
Generated Node #0,1,2: 92:[49, 96] Operation: 88+8=96
Exploring Operation: 88-49=39, Resulting Numbers: [8, 39]
Generated Node #0,1,3: 92:[8, 39] Operation: 88-49=39
Exploring Operation: 49-8=41, Resulting Numbers: [88, 41]
Generated Node #0,1,4: 92:[88, 41] Operation: 49-8=41
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 92:[49, 96], Operations: ['13-5=8', '88+8=96']
Exploring Operation: 96-49=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 49*96=4704, Resulting Numbers: [4704]
4704,92 unequal: No Solution
Exploring Operation: 49+96=145, Resulting Numbers: [145]
145,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 92:[88, 41], Operations: ['13-5=8', '49-8=41']
Exploring Operation: 88-41=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 88*41=3608, Resulting Numbers: [3608]
3608,92 unequal: No Solution
Exploring Operation: 88+41=129, Resulting Numbers: [129]
129,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[49, 11], Operations: ['13-5=8', '88/8=11']
Exploring Operation: 49+11=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,92 unequal: No Solution
Exploring Operation: 49*11=539, Resulting Numbers: [539]
539,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 92:[8, 39], Operations: ['13-5=8', '88-49=39']
Exploring Operation: 8*39=312, Resulting Numbers: [312]
312,92 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Exploring Operation: 8+39=47, Resulting Numbers: [47]
47,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[49, 80], Operations: ['13-5=8', '88-8=80']
Exploring Operation: 49*80=3920, Resulting Numbers: [3920]
3920,92 unequal: No Solution
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Exploring Operation: 49+80=129, Resulting Numbers: [129]
129,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[88, 49, 18], Operations: ['5+13=18']
Exploring Operation: 49+18=67, Resulting Numbers: [88, 67]
Generated Node #0,0,0: 92:[88, 67] Operation: 49+18=67
Exploring Operation: 88-18=70, Resulting Numbers: [49, 70]
Generated Node #0,0,1: 92:[49, 70] Operation: 88-18=70
Exploring Operation: 49-18=31, Resulting Numbers: [88, 31]
Generated Node #0,0,2: 92:[88, 31] Operation: 49-18=31
Exploring Operation: 88+18=106, Resulting Numbers: [49, 106]
Generated Node #0,0,3: 92:[49, 106] Operation: 88+18=106
Exploring Operation: 88-49=39, Resulting Numbers: [18, 39]
Generated Node #0,0,4: 92:[18, 39] Operation: 88-49=39
Moving to Node #0,0,2
Current State: 92:[88, 31], Operations: ['5+13=18', '49-18=31']
Exploring Operation: 88+31=119, Resulting Numbers: [119]
119,92 unequal: No Solution
Exploring Operation: 88-31=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 88*31=2728, Resulting Numbers: [2728]
2728,92 unequal: No Solution
Moving to Node #0,0,4
Current State: 92:[18, 39], Operations: ['5+13=18', '88-49=39']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,92 unequal: No Solution
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,92 unequal: No Solution
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[49, 106], Operations: ['5+13=18', '88+18=106']
Exploring Operation: 49*106=5194, Resulting Numbers: [5194]
5194,92 unequal: No Solution
Exploring Operation: 106-49=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 49+106=155, Resulting Numbers: [155]
155,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[88, 67], Operations: ['5+13=18', '49+18=67']
Exploring Operation: 88-67=21, Resulting Numbers: [21]
21,92 unequal: No Solution
Exploring Operation: 88+67=155, Resulting Numbers: [155]
155,92 unequal: No Solution
Exploring Operation: 88*67=5896, Resulting Numbers: [5896]
5896,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[49, 70], Operations: ['5+13=18', '88-18=70']
Exploring Operation: 49+70=119, Resulting Numbers: [119]
119,92 unequal: No Solution
Exploring Operation: 49*70=3430, Resulting Numbers: [3430]
3430,92 unequal: No Solution
Exploring Operation: 70-49=21, Resulting Numbers: [21]
21,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[49, 13, 93], Operations: ['5+88=93']
Exploring Operation: 49-13=36, Resulting Numbers: [93, 36]
Generated Node #0,2,0: 92:[93, 36] Operation: 49-13=36
Exploring Operation: 93-49=44, Resulting Numbers: [13, 44]
Generated Node #0,2,1: 92:[13, 44] Operation: 93-49=44
Exploring Operation: 49+13=62, Resulting Numbers: [93, 62]
Generated Node #0,2,2: 92:[93, 62] Operation: 49+13=62
Exploring Operation: 13+93=106, Resulting Numbers: [49, 106]
Generated Node #0,2,3: 92:[49, 106] Operation: 13+93=106
Exploring Operation: 93-13=80, Resulting Numbers: [49, 80]
Generated Node #0,2,4: 92:[49, 80] Operation: 93-13=80
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 92:[93, 36], Operations: ['5+88=93', '49-13=36']
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 93*36=3348, Resulting Numbers: [3348]
3348,92 unequal: No Solution
Exploring Operation: 93+36=129, Resulting Numbers: [129]
129,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 92:[13, 44], Operations: ['5+88=93', '93-49=44']
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Exploring Operation: 13+44=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 13*44=572, Resulting Numbers: [572]
572,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 92:[49, 80], Operations: ['5+88=93', '93-13=80']
Exploring Operation: 49+80=129, Resulting Numbers: [129]
129,92 unequal: No Solution
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Exploring Operation: 49*80=3920, Resulting Numbers: [3920]
3920,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 92:[93, 62], Operations: ['5+88=93', '49+13=62']
Exploring Operation: 93+62=155, Resulting Numbers: [155]
155,92 unequal: No Solution
Exploring Operation: 93-62=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Exploring Operation: 93*62=5766, Resulting Numbers: [5766]
5766,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 92:[49, 106], Operations: ['5+88=93', '13+93=106']
Exploring Operation: 49*106=5194, Resulting Numbers: [5194]
5194,92 unequal: No Solution
Exploring Operation: 106-49=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 49+106=155, Resulting Numbers: [155]
155,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 92:[5, 49, 101], Operations: ['88+13=101']
Exploring Operation: 101-5=96, Resulting Numbers: [49, 96]
Generated Node #0,4,0: 92:[49, 96] Operation: 101-5=96
Exploring Operation: 49-5=44, Resulting Numbers: [101, 44]
Generated Node #0,4,1: 92:[101, 44] Operation: 49-5=44
Exploring Operation: 5+101=106, Resulting Numbers: [49, 106]
Generated Node #0,4,2: 92:[49, 106] Operation: 5+101=106
Exploring Operation: 5+49=54, Resulting Numbers: [101, 54]
Generated Node #0,4,3: 92:[101, 54] Operation: 5+49=54
Exploring Operation: 101-49=52, Resulting Numbers: [5, 52]
Generated Node #0,4,4: 92:[5, 52] Operation: 101-49=52
Moving to Node #0,4,0
Current State: 92:[49, 96], Operations: ['88+13=101', '101-5=96']
Exploring Operation: 49*96=4704, Resulting Numbers: [4704]
4704,92 unequal: No Solution
Exploring Operation: 96-49=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 49+96=145, Resulting Numbers: [145]
145,92 unequal: No Solution
Moving to Node #0,4,4
Current State: 92:[5, 52], Operations: ['88+13=101', '101-49=52']
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 5*52=260, Resulting Numbers: [260]
260,92 unequal: No Solution
Moving to Node #0,4,1
Current State: 92:[101, 44], Operations: ['88+13=101', '49-5=44']
Exploring Operation: 101+44=145, Resulting Numbers: [145]
145,92 unequal: No Solution
Exploring Operation: 101-44=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 101*44=4444, Resulting Numbers: [4444]
4444,92 unequal: No Solution
Moving to Node #0,4,2
Current State: 92:[49, 106], Operations: ['88+13=101', '5+101=106']
Exploring Operation: 49+106=155, Resulting Numbers: [155]
155,92 unequal: No Solution
Exploring Operation: 106-49=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 49*106=5194, Resulting Numbers: [5194]
5194,92 unequal: No Solution
Moving to Node #0,4,3
Current State: 92:[101, 54], Operations: ['88+13=101', '5+49=54']
Exploring Operation: 101+54=155, Resulting Numbers: [155]
155,92 unequal: No Solution
Exploring Operation: 101-54=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 101*54=5454, Resulting Numbers: [5454]
5454,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[88, 13, 44], Operations: ['49-5=44']
Exploring Operation: 88-44=44, Resulting Numbers: [13, 44]
Generated Node #0,3,0: 92:[13, 44] Operation: 88-44=44
Exploring Operation: 88+13=101, Resulting Numbers: [44, 101]
Generated Node #0,3,1: 92:[44, 101] Operation: 88+13=101
Exploring Operation: 13+44=57, Resulting Numbers: [88, 57]
Generated Node #0,3,2: 92:[88, 57] Operation: 13+44=57
Exploring Operation: 44-13=31, Resulting Numbers: [88, 31]
Generated Node #0,3,3: 92:[88, 31] Operation: 44-13=31
Exploring Operation: 88/44=2, Resulting Numbers: [13, 2]
Generated Node #0,3,4: 92:[13, 2] Operation: 88/44=2
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 92:[13, 2], Operations: ['49-5=44', '88/44=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 92:[13, 44], Operations: ['49-5=44', '88-44=44']
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Exploring Operation: 13*44=572, Resulting Numbers: [572]
572,92 unequal: No Solution
Exploring Operation: 13+44=57, Resulting Numbers: [57]
57,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 92:[44, 101], Operations: ['49-5=44', '88+13=101']
Exploring Operation: 44*101=4444, Resulting Numbers: [4444]
4444,92 unequal: No Solution
Exploring Operation: 44+101=145, Resulting Numbers: [145]
145,92 unequal: No Solution
Exploring Operation: 101-44=57, Resulting Numbers: [57]
57,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 92:[88, 31], Operations: ['49-5=44', '44-13=31']
Exploring Operation: 88+31=119, Resulting Numbers: [119]
119,92 unequal: No Solution
Exploring Operation: 88-31=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 88*31=2728, Resulting Numbers: [2728]
2728,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 92:[88, 57], Operations: ['49-5=44', '13+44=57']
Exploring Operation: 88*57=5016, Resulting Numbers: [5016]
5016,92 unequal: No Solution
Exploring Operation: 88+57=145, Resulting Numbers: [145]
145,92 unequal: No Solution
Exploring Operation: 88-57=31, Resulting Numbers: [31]
31,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
55,
2,
13,
60
] | 78 | [
"55-13=42",
"2*60=120",
"120-42=78"
] | Current State: 78:[55, 2, 13, 60], Operations: []
Exploring Operation: 55-13=42, Resulting Numbers: [2, 60, 42]
Generated Node #2: [2, 60, 42] from Operation: 55-13=42
Current State: 78:[2, 60, 42], Operations: ['55-13=42']
Exploring Operation: 2*60=120, Resulting Numbers: [42, 120]
Generated Node #3: [42, 120] from Operation: 2*60=120
Current State: 78:[42, 120], Operations: ['55-13=42', '2*60=120']
Exploring Operation: 120-42=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[55, 2, 13, 60], Operations: []
Exploring Operation: 60/2=30, Resulting Numbers: [55, 13, 30]
Generated Node #0,0: 78:[55, 13, 30] Operation: 60/2=30
Exploring Operation: 55-13=42, Resulting Numbers: [2, 60, 42]
Generated Node #0,1: 78:[2, 60, 42] Operation: 55-13=42
Exploring Operation: 60-55=5, Resulting Numbers: [2, 13, 5]
Generated Node #0,2: 78:[2, 13, 5] Operation: 60-55=5
Exploring Operation: 13+60=73, Resulting Numbers: [55, 2, 73]
Generated Node #0,3: 78:[55, 2, 73] Operation: 13+60=73
Moving to Node #0,2
Current State: 78:[2, 13, 5], Operations: ['60-55=5']
Exploring Operation: 5-2=3, Resulting Numbers: [13, 3]
Generated Node #0,2,0: 78:[13, 3] Operation: 5-2=3
Exploring Operation: 2+5=7, Resulting Numbers: [13, 7]
Generated Node #0,2,1: 78:[13, 7] Operation: 2+5=7
Exploring Operation: 13-5=8, Resulting Numbers: [2, 8]
Generated Node #0,2,2: 78:[2, 8] Operation: 13-5=8
Exploring Operation: 2*13=26, Resulting Numbers: [5, 26]
Generated Node #0,2,3: 78:[5, 26] Operation: 2*13=26
Moving to Node #0,0
Current State: 78:[55, 13, 30], Operations: ['60/2=30']
Exploring Operation: 55+30=85, Resulting Numbers: [13, 85]
Generated Node #0,0,0: 78:[13, 85] Operation: 55+30=85
Exploring Operation: 55-30=25, Resulting Numbers: [13, 25]
Generated Node #0,0,1: 78:[13, 25] Operation: 55-30=25
Exploring Operation: 55+13=68, Resulting Numbers: [30, 68]
Generated Node #0,0,2: 78:[30, 68] Operation: 55+13=68
Exploring Operation: 55-13=42, Resulting Numbers: [30, 42]
Generated Node #0,0,3: 78:[30, 42] Operation: 55-13=42
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 78:[13, 25], Operations: ['60/2=30', '55-30=25']
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,78 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 13*25=325, Resulting Numbers: [325]
325,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,0
Current State: 78:[13, 85], Operations: ['60/2=30', '55+30=85']
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,78 unequal: No Solution
Exploring Operation: 13+85=98, Resulting Numbers: [98]
98,78 unequal: No Solution
Exploring Operation: 13*85=1105, Resulting Numbers: [1105]
1105,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,3
Current State: 78:[30, 42], Operations: ['60/2=30', '55-13=42']
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 30+42=72, Resulting Numbers: [72]
72,78 unequal: No Solution
Exploring Operation: 30*42=1260, Resulting Numbers: [1260]
1260,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,2
Current State: 78:[30, 68], Operations: ['60/2=30', '55+13=68']
Exploring Operation: 30*68=2040, Resulting Numbers: [2040]
2040,78 unequal: No Solution
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,78 unequal: No Solution
Exploring Operation: 30+68=98, Resulting Numbers: [98]
98,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:[55, 2, 73], Operations: ['13+60=73']
Exploring Operation: 2+73=75, Resulting Numbers: [55, 75]
Generated Node #0,3,0: 78:[55, 75] Operation: 2+73=75
Exploring Operation: 55+2=57, Resulting Numbers: [73, 57]
Generated Node #0,3,1: 78:[73, 57] Operation: 55+2=57
Exploring Operation: 55-2=53, Resulting Numbers: [73, 53]
Generated Node #0,3,2: 78:[73, 53] Operation: 55-2=53
Exploring Operation: 73-55=18, Resulting Numbers: [2, 18]
Generated Node #0,3,3: 78:[2, 18] Operation: 73-55=18
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 78:[2, 18], Operations: ['13+60=73', '73-55=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,78 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,78 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,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,0
Current State: 78:[55, 75], Operations: ['13+60=73', '2+73=75']
Exploring Operation: 55+75=130, Resulting Numbers: [130]
130,78 unequal: No Solution
Exploring Operation: 75-55=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 55*75=4125, Resulting Numbers: [4125]
4125,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:[73, 53], Operations: ['13+60=73', '55-2=53']
Exploring Operation: 73*53=3869, Resulting Numbers: [3869]
3869,78 unequal: No Solution
Exploring Operation: 73-53=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 73+53=126, Resulting Numbers: [126]
126,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:[73, 57], Operations: ['13+60=73', '55+2=57']
Exploring Operation: 73*57=4161, Resulting Numbers: [4161]
4161,78 unequal: No Solution
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 73+57=130, Resulting Numbers: [130]
130,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:[2, 60, 42], Operations: ['55-13=42']
Exploring Operation: 42-2=40, Resulting Numbers: [60, 40]
Generated Node #0,1,0: 78:[60, 40] Operation: 42-2=40
Exploring Operation: 2+60=62, Resulting Numbers: [42, 62]
Generated Node #0,1,1: 78:[42, 62] Operation: 2+60=62
Exploring Operation: 60/2=30, Resulting Numbers: [42, 30]
Generated Node #0,1,2: 78:[42, 30] Operation: 60/2=30
Exploring Operation: 60-42=18, Resulting Numbers: [2, 18]
Generated Node #0,1,3: 78:[2, 18] Operation: 60-42=18
Moving to Node #0,2,0
Current State: 78:[13, 3], Operations: ['60-55=5', '5-2=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Moving to Node #0,2,3
Current State: 78:[5, 26], Operations: ['60-55=5', '2*13=26']
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,78 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,78 unequal: No Solution
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,78 unequal: No Solution
Moving to Node #0,2,1
Current State: 78:[13, 7], Operations: ['60-55=5', '2+5=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,78 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Moving to Node #0,2,2
Current State: 78:[2, 8], Operations: ['60-55=5', '13-5=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Moving to Node #0,1,3
Current State: 78:[2, 18], Operations: ['55-13=42', '60-42=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,78 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,78 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Moving to Node #0,1,2
Current State: 78:[42, 30], Operations: ['55-13=42', '60/2=30']
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 42*30=1260, Resulting Numbers: [1260]
1260,78 unequal: No Solution
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,78 unequal: No Solution
Moving to Node #0,1,0
Current State: 78:[60, 40], Operations: ['55-13=42', '42-2=40']
Exploring Operation: 60*40=2400, Resulting Numbers: [2400]
2400,78 unequal: No Solution
Exploring Operation: 60+40=100, Resulting Numbers: [100]
100,78 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[42, 62], Operations: ['55-13=42', '2+60=62']
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 42*62=2604, Resulting Numbers: [2604]
2604,78 unequal: No Solution
Exploring Operation: 42+62=104, Resulting Numbers: [104]
104,78 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
39,
8,
89,
19
] | 77 | [
"39-8=31",
"89+19=108",
"108-31=77"
] | Current State: 77:[39, 8, 89, 19], Operations: []
Exploring Operation: 39-8=31, Resulting Numbers: [89, 19, 31]
Generated Node #2: [89, 19, 31] from Operation: 39-8=31
Current State: 77:[89, 19, 31], Operations: ['39-8=31']
Exploring Operation: 89+19=108, Resulting Numbers: [31, 108]
Generated Node #3: [31, 108] from Operation: 89+19=108
Current State: 77:[31, 108], Operations: ['39-8=31', '89+19=108']
Exploring Operation: 108-31=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[39, 8, 89, 19], Operations: []
Exploring Operation: 39+19=58, Resulting Numbers: [8, 89, 58]
Generated Node #0,0: 77:[8, 89, 58] Operation: 39+19=58
Exploring Operation: 39-19=20, Resulting Numbers: [8, 89, 20]
Generated Node #0,1: 77:[8, 89, 20] Operation: 39-19=20
Exploring Operation: 89-39=50, Resulting Numbers: [8, 19, 50]
Generated Node #0,2: 77:[8, 19, 50] Operation: 89-39=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[8, 89, 20], Operations: ['39-19=20']
Exploring Operation: 89-8=81, Resulting Numbers: [20, 81]
Generated Node #0,1,0: 77:[20, 81] Operation: 89-8=81
Exploring Operation: 20-8=12, Resulting Numbers: [89, 12]
Generated Node #0,1,1: 77:[89, 12] Operation: 20-8=12
Exploring Operation: 89-20=69, Resulting Numbers: [8, 69]
Generated Node #0,1,2: 77:[8, 69] Operation: 89-20=69
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 77:[8, 69], Operations: ['39-19=20', '89-20=69']
Exploring Operation: 8*69=552, Resulting Numbers: [552]
552,77 unequal: No Solution
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Exploring Operation: 8+69=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[39, 8, 89, 19], Operations: []
Exploring Operation: 39-19=20, Resulting Numbers: [8, 89, 20]
Generated Node #0,1: 77:[8, 89, 20] Operation: 39-19=20
Moving to Node #0,1
Current State: 77:[8, 89, 20], Operations: ['39-19=20']
Exploring Operation: 89-20=69, Resulting Numbers: [8, 69]
Generated Node #0,1,2: 77:[8, 69] Operation: 89-20=69
Moving to Node #0,1,2
Current State: 77:[8, 69], Operations: ['39-19=20', '89-20=69']
Exploring Operation: 8+69=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
86,
95,
40,
61
] | 80 | [
"86+95=181",
"40+61=101",
"181-101=80"
] | Current State: 80:[86, 95, 40, 61], Operations: []
Exploring Operation: 86+95=181, Resulting Numbers: [40, 61, 181]
Generated Node #2: [40, 61, 181] from Operation: 86+95=181
Current State: 80:[40, 61, 181], Operations: ['86+95=181']
Exploring Operation: 40+61=101, Resulting Numbers: [181, 101]
Generated Node #3: [181, 101] from Operation: 40+61=101
Current State: 80:[181, 101], Operations: ['86+95=181', '40+61=101']
Exploring Operation: 181-101=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[86, 95, 40, 61], Operations: []
Exploring Operation: 95-61=34, Resulting Numbers: [86, 40, 34]
Generated Node #0,0: 80:[86, 40, 34] Operation: 95-61=34
Moving to Node #0,0
Current State: 80:[86, 40, 34], Operations: ['95-61=34']
Exploring Operation: 40-34=6, Resulting Numbers: [86, 6]
Generated Node #0,0,0: 80:[86, 6] Operation: 40-34=6
Moving to Node #0,0,0
Current State: 80:[86, 6], Operations: ['95-61=34', '40-34=6']
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[86, 95, 40, 61], Operations: []
Exploring Operation: 95-61=34, Resulting Numbers: [86, 40, 34]
Generated Node #0,0: 80:[86, 40, 34] Operation: 95-61=34
Moving to Node #0,0
Current State: 80:[86, 40, 34], Operations: ['95-61=34']
Exploring Operation: 40-34=6, Resulting Numbers: [86, 6]
Generated Node #0,0,0: 80:[86, 6] Operation: 40-34=6
Moving to Node #0,0,0
Current State: 80:[86, 6], Operations: ['95-61=34', '40-34=6']
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
39,
84,
67,
56
] | 78 | [
"84-39=45",
"67+56=123",
"123-45=78"
] | Current State: 78:[39, 84, 67, 56], Operations: []
Exploring Operation: 84-39=45, Resulting Numbers: [67, 56, 45]
Generated Node #2: [67, 56, 45] from Operation: 84-39=45
Current State: 78:[67, 56, 45], Operations: ['84-39=45']
Exploring Operation: 67+56=123, Resulting Numbers: [45, 123]
Generated Node #3: [45, 123] from Operation: 67+56=123
Current State: 78:[45, 123], Operations: ['84-39=45', '67+56=123']
Exploring Operation: 123-45=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[39, 84, 67, 56], Operations: []
Exploring Operation: 56-39=17, Resulting Numbers: [84, 67, 17]
Generated Node #0,0: 78:[84, 67, 17] Operation: 56-39=17
Exploring Operation: 84-56=28, Resulting Numbers: [39, 67, 28]
Generated Node #0,1: 78:[39, 67, 28] Operation: 84-56=28
Exploring Operation: 67-39=28, Resulting Numbers: [84, 56, 28]
Generated Node #0,2: 78:[84, 56, 28] Operation: 67-39=28
Exploring Operation: 84-67=17, Resulting Numbers: [39, 56, 17]
Generated Node #0,3: 78:[39, 56, 17] Operation: 84-67=17
Exploring Operation: 67-56=11, Resulting Numbers: [39, 84, 11]
Generated Node #0,4: 78:[39, 84, 11] Operation: 67-56=11
Start Sub Search at level 1: Moving to Node #0,4
Current State: 78:[39, 84, 11], Operations: ['67-56=11']
Exploring Operation: 39+11=50, Resulting Numbers: [84, 50]
Generated Node #0,4,0: 78:[84, 50] Operation: 39+11=50
Exploring Operation: 39-11=28, Resulting Numbers: [84, 28]
Generated Node #0,4,1: 78:[84, 28] Operation: 39-11=28
Exploring Operation: 84-11=73, Resulting Numbers: [39, 73]
Generated Node #0,4,2: 78:[39, 73] Operation: 84-11=73
Exploring Operation: 84-39=45, Resulting Numbers: [11, 45]
Generated Node #0,4,3: 78:[11, 45] Operation: 84-39=45
Exploring Operation: 84+11=95, Resulting Numbers: [39, 95]
Generated Node #0,4,4: 78:[39, 95] Operation: 84+11=95
Moving to Node #0,4,2
Current State: 78:[39, 73], Operations: ['67-56=11', '84-11=73']
Exploring Operation: 39+73=112, Resulting Numbers: [112]
112,78 unequal: No Solution
Exploring Operation: 39*73=2847, Resulting Numbers: [2847]
2847,78 unequal: No Solution
Exploring Operation: 73-39=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Moving to Node #0,4,3
Current State: 78:[11, 45], Operations: ['67-56=11', '84-39=45']
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 11*45=495, Resulting Numbers: [495]
495,78 unequal: No Solution
Exploring Operation: 11+45=56, Resulting Numbers: [56]
56,78 unequal: No Solution
Moving to Node #0,4,1
Current State: 78:[84, 28], Operations: ['67-56=11', '39-11=28']
Exploring Operation: 84/28=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 84*28=2352, Resulting Numbers: [2352]
2352,78 unequal: No Solution
Exploring Operation: 84+28=112, Resulting Numbers: [112]
112,78 unequal: No Solution
Exploring Operation: 84-28=56, Resulting Numbers: [56]
56,78 unequal: No Solution
Moving to Node #0,4,0
Current State: 78:[84, 50], Operations: ['67-56=11', '39+11=50']
Exploring Operation: 84-50=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 84*50=4200, Resulting Numbers: [4200]
4200,78 unequal: No Solution
Exploring Operation: 84+50=134, Resulting Numbers: [134]
134,78 unequal: No Solution
Moving to Node #0,4,4
Current State: 78:[39, 95], Operations: ['67-56=11', '84+11=95']
Exploring Operation: 39+95=134, Resulting Numbers: [134]
134,78 unequal: No Solution
Exploring Operation: 95-39=56, Resulting Numbers: [56]
56,78 unequal: No Solution
Exploring Operation: 39*95=3705, Resulting Numbers: [3705]
3705,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,1
Current State: 78:[39, 67, 28], Operations: ['84-56=28']
Exploring Operation: 67-39=28, Resulting Numbers: [28, 28]
Generated Node #0,1,0: 78:[28, 28] Operation: 67-39=28
Exploring Operation: 67+28=95, Resulting Numbers: [39, 95]
Generated Node #0,1,1: 78:[39, 95] Operation: 67+28=95
Exploring Operation: 39+28=67, Resulting Numbers: [67, 67]
Generated Node #0,1,2: 78:[67, 67] Operation: 39+28=67
Exploring Operation: 67-28=39, Resulting Numbers: [39, 39]
Generated Node #0,1,3: 78:[39, 39] Operation: 67-28=39
Exploring Operation: 39-28=11, Resulting Numbers: [67, 11]
Generated Node #0,1,4: 78:[67, 11] Operation: 39-28=11
Moving to Node #0,1,3
Current State: 78:[39, 39], Operations: ['84-56=28', '67-28=39']
Exploring Operation: 39+39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[39, 84, 67, 56], Operations: []
Exploring Operation: 84-56=28, Resulting Numbers: [39, 67, 28]
Generated Node #0,1: 78:[39, 67, 28] Operation: 84-56=28
Moving to Node #0,1
Current State: 78:[39, 67, 28], Operations: ['84-56=28']
Exploring Operation: 67-28=39, Resulting Numbers: [39, 39]
Generated Node #0,1,3: 78:[39, 39] Operation: 67-28=39
Moving to Node #0,1,3
Current State: 78:[39, 39], Operations: ['84-56=28', '67-28=39']
Exploring Operation: 39+39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
32,
14,
96,
15
] | 59 | [
"96/32=3",
"15*3=45",
"14+45=59"
] | Current State: 59:[32, 14, 96, 15], Operations: []
Exploring Operation: 96/32=3, Resulting Numbers: [14, 15, 3]
Generated Node #2: [14, 15, 3] from Operation: 96/32=3
Current State: 59:[14, 15, 3], Operations: ['96/32=3']
Exploring Operation: 15*3=45, Resulting Numbers: [14, 45]
Generated Node #3: [14, 45] from Operation: 15*3=45
Current State: 59:[14, 45], Operations: ['96/32=3', '15*3=45']
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[32, 14, 96, 15], Operations: []
Exploring Operation: 32+14=46, Resulting Numbers: [96, 15, 46]
Generated Node #0,0: 59:[96, 15, 46] Operation: 32+14=46
Moving to Node #0,0
Current State: 59:[96, 15, 46], Operations: ['32+14=46']
Exploring Operation: 96-15=81, Resulting Numbers: [46, 81]
Generated Node #0,0,0: 59:[46, 81] Operation: 96-15=81
Moving to Node #0,0,0
Current State: 59:[46, 81], Operations: ['32+14=46', '96-15=81']
Exploring Operation: 81-46=35, Resulting Numbers: [35]
35,59 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
60,
70,
31
] | 23 | [
"2+60=62",
"70-31=39",
"62-39=23"
] | Current State: 23:[2, 60, 70, 31], Operations: []
Exploring Operation: 2+60=62, Resulting Numbers: [70, 31, 62]
Generated Node #2: [70, 31, 62] from Operation: 2+60=62
Current State: 23:[70, 31, 62], Operations: ['2+60=62']
Exploring Operation: 70-31=39, Resulting Numbers: [62, 39]
Generated Node #3: [62, 39] from Operation: 70-31=39
Current State: 23:[62, 39], Operations: ['2+60=62', '70-31=39']
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[2, 60, 70, 31], Operations: []
Exploring Operation: 70-60=10, Resulting Numbers: [2, 31, 10]
Generated Node #0,0: 23:[2, 31, 10] Operation: 70-60=10
Moving to Node #0,0
Current State: 23:[2, 31, 10], Operations: ['70-60=10']
Exploring Operation: 2*10=20, Resulting Numbers: [31, 20]
Generated Node #0,0,0: 23:[31, 20] Operation: 2*10=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[31, 20], Operations: ['70-60=10', '2*10=20']
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
4,
33,
9,
70
] | 17 | [
"4*70=280",
"33*9=297",
"297-280=17"
] | Current State: 17:[4, 33, 9, 70], Operations: []
Exploring Operation: 4*70=280, Resulting Numbers: [33, 9, 280]
Generated Node #2: [33, 9, 280] from Operation: 4*70=280
Current State: 17:[33, 9, 280], Operations: ['4*70=280']
Exploring Operation: 33*9=297, Resulting Numbers: [280, 297]
Generated Node #3: [280, 297] from Operation: 33*9=297
Current State: 17:[280, 297], Operations: ['4*70=280', '33*9=297']
Exploring Operation: 297-280=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[4, 33, 9, 70], Operations: []
Exploring Operation: 4+9=13, Resulting Numbers: [33, 70, 13]
Generated Node #0,0: 17:[33, 70, 13] Operation: 4+9=13
Exploring Operation: 33-4=29, Resulting Numbers: [9, 70, 29]
Generated Node #0,1: 17:[9, 70, 29] Operation: 33-4=29
Exploring Operation: 70-33=37, Resulting Numbers: [4, 9, 37]
Generated Node #0,2: 17:[4, 9, 37] Operation: 70-33=37
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[4, 9, 37], Operations: ['70-33=37']
Exploring Operation: 37-9=28, Resulting Numbers: [4, 28]
Generated Node #0,2,0: 17:[4, 28] Operation: 37-9=28
Exploring Operation: 37-4=33, Resulting Numbers: [9, 33]
Generated Node #0,2,1: 17:[9, 33] Operation: 37-4=33
Exploring Operation: 4+9=13, Resulting Numbers: [37, 13]
Generated Node #0,2,2: 17:[37, 13] Operation: 4+9=13
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 17:[4, 28], Operations: ['70-33=37', '37-9=28']
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 17:[9, 33], Operations: ['70-33=37', '37-4=33']
Exploring Operation: 9*33=297, Resulting Numbers: [297]
297,17 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 9+33=42, Resulting Numbers: [42]
42,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 17:[37, 13], Operations: ['70-33=37', '4+9=13']
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 37*13=481, Resulting Numbers: [481]
481,17 unequal: No Solution
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[33, 70, 13], Operations: ['4+9=13']
Exploring Operation: 70-13=57, Resulting Numbers: [33, 57]
Generated Node #0,0,0: 17:[33, 57] Operation: 70-13=57
Exploring Operation: 33-13=20, Resulting Numbers: [70, 20]
Generated Node #0,0,1: 17:[70, 20] Operation: 33-13=20
Exploring Operation: 70-33=37, Resulting Numbers: [13, 37]
Generated Node #0,0,2: 17:[13, 37] Operation: 70-33=37
Moving to Node #0,0,2
Current State: 17:[13, 37], Operations: ['4+9=13', '70-33=37']
Exploring Operation: 13*37=481, Resulting Numbers: [481]
481,17 unequal: No Solution
Exploring Operation: 13+37=50, Resulting Numbers: [50]
50,17 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[33, 57], Operations: ['4+9=13', '70-13=57']
Exploring Operation: 57-33=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 33*57=1881, Resulting Numbers: [1881]
1881,17 unequal: No Solution
Exploring Operation: 33+57=90, Resulting Numbers: [90]
90,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[70, 20], Operations: ['4+9=13', '33-13=20']
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,17 unequal: No Solution
Exploring Operation: 70+20=90, Resulting Numbers: [90]
90,17 unequal: No Solution
Exploring Operation: 70*20=1400, Resulting Numbers: [1400]
1400,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:[9, 70, 29], Operations: ['33-4=29']
Exploring Operation: 70-29=41, Resulting Numbers: [9, 41]
Generated Node #0,1,0: 17:[9, 41] Operation: 70-29=41
Exploring Operation: 70-9=61, Resulting Numbers: [29, 61]
Generated Node #0,1,1: 17:[29, 61] Operation: 70-9=61
Exploring Operation: 29-9=20, Resulting Numbers: [70, 20]
Generated Node #0,1,2: 17:[70, 20] Operation: 29-9=20
Moving to Node #0,1,0
Current State: 17:[9, 41], Operations: ['33-4=29', '70-29=41']
Exploring Operation: 9*41=369, Resulting Numbers: [369]
369,17 unequal: No Solution
Exploring Operation: 9+41=50, Resulting Numbers: [50]
50,17 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[29, 61], Operations: ['33-4=29', '70-9=61']
Exploring Operation: 29*61=1769, Resulting Numbers: [1769]
1769,17 unequal: No Solution
Exploring Operation: 29+61=90, Resulting Numbers: [90]
90,17 unequal: No Solution
Exploring Operation: 61-29=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[70, 20], Operations: ['33-4=29', '29-9=20']
Exploring Operation: 70+20=90, Resulting Numbers: [90]
90,17 unequal: No Solution
Exploring Operation: 70*20=1400, Resulting Numbers: [1400]
1400,17 unequal: No Solution
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,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 | sum_heuristic |
[
61,
15,
75,
53
] | 40 | [
"61-53=8",
"75/15=5",
"8*5=40"
] | Current State: 40:[61, 15, 75, 53], Operations: []
Exploring Operation: 61-53=8, Resulting Numbers: [15, 75, 8]
Generated Node #2: [15, 75, 8] from Operation: 61-53=8
Current State: 40:[15, 75, 8], Operations: ['61-53=8']
Exploring Operation: 75/15=5, Resulting Numbers: [8, 5]
Generated Node #3: [8, 5] from Operation: 75/15=5
Current State: 40:[8, 5], Operations: ['61-53=8', '75/15=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[61, 15, 75, 53], Operations: []
Exploring Operation: 75-53=22, Resulting Numbers: [61, 15, 22]
Generated Node #0,0: 40:[61, 15, 22] Operation: 75-53=22
Exploring Operation: 75-61=14, Resulting Numbers: [15, 53, 14]
Generated Node #0,1: 40:[15, 53, 14] Operation: 75-61=14
Moving to Node #0,1
Current State: 40:[15, 53, 14], Operations: ['75-61=14']
Exploring Operation: 53-14=39, Resulting Numbers: [15, 39]
Generated Node #0,1,0: 40:[15, 39] Operation: 53-14=39
Exploring Operation: 53-15=38, Resulting Numbers: [14, 38]
Generated Node #0,1,1: 40:[14, 38] Operation: 53-15=38
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[15, 39], Operations: ['75-61=14', '53-14=39']
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,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,1,1
Current State: 40:[14, 38], Operations: ['75-61=14', '53-15=38']
Exploring Operation: 14+38=52, Resulting Numbers: [52]
52,40 unequal: No Solution
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,40 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: 40:[61, 15, 22], Operations: ['75-53=22']
Exploring Operation: 61-15=46, Resulting Numbers: [22, 46]
Generated Node #0,0,0: 40:[22, 46] Operation: 61-15=46
Exploring Operation: 61-22=39, Resulting Numbers: [15, 39]
Generated Node #0,0,1: 40:[15, 39] Operation: 61-22=39
Moving to Node #0,0,1
Current State: 40:[15, 39], Operations: ['75-53=22', '61-22=39']
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[22, 46], Operations: ['75-53=22', '61-15=46']
Exploring Operation: 22+46=68, Resulting Numbers: [68]
68,40 unequal: No Solution
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,40 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
74,
3,
41,
61
] | 80 | [
"74-61=13",
"3*13=39",
"41+39=80"
] | Current State: 80:[74, 3, 41, 61], Operations: []
Exploring Operation: 74-61=13, Resulting Numbers: [3, 41, 13]
Generated Node #2: [3, 41, 13] from Operation: 74-61=13
Current State: 80:[3, 41, 13], Operations: ['74-61=13']
Exploring Operation: 3*13=39, Resulting Numbers: [41, 39]
Generated Node #3: [41, 39] from Operation: 3*13=39
Current State: 80:[41, 39], Operations: ['74-61=13', '3*13=39']
Exploring Operation: 41+39=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[74, 3, 41, 61], Operations: []
Exploring Operation: 61-41=20, Resulting Numbers: [74, 3, 20]
Generated Node #0,0: 80:[74, 3, 20] Operation: 61-41=20
Exploring Operation: 74-61=13, Resulting Numbers: [3, 41, 13]
Generated Node #0,1: 80:[3, 41, 13] Operation: 74-61=13
Exploring Operation: 3+61=64, Resulting Numbers: [74, 41, 64]
Generated Node #0,2: 80:[74, 41, 64] Operation: 3+61=64
Exploring Operation: 74+3=77, Resulting Numbers: [41, 61, 77]
Generated Node #0,3: 80:[41, 61, 77] Operation: 74+3=77
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[3, 41, 13], Operations: ['74-61=13']
Exploring Operation: 41-3=38, Resulting Numbers: [13, 38]
Generated Node #0,1,0: 80:[13, 38] Operation: 41-3=38
Exploring Operation: 3*13=39, Resulting Numbers: [41, 39]
Generated Node #0,1,1: 80:[41, 39] Operation: 3*13=39
Exploring Operation: 3+13=16, Resulting Numbers: [41, 16]
Generated Node #0,1,2: 80:[41, 16] Operation: 3+13=16
Exploring Operation: 13-3=10, Resulting Numbers: [41, 10]
Generated Node #0,1,3: 80:[41, 10] Operation: 13-3=10
Moving to Node #0,1,2
Current State: 80:[41, 16], Operations: ['74-61=13', '3+13=16']
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Exploring Operation: 41*16=656, Resulting Numbers: [656]
656,80 unequal: No Solution
Exploring Operation: 41+16=57, Resulting Numbers: [57]
57,80 unequal: No Solution
Moving to Node #0,1,3
Current State: 80:[41, 10], Operations: ['74-61=13', '13-3=10']
Exploring Operation: 41*10=410, Resulting Numbers: [410]
410,80 unequal: No Solution
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 41+10=51, Resulting Numbers: [51]
51,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[41, 39], Operations: ['74-61=13', '3*13=39']
Exploring Operation: 41*39=1599, Resulting Numbers: [1599]
1599,80 unequal: No Solution
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 41+39=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[74, 3, 41, 61], Operations: []
Exploring Operation: 74-61=13, Resulting Numbers: [3, 41, 13]
Generated Node #0,1: 80:[3, 41, 13] Operation: 74-61=13
Moving to Node #0,1
Current State: 80:[3, 41, 13], Operations: ['74-61=13']
Exploring Operation: 3*13=39, Resulting Numbers: [41, 39]
Generated Node #0,1,1: 80:[41, 39] Operation: 3*13=39
Moving to Node #0,1,1
Current State: 80:[41, 39], Operations: ['74-61=13', '3*13=39']
Exploring Operation: 41+39=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
86,
13,
38,
36
] | 60 | [
"38-36=2",
"13*2=26",
"86-26=60"
] | Current State: 60:[86, 13, 38, 36], Operations: []
Exploring Operation: 38-36=2, Resulting Numbers: [86, 13, 2]
Generated Node #2: [86, 13, 2] from Operation: 38-36=2
Current State: 60:[86, 13, 2], Operations: ['38-36=2']
Exploring Operation: 13*2=26, Resulting Numbers: [86, 26]
Generated Node #3: [86, 26] from Operation: 13*2=26
Current State: 60:[86, 26], Operations: ['38-36=2', '13*2=26']
Exploring Operation: 86-26=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[86, 13, 38, 36], Operations: []
Exploring Operation: 86-38=48, Resulting Numbers: [13, 36, 48]
Generated Node #0,0: 60:[13, 36, 48] Operation: 86-38=48
Exploring Operation: 38-13=25, Resulting Numbers: [86, 36, 25]
Generated Node #0,1: 60:[86, 36, 25] Operation: 38-13=25
Exploring Operation: 86-36=50, Resulting Numbers: [13, 38, 50]
Generated Node #0,2: 60:[13, 38, 50] Operation: 86-36=50
Exploring Operation: 86-13=73, Resulting Numbers: [38, 36, 73]
Generated Node #0,3: 60:[38, 36, 73] Operation: 86-13=73
Exploring Operation: 38-36=2, Resulting Numbers: [86, 13, 2]
Generated Node #0,4: 60:[86, 13, 2] Operation: 38-36=2
Moving to Node #0,0
Current State: 60:[13, 36, 48], Operations: ['86-38=48']
Exploring Operation: 13+36=49, Resulting Numbers: [48, 49]
Generated Node #0,0,0: 60:[48, 49] Operation: 13+36=49
Exploring Operation: 48-36=12, Resulting Numbers: [13, 12]
Generated Node #0,0,1: 60:[13, 12] Operation: 48-36=12
Exploring Operation: 13+48=61, Resulting Numbers: [36, 61]
Generated Node #0,0,2: 60:[36, 61] Operation: 13+48=61
Exploring Operation: 36-13=23, Resulting Numbers: [48, 23]
Generated Node #0,0,3: 60:[48, 23] Operation: 36-13=23
Exploring Operation: 48-13=35, Resulting Numbers: [36, 35]
Generated Node #0,0,4: 60:[36, 35] Operation: 48-13=35
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 60:[13, 12], Operations: ['86-38=48', '48-36=12']
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,60 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,60 unequal: No Solution
No 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: 60:[36, 61], Operations: ['86-38=48', '13+48=61']
Exploring Operation: 36+61=97, Resulting Numbers: [97]
97,60 unequal: No Solution
Exploring Operation: 36*61=2196, Resulting Numbers: [2196]
2196,60 unequal: No Solution
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,60 unequal: No Solution
No 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: 60:[36, 35], Operations: ['86-38=48', '48-13=35']
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 36*35=1260, Resulting Numbers: [1260]
1260,60 unequal: No Solution
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,60 unequal: No Solution
No 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: 60:[48, 23], Operations: ['86-38=48', '36-13=23']
Exploring Operation: 48*23=1104, Resulting Numbers: [1104]
1104,60 unequal: No Solution
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,60 unequal: No Solution
Exploring Operation: 48+23=71, Resulting Numbers: [71]
71,60 unequal: No Solution
No 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: 60:[48, 49], Operations: ['86-38=48', '13+36=49']
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 48*49=2352, Resulting Numbers: [2352]
2352,60 unequal: No Solution
Exploring Operation: 48+49=97, Resulting Numbers: [97]
97,60 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: 60:[13, 38, 50], Operations: ['86-36=50']
Exploring Operation: 38-13=25, Resulting Numbers: [50, 25]
Generated Node #0,2,0: 60:[50, 25] Operation: 38-13=25
Exploring Operation: 13+38=51, Resulting Numbers: [50, 51]
Generated Node #0,2,1: 60:[50, 51] Operation: 13+38=51
Exploring Operation: 13+50=63, Resulting Numbers: [38, 63]
Generated Node #0,2,2: 60:[38, 63] Operation: 13+50=63
Exploring Operation: 50-38=12, Resulting Numbers: [13, 12]
Generated Node #0,2,3: 60:[13, 12] Operation: 50-38=12
Exploring Operation: 50-13=37, Resulting Numbers: [38, 37]
Generated Node #0,2,4: 60:[38, 37] Operation: 50-13=37
Moving to Node #0,3
Current State: 60:[38, 36, 73], Operations: ['86-13=73']
Exploring Operation: 38+36=74, Resulting Numbers: [73, 74]
Generated Node #0,3,0: 60:[73, 74] Operation: 38+36=74
Exploring Operation: 73-38=35, Resulting Numbers: [36, 35]
Generated Node #0,3,1: 60:[36, 35] Operation: 73-38=35
Exploring Operation: 73-36=37, Resulting Numbers: [38, 37]
Generated Node #0,3,2: 60:[38, 37] Operation: 73-36=37
Exploring Operation: 38+73=111, Resulting Numbers: [36, 111]
Generated Node #0,3,3: 60:[36, 111] Operation: 38+73=111
Exploring Operation: 38-36=2, Resulting Numbers: [73, 2]
Generated Node #0,3,4: 60:[73, 2] Operation: 38-36=2
Moving to Node #0,4
Current State: 60:[86, 13, 2], Operations: ['38-36=2']
Exploring Operation: 86-2=84, Resulting Numbers: [13, 84]
Generated Node #0,4,0: 60:[13, 84] Operation: 86-2=84
Exploring Operation: 13-2=11, Resulting Numbers: [86, 11]
Generated Node #0,4,1: 60:[86, 11] Operation: 13-2=11
Exploring Operation: 86-13=73, Resulting Numbers: [2, 73]
Generated Node #0,4,2: 60:[2, 73] Operation: 86-13=73
Exploring Operation: 86/2=43, Resulting Numbers: [13, 43]
Generated Node #0,4,3: 60:[13, 43] Operation: 86/2=43
Exploring Operation: 13+2=15, Resulting Numbers: [86, 15]
Generated Node #0,4,4: 60:[86, 15] Operation: 13+2=15
Moving to Node #0,1
Current State: 60:[86, 36, 25], Operations: ['38-13=25']
Exploring Operation: 86-36=50, Resulting Numbers: [25, 50]
Generated Node #0,1,0: 60:[25, 50] Operation: 86-36=50
Exploring Operation: 36-25=11, Resulting Numbers: [86, 11]
Generated Node #0,1,1: 60:[86, 11] Operation: 36-25=11
Exploring Operation: 36+25=61, Resulting Numbers: [86, 61]
Generated Node #0,1,2: 60:[86, 61] Operation: 36+25=61
Exploring Operation: 86+25=111, Resulting Numbers: [36, 111]
Generated Node #0,1,3: 60:[36, 111] Operation: 86+25=111
Exploring Operation: 86-25=61, Resulting Numbers: [36, 61]
Generated Node #0,1,4: 60:[36, 61] Operation: 86-25=61
Moving to Node #0,2,3
Current State: 60:[13, 12], Operations: ['86-36=50', '50-38=12']
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,60 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,60 unequal: No Solution
Moving to Node #0,1,4
Current State: 60:[36, 61], Operations: ['38-13=25', '86-25=61']
Exploring Operation: 36+61=97, Resulting Numbers: [97]
97,60 unequal: No Solution
Exploring Operation: 36*61=2196, Resulting Numbers: [2196]
2196,60 unequal: No Solution
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,60 unequal: No Solution
Moving to Node #0,3,1
Current State: 60:[36, 35], Operations: ['86-13=73', '73-38=35']
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 36*35=1260, Resulting Numbers: [1260]
1260,60 unequal: No Solution
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[38, 63], Operations: ['86-36=50', '13+50=63']
Exploring Operation: 38*63=2394, Resulting Numbers: [2394]
2394,60 unequal: No Solution
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,60 unequal: No Solution
Exploring Operation: 38+63=101, Resulting Numbers: [101]
101,60 unequal: No Solution
Moving to Node #0,3,4
Current State: 60:[73, 2], Operations: ['86-13=73', '38-36=2']
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,60 unequal: No Solution
Exploring Operation: 73*2=146, Resulting Numbers: [146]
146,60 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,60 unequal: No Solution
Moving to Node #0,4,2
Current State: 60:[2, 73], Operations: ['38-36=2', '86-13=73']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,60 unequal: No Solution
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,60 unequal: No Solution
Exploring Operation: 2*73=146, Resulting Numbers: [146]
146,60 unequal: No Solution
Moving to Node #0,4,3
Current State: 60:[13, 43], Operations: ['38-36=2', '86/2=43']
Exploring Operation: 13+43=56, Resulting Numbers: [56]
56,60 unequal: No Solution
Exploring Operation: 13*43=559, Resulting Numbers: [559]
559,60 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[50, 25], Operations: ['86-36=50', '38-13=25']
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 50*25=1250, Resulting Numbers: [1250]
1250,60 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,60 unequal: No Solution
Exploring Operation: 50+25=75, Resulting Numbers: [75]
75,60 unequal: No Solution
Moving to Node #0,2,4
Current State: 60:[38, 37], Operations: ['86-36=50', '50-13=37']
Exploring Operation: 38*37=1406, Resulting Numbers: [1406]
1406,60 unequal: No Solution
Exploring Operation: 38+37=75, Resulting Numbers: [75]
75,60 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[25, 50], Operations: ['38-13=25', '86-36=50']
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,60 unequal: No Solution
Exploring Operation: 25*50=1250, Resulting Numbers: [1250]
1250,60 unequal: No Solution
Exploring Operation: 25+50=75, Resulting Numbers: [75]
75,60 unequal: No Solution
Moving to Node #0,3,2
Current State: 60:[38, 37], Operations: ['86-13=73', '73-36=37']
Exploring Operation: 38+37=75, Resulting Numbers: [75]
75,60 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 38*37=1406, Resulting Numbers: [1406]
1406,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[50, 51], Operations: ['86-36=50', '13+38=51']
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 50*51=2550, Resulting Numbers: [2550]
2550,60 unequal: No Solution
Exploring Operation: 50+51=101, Resulting Numbers: [101]
101,60 unequal: No Solution
Moving to Node #0,4,0
Current State: 60:[13, 84], Operations: ['38-36=2', '86-2=84']
Exploring Operation: 13*84=1092, Resulting Numbers: [1092]
1092,60 unequal: No Solution
Exploring Operation: 84-13=71, Resulting Numbers: [71]
71,60 unequal: No Solution
Exploring Operation: 13+84=97, Resulting Numbers: [97]
97,60 unequal: No Solution
Moving to Node #0,4,4
Current State: 60:[86, 15], Operations: ['38-36=2', '13+2=15']
Exploring Operation: 86*15=1290, Resulting Numbers: [1290]
1290,60 unequal: No Solution
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,60 unequal: No Solution
Exploring Operation: 86+15=101, Resulting Numbers: [101]
101,60 unequal: No Solution
Moving to Node #0,4,1
Current State: 60:[86, 11], Operations: ['38-36=2', '13-2=11']
Exploring Operation: 86*11=946, Resulting Numbers: [946]
946,60 unequal: No Solution
Exploring Operation: 86+11=97, Resulting Numbers: [97]
97,60 unequal: No Solution
Exploring Operation: 86-11=75, Resulting Numbers: [75]
75,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[86, 61], Operations: ['38-13=25', '36+25=61']
Exploring Operation: 86+61=147, Resulting Numbers: [147]
147,60 unequal: No Solution
Exploring Operation: 86-61=25, Resulting Numbers: [25]
25,60 unequal: No Solution
Exploring Operation: 86*61=5246, Resulting Numbers: [5246]
5246,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[86, 11], Operations: ['38-13=25', '36-25=11']
Exploring Operation: 86-11=75, Resulting Numbers: [75]
75,60 unequal: No Solution
Exploring Operation: 86*11=946, Resulting Numbers: [946]
946,60 unequal: No Solution
Exploring Operation: 86+11=97, Resulting Numbers: [97]
97,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[73, 74], Operations: ['86-13=73', '38+36=74']
Exploring Operation: 73*74=5402, Resulting Numbers: [5402]
5402,60 unequal: No Solution
Exploring Operation: 74-73=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 73+74=147, Resulting Numbers: [147]
147,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[36, 111], Operations: ['86-13=73', '38+73=111']
Exploring Operation: 36+111=147, Resulting Numbers: [147]
147,60 unequal: No Solution
Exploring Operation: 111-36=75, Resulting Numbers: [75]
75,60 unequal: No Solution
Exploring Operation: 36*111=3996, Resulting Numbers: [3996]
3996,60 unequal: No Solution
Moving to Node #0,1,3
Current State: 60:[36, 111], Operations: ['38-13=25', '86+25=111']
Exploring Operation: 36+111=147, Resulting Numbers: [147]
147,60 unequal: No Solution
Exploring Operation: 36*111=3996, Resulting Numbers: [3996]
3996,60 unequal: No Solution
Exploring Operation: 111-36=75, Resulting Numbers: [75]
75,60 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
19,
86,
3,
56
] | 85 | [
"19*3=57",
"86+56=142",
"142-57=85"
] | Current State: 85:[19, 86, 3, 56], Operations: []
Exploring Operation: 19*3=57, Resulting Numbers: [86, 56, 57]
Generated Node #2: [86, 56, 57] from Operation: 19*3=57
Current State: 85:[86, 56, 57], Operations: ['19*3=57']
Exploring Operation: 86+56=142, Resulting Numbers: [57, 142]
Generated Node #3: [57, 142] from Operation: 86+56=142
Current State: 85:[57, 142], Operations: ['19*3=57', '86+56=142']
Exploring Operation: 142-57=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[19, 86, 3, 56], Operations: []
Exploring Operation: 3+56=59, Resulting Numbers: [19, 86, 59]
Generated Node #0,0: 85:[19, 86, 59] Operation: 3+56=59
Exploring Operation: 19+56=75, Resulting Numbers: [86, 3, 75]
Generated Node #0,1: 85:[86, 3, 75] Operation: 19+56=75
Exploring Operation: 56-19=37, Resulting Numbers: [86, 3, 37]
Generated Node #0,2: 85:[86, 3, 37] Operation: 56-19=37
Exploring Operation: 86-56=30, Resulting Numbers: [19, 3, 30]
Generated Node #0,3: 85:[19, 3, 30] Operation: 86-56=30
Moving to Node #0,1
Current State: 85:[86, 3, 75], Operations: ['19+56=75']
Exploring Operation: 3+75=78, Resulting Numbers: [86, 78]
Generated Node #0,1,0: 85:[86, 78] Operation: 3+75=78
Exploring Operation: 86-3=83, Resulting Numbers: [75, 83]
Generated Node #0,1,1: 85:[75, 83] Operation: 86-3=83
Exploring Operation: 75/3=25, Resulting Numbers: [86, 25]
Generated Node #0,1,2: 85:[86, 25] Operation: 75/3=25
Exploring Operation: 86-75=11, Resulting Numbers: [3, 11]
Generated Node #0,1,3: 85:[3, 11] Operation: 86-75=11
Moving to Node #0,3
Current State: 85:[19, 3, 30], Operations: ['86-56=30']
Exploring Operation: 30-3=27, Resulting Numbers: [19, 27]
Generated Node #0,3,0: 85:[19, 27] Operation: 30-3=27
Exploring Operation: 30/3=10, Resulting Numbers: [19, 10]
Generated Node #0,3,1: 85:[19, 10] Operation: 30/3=10
Exploring Operation: 30-19=11, Resulting Numbers: [3, 11]
Generated Node #0,3,2: 85:[3, 11] Operation: 30-19=11
Exploring Operation: 3*30=90, Resulting Numbers: [19, 90]
Generated Node #0,3,3: 85:[19, 90] Operation: 3*30=90
Moving to Node #0,2
Current State: 85:[86, 3, 37], Operations: ['56-19=37']
Exploring Operation: 3+37=40, Resulting Numbers: [86, 40]
Generated Node #0,2,0: 85:[86, 40] Operation: 3+37=40
Exploring Operation: 37-3=34, Resulting Numbers: [86, 34]
Generated Node #0,2,1: 85:[86, 34] Operation: 37-3=34
Exploring Operation: 86+3=89, Resulting Numbers: [37, 89]
Generated Node #0,2,2: 85:[37, 89] Operation: 86+3=89
Exploring Operation: 86-3=83, Resulting Numbers: [37, 83]
Generated Node #0,2,3: 85:[37, 83] Operation: 86-3=83
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[86, 34], Operations: ['56-19=37', '37-3=34']
Exploring Operation: 86-34=52, Resulting Numbers: [52]
52,85 unequal: No Solution
Exploring Operation: 86+34=120, Resulting Numbers: [120]
120,85 unequal: No Solution
Exploring Operation: 86*34=2924, Resulting Numbers: [2924]
2924,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,2,3
Current State: 85:[37, 83], Operations: ['56-19=37', '86-3=83']
Exploring Operation: 37*83=3071, Resulting Numbers: [3071]
3071,85 unequal: No Solution
Exploring Operation: 83-37=46, Resulting Numbers: [46]
46,85 unequal: No Solution
Exploring Operation: 37+83=120, Resulting Numbers: [120]
120,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,2,0
Current State: 85:[86, 40], Operations: ['56-19=37', '3+37=40']
Exploring Operation: 86-40=46, Resulting Numbers: [46]
46,85 unequal: No Solution
Exploring Operation: 86*40=3440, Resulting Numbers: [3440]
3440,85 unequal: No Solution
Exploring Operation: 86+40=126, Resulting Numbers: [126]
126,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,2,2
Current State: 85:[37, 89], Operations: ['56-19=37', '86+3=89']
Exploring Operation: 89-37=52, Resulting Numbers: [52]
52,85 unequal: No Solution
Exploring Operation: 37+89=126, Resulting Numbers: [126]
126,85 unequal: No Solution
Exploring Operation: 37*89=3293, Resulting Numbers: [3293]
3293,85 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: 85:[19, 86, 59], Operations: ['3+56=59']
Exploring Operation: 59-19=40, Resulting Numbers: [86, 40]
Generated Node #0,0,0: 85:[86, 40] Operation: 59-19=40
Exploring Operation: 19+59=78, Resulting Numbers: [86, 78]
Generated Node #0,0,1: 85:[86, 78] Operation: 19+59=78
Exploring Operation: 86-19=67, Resulting Numbers: [59, 67]
Generated Node #0,0,2: 85:[59, 67] Operation: 86-19=67
Exploring Operation: 86-59=27, Resulting Numbers: [19, 27]
Generated Node #0,0,3: 85:[19, 27] Operation: 86-59=27
Moving to Node #0,3,1
Current State: 85:[19, 10], Operations: ['86-56=30', '30/3=10']
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,85 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Moving to Node #0,3,3
Current State: 85:[19, 90], Operations: ['86-56=30', '3*30=90']
Exploring Operation: 19+90=109, Resulting Numbers: [109]
109,85 unequal: No Solution
Exploring Operation: 90-19=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Exploring Operation: 19*90=1710, Resulting Numbers: [1710]
1710,85 unequal: No Solution
Moving to Node #0,3,2
Current State: 85:[3, 11], Operations: ['86-56=30', '30-19=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[86, 78], Operations: ['19+56=75', '3+75=78']
Exploring Operation: 86-78=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 86+78=164, Resulting Numbers: [164]
164,85 unequal: No Solution
Exploring Operation: 86*78=6708, Resulting Numbers: [6708]
6708,85 unequal: No Solution
Moving to Node #0,1,3
Current State: 85:[3, 11], Operations: ['19+56=75', '86-75=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[86, 78], Operations: ['3+56=59', '19+59=78']
Exploring Operation: 86-78=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 86+78=164, Resulting Numbers: [164]
164,85 unequal: No Solution
Exploring Operation: 86*78=6708, Resulting Numbers: [6708]
6708,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[86, 25], Operations: ['19+56=75', '75/3=25']
Exploring Operation: 86+25=111, Resulting Numbers: [111]
111,85 unequal: No Solution
Exploring Operation: 86-25=61, Resulting Numbers: [61]
61,85 unequal: No Solution
Exploring Operation: 86*25=2150, Resulting Numbers: [2150]
2150,85 unequal: No Solution
Moving to Node #0,0,3
Current State: 85:[19, 27], Operations: ['3+56=59', '86-59=27']
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,85 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 19*27=513, Resulting Numbers: [513]
513,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[75, 83], Operations: ['19+56=75', '86-3=83']
Exploring Operation: 83-75=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 75+83=158, Resulting Numbers: [158]
158,85 unequal: No Solution
Exploring Operation: 75*83=6225, Resulting Numbers: [6225]
6225,85 unequal: No Solution
Moving to Node #0,3,0
Current State: 85:[19, 27], Operations: ['86-56=30', '30-3=27']
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,85 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 19*27=513, Resulting Numbers: [513]
513,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[86, 40], Operations: ['3+56=59', '59-19=40']
Exploring Operation: 86-40=46, Resulting Numbers: [46]
46,85 unequal: No Solution
Exploring Operation: 86+40=126, Resulting Numbers: [126]
126,85 unequal: No Solution
Exploring Operation: 86*40=3440, Resulting Numbers: [3440]
3440,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[59, 67], Operations: ['3+56=59', '86-19=67']
Exploring Operation: 59+67=126, Resulting Numbers: [126]
126,85 unequal: No Solution
Exploring Operation: 67-59=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 59*67=3953, Resulting Numbers: [3953]
3953,85 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.