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 |
|---|---|---|---|---|---|---|---|---|
[
11,
95,
92,
12
] | 69 | [
"11+12=23",
"95-92=3",
"23*3=69"
] | Current State: 69:[11, 95, 92, 12], Operations: []
Exploring Operation: 11+12=23, Resulting Numbers: [95, 92, 23]
Generated Node #2: [95, 92, 23] from Operation: 11+12=23
Current State: 69:[95, 92, 23], Operations: ['11+12=23']
Exploring Operation: 95-92=3, Resulting Numbers: [23, 3]
Generated Node #3: [23, 3] from Operation: 95-92=3
Current State: 69:[23, 3], Operations: ['11+12=23', '95-92=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[11, 95, 92, 12], Operations: []
Exploring Operation: 95-92=3, Resulting Numbers: [11, 12, 3]
Generated Node #0,0: 69:[11, 12, 3] Operation: 95-92=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[11, 12, 3], Operations: ['95-92=3']
Exploring Operation: 11+12=23, Resulting Numbers: [3, 23]
Generated Node #0,0,0: 69:[3, 23] Operation: 11+12=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[3, 23], Operations: ['95-92=3', '11+12=23']
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[11, 95, 92, 12], Operations: []
Exploring Operation: 95-92=3, Resulting Numbers: [11, 12, 3]
Generated Node #0,0: 69:[11, 12, 3] Operation: 95-92=3
Moving to Node #0,0
Current State: 69:[11, 12, 3], Operations: ['95-92=3']
Exploring Operation: 11+12=23, Resulting Numbers: [3, 23]
Generated Node #0,0,0: 69:[3, 23] Operation: 11+12=23
Moving to Node #0,0,0
Current State: 69:[3, 23], Operations: ['95-92=3', '11+12=23']
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
92,
46,
86,
35
] | 75 | [
"92-46=46",
"86+35=121",
"121-46=75"
] | Current State: 75:[92, 46, 86, 35], Operations: []
Exploring Operation: 92-46=46, Resulting Numbers: [86, 35, 46]
Generated Node #2: [86, 35, 46] from Operation: 92-46=46
Current State: 75:[86, 35, 46], Operations: ['92-46=46']
Exploring Operation: 86+35=121, Resulting Numbers: [46, 121]
Generated Node #3: [46, 121] from Operation: 86+35=121
Current State: 75:[46, 121], Operations: ['92-46=46', '86+35=121']
Exploring Operation: 121-46=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[92, 46, 86, 35], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [86, 35, 2]
Generated Node #0,0: 75:[86, 35, 2] Operation: 92/46=2
Moving to Node #0,0
Current State: 75:[86, 35, 2], Operations: ['92/46=2']
Exploring Operation: 35*2=70, Resulting Numbers: [86, 70]
Generated Node #0,0,0: 75:[86, 70] Operation: 35*2=70
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[86, 70], Operations: ['92/46=2', '35*2=70']
Exploring Operation: 86-70=16, Resulting Numbers: [16]
16,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 | sum_heuristic |
[
30,
27,
88,
82
] | 48 | [
"30*88=2640",
"82-27=55",
"2640/55=48"
] | Current State: 48:[30, 27, 88, 82], Operations: []
Exploring Operation: 30*88=2640, Resulting Numbers: [27, 82, 2640]
Generated Node #2: [27, 82, 2640] from Operation: 30*88=2640
Current State: 48:[27, 82, 2640], Operations: ['30*88=2640']
Exploring Operation: 82-27=55, Resulting Numbers: [2640, 55]
Generated Node #3: [2640, 55] from Operation: 82-27=55
Current State: 48:[2640, 55], Operations: ['30*88=2640', '82-27=55']
Exploring Operation: 2640/55=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[30, 27, 88, 82], Operations: []
Exploring Operation: 88-27=61, Resulting Numbers: [30, 82, 61]
Generated Node #0,0: 48:[30, 82, 61] Operation: 88-27=61
Exploring Operation: 88-30=58, Resulting Numbers: [27, 82, 58]
Generated Node #0,1: 48:[27, 82, 58] Operation: 88-30=58
Exploring Operation: 82-30=52, Resulting Numbers: [27, 88, 52]
Generated Node #0,2: 48:[27, 88, 52] Operation: 82-30=52
Exploring Operation: 88-82=6, Resulting Numbers: [30, 27, 6]
Generated Node #0,3: 48:[30, 27, 6] Operation: 88-82=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 48:[30, 27, 6], Operations: ['88-82=6']
Exploring Operation: 30-27=3, Resulting Numbers: [6, 3]
Generated Node #0,3,0: 48:[6, 3] Operation: 30-27=3
Exploring Operation: 30+27=57, Resulting Numbers: [6, 57]
Generated Node #0,3,1: 48:[6, 57] Operation: 30+27=57
Exploring Operation: 30-6=24, Resulting Numbers: [27, 24]
Generated Node #0,3,2: 48:[27, 24] Operation: 30-6=24
Exploring Operation: 30/6=5, Resulting Numbers: [27, 5]
Generated Node #0,3,3: 48:[27, 5] Operation: 30/6=5
Moving to Node #0,3,0
Current State: 48:[6, 3], Operations: ['88-82=6', '30-27=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Moving to Node #0,3,2
Current State: 48:[27, 24], Operations: ['88-82=6', '30-6=24']
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,48 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Moving to Node #0,3,3
Current State: 48:[27, 5], Operations: ['88-82=6', '30/6=5']
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,48 unequal: No Solution
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,48 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Moving to Node #0,3,1
Current State: 48:[6, 57], Operations: ['88-82=6', '30+27=57']
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 6*57=342, Resulting Numbers: [342]
342,48 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,48 unequal: No Solution
No solution 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: 48:[27, 82, 58], Operations: ['88-30=58']
Exploring Operation: 82-58=24, Resulting Numbers: [27, 24]
Generated Node #0,1,0: 48:[27, 24] Operation: 82-58=24
Exploring Operation: 58-27=31, Resulting Numbers: [82, 31]
Generated Node #0,1,1: 48:[82, 31] Operation: 58-27=31
Exploring Operation: 27+82=109, Resulting Numbers: [58, 109]
Generated Node #0,1,2: 48:[58, 109] Operation: 27+82=109
Exploring Operation: 82-27=55, Resulting Numbers: [58, 55]
Generated Node #0,1,3: 48:[58, 55] Operation: 82-27=55
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 48:[27, 24], Operations: ['88-30=58', '82-58=24']
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,48 unequal: No Solution
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,48 unequal: No Solution
No 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: 48:[58, 55], Operations: ['88-30=58', '82-27=55']
Exploring Operation: 58*55=3190, Resulting Numbers: [3190]
3190,48 unequal: No Solution
Exploring Operation: 58+55=113, Resulting Numbers: [113]
113,48 unequal: No Solution
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,48 unequal: No Solution
No 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: 48:[82, 31], Operations: ['88-30=58', '58-27=31']
Exploring Operation: 82-31=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 82*31=2542, Resulting Numbers: [2542]
2542,48 unequal: No Solution
Exploring Operation: 82+31=113, Resulting Numbers: [113]
113,48 unequal: No Solution
No 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: 48:[58, 109], Operations: ['88-30=58', '27+82=109']
Exploring Operation: 58*109=6322, Resulting Numbers: [6322]
6322,48 unequal: No Solution
Exploring Operation: 58+109=167, Resulting Numbers: [167]
167,48 unequal: No Solution
Exploring Operation: 109-58=51, Resulting Numbers: [51]
51,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[27, 88, 52], Operations: ['82-30=52']
Exploring Operation: 88-52=36, Resulting Numbers: [27, 36]
Generated Node #0,2,0: 48:[27, 36] Operation: 88-52=36
Exploring Operation: 88-27=61, Resulting Numbers: [52, 61]
Generated Node #0,2,1: 48:[52, 61] Operation: 88-27=61
Exploring Operation: 27+88=115, Resulting Numbers: [52, 115]
Generated Node #0,2,2: 48:[52, 115] Operation: 27+88=115
Exploring Operation: 52-27=25, Resulting Numbers: [88, 25]
Generated Node #0,2,3: 48:[88, 25] Operation: 52-27=25
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 48:[27, 36], Operations: ['82-30=52', '88-52=36']
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 27+36=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 27*36=972, Resulting Numbers: [972]
972,48 unequal: No Solution
No 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: 48:[52, 61], Operations: ['82-30=52', '88-27=61']
Exploring Operation: 61-52=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 52+61=113, Resulting Numbers: [113]
113,48 unequal: No Solution
Exploring Operation: 52*61=3172, Resulting Numbers: [3172]
3172,48 unequal: No Solution
No 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: 48:[88, 25], Operations: ['82-30=52', '52-27=25']
Exploring Operation: 88-25=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 88+25=113, Resulting Numbers: [113]
113,48 unequal: No Solution
Exploring Operation: 88*25=2200, Resulting Numbers: [2200]
2200,48 unequal: No Solution
No 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: 48:[52, 115], Operations: ['82-30=52', '27+88=115']
Exploring Operation: 52*115=5980, Resulting Numbers: [5980]
5980,48 unequal: No Solution
Exploring Operation: 52+115=167, Resulting Numbers: [167]
167,48 unequal: No Solution
Exploring Operation: 115-52=63, Resulting Numbers: [63]
63,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[30, 82, 61], Operations: ['88-27=61']
Exploring Operation: 82-61=21, Resulting Numbers: [30, 21]
Generated Node #0,0,0: 48:[30, 21] Operation: 82-61=21
Exploring Operation: 61-30=31, Resulting Numbers: [82, 31]
Generated Node #0,0,1: 48:[82, 31] Operation: 61-30=31
Exploring Operation: 30+82=112, Resulting Numbers: [61, 112]
Generated Node #0,0,2: 48:[61, 112] Operation: 30+82=112
Exploring Operation: 82-30=52, Resulting Numbers: [61, 52]
Generated Node #0,0,3: 48:[61, 52] Operation: 82-30=52
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[30, 21], Operations: ['88-27=61', '82-61=21']
Exploring Operation: 30*21=630, Resulting Numbers: [630]
630,48 unequal: No Solution
Exploring Operation: 30+21=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,48 unequal: No Solution
No 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: 48:[61, 52], Operations: ['88-27=61', '82-30=52']
Exploring Operation: 61+52=113, Resulting Numbers: [113]
113,48 unequal: No Solution
Exploring Operation: 61-52=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 61*52=3172, Resulting Numbers: [3172]
3172,48 unequal: No Solution
No 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: 48:[82, 31], Operations: ['88-27=61', '61-30=31']
Exploring Operation: 82+31=113, Resulting Numbers: [113]
113,48 unequal: No Solution
Exploring Operation: 82*31=2542, Resulting Numbers: [2542]
2542,48 unequal: No Solution
Exploring Operation: 82-31=51, Resulting Numbers: [51]
51,48 unequal: No Solution
No 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: 48:[61, 112], Operations: ['88-27=61', '30+82=112']
Exploring Operation: 61*112=6832, Resulting Numbers: [6832]
6832,48 unequal: No Solution
Exploring Operation: 112-61=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 61+112=173, Resulting Numbers: [173]
173,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
84,
75,
66,
49
] | 98 | [
"84+66=150",
"150/75=2",
"49*2=98"
] | Current State: 98:[84, 75, 66, 49], Operations: []
Exploring Operation: 84+66=150, Resulting Numbers: [75, 49, 150]
Generated Node #2: [75, 49, 150] from Operation: 84+66=150
Current State: 98:[75, 49, 150], Operations: ['84+66=150']
Exploring Operation: 150/75=2, Resulting Numbers: [49, 2]
Generated Node #3: [49, 2] from Operation: 150/75=2
Current State: 98:[49, 2], Operations: ['84+66=150', '150/75=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[84, 75, 66, 49], Operations: []
Exploring Operation: 75-66=9, Resulting Numbers: [84, 49, 9]
Generated Node #0,0: 98:[84, 49, 9] Operation: 75-66=9
Exploring Operation: 75-49=26, Resulting Numbers: [84, 66, 26]
Generated Node #0,1: 98:[84, 66, 26] Operation: 75-49=26
Exploring Operation: 66-49=17, Resulting Numbers: [84, 75, 17]
Generated Node #0,2: 98:[84, 75, 17] Operation: 66-49=17
Exploring Operation: 84-66=18, Resulting Numbers: [75, 49, 18]
Generated Node #0,3: 98:[75, 49, 18] Operation: 84-66=18
Exploring Operation: 84-75=9, Resulting Numbers: [66, 49, 9]
Generated Node #0,4: 98:[66, 49, 9] Operation: 84-75=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[84, 49, 9], Operations: ['75-66=9']
Exploring Operation: 49-9=40, Resulting Numbers: [84, 40]
Generated Node #0,0,0: 98:[84, 40] Operation: 49-9=40
Exploring Operation: 84+9=93, Resulting Numbers: [49, 93]
Generated Node #0,0,1: 98:[49, 93] Operation: 84+9=93
Exploring Operation: 84-49=35, Resulting Numbers: [9, 35]
Generated Node #0,0,2: 98:[9, 35] Operation: 84-49=35
Exploring Operation: 49+9=58, Resulting Numbers: [84, 58]
Generated Node #0,0,3: 98:[84, 58] Operation: 49+9=58
Exploring Operation: 84-9=75, Resulting Numbers: [49, 75]
Generated Node #0,0,4: 98:[49, 75] Operation: 84-9=75
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[49, 93], Operations: ['75-66=9', '84+9=93']
Exploring Operation: 49*93=4557, Resulting Numbers: [4557]
4557,98 unequal: No Solution
Exploring Operation: 49+93=142, Resulting Numbers: [142]
142,98 unequal: No Solution
Exploring Operation: 93-49=44, Resulting Numbers: [44]
44,98 unequal: No Solution
No 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: 98:[9, 35], Operations: ['75-66=9', '84-49=35']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,98 unequal: No Solution
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,98 unequal: No Solution
No 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: 98:[84, 40], Operations: ['75-66=9', '49-9=40']
Exploring Operation: 84-40=44, Resulting Numbers: [44]
44,98 unequal: No Solution
Exploring Operation: 84+40=124, Resulting Numbers: [124]
124,98 unequal: No Solution
Exploring Operation: 84*40=3360, Resulting Numbers: [3360]
3360,98 unequal: No Solution
No 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: 98:[84, 58], Operations: ['75-66=9', '49+9=58']
Exploring Operation: 84-58=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Exploring Operation: 84*58=4872, Resulting Numbers: [4872]
4872,98 unequal: No Solution
Exploring Operation: 84+58=142, Resulting Numbers: [142]
142,98 unequal: No Solution
No 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: 98:[49, 75], Operations: ['75-66=9', '84-9=75']
Exploring Operation: 49+75=124, Resulting Numbers: [124]
124,98 unequal: No Solution
Exploring Operation: 49*75=3675, Resulting Numbers: [3675]
3675,98 unequal: No Solution
Exploring Operation: 75-49=26, Resulting Numbers: [26]
26,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 98:[66, 49, 9], Operations: ['84-75=9']
Exploring Operation: 66-49=17, Resulting Numbers: [9, 17]
Generated Node #0,4,0: 98:[9, 17] Operation: 66-49=17
Exploring Operation: 66+49=115, Resulting Numbers: [9, 115]
Generated Node #0,4,1: 98:[9, 115] Operation: 66+49=115
Exploring Operation: 49+9=58, Resulting Numbers: [66, 58]
Generated Node #0,4,2: 98:[66, 58] Operation: 49+9=58
Exploring Operation: 66+9=75, Resulting Numbers: [49, 75]
Generated Node #0,4,3: 98:[49, 75] Operation: 66+9=75
Exploring Operation: 66-9=57, Resulting Numbers: [49, 57]
Generated Node #0,4,4: 98:[49, 57] Operation: 66-9=57
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 98:[9, 17], Operations: ['84-75=9', '66-49=17']
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,98 unequal: No Solution
No 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: 98:[49, 57], Operations: ['84-75=9', '66-9=57']
Exploring Operation: 57-49=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 49+57=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Exploring Operation: 49*57=2793, Resulting Numbers: [2793]
2793,98 unequal: No Solution
No 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: 98:[9, 115], Operations: ['84-75=9', '66+49=115']
Exploring Operation: 115-9=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Exploring Operation: 9+115=124, Resulting Numbers: [124]
124,98 unequal: No Solution
Exploring Operation: 9*115=1035, Resulting Numbers: [1035]
1035,98 unequal: No Solution
No 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: 98:[49, 75], Operations: ['84-75=9', '66+9=75']
Exploring Operation: 49*75=3675, Resulting Numbers: [3675]
3675,98 unequal: No Solution
Exploring Operation: 75-49=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Exploring Operation: 49+75=124, Resulting Numbers: [124]
124,98 unequal: No Solution
No 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: 98:[66, 58], Operations: ['84-75=9', '49+9=58']
Exploring Operation: 66+58=124, Resulting Numbers: [124]
124,98 unequal: No Solution
Exploring Operation: 66*58=3828, Resulting Numbers: [3828]
3828,98 unequal: No Solution
Exploring Operation: 66-58=8, Resulting Numbers: [8]
8,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[75, 49, 18], Operations: ['84-66=18']
Exploring Operation: 75-18=57, Resulting Numbers: [49, 57]
Generated Node #0,3,0: 98:[49, 57] Operation: 75-18=57
Exploring Operation: 75-49=26, Resulting Numbers: [18, 26]
Generated Node #0,3,1: 98:[18, 26] Operation: 75-49=26
Exploring Operation: 75+49=124, Resulting Numbers: [18, 124]
Generated Node #0,3,2: 98:[18, 124] Operation: 75+49=124
Exploring Operation: 49-18=31, Resulting Numbers: [75, 31]
Generated Node #0,3,3: 98:[75, 31] Operation: 49-18=31
Exploring Operation: 75+18=93, Resulting Numbers: [49, 93]
Generated Node #0,3,4: 98:[49, 93] Operation: 75+18=93
Moving to Node #0,3,4
Current State: 98:[49, 93], Operations: ['84-66=18', '75+18=93']
Exploring Operation: 93-49=44, Resulting Numbers: [44]
44,98 unequal: No Solution
Exploring Operation: 49*93=4557, Resulting Numbers: [4557]
4557,98 unequal: No Solution
Exploring Operation: 49+93=142, Resulting Numbers: [142]
142,98 unequal: No Solution
Moving to Node #0,3,0
Current State: 98:[49, 57], Operations: ['84-66=18', '75-18=57']
Exploring Operation: 49*57=2793, Resulting Numbers: [2793]
2793,98 unequal: No Solution
Exploring Operation: 57-49=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 49+57=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Moving to Node #0,3,1
Current State: 98:[18, 26], Operations: ['84-66=18', '75-49=26']
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 18*26=468, Resulting Numbers: [468]
468,98 unequal: No Solution
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,98 unequal: No Solution
Moving to Node #0,3,2
Current State: 98:[18, 124], Operations: ['84-66=18', '75+49=124']
Exploring Operation: 18+124=142, Resulting Numbers: [142]
142,98 unequal: No Solution
Exploring Operation: 18*124=2232, Resulting Numbers: [2232]
2232,98 unequal: No Solution
Exploring Operation: 124-18=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Moving to Node #0,3,3
Current State: 98:[75, 31], Operations: ['84-66=18', '49-18=31']
Exploring Operation: 75-31=44, Resulting Numbers: [44]
44,98 unequal: No Solution
Exploring Operation: 75*31=2325, Resulting Numbers: [2325]
2325,98 unequal: No Solution
Exploring Operation: 75+31=106, Resulting Numbers: [106]
106,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[84, 75, 17], Operations: ['66-49=17']
Exploring Operation: 84+17=101, Resulting Numbers: [75, 101]
Generated Node #0,2,0: 98:[75, 101] Operation: 84+17=101
Exploring Operation: 84-75=9, Resulting Numbers: [17, 9]
Generated Node #0,2,1: 98:[17, 9] Operation: 84-75=9
Exploring Operation: 75+17=92, Resulting Numbers: [84, 92]
Generated Node #0,2,2: 98:[84, 92] Operation: 75+17=92
Exploring Operation: 84-17=67, Resulting Numbers: [75, 67]
Generated Node #0,2,3: 98:[75, 67] Operation: 84-17=67
Exploring Operation: 75-17=58, Resulting Numbers: [84, 58]
Generated Node #0,2,4: 98:[84, 58] Operation: 75-17=58
Moving to Node #0,2,1
Current State: 98:[17, 9], Operations: ['66-49=17', '84-75=9']
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,98 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[84, 92], Operations: ['66-49=17', '75+17=92']
Exploring Operation: 84*92=7728, Resulting Numbers: [7728]
7728,98 unequal: No Solution
Exploring Operation: 84+92=176, Resulting Numbers: [176]
176,98 unequal: No Solution
Exploring Operation: 92-84=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Moving to Node #0,2,4
Current State: 98:[84, 58], Operations: ['66-49=17', '75-17=58']
Exploring Operation: 84*58=4872, Resulting Numbers: [4872]
4872,98 unequal: No Solution
Exploring Operation: 84-58=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Exploring Operation: 84+58=142, Resulting Numbers: [142]
142,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[75, 101], Operations: ['66-49=17', '84+17=101']
Exploring Operation: 101-75=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Exploring Operation: 75*101=7575, Resulting Numbers: [7575]
7575,98 unequal: No Solution
Exploring Operation: 75+101=176, Resulting Numbers: [176]
176,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[75, 67], Operations: ['66-49=17', '84-17=67']
Exploring Operation: 75+67=142, Resulting Numbers: [142]
142,98 unequal: No Solution
Exploring Operation: 75*67=5025, Resulting Numbers: [5025]
5025,98 unequal: No Solution
Exploring Operation: 75-67=8, Resulting Numbers: [8]
8,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[84, 66, 26], Operations: ['75-49=26']
Exploring Operation: 84+26=110, Resulting Numbers: [66, 110]
Generated Node #0,1,0: 98:[66, 110] Operation: 84+26=110
Exploring Operation: 66+26=92, Resulting Numbers: [84, 92]
Generated Node #0,1,1: 98:[84, 92] Operation: 66+26=92
Exploring Operation: 84-26=58, Resulting Numbers: [66, 58]
Generated Node #0,1,2: 98:[66, 58] Operation: 84-26=58
Exploring Operation: 66-26=40, Resulting Numbers: [84, 40]
Generated Node #0,1,3: 98:[84, 40] Operation: 66-26=40
Exploring Operation: 84-66=18, Resulting Numbers: [26, 18]
Generated Node #0,1,4: 98:[26, 18] Operation: 84-66=18
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 98:[26, 18], Operations: ['75-49=26', '84-66=18']
Exploring Operation: 26*18=468, Resulting Numbers: [468]
468,98 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,98 unequal: No Solution
No 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: 98:[84, 92], Operations: ['75-49=26', '66+26=92']
Exploring Operation: 84+92=176, Resulting Numbers: [176]
176,98 unequal: No Solution
Exploring Operation: 92-84=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 84*92=7728, Resulting Numbers: [7728]
7728,98 unequal: No Solution
No 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: 98:[84, 40], Operations: ['75-49=26', '66-26=40']
Exploring Operation: 84+40=124, Resulting Numbers: [124]
124,98 unequal: No Solution
Exploring Operation: 84-40=44, Resulting Numbers: [44]
44,98 unequal: No Solution
Exploring Operation: 84*40=3360, Resulting Numbers: [3360]
3360,98 unequal: No Solution
No 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: 98:[66, 58], Operations: ['75-49=26', '84-26=58']
Exploring Operation: 66+58=124, Resulting Numbers: [124]
124,98 unequal: No Solution
Exploring Operation: 66*58=3828, Resulting Numbers: [3828]
3828,98 unequal: No Solution
Exploring Operation: 66-58=8, Resulting Numbers: [8]
8,98 unequal: No Solution
No 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: 98:[66, 110], Operations: ['75-49=26', '84+26=110']
Exploring Operation: 66*110=7260, Resulting Numbers: [7260]
7260,98 unequal: No Solution
Exploring Operation: 110-66=44, Resulting Numbers: [44]
44,98 unequal: No Solution
Exploring Operation: 66+110=176, Resulting Numbers: [176]
176,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
82,
53,
7,
94
] | 58 | [
"82-53=29",
"94-7=87",
"87-29=58"
] | Current State: 58:[82, 53, 7, 94], Operations: []
Exploring Operation: 82-53=29, Resulting Numbers: [7, 94, 29]
Generated Node #2: [7, 94, 29] from Operation: 82-53=29
Current State: 58:[7, 94, 29], Operations: ['82-53=29']
Exploring Operation: 94-7=87, Resulting Numbers: [29, 87]
Generated Node #3: [29, 87] from Operation: 94-7=87
Current State: 58:[29, 87], Operations: ['82-53=29', '94-7=87']
Exploring Operation: 87-29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[82, 53, 7, 94], Operations: []
Exploring Operation: 94-82=12, Resulting Numbers: [53, 7, 12]
Generated Node #0,0: 58:[53, 7, 12] Operation: 94-82=12
Moving to Node #0,0
Current State: 58:[53, 7, 12], Operations: ['94-82=12']
Exploring Operation: 12-7=5, Resulting Numbers: [53, 5]
Generated Node #0,0,0: 58:[53, 5] Operation: 12-7=5
Moving to Node #0,0,0
Current State: 58:[53, 5], Operations: ['94-82=12', '12-7=5']
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[82, 53, 7, 94], Operations: []
Exploring Operation: 94-82=12, Resulting Numbers: [53, 7, 12]
Generated Node #0,0: 58:[53, 7, 12] Operation: 94-82=12
Moving to Node #0,0
Current State: 58:[53, 7, 12], Operations: ['94-82=12']
Exploring Operation: 12-7=5, Resulting Numbers: [53, 5]
Generated Node #0,0,0: 58:[53, 5] Operation: 12-7=5
Moving to Node #0,0,0
Current State: 58:[53, 5], Operations: ['94-82=12', '12-7=5']
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
25,
21,
64,
66
] | 17 | [
"66-64=2",
"21*2=42",
"42-25=17"
] | Current State: 17:[25, 21, 64, 66], Operations: []
Exploring Operation: 66-64=2, Resulting Numbers: [25, 21, 2]
Generated Node #2: [25, 21, 2] from Operation: 66-64=2
Current State: 17:[25, 21, 2], Operations: ['66-64=2']
Exploring Operation: 21*2=42, Resulting Numbers: [25, 42]
Generated Node #3: [25, 42] from Operation: 21*2=42
Current State: 17:[25, 42], Operations: ['66-64=2', '21*2=42']
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[25, 21, 64, 66], Operations: []
Exploring Operation: 64-25=39, Resulting Numbers: [21, 66, 39]
Generated Node #0,0: 17:[21, 66, 39] Operation: 64-25=39
Exploring Operation: 66-64=2, Resulting Numbers: [25, 21, 2]
Generated Node #0,1: 17:[25, 21, 2] Operation: 66-64=2
Exploring Operation: 66-25=41, Resulting Numbers: [21, 64, 41]
Generated Node #0,2: 17:[21, 64, 41] Operation: 66-25=41
Moving to Node #0,1
Current State: 17:[25, 21, 2], Operations: ['66-64=2']
Exploring Operation: 25-2=23, Resulting Numbers: [21, 23]
Generated Node #0,1,0: 17:[21, 23] Operation: 25-2=23
Exploring Operation: 21-2=19, Resulting Numbers: [25, 19]
Generated Node #0,1,1: 17:[25, 19] Operation: 21-2=19
Exploring Operation: 25+2=27, Resulting Numbers: [21, 27]
Generated Node #0,1,2: 17:[21, 27] Operation: 25+2=27
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[21, 23], Operations: ['66-64=2', '25-2=23']
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,17 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 17:[25, 19], Operations: ['66-64=2', '21-2=19']
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,17 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 17:[21, 27], Operations: ['66-64=2', '25+2=27']
Exploring Operation: 21+27=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 21*27=567, Resulting Numbers: [567]
567,17 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: 17:[21, 66, 39], Operations: ['64-25=39']
Exploring Operation: 39-21=18, Resulting Numbers: [66, 18]
Generated Node #0,0,0: 17:[66, 18] Operation: 39-21=18
Exploring Operation: 66-21=45, Resulting Numbers: [39, 45]
Generated Node #0,0,1: 17:[39, 45] Operation: 66-21=45
Exploring Operation: 66-39=27, Resulting Numbers: [21, 27]
Generated Node #0,0,2: 17:[21, 27] Operation: 66-39=27
Moving to Node #0,2
Current State: 17:[21, 64, 41], Operations: ['66-25=41']
Exploring Operation: 41-21=20, Resulting Numbers: [64, 20]
Generated Node #0,2,0: 17:[64, 20] Operation: 41-21=20
Exploring Operation: 64-41=23, Resulting Numbers: [21, 23]
Generated Node #0,2,1: 17:[21, 23] Operation: 64-41=23
Exploring Operation: 64-21=43, Resulting Numbers: [41, 43]
Generated Node #0,2,2: 17:[41, 43] Operation: 64-21=43
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[21, 23], Operations: ['66-25=41', '64-41=23']
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 17:[64, 20], Operations: ['66-25=41', '41-21=20']
Exploring Operation: 64*20=1280, Resulting Numbers: [1280]
1280,17 unequal: No Solution
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Exploring Operation: 64+20=84, Resulting Numbers: [84]
84,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 17:[41, 43], Operations: ['66-25=41', '64-21=43']
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 41+43=84, Resulting Numbers: [84]
84,17 unequal: No Solution
Exploring Operation: 41*43=1763, Resulting Numbers: [1763]
1763,17 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: 17:[21, 27], Operations: ['64-25=39', '66-39=27']
Exploring Operation: 21+27=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 21*27=567, Resulting Numbers: [567]
567,17 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[66, 18], Operations: ['64-25=39', '39-21=18']
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,17 unequal: No Solution
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[39, 45], Operations: ['64-25=39', '66-21=45']
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 39*45=1755, Resulting Numbers: [1755]
1755,17 unequal: No Solution
Exploring Operation: 39+45=84, Resulting Numbers: [84]
84,17 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
26,
68,
6,
23
] | 13 | [
"68-26=42",
"6+23=29",
"42-29=13"
] | Current State: 13:[26, 68, 6, 23], Operations: []
Exploring Operation: 68-26=42, Resulting Numbers: [6, 23, 42]
Generated Node #2: [6, 23, 42] from Operation: 68-26=42
Current State: 13:[6, 23, 42], Operations: ['68-26=42']
Exploring Operation: 6+23=29, Resulting Numbers: [42, 29]
Generated Node #3: [42, 29] from Operation: 6+23=29
Current State: 13:[42, 29], Operations: ['68-26=42', '6+23=29']
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[26, 68, 6, 23], Operations: []
Exploring Operation: 68-23=45, Resulting Numbers: [26, 6, 45]
Generated Node #0,0: 13:[26, 6, 45] Operation: 68-23=45
Exploring Operation: 68-26=42, Resulting Numbers: [6, 23, 42]
Generated Node #0,1: 13:[6, 23, 42] Operation: 68-26=42
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[6, 23, 42], Operations: ['68-26=42']
Exploring Operation: 42-23=19, Resulting Numbers: [6, 19]
Generated Node #0,1,0: 13:[6, 19] Operation: 42-23=19
Exploring Operation: 42/6=7, Resulting Numbers: [23, 7]
Generated Node #0,1,1: 13:[23, 7] Operation: 42/6=7
Moving to Node #0,1,0
Current State: 13:[6, 19], Operations: ['68-26=42', '42-23=19']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[26, 68, 6, 23], Operations: []
Exploring Operation: 68-26=42, Resulting Numbers: [6, 23, 42]
Generated Node #0,1: 13:[6, 23, 42] Operation: 68-26=42
Moving to Node #0,1
Current State: 13:[6, 23, 42], Operations: ['68-26=42']
Exploring Operation: 42-23=19, Resulting Numbers: [6, 19]
Generated Node #0,1,0: 13:[6, 19] Operation: 42-23=19
Moving to Node #0,1,0
Current State: 13:[6, 19], Operations: ['68-26=42', '42-23=19']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
5,
11,
61,
20
] | 50 | [
"5*20=100",
"61-11=50",
"100-50=50"
] | Current State: 50:[5, 11, 61, 20], Operations: []
Exploring Operation: 5*20=100, Resulting Numbers: [11, 61, 100]
Generated Node #2: [11, 61, 100] from Operation: 5*20=100
Current State: 50:[11, 61, 100], Operations: ['5*20=100']
Exploring Operation: 61-11=50, Resulting Numbers: [100, 50]
Generated Node #3: [100, 50] from Operation: 61-11=50
Current State: 50:[100, 50], Operations: ['5*20=100', '61-11=50']
Exploring Operation: 100-50=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[5, 11, 61, 20], Operations: []
Exploring Operation: 61-5=56, Resulting Numbers: [11, 20, 56]
Generated Node #0,0: 50:[11, 20, 56] Operation: 61-5=56
Exploring Operation: 61-11=50, Resulting Numbers: [5, 20, 50]
Generated Node #0,1: 50:[5, 20, 50] Operation: 61-11=50
Exploring Operation: 61-20=41, Resulting Numbers: [5, 11, 41]
Generated Node #0,2: 50:[5, 11, 41] Operation: 61-20=41
Moving to Node #0,1
Current State: 50:[5, 20, 50], Operations: ['61-11=50']
Exploring Operation: 5+20=25, Resulting Numbers: [50, 25]
Generated Node #0,1,0: 50:[50, 25] Operation: 5+20=25
Exploring Operation: 20-5=15, Resulting Numbers: [50, 15]
Generated Node #0,1,1: 50:[50, 15] Operation: 20-5=15
Exploring Operation: 20/5=4, Resulting Numbers: [50, 4]
Generated Node #0,1,2: 50:[50, 4] Operation: 20/5=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[50, 25], Operations: ['61-11=50', '5+20=25']
Exploring Operation: 50+25=75, Resulting Numbers: [75]
75,50 unequal: No Solution
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 50:[50, 4], Operations: ['61-11=50', '20/5=4']
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Exploring Operation: 50*4=200, Resulting Numbers: [200]
200,50 unequal: No Solution
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[50, 15], Operations: ['61-11=50', '20-5=15']
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 50*15=750, Resulting Numbers: [750]
750,50 unequal: No Solution
Exploring Operation: 50+15=65, Resulting Numbers: [65]
65,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 50:[5, 11, 41], Operations: ['61-20=41']
Exploring Operation: 41-11=30, Resulting Numbers: [5, 30]
Generated Node #0,2,0: 50:[5, 30] Operation: 41-11=30
Exploring Operation: 5+41=46, Resulting Numbers: [11, 46]
Generated Node #0,2,1: 50:[11, 46] Operation: 5+41=46
Exploring Operation: 11+41=52, Resulting Numbers: [5, 52]
Generated Node #0,2,2: 50:[5, 52] Operation: 11+41=52
Moving to Node #0,0
Current State: 50:[11, 20, 56], Operations: ['61-5=56']
Exploring Operation: 11+20=31, Resulting Numbers: [56, 31]
Generated Node #0,0,0: 50:[56, 31] Operation: 11+20=31
Exploring Operation: 56-11=45, Resulting Numbers: [20, 45]
Generated Node #0,0,1: 50:[20, 45] Operation: 56-11=45
Exploring Operation: 20-11=9, Resulting Numbers: [56, 9]
Generated Node #0,0,2: 50:[56, 9] Operation: 20-11=9
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 50:[56, 9], Operations: ['61-5=56', '20-11=9']
Exploring Operation: 56*9=504, Resulting Numbers: [504]
504,50 unequal: No Solution
Exploring Operation: 56+9=65, Resulting Numbers: [65]
65,50 unequal: No Solution
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[20, 45], Operations: ['61-5=56', '56-11=45']
Exploring Operation: 20*45=900, Resulting Numbers: [900]
900,50 unequal: No Solution
Exploring Operation: 45-20=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 20+45=65, Resulting Numbers: [65]
65,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[56, 31], Operations: ['61-5=56', '11+20=31']
Exploring Operation: 56+31=87, Resulting Numbers: [87]
87,50 unequal: No Solution
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 56*31=1736, Resulting Numbers: [1736]
1736,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 50:[5, 52], Operations: ['61-20=41', '11+41=52']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 5*52=260, Resulting Numbers: [260]
260,50 unequal: No Solution
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[5, 30], Operations: ['61-20=41', '41-11=30']
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[11, 46], Operations: ['61-20=41', '5+41=46']
Exploring Operation: 11*46=506, Resulting Numbers: [506]
506,50 unequal: No Solution
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 11+46=57, Resulting Numbers: [57]
57,50 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
64,
74,
58,
82
] | 34 | [
"74-64=10",
"82-58=24",
"10+24=34"
] | Current State: 34:[64, 74, 58, 82], Operations: []
Exploring Operation: 74-64=10, Resulting Numbers: [58, 82, 10]
Generated Node #2: [58, 82, 10] from Operation: 74-64=10
Current State: 34:[58, 82, 10], Operations: ['74-64=10']
Exploring Operation: 82-58=24, Resulting Numbers: [10, 24]
Generated Node #3: [10, 24] from Operation: 82-58=24
Current State: 34:[10, 24], Operations: ['74-64=10', '82-58=24']
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[64, 74, 58, 82], Operations: []
Exploring Operation: 82-74=8, Resulting Numbers: [64, 58, 8]
Generated Node #0,0: 34:[64, 58, 8] Operation: 82-74=8
Exploring Operation: 82-64=18, Resulting Numbers: [74, 58, 18]
Generated Node #0,1: 34:[74, 58, 18] Operation: 82-64=18
Exploring Operation: 82-58=24, Resulting Numbers: [64, 74, 24]
Generated Node #0,2: 34:[64, 74, 24] Operation: 82-58=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[64, 58, 8], Operations: ['82-74=8']
Exploring Operation: 64-58=6, Resulting Numbers: [8, 6]
Generated Node #0,0,0: 34:[8, 6] Operation: 64-58=6
Exploring Operation: 64-8=56, Resulting Numbers: [58, 56]
Generated Node #0,0,1: 34:[58, 56] Operation: 64-8=56
Exploring Operation: 64/8=8, Resulting Numbers: [58, 8]
Generated Node #0,0,2: 34:[58, 8] Operation: 64/8=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[8, 6], Operations: ['82-74=8', '64-58=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,34 unequal: No Solution
No 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: 34:[58, 8], Operations: ['82-74=8', '64/8=8']
Exploring Operation: 58+8=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 58*8=464, Resulting Numbers: [464]
464,34 unequal: No Solution
No 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: 34:[58, 56], Operations: ['82-74=8', '64-8=56']
Exploring Operation: 58*56=3248, Resulting Numbers: [3248]
3248,34 unequal: No Solution
Exploring Operation: 58+56=114, Resulting Numbers: [114]
114,34 unequal: No Solution
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,34 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: 34:[74, 58, 18], Operations: ['82-64=18']
Exploring Operation: 58-18=40, Resulting Numbers: [74, 40]
Generated Node #0,1,0: 34:[74, 40] Operation: 58-18=40
Exploring Operation: 74-18=56, Resulting Numbers: [58, 56]
Generated Node #0,1,1: 34:[58, 56] Operation: 74-18=56
Exploring Operation: 74-58=16, Resulting Numbers: [18, 16]
Generated Node #0,1,2: 34:[18, 16] Operation: 74-58=16
Moving to Node #0,1,2
Current State: 34:[18, 16], Operations: ['82-64=18', '74-58=16']
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,34 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[64, 74, 58, 82], Operations: []
Exploring Operation: 82-64=18, Resulting Numbers: [74, 58, 18]
Generated Node #0,1: 34:[74, 58, 18] Operation: 82-64=18
Moving to Node #0,1
Current State: 34:[74, 58, 18], Operations: ['82-64=18']
Exploring Operation: 74-58=16, Resulting Numbers: [18, 16]
Generated Node #0,1,2: 34:[18, 16] Operation: 74-58=16
Moving to Node #0,1,2
Current State: 34:[18, 16], Operations: ['82-64=18', '74-58=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
47,
55,
67,
36
] | 23 | [
"55-47=8",
"67-36=31",
"31-8=23"
] | Current State: 23:[47, 55, 67, 36], Operations: []
Exploring Operation: 55-47=8, Resulting Numbers: [67, 36, 8]
Generated Node #2: [67, 36, 8] from Operation: 55-47=8
Current State: 23:[67, 36, 8], Operations: ['55-47=8']
Exploring Operation: 67-36=31, Resulting Numbers: [8, 31]
Generated Node #3: [8, 31] from Operation: 67-36=31
Current State: 23:[8, 31], Operations: ['55-47=8', '67-36=31']
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[47, 55, 67, 36], Operations: []
Exploring Operation: 67-55=12, Resulting Numbers: [47, 36, 12]
Generated Node #0,0: 23:[47, 36, 12] Operation: 67-55=12
Exploring Operation: 67-47=20, Resulting Numbers: [55, 36, 20]
Generated Node #0,1: 23:[55, 36, 20] Operation: 67-47=20
Exploring Operation: 67-36=31, Resulting Numbers: [47, 55, 31]
Generated Node #0,2: 23:[47, 55, 31] Operation: 67-36=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[47, 36, 12], Operations: ['67-55=12']
Exploring Operation: 36-12=24, Resulting Numbers: [47, 24]
Generated Node #0,0,0: 23:[47, 24] Operation: 36-12=24
Exploring Operation: 47-36=11, Resulting Numbers: [12, 11]
Generated Node #0,0,1: 23:[12, 11] Operation: 47-36=11
Exploring Operation: 47-12=35, Resulting Numbers: [36, 35]
Generated Node #0,0,2: 23:[36, 35] Operation: 47-12=35
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[12, 11], Operations: ['67-55=12', '47-36=11']
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,23 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[47, 55, 67, 36], Operations: []
Exploring Operation: 67-55=12, Resulting Numbers: [47, 36, 12]
Generated Node #0,0: 23:[47, 36, 12] Operation: 67-55=12
Moving to Node #0,0
Current State: 23:[47, 36, 12], Operations: ['67-55=12']
Exploring Operation: 47-36=11, Resulting Numbers: [12, 11]
Generated Node #0,0,1: 23:[12, 11] Operation: 47-36=11
Moving to Node #0,0,1
Current State: 23:[12, 11], Operations: ['67-55=12', '47-36=11']
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
9,
27,
57,
69
] | 90 | [
"9+27=36",
"57+69=126",
"126-36=90"
] | Current State: 90:[9, 27, 57, 69], Operations: []
Exploring Operation: 9+27=36, Resulting Numbers: [57, 69, 36]
Generated Node #2: [57, 69, 36] from Operation: 9+27=36
Current State: 90:[57, 69, 36], Operations: ['9+27=36']
Exploring Operation: 57+69=126, Resulting Numbers: [36, 126]
Generated Node #3: [36, 126] from Operation: 57+69=126
Current State: 90:[36, 126], Operations: ['9+27=36', '57+69=126']
Exploring Operation: 126-36=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[9, 27, 57, 69], Operations: []
Exploring Operation: 69-27=42, Resulting Numbers: [9, 57, 42]
Generated Node #0,0: 90:[9, 57, 42] Operation: 69-27=42
Exploring Operation: 69-57=12, Resulting Numbers: [9, 27, 12]
Generated Node #0,1: 90:[9, 27, 12] Operation: 69-57=12
Exploring Operation: 27+69=96, Resulting Numbers: [9, 57, 96]
Generated Node #0,2: 90:[9, 57, 96] Operation: 27+69=96
Exploring Operation: 57-27=30, Resulting Numbers: [9, 69, 30]
Generated Node #0,3: 90:[9, 69, 30] Operation: 57-27=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[9, 27, 12], Operations: ['69-57=12']
Exploring Operation: 27-9=18, Resulting Numbers: [12, 18]
Generated Node #0,1,0: 90:[12, 18] Operation: 27-9=18
Exploring Operation: 27-12=15, Resulting Numbers: [9, 15]
Generated Node #0,1,1: 90:[9, 15] Operation: 27-12=15
Exploring Operation: 12-9=3, Resulting Numbers: [27, 3]
Generated Node #0,1,2: 90:[27, 3] Operation: 12-9=3
Exploring Operation: 27/9=3, Resulting Numbers: [12, 3]
Generated Node #0,1,3: 90:[12, 3] Operation: 27/9=3
Moving to Node #0,1,1
Current State: 90:[9, 15], Operations: ['69-57=12', '27-12=15']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,90 unequal: No Solution
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,90 unequal: No Solution
Moving to Node #0,1,3
Current State: 90:[12, 3], Operations: ['69-57=12', '27/9=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[12, 18], Operations: ['69-57=12', '27-9=18']
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[27, 3], Operations: ['69-57=12', '12-9=3']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,90 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,90 unequal: No Solution
Exploring Operation: 27+3=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,0
Current State: 90:[9, 57, 42], Operations: ['69-27=42']
Exploring Operation: 42-9=33, Resulting Numbers: [57, 33]
Generated Node #0,0,0: 90:[57, 33] Operation: 42-9=33
Exploring Operation: 57+42=99, Resulting Numbers: [9, 99]
Generated Node #0,0,1: 90:[9, 99] Operation: 57+42=99
Exploring Operation: 57-42=15, Resulting Numbers: [9, 15]
Generated Node #0,0,2: 90:[9, 15] Operation: 57-42=15
Exploring Operation: 57-9=48, Resulting Numbers: [42, 48]
Generated Node #0,0,3: 90:[42, 48] Operation: 57-9=48
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 90:[9, 15], Operations: ['69-27=42', '57-42=15']
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,90 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,90 unequal: No Solution
No 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: 90:[42, 48], Operations: ['69-27=42', '57-9=48']
Exploring Operation: 42*48=2016, Resulting Numbers: [2016]
2016,90 unequal: No Solution
Exploring Operation: 42+48=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[9, 27, 57, 69], Operations: []
Exploring Operation: 69-27=42, Resulting Numbers: [9, 57, 42]
Generated Node #0,0: 90:[9, 57, 42] Operation: 69-27=42
Moving to Node #0,0
Current State: 90:[9, 57, 42], Operations: ['69-27=42']
Exploring Operation: 57-9=48, Resulting Numbers: [42, 48]
Generated Node #0,0,3: 90:[42, 48] Operation: 57-9=48
Moving to Node #0,0,3
Current State: 90:[42, 48], Operations: ['69-27=42', '57-9=48']
Exploring Operation: 42+48=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_4 | sum_heuristic |
[
24,
69,
9,
12
] | 61 | [
"12-9=3",
"24/3=8",
"69-8=61"
] | Current State: 61:[24, 69, 9, 12], Operations: []
Exploring Operation: 12-9=3, Resulting Numbers: [24, 69, 3]
Generated Node #2: [24, 69, 3] from Operation: 12-9=3
Current State: 61:[24, 69, 3], Operations: ['12-9=3']
Exploring Operation: 24/3=8, Resulting Numbers: [69, 8]
Generated Node #3: [69, 8] from Operation: 24/3=8
Current State: 61:[69, 8], Operations: ['12-9=3', '24/3=8']
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[24, 69, 9, 12], Operations: []
Exploring Operation: 24+12=36, Resulting Numbers: [69, 9, 36]
Generated Node #0,0: 61:[69, 9, 36] Operation: 24+12=36
Exploring Operation: 24+9=33, Resulting Numbers: [69, 12, 33]
Generated Node #0,1: 61:[69, 12, 33] Operation: 24+9=33
Exploring Operation: 69-9=60, Resulting Numbers: [24, 12, 60]
Generated Node #0,2: 61:[24, 12, 60] Operation: 69-9=60
Exploring Operation: 9+12=21, Resulting Numbers: [24, 69, 21]
Generated Node #0,3: 61:[24, 69, 21] Operation: 9+12=21
Exploring Operation: 9*12=108, Resulting Numbers: [24, 69, 108]
Generated Node #0,4: 61:[24, 69, 108] Operation: 9*12=108
Moving to Node #0,0
Current State: 61:[69, 9, 36], Operations: ['24+12=36']
Exploring Operation: 69+9=78, Resulting Numbers: [36, 78]
Generated Node #0,0,0: 61:[36, 78] Operation: 69+9=78
Exploring Operation: 9+36=45, Resulting Numbers: [69, 45]
Generated Node #0,0,1: 61:[69, 45] Operation: 9+36=45
Exploring Operation: 36-9=27, Resulting Numbers: [69, 27]
Generated Node #0,0,2: 61:[69, 27] Operation: 36-9=27
Exploring Operation: 36/9=4, Resulting Numbers: [69, 4]
Generated Node #0,0,3: 61:[69, 4] Operation: 36/9=4
Exploring Operation: 69-9=60, Resulting Numbers: [36, 60]
Generated Node #0,0,4: 61:[36, 60] Operation: 69-9=60
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[69, 45], Operations: ['24+12=36', '9+36=45']
Exploring Operation: 69*45=3105, Resulting Numbers: [3105]
3105,61 unequal: No Solution
Exploring Operation: 69-45=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 69+45=114, Resulting Numbers: [114]
114,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 61:[36, 60], Operations: ['24+12=36', '69-9=60']
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 36*60=2160, Resulting Numbers: [2160]
2160,61 unequal: No Solution
Exploring Operation: 36+60=96, Resulting Numbers: [96]
96,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[36, 78], Operations: ['24+12=36', '69+9=78']
Exploring Operation: 78-36=42, Resulting Numbers: [42]
42,61 unequal: No Solution
Exploring Operation: 36*78=2808, Resulting Numbers: [2808]
2808,61 unequal: No Solution
Exploring Operation: 36+78=114, Resulting Numbers: [114]
114,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[69, 27], Operations: ['24+12=36', '36-9=27']
Exploring Operation: 69*27=1863, Resulting Numbers: [1863]
1863,61 unequal: No Solution
Exploring Operation: 69+27=96, Resulting Numbers: [96]
96,61 unequal: No Solution
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 61:[69, 4], Operations: ['24+12=36', '36/9=4']
Exploring Operation: 69+4=73, Resulting Numbers: [73]
73,61 unequal: No Solution
Exploring Operation: 69*4=276, Resulting Numbers: [276]
276,61 unequal: No Solution
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 61:[24, 69, 21], Operations: ['9+12=21']
Exploring Operation: 69+21=90, Resulting Numbers: [24, 90]
Generated Node #0,3,0: 61:[24, 90] Operation: 69+21=90
Exploring Operation: 69-21=48, Resulting Numbers: [24, 48]
Generated Node #0,3,1: 61:[24, 48] Operation: 69-21=48
Exploring Operation: 24+21=45, Resulting Numbers: [69, 45]
Generated Node #0,3,2: 61:[69, 45] Operation: 24+21=45
Exploring Operation: 69-24=45, Resulting Numbers: [21, 45]
Generated Node #0,3,3: 61:[21, 45] Operation: 69-24=45
Exploring Operation: 24-21=3, Resulting Numbers: [69, 3]
Generated Node #0,3,4: 61:[69, 3] Operation: 24-21=3
Moving to Node #0,1
Current State: 61:[69, 12, 33], Operations: ['24+9=33']
Exploring Operation: 69+12=81, Resulting Numbers: [33, 81]
Generated Node #0,1,0: 61:[33, 81] Operation: 69+12=81
Exploring Operation: 12+33=45, Resulting Numbers: [69, 45]
Generated Node #0,1,1: 61:[69, 45] Operation: 12+33=45
Exploring Operation: 69-33=36, Resulting Numbers: [12, 36]
Generated Node #0,1,2: 61:[12, 36] Operation: 69-33=36
Exploring Operation: 33-12=21, Resulting Numbers: [69, 21]
Generated Node #0,1,3: 61:[69, 21] Operation: 33-12=21
Exploring Operation: 69-12=57, Resulting Numbers: [33, 57]
Generated Node #0,1,4: 61:[33, 57] Operation: 69-12=57
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[69, 45], Operations: ['24+9=33', '12+33=45']
Exploring Operation: 69-45=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 69*45=3105, Resulting Numbers: [3105]
3105,61 unequal: No Solution
Exploring Operation: 69+45=114, Resulting Numbers: [114]
114,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 61:[33, 57], Operations: ['24+9=33', '69-12=57']
Exploring Operation: 33*57=1881, Resulting Numbers: [1881]
1881,61 unequal: No Solution
Exploring Operation: 33+57=90, Resulting Numbers: [90]
90,61 unequal: No Solution
Exploring Operation: 57-33=24, Resulting Numbers: [24]
24,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[33, 81], Operations: ['24+9=33', '69+12=81']
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 33+81=114, Resulting Numbers: [114]
114,61 unequal: No Solution
Exploring Operation: 33*81=2673, Resulting Numbers: [2673]
2673,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 61:[69, 21], Operations: ['24+9=33', '33-12=21']
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,61 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[12, 36], Operations: ['24+9=33', '69-33=36']
Exploring Operation: 12*36=432, Resulting Numbers: [432]
432,61 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 61:[24, 12, 60], Operations: ['69-9=60']
Exploring Operation: 24/12=2, Resulting Numbers: [60, 2]
Generated Node #0,2,0: 61:[60, 2] Operation: 24/12=2
Exploring Operation: 12+60=72, Resulting Numbers: [24, 72]
Generated Node #0,2,1: 61:[24, 72] Operation: 12+60=72
Exploring Operation: 24+12=36, Resulting Numbers: [60, 36]
Generated Node #0,2,2: 61:[60, 36] Operation: 24+12=36
Exploring Operation: 24-12=12, Resulting Numbers: [60, 12]
Generated Node #0,2,3: 61:[60, 12] Operation: 24-12=12
Exploring Operation: 60-12=48, Resulting Numbers: [24, 48]
Generated Node #0,2,4: 61:[24, 48] Operation: 60-12=48
Moving to Node #0,4
Current State: 61:[24, 69, 108], Operations: ['9*12=108']
Exploring Operation: 24+69=93, Resulting Numbers: [108, 93]
Generated Node #0,4,0: 61:[108, 93] Operation: 24+69=93
Exploring Operation: 24+108=132, Resulting Numbers: [69, 132]
Generated Node #0,4,1: 61:[69, 132] Operation: 24+108=132
Exploring Operation: 108-24=84, Resulting Numbers: [69, 84]
Generated Node #0,4,2: 61:[69, 84] Operation: 108-24=84
Exploring Operation: 108-69=39, Resulting Numbers: [24, 39]
Generated Node #0,4,3: 61:[24, 39] Operation: 108-69=39
Exploring Operation: 69-24=45, Resulting Numbers: [108, 45]
Generated Node #0,4,4: 61:[108, 45] Operation: 69-24=45
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 61:[69, 84], Operations: ['9*12=108', '108-24=84']
Exploring Operation: 69+84=153, Resulting Numbers: [153]
153,61 unequal: No Solution
Exploring Operation: 84-69=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Exploring Operation: 69*84=5796, Resulting Numbers: [5796]
5796,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,4,3
Current State: 61:[24, 39], Operations: ['9*12=108', '108-69=39']
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,61 unequal: No Solution
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,61 unequal: No Solution
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,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,4,4
Current State: 61:[108, 45], Operations: ['9*12=108', '69-24=45']
Exploring Operation: 108+45=153, Resulting Numbers: [153]
153,61 unequal: No Solution
Exploring Operation: 108*45=4860, Resulting Numbers: [4860]
4860,61 unequal: No Solution
Exploring Operation: 108-45=63, Resulting Numbers: [63]
63,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,4,0
Current State: 61:[108, 93], Operations: ['9*12=108', '24+69=93']
Exploring Operation: 108+93=201, Resulting Numbers: [201]
201,61 unequal: No Solution
Exploring Operation: 108-93=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Exploring Operation: 108*93=10044, Resulting Numbers: [10044]
10044,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,4,1
Current State: 61:[69, 132], Operations: ['9*12=108', '24+108=132']
Exploring Operation: 69+132=201, Resulting Numbers: [201]
201,61 unequal: No Solution
Exploring Operation: 132-69=63, Resulting Numbers: [63]
63,61 unequal: No Solution
Exploring Operation: 69*132=9108, Resulting Numbers: [9108]
9108,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 61:[69, 45], Operations: ['9+12=21', '24+21=45']
Exploring Operation: 69+45=114, Resulting Numbers: [114]
114,61 unequal: No Solution
Exploring Operation: 69*45=3105, Resulting Numbers: [3105]
3105,61 unequal: No Solution
Exploring Operation: 69-45=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[60, 36], Operations: ['69-9=60', '24+12=36']
Exploring Operation: 60*36=2160, Resulting Numbers: [2160]
2160,61 unequal: No Solution
Exploring Operation: 60+36=96, Resulting Numbers: [96]
96,61 unequal: No Solution
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[24, 72], Operations: ['69-9=60', '12+60=72']
Exploring Operation: 24*72=1728, Resulting Numbers: [1728]
1728,61 unequal: No Solution
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Exploring Operation: 24+72=96, Resulting Numbers: [96]
96,61 unequal: No Solution
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Moving to Node #0,2,4
Current State: 61:[24, 48], Operations: ['69-9=60', '60-12=48']
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 24*48=1152, Resulting Numbers: [1152]
1152,61 unequal: No Solution
Exploring Operation: 24+48=72, Resulting Numbers: [72]
72,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[24, 48], Operations: ['9+12=21', '69-21=48']
Exploring Operation: 24*48=1152, Resulting Numbers: [1152]
1152,61 unequal: No Solution
Exploring Operation: 24+48=72, Resulting Numbers: [72]
72,61 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Moving to Node #0,2,3
Current State: 61:[60, 12], Operations: ['69-9=60', '24-12=12']
Exploring Operation: 60/12=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 60+12=72, Resulting Numbers: [72]
72,61 unequal: No Solution
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 60*12=720, Resulting Numbers: [720]
720,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[21, 45], Operations: ['9+12=21', '69-24=45']
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 21+45=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 21*45=945, Resulting Numbers: [945]
945,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[60, 2], Operations: ['69-9=60', '24/12=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,61 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Moving to Node #0,3,4
Current State: 61:[69, 3], Operations: ['9+12=21', '24-21=3']
Exploring Operation: 69*3=207, Resulting Numbers: [207]
207,61 unequal: No Solution
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,61 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,61 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[24, 90], Operations: ['9+12=21', '69+21=90']
Exploring Operation: 24+90=114, Resulting Numbers: [114]
114,61 unequal: No Solution
Exploring Operation: 24*90=2160, Resulting Numbers: [2160]
2160,61 unequal: No Solution
Exploring Operation: 90-24=66, Resulting Numbers: [66]
66,61 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
82,
40,
3,
64
] | 34 | [
"82-64=18",
"18/3=6",
"40-6=34"
] | Current State: 34:[82, 40, 3, 64], Operations: []
Exploring Operation: 82-64=18, Resulting Numbers: [40, 3, 18]
Generated Node #2: [40, 3, 18] from Operation: 82-64=18
Current State: 34:[40, 3, 18], Operations: ['82-64=18']
Exploring Operation: 18/3=6, Resulting Numbers: [40, 6]
Generated Node #3: [40, 6] from Operation: 18/3=6
Current State: 34:[40, 6], Operations: ['82-64=18', '18/3=6']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[82, 40, 3, 64], Operations: []
Exploring Operation: 64-40=24, Resulting Numbers: [82, 3, 24]
Generated Node #0,0: 34:[82, 3, 24] Operation: 64-40=24
Exploring Operation: 82-64=18, Resulting Numbers: [40, 3, 18]
Generated Node #0,1: 34:[40, 3, 18] Operation: 82-64=18
Exploring Operation: 82-40=42, Resulting Numbers: [3, 64, 42]
Generated Node #0,2: 34:[3, 64, 42] Operation: 82-40=42
Moving to Node #0,1
Current State: 34:[40, 3, 18], Operations: ['82-64=18']
Exploring Operation: 40-3=37, Resulting Numbers: [18, 37]
Generated Node #0,1,0: 34:[18, 37] Operation: 40-3=37
Exploring Operation: 40-18=22, Resulting Numbers: [3, 22]
Generated Node #0,1,1: 34:[3, 22] Operation: 40-18=22
Exploring Operation: 18-3=15, Resulting Numbers: [40, 15]
Generated Node #0,1,2: 34:[40, 15] Operation: 18-3=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[18, 37], Operations: ['82-64=18', '40-3=37']
Exploring Operation: 18+37=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 18*37=666, Resulting Numbers: [666]
666,34 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[3, 22], Operations: ['82-64=18', '40-18=22']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[40, 15], Operations: ['82-64=18', '18-3=15']
Exploring Operation: 40*15=600, Resulting Numbers: [600]
600,34 unequal: No Solution
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 34:[3, 64, 42], Operations: ['82-40=42']
Exploring Operation: 64-42=22, Resulting Numbers: [3, 22]
Generated Node #0,2,0: 34:[3, 22] Operation: 64-42=22
Exploring Operation: 64-3=61, Resulting Numbers: [42, 61]
Generated Node #0,2,1: 34:[42, 61] Operation: 64-3=61
Exploring Operation: 42/3=14, Resulting Numbers: [64, 14]
Generated Node #0,2,2: 34:[64, 14] Operation: 42/3=14
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 34:[3, 22], Operations: ['82-40=42', '64-42=22']
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 34:[64, 14], Operations: ['82-40=42', '42/3=14']
Exploring Operation: 64-14=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 64*14=896, Resulting Numbers: [896]
896,34 unequal: No Solution
Exploring Operation: 64+14=78, Resulting Numbers: [78]
78,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 34:[42, 61], Operations: ['82-40=42', '64-3=61']
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 42*61=2562, Resulting Numbers: [2562]
2562,34 unequal: No Solution
Exploring Operation: 42+61=103, Resulting Numbers: [103]
103,34 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: 34:[82, 3, 24], Operations: ['64-40=24']
Exploring Operation: 24-3=21, Resulting Numbers: [82, 21]
Generated Node #0,0,0: 34:[82, 21] Operation: 24-3=21
Exploring Operation: 82-3=79, Resulting Numbers: [24, 79]
Generated Node #0,0,1: 34:[24, 79] Operation: 82-3=79
Exploring Operation: 82-24=58, Resulting Numbers: [3, 58]
Generated Node #0,0,2: 34:[3, 58] Operation: 82-24=58
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 34:[3, 58], Operations: ['64-40=24', '82-24=58']
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,34 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[82, 21], Operations: ['64-40=24', '24-3=21']
Exploring Operation: 82+21=103, Resulting Numbers: [103]
103,34 unequal: No Solution
Exploring Operation: 82*21=1722, Resulting Numbers: [1722]
1722,34 unequal: No Solution
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[24, 79], Operations: ['64-40=24', '82-3=79']
Exploring Operation: 24+79=103, Resulting Numbers: [103]
103,34 unequal: No Solution
Exploring Operation: 79-24=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 24*79=1896, Resulting Numbers: [1896]
1896,34 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 |
[
63,
25,
30,
85
] | 17 | [
"63-25=38",
"85-30=55",
"55-38=17"
] | Current State: 17:[63, 25, 30, 85], Operations: []
Exploring Operation: 63-25=38, Resulting Numbers: [30, 85, 38]
Generated Node #2: [30, 85, 38] from Operation: 63-25=38
Current State: 17:[30, 85, 38], Operations: ['63-25=38']
Exploring Operation: 85-30=55, Resulting Numbers: [38, 55]
Generated Node #3: [38, 55] from Operation: 85-30=55
Current State: 17:[38, 55], Operations: ['63-25=38', '85-30=55']
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[63, 25, 30, 85], Operations: []
Exploring Operation: 63-30=33, Resulting Numbers: [25, 85, 33]
Generated Node #0,0: 17:[25, 85, 33] Operation: 63-30=33
Exploring Operation: 85-63=22, Resulting Numbers: [25, 30, 22]
Generated Node #0,1: 17:[25, 30, 22] Operation: 85-63=22
Exploring Operation: 85-30=55, Resulting Numbers: [63, 25, 55]
Generated Node #0,2: 17:[63, 25, 55] Operation: 85-30=55
Moving to Node #0,1
Current State: 17:[25, 30, 22], Operations: ['85-63=22']
Exploring Operation: 25-22=3, Resulting Numbers: [30, 3]
Generated Node #0,1,0: 17:[30, 3] Operation: 25-22=3
Exploring Operation: 30-22=8, Resulting Numbers: [25, 8]
Generated Node #0,1,1: 17:[25, 8] Operation: 30-22=8
Exploring Operation: 30-25=5, Resulting Numbers: [22, 5]
Generated Node #0,1,2: 17:[22, 5] Operation: 30-25=5
Moving to Node #0,0
Current State: 17:[25, 85, 33], Operations: ['63-30=33']
Exploring Operation: 85-33=52, Resulting Numbers: [25, 52]
Generated Node #0,0,0: 17:[25, 52] Operation: 85-33=52
Exploring Operation: 33-25=8, Resulting Numbers: [85, 8]
Generated Node #0,0,1: 17:[85, 8] Operation: 33-25=8
Exploring Operation: 85-25=60, Resulting Numbers: [33, 60]
Generated Node #0,0,2: 17:[33, 60] Operation: 85-25=60
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[25, 52], Operations: ['63-30=33', '85-33=52']
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,17 unequal: No Solution
Exploring Operation: 25+52=77, Resulting Numbers: [77]
77,17 unequal: No Solution
Exploring Operation: 25*52=1300, Resulting Numbers: [1300]
1300,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 17:[33, 60], Operations: ['63-30=33', '85-25=60']
Exploring Operation: 60-33=27, Resulting Numbers: [27]
27,17 unequal: No Solution
Exploring Operation: 33+60=93, Resulting Numbers: [93]
93,17 unequal: No Solution
Exploring Operation: 33*60=1980, Resulting Numbers: [1980]
1980,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[85, 8], Operations: ['63-30=33', '33-25=8']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,17 unequal: No Solution
Exploring Operation: 85*8=680, Resulting Numbers: [680]
680,17 unequal: No Solution
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 17:[63, 25, 55], Operations: ['85-30=55']
Exploring Operation: 63-25=38, Resulting Numbers: [55, 38]
Generated Node #0,2,0: 17:[55, 38] Operation: 63-25=38
Exploring Operation: 63-55=8, Resulting Numbers: [25, 8]
Generated Node #0,2,1: 17:[25, 8] Operation: 63-55=8
Exploring Operation: 55-25=30, Resulting Numbers: [63, 30]
Generated Node #0,2,2: 17:[63, 30] Operation: 55-25=30
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[25, 8], Operations: ['85-30=55', '63-55=8']
Exploring Operation: 25*8=200, Resulting Numbers: [200]
200,17 unequal: No Solution
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,17 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[63, 25, 30, 85], Operations: []
Exploring Operation: 85-30=55, Resulting Numbers: [63, 25, 55]
Generated Node #0,2: 17:[63, 25, 55] Operation: 85-30=55
Moving to Node #0,2
Current State: 17:[63, 25, 55], Operations: ['85-30=55']
Exploring Operation: 63-55=8, Resulting Numbers: [25, 8]
Generated Node #0,2,1: 17:[25, 8] Operation: 63-55=8
Moving to Node #0,2,1
Current State: 17:[25, 8], Operations: ['85-30=55', '63-55=8']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_3 | mult_heuristic |
[
56,
6,
89,
87
] | 97 | [
"87-56=31",
"6*31=186",
"186-89=97"
] | Current State: 97:[56, 6, 89, 87], Operations: []
Exploring Operation: 87-56=31, Resulting Numbers: [6, 89, 31]
Generated Node #2: [6, 89, 31] from Operation: 87-56=31
Current State: 97:[6, 89, 31], Operations: ['87-56=31']
Exploring Operation: 6*31=186, Resulting Numbers: [89, 186]
Generated Node #3: [89, 186] from Operation: 6*31=186
Current State: 97:[89, 186], Operations: ['87-56=31', '6*31=186']
Exploring Operation: 186-89=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[56, 6, 89, 87], Operations: []
Exploring Operation: 56-6=50, Resulting Numbers: [89, 87, 50]
Generated Node #0,0: 97:[89, 87, 50] Operation: 56-6=50
Exploring Operation: 56+6=62, Resulting Numbers: [89, 87, 62]
Generated Node #0,1: 97:[89, 87, 62] Operation: 56+6=62
Exploring Operation: 89-6=83, Resulting Numbers: [56, 87, 83]
Generated Node #0,2: 97:[56, 87, 83] Operation: 89-6=83
Exploring Operation: 6+89=95, Resulting Numbers: [56, 87, 95]
Generated Node #0,3: 97:[56, 87, 95] Operation: 6+89=95
Exploring Operation: 6+87=93, Resulting Numbers: [56, 89, 93]
Generated Node #0,4: 97:[56, 89, 93] Operation: 6+87=93
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[89, 87, 62], Operations: ['56+6=62']
Exploring Operation: 87-62=25, Resulting Numbers: [89, 25]
Generated Node #0,1,0: 97:[89, 25] Operation: 87-62=25
Exploring Operation: 89+87=176, Resulting Numbers: [62, 176]
Generated Node #0,1,1: 97:[62, 176] Operation: 89+87=176
Exploring Operation: 89-62=27, Resulting Numbers: [87, 27]
Generated Node #0,1,2: 97:[87, 27] Operation: 89-62=27
Exploring Operation: 89+62=151, Resulting Numbers: [87, 151]
Generated Node #0,1,3: 97:[87, 151] Operation: 89+62=151
Exploring Operation: 87+62=149, Resulting Numbers: [89, 149]
Generated Node #0,1,4: 97:[89, 149] Operation: 87+62=149
Moving to Node #0,1,4
Current State: 97:[89, 149], Operations: ['56+6=62', '87+62=149']
Exploring Operation: 89*149=13261, Resulting Numbers: [13261]
13261,97 unequal: No Solution
Exploring Operation: 149-89=60, Resulting Numbers: [60]
60,97 unequal: No Solution
Exploring Operation: 89+149=238, Resulting Numbers: [238]
238,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[87, 151], Operations: ['56+6=62', '89+62=151']
Exploring Operation: 151-87=64, Resulting Numbers: [64]
64,97 unequal: No Solution
Exploring Operation: 87+151=238, Resulting Numbers: [238]
238,97 unequal: No Solution
Exploring Operation: 87*151=13137, Resulting Numbers: [13137]
13137,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[89, 25], Operations: ['56+6=62', '87-62=25']
Exploring Operation: 89+25=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Exploring Operation: 89*25=2225, Resulting Numbers: [2225]
2225,97 unequal: No Solution
Exploring Operation: 89-25=64, Resulting Numbers: [64]
64,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[87, 27], Operations: ['56+6=62', '89-62=27']
Exploring Operation: 87+27=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Exploring Operation: 87-27=60, Resulting Numbers: [60]
60,97 unequal: No Solution
Exploring Operation: 87*27=2349, Resulting Numbers: [2349]
2349,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[62, 176], Operations: ['56+6=62', '89+87=176']
Exploring Operation: 62*176=10912, Resulting Numbers: [10912]
10912,97 unequal: No Solution
Exploring Operation: 62+176=238, Resulting Numbers: [238]
238,97 unequal: No Solution
Exploring Operation: 176-62=114, Resulting Numbers: [114]
114,97 unequal: No Solution
No 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:[56, 87, 95], Operations: ['6+89=95']
Exploring Operation: 56+87=143, Resulting Numbers: [95, 143]
Generated Node #0,3,0: 97:[95, 143] Operation: 56+87=143
Exploring Operation: 87+95=182, Resulting Numbers: [56, 182]
Generated Node #0,3,1: 97:[56, 182] Operation: 87+95=182
Exploring Operation: 56+95=151, Resulting Numbers: [87, 151]
Generated Node #0,3,2: 97:[87, 151] Operation: 56+95=151
Exploring Operation: 95-56=39, Resulting Numbers: [87, 39]
Generated Node #0,3,3: 97:[87, 39] Operation: 95-56=39
Exploring Operation: 87-56=31, Resulting Numbers: [95, 31]
Generated Node #0,3,4: 97:[95, 31] Operation: 87-56=31
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 97:[95, 143], Operations: ['6+89=95', '56+87=143']
Exploring Operation: 95+143=238, Resulting Numbers: [238]
238,97 unequal: No Solution
Exploring Operation: 143-95=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Exploring Operation: 95*143=13585, Resulting Numbers: [13585]
13585,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:[87, 151], Operations: ['6+89=95', '56+95=151']
Exploring Operation: 87*151=13137, Resulting Numbers: [13137]
13137,97 unequal: No Solution
Exploring Operation: 87+151=238, Resulting Numbers: [238]
238,97 unequal: No Solution
Exploring Operation: 151-87=64, Resulting Numbers: [64]
64,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,3
Current State: 97:[87, 39], Operations: ['6+89=95', '95-56=39']
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Exploring Operation: 87*39=3393, Resulting Numbers: [3393]
3393,97 unequal: No Solution
Exploring Operation: 87+39=126, Resulting Numbers: [126]
126,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,4
Current State: 97:[95, 31], Operations: ['6+89=95', '87-56=31']
Exploring Operation: 95+31=126, Resulting Numbers: [126]
126,97 unequal: No Solution
Exploring Operation: 95*31=2945, Resulting Numbers: [2945]
2945,97 unequal: No Solution
Exploring Operation: 95-31=64, Resulting Numbers: [64]
64,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:[56, 182], Operations: ['6+89=95', '87+95=182']
Exploring Operation: 56+182=238, Resulting Numbers: [238]
238,97 unequal: No Solution
Exploring Operation: 56*182=10192, Resulting Numbers: [10192]
10192,97 unequal: No Solution
Exploring Operation: 182-56=126, Resulting Numbers: [126]
126,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,4
Current State: 97:[56, 89, 93], Operations: ['6+87=93']
Exploring Operation: 89-56=33, Resulting Numbers: [93, 33]
Generated Node #0,4,0: 97:[93, 33] Operation: 89-56=33
Exploring Operation: 93-56=37, Resulting Numbers: [89, 37]
Generated Node #0,4,1: 97:[89, 37] Operation: 93-56=37
Exploring Operation: 89+93=182, Resulting Numbers: [56, 182]
Generated Node #0,4,2: 97:[56, 182] Operation: 89+93=182
Exploring Operation: 56+89=145, Resulting Numbers: [93, 145]
Generated Node #0,4,3: 97:[93, 145] Operation: 56+89=145
Exploring Operation: 56+93=149, Resulting Numbers: [89, 149]
Generated Node #0,4,4: 97:[89, 149] Operation: 56+93=149
Moving to Node #0,4,3
Current State: 97:[93, 145], Operations: ['6+87=93', '56+89=145']
Exploring Operation: 93+145=238, Resulting Numbers: [238]
238,97 unequal: No Solution
Exploring Operation: 145-93=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Exploring Operation: 93*145=13485, Resulting Numbers: [13485]
13485,97 unequal: No Solution
Moving to Node #0,4,4
Current State: 97:[89, 149], Operations: ['6+87=93', '56+93=149']
Exploring Operation: 149-89=60, Resulting Numbers: [60]
60,97 unequal: No Solution
Exploring Operation: 89+149=238, Resulting Numbers: [238]
238,97 unequal: No Solution
Exploring Operation: 89*149=13261, Resulting Numbers: [13261]
13261,97 unequal: No Solution
Moving to Node #0,4,0
Current State: 97:[93, 33], Operations: ['6+87=93', '89-56=33']
Exploring Operation: 93*33=3069, Resulting Numbers: [3069]
3069,97 unequal: No Solution
Exploring Operation: 93+33=126, Resulting Numbers: [126]
126,97 unequal: No Solution
Exploring Operation: 93-33=60, Resulting Numbers: [60]
60,97 unequal: No Solution
Moving to Node #0,4,1
Current State: 97:[89, 37], Operations: ['6+87=93', '93-56=37']
Exploring Operation: 89-37=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Exploring Operation: 89+37=126, Resulting Numbers: [126]
126,97 unequal: No Solution
Exploring Operation: 89*37=3293, Resulting Numbers: [3293]
3293,97 unequal: No Solution
Moving to Node #0,4,2
Current State: 97:[56, 182], Operations: ['6+87=93', '89+93=182']
Exploring Operation: 56+182=238, Resulting Numbers: [238]
238,97 unequal: No Solution
Exploring Operation: 182-56=126, Resulting Numbers: [126]
126,97 unequal: No Solution
Exploring Operation: 56*182=10192, Resulting Numbers: [10192]
10192,97 unequal: No Solution
No 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: 97:[89, 87, 50], Operations: ['56-6=50']
Exploring Operation: 87-50=37, Resulting Numbers: [89, 37]
Generated Node #0,0,0: 97:[89, 37] Operation: 87-50=37
Exploring Operation: 89+50=139, Resulting Numbers: [87, 139]
Generated Node #0,0,1: 97:[87, 139] Operation: 89+50=139
Exploring Operation: 89+87=176, Resulting Numbers: [50, 176]
Generated Node #0,0,2: 97:[50, 176] Operation: 89+87=176
Exploring Operation: 89-50=39, Resulting Numbers: [87, 39]
Generated Node #0,0,3: 97:[87, 39] Operation: 89-50=39
Exploring Operation: 87+50=137, Resulting Numbers: [89, 137]
Generated Node #0,0,4: 97:[89, 137] Operation: 87+50=137
Moving to Node #0,0,4
Current State: 97:[89, 137], Operations: ['56-6=50', '87+50=137']
Exploring Operation: 89*137=12193, Resulting Numbers: [12193]
12193,97 unequal: No Solution
Exploring Operation: 137-89=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Exploring Operation: 89+137=226, Resulting Numbers: [226]
226,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[87, 139], Operations: ['56-6=50', '89+50=139']
Exploring Operation: 87*139=12093, Resulting Numbers: [12093]
12093,97 unequal: No Solution
Exploring Operation: 139-87=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Exploring Operation: 87+139=226, Resulting Numbers: [226]
226,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[89, 37], Operations: ['56-6=50', '87-50=37']
Exploring Operation: 89-37=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Exploring Operation: 89+37=126, Resulting Numbers: [126]
126,97 unequal: No Solution
Exploring Operation: 89*37=3293, Resulting Numbers: [3293]
3293,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[87, 39], Operations: ['56-6=50', '89-50=39']
Exploring Operation: 87+39=126, Resulting Numbers: [126]
126,97 unequal: No Solution
Exploring Operation: 87*39=3393, Resulting Numbers: [3393]
3393,97 unequal: No Solution
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[50, 176], Operations: ['56-6=50', '89+87=176']
Exploring Operation: 50+176=226, Resulting Numbers: [226]
226,97 unequal: No Solution
Exploring Operation: 176-50=126, Resulting Numbers: [126]
126,97 unequal: No Solution
Exploring Operation: 50*176=8800, Resulting Numbers: [8800]
8800,97 unequal: No Solution
No 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:[56, 87, 83], Operations: ['89-6=83']
Exploring Operation: 56+87=143, Resulting Numbers: [83, 143]
Generated Node #0,2,0: 97:[83, 143] Operation: 56+87=143
Exploring Operation: 56+83=139, Resulting Numbers: [87, 139]
Generated Node #0,2,1: 97:[87, 139] Operation: 56+83=139
Exploring Operation: 87+83=170, Resulting Numbers: [56, 170]
Generated Node #0,2,2: 97:[56, 170] Operation: 87+83=170
Exploring Operation: 83-56=27, Resulting Numbers: [87, 27]
Generated Node #0,2,3: 97:[87, 27] Operation: 83-56=27
Exploring Operation: 87-56=31, Resulting Numbers: [83, 31]
Generated Node #0,2,4: 97:[83, 31] Operation: 87-56=31
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 97:[87, 139], Operations: ['89-6=83', '56+83=139']
Exploring Operation: 139-87=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Exploring Operation: 87*139=12093, Resulting Numbers: [12093]
12093,97 unequal: No Solution
Exploring Operation: 87+139=226, Resulting Numbers: [226]
226,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,0
Current State: 97:[83, 143], Operations: ['89-6=83', '56+87=143']
Exploring Operation: 143-83=60, Resulting Numbers: [60]
60,97 unequal: No Solution
Exploring Operation: 83*143=11869, Resulting Numbers: [11869]
11869,97 unequal: No Solution
Exploring Operation: 83+143=226, Resulting Numbers: [226]
226,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:[87, 27], Operations: ['89-6=83', '83-56=27']
Exploring Operation: 87+27=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Exploring Operation: 87*27=2349, Resulting Numbers: [2349]
2349,97 unequal: No Solution
Exploring Operation: 87-27=60, Resulting Numbers: [60]
60,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,4
Current State: 97:[83, 31], Operations: ['89-6=83', '87-56=31']
Exploring Operation: 83*31=2573, Resulting Numbers: [2573]
2573,97 unequal: No Solution
Exploring Operation: 83-31=52, Resulting Numbers: [52]
52,97 unequal: No Solution
Exploring Operation: 83+31=114, Resulting Numbers: [114]
114,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:[56, 170], Operations: ['89-6=83', '87+83=170']
Exploring Operation: 56+170=226, Resulting Numbers: [226]
226,97 unequal: No Solution
Exploring Operation: 170-56=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Exploring Operation: 56*170=9520, Resulting Numbers: [9520]
9520,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
No solution found.
| 0 | hs_5 | mult_heuristic |
[
3,
82,
12,
33
] | 100 | [
"82-3=79",
"33-12=21",
"79+21=100"
] | Current State: 100:[3, 82, 12, 33], Operations: []
Exploring Operation: 82-3=79, Resulting Numbers: [12, 33, 79]
Generated Node #2: [12, 33, 79] from Operation: 82-3=79
Current State: 100:[12, 33, 79], Operations: ['82-3=79']
Exploring Operation: 33-12=21, Resulting Numbers: [79, 21]
Generated Node #3: [79, 21] from Operation: 33-12=21
Current State: 100:[79, 21], Operations: ['82-3=79', '33-12=21']
Exploring Operation: 79+21=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[3, 82, 12, 33], Operations: []
Exploring Operation: 33-12=21, Resulting Numbers: [3, 82, 21]
Generated Node #0,0: 100:[3, 82, 21] Operation: 33-12=21
Exploring Operation: 82-33=49, Resulting Numbers: [3, 12, 49]
Generated Node #0,1: 100:[3, 12, 49] Operation: 82-33=49
Exploring Operation: 82+12=94, Resulting Numbers: [3, 33, 94]
Generated Node #0,2: 100:[3, 33, 94] Operation: 82+12=94
Exploring Operation: 82+33=115, Resulting Numbers: [3, 12, 115]
Generated Node #0,3: 100:[3, 12, 115] Operation: 82+33=115
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[3, 12, 49], Operations: ['82-33=49']
Exploring Operation: 3+49=52, Resulting Numbers: [12, 52]
Generated Node #0,1,0: 100:[12, 52] Operation: 3+49=52
Exploring Operation: 12-3=9, Resulting Numbers: [49, 9]
Generated Node #0,1,1: 100:[49, 9] Operation: 12-3=9
Exploring Operation: 12/3=4, Resulting Numbers: [49, 4]
Generated Node #0,1,2: 100:[49, 4] Operation: 12/3=4
Exploring Operation: 3+12=15, Resulting Numbers: [49, 15]
Generated Node #0,1,3: 100:[49, 15] Operation: 3+12=15
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 100:[49, 4], Operations: ['82-33=49', '12/3=4']
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,100 unequal: No Solution
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,100 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 100:[49, 9], Operations: ['82-33=49', '12-3=9']
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,100 unequal: No Solution
Exploring Operation: 49*9=441, Resulting Numbers: [441]
441,100 unequal: No Solution
Exploring Operation: 49+9=58, Resulting Numbers: [58]
58,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 100:[12, 52], Operations: ['82-33=49', '3+49=52']
Exploring Operation: 12*52=624, Resulting Numbers: [624]
624,100 unequal: No Solution
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,100 unequal: No Solution
Exploring Operation: 12+52=64, Resulting Numbers: [64]
64,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 100:[49, 15], Operations: ['82-33=49', '3+12=15']
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 49+15=64, Resulting Numbers: [64]
64,100 unequal: No Solution
Exploring Operation: 49*15=735, Resulting Numbers: [735]
735,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[3, 33, 94], Operations: ['82+12=94']
Exploring Operation: 33/3=11, Resulting Numbers: [94, 11]
Generated Node #0,2,0: 100:[94, 11] Operation: 33/3=11
Exploring Operation: 33-3=30, Resulting Numbers: [94, 30]
Generated Node #0,2,1: 100:[94, 30] Operation: 33-3=30
Exploring Operation: 3+94=97, Resulting Numbers: [33, 97]
Generated Node #0,2,2: 100:[33, 97] Operation: 3+94=97
Exploring Operation: 3*33=99, Resulting Numbers: [94, 99]
Generated Node #0,2,3: 100:[94, 99] Operation: 3*33=99
Moving to Node #0,2,0
Current State: 100:[94, 11], Operations: ['82+12=94', '33/3=11']
Exploring Operation: 94*11=1034, Resulting Numbers: [1034]
1034,100 unequal: No Solution
Exploring Operation: 94-11=83, Resulting Numbers: [83]
83,100 unequal: No Solution
Exploring Operation: 94+11=105, Resulting Numbers: [105]
105,100 unequal: No Solution
Moving to Node #0,2,3
Current State: 100:[94, 99], Operations: ['82+12=94', '3*33=99']
Exploring Operation: 99-94=5, Resulting Numbers: [5]
5,100 unequal: No Solution
Exploring Operation: 94+99=193, Resulting Numbers: [193]
193,100 unequal: No Solution
Exploring Operation: 94*99=9306, Resulting Numbers: [9306]
9306,100 unequal: No Solution
Moving to Node #0,2,2
Current State: 100:[33, 97], Operations: ['82+12=94', '3+94=97']
Exploring Operation: 33+97=130, Resulting Numbers: [130]
130,100 unequal: No Solution
Exploring Operation: 97-33=64, Resulting Numbers: [64]
64,100 unequal: No Solution
Exploring Operation: 33*97=3201, Resulting Numbers: [3201]
3201,100 unequal: No Solution
Moving to Node #0,2,1
Current State: 100:[94, 30], Operations: ['82+12=94', '33-3=30']
Exploring Operation: 94-30=64, Resulting Numbers: [64]
64,100 unequal: No Solution
Exploring Operation: 94*30=2820, Resulting Numbers: [2820]
2820,100 unequal: No Solution
Exploring Operation: 94+30=124, Resulting Numbers: [124]
124,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 100:[3, 12, 115], Operations: ['82+33=115']
Exploring Operation: 115-3=112, Resulting Numbers: [12, 112]
Generated Node #0,3,0: 100:[12, 112] Operation: 115-3=112
Exploring Operation: 115-12=103, Resulting Numbers: [3, 103]
Generated Node #0,3,1: 100:[3, 103] Operation: 115-12=103
Exploring Operation: 12/3=4, Resulting Numbers: [115, 4]
Generated Node #0,3,2: 100:[115, 4] Operation: 12/3=4
Exploring Operation: 12-3=9, Resulting Numbers: [115, 9]
Generated Node #0,3,3: 100:[115, 9] Operation: 12-3=9
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 100:[3, 103], Operations: ['82+33=115', '115-12=103']
Exploring Operation: 3*103=309, Resulting Numbers: [309]
309,100 unequal: No Solution
Exploring Operation: 103-3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[3, 82, 12, 33], Operations: []
Exploring Operation: 82+33=115, Resulting Numbers: [3, 12, 115]
Generated Node #0,3: 100:[3, 12, 115] Operation: 82+33=115
Moving to Node #0,3
Current State: 100:[3, 12, 115], Operations: ['82+33=115']
Exploring Operation: 115-12=103, Resulting Numbers: [3, 103]
Generated Node #0,3,1: 100:[3, 103] Operation: 115-12=103
Moving to Node #0,3,1
Current State: 100:[3, 103], Operations: ['82+33=115', '115-12=103']
Exploring Operation: 103-3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.960069 | hs_4 | sum_heuristic |
[
42,
84,
28,
44
] | 90 | [
"84/28=3",
"44*3=132",
"132-42=90"
] | Current State: 90:[42, 84, 28, 44], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [42, 44, 3]
Generated Node #2: [42, 44, 3] from Operation: 84/28=3
Current State: 90:[42, 44, 3], Operations: ['84/28=3']
Exploring Operation: 44*3=132, Resulting Numbers: [42, 132]
Generated Node #3: [42, 132] from Operation: 44*3=132
Current State: 90:[42, 132], Operations: ['84/28=3', '44*3=132']
Exploring Operation: 132-42=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[42, 84, 28, 44], Operations: []
Exploring Operation: 42-28=14, Resulting Numbers: [84, 44, 14]
Generated Node #0,0: 90:[84, 44, 14] Operation: 42-28=14
Exploring Operation: 44-42=2, Resulting Numbers: [84, 28, 2]
Generated Node #0,1: 90:[84, 28, 2] Operation: 44-42=2
Exploring Operation: 84-42=42, Resulting Numbers: [28, 44, 42]
Generated Node #0,2: 90:[28, 44, 42] Operation: 84-42=42
Exploring Operation: 84/42=2, Resulting Numbers: [28, 44, 2]
Generated Node #0,3: 90:[28, 44, 2] Operation: 84/42=2
Exploring Operation: 84/28=3, Resulting Numbers: [42, 44, 3]
Generated Node #0,4: 90:[42, 44, 3] Operation: 84/28=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[28, 44, 2], Operations: ['84/42=2']
Exploring Operation: 44+2=46, Resulting Numbers: [28, 46]
Generated Node #0,3,0: 90:[28, 46] Operation: 44+2=46
Exploring Operation: 28+2=30, Resulting Numbers: [44, 30]
Generated Node #0,3,1: 90:[44, 30] Operation: 28+2=30
Exploring Operation: 44*2=88, Resulting Numbers: [28, 88]
Generated Node #0,3,2: 90:[28, 88] Operation: 44*2=88
Exploring Operation: 28/2=14, Resulting Numbers: [44, 14]
Generated Node #0,3,3: 90:[44, 14] Operation: 28/2=14
Exploring Operation: 44-28=16, Resulting Numbers: [2, 16]
Generated Node #0,3,4: 90:[2, 16] Operation: 44-28=16
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 90:[44, 30], Operations: ['84/42=2', '28+2=30']
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 44*30=1320, Resulting Numbers: [1320]
1320,90 unequal: No Solution
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,90 unequal: No Solution
No 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: 90:[2, 16], Operations: ['84/42=2', '44-28=16']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,90 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,90 unequal: No Solution
No 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: 90:[44, 14], Operations: ['84/42=2', '28/2=14']
Exploring Operation: 44+14=58, Resulting Numbers: [58]
58,90 unequal: No Solution
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 44*14=616, Resulting Numbers: [616]
616,90 unequal: No Solution
No 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: 90:[28, 46], Operations: ['84/42=2', '44+2=46']
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,90 unequal: No Solution
Exploring Operation: 28*46=1288, Resulting Numbers: [1288]
1288,90 unequal: No Solution
Exploring Operation: 28+46=74, Resulting Numbers: [74]
74,90 unequal: No Solution
No 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: 90:[28, 88], Operations: ['84/42=2', '44*2=88']
Exploring Operation: 28*88=2464, Resulting Numbers: [2464]
2464,90 unequal: No Solution
Exploring Operation: 28+88=116, Resulting Numbers: [116]
116,90 unequal: No Solution
Exploring Operation: 88-28=60, Resulting Numbers: [60]
60,90 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: 90:[42, 44, 3], Operations: ['84/28=3']
Exploring Operation: 42+3=45, Resulting Numbers: [44, 45]
Generated Node #0,4,0: 90:[44, 45] Operation: 42+3=45
Exploring Operation: 44-42=2, Resulting Numbers: [3, 2]
Generated Node #0,4,1: 90:[3, 2] Operation: 44-42=2
Exploring Operation: 42/3=14, Resulting Numbers: [44, 14]
Generated Node #0,4,2: 90:[44, 14] Operation: 42/3=14
Exploring Operation: 42+44=86, Resulting Numbers: [3, 86]
Generated Node #0,4,3: 90:[3, 86] Operation: 42+44=86
Exploring Operation: 44+3=47, Resulting Numbers: [42, 47]
Generated Node #0,4,4: 90:[42, 47] Operation: 44+3=47
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 90:[3, 2], Operations: ['84/28=3', '44-42=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,90 unequal: No Solution
No 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: 90:[44, 45], Operations: ['84/28=3', '42+3=45']
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 44+45=89, Resulting Numbers: [89]
89,90 unequal: No Solution
Exploring Operation: 44*45=1980, Resulting Numbers: [1980]
1980,90 unequal: No Solution
No 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: 90:[44, 14], Operations: ['84/28=3', '42/3=14']
Exploring Operation: 44+14=58, Resulting Numbers: [58]
58,90 unequal: No Solution
Exploring Operation: 44*14=616, Resulting Numbers: [616]
616,90 unequal: No Solution
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,90 unequal: No Solution
No 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: 90:[3, 86], Operations: ['84/28=3', '42+44=86']
Exploring Operation: 3+86=89, Resulting Numbers: [89]
89,90 unequal: No Solution
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Exploring Operation: 3*86=258, Resulting Numbers: [258]
258,90 unequal: No Solution
No 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: 90:[42, 47], Operations: ['84/28=3', '44+3=47']
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 42*47=1974, Resulting Numbers: [1974]
1974,90 unequal: No Solution
Exploring Operation: 42+47=89, Resulting Numbers: [89]
89,90 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: 90:[28, 44, 42], Operations: ['84-42=42']
Exploring Operation: 44+42=86, Resulting Numbers: [28, 86]
Generated Node #0,2,0: 90:[28, 86] Operation: 44+42=86
Exploring Operation: 42-28=14, Resulting Numbers: [44, 14]
Generated Node #0,2,1: 90:[44, 14] Operation: 42-28=14
Exploring Operation: 44-28=16, Resulting Numbers: [42, 16]
Generated Node #0,2,2: 90:[42, 16] Operation: 44-28=16
Exploring Operation: 44-42=2, Resulting Numbers: [28, 2]
Generated Node #0,2,3: 90:[28, 2] Operation: 44-42=2
Exploring Operation: 28+44=72, Resulting Numbers: [42, 72]
Generated Node #0,2,4: 90:[42, 72] Operation: 28+44=72
Moving to Node #0,2,1
Current State: 90:[44, 14], Operations: ['84-42=42', '42-28=14']
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 44+14=58, Resulting Numbers: [58]
58,90 unequal: No Solution
Exploring Operation: 44*14=616, Resulting Numbers: [616]
616,90 unequal: No Solution
Moving to Node #0,2,3
Current State: 90:[28, 2], Operations: ['84-42=42', '44-42=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,90 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[42, 16], Operations: ['84-42=42', '44-28=16']
Exploring Operation: 42+16=58, Resulting Numbers: [58]
58,90 unequal: No Solution
Exploring Operation: 42*16=672, Resulting Numbers: [672]
672,90 unequal: No Solution
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[28, 86], Operations: ['84-42=42', '44+42=86']
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,90 unequal: No Solution
Exploring Operation: 28+86=114, Resulting Numbers: [114]
114,90 unequal: No Solution
Exploring Operation: 28*86=2408, Resulting Numbers: [2408]
2408,90 unequal: No Solution
Moving to Node #0,2,4
Current State: 90:[42, 72], Operations: ['84-42=42', '28+44=72']
Exploring Operation: 42+72=114, Resulting Numbers: [114]
114,90 unequal: No Solution
Exploring Operation: 42*72=3024, Resulting Numbers: [3024]
3024,90 unequal: No Solution
Exploring Operation: 72-42=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,0
Current State: 90:[84, 44, 14], Operations: ['42-28=14']
Exploring Operation: 84+14=98, Resulting Numbers: [44, 98]
Generated Node #0,0,0: 90:[44, 98] Operation: 84+14=98
Exploring Operation: 84-44=40, Resulting Numbers: [14, 40]
Generated Node #0,0,1: 90:[14, 40] Operation: 84-44=40
Exploring Operation: 44-14=30, Resulting Numbers: [84, 30]
Generated Node #0,0,2: 90:[84, 30] Operation: 44-14=30
Exploring Operation: 44+14=58, Resulting Numbers: [84, 58]
Generated Node #0,0,3: 90:[84, 58] Operation: 44+14=58
Exploring Operation: 84/14=6, Resulting Numbers: [44, 6]
Generated Node #0,0,4: 90:[44, 6] Operation: 84/14=6
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 90:[44, 6], Operations: ['42-28=14', '84/14=6']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,90 unequal: No Solution
No 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: 90:[14, 40], Operations: ['42-28=14', '84-44=40']
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,90 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,90 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,90 unequal: No Solution
No 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: 90:[84, 30], Operations: ['42-28=14', '44-14=30']
Exploring Operation: 84*30=2520, Resulting Numbers: [2520]
2520,90 unequal: No Solution
Exploring Operation: 84-30=54, Resulting Numbers: [54]
54,90 unequal: No Solution
Exploring Operation: 84+30=114, Resulting Numbers: [114]
114,90 unequal: No Solution
No 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: 90:[44, 98], Operations: ['42-28=14', '84+14=98']
Exploring Operation: 98-44=54, Resulting Numbers: [54]
54,90 unequal: No Solution
Exploring Operation: 44*98=4312, Resulting Numbers: [4312]
4312,90 unequal: No Solution
Exploring Operation: 44+98=142, Resulting Numbers: [142]
142,90 unequal: No Solution
No 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: 90:[84, 58], Operations: ['42-28=14', '44+14=58']
Exploring Operation: 84+58=142, Resulting Numbers: [142]
142,90 unequal: No Solution
Exploring Operation: 84-58=26, Resulting Numbers: [26]
26,90 unequal: No Solution
Exploring Operation: 84*58=4872, Resulting Numbers: [4872]
4872,90 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: 90:[84, 28, 2], Operations: ['44-42=2']
Exploring Operation: 28+2=30, Resulting Numbers: [84, 30]
Generated Node #0,1,0: 90:[84, 30] Operation: 28+2=30
Exploring Operation: 84/2=42, Resulting Numbers: [28, 42]
Generated Node #0,1,1: 90:[28, 42] Operation: 84/2=42
Exploring Operation: 28/2=14, Resulting Numbers: [84, 14]
Generated Node #0,1,2: 90:[84, 14] Operation: 28/2=14
Exploring Operation: 84+2=86, Resulting Numbers: [28, 86]
Generated Node #0,1,3: 90:[28, 86] Operation: 84+2=86
Exploring Operation: 84/28=3, Resulting Numbers: [2, 3]
Generated Node #0,1,4: 90:[2, 3] Operation: 84/28=3
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 90:[2, 3], Operations: ['44-42=2', '84/28=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,90 unequal: No Solution
No 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: 90:[28, 42], Operations: ['44-42=2', '84/2=42']
Exploring Operation: 28+42=70, Resulting Numbers: [70]
70,90 unequal: No Solution
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 28*42=1176, Resulting Numbers: [1176]
1176,90 unequal: No Solution
No 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: 90:[84, 30], Operations: ['44-42=2', '28+2=30']
Exploring Operation: 84-30=54, Resulting Numbers: [54]
54,90 unequal: No Solution
Exploring Operation: 84+30=114, Resulting Numbers: [114]
114,90 unequal: No Solution
Exploring Operation: 84*30=2520, Resulting Numbers: [2520]
2520,90 unequal: No Solution
No 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: 90:[28, 86], Operations: ['44-42=2', '84+2=86']
Exploring Operation: 28*86=2408, Resulting Numbers: [2408]
2408,90 unequal: No Solution
Exploring Operation: 28+86=114, Resulting Numbers: [114]
114,90 unequal: No Solution
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,90 unequal: No Solution
No 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: 90:[84, 14], Operations: ['44-42=2', '28/2=14']
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,90 unequal: No Solution
Exploring Operation: 84+14=98, Resulting Numbers: [98]
98,90 unequal: No Solution
Exploring Operation: 84*14=1176, Resulting Numbers: [1176]
1176,90 unequal: No Solution
Exploring Operation: 84/14=6, Resulting Numbers: [6]
6,90 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 |
[
25,
72,
69,
69
] | 46 | [
"72-25=47",
"69/69=1",
"47-1=46"
] | Current State: 46:[25, 72, 69, 69], Operations: []
Exploring Operation: 72-25=47, Resulting Numbers: [69, 69, 47]
Generated Node #2: [69, 69, 47] from Operation: 72-25=47
Current State: 46:[69, 69, 47], Operations: ['72-25=47']
Exploring Operation: 69/69=1, Resulting Numbers: [47, 1]
Generated Node #3: [47, 1] from Operation: 69/69=1
Current State: 46:[47, 1], Operations: ['72-25=47', '69/69=1']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[25, 72, 69, 69], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [25, 69, 3]
Generated Node #0,0: 46:[25, 69, 3] Operation: 72-69=3
Exploring Operation: 72-69=3, Resulting Numbers: [25, 69, 3]
Generated Node #0,1: 46:[25, 69, 3] Operation: 72-69=3
Exploring Operation: 69/69=1, Resulting Numbers: [25, 72, 1]
Generated Node #0,2: 46:[25, 72, 1] Operation: 69/69=1
Exploring Operation: 72-25=47, Resulting Numbers: [69, 69, 47]
Generated Node #0,3: 46:[69, 69, 47] Operation: 72-25=47
Exploring Operation: 69-69=0, Resulting Numbers: [25, 72, 0]
Generated Node #0,4: 46:[25, 72, 0] Operation: 69-69=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[25, 69, 3], Operations: ['72-69=3']
Exploring Operation: 25+3=28, Resulting Numbers: [69, 28]
Generated Node #0,0,0: 46:[69, 28] Operation: 25+3=28
Exploring Operation: 69-3=66, Resulting Numbers: [25, 66]
Generated Node #0,0,1: 46:[25, 66] Operation: 69-3=66
Exploring Operation: 69-25=44, Resulting Numbers: [3, 44]
Generated Node #0,0,2: 46:[3, 44] Operation: 69-25=44
Exploring Operation: 69/3=23, Resulting Numbers: [25, 23]
Generated Node #0,0,3: 46:[25, 23] Operation: 69/3=23
Exploring Operation: 25-3=22, Resulting Numbers: [69, 22]
Generated Node #0,0,4: 46:[69, 22] Operation: 25-3=22
Moving to Node #0,0,3
Current State: 46:[25, 23], Operations: ['72-69=3', '69/3=23']
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 25*23=575, Resulting Numbers: [575]
575,46 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[3, 44], Operations: ['72-69=3', '69-25=44']
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,46 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,46 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[25, 66], Operations: ['72-69=3', '69-3=66']
Exploring Operation: 25*66=1650, Resulting Numbers: [1650]
1650,46 unequal: No Solution
Exploring Operation: 25+66=91, Resulting Numbers: [91]
91,46 unequal: No Solution
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,46 unequal: No Solution
Moving to Node #0,0,4
Current State: 46:[69, 22], Operations: ['72-69=3', '25-3=22']
Exploring Operation: 69-22=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Exploring Operation: 69*22=1518, Resulting Numbers: [1518]
1518,46 unequal: No Solution
Exploring Operation: 69+22=91, Resulting Numbers: [91]
91,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[69, 28], Operations: ['72-69=3', '25+3=28']
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,46 unequal: No Solution
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,46 unequal: No Solution
Exploring Operation: 69*28=1932, Resulting Numbers: [1932]
1932,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[25, 69, 3], Operations: ['72-69=3']
Exploring Operation: 25-3=22, Resulting Numbers: [69, 22]
Generated Node #0,1,0: 46:[69, 22] Operation: 25-3=22
Exploring Operation: 25+3=28, Resulting Numbers: [69, 28]
Generated Node #0,1,1: 46:[69, 28] Operation: 25+3=28
Exploring Operation: 69-25=44, Resulting Numbers: [3, 44]
Generated Node #0,1,2: 46:[3, 44] Operation: 69-25=44
Exploring Operation: 69/3=23, Resulting Numbers: [25, 23]
Generated Node #0,1,3: 46:[25, 23] Operation: 69/3=23
Exploring Operation: 69-3=66, Resulting Numbers: [25, 66]
Generated Node #0,1,4: 46:[25, 66] Operation: 69-3=66
Moving to Node #0,1,3
Current State: 46:[25, 23], Operations: ['72-69=3', '69/3=23']
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 25*23=575, Resulting Numbers: [575]
575,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[3, 44], Operations: ['72-69=3', '69-25=44']
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,46 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,46 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Moving to Node #0,1,4
Current State: 46:[25, 66], Operations: ['72-69=3', '69-3=66']
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,46 unequal: No Solution
Exploring Operation: 25+66=91, Resulting Numbers: [91]
91,46 unequal: No Solution
Exploring Operation: 25*66=1650, Resulting Numbers: [1650]
1650,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[69, 22], Operations: ['72-69=3', '25-3=22']
Exploring Operation: 69+22=91, Resulting Numbers: [91]
91,46 unequal: No Solution
Exploring Operation: 69*22=1518, Resulting Numbers: [1518]
1518,46 unequal: No Solution
Exploring Operation: 69-22=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[69, 28], Operations: ['72-69=3', '25+3=28']
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,46 unequal: No Solution
Exploring Operation: 69*28=1932, Resulting Numbers: [1932]
1932,46 unequal: No Solution
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[25, 72, 1], Operations: ['69/69=1']
Exploring Operation: 72-25=47, Resulting Numbers: [1, 47]
Generated Node #0,2,0: 46:[1, 47] Operation: 72-25=47
Exploring Operation: 25-1=24, Resulting Numbers: [72, 24]
Generated Node #0,2,1: 46:[72, 24] Operation: 25-1=24
Exploring Operation: 25/1=25, Resulting Numbers: [72, 25]
Generated Node #0,2,2: 46:[72, 25] Operation: 25/1=25
Exploring Operation: 25*1=25, Resulting Numbers: [72, 25]
Generated Node #0,2,3: 46:[72, 25] Operation: 25*1=25
Exploring Operation: 72-1=71, Resulting Numbers: [25, 71]
Generated Node #0,2,4: 46:[25, 71] Operation: 72-1=71
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 46:[1, 47], Operations: ['69/69=1', '72-25=47']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[25, 72, 69, 69], Operations: []
Exploring Operation: 69/69=1, Resulting Numbers: [25, 72, 1]
Generated Node #0,2: 46:[25, 72, 1] Operation: 69/69=1
Moving to Node #0,2
Current State: 46:[25, 72, 1], Operations: ['69/69=1']
Exploring Operation: 72-25=47, Resulting Numbers: [1, 47]
Generated Node #0,2,0: 46:[1, 47] Operation: 72-25=47
Moving to Node #0,2,0
Current State: 46:[1, 47], Operations: ['69/69=1', '72-25=47']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.952257 | hs_5 | sum_heuristic |
[
35,
38,
11,
7
] | 40 | [
"38-35=3",
"11*3=33",
"7+33=40"
] | Current State: 40:[35, 38, 11, 7], Operations: []
Exploring Operation: 38-35=3, Resulting Numbers: [11, 7, 3]
Generated Node #2: [11, 7, 3] from Operation: 38-35=3
Current State: 40:[11, 7, 3], Operations: ['38-35=3']
Exploring Operation: 11*3=33, Resulting Numbers: [7, 33]
Generated Node #3: [7, 33] from Operation: 11*3=33
Current State: 40:[7, 33], Operations: ['38-35=3', '11*3=33']
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[35, 38, 11, 7], Operations: []
Exploring Operation: 35/7=5, Resulting Numbers: [38, 11, 5]
Generated Node #0,0: 40:[38, 11, 5] Operation: 35/7=5
Exploring Operation: 38-35=3, Resulting Numbers: [11, 7, 3]
Generated Node #0,1: 40:[11, 7, 3] Operation: 38-35=3
Exploring Operation: 35+7=42, Resulting Numbers: [38, 11, 42]
Generated Node #0,2: 40:[38, 11, 42] Operation: 35+7=42
Moving to Node #0,0
Current State: 40:[38, 11, 5], Operations: ['35/7=5']
Exploring Operation: 38+5=43, Resulting Numbers: [11, 43]
Generated Node #0,0,0: 40:[11, 43] Operation: 38+5=43
Exploring Operation: 11+5=16, Resulting Numbers: [38, 16]
Generated Node #0,0,1: 40:[38, 16] Operation: 11+5=16
Exploring Operation: 11-5=6, Resulting Numbers: [38, 6]
Generated Node #0,0,2: 40:[38, 6] Operation: 11-5=6
Moving to Node #0,1
Current State: 40:[11, 7, 3], Operations: ['38-35=3']
Exploring Operation: 7+3=10, Resulting Numbers: [11, 10]
Generated Node #0,1,0: 40:[11, 10] Operation: 7+3=10
Exploring Operation: 11-7=4, Resulting Numbers: [3, 4]
Generated Node #0,1,1: 40:[3, 4] Operation: 11-7=4
Exploring Operation: 11-3=8, Resulting Numbers: [7, 8]
Generated Node #0,1,2: 40:[7, 8] Operation: 11-3=8
Moving to Node #0,2
Current State: 40:[38, 11, 42], Operations: ['35+7=42']
Exploring Operation: 38+11=49, Resulting Numbers: [42, 49]
Generated Node #0,2,0: 40:[42, 49] Operation: 38+11=49
Exploring Operation: 38-11=27, Resulting Numbers: [42, 27]
Generated Node #0,2,1: 40:[42, 27] Operation: 38-11=27
Exploring Operation: 42-38=4, Resulting Numbers: [11, 4]
Generated Node #0,2,2: 40:[11, 4] Operation: 42-38=4
Moving to Node #0,1,0
Current State: 40:[11, 10], Operations: ['38-35=3', '7+3=10']
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,40 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Moving to Node #0,1,2
Current State: 40:[7, 8], Operations: ['38-35=3', '11-3=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,40 unequal: No Solution
Moving to Node #0,2,2
Current State: 40:[11, 4], Operations: ['35+7=42', '42-38=4']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,40 unequal: No Solution
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[3, 4], Operations: ['38-35=3', '11-7=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Moving to Node #0,0,2
Current State: 40:[38, 6], Operations: ['35/7=5', '11-5=6']
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,40 unequal: No Solution
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,40 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[11, 43], Operations: ['35/7=5', '38+5=43']
Exploring Operation: 11+43=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 11*43=473, Resulting Numbers: [473]
473,40 unequal: No Solution
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[38, 16], Operations: ['35/7=5', '11+5=16']
Exploring Operation: 38+16=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 38*16=608, Resulting Numbers: [608]
608,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[42, 27], Operations: ['35+7=42', '38-11=27']
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 42+27=69, Resulting Numbers: [69]
69,40 unequal: No Solution
Exploring Operation: 42*27=1134, Resulting Numbers: [1134]
1134,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[42, 49], Operations: ['35+7=42', '38+11=49']
Exploring Operation: 42*49=2058, Resulting Numbers: [2058]
2058,40 unequal: No Solution
Exploring Operation: 42+49=91, Resulting Numbers: [91]
91,40 unequal: No Solution
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,40 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
95,
29,
25,
55
] | 30 | [
"95-29=66",
"25*66=1650",
"1650/55=30"
] | Current State: 30:[95, 29, 25, 55], Operations: []
Exploring Operation: 95-29=66, Resulting Numbers: [25, 55, 66]
Generated Node #2: [25, 55, 66] from Operation: 95-29=66
Current State: 30:[25, 55, 66], Operations: ['95-29=66']
Exploring Operation: 25*66=1650, Resulting Numbers: [55, 1650]
Generated Node #3: [55, 1650] from Operation: 25*66=1650
Current State: 30:[55, 1650], Operations: ['95-29=66', '25*66=1650']
Exploring Operation: 1650/55=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[95, 29, 25, 55], Operations: []
Exploring Operation: 55-25=30, Resulting Numbers: [95, 29, 30]
Generated Node #0,0: 30:[95, 29, 30] Operation: 55-25=30
Exploring Operation: 55-29=26, Resulting Numbers: [95, 25, 26]
Generated Node #0,1: 30:[95, 25, 26] Operation: 55-29=26
Exploring Operation: 95-29=66, Resulting Numbers: [25, 55, 66]
Generated Node #0,2: 30:[25, 55, 66] Operation: 95-29=66
Exploring Operation: 95-55=40, Resulting Numbers: [29, 25, 40]
Generated Node #0,3: 30:[29, 25, 40] Operation: 95-55=40
Exploring Operation: 95-25=70, Resulting Numbers: [29, 55, 70]
Generated Node #0,4: 30:[29, 55, 70] Operation: 95-25=70
Moving to Node #0,3
Current State: 30:[29, 25, 40], Operations: ['95-55=40']
Exploring Operation: 40-25=15, Resulting Numbers: [29, 15]
Generated Node #0,3,0: 30:[29, 15] Operation: 40-25=15
Exploring Operation: 40-29=11, Resulting Numbers: [25, 11]
Generated Node #0,3,1: 30:[25, 11] Operation: 40-29=11
Exploring Operation: 25+40=65, Resulting Numbers: [29, 65]
Generated Node #0,3,2: 30:[29, 65] Operation: 25+40=65
Exploring Operation: 29+25=54, Resulting Numbers: [40, 54]
Generated Node #0,3,3: 30:[40, 54] Operation: 29+25=54
Exploring Operation: 29-25=4, Resulting Numbers: [40, 4]
Generated Node #0,3,4: 30:[40, 4] Operation: 29-25=4
Moving to Node #0,2
Current State: 30:[25, 55, 66], Operations: ['95-29=66']
Exploring Operation: 25+66=91, Resulting Numbers: [55, 91]
Generated Node #0,2,0: 30:[55, 91] Operation: 25+66=91
Exploring Operation: 66-55=11, Resulting Numbers: [25, 11]
Generated Node #0,2,1: 30:[25, 11] Operation: 66-55=11
Exploring Operation: 55-25=30, Resulting Numbers: [66, 30]
Generated Node #0,2,2: 30:[66, 30] Operation: 55-25=30
Exploring Operation: 25+55=80, Resulting Numbers: [66, 80]
Generated Node #0,2,3: 30:[66, 80] Operation: 25+55=80
Exploring Operation: 66-25=41, Resulting Numbers: [55, 41]
Generated Node #0,2,4: 30:[55, 41] Operation: 66-25=41
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[25, 11], Operations: ['95-29=66', '66-55=11']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 30:[66, 30], Operations: ['95-29=66', '55-25=30']
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 66+30=96, Resulting Numbers: [96]
96,30 unequal: No Solution
Exploring Operation: 66*30=1980, Resulting Numbers: [1980]
1980,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 30:[55, 41], Operations: ['95-29=66', '66-25=41']
Exploring Operation: 55*41=2255, Resulting Numbers: [2255]
2255,30 unequal: No Solution
Exploring Operation: 55-41=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 55+41=96, Resulting Numbers: [96]
96,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 30:[55, 91], Operations: ['95-29=66', '25+66=91']
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 55*91=5005, Resulting Numbers: [5005]
5005,30 unequal: No Solution
Exploring Operation: 55+91=146, Resulting Numbers: [146]
146,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 30:[66, 80], Operations: ['95-29=66', '25+55=80']
Exploring Operation: 80-66=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 66+80=146, Resulting Numbers: [146]
146,30 unequal: No Solution
Exploring Operation: 66*80=5280, Resulting Numbers: [5280]
5280,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 30:[95, 29, 30], Operations: ['55-25=30']
Exploring Operation: 30-29=1, Resulting Numbers: [95, 1]
Generated Node #0,0,0: 30:[95, 1] Operation: 30-29=1
Exploring Operation: 95+29=124, Resulting Numbers: [30, 124]
Generated Node #0,0,1: 30:[30, 124] Operation: 95+29=124
Exploring Operation: 29+30=59, Resulting Numbers: [95, 59]
Generated Node #0,0,2: 30:[95, 59] Operation: 29+30=59
Exploring Operation: 95-29=66, Resulting Numbers: [30, 66]
Generated Node #0,0,3: 30:[30, 66] Operation: 95-29=66
Exploring Operation: 95-30=65, Resulting Numbers: [29, 65]
Generated Node #0,0,4: 30:[29, 65] Operation: 95-30=65
Moving to Node #0,4
Current State: 30:[29, 55, 70], Operations: ['95-25=70']
Exploring Operation: 70-55=15, Resulting Numbers: [29, 15]
Generated Node #0,4,0: 30:[29, 15] Operation: 70-55=15
Exploring Operation: 55-29=26, Resulting Numbers: [70, 26]
Generated Node #0,4,1: 30:[70, 26] Operation: 55-29=26
Exploring Operation: 29+70=99, Resulting Numbers: [55, 99]
Generated Node #0,4,2: 30:[55, 99] Operation: 29+70=99
Exploring Operation: 70-29=41, Resulting Numbers: [55, 41]
Generated Node #0,4,3: 30:[55, 41] Operation: 70-29=41
Exploring Operation: 29+55=84, Resulting Numbers: [70, 84]
Generated Node #0,4,4: 30:[70, 84] Operation: 29+55=84
Moving to Node #0,1
Current State: 30:[95, 25, 26], Operations: ['55-29=26']
Exploring Operation: 95+25=120, Resulting Numbers: [26, 120]
Generated Node #0,1,0: 30:[26, 120] Operation: 95+25=120
Exploring Operation: 25+26=51, Resulting Numbers: [95, 51]
Generated Node #0,1,1: 30:[95, 51] Operation: 25+26=51
Exploring Operation: 95-26=69, Resulting Numbers: [25, 69]
Generated Node #0,1,2: 30:[25, 69] Operation: 95-26=69
Exploring Operation: 95-25=70, Resulting Numbers: [26, 70]
Generated Node #0,1,3: 30:[26, 70] Operation: 95-25=70
Exploring Operation: 26-25=1, Resulting Numbers: [95, 1]
Generated Node #0,1,4: 30:[95, 1] Operation: 26-25=1
Moving to Node #0,3,0
Current State: 30:[29, 15], Operations: ['95-55=40', '40-25=15']
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,30 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,30 unequal: No Solution
Moving to Node #0,4,0
Current State: 30:[29, 15], Operations: ['95-25=70', '70-55=15']
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,30 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,30 unequal: No Solution
Moving to Node #0,3,1
Current State: 30:[25, 11], Operations: ['95-55=40', '40-29=11']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,30 unequal: No Solution
Moving to Node #0,3,4
Current State: 30:[40, 4], Operations: ['95-55=40', '29-25=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,30 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,30 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Moving to Node #0,3,3
Current State: 30:[40, 54], Operations: ['95-55=40', '29+25=54']
Exploring Operation: 40+54=94, Resulting Numbers: [94]
94,30 unequal: No Solution
Exploring Operation: 40*54=2160, Resulting Numbers: [2160]
2160,30 unequal: No Solution
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Moving to Node #0,0,4
Current State: 30:[29, 65], Operations: ['55-25=30', '95-30=65']
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 29*65=1885, Resulting Numbers: [1885]
1885,30 unequal: No Solution
Exploring Operation: 29+65=94, Resulting Numbers: [94]
94,30 unequal: No Solution
Moving to Node #0,0,3
Current State: 30:[30, 66], Operations: ['55-25=30', '95-29=66']
Exploring Operation: 30*66=1980, Resulting Numbers: [1980]
1980,30 unequal: No Solution
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 30+66=96, Resulting Numbers: [96]
96,30 unequal: No Solution
Moving to Node #0,4,3
Current State: 30:[55, 41], Operations: ['95-25=70', '70-29=41']
Exploring Operation: 55-41=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 55*41=2255, Resulting Numbers: [2255]
2255,30 unequal: No Solution
Exploring Operation: 55+41=96, Resulting Numbers: [96]
96,30 unequal: No Solution
Moving to Node #0,3,2
Current State: 30:[29, 65], Operations: ['95-55=40', '25+40=65']
Exploring Operation: 29+65=94, Resulting Numbers: [94]
94,30 unequal: No Solution
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 29*65=1885, Resulting Numbers: [1885]
1885,30 unequal: No Solution
Moving to Node #0,4,1
Current State: 30:[70, 26], Operations: ['95-25=70', '55-29=26']
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,30 unequal: No Solution
Exploring Operation: 70*26=1820, Resulting Numbers: [1820]
1820,30 unequal: No Solution
Exploring Operation: 70+26=96, Resulting Numbers: [96]
96,30 unequal: No Solution
Moving to Node #0,1,2
Current State: 30:[25, 69], Operations: ['55-29=26', '95-26=69']
Exploring Operation: 25*69=1725, Resulting Numbers: [1725]
1725,30 unequal: No Solution
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,30 unequal: No Solution
Exploring Operation: 25+69=94, Resulting Numbers: [94]
94,30 unequal: No Solution
Moving to Node #0,1,3
Current State: 30:[26, 70], Operations: ['55-29=26', '95-25=70']
Exploring Operation: 26+70=96, Resulting Numbers: [96]
96,30 unequal: No Solution
Exploring Operation: 26*70=1820, Resulting Numbers: [1820]
1820,30 unequal: No Solution
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[95, 1], Operations: ['55-25=30', '30-29=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,30 unequal: No Solution
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,30 unequal: No Solution
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,30 unequal: No Solution
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,30 unequal: No Solution
Moving to Node #0,1,4
Current State: 30:[95, 1], Operations: ['55-29=26', '26-25=1']
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,30 unequal: No Solution
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,30 unequal: No Solution
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,30 unequal: No Solution
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[95, 51], Operations: ['55-29=26', '25+26=51']
Exploring Operation: 95+51=146, Resulting Numbers: [146]
146,30 unequal: No Solution
Exploring Operation: 95*51=4845, Resulting Numbers: [4845]
4845,30 unequal: No Solution
Exploring Operation: 95-51=44, Resulting Numbers: [44]
44,30 unequal: No Solution
Moving to Node #0,4,4
Current State: 30:[70, 84], Operations: ['95-25=70', '29+55=84']
Exploring Operation: 70*84=5880, Resulting Numbers: [5880]
5880,30 unequal: No Solution
Exploring Operation: 70+84=154, Resulting Numbers: [154]
154,30 unequal: No Solution
Exploring Operation: 84-70=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Moving to Node #0,4,2
Current State: 30:[55, 99], Operations: ['95-25=70', '29+70=99']
Exploring Operation: 55+99=154, Resulting Numbers: [154]
154,30 unequal: No Solution
Exploring Operation: 55*99=5445, Resulting Numbers: [5445]
5445,30 unequal: No Solution
Exploring Operation: 99-55=44, Resulting Numbers: [44]
44,30 unequal: No Solution
Moving to Node #0,0,2
Current State: 30:[95, 59], Operations: ['55-25=30', '29+30=59']
Exploring Operation: 95*59=5605, Resulting Numbers: [5605]
5605,30 unequal: No Solution
Exploring Operation: 95+59=154, Resulting Numbers: [154]
154,30 unequal: No Solution
Exploring Operation: 95-59=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[30, 124], Operations: ['55-25=30', '95+29=124']
Exploring Operation: 30+124=154, Resulting Numbers: [154]
154,30 unequal: No Solution
Exploring Operation: 124-30=94, Resulting Numbers: [94]
94,30 unequal: No Solution
Exploring Operation: 30*124=3720, Resulting Numbers: [3720]
3720,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[26, 120], Operations: ['55-29=26', '95+25=120']
Exploring Operation: 26*120=3120, Resulting Numbers: [3120]
3120,30 unequal: No Solution
Exploring Operation: 120-26=94, Resulting Numbers: [94]
94,30 unequal: No Solution
Exploring Operation: 26+120=146, Resulting Numbers: [146]
146,30 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
1,
75,
82,
74
] | 66 | [
"75-1=74",
"82-74=8",
"74-8=66"
] | Current State: 66:[1, 75, 82, 74], Operations: []
Exploring Operation: 75-1=74, Resulting Numbers: [82, 74, 74]
Generated Node #2: [82, 74, 74] from Operation: 75-1=74
Current State: 66:[82, 74, 74], Operations: ['75-1=74']
Exploring Operation: 82-74=8, Resulting Numbers: [8]
8,66 equal: Goal Reached
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[1, 75, 82, 74], Operations: []
Exploring Operation: 82-74=8, Resulting Numbers: [1, 75, 8]
Generated Node #0,0: 66:[1, 75, 8] Operation: 82-74=8
Exploring Operation: 82-75=7, Resulting Numbers: [1, 74, 7]
Generated Node #0,1: 66:[1, 74, 7] Operation: 82-75=7
Moving to Node #0,1
Current State: 66:[1, 74, 7], Operations: ['82-75=7']
Exploring Operation: 74-7=67, Resulting Numbers: [1, 67]
Generated Node #0,1,0: 66:[1, 67] Operation: 74-7=67
Exploring Operation: 74-1=73, Resulting Numbers: [7, 73]
Generated Node #0,1,1: 66:[7, 73] Operation: 74-1=73
Moving to Node #0,0
Current State: 66:[1, 75, 8], Operations: ['82-74=8']
Exploring Operation: 75-8=67, Resulting Numbers: [1, 67]
Generated Node #0,0,0: 66:[1, 67] Operation: 75-8=67
Exploring Operation: 75-1=74, Resulting Numbers: [8, 74]
Generated Node #0,0,1: 66:[8, 74] Operation: 75-1=74
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[1, 67], Operations: ['82-74=8', '75-8=67']
Exploring Operation: 1*67=67, Resulting Numbers: [67]
67,66 unequal: No Solution
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[1, 75, 82, 74], Operations: []
Exploring Operation: 82-74=8, Resulting Numbers: [1, 75, 8]
Generated Node #0,0: 66:[1, 75, 8] Operation: 82-74=8
Moving to Node #0,0
Current State: 66:[1, 75, 8], Operations: ['82-74=8']
Exploring Operation: 75-8=67, Resulting Numbers: [1, 67]
Generated Node #0,0,0: 66:[1, 67] Operation: 75-8=67
Moving to Node #0,0,0
Current State: 66:[1, 67], Operations: ['82-74=8', '75-8=67']
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
33,
14,
21,
38
] | 36 | [
"33-14=19",
"38-21=17",
"19+17=36"
] | Current State: 36:[33, 14, 21, 38], Operations: []
Exploring Operation: 33-14=19, Resulting Numbers: [21, 38, 19]
Generated Node #2: [21, 38, 19] from Operation: 33-14=19
Current State: 36:[21, 38, 19], Operations: ['33-14=19']
Exploring Operation: 38-21=17, Resulting Numbers: [19, 17]
Generated Node #3: [19, 17] from Operation: 38-21=17
Current State: 36:[19, 17], Operations: ['33-14=19', '38-21=17']
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[33, 14, 21, 38], Operations: []
Exploring Operation: 33-21=12, Resulting Numbers: [14, 38, 12]
Generated Node #0,0: 36:[14, 38, 12] Operation: 33-21=12
Moving to Node #0,0
Current State: 36:[14, 38, 12], Operations: ['33-21=12']
Exploring Operation: 14-12=2, Resulting Numbers: [38, 2]
Generated Node #0,0,0: 36:[38, 2] Operation: 14-12=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[38, 2], Operations: ['33-21=12', '14-12=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[33, 14, 21, 38], Operations: []
Exploring Operation: 33-21=12, Resulting Numbers: [14, 38, 12]
Generated Node #0,0: 36:[14, 38, 12] Operation: 33-21=12
Moving to Node #0,0
Current State: 36:[14, 38, 12], Operations: ['33-21=12']
Exploring Operation: 14-12=2, Resulting Numbers: [38, 2]
Generated Node #0,0,0: 36:[38, 2] Operation: 14-12=2
Moving to Node #0,0,0
Current State: 36:[38, 2], Operations: ['33-21=12', '14-12=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
68,
32,
26,
30
] | 16 | [
"32-30=2",
"26*2=52",
"68-52=16"
] | Current State: 16:[68, 32, 26, 30], Operations: []
Exploring Operation: 32-30=2, Resulting Numbers: [68, 26, 2]
Generated Node #2: [68, 26, 2] from Operation: 32-30=2
Current State: 16:[68, 26, 2], Operations: ['32-30=2']
Exploring Operation: 26*2=52, Resulting Numbers: [68, 52]
Generated Node #3: [68, 52] from Operation: 26*2=52
Current State: 16:[68, 52], Operations: ['32-30=2', '26*2=52']
Exploring Operation: 68-52=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[68, 32, 26, 30], Operations: []
Exploring Operation: 32-30=2, Resulting Numbers: [68, 26, 2]
Generated Node #0,0: 16:[68, 26, 2] Operation: 32-30=2
Exploring Operation: 68-26=42, Resulting Numbers: [32, 30, 42]
Generated Node #0,1: 16:[32, 30, 42] Operation: 68-26=42
Exploring Operation: 32-26=6, Resulting Numbers: [68, 30, 6]
Generated Node #0,2: 16:[68, 30, 6] Operation: 32-26=6
Exploring Operation: 68-32=36, Resulting Numbers: [26, 30, 36]
Generated Node #0,3: 16:[26, 30, 36] Operation: 68-32=36
Exploring Operation: 68-30=38, Resulting Numbers: [32, 26, 38]
Generated Node #0,4: 16:[32, 26, 38] Operation: 68-30=38
Start Sub Search at level 1: Moving to Node #0,3
Current State: 16:[26, 30, 36], Operations: ['68-32=36']
Exploring Operation: 26+36=62, Resulting Numbers: [30, 62]
Generated Node #0,3,0: 16:[30, 62] Operation: 26+36=62
Exploring Operation: 30-26=4, Resulting Numbers: [36, 4]
Generated Node #0,3,1: 16:[36, 4] Operation: 30-26=4
Exploring Operation: 36-30=6, Resulting Numbers: [26, 6]
Generated Node #0,3,2: 16:[26, 6] Operation: 36-30=6
Exploring Operation: 26+30=56, Resulting Numbers: [36, 56]
Generated Node #0,3,3: 16:[36, 56] Operation: 26+30=56
Exploring Operation: 36-26=10, Resulting Numbers: [30, 10]
Generated Node #0,3,4: 16:[30, 10] Operation: 36-26=10
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 16:[26, 6], Operations: ['68-32=36', '36-30=6']
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,16 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,16 unequal: No Solution
No 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: 16:[30, 10], Operations: ['68-32=36', '36-26=10']
Exploring Operation: 30*10=300, Resulting Numbers: [300]
300,16 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 30+10=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,16 unequal: No Solution
No 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: 16:[36, 4], Operations: ['68-32=36', '30-26=4']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,16 unequal: No Solution
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,16 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,16 unequal: No Solution
No 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: 16:[30, 62], Operations: ['68-32=36', '26+36=62']
Exploring Operation: 30+62=92, Resulting Numbers: [92]
92,16 unequal: No Solution
Exploring Operation: 30*62=1860, Resulting Numbers: [1860]
1860,16 unequal: No Solution
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,16 unequal: No Solution
No 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: 16:[36, 56], Operations: ['68-32=36', '26+30=56']
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 36*56=2016, Resulting Numbers: [2016]
2016,16 unequal: No Solution
Exploring Operation: 36+56=92, Resulting Numbers: [92]
92,16 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: 16:[32, 26, 38], Operations: ['68-30=38']
Exploring Operation: 32-26=6, Resulting Numbers: [38, 6]
Generated Node #0,4,0: 16:[38, 6] Operation: 32-26=6
Exploring Operation: 32+26=58, Resulting Numbers: [38, 58]
Generated Node #0,4,1: 16:[38, 58] Operation: 32+26=58
Exploring Operation: 38-32=6, Resulting Numbers: [26, 6]
Generated Node #0,4,2: 16:[26, 6] Operation: 38-32=6
Exploring Operation: 38-26=12, Resulting Numbers: [32, 12]
Generated Node #0,4,3: 16:[32, 12] Operation: 38-26=12
Exploring Operation: 32+38=70, Resulting Numbers: [26, 70]
Generated Node #0,4,4: 16:[26, 70] Operation: 32+38=70
Moving to Node #0,4,2
Current State: 16:[26, 6], Operations: ['68-30=38', '38-32=6']
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,16 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,16 unequal: No Solution
Moving to Node #0,4,3
Current State: 16:[32, 12], Operations: ['68-30=38', '38-26=12']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,16 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Moving to Node #0,4,0
Current State: 16:[38, 6], Operations: ['68-30=38', '32-26=6']
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,16 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,16 unequal: No Solution
Moving to Node #0,4,1
Current State: 16:[38, 58], Operations: ['68-30=38', '32+26=58']
Exploring Operation: 38*58=2204, Resulting Numbers: [2204]
2204,16 unequal: No Solution
Exploring Operation: 58-38=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 38+58=96, Resulting Numbers: [96]
96,16 unequal: No Solution
Moving to Node #0,4,4
Current State: 16:[26, 70], Operations: ['68-30=38', '32+38=70']
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 26+70=96, Resulting Numbers: [96]
96,16 unequal: No Solution
Exploring Operation: 26*70=1820, Resulting Numbers: [1820]
1820,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[32, 30, 42], Operations: ['68-26=42']
Exploring Operation: 32-30=2, Resulting Numbers: [42, 2]
Generated Node #0,1,0: 16:[42, 2] Operation: 32-30=2
Exploring Operation: 42-32=10, Resulting Numbers: [30, 10]
Generated Node #0,1,1: 16:[30, 10] Operation: 42-32=10
Exploring Operation: 32+42=74, Resulting Numbers: [30, 74]
Generated Node #0,1,2: 16:[30, 74] Operation: 32+42=74
Exploring Operation: 42-30=12, Resulting Numbers: [32, 12]
Generated Node #0,1,3: 16:[32, 12] Operation: 42-30=12
Exploring Operation: 32+30=62, Resulting Numbers: [42, 62]
Generated Node #0,1,4: 16:[42, 62] Operation: 32+30=62
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 16:[30, 10], Operations: ['68-26=42', '42-32=10']
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 30+10=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 30*10=300, Resulting Numbers: [300]
300,16 unequal: No Solution
No 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: 16:[32, 12], Operations: ['68-26=42', '42-30=12']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,16 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,16 unequal: No Solution
No 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: 16:[42, 2], Operations: ['68-26=42', '32-30=2']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,16 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,16 unequal: No Solution
No 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: 16:[30, 74], Operations: ['68-26=42', '32+42=74']
Exploring Operation: 30*74=2220, Resulting Numbers: [2220]
2220,16 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 30+74=104, Resulting Numbers: [104]
104,16 unequal: No Solution
No 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: 16:[42, 62], Operations: ['68-26=42', '32+30=62']
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 42+62=104, Resulting Numbers: [104]
104,16 unequal: No Solution
Exploring Operation: 42*62=2604, Resulting Numbers: [2604]
2604,16 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: 16:[68, 26, 2], Operations: ['32-30=2']
Exploring Operation: 68-26=42, Resulting Numbers: [2, 42]
Generated Node #0,0,0: 16:[2, 42] Operation: 68-26=42
Exploring Operation: 26/2=13, Resulting Numbers: [68, 13]
Generated Node #0,0,1: 16:[68, 13] Operation: 26/2=13
Exploring Operation: 68-2=66, Resulting Numbers: [26, 66]
Generated Node #0,0,2: 16:[26, 66] Operation: 68-2=66
Exploring Operation: 68/2=34, Resulting Numbers: [26, 34]
Generated Node #0,0,3: 16:[26, 34] Operation: 68/2=34
Exploring Operation: 26-2=24, Resulting Numbers: [68, 24]
Generated Node #0,0,4: 16:[68, 24] Operation: 26-2=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[2, 42], Operations: ['32-30=2', '68-26=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,16 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,16 unequal: No Solution
No 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: 16:[26, 34], Operations: ['32-30=2', '68/2=34']
Exploring Operation: 26*34=884, Resulting Numbers: [884]
884,16 unequal: No Solution
Exploring Operation: 26+34=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,16 unequal: No Solution
No 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: 16:[68, 13], Operations: ['32-30=2', '26/2=13']
Exploring Operation: 68+13=81, Resulting Numbers: [81]
81,16 unequal: No Solution
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Exploring Operation: 68*13=884, Resulting Numbers: [884]
884,16 unequal: No Solution
No 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: 16:[26, 66], Operations: ['32-30=2', '68-2=66']
Exploring Operation: 26+66=92, Resulting Numbers: [92]
92,16 unequal: No Solution
Exploring Operation: 66-26=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 26*66=1716, Resulting Numbers: [1716]
1716,16 unequal: No Solution
No 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: 16:[68, 24], Operations: ['32-30=2', '26-2=24']
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 68+24=92, Resulting Numbers: [92]
92,16 unequal: No Solution
Exploring Operation: 68*24=1632, Resulting Numbers: [1632]
1632,16 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: 16:[68, 30, 6], Operations: ['32-26=6']
Exploring Operation: 68+6=74, Resulting Numbers: [30, 74]
Generated Node #0,2,0: 16:[30, 74] Operation: 68+6=74
Exploring Operation: 68-30=38, Resulting Numbers: [6, 38]
Generated Node #0,2,1: 16:[6, 38] Operation: 68-30=38
Exploring Operation: 30/6=5, Resulting Numbers: [68, 5]
Generated Node #0,2,2: 16:[68, 5] Operation: 30/6=5
Exploring Operation: 30-6=24, Resulting Numbers: [68, 24]
Generated Node #0,2,3: 16:[68, 24] Operation: 30-6=24
Exploring Operation: 68-6=62, Resulting Numbers: [30, 62]
Generated Node #0,2,4: 16:[30, 62] Operation: 68-6=62
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 16:[6, 38], Operations: ['32-26=6', '68-30=38']
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,16 unequal: No Solution
Exploring Operation: 6*38=228, Resulting Numbers: [228]
228,16 unequal: No Solution
No 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: 16:[68, 5], Operations: ['32-26=6', '30/6=5']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,16 unequal: No Solution
Exploring Operation: 68*5=340, Resulting Numbers: [340]
340,16 unequal: No Solution
Exploring Operation: 68+5=73, Resulting Numbers: [73]
73,16 unequal: No Solution
No 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: 16:[68, 24], Operations: ['32-26=6', '30-6=24']
Exploring Operation: 68+24=92, Resulting Numbers: [92]
92,16 unequal: No Solution
Exploring Operation: 68*24=1632, Resulting Numbers: [1632]
1632,16 unequal: No Solution
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,16 unequal: No Solution
No 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: 16:[30, 62], Operations: ['32-26=6', '68-6=62']
Exploring Operation: 30+62=92, Resulting Numbers: [92]
92,16 unequal: No Solution
Exploring Operation: 30*62=1860, Resulting Numbers: [1860]
1860,16 unequal: No Solution
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,16 unequal: No Solution
No 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: 16:[30, 74], Operations: ['32-26=6', '68+6=74']
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 30+74=104, Resulting Numbers: [104]
104,16 unequal: No Solution
Exploring Operation: 30*74=2220, Resulting Numbers: [2220]
2220,16 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 |
[
58,
16,
14,
86
] | 83 | [
"58-16=42",
"42/14=3",
"86-3=83"
] | Current State: 83:[58, 16, 14, 86], Operations: []
Exploring Operation: 58-16=42, Resulting Numbers: [14, 86, 42]
Generated Node #2: [14, 86, 42] from Operation: 58-16=42
Current State: 83:[14, 86, 42], Operations: ['58-16=42']
Exploring Operation: 42/14=3, Resulting Numbers: [86, 3]
Generated Node #3: [86, 3] from Operation: 42/14=3
Current State: 83:[86, 3], Operations: ['58-16=42', '42/14=3']
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[58, 16, 14, 86], Operations: []
Exploring Operation: 58+14=72, Resulting Numbers: [16, 86, 72]
Generated Node #0,0: 83:[16, 86, 72] Operation: 58+14=72
Exploring Operation: 16+14=30, Resulting Numbers: [58, 86, 30]
Generated Node #0,1: 83:[58, 86, 30] Operation: 16+14=30
Exploring Operation: 58+16=74, Resulting Numbers: [14, 86, 74]
Generated Node #0,2: 83:[14, 86, 74] Operation: 58+16=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[16, 86, 72], Operations: ['58+14=72']
Exploring Operation: 16+72=88, Resulting Numbers: [86, 88]
Generated Node #0,0,0: 83:[86, 88] Operation: 16+72=88
Exploring Operation: 16+86=102, Resulting Numbers: [72, 102]
Generated Node #0,0,1: 83:[72, 102] Operation: 16+86=102
Exploring Operation: 86-16=70, Resulting Numbers: [72, 70]
Generated Node #0,0,2: 83:[72, 70] Operation: 86-16=70
Moving to Node #0,0,0
Current State: 83:[86, 88], Operations: ['58+14=72', '16+72=88']
Exploring Operation: 86*88=7568, Resulting Numbers: [7568]
7568,83 unequal: No Solution
Exploring Operation: 88-86=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 86+88=174, Resulting Numbers: [174]
174,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[72, 70], Operations: ['58+14=72', '86-16=70']
Exploring Operation: 72*70=5040, Resulting Numbers: [5040]
5040,83 unequal: No Solution
Exploring Operation: 72+70=142, Resulting Numbers: [142]
142,83 unequal: No Solution
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[72, 102], Operations: ['58+14=72', '16+86=102']
Exploring Operation: 102-72=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Exploring Operation: 72+102=174, Resulting Numbers: [174]
174,83 unequal: No Solution
Exploring Operation: 72*102=7344, Resulting Numbers: [7344]
7344,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[58, 86, 30], Operations: ['16+14=30']
Exploring Operation: 86-30=56, Resulting Numbers: [58, 56]
Generated Node #0,1,0: 83:[58, 56] Operation: 86-30=56
Exploring Operation: 58+30=88, Resulting Numbers: [86, 88]
Generated Node #0,1,1: 83:[86, 88] Operation: 58+30=88
Exploring Operation: 58-30=28, Resulting Numbers: [86, 28]
Generated Node #0,1,2: 83:[86, 28] Operation: 58-30=28
Moving to Node #0,1,1
Current State: 83:[86, 88], Operations: ['16+14=30', '58+30=88']
Exploring Operation: 88-86=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 86*88=7568, Resulting Numbers: [7568]
7568,83 unequal: No Solution
Exploring Operation: 86+88=174, Resulting Numbers: [174]
174,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[58, 56], Operations: ['16+14=30', '86-30=56']
Exploring Operation: 58*56=3248, Resulting Numbers: [3248]
3248,83 unequal: No Solution
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 58+56=114, Resulting Numbers: [114]
114,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[86, 28], Operations: ['16+14=30', '58-30=28']
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,83 unequal: No Solution
Exploring Operation: 86*28=2408, Resulting Numbers: [2408]
2408,83 unequal: No Solution
Exploring Operation: 86+28=114, Resulting Numbers: [114]
114,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[14, 86, 74], Operations: ['58+16=74']
Exploring Operation: 14+74=88, Resulting Numbers: [86, 88]
Generated Node #0,2,0: 83:[86, 88] Operation: 14+74=88
Exploring Operation: 86-14=72, Resulting Numbers: [74, 72]
Generated Node #0,2,1: 83:[74, 72] Operation: 86-14=72
Exploring Operation: 14+86=100, Resulting Numbers: [74, 100]
Generated Node #0,2,2: 83:[74, 100] Operation: 14+86=100
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 83:[86, 88], Operations: ['58+16=74', '14+74=88']
Exploring Operation: 86+88=174, Resulting Numbers: [174]
174,83 unequal: No Solution
Exploring Operation: 88-86=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 86*88=7568, Resulting Numbers: [7568]
7568,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 83:[74, 72], Operations: ['58+16=74', '86-14=72']
Exploring Operation: 74*72=5328, Resulting Numbers: [5328]
5328,83 unequal: No Solution
Exploring Operation: 74-72=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 74+72=146, Resulting Numbers: [146]
146,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 83:[74, 100], Operations: ['58+16=74', '14+86=100']
Exploring Operation: 100-74=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 74+100=174, Resulting Numbers: [174]
174,83 unequal: No Solution
Exploring Operation: 74*100=7400, Resulting Numbers: [7400]
7400,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
44,
22,
43,
23
] | 33 | [
"44/22=2",
"43+23=66",
"66/2=33"
] | Current State: 33:[44, 22, 43, 23], Operations: []
Exploring Operation: 44/22=2, Resulting Numbers: [43, 23, 2]
Generated Node #2: [43, 23, 2] from Operation: 44/22=2
Current State: 33:[43, 23, 2], Operations: ['44/22=2']
Exploring Operation: 43+23=66, Resulting Numbers: [2, 66]
Generated Node #3: [2, 66] from Operation: 43+23=66
Current State: 33:[2, 66], Operations: ['44/22=2', '43+23=66']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[44, 22, 43, 23], Operations: []
Exploring Operation: 44/22=2, Resulting Numbers: [43, 23, 2]
Generated Node #0,0: 33:[43, 23, 2] Operation: 44/22=2
Exploring Operation: 44-43=1, Resulting Numbers: [22, 23, 1]
Generated Node #0,1: 33:[22, 23, 1] Operation: 44-43=1
Exploring Operation: 44-22=22, Resulting Numbers: [43, 23, 22]
Generated Node #0,2: 33:[43, 23, 22] Operation: 44-22=22
Exploring Operation: 23-22=1, Resulting Numbers: [44, 43, 1]
Generated Node #0,3: 33:[44, 43, 1] Operation: 23-22=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[43, 23, 2], Operations: ['44/22=2']
Exploring Operation: 23-2=21, Resulting Numbers: [43, 21]
Generated Node #0,0,0: 33:[43, 21] Operation: 23-2=21
Exploring Operation: 43-2=41, Resulting Numbers: [23, 41]
Generated Node #0,0,1: 33:[23, 41] Operation: 43-2=41
Exploring Operation: 23+2=25, Resulting Numbers: [43, 25]
Generated Node #0,0,2: 33:[43, 25] Operation: 23+2=25
Exploring Operation: 43-23=20, Resulting Numbers: [2, 20]
Generated Node #0,0,3: 33:[2, 20] Operation: 43-23=20
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 33:[2, 20], Operations: ['44/22=2', '43-23=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[23, 41], Operations: ['44/22=2', '43-2=41']
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 23+41=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 23*41=943, Resulting Numbers: [943]
943,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 33:[43, 25], Operations: ['44/22=2', '23+2=25']
Exploring Operation: 43+25=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 43*25=1075, Resulting Numbers: [1075]
1075,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[43, 21], Operations: ['44/22=2', '23-2=21']
Exploring Operation: 43+21=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 43*21=903, Resulting Numbers: [903]
903,33 unequal: No Solution
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[22, 23, 1], Operations: ['44-43=1']
Exploring Operation: 22+1=23, Resulting Numbers: [23, 23]
Generated Node #0,1,0: 33:[23, 23] Operation: 22+1=23
Exploring Operation: 23-22=1, Resulting Numbers: [1, 1]
Generated Node #0,1,1: 33:[1, 1] Operation: 23-22=1
Exploring Operation: 22+23=45, Resulting Numbers: [1, 45]
Generated Node #0,1,2: 33:[1, 45] Operation: 22+23=45
Exploring Operation: 22-1=21, Resulting Numbers: [23, 21]
Generated Node #0,1,3: 33:[23, 21] Operation: 22-1=21
Moving to Node #0,1,1
Current State: 33:[1, 1], Operations: ['44-43=1', '23-22=1']
Exploring Operation: 1-1=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[1, 45], Operations: ['44-43=1', '22+23=45']
Exploring Operation: 1+45=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 1*45=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Moving to Node #0,1,3
Current State: 33:[23, 21], Operations: ['44-43=1', '22-1=21']
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,33 unequal: No Solution
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[23, 23], Operations: ['44-43=1', '22+1=23']
Exploring Operation: 23-23=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 23/23=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 23*23=529, Resulting Numbers: [529]
529,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[44, 43, 1], Operations: ['23-22=1']
Exploring Operation: 43-1=42, Resulting Numbers: [44, 42]
Generated Node #0,3,0: 33:[44, 42] Operation: 43-1=42
Exploring Operation: 44-1=43, Resulting Numbers: [43, 43]
Generated Node #0,3,1: 33:[43, 43] Operation: 44-1=43
Exploring Operation: 44-43=1, Resulting Numbers: [1, 1]
Generated Node #0,3,2: 33:[1, 1] Operation: 44-43=1
Exploring Operation: 44*1=44, Resulting Numbers: [43, 44]
Generated Node #0,3,3: 33:[43, 44] Operation: 44*1=44
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 33:[1, 1], Operations: ['23-22=1', '44-43=1']
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 1-1=0, Resulting Numbers: [0]
0,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 33:[44, 42], Operations: ['23-22=1', '43-1=42']
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,33 unequal: No Solution
Exploring Operation: 44*42=1848, Resulting Numbers: [1848]
1848,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 33:[43, 43], Operations: ['23-22=1', '44-1=43']
Exploring Operation: 43*43=1849, Resulting Numbers: [1849]
1849,33 unequal: No Solution
Exploring Operation: 43/43=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,33 unequal: No Solution
Exploring Operation: 43-43=0, Resulting Numbers: [0]
0,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 33:[43, 44], Operations: ['23-22=1', '44*1=44']
Exploring Operation: 43+44=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 43*44=1892, Resulting Numbers: [1892]
1892,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[43, 23, 22], Operations: ['44-22=22']
Exploring Operation: 43-23=20, Resulting Numbers: [22, 20]
Generated Node #0,2,0: 33:[22, 20] Operation: 43-23=20
Exploring Operation: 23-22=1, Resulting Numbers: [43, 1]
Generated Node #0,2,1: 33:[43, 1] Operation: 23-22=1
Exploring Operation: 43-22=21, Resulting Numbers: [23, 21]
Generated Node #0,2,2: 33:[23, 21] Operation: 43-22=21
Exploring Operation: 23+22=45, Resulting Numbers: [43, 45]
Generated Node #0,2,3: 33:[43, 45] Operation: 23+22=45
Moving to Node #0,2,1
Current State: 33:[43, 1], Operations: ['44-22=22', '23-22=1']
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,33 unequal: No Solution
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 43+1=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[23, 21], Operations: ['44-22=22', '43-22=21']
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,33 unequal: No Solution
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[22, 20], Operations: ['44-22=22', '43-23=20']
Exploring Operation: 22*20=440, Resulting Numbers: [440]
440,33 unequal: No Solution
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,33 unequal: No Solution
Moving to Node #0,2,3
Current State: 33:[43, 45], Operations: ['44-22=22', '23+22=45']
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 43+45=88, Resulting Numbers: [88]
88,33 unequal: No Solution
Exploring Operation: 43*45=1935, Resulting Numbers: [1935]
1935,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
19,
46,
18,
35
] | 43 | [
"19+35=54",
"54/18=3",
"46-3=43"
] | Current State: 43:[19, 46, 18, 35], Operations: []
Exploring Operation: 19+35=54, Resulting Numbers: [46, 18, 54]
Generated Node #2: [46, 18, 54] from Operation: 19+35=54
Current State: 43:[46, 18, 54], Operations: ['19+35=54']
Exploring Operation: 54/18=3, Resulting Numbers: [46, 3]
Generated Node #3: [46, 3] from Operation: 54/18=3
Current State: 43:[46, 3], Operations: ['19+35=54', '54/18=3']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[19, 46, 18, 35], Operations: []
Exploring Operation: 46-18=28, Resulting Numbers: [19, 35, 28]
Generated Node #0,0: 43:[19, 35, 28] Operation: 46-18=28
Exploring Operation: 18+35=53, Resulting Numbers: [19, 46, 53]
Generated Node #0,1: 43:[19, 46, 53] Operation: 18+35=53
Exploring Operation: 19+18=37, Resulting Numbers: [46, 35, 37]
Generated Node #0,2: 43:[46, 35, 37] Operation: 19+18=37
Exploring Operation: 19+35=54, Resulting Numbers: [46, 18, 54]
Generated Node #0,3: 43:[46, 18, 54] Operation: 19+35=54
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[46, 35, 37], Operations: ['19+18=37']
Exploring Operation: 46+35=81, Resulting Numbers: [37, 81]
Generated Node #0,2,0: 43:[37, 81] Operation: 46+35=81
Exploring Operation: 35+37=72, Resulting Numbers: [46, 72]
Generated Node #0,2,1: 43:[46, 72] Operation: 35+37=72
Exploring Operation: 46-35=11, Resulting Numbers: [37, 11]
Generated Node #0,2,2: 43:[37, 11] Operation: 46-35=11
Exploring Operation: 46-37=9, Resulting Numbers: [35, 9]
Generated Node #0,2,3: 43:[35, 9] Operation: 46-37=9
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[46, 72], Operations: ['19+18=37', '35+37=72']
Exploring Operation: 46*72=3312, Resulting Numbers: [3312]
3312,43 unequal: No Solution
Exploring Operation: 72-46=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 46+72=118, Resulting Numbers: [118]
118,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[37, 11], Operations: ['19+18=37', '46-35=11']
Exploring Operation: 37+11=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Exploring Operation: 37*11=407, Resulting Numbers: [407]
407,43 unequal: No Solution
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 43:[35, 9], Operations: ['19+18=37', '46-37=9']
Exploring Operation: 35*9=315, Resulting Numbers: [315]
315,43 unequal: No Solution
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[37, 81], Operations: ['19+18=37', '46+35=81']
Exploring Operation: 81-37=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 37+81=118, Resulting Numbers: [118]
118,43 unequal: No Solution
Exploring Operation: 37*81=2997, Resulting Numbers: [2997]
2997,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[19, 46, 53], Operations: ['18+35=53']
Exploring Operation: 46-19=27, Resulting Numbers: [53, 27]
Generated Node #0,1,0: 43:[53, 27] Operation: 46-19=27
Exploring Operation: 19+46=65, Resulting Numbers: [53, 65]
Generated Node #0,1,1: 43:[53, 65] Operation: 19+46=65
Exploring Operation: 19+53=72, Resulting Numbers: [46, 72]
Generated Node #0,1,2: 43:[46, 72] Operation: 19+53=72
Exploring Operation: 53-19=34, Resulting Numbers: [46, 34]
Generated Node #0,1,3: 43:[46, 34] Operation: 53-19=34
Moving to Node #0,1,3
Current State: 43:[46, 34], Operations: ['18+35=53', '53-19=34']
Exploring Operation: 46*34=1564, Resulting Numbers: [1564]
1564,43 unequal: No Solution
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 46+34=80, Resulting Numbers: [80]
80,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[53, 27], Operations: ['18+35=53', '46-19=27']
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 53*27=1431, Resulting Numbers: [1431]
1431,43 unequal: No Solution
Exploring Operation: 53+27=80, Resulting Numbers: [80]
80,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[46, 72], Operations: ['18+35=53', '19+53=72']
Exploring Operation: 46+72=118, Resulting Numbers: [118]
118,43 unequal: No Solution
Exploring Operation: 72-46=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 46*72=3312, Resulting Numbers: [3312]
3312,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[53, 65], Operations: ['18+35=53', '19+46=65']
Exploring Operation: 65-53=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 53*65=3445, Resulting Numbers: [3445]
3445,43 unequal: No Solution
Exploring Operation: 53+65=118, Resulting Numbers: [118]
118,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[46, 18, 54], Operations: ['19+35=54']
Exploring Operation: 18+54=72, Resulting Numbers: [46, 72]
Generated Node #0,3,0: 43:[46, 72] Operation: 18+54=72
Exploring Operation: 46-18=28, Resulting Numbers: [54, 28]
Generated Node #0,3,1: 43:[54, 28] Operation: 46-18=28
Exploring Operation: 46+18=64, Resulting Numbers: [54, 64]
Generated Node #0,3,2: 43:[54, 64] Operation: 46+18=64
Exploring Operation: 54-18=36, Resulting Numbers: [46, 36]
Generated Node #0,3,3: 43:[46, 36] Operation: 54-18=36
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 43:[46, 36], Operations: ['19+35=54', '54-18=36']
Exploring Operation: 46*36=1656, Resulting Numbers: [1656]
1656,43 unequal: No Solution
Exploring Operation: 46+36=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 43:[54, 28], Operations: ['19+35=54', '46-18=28']
Exploring Operation: 54+28=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 54*28=1512, Resulting Numbers: [1512]
1512,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 43:[46, 72], Operations: ['19+35=54', '18+54=72']
Exploring Operation: 72-46=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 46*72=3312, Resulting Numbers: [3312]
3312,43 unequal: No Solution
Exploring Operation: 46+72=118, Resulting Numbers: [118]
118,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 43:[54, 64], Operations: ['19+35=54', '46+18=64']
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 54+64=118, Resulting Numbers: [118]
118,43 unequal: No Solution
Exploring Operation: 54*64=3456, Resulting Numbers: [3456]
3456,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[19, 35, 28], Operations: ['46-18=28']
Exploring Operation: 19+35=54, Resulting Numbers: [28, 54]
Generated Node #0,0,0: 43:[28, 54] Operation: 19+35=54
Exploring Operation: 19+28=47, Resulting Numbers: [35, 47]
Generated Node #0,0,1: 43:[35, 47] Operation: 19+28=47
Exploring Operation: 35-19=16, Resulting Numbers: [28, 16]
Generated Node #0,0,2: 43:[28, 16] Operation: 35-19=16
Exploring Operation: 28-19=9, Resulting Numbers: [35, 9]
Generated Node #0,0,3: 43:[35, 9] Operation: 28-19=9
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[35, 47], Operations: ['46-18=28', '19+28=47']
Exploring Operation: 35*47=1645, Resulting Numbers: [1645]
1645,43 unequal: No Solution
Exploring Operation: 35+47=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 47-35=12, Resulting Numbers: [12]
12,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[28, 54], Operations: ['46-18=28', '19+35=54']
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 28*54=1512, Resulting Numbers: [1512]
1512,43 unequal: No Solution
Exploring Operation: 28+54=82, Resulting Numbers: [82]
82,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[28, 16], Operations: ['46-18=28', '35-19=16']
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,43 unequal: No Solution
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 43:[35, 9], Operations: ['46-18=28', '28-19=9']
Exploring Operation: 35*9=315, Resulting Numbers: [315]
315,43 unequal: No Solution
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
87,
88,
82,
13
] | 96 | [
"88-87=1",
"82+13=95",
"1+95=96"
] | Current State: 96:[87, 88, 82, 13], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [82, 13, 1]
Generated Node #2: [82, 13, 1] from Operation: 88-87=1
Current State: 96:[82, 13, 1], Operations: ['88-87=1']
Exploring Operation: 82+13=95, Resulting Numbers: [1, 95]
Generated Node #3: [1, 95] from Operation: 82+13=95
Current State: 96:[1, 95], Operations: ['88-87=1', '82+13=95']
Exploring Operation: 1+95=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[87, 88, 82, 13], Operations: []
Exploring Operation: 87-82=5, Resulting Numbers: [88, 13, 5]
Generated Node #0,0: 96:[88, 13, 5] Operation: 87-82=5
Moving to Node #0,0
Current State: 96:[88, 13, 5], Operations: ['87-82=5']
Exploring Operation: 88+5=93, Resulting Numbers: [13, 93]
Generated Node #0,0,0: 96:[13, 93] Operation: 88+5=93
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[13, 93], Operations: ['87-82=5', '88+5=93']
Exploring Operation: 13+93=106, Resulting Numbers: [106]
106,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
52,
56,
1,
14
] | 13 | [
"52*1=52",
"56/14=4",
"52/4=13"
] | Current State: 13:[52, 56, 1, 14], Operations: []
Exploring Operation: 52*1=52, Resulting Numbers: [56, 14, 52]
Generated Node #2: [56, 14, 52] from Operation: 52*1=52
Current State: 13:[56, 14, 52], Operations: ['52*1=52']
Exploring Operation: 56/14=4, Resulting Numbers: [52, 4]
Generated Node #3: [52, 4] from Operation: 56/14=4
Current State: 13:[52, 4], Operations: ['52*1=52', '56/14=4']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[52, 56, 1, 14], Operations: []
Exploring Operation: 52-1=51, Resulting Numbers: [56, 14, 51]
Generated Node #0,0: 13:[56, 14, 51] Operation: 52-1=51
Exploring Operation: 56-14=42, Resulting Numbers: [52, 1, 42]
Generated Node #0,1: 13:[52, 1, 42] Operation: 56-14=42
Exploring Operation: 52-14=38, Resulting Numbers: [56, 1, 38]
Generated Node #0,2: 13:[56, 1, 38] Operation: 52-14=38
Exploring Operation: 56/14=4, Resulting Numbers: [52, 1, 4]
Generated Node #0,3: 13:[52, 1, 4] Operation: 56/14=4
Exploring Operation: 56-52=4, Resulting Numbers: [1, 14, 4]
Generated Node #0,4: 13:[1, 14, 4] Operation: 56-52=4
Moving to Node #0,4
Current State: 13:[1, 14, 4], Operations: ['56-52=4']
Exploring Operation: 1*4=4, Resulting Numbers: [14, 4]
Generated Node #0,4,0: 13:[14, 4] Operation: 1*4=4
Exploring Operation: 1+4=5, Resulting Numbers: [14, 5]
Generated Node #0,4,1: 13:[14, 5] Operation: 1+4=5
Exploring Operation: 1*14=14, Resulting Numbers: [4, 14]
Generated Node #0,4,2: 13:[4, 14] Operation: 1*14=14
Exploring Operation: 14/1=14, Resulting Numbers: [4, 14]
Generated Node #0,4,3: 13:[4, 14] Operation: 14/1=14
Exploring Operation: 14-1=13, Resulting Numbers: [4, 13]
Generated Node #0,4,4: 13:[4, 13] Operation: 14-1=13
Moving to Node #0,3
Current State: 13:[52, 1, 4], Operations: ['56/14=4']
Exploring Operation: 52*1=52, Resulting Numbers: [4, 52]
Generated Node #0,3,0: 13:[4, 52] Operation: 52*1=52
Exploring Operation: 52-1=51, Resulting Numbers: [4, 51]
Generated Node #0,3,1: 13:[4, 51] Operation: 52-1=51
Exploring Operation: 1+4=5, Resulting Numbers: [52, 5]
Generated Node #0,3,2: 13:[52, 5] Operation: 1+4=5
Exploring Operation: 52-4=48, Resulting Numbers: [1, 48]
Generated Node #0,3,3: 13:[1, 48] Operation: 52-4=48
Exploring Operation: 52/4=13, Resulting Numbers: [1, 13]
Generated Node #0,3,4: 13:[1, 13] Operation: 52/4=13
Moving to Node #0,1
Current State: 13:[52, 1, 42], Operations: ['56-14=42']
Exploring Operation: 42-1=41, Resulting Numbers: [52, 41]
Generated Node #0,1,0: 13:[52, 41] Operation: 42-1=41
Exploring Operation: 52-42=10, Resulting Numbers: [1, 10]
Generated Node #0,1,1: 13:[1, 10] Operation: 52-42=10
Exploring Operation: 52*1=52, Resulting Numbers: [42, 52]
Generated Node #0,1,2: 13:[42, 52] Operation: 52*1=52
Exploring Operation: 52-1=51, Resulting Numbers: [42, 51]
Generated Node #0,1,3: 13:[42, 51] Operation: 52-1=51
Exploring Operation: 52/1=52, Resulting Numbers: [42, 52]
Generated Node #0,1,4: 13:[42, 52] Operation: 52/1=52
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[1, 10], Operations: ['56-14=42', '52-42=10']
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[52, 41], Operations: ['56-14=42', '42-1=41']
Exploring Operation: 52*41=2132, Resulting Numbers: [2132]
2132,13 unequal: No Solution
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 52+41=93, Resulting Numbers: [93]
93,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 13:[42, 51], Operations: ['56-14=42', '52-1=51']
Exploring Operation: 42+51=93, Resulting Numbers: [93]
93,13 unequal: No Solution
Exploring Operation: 42*51=2142, Resulting Numbers: [2142]
2142,13 unequal: No Solution
Exploring Operation: 51-42=9, Resulting Numbers: [9]
9,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 13:[42, 52], Operations: ['56-14=42', '52*1=52']
Exploring Operation: 42*52=2184, Resulting Numbers: [2184]
2184,13 unequal: No Solution
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 42+52=94, Resulting Numbers: [94]
94,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 13:[42, 52], Operations: ['56-14=42', '52/1=52']
Exploring Operation: 42*52=2184, Resulting Numbers: [2184]
2184,13 unequal: No Solution
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 42+52=94, Resulting Numbers: [94]
94,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 13:[56, 1, 38], Operations: ['52-14=38']
Exploring Operation: 38-1=37, Resulting Numbers: [56, 37]
Generated Node #0,2,0: 13:[56, 37] Operation: 38-1=37
Exploring Operation: 56*1=56, Resulting Numbers: [38, 56]
Generated Node #0,2,1: 13:[38, 56] Operation: 56*1=56
Exploring Operation: 56-1=55, Resulting Numbers: [38, 55]
Generated Node #0,2,2: 13:[38, 55] Operation: 56-1=55
Exploring Operation: 56/1=56, Resulting Numbers: [38, 56]
Generated Node #0,2,3: 13:[38, 56] Operation: 56/1=56
Exploring Operation: 56-38=18, Resulting Numbers: [1, 18]
Generated Node #0,2,4: 13:[1, 18] Operation: 56-38=18
Moving to Node #0,0
Current State: 13:[56, 14, 51], Operations: ['52-1=51']
Exploring Operation: 56/14=4, Resulting Numbers: [51, 4]
Generated Node #0,0,0: 13:[51, 4] Operation: 56/14=4
Exploring Operation: 56+14=70, Resulting Numbers: [51, 70]
Generated Node #0,0,1: 13:[51, 70] Operation: 56+14=70
Exploring Operation: 56-14=42, Resulting Numbers: [51, 42]
Generated Node #0,0,2: 13:[51, 42] Operation: 56-14=42
Exploring Operation: 56-51=5, Resulting Numbers: [14, 5]
Generated Node #0,0,3: 13:[14, 5] Operation: 56-51=5
Exploring Operation: 51-14=37, Resulting Numbers: [56, 37]
Generated Node #0,0,4: 13:[56, 37] Operation: 51-14=37
Moving to Node #0,4,1
Current State: 13:[14, 5], Operations: ['56-52=4', '1+4=5']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Moving to Node #0,4,4
Current State: 13:[4, 13], Operations: ['56-52=4', '14-1=13']
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,13 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Moving to Node #0,0,3
Current State: 13:[14, 5], Operations: ['52-1=51', '56-51=5']
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Moving to Node #0,4,0
Current State: 13:[14, 4], Operations: ['56-52=4', '1*4=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,13 unequal: No Solution
Moving to Node #0,4,3
Current State: 13:[4, 14], Operations: ['56-52=4', '14/1=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,13 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Moving to Node #0,4,2
Current State: 13:[4, 14], Operations: ['56-52=4', '1*14=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,13 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Moving to Node #0,3,4
Current State: 13:[1, 13], Operations: ['56/14=4', '52/4=13']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[52, 56, 1, 14], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [52, 1, 4]
Generated Node #0,3: 13:[52, 1, 4] Operation: 56/14=4
Moving to Node #0,3
Current State: 13:[52, 1, 4], Operations: ['56/14=4']
Exploring Operation: 52/4=13, Resulting Numbers: [1, 13]
Generated Node #0,3,4: 13:[1, 13] Operation: 52/4=13
Moving to Node #0,3,4
Current State: 13:[1, 13], Operations: ['56/14=4', '52/4=13']
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 0.938368 | hs_5 | sum_heuristic |
[
7,
32,
19,
5
] | 34 | [
"19-5=14",
"14/7=2",
"32+2=34"
] | Current State: 34:[7, 32, 19, 5], Operations: []
Exploring Operation: 19-5=14, Resulting Numbers: [7, 32, 14]
Generated Node #2: [7, 32, 14] from Operation: 19-5=14
Current State: 34:[7, 32, 14], Operations: ['19-5=14']
Exploring Operation: 14/7=2, Resulting Numbers: [32, 2]
Generated Node #3: [32, 2] from Operation: 14/7=2
Current State: 34:[32, 2], Operations: ['19-5=14', '14/7=2']
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[7, 32, 19, 5], Operations: []
Exploring Operation: 7+5=12, Resulting Numbers: [32, 19, 12]
Generated Node #0,0: 34:[32, 19, 12] Operation: 7+5=12
Exploring Operation: 19-7=12, Resulting Numbers: [32, 5, 12]
Generated Node #0,1: 34:[32, 5, 12] Operation: 19-7=12
Exploring Operation: 7*5=35, Resulting Numbers: [32, 19, 35]
Generated Node #0,2: 34:[32, 19, 35] Operation: 7*5=35
Exploring Operation: 7+32=39, Resulting Numbers: [19, 5, 39]
Generated Node #0,3: 34:[19, 5, 39] Operation: 7+32=39
Exploring Operation: 7-5=2, Resulting Numbers: [32, 19, 2]
Generated Node #0,4: 34:[32, 19, 2] Operation: 7-5=2
Moving to Node #0,4
Current State: 34:[32, 19, 2], Operations: ['7-5=2']
Exploring Operation: 32+2=34, Resulting Numbers: [19, 34]
Generated Node #0,4,0: 34:[19, 34] Operation: 32+2=34
Exploring Operation: 19-2=17, Resulting Numbers: [32, 17]
Generated Node #0,4,1: 34:[32, 17] Operation: 19-2=17
Exploring Operation: 32-2=30, Resulting Numbers: [19, 30]
Generated Node #0,4,2: 34:[19, 30] Operation: 32-2=30
Exploring Operation: 32/2=16, Resulting Numbers: [19, 16]
Generated Node #0,4,3: 34:[19, 16] Operation: 32/2=16
Exploring Operation: 32-19=13, Resulting Numbers: [2, 13]
Generated Node #0,4,4: 34:[2, 13] Operation: 32-19=13
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 34:[19, 34], Operations: ['7-5=2', '32+2=34']
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 19*34=646, Resulting Numbers: [646]
646,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 34:[32, 17], Operations: ['7-5=2', '19-2=17']
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 32*17=544, Resulting Numbers: [544]
544,34 unequal: No Solution
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 34:[19, 16], Operations: ['7-5=2', '32/2=16']
Exploring Operation: 19*16=304, Resulting Numbers: [304]
304,34 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 19+16=35, Resulting Numbers: [35]
35,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 34:[2, 13], Operations: ['7-5=2', '32-19=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 34:[19, 30], Operations: ['7-5=2', '32-2=30']
Exploring Operation: 19*30=570, Resulting Numbers: [570]
570,34 unequal: No Solution
Exploring Operation: 19+30=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 34:[32, 19, 35], Operations: ['7*5=35']
Exploring Operation: 19+35=54, Resulting Numbers: [32, 54]
Generated Node #0,2,0: 34:[32, 54] Operation: 19+35=54
Exploring Operation: 32+19=51, Resulting Numbers: [35, 51]
Generated Node #0,2,1: 34:[35, 51] Operation: 32+19=51
Exploring Operation: 35-32=3, Resulting Numbers: [19, 3]
Generated Node #0,2,2: 34:[19, 3] Operation: 35-32=3
Exploring Operation: 35-19=16, Resulting Numbers: [32, 16]
Generated Node #0,2,3: 34:[32, 16] Operation: 35-19=16
Exploring Operation: 32-19=13, Resulting Numbers: [35, 13]
Generated Node #0,2,4: 34:[35, 13] Operation: 32-19=13
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 34:[19, 3], Operations: ['7*5=35', '35-32=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,34 unequal: No Solution
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 34:[32, 16], Operations: ['7*5=35', '35-19=16']
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 32*16=512, Resulting Numbers: [512]
512,34 unequal: No Solution
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 34:[35, 13], Operations: ['7*5=35', '32-19=13']
Exploring Operation: 35*13=455, Resulting Numbers: [455]
455,34 unequal: No Solution
Exploring Operation: 35+13=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 34:[35, 51], Operations: ['7*5=35', '32+19=51']
Exploring Operation: 35+51=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 35*51=1785, Resulting Numbers: [1785]
1785,34 unequal: No Solution
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 34:[32, 54], Operations: ['7*5=35', '19+35=54']
Exploring Operation: 32*54=1728, Resulting Numbers: [1728]
1728,34 unequal: No Solution
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 32+54=86, Resulting Numbers: [86]
86,34 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: 34:[32, 19, 12], Operations: ['7+5=12']
Exploring Operation: 19-12=7, Resulting Numbers: [32, 7]
Generated Node #0,0,0: 34:[32, 7] Operation: 19-12=7
Exploring Operation: 32-12=20, Resulting Numbers: [19, 20]
Generated Node #0,0,1: 34:[19, 20] Operation: 32-12=20
Exploring Operation: 32+12=44, Resulting Numbers: [19, 44]
Generated Node #0,0,2: 34:[19, 44] Operation: 32+12=44
Exploring Operation: 32-19=13, Resulting Numbers: [12, 13]
Generated Node #0,0,3: 34:[12, 13] Operation: 32-19=13
Exploring Operation: 19+12=31, Resulting Numbers: [32, 31]
Generated Node #0,0,4: 34:[32, 31] Operation: 19+12=31
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[19, 20], Operations: ['7+5=12', '32-12=20']
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,34 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 34:[32, 31], Operations: ['7+5=12', '19+12=31']
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 32+31=63, Resulting Numbers: [63]
63,34 unequal: No Solution
Exploring Operation: 32*31=992, Resulting Numbers: [992]
992,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[32, 7], Operations: ['7+5=12', '19-12=7']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,34 unequal: No Solution
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 34:[12, 13], Operations: ['7+5=12', '32-19=13']
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,34 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 34:[19, 44], Operations: ['7+5=12', '32+12=44']
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 19+44=63, Resulting Numbers: [63]
63,34 unequal: No Solution
Exploring Operation: 19*44=836, Resulting Numbers: [836]
836,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 34:[32, 5, 12], Operations: ['19-7=12']
Exploring Operation: 32-12=20, Resulting Numbers: [5, 20]
Generated Node #0,1,0: 34:[5, 20] Operation: 32-12=20
Exploring Operation: 32+5=37, Resulting Numbers: [12, 37]
Generated Node #0,1,1: 34:[12, 37] Operation: 32+5=37
Exploring Operation: 32-5=27, Resulting Numbers: [12, 27]
Generated Node #0,1,2: 34:[12, 27] Operation: 32-5=27
Exploring Operation: 5+12=17, Resulting Numbers: [32, 17]
Generated Node #0,1,3: 34:[32, 17] Operation: 5+12=17
Exploring Operation: 12-5=7, Resulting Numbers: [32, 7]
Generated Node #0,1,4: 34:[32, 7] Operation: 12-5=7
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 34:[32, 17], Operations: ['19-7=12', '5+12=17']
Exploring Operation: 32*17=544, Resulting Numbers: [544]
544,34 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[5, 20], Operations: ['19-7=12', '32-12=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 34:[32, 7], Operations: ['19-7=12', '12-5=7']
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,34 unequal: No Solution
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[12, 37], Operations: ['19-7=12', '32+5=37']
Exploring Operation: 12*37=444, Resulting Numbers: [444]
444,34 unequal: No Solution
Exploring Operation: 12+37=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[12, 27], Operations: ['19-7=12', '32-5=27']
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,34 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 34:[19, 5, 39], Operations: ['7+32=39']
Exploring Operation: 39-19=20, Resulting Numbers: [5, 20]
Generated Node #0,3,0: 34:[5, 20] Operation: 39-19=20
Exploring Operation: 5+39=44, Resulting Numbers: [19, 44]
Generated Node #0,3,1: 34:[19, 44] Operation: 5+39=44
Exploring Operation: 19-5=14, Resulting Numbers: [39, 14]
Generated Node #0,3,2: 34:[39, 14] Operation: 19-5=14
Exploring Operation: 39-5=34, Resulting Numbers: [19, 34]
Generated Node #0,3,3: 34:[19, 34] Operation: 39-5=34
Exploring Operation: 19+5=24, Resulting Numbers: [39, 24]
Generated Node #0,3,4: 34:[39, 24] Operation: 19+5=24
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 34:[19, 34], Operations: ['7+32=39', '39-5=34']
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 19*34=646, Resulting Numbers: [646]
646,34 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 34:[5, 20], Operations: ['7+32=39', '39-19=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 34:[39, 14], Operations: ['7+32=39', '19-5=14']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 39*14=546, Resulting Numbers: [546]
546,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 34:[19, 44], Operations: ['7+32=39', '5+39=44']
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 19+44=63, Resulting Numbers: [63]
63,34 unequal: No Solution
Exploring Operation: 19*44=836, Resulting Numbers: [836]
836,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 34:[39, 24], Operations: ['7+32=39', '19+5=24']
Exploring Operation: 39*24=936, Resulting Numbers: [936]
936,34 unequal: No Solution
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 39+24=63, Resulting Numbers: [63]
63,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
3,
83,
20,
76
] | 73 | [
"83+76=159",
"159/3=53",
"20+53=73"
] | Current State: 73:[3, 83, 20, 76], Operations: []
Exploring Operation: 83+76=159, Resulting Numbers: [3, 20, 159]
Generated Node #2: [3, 20, 159] from Operation: 83+76=159
Current State: 73:[3, 20, 159], Operations: ['83+76=159']
Exploring Operation: 159/3=53, Resulting Numbers: [20, 53]
Generated Node #3: [20, 53] from Operation: 159/3=53
Current State: 73:[20, 53], Operations: ['83+76=159', '159/3=53']
Exploring Operation: 20+53=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[3, 83, 20, 76], Operations: []
Exploring Operation: 3*20=60, Resulting Numbers: [83, 76, 60]
Generated Node #0,0: 73:[83, 76, 60] Operation: 3*20=60
Exploring Operation: 83-3=80, Resulting Numbers: [20, 76, 80]
Generated Node #0,1: 73:[20, 76, 80] Operation: 83-3=80
Exploring Operation: 3+20=23, Resulting Numbers: [83, 76, 23]
Generated Node #0,2: 73:[83, 76, 23] Operation: 3+20=23
Moving to Node #0,0
Current State: 73:[83, 76, 60], Operations: ['3*20=60']
Exploring Operation: 83+60=143, Resulting Numbers: [76, 143]
Generated Node #0,0,0: 73:[76, 143] Operation: 83+60=143
Exploring Operation: 76-60=16, Resulting Numbers: [83, 16]
Generated Node #0,0,1: 73:[83, 16] Operation: 76-60=16
Exploring Operation: 83-60=23, Resulting Numbers: [76, 23]
Generated Node #0,0,2: 73:[76, 23] Operation: 83-60=23
Moving to Node #0,1
Current State: 73:[20, 76, 80], Operations: ['83-3=80']
Exploring Operation: 20+76=96, Resulting Numbers: [80, 96]
Generated Node #0,1,0: 73:[80, 96] Operation: 20+76=96
Exploring Operation: 76-20=56, Resulting Numbers: [80, 56]
Generated Node #0,1,1: 73:[80, 56] Operation: 76-20=56
Exploring Operation: 80-20=60, Resulting Numbers: [76, 60]
Generated Node #0,1,2: 73:[76, 60] Operation: 80-20=60
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[76, 60], Operations: ['83-3=80', '80-20=60']
Exploring Operation: 76+60=136, Resulting Numbers: [136]
136,73 unequal: No Solution
Exploring Operation: 76*60=4560, Resulting Numbers: [4560]
4560,73 unequal: No Solution
Exploring Operation: 76-60=16, Resulting Numbers: [16]
16,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[80, 56], Operations: ['83-3=80', '76-20=56']
Exploring Operation: 80+56=136, Resulting Numbers: [136]
136,73 unequal: No Solution
Exploring Operation: 80-56=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 80*56=4480, Resulting Numbers: [4480]
4480,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[80, 96], Operations: ['83-3=80', '20+76=96']
Exploring Operation: 96-80=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 80*96=7680, Resulting Numbers: [7680]
7680,73 unequal: No Solution
Exploring Operation: 80+96=176, Resulting Numbers: [176]
176,73 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: 73:[83, 76, 23], Operations: ['3+20=23']
Exploring Operation: 83+23=106, Resulting Numbers: [76, 106]
Generated Node #0,2,0: 73:[76, 106] Operation: 83+23=106
Exploring Operation: 76-23=53, Resulting Numbers: [83, 53]
Generated Node #0,2,1: 73:[83, 53] Operation: 76-23=53
Exploring Operation: 83-23=60, Resulting Numbers: [76, 60]
Generated Node #0,2,2: 73:[76, 60] Operation: 83-23=60
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 73:[76, 60], Operations: ['3+20=23', '83-23=60']
Exploring Operation: 76*60=4560, Resulting Numbers: [4560]
4560,73 unequal: No Solution
Exploring Operation: 76-60=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 76+60=136, Resulting Numbers: [136]
136,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 73:[83, 53], Operations: ['3+20=23', '76-23=53']
Exploring Operation: 83*53=4399, Resulting Numbers: [4399]
4399,73 unequal: No Solution
Exploring Operation: 83+53=136, Resulting Numbers: [136]
136,73 unequal: No Solution
Exploring Operation: 83-53=30, Resulting Numbers: [30]
30,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 73:[76, 106], Operations: ['3+20=23', '83+23=106']
Exploring Operation: 76+106=182, Resulting Numbers: [182]
182,73 unequal: No Solution
Exploring Operation: 106-76=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 76*106=8056, Resulting Numbers: [8056]
8056,73 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: 73:[76, 23], Operations: ['3*20=60', '83-60=23']
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,73 unequal: No Solution
Exploring Operation: 76*23=1748, Resulting Numbers: [1748]
1748,73 unequal: No Solution
Exploring Operation: 76+23=99, Resulting Numbers: [99]
99,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[83, 16], Operations: ['3*20=60', '76-60=16']
Exploring Operation: 83-16=67, Resulting Numbers: [67]
67,73 unequal: No Solution
Exploring Operation: 83*16=1328, Resulting Numbers: [1328]
1328,73 unequal: No Solution
Exploring Operation: 83+16=99, Resulting Numbers: [99]
99,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[76, 143], Operations: ['3*20=60', '83+60=143']
Exploring Operation: 76*143=10868, Resulting Numbers: [10868]
10868,73 unequal: No Solution
Exploring Operation: 143-76=67, Resulting Numbers: [67]
67,73 unequal: No Solution
Exploring Operation: 76+143=219, Resulting Numbers: [219]
219,73 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
36,
22,
9,
15
] | 34 | [
"36+22=58",
"9+15=24",
"58-24=34"
] | Current State: 34:[36, 22, 9, 15], Operations: []
Exploring Operation: 36+22=58, Resulting Numbers: [9, 15, 58]
Generated Node #2: [9, 15, 58] from Operation: 36+22=58
Current State: 34:[9, 15, 58], Operations: ['36+22=58']
Exploring Operation: 9+15=24, Resulting Numbers: [58, 24]
Generated Node #3: [58, 24] from Operation: 9+15=24
Current State: 34:[58, 24], Operations: ['36+22=58', '9+15=24']
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[36, 22, 9, 15], Operations: []
Exploring Operation: 22+9=31, Resulting Numbers: [36, 15, 31]
Generated Node #0,0: 34:[36, 15, 31] Operation: 22+9=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[36, 15, 31], Operations: ['22+9=31']
Exploring Operation: 31-15=16, Resulting Numbers: [36, 16]
Generated Node #0,0,0: 34:[36, 16] Operation: 31-15=16
Moving to Node #0,0,0
Current State: 34:[36, 16], Operations: ['22+9=31', '31-15=16']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,34 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 |
[
54,
19,
9,
11
] | 53 | [
"54+19=73",
"9+11=20",
"73-20=53"
] | Current State: 53:[54, 19, 9, 11], Operations: []
Exploring Operation: 54+19=73, Resulting Numbers: [9, 11, 73]
Generated Node #2: [9, 11, 73] from Operation: 54+19=73
Current State: 53:[9, 11, 73], Operations: ['54+19=73']
Exploring Operation: 9+11=20, Resulting Numbers: [73, 20]
Generated Node #3: [73, 20] from Operation: 9+11=20
Current State: 53:[73, 20], Operations: ['54+19=73', '9+11=20']
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[54, 19, 9, 11], Operations: []
Exploring Operation: 9*11=99, Resulting Numbers: [54, 19, 99]
Generated Node #0,0: 53:[54, 19, 99] Operation: 9*11=99
Exploring Operation: 19+11=30, Resulting Numbers: [54, 9, 30]
Generated Node #0,1: 53:[54, 9, 30] Operation: 19+11=30
Exploring Operation: 54-9=45, Resulting Numbers: [19, 11, 45]
Generated Node #0,2: 53:[19, 11, 45] Operation: 54-9=45
Exploring Operation: 19+9=28, Resulting Numbers: [54, 11, 28]
Generated Node #0,3: 53:[54, 11, 28] Operation: 19+9=28
Exploring Operation: 9+11=20, Resulting Numbers: [54, 19, 20]
Generated Node #0,4: 53:[54, 19, 20] Operation: 9+11=20
Moving to Node #0,1
Current State: 53:[54, 9, 30], Operations: ['19+11=30']
Exploring Operation: 54/9=6, Resulting Numbers: [30, 6]
Generated Node #0,1,0: 53:[30, 6] Operation: 54/9=6
Exploring Operation: 54+9=63, Resulting Numbers: [30, 63]
Generated Node #0,1,1: 53:[30, 63] Operation: 54+9=63
Exploring Operation: 9+30=39, Resulting Numbers: [54, 39]
Generated Node #0,1,2: 53:[54, 39] Operation: 9+30=39
Exploring Operation: 30-9=21, Resulting Numbers: [54, 21]
Generated Node #0,1,3: 53:[54, 21] Operation: 30-9=21
Exploring Operation: 54-9=45, Resulting Numbers: [30, 45]
Generated Node #0,1,4: 53:[30, 45] Operation: 54-9=45
Moving to Node #0,4
Current State: 53:[54, 19, 20], Operations: ['9+11=20']
Exploring Operation: 54+19=73, Resulting Numbers: [20, 73]
Generated Node #0,4,0: 53:[20, 73] Operation: 54+19=73
Exploring Operation: 54-20=34, Resulting Numbers: [19, 34]
Generated Node #0,4,1: 53:[19, 34] Operation: 54-20=34
Exploring Operation: 19+20=39, Resulting Numbers: [54, 39]
Generated Node #0,4,2: 53:[54, 39] Operation: 19+20=39
Exploring Operation: 20-19=1, Resulting Numbers: [54, 1]
Generated Node #0,4,3: 53:[54, 1] Operation: 20-19=1
Exploring Operation: 54-19=35, Resulting Numbers: [20, 35]
Generated Node #0,4,4: 53:[20, 35] Operation: 54-19=35
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 53:[54, 39], Operations: ['9+11=20', '19+20=39']
Exploring Operation: 54*39=2106, Resulting Numbers: [2106]
2106,53 unequal: No Solution
Exploring Operation: 54+39=93, Resulting Numbers: [93]
93,53 unequal: No Solution
Exploring Operation: 54-39=15, Resulting Numbers: [15]
15,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 53:[20, 35], Operations: ['9+11=20', '54-19=35']
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Exploring Operation: 20+35=55, Resulting Numbers: [55]
55,53 unequal: No Solution
Exploring Operation: 20*35=700, Resulting Numbers: [700]
700,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 53:[20, 73], Operations: ['9+11=20', '54+19=73']
Exploring Operation: 20*73=1460, Resulting Numbers: [1460]
1460,53 unequal: No Solution
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[54, 19, 9, 11], Operations: []
Exploring Operation: 9+11=20, Resulting Numbers: [54, 19, 20]
Generated Node #0,4: 53:[54, 19, 20] Operation: 9+11=20
Moving to Node #0,4
Current State: 53:[54, 19, 20], Operations: ['9+11=20']
Exploring Operation: 54+19=73, Resulting Numbers: [20, 73]
Generated Node #0,4,0: 53:[20, 73] Operation: 54+19=73
Moving to Node #0,4,0
Current State: 53:[20, 73], Operations: ['9+11=20', '54+19=73']
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | sum_heuristic |
[
40,
62,
50,
42
] | 87 | [
"42-40=2",
"50/2=25",
"62+25=87"
] | Current State: 87:[40, 62, 50, 42], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [62, 50, 2]
Generated Node #2: [62, 50, 2] from Operation: 42-40=2
Current State: 87:[62, 50, 2], Operations: ['42-40=2']
Exploring Operation: 50/2=25, Resulting Numbers: [62, 25]
Generated Node #3: [62, 25] from Operation: 50/2=25
Current State: 87:[62, 25], Operations: ['42-40=2', '50/2=25']
Exploring Operation: 62+25=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[40, 62, 50, 42], Operations: []
Exploring Operation: 40+50=90, Resulting Numbers: [62, 42, 90]
Generated Node #0,0: 87:[62, 42, 90] Operation: 40+50=90
Exploring Operation: 62-40=22, Resulting Numbers: [50, 42, 22]
Generated Node #0,1: 87:[50, 42, 22] Operation: 62-40=22
Exploring Operation: 62-50=12, Resulting Numbers: [40, 42, 12]
Generated Node #0,2: 87:[40, 42, 12] Operation: 62-50=12
Exploring Operation: 62-42=20, Resulting Numbers: [40, 50, 20]
Generated Node #0,3: 87:[40, 50, 20] Operation: 62-42=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[40, 42, 12], Operations: ['62-50=12']
Exploring Operation: 40+42=82, Resulting Numbers: [12, 82]
Generated Node #0,2,0: 87:[12, 82] Operation: 40+42=82
Exploring Operation: 42-12=30, Resulting Numbers: [40, 30]
Generated Node #0,2,1: 87:[40, 30] Operation: 42-12=30
Exploring Operation: 42-40=2, Resulting Numbers: [12, 2]
Generated Node #0,2,2: 87:[12, 2] Operation: 42-40=2
Exploring Operation: 40-12=28, Resulting Numbers: [42, 28]
Generated Node #0,2,3: 87:[42, 28] Operation: 40-12=28
Moving to Node #0,2,2
Current State: 87:[12, 2], Operations: ['62-50=12', '42-40=2']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[40, 30], Operations: ['62-50=12', '42-12=30']
Exploring Operation: 40+30=70, Resulting Numbers: [70]
70,87 unequal: No Solution
Exploring Operation: 40*30=1200, Resulting Numbers: [1200]
1200,87 unequal: No Solution
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Moving to Node #0,2,3
Current State: 87:[42, 28], Operations: ['62-50=12', '40-12=28']
Exploring Operation: 42*28=1176, Resulting Numbers: [1176]
1176,87 unequal: No Solution
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[12, 82], Operations: ['62-50=12', '40+42=82']
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,87 unequal: No Solution
Exploring Operation: 12+82=94, Resulting Numbers: [94]
94,87 unequal: No Solution
Exploring Operation: 12*82=984, Resulting Numbers: [984]
984,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[62, 42, 90], Operations: ['40+50=90']
Exploring Operation: 62-42=20, Resulting Numbers: [90, 20]
Generated Node #0,0,0: 87:[90, 20] Operation: 62-42=20
Exploring Operation: 90-62=28, Resulting Numbers: [42, 28]
Generated Node #0,0,1: 87:[42, 28] Operation: 90-62=28
Exploring Operation: 62+42=104, Resulting Numbers: [90, 104]
Generated Node #0,0,2: 87:[90, 104] Operation: 62+42=104
Exploring Operation: 90-42=48, Resulting Numbers: [62, 48]
Generated Node #0,0,3: 87:[62, 48] Operation: 90-42=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[90, 20], Operations: ['40+50=90', '62-42=20']
Exploring Operation: 90-20=70, Resulting Numbers: [70]
70,87 unequal: No Solution
Exploring Operation: 90*20=1800, Resulting Numbers: [1800]
1800,87 unequal: No Solution
Exploring Operation: 90+20=110, Resulting Numbers: [110]
110,87 unequal: No Solution
No 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: 87:[42, 28], Operations: ['40+50=90', '90-62=28']
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,87 unequal: No Solution
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 42*28=1176, Resulting Numbers: [1176]
1176,87 unequal: No Solution
No 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: 87:[90, 104], Operations: ['40+50=90', '62+42=104']
Exploring Operation: 90+104=194, Resulting Numbers: [194]
194,87 unequal: No Solution
Exploring Operation: 104-90=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 90*104=9360, Resulting Numbers: [9360]
9360,87 unequal: No Solution
No 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: 87:[62, 48], Operations: ['40+50=90', '90-42=48']
Exploring Operation: 62+48=110, Resulting Numbers: [110]
110,87 unequal: No Solution
Exploring Operation: 62-48=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 62*48=2976, Resulting Numbers: [2976]
2976,87 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: 87:[50, 42, 22], Operations: ['62-40=22']
Exploring Operation: 50-22=28, Resulting Numbers: [42, 28]
Generated Node #0,1,0: 87:[42, 28] Operation: 50-22=28
Exploring Operation: 50+22=72, Resulting Numbers: [42, 72]
Generated Node #0,1,1: 87:[42, 72] Operation: 50+22=72
Exploring Operation: 50-42=8, Resulting Numbers: [22, 8]
Generated Node #0,1,2: 87:[22, 8] Operation: 50-42=8
Exploring Operation: 50+42=92, Resulting Numbers: [22, 92]
Generated Node #0,1,3: 87:[22, 92] Operation: 50+42=92
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 87:[22, 8], Operations: ['62-40=22', '50-42=8']
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,87 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,87 unequal: No Solution
No 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: 87:[22, 92], Operations: ['62-40=22', '50+42=92']
Exploring Operation: 22*92=2024, Resulting Numbers: [2024]
2024,87 unequal: No Solution
Exploring Operation: 92-22=70, Resulting Numbers: [70]
70,87 unequal: No Solution
Exploring Operation: 22+92=114, Resulting Numbers: [114]
114,87 unequal: No Solution
No 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: 87:[42, 28], Operations: ['62-40=22', '50-22=28']
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,87 unequal: No Solution
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 42*28=1176, Resulting Numbers: [1176]
1176,87 unequal: No Solution
No 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: 87:[42, 72], Operations: ['62-40=22', '50+22=72']
Exploring Operation: 42*72=3024, Resulting Numbers: [3024]
3024,87 unequal: No Solution
Exploring Operation: 42+72=114, Resulting Numbers: [114]
114,87 unequal: No Solution
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,87 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: 87:[40, 50, 20], Operations: ['62-42=20']
Exploring Operation: 40+50=90, Resulting Numbers: [20, 90]
Generated Node #0,3,0: 87:[20, 90] Operation: 40+50=90
Exploring Operation: 50-40=10, Resulting Numbers: [20, 10]
Generated Node #0,3,1: 87:[20, 10] Operation: 50-40=10
Exploring Operation: 40/20=2, Resulting Numbers: [50, 2]
Generated Node #0,3,2: 87:[50, 2] Operation: 40/20=2
Exploring Operation: 50-20=30, Resulting Numbers: [40, 30]
Generated Node #0,3,3: 87:[40, 30] Operation: 50-20=30
Moving to Node #0,3,0
Current State: 87:[20, 90], Operations: ['62-42=20', '40+50=90']
Exploring Operation: 20+90=110, Resulting Numbers: [110]
110,87 unequal: No Solution
Exploring Operation: 90-20=70, Resulting Numbers: [70]
70,87 unequal: No Solution
Exploring Operation: 20*90=1800, Resulting Numbers: [1800]
1800,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[40, 30], Operations: ['62-42=20', '50-20=30']
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 40+30=70, Resulting Numbers: [70]
70,87 unequal: No Solution
Exploring Operation: 40*30=1200, Resulting Numbers: [1200]
1200,87 unequal: No Solution
Moving to Node #0,3,1
Current State: 87:[20, 10], Operations: ['62-42=20', '50-40=10']
Exploring Operation: 20+10=30, Resulting Numbers: [30]
30,87 unequal: No Solution
Exploring Operation: 20*10=200, Resulting Numbers: [200]
200,87 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[50, 2], Operations: ['62-42=20', '40/20=2']
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,87 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,87 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 |
[
23,
39,
49,
2
] | 81 | [
"39-23=16",
"2*16=32",
"49+32=81"
] | Current State: 81:[23, 39, 49, 2], Operations: []
Exploring Operation: 39-23=16, Resulting Numbers: [49, 2, 16]
Generated Node #2: [49, 2, 16] from Operation: 39-23=16
Current State: 81:[49, 2, 16], Operations: ['39-23=16']
Exploring Operation: 2*16=32, Resulting Numbers: [49, 32]
Generated Node #3: [49, 32] from Operation: 2*16=32
Current State: 81:[49, 32], Operations: ['39-23=16', '2*16=32']
Exploring Operation: 49+32=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[23, 39, 49, 2], Operations: []
Exploring Operation: 49-23=26, Resulting Numbers: [39, 2, 26]
Generated Node #0,0: 81:[39, 2, 26] Operation: 49-23=26
Exploring Operation: 39+49=88, Resulting Numbers: [23, 2, 88]
Generated Node #0,1: 81:[23, 2, 88] Operation: 39+49=88
Exploring Operation: 39*2=78, Resulting Numbers: [23, 49, 78]
Generated Node #0,2: 81:[23, 49, 78] Operation: 39*2=78
Exploring Operation: 23+49=72, Resulting Numbers: [39, 2, 72]
Generated Node #0,3: 81:[39, 2, 72] Operation: 23+49=72
Exploring Operation: 49-39=10, Resulting Numbers: [23, 2, 10]
Generated Node #0,4: 81:[23, 2, 10] Operation: 49-39=10
Moving to Node #0,4
Current State: 81:[23, 2, 10], Operations: ['49-39=10']
Exploring Operation: 23-2=21, Resulting Numbers: [10, 21]
Generated Node #0,4,0: 81:[10, 21] Operation: 23-2=21
Exploring Operation: 23-10=13, Resulting Numbers: [2, 13]
Generated Node #0,4,1: 81:[2, 13] Operation: 23-10=13
Exploring Operation: 23+2=25, Resulting Numbers: [10, 25]
Generated Node #0,4,2: 81:[10, 25] Operation: 23+2=25
Exploring Operation: 10/2=5, Resulting Numbers: [23, 5]
Generated Node #0,4,3: 81:[23, 5] Operation: 10/2=5
Exploring Operation: 10-2=8, Resulting Numbers: [23, 8]
Generated Node #0,4,4: 81:[23, 8] Operation: 10-2=8
Moving to Node #0,1
Current State: 81:[23, 2, 88], Operations: ['39+49=88']
Exploring Operation: 23+2=25, Resulting Numbers: [88, 25]
Generated Node #0,1,0: 81:[88, 25] Operation: 23+2=25
Exploring Operation: 23-2=21, Resulting Numbers: [88, 21]
Generated Node #0,1,1: 81:[88, 21] Operation: 23-2=21
Exploring Operation: 88-23=65, Resulting Numbers: [2, 65]
Generated Node #0,1,2: 81:[2, 65] Operation: 88-23=65
Exploring Operation: 88-2=86, Resulting Numbers: [23, 86]
Generated Node #0,1,3: 81:[23, 86] Operation: 88-2=86
Exploring Operation: 2+88=90, Resulting Numbers: [23, 90]
Generated Node #0,1,4: 81:[23, 90] Operation: 2+88=90
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[88, 25], Operations: ['39+49=88', '23+2=25']
Exploring Operation: 88*25=2200, Resulting Numbers: [2200]
2200,81 unequal: No Solution
Exploring Operation: 88+25=113, Resulting Numbers: [113]
113,81 unequal: No Solution
Exploring Operation: 88-25=63, Resulting Numbers: [63]
63,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 81:[23, 86], Operations: ['39+49=88', '88-2=86']
Exploring Operation: 86-23=63, Resulting Numbers: [63]
63,81 unequal: No Solution
Exploring Operation: 23*86=1978, Resulting Numbers: [1978]
1978,81 unequal: No Solution
Exploring Operation: 23+86=109, Resulting Numbers: [109]
109,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[88, 21], Operations: ['39+49=88', '23-2=21']
Exploring Operation: 88+21=109, Resulting Numbers: [109]
109,81 unequal: No Solution
Exploring Operation: 88*21=1848, Resulting Numbers: [1848]
1848,81 unequal: No Solution
Exploring Operation: 88-21=67, Resulting Numbers: [67]
67,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 81:[23, 90], Operations: ['39+49=88', '2+88=90']
Exploring Operation: 90-23=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Exploring Operation: 23+90=113, Resulting Numbers: [113]
113,81 unequal: No Solution
Exploring Operation: 23*90=2070, Resulting Numbers: [2070]
2070,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[2, 65], Operations: ['39+49=88', '88-23=65']
Exploring Operation: 2*65=130, Resulting Numbers: [130]
130,81 unequal: No Solution
Exploring Operation: 2+65=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,81 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: 81:[39, 2, 26], Operations: ['49-23=26']
Exploring Operation: 39-26=13, Resulting Numbers: [2, 13]
Generated Node #0,0,0: 81:[2, 13] Operation: 39-26=13
Exploring Operation: 39-2=37, Resulting Numbers: [26, 37]
Generated Node #0,0,1: 81:[26, 37] Operation: 39-2=37
Exploring Operation: 39+2=41, Resulting Numbers: [26, 41]
Generated Node #0,0,2: 81:[26, 41] Operation: 39+2=41
Exploring Operation: 2+26=28, Resulting Numbers: [39, 28]
Generated Node #0,0,3: 81:[39, 28] Operation: 2+26=28
Exploring Operation: 39*2=78, Resulting Numbers: [26, 78]
Generated Node #0,0,4: 81:[26, 78] Operation: 39*2=78
Moving to Node #0,3
Current State: 81:[39, 2, 72], Operations: ['23+49=72']
Exploring Operation: 72-39=33, Resulting Numbers: [2, 33]
Generated Node #0,3,0: 81:[2, 33] Operation: 72-39=33
Exploring Operation: 2+72=74, Resulting Numbers: [39, 74]
Generated Node #0,3,1: 81:[39, 74] Operation: 2+72=74
Exploring Operation: 39*2=78, Resulting Numbers: [72, 78]
Generated Node #0,3,2: 81:[72, 78] Operation: 39*2=78
Exploring Operation: 39-2=37, Resulting Numbers: [72, 37]
Generated Node #0,3,3: 81:[72, 37] Operation: 39-2=37
Exploring Operation: 72/2=36, Resulting Numbers: [39, 36]
Generated Node #0,3,4: 81:[39, 36] Operation: 72/2=36
Moving to Node #0,2
Current State: 81:[23, 49, 78], Operations: ['39*2=78']
Exploring Operation: 23+78=101, Resulting Numbers: [49, 101]
Generated Node #0,2,0: 81:[49, 101] Operation: 23+78=101
Exploring Operation: 78-23=55, Resulting Numbers: [49, 55]
Generated Node #0,2,1: 81:[49, 55] Operation: 78-23=55
Exploring Operation: 78-49=29, Resulting Numbers: [23, 29]
Generated Node #0,2,2: 81:[23, 29] Operation: 78-49=29
Exploring Operation: 23+49=72, Resulting Numbers: [78, 72]
Generated Node #0,2,3: 81:[78, 72] Operation: 23+49=72
Exploring Operation: 49-23=26, Resulting Numbers: [78, 26]
Generated Node #0,2,4: 81:[78, 26] Operation: 49-23=26
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 81:[78, 26], Operations: ['39*2=78', '49-23=26']
Exploring Operation: 78/26=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 78*26=2028, Resulting Numbers: [2028]
2028,81 unequal: No Solution
Exploring Operation: 78+26=104, Resulting Numbers: [104]
104,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[23, 29], Operations: ['39*2=78', '78-49=29']
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 23*29=667, Resulting Numbers: [667]
667,81 unequal: No Solution
Exploring Operation: 23+29=52, Resulting Numbers: [52]
52,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 81:[78, 72], Operations: ['39*2=78', '23+49=72']
Exploring Operation: 78-72=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 78*72=5616, Resulting Numbers: [5616]
5616,81 unequal: No Solution
Exploring Operation: 78+72=150, Resulting Numbers: [150]
150,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 81:[49, 101], Operations: ['39*2=78', '23+78=101']
Exploring Operation: 49*101=4949, Resulting Numbers: [4949]
4949,81 unequal: No Solution
Exploring Operation: 101-49=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 49+101=150, Resulting Numbers: [150]
150,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 81:[49, 55], Operations: ['39*2=78', '78-23=55']
Exploring Operation: 49+55=104, Resulting Numbers: [104]
104,81 unequal: No Solution
Exploring Operation: 55-49=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 49*55=2695, Resulting Numbers: [2695]
2695,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,2
Current State: 81:[10, 25], Operations: ['49-39=10', '23+2=25']
Exploring Operation: 10*25=250, Resulting Numbers: [250]
250,81 unequal: No Solution
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,81 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Moving to Node #0,0,4
Current State: 81:[26, 78], Operations: ['49-23=26', '39*2=78']
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 26+78=104, Resulting Numbers: [104]
104,81 unequal: No Solution
Exploring Operation: 78/26=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 26*78=2028, Resulting Numbers: [2028]
2028,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[2, 13], Operations: ['49-23=26', '39-26=13']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Moving to Node #0,4,4
Current State: 81:[23, 8], Operations: ['49-39=10', '10-2=8']
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,81 unequal: No Solution
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,81 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Moving to Node #0,4,1
Current State: 81:[2, 13], Operations: ['49-39=10', '23-10=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Moving to Node #0,4,3
Current State: 81:[23, 5], Operations: ['49-39=10', '10/2=5']
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Moving to Node #0,4,0
Current State: 81:[10, 21], Operations: ['49-39=10', '23-2=21']
Exploring Operation: 10*21=210, Resulting Numbers: [210]
210,81 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,81 unequal: No Solution
Moving to Node #0,3,0
Current State: 81:[2, 33], Operations: ['23+49=72', '72-39=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,81 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[26, 37], Operations: ['49-23=26', '39-2=37']
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 26+37=63, Resulting Numbers: [63]
63,81 unequal: No Solution
Exploring Operation: 26*37=962, Resulting Numbers: [962]
962,81 unequal: No Solution
Moving to Node #0,3,2
Current State: 81:[72, 78], Operations: ['23+49=72', '39*2=78']
Exploring Operation: 78-72=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 72*78=5616, Resulting Numbers: [5616]
5616,81 unequal: No Solution
Exploring Operation: 72+78=150, Resulting Numbers: [150]
150,81 unequal: No Solution
Moving to Node #0,0,3
Current State: 81:[39, 28], Operations: ['49-23=26', '2+26=28']
Exploring Operation: 39+28=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Exploring Operation: 39*28=1092, Resulting Numbers: [1092]
1092,81 unequal: No Solution
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[26, 41], Operations: ['49-23=26', '39+2=41']
Exploring Operation: 26*41=1066, Resulting Numbers: [1066]
1066,81 unequal: No Solution
Exploring Operation: 26+41=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[39, 74], Operations: ['23+49=72', '2+72=74']
Exploring Operation: 39*74=2886, Resulting Numbers: [2886]
2886,81 unequal: No Solution
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,81 unequal: No Solution
Exploring Operation: 39+74=113, Resulting Numbers: [113]
113,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[72, 37], Operations: ['23+49=72', '39-2=37']
Exploring Operation: 72+37=109, Resulting Numbers: [109]
109,81 unequal: No Solution
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,81 unequal: No Solution
Exploring Operation: 72*37=2664, Resulting Numbers: [2664]
2664,81 unequal: No Solution
Moving to Node #0,3,4
Current State: 81:[39, 36], Operations: ['23+49=72', '72/2=36']
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 39+36=75, Resulting Numbers: [75]
75,81 unequal: No Solution
Exploring Operation: 39*36=1404, Resulting Numbers: [1404]
1404,81 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
24,
66,
17,
13
] | 46 | [
"66-24=42",
"17-13=4",
"42+4=46"
] | Current State: 46:[24, 66, 17, 13], Operations: []
Exploring Operation: 66-24=42, Resulting Numbers: [17, 13, 42]
Generated Node #2: [17, 13, 42] from Operation: 66-24=42
Current State: 46:[17, 13, 42], Operations: ['66-24=42']
Exploring Operation: 17-13=4, Resulting Numbers: [42, 4]
Generated Node #3: [42, 4] from Operation: 17-13=4
Current State: 46:[42, 4], Operations: ['66-24=42', '17-13=4']
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[24, 66, 17, 13], Operations: []
Exploring Operation: 66-17=49, Resulting Numbers: [24, 13, 49]
Generated Node #0,0: 46:[24, 13, 49] Operation: 66-17=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[24, 13, 49], Operations: ['66-17=49']
Exploring Operation: 49-13=36, Resulting Numbers: [24, 36]
Generated Node #0,0,0: 46:[24, 36] Operation: 49-13=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[24, 36], Operations: ['66-17=49', '49-13=36']
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
4,
19,
33,
49
] | 60 | [
"4*19=76",
"49-33=16",
"76-16=60"
] | Current State: 60:[4, 19, 33, 49], Operations: []
Exploring Operation: 4*19=76, Resulting Numbers: [33, 49, 76]
Generated Node #2: [33, 49, 76] from Operation: 4*19=76
Current State: 60:[33, 49, 76], Operations: ['4*19=76']
Exploring Operation: 49-33=16, Resulting Numbers: [76, 16]
Generated Node #3: [76, 16] from Operation: 49-33=16
Current State: 60:[76, 16], Operations: ['4*19=76', '49-33=16']
Exploring Operation: 76-16=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[4, 19, 33, 49], Operations: []
Exploring Operation: 49-33=16, Resulting Numbers: [4, 19, 16]
Generated Node #0,0: 60:[4, 19, 16] Operation: 49-33=16
Moving to Node #0,0
Current State: 60:[4, 19, 16], Operations: ['49-33=16']
Exploring Operation: 19-16=3, Resulting Numbers: [4, 3]
Generated Node #0,0,0: 60:[4, 3] Operation: 19-16=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[4, 3], Operations: ['49-33=16', '19-16=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,60 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 |
[
78,
64,
3,
97
] | 17 | [
"78+97=175",
"64*3=192",
"192-175=17"
] | Current State: 17:[78, 64, 3, 97], Operations: []
Exploring Operation: 78+97=175, Resulting Numbers: [64, 3, 175]
Generated Node #2: [64, 3, 175] from Operation: 78+97=175
Current State: 17:[64, 3, 175], Operations: ['78+97=175']
Exploring Operation: 64*3=192, Resulting Numbers: [175, 192]
Generated Node #3: [175, 192] from Operation: 64*3=192
Current State: 17:[175, 192], Operations: ['78+97=175', '64*3=192']
Exploring Operation: 192-175=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[78, 64, 3, 97], Operations: []
Exploring Operation: 78-64=14, Resulting Numbers: [3, 97, 14]
Generated Node #0,0: 17:[3, 97, 14] Operation: 78-64=14
Exploring Operation: 97-78=19, Resulting Numbers: [64, 3, 19]
Generated Node #0,1: 17:[64, 3, 19] Operation: 97-78=19
Exploring Operation: 78/3=26, Resulting Numbers: [64, 97, 26]
Generated Node #0,2: 17:[64, 97, 26] Operation: 78/3=26
Exploring Operation: 97-64=33, Resulting Numbers: [78, 3, 33]
Generated Node #0,3: 17:[78, 3, 33] Operation: 97-64=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[64, 3, 19], Operations: ['97-78=19']
Exploring Operation: 64-19=45, Resulting Numbers: [3, 45]
Generated Node #0,1,0: 17:[3, 45] Operation: 64-19=45
Exploring Operation: 64+3=67, Resulting Numbers: [19, 67]
Generated Node #0,1,1: 17:[19, 67] Operation: 64+3=67
Exploring Operation: 19-3=16, Resulting Numbers: [64, 16]
Generated Node #0,1,2: 17:[64, 16] Operation: 19-3=16
Exploring Operation: 64-3=61, Resulting Numbers: [19, 61]
Generated Node #0,1,3: 17:[19, 61] Operation: 64-3=61
Moving to Node #0,1,0
Current State: 17:[3, 45], Operations: ['97-78=19', '64-19=45']
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 3*45=135, Resulting Numbers: [135]
135,17 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Moving to Node #0,1,3
Current State: 17:[19, 61], Operations: ['97-78=19', '64-3=61']
Exploring Operation: 19*61=1159, Resulting Numbers: [1159]
1159,17 unequal: No Solution
Exploring Operation: 19+61=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[64, 16], Operations: ['97-78=19', '19-3=16']
Exploring Operation: 64*16=1024, Resulting Numbers: [1024]
1024,17 unequal: No Solution
Exploring Operation: 64+16=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 64-16=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 64/16=4, Resulting Numbers: [4]
4,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[19, 67], Operations: ['97-78=19', '64+3=67']
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 19*67=1273, Resulting Numbers: [1273]
1273,17 unequal: No Solution
Exploring Operation: 19+67=86, Resulting Numbers: [86]
86,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 17:[78, 3, 33], Operations: ['97-64=33']
Exploring Operation: 78/3=26, Resulting Numbers: [33, 26]
Generated Node #0,3,0: 17:[33, 26] Operation: 78/3=26
Exploring Operation: 78-33=45, Resulting Numbers: [3, 45]
Generated Node #0,3,1: 17:[3, 45] Operation: 78-33=45
Exploring Operation: 78-3=75, Resulting Numbers: [33, 75]
Generated Node #0,3,2: 17:[33, 75] Operation: 78-3=75
Exploring Operation: 33/3=11, Resulting Numbers: [78, 11]
Generated Node #0,3,3: 17:[78, 11] Operation: 33/3=11
Moving to Node #0,3,0
Current State: 17:[33, 26], Operations: ['97-64=33', '78/3=26']
Exploring Operation: 33*26=858, Resulting Numbers: [858]
858,17 unequal: No Solution
Exploring Operation: 33+26=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Moving to Node #0,3,1
Current State: 17:[3, 45], Operations: ['97-64=33', '78-33=45']
Exploring Operation: 3*45=135, Resulting Numbers: [135]
135,17 unequal: No Solution
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Moving to Node #0,3,3
Current State: 17:[78, 11], Operations: ['97-64=33', '33/3=11']
Exploring Operation: 78-11=67, Resulting Numbers: [67]
67,17 unequal: No Solution
Exploring Operation: 78*11=858, Resulting Numbers: [858]
858,17 unequal: No Solution
Exploring Operation: 78+11=89, Resulting Numbers: [89]
89,17 unequal: No Solution
Moving to Node #0,3,2
Current State: 17:[33, 75], Operations: ['97-64=33', '78-3=75']
Exploring Operation: 33+75=108, Resulting Numbers: [108]
108,17 unequal: No Solution
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Exploring Operation: 33*75=2475, Resulting Numbers: [2475]
2475,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[3, 97, 14], Operations: ['78-64=14']
Exploring Operation: 97-3=94, Resulting Numbers: [14, 94]
Generated Node #0,0,0: 17:[14, 94] Operation: 97-3=94
Exploring Operation: 3+14=17, Resulting Numbers: [97, 17]
Generated Node #0,0,1: 17:[97, 17] Operation: 3+14=17
Exploring Operation: 97-14=83, Resulting Numbers: [3, 83]
Generated Node #0,0,2: 17:[3, 83] Operation: 97-14=83
Exploring Operation: 3+97=100, Resulting Numbers: [14, 100]
Generated Node #0,0,3: 17:[14, 100] Operation: 3+97=100
Moving to Node #0,0,0
Current State: 17:[14, 94], Operations: ['78-64=14', '97-3=94']
Exploring Operation: 14+94=108, Resulting Numbers: [108]
108,17 unequal: No Solution
Exploring Operation: 94-14=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 14*94=1316, Resulting Numbers: [1316]
1316,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[3, 83], Operations: ['78-64=14', '97-14=83']
Exploring Operation: 3*83=249, Resulting Numbers: [249]
249,17 unequal: No Solution
Exploring Operation: 3+83=86, Resulting Numbers: [86]
86,17 unequal: No Solution
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[97, 17], Operations: ['78-64=14', '3+14=17']
Exploring Operation: 97-17=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 97+17=114, Resulting Numbers: [114]
114,17 unequal: No Solution
Exploring Operation: 97*17=1649, Resulting Numbers: [1649]
1649,17 unequal: No Solution
Moving to Node #0,0,3
Current State: 17:[14, 100], Operations: ['78-64=14', '3+97=100']
Exploring Operation: 14*100=1400, Resulting Numbers: [1400]
1400,17 unequal: No Solution
Exploring Operation: 100-14=86, Resulting Numbers: [86]
86,17 unequal: No Solution
Exploring Operation: 14+100=114, Resulting Numbers: [114]
114,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[64, 97, 26], Operations: ['78/3=26']
Exploring Operation: 64-26=38, Resulting Numbers: [97, 38]
Generated Node #0,2,0: 17:[97, 38] Operation: 64-26=38
Exploring Operation: 97-64=33, Resulting Numbers: [26, 33]
Generated Node #0,2,1: 17:[26, 33] Operation: 97-64=33
Exploring Operation: 64+97=161, Resulting Numbers: [26, 161]
Generated Node #0,2,2: 17:[26, 161] Operation: 64+97=161
Exploring Operation: 97-26=71, Resulting Numbers: [64, 71]
Generated Node #0,2,3: 17:[64, 71] Operation: 97-26=71
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 17:[26, 33], Operations: ['78/3=26', '97-64=33']
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 26*33=858, Resulting Numbers: [858]
858,17 unequal: No Solution
Exploring Operation: 26+33=59, Resulting Numbers: [59]
59,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,0
Current State: 17:[97, 38], Operations: ['78/3=26', '64-26=38']
Exploring Operation: 97-38=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Exploring Operation: 97*38=3686, Resulting Numbers: [3686]
3686,17 unequal: No Solution
Exploring Operation: 97+38=135, Resulting Numbers: [135]
135,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,3
Current State: 17:[64, 71], Operations: ['78/3=26', '97-26=71']
Exploring Operation: 64*71=4544, Resulting Numbers: [4544]
4544,17 unequal: No Solution
Exploring Operation: 71-64=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 64+71=135, Resulting Numbers: [135]
135,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:[26, 161], Operations: ['78/3=26', '64+97=161']
Exploring Operation: 26+161=187, Resulting Numbers: [187]
187,17 unequal: No Solution
Exploring Operation: 26*161=4186, Resulting Numbers: [4186]
4186,17 unequal: No Solution
Exploring Operation: 161-26=135, Resulting Numbers: [135]
135,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
12,
79,
63,
10
] | 34 | [
"12*63=756",
"79*10=790",
"790-756=34"
] | Current State: 34:[12, 79, 63, 10], Operations: []
Exploring Operation: 12*63=756, Resulting Numbers: [79, 10, 756]
Generated Node #2: [79, 10, 756] from Operation: 12*63=756
Current State: 34:[79, 10, 756], Operations: ['12*63=756']
Exploring Operation: 79*10=790, Resulting Numbers: [756, 790]
Generated Node #3: [756, 790] from Operation: 79*10=790
Current State: 34:[756, 790], Operations: ['12*63=756', '79*10=790']
Exploring Operation: 790-756=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[12, 79, 63, 10], Operations: []
Exploring Operation: 79-63=16, Resulting Numbers: [12, 10, 16]
Generated Node #0,0: 34:[12, 10, 16] Operation: 79-63=16
Exploring Operation: 79-12=67, Resulting Numbers: [63, 10, 67]
Generated Node #0,1: 34:[63, 10, 67] Operation: 79-12=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[12, 10, 16], Operations: ['79-63=16']
Exploring Operation: 12-10=2, Resulting Numbers: [16, 2]
Generated Node #0,0,0: 34:[16, 2] Operation: 12-10=2
Exploring Operation: 12+10=22, Resulting Numbers: [16, 22]
Generated Node #0,0,1: 34:[16, 22] Operation: 12+10=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[16, 2], Operations: ['79-63=16', '12-10=2']
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,34 unequal: No Solution
No 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: 34:[16, 22], Operations: ['79-63=16', '12+10=22']
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,34 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: 34:[63, 10, 67], Operations: ['79-12=67']
Exploring Operation: 67-63=4, Resulting Numbers: [10, 4]
Generated Node #0,1,0: 34:[10, 4] Operation: 67-63=4
Exploring Operation: 63-10=53, Resulting Numbers: [67, 53]
Generated Node #0,1,1: 34:[67, 53] Operation: 63-10=53
Moving to Node #0,1,0
Current State: 34:[10, 4], Operations: ['79-12=67', '67-63=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[67, 53], Operations: ['79-12=67', '63-10=53']
Exploring Operation: 67+53=120, Resulting Numbers: [120]
120,34 unequal: No Solution
Exploring Operation: 67-53=14, Resulting Numbers: [14]
14,34 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 |
[
78,
28,
7,
89
] | 29 | [
"78+89=167",
"28*7=196",
"196-167=29"
] | Current State: 29:[78, 28, 7, 89], Operations: []
Exploring Operation: 78+89=167, Resulting Numbers: [28, 7, 167]
Generated Node #2: [28, 7, 167] from Operation: 78+89=167
Current State: 29:[28, 7, 167], Operations: ['78+89=167']
Exploring Operation: 28*7=196, Resulting Numbers: [167, 196]
Generated Node #3: [167, 196] from Operation: 28*7=196
Current State: 29:[167, 196], Operations: ['78+89=167', '28*7=196']
Exploring Operation: 196-167=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[78, 28, 7, 89], Operations: []
Exploring Operation: 78-28=50, Resulting Numbers: [7, 89, 50]
Generated Node #0,0: 29:[7, 89, 50] Operation: 78-28=50
Exploring Operation: 89-78=11, Resulting Numbers: [28, 7, 11]
Generated Node #0,1: 29:[28, 7, 11] Operation: 89-78=11
Exploring Operation: 78-7=71, Resulting Numbers: [28, 89, 71]
Generated Node #0,2: 29:[28, 89, 71] Operation: 78-7=71
Moving to Node #0,1
Current State: 29:[28, 7, 11], Operations: ['89-78=11']
Exploring Operation: 28+7=35, Resulting Numbers: [11, 35]
Generated Node #0,1,0: 29:[11, 35] Operation: 28+7=35
Exploring Operation: 28-7=21, Resulting Numbers: [11, 21]
Generated Node #0,1,1: 29:[11, 21] Operation: 28-7=21
Exploring Operation: 7+11=18, Resulting Numbers: [28, 18]
Generated Node #0,1,2: 29:[28, 18] Operation: 7+11=18
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[28, 18], Operations: ['89-78=11', '7+11=18']
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,29 unequal: No Solution
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,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:[11, 35], Operations: ['89-78=11', '28+7=35']
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 11*35=385, Resulting Numbers: [385]
385,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,1
Current State: 29:[11, 21], Operations: ['89-78=11', '28-7=21']
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,29 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,29 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: 29:[7, 89, 50], Operations: ['78-28=50']
Exploring Operation: 89-7=82, Resulting Numbers: [50, 82]
Generated Node #0,0,0: 29:[50, 82] Operation: 89-7=82
Exploring Operation: 50-7=43, Resulting Numbers: [89, 43]
Generated Node #0,0,1: 29:[89, 43] Operation: 50-7=43
Exploring Operation: 89-50=39, Resulting Numbers: [7, 39]
Generated Node #0,0,2: 29:[7, 39] Operation: 89-50=39
Moving to Node #0,2
Current State: 29:[28, 89, 71], Operations: ['78-7=71']
Exploring Operation: 71-28=43, Resulting Numbers: [89, 43]
Generated Node #0,2,0: 29:[89, 43] Operation: 71-28=43
Exploring Operation: 89-71=18, Resulting Numbers: [28, 18]
Generated Node #0,2,1: 29:[28, 18] Operation: 89-71=18
Exploring Operation: 89-28=61, Resulting Numbers: [71, 61]
Generated Node #0,2,2: 29:[71, 61] Operation: 89-28=61
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 29:[28, 18], Operations: ['78-7=71', '89-71=18']
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 29:[89, 43], Operations: ['78-7=71', '71-28=43']
Exploring Operation: 89*43=3827, Resulting Numbers: [3827]
3827,29 unequal: No Solution
Exploring Operation: 89-43=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 89+43=132, Resulting Numbers: [132]
132,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 29:[71, 61], Operations: ['78-7=71', '89-28=61']
Exploring Operation: 71*61=4331, Resulting Numbers: [4331]
4331,29 unequal: No Solution
Exploring Operation: 71+61=132, Resulting Numbers: [132]
132,29 unequal: No Solution
Exploring Operation: 71-61=10, Resulting Numbers: [10]
10,29 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: 29:[7, 39], Operations: ['78-28=50', '89-50=39']
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 7*39=273, Resulting Numbers: [273]
273,29 unequal: No Solution
Exploring Operation: 7+39=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[50, 82], Operations: ['78-28=50', '89-7=82']
Exploring Operation: 50+82=132, Resulting Numbers: [132]
132,29 unequal: No Solution
Exploring Operation: 82-50=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 50*82=4100, Resulting Numbers: [4100]
4100,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[89, 43], Operations: ['78-28=50', '50-7=43']
Exploring Operation: 89-43=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 89*43=3827, Resulting Numbers: [3827]
3827,29 unequal: No Solution
Exploring Operation: 89+43=132, Resulting Numbers: [132]
132,29 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
66,
9,
6,
24
] | 20 | [
"66*6=396",
"396/9=44",
"44-24=20"
] | Current State: 20:[66, 9, 6, 24], Operations: []
Exploring Operation: 66*6=396, Resulting Numbers: [9, 24, 396]
Generated Node #2: [9, 24, 396] from Operation: 66*6=396
Current State: 20:[9, 24, 396], Operations: ['66*6=396']
Exploring Operation: 396/9=44, Resulting Numbers: [24, 44]
Generated Node #3: [24, 44] from Operation: 396/9=44
Current State: 20:[24, 44], Operations: ['66*6=396', '396/9=44']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[66, 9, 6, 24], Operations: []
Exploring Operation: 66/6=11, Resulting Numbers: [9, 24, 11]
Generated Node #0,0: 20:[9, 24, 11] Operation: 66/6=11
Moving to Node #0,0
Current State: 20:[9, 24, 11], Operations: ['66/6=11']
Exploring Operation: 9+11=20, Resulting Numbers: [24, 20]
Generated Node #0,0,0: 20:[24, 20] Operation: 9+11=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[24, 20], Operations: ['66/6=11', '9+11=20']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,20 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 |
[
7,
54,
32,
78
] | 92 | [
"7*32=224",
"54+78=132",
"224-132=92"
] | Current State: 92:[7, 54, 32, 78], Operations: []
Exploring Operation: 7*32=224, Resulting Numbers: [54, 78, 224]
Generated Node #2: [54, 78, 224] from Operation: 7*32=224
Current State: 92:[54, 78, 224], Operations: ['7*32=224']
Exploring Operation: 54+78=132, Resulting Numbers: [224, 132]
Generated Node #3: [224, 132] from Operation: 54+78=132
Current State: 92:[224, 132], Operations: ['7*32=224', '54+78=132']
Exploring Operation: 224-132=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[7, 54, 32, 78], Operations: []
Exploring Operation: 78-54=24, Resulting Numbers: [7, 32, 24]
Generated Node #0,0: 92:[7, 32, 24] Operation: 78-54=24
Exploring Operation: 78-32=46, Resulting Numbers: [7, 54, 46]
Generated Node #0,1: 92:[7, 54, 46] Operation: 78-32=46
Exploring Operation: 54-32=22, Resulting Numbers: [7, 78, 22]
Generated Node #0,2: 92:[7, 78, 22] Operation: 54-32=22
Moving to Node #0,1
Current State: 92:[7, 54, 46], Operations: ['78-32=46']
Exploring Operation: 54-7=47, Resulting Numbers: [46, 47]
Generated Node #0,1,0: 92:[46, 47] Operation: 54-7=47
Exploring Operation: 54-46=8, Resulting Numbers: [7, 8]
Generated Node #0,1,1: 92:[7, 8] Operation: 54-46=8
Exploring Operation: 54+46=100, Resulting Numbers: [7, 100]
Generated Node #0,1,2: 92:[7, 100] Operation: 54+46=100
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[46, 47], Operations: ['78-32=46', '54-7=47']
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 46+47=93, Resulting Numbers: [93]
93,92 unequal: No Solution
Exploring Operation: 46*47=2162, Resulting Numbers: [2162]
2162,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,1
Current State: 92:[7, 8], Operations: ['78-32=46', '54-46=8']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,92 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,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,2
Current State: 92:[7, 100], Operations: ['78-32=46', '54+46=100']
Exploring Operation: 7*100=700, Resulting Numbers: [700]
700,92 unequal: No Solution
Exploring Operation: 100-7=93, Resulting Numbers: [93]
93,92 unequal: No Solution
Exploring Operation: 7+100=107, Resulting Numbers: [107]
107,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 92:[7, 32, 24], Operations: ['78-54=24']
Exploring Operation: 7+32=39, Resulting Numbers: [24, 39]
Generated Node #0,0,0: 92:[24, 39] Operation: 7+32=39
Exploring Operation: 32-7=25, Resulting Numbers: [24, 25]
Generated Node #0,0,1: 92:[24, 25] Operation: 32-7=25
Exploring Operation: 32-24=8, Resulting Numbers: [7, 8]
Generated Node #0,0,2: 92:[7, 8] Operation: 32-24=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[24, 25], Operations: ['78-54=24', '32-7=25']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,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,2
Current State: 92:[7, 8], Operations: ['78-54=24', '32-24=8']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,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,0
Current State: 92:[24, 39], Operations: ['78-54=24', '7+32=39']
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,92 unequal: No Solution
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,92 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: 92:[7, 78, 22], Operations: ['54-32=22']
Exploring Operation: 78-22=56, Resulting Numbers: [7, 56]
Generated Node #0,2,0: 92:[7, 56] Operation: 78-22=56
Exploring Operation: 78+22=100, Resulting Numbers: [7, 100]
Generated Node #0,2,1: 92:[7, 100] Operation: 78+22=100
Exploring Operation: 7+78=85, Resulting Numbers: [22, 85]
Generated Node #0,2,2: 92:[22, 85] Operation: 7+78=85
Moving to Node #0,2,2
Current State: 92:[22, 85], Operations: ['54-32=22', '7+78=85']
Exploring Operation: 22+85=107, Resulting Numbers: [107]
107,92 unequal: No Solution
Exploring Operation: 85-22=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 22*85=1870, Resulting Numbers: [1870]
1870,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[7, 100], Operations: ['54-32=22', '78+22=100']
Exploring Operation: 100-7=93, Resulting Numbers: [93]
93,92 unequal: No Solution
Exploring Operation: 7*100=700, Resulting Numbers: [700]
700,92 unequal: No Solution
Exploring Operation: 7+100=107, Resulting Numbers: [107]
107,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[7, 56], Operations: ['54-32=22', '78-22=56']
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,92 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 7+56=63, Resulting Numbers: [63]
63,92 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
52,
69,
12,
13
] | 35 | [
"52+69=121",
"12*13=156",
"156-121=35"
] | Current State: 35:[52, 69, 12, 13], Operations: []
Exploring Operation: 52+69=121, Resulting Numbers: [12, 13, 121]
Generated Node #2: [12, 13, 121] from Operation: 52+69=121
Current State: 35:[12, 13, 121], Operations: ['52+69=121']
Exploring Operation: 12*13=156, Resulting Numbers: [121, 156]
Generated Node #3: [121, 156] from Operation: 12*13=156
Current State: 35:[121, 156], Operations: ['52+69=121', '12*13=156']
Exploring Operation: 156-121=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[52, 69, 12, 13], Operations: []
Exploring Operation: 69-52=17, Resulting Numbers: [12, 13, 17]
Generated Node #0,0: 35:[12, 13, 17] Operation: 69-52=17
Exploring Operation: 52-13=39, Resulting Numbers: [69, 12, 39]
Generated Node #0,1: 35:[69, 12, 39] Operation: 52-13=39
Exploring Operation: 52/13=4, Resulting Numbers: [69, 12, 4]
Generated Node #0,2: 35:[69, 12, 4] Operation: 52/13=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[12, 13, 17], Operations: ['69-52=17']
Exploring Operation: 17-12=5, Resulting Numbers: [13, 5]
Generated Node #0,0,0: 35:[13, 5] Operation: 17-12=5
Exploring Operation: 13+17=30, Resulting Numbers: [12, 30]
Generated Node #0,0,1: 35:[12, 30] Operation: 13+17=30
Exploring Operation: 17-13=4, Resulting Numbers: [12, 4]
Generated Node #0,0,2: 35:[12, 4] Operation: 17-13=4
Moving to Node #0,0,0
Current State: 35:[13, 5], Operations: ['69-52=17', '17-12=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,35 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[12, 4], Operations: ['69-52=17', '17-13=4']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,35 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[12, 30], Operations: ['69-52=17', '13+17=30']
Exploring Operation: 12*30=360, Resulting Numbers: [360]
360,35 unequal: No Solution
Exploring Operation: 12+30=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[69, 12, 4], Operations: ['52/13=4']
Exploring Operation: 69-4=65, Resulting Numbers: [12, 65]
Generated Node #0,2,0: 35:[12, 65] Operation: 69-4=65
Exploring Operation: 69-12=57, Resulting Numbers: [4, 57]
Generated Node #0,2,1: 35:[4, 57] Operation: 69-12=57
Exploring Operation: 12-4=8, Resulting Numbers: [69, 8]
Generated Node #0,2,2: 35:[69, 8] Operation: 12-4=8
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 35:[4, 57], Operations: ['52/13=4', '69-12=57']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,35 unequal: No Solution
Exploring Operation: 4*57=228, Resulting Numbers: [228]
228,35 unequal: No Solution
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,35 unequal: No Solution
No 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: 35:[12, 65], Operations: ['52/13=4', '69-4=65']
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,35 unequal: No Solution
Exploring Operation: 12*65=780, Resulting Numbers: [780]
780,35 unequal: No Solution
Exploring Operation: 12+65=77, Resulting Numbers: [77]
77,35 unequal: No Solution
No 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: 35:[69, 8], Operations: ['52/13=4', '12-4=8']
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,35 unequal: No Solution
Exploring Operation: 69+8=77, Resulting Numbers: [77]
77,35 unequal: No Solution
Exploring Operation: 69*8=552, Resulting Numbers: [552]
552,35 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: 35:[69, 12, 39], Operations: ['52-13=39']
Exploring Operation: 69-39=30, Resulting Numbers: [12, 30]
Generated Node #0,1,0: 35:[12, 30] Operation: 69-39=30
Exploring Operation: 39-12=27, Resulting Numbers: [69, 27]
Generated Node #0,1,1: 35:[69, 27] Operation: 39-12=27
Exploring Operation: 69-12=57, Resulting Numbers: [39, 57]
Generated Node #0,1,2: 35:[39, 57] Operation: 69-12=57
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 35:[12, 30], Operations: ['52-13=39', '69-39=30']
Exploring Operation: 12*30=360, Resulting Numbers: [360]
360,35 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 12+30=42, Resulting Numbers: [42]
42,35 unequal: No Solution
No 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: 35:[39, 57], Operations: ['52-13=39', '69-12=57']
Exploring Operation: 39*57=2223, Resulting Numbers: [2223]
2223,35 unequal: No Solution
Exploring Operation: 39+57=96, Resulting Numbers: [96]
96,35 unequal: No Solution
Exploring Operation: 57-39=18, Resulting Numbers: [18]
18,35 unequal: No Solution
No 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: 35:[69, 27], Operations: ['52-13=39', '39-12=27']
Exploring Operation: 69*27=1863, Resulting Numbers: [1863]
1863,35 unequal: No Solution
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Exploring Operation: 69+27=96, Resulting Numbers: [96]
96,35 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 |
[
64,
42,
19,
21
] | 32 | [
"42-19=23",
"23-21=2",
"64/2=32"
] | Current State: 32:[64, 42, 19, 21], Operations: []
Exploring Operation: 42-19=23, Resulting Numbers: [64, 21, 23]
Generated Node #2: [64, 21, 23] from Operation: 42-19=23
Current State: 32:[64, 21, 23], Operations: ['42-19=23']
Exploring Operation: 23-21=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 23-21=2
Current State: 32:[64, 2], Operations: ['42-19=23', '23-21=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[64, 42, 19, 21], Operations: []
Exploring Operation: 64-21=43, Resulting Numbers: [42, 19, 43]
Generated Node #0,0: 32:[42, 19, 43] Operation: 64-21=43
Exploring Operation: 64-42=22, Resulting Numbers: [19, 21, 22]
Generated Node #0,1: 32:[19, 21, 22] Operation: 64-42=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[19, 21, 22], Operations: ['64-42=22']
Exploring Operation: 22-21=1, Resulting Numbers: [19, 1]
Generated Node #0,1,0: 32:[19, 1] Operation: 22-21=1
Exploring Operation: 21-19=2, Resulting Numbers: [22, 2]
Generated Node #0,1,1: 32:[22, 2] Operation: 21-19=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 32:[19, 1], Operations: ['64-42=22', '22-21=1']
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,32 unequal: No Solution
No 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: 32:[22, 2], Operations: ['64-42=22', '21-19=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,32 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: 32:[42, 19, 43], Operations: ['64-21=43']
Exploring Operation: 42-19=23, Resulting Numbers: [43, 23]
Generated Node #0,0,0: 32:[43, 23] Operation: 42-19=23
Exploring Operation: 43-42=1, Resulting Numbers: [19, 1]
Generated Node #0,0,1: 32:[19, 1] Operation: 43-42=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 32:[19, 1], Operations: ['64-21=43', '43-42=1']
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,32 unequal: No Solution
No 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: 32:[43, 23], Operations: ['64-21=43', '42-19=23']
Exploring Operation: 43+23=66, Resulting Numbers: [66]
66,32 unequal: No Solution
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,32 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 |
[
62,
58,
74,
16
] | 70 | [
"62-58=4",
"16/4=4",
"74-4=70"
] | Current State: 70:[62, 58, 74, 16], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [74, 16, 4]
Generated Node #2: [74, 16, 4] from Operation: 62-58=4
Current State: 70:[74, 16, 4], Operations: ['62-58=4']
Exploring Operation: 16/4=4, Resulting Numbers: [74, 4]
Generated Node #3: [74, 4] from Operation: 16/4=4
Current State: 70:[74, 4], Operations: ['62-58=4', '16/4=4']
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[62, 58, 74, 16], Operations: []
Exploring Operation: 74-62=12, Resulting Numbers: [58, 16, 12]
Generated Node #0,0: 70:[58, 16, 12] Operation: 74-62=12
Exploring Operation: 58+16=74, Resulting Numbers: [62, 74, 74]
Generated Node #0,1: 70:[62, 74, 74] Operation: 58+16=74
Exploring Operation: 74-58=16, Resulting Numbers: [62, 16, 16]
Generated Node #0,2: 70:[62, 16, 16] Operation: 74-58=16
Exploring Operation: 62-58=4, Resulting Numbers: [74, 16, 4]
Generated Node #0,3: 70:[74, 16, 4] Operation: 62-58=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[74, 16, 4], Operations: ['62-58=4']
Exploring Operation: 16/4=4, Resulting Numbers: [74, 4]
Generated Node #0,3,0: 70:[74, 4] Operation: 16/4=4
Exploring Operation: 74-4=70, Resulting Numbers: [16, 70]
Generated Node #0,3,1: 70:[16, 70] Operation: 74-4=70
Exploring Operation: 16-4=12, Resulting Numbers: [74, 12]
Generated Node #0,3,2: 70:[74, 12] Operation: 16-4=12
Exploring Operation: 74+4=78, Resulting Numbers: [16, 78]
Generated Node #0,3,3: 70:[16, 78] Operation: 74+4=78
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 70:[16, 70], Operations: ['62-58=4', '74-4=70']
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 16*70=1120, Resulting Numbers: [1120]
1120,70 unequal: No Solution
Exploring Operation: 16+70=86, Resulting Numbers: [86]
86,70 unequal: No Solution
No 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: 70:[74, 4], Operations: ['62-58=4', '16/4=4']
Exploring Operation: 74+4=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Exploring Operation: 74*4=296, Resulting Numbers: [296]
296,70 unequal: No Solution
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[62, 58, 74, 16], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [74, 16, 4]
Generated Node #0,3: 70:[74, 16, 4] Operation: 62-58=4
Moving to Node #0,3
Current State: 70:[74, 16, 4], Operations: ['62-58=4']
Exploring Operation: 16/4=4, Resulting Numbers: [74, 4]
Generated Node #0,3,0: 70:[74, 4] Operation: 16/4=4
Moving to Node #0,3,0
Current State: 70:[74, 4], Operations: ['62-58=4', '16/4=4']
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
74,
31,
29,
32
] | 84 | [
"74-32=42",
"31-29=2",
"42*2=84"
] | Current State: 84:[74, 31, 29, 32], Operations: []
Exploring Operation: 74-32=42, Resulting Numbers: [31, 29, 42]
Generated Node #2: [31, 29, 42] from Operation: 74-32=42
Current State: 84:[31, 29, 42], Operations: ['74-32=42']
Exploring Operation: 31-29=2, Resulting Numbers: [42, 2]
Generated Node #3: [42, 2] from Operation: 31-29=2
Current State: 84:[42, 2], Operations: ['74-32=42', '31-29=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[74, 31, 29, 32], Operations: []
Exploring Operation: 74-31=43, Resulting Numbers: [29, 32, 43]
Generated Node #0,0: 84:[29, 32, 43] Operation: 74-31=43
Exploring Operation: 74-29=45, Resulting Numbers: [31, 32, 45]
Generated Node #0,1: 84:[31, 32, 45] Operation: 74-29=45
Exploring Operation: 74-32=42, Resulting Numbers: [31, 29, 42]
Generated Node #0,2: 84:[31, 29, 42] Operation: 74-32=42
Exploring Operation: 32-29=3, Resulting Numbers: [74, 31, 3]
Generated Node #0,3: 84:[74, 31, 3] Operation: 32-29=3
Exploring Operation: 32-31=1, Resulting Numbers: [74, 29, 1]
Generated Node #0,4: 84:[74, 29, 1] Operation: 32-31=1
Moving to Node #0,2
Current State: 84:[31, 29, 42], Operations: ['74-32=42']
Exploring Operation: 31+42=73, Resulting Numbers: [29, 73]
Generated Node #0,2,0: 84:[29, 73] Operation: 31+42=73
Exploring Operation: 42-29=13, Resulting Numbers: [31, 13]
Generated Node #0,2,1: 84:[31, 13] Operation: 42-29=13
Exploring Operation: 29+42=71, Resulting Numbers: [31, 71]
Generated Node #0,2,2: 84:[31, 71] Operation: 29+42=71
Exploring Operation: 31-29=2, Resulting Numbers: [42, 2]
Generated Node #0,2,3: 84:[42, 2] Operation: 31-29=2
Exploring Operation: 42-31=11, Resulting Numbers: [29, 11]
Generated Node #0,2,4: 84:[29, 11] Operation: 42-31=11
Moving to Node #0,0
Current State: 84:[29, 32, 43], Operations: ['74-31=43']
Exploring Operation: 43-29=14, Resulting Numbers: [32, 14]
Generated Node #0,0,0: 84:[32, 14] Operation: 43-29=14
Exploring Operation: 32+43=75, Resulting Numbers: [29, 75]
Generated Node #0,0,1: 84:[29, 75] Operation: 32+43=75
Exploring Operation: 32-29=3, Resulting Numbers: [43, 3]
Generated Node #0,0,2: 84:[43, 3] Operation: 32-29=3
Exploring Operation: 29+43=72, Resulting Numbers: [32, 72]
Generated Node #0,0,3: 84:[32, 72] Operation: 29+43=72
Exploring Operation: 43-32=11, Resulting Numbers: [29, 11]
Generated Node #0,0,4: 84:[29, 11] Operation: 43-32=11
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 84:[43, 3], Operations: ['74-31=43', '32-29=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,84 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,84 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 84:[29, 11], Operations: ['74-31=43', '43-32=11']
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 29*11=319, Resulting Numbers: [319]
319,84 unequal: No Solution
Exploring Operation: 29+11=40, Resulting Numbers: [40]
40,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[32, 14], Operations: ['74-31=43', '43-29=14']
Exploring Operation: 32*14=448, Resulting Numbers: [448]
448,84 unequal: No Solution
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[29, 75], Operations: ['74-31=43', '32+43=75']
Exploring Operation: 29+75=104, Resulting Numbers: [104]
104,84 unequal: No Solution
Exploring Operation: 29*75=2175, Resulting Numbers: [2175]
2175,84 unequal: No Solution
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 84:[32, 72], Operations: ['74-31=43', '29+43=72']
Exploring Operation: 32+72=104, Resulting Numbers: [104]
104,84 unequal: No Solution
Exploring Operation: 32*72=2304, Resulting Numbers: [2304]
2304,84 unequal: No Solution
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,84 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: 84:[31, 32, 45], Operations: ['74-29=45']
Exploring Operation: 45-31=14, Resulting Numbers: [32, 14]
Generated Node #0,1,0: 84:[32, 14] Operation: 45-31=14
Exploring Operation: 32+45=77, Resulting Numbers: [31, 77]
Generated Node #0,1,1: 84:[31, 77] Operation: 32+45=77
Exploring Operation: 45-32=13, Resulting Numbers: [31, 13]
Generated Node #0,1,2: 84:[31, 13] Operation: 45-32=13
Exploring Operation: 31+45=76, Resulting Numbers: [32, 76]
Generated Node #0,1,3: 84:[32, 76] Operation: 31+45=76
Exploring Operation: 32-31=1, Resulting Numbers: [45, 1]
Generated Node #0,1,4: 84:[45, 1] Operation: 32-31=1
Moving to Node #0,4
Current State: 84:[74, 29, 1], Operations: ['32-31=1']
Exploring Operation: 74-29=45, Resulting Numbers: [1, 45]
Generated Node #0,4,0: 84:[1, 45] Operation: 74-29=45
Exploring Operation: 74/1=74, Resulting Numbers: [29, 74]
Generated Node #0,4,1: 84:[29, 74] Operation: 74/1=74
Exploring Operation: 29-1=28, Resulting Numbers: [74, 28]
Generated Node #0,4,2: 84:[74, 28] Operation: 29-1=28
Exploring Operation: 74+1=75, Resulting Numbers: [29, 75]
Generated Node #0,4,3: 84:[29, 75] Operation: 74+1=75
Exploring Operation: 74*1=74, Resulting Numbers: [29, 74]
Generated Node #0,4,4: 84:[29, 74] Operation: 74*1=74
Moving to Node #0,3
Current State: 84:[74, 31, 3], Operations: ['32-29=3']
Exploring Operation: 31-3=28, Resulting Numbers: [74, 28]
Generated Node #0,3,0: 84:[74, 28] Operation: 31-3=28
Exploring Operation: 74+3=77, Resulting Numbers: [31, 77]
Generated Node #0,3,1: 84:[31, 77] Operation: 74+3=77
Exploring Operation: 31+3=34, Resulting Numbers: [74, 34]
Generated Node #0,3,2: 84:[74, 34] Operation: 31+3=34
Exploring Operation: 74-31=43, Resulting Numbers: [3, 43]
Generated Node #0,3,3: 84:[3, 43] Operation: 74-31=43
Exploring Operation: 74-3=71, Resulting Numbers: [31, 71]
Generated Node #0,3,4: 84:[31, 71] Operation: 74-3=71
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 84:[3, 43], Operations: ['32-29=3', '74-31=43']
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,84 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 84:[74, 28], Operations: ['32-29=3', '31-3=28']
Exploring Operation: 74+28=102, Resulting Numbers: [102]
102,84 unequal: No Solution
Exploring Operation: 74-28=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 74*28=2072, Resulting Numbers: [2072]
2072,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 84:[31, 77], Operations: ['32-29=3', '74+3=77']
Exploring Operation: 31*77=2387, Resulting Numbers: [2387]
2387,84 unequal: No Solution
Exploring Operation: 77-31=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 31+77=108, Resulting Numbers: [108]
108,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 84:[74, 34], Operations: ['32-29=3', '31+3=34']
Exploring Operation: 74-34=40, Resulting Numbers: [40]
40,84 unequal: No Solution
Exploring Operation: 74*34=2516, Resulting Numbers: [2516]
2516,84 unequal: No Solution
Exploring Operation: 74+34=108, Resulting Numbers: [108]
108,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 84:[31, 71], Operations: ['32-29=3', '74-3=71']
Exploring Operation: 31+71=102, Resulting Numbers: [102]
102,84 unequal: No Solution
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,84 unequal: No Solution
Exploring Operation: 31*71=2201, Resulting Numbers: [2201]
2201,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 84:[42, 2], Operations: ['74-32=42', '31-29=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[74, 31, 29, 32], Operations: []
Exploring Operation: 74-32=42, Resulting Numbers: [31, 29, 42]
Generated Node #0,2: 84:[31, 29, 42] Operation: 74-32=42
Moving to Node #0,2
Current State: 84:[31, 29, 42], Operations: ['74-32=42']
Exploring Operation: 31-29=2, Resulting Numbers: [42, 2]
Generated Node #0,2,3: 84:[42, 2] Operation: 31-29=2
Moving to Node #0,2,3
Current State: 84:[42, 2], Operations: ['74-32=42', '31-29=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.943576 | hs_5 | mult_heuristic |
[
38,
18,
52,
5
] | 20 | [
"38+18=56",
"56-52=4",
"5*4=20"
] | Current State: 20:[38, 18, 52, 5], Operations: []
Exploring Operation: 38+18=56, Resulting Numbers: [52, 5, 56]
Generated Node #2: [52, 5, 56] from Operation: 38+18=56
Current State: 20:[52, 5, 56], Operations: ['38+18=56']
Exploring Operation: 56-52=4, Resulting Numbers: [5, 4]
Generated Node #3: [5, 4] from Operation: 56-52=4
Current State: 20:[5, 4], Operations: ['38+18=56', '56-52=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[38, 18, 52, 5], Operations: []
Exploring Operation: 52-38=14, Resulting Numbers: [18, 5, 14]
Generated Node #0,0: 20:[18, 5, 14] Operation: 52-38=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[18, 5, 14], Operations: ['52-38=14']
Exploring Operation: 18-14=4, Resulting Numbers: [5, 4]
Generated Node #0,0,0: 20:[5, 4] Operation: 18-14=4
Moving to Node #0,0,0
Current State: 20:[5, 4], Operations: ['52-38=14', '18-14=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[38, 18, 52, 5], Operations: []
Exploring Operation: 52-38=14, Resulting Numbers: [18, 5, 14]
Generated Node #0,0: 20:[18, 5, 14] Operation: 52-38=14
Moving to Node #0,0
Current State: 20:[18, 5, 14], Operations: ['52-38=14']
Exploring Operation: 18-14=4, Resulting Numbers: [5, 4]
Generated Node #0,0,0: 20:[5, 4] Operation: 18-14=4
Moving to Node #0,0,0
Current State: 20:[5, 4], Operations: ['52-38=14', '18-14=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
80,
46,
13,
42
] | 71 | [
"80+46=126",
"13+42=55",
"126-55=71"
] | Current State: 71:[80, 46, 13, 42], Operations: []
Exploring Operation: 80+46=126, Resulting Numbers: [13, 42, 126]
Generated Node #2: [13, 42, 126] from Operation: 80+46=126
Current State: 71:[13, 42, 126], Operations: ['80+46=126']
Exploring Operation: 13+42=55, Resulting Numbers: [126, 55]
Generated Node #3: [126, 55] from Operation: 13+42=55
Current State: 71:[126, 55], Operations: ['80+46=126', '13+42=55']
Exploring Operation: 126-55=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[80, 46, 13, 42], Operations: []
Exploring Operation: 13+42=55, Resulting Numbers: [80, 46, 55]
Generated Node #0,0: 71:[80, 46, 55] Operation: 13+42=55
Exploring Operation: 46+13=59, Resulting Numbers: [80, 42, 59]
Generated Node #0,1: 71:[80, 42, 59] Operation: 46+13=59
Exploring Operation: 80-13=67, Resulting Numbers: [46, 42, 67]
Generated Node #0,2: 71:[46, 42, 67] Operation: 80-13=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[80, 46, 55], Operations: ['13+42=55']
Exploring Operation: 46+55=101, Resulting Numbers: [80, 101]
Generated Node #0,0,0: 71:[80, 101] Operation: 46+55=101
Exploring Operation: 80+46=126, Resulting Numbers: [55, 126]
Generated Node #0,0,1: 71:[55, 126] Operation: 80+46=126
Exploring Operation: 80-46=34, Resulting Numbers: [55, 34]
Generated Node #0,0,2: 71:[55, 34] Operation: 80-46=34
Moving to Node #0,0,0
Current State: 71:[80, 101], Operations: ['13+42=55', '46+55=101']
Exploring Operation: 80*101=8080, Resulting Numbers: [8080]
8080,71 unequal: No Solution
Exploring Operation: 101-80=21, Resulting Numbers: [21]
21,71 unequal: No Solution
Exploring Operation: 80+101=181, Resulting Numbers: [181]
181,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[55, 34], Operations: ['13+42=55', '80-46=34']
Exploring Operation: 55+34=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 55*34=1870, Resulting Numbers: [1870]
1870,71 unequal: No Solution
Exploring Operation: 55-34=21, Resulting Numbers: [21]
21,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[55, 126], Operations: ['13+42=55', '80+46=126']
Exploring Operation: 55+126=181, Resulting Numbers: [181]
181,71 unequal: No Solution
Exploring Operation: 126-55=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[80, 46, 13, 42], Operations: []
Exploring Operation: 13+42=55, Resulting Numbers: [80, 46, 55]
Generated Node #0,0: 71:[80, 46, 55] Operation: 13+42=55
Moving to Node #0,0
Current State: 71:[80, 46, 55], Operations: ['13+42=55']
Exploring Operation: 80+46=126, Resulting Numbers: [55, 126]
Generated Node #0,0,1: 71:[55, 126] Operation: 80+46=126
Moving to Node #0,0,1
Current State: 71:[55, 126], Operations: ['13+42=55', '80+46=126']
Exploring Operation: 126-55=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
69,
27,
56,
9
] | 79 | [
"69*9=621",
"621/27=23",
"56+23=79"
] | Current State: 79:[69, 27, 56, 9], Operations: []
Exploring Operation: 69*9=621, Resulting Numbers: [27, 56, 621]
Generated Node #2: [27, 56, 621] from Operation: 69*9=621
Current State: 79:[27, 56, 621], Operations: ['69*9=621']
Exploring Operation: 621/27=23, Resulting Numbers: [56, 23]
Generated Node #3: [56, 23] from Operation: 621/27=23
Current State: 79:[56, 23], Operations: ['69*9=621', '621/27=23']
Exploring Operation: 56+23=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[69, 27, 56, 9], Operations: []
Exploring Operation: 27+9=36, Resulting Numbers: [69, 56, 36]
Generated Node #0,0: 79:[69, 56, 36] Operation: 27+9=36
Exploring Operation: 56+9=65, Resulting Numbers: [69, 27, 65]
Generated Node #0,1: 79:[69, 27, 65] Operation: 56+9=65
Exploring Operation: 69+9=78, Resulting Numbers: [27, 56, 78]
Generated Node #0,2: 79:[27, 56, 78] Operation: 69+9=78
Exploring Operation: 27+56=83, Resulting Numbers: [69, 9, 83]
Generated Node #0,3: 79:[69, 9, 83] Operation: 27+56=83
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[69, 56, 36], Operations: ['27+9=36']
Exploring Operation: 69+36=105, Resulting Numbers: [56, 105]
Generated Node #0,0,0: 79:[56, 105] Operation: 69+36=105
Exploring Operation: 56-36=20, Resulting Numbers: [69, 20]
Generated Node #0,0,1: 79:[69, 20] Operation: 56-36=20
Exploring Operation: 69-36=33, Resulting Numbers: [56, 33]
Generated Node #0,0,2: 79:[56, 33] Operation: 69-36=33
Exploring Operation: 56+36=92, Resulting Numbers: [69, 92]
Generated Node #0,0,3: 79:[69, 92] Operation: 56+36=92
Moving to Node #0,0,3
Current State: 79:[69, 92], Operations: ['27+9=36', '56+36=92']
Exploring Operation: 92-69=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Exploring Operation: 69*92=6348, Resulting Numbers: [6348]
6348,79 unequal: No Solution
Exploring Operation: 69+92=161, Resulting Numbers: [161]
161,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[56, 105], Operations: ['27+9=36', '69+36=105']
Exploring Operation: 56+105=161, Resulting Numbers: [161]
161,79 unequal: No Solution
Exploring Operation: 56*105=5880, Resulting Numbers: [5880]
5880,79 unequal: No Solution
Exploring Operation: 105-56=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[56, 33], Operations: ['27+9=36', '69-36=33']
Exploring Operation: 56*33=1848, Resulting Numbers: [1848]
1848,79 unequal: No Solution
Exploring Operation: 56+33=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[69, 20], Operations: ['27+9=36', '56-36=20']
Exploring Operation: 69+20=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 69-20=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Exploring Operation: 69*20=1380, Resulting Numbers: [1380]
1380,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[69, 27, 65], Operations: ['56+9=65']
Exploring Operation: 65-27=38, Resulting Numbers: [69, 38]
Generated Node #0,1,0: 79:[69, 38] Operation: 65-27=38
Exploring Operation: 27+65=92, Resulting Numbers: [69, 92]
Generated Node #0,1,1: 79:[69, 92] Operation: 27+65=92
Exploring Operation: 69+27=96, Resulting Numbers: [65, 96]
Generated Node #0,1,2: 79:[65, 96] Operation: 69+27=96
Exploring Operation: 69-27=42, Resulting Numbers: [65, 42]
Generated Node #0,1,3: 79:[65, 42] Operation: 69-27=42
Moving to Node #0,1,1
Current State: 79:[69, 92], Operations: ['56+9=65', '27+65=92']
Exploring Operation: 92-69=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Exploring Operation: 69*92=6348, Resulting Numbers: [6348]
6348,79 unequal: No Solution
Exploring Operation: 69+92=161, Resulting Numbers: [161]
161,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[65, 96], Operations: ['56+9=65', '69+27=96']
Exploring Operation: 65*96=6240, Resulting Numbers: [6240]
6240,79 unequal: No Solution
Exploring Operation: 65+96=161, Resulting Numbers: [161]
161,79 unequal: No Solution
Exploring Operation: 96-65=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[65, 42], Operations: ['56+9=65', '69-27=42']
Exploring Operation: 65+42=107, Resulting Numbers: [107]
107,79 unequal: No Solution
Exploring Operation: 65*42=2730, Resulting Numbers: [2730]
2730,79 unequal: No Solution
Exploring Operation: 65-42=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[69, 38], Operations: ['56+9=65', '65-27=38']
Exploring Operation: 69*38=2622, Resulting Numbers: [2622]
2622,79 unequal: No Solution
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 69+38=107, Resulting Numbers: [107]
107,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[27, 56, 78], Operations: ['69+9=78']
Exploring Operation: 78-27=51, Resulting Numbers: [56, 51]
Generated Node #0,2,0: 79:[56, 51] Operation: 78-27=51
Exploring Operation: 27+56=83, Resulting Numbers: [78, 83]
Generated Node #0,2,1: 79:[78, 83] Operation: 27+56=83
Exploring Operation: 56-27=29, Resulting Numbers: [78, 29]
Generated Node #0,2,2: 79:[78, 29] Operation: 56-27=29
Exploring Operation: 27+78=105, Resulting Numbers: [56, 105]
Generated Node #0,2,3: 79:[56, 105] Operation: 27+78=105
Moving to Node #0,2,1
Current State: 79:[78, 83], Operations: ['69+9=78', '27+56=83']
Exploring Operation: 83-78=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 78+83=161, Resulting Numbers: [161]
161,79 unequal: No Solution
Exploring Operation: 78*83=6474, Resulting Numbers: [6474]
6474,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[56, 105], Operations: ['69+9=78', '27+78=105']
Exploring Operation: 105-56=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Exploring Operation: 56+105=161, Resulting Numbers: [161]
161,79 unequal: No Solution
Exploring Operation: 56*105=5880, Resulting Numbers: [5880]
5880,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[78, 29], Operations: ['69+9=78', '56-27=29']
Exploring Operation: 78*29=2262, Resulting Numbers: [2262]
2262,79 unequal: No Solution
Exploring Operation: 78-29=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Exploring Operation: 78+29=107, Resulting Numbers: [107]
107,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[56, 51], Operations: ['69+9=78', '78-27=51']
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 56+51=107, Resulting Numbers: [107]
107,79 unequal: No Solution
Exploring Operation: 56*51=2856, Resulting Numbers: [2856]
2856,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 79:[69, 9, 83], Operations: ['27+56=83']
Exploring Operation: 69+9=78, Resulting Numbers: [83, 78]
Generated Node #0,3,0: 79:[83, 78] Operation: 69+9=78
Exploring Operation: 9+83=92, Resulting Numbers: [69, 92]
Generated Node #0,3,1: 79:[69, 92] Operation: 9+83=92
Exploring Operation: 69-9=60, Resulting Numbers: [83, 60]
Generated Node #0,3,2: 79:[83, 60] Operation: 69-9=60
Exploring Operation: 83-9=74, Resulting Numbers: [69, 74]
Generated Node #0,3,3: 79:[69, 74] Operation: 83-9=74
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 79:[83, 78], Operations: ['27+56=83', '69+9=78']
Exploring Operation: 83*78=6474, Resulting Numbers: [6474]
6474,79 unequal: No Solution
Exploring Operation: 83+78=161, Resulting Numbers: [161]
161,79 unequal: No Solution
Exploring Operation: 83-78=5, Resulting Numbers: [5]
5,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,3,3
Current State: 79:[69, 74], Operations: ['27+56=83', '83-9=74']
Exploring Operation: 69+74=143, Resulting Numbers: [143]
143,79 unequal: No Solution
Exploring Operation: 69*74=5106, Resulting Numbers: [5106]
5106,79 unequal: No Solution
Exploring Operation: 74-69=5, Resulting Numbers: [5]
5,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,3,1
Current State: 79:[69, 92], Operations: ['27+56=83', '9+83=92']
Exploring Operation: 69*92=6348, Resulting Numbers: [6348]
6348,79 unequal: No Solution
Exploring Operation: 92-69=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Exploring Operation: 69+92=161, Resulting Numbers: [161]
161,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,3,2
Current State: 79:[83, 60], Operations: ['27+56=83', '69-9=60']
Exploring Operation: 83+60=143, Resulting Numbers: [143]
143,79 unequal: No Solution
Exploring Operation: 83-60=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Exploring Operation: 83*60=4980, Resulting Numbers: [4980]
4980,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_4 | mult_heuristic |
[
20,
77,
71,
70
] | 15 | [
"20+70=90",
"77-71=6",
"90/6=15"
] | Current State: 15:[20, 77, 71, 70], Operations: []
Exploring Operation: 20+70=90, Resulting Numbers: [77, 71, 90]
Generated Node #2: [77, 71, 90] from Operation: 20+70=90
Current State: 15:[77, 71, 90], Operations: ['20+70=90']
Exploring Operation: 77-71=6, Resulting Numbers: [90, 6]
Generated Node #3: [90, 6] from Operation: 77-71=6
Current State: 15:[90, 6], Operations: ['20+70=90', '77-71=6']
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[20, 77, 71, 70], Operations: []
Exploring Operation: 77-70=7, Resulting Numbers: [20, 71, 7]
Generated Node #0,0: 15:[20, 71, 7] Operation: 77-70=7
Exploring Operation: 77-71=6, Resulting Numbers: [20, 70, 6]
Generated Node #0,1: 15:[20, 70, 6] Operation: 77-71=6
Moving to Node #0,1
Current State: 15:[20, 70, 6], Operations: ['77-71=6']
Exploring Operation: 70-6=64, Resulting Numbers: [20, 64]
Generated Node #0,1,0: 15:[20, 64] Operation: 70-6=64
Exploring Operation: 70-20=50, Resulting Numbers: [6, 50]
Generated Node #0,1,1: 15:[6, 50] Operation: 70-20=50
Moving to Node #0,0
Current State: 15:[20, 71, 7], Operations: ['77-70=7']
Exploring Operation: 71-20=51, Resulting Numbers: [7, 51]
Generated Node #0,0,0: 15:[7, 51] Operation: 71-20=51
Exploring Operation: 71-7=64, Resulting Numbers: [20, 64]
Generated Node #0,0,1: 15:[20, 64] Operation: 71-7=64
Moving to Node #0,1,1
Current State: 15:[6, 50], Operations: ['77-71=6', '70-20=50']
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[7, 51], Operations: ['77-70=7', '71-20=51']
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 7+51=58, Resulting Numbers: [58]
58,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[20, 64], Operations: ['77-71=6', '70-6=64']
Exploring Operation: 20+64=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[20, 64], Operations: ['77-70=7', '71-7=64']
Exploring Operation: 20+64=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,15 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
56,
28,
40,
16
] | 22 | [
"56/28=2",
"40-16=24",
"24-2=22"
] | Current State: 22:[56, 28, 40, 16], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [40, 16, 2]
Generated Node #2: [40, 16, 2] from Operation: 56/28=2
Current State: 22:[40, 16, 2], Operations: ['56/28=2']
Exploring Operation: 40-16=24, Resulting Numbers: [2, 24]
Generated Node #3: [2, 24] from Operation: 40-16=24
Current State: 22:[2, 24], Operations: ['56/28=2', '40-16=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[56, 28, 40, 16], Operations: []
Exploring Operation: 56-40=16, Resulting Numbers: [28, 16, 16]
Generated Node #0,0: 22:[28, 16, 16] Operation: 56-40=16
Exploring Operation: 56/28=2, Resulting Numbers: [40, 16, 2]
Generated Node #0,1: 22:[40, 16, 2] Operation: 56/28=2
Moving to Node #0,0
Current State: 22:[28, 16, 16], Operations: ['56-40=16']
Exploring Operation: 28-16=12, Resulting Numbers: [16, 12]
Generated Node #0,0,0: 22:[16, 12] Operation: 28-16=12
Exploring Operation: 28-16=12, Resulting Numbers: [16, 12]
Generated Node #0,0,1: 22:[16, 12] Operation: 28-16=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[16, 12], Operations: ['56-40=16', '28-16=12']
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,22 unequal: No Solution
No 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: 22:[16, 12], Operations: ['56-40=16', '28-16=12']
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,22 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: 22:[40, 16, 2], Operations: ['56/28=2']
Exploring Operation: 40-16=24, Resulting Numbers: [2, 24]
Generated Node #0,1,0: 22:[2, 24] Operation: 40-16=24
Exploring Operation: 40/2=20, Resulting Numbers: [16, 20]
Generated Node #0,1,1: 22:[16, 20] Operation: 40/2=20
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[2, 24], Operations: ['56/28=2', '40-16=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[56, 28, 40, 16], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [40, 16, 2]
Generated Node #0,1: 22:[40, 16, 2] Operation: 56/28=2
Moving to Node #0,1
Current State: 22:[40, 16, 2], Operations: ['56/28=2']
Exploring Operation: 40-16=24, Resulting Numbers: [2, 24]
Generated Node #0,1,0: 22:[2, 24] Operation: 40-16=24
Moving to Node #0,1,0
Current State: 22:[2, 24], Operations: ['56/28=2', '40-16=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
98,
48,
24,
12
] | 24 | [
"98*12=1176",
"48*24=1152",
"1176-1152=24"
] | Current State: 24:[98, 48, 24, 12], Operations: []
Exploring Operation: 98*12=1176, Resulting Numbers: [48, 24, 1176]
Generated Node #2: [48, 24, 1176] from Operation: 98*12=1176
Current State: 24:[48, 24, 1176], Operations: ['98*12=1176']
Exploring Operation: 48*24=1152, Resulting Numbers: [1176, 1152]
Generated Node #3: [1176, 1152] from Operation: 48*24=1152
Current State: 24:[1176, 1152], Operations: ['98*12=1176', '48*24=1152']
Exploring Operation: 1176-1152=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[98, 48, 24, 12], Operations: []
Exploring Operation: 98-24=74, Resulting Numbers: [48, 12, 74]
Generated Node #0,0: 24:[48, 12, 74] Operation: 98-24=74
Exploring Operation: 98-48=50, Resulting Numbers: [24, 12, 50]
Generated Node #0,1: 24:[24, 12, 50] Operation: 98-48=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[24, 12, 50], Operations: ['98-48=50']
Exploring Operation: 50-24=26, Resulting Numbers: [12, 26]
Generated Node #0,1,0: 24:[12, 26] Operation: 50-24=26
Exploring Operation: 50-12=38, Resulting Numbers: [24, 38]
Generated Node #0,1,1: 24:[24, 38] Operation: 50-12=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 24:[12, 26], Operations: ['98-48=50', '50-24=26']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,24 unequal: No Solution
No 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: 24:[24, 38], Operations: ['98-48=50', '50-12=38']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 24+38=62, Resulting Numbers: [62]
62,24 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: 24:[48, 12, 74], Operations: ['98-24=74']
Exploring Operation: 48/12=4, Resulting Numbers: [74, 4]
Generated Node #0,0,0: 24:[74, 4] Operation: 48/12=4
Exploring Operation: 74-48=26, Resulting Numbers: [12, 26]
Generated Node #0,0,1: 24:[12, 26] Operation: 74-48=26
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 24:[12, 26], Operations: ['98-24=74', '74-48=26']
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,24 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,24 unequal: No Solution
No 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: 24:[74, 4], Operations: ['98-24=74', '48/12=4']
Exploring Operation: 74+4=78, Resulting Numbers: [78]
78,24 unequal: No Solution
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
15,
49,
18,
25
] | 19 | [
"18*25=450",
"450/15=30",
"49-30=19"
] | Current State: 19:[15, 49, 18, 25], Operations: []
Exploring Operation: 18*25=450, Resulting Numbers: [15, 49, 450]
Generated Node #2: [15, 49, 450] from Operation: 18*25=450
Current State: 19:[15, 49, 450], Operations: ['18*25=450']
Exploring Operation: 450/15=30, Resulting Numbers: [49, 30]
Generated Node #3: [49, 30] from Operation: 450/15=30
Current State: 19:[49, 30], Operations: ['18*25=450', '450/15=30']
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[15, 49, 18, 25], Operations: []
Exploring Operation: 49-15=34, Resulting Numbers: [18, 25, 34]
Generated Node #0,0: 19:[18, 25, 34] Operation: 49-15=34
Exploring Operation: 25-15=10, Resulting Numbers: [49, 18, 10]
Generated Node #0,1: 19:[49, 18, 10] Operation: 25-15=10
Exploring Operation: 49-25=24, Resulting Numbers: [15, 18, 24]
Generated Node #0,2: 19:[15, 18, 24] Operation: 49-25=24
Exploring Operation: 49-18=31, Resulting Numbers: [15, 25, 31]
Generated Node #0,3: 19:[15, 25, 31] Operation: 49-18=31
Moving to Node #0,2
Current State: 19:[15, 18, 24], Operations: ['49-25=24']
Exploring Operation: 24-15=9, Resulting Numbers: [18, 9]
Generated Node #0,2,0: 19:[18, 9] Operation: 24-15=9
Exploring Operation: 18-15=3, Resulting Numbers: [24, 3]
Generated Node #0,2,1: 19:[24, 3] Operation: 18-15=3
Exploring Operation: 24-18=6, Resulting Numbers: [15, 6]
Generated Node #0,2,2: 19:[15, 6] Operation: 24-18=6
Exploring Operation: 15+18=33, Resulting Numbers: [24, 33]
Generated Node #0,2,3: 19:[24, 33] Operation: 15+18=33
Moving to Node #0,3
Current State: 19:[15, 25, 31], Operations: ['49-18=31']
Exploring Operation: 15+25=40, Resulting Numbers: [31, 40]
Generated Node #0,3,0: 19:[31, 40] Operation: 15+25=40
Exploring Operation: 25-15=10, Resulting Numbers: [31, 10]
Generated Node #0,3,1: 19:[31, 10] Operation: 25-15=10
Exploring Operation: 31-25=6, Resulting Numbers: [15, 6]
Generated Node #0,3,2: 19:[15, 6] Operation: 31-25=6
Exploring Operation: 31-15=16, Resulting Numbers: [25, 16]
Generated Node #0,3,3: 19:[25, 16] Operation: 31-15=16
Moving to Node #0,0
Current State: 19:[18, 25, 34], Operations: ['49-15=34']
Exploring Operation: 18+25=43, Resulting Numbers: [34, 43]
Generated Node #0,0,0: 19:[34, 43] Operation: 18+25=43
Exploring Operation: 25-18=7, Resulting Numbers: [34, 7]
Generated Node #0,0,1: 19:[34, 7] Operation: 25-18=7
Exploring Operation: 34-25=9, Resulting Numbers: [18, 9]
Generated Node #0,0,2: 19:[18, 9] Operation: 34-25=9
Exploring Operation: 34-18=16, Resulting Numbers: [25, 16]
Generated Node #0,0,3: 19:[25, 16] Operation: 34-18=16
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 19:[25, 16], Operations: ['49-15=34', '34-18=16']
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,19 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,19 unequal: No Solution
No 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: 19:[18, 9], Operations: ['49-15=34', '34-25=9']
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 18*9=162, Resulting Numbers: [162]
162,19 unequal: No Solution
No 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: 19:[34, 7], Operations: ['49-15=34', '25-18=7']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,19 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,19 unequal: No Solution
No 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: 19:[34, 43], Operations: ['49-15=34', '18+25=43']
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 34*43=1462, Resulting Numbers: [1462]
1462,19 unequal: No Solution
Exploring Operation: 34+43=77, Resulting Numbers: [77]
77,19 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: 19:[49, 18, 10], Operations: ['25-15=10']
Exploring Operation: 49-10=39, Resulting Numbers: [18, 39]
Generated Node #0,1,0: 19:[18, 39] Operation: 49-10=39
Exploring Operation: 49+10=59, Resulting Numbers: [18, 59]
Generated Node #0,1,1: 19:[18, 59] Operation: 49+10=59
Exploring Operation: 49-18=31, Resulting Numbers: [10, 31]
Generated Node #0,1,2: 19:[10, 31] Operation: 49-18=31
Exploring Operation: 18+10=28, Resulting Numbers: [49, 28]
Generated Node #0,1,3: 19:[49, 28] Operation: 18+10=28
Moving to Node #0,3,3
Current State: 19:[25, 16], Operations: ['49-18=31', '31-15=16']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,19 unequal: No Solution
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[18, 9], Operations: ['49-25=24', '24-15=9']
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 18*9=162, Resulting Numbers: [162]
162,19 unequal: No Solution
Moving to Node #0,3,2
Current State: 19:[15, 6], Operations: ['49-18=31', '31-25=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,19 unequal: No Solution
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,19 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[15, 6], Operations: ['49-25=24', '24-18=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,19 unequal: No Solution
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,19 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Moving to Node #0,2,3
Current State: 19:[24, 33], Operations: ['49-25=24', '15+18=33']
Exploring Operation: 24+33=57, Resulting Numbers: [57]
57,19 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 24*33=792, Resulting Numbers: [792]
792,19 unequal: No Solution
Moving to Node #0,3,1
Current State: 19:[31, 10], Operations: ['49-18=31', '25-15=10']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,19 unequal: No Solution
Exploring Operation: 31+10=41, Resulting Numbers: [41]
41,19 unequal: No Solution
Exploring Operation: 31*10=310, Resulting Numbers: [310]
310,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[18, 39], Operations: ['25-15=10', '49-10=39']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,19 unequal: No Solution
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,19 unequal: No Solution
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[10, 31], Operations: ['25-15=10', '49-18=31']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,19 unequal: No Solution
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,19 unequal: No Solution
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[24, 3], Operations: ['49-25=24', '18-15=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,19 unequal: No Solution
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,19 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Moving to Node #0,3,0
Current State: 19:[31, 40], Operations: ['49-18=31', '15+25=40']
Exploring Operation: 31*40=1240, Resulting Numbers: [1240]
1240,19 unequal: No Solution
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 31+40=71, Resulting Numbers: [71]
71,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[49, 28], Operations: ['25-15=10', '18+10=28']
Exploring Operation: 49*28=1372, Resulting Numbers: [1372]
1372,19 unequal: No Solution
Exploring Operation: 49+28=77, Resulting Numbers: [77]
77,19 unequal: No Solution
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[18, 59], Operations: ['25-15=10', '49+10=59']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,19 unequal: No Solution
Exploring Operation: 18*59=1062, Resulting Numbers: [1062]
1062,19 unequal: No Solution
Exploring Operation: 18+59=77, Resulting Numbers: [77]
77,19 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
46,
63,
55,
53
] | 17 | [
"46*63=2898",
"55*53=2915",
"2915-2898=17"
] | Current State: 17:[46, 63, 55, 53], Operations: []
Exploring Operation: 46*63=2898, Resulting Numbers: [55, 53, 2898]
Generated Node #2: [55, 53, 2898] from Operation: 46*63=2898
Current State: 17:[55, 53, 2898], Operations: ['46*63=2898']
Exploring Operation: 55*53=2915, Resulting Numbers: [2898, 2915]
Generated Node #3: [2898, 2915] from Operation: 55*53=2915
Current State: 17:[2898, 2915], Operations: ['46*63=2898', '55*53=2915']
Exploring Operation: 2915-2898=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[46, 63, 55, 53], Operations: []
Exploring Operation: 63-53=10, Resulting Numbers: [46, 55, 10]
Generated Node #0,0: 17:[46, 55, 10] Operation: 63-53=10
Exploring Operation: 55-46=9, Resulting Numbers: [63, 53, 9]
Generated Node #0,1: 17:[63, 53, 9] Operation: 55-46=9
Exploring Operation: 63-46=17, Resulting Numbers: [55, 53, 17]
Generated Node #0,2: 17:[55, 53, 17] Operation: 63-46=17
Exploring Operation: 63-55=8, Resulting Numbers: [46, 53, 8]
Generated Node #0,3: 17:[46, 53, 8] Operation: 63-55=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[46, 55, 10], Operations: ['63-53=10']
Exploring Operation: 46-10=36, Resulting Numbers: [55, 36]
Generated Node #0,0,0: 17:[55, 36] Operation: 46-10=36
Exploring Operation: 55-46=9, Resulting Numbers: [10, 9]
Generated Node #0,0,1: 17:[10, 9] Operation: 55-46=9
Exploring Operation: 46+10=56, Resulting Numbers: [55, 56]
Generated Node #0,0,2: 17:[55, 56] Operation: 46+10=56
Exploring Operation: 55-10=45, Resulting Numbers: [46, 45]
Generated Node #0,0,3: 17:[46, 45] Operation: 55-10=45
Moving to Node #0,0,1
Current State: 17:[10, 9], Operations: ['63-53=10', '55-46=9']
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,17 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Moving to Node #0,0,3
Current State: 17:[46, 45], Operations: ['63-53=10', '55-10=45']
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 46+45=91, Resulting Numbers: [91]
91,17 unequal: No Solution
Exploring Operation: 46*45=2070, Resulting Numbers: [2070]
2070,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[55, 36], Operations: ['63-53=10', '46-10=36']
Exploring Operation: 55+36=91, Resulting Numbers: [91]
91,17 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Exploring Operation: 55*36=1980, Resulting Numbers: [1980]
1980,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[55, 56], Operations: ['63-53=10', '46+10=56']
Exploring Operation: 55*56=3080, Resulting Numbers: [3080]
3080,17 unequal: No Solution
Exploring Operation: 56-55=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 55+56=111, Resulting Numbers: [111]
111,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[55, 53, 17], Operations: ['63-46=17']
Exploring Operation: 55-17=38, Resulting Numbers: [53, 38]
Generated Node #0,2,0: 17:[53, 38] Operation: 55-17=38
Exploring Operation: 55-53=2, Resulting Numbers: [17, 2]
Generated Node #0,2,1: 17:[17, 2] Operation: 55-53=2
Exploring Operation: 55+53=108, Resulting Numbers: [17, 108]
Generated Node #0,2,2: 17:[17, 108] Operation: 55+53=108
Exploring Operation: 53-17=36, Resulting Numbers: [55, 36]
Generated Node #0,2,3: 17:[55, 36] Operation: 53-17=36
Moving to Node #0,2,1
Current State: 17:[17, 2], Operations: ['63-46=17', '55-53=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Moving to Node #0,2,3
Current State: 17:[55, 36], Operations: ['63-46=17', '53-17=36']
Exploring Operation: 55*36=1980, Resulting Numbers: [1980]
1980,17 unequal: No Solution
Exploring Operation: 55+36=91, Resulting Numbers: [91]
91,17 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Moving to Node #0,2,0
Current State: 17:[53, 38], Operations: ['63-46=17', '55-17=38']
Exploring Operation: 53*38=2014, Resulting Numbers: [2014]
2014,17 unequal: No Solution
Exploring Operation: 53-38=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 53+38=91, Resulting Numbers: [91]
91,17 unequal: No Solution
Moving to Node #0,2,2
Current State: 17:[17, 108], Operations: ['63-46=17', '55+53=108']
Exploring Operation: 17*108=1836, Resulting Numbers: [1836]
1836,17 unequal: No Solution
Exploring Operation: 108-17=91, Resulting Numbers: [91]
91,17 unequal: No Solution
Exploring Operation: 17+108=125, Resulting Numbers: [125]
125,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 17:[46, 53, 8], Operations: ['63-55=8']
Exploring Operation: 53-46=7, Resulting Numbers: [8, 7]
Generated Node #0,3,0: 17:[8, 7] Operation: 53-46=7
Exploring Operation: 53-8=45, Resulting Numbers: [46, 45]
Generated Node #0,3,1: 17:[46, 45] Operation: 53-8=45
Exploring Operation: 46-8=38, Resulting Numbers: [53, 38]
Generated Node #0,3,2: 17:[53, 38] Operation: 46-8=38
Exploring Operation: 46+8=54, Resulting Numbers: [53, 54]
Generated Node #0,3,3: 17:[53, 54] Operation: 46+8=54
Moving to Node #0,3,0
Current State: 17:[8, 7], Operations: ['63-55=8', '53-46=7']
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,17 unequal: No Solution
Moving to Node #0,3,2
Current State: 17:[53, 38], Operations: ['63-55=8', '46-8=38']
Exploring Operation: 53+38=91, Resulting Numbers: [91]
91,17 unequal: No Solution
Exploring Operation: 53*38=2014, Resulting Numbers: [2014]
2014,17 unequal: No Solution
Exploring Operation: 53-38=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Moving to Node #0,3,1
Current State: 17:[46, 45], Operations: ['63-55=8', '53-8=45']
Exploring Operation: 46*45=2070, Resulting Numbers: [2070]
2070,17 unequal: No Solution
Exploring Operation: 46+45=91, Resulting Numbers: [91]
91,17 unequal: No Solution
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Moving to Node #0,3,3
Current State: 17:[53, 54], Operations: ['63-55=8', '46+8=54']
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 53*54=2862, Resulting Numbers: [2862]
2862,17 unequal: No Solution
Exploring Operation: 53+54=107, Resulting Numbers: [107]
107,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:[63, 53, 9], Operations: ['55-46=9']
Exploring Operation: 63-53=10, Resulting Numbers: [9, 10]
Generated Node #0,1,0: 17:[9, 10] Operation: 63-53=10
Exploring Operation: 63/9=7, Resulting Numbers: [53, 7]
Generated Node #0,1,1: 17:[53, 7] Operation: 63/9=7
Exploring Operation: 53-9=44, Resulting Numbers: [63, 44]
Generated Node #0,1,2: 17:[63, 44] Operation: 53-9=44
Exploring Operation: 63-9=54, Resulting Numbers: [53, 54]
Generated Node #0,1,3: 17:[53, 54] Operation: 63-9=54
Moving to Node #0,1,0
Current State: 17:[9, 10], Operations: ['55-46=9', '63-53=10']
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[53, 7], Operations: ['55-46=9', '63/9=7']
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,17 unequal: No Solution
Exploring Operation: 53*7=371, Resulting Numbers: [371]
371,17 unequal: No Solution
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,17 unequal: No Solution
Moving to Node #0,1,3
Current State: 17:[53, 54], Operations: ['55-46=9', '63-9=54']
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 53*54=2862, Resulting Numbers: [2862]
2862,17 unequal: No Solution
Exploring Operation: 53+54=107, Resulting Numbers: [107]
107,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[63, 44], Operations: ['55-46=9', '53-9=44']
Exploring Operation: 63+44=107, Resulting Numbers: [107]
107,17 unequal: No Solution
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Exploring Operation: 63*44=2772, Resulting Numbers: [2772]
2772,17 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 |
[
47,
13,
77,
66
] | 71 | [
"47+13=60",
"77-66=11",
"60+11=71"
] | Current State: 71:[47, 13, 77, 66], Operations: []
Exploring Operation: 47+13=60, Resulting Numbers: [77, 66, 60]
Generated Node #2: [77, 66, 60] from Operation: 47+13=60
Current State: 71:[77, 66, 60], Operations: ['47+13=60']
Exploring Operation: 77-66=11, Resulting Numbers: [60, 11]
Generated Node #3: [60, 11] from Operation: 77-66=11
Current State: 71:[60, 11], Operations: ['47+13=60', '77-66=11']
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[47, 13, 77, 66], Operations: []
Exploring Operation: 47-13=34, Resulting Numbers: [77, 66, 34]
Generated Node #0,0: 71:[77, 66, 34] Operation: 47-13=34
Exploring Operation: 47+13=60, Resulting Numbers: [77, 66, 60]
Generated Node #0,1: 71:[77, 66, 60] Operation: 47+13=60
Exploring Operation: 13+66=79, Resulting Numbers: [47, 77, 79]
Generated Node #0,2: 71:[47, 77, 79] Operation: 13+66=79
Exploring Operation: 77-13=64, Resulting Numbers: [47, 66, 64]
Generated Node #0,3: 71:[47, 66, 64] Operation: 77-13=64
Moving to Node #0,1
Current State: 71:[77, 66, 60], Operations: ['47+13=60']
Exploring Operation: 77+60=137, Resulting Numbers: [66, 137]
Generated Node #0,1,0: 71:[66, 137] Operation: 77+60=137
Exploring Operation: 77-60=17, Resulting Numbers: [66, 17]
Generated Node #0,1,1: 71:[66, 17] Operation: 77-60=17
Exploring Operation: 77-66=11, Resulting Numbers: [60, 11]
Generated Node #0,1,2: 71:[60, 11] Operation: 77-66=11
Exploring Operation: 66+60=126, Resulting Numbers: [77, 126]
Generated Node #0,1,3: 71:[77, 126] Operation: 66+60=126
Moving to Node #0,3
Current State: 71:[47, 66, 64], Operations: ['77-13=64']
Exploring Operation: 64-47=17, Resulting Numbers: [66, 17]
Generated Node #0,3,0: 71:[66, 17] Operation: 64-47=17
Exploring Operation: 47+66=113, Resulting Numbers: [64, 113]
Generated Node #0,3,1: 71:[64, 113] Operation: 47+66=113
Exploring Operation: 47+64=111, Resulting Numbers: [66, 111]
Generated Node #0,3,2: 71:[66, 111] Operation: 47+64=111
Exploring Operation: 66-47=19, Resulting Numbers: [64, 19]
Generated Node #0,3,3: 71:[64, 19] Operation: 66-47=19
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[66, 111], Operations: ['77-13=64', '47+64=111']
Exploring Operation: 66*111=7326, Resulting Numbers: [7326]
7326,71 unequal: No Solution
Exploring Operation: 111-66=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 66+111=177, Resulting Numbers: [177]
177,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[64, 113], Operations: ['77-13=64', '47+66=113']
Exploring Operation: 64+113=177, Resulting Numbers: [177]
177,71 unequal: No Solution
Exploring Operation: 64*113=7232, Resulting Numbers: [7232]
7232,71 unequal: No Solution
Exploring Operation: 113-64=49, Resulting Numbers: [49]
49,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[66, 17], Operations: ['77-13=64', '64-47=17']
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,71 unequal: No Solution
Exploring Operation: 66*17=1122, Resulting Numbers: [1122]
1122,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[64, 19], Operations: ['77-13=64', '66-47=19']
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 64*19=1216, Resulting Numbers: [1216]
1216,71 unequal: No Solution
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,71 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: 71:[47, 77, 79], Operations: ['13+66=79']
Exploring Operation: 47+79=126, Resulting Numbers: [77, 126]
Generated Node #0,2,0: 71:[77, 126] Operation: 47+79=126
Exploring Operation: 77-47=30, Resulting Numbers: [79, 30]
Generated Node #0,2,1: 71:[79, 30] Operation: 77-47=30
Exploring Operation: 79-47=32, Resulting Numbers: [77, 32]
Generated Node #0,2,2: 71:[77, 32] Operation: 79-47=32
Exploring Operation: 47+77=124, Resulting Numbers: [79, 124]
Generated Node #0,2,3: 71:[79, 124] Operation: 47+77=124
Moving to Node #0,0
Current State: 71:[77, 66, 34], Operations: ['47-13=34']
Exploring Operation: 77-34=43, Resulting Numbers: [66, 43]
Generated Node #0,0,0: 71:[66, 43] Operation: 77-34=43
Exploring Operation: 66+34=100, Resulting Numbers: [77, 100]
Generated Node #0,0,1: 71:[77, 100] Operation: 66+34=100
Exploring Operation: 66-34=32, Resulting Numbers: [77, 32]
Generated Node #0,0,2: 71:[77, 32] Operation: 66-34=32
Exploring Operation: 77+34=111, Resulting Numbers: [66, 111]
Generated Node #0,0,3: 71:[66, 111] Operation: 77+34=111
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[66, 43], Operations: ['47-13=34', '77-34=43']
Exploring Operation: 66+43=109, Resulting Numbers: [109]
109,71 unequal: No Solution
Exploring Operation: 66*43=2838, Resulting Numbers: [2838]
2838,71 unequal: No Solution
Exploring Operation: 66-43=23, Resulting Numbers: [23]
23,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[77, 100], Operations: ['47-13=34', '66+34=100']
Exploring Operation: 100-77=23, Resulting Numbers: [23]
23,71 unequal: No Solution
Exploring Operation: 77+100=177, Resulting Numbers: [177]
177,71 unequal: No Solution
Exploring Operation: 77*100=7700, Resulting Numbers: [7700]
7700,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 71:[77, 32], Operations: ['47-13=34', '66-34=32']
Exploring Operation: 77*32=2464, Resulting Numbers: [2464]
2464,71 unequal: No Solution
Exploring Operation: 77+32=109, Resulting Numbers: [109]
109,71 unequal: No Solution
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 71:[66, 111], Operations: ['47-13=34', '77+34=111']
Exploring Operation: 66*111=7326, Resulting Numbers: [7326]
7326,71 unequal: No Solution
Exploring Operation: 66+111=177, Resulting Numbers: [177]
177,71 unequal: No Solution
Exploring Operation: 111-66=45, Resulting Numbers: [45]
45,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 71:[77, 32], Operations: ['13+66=79', '79-47=32']
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 77*32=2464, Resulting Numbers: [2464]
2464,71 unequal: No Solution
Exploring Operation: 77+32=109, Resulting Numbers: [109]
109,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[79, 30], Operations: ['13+66=79', '77-47=30']
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,71 unequal: No Solution
Exploring Operation: 79+30=109, Resulting Numbers: [109]
109,71 unequal: No Solution
Exploring Operation: 79*30=2370, Resulting Numbers: [2370]
2370,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[66, 17], Operations: ['47+13=60', '77-60=17']
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,71 unequal: No Solution
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 66*17=1122, Resulting Numbers: [1122]
1122,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[77, 126], Operations: ['13+66=79', '47+79=126']
Exploring Operation: 77+126=203, Resulting Numbers: [203]
203,71 unequal: No Solution
Exploring Operation: 126-77=49, Resulting Numbers: [49]
49,71 unequal: No Solution
Exploring Operation: 77*126=9702, Resulting Numbers: [9702]
9702,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[77, 126], Operations: ['47+13=60', '66+60=126']
Exploring Operation: 77+126=203, Resulting Numbers: [203]
203,71 unequal: No Solution
Exploring Operation: 126-77=49, Resulting Numbers: [49]
49,71 unequal: No Solution
Exploring Operation: 77*126=9702, Resulting Numbers: [9702]
9702,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[79, 124], Operations: ['13+66=79', '47+77=124']
Exploring Operation: 124-79=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 79*124=9796, Resulting Numbers: [9796]
9796,71 unequal: No Solution
Exploring Operation: 79+124=203, Resulting Numbers: [203]
203,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[60, 11], Operations: ['47+13=60', '77-66=11']
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,71 unequal: No Solution
Exploring Operation: 60*11=660, Resulting Numbers: [660]
660,71 unequal: No Solution
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[47, 13, 77, 66], Operations: []
Exploring Operation: 47+13=60, Resulting Numbers: [77, 66, 60]
Generated Node #0,1: 71:[77, 66, 60] Operation: 47+13=60
Moving to Node #0,1
Current State: 71:[77, 66, 60], Operations: ['47+13=60']
Exploring Operation: 77-66=11, Resulting Numbers: [60, 11]
Generated Node #0,1,2: 71:[60, 11] Operation: 77-66=11
Moving to Node #0,1,2
Current State: 71:[60, 11], Operations: ['47+13=60', '77-66=11']
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 0.940104 | hs_4 | sum_heuristic |
[
31,
97,
84,
26
] | 82 | [
"31*84=2604",
"97*26=2522",
"2604-2522=82"
] | Current State: 82:[31, 97, 84, 26], Operations: []
Exploring Operation: 31*84=2604, Resulting Numbers: [97, 26, 2604]
Generated Node #2: [97, 26, 2604] from Operation: 31*84=2604
Current State: 82:[97, 26, 2604], Operations: ['31*84=2604']
Exploring Operation: 97*26=2522, Resulting Numbers: [2604, 2522]
Generated Node #3: [2604, 2522] from Operation: 97*26=2522
Current State: 82:[2604, 2522], Operations: ['31*84=2604', '97*26=2522']
Exploring Operation: 2604-2522=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[31, 97, 84, 26], Operations: []
Exploring Operation: 97-84=13, Resulting Numbers: [31, 26, 13]
Generated Node #0,0: 82:[31, 26, 13] Operation: 97-84=13
Exploring Operation: 31+26=57, Resulting Numbers: [97, 84, 57]
Generated Node #0,1: 82:[97, 84, 57] Operation: 31+26=57
Exploring Operation: 31-26=5, Resulting Numbers: [97, 84, 5]
Generated Node #0,2: 82:[97, 84, 5] Operation: 31-26=5
Exploring Operation: 97-31=66, Resulting Numbers: [84, 26, 66]
Generated Node #0,3: 82:[84, 26, 66] Operation: 97-31=66
Exploring Operation: 97-26=71, Resulting Numbers: [31, 84, 71]
Generated Node #0,4: 82:[31, 84, 71] Operation: 97-26=71
Moving to Node #0,2
Current State: 82:[97, 84, 5], Operations: ['31-26=5']
Exploring Operation: 97-5=92, Resulting Numbers: [84, 92]
Generated Node #0,2,0: 82:[84, 92] Operation: 97-5=92
Exploring Operation: 84+5=89, Resulting Numbers: [97, 89]
Generated Node #0,2,1: 82:[97, 89] Operation: 84+5=89
Exploring Operation: 97-84=13, Resulting Numbers: [5, 13]
Generated Node #0,2,2: 82:[5, 13] Operation: 97-84=13
Exploring Operation: 84-5=79, Resulting Numbers: [97, 79]
Generated Node #0,2,3: 82:[97, 79] Operation: 84-5=79
Exploring Operation: 97+5=102, Resulting Numbers: [84, 102]
Generated Node #0,2,4: 82:[84, 102] Operation: 97+5=102
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 82:[84, 92], Operations: ['31-26=5', '97-5=92']
Exploring Operation: 84*92=7728, Resulting Numbers: [7728]
7728,82 unequal: No Solution
Exploring Operation: 84+92=176, Resulting Numbers: [176]
176,82 unequal: No Solution
Exploring Operation: 92-84=8, Resulting Numbers: [8]
8,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 82:[5, 13], Operations: ['31-26=5', '97-84=13']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,82 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 82:[97, 79], Operations: ['31-26=5', '84-5=79']
Exploring Operation: 97+79=176, Resulting Numbers: [176]
176,82 unequal: No Solution
Exploring Operation: 97-79=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 97*79=7663, Resulting Numbers: [7663]
7663,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 82:[97, 89], Operations: ['31-26=5', '84+5=89']
Exploring Operation: 97*89=8633, Resulting Numbers: [8633]
8633,82 unequal: No Solution
Exploring Operation: 97+89=186, Resulting Numbers: [186]
186,82 unequal: No Solution
Exploring Operation: 97-89=8, Resulting Numbers: [8]
8,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 82:[84, 102], Operations: ['31-26=5', '97+5=102']
Exploring Operation: 102-84=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 84+102=186, Resulting Numbers: [186]
186,82 unequal: No Solution
Exploring Operation: 84*102=8568, Resulting Numbers: [8568]
8568,82 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: 82:[31, 84, 71], Operations: ['97-26=71']
Exploring Operation: 31+71=102, Resulting Numbers: [84, 102]
Generated Node #0,4,0: 82:[84, 102] Operation: 31+71=102
Exploring Operation: 84-31=53, Resulting Numbers: [71, 53]
Generated Node #0,4,1: 82:[71, 53] Operation: 84-31=53
Exploring Operation: 31+84=115, Resulting Numbers: [71, 115]
Generated Node #0,4,2: 82:[71, 115] Operation: 31+84=115
Exploring Operation: 71-31=40, Resulting Numbers: [84, 40]
Generated Node #0,4,3: 82:[84, 40] Operation: 71-31=40
Exploring Operation: 84-71=13, Resulting Numbers: [31, 13]
Generated Node #0,4,4: 82:[31, 13] Operation: 84-71=13
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 82:[84, 40], Operations: ['97-26=71', '71-31=40']
Exploring Operation: 84+40=124, Resulting Numbers: [124]
124,82 unequal: No Solution
Exploring Operation: 84-40=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 84*40=3360, Resulting Numbers: [3360]
3360,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 82:[31, 13], Operations: ['97-26=71', '84-71=13']
Exploring Operation: 31+13=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 31*13=403, Resulting Numbers: [403]
403,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 82:[84, 102], Operations: ['97-26=71', '31+71=102']
Exploring Operation: 102-84=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 84+102=186, Resulting Numbers: [186]
186,82 unequal: No Solution
Exploring Operation: 84*102=8568, Resulting Numbers: [8568]
8568,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 82:[71, 53], Operations: ['97-26=71', '84-31=53']
Exploring Operation: 71-53=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 71*53=3763, Resulting Numbers: [3763]
3763,82 unequal: No Solution
Exploring Operation: 71+53=124, Resulting Numbers: [124]
124,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 82:[71, 115], Operations: ['97-26=71', '31+84=115']
Exploring Operation: 71*115=8165, Resulting Numbers: [8165]
8165,82 unequal: No Solution
Exploring Operation: 115-71=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 71+115=186, Resulting Numbers: [186]
186,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 82:[97, 84, 57], Operations: ['31+26=57']
Exploring Operation: 97-84=13, Resulting Numbers: [57, 13]
Generated Node #0,1,0: 82:[57, 13] Operation: 97-84=13
Exploring Operation: 84+57=141, Resulting Numbers: [97, 141]
Generated Node #0,1,1: 82:[97, 141] Operation: 84+57=141
Exploring Operation: 97-57=40, Resulting Numbers: [84, 40]
Generated Node #0,1,2: 82:[84, 40] Operation: 97-57=40
Exploring Operation: 84-57=27, Resulting Numbers: [97, 27]
Generated Node #0,1,3: 82:[97, 27] Operation: 84-57=27
Exploring Operation: 97+57=154, Resulting Numbers: [84, 154]
Generated Node #0,1,4: 82:[84, 154] Operation: 97+57=154
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 82:[84, 40], Operations: ['31+26=57', '97-57=40']
Exploring Operation: 84*40=3360, Resulting Numbers: [3360]
3360,82 unequal: No Solution
Exploring Operation: 84-40=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 84+40=124, Resulting Numbers: [124]
124,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[57, 13], Operations: ['31+26=57', '97-84=13']
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 57+13=70, Resulting Numbers: [70]
70,82 unequal: No Solution
Exploring Operation: 57*13=741, Resulting Numbers: [741]
741,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 82:[97, 27], Operations: ['31+26=57', '84-57=27']
Exploring Operation: 97*27=2619, Resulting Numbers: [2619]
2619,82 unequal: No Solution
Exploring Operation: 97+27=124, Resulting Numbers: [124]
124,82 unequal: No Solution
Exploring Operation: 97-27=70, Resulting Numbers: [70]
70,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 82:[97, 141], Operations: ['31+26=57', '84+57=141']
Exploring Operation: 97+141=238, Resulting Numbers: [238]
238,82 unequal: No Solution
Exploring Operation: 141-97=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 97*141=13677, Resulting Numbers: [13677]
13677,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 82:[84, 154], Operations: ['31+26=57', '97+57=154']
Exploring Operation: 84+154=238, Resulting Numbers: [238]
238,82 unequal: No Solution
Exploring Operation: 154-84=70, Resulting Numbers: [70]
70,82 unequal: No Solution
Exploring Operation: 84*154=12936, Resulting Numbers: [12936]
12936,82 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: 82:[84, 26, 66], Operations: ['97-31=66']
Exploring Operation: 66-26=40, Resulting Numbers: [84, 40]
Generated Node #0,3,0: 82:[84, 40] Operation: 66-26=40
Exploring Operation: 84+26=110, Resulting Numbers: [66, 110]
Generated Node #0,3,1: 82:[66, 110] Operation: 84+26=110
Exploring Operation: 26+66=92, Resulting Numbers: [84, 92]
Generated Node #0,3,2: 82:[84, 92] Operation: 26+66=92
Exploring Operation: 84-26=58, Resulting Numbers: [66, 58]
Generated Node #0,3,3: 82:[66, 58] Operation: 84-26=58
Exploring Operation: 84-66=18, Resulting Numbers: [26, 18]
Generated Node #0,3,4: 82:[26, 18] Operation: 84-66=18
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 82:[84, 40], Operations: ['97-31=66', '66-26=40']
Exploring Operation: 84+40=124, Resulting Numbers: [124]
124,82 unequal: No Solution
Exploring Operation: 84-40=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 84*40=3360, Resulting Numbers: [3360]
3360,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 82:[84, 92], Operations: ['97-31=66', '26+66=92']
Exploring Operation: 84+92=176, Resulting Numbers: [176]
176,82 unequal: No Solution
Exploring Operation: 92-84=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Exploring Operation: 84*92=7728, Resulting Numbers: [7728]
7728,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 82:[26, 18], Operations: ['97-31=66', '84-66=18']
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Exploring Operation: 26*18=468, Resulting Numbers: [468]
468,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 82:[66, 58], Operations: ['97-31=66', '84-26=58']
Exploring Operation: 66*58=3828, Resulting Numbers: [3828]
3828,82 unequal: No Solution
Exploring Operation: 66-58=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Exploring Operation: 66+58=124, Resulting Numbers: [124]
124,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 82:[66, 110], Operations: ['97-31=66', '84+26=110']
Exploring Operation: 110-66=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 66+110=176, Resulting Numbers: [176]
176,82 unequal: No Solution
Exploring Operation: 66*110=7260, Resulting Numbers: [7260]
7260,82 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: 82:[31, 26, 13], Operations: ['97-84=13']
Exploring Operation: 31+13=44, Resulting Numbers: [26, 44]
Generated Node #0,0,0: 82:[26, 44] Operation: 31+13=44
Exploring Operation: 26/13=2, Resulting Numbers: [31, 2]
Generated Node #0,0,1: 82:[31, 2] Operation: 26/13=2
Exploring Operation: 26-13=13, Resulting Numbers: [31, 13]
Generated Node #0,0,2: 82:[31, 13] Operation: 26-13=13
Exploring Operation: 26+13=39, Resulting Numbers: [31, 39]
Generated Node #0,0,3: 82:[31, 39] Operation: 26+13=39
Exploring Operation: 31-26=5, Resulting Numbers: [13, 5]
Generated Node #0,0,4: 82:[13, 5] Operation: 31-26=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 82:[31, 2], Operations: ['97-84=13', '26/13=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,82 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 82:[31, 39], Operations: ['97-84=13', '26+13=39']
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Exploring Operation: 31+39=70, Resulting Numbers: [70]
70,82 unequal: No Solution
Exploring Operation: 31*39=1209, Resulting Numbers: [1209]
1209,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 82:[13, 5], Operations: ['97-84=13', '31-26=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,82 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[26, 44], Operations: ['97-84=13', '31+13=44']
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 26*44=1144, Resulting Numbers: [1144]
1144,82 unequal: No Solution
Exploring Operation: 26+44=70, Resulting Numbers: [70]
70,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 82:[31, 13], Operations: ['97-84=13', '26-13=13']
Exploring Operation: 31*13=403, Resulting Numbers: [403]
403,82 unequal: No Solution
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 31+13=44, Resulting Numbers: [44]
44,82 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 |
[
98,
49,
99,
60
] | 89 | [
"60-49=11",
"99/11=9",
"98-9=89"
] | Current State: 89:[98, 49, 99, 60], Operations: []
Exploring Operation: 60-49=11, Resulting Numbers: [98, 99, 11]
Generated Node #2: [98, 99, 11] from Operation: 60-49=11
Current State: 89:[98, 99, 11], Operations: ['60-49=11']
Exploring Operation: 99/11=9, Resulting Numbers: [98, 9]
Generated Node #3: [98, 9] from Operation: 99/11=9
Current State: 89:[98, 9], Operations: ['60-49=11', '99/11=9']
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[98, 49, 99, 60], Operations: []
Exploring Operation: 49+60=109, Resulting Numbers: [98, 99, 109]
Generated Node #0,0: 89:[98, 99, 109] Operation: 49+60=109
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[98, 99, 109], Operations: ['49+60=109']
Exploring Operation: 109-98=11, Resulting Numbers: [99, 11]
Generated Node #0,0,0: 89:[99, 11] Operation: 109-98=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[99, 11], Operations: ['49+60=109', '109-98=11']
Exploring Operation: 99-11=88, Resulting Numbers: [88]
88,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
7,
8,
88,
2
] | 15 | [
"88/8=11",
"2*11=22",
"22-7=15"
] | Current State: 15:[7, 8, 88, 2], Operations: []
Exploring Operation: 88/8=11, Resulting Numbers: [7, 2, 11]
Generated Node #2: [7, 2, 11] from Operation: 88/8=11
Current State: 15:[7, 2, 11], Operations: ['88/8=11']
Exploring Operation: 2*11=22, Resulting Numbers: [7, 22]
Generated Node #3: [7, 22] from Operation: 2*11=22
Current State: 15:[7, 22], Operations: ['88/8=11', '2*11=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[7, 8, 88, 2], Operations: []
Exploring Operation: 88/2=44, Resulting Numbers: [7, 8, 44]
Generated Node #0,0: 15:[7, 8, 44] Operation: 88/2=44
Exploring Operation: 88-8=80, Resulting Numbers: [7, 2, 80]
Generated Node #0,1: 15:[7, 2, 80] Operation: 88-8=80
Exploring Operation: 88/8=11, Resulting Numbers: [7, 2, 11]
Generated Node #0,2: 15:[7, 2, 11] Operation: 88/8=11
Moving to Node #0,2
Current State: 15:[7, 2, 11], Operations: ['88/8=11']
Exploring Operation: 7-2=5, Resulting Numbers: [11, 5]
Generated Node #0,2,0: 15:[11, 5] Operation: 7-2=5
Exploring Operation: 7+11=18, Resulting Numbers: [2, 18]
Generated Node #0,2,1: 15:[2, 18] Operation: 7+11=18
Exploring Operation: 11-7=4, Resulting Numbers: [2, 4]
Generated Node #0,2,2: 15:[2, 4] Operation: 11-7=4
Moving to Node #0,0
Current State: 15:[7, 8, 44], Operations: ['88/2=44']
Exploring Operation: 44-8=36, Resulting Numbers: [7, 36]
Generated Node #0,0,0: 15:[7, 36] Operation: 44-8=36
Exploring Operation: 44-7=37, Resulting Numbers: [8, 37]
Generated Node #0,0,1: 15:[8, 37] Operation: 44-7=37
Exploring Operation: 7+8=15, Resulting Numbers: [44, 15]
Generated Node #0,0,2: 15:[44, 15] Operation: 7+8=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[7, 36], Operations: ['88/2=44', '44-8=36']
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,15 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 7*36=252, Resulting Numbers: [252]
252,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[8, 37], Operations: ['88/2=44', '44-7=37']
Exploring Operation: 8+37=45, Resulting Numbers: [45]
45,15 unequal: No Solution
Exploring Operation: 8*37=296, Resulting Numbers: [296]
296,15 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 15:[44, 15], Operations: ['88/2=44', '7+8=15']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 44*15=660, Resulting Numbers: [660]
660,15 unequal: No Solution
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 15:[7, 2, 80], Operations: ['88-8=80']
Exploring Operation: 7-2=5, Resulting Numbers: [80, 5]
Generated Node #0,1,0: 15:[80, 5] Operation: 7-2=5
Exploring Operation: 80/2=40, Resulting Numbers: [7, 40]
Generated Node #0,1,1: 15:[7, 40] Operation: 80/2=40
Exploring Operation: 80-7=73, Resulting Numbers: [2, 73]
Generated Node #0,1,2: 15:[2, 73] Operation: 80-7=73
Moving to Node #0,2,2
Current State: 15:[2, 4], Operations: ['88/8=11', '11-7=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[2, 18], Operations: ['88/8=11', '7+11=18']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[11, 5], Operations: ['88/8=11', '7-2=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,15 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[7, 40], Operations: ['88-8=80', '80/2=40']
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Exploring Operation: 7*40=280, Resulting Numbers: [280]
280,15 unequal: No Solution
Exploring Operation: 7+40=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[2, 73], Operations: ['88-8=80', '80-7=73']
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,15 unequal: No Solution
Exploring Operation: 2*73=146, Resulting Numbers: [146]
146,15 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[80, 5], Operations: ['88-8=80', '7-2=5']
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,15 unequal: No Solution
Exploring Operation: 80+5=85, Resulting Numbers: [85]
85,15 unequal: No Solution
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,15 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
66,
70,
23,
31
] | 69 | [
"70+23=93",
"93/31=3",
"66+3=69"
] | Current State: 69:[66, 70, 23, 31], Operations: []
Exploring Operation: 70+23=93, Resulting Numbers: [66, 31, 93]
Generated Node #2: [66, 31, 93] from Operation: 70+23=93
Current State: 69:[66, 31, 93], Operations: ['70+23=93']
Exploring Operation: 93/31=3, Resulting Numbers: [66, 3]
Generated Node #3: [66, 3] from Operation: 93/31=3
Current State: 69:[66, 3], Operations: ['70+23=93', '93/31=3']
Exploring Operation: 66+3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[66, 70, 23, 31], Operations: []
Exploring Operation: 70-31=39, Resulting Numbers: [66, 23, 39]
Generated Node #0,0: 69:[66, 23, 39] Operation: 70-31=39
Exploring Operation: 31-23=8, Resulting Numbers: [66, 70, 8]
Generated Node #0,1: 69:[66, 70, 8] Operation: 31-23=8
Exploring Operation: 70-66=4, Resulting Numbers: [23, 31, 4]
Generated Node #0,2: 69:[23, 31, 4] Operation: 70-66=4
Exploring Operation: 66-31=35, Resulting Numbers: [70, 23, 35]
Generated Node #0,3: 69:[70, 23, 35] Operation: 66-31=35
Exploring Operation: 23+31=54, Resulting Numbers: [66, 70, 54]
Generated Node #0,4: 69:[66, 70, 54] Operation: 23+31=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[66, 70, 8], Operations: ['31-23=8']
Exploring Operation: 70-8=62, Resulting Numbers: [66, 62]
Generated Node #0,1,0: 69:[66, 62] Operation: 70-8=62
Exploring Operation: 70-66=4, Resulting Numbers: [8, 4]
Generated Node #0,1,1: 69:[8, 4] Operation: 70-66=4
Exploring Operation: 66-8=58, Resulting Numbers: [70, 58]
Generated Node #0,1,2: 69:[70, 58] Operation: 66-8=58
Exploring Operation: 70+8=78, Resulting Numbers: [66, 78]
Generated Node #0,1,3: 69:[66, 78] Operation: 70+8=78
Exploring Operation: 66+8=74, Resulting Numbers: [70, 74]
Generated Node #0,1,4: 69:[70, 74] Operation: 66+8=74
Moving to Node #0,1,1
Current State: 69:[8, 4], Operations: ['31-23=8', '70-66=4']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,69 unequal: No Solution
Moving to Node #0,1,4
Current State: 69:[70, 74], Operations: ['31-23=8', '66+8=74']
Exploring Operation: 74-70=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 70*74=5180, Resulting Numbers: [5180]
5180,69 unequal: No Solution
Exploring Operation: 70+74=144, Resulting Numbers: [144]
144,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[66, 62], Operations: ['31-23=8', '70-8=62']
Exploring Operation: 66-62=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 66+62=128, Resulting Numbers: [128]
128,69 unequal: No Solution
Exploring Operation: 66*62=4092, Resulting Numbers: [4092]
4092,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[70, 58], Operations: ['31-23=8', '66-8=58']
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,69 unequal: No Solution
Exploring Operation: 70+58=128, Resulting Numbers: [128]
128,69 unequal: No Solution
Exploring Operation: 70*58=4060, Resulting Numbers: [4060]
4060,69 unequal: No Solution
Moving to Node #0,1,3
Current State: 69:[66, 78], Operations: ['31-23=8', '70+8=78']
Exploring Operation: 66*78=5148, Resulting Numbers: [5148]
5148,69 unequal: No Solution
Exploring Operation: 66+78=144, Resulting Numbers: [144]
144,69 unequal: No Solution
Exploring Operation: 78-66=12, Resulting Numbers: [12]
12,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,2
Current State: 69:[23, 31, 4], Operations: ['70-66=4']
Exploring Operation: 23-4=19, Resulting Numbers: [31, 19]
Generated Node #0,2,0: 69:[31, 19] Operation: 23-4=19
Exploring Operation: 31-4=27, Resulting Numbers: [23, 27]
Generated Node #0,2,1: 69:[23, 27] Operation: 31-4=27
Exploring Operation: 31-23=8, Resulting Numbers: [4, 8]
Generated Node #0,2,2: 69:[4, 8] Operation: 31-23=8
Exploring Operation: 23+4=27, Resulting Numbers: [31, 27]
Generated Node #0,2,3: 69:[31, 27] Operation: 23+4=27
Exploring Operation: 31+4=35, Resulting Numbers: [23, 35]
Generated Node #0,2,4: 69:[23, 35] Operation: 31+4=35
Moving to Node #0,2,1
Current State: 69:[23, 27], Operations: ['70-66=4', '31-4=27']
Exploring Operation: 23+27=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Exploring Operation: 23*27=621, Resulting Numbers: [621]
621,69 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[4, 8], Operations: ['70-66=4', '31-23=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,69 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[31, 19], Operations: ['70-66=4', '23-4=19']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,69 unequal: No Solution
Exploring Operation: 31*19=589, Resulting Numbers: [589]
589,69 unequal: No Solution
Exploring Operation: 31+19=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Moving to Node #0,2,3
Current State: 69:[31, 27], Operations: ['70-66=4', '23+4=27']
Exploring Operation: 31*27=837, Resulting Numbers: [837]
837,69 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Moving to Node #0,2,4
Current State: 69:[23, 35], Operations: ['70-66=4', '31+4=35']
Exploring Operation: 23*35=805, Resulting Numbers: [805]
805,69 unequal: No Solution
Exploring Operation: 23+35=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 69:[70, 23, 35], Operations: ['66-31=35']
Exploring Operation: 35-23=12, Resulting Numbers: [70, 12]
Generated Node #0,3,0: 69:[70, 12] Operation: 35-23=12
Exploring Operation: 70/35=2, Resulting Numbers: [23, 2]
Generated Node #0,3,1: 69:[23, 2] Operation: 70/35=2
Exploring Operation: 23+35=58, Resulting Numbers: [70, 58]
Generated Node #0,3,2: 69:[70, 58] Operation: 23+35=58
Exploring Operation: 70-23=47, Resulting Numbers: [35, 47]
Generated Node #0,3,3: 69:[35, 47] Operation: 70-23=47
Exploring Operation: 70-35=35, Resulting Numbers: [23, 35]
Generated Node #0,3,4: 69:[23, 35] Operation: 70-35=35
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 69:[23, 2], Operations: ['66-31=35', '70/35=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,69 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,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,3,0
Current State: 69:[70, 12], Operations: ['66-31=35', '35-23=12']
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 70+12=82, Resulting Numbers: [82]
82,69 unequal: No Solution
Exploring Operation: 70*12=840, Resulting Numbers: [840]
840,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,3,2
Current State: 69:[70, 58], Operations: ['66-31=35', '23+35=58']
Exploring Operation: 70*58=4060, Resulting Numbers: [4060]
4060,69 unequal: No Solution
Exploring Operation: 70+58=128, Resulting Numbers: [128]
128,69 unequal: No Solution
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,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,3,4
Current State: 69:[23, 35], Operations: ['66-31=35', '70-35=35']
Exploring Operation: 23*35=805, Resulting Numbers: [805]
805,69 unequal: No Solution
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,69 unequal: No Solution
Exploring Operation: 23+35=58, Resulting Numbers: [58]
58,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,3,3
Current State: 69:[35, 47], Operations: ['66-31=35', '70-23=47']
Exploring Operation: 47-35=12, Resulting Numbers: [12]
12,69 unequal: No Solution
Exploring Operation: 35+47=82, Resulting Numbers: [82]
82,69 unequal: No Solution
Exploring Operation: 35*47=1645, Resulting Numbers: [1645]
1645,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,0
Current State: 69:[66, 23, 39], Operations: ['70-31=39']
Exploring Operation: 66+23=89, Resulting Numbers: [39, 89]
Generated Node #0,0,0: 69:[39, 89] Operation: 66+23=89
Exploring Operation: 66-23=43, Resulting Numbers: [39, 43]
Generated Node #0,0,1: 69:[39, 43] Operation: 66-23=43
Exploring Operation: 39-23=16, Resulting Numbers: [66, 16]
Generated Node #0,0,2: 69:[66, 16] Operation: 39-23=16
Exploring Operation: 66-39=27, Resulting Numbers: [23, 27]
Generated Node #0,0,3: 69:[23, 27] Operation: 66-39=27
Exploring Operation: 23+39=62, Resulting Numbers: [66, 62]
Generated Node #0,0,4: 69:[66, 62] Operation: 23+39=62
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 69:[23, 27], Operations: ['70-31=39', '66-39=27']
Exploring Operation: 23+27=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Exploring Operation: 23*27=621, Resulting Numbers: [621]
621,69 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,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:[66, 16], Operations: ['70-31=39', '39-23=16']
Exploring Operation: 66*16=1056, Resulting Numbers: [1056]
1056,69 unequal: No Solution
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Exploring Operation: 66+16=82, Resulting Numbers: [82]
82,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,4
Current State: 69:[66, 62], Operations: ['70-31=39', '23+39=62']
Exploring Operation: 66*62=4092, Resulting Numbers: [4092]
4092,69 unequal: No Solution
Exploring Operation: 66-62=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 66+62=128, Resulting Numbers: [128]
128,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:[39, 89], Operations: ['70-31=39', '66+23=89']
Exploring Operation: 39+89=128, Resulting Numbers: [128]
128,69 unequal: No Solution
Exploring Operation: 89-39=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Exploring Operation: 39*89=3471, Resulting Numbers: [3471]
3471,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,1
Current State: 69:[39, 43], Operations: ['70-31=39', '66-23=43']
Exploring Operation: 39*43=1677, Resulting Numbers: [1677]
1677,69 unequal: No Solution
Exploring Operation: 39+43=82, Resulting Numbers: [82]
82,69 unequal: No Solution
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,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,4
Current State: 69:[66, 70, 54], Operations: ['23+31=54']
Exploring Operation: 66-54=12, Resulting Numbers: [70, 12]
Generated Node #0,4,0: 69:[70, 12] Operation: 66-54=12
Exploring Operation: 70-54=16, Resulting Numbers: [66, 16]
Generated Node #0,4,1: 69:[66, 16] Operation: 70-54=16
Exploring Operation: 66+54=120, Resulting Numbers: [70, 120]
Generated Node #0,4,2: 69:[70, 120] Operation: 66+54=120
Exploring Operation: 70-66=4, Resulting Numbers: [54, 4]
Generated Node #0,4,3: 69:[54, 4] Operation: 70-66=4
Exploring Operation: 70+54=124, Resulting Numbers: [66, 124]
Generated Node #0,4,4: 69:[66, 124] Operation: 70+54=124
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 69:[70, 12], Operations: ['23+31=54', '66-54=12']
Exploring Operation: 70*12=840, Resulting Numbers: [840]
840,69 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 70+12=82, Resulting Numbers: [82]
82,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,4,1
Current State: 69:[66, 16], Operations: ['23+31=54', '70-54=16']
Exploring Operation: 66+16=82, Resulting Numbers: [82]
82,69 unequal: No Solution
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Exploring Operation: 66*16=1056, Resulting Numbers: [1056]
1056,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,4,3
Current State: 69:[54, 4], Operations: ['23+31=54', '70-66=4']
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 54*4=216, Resulting Numbers: [216]
216,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,4,2
Current State: 69:[70, 120], Operations: ['23+31=54', '66+54=120']
Exploring Operation: 120-70=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Exploring Operation: 70+120=190, Resulting Numbers: [190]
190,69 unequal: No Solution
Exploring Operation: 70*120=8400, Resulting Numbers: [8400]
8400,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,4,4
Current State: 69:[66, 124], Operations: ['23+31=54', '70+54=124']
Exploring Operation: 66*124=8184, Resulting Numbers: [8184]
8184,69 unequal: No Solution
Exploring Operation: 124-66=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 66+124=190, Resulting Numbers: [190]
190,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
No solution found.
| 0 | hs_5 | mult_heuristic |
[
66,
49,
24,
44
] | 95 | [
"66+49=115",
"44-24=20",
"115-20=95"
] | Current State: 95:[66, 49, 24, 44], Operations: []
Exploring Operation: 66+49=115, Resulting Numbers: [24, 44, 115]
Generated Node #2: [24, 44, 115] from Operation: 66+49=115
Current State: 95:[24, 44, 115], Operations: ['66+49=115']
Exploring Operation: 44-24=20, Resulting Numbers: [115, 20]
Generated Node #3: [115, 20] from Operation: 44-24=20
Current State: 95:[115, 20], Operations: ['66+49=115', '44-24=20']
Exploring Operation: 115-20=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[66, 49, 24, 44], Operations: []
Exploring Operation: 49-44=5, Resulting Numbers: [66, 24, 5]
Generated Node #0,0: 95:[66, 24, 5] Operation: 49-44=5
Exploring Operation: 66-49=17, Resulting Numbers: [24, 44, 17]
Generated Node #0,1: 95:[24, 44, 17] Operation: 66-49=17
Exploring Operation: 49+44=93, Resulting Numbers: [66, 24, 93]
Generated Node #0,2: 95:[66, 24, 93] Operation: 49+44=93
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[24, 44, 17], Operations: ['66-49=17']
Exploring Operation: 24-17=7, Resulting Numbers: [44, 7]
Generated Node #0,1,0: 95:[44, 7] Operation: 24-17=7
Exploring Operation: 44-24=20, Resulting Numbers: [17, 20]
Generated Node #0,1,1: 95:[17, 20] Operation: 44-24=20
Exploring Operation: 44-17=27, Resulting Numbers: [24, 27]
Generated Node #0,1,2: 95:[24, 27] Operation: 44-17=27
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[17, 20], Operations: ['66-49=17', '44-24=20']
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,95 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,95 unequal: No Solution
Exploring Operation: 17*20=340, Resulting Numbers: [340]
340,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:[24, 27], Operations: ['66-49=17', '44-17=27']
Exploring Operation: 24*27=648, Resulting Numbers: [648]
648,95 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,95 unequal: No Solution
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,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,0
Current State: 95:[44, 7], Operations: ['66-49=17', '24-17=7']
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,95 unequal: No Solution
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,95 unequal: No Solution
Exploring Operation: 44*7=308, Resulting Numbers: [308]
308,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,0
Current State: 95:[66, 24, 5], Operations: ['49-44=5']
Exploring Operation: 66+24=90, Resulting Numbers: [5, 90]
Generated Node #0,0,0: 95:[5, 90] Operation: 66+24=90
Exploring Operation: 66-24=42, Resulting Numbers: [5, 42]
Generated Node #0,0,1: 95:[5, 42] Operation: 66-24=42
Exploring Operation: 66+5=71, Resulting Numbers: [24, 71]
Generated Node #0,0,2: 95:[24, 71] Operation: 66+5=71
Moving to Node #0,0,0
Current State: 95:[5, 90], Operations: ['49-44=5', '66+24=90']
Exploring Operation: 5+90=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[66, 49, 24, 44], Operations: []
Exploring Operation: 49-44=5, Resulting Numbers: [66, 24, 5]
Generated Node #0,0: 95:[66, 24, 5] Operation: 49-44=5
Moving to Node #0,0
Current State: 95:[66, 24, 5], Operations: ['49-44=5']
Exploring Operation: 66+24=90, Resulting Numbers: [5, 90]
Generated Node #0,0,0: 95:[5, 90] Operation: 66+24=90
Moving to Node #0,0,0
Current State: 95:[5, 90], Operations: ['49-44=5', '66+24=90']
Exploring Operation: 5+90=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
2,
98,
45,
69
] | 25 | [
"98/2=49",
"69-45=24",
"49-24=25"
] | Current State: 25:[2, 98, 45, 69], Operations: []
Exploring Operation: 98/2=49, Resulting Numbers: [45, 69, 49]
Generated Node #2: [45, 69, 49] from Operation: 98/2=49
Current State: 25:[45, 69, 49], Operations: ['98/2=49']
Exploring Operation: 69-45=24, Resulting Numbers: [49, 24]
Generated Node #3: [49, 24] from Operation: 69-45=24
Current State: 25:[49, 24], Operations: ['98/2=49', '69-45=24']
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[2, 98, 45, 69], Operations: []
Exploring Operation: 98-45=53, Resulting Numbers: [2, 69, 53]
Generated Node #0,0: 25:[2, 69, 53] Operation: 98-45=53
Exploring Operation: 69-45=24, Resulting Numbers: [2, 98, 24]
Generated Node #0,1: 25:[2, 98, 24] Operation: 69-45=24
Exploring Operation: 98-69=29, Resulting Numbers: [2, 45, 29]
Generated Node #0,2: 25:[2, 45, 29] Operation: 98-69=29
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[2, 45, 29], Operations: ['98-69=29']
Exploring Operation: 45-29=16, Resulting Numbers: [2, 16]
Generated Node #0,2,0: 25:[2, 16] Operation: 45-29=16
Exploring Operation: 29-2=27, Resulting Numbers: [45, 27]
Generated Node #0,2,1: 25:[45, 27] Operation: 29-2=27
Exploring Operation: 45-2=43, Resulting Numbers: [29, 43]
Generated Node #0,2,2: 25:[29, 43] Operation: 45-2=43
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 25:[2, 16], Operations: ['98-69=29', '45-29=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 25:[45, 27], Operations: ['98-69=29', '29-2=27']
Exploring Operation: 45+27=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 45*27=1215, Resulting Numbers: [1215]
1215,25 unequal: No Solution
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 25:[29, 43], Operations: ['98-69=29', '45-2=43']
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 29+43=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 29*43=1247, Resulting Numbers: [1247]
1247,25 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: 25:[2, 69, 53], Operations: ['98-45=53']
Exploring Operation: 69-53=16, Resulting Numbers: [2, 16]
Generated Node #0,0,0: 25:[2, 16] Operation: 69-53=16
Exploring Operation: 53-2=51, Resulting Numbers: [69, 51]
Generated Node #0,0,1: 25:[69, 51] Operation: 53-2=51
Exploring Operation: 69-2=67, Resulting Numbers: [53, 67]
Generated Node #0,0,2: 25:[53, 67] Operation: 69-2=67
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[2, 16], Operations: ['98-45=53', '69-53=16']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[69, 51], Operations: ['98-45=53', '53-2=51']
Exploring Operation: 69-51=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 69*51=3519, Resulting Numbers: [3519]
3519,25 unequal: No Solution
Exploring Operation: 69+51=120, Resulting Numbers: [120]
120,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 25:[53, 67], Operations: ['98-45=53', '69-2=67']
Exploring Operation: 53+67=120, Resulting Numbers: [120]
120,25 unequal: No Solution
Exploring Operation: 53*67=3551, Resulting Numbers: [3551]
3551,25 unequal: No Solution
Exploring Operation: 67-53=14, Resulting Numbers: [14]
14,25 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: 25:[2, 98, 24], Operations: ['69-45=24']
Exploring Operation: 98/2=49, Resulting Numbers: [24, 49]
Generated Node #0,1,0: 25:[24, 49] Operation: 98/2=49
Exploring Operation: 98-2=96, Resulting Numbers: [24, 96]
Generated Node #0,1,1: 25:[24, 96] Operation: 98-2=96
Exploring Operation: 98-24=74, Resulting Numbers: [2, 74]
Generated Node #0,1,2: 25:[2, 74] Operation: 98-24=74
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 25:[24, 49], Operations: ['69-45=24', '98/2=49']
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[2, 98, 45, 69], Operations: []
Exploring Operation: 69-45=24, Resulting Numbers: [2, 98, 24]
Generated Node #0,1: 25:[2, 98, 24] Operation: 69-45=24
Moving to Node #0,1
Current State: 25:[2, 98, 24], Operations: ['69-45=24']
Exploring Operation: 98/2=49, Resulting Numbers: [24, 49]
Generated Node #0,1,0: 25:[24, 49] Operation: 98/2=49
Moving to Node #0,1,0
Current State: 25:[24, 49], Operations: ['69-45=24', '98/2=49']
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_3 | sum_heuristic |
[
4,
83,
29,
35
] | 73 | [
"83-4=79",
"35-29=6",
"79-6=73"
] | Current State: 73:[4, 83, 29, 35], Operations: []
Exploring Operation: 83-4=79, Resulting Numbers: [29, 35, 79]
Generated Node #2: [29, 35, 79] from Operation: 83-4=79
Current State: 73:[29, 35, 79], Operations: ['83-4=79']
Exploring Operation: 35-29=6, Resulting Numbers: [79, 6]
Generated Node #3: [79, 6] from Operation: 35-29=6
Current State: 73:[79, 6], Operations: ['83-4=79', '35-29=6']
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[4, 83, 29, 35], Operations: []
Exploring Operation: 4+29=33, Resulting Numbers: [83, 35, 33]
Generated Node #0,0: 73:[83, 35, 33] Operation: 4+29=33
Exploring Operation: 83-4=79, Resulting Numbers: [29, 35, 79]
Generated Node #0,1: 73:[29, 35, 79] Operation: 83-4=79
Exploring Operation: 4+35=39, Resulting Numbers: [83, 29, 39]
Generated Node #0,2: 73:[83, 29, 39] Operation: 4+35=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[83, 35, 33], Operations: ['4+29=33']
Exploring Operation: 83-33=50, Resulting Numbers: [35, 50]
Generated Node #0,0,0: 73:[35, 50] Operation: 83-33=50
Exploring Operation: 83-35=48, Resulting Numbers: [33, 48]
Generated Node #0,0,1: 73:[33, 48] Operation: 83-35=48
Exploring Operation: 35+33=68, Resulting Numbers: [83, 68]
Generated Node #0,0,2: 73:[83, 68] Operation: 35+33=68
Moving to Node #0,0,2
Current State: 73:[83, 68], Operations: ['4+29=33', '35+33=68']
Exploring Operation: 83+68=151, Resulting Numbers: [151]
151,73 unequal: No Solution
Exploring Operation: 83*68=5644, Resulting Numbers: [5644]
5644,73 unequal: No Solution
Exploring Operation: 83-68=15, Resulting Numbers: [15]
15,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[35, 50], Operations: ['4+29=33', '83-33=50']
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,73 unequal: No Solution
Exploring Operation: 35*50=1750, Resulting Numbers: [1750]
1750,73 unequal: No Solution
Exploring Operation: 35+50=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[33, 48], Operations: ['4+29=33', '83-35=48']
Exploring Operation: 33*48=1584, Resulting Numbers: [1584]
1584,73 unequal: No Solution
Exploring Operation: 33+48=81, Resulting Numbers: [81]
81,73 unequal: No Solution
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[29, 35, 79], Operations: ['83-4=79']
Exploring Operation: 79-29=50, Resulting Numbers: [35, 50]
Generated Node #0,1,0: 73:[35, 50] Operation: 79-29=50
Exploring Operation: 29+35=64, Resulting Numbers: [79, 64]
Generated Node #0,1,1: 73:[79, 64] Operation: 29+35=64
Exploring Operation: 35-29=6, Resulting Numbers: [79, 6]
Generated Node #0,1,2: 73:[79, 6] Operation: 35-29=6
Moving to Node #0,1,1
Current State: 73:[79, 64], Operations: ['83-4=79', '29+35=64']
Exploring Operation: 79+64=143, Resulting Numbers: [143]
143,73 unequal: No Solution
Exploring Operation: 79-64=15, Resulting Numbers: [15]
15,73 unequal: No Solution
Exploring Operation: 79*64=5056, Resulting Numbers: [5056]
5056,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[35, 50], Operations: ['83-4=79', '79-29=50']
Exploring Operation: 35+50=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,73 unequal: No Solution
Exploring Operation: 35*50=1750, Resulting Numbers: [1750]
1750,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[79, 6], Operations: ['83-4=79', '35-29=6']
Exploring Operation: 79*6=474, Resulting Numbers: [474]
474,73 unequal: No Solution
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[4, 83, 29, 35], Operations: []
Exploring Operation: 83-4=79, Resulting Numbers: [29, 35, 79]
Generated Node #0,1: 73:[29, 35, 79] Operation: 83-4=79
Moving to Node #0,1
Current State: 73:[29, 35, 79], Operations: ['83-4=79']
Exploring Operation: 35-29=6, Resulting Numbers: [79, 6]
Generated Node #0,1,2: 73:[79, 6] Operation: 35-29=6
Moving to Node #0,1,2
Current State: 73:[79, 6], Operations: ['83-4=79', '35-29=6']
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_3 | sum_heuristic |
[
29,
51,
76,
92
] | 64 | [
"29+51=80",
"92-76=16",
"80-16=64"
] | Current State: 64:[29, 51, 76, 92], Operations: []
Exploring Operation: 29+51=80, Resulting Numbers: [76, 92, 80]
Generated Node #2: [76, 92, 80] from Operation: 29+51=80
Current State: 64:[76, 92, 80], Operations: ['29+51=80']
Exploring Operation: 92-76=16, Resulting Numbers: [80, 16]
Generated Node #3: [80, 16] from Operation: 92-76=16
Current State: 64:[80, 16], Operations: ['29+51=80', '92-76=16']
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[29, 51, 76, 92], Operations: []
Exploring Operation: 92-76=16, Resulting Numbers: [29, 51, 16]
Generated Node #0,0: 64:[29, 51, 16] Operation: 92-76=16
Exploring Operation: 92-51=41, Resulting Numbers: [29, 76, 41]
Generated Node #0,1: 64:[29, 76, 41] Operation: 92-51=41
Moving to Node #0,0
Current State: 64:[29, 51, 16], Operations: ['92-76=16']
Exploring Operation: 51+16=67, Resulting Numbers: [29, 67]
Generated Node #0,0,0: 64:[29, 67] Operation: 51+16=67
Exploring Operation: 51-29=22, Resulting Numbers: [16, 22]
Generated Node #0,0,1: 64:[16, 22] Operation: 51-29=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[29, 67], Operations: ['92-76=16', '51+16=67']
Exploring Operation: 67-29=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 29+67=96, Resulting Numbers: [96]
96,64 unequal: No Solution
No 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: 64:[16, 22], Operations: ['92-76=16', '51-29=22']
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,64 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: 64:[29, 76, 41], Operations: ['92-51=41']
Exploring Operation: 76-41=35, Resulting Numbers: [29, 35]
Generated Node #0,1,0: 64:[29, 35] Operation: 76-41=35
Exploring Operation: 41-29=12, Resulting Numbers: [76, 12]
Generated Node #0,1,1: 64:[76, 12] Operation: 41-29=12
Moving to Node #0,1,0
Current State: 64:[29, 35], Operations: ['92-51=41', '76-41=35']
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[29, 51, 76, 92], Operations: []
Exploring Operation: 92-51=41, Resulting Numbers: [29, 76, 41]
Generated Node #0,1: 64:[29, 76, 41] Operation: 92-51=41
Moving to Node #0,1
Current State: 64:[29, 76, 41], Operations: ['92-51=41']
Exploring Operation: 76-41=35, Resulting Numbers: [29, 35]
Generated Node #0,1,0: 64:[29, 35] Operation: 76-41=35
Moving to Node #0,1,0
Current State: 64:[29, 35], Operations: ['92-51=41', '76-41=35']
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
71,
49,
14,
62
] | 77 | [
"71-62=9",
"14*9=126",
"126-49=77"
] | Current State: 77:[71, 49, 14, 62], Operations: []
Exploring Operation: 71-62=9, Resulting Numbers: [49, 14, 9]
Generated Node #2: [49, 14, 9] from Operation: 71-62=9
Current State: 77:[49, 14, 9], Operations: ['71-62=9']
Exploring Operation: 14*9=126, Resulting Numbers: [49, 126]
Generated Node #3: [49, 126] from Operation: 14*9=126
Current State: 77:[49, 126], Operations: ['71-62=9', '14*9=126']
Exploring Operation: 126-49=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[71, 49, 14, 62], Operations: []
Exploring Operation: 62-49=13, Resulting Numbers: [71, 14, 13]
Generated Node #0,0: 77:[71, 14, 13] Operation: 62-49=13
Exploring Operation: 71-49=22, Resulting Numbers: [14, 62, 22]
Generated Node #0,1: 77:[14, 62, 22] Operation: 71-49=22
Exploring Operation: 49+14=63, Resulting Numbers: [71, 62, 63]
Generated Node #0,2: 77:[71, 62, 63] Operation: 49+14=63
Exploring Operation: 71-62=9, Resulting Numbers: [49, 14, 9]
Generated Node #0,3: 77:[49, 14, 9] Operation: 71-62=9
Exploring Operation: 14+62=76, Resulting Numbers: [71, 49, 76]
Generated Node #0,4: 77:[71, 49, 76] Operation: 14+62=76
Moving to Node #0,0
Current State: 77:[71, 14, 13], Operations: ['62-49=13']
Exploring Operation: 71+13=84, Resulting Numbers: [14, 84]
Generated Node #0,0,0: 77:[14, 84] Operation: 71+13=84
Exploring Operation: 14-13=1, Resulting Numbers: [71, 1]
Generated Node #0,0,1: 77:[71, 1] Operation: 14-13=1
Exploring Operation: 71-14=57, Resulting Numbers: [13, 57]
Generated Node #0,0,2: 77:[13, 57] Operation: 71-14=57
Exploring Operation: 71-13=58, Resulting Numbers: [14, 58]
Generated Node #0,0,3: 77:[14, 58] Operation: 71-13=58
Exploring Operation: 71+14=85, Resulting Numbers: [13, 85]
Generated Node #0,0,4: 77:[13, 85] Operation: 71+14=85
Moving to Node #0,1
Current State: 77:[14, 62, 22], Operations: ['71-49=22']
Exploring Operation: 22-14=8, Resulting Numbers: [62, 8]
Generated Node #0,1,0: 77:[62, 8] Operation: 22-14=8
Exploring Operation: 62+22=84, Resulting Numbers: [14, 84]
Generated Node #0,1,1: 77:[14, 84] Operation: 62+22=84
Exploring Operation: 62-22=40, Resulting Numbers: [14, 40]
Generated Node #0,1,2: 77:[14, 40] Operation: 62-22=40
Exploring Operation: 14+62=76, Resulting Numbers: [22, 76]
Generated Node #0,1,3: 77:[22, 76] Operation: 14+62=76
Exploring Operation: 62-14=48, Resulting Numbers: [22, 48]
Generated Node #0,1,4: 77:[22, 48] Operation: 62-14=48
Moving to Node #0,3
Current State: 77:[49, 14, 9], Operations: ['71-62=9']
Exploring Operation: 49+9=58, Resulting Numbers: [14, 58]
Generated Node #0,3,0: 77:[14, 58] Operation: 49+9=58
Exploring Operation: 49+14=63, Resulting Numbers: [9, 63]
Generated Node #0,3,1: 77:[9, 63] Operation: 49+14=63
Exploring Operation: 14-9=5, Resulting Numbers: [49, 5]
Generated Node #0,3,2: 77:[49, 5] Operation: 14-9=5
Exploring Operation: 49-9=40, Resulting Numbers: [14, 40]
Generated Node #0,3,3: 77:[14, 40] Operation: 49-9=40
Exploring Operation: 49-14=35, Resulting Numbers: [9, 35]
Generated Node #0,3,4: 77:[9, 35] Operation: 49-14=35
Moving to Node #0,2
Current State: 77:[71, 62, 63], Operations: ['49+14=63']
Exploring Operation: 71+62=133, Resulting Numbers: [63, 133]
Generated Node #0,2,0: 77:[63, 133] Operation: 71+62=133
Exploring Operation: 71-63=8, Resulting Numbers: [62, 8]
Generated Node #0,2,1: 77:[62, 8] Operation: 71-63=8
Exploring Operation: 71-62=9, Resulting Numbers: [63, 9]
Generated Node #0,2,2: 77:[63, 9] Operation: 71-62=9
Exploring Operation: 62+63=125, Resulting Numbers: [71, 125]
Generated Node #0,2,3: 77:[71, 125] Operation: 62+63=125
Exploring Operation: 63-62=1, Resulting Numbers: [71, 1]
Generated Node #0,2,4: 77:[71, 1] Operation: 63-62=1
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 77:[71, 1], Operations: ['49+14=63', '63-62=1']
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,77 unequal: No Solution
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,77 unequal: No Solution
No 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: 77:[62, 8], Operations: ['49+14=63', '71-63=8']
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,77 unequal: No Solution
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,77 unequal: No Solution
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,77 unequal: No Solution
No 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: 77:[63, 9], Operations: ['49+14=63', '71-62=9']
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,77 unequal: No Solution
Exploring Operation: 63+9=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 63*9=567, Resulting Numbers: [567]
567,77 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,77 unequal: No Solution
No 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: 77:[71, 125], Operations: ['49+14=63', '62+63=125']
Exploring Operation: 125-71=54, Resulting Numbers: [54]
54,77 unequal: No Solution
Exploring Operation: 71+125=196, Resulting Numbers: [196]
196,77 unequal: No Solution
Exploring Operation: 71*125=8875, Resulting Numbers: [8875]
8875,77 unequal: No Solution
No 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: 77:[63, 133], Operations: ['49+14=63', '71+62=133']
Exploring Operation: 63+133=196, Resulting Numbers: [196]
196,77 unequal: No Solution
Exploring Operation: 133-63=70, Resulting Numbers: [70]
70,77 unequal: No Solution
Exploring Operation: 63*133=8379, Resulting Numbers: [8379]
8379,77 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: 77:[71, 49, 76], Operations: ['14+62=76']
Exploring Operation: 49+76=125, Resulting Numbers: [71, 125]
Generated Node #0,4,0: 77:[71, 125] Operation: 49+76=125
Exploring Operation: 71-49=22, Resulting Numbers: [76, 22]
Generated Node #0,4,1: 77:[76, 22] Operation: 71-49=22
Exploring Operation: 71+49=120, Resulting Numbers: [76, 120]
Generated Node #0,4,2: 77:[76, 120] Operation: 71+49=120
Exploring Operation: 76-49=27, Resulting Numbers: [71, 27]
Generated Node #0,4,3: 77:[71, 27] Operation: 76-49=27
Exploring Operation: 76-71=5, Resulting Numbers: [49, 5]
Generated Node #0,4,4: 77:[49, 5] Operation: 76-71=5
Moving to Node #0,0,0
Current State: 77:[14, 84], Operations: ['62-49=13', '71+13=84']
Exploring Operation: 14*84=1176, Resulting Numbers: [1176]
1176,77 unequal: No Solution
Exploring Operation: 84/14=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,77 unequal: No Solution
Exploring Operation: 14+84=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[14, 84], Operations: ['71-49=22', '62+22=84']
Exploring Operation: 14+84=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 14*84=1176, Resulting Numbers: [1176]
1176,77 unequal: No Solution
Exploring Operation: 84/14=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,77 unequal: No Solution
Moving to Node #0,0,4
Current State: 77:[13, 85], Operations: ['62-49=13', '71+14=85']
Exploring Operation: 13+85=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 13*85=1105, Resulting Numbers: [1105]
1105,77 unequal: No Solution
Moving to Node #0,1,3
Current State: 77:[22, 76], Operations: ['71-49=22', '14+62=76']
Exploring Operation: 22*76=1672, Resulting Numbers: [1672]
1672,77 unequal: No Solution
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,77 unequal: No Solution
Exploring Operation: 22+76=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[71, 1], Operations: ['62-49=13', '14-13=1']
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,77 unequal: No Solution
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Moving to Node #0,4,1
Current State: 77:[76, 22], Operations: ['14+62=76', '71-49=22']
Exploring Operation: 76+22=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,77 unequal: No Solution
Exploring Operation: 76*22=1672, Resulting Numbers: [1672]
1672,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[9, 63], Operations: ['71-62=9', '49+14=63']
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,77 unequal: No Solution
Exploring Operation: 9+63=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 9*63=567, Resulting Numbers: [567]
567,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[62, 8], Operations: ['71-49=22', '22-14=8']
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,77 unequal: No Solution
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,77 unequal: No Solution
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,77 unequal: No Solution
Moving to Node #0,3,0
Current State: 77:[14, 58], Operations: ['71-62=9', '49+9=58']
Exploring Operation: 14+58=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Exploring Operation: 14*58=812, Resulting Numbers: [812]
812,77 unequal: No Solution
Moving to Node #0,0,3
Current State: 77:[14, 58], Operations: ['62-49=13', '71-13=58']
Exploring Operation: 14*58=812, Resulting Numbers: [812]
812,77 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Exploring Operation: 14+58=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[13, 57], Operations: ['62-49=13', '71-14=57']
Exploring Operation: 13*57=741, Resulting Numbers: [741]
741,77 unequal: No Solution
Exploring Operation: 13+57=70, Resulting Numbers: [70]
70,77 unequal: No Solution
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Moving to Node #0,4,3
Current State: 77:[71, 27], Operations: ['14+62=76', '76-49=27']
Exploring Operation: 71-27=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Exploring Operation: 71+27=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 71*27=1917, Resulting Numbers: [1917]
1917,77 unequal: No Solution
Moving to Node #0,3,4
Current State: 77:[9, 35], Operations: ['71-62=9', '49-14=35']
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[49, 5], Operations: ['71-62=9', '14-9=5']
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,77 unequal: No Solution
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,77 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Moving to Node #0,4,4
Current State: 77:[49, 5], Operations: ['14+62=76', '76-71=5']
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,77 unequal: No Solution
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,77 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[14, 40], Operations: ['71-49=22', '62-22=40']
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,77 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,77 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[14, 40], Operations: ['71-62=9', '49-9=40']
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,77 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,77 unequal: No Solution
Moving to Node #0,1,4
Current State: 77:[22, 48], Operations: ['71-49=22', '62-14=48']
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 22+48=70, Resulting Numbers: [70]
70,77 unequal: No Solution
Exploring Operation: 22*48=1056, Resulting Numbers: [1056]
1056,77 unequal: No Solution
Moving to Node #0,4,2
Current State: 77:[76, 120], Operations: ['14+62=76', '71+49=120']
Exploring Operation: 76*120=9120, Resulting Numbers: [9120]
9120,77 unequal: No Solution
Exploring Operation: 120-76=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Exploring Operation: 76+120=196, Resulting Numbers: [196]
196,77 unequal: No Solution
Moving to Node #0,4,0
Current State: 77:[71, 125], Operations: ['14+62=76', '49+76=125']
Exploring Operation: 125-71=54, Resulting Numbers: [54]
54,77 unequal: No Solution
Exploring Operation: 71+125=196, Resulting Numbers: [196]
196,77 unequal: No Solution
Exploring Operation: 71*125=8875, Resulting Numbers: [8875]
8875,77 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
19,
39,
3,
19
] | 75 | [
"19+19=38",
"3*38=114",
"114-39=75"
] | Current State: 75:[19, 39, 3, 19], Operations: []
Exploring Operation: 19+19=38, Resulting Numbers: [39, 3, 38]
Generated Node #2: [39, 3, 38] from Operation: 19+19=38
Current State: 75:[39, 3, 38], Operations: ['19+19=38']
Exploring Operation: 3*38=114, Resulting Numbers: [39, 114]
Generated Node #3: [39, 114] from Operation: 3*38=114
Current State: 75:[39, 114], Operations: ['19+19=38', '3*38=114']
Exploring Operation: 114-39=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[19, 39, 3, 19], Operations: []
Exploring Operation: 39-19=20, Resulting Numbers: [3, 19, 20]
Generated Node #0,0: 75:[3, 19, 20] Operation: 39-19=20
Exploring Operation: 39/3=13, Resulting Numbers: [19, 19, 13]
Generated Node #0,1: 75:[19, 19, 13] Operation: 39/3=13
Exploring Operation: 39-19=20, Resulting Numbers: [19, 3, 20]
Generated Node #0,2: 75:[19, 3, 20] Operation: 39-19=20
Exploring Operation: 19/19=1, Resulting Numbers: [39, 3, 1]
Generated Node #0,3: 75:[39, 3, 1] Operation: 19/19=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[3, 19, 20], Operations: ['39-19=20']
Exploring Operation: 3+20=23, Resulting Numbers: [19, 23]
Generated Node #0,0,0: 75:[19, 23] Operation: 3+20=23
Exploring Operation: 20-3=17, Resulting Numbers: [19, 17]
Generated Node #0,0,1: 75:[19, 17] Operation: 20-3=17
Exploring Operation: 19-3=16, Resulting Numbers: [20, 16]
Generated Node #0,0,2: 75:[20, 16] Operation: 19-3=16
Exploring Operation: 20-19=1, Resulting Numbers: [3, 1]
Generated Node #0,0,3: 75:[3, 1] Operation: 20-19=1
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 75:[3, 1], Operations: ['39-19=20', '20-19=1']
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,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:[19, 23], Operations: ['39-19=20', '3+20=23']
Exploring Operation: 19*23=437, Resulting Numbers: [437]
437,75 unequal: No Solution
Exploring Operation: 19+23=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,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:[19, 17], Operations: ['39-19=20', '20-3=17']
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,75 unequal: No Solution
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 75:[20, 16], Operations: ['39-19=20', '19-3=16']
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,75 unequal: No Solution
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,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,2
Current State: 75:[19, 3, 20], Operations: ['39-19=20']
Exploring Operation: 20-19=1, Resulting Numbers: [3, 1]
Generated Node #0,2,0: 75:[3, 1] Operation: 20-19=1
Exploring Operation: 19-3=16, Resulting Numbers: [20, 16]
Generated Node #0,2,1: 75:[20, 16] Operation: 19-3=16
Exploring Operation: 3+20=23, Resulting Numbers: [19, 23]
Generated Node #0,2,2: 75:[19, 23] Operation: 3+20=23
Exploring Operation: 20-3=17, Resulting Numbers: [19, 17]
Generated Node #0,2,3: 75:[19, 17] Operation: 20-3=17
Moving to Node #0,2,0
Current State: 75:[3, 1], Operations: ['39-19=20', '20-19=1']
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[19, 23], Operations: ['39-19=20', '3+20=23']
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 19*23=437, Resulting Numbers: [437]
437,75 unequal: No Solution
Exploring Operation: 19+23=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[20, 16], Operations: ['39-19=20', '19-3=16']
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,75 unequal: No Solution
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[19, 17], Operations: ['39-19=20', '20-3=17']
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,75 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,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,1
Current State: 75:[19, 19, 13], Operations: ['39/3=13']
Exploring Operation: 19/19=1, Resulting Numbers: [13, 1]
Generated Node #0,1,0: 75:[13, 1] Operation: 19/19=1
Exploring Operation: 19-19=0, Resulting Numbers: [13, 0]
Generated Node #0,1,1: 75:[13, 0] Operation: 19-19=0
Exploring Operation: 19-13=6, Resulting Numbers: [19, 6]
Generated Node #0,1,2: 75:[19, 6] Operation: 19-13=6
Exploring Operation: 19-13=6, Resulting Numbers: [19, 6]
Generated Node #0,1,3: 75:[19, 6] Operation: 19-13=6
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[13, 1], Operations: ['39/3=13', '19/19=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[13, 0], Operations: ['39/3=13', '19-19=0']
Exploring Operation: 13*0=0, Resulting Numbers: [0]
0,75 unequal: No Solution
Exploring Operation: 13+0=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Exploring Operation: 13-0=13, Resulting Numbers: [13]
13,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 75:[19, 6], Operations: ['39/3=13', '19-13=6']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 75:[19, 6], Operations: ['39/3=13', '19-13=6']
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,75 unequal: No Solution
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,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,3
Current State: 75:[39, 3, 1], Operations: ['19/19=1']
Exploring Operation: 39/3=13, Resulting Numbers: [1, 13]
Generated Node #0,3,0: 75:[1, 13] Operation: 39/3=13
Exploring Operation: 39-1=38, Resulting Numbers: [3, 38]
Generated Node #0,3,1: 75:[3, 38] Operation: 39-1=38
Exploring Operation: 39-3=36, Resulting Numbers: [1, 36]
Generated Node #0,3,2: 75:[1, 36] Operation: 39-3=36
Exploring Operation: 39*1=39, Resulting Numbers: [3, 39]
Generated Node #0,3,3: 75:[3, 39] Operation: 39*1=39
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 75:[1, 13], Operations: ['19/19=1', '39/3=13']
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,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:[3, 38], Operations: ['19/19=1', '39-1=38']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,75 unequal: No Solution
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,75 unequal: No Solution
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,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:[1, 36], Operations: ['19/19=1', '39-3=36']
Exploring Operation: 1*36=36, Resulting Numbers: [36]
36,75 unequal: No Solution
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,75 unequal: No Solution
Exploring Operation: 1+36=37, Resulting Numbers: [37]
37,75 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,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,3
Current State: 75:[3, 39], Operations: ['19/19=1', '39*1=39']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,75 unequal: No Solution
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,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_4 | sum_heuristic |
[
70,
20,
83,
76
] | 43 | [
"70-20=50",
"83-76=7",
"50-7=43"
] | Current State: 43:[70, 20, 83, 76], Operations: []
Exploring Operation: 70-20=50, Resulting Numbers: [83, 76, 50]
Generated Node #2: [83, 76, 50] from Operation: 70-20=50
Current State: 43:[83, 76, 50], Operations: ['70-20=50']
Exploring Operation: 83-76=7, Resulting Numbers: [50, 7]
Generated Node #3: [50, 7] from Operation: 83-76=7
Current State: 43:[50, 7], Operations: ['70-20=50', '83-76=7']
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[70, 20, 83, 76], Operations: []
Exploring Operation: 83-76=7, Resulting Numbers: [70, 20, 7]
Generated Node #0,0: 43:[70, 20, 7] Operation: 83-76=7
Exploring Operation: 83-20=63, Resulting Numbers: [70, 76, 63]
Generated Node #0,1: 43:[70, 76, 63] Operation: 83-20=63
Exploring Operation: 83-70=13, Resulting Numbers: [20, 76, 13]
Generated Node #0,2: 43:[20, 76, 13] Operation: 83-70=13
Exploring Operation: 76-20=56, Resulting Numbers: [70, 83, 56]
Generated Node #0,3: 43:[70, 83, 56] Operation: 76-20=56
Exploring Operation: 70-20=50, Resulting Numbers: [83, 76, 50]
Generated Node #0,4: 43:[83, 76, 50] Operation: 70-20=50
Moving to Node #0,1
Current State: 43:[70, 76, 63], Operations: ['83-20=63']
Exploring Operation: 70+63=133, Resulting Numbers: [76, 133]
Generated Node #0,1,0: 43:[76, 133] Operation: 70+63=133
Exploring Operation: 76-63=13, Resulting Numbers: [70, 13]
Generated Node #0,1,1: 43:[70, 13] Operation: 76-63=13
Exploring Operation: 70+76=146, Resulting Numbers: [63, 146]
Generated Node #0,1,2: 43:[63, 146] Operation: 70+76=146
Exploring Operation: 70-63=7, Resulting Numbers: [76, 7]
Generated Node #0,1,3: 43:[76, 7] Operation: 70-63=7
Exploring Operation: 76-70=6, Resulting Numbers: [63, 6]
Generated Node #0,1,4: 43:[63, 6] Operation: 76-70=6
Moving to Node #0,4
Current State: 43:[83, 76, 50], Operations: ['70-20=50']
Exploring Operation: 83-76=7, Resulting Numbers: [50, 7]
Generated Node #0,4,0: 43:[50, 7] Operation: 83-76=7
Exploring Operation: 83+50=133, Resulting Numbers: [76, 133]
Generated Node #0,4,1: 43:[76, 133] Operation: 83+50=133
Exploring Operation: 83-50=33, Resulting Numbers: [76, 33]
Generated Node #0,4,2: 43:[76, 33] Operation: 83-50=33
Exploring Operation: 83+76=159, Resulting Numbers: [50, 159]
Generated Node #0,4,3: 43:[50, 159] Operation: 83+76=159
Exploring Operation: 76-50=26, Resulting Numbers: [83, 26]
Generated Node #0,4,4: 43:[83, 26] Operation: 76-50=26
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 43:[50, 7], Operations: ['70-20=50', '83-76=7']
Exploring Operation: 50+7=57, Resulting Numbers: [57]
57,43 unequal: No Solution
Exploring Operation: 50*7=350, Resulting Numbers: [350]
350,43 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[70, 20, 83, 76], Operations: []
Exploring Operation: 70-20=50, Resulting Numbers: [83, 76, 50]
Generated Node #0,4: 43:[83, 76, 50] Operation: 70-20=50
Moving to Node #0,4
Current State: 43:[83, 76, 50], Operations: ['70-20=50']
Exploring Operation: 83-76=7, Resulting Numbers: [50, 7]
Generated Node #0,4,0: 43:[50, 7] Operation: 83-76=7
Moving to Node #0,4,0
Current State: 43:[50, 7], Operations: ['70-20=50', '83-76=7']
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
5,
55,
10,
81
] | 52 | [
"10/5=2",
"81-55=26",
"2*26=52"
] | Current State: 52:[5, 55, 10, 81], Operations: []
Exploring Operation: 10/5=2, Resulting Numbers: [55, 81, 2]
Generated Node #2: [55, 81, 2] from Operation: 10/5=2
Current State: 52:[55, 81, 2], Operations: ['10/5=2']
Exploring Operation: 81-55=26, Resulting Numbers: [2, 26]
Generated Node #3: [2, 26] from Operation: 81-55=26
Current State: 52:[2, 26], Operations: ['10/5=2', '81-55=26']
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[5, 55, 10, 81], Operations: []
Exploring Operation: 81-5=76, Resulting Numbers: [55, 10, 76]
Generated Node #0,0: 52:[55, 10, 76] Operation: 81-5=76
Exploring Operation: 81-10=71, Resulting Numbers: [5, 55, 71]
Generated Node #0,1: 52:[5, 55, 71] Operation: 81-10=71
Exploring Operation: 81-55=26, Resulting Numbers: [5, 10, 26]
Generated Node #0,2: 52:[5, 10, 26] Operation: 81-55=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[5, 10, 26], Operations: ['81-55=26']
Exploring Operation: 10/5=2, Resulting Numbers: [26, 2]
Generated Node #0,2,0: 52:[26, 2] Operation: 10/5=2
Exploring Operation: 5+10=15, Resulting Numbers: [26, 15]
Generated Node #0,2,1: 52:[26, 15] Operation: 5+10=15
Exploring Operation: 10-5=5, Resulting Numbers: [26, 5]
Generated Node #0,2,2: 52:[26, 5] Operation: 10-5=5
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 52:[26, 2], Operations: ['81-55=26', '10/5=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[5, 55, 10, 81], Operations: []
Exploring Operation: 81-55=26, Resulting Numbers: [5, 10, 26]
Generated Node #0,2: 52:[5, 10, 26] Operation: 81-55=26
Moving to Node #0,2
Current State: 52:[5, 10, 26], Operations: ['81-55=26']
Exploring Operation: 10/5=2, Resulting Numbers: [26, 2]
Generated Node #0,2,0: 52:[26, 2] Operation: 10/5=2
Moving to Node #0,2,0
Current State: 52:[26, 2], Operations: ['81-55=26', '10/5=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
98,
47,
41,
53
] | 49 | [
"98*47=4606",
"41+53=94",
"4606/94=49"
] | Current State: 49:[98, 47, 41, 53], Operations: []
Exploring Operation: 98*47=4606, Resulting Numbers: [41, 53, 4606]
Generated Node #2: [41, 53, 4606] from Operation: 98*47=4606
Current State: 49:[41, 53, 4606], Operations: ['98*47=4606']
Exploring Operation: 41+53=94, Resulting Numbers: [4606, 94]
Generated Node #3: [4606, 94] from Operation: 41+53=94
Current State: 49:[4606, 94], Operations: ['98*47=4606', '41+53=94']
Exploring Operation: 4606/94=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[98, 47, 41, 53], Operations: []
Exploring Operation: 98-47=51, Resulting Numbers: [41, 53, 51]
Generated Node #0,0: 49:[41, 53, 51] Operation: 98-47=51
Moving to Node #0,0
Current State: 49:[41, 53, 51], Operations: ['98-47=51']
Exploring Operation: 53-41=12, Resulting Numbers: [51, 12]
Generated Node #0,0,0: 49:[51, 12] Operation: 53-41=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[51, 12], Operations: ['98-47=51', '53-41=12']
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
90,
66,
11,
13
] | 26 | [
"90-66=24",
"13-11=2",
"24+2=26"
] | Current State: 26:[90, 66, 11, 13], Operations: []
Exploring Operation: 90-66=24, Resulting Numbers: [11, 13, 24]
Generated Node #2: [11, 13, 24] from Operation: 90-66=24
Current State: 26:[11, 13, 24], Operations: ['90-66=24']
Exploring Operation: 13-11=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 13-11=2
Current State: 26:[24, 2], Operations: ['90-66=24', '13-11=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[90, 66, 11, 13], Operations: []
Exploring Operation: 90-11=79, Resulting Numbers: [66, 13, 79]
Generated Node #0,0: 26:[66, 13, 79] Operation: 90-11=79
Exploring Operation: 66/11=6, Resulting Numbers: [90, 13, 6]
Generated Node #0,1: 26:[90, 13, 6] Operation: 66/11=6
Exploring Operation: 90-66=24, Resulting Numbers: [11, 13, 24]
Generated Node #0,2: 26:[11, 13, 24] Operation: 90-66=24
Moving to Node #0,2
Current State: 26:[11, 13, 24], Operations: ['90-66=24']
Exploring Operation: 11+13=24, Resulting Numbers: [24, 24]
Generated Node #0,2,0: 26:[24, 24] Operation: 11+13=24
Exploring Operation: 13-11=2, Resulting Numbers: [24, 2]
Generated Node #0,2,1: 26:[24, 2] Operation: 13-11=2
Exploring Operation: 24-11=13, Resulting Numbers: [13, 13]
Generated Node #0,2,2: 26:[13, 13] Operation: 24-11=13
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 26:[13, 13], Operations: ['90-66=24', '24-11=13']
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[90, 66, 11, 13], Operations: []
Exploring Operation: 90-66=24, Resulting Numbers: [11, 13, 24]
Generated Node #0,2: 26:[11, 13, 24] Operation: 90-66=24
Moving to Node #0,2
Current State: 26:[11, 13, 24], Operations: ['90-66=24']
Exploring Operation: 24-11=13, Resulting Numbers: [13, 13]
Generated Node #0,2,2: 26:[13, 13] Operation: 24-11=13
Moving to Node #0,2,2
Current State: 26:[13, 13], Operations: ['90-66=24', '24-11=13']
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
59,
13,
18,
6
] | 13 | [
"59+6=65",
"18-13=5",
"65/5=13"
] | Current State: 13:[59, 13, 18, 6], Operations: []
Exploring Operation: 59+6=65, Resulting Numbers: [13, 18, 65]
Generated Node #2: [13, 18, 65] from Operation: 59+6=65
Current State: 13:[13, 18, 65], Operations: ['59+6=65']
Exploring Operation: 18-13=5, Resulting Numbers: [65, 5]
Generated Node #3: [65, 5] from Operation: 18-13=5
Current State: 13:[65, 5], Operations: ['59+6=65', '18-13=5']
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[59, 13, 18, 6], Operations: []
Exploring Operation: 59-18=41, Resulting Numbers: [13, 6, 41]
Generated Node #0,0: 13:[13, 6, 41] Operation: 59-18=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[13, 6, 41], Operations: ['59-18=41']
Exploring Operation: 41-13=28, Resulting Numbers: [6, 28]
Generated Node #0,0,0: 13:[6, 28] Operation: 41-13=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[6, 28], Operations: ['59-18=41', '41-13=28']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
31,
3,
65,
33
] | 35 | [
"65-3=62",
"62/31=2",
"33+2=35"
] | Current State: 35:[31, 3, 65, 33], Operations: []
Exploring Operation: 65-3=62, Resulting Numbers: [31, 33, 62]
Generated Node #2: [31, 33, 62] from Operation: 65-3=62
Current State: 35:[31, 33, 62], Operations: ['65-3=62']
Exploring Operation: 62/31=2, Resulting Numbers: [33, 2]
Generated Node #3: [33, 2] from Operation: 62/31=2
Current State: 35:[33, 2], Operations: ['65-3=62', '62/31=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[31, 3, 65, 33], Operations: []
Exploring Operation: 65-31=34, Resulting Numbers: [3, 33, 34]
Generated Node #0,0: 35:[3, 33, 34] Operation: 65-31=34
Exploring Operation: 65-33=32, Resulting Numbers: [31, 3, 32]
Generated Node #0,1: 35:[31, 3, 32] Operation: 65-33=32
Exploring Operation: 65-3=62, Resulting Numbers: [31, 33, 62]
Generated Node #0,2: 35:[31, 33, 62] Operation: 65-3=62
Exploring Operation: 31+3=34, Resulting Numbers: [65, 33, 34]
Generated Node #0,3: 35:[65, 33, 34] Operation: 31+3=34
Exploring Operation: 33-31=2, Resulting Numbers: [3, 65, 2]
Generated Node #0,4: 35:[3, 65, 2] Operation: 33-31=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[3, 33, 34], Operations: ['65-31=34']
Exploring Operation: 34-3=31, Resulting Numbers: [33, 31]
Generated Node #0,0,0: 35:[33, 31] Operation: 34-3=31
Exploring Operation: 3+34=37, Resulting Numbers: [33, 37]
Generated Node #0,0,1: 35:[33, 37] Operation: 3+34=37
Exploring Operation: 33-3=30, Resulting Numbers: [34, 30]
Generated Node #0,0,2: 35:[34, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [34, 11]
Generated Node #0,0,3: 35:[34, 11] Operation: 33/3=11
Exploring Operation: 3+33=36, Resulting Numbers: [34, 36]
Generated Node #0,0,4: 35:[34, 36] Operation: 3+33=36
Moving to Node #0,0,4
Current State: 35:[34, 36], Operations: ['65-31=34', '3+33=36']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 34*36=1224, Resulting Numbers: [1224]
1224,35 unequal: No Solution
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[33, 37], Operations: ['65-31=34', '3+34=37']
Exploring Operation: 33+37=70, Resulting Numbers: [70]
70,35 unequal: No Solution
Exploring Operation: 33*37=1221, Resulting Numbers: [1221]
1221,35 unequal: No Solution
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Moving to Node #0,0,3
Current State: 35:[34, 11], Operations: ['65-31=34', '33/3=11']
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,35 unequal: No Solution
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[33, 31], Operations: ['65-31=34', '34-3=31']
Exploring Operation: 33*31=1023, Resulting Numbers: [1023]
1023,35 unequal: No Solution
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 33+31=64, Resulting Numbers: [64]
64,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[34, 30], Operations: ['65-31=34', '33-3=30']
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 34*30=1020, Resulting Numbers: [1020]
1020,35 unequal: No Solution
Exploring Operation: 34+30=64, Resulting Numbers: [64]
64,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[31, 3, 32], Operations: ['65-33=32']
Exploring Operation: 32-31=1, Resulting Numbers: [3, 1]
Generated Node #0,1,0: 35:[3, 1] Operation: 32-31=1
Exploring Operation: 3+32=35, Resulting Numbers: [31, 35]
Generated Node #0,1,1: 35:[31, 35] Operation: 3+32=35
Exploring Operation: 32-3=29, Resulting Numbers: [31, 29]
Generated Node #0,1,2: 35:[31, 29] Operation: 32-3=29
Exploring Operation: 31+3=34, Resulting Numbers: [32, 34]
Generated Node #0,1,3: 35:[32, 34] Operation: 31+3=34
Exploring Operation: 31-3=28, Resulting Numbers: [32, 28]
Generated Node #0,1,4: 35:[32, 28] Operation: 31-3=28
Moving to Node #0,1,1
Current State: 35:[31, 35], Operations: ['65-33=32', '3+32=35']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 31*35=1085, Resulting Numbers: [1085]
1085,35 unequal: No Solution
Exploring Operation: 31+35=66, Resulting Numbers: [66]
66,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[32, 34], Operations: ['65-33=32', '31+3=34']
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,35 unequal: No Solution
Exploring Operation: 32*34=1088, Resulting Numbers: [1088]
1088,35 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[3, 1], Operations: ['65-33=32', '32-31=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[31, 29], Operations: ['65-33=32', '32-3=29']
Exploring Operation: 31*29=899, Resulting Numbers: [899]
899,35 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 31+29=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Moving to Node #0,1,4
Current State: 35:[32, 28], Operations: ['65-33=32', '31-3=28']
Exploring Operation: 32+28=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 32*28=896, Resulting Numbers: [896]
896,35 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[31, 33, 62], Operations: ['65-3=62']
Exploring Operation: 62-31=31, Resulting Numbers: [33, 31]
Generated Node #0,2,0: 35:[33, 31] Operation: 62-31=31
Exploring Operation: 31+33=64, Resulting Numbers: [62, 64]
Generated Node #0,2,1: 35:[62, 64] Operation: 31+33=64
Exploring Operation: 62/31=2, Resulting Numbers: [33, 2]
Generated Node #0,2,2: 35:[33, 2] Operation: 62/31=2
Exploring Operation: 62-33=29, Resulting Numbers: [31, 29]
Generated Node #0,2,3: 35:[31, 29] Operation: 62-33=29
Exploring Operation: 33-31=2, Resulting Numbers: [62, 2]
Generated Node #0,2,4: 35:[62, 2] Operation: 33-31=2
Moving to Node #0,2,2
Current State: 35:[33, 2], Operations: ['65-3=62', '62/31=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,35 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[31, 3, 65, 33], Operations: []
Exploring Operation: 65-3=62, Resulting Numbers: [31, 33, 62]
Generated Node #0,2: 35:[31, 33, 62] Operation: 65-3=62
Moving to Node #0,2
Current State: 35:[31, 33, 62], Operations: ['65-3=62']
Exploring Operation: 62/31=2, Resulting Numbers: [33, 2]
Generated Node #0,2,2: 35:[33, 2] Operation: 62/31=2
Moving to Node #0,2,2
Current State: 35:[33, 2], Operations: ['65-3=62', '62/31=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.949653 | hs_5 | mult_heuristic |
[
12,
13,
6,
52
] | 98 | [
"12+13=25",
"6*25=150",
"150-52=98"
] | Current State: 98:[12, 13, 6, 52], Operations: []
Exploring Operation: 12+13=25, Resulting Numbers: [6, 52, 25]
Generated Node #2: [6, 52, 25] from Operation: 12+13=25
Current State: 98:[6, 52, 25], Operations: ['12+13=25']
Exploring Operation: 6*25=150, Resulting Numbers: [52, 150]
Generated Node #3: [52, 150] from Operation: 6*25=150
Current State: 98:[52, 150], Operations: ['12+13=25', '6*25=150']
Exploring Operation: 150-52=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[12, 13, 6, 52], Operations: []
Exploring Operation: 12/6=2, Resulting Numbers: [13, 52, 2]
Generated Node #0,0: 98:[13, 52, 2] Operation: 12/6=2
Moving to Node #0,0
Current State: 98:[13, 52, 2], Operations: ['12/6=2']
Exploring Operation: 52/13=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 98:[2, 4] Operation: 52/13=4
Moving to Node #0,0,0
Current State: 98:[2, 4], Operations: ['12/6=2', '52/13=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,98 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
7,
25,
34,
14
] | 89 | [
"7*14=98",
"34-25=9",
"98-9=89"
] | Current State: 89:[7, 25, 34, 14], Operations: []
Exploring Operation: 7*14=98, Resulting Numbers: [25, 34, 98]
Generated Node #2: [25, 34, 98] from Operation: 7*14=98
Current State: 89:[25, 34, 98], Operations: ['7*14=98']
Exploring Operation: 34-25=9, Resulting Numbers: [98, 9]
Generated Node #3: [98, 9] from Operation: 34-25=9
Current State: 89:[98, 9], Operations: ['7*14=98', '34-25=9']
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[7, 25, 34, 14], Operations: []
Exploring Operation: 7*14=98, Resulting Numbers: [25, 34, 98]
Generated Node #0,0: 89:[25, 34, 98] Operation: 7*14=98
Moving to Node #0,0
Current State: 89:[25, 34, 98], Operations: ['7*14=98']
Exploring Operation: 25+34=59, Resulting Numbers: [98, 59]
Generated Node #0,0,0: 89:[98, 59] Operation: 25+34=59
Moving to Node #0,0,0
Current State: 89:[98, 59], Operations: ['7*14=98', '25+34=59']
Exploring Operation: 98-59=39, Resulting Numbers: [39]
39,89 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
99,
29,
66,
72
] | 18 | [
"99-29=70",
"70-66=4",
"72/4=18"
] | Current State: 18:[99, 29, 66, 72], Operations: []
Exploring Operation: 99-29=70, Resulting Numbers: [66, 72, 70]
Generated Node #2: [66, 72, 70] from Operation: 99-29=70
Current State: 18:[66, 72, 70], Operations: ['99-29=70']
Exploring Operation: 70-66=4, Resulting Numbers: [72, 4]
Generated Node #3: [72, 4] from Operation: 70-66=4
Current State: 18:[72, 4], Operations: ['99-29=70', '70-66=4']
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[99, 29, 66, 72], Operations: []
Exploring Operation: 99-29=70, Resulting Numbers: [66, 72, 70]
Generated Node #0,0: 18:[66, 72, 70] Operation: 99-29=70
Exploring Operation: 99-72=27, Resulting Numbers: [29, 66, 27]
Generated Node #0,1: 18:[29, 66, 27] Operation: 99-72=27
Exploring Operation: 72-66=6, Resulting Numbers: [99, 29, 6]
Generated Node #0,2: 18:[99, 29, 6] Operation: 72-66=6
Exploring Operation: 99-66=33, Resulting Numbers: [29, 72, 33]
Generated Node #0,3: 18:[29, 72, 33] Operation: 99-66=33
Exploring Operation: 66-29=37, Resulting Numbers: [99, 72, 37]
Generated Node #0,4: 18:[99, 72, 37] Operation: 66-29=37
Moving to Node #0,1
Current State: 18:[29, 66, 27], Operations: ['99-72=27']
Exploring Operation: 29+66=95, Resulting Numbers: [27, 95]
Generated Node #0,1,0: 18:[27, 95] Operation: 29+66=95
Exploring Operation: 66-29=37, Resulting Numbers: [27, 37]
Generated Node #0,1,1: 18:[27, 37] Operation: 66-29=37
Exploring Operation: 29+27=56, Resulting Numbers: [66, 56]
Generated Node #0,1,2: 18:[66, 56] Operation: 29+27=56
Exploring Operation: 29-27=2, Resulting Numbers: [66, 2]
Generated Node #0,1,3: 18:[66, 2] Operation: 29-27=2
Exploring Operation: 66-27=39, Resulting Numbers: [29, 39]
Generated Node #0,1,4: 18:[29, 39] Operation: 66-27=39
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[27, 37], Operations: ['99-72=27', '66-29=37']
Exploring Operation: 27+37=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 27*37=999, Resulting Numbers: [999]
999,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,4
Current State: 18:[29, 39], Operations: ['99-72=27', '66-27=39']
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 29*39=1131, Resulting Numbers: [1131]
1131,18 unequal: No Solution
Exploring Operation: 29+39=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,1,3
Current State: 18:[66, 2], Operations: ['99-72=27', '29-27=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Exploring Operation: 66*2=132, Resulting Numbers: [132]
132,18 unequal: No Solution
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,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,0
Current State: 18:[27, 95], Operations: ['99-72=27', '29+66=95']
Exploring Operation: 95-27=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 27*95=2565, Resulting Numbers: [2565]
2565,18 unequal: No Solution
Exploring Operation: 27+95=122, Resulting Numbers: [122]
122,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,2
Current State: 18:[66, 56], Operations: ['99-72=27', '29+27=56']
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 66*56=3696, Resulting Numbers: [3696]
3696,18 unequal: No Solution
Exploring Operation: 66+56=122, Resulting Numbers: [122]
122,18 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: 18:[29, 72, 33], Operations: ['99-66=33']
Exploring Operation: 33-29=4, Resulting Numbers: [72, 4]
Generated Node #0,3,0: 18:[72, 4] Operation: 33-29=4
Exploring Operation: 29+72=101, Resulting Numbers: [33, 101]
Generated Node #0,3,1: 18:[33, 101] Operation: 29+72=101
Exploring Operation: 72-33=39, Resulting Numbers: [29, 39]
Generated Node #0,3,2: 18:[29, 39] Operation: 72-33=39
Exploring Operation: 29+33=62, Resulting Numbers: [72, 62]
Generated Node #0,3,3: 18:[72, 62] Operation: 29+33=62
Exploring Operation: 72-29=43, Resulting Numbers: [33, 43]
Generated Node #0,3,4: 18:[33, 43] Operation: 72-29=43
Moving to Node #0,2
Current State: 18:[99, 29, 6], Operations: ['72-66=6']
Exploring Operation: 29+6=35, Resulting Numbers: [99, 35]
Generated Node #0,2,0: 18:[99, 35] Operation: 29+6=35
Exploring Operation: 99-29=70, Resulting Numbers: [6, 70]
Generated Node #0,2,1: 18:[6, 70] Operation: 99-29=70
Exploring Operation: 99-6=93, Resulting Numbers: [29, 93]
Generated Node #0,2,2: 18:[29, 93] Operation: 99-6=93
Exploring Operation: 29-6=23, Resulting Numbers: [99, 23]
Generated Node #0,2,3: 18:[99, 23] Operation: 29-6=23
Exploring Operation: 99+6=105, Resulting Numbers: [29, 105]
Generated Node #0,2,4: 18:[29, 105] Operation: 99+6=105
Moving to Node #0,0
Current State: 18:[66, 72, 70], Operations: ['99-29=70']
Exploring Operation: 66+72=138, Resulting Numbers: [70, 138]
Generated Node #0,0,0: 18:[70, 138] Operation: 66+72=138
Exploring Operation: 70-66=4, Resulting Numbers: [72, 4]
Generated Node #0,0,1: 18:[72, 4] Operation: 70-66=4
Exploring Operation: 72-66=6, Resulting Numbers: [70, 6]
Generated Node #0,0,2: 18:[70, 6] Operation: 72-66=6
Exploring Operation: 72-70=2, Resulting Numbers: [66, 2]
Generated Node #0,0,3: 18:[66, 2] Operation: 72-70=2
Exploring Operation: 66+70=136, Resulting Numbers: [72, 136]
Generated Node #0,0,4: 18:[72, 136] Operation: 66+70=136
Moving to Node #0,4
Current State: 18:[99, 72, 37], Operations: ['66-29=37']
Exploring Operation: 99+37=136, Resulting Numbers: [72, 136]
Generated Node #0,4,0: 18:[72, 136] Operation: 99+37=136
Exploring Operation: 99-37=62, Resulting Numbers: [72, 62]
Generated Node #0,4,1: 18:[72, 62] Operation: 99-37=62
Exploring Operation: 99+72=171, Resulting Numbers: [37, 171]
Generated Node #0,4,2: 18:[37, 171] Operation: 99+72=171
Exploring Operation: 99-72=27, Resulting Numbers: [37, 27]
Generated Node #0,4,3: 18:[37, 27] Operation: 99-72=27
Exploring Operation: 72-37=35, Resulting Numbers: [99, 35]
Generated Node #0,4,4: 18:[99, 35] Operation: 72-37=35
Moving to Node #0,4,3
Current State: 18:[37, 27], Operations: ['66-29=37', '99-72=27']
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Exploring Operation: 37*27=999, Resulting Numbers: [999]
999,18 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Moving to Node #0,3,2
Current State: 18:[29, 39], Operations: ['99-66=33', '72-33=39']
Exploring Operation: 29*39=1131, Resulting Numbers: [1131]
1131,18 unequal: No Solution
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 29+39=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Moving to Node #0,3,4
Current State: 18:[33, 43], Operations: ['99-66=33', '72-29=43']
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 33+43=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 33*43=1419, Resulting Numbers: [1419]
1419,18 unequal: No Solution
Moving to Node #0,0,3
Current State: 18:[66, 2], Operations: ['99-29=70', '72-70=2']
Exploring Operation: 66*2=132, Resulting Numbers: [132]
132,18 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,18 unequal: No Solution
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[6, 70], Operations: ['72-66=6', '99-29=70']
Exploring Operation: 6*70=420, Resulting Numbers: [420]
420,18 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Exploring Operation: 6+70=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[70, 6], Operations: ['99-29=70', '72-66=6']
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Exploring Operation: 70*6=420, Resulting Numbers: [420]
420,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[72, 4], Operations: ['99-29=70', '70-66=4']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,18 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[99, 29, 66, 72], Operations: []
Exploring Operation: 99-29=70, Resulting Numbers: [66, 72, 70]
Generated Node #0,0: 18:[66, 72, 70] Operation: 99-29=70
Moving to Node #0,0
Current State: 18:[66, 72, 70], Operations: ['99-29=70']
Exploring Operation: 70-66=4, Resulting Numbers: [72, 4]
Generated Node #0,0,1: 18:[72, 4] Operation: 70-66=4
Moving to Node #0,0,1
Current State: 18:[72, 4], Operations: ['99-29=70', '70-66=4']
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.9375 | hs_5 | mult_heuristic |
[
88,
94,
96,
34
] | 68 | [
"94-88=6",
"96-34=62",
"6+62=68"
] | Current State: 68:[88, 94, 96, 34], Operations: []
Exploring Operation: 94-88=6, Resulting Numbers: [96, 34, 6]
Generated Node #2: [96, 34, 6] from Operation: 94-88=6
Current State: 68:[96, 34, 6], Operations: ['94-88=6']
Exploring Operation: 96-34=62, Resulting Numbers: [6, 62]
Generated Node #3: [6, 62] from Operation: 96-34=62
Current State: 68:[6, 62], Operations: ['94-88=6', '96-34=62']
Exploring Operation: 6+62=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[88, 94, 96, 34], Operations: []
Exploring Operation: 96-94=2, Resulting Numbers: [88, 34, 2]
Generated Node #0,0: 68:[88, 34, 2] Operation: 96-94=2
Exploring Operation: 94-88=6, Resulting Numbers: [96, 34, 6]
Generated Node #0,1: 68:[96, 34, 6] Operation: 94-88=6
Moving to Node #0,0
Current State: 68:[88, 34, 2], Operations: ['96-94=2']
Exploring Operation: 88/2=44, Resulting Numbers: [34, 44]
Generated Node #0,0,0: 68:[34, 44] Operation: 88/2=44
Exploring Operation: 88-34=54, Resulting Numbers: [2, 54]
Generated Node #0,0,1: 68:[2, 54] Operation: 88-34=54
Moving to Node #0,1
Current State: 68:[96, 34, 6], Operations: ['94-88=6']
Exploring Operation: 96-34=62, Resulting Numbers: [6, 62]
Generated Node #0,1,0: 68:[6, 62] Operation: 96-34=62
Exploring Operation: 96/6=16, Resulting Numbers: [34, 16]
Generated Node #0,1,1: 68:[34, 16] Operation: 96/6=16
Moving to Node #0,1,1
Current State: 68:[34, 16], Operations: ['94-88=6', '96/6=16']
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[6, 62], Operations: ['94-88=6', '96-34=62']
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 6+62=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[88, 94, 96, 34], Operations: []
Exploring Operation: 94-88=6, Resulting Numbers: [96, 34, 6]
Generated Node #0,1: 68:[96, 34, 6] Operation: 94-88=6
Moving to Node #0,1
Current State: 68:[96, 34, 6], Operations: ['94-88=6']
Exploring Operation: 96-34=62, Resulting Numbers: [6, 62]
Generated Node #0,1,0: 68:[6, 62] Operation: 96-34=62
Moving to Node #0,1,0
Current State: 68:[6, 62], Operations: ['94-88=6', '96-34=62']
Exploring Operation: 6+62=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.987847 | hs_2 | mult_heuristic |
[
64,
66,
99,
54
] | 28 | [
"66*54=3564",
"3564/99=36",
"64-36=28"
] | Current State: 28:[64, 66, 99, 54], Operations: []
Exploring Operation: 66*54=3564, Resulting Numbers: [64, 99, 3564]
Generated Node #2: [64, 99, 3564] from Operation: 66*54=3564
Current State: 28:[64, 99, 3564], Operations: ['66*54=3564']
Exploring Operation: 3564/99=36, Resulting Numbers: [64, 36]
Generated Node #3: [64, 36] from Operation: 3564/99=36
Current State: 28:[64, 36], Operations: ['66*54=3564', '3564/99=36']
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[64, 66, 99, 54], Operations: []
Exploring Operation: 99-66=33, Resulting Numbers: [64, 54, 33]
Generated Node #0,0: 28:[64, 54, 33] Operation: 99-66=33
Exploring Operation: 99-54=45, Resulting Numbers: [64, 66, 45]
Generated Node #0,1: 28:[64, 66, 45] Operation: 99-54=45
Exploring Operation: 66-64=2, Resulting Numbers: [99, 54, 2]
Generated Node #0,2: 28:[99, 54, 2] Operation: 66-64=2
Exploring Operation: 99-64=35, Resulting Numbers: [66, 54, 35]
Generated Node #0,3: 28:[66, 54, 35] Operation: 99-64=35
Moving to Node #0,0
Current State: 28:[64, 54, 33], Operations: ['99-66=33']
Exploring Operation: 64+54=118, Resulting Numbers: [33, 118]
Generated Node #0,0,0: 28:[33, 118] Operation: 64+54=118
Exploring Operation: 64-33=31, Resulting Numbers: [54, 31]
Generated Node #0,0,1: 28:[54, 31] Operation: 64-33=31
Exploring Operation: 54-33=21, Resulting Numbers: [64, 21]
Generated Node #0,0,2: 28:[64, 21] Operation: 54-33=21
Exploring Operation: 64-54=10, Resulting Numbers: [33, 10]
Generated Node #0,0,3: 28:[33, 10] Operation: 64-54=10
Moving to Node #0,3
Current State: 28:[66, 54, 35], Operations: ['99-64=35']
Exploring Operation: 54-35=19, Resulting Numbers: [66, 19]
Generated Node #0,3,0: 28:[66, 19] Operation: 54-35=19
Exploring Operation: 66-54=12, Resulting Numbers: [35, 12]
Generated Node #0,3,1: 28:[35, 12] Operation: 66-54=12
Exploring Operation: 66-35=31, Resulting Numbers: [54, 31]
Generated Node #0,3,2: 28:[54, 31] Operation: 66-35=31
Exploring Operation: 66+54=120, Resulting Numbers: [35, 120]
Generated Node #0,3,3: 28:[35, 120] Operation: 66+54=120
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 28:[35, 12], Operations: ['99-64=35', '66-54=12']
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,28 unequal: No Solution
Exploring Operation: 35+12=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Exploring Operation: 35*12=420, Resulting Numbers: [420]
420,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 28:[54, 31], Operations: ['99-64=35', '66-35=31']
Exploring Operation: 54*31=1674, Resulting Numbers: [1674]
1674,28 unequal: No Solution
Exploring Operation: 54-31=23, Resulting Numbers: [23]
23,28 unequal: No Solution
Exploring Operation: 54+31=85, Resulting Numbers: [85]
85,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 28:[66, 19], Operations: ['99-64=35', '54-35=19']
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Exploring Operation: 66*19=1254, Resulting Numbers: [1254]
1254,28 unequal: No Solution
Exploring Operation: 66+19=85, Resulting Numbers: [85]
85,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 28:[35, 120], Operations: ['99-64=35', '66+54=120']
Exploring Operation: 35*120=4200, Resulting Numbers: [4200]
4200,28 unequal: No Solution
Exploring Operation: 120-35=85, Resulting Numbers: [85]
85,28 unequal: No Solution
Exploring Operation: 35+120=155, Resulting Numbers: [155]
155,28 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: 28:[64, 66, 45], Operations: ['99-54=45']
Exploring Operation: 66-64=2, Resulting Numbers: [45, 2]
Generated Node #0,1,0: 28:[45, 2] Operation: 66-64=2
Exploring Operation: 64+66=130, Resulting Numbers: [45, 130]
Generated Node #0,1,1: 28:[45, 130] Operation: 64+66=130
Exploring Operation: 66-45=21, Resulting Numbers: [64, 21]
Generated Node #0,1,2: 28:[64, 21] Operation: 66-45=21
Exploring Operation: 64-45=19, Resulting Numbers: [66, 19]
Generated Node #0,1,3: 28:[66, 19] Operation: 64-45=19
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[45, 2], Operations: ['99-54=45', '66-64=2']
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,28 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[64, 21], Operations: ['99-54=45', '66-45=21']
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Exploring Operation: 64+21=85, Resulting Numbers: [85]
85,28 unequal: No Solution
Exploring Operation: 64*21=1344, Resulting Numbers: [1344]
1344,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 28:[66, 19], Operations: ['99-54=45', '64-45=19']
Exploring Operation: 66+19=85, Resulting Numbers: [85]
85,28 unequal: No Solution
Exploring Operation: 66*19=1254, Resulting Numbers: [1254]
1254,28 unequal: No Solution
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[45, 130], Operations: ['99-54=45', '64+66=130']
Exploring Operation: 130-45=85, Resulting Numbers: [85]
85,28 unequal: No Solution
Exploring Operation: 45+130=175, Resulting Numbers: [175]
175,28 unequal: No Solution
Exploring Operation: 45*130=5850, Resulting Numbers: [5850]
5850,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 28:[99, 54, 2], Operations: ['66-64=2']
Exploring Operation: 54/2=27, Resulting Numbers: [99, 27]
Generated Node #0,2,0: 28:[99, 27] Operation: 54/2=27
Exploring Operation: 99-54=45, Resulting Numbers: [2, 45]
Generated Node #0,2,1: 28:[2, 45] Operation: 99-54=45
Exploring Operation: 54-2=52, Resulting Numbers: [99, 52]
Generated Node #0,2,2: 28:[99, 52] Operation: 54-2=52
Exploring Operation: 99-2=97, Resulting Numbers: [54, 97]
Generated Node #0,2,3: 28:[54, 97] Operation: 99-2=97
Moving to Node #0,0,3
Current State: 28:[33, 10], Operations: ['99-66=33', '64-54=10']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,28 unequal: No Solution
Exploring Operation: 33+10=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Exploring Operation: 33*10=330, Resulting Numbers: [330]
330,28 unequal: No Solution
Moving to Node #0,2,1
Current State: 28:[2, 45], Operations: ['66-64=2', '99-54=45']
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,28 unequal: No Solution
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[54, 31], Operations: ['99-66=33', '64-33=31']
Exploring Operation: 54*31=1674, Resulting Numbers: [1674]
1674,28 unequal: No Solution
Exploring Operation: 54+31=85, Resulting Numbers: [85]
85,28 unequal: No Solution
Exploring Operation: 54-31=23, Resulting Numbers: [23]
23,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[64, 21], Operations: ['99-66=33', '54-33=21']
Exploring Operation: 64*21=1344, Resulting Numbers: [1344]
1344,28 unequal: No Solution
Exploring Operation: 64+21=85, Resulting Numbers: [85]
85,28 unequal: No Solution
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[99, 27], Operations: ['66-64=2', '54/2=27']
Exploring Operation: 99-27=72, Resulting Numbers: [72]
72,28 unequal: No Solution
Exploring Operation: 99*27=2673, Resulting Numbers: [2673]
2673,28 unequal: No Solution
Exploring Operation: 99+27=126, Resulting Numbers: [126]
126,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[99, 52], Operations: ['66-64=2', '54-2=52']
Exploring Operation: 99*52=5148, Resulting Numbers: [5148]
5148,28 unequal: No Solution
Exploring Operation: 99+52=151, Resulting Numbers: [151]
151,28 unequal: No Solution
Exploring Operation: 99-52=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Moving to Node #0,2,3
Current State: 28:[54, 97], Operations: ['66-64=2', '99-2=97']
Exploring Operation: 54+97=151, Resulting Numbers: [151]
151,28 unequal: No Solution
Exploring Operation: 97-54=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Exploring Operation: 54*97=5238, Resulting Numbers: [5238]
5238,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[33, 118], Operations: ['99-66=33', '64+54=118']
Exploring Operation: 33+118=151, Resulting Numbers: [151]
151,28 unequal: No Solution
Exploring Operation: 33*118=3894, Resulting Numbers: [3894]
3894,28 unequal: No Solution
Exploring Operation: 118-33=85, Resulting Numbers: [85]
85,28 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
10,
15,
21,
62
] | 48 | [
"10*21=210",
"210/15=14",
"62-14=48"
] | Current State: 48:[10, 15, 21, 62], Operations: []
Exploring Operation: 10*21=210, Resulting Numbers: [15, 62, 210]
Generated Node #2: [15, 62, 210] from Operation: 10*21=210
Current State: 48:[15, 62, 210], Operations: ['10*21=210']
Exploring Operation: 210/15=14, Resulting Numbers: [62, 14]
Generated Node #3: [62, 14] from Operation: 210/15=14
Current State: 48:[62, 14], Operations: ['10*21=210', '210/15=14']
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[10, 15, 21, 62], Operations: []
Exploring Operation: 62-15=47, Resulting Numbers: [10, 21, 47]
Generated Node #0,0: 48:[10, 21, 47] Operation: 62-15=47
Exploring Operation: 21-10=11, Resulting Numbers: [15, 62, 11]
Generated Node #0,1: 48:[15, 62, 11] Operation: 21-10=11
Exploring Operation: 62-10=52, Resulting Numbers: [15, 21, 52]
Generated Node #0,2: 48:[15, 21, 52] Operation: 62-10=52
Exploring Operation: 62-21=41, Resulting Numbers: [10, 15, 41]
Generated Node #0,3: 48:[10, 15, 41] Operation: 62-21=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[10, 21, 47], Operations: ['62-15=47']
Exploring Operation: 10+21=31, Resulting Numbers: [47, 31]
Generated Node #0,0,0: 48:[47, 31] Operation: 10+21=31
Exploring Operation: 21-10=11, Resulting Numbers: [47, 11]
Generated Node #0,0,1: 48:[47, 11] Operation: 21-10=11
Exploring Operation: 10+47=57, Resulting Numbers: [21, 57]
Generated Node #0,0,2: 48:[21, 57] Operation: 10+47=57
Exploring Operation: 47-21=26, Resulting Numbers: [10, 26]
Generated Node #0,0,3: 48:[10, 26] Operation: 47-21=26
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 48:[47, 11], Operations: ['62-15=47', '21-10=11']
Exploring Operation: 47*11=517, Resulting Numbers: [517]
517,48 unequal: No Solution
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,48 unequal: No Solution
No 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: 48:[10, 26], Operations: ['62-15=47', '47-21=26']
Exploring Operation: 10*26=260, Resulting Numbers: [260]
260,48 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,48 unequal: No Solution
No 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: 48:[47, 31], Operations: ['62-15=47', '10+21=31']
Exploring Operation: 47*31=1457, Resulting Numbers: [1457]
1457,48 unequal: No Solution
Exploring Operation: 47+31=78, Resulting Numbers: [78]
78,48 unequal: No Solution
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,48 unequal: No Solution
No 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: 48:[21, 57], Operations: ['62-15=47', '10+47=57']
Exploring Operation: 21*57=1197, Resulting Numbers: [1197]
1197,48 unequal: No Solution
Exploring Operation: 57-21=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Exploring Operation: 21+57=78, Resulting Numbers: [78]
78,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[15, 21, 52], Operations: ['62-10=52']
Exploring Operation: 15+21=36, Resulting Numbers: [52, 36]
Generated Node #0,2,0: 48:[52, 36] Operation: 15+21=36
Exploring Operation: 52-21=31, Resulting Numbers: [15, 31]
Generated Node #0,2,1: 48:[15, 31] Operation: 52-21=31
Exploring Operation: 52-15=37, Resulting Numbers: [21, 37]
Generated Node #0,2,2: 48:[21, 37] Operation: 52-15=37
Exploring Operation: 21-15=6, Resulting Numbers: [52, 6]
Generated Node #0,2,3: 48:[52, 6] Operation: 21-15=6
Moving to Node #0,2,3
Current State: 48:[52, 6], Operations: ['62-10=52', '21-15=6']
Exploring Operation: 52*6=312, Resulting Numbers: [312]
312,48 unequal: No Solution
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,48 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[15, 31], Operations: ['62-10=52', '52-21=31']
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[21, 37], Operations: ['62-10=52', '52-15=37']
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 21+37=58, Resulting Numbers: [58]
58,48 unequal: No Solution
Exploring Operation: 21*37=777, Resulting Numbers: [777]
777,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[52, 36], Operations: ['62-10=52', '15+21=36']
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 52+36=88, Resulting Numbers: [88]
88,48 unequal: No Solution
Exploring Operation: 52*36=1872, Resulting Numbers: [1872]
1872,48 unequal: No Solution
No 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: 48:[10, 15, 41], Operations: ['62-21=41']
Exploring Operation: 10+15=25, Resulting Numbers: [41, 25]
Generated Node #0,3,0: 48:[41, 25] Operation: 10+15=25
Exploring Operation: 10+41=51, Resulting Numbers: [15, 51]
Generated Node #0,3,1: 48:[15, 51] Operation: 10+41=51
Exploring Operation: 15-10=5, Resulting Numbers: [41, 5]
Generated Node #0,3,2: 48:[41, 5] Operation: 15-10=5
Exploring Operation: 41-15=26, Resulting Numbers: [10, 26]
Generated Node #0,3,3: 48:[10, 26] Operation: 41-15=26
Moving to Node #0,3,1
Current State: 48:[15, 51], Operations: ['62-21=41', '10+41=51']
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Exploring Operation: 15*51=765, Resulting Numbers: [765]
765,48 unequal: No Solution
Exploring Operation: 15+51=66, Resulting Numbers: [66]
66,48 unequal: No Solution
Moving to Node #0,3,3
Current State: 48:[10, 26], Operations: ['62-21=41', '41-15=26']
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 10*26=260, Resulting Numbers: [260]
260,48 unequal: No Solution
Moving to Node #0,3,2
Current State: 48:[41, 5], Operations: ['62-21=41', '15-10=5']
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,48 unequal: No Solution
Moving to Node #0,3,0
Current State: 48:[41, 25], Operations: ['62-21=41', '10+15=25']
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,48 unequal: No Solution
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,48 unequal: No Solution
No solution 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: 48:[15, 62, 11], Operations: ['21-10=11']
Exploring Operation: 15-11=4, Resulting Numbers: [62, 4]
Generated Node #0,1,0: 48:[62, 4] Operation: 15-11=4
Exploring Operation: 62-15=47, Resulting Numbers: [11, 47]
Generated Node #0,1,1: 48:[11, 47] Operation: 62-15=47
Exploring Operation: 15+11=26, Resulting Numbers: [62, 26]
Generated Node #0,1,2: 48:[62, 26] Operation: 15+11=26
Exploring Operation: 62-11=51, Resulting Numbers: [15, 51]
Generated Node #0,1,3: 48:[15, 51] Operation: 62-11=51
Moving to Node #0,1,1
Current State: 48:[11, 47], Operations: ['21-10=11', '62-15=47']
Exploring Operation: 11+47=58, Resulting Numbers: [58]
58,48 unequal: No Solution
Exploring Operation: 11*47=517, Resulting Numbers: [517]
517,48 unequal: No Solution
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Moving to Node #0,1,3
Current State: 48:[15, 51], Operations: ['21-10=11', '62-11=51']
Exploring Operation: 15+51=66, Resulting Numbers: [66]
66,48 unequal: No Solution
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Exploring Operation: 15*51=765, Resulting Numbers: [765]
765,48 unequal: No Solution
Moving to Node #0,1,0
Current State: 48:[62, 4], Operations: ['21-10=11', '15-11=4']
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,48 unequal: No Solution
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,48 unequal: No Solution
Exploring Operation: 62*4=248, Resulting Numbers: [248]
248,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[62, 26], Operations: ['21-10=11', '15+11=26']
Exploring Operation: 62*26=1612, Resulting Numbers: [1612]
1612,48 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,48 unequal: No Solution
Exploring Operation: 62+26=88, Resulting Numbers: [88]
88,48 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 |
[
84,
44,
50,
31
] | 56 | [
"84*50=4200",
"44+31=75",
"4200/75=56"
] | Current State: 56:[84, 44, 50, 31], Operations: []
Exploring Operation: 84*50=4200, Resulting Numbers: [44, 31, 4200]
Generated Node #2: [44, 31, 4200] from Operation: 84*50=4200
Current State: 56:[44, 31, 4200], Operations: ['84*50=4200']
Exploring Operation: 44+31=75, Resulting Numbers: [4200, 75]
Generated Node #3: [4200, 75] from Operation: 44+31=75
Current State: 56:[4200, 75], Operations: ['84*50=4200', '44+31=75']
Exploring Operation: 4200/75=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[84, 44, 50, 31], Operations: []
Exploring Operation: 84-44=40, Resulting Numbers: [50, 31, 40]
Generated Node #0,0: 56:[50, 31, 40] Operation: 84-44=40
Moving to Node #0,0
Current State: 56:[50, 31, 40], Operations: ['84-44=40']
Exploring Operation: 50-40=10, Resulting Numbers: [31, 10]
Generated Node #0,0,0: 56:[31, 10] Operation: 50-40=10
Moving to Node #0,0,0
Current State: 56:[31, 10], Operations: ['84-44=40', '50-40=10']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,56 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
58,
3,
75,
95
] | 36 | [
"95-58=37",
"3*37=111",
"111-75=36"
] | Current State: 36:[58, 3, 75, 95], Operations: []
Exploring Operation: 95-58=37, Resulting Numbers: [3, 75, 37]
Generated Node #2: [3, 75, 37] from Operation: 95-58=37
Current State: 36:[3, 75, 37], Operations: ['95-58=37']
Exploring Operation: 3*37=111, Resulting Numbers: [75, 111]
Generated Node #3: [75, 111] from Operation: 3*37=111
Current State: 36:[75, 111], Operations: ['95-58=37', '3*37=111']
Exploring Operation: 111-75=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[58, 3, 75, 95], Operations: []
Exploring Operation: 95-75=20, Resulting Numbers: [58, 3, 20]
Generated Node #0,0: 36:[58, 3, 20] Operation: 95-75=20
Moving to Node #0,0
Current State: 36:[58, 3, 20], Operations: ['95-75=20']
Exploring Operation: 58-20=38, Resulting Numbers: [3, 38]
Generated Node #0,0,0: 36:[3, 38] Operation: 58-20=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[3, 38], Operations: ['95-75=20', '58-20=38']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,36 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 |
[
15,
62,
45,
78
] | 45 | [
"15+62=77",
"78-77=1",
"45*1=45"
] | Current State: 45:[15, 62, 45, 78], Operations: []
Exploring Operation: 15+62=77, Resulting Numbers: [45, 78, 77]
Generated Node #2: [45, 78, 77] from Operation: 15+62=77
Current State: 45:[45, 78, 77], Operations: ['15+62=77']
Exploring Operation: 78-77=1, Resulting Numbers: [45, 1]
Generated Node #3: [45, 1] from Operation: 78-77=1
Current State: 45:[45, 1], Operations: ['15+62=77', '78-77=1']
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[15, 62, 45, 78], Operations: []
Exploring Operation: 78-45=33, Resulting Numbers: [15, 62, 33]
Generated Node #0,0: 45:[15, 62, 33] Operation: 78-45=33
Exploring Operation: 62-15=47, Resulting Numbers: [45, 78, 47]
Generated Node #0,1: 45:[45, 78, 47] Operation: 62-15=47
Exploring Operation: 78-15=63, Resulting Numbers: [62, 45, 63]
Generated Node #0,2: 45:[62, 45, 63] Operation: 78-15=63
Exploring Operation: 62-45=17, Resulting Numbers: [15, 78, 17]
Generated Node #0,3: 45:[15, 78, 17] Operation: 62-45=17
Exploring Operation: 78-62=16, Resulting Numbers: [15, 45, 16]
Generated Node #0,4: 45:[15, 45, 16] Operation: 78-62=16
Start Sub Search at level 1: Moving to Node #0,4
Current State: 45:[15, 45, 16], Operations: ['78-62=16']
Exploring Operation: 15+45=60, Resulting Numbers: [16, 60]
Generated Node #0,4,0: 45:[16, 60] Operation: 15+45=60
Exploring Operation: 16-15=1, Resulting Numbers: [45, 1]
Generated Node #0,4,1: 45:[45, 1] Operation: 16-15=1
Exploring Operation: 45-16=29, Resulting Numbers: [15, 29]
Generated Node #0,4,2: 45:[15, 29] Operation: 45-16=29
Exploring Operation: 45/15=3, Resulting Numbers: [16, 3]
Generated Node #0,4,3: 45:[16, 3] Operation: 45/15=3
Exploring Operation: 15+16=31, Resulting Numbers: [45, 31]
Generated Node #0,4,4: 45:[45, 31] Operation: 15+16=31
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 45:[16, 3], Operations: ['78-62=16', '45/15=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,45 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,45 unequal: No Solution
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 45:[45, 1], Operations: ['78-62=16', '16-15=1']
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,45 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[15, 62, 45, 78], Operations: []
Exploring Operation: 78-62=16, Resulting Numbers: [15, 45, 16]
Generated Node #0,4: 45:[15, 45, 16] Operation: 78-62=16
Moving to Node #0,4
Current State: 45:[15, 45, 16], Operations: ['78-62=16']
Exploring Operation: 16-15=1, Resulting Numbers: [45, 1]
Generated Node #0,4,1: 45:[45, 1] Operation: 16-15=1
Moving to Node #0,4,1
Current State: 45:[45, 1], Operations: ['78-62=16', '16-15=1']
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
70,
6,
22,
43
] | 30 | [
"70-22=48",
"48-43=5",
"6*5=30"
] | Current State: 30:[70, 6, 22, 43], Operations: []
Exploring Operation: 70-22=48, Resulting Numbers: [6, 43, 48]
Generated Node #2: [6, 43, 48] from Operation: 70-22=48
Current State: 30:[6, 43, 48], Operations: ['70-22=48']
Exploring Operation: 48-43=5, Resulting Numbers: [6, 5]
Generated Node #3: [6, 5] from Operation: 48-43=5
Current State: 30:[6, 5], Operations: ['70-22=48', '48-43=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[70, 6, 22, 43], Operations: []
Exploring Operation: 70-6=64, Resulting Numbers: [22, 43, 64]
Generated Node #0,0: 30:[22, 43, 64] Operation: 70-6=64
Exploring Operation: 22-6=16, Resulting Numbers: [70, 43, 16]
Generated Node #0,1: 30:[70, 43, 16] Operation: 22-6=16
Exploring Operation: 70-43=27, Resulting Numbers: [6, 22, 27]
Generated Node #0,2: 30:[6, 22, 27] Operation: 70-43=27
Exploring Operation: 43-22=21, Resulting Numbers: [70, 6, 21]
Generated Node #0,3: 30:[70, 6, 21] Operation: 43-22=21
Exploring Operation: 70-22=48, Resulting Numbers: [6, 43, 48]
Generated Node #0,4: 30:[6, 43, 48] Operation: 70-22=48
Moving to Node #0,2
Current State: 30:[6, 22, 27], Operations: ['70-43=27']
Exploring Operation: 6+22=28, Resulting Numbers: [27, 28]
Generated Node #0,2,0: 30:[27, 28] Operation: 6+22=28
Exploring Operation: 6+27=33, Resulting Numbers: [22, 33]
Generated Node #0,2,1: 30:[22, 33] Operation: 6+27=33
Exploring Operation: 27-6=21, Resulting Numbers: [22, 21]
Generated Node #0,2,2: 30:[22, 21] Operation: 27-6=21
Exploring Operation: 22-6=16, Resulting Numbers: [27, 16]
Generated Node #0,2,3: 30:[27, 16] Operation: 22-6=16
Exploring Operation: 27-22=5, Resulting Numbers: [6, 5]
Generated Node #0,2,4: 30:[6, 5] Operation: 27-22=5
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 30:[6, 5], Operations: ['70-43=27', '27-22=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[70, 6, 22, 43], Operations: []
Exploring Operation: 70-43=27, Resulting Numbers: [6, 22, 27]
Generated Node #0,2: 30:[6, 22, 27] Operation: 70-43=27
Moving to Node #0,2
Current State: 30:[6, 22, 27], Operations: ['70-43=27']
Exploring Operation: 27-22=5, Resulting Numbers: [6, 5]
Generated Node #0,2,4: 30:[6, 5] Operation: 27-22=5
Moving to Node #0,2,4
Current State: 30:[6, 5], Operations: ['70-43=27', '27-22=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
4,
79,
4,
79
] | 79 | [
"4-4=0",
"79*0=0",
"79+0=79"
] | Current State: 79:[4, 79, 4, 79], Operations: []
Exploring Operation: 4-4=0, Resulting Numbers: [79, 79, 0]
Generated Node #2: [79, 79, 0] from Operation: 4-4=0
Current State: 79:[79, 79, 0], Operations: ['4-4=0']
Exploring Operation: 79*0=0, Resulting Numbers: [0]
0,79 equal: Goal Reached
Exploring Operation: 79+0=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[4, 79, 4, 79], Operations: []
Exploring Operation: 4+4=8, Resulting Numbers: [79, 79, 8]
Generated Node #0,0: 79:[79, 79, 8] Operation: 4+4=8
Exploring Operation: 4*4=16, Resulting Numbers: [79, 79, 16]
Generated Node #0,1: 79:[79, 79, 16] Operation: 4*4=16
Exploring Operation: 79-4=75, Resulting Numbers: [4, 79, 75]
Generated Node #0,2: 79:[4, 79, 75] Operation: 79-4=75
Exploring Operation: 4/4=1, Resulting Numbers: [79, 79, 1]
Generated Node #0,3: 79:[79, 79, 1] Operation: 4/4=1
Exploring Operation: 4+79=83, Resulting Numbers: [4, 79, 83]
Generated Node #0,4: 79:[4, 79, 83] Operation: 4+79=83
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[79, 79, 16], Operations: ['4*4=16']
Exploring Operation: 79/79=1, Resulting Numbers: [16, 1]
Generated Node #0,1,0: 79:[16, 1] Operation: 79/79=1
Exploring Operation: 79-16=63, Resulting Numbers: [79, 63]
Generated Node #0,1,1: 79:[79, 63] Operation: 79-16=63
Exploring Operation: 79+16=95, Resulting Numbers: [79, 95]
Generated Node #0,1,2: 79:[79, 95] Operation: 79+16=95
Exploring Operation: 79+16=95, Resulting Numbers: [79, 95]
Generated Node #0,1,3: 79:[79, 95] Operation: 79+16=95
Exploring Operation: 79-16=63, Resulting Numbers: [79, 63]
Generated Node #0,1,4: 79:[79, 63] Operation: 79-16=63
Moving to Node #0,1,1
Current State: 79:[79, 63], Operations: ['4*4=16', '79-16=63']
Exploring Operation: 79+63=142, Resulting Numbers: [142]
142,79 unequal: No Solution
Exploring Operation: 79*63=4977, Resulting Numbers: [4977]
4977,79 unequal: No Solution
Exploring Operation: 79-63=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[79, 95], Operations: ['4*4=16', '79+16=95']
Exploring Operation: 95-79=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Exploring Operation: 79*95=7505, Resulting Numbers: [7505]
7505,79 unequal: No Solution
Exploring Operation: 79+95=174, Resulting Numbers: [174]
174,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[79, 95], Operations: ['4*4=16', '79+16=95']
Exploring Operation: 79*95=7505, Resulting Numbers: [7505]
7505,79 unequal: No Solution
Exploring Operation: 79+95=174, Resulting Numbers: [174]
174,79 unequal: No Solution
Exploring Operation: 95-79=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Moving to Node #0,1,4
Current State: 79:[79, 63], Operations: ['4*4=16', '79-16=63']
Exploring Operation: 79+63=142, Resulting Numbers: [142]
142,79 unequal: No Solution
Exploring Operation: 79*63=4977, Resulting Numbers: [4977]
4977,79 unequal: No Solution
Exploring Operation: 79-63=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[16, 1], Operations: ['4*4=16', '79/79=1']
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,79 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[79, 79, 8], Operations: ['4+4=8']
Exploring Operation: 79-8=71, Resulting Numbers: [79, 71]
Generated Node #0,0,0: 79:[79, 71] Operation: 79-8=71
Exploring Operation: 79-8=71, Resulting Numbers: [79, 71]
Generated Node #0,0,1: 79:[79, 71] Operation: 79-8=71
Exploring Operation: 79+8=87, Resulting Numbers: [79, 87]
Generated Node #0,0,2: 79:[79, 87] Operation: 79+8=87
Exploring Operation: 79/79=1, Resulting Numbers: [8, 1]
Generated Node #0,0,3: 79:[8, 1] Operation: 79/79=1
Exploring Operation: 79+8=87, Resulting Numbers: [79, 87]
Generated Node #0,0,4: 79:[79, 87] Operation: 79+8=87
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[79, 71], Operations: ['4+4=8', '79-8=71']
Exploring Operation: 79-71=8, Resulting Numbers: [8]
8,79 unequal: No Solution
Exploring Operation: 79*71=5609, Resulting Numbers: [5609]
5609,79 unequal: No Solution
Exploring Operation: 79+71=150, Resulting Numbers: [150]
150,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,1
Current State: 79:[79, 71], Operations: ['4+4=8', '79-8=71']
Exploring Operation: 79-71=8, Resulting Numbers: [8]
8,79 unequal: No Solution
Exploring Operation: 79+71=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Exploring Operation: 79*71=5609, Resulting Numbers: [5609]
5609,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,2
Current State: 79:[79, 87], Operations: ['4+4=8', '79+8=87']
Exploring Operation: 79*87=6873, Resulting Numbers: [6873]
6873,79 unequal: No Solution
Exploring Operation: 87-79=8, Resulting Numbers: [8]
8,79 unequal: No Solution
Exploring Operation: 79+87=166, Resulting Numbers: [166]
166,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,4
Current State: 79:[79, 87], Operations: ['4+4=8', '79+8=87']
Exploring Operation: 87-79=8, Resulting Numbers: [8]
8,79 unequal: No Solution
Exploring Operation: 79+87=166, Resulting Numbers: [166]
166,79 unequal: No Solution
Exploring Operation: 79*87=6873, Resulting Numbers: [6873]
6873,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,3
Current State: 79:[8, 1], Operations: ['4+4=8', '79/79=1']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,79 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,79 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,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,3
Current State: 79:[79, 79, 1], Operations: ['4/4=1']
Exploring Operation: 79*1=79, Resulting Numbers: [79, 79]
Generated Node #0,3,0: 79:[79, 79] Operation: 79*1=79
Exploring Operation: 79+1=80, Resulting Numbers: [79, 80]
Generated Node #0,3,1: 79:[79, 80] Operation: 79+1=80
Exploring Operation: 79*1=79, Resulting Numbers: [79, 79]
Generated Node #0,3,2: 79:[79, 79] Operation: 79*1=79
Exploring Operation: 79/1=79, Resulting Numbers: [79, 79]
Generated Node #0,3,3: 79:[79, 79] Operation: 79/1=79
Exploring Operation: 79/1=79, Resulting Numbers: [79, 79]
Generated Node #0,3,4: 79:[79, 79] Operation: 79/1=79
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 79:[79, 79], Operations: ['4/4=1', '79*1=79']
Exploring Operation: 79-79=0, Resulting Numbers: [0]
0,79 unequal: No Solution
Exploring Operation: 79*79=6241, Resulting Numbers: [6241]
6241,79 unequal: No Solution
Exploring Operation: 79+79=158, Resulting Numbers: [158]
158,79 unequal: No Solution
Exploring Operation: 79/79=1, Resulting Numbers: [1]
1,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,3,2
Current State: 79:[79, 79], Operations: ['4/4=1', '79*1=79']
Exploring Operation: 79*79=6241, Resulting Numbers: [6241]
6241,79 unequal: No Solution
Exploring Operation: 79+79=158, Resulting Numbers: [158]
158,79 unequal: No Solution
Exploring Operation: 79/79=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 79-79=0, Resulting Numbers: [0]
0,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,3,3
Current State: 79:[79, 79], Operations: ['4/4=1', '79/1=79']
Exploring Operation: 79*79=6241, Resulting Numbers: [6241]
6241,79 unequal: No Solution
Exploring Operation: 79/79=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 79+79=158, Resulting Numbers: [158]
158,79 unequal: No Solution
Exploring Operation: 79-79=0, Resulting Numbers: [0]
0,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,3,4
Current State: 79:[79, 79], Operations: ['4/4=1', '79/1=79']
Exploring Operation: 79*79=6241, Resulting Numbers: [6241]
6241,79 unequal: No Solution
Exploring Operation: 79/79=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 79+79=158, Resulting Numbers: [158]
158,79 unequal: No Solution
Exploring Operation: 79-79=0, Resulting Numbers: [0]
0,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,3,1
Current State: 79:[79, 80], Operations: ['4/4=1', '79+1=80']
Exploring Operation: 80-79=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 79+80=159, Resulting Numbers: [159]
159,79 unequal: No Solution
Exploring Operation: 79*80=6320, Resulting Numbers: [6320]
6320,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,2
Current State: 79:[4, 79, 75], Operations: ['79-4=75']
Exploring Operation: 75-4=71, Resulting Numbers: [79, 71]
Generated Node #0,2,0: 79:[79, 71] Operation: 75-4=71
Exploring Operation: 4+75=79, Resulting Numbers: [79, 79]
Generated Node #0,2,1: 79:[79, 79] Operation: 4+75=79
Exploring Operation: 79-4=75, Resulting Numbers: [75, 75]
Generated Node #0,2,2: 79:[75, 75] Operation: 79-4=75
Exploring Operation: 4+79=83, Resulting Numbers: [75, 83]
Generated Node #0,2,3: 79:[75, 83] Operation: 4+79=83
Exploring Operation: 79+75=154, Resulting Numbers: [4, 154]
Generated Node #0,2,4: 79:[4, 154] Operation: 79+75=154
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[79, 79], Operations: ['79-4=75', '4+75=79']
Exploring Operation: 79*79=6241, Resulting Numbers: [6241]
6241,79 unequal: No Solution
Exploring Operation: 79+79=158, Resulting Numbers: [158]
158,79 unequal: No Solution
Exploring Operation: 79/79=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 79-79=0, Resulting Numbers: [0]
0,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,2,0
Current State: 79:[79, 71], Operations: ['79-4=75', '75-4=71']
Exploring Operation: 79+71=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Exploring Operation: 79-71=8, Resulting Numbers: [8]
8,79 unequal: No Solution
Exploring Operation: 79*71=5609, Resulting Numbers: [5609]
5609,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,2,2
Current State: 79:[75, 75], Operations: ['79-4=75', '79-4=75']
Exploring Operation: 75/75=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 75+75=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Exploring Operation: 75*75=5625, Resulting Numbers: [5625]
5625,79 unequal: No Solution
Exploring Operation: 75-75=0, Resulting Numbers: [0]
0,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,2,3
Current State: 79:[75, 83], Operations: ['79-4=75', '4+79=83']
Exploring Operation: 75+83=158, Resulting Numbers: [158]
158,79 unequal: No Solution
Exploring Operation: 75*83=6225, Resulting Numbers: [6225]
6225,79 unequal: No Solution
Exploring Operation: 83-75=8, Resulting Numbers: [8]
8,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,2,4
Current State: 79:[4, 154], Operations: ['79-4=75', '79+75=154']
Exploring Operation: 4+154=158, Resulting Numbers: [158]
158,79 unequal: No Solution
Exploring Operation: 154-4=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Exploring Operation: 4*154=616, Resulting Numbers: [616]
616,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,4
Current State: 79:[4, 79, 83], Operations: ['4+79=83']
Exploring Operation: 83-4=79, Resulting Numbers: [79, 79]
Generated Node #0,4,0: 79:[79, 79] Operation: 83-4=79
Exploring Operation: 4+79=83, Resulting Numbers: [83, 83]
Generated Node #0,4,1: 79:[83, 83] Operation: 4+79=83
Exploring Operation: 83-79=4, Resulting Numbers: [4, 4]
Generated Node #0,4,2: 79:[4, 4] Operation: 83-79=4
Exploring Operation: 79-4=75, Resulting Numbers: [83, 75]
Generated Node #0,4,3: 79:[83, 75] Operation: 79-4=75
Exploring Operation: 4+83=87, Resulting Numbers: [79, 87]
Generated Node #0,4,4: 79:[79, 87] Operation: 4+83=87
Moving to Node #0,4,0
Current State: 79:[79, 79], Operations: ['4+79=83', '83-4=79']
Exploring Operation: 79+79=158, Resulting Numbers: [158]
158,79 unequal: No Solution
Exploring Operation: 79/79=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 79-79=0, Resulting Numbers: [0]
0,79 unequal: No Solution
Exploring Operation: 79*79=6241, Resulting Numbers: [6241]
6241,79 unequal: No Solution
Moving to Node #0,4,3
Current State: 79:[83, 75], Operations: ['4+79=83', '79-4=75']
Exploring Operation: 83+75=158, Resulting Numbers: [158]
158,79 unequal: No Solution
Exploring Operation: 83*75=6225, Resulting Numbers: [6225]
6225,79 unequal: No Solution
Exploring Operation: 83-75=8, Resulting Numbers: [8]
8,79 unequal: No Solution
Moving to Node #0,4,1
Current State: 79:[83, 83], Operations: ['4+79=83', '4+79=83']
Exploring Operation: 83/83=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 83+83=166, Resulting Numbers: [166]
166,79 unequal: No Solution
Exploring Operation: 83-83=0, Resulting Numbers: [0]
0,79 unequal: No Solution
Exploring Operation: 83*83=6889, Resulting Numbers: [6889]
6889,79 unequal: No Solution
Moving to Node #0,4,4
Current State: 79:[79, 87], Operations: ['4+79=83', '4+83=87']
Exploring Operation: 87-79=8, Resulting Numbers: [8]
8,79 unequal: No Solution
Exploring Operation: 79+87=166, Resulting Numbers: [166]
166,79 unequal: No Solution
Exploring Operation: 79*87=6873, Resulting Numbers: [6873]
6873,79 unequal: No Solution
Moving to Node #0,4,2
Current State: 79:[4, 4], Operations: ['4+79=83', '83-79=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,79 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
72,
77,
21,
7
] | 68 | [
"77+7=84",
"84/21=4",
"72-4=68"
] | Current State: 68:[72, 77, 21, 7], Operations: []
Exploring Operation: 77+7=84, Resulting Numbers: [72, 21, 84]
Generated Node #2: [72, 21, 84] from Operation: 77+7=84
Current State: 68:[72, 21, 84], Operations: ['77+7=84']
Exploring Operation: 84/21=4, Resulting Numbers: [72, 4]
Generated Node #3: [72, 4] from Operation: 84/21=4
Current State: 68:[72, 4], Operations: ['77+7=84', '84/21=4']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[72, 77, 21, 7], Operations: []
Exploring Operation: 77-7=70, Resulting Numbers: [72, 21, 70]
Generated Node #0,0: 68:[72, 21, 70] Operation: 77-7=70
Exploring Operation: 21/7=3, Resulting Numbers: [72, 77, 3]
Generated Node #0,1: 68:[72, 77, 3] Operation: 21/7=3
Exploring Operation: 77/7=11, Resulting Numbers: [72, 21, 11]
Generated Node #0,2: 68:[72, 21, 11] Operation: 77/7=11
Exploring Operation: 77-72=5, Resulting Numbers: [21, 7, 5]
Generated Node #0,3: 68:[21, 7, 5] Operation: 77-72=5
Exploring Operation: 72-7=65, Resulting Numbers: [77, 21, 65]
Generated Node #0,4: 68:[77, 21, 65] Operation: 72-7=65
Moving to Node #0,3
Current State: 68:[21, 7, 5], Operations: ['77-72=5']
Exploring Operation: 21-5=16, Resulting Numbers: [7, 16]
Generated Node #0,3,0: 68:[7, 16] Operation: 21-5=16
Exploring Operation: 21-7=14, Resulting Numbers: [5, 14]
Generated Node #0,3,1: 68:[5, 14] Operation: 21-7=14
Exploring Operation: 7*5=35, Resulting Numbers: [21, 35]
Generated Node #0,3,2: 68:[21, 35] Operation: 7*5=35
Exploring Operation: 7-5=2, Resulting Numbers: [21, 2]
Generated Node #0,3,3: 68:[21, 2] Operation: 7-5=2
Exploring Operation: 21/7=3, Resulting Numbers: [5, 3]
Generated Node #0,3,4: 68:[5, 3] Operation: 21/7=3
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 68:[5, 3], Operations: ['77-72=5', '21/7=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,68 unequal: No Solution
No 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: 68:[7, 16], Operations: ['77-72=5', '21-5=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,68 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,68 unequal: No Solution
No 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: 68:[5, 14], Operations: ['77-72=5', '21-7=14']
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,68 unequal: No Solution
No 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: 68:[21, 2], Operations: ['77-72=5', '7-5=2']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,68 unequal: No Solution
No 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: 68:[21, 35], Operations: ['77-72=5', '7*5=35']
Exploring Operation: 21*35=735, Resulting Numbers: [735]
735,68 unequal: No Solution
Exploring Operation: 21+35=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,68 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: 68:[72, 21, 70], Operations: ['77-7=70']
Exploring Operation: 70-21=49, Resulting Numbers: [72, 49]
Generated Node #0,0,0: 68:[72, 49] Operation: 70-21=49
Exploring Operation: 72+21=93, Resulting Numbers: [70, 93]
Generated Node #0,0,1: 68:[70, 93] Operation: 72+21=93
Exploring Operation: 21+70=91, Resulting Numbers: [72, 91]
Generated Node #0,0,2: 68:[72, 91] Operation: 21+70=91
Exploring Operation: 72-70=2, Resulting Numbers: [21, 2]
Generated Node #0,0,3: 68:[21, 2] Operation: 72-70=2
Exploring Operation: 72-21=51, Resulting Numbers: [70, 51]
Generated Node #0,0,4: 68:[70, 51] Operation: 72-21=51
Moving to Node #0,1
Current State: 68:[72, 77, 3], Operations: ['21/7=3']
Exploring Operation: 72-3=69, Resulting Numbers: [77, 69]
Generated Node #0,1,0: 68:[77, 69] Operation: 72-3=69
Exploring Operation: 72/3=24, Resulting Numbers: [77, 24]
Generated Node #0,1,1: 68:[77, 24] Operation: 72/3=24
Exploring Operation: 77-3=74, Resulting Numbers: [72, 74]
Generated Node #0,1,2: 68:[72, 74] Operation: 77-3=74
Exploring Operation: 72+3=75, Resulting Numbers: [77, 75]
Generated Node #0,1,3: 68:[77, 75] Operation: 72+3=75
Exploring Operation: 77-72=5, Resulting Numbers: [3, 5]
Generated Node #0,1,4: 68:[3, 5] Operation: 77-72=5
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 68:[3, 5], Operations: ['21/7=3', '77-72=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,68 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,68 unequal: No Solution
No solution 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: 68:[77, 69], Operations: ['21/7=3', '72-3=69']
Exploring Operation: 77+69=146, Resulting Numbers: [146]
146,68 unequal: No Solution
Exploring Operation: 77*69=5313, Resulting Numbers: [5313]
5313,68 unequal: No Solution
Exploring Operation: 77-69=8, Resulting Numbers: [8]
8,68 unequal: No Solution
No solution 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: 68:[72, 74], Operations: ['21/7=3', '77-3=74']
Exploring Operation: 74-72=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 72+74=146, Resulting Numbers: [146]
146,68 unequal: No Solution
Exploring Operation: 72*74=5328, Resulting Numbers: [5328]
5328,68 unequal: No Solution
No solution 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: 68:[77, 24], Operations: ['21/7=3', '72/3=24']
Exploring Operation: 77-24=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 77*24=1848, Resulting Numbers: [1848]
1848,68 unequal: No Solution
Exploring Operation: 77+24=101, Resulting Numbers: [101]
101,68 unequal: No Solution
No solution 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: 68:[77, 75], Operations: ['21/7=3', '72+3=75']
Exploring Operation: 77+75=152, Resulting Numbers: [152]
152,68 unequal: No Solution
Exploring Operation: 77-75=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 77*75=5775, Resulting Numbers: [5775]
5775,68 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: 68:[72, 21, 11], Operations: ['77/7=11']
Exploring Operation: 72+11=83, Resulting Numbers: [21, 83]
Generated Node #0,2,0: 68:[21, 83] Operation: 72+11=83
Exploring Operation: 21-11=10, Resulting Numbers: [72, 10]
Generated Node #0,2,1: 68:[72, 10] Operation: 21-11=10
Exploring Operation: 21+11=32, Resulting Numbers: [72, 32]
Generated Node #0,2,2: 68:[72, 32] Operation: 21+11=32
Exploring Operation: 72-21=51, Resulting Numbers: [11, 51]
Generated Node #0,2,3: 68:[11, 51] Operation: 72-21=51
Exploring Operation: 72-11=61, Resulting Numbers: [21, 61]
Generated Node #0,2,4: 68:[21, 61] Operation: 72-11=61
Moving to Node #0,4
Current State: 68:[77, 21, 65], Operations: ['72-7=65']
Exploring Operation: 77-21=56, Resulting Numbers: [65, 56]
Generated Node #0,4,0: 68:[65, 56] Operation: 77-21=56
Exploring Operation: 65-21=44, Resulting Numbers: [77, 44]
Generated Node #0,4,1: 68:[77, 44] Operation: 65-21=44
Exploring Operation: 21+65=86, Resulting Numbers: [77, 86]
Generated Node #0,4,2: 68:[77, 86] Operation: 21+65=86
Exploring Operation: 77-65=12, Resulting Numbers: [21, 12]
Generated Node #0,4,3: 68:[21, 12] Operation: 77-65=12
Exploring Operation: 77+21=98, Resulting Numbers: [65, 98]
Generated Node #0,4,4: 68:[65, 98] Operation: 77+21=98
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 68:[21, 12], Operations: ['72-7=65', '77-65=12']
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 21*12=252, Resulting Numbers: [252]
252,68 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,68 unequal: No Solution
No 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: 68:[65, 56], Operations: ['72-7=65', '77-21=56']
Exploring Operation: 65-56=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 65+56=121, Resulting Numbers: [121]
121,68 unequal: No Solution
Exploring Operation: 65*56=3640, Resulting Numbers: [3640]
3640,68 unequal: No Solution
No 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: 68:[77, 44], Operations: ['72-7=65', '65-21=44']
Exploring Operation: 77*44=3388, Resulting Numbers: [3388]
3388,68 unequal: No Solution
Exploring Operation: 77+44=121, Resulting Numbers: [121]
121,68 unequal: No Solution
Exploring Operation: 77-44=33, Resulting Numbers: [33]
33,68 unequal: No Solution
No 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: 68:[77, 86], Operations: ['72-7=65', '21+65=86']
Exploring Operation: 77*86=6622, Resulting Numbers: [6622]
6622,68 unequal: No Solution
Exploring Operation: 86-77=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 77+86=163, Resulting Numbers: [163]
163,68 unequal: No Solution
No 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: 68:[65, 98], Operations: ['72-7=65', '77+21=98']
Exploring Operation: 65+98=163, Resulting Numbers: [163]
163,68 unequal: No Solution
Exploring Operation: 65*98=6370, Resulting Numbers: [6370]
6370,68 unequal: No Solution
Exploring Operation: 98-65=33, Resulting Numbers: [33]
33,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 68:[21, 2], Operations: ['77-7=70', '72-70=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[72, 32], Operations: ['77/7=11', '21+11=32']
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,68 unequal: No Solution
Exploring Operation: 72+32=104, Resulting Numbers: [104]
104,68 unequal: No Solution
Exploring Operation: 72*32=2304, Resulting Numbers: [2304]
2304,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[72, 10], Operations: ['77/7=11', '21-11=10']
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,68 unequal: No Solution
Exploring Operation: 72*10=720, Resulting Numbers: [720]
720,68 unequal: No Solution
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,68 unequal: No Solution
Moving to Node #0,2,4
Current State: 68:[21, 61], Operations: ['77/7=11', '72-11=61']
Exploring Operation: 21*61=1281, Resulting Numbers: [1281]
1281,68 unequal: No Solution
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,68 unequal: No Solution
Exploring Operation: 21+61=82, Resulting Numbers: [82]
82,68 unequal: No Solution
Moving to Node #0,0,4
Current State: 68:[70, 51], Operations: ['77-7=70', '72-21=51']
Exploring Operation: 70+51=121, Resulting Numbers: [121]
121,68 unequal: No Solution
Exploring Operation: 70*51=3570, Resulting Numbers: [3570]
3570,68 unequal: No Solution
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[21, 83], Operations: ['77/7=11', '72+11=83']
Exploring Operation: 21*83=1743, Resulting Numbers: [1743]
1743,68 unequal: No Solution
Exploring Operation: 21+83=104, Resulting Numbers: [104]
104,68 unequal: No Solution
Exploring Operation: 83-21=62, Resulting Numbers: [62]
62,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[72, 49], Operations: ['77-7=70', '70-21=49']
Exploring Operation: 72-49=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 72+49=121, Resulting Numbers: [121]
121,68 unequal: No Solution
Exploring Operation: 72*49=3528, Resulting Numbers: [3528]
3528,68 unequal: No Solution
Moving to Node #0,2,3
Current State: 68:[11, 51], Operations: ['77/7=11', '72-21=51']
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,68 unequal: No Solution
Exploring Operation: 11+51=62, Resulting Numbers: [62]
62,68 unequal: No Solution
Exploring Operation: 11*51=561, Resulting Numbers: [561]
561,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[70, 93], Operations: ['77-7=70', '72+21=93']
Exploring Operation: 93-70=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 70*93=6510, Resulting Numbers: [6510]
6510,68 unequal: No Solution
Exploring Operation: 70+93=163, Resulting Numbers: [163]
163,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[72, 91], Operations: ['77-7=70', '21+70=91']
Exploring Operation: 72*91=6552, Resulting Numbers: [6552]
6552,68 unequal: No Solution
Exploring Operation: 91-72=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 72+91=163, Resulting Numbers: [163]
163,68 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
21,
47,
90,
89
] | 69 | [
"21+47=68",
"90-89=1",
"68+1=69"
] | Current State: 69:[21, 47, 90, 89], Operations: []
Exploring Operation: 21+47=68, Resulting Numbers: [90, 89, 68]
Generated Node #2: [90, 89, 68] from Operation: 21+47=68
Current State: 69:[90, 89, 68], Operations: ['21+47=68']
Exploring Operation: 90-89=1, Resulting Numbers: [68, 1]
Generated Node #3: [68, 1] from Operation: 90-89=1
Current State: 69:[68, 1], Operations: ['21+47=68', '90-89=1']
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[21, 47, 90, 89], Operations: []
Exploring Operation: 21+47=68, Resulting Numbers: [90, 89, 68]
Generated Node #0,0: 69:[90, 89, 68] Operation: 21+47=68
Exploring Operation: 90-21=69, Resulting Numbers: [47, 89, 69]
Generated Node #0,1: 69:[47, 89, 69] Operation: 90-21=69
Exploring Operation: 90-89=1, Resulting Numbers: [21, 47, 1]
Generated Node #0,2: 69:[21, 47, 1] Operation: 90-89=1
Moving to Node #0,2
Current State: 69:[21, 47, 1], Operations: ['90-89=1']
Exploring Operation: 47-21=26, Resulting Numbers: [1, 26]
Generated Node #0,2,0: 69:[1, 26] Operation: 47-21=26
Exploring Operation: 21+1=22, Resulting Numbers: [47, 22]
Generated Node #0,2,1: 69:[47, 22] Operation: 21+1=22
Exploring Operation: 21+47=68, Resulting Numbers: [1, 68]
Generated Node #0,2,2: 69:[1, 68] Operation: 21+47=68
Moving to Node #0,0
Current State: 69:[90, 89, 68], Operations: ['21+47=68']
Exploring Operation: 90-89=1, Resulting Numbers: [68, 1]
Generated Node #0,0,0: 69:[68, 1] Operation: 90-89=1
Exploring Operation: 89-68=21, Resulting Numbers: [90, 21]
Generated Node #0,0,1: 69:[90, 21] Operation: 89-68=21
Exploring Operation: 90-68=22, Resulting Numbers: [89, 22]
Generated Node #0,0,2: 69:[89, 22] Operation: 90-68=22
Moving to Node #0,1
Current State: 69:[47, 89, 69], Operations: ['90-21=69']
Exploring Operation: 89-69=20, Resulting Numbers: [47, 20]
Generated Node #0,1,0: 69:[47, 20] Operation: 89-69=20
Exploring Operation: 89-47=42, Resulting Numbers: [69, 42]
Generated Node #0,1,1: 69:[69, 42] Operation: 89-47=42
Exploring Operation: 69-47=22, Resulting Numbers: [89, 22]
Generated Node #0,1,2: 69:[89, 22] Operation: 69-47=22
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 69:[69, 42], Operations: ['90-21=69', '89-47=42']
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,69 unequal: No Solution
Exploring Operation: 69+42=111, Resulting Numbers: [111]
111,69 unequal: No Solution
Exploring Operation: 69*42=2898, Resulting Numbers: [2898]
2898,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 69:[89, 22], Operations: ['90-21=69', '69-47=22']
Exploring Operation: 89*22=1958, Resulting Numbers: [1958]
1958,69 unequal: No Solution
Exploring Operation: 89+22=111, Resulting Numbers: [111]
111,69 unequal: No Solution
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 69:[47, 20], Operations: ['90-21=69', '89-69=20']
Exploring Operation: 47+20=67, Resulting Numbers: [67]
67,69 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,69 unequal: No Solution
Exploring Operation: 47*20=940, Resulting Numbers: [940]
940,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 69:[1, 68], Operations: ['90-89=1', '21+47=68']
Exploring Operation: 1*68=68, Resulting Numbers: [68]
68,69 unequal: No Solution
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,69 unequal: No Solution
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[21, 47, 90, 89], Operations: []
Exploring Operation: 90-89=1, Resulting Numbers: [21, 47, 1]
Generated Node #0,2: 69:[21, 47, 1] Operation: 90-89=1
Moving to Node #0,2
Current State: 69:[21, 47, 1], Operations: ['90-89=1']
Exploring Operation: 21+47=68, Resulting Numbers: [1, 68]
Generated Node #0,2,2: 69:[1, 68] Operation: 21+47=68
Moving to Node #0,2,2
Current State: 69:[1, 68], Operations: ['90-89=1', '21+47=68']
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
29,
27,
3,
41
] | 12 | [
"29+27=56",
"3+41=44",
"56-44=12"
] | Current State: 12:[29, 27, 3, 41], Operations: []
Exploring Operation: 29+27=56, Resulting Numbers: [3, 41, 56]
Generated Node #2: [3, 41, 56] from Operation: 29+27=56
Current State: 12:[3, 41, 56], Operations: ['29+27=56']
Exploring Operation: 3+41=44, Resulting Numbers: [56, 44]
Generated Node #3: [56, 44] from Operation: 3+41=44
Current State: 12:[56, 44], Operations: ['29+27=56', '3+41=44']
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[29, 27, 3, 41], Operations: []
Exploring Operation: 29-27=2, Resulting Numbers: [3, 41, 2]
Generated Node #0,0: 12:[3, 41, 2] Operation: 29-27=2
Exploring Operation: 41-27=14, Resulting Numbers: [29, 3, 14]
Generated Node #0,1: 12:[29, 3, 14] Operation: 41-27=14
Exploring Operation: 41-29=12, Resulting Numbers: [27, 3, 12]
Generated Node #0,2: 12:[27, 3, 12] Operation: 41-29=12
Moving to Node #0,2
Current State: 12:[27, 3, 12], Operations: ['41-29=12']
Exploring Operation: 27/3=9, Resulting Numbers: [12, 9]
Generated Node #0,2,0: 12:[12, 9] Operation: 27/3=9
Exploring Operation: 27-3=24, Resulting Numbers: [12, 24]
Generated Node #0,2,1: 12:[12, 24] Operation: 27-3=24
Exploring Operation: 27-12=15, Resulting Numbers: [3, 15]
Generated Node #0,2,2: 12:[3, 15] Operation: 27-12=15
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[12, 9], Operations: ['41-29=12', '27/3=9']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,12 unequal: No Solution
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,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,2,2
Current State: 12:[3, 15], Operations: ['41-29=12', '27-12=15']
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[29, 27, 3, 41], Operations: []
Exploring Operation: 41-29=12, Resulting Numbers: [27, 3, 12]
Generated Node #0,2: 12:[27, 3, 12] Operation: 41-29=12
Moving to Node #0,2
Current State: 12:[27, 3, 12], Operations: ['41-29=12']
Exploring Operation: 27-12=15, Resulting Numbers: [3, 15]
Generated Node #0,2,2: 12:[3, 15] Operation: 27-12=15
Moving to Node #0,2,2
Current State: 12:[3, 15], Operations: ['41-29=12', '27-12=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
40,
89,
46,
26
] | 57 | [
"40+89=129",
"46+26=72",
"129-72=57"
] | Current State: 57:[40, 89, 46, 26], Operations: []
Exploring Operation: 40+89=129, Resulting Numbers: [46, 26, 129]
Generated Node #2: [46, 26, 129] from Operation: 40+89=129
Current State: 57:[46, 26, 129], Operations: ['40+89=129']
Exploring Operation: 46+26=72, Resulting Numbers: [129, 72]
Generated Node #3: [129, 72] from Operation: 46+26=72
Current State: 57:[129, 72], Operations: ['40+89=129', '46+26=72']
Exploring Operation: 129-72=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[40, 89, 46, 26], Operations: []
Exploring Operation: 89-40=49, Resulting Numbers: [46, 26, 49]
Generated Node #0,0: 57:[46, 26, 49] Operation: 89-40=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[46, 26, 49], Operations: ['89-40=49']
Exploring Operation: 49-46=3, Resulting Numbers: [26, 3]
Generated Node #0,0,0: 57:[26, 3] Operation: 49-46=3
Moving to Node #0,0,0
Current State: 57:[26, 3], Operations: ['89-40=49', '49-46=3']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,57 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 |
[
37,
33,
7,
22
] | 55 | [
"37+33=70",
"22-7=15",
"70-15=55"
] | Current State: 55:[37, 33, 7, 22], Operations: []
Exploring Operation: 37+33=70, Resulting Numbers: [7, 22, 70]
Generated Node #2: [7, 22, 70] from Operation: 37+33=70
Current State: 55:[7, 22, 70], Operations: ['37+33=70']
Exploring Operation: 22-7=15, Resulting Numbers: [70, 15]
Generated Node #3: [70, 15] from Operation: 22-7=15
Current State: 55:[70, 15], Operations: ['37+33=70', '22-7=15']
Exploring Operation: 70-15=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[37, 33, 7, 22], Operations: []
Exploring Operation: 37-33=4, Resulting Numbers: [7, 22, 4]
Generated Node #0,0: 55:[7, 22, 4] Operation: 37-33=4
Exploring Operation: 37+22=59, Resulting Numbers: [33, 7, 59]
Generated Node #0,1: 55:[33, 7, 59] Operation: 37+22=59
Exploring Operation: 33-22=11, Resulting Numbers: [37, 7, 11]
Generated Node #0,2: 55:[37, 7, 11] Operation: 33-22=11
Exploring Operation: 33+22=55, Resulting Numbers: [37, 7, 55]
Generated Node #0,3: 55:[37, 7, 55] Operation: 33+22=55
Exploring Operation: 37+33=70, Resulting Numbers: [7, 22, 70]
Generated Node #0,4: 55:[7, 22, 70] Operation: 37+33=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[7, 22, 4], Operations: ['37-33=4']
Exploring Operation: 22-7=15, Resulting Numbers: [4, 15]
Generated Node #0,0,0: 55:[4, 15] Operation: 22-7=15
Exploring Operation: 22-4=18, Resulting Numbers: [7, 18]
Generated Node #0,0,1: 55:[7, 18] Operation: 22-4=18
Exploring Operation: 7-4=3, Resulting Numbers: [22, 3]
Generated Node #0,0,2: 55:[22, 3] Operation: 7-4=3
Exploring Operation: 7+4=11, Resulting Numbers: [22, 11]
Generated Node #0,0,3: 55:[22, 11] Operation: 7+4=11
Exploring Operation: 22+4=26, Resulting Numbers: [7, 26]
Generated Node #0,0,4: 55:[7, 26] Operation: 22+4=26
Moving to Node #0,0,0
Current State: 55:[4, 15], Operations: ['37-33=4', '22-7=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,55 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[7, 18], Operations: ['37-33=4', '22-4=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,55 unequal: No Solution
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,55 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,55 unequal: No Solution
Moving to Node #0,0,3
Current State: 55:[22, 11], Operations: ['37-33=4', '7+4=11']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,55 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,55 unequal: No Solution
Exploring Operation: 22*11=242, Resulting Numbers: [242]
242,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[22, 3], Operations: ['37-33=4', '7-4=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,55 unequal: No Solution
Moving to Node #0,0,4
Current State: 55:[7, 26], Operations: ['37-33=4', '22+4=26']
Exploring Operation: 7*26=182, Resulting Numbers: [182]
182,55 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[37, 7, 11], Operations: ['33-22=11']
Exploring Operation: 11-7=4, Resulting Numbers: [37, 4]
Generated Node #0,2,0: 55:[37, 4] Operation: 11-7=4
Exploring Operation: 37-11=26, Resulting Numbers: [7, 26]
Generated Node #0,2,1: 55:[7, 26] Operation: 37-11=26
Exploring Operation: 37+7=44, Resulting Numbers: [11, 44]
Generated Node #0,2,2: 55:[11, 44] Operation: 37+7=44
Exploring Operation: 37+11=48, Resulting Numbers: [7, 48]
Generated Node #0,2,3: 55:[7, 48] Operation: 37+11=48
Exploring Operation: 37-7=30, Resulting Numbers: [11, 30]
Generated Node #0,2,4: 55:[11, 30] Operation: 37-7=30
Moving to Node #0,2,3
Current State: 55:[7, 48], Operations: ['33-22=11', '37+11=48']
Exploring Operation: 7+48=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[37, 33, 7, 22], Operations: []
Exploring Operation: 33-22=11, Resulting Numbers: [37, 7, 11]
Generated Node #0,2: 55:[37, 7, 11] Operation: 33-22=11
Moving to Node #0,2
Current State: 55:[37, 7, 11], Operations: ['33-22=11']
Exploring Operation: 37+11=48, Resulting Numbers: [7, 48]
Generated Node #0,2,3: 55:[7, 48] Operation: 37+11=48
Moving to Node #0,2,3
Current State: 55:[7, 48], Operations: ['33-22=11', '37+11=48']
Exploring Operation: 7+48=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
7,
5,
36,
19
] | 52 | [
"7*5=35",
"36-19=17",
"35+17=52"
] | Current State: 52:[7, 5, 36, 19], Operations: []
Exploring Operation: 7*5=35, Resulting Numbers: [36, 19, 35]
Generated Node #2: [36, 19, 35] from Operation: 7*5=35
Current State: 52:[36, 19, 35], Operations: ['7*5=35']
Exploring Operation: 36-19=17, Resulting Numbers: [35, 17]
Generated Node #3: [35, 17] from Operation: 36-19=17
Current State: 52:[35, 17], Operations: ['7*5=35', '36-19=17']
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[7, 5, 36, 19], Operations: []
Exploring Operation: 36+19=55, Resulting Numbers: [7, 5, 55]
Generated Node #0,0: 52:[7, 5, 55] Operation: 36+19=55
Exploring Operation: 36-19=17, Resulting Numbers: [7, 5, 17]
Generated Node #0,1: 52:[7, 5, 17] Operation: 36-19=17
Exploring Operation: 7+19=26, Resulting Numbers: [5, 36, 26]
Generated Node #0,2: 52:[5, 36, 26] Operation: 7+19=26
Exploring Operation: 36-7=29, Resulting Numbers: [5, 19, 29]
Generated Node #0,3: 52:[5, 19, 29] Operation: 36-7=29
Moving to Node #0,0
Current State: 52:[7, 5, 55], Operations: ['36+19=55']
Exploring Operation: 7+5=12, Resulting Numbers: [55, 12]
Generated Node #0,0,0: 52:[55, 12] Operation: 7+5=12
Exploring Operation: 55-7=48, Resulting Numbers: [5, 48]
Generated Node #0,0,1: 52:[5, 48] Operation: 55-7=48
Exploring Operation: 7-5=2, Resulting Numbers: [55, 2]
Generated Node #0,0,2: 52:[55, 2] Operation: 7-5=2
Exploring Operation: 55-5=50, Resulting Numbers: [7, 50]
Generated Node #0,0,3: 52:[7, 50] Operation: 55-5=50
Moving to Node #0,1
Current State: 52:[7, 5, 17], Operations: ['36-19=17']
Exploring Operation: 7-5=2, Resulting Numbers: [17, 2]
Generated Node #0,1,0: 52:[17, 2] Operation: 7-5=2
Exploring Operation: 17-5=12, Resulting Numbers: [7, 12]
Generated Node #0,1,1: 52:[7, 12] Operation: 17-5=12
Exploring Operation: 17-7=10, Resulting Numbers: [5, 10]
Generated Node #0,1,2: 52:[5, 10] Operation: 17-7=10
Exploring Operation: 7+17=24, Resulting Numbers: [5, 24]
Generated Node #0,1,3: 52:[5, 24] Operation: 7+17=24
Moving to Node #0,3
Current State: 52:[5, 19, 29], Operations: ['36-7=29']
Exploring Operation: 29-19=10, Resulting Numbers: [5, 10]
Generated Node #0,3,0: 52:[5, 10] Operation: 29-19=10
Exploring Operation: 5+19=24, Resulting Numbers: [29, 24]
Generated Node #0,3,1: 52:[29, 24] Operation: 5+19=24
Exploring Operation: 19+29=48, Resulting Numbers: [5, 48]
Generated Node #0,3,2: 52:[5, 48] Operation: 19+29=48
Exploring Operation: 19-5=14, Resulting Numbers: [29, 14]
Generated Node #0,3,3: 52:[29, 14] Operation: 19-5=14
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 52:[5, 10], Operations: ['36-7=29', '29-19=10']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 52:[29, 14], Operations: ['36-7=29', '19-5=14']
Exploring Operation: 29*14=406, Resulting Numbers: [406]
406,52 unequal: No Solution
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 52:[29, 24], Operations: ['36-7=29', '5+19=24']
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 29*24=696, Resulting Numbers: [696]
696,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 52:[5, 48], Operations: ['36-7=29', '19+29=48']
Exploring Operation: 5*48=240, Resulting Numbers: [240]
240,52 unequal: No Solution
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 52:[5, 36, 26], Operations: ['7+19=26']
Exploring Operation: 5+36=41, Resulting Numbers: [26, 41]
Generated Node #0,2,0: 52:[26, 41] Operation: 5+36=41
Exploring Operation: 36+26=62, Resulting Numbers: [5, 62]
Generated Node #0,2,1: 52:[5, 62] Operation: 36+26=62
Exploring Operation: 36-5=31, Resulting Numbers: [26, 31]
Generated Node #0,2,2: 52:[26, 31] Operation: 36-5=31
Exploring Operation: 36-26=10, Resulting Numbers: [5, 10]
Generated Node #0,2,3: 52:[5, 10] Operation: 36-26=10
Moving to Node #0,0,2
Current State: 52:[55, 2], Operations: ['36+19=55', '7-5=2']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,52 unequal: No Solution
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Moving to Node #0,1,3
Current State: 52:[5, 24], Operations: ['36-19=17', '7+17=24']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,52 unequal: No Solution
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[17, 2], Operations: ['36-19=17', '7-5=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,52 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[7, 12], Operations: ['36-19=17', '17-5=12']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,52 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[55, 12], Operations: ['36+19=55', '7+5=12']
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 55*12=660, Resulting Numbers: [660]
660,52 unequal: No Solution
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[5, 10], Operations: ['36-19=17', '17-7=10']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,52 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Moving to Node #0,2,3
Current State: 52:[5, 10], Operations: ['7+19=26', '36-26=10']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,52 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[5, 48], Operations: ['36+19=55', '55-7=48']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 5*48=240, Resulting Numbers: [240]
240,52 unequal: No Solution
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[26, 31], Operations: ['7+19=26', '36-5=31']
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 26+31=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 26*31=806, Resulting Numbers: [806]
806,52 unequal: No Solution
Moving to Node #0,0,3
Current State: 52:[7, 50], Operations: ['36+19=55', '55-5=50']
Exploring Operation: 7*50=350, Resulting Numbers: [350]
350,52 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 7+50=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[26, 41], Operations: ['7+19=26', '5+36=41']
Exploring Operation: 26*41=1066, Resulting Numbers: [1066]
1066,52 unequal: No Solution
Exploring Operation: 26+41=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[5, 62], Operations: ['7+19=26', '36+26=62']
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 5*62=310, Resulting Numbers: [310]
310,52 unequal: No Solution
Exploring Operation: 5+62=67, Resulting Numbers: [67]
67,52 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
36,
94,
83,
8
] | 52 | [
"94-83=11",
"8*11=88",
"88-36=52"
] | Current State: 52:[36, 94, 83, 8], Operations: []
Exploring Operation: 94-83=11, Resulting Numbers: [36, 8, 11]
Generated Node #2: [36, 8, 11] from Operation: 94-83=11
Current State: 52:[36, 8, 11], Operations: ['94-83=11']
Exploring Operation: 8*11=88, Resulting Numbers: [36, 88]
Generated Node #3: [36, 88] from Operation: 8*11=88
Current State: 52:[36, 88], Operations: ['94-83=11', '8*11=88']
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[36, 94, 83, 8], Operations: []
Exploring Operation: 94-83=11, Resulting Numbers: [36, 8, 11]
Generated Node #0,0: 52:[36, 8, 11] Operation: 94-83=11
Moving to Node #0,0
Current State: 52:[36, 8, 11], Operations: ['94-83=11']
Exploring Operation: 36-8=28, Resulting Numbers: [11, 28]
Generated Node #0,0,0: 52:[11, 28] Operation: 36-8=28
Moving to Node #0,0,0
Current State: 52:[11, 28], Operations: ['94-83=11', '36-8=28']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,52 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
30,
13,
34,
39
] | 83 | [
"39-30=9",
"13*9=117",
"117-34=83"
] | Current State: 83:[30, 13, 34, 39], Operations: []
Exploring Operation: 39-30=9, Resulting Numbers: [13, 34, 9]
Generated Node #2: [13, 34, 9] from Operation: 39-30=9
Current State: 83:[13, 34, 9], Operations: ['39-30=9']
Exploring Operation: 13*9=117, Resulting Numbers: [34, 117]
Generated Node #3: [34, 117] from Operation: 13*9=117
Current State: 83:[34, 117], Operations: ['39-30=9', '13*9=117']
Exploring Operation: 117-34=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[30, 13, 34, 39], Operations: []
Exploring Operation: 30+34=64, Resulting Numbers: [13, 39, 64]
Generated Node #0,0: 83:[13, 39, 64] Operation: 30+34=64
Exploring Operation: 30+13=43, Resulting Numbers: [34, 39, 43]
Generated Node #0,1: 83:[34, 39, 43] Operation: 30+13=43
Exploring Operation: 30+39=69, Resulting Numbers: [13, 34, 69]
Generated Node #0,2: 83:[13, 34, 69] Operation: 30+39=69
Moving to Node #0,0
Current State: 83:[13, 39, 64], Operations: ['30+34=64']
Exploring Operation: 39-13=26, Resulting Numbers: [64, 26]
Generated Node #0,0,0: 83:[64, 26] Operation: 39-13=26
Exploring Operation: 13+64=77, Resulting Numbers: [39, 77]
Generated Node #0,0,1: 83:[39, 77] Operation: 13+64=77
Exploring Operation: 13+39=52, Resulting Numbers: [64, 52]
Generated Node #0,0,2: 83:[64, 52] Operation: 13+39=52
Moving to Node #0,1
Current State: 83:[34, 39, 43], Operations: ['30+13=43']
Exploring Operation: 34+43=77, Resulting Numbers: [39, 77]
Generated Node #0,1,0: 83:[39, 77] Operation: 34+43=77
Exploring Operation: 39+43=82, Resulting Numbers: [34, 82]
Generated Node #0,1,1: 83:[34, 82] Operation: 39+43=82
Exploring Operation: 34+39=73, Resulting Numbers: [43, 73]
Generated Node #0,1,2: 83:[43, 73] Operation: 34+39=73
Moving to Node #0,2
Current State: 83:[13, 34, 69], Operations: ['30+39=69']
Exploring Operation: 34-13=21, Resulting Numbers: [69, 21]
Generated Node #0,2,0: 83:[69, 21] Operation: 34-13=21
Exploring Operation: 13+34=47, Resulting Numbers: [69, 47]
Generated Node #0,2,1: 83:[69, 47] Operation: 13+34=47
Exploring Operation: 13+69=82, Resulting Numbers: [34, 82]
Generated Node #0,2,2: 83:[34, 82] Operation: 13+69=82
Moving to Node #0,0,1
Current State: 83:[39, 77], Operations: ['30+34=64', '13+64=77']
Exploring Operation: 39+77=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Exploring Operation: 39*77=3003, Resulting Numbers: [3003]
3003,83 unequal: No Solution
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[43, 73], Operations: ['30+13=43', '34+39=73']
Exploring Operation: 43+73=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Exploring Operation: 43*73=3139, Resulting Numbers: [3139]
3139,83 unequal: No Solution
Exploring Operation: 73-43=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[69, 47], Operations: ['30+39=69', '13+34=47']
Exploring Operation: 69*47=3243, Resulting Numbers: [3243]
3243,83 unequal: No Solution
Exploring Operation: 69-47=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 69+47=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[34, 82], Operations: ['30+39=69', '13+69=82']
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Exploring Operation: 34*82=2788, Resulting Numbers: [2788]
2788,83 unequal: No Solution
Exploring Operation: 34+82=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[64, 52], Operations: ['30+34=64', '13+39=52']
Exploring Operation: 64+52=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Exploring Operation: 64*52=3328, Resulting Numbers: [3328]
3328,83 unequal: No Solution
Exploring Operation: 64-52=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[34, 82], Operations: ['30+13=43', '39+43=82']
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Exploring Operation: 34*82=2788, Resulting Numbers: [2788]
2788,83 unequal: No Solution
Exploring Operation: 34+82=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[39, 77], Operations: ['30+13=43', '34+43=77']
Exploring Operation: 39*77=3003, Resulting Numbers: [3003]
3003,83 unequal: No Solution
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,83 unequal: No Solution
Exploring Operation: 39+77=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[69, 21], Operations: ['30+39=69', '34-13=21']
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,83 unequal: No Solution
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[64, 26], Operations: ['30+34=64', '39-13=26']
Exploring Operation: 64*26=1664, Resulting Numbers: [1664]
1664,83 unequal: No Solution
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,83 unequal: No Solution
Exploring Operation: 64+26=90, Resulting Numbers: [90]
90,83 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
95,
53,
23,
86
] | 85 | [
"95+53=148",
"86-23=63",
"148-63=85"
] | Current State: 85:[95, 53, 23, 86], Operations: []
Exploring Operation: 95+53=148, Resulting Numbers: [23, 86, 148]
Generated Node #2: [23, 86, 148] from Operation: 95+53=148
Current State: 85:[23, 86, 148], Operations: ['95+53=148']
Exploring Operation: 86-23=63, Resulting Numbers: [148, 63]
Generated Node #3: [148, 63] from Operation: 86-23=63
Current State: 85:[148, 63], Operations: ['95+53=148', '86-23=63']
Exploring Operation: 148-63=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[95, 53, 23, 86], Operations: []
Exploring Operation: 53+23=76, Resulting Numbers: [95, 86, 76]
Generated Node #0,0: 85:[95, 86, 76] Operation: 53+23=76
Exploring Operation: 86-53=33, Resulting Numbers: [95, 23, 33]
Generated Node #0,1: 85:[95, 23, 33] Operation: 86-53=33
Exploring Operation: 95-86=9, Resulting Numbers: [53, 23, 9]
Generated Node #0,2: 85:[53, 23, 9] Operation: 95-86=9
Exploring Operation: 95-53=42, Resulting Numbers: [23, 86, 42]
Generated Node #0,3: 85:[23, 86, 42] Operation: 95-53=42
Exploring Operation: 53-23=30, Resulting Numbers: [95, 86, 30]
Generated Node #0,4: 85:[95, 86, 30] Operation: 53-23=30
Moving to Node #0,0
Current State: 85:[95, 86, 76], Operations: ['53+23=76']
Exploring Operation: 86+76=162, Resulting Numbers: [95, 162]
Generated Node #0,0,0: 85:[95, 162] Operation: 86+76=162
Exploring Operation: 95-86=9, Resulting Numbers: [76, 9]
Generated Node #0,0,1: 85:[76, 9] Operation: 95-86=9
Exploring Operation: 95+76=171, Resulting Numbers: [86, 171]
Generated Node #0,0,2: 85:[86, 171] Operation: 95+76=171
Exploring Operation: 95-76=19, Resulting Numbers: [86, 19]
Generated Node #0,0,3: 85:[86, 19] Operation: 95-76=19
Exploring Operation: 86-76=10, Resulting Numbers: [95, 10]
Generated Node #0,0,4: 85:[95, 10] Operation: 86-76=10
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 85:[86, 19], Operations: ['53+23=76', '95-76=19']
Exploring Operation: 86+19=105, Resulting Numbers: [105]
105,85 unequal: No Solution
Exploring Operation: 86*19=1634, Resulting Numbers: [1634]
1634,85 unequal: No Solution
Exploring Operation: 86-19=67, Resulting Numbers: [67]
67,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,0,1
Current State: 85:[76, 9], Operations: ['53+23=76', '95-86=9']
Exploring Operation: 76+9=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[95, 53, 23, 86], Operations: []
Exploring Operation: 53+23=76, Resulting Numbers: [95, 86, 76]
Generated Node #0,0: 85:[95, 86, 76] Operation: 53+23=76
Moving to Node #0,0
Current State: 85:[95, 86, 76], Operations: ['53+23=76']
Exploring Operation: 95-86=9, Resulting Numbers: [76, 9]
Generated Node #0,0,1: 85:[76, 9] Operation: 95-86=9
Moving to Node #0,0,1
Current State: 85:[76, 9], Operations: ['53+23=76', '95-86=9']
Exploring Operation: 76+9=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
16,
57,
93,
2
] | 97 | [
"93-16=77",
"2*77=154",
"154-57=97"
] | Current State: 97:[16, 57, 93, 2], Operations: []
Exploring Operation: 93-16=77, Resulting Numbers: [57, 2, 77]
Generated Node #2: [57, 2, 77] from Operation: 93-16=77
Current State: 97:[57, 2, 77], Operations: ['93-16=77']
Exploring Operation: 2*77=154, Resulting Numbers: [57, 154]
Generated Node #3: [57, 154] from Operation: 2*77=154
Current State: 97:[57, 154], Operations: ['93-16=77', '2*77=154']
Exploring Operation: 154-57=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[16, 57, 93, 2], Operations: []
Exploring Operation: 16+57=73, Resulting Numbers: [93, 2, 73]
Generated Node #0,0: 97:[93, 2, 73] Operation: 16+57=73
Exploring Operation: 57*2=114, Resulting Numbers: [16, 93, 114]
Generated Node #0,1: 97:[16, 93, 114] Operation: 57*2=114
Exploring Operation: 16+2=18, Resulting Numbers: [57, 93, 18]
Generated Node #0,2: 97:[57, 93, 18] Operation: 16+2=18
Exploring Operation: 16*2=32, Resulting Numbers: [57, 93, 32]
Generated Node #0,3: 97:[57, 93, 32] Operation: 16*2=32
Exploring Operation: 57+2=59, Resulting Numbers: [16, 93, 59]
Generated Node #0,4: 97:[16, 93, 59] Operation: 57+2=59
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[16, 93, 114], Operations: ['57*2=114']
Exploring Operation: 16+93=109, Resulting Numbers: [114, 109]
Generated Node #0,1,0: 97:[114, 109] Operation: 16+93=109
Exploring Operation: 114-93=21, Resulting Numbers: [16, 21]
Generated Node #0,1,1: 97:[16, 21] Operation: 114-93=21
Exploring Operation: 16+114=130, Resulting Numbers: [93, 130]
Generated Node #0,1,2: 97:[93, 130] Operation: 16+114=130
Exploring Operation: 114-16=98, Resulting Numbers: [93, 98]
Generated Node #0,1,3: 97:[93, 98] Operation: 114-16=98
Exploring Operation: 93-16=77, Resulting Numbers: [114, 77]
Generated Node #0,1,4: 97:[114, 77] Operation: 93-16=77
Moving to Node #0,1,3
Current State: 97:[93, 98], Operations: ['57*2=114', '114-16=98']
Exploring Operation: 93*98=9114, Resulting Numbers: [9114]
9114,97 unequal: No Solution
Exploring Operation: 98-93=5, Resulting Numbers: [5]
5,97 unequal: No Solution
Exploring Operation: 93+98=191, Resulting Numbers: [191]
191,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[114, 109], Operations: ['57*2=114', '16+93=109']
Exploring Operation: 114*109=12426, Resulting Numbers: [12426]
12426,97 unequal: No Solution
Exploring Operation: 114-109=5, Resulting Numbers: [5]
5,97 unequal: No Solution
Exploring Operation: 114+109=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[93, 130], Operations: ['57*2=114', '16+114=130']
Exploring Operation: 130-93=37, Resulting Numbers: [37]
37,97 unequal: No Solution
Exploring Operation: 93+130=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Exploring Operation: 93*130=12090, Resulting Numbers: [12090]
12090,97 unequal: No Solution
Moving to Node #0,1,4
Current State: 97:[114, 77], Operations: ['57*2=114', '93-16=77']
Exploring Operation: 114-77=37, Resulting Numbers: [37]
37,97 unequal: No Solution
Exploring Operation: 114+77=191, Resulting Numbers: [191]
191,97 unequal: No Solution
Exploring Operation: 114*77=8778, Resulting Numbers: [8778]
8778,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[16, 21], Operations: ['57*2=114', '114-93=21']
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,97 unequal: No Solution
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,97 unequal: No Solution
Exploring Operation: 16*21=336, Resulting Numbers: [336]
336,97 unequal: No Solution
No 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:[57, 93, 32], Operations: ['16*2=32']
Exploring Operation: 93+32=125, Resulting Numbers: [57, 125]
Generated Node #0,3,0: 97:[57, 125] Operation: 93+32=125
Exploring Operation: 57+93=150, Resulting Numbers: [32, 150]
Generated Node #0,3,1: 97:[32, 150] Operation: 57+93=150
Exploring Operation: 57-32=25, Resulting Numbers: [93, 25]
Generated Node #0,3,2: 97:[93, 25] Operation: 57-32=25
Exploring Operation: 93-32=61, Resulting Numbers: [57, 61]
Generated Node #0,3,3: 97:[57, 61] Operation: 93-32=61
Exploring Operation: 57+32=89, Resulting Numbers: [93, 89]
Generated Node #0,3,4: 97:[93, 89] Operation: 57+32=89
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 97:[93, 89], Operations: ['16*2=32', '57+32=89']
Exploring Operation: 93+89=182, Resulting Numbers: [182]
182,97 unequal: No Solution
Exploring Operation: 93-89=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Exploring Operation: 93*89=8277, Resulting Numbers: [8277]
8277,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:[57, 125], Operations: ['16*2=32', '93+32=125']
Exploring Operation: 125-57=68, Resulting Numbers: [68]
68,97 unequal: No Solution
Exploring Operation: 57*125=7125, Resulting Numbers: [7125]
7125,97 unequal: No Solution
Exploring Operation: 57+125=182, Resulting Numbers: [182]
182,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:[93, 25], Operations: ['16*2=32', '57-32=25']
Exploring Operation: 93-25=68, Resulting Numbers: [68]
68,97 unequal: No Solution
Exploring Operation: 93*25=2325, Resulting Numbers: [2325]
2325,97 unequal: No Solution
Exploring Operation: 93+25=118, Resulting Numbers: [118]
118,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,3
Current State: 97:[57, 61], Operations: ['16*2=32', '93-32=61']
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Exploring Operation: 57*61=3477, Resulting Numbers: [3477]
3477,97 unequal: No Solution
Exploring Operation: 57+61=118, Resulting Numbers: [118]
118,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:[32, 150], Operations: ['16*2=32', '57+93=150']
Exploring Operation: 32+150=182, Resulting Numbers: [182]
182,97 unequal: No Solution
Exploring Operation: 32*150=4800, Resulting Numbers: [4800]
4800,97 unequal: No Solution
Exploring Operation: 150-32=118, Resulting Numbers: [118]
118,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,0
Current State: 97:[93, 2, 73], Operations: ['16+57=73']
Exploring Operation: 2+73=75, Resulting Numbers: [93, 75]
Generated Node #0,0,0: 97:[93, 75] Operation: 2+73=75
Exploring Operation: 93+2=95, Resulting Numbers: [73, 95]
Generated Node #0,0,1: 97:[73, 95] Operation: 93+2=95
Exploring Operation: 2*73=146, Resulting Numbers: [93, 146]
Generated Node #0,0,2: 97:[93, 146] Operation: 2*73=146
Exploring Operation: 93-2=91, Resulting Numbers: [73, 91]
Generated Node #0,0,3: 97:[73, 91] Operation: 93-2=91
Exploring Operation: 73-2=71, Resulting Numbers: [93, 71]
Generated Node #0,0,4: 97:[93, 71] Operation: 73-2=71
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[93, 75], Operations: ['16+57=73', '2+73=75']
Exploring Operation: 93-75=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Exploring Operation: 93*75=6975, Resulting Numbers: [6975]
6975,97 unequal: No Solution
Exploring Operation: 93+75=168, Resulting Numbers: [168]
168,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:[73, 95], Operations: ['16+57=73', '93+2=95']
Exploring Operation: 73*95=6935, Resulting Numbers: [6935]
6935,97 unequal: No Solution
Exploring Operation: 95-73=22, Resulting Numbers: [22]
22,97 unequal: No Solution
Exploring Operation: 73+95=168, Resulting Numbers: [168]
168,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,3
Current State: 97:[73, 91], Operations: ['16+57=73', '93-2=91']
Exploring Operation: 73*91=6643, Resulting Numbers: [6643]
6643,97 unequal: No Solution
Exploring Operation: 73+91=164, Resulting Numbers: [164]
164,97 unequal: No Solution
Exploring Operation: 91-73=18, Resulting Numbers: [18]
18,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,4
Current State: 97:[93, 71], Operations: ['16+57=73', '73-2=71']
Exploring Operation: 93+71=164, Resulting Numbers: [164]
164,97 unequal: No Solution
Exploring Operation: 93-71=22, Resulting Numbers: [22]
22,97 unequal: No Solution
Exploring Operation: 93*71=6603, Resulting Numbers: [6603]
6603,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:[93, 146], Operations: ['16+57=73', '2*73=146']
Exploring Operation: 93*146=13578, Resulting Numbers: [13578]
13578,97 unequal: No Solution
Exploring Operation: 146-93=53, Resulting Numbers: [53]
53,97 unequal: No Solution
Exploring Operation: 93+146=239, Resulting Numbers: [239]
239,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:[57, 93, 18], Operations: ['16+2=18']
Exploring Operation: 93+18=111, Resulting Numbers: [57, 111]
Generated Node #0,2,0: 97:[57, 111] Operation: 93+18=111
Exploring Operation: 57+18=75, Resulting Numbers: [93, 75]
Generated Node #0,2,1: 97:[93, 75] Operation: 57+18=75
Exploring Operation: 57-18=39, Resulting Numbers: [93, 39]
Generated Node #0,2,2: 97:[93, 39] Operation: 57-18=39
Exploring Operation: 57+93=150, Resulting Numbers: [18, 150]
Generated Node #0,2,3: 97:[18, 150] Operation: 57+93=150
Exploring Operation: 93-18=75, Resulting Numbers: [57, 75]
Generated Node #0,2,4: 97:[57, 75] Operation: 93-18=75
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 97:[93, 75], Operations: ['16+2=18', '57+18=75']
Exploring Operation: 93-75=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Exploring Operation: 93+75=168, Resulting Numbers: [168]
168,97 unequal: No Solution
Exploring Operation: 93*75=6975, Resulting Numbers: [6975]
6975,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,0
Current State: 97:[57, 111], Operations: ['16+2=18', '93+18=111']
Exploring Operation: 111-57=54, Resulting Numbers: [54]
54,97 unequal: No Solution
Exploring Operation: 57+111=168, Resulting Numbers: [168]
168,97 unequal: No Solution
Exploring Operation: 57*111=6327, Resulting Numbers: [6327]
6327,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:[93, 39], Operations: ['16+2=18', '57-18=39']
Exploring Operation: 93*39=3627, Resulting Numbers: [3627]
3627,97 unequal: No Solution
Exploring Operation: 93+39=132, Resulting Numbers: [132]
132,97 unequal: No Solution
Exploring Operation: 93-39=54, Resulting Numbers: [54]
54,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,4
Current State: 97:[57, 75], Operations: ['16+2=18', '93-18=75']
Exploring Operation: 57+75=132, Resulting Numbers: [132]
132,97 unequal: No Solution
Exploring Operation: 75-57=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Exploring Operation: 57*75=4275, Resulting Numbers: [4275]
4275,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:[18, 150], Operations: ['16+2=18', '57+93=150']
Exploring Operation: 18+150=168, Resulting Numbers: [168]
168,97 unequal: No Solution
Exploring Operation: 150-18=132, Resulting Numbers: [132]
132,97 unequal: No Solution
Exploring Operation: 18*150=2700, Resulting Numbers: [2700]
2700,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,4
Current State: 97:[16, 93, 59], Operations: ['57+2=59']
Exploring Operation: 93-16=77, Resulting Numbers: [59, 77]
Generated Node #0,4,0: 97:[59, 77] Operation: 93-16=77
Exploring Operation: 93+59=152, Resulting Numbers: [16, 152]
Generated Node #0,4,1: 97:[16, 152] Operation: 93+59=152
Exploring Operation: 59-16=43, Resulting Numbers: [93, 43]
Generated Node #0,4,2: 97:[93, 43] Operation: 59-16=43
Exploring Operation: 16+93=109, Resulting Numbers: [59, 109]
Generated Node #0,4,3: 97:[59, 109] Operation: 16+93=109
Exploring Operation: 16+59=75, Resulting Numbers: [93, 75]
Generated Node #0,4,4: 97:[93, 75] Operation: 16+59=75
Moving to Node #0,4,4
Current State: 97:[93, 75], Operations: ['57+2=59', '16+59=75']
Exploring Operation: 93+75=168, Resulting Numbers: [168]
168,97 unequal: No Solution
Exploring Operation: 93*75=6975, Resulting Numbers: [6975]
6975,97 unequal: No Solution
Exploring Operation: 93-75=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Moving to Node #0,4,3
Current State: 97:[59, 109], Operations: ['57+2=59', '16+93=109']
Exploring Operation: 59*109=6431, Resulting Numbers: [6431]
6431,97 unequal: No Solution
Exploring Operation: 59+109=168, Resulting Numbers: [168]
168,97 unequal: No Solution
Exploring Operation: 109-59=50, Resulting Numbers: [50]
50,97 unequal: No Solution
Moving to Node #0,4,0
Current State: 97:[59, 77], Operations: ['57+2=59', '93-16=77']
Exploring Operation: 59*77=4543, Resulting Numbers: [4543]
4543,97 unequal: No Solution
Exploring Operation: 59+77=136, Resulting Numbers: [136]
136,97 unequal: No Solution
Exploring Operation: 77-59=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Moving to Node #0,4,2
Current State: 97:[93, 43], Operations: ['57+2=59', '59-16=43']
Exploring Operation: 93*43=3999, Resulting Numbers: [3999]
3999,97 unequal: No Solution
Exploring Operation: 93+43=136, Resulting Numbers: [136]
136,97 unequal: No Solution
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,97 unequal: No Solution
Moving to Node #0,4,1
Current State: 97:[16, 152], Operations: ['57+2=59', '93+59=152']
Exploring Operation: 16*152=2432, Resulting Numbers: [2432]
2432,97 unequal: No Solution
Exploring Operation: 16+152=168, Resulting Numbers: [168]
168,97 unequal: No Solution
Exploring Operation: 152-16=136, Resulting Numbers: [136]
136,97 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 |
[
37,
42,
96,
34
] | 67 | [
"42-37=5",
"96-34=62",
"5+62=67"
] | Current State: 67:[37, 42, 96, 34], Operations: []
Exploring Operation: 42-37=5, Resulting Numbers: [96, 34, 5]
Generated Node #2: [96, 34, 5] from Operation: 42-37=5
Current State: 67:[96, 34, 5], Operations: ['42-37=5']
Exploring Operation: 96-34=62, Resulting Numbers: [5, 62]
Generated Node #3: [5, 62] from Operation: 96-34=62
Current State: 67:[5, 62], Operations: ['42-37=5', '96-34=62']
Exploring Operation: 5+62=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[37, 42, 96, 34], Operations: []
Exploring Operation: 37+34=71, Resulting Numbers: [42, 96, 71]
Generated Node #0,0: 67:[42, 96, 71] Operation: 37+34=71
Moving to Node #0,0
Current State: 67:[42, 96, 71], Operations: ['37+34=71']
Exploring Operation: 96-42=54, Resulting Numbers: [71, 54]
Generated Node #0,0,0: 67:[71, 54] Operation: 96-42=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[71, 54], Operations: ['37+34=71', '96-42=54']
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,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 | sum_heuristic |
[
81,
84,
12,
68
] | 83 | [
"84-81=3",
"12+68=80",
"3+80=83"
] | Current State: 83:[81, 84, 12, 68], Operations: []
Exploring Operation: 84-81=3, Resulting Numbers: [12, 68, 3]
Generated Node #2: [12, 68, 3] from Operation: 84-81=3
Current State: 83:[12, 68, 3], Operations: ['84-81=3']
Exploring Operation: 12+68=80, Resulting Numbers: [3, 80]
Generated Node #3: [3, 80] from Operation: 12+68=80
Current State: 83:[3, 80], Operations: ['84-81=3', '12+68=80']
Exploring Operation: 3+80=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[81, 84, 12, 68], Operations: []
Exploring Operation: 12+68=80, Resulting Numbers: [81, 84, 80]
Generated Node #0,0: 83:[81, 84, 80] Operation: 12+68=80
Exploring Operation: 81-12=69, Resulting Numbers: [84, 68, 69]
Generated Node #0,1: 83:[84, 68, 69] Operation: 81-12=69
Exploring Operation: 81+12=93, Resulting Numbers: [84, 68, 93]
Generated Node #0,2: 83:[84, 68, 93] Operation: 81+12=93
Exploring Operation: 84-12=72, Resulting Numbers: [81, 68, 72]
Generated Node #0,3: 83:[81, 68, 72] Operation: 84-12=72
Exploring Operation: 84+12=96, Resulting Numbers: [81, 68, 96]
Generated Node #0,4: 83:[81, 68, 96] Operation: 84+12=96
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[81, 84, 80], Operations: ['12+68=80']
Exploring Operation: 84+80=164, Resulting Numbers: [81, 164]
Generated Node #0,0,0: 83:[81, 164] Operation: 84+80=164
Exploring Operation: 84-80=4, Resulting Numbers: [81, 4]
Generated Node #0,0,1: 83:[81, 4] Operation: 84-80=4
Exploring Operation: 81-80=1, Resulting Numbers: [84, 1]
Generated Node #0,0,2: 83:[84, 1] Operation: 81-80=1
Exploring Operation: 84-81=3, Resulting Numbers: [80, 3]
Generated Node #0,0,3: 83:[80, 3] Operation: 84-81=3
Exploring Operation: 81+80=161, Resulting Numbers: [84, 161]
Generated Node #0,0,4: 83:[84, 161] Operation: 81+80=161
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 83:[84, 161], Operations: ['12+68=80', '81+80=161']
Exploring Operation: 161-84=77, Resulting Numbers: [77]
77,83 unequal: No Solution
Exploring Operation: 84*161=13524, Resulting Numbers: [13524]
13524,83 unequal: No Solution
Exploring Operation: 84+161=245, Resulting Numbers: [245]
245,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[81, 4], Operations: ['12+68=80', '84-80=4']
Exploring Operation: 81*4=324, Resulting Numbers: [324]
324,83 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,83 unequal: No Solution
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[81, 164], Operations: ['12+68=80', '84+80=164']
Exploring Operation: 81+164=245, Resulting Numbers: [245]
245,83 unequal: No Solution
Exploring Operation: 164-81=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[81, 84, 12, 68], Operations: []
Exploring Operation: 12+68=80, Resulting Numbers: [81, 84, 80]
Generated Node #0,0: 83:[81, 84, 80] Operation: 12+68=80
Moving to Node #0,0
Current State: 83:[81, 84, 80], Operations: ['12+68=80']
Exploring Operation: 84+80=164, Resulting Numbers: [81, 164]
Generated Node #0,0,0: 83:[81, 164] Operation: 84+80=164
Moving to Node #0,0,0
Current State: 83:[81, 164], Operations: ['12+68=80', '84+80=164']
Exploring Operation: 164-81=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
37,
46,
95,
49
] | 61 | [
"37+46=83",
"95+49=144",
"144-83=61"
] | Current State: 61:[37, 46, 95, 49], Operations: []
Exploring Operation: 37+46=83, Resulting Numbers: [95, 49, 83]
Generated Node #2: [95, 49, 83] from Operation: 37+46=83
Current State: 61:[95, 49, 83], Operations: ['37+46=83']
Exploring Operation: 95+49=144, Resulting Numbers: [83, 144]
Generated Node #3: [83, 144] from Operation: 95+49=144
Current State: 61:[83, 144], Operations: ['37+46=83', '95+49=144']
Exploring Operation: 144-83=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[37, 46, 95, 49], Operations: []
Exploring Operation: 95-46=49, Resulting Numbers: [37, 49, 49]
Generated Node #0,0: 61:[37, 49, 49] Operation: 95-46=49
Exploring Operation: 95-37=58, Resulting Numbers: [46, 49, 58]
Generated Node #0,1: 61:[46, 49, 58] Operation: 95-37=58
Moving to Node #0,1
Current State: 61:[46, 49, 58], Operations: ['95-37=58']
Exploring Operation: 46+58=104, Resulting Numbers: [49, 104]
Generated Node #0,1,0: 61:[49, 104] Operation: 46+58=104
Exploring Operation: 46+49=95, Resulting Numbers: [58, 95]
Generated Node #0,1,1: 61:[58, 95] Operation: 46+49=95
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[58, 95], Operations: ['95-37=58', '46+49=95']
Exploring Operation: 58+95=153, Resulting Numbers: [153]
153,61 unequal: No Solution
Exploring Operation: 95-58=37, Resulting Numbers: [37]
37,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[49, 104], Operations: ['95-37=58', '46+58=104']
Exploring Operation: 49+104=153, Resulting Numbers: [153]
153,61 unequal: No Solution
Exploring Operation: 104-49=55, Resulting Numbers: [55]
55,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 61:[37, 49, 49], Operations: ['95-46=49']
Exploring Operation: 37+49=86, Resulting Numbers: [49, 86]
Generated Node #0,0,0: 61:[49, 86] Operation: 37+49=86
Exploring Operation: 37+49=86, Resulting Numbers: [49, 86]
Generated Node #0,0,1: 61:[49, 86] Operation: 37+49=86
Moving to Node #0,0,0
Current State: 61:[49, 86], Operations: ['95-46=49', '37+49=86']
Exploring Operation: 49+86=135, Resulting Numbers: [135]
135,61 unequal: No Solution
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[49, 86], Operations: ['95-46=49', '37+49=86']
Exploring Operation: 49+86=135, Resulting Numbers: [135]
135,61 unequal: No Solution
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,61 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
70,
10,
96,
64
] | 95 | [
"70*96=6720",
"6720/64=105",
"105-10=95"
] | Current State: 95:[70, 10, 96, 64], Operations: []
Exploring Operation: 70*96=6720, Resulting Numbers: [10, 64, 6720]
Generated Node #2: [10, 64, 6720] from Operation: 70*96=6720
Current State: 95:[10, 64, 6720], Operations: ['70*96=6720']
Exploring Operation: 6720/64=105, Resulting Numbers: [10, 105]
Generated Node #3: [10, 105] from Operation: 6720/64=105
Current State: 95:[10, 105], Operations: ['70*96=6720', '6720/64=105']
Exploring Operation: 105-10=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[70, 10, 96, 64], Operations: []
Exploring Operation: 70-64=6, Resulting Numbers: [10, 96, 6]
Generated Node #0,0: 95:[10, 96, 6] Operation: 70-64=6
Exploring Operation: 96-70=26, Resulting Numbers: [10, 64, 26]
Generated Node #0,1: 95:[10, 64, 26] Operation: 96-70=26
Exploring Operation: 70/10=7, Resulting Numbers: [96, 64, 7]
Generated Node #0,2: 95:[96, 64, 7] Operation: 70/10=7
Moving to Node #0,0
Current State: 95:[10, 96, 6], Operations: ['70-64=6']
Exploring Operation: 10+6=16, Resulting Numbers: [96, 16]
Generated Node #0,0,0: 95:[96, 16] Operation: 10+6=16
Exploring Operation: 10-6=4, Resulting Numbers: [96, 4]
Generated Node #0,0,1: 95:[96, 4] Operation: 10-6=4
Exploring Operation: 96/6=16, Resulting Numbers: [10, 16]
Generated Node #0,0,2: 95:[10, 16] Operation: 96/6=16
Moving to Node #0,2
Current State: 95:[96, 64, 7], Operations: ['70/10=7']
Exploring Operation: 96-64=32, Resulting Numbers: [7, 32]
Generated Node #0,2,0: 95:[7, 32] Operation: 96-64=32
Exploring Operation: 96-7=89, Resulting Numbers: [64, 89]
Generated Node #0,2,1: 95:[64, 89] Operation: 96-7=89
Exploring Operation: 64+7=71, Resulting Numbers: [96, 71]
Generated Node #0,2,2: 95:[96, 71] Operation: 64+7=71
Moving to Node #0,1
Current State: 95:[10, 64, 26], Operations: ['96-70=26']
Exploring Operation: 64+26=90, Resulting Numbers: [10, 90]
Generated Node #0,1,0: 95:[10, 90] Operation: 64+26=90
Exploring Operation: 10+64=74, Resulting Numbers: [26, 74]
Generated Node #0,1,1: 95:[26, 74] Operation: 10+64=74
Exploring Operation: 64-26=38, Resulting Numbers: [10, 38]
Generated Node #0,1,2: 95:[10, 38] Operation: 64-26=38
Moving to Node #0,0,1
Current State: 95:[96, 4], Operations: ['70-64=6', '10-6=4']
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,95 unequal: No Solution
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,95 unequal: No Solution
Exploring Operation: 96+4=100, Resulting Numbers: [100]
100,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[96, 16], Operations: ['70-64=6', '10+6=16']
Exploring Operation: 96+16=112, Resulting Numbers: [112]
112,95 unequal: No Solution
Exploring Operation: 96/16=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 96-16=80, Resulting Numbers: [80]
80,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[10, 16], Operations: ['70-64=6', '96/6=16']
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,95 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[10, 90], Operations: ['96-70=26', '64+26=90']
Exploring Operation: 90/10=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 10+90=100, Resulting Numbers: [100]
100,95 unequal: No Solution
Exploring Operation: 90-10=80, Resulting Numbers: [80]
80,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[7, 32], Operations: ['70/10=7', '96-64=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,95 unequal: No Solution
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,95 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[10, 38], Operations: ['96-70=26', '64-26=38']
Exploring Operation: 10*38=380, Resulting Numbers: [380]
380,95 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,95 unequal: No Solution
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[96, 71], Operations: ['70/10=7', '64+7=71']
Exploring Operation: 96-71=25, Resulting Numbers: [25]
25,95 unequal: No Solution
Exploring Operation: 96*71=6816, Resulting Numbers: [6816]
6816,95 unequal: No Solution
Exploring Operation: 96+71=167, Resulting Numbers: [167]
167,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[26, 74], Operations: ['96-70=26', '10+64=74']
Exploring Operation: 26*74=1924, Resulting Numbers: [1924]
1924,95 unequal: No Solution
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,95 unequal: No Solution
Exploring Operation: 26+74=100, Resulting Numbers: [100]
100,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[64, 89], Operations: ['70/10=7', '96-7=89']
Exploring Operation: 64+89=153, Resulting Numbers: [153]
153,95 unequal: No Solution
Exploring Operation: 89-64=25, Resulting Numbers: [25]
25,95 unequal: No Solution
Exploring Operation: 64*89=5696, Resulting Numbers: [5696]
5696,95 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
24,
87,
67,
23
] | 20 | [
"24-23=1",
"87-67=20",
"1*20=20"
] | Current State: 20:[24, 87, 67, 23], Operations: []
Exploring Operation: 24-23=1, Resulting Numbers: [87, 67, 1]
Generated Node #2: [87, 67, 1] from Operation: 24-23=1
Current State: 20:[87, 67, 1], Operations: ['24-23=1']
Exploring Operation: 87-67=20, Resulting Numbers: [1, 20]
Generated Node #3: [1, 20] from Operation: 87-67=20
Current State: 20:[1, 20], Operations: ['24-23=1', '87-67=20']
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[24, 87, 67, 23], Operations: []
Exploring Operation: 67-24=43, Resulting Numbers: [87, 23, 43]
Generated Node #0,0: 20:[87, 23, 43] Operation: 67-24=43
Exploring Operation: 87-24=63, Resulting Numbers: [67, 23, 63]
Generated Node #0,1: 20:[67, 23, 63] Operation: 87-24=63
Exploring Operation: 87-67=20, Resulting Numbers: [24, 23, 20]
Generated Node #0,2: 20:[24, 23, 20] Operation: 87-67=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[24, 23, 20], Operations: ['87-67=20']
Exploring Operation: 23-20=3, Resulting Numbers: [24, 3]
Generated Node #0,2,0: 20:[24, 3] Operation: 23-20=3
Exploring Operation: 24-20=4, Resulting Numbers: [23, 4]
Generated Node #0,2,1: 20:[23, 4] Operation: 24-20=4
Exploring Operation: 24-23=1, Resulting Numbers: [20, 1]
Generated Node #0,2,2: 20:[20, 1] Operation: 24-23=1
Moving to Node #0,2,2
Current State: 20:[20, 1], Operations: ['87-67=20', '24-23=1']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[24, 87, 67, 23], Operations: []
Exploring Operation: 87-67=20, Resulting Numbers: [24, 23, 20]
Generated Node #0,2: 20:[24, 23, 20] Operation: 87-67=20
Moving to Node #0,2
Current State: 20:[24, 23, 20], Operations: ['87-67=20']
Exploring Operation: 24-23=1, Resulting Numbers: [20, 1]
Generated Node #0,2,2: 20:[20, 1] Operation: 24-23=1
Moving to Node #0,2,2
Current State: 20:[20, 1], Operations: ['87-67=20', '24-23=1']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
45,
48,
12,
42
] | 91 | [
"45+42=87",
"48/12=4",
"87+4=91"
] | Current State: 91:[45, 48, 12, 42], Operations: []
Exploring Operation: 45+42=87, Resulting Numbers: [48, 12, 87]
Generated Node #2: [48, 12, 87] from Operation: 45+42=87
Current State: 91:[48, 12, 87], Operations: ['45+42=87']
Exploring Operation: 48/12=4, Resulting Numbers: [87, 4]
Generated Node #3: [87, 4] from Operation: 48/12=4
Current State: 91:[87, 4], Operations: ['45+42=87', '48/12=4']
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[45, 48, 12, 42], Operations: []
Exploring Operation: 45+48=93, Resulting Numbers: [12, 42, 93]
Generated Node #0,0: 91:[12, 42, 93] Operation: 45+48=93
Moving to Node #0,0
Current State: 91:[12, 42, 93], Operations: ['45+48=93']
Exploring Operation: 42-12=30, Resulting Numbers: [93, 30]
Generated Node #0,0,0: 91:[93, 30] Operation: 42-12=30
Moving to Node #0,0,0
Current State: 91:[93, 30], Operations: ['45+48=93', '42-12=30']
Exploring Operation: 93-30=63, Resulting Numbers: [63]
63,91 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
64,
12,
14,
8
] | 56 | [
"64/8=8",
"12-8=4",
"14*4=56"
] | Current State: 56:[64, 12, 14, 8], Operations: []
Exploring Operation: 64/8=8, Resulting Numbers: [12, 14, 8]
Generated Node #2: [12, 14, 8] from Operation: 64/8=8
Current State: 56:[12, 14, 8], Operations: ['64/8=8']
Exploring Operation: 12-8=4, Resulting Numbers: [14, 4]
Generated Node #3: [14, 4] from Operation: 12-8=4
Current State: 56:[14, 4], Operations: ['64/8=8', '12-8=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[64, 12, 14, 8], Operations: []
Exploring Operation: 64/8=8, Resulting Numbers: [12, 14, 8]
Generated Node #0,0: 56:[12, 14, 8] Operation: 64/8=8
Exploring Operation: 64-8=56, Resulting Numbers: [12, 14, 56]
Generated Node #0,1: 56:[12, 14, 56] Operation: 64-8=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[12, 14, 8], Operations: ['64/8=8']
Exploring Operation: 14-12=2, Resulting Numbers: [8, 2]
Generated Node #0,0,0: 56:[8, 2] Operation: 14-12=2
Exploring Operation: 12-8=4, Resulting Numbers: [14, 4]
Generated Node #0,0,1: 56:[14, 4] Operation: 12-8=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[8, 2], Operations: ['64/8=8', '14-12=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,56 unequal: No Solution
No 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: 56:[14, 4], Operations: ['64/8=8', '12-8=4']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[64, 12, 14, 8], Operations: []
Exploring Operation: 64/8=8, Resulting Numbers: [12, 14, 8]
Generated Node #0,0: 56:[12, 14, 8] Operation: 64/8=8
Moving to Node #0,0
Current State: 56:[12, 14, 8], Operations: ['64/8=8']
Exploring Operation: 12-8=4, Resulting Numbers: [14, 4]
Generated Node #0,0,1: 56:[14, 4] Operation: 12-8=4
Moving to Node #0,0,1
Current State: 56:[14, 4], Operations: ['64/8=8', '12-8=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
68,
17,
65,
32
] | 29 | [
"68/17=4",
"65-32=33",
"33-4=29"
] | Current State: 29:[68, 17, 65, 32], Operations: []
Exploring Operation: 68/17=4, Resulting Numbers: [65, 32, 4]
Generated Node #2: [65, 32, 4] from Operation: 68/17=4
Current State: 29:[65, 32, 4], Operations: ['68/17=4']
Exploring Operation: 65-32=33, Resulting Numbers: [4, 33]
Generated Node #3: [4, 33] from Operation: 65-32=33
Current State: 29:[4, 33], Operations: ['68/17=4', '65-32=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[68, 17, 65, 32], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [17, 32, 3]
Generated Node #0,0: 29:[17, 32, 3] Operation: 68-65=3
Exploring Operation: 68-32=36, Resulting Numbers: [17, 65, 36]
Generated Node #0,1: 29:[17, 65, 36] Operation: 68-32=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[17, 32, 3], Operations: ['68-65=3']
Exploring Operation: 32-3=29, Resulting Numbers: [17, 29]
Generated Node #0,0,0: 29:[17, 29] Operation: 32-3=29
Exploring Operation: 17+3=20, Resulting Numbers: [32, 20]
Generated Node #0,0,1: 29:[32, 20] Operation: 17+3=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[17, 29], Operations: ['68-65=3', '32-3=29']
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,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:[32, 20], Operations: ['68-65=3', '17+3=20']
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,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:[17, 65, 36], Operations: ['68-32=36']
Exploring Operation: 65-36=29, Resulting Numbers: [17, 29]
Generated Node #0,1,0: 29:[17, 29] Operation: 65-36=29
Exploring Operation: 65-17=48, Resulting Numbers: [36, 48]
Generated Node #0,1,1: 29:[36, 48] Operation: 65-17=48
Moving to Node #0,1,0
Current State: 29:[17, 29], Operations: ['68-32=36', '65-36=29']
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[36, 48], Operations: ['68-32=36', '65-17=48']
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 36+48=84, Resulting Numbers: [84]
84,29 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 |
[
33,
37,
67,
63
] | 74 | [
"33+37=70",
"67-63=4",
"70+4=74"
] | Current State: 74:[33, 37, 67, 63], Operations: []
Exploring Operation: 33+37=70, Resulting Numbers: [67, 63, 70]
Generated Node #2: [67, 63, 70] from Operation: 33+37=70
Current State: 74:[67, 63, 70], Operations: ['33+37=70']
Exploring Operation: 67-63=4, Resulting Numbers: [70, 4]
Generated Node #3: [70, 4] from Operation: 67-63=4
Current State: 74:[70, 4], Operations: ['33+37=70', '67-63=4']
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[33, 37, 67, 63], Operations: []
Exploring Operation: 67-63=4, Resulting Numbers: [33, 37, 4]
Generated Node #0,0: 74:[33, 37, 4] Operation: 67-63=4
Moving to Node #0,0
Current State: 74:[33, 37, 4], Operations: ['67-63=4']
Exploring Operation: 33+4=37, Resulting Numbers: [37, 37]
Generated Node #0,0,0: 74:[37, 37] Operation: 33+4=37
Moving to Node #0,0,0
Current State: 74:[37, 37], Operations: ['67-63=4', '33+4=37']
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[33, 37, 67, 63], Operations: []
Exploring Operation: 67-63=4, Resulting Numbers: [33, 37, 4]
Generated Node #0,0: 74:[33, 37, 4] Operation: 67-63=4
Moving to Node #0,0
Current State: 74:[33, 37, 4], Operations: ['67-63=4']
Exploring Operation: 33+4=37, Resulting Numbers: [37, 37]
Generated Node #0,0,0: 74:[37, 37] Operation: 33+4=37
Moving to Node #0,0,0
Current State: 74:[37, 37], Operations: ['67-63=4', '33+4=37']
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.