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 |
|---|---|---|---|---|---|---|---|---|
[
48,
94,
10,
59
] | 73 | [
"48+94=142",
"10+59=69",
"142-69=73"
] | Current State: 73:[48, 94, 10, 59], Operations: []
Exploring Operation: 48+94=142, Resulting Numbers: [10, 59, 142]
Generated Node #2: [10, 59, 142] from Operation: 48+94=142
Current State: 73:[10, 59, 142], Operations: ['48+94=142']
Exploring Operation: 10+59=69, Resulting Numbers: [142, 69]
Generated Node #3: [142, 69] from Operation: 10+59=69
Current State: 73:[142, 69], Operations: ['48+94=142', '10+59=69']
Exploring Operation: 142-69=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[48, 94, 10, 59], Operations: []
Exploring Operation: 10+59=69, Resulting Numbers: [48, 94, 69]
Generated Node #0,0: 73:[48, 94, 69] Operation: 10+59=69
Exploring Operation: 94+10=104, Resulting Numbers: [48, 59, 104]
Generated Node #0,1: 73:[48, 59, 104] Operation: 94+10=104
Exploring Operation: 94-10=84, Resulting Numbers: [48, 59, 84]
Generated Node #0,2: 73:[48, 59, 84] Operation: 94-10=84
Exploring Operation: 48+10=58, Resulting Numbers: [94, 59, 58]
Generated Node #0,3: 73:[94, 59, 58] Operation: 48+10=58
Exploring Operation: 48-10=38, Resulting Numbers: [94, 59, 38]
Generated Node #0,4: 73:[94, 59, 38] Operation: 48-10=38
Moving to Node #0,0
Current State: 73:[48, 94, 69], Operations: ['10+59=69']
Exploring Operation: 48+94=142, Resulting Numbers: [69, 142]
Generated Node #0,0,0: 73:[69, 142] Operation: 48+94=142
Exploring Operation: 48+69=117, Resulting Numbers: [94, 117]
Generated Node #0,0,1: 73:[94, 117] Operation: 48+69=117
Exploring Operation: 94-48=46, Resulting Numbers: [69, 46]
Generated Node #0,0,2: 73:[69, 46] Operation: 94-48=46
Exploring Operation: 94-69=25, Resulting Numbers: [48, 25]
Generated Node #0,0,3: 73:[48, 25] Operation: 94-69=25
Exploring Operation: 69-48=21, Resulting Numbers: [94, 21]
Generated Node #0,0,4: 73:[94, 21] Operation: 69-48=21
Moving to Node #0,3
Current State: 73:[94, 59, 58], Operations: ['48+10=58']
Exploring Operation: 94+58=152, Resulting Numbers: [59, 152]
Generated Node #0,3,0: 73:[59, 152] Operation: 94+58=152
Exploring Operation: 94-58=36, Resulting Numbers: [59, 36]
Generated Node #0,3,1: 73:[59, 36] Operation: 94-58=36
Exploring Operation: 94-59=35, Resulting Numbers: [58, 35]
Generated Node #0,3,2: 73:[58, 35] Operation: 94-59=35
Exploring Operation: 59-58=1, Resulting Numbers: [94, 1]
Generated Node #0,3,3: 73:[94, 1] Operation: 59-58=1
Exploring Operation: 59+58=117, Resulting Numbers: [94, 117]
Generated Node #0,3,4: 73:[94, 117] Operation: 59+58=117
Moving to Node #0,2
Current State: 73:[48, 59, 84], Operations: ['94-10=84']
Exploring Operation: 84-48=36, Resulting Numbers: [59, 36]
Generated Node #0,2,0: 73:[59, 36] Operation: 84-48=36
Exploring Operation: 48+59=107, Resulting Numbers: [84, 107]
Generated Node #0,2,1: 73:[84, 107] Operation: 48+59=107
Exploring Operation: 59-48=11, Resulting Numbers: [84, 11]
Generated Node #0,2,2: 73:[84, 11] Operation: 59-48=11
Exploring Operation: 84-59=25, Resulting Numbers: [48, 25]
Generated Node #0,2,3: 73:[48, 25] Operation: 84-59=25
Exploring Operation: 48+84=132, Resulting Numbers: [59, 132]
Generated Node #0,2,4: 73:[59, 132] Operation: 48+84=132
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 73:[84, 107], Operations: ['94-10=84', '48+59=107']
Exploring Operation: 84+107=191, Resulting Numbers: [191]
191,73 unequal: No Solution
Exploring Operation: 84*107=8988, Resulting Numbers: [8988]
8988,73 unequal: No Solution
Exploring Operation: 107-84=23, Resulting Numbers: [23]
23,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:[59, 36], Operations: ['94-10=84', '84-48=36']
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Exploring Operation: 59+36=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 59*36=2124, Resulting Numbers: [2124]
2124,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,2
Current State: 73:[84, 11], Operations: ['94-10=84', '59-48=11']
Exploring Operation: 84-11=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[48, 94, 10, 59], Operations: []
Exploring Operation: 94-10=84, Resulting Numbers: [48, 59, 84]
Generated Node #0,2: 73:[48, 59, 84] Operation: 94-10=84
Moving to Node #0,2
Current State: 73:[48, 59, 84], Operations: ['94-10=84']
Exploring Operation: 59-48=11, Resulting Numbers: [84, 11]
Generated Node #0,2,2: 73:[84, 11] Operation: 59-48=11
Moving to Node #0,2,2
Current State: 73:[84, 11], Operations: ['94-10=84', '59-48=11']
Exploring Operation: 84-11=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_5 | mult_heuristic |
[
97,
16,
75,
2
] | 30 | [
"97-75=22",
"16/2=8",
"22+8=30"
] | Current State: 30:[97, 16, 75, 2], Operations: []
Exploring Operation: 97-75=22, Resulting Numbers: [16, 2, 22]
Generated Node #2: [16, 2, 22] from Operation: 97-75=22
Current State: 30:[16, 2, 22], Operations: ['97-75=22']
Exploring Operation: 16/2=8, Resulting Numbers: [22, 8]
Generated Node #3: [22, 8] from Operation: 16/2=8
Current State: 30:[22, 8], Operations: ['97-75=22', '16/2=8']
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[97, 16, 75, 2], Operations: []
Exploring Operation: 97-75=22, Resulting Numbers: [16, 2, 22]
Generated Node #0,0: 30:[16, 2, 22] Operation: 97-75=22
Exploring Operation: 75-16=59, Resulting Numbers: [97, 2, 59]
Generated Node #0,1: 30:[97, 2, 59] Operation: 75-16=59
Exploring Operation: 75-2=73, Resulting Numbers: [97, 16, 73]
Generated Node #0,2: 30:[97, 16, 73] Operation: 75-2=73
Exploring Operation: 97-2=95, Resulting Numbers: [16, 75, 95]
Generated Node #0,3: 30:[16, 75, 95] Operation: 97-2=95
Exploring Operation: 97-16=81, Resulting Numbers: [75, 2, 81]
Generated Node #0,4: 30:[75, 2, 81] Operation: 97-16=81
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[16, 2, 22], Operations: ['97-75=22']
Exploring Operation: 16-2=14, Resulting Numbers: [22, 14]
Generated Node #0,0,0: 30:[22, 14] Operation: 16-2=14
Exploring Operation: 2+22=24, Resulting Numbers: [16, 24]
Generated Node #0,0,1: 30:[16, 24] Operation: 2+22=24
Exploring Operation: 22-2=20, Resulting Numbers: [16, 20]
Generated Node #0,0,2: 30:[16, 20] Operation: 22-2=20
Exploring Operation: 22/2=11, Resulting Numbers: [16, 11]
Generated Node #0,0,3: 30:[16, 11] Operation: 22/2=11
Exploring Operation: 22-16=6, Resulting Numbers: [2, 6]
Generated Node #0,0,4: 30:[2, 6] Operation: 22-16=6
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 30:[2, 6], Operations: ['97-75=22', '22-16=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,30 unequal: No Solution
No 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: 30:[16, 11], Operations: ['97-75=22', '22/2=11']
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,30 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,30 unequal: No Solution
No 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: 30:[16, 20], Operations: ['97-75=22', '22-2=20']
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 16*20=320, Resulting Numbers: [320]
320,30 unequal: No Solution
Exploring Operation: 16+20=36, Resulting Numbers: [36]
36,30 unequal: No Solution
No 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: 30:[16, 24], Operations: ['97-75=22', '2+22=24']
Exploring Operation: 16+24=40, Resulting Numbers: [40]
40,30 unequal: No Solution
Exploring Operation: 16*24=384, Resulting Numbers: [384]
384,30 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,30 unequal: No Solution
No 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: 30:[22, 14], Operations: ['97-75=22', '16-2=14']
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[97, 2, 59], Operations: ['75-16=59']
Exploring Operation: 2+59=61, Resulting Numbers: [97, 61]
Generated Node #0,1,0: 30:[97, 61] Operation: 2+59=61
Exploring Operation: 59-2=57, Resulting Numbers: [97, 57]
Generated Node #0,1,1: 30:[97, 57] Operation: 59-2=57
Exploring Operation: 97+2=99, Resulting Numbers: [59, 99]
Generated Node #0,1,2: 30:[59, 99] Operation: 97+2=99
Exploring Operation: 97-59=38, Resulting Numbers: [2, 38]
Generated Node #0,1,3: 30:[2, 38] Operation: 97-59=38
Exploring Operation: 97-2=95, Resulting Numbers: [59, 95]
Generated Node #0,1,4: 30:[59, 95] Operation: 97-2=95
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 30:[2, 38], Operations: ['75-16=59', '97-59=38']
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,30 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,30 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,30 unequal: No Solution
No 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: 30:[97, 57], Operations: ['75-16=59', '59-2=57']
Exploring Operation: 97-57=40, Resulting Numbers: [40]
40,30 unequal: No Solution
Exploring Operation: 97+57=154, Resulting Numbers: [154]
154,30 unequal: No Solution
Exploring Operation: 97*57=5529, Resulting Numbers: [5529]
5529,30 unequal: No Solution
No 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: 30:[59, 95], Operations: ['75-16=59', '97-2=95']
Exploring Operation: 59+95=154, Resulting Numbers: [154]
154,30 unequal: No Solution
Exploring Operation: 95-59=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 59*95=5605, Resulting Numbers: [5605]
5605,30 unequal: No Solution
No 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: 30:[97, 61], Operations: ['75-16=59', '2+59=61']
Exploring Operation: 97-61=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 97*61=5917, Resulting Numbers: [5917]
5917,30 unequal: No Solution
Exploring Operation: 97+61=158, Resulting Numbers: [158]
158,30 unequal: No Solution
No 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: 30:[59, 99], Operations: ['75-16=59', '97+2=99']
Exploring Operation: 59*99=5841, Resulting Numbers: [5841]
5841,30 unequal: No Solution
Exploring Operation: 99-59=40, Resulting Numbers: [40]
40,30 unequal: No Solution
Exploring Operation: 59+99=158, Resulting Numbers: [158]
158,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 30:[75, 2, 81], Operations: ['97-16=81']
Exploring Operation: 75-2=73, Resulting Numbers: [81, 73]
Generated Node #0,4,0: 30:[81, 73] Operation: 75-2=73
Exploring Operation: 2+81=83, Resulting Numbers: [75, 83]
Generated Node #0,4,1: 30:[75, 83] Operation: 2+81=83
Exploring Operation: 81-2=79, Resulting Numbers: [75, 79]
Generated Node #0,4,2: 30:[75, 79] Operation: 81-2=79
Exploring Operation: 75+2=77, Resulting Numbers: [81, 77]
Generated Node #0,4,3: 30:[81, 77] Operation: 75+2=77
Exploring Operation: 81-75=6, Resulting Numbers: [2, 6]
Generated Node #0,4,4: 30:[2, 6] Operation: 81-75=6
Moving to Node #0,4,4
Current State: 30:[2, 6], Operations: ['97-16=81', '81-75=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Moving to Node #0,4,2
Current State: 30:[75, 79], Operations: ['97-16=81', '81-2=79']
Exploring Operation: 79-75=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 75*79=5925, Resulting Numbers: [5925]
5925,30 unequal: No Solution
Exploring Operation: 75+79=154, Resulting Numbers: [154]
154,30 unequal: No Solution
Moving to Node #0,4,0
Current State: 30:[81, 73], Operations: ['97-16=81', '75-2=73']
Exploring Operation: 81+73=154, Resulting Numbers: [154]
154,30 unequal: No Solution
Exploring Operation: 81*73=5913, Resulting Numbers: [5913]
5913,30 unequal: No Solution
Exploring Operation: 81-73=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Moving to Node #0,4,1
Current State: 30:[75, 83], Operations: ['97-16=81', '2+81=83']
Exploring Operation: 75+83=158, Resulting Numbers: [158]
158,30 unequal: No Solution
Exploring Operation: 83-75=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 75*83=6225, Resulting Numbers: [6225]
6225,30 unequal: No Solution
Moving to Node #0,4,3
Current State: 30:[81, 77], Operations: ['97-16=81', '75+2=77']
Exploring Operation: 81*77=6237, Resulting Numbers: [6237]
6237,30 unequal: No Solution
Exploring Operation: 81-77=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 81+77=158, Resulting Numbers: [158]
158,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
Current State: 30:[97, 16, 73], Operations: ['75-2=73']
Exploring Operation: 97-73=24, Resulting Numbers: [16, 24]
Generated Node #0,2,0: 30:[16, 24] Operation: 97-73=24
Exploring Operation: 16+73=89, Resulting Numbers: [97, 89]
Generated Node #0,2,1: 30:[97, 89] Operation: 16+73=89
Exploring Operation: 97-16=81, Resulting Numbers: [73, 81]
Generated Node #0,2,2: 30:[73, 81] Operation: 97-16=81
Exploring Operation: 97+16=113, Resulting Numbers: [73, 113]
Generated Node #0,2,3: 30:[73, 113] Operation: 97+16=113
Exploring Operation: 73-16=57, Resulting Numbers: [97, 57]
Generated Node #0,2,4: 30:[97, 57] Operation: 73-16=57
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 30:[16, 24], Operations: ['75-2=73', '97-73=24']
Exploring Operation: 16*24=384, Resulting Numbers: [384]
384,30 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 16+24=40, Resulting Numbers: [40]
40,30 unequal: No Solution
No 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: 30:[73, 81], Operations: ['75-2=73', '97-16=81']
Exploring Operation: 81-73=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 73+81=154, Resulting Numbers: [154]
154,30 unequal: No Solution
Exploring Operation: 73*81=5913, Resulting Numbers: [5913]
5913,30 unequal: No Solution
No 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: 30:[97, 57], Operations: ['75-2=73', '73-16=57']
Exploring Operation: 97+57=154, Resulting Numbers: [154]
154,30 unequal: No Solution
Exploring Operation: 97-57=40, Resulting Numbers: [40]
40,30 unequal: No Solution
Exploring Operation: 97*57=5529, Resulting Numbers: [5529]
5529,30 unequal: No Solution
No 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: 30:[97, 89], Operations: ['75-2=73', '16+73=89']
Exploring Operation: 97-89=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 97*89=8633, Resulting Numbers: [8633]
8633,30 unequal: No Solution
Exploring Operation: 97+89=186, Resulting Numbers: [186]
186,30 unequal: No Solution
No 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: 30:[73, 113], Operations: ['75-2=73', '97+16=113']
Exploring Operation: 73*113=8249, Resulting Numbers: [8249]
8249,30 unequal: No Solution
Exploring Operation: 113-73=40, Resulting Numbers: [40]
40,30 unequal: No Solution
Exploring Operation: 73+113=186, Resulting Numbers: [186]
186,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[16, 75, 95], Operations: ['97-2=95']
Exploring Operation: 16+75=91, Resulting Numbers: [95, 91]
Generated Node #0,3,0: 30:[95, 91] Operation: 16+75=91
Exploring Operation: 16+95=111, Resulting Numbers: [75, 111]
Generated Node #0,3,1: 30:[75, 111] Operation: 16+95=111
Exploring Operation: 95-16=79, Resulting Numbers: [75, 79]
Generated Node #0,3,2: 30:[75, 79] Operation: 95-16=79
Exploring Operation: 95-75=20, Resulting Numbers: [16, 20]
Generated Node #0,3,3: 30:[16, 20] Operation: 95-75=20
Exploring Operation: 75-16=59, Resulting Numbers: [95, 59]
Generated Node #0,3,4: 30:[95, 59] Operation: 75-16=59
Moving to Node #0,3,3
Current State: 30:[16, 20], Operations: ['97-2=95', '95-75=20']
Exploring Operation: 16*20=320, Resulting Numbers: [320]
320,30 unequal: No Solution
Exploring Operation: 16+20=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Moving to Node #0,3,4
Current State: 30:[95, 59], Operations: ['97-2=95', '75-16=59']
Exploring Operation: 95+59=154, Resulting Numbers: [154]
154,30 unequal: No Solution
Exploring Operation: 95*59=5605, Resulting Numbers: [5605]
5605,30 unequal: No Solution
Exploring Operation: 95-59=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Moving to Node #0,3,2
Current State: 30:[75, 79], Operations: ['97-2=95', '95-16=79']
Exploring Operation: 79-75=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 75*79=5925, Resulting Numbers: [5925]
5925,30 unequal: No Solution
Exploring Operation: 75+79=154, Resulting Numbers: [154]
154,30 unequal: No Solution
Moving to Node #0,3,0
Current State: 30:[95, 91], Operations: ['97-2=95', '16+75=91']
Exploring Operation: 95+91=186, Resulting Numbers: [186]
186,30 unequal: No Solution
Exploring Operation: 95*91=8645, Resulting Numbers: [8645]
8645,30 unequal: No Solution
Exploring Operation: 95-91=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Moving to Node #0,3,1
Current State: 30:[75, 111], Operations: ['97-2=95', '16+95=111']
Exploring Operation: 75+111=186, Resulting Numbers: [186]
186,30 unequal: No Solution
Exploring Operation: 111-75=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 75*111=8325, Resulting Numbers: [8325]
8325,30 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 |
[
52,
34,
10,
18
] | 94 | [
"52+34=86",
"10*18=180",
"180-86=94"
] | Current State: 94:[52, 34, 10, 18], Operations: []
Exploring Operation: 52+34=86, Resulting Numbers: [10, 18, 86]
Generated Node #2: [10, 18, 86] from Operation: 52+34=86
Current State: 94:[10, 18, 86], Operations: ['52+34=86']
Exploring Operation: 10*18=180, Resulting Numbers: [86, 180]
Generated Node #3: [86, 180] from Operation: 10*18=180
Current State: 94:[86, 180], Operations: ['52+34=86', '10*18=180']
Exploring Operation: 180-86=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[52, 34, 10, 18], Operations: []
Exploring Operation: 34+18=52, Resulting Numbers: [52, 10, 52]
Generated Node #0,0: 94:[52, 10, 52] Operation: 34+18=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[52, 10, 52], Operations: ['34+18=52']
Exploring Operation: 52/52=1, Resulting Numbers: [10, 1]
Generated Node #0,0,0: 94:[10, 1] Operation: 52/52=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[10, 1], Operations: ['34+18=52', '52/52=1']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,94 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 |
[
29,
28,
23,
6
] | 74 | [
"29+28=57",
"23-6=17",
"57+17=74"
] | Current State: 74:[29, 28, 23, 6], Operations: []
Exploring Operation: 29+28=57, Resulting Numbers: [23, 6, 57]
Generated Node #2: [23, 6, 57] from Operation: 29+28=57
Current State: 74:[23, 6, 57], Operations: ['29+28=57']
Exploring Operation: 23-6=17, Resulting Numbers: [57, 17]
Generated Node #3: [57, 17] from Operation: 23-6=17
Current State: 74:[57, 17], Operations: ['29+28=57', '23-6=17']
Exploring Operation: 57+17=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[29, 28, 23, 6], Operations: []
Exploring Operation: 29-23=6, Resulting Numbers: [28, 6, 6]
Generated Node #0,0: 74:[28, 6, 6] Operation: 29-23=6
Exploring Operation: 29-28=1, Resulting Numbers: [23, 6, 1]
Generated Node #0,1: 74:[23, 6, 1] Operation: 29-28=1
Exploring Operation: 29+6=35, Resulting Numbers: [28, 23, 35]
Generated Node #0,2: 74:[28, 23, 35] Operation: 29+6=35
Exploring Operation: 28-23=5, Resulting Numbers: [29, 6, 5]
Generated Node #0,3: 74:[29, 6, 5] Operation: 28-23=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[29, 6, 5], Operations: ['28-23=5']
Exploring Operation: 6-5=1, Resulting Numbers: [29, 1]
Generated Node #0,3,0: 74:[29, 1] Operation: 6-5=1
Exploring Operation: 29+6=35, Resulting Numbers: [5, 35]
Generated Node #0,3,1: 74:[5, 35] Operation: 29+6=35
Exploring Operation: 29+5=34, Resulting Numbers: [6, 34]
Generated Node #0,3,2: 74:[6, 34] Operation: 29+5=34
Exploring Operation: 6*5=30, Resulting Numbers: [29, 30]
Generated Node #0,3,3: 74:[29, 30] Operation: 6*5=30
Moving to Node #0,3,1
Current State: 74:[5, 35], Operations: ['28-23=5', '29+6=35']
Exploring Operation: 5*35=175, Resulting Numbers: [175]
175,74 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[6, 34], Operations: ['28-23=5', '29+5=34']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,74 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[29, 1], Operations: ['28-23=5', '6-5=1']
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[29, 30], Operations: ['28-23=5', '6*5=30']
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,74 unequal: No Solution
Exploring Operation: 29*30=870, Resulting Numbers: [870]
870,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[28, 6, 6], Operations: ['29-23=6']
Exploring Operation: 6*6=36, Resulting Numbers: [28, 36]
Generated Node #0,0,0: 74:[28, 36] Operation: 6*6=36
Exploring Operation: 28+6=34, Resulting Numbers: [6, 34]
Generated Node #0,0,1: 74:[6, 34] Operation: 28+6=34
Exploring Operation: 6/6=1, Resulting Numbers: [28, 1]
Generated Node #0,0,2: 74:[28, 1] Operation: 6/6=1
Exploring Operation: 28+6=34, Resulting Numbers: [6, 34]
Generated Node #0,0,3: 74:[6, 34] Operation: 28+6=34
Moving to Node #0,0,1
Current State: 74:[6, 34], Operations: ['29-23=6', '28+6=34']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,74 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[6, 34], Operations: ['29-23=6', '28+6=34']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,74 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[28, 1], Operations: ['29-23=6', '6/6=1']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 28+1=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[28, 36], Operations: ['29-23=6', '6*6=36']
Exploring Operation: 28+36=64, Resulting Numbers: [64]
64,74 unequal: No Solution
Exploring Operation: 28*36=1008, Resulting Numbers: [1008]
1008,74 unequal: No Solution
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[23, 6, 1], Operations: ['29-28=1']
Exploring Operation: 23-6=17, Resulting Numbers: [1, 17]
Generated Node #0,1,0: 74:[1, 17] Operation: 23-6=17
Exploring Operation: 6-1=5, Resulting Numbers: [23, 5]
Generated Node #0,1,1: 74:[23, 5] Operation: 6-1=5
Exploring Operation: 23+6=29, Resulting Numbers: [1, 29]
Generated Node #0,1,2: 74:[1, 29] Operation: 23+6=29
Exploring Operation: 23+1=24, Resulting Numbers: [6, 24]
Generated Node #0,1,3: 74:[6, 24] Operation: 23+1=24
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 74:[1, 29], Operations: ['29-28=1', '23+6=29']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 1+29=30, Resulting Numbers: [30]
30,74 unequal: No Solution
No 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: 74:[1, 17], Operations: ['29-28=1', '23-6=17']
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,74 unequal: No Solution
No 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: 74:[23, 5], Operations: ['29-28=1', '6-1=5']
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,74 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,74 unequal: No Solution
No 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: 74:[6, 24], Operations: ['29-28=1', '23+1=24']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 6*24=144, Resulting Numbers: [144]
144,74 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,74 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: 74:[28, 23, 35], Operations: ['29+6=35']
Exploring Operation: 28-23=5, Resulting Numbers: [35, 5]
Generated Node #0,2,0: 74:[35, 5] Operation: 28-23=5
Exploring Operation: 35-23=12, Resulting Numbers: [28, 12]
Generated Node #0,2,1: 74:[28, 12] Operation: 35-23=12
Exploring Operation: 35-28=7, Resulting Numbers: [23, 7]
Generated Node #0,2,2: 74:[23, 7] Operation: 35-28=7
Exploring Operation: 28+23=51, Resulting Numbers: [35, 51]
Generated Node #0,2,3: 74:[35, 51] Operation: 28+23=51
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 74:[35, 5], Operations: ['29+6=35', '28-23=5']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,74 unequal: No Solution
No 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: 74:[35, 51], Operations: ['29+6=35', '28+23=51']
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 35*51=1785, Resulting Numbers: [1785]
1785,74 unequal: No Solution
Exploring Operation: 35+51=86, Resulting Numbers: [86]
86,74 unequal: No Solution
No 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: 74:[28, 12], Operations: ['29+6=35', '35-23=12']
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,74 unequal: No Solution
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,74 unequal: No Solution
No 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: 74:[23, 7], Operations: ['29+6=35', '35-28=7']
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,74 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,74 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 |
[
95,
54,
1,
71
] | 29 | [
"95-54=41",
"71-1=70",
"70-41=29"
] | Current State: 29:[95, 54, 1, 71], Operations: []
Exploring Operation: 95-54=41, Resulting Numbers: [1, 71, 41]
Generated Node #2: [1, 71, 41] from Operation: 95-54=41
Current State: 29:[1, 71, 41], Operations: ['95-54=41']
Exploring Operation: 71-1=70, Resulting Numbers: [41, 70]
Generated Node #3: [41, 70] from Operation: 71-1=70
Current State: 29:[41, 70], Operations: ['95-54=41', '71-1=70']
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[95, 54, 1, 71], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [54, 1, 24]
Generated Node #0,0: 29:[54, 1, 24] Operation: 95-71=24
Exploring Operation: 95-1=94, Resulting Numbers: [54, 71, 94]
Generated Node #0,1: 29:[54, 71, 94] Operation: 95-1=94
Exploring Operation: 95-54=41, Resulting Numbers: [1, 71, 41]
Generated Node #0,2: 29:[1, 71, 41] Operation: 95-54=41
Exploring Operation: 71-54=17, Resulting Numbers: [95, 1, 17]
Generated Node #0,3: 29:[95, 1, 17] Operation: 71-54=17
Exploring Operation: 54-1=53, Resulting Numbers: [95, 71, 53]
Generated Node #0,4: 29:[95, 71, 53] Operation: 54-1=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[54, 1, 24], Operations: ['95-71=24']
Exploring Operation: 54-24=30, Resulting Numbers: [1, 30]
Generated Node #0,0,0: 29:[1, 30] Operation: 54-24=30
Exploring Operation: 54/1=54, Resulting Numbers: [24, 54]
Generated Node #0,0,1: 29:[24, 54] Operation: 54/1=54
Exploring Operation: 54*1=54, Resulting Numbers: [24, 54]
Generated Node #0,0,2: 29:[24, 54] Operation: 54*1=54
Exploring Operation: 54-1=53, Resulting Numbers: [24, 53]
Generated Node #0,0,3: 29:[24, 53] Operation: 54-1=53
Exploring Operation: 1+24=25, Resulting Numbers: [54, 25]
Generated Node #0,0,4: 29:[54, 25] Operation: 1+24=25
Moving to Node #0,0,0
Current State: 29:[1, 30], Operations: ['95-71=24', '54-24=30']
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 1+30=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[95, 54, 1, 71], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [54, 1, 24]
Generated Node #0,0: 29:[54, 1, 24] Operation: 95-71=24
Moving to Node #0,0
Current State: 29:[54, 1, 24], Operations: ['95-71=24']
Exploring Operation: 54-24=30, Resulting Numbers: [1, 30]
Generated Node #0,0,0: 29:[1, 30] Operation: 54-24=30
Moving to Node #0,0,0
Current State: 29:[1, 30], Operations: ['95-71=24', '54-24=30']
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
87,
82,
95,
1
] | 90 | [
"87-82=5",
"95*1=95",
"95-5=90"
] | Current State: 90:[87, 82, 95, 1], Operations: []
Exploring Operation: 87-82=5, Resulting Numbers: [95, 1, 5]
Generated Node #2: [95, 1, 5] from Operation: 87-82=5
Current State: 90:[95, 1, 5], Operations: ['87-82=5']
Exploring Operation: 95*1=95, Resulting Numbers: [5, 95]
Generated Node #3: [5, 95] from Operation: 95*1=95
Current State: 90:[5, 95], Operations: ['87-82=5', '95*1=95']
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[87, 82, 95, 1], Operations: []
Exploring Operation: 87-82=5, Resulting Numbers: [95, 1, 5]
Generated Node #0,0: 90:[95, 1, 5] Operation: 87-82=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[95, 1, 5], Operations: ['87-82=5']
Exploring Operation: 95-5=90, Resulting Numbers: [1, 90]
Generated Node #0,0,0: 90:[1, 90] Operation: 95-5=90
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[1, 90], Operations: ['87-82=5', '95-5=90']
Exploring Operation: 1*90=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[87, 82, 95, 1], Operations: []
Exploring Operation: 87-82=5, Resulting Numbers: [95, 1, 5]
Generated Node #0,0: 90:[95, 1, 5] Operation: 87-82=5
Moving to Node #0,0
Current State: 90:[95, 1, 5], Operations: ['87-82=5']
Exploring Operation: 95-5=90, Resulting Numbers: [1, 90]
Generated Node #0,0,0: 90:[1, 90] Operation: 95-5=90
Moving to Node #0,0,0
Current State: 90:[1, 90], Operations: ['87-82=5', '95-5=90']
Exploring Operation: 1*90=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
90,
92,
3,
47
] | 75 | [
"90/3=30",
"92-47=45",
"30+45=75"
] | Current State: 75:[90, 92, 3, 47], Operations: []
Exploring Operation: 90/3=30, Resulting Numbers: [92, 47, 30]
Generated Node #2: [92, 47, 30] from Operation: 90/3=30
Current State: 75:[92, 47, 30], Operations: ['90/3=30']
Exploring Operation: 92-47=45, Resulting Numbers: [30, 45]
Generated Node #3: [30, 45] from Operation: 92-47=45
Current State: 75:[30, 45], Operations: ['90/3=30', '92-47=45']
Exploring Operation: 30+45=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[90, 92, 3, 47], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [3, 47, 2]
Generated Node #0,0: 75:[3, 47, 2] Operation: 92-90=2
Exploring Operation: 90-47=43, Resulting Numbers: [92, 3, 43]
Generated Node #0,1: 75:[92, 3, 43] Operation: 90-47=43
Moving to Node #0,0
Current State: 75:[3, 47, 2], Operations: ['92-90=2']
Exploring Operation: 47*2=94, Resulting Numbers: [3, 94]
Generated Node #0,0,0: 75:[3, 94] Operation: 47*2=94
Exploring Operation: 47-3=44, Resulting Numbers: [2, 44]
Generated Node #0,0,1: 75:[2, 44] Operation: 47-3=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[3, 94], Operations: ['92-90=2', '47*2=94']
Exploring Operation: 3+94=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[2, 44], Operations: ['92-90=2', '47-3=44']
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,75 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 75:[92, 3, 43], Operations: ['90-47=43']
Exploring Operation: 92-43=49, Resulting Numbers: [3, 49]
Generated Node #0,1,0: 75:[3, 49] Operation: 92-43=49
Exploring Operation: 92-3=89, Resulting Numbers: [43, 89]
Generated Node #0,1,1: 75:[43, 89] Operation: 92-3=89
Moving to Node #0,1,0
Current State: 75:[3, 49], Operations: ['90-47=43', '92-43=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,75 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[43, 89], Operations: ['90-47=43', '92-3=89']
Exploring Operation: 89-43=46, Resulting Numbers: [46]
46,75 unequal: No Solution
Exploring Operation: 43+89=132, Resulting Numbers: [132]
132,75 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
97,
1,
2,
9
] | 91 | [
"97+1=98",
"9-2=7",
"98-7=91"
] | Current State: 91:[97, 1, 2, 9], Operations: []
Exploring Operation: 97+1=98, Resulting Numbers: [2, 9, 98]
Generated Node #2: [2, 9, 98] from Operation: 97+1=98
Current State: 91:[2, 9, 98], Operations: ['97+1=98']
Exploring Operation: 9-2=7, Resulting Numbers: [98, 7]
Generated Node #3: [98, 7] from Operation: 9-2=7
Current State: 91:[98, 7], Operations: ['97+1=98', '9-2=7']
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[97, 1, 2, 9], Operations: []
Exploring Operation: 97-2=95, Resulting Numbers: [1, 9, 95]
Generated Node #0,0: 91:[1, 9, 95] Operation: 97-2=95
Exploring Operation: 97-1=96, Resulting Numbers: [2, 9, 96]
Generated Node #0,1: 91:[2, 9, 96] Operation: 97-1=96
Exploring Operation: 1+2=3, Resulting Numbers: [97, 9, 3]
Generated Node #0,2: 91:[97, 9, 3] Operation: 1+2=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[1, 9, 95], Operations: ['97-2=95']
Exploring Operation: 9-1=8, Resulting Numbers: [95, 8]
Generated Node #0,0,0: 91:[95, 8] Operation: 9-1=8
Exploring Operation: 1*9=9, Resulting Numbers: [95, 9]
Generated Node #0,0,1: 91:[95, 9] Operation: 1*9=9
Exploring Operation: 95-1=94, Resulting Numbers: [9, 94]
Generated Node #0,0,2: 91:[9, 94] Operation: 95-1=94
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[95, 8], Operations: ['97-2=95', '9-1=8']
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,91 unequal: No Solution
Exploring Operation: 95*8=760, Resulting Numbers: [760]
760,91 unequal: No Solution
Exploring Operation: 95+8=103, Resulting Numbers: [103]
103,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 91:[9, 94], Operations: ['97-2=95', '95-1=94']
Exploring Operation: 94-9=85, Resulting Numbers: [85]
85,91 unequal: No Solution
Exploring Operation: 9+94=103, Resulting Numbers: [103]
103,91 unequal: No Solution
Exploring Operation: 9*94=846, Resulting Numbers: [846]
846,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[95, 9], Operations: ['97-2=95', '1*9=9']
Exploring Operation: 95-9=86, Resulting Numbers: [86]
86,91 unequal: No Solution
Exploring Operation: 95+9=104, Resulting Numbers: [104]
104,91 unequal: No Solution
Exploring Operation: 95*9=855, Resulting Numbers: [855]
855,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[2, 9, 96], Operations: ['97-1=96']
Exploring Operation: 96-2=94, Resulting Numbers: [9, 94]
Generated Node #0,1,0: 91:[9, 94] Operation: 96-2=94
Exploring Operation: 2+9=11, Resulting Numbers: [96, 11]
Generated Node #0,1,1: 91:[96, 11] Operation: 2+9=11
Exploring Operation: 9-2=7, Resulting Numbers: [96, 7]
Generated Node #0,1,2: 91:[96, 7] Operation: 9-2=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[9, 94], Operations: ['97-1=96', '96-2=94']
Exploring Operation: 94-9=85, Resulting Numbers: [85]
85,91 unequal: No Solution
Exploring Operation: 9*94=846, Resulting Numbers: [846]
846,91 unequal: No Solution
Exploring Operation: 9+94=103, Resulting Numbers: [103]
103,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 91:[96, 7], Operations: ['97-1=96', '9-2=7']
Exploring Operation: 96*7=672, Resulting Numbers: [672]
672,91 unequal: No Solution
Exploring Operation: 96-7=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 96+7=103, Resulting Numbers: [103]
103,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[96, 11], Operations: ['97-1=96', '2+9=11']
Exploring Operation: 96+11=107, Resulting Numbers: [107]
107,91 unequal: No Solution
Exploring Operation: 96-11=85, Resulting Numbers: [85]
85,91 unequal: No Solution
Exploring Operation: 96*11=1056, Resulting Numbers: [1056]
1056,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[97, 9, 3], Operations: ['1+2=3']
Exploring Operation: 9+3=12, Resulting Numbers: [97, 12]
Generated Node #0,2,0: 91:[97, 12] Operation: 9+3=12
Exploring Operation: 97-9=88, Resulting Numbers: [3, 88]
Generated Node #0,2,1: 91:[3, 88] Operation: 97-9=88
Exploring Operation: 97-3=94, Resulting Numbers: [9, 94]
Generated Node #0,2,2: 91:[9, 94] Operation: 97-3=94
Moving to Node #0,2,2
Current State: 91:[9, 94], Operations: ['1+2=3', '97-3=94']
Exploring Operation: 9+94=103, Resulting Numbers: [103]
103,91 unequal: No Solution
Exploring Operation: 94-9=85, Resulting Numbers: [85]
85,91 unequal: No Solution
Exploring Operation: 9*94=846, Resulting Numbers: [846]
846,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[97, 12], Operations: ['1+2=3', '9+3=12']
Exploring Operation: 97*12=1164, Resulting Numbers: [1164]
1164,91 unequal: No Solution
Exploring Operation: 97-12=85, Resulting Numbers: [85]
85,91 unequal: No Solution
Exploring Operation: 97+12=109, Resulting Numbers: [109]
109,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[3, 88], Operations: ['1+2=3', '97-9=88']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,91 unequal: No Solution
Exploring Operation: 3+88=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[97, 1, 2, 9], Operations: []
Exploring Operation: 1+2=3, Resulting Numbers: [97, 9, 3]
Generated Node #0,2: 91:[97, 9, 3] Operation: 1+2=3
Moving to Node #0,2
Current State: 91:[97, 9, 3], Operations: ['1+2=3']
Exploring Operation: 97-9=88, Resulting Numbers: [3, 88]
Generated Node #0,2,1: 91:[3, 88] Operation: 97-9=88
Moving to Node #0,2,1
Current State: 91:[3, 88], Operations: ['1+2=3', '97-9=88']
Exploring Operation: 3+88=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_3 | sum_heuristic |
[
88,
7,
82,
3
] | 24 | [
"88-82=6",
"7-3=4",
"6*4=24"
] | Current State: 24:[88, 7, 82, 3], Operations: []
Exploring Operation: 88-82=6, Resulting Numbers: [7, 3, 6]
Generated Node #2: [7, 3, 6] from Operation: 88-82=6
Current State: 24:[7, 3, 6], Operations: ['88-82=6']
Exploring Operation: 7-3=4, Resulting Numbers: [6, 4]
Generated Node #3: [6, 4] from Operation: 7-3=4
Current State: 24:[6, 4], Operations: ['88-82=6', '7-3=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[88, 7, 82, 3], Operations: []
Exploring Operation: 88-7=81, Resulting Numbers: [82, 3, 81]
Generated Node #0,0: 24:[82, 3, 81] Operation: 88-7=81
Exploring Operation: 88-82=6, Resulting Numbers: [7, 3, 6]
Generated Node #0,1: 24:[7, 3, 6] Operation: 88-82=6
Moving to Node #0,1
Current State: 24:[7, 3, 6], Operations: ['88-82=6']
Exploring Operation: 7+6=13, Resulting Numbers: [3, 13]
Generated Node #0,1,0: 24:[3, 13] Operation: 7+6=13
Exploring Operation: 7-3=4, Resulting Numbers: [6, 4]
Generated Node #0,1,1: 24:[6, 4] Operation: 7-3=4
Moving to Node #0,0
Current State: 24:[82, 3, 81], Operations: ['88-7=81']
Exploring Operation: 81/3=27, Resulting Numbers: [82, 27]
Generated Node #0,0,0: 24:[82, 27] Operation: 81/3=27
Exploring Operation: 82-81=1, Resulting Numbers: [3, 1]
Generated Node #0,0,1: 24:[3, 1] Operation: 82-81=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[3, 1], Operations: ['88-7=81', '82-81=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[82, 27], Operations: ['88-7=81', '81/3=27']
Exploring Operation: 82-27=55, Resulting Numbers: [55]
55,24 unequal: No Solution
Exploring Operation: 82+27=109, Resulting Numbers: [109]
109,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 24:[6, 4], Operations: ['88-82=6', '7-3=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[88, 7, 82, 3], Operations: []
Exploring Operation: 88-82=6, Resulting Numbers: [7, 3, 6]
Generated Node #0,1: 24:[7, 3, 6] Operation: 88-82=6
Moving to Node #0,1
Current State: 24:[7, 3, 6], Operations: ['88-82=6']
Exploring Operation: 7-3=4, Resulting Numbers: [6, 4]
Generated Node #0,1,1: 24:[6, 4] Operation: 7-3=4
Moving to Node #0,1,1
Current State: 24:[6, 4], Operations: ['88-82=6', '7-3=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
43,
24,
87,
63
] | 42 | [
"87-24=63",
"63/63=1",
"43-1=42"
] | Current State: 42:[43, 24, 87, 63], Operations: []
Exploring Operation: 87-24=63, Resulting Numbers: [43, 63, 63]
Generated Node #2: [43, 63, 63] from Operation: 87-24=63
Current State: 42:[43, 63, 63], Operations: ['87-24=63']
Exploring Operation: 63/63=1, Resulting Numbers: [43, 1]
Generated Node #3: [43, 1] from Operation: 63/63=1
Current State: 42:[43, 1], Operations: ['87-24=63', '63/63=1']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[43, 24, 87, 63], Operations: []
Exploring Operation: 87-63=24, Resulting Numbers: [43, 24, 24]
Generated Node #0,0: 42:[43, 24, 24] Operation: 87-63=24
Exploring Operation: 87-24=63, Resulting Numbers: [43, 63, 63]
Generated Node #0,1: 42:[43, 63, 63] Operation: 87-24=63
Exploring Operation: 63-43=20, Resulting Numbers: [24, 87, 20]
Generated Node #0,2: 42:[24, 87, 20] Operation: 63-43=20
Exploring Operation: 87-43=44, Resulting Numbers: [24, 63, 44]
Generated Node #0,3: 42:[24, 63, 44] Operation: 87-43=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[43, 24, 24], Operations: ['87-63=24']
Exploring Operation: 24-24=0, Resulting Numbers: [43, 0]
Generated Node #0,0,0: 42:[43, 0] Operation: 24-24=0
Exploring Operation: 43-24=19, Resulting Numbers: [24, 19]
Generated Node #0,0,1: 42:[24, 19] Operation: 43-24=19
Exploring Operation: 24/24=1, Resulting Numbers: [43, 1]
Generated Node #0,0,2: 42:[43, 1] Operation: 24/24=1
Exploring Operation: 43-24=19, Resulting Numbers: [24, 19]
Generated Node #0,0,3: 42:[24, 19] Operation: 43-24=19
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 42:[43, 1], Operations: ['87-63=24', '24/24=1']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[43, 24, 87, 63], Operations: []
Exploring Operation: 87-63=24, Resulting Numbers: [43, 24, 24]
Generated Node #0,0: 42:[43, 24, 24] Operation: 87-63=24
Moving to Node #0,0
Current State: 42:[43, 24, 24], Operations: ['87-63=24']
Exploring Operation: 24/24=1, Resulting Numbers: [43, 1]
Generated Node #0,0,2: 42:[43, 1] Operation: 24/24=1
Moving to Node #0,0,2
Current State: 42:[43, 1], Operations: ['87-63=24', '24/24=1']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
41,
97,
44,
46
] | 47 | [
"41+97=138",
"138/46=3",
"44+3=47"
] | Current State: 47:[41, 97, 44, 46], Operations: []
Exploring Operation: 41+97=138, Resulting Numbers: [44, 46, 138]
Generated Node #2: [44, 46, 138] from Operation: 41+97=138
Current State: 47:[44, 46, 138], Operations: ['41+97=138']
Exploring Operation: 138/46=3, Resulting Numbers: [44, 3]
Generated Node #3: [44, 3] from Operation: 138/46=3
Current State: 47:[44, 3], Operations: ['41+97=138', '138/46=3']
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[41, 97, 44, 46], Operations: []
Exploring Operation: 97-44=53, Resulting Numbers: [41, 46, 53]
Generated Node #0,0: 47:[41, 46, 53] Operation: 97-44=53
Exploring Operation: 97-41=56, Resulting Numbers: [44, 46, 56]
Generated Node #0,1: 47:[44, 46, 56] Operation: 97-41=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[41, 46, 53], Operations: ['97-44=53']
Exploring Operation: 41+46=87, Resulting Numbers: [53, 87]
Generated Node #0,0,0: 47:[53, 87] Operation: 41+46=87
Exploring Operation: 53-41=12, Resulting Numbers: [46, 12]
Generated Node #0,0,1: 47:[46, 12] Operation: 53-41=12
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[46, 12], Operations: ['97-44=53', '53-41=12']
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Exploring Operation: 46+12=58, Resulting Numbers: [58]
58,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[53, 87], Operations: ['97-44=53', '41+46=87']
Exploring Operation: 87-53=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Exploring Operation: 53+87=140, Resulting Numbers: [140]
140,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[44, 46, 56], Operations: ['97-41=56']
Exploring Operation: 56-44=12, Resulting Numbers: [46, 12]
Generated Node #0,1,0: 47:[46, 12] Operation: 56-44=12
Exploring Operation: 56-46=10, Resulting Numbers: [44, 10]
Generated Node #0,1,1: 47:[44, 10] Operation: 56-46=10
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[46, 12], Operations: ['97-41=56', '56-44=12']
Exploring Operation: 46+12=58, Resulting Numbers: [58]
58,47 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[44, 10], Operations: ['97-41=56', '56-46=10']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
51,
53,
1,
17
] | 51 | [
"53-51=2",
"1+2=3",
"17*3=51"
] | Current State: 51:[51, 53, 1, 17], Operations: []
Exploring Operation: 53-51=2, Resulting Numbers: [1, 17, 2]
Generated Node #2: [1, 17, 2] from Operation: 53-51=2
Current State: 51:[1, 17, 2], Operations: ['53-51=2']
Exploring Operation: 1+2=3, Resulting Numbers: [17, 3]
Generated Node #3: [17, 3] from Operation: 1+2=3
Current State: 51:[17, 3], Operations: ['53-51=2', '1+2=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[51, 53, 1, 17], Operations: []
Exploring Operation: 53-1=52, Resulting Numbers: [51, 17, 52]
Generated Node #0,0: 51:[51, 17, 52] Operation: 53-1=52
Exploring Operation: 51/1=51, Resulting Numbers: [53, 17, 51]
Generated Node #0,1: 51:[53, 17, 51] Operation: 51/1=51
Exploring Operation: 51*1=51, Resulting Numbers: [53, 17, 51]
Generated Node #0,2: 51:[53, 17, 51] Operation: 51*1=51
Moving to Node #0,0
Current State: 51:[51, 17, 52], Operations: ['53-1=52']
Exploring Operation: 52-51=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 51:[17, 1] Operation: 52-51=1
Exploring Operation: 51/17=3, Resulting Numbers: [52, 3]
Generated Node #0,0,1: 51:[52, 3] Operation: 51/17=3
Exploring Operation: 52-17=35, Resulting Numbers: [51, 35]
Generated Node #0,0,2: 51:[51, 35] Operation: 52-17=35
Moving to Node #0,1
Current State: 51:[53, 17, 51], Operations: ['51/1=51']
Exploring Operation: 53-51=2, Resulting Numbers: [17, 2]
Generated Node #0,1,0: 51:[17, 2] Operation: 53-51=2
Exploring Operation: 51/17=3, Resulting Numbers: [53, 3]
Generated Node #0,1,1: 51:[53, 3] Operation: 51/17=3
Exploring Operation: 53-17=36, Resulting Numbers: [51, 36]
Generated Node #0,1,2: 51:[51, 36] Operation: 53-17=36
Moving to Node #0,2
Current State: 51:[53, 17, 51], Operations: ['51*1=51']
Exploring Operation: 53-51=2, Resulting Numbers: [17, 2]
Generated Node #0,2,0: 51:[17, 2] Operation: 53-51=2
Exploring Operation: 53-17=36, Resulting Numbers: [51, 36]
Generated Node #0,2,1: 51:[51, 36] Operation: 53-17=36
Exploring Operation: 51/17=3, Resulting Numbers: [53, 3]
Generated Node #0,2,2: 51:[53, 3] Operation: 51/17=3
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 51:[17, 2], Operations: ['51*1=51', '53-51=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 51:[53, 3], Operations: ['51*1=51', '51/17=3']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,51 unequal: No Solution
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 51:[51, 36], Operations: ['51*1=51', '53-17=36']
Exploring Operation: 51+36=87, Resulting Numbers: [87]
87,51 unequal: No Solution
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 51*36=1836, Resulting Numbers: [1836]
1836,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 51:[52, 3], Operations: ['53-1=52', '51/17=3']
Exploring Operation: 52*3=156, Resulting Numbers: [156]
156,51 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[17, 2], Operations: ['51/1=51', '53-51=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,51 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[53, 3], Operations: ['51/1=51', '51/17=3']
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,51 unequal: No Solution
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[17, 1], Operations: ['53-1=52', '52-51=1']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[51, 36], Operations: ['51/1=51', '53-17=36']
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 51*36=1836, Resulting Numbers: [1836]
1836,51 unequal: No Solution
Exploring Operation: 51+36=87, Resulting Numbers: [87]
87,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[51, 35], Operations: ['53-1=52', '52-17=35']
Exploring Operation: 51+35=86, Resulting Numbers: [86]
86,51 unequal: No Solution
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 51*35=1785, Resulting Numbers: [1785]
1785,51 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
12,
97,
61,
93
] | 64 | [
"97-93=4",
"12/4=3",
"61+3=64"
] | Current State: 64:[12, 97, 61, 93], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [12, 61, 4]
Generated Node #2: [12, 61, 4] from Operation: 97-93=4
Current State: 64:[12, 61, 4], Operations: ['97-93=4']
Exploring Operation: 12/4=3, Resulting Numbers: [61, 3]
Generated Node #3: [61, 3] from Operation: 12/4=3
Current State: 64:[61, 3], Operations: ['97-93=4', '12/4=3']
Exploring Operation: 61+3=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[12, 97, 61, 93], Operations: []
Exploring Operation: 97-61=36, Resulting Numbers: [12, 93, 36]
Generated Node #0,0: 64:[12, 93, 36] Operation: 97-61=36
Exploring Operation: 97-12=85, Resulting Numbers: [61, 93, 85]
Generated Node #0,1: 64:[61, 93, 85] Operation: 97-12=85
Exploring Operation: 93-12=81, Resulting Numbers: [97, 61, 81]
Generated Node #0,2: 64:[97, 61, 81] Operation: 93-12=81
Exploring Operation: 97-93=4, Resulting Numbers: [12, 61, 4]
Generated Node #0,3: 64:[12, 61, 4] Operation: 97-93=4
Exploring Operation: 93-61=32, Resulting Numbers: [12, 97, 32]
Generated Node #0,4: 64:[12, 97, 32] Operation: 93-61=32
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[12, 61, 4], Operations: ['97-93=4']
Exploring Operation: 12-4=8, Resulting Numbers: [61, 8]
Generated Node #0,3,0: 64:[61, 8] Operation: 12-4=8
Exploring Operation: 12+61=73, Resulting Numbers: [4, 73]
Generated Node #0,3,1: 64:[4, 73] Operation: 12+61=73
Exploring Operation: 61+4=65, Resulting Numbers: [12, 65]
Generated Node #0,3,2: 64:[12, 65] Operation: 61+4=65
Exploring Operation: 12/4=3, Resulting Numbers: [61, 3]
Generated Node #0,3,3: 64:[61, 3] Operation: 12/4=3
Exploring Operation: 12+4=16, Resulting Numbers: [61, 16]
Generated Node #0,3,4: 64:[61, 16] Operation: 12+4=16
Moving to Node #0,3,0
Current State: 64:[61, 8], Operations: ['97-93=4', '12-4=8']
Exploring Operation: 61+8=69, Resulting Numbers: [69]
69,64 unequal: No Solution
Exploring Operation: 61*8=488, Resulting Numbers: [488]
488,64 unequal: No Solution
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Moving to Node #0,3,4
Current State: 64:[61, 16], Operations: ['97-93=4', '12+4=16']
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,64 unequal: No Solution
Exploring Operation: 61+16=77, Resulting Numbers: [77]
77,64 unequal: No Solution
Exploring Operation: 61*16=976, Resulting Numbers: [976]
976,64 unequal: No Solution
Moving to Node #0,3,3
Current State: 64:[61, 3], Operations: ['97-93=4', '12/4=3']
Exploring Operation: 61*3=183, Resulting Numbers: [183]
183,64 unequal: No Solution
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,64 unequal: No Solution
Exploring Operation: 61+3=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[12, 97, 61, 93], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [12, 61, 4]
Generated Node #0,3: 64:[12, 61, 4] Operation: 97-93=4
Moving to Node #0,3
Current State: 64:[12, 61, 4], Operations: ['97-93=4']
Exploring Operation: 12/4=3, Resulting Numbers: [61, 3]
Generated Node #0,3,3: 64:[61, 3] Operation: 12/4=3
Moving to Node #0,3,3
Current State: 64:[61, 3], Operations: ['97-93=4', '12/4=3']
Exploring Operation: 61+3=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
21,
78,
48,
91
] | 35 | [
"48*91=4368",
"4368/78=56",
"56-21=35"
] | Current State: 35:[21, 78, 48, 91], Operations: []
Exploring Operation: 48*91=4368, Resulting Numbers: [21, 78, 4368]
Generated Node #2: [21, 78, 4368] from Operation: 48*91=4368
Current State: 35:[21, 78, 4368], Operations: ['48*91=4368']
Exploring Operation: 4368/78=56, Resulting Numbers: [21, 56]
Generated Node #3: [21, 56] from Operation: 4368/78=56
Current State: 35:[21, 56], Operations: ['48*91=4368', '4368/78=56']
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[21, 78, 48, 91], Operations: []
Exploring Operation: 91-78=13, Resulting Numbers: [21, 48, 13]
Generated Node #0,0: 35:[21, 48, 13] Operation: 91-78=13
Exploring Operation: 78-21=57, Resulting Numbers: [48, 91, 57]
Generated Node #0,1: 35:[48, 91, 57] Operation: 78-21=57
Exploring Operation: 91-48=43, Resulting Numbers: [21, 78, 43]
Generated Node #0,2: 35:[21, 78, 43] Operation: 91-48=43
Exploring Operation: 78-48=30, Resulting Numbers: [21, 91, 30]
Generated Node #0,3: 35:[21, 91, 30] Operation: 78-48=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[21, 48, 13], Operations: ['91-78=13']
Exploring Operation: 48-21=27, Resulting Numbers: [13, 27]
Generated Node #0,0,0: 35:[13, 27] Operation: 48-21=27
Exploring Operation: 21+13=34, Resulting Numbers: [48, 34]
Generated Node #0,0,1: 35:[48, 34] Operation: 21+13=34
Exploring Operation: 21-13=8, Resulting Numbers: [48, 8]
Generated Node #0,0,2: 35:[48, 8] Operation: 21-13=8
Exploring Operation: 48-13=35, Resulting Numbers: [21, 35]
Generated Node #0,0,3: 35:[21, 35] Operation: 48-13=35
Moving to Node #0,0,0
Current State: 35:[13, 27], Operations: ['91-78=13', '48-21=27']
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 13*27=351, Resulting Numbers: [351]
351,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[48, 8], Operations: ['91-78=13', '21-13=8']
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 48+8=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 48*8=384, Resulting Numbers: [384]
384,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[48, 34], Operations: ['91-78=13', '21+13=34']
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 48+34=82, Resulting Numbers: [82]
82,35 unequal: No Solution
Exploring Operation: 48*34=1632, Resulting Numbers: [1632]
1632,35 unequal: No Solution
Moving to Node #0,0,3
Current State: 35:[21, 35], Operations: ['91-78=13', '48-13=35']
Exploring Operation: 21*35=735, Resulting Numbers: [735]
735,35 unequal: No Solution
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 21+35=56, Resulting Numbers: [56]
56,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:[21, 78, 43], Operations: ['91-48=43']
Exploring Operation: 78-21=57, Resulting Numbers: [43, 57]
Generated Node #0,2,0: 35:[43, 57] Operation: 78-21=57
Exploring Operation: 21+78=99, Resulting Numbers: [43, 99]
Generated Node #0,2,1: 35:[43, 99] Operation: 21+78=99
Exploring Operation: 78-43=35, Resulting Numbers: [21, 35]
Generated Node #0,2,2: 35:[21, 35] Operation: 78-43=35
Exploring Operation: 43-21=22, Resulting Numbers: [78, 22]
Generated Node #0,2,3: 35:[78, 22] Operation: 43-21=22
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 35:[21, 35], Operations: ['91-48=43', '78-43=35']
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 21+35=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 21*35=735, Resulting Numbers: [735]
735,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:[43, 57], Operations: ['91-48=43', '78-21=57']
Exploring Operation: 43*57=2451, Resulting Numbers: [2451]
2451,35 unequal: No Solution
Exploring Operation: 43+57=100, Resulting Numbers: [100]
100,35 unequal: No Solution
Exploring Operation: 57-43=14, Resulting Numbers: [14]
14,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,3
Current State: 35:[78, 22], Operations: ['91-48=43', '43-21=22']
Exploring Operation: 78+22=100, Resulting Numbers: [100]
100,35 unequal: No Solution
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 78*22=1716, Resulting Numbers: [1716]
1716,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,1
Current State: 35:[43, 99], Operations: ['91-48=43', '21+78=99']
Exploring Operation: 99-43=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 43*99=4257, Resulting Numbers: [4257]
4257,35 unequal: No Solution
Exploring Operation: 43+99=142, Resulting Numbers: [142]
142,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,3
Current State: 35:[21, 91, 30], Operations: ['78-48=30']
Exploring Operation: 30-21=9, Resulting Numbers: [91, 9]
Generated Node #0,3,0: 35:[91, 9] Operation: 30-21=9
Exploring Operation: 21+30=51, Resulting Numbers: [91, 51]
Generated Node #0,3,1: 35:[91, 51] Operation: 21+30=51
Exploring Operation: 91-21=70, Resulting Numbers: [30, 70]
Generated Node #0,3,2: 35:[30, 70] Operation: 91-21=70
Exploring Operation: 91-30=61, Resulting Numbers: [21, 61]
Generated Node #0,3,3: 35:[21, 61] Operation: 91-30=61
Moving to Node #0,3,2
Current State: 35:[30, 70], Operations: ['78-48=30', '91-21=70']
Exploring Operation: 30+70=100, Resulting Numbers: [100]
100,35 unequal: No Solution
Exploring Operation: 30*70=2100, Resulting Numbers: [2100]
2100,35 unequal: No Solution
Exploring Operation: 70-30=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Moving to Node #0,3,3
Current State: 35:[21, 61], Operations: ['78-48=30', '91-30=61']
Exploring Operation: 21+61=82, Resulting Numbers: [82]
82,35 unequal: No Solution
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 21*61=1281, Resulting Numbers: [1281]
1281,35 unequal: No Solution
Moving to Node #0,3,0
Current State: 35:[91, 9], Operations: ['78-48=30', '30-21=9']
Exploring Operation: 91-9=82, Resulting Numbers: [82]
82,35 unequal: No Solution
Exploring Operation: 91*9=819, Resulting Numbers: [819]
819,35 unequal: No Solution
Exploring Operation: 91+9=100, Resulting Numbers: [100]
100,35 unequal: No Solution
Moving to Node #0,3,1
Current State: 35:[91, 51], Operations: ['78-48=30', '21+30=51']
Exploring Operation: 91+51=142, Resulting Numbers: [142]
142,35 unequal: No Solution
Exploring Operation: 91-51=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 91*51=4641, Resulting Numbers: [4641]
4641,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:[48, 91, 57], Operations: ['78-21=57']
Exploring Operation: 91-57=34, Resulting Numbers: [48, 34]
Generated Node #0,1,0: 35:[48, 34] Operation: 91-57=34
Exploring Operation: 91-48=43, Resulting Numbers: [57, 43]
Generated Node #0,1,1: 35:[57, 43] Operation: 91-48=43
Exploring Operation: 57-48=9, Resulting Numbers: [91, 9]
Generated Node #0,1,2: 35:[91, 9] Operation: 57-48=9
Exploring Operation: 48+91=139, Resulting Numbers: [57, 139]
Generated Node #0,1,3: 35:[57, 139] Operation: 48+91=139
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 35:[48, 34], Operations: ['78-21=57', '91-57=34']
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 48*34=1632, Resulting Numbers: [1632]
1632,35 unequal: No Solution
Exploring Operation: 48+34=82, Resulting Numbers: [82]
82,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:[57, 43], Operations: ['78-21=57', '91-48=43']
Exploring Operation: 57*43=2451, Resulting Numbers: [2451]
2451,35 unequal: No Solution
Exploring Operation: 57-43=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 57+43=100, Resulting Numbers: [100]
100,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:[91, 9], Operations: ['78-21=57', '57-48=9']
Exploring Operation: 91+9=100, Resulting Numbers: [100]
100,35 unequal: No Solution
Exploring Operation: 91*9=819, Resulting Numbers: [819]
819,35 unequal: No Solution
Exploring Operation: 91-9=82, Resulting Numbers: [82]
82,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,3
Current State: 35:[57, 139], Operations: ['78-21=57', '48+91=139']
Exploring Operation: 139-57=82, Resulting Numbers: [82]
82,35 unequal: No Solution
Exploring Operation: 57+139=196, Resulting Numbers: [196]
196,35 unequal: No Solution
Exploring Operation: 57*139=7923, Resulting Numbers: [7923]
7923,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_4 | sum_heuristic |
[
2,
4,
34,
37
] | 52 | [
"34-4=30",
"30/2=15",
"37+15=52"
] | Current State: 52:[2, 4, 34, 37], Operations: []
Exploring Operation: 34-4=30, Resulting Numbers: [2, 37, 30]
Generated Node #2: [2, 37, 30] from Operation: 34-4=30
Current State: 52:[2, 37, 30], Operations: ['34-4=30']
Exploring Operation: 30/2=15, Resulting Numbers: [37, 15]
Generated Node #3: [37, 15] from Operation: 30/2=15
Current State: 52:[37, 15], Operations: ['34-4=30', '30/2=15']
Exploring Operation: 37+15=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[2, 4, 34, 37], Operations: []
Exploring Operation: 37-34=3, Resulting Numbers: [2, 4, 3]
Generated Node #0,0: 52:[2, 4, 3] Operation: 37-34=3
Exploring Operation: 34-2=32, Resulting Numbers: [4, 37, 32]
Generated Node #0,1: 52:[4, 37, 32] Operation: 34-2=32
Exploring Operation: 34-4=30, Resulting Numbers: [2, 37, 30]
Generated Node #0,2: 52:[2, 37, 30] Operation: 34-4=30
Exploring Operation: 37-4=33, Resulting Numbers: [2, 34, 33]
Generated Node #0,3: 52:[2, 34, 33] Operation: 37-4=33
Exploring Operation: 34/2=17, Resulting Numbers: [4, 37, 17]
Generated Node #0,4: 52:[4, 37, 17] Operation: 34/2=17
Moving to Node #0,0
Current State: 52:[2, 4, 3], Operations: ['37-34=3']
Exploring Operation: 4*3=12, Resulting Numbers: [2, 12]
Generated Node #0,0,0: 52:[2, 12] Operation: 4*3=12
Exploring Operation: 4/2=2, Resulting Numbers: [3, 2]
Generated Node #0,0,1: 52:[3, 2] Operation: 4/2=2
Exploring Operation: 2+3=5, Resulting Numbers: [4, 5]
Generated Node #0,0,2: 52:[4, 5] Operation: 2+3=5
Exploring Operation: 3-2=1, Resulting Numbers: [4, 1]
Generated Node #0,0,3: 52:[4, 1] Operation: 3-2=1
Exploring Operation: 4-2=2, Resulting Numbers: [3, 2]
Generated Node #0,0,4: 52:[3, 2] Operation: 4-2=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[2, 12], Operations: ['37-34=3', '4*3=12']
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[3, 2], Operations: ['37-34=3', '4/2=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[4, 5], Operations: ['37-34=3', '2+3=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 52:[4, 1], Operations: ['37-34=3', '3-2=1']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 52:[3, 2], Operations: ['37-34=3', '4-2=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,52 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: 52:[2, 34, 33], Operations: ['37-4=33']
Exploring Operation: 33-2=31, Resulting Numbers: [34, 31]
Generated Node #0,3,0: 52:[34, 31] Operation: 33-2=31
Exploring Operation: 34-2=32, Resulting Numbers: [33, 32]
Generated Node #0,3,1: 52:[33, 32] Operation: 34-2=32
Exploring Operation: 34-33=1, Resulting Numbers: [2, 1]
Generated Node #0,3,2: 52:[2, 1] Operation: 34-33=1
Exploring Operation: 34/2=17, Resulting Numbers: [33, 17]
Generated Node #0,3,3: 52:[33, 17] Operation: 34/2=17
Exploring Operation: 34+33=67, Resulting Numbers: [2, 67]
Generated Node #0,3,4: 52:[2, 67] Operation: 34+33=67
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 52:[2, 1], Operations: ['37-4=33', '34-33=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 52:[33, 17], Operations: ['37-4=33', '34/2=17']
Exploring Operation: 33*17=561, Resulting Numbers: [561]
561,52 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 33+17=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,0
Current State: 52:[34, 31], Operations: ['37-4=33', '33-2=31']
Exploring Operation: 34+31=65, Resulting Numbers: [65]
65,52 unequal: No Solution
Exploring Operation: 34*31=1054, Resulting Numbers: [1054]
1054,52 unequal: No Solution
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 52:[33, 32], Operations: ['37-4=33', '34-2=32']
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 33*32=1056, Resulting Numbers: [1056]
1056,52 unequal: No Solution
Exploring Operation: 33+32=65, Resulting Numbers: [65]
65,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,4
Current State: 52:[2, 67], Operations: ['37-4=33', '34+33=67']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,52 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,52 unequal: No Solution
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,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:[2, 37, 30], Operations: ['34-4=30']
Exploring Operation: 30/2=15, Resulting Numbers: [37, 15]
Generated Node #0,2,0: 52:[37, 15] Operation: 30/2=15
Exploring Operation: 37+30=67, Resulting Numbers: [2, 67]
Generated Node #0,2,1: 52:[2, 67] Operation: 37+30=67
Exploring Operation: 30-2=28, Resulting Numbers: [37, 28]
Generated Node #0,2,2: 52:[37, 28] Operation: 30-2=28
Exploring Operation: 37-30=7, Resulting Numbers: [2, 7]
Generated Node #0,2,3: 52:[2, 7] Operation: 37-30=7
Exploring Operation: 37-2=35, Resulting Numbers: [30, 35]
Generated Node #0,2,4: 52:[30, 35] Operation: 37-2=35
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 52:[2, 7], Operations: ['34-4=30', '37-30=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[37, 15], Operations: ['34-4=30', '30/2=15']
Exploring Operation: 37-15=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Exploring Operation: 37*15=555, Resulting Numbers: [555]
555,52 unequal: No Solution
Exploring Operation: 37+15=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[2, 4, 34, 37], Operations: []
Exploring Operation: 34-4=30, Resulting Numbers: [2, 37, 30]
Generated Node #0,2: 52:[2, 37, 30] Operation: 34-4=30
Moving to Node #0,2
Current State: 52:[2, 37, 30], Operations: ['34-4=30']
Exploring Operation: 30/2=15, Resulting Numbers: [37, 15]
Generated Node #0,2,0: 52:[37, 15] Operation: 30/2=15
Moving to Node #0,2,0
Current State: 52:[37, 15], Operations: ['34-4=30', '30/2=15']
Exploring Operation: 37+15=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.945313 | hs_5 | mult_heuristic |
[
1,
39,
60,
63
] | 12 | [
"63-60=3",
"39/3=13",
"13-1=12"
] | Current State: 12:[1, 39, 60, 63], Operations: []
Exploring Operation: 63-60=3, Resulting Numbers: [1, 39, 3]
Generated Node #2: [1, 39, 3] from Operation: 63-60=3
Current State: 12:[1, 39, 3], Operations: ['63-60=3']
Exploring Operation: 39/3=13, Resulting Numbers: [1, 13]
Generated Node #3: [1, 13] from Operation: 39/3=13
Current State: 12:[1, 13], Operations: ['63-60=3', '39/3=13']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[1, 39, 60, 63], Operations: []
Exploring Operation: 63-39=24, Resulting Numbers: [1, 60, 24]
Generated Node #0,0: 12:[1, 60, 24] Operation: 63-39=24
Exploring Operation: 63-60=3, Resulting Numbers: [1, 39, 3]
Generated Node #0,1: 12:[1, 39, 3] Operation: 63-60=3
Exploring Operation: 60-39=21, Resulting Numbers: [1, 63, 21]
Generated Node #0,2: 12:[1, 63, 21] Operation: 60-39=21
Moving to Node #0,1
Current State: 12:[1, 39, 3], Operations: ['63-60=3']
Exploring Operation: 39/3=13, Resulting Numbers: [1, 13]
Generated Node #0,1,0: 12:[1, 13] Operation: 39/3=13
Exploring Operation: 39-3=36, Resulting Numbers: [1, 36]
Generated Node #0,1,1: 12:[1, 36] Operation: 39-3=36
Exploring Operation: 39-1=38, Resulting Numbers: [3, 38]
Generated Node #0,1,2: 12:[3, 38] Operation: 39-1=38
Moving to Node #0,0
Current State: 12:[1, 60, 24], Operations: ['63-39=24']
Exploring Operation: 60-24=36, Resulting Numbers: [1, 36]
Generated Node #0,0,0: 12:[1, 36] Operation: 60-24=36
Exploring Operation: 24-1=23, Resulting Numbers: [60, 23]
Generated Node #0,0,1: 12:[60, 23] Operation: 24-1=23
Exploring Operation: 60-1=59, Resulting Numbers: [24, 59]
Generated Node #0,0,2: 12:[24, 59] Operation: 60-1=59
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[1, 36], Operations: ['63-39=24', '60-24=36']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 1*36=36, Resulting Numbers: [36]
36,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[60, 23], Operations: ['63-39=24', '24-1=23']
Exploring Operation: 60*23=1380, Resulting Numbers: [1380]
1380,12 unequal: No Solution
Exploring Operation: 60+23=83, Resulting Numbers: [83]
83,12 unequal: No Solution
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[24, 59], Operations: ['63-39=24', '60-1=59']
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Exploring Operation: 24+59=83, Resulting Numbers: [83]
83,12 unequal: No Solution
Exploring Operation: 24*59=1416, Resulting Numbers: [1416]
1416,12 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: 12:[1, 63, 21], Operations: ['60-39=21']
Exploring Operation: 63/21=3, Resulting Numbers: [1, 3]
Generated Node #0,2,0: 12:[1, 3] Operation: 63/21=3
Exploring Operation: 63-21=42, Resulting Numbers: [1, 42]
Generated Node #0,2,1: 12:[1, 42] Operation: 63-21=42
Exploring Operation: 63-1=62, Resulting Numbers: [21, 62]
Generated Node #0,2,2: 12:[21, 62] Operation: 63-1=62
Moving to Node #0,2,0
Current State: 12:[1, 3], Operations: ['60-39=21', '63/21=3']
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[1, 13], Operations: ['63-60=3', '39/3=13']
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[1, 39, 60, 63], Operations: []
Exploring Operation: 63-60=3, Resulting Numbers: [1, 39, 3]
Generated Node #0,1: 12:[1, 39, 3] Operation: 63-60=3
Moving to Node #0,1
Current State: 12:[1, 39, 3], Operations: ['63-60=3']
Exploring Operation: 39/3=13, Resulting Numbers: [1, 13]
Generated Node #0,1,0: 12:[1, 13] Operation: 39/3=13
Moving to Node #0,1,0
Current State: 12:[1, 13], Operations: ['63-60=3', '39/3=13']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 0.973958 | hs_3 | mult_heuristic |
[
79,
37,
77,
21
] | 60 | [
"79+37=116",
"77-21=56",
"116-56=60"
] | Current State: 60:[79, 37, 77, 21], Operations: []
Exploring Operation: 79+37=116, Resulting Numbers: [77, 21, 116]
Generated Node #2: [77, 21, 116] from Operation: 79+37=116
Current State: 60:[77, 21, 116], Operations: ['79+37=116']
Exploring Operation: 77-21=56, Resulting Numbers: [116, 56]
Generated Node #3: [116, 56] from Operation: 77-21=56
Current State: 60:[116, 56], Operations: ['79+37=116', '77-21=56']
Exploring Operation: 116-56=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[79, 37, 77, 21], Operations: []
Exploring Operation: 79-21=58, Resulting Numbers: [37, 77, 58]
Generated Node #0,0: 60:[37, 77, 58] Operation: 79-21=58
Exploring Operation: 79-77=2, Resulting Numbers: [37, 21, 2]
Generated Node #0,1: 60:[37, 21, 2] Operation: 79-77=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[37, 21, 2], Operations: ['79-77=2']
Exploring Operation: 37+21=58, Resulting Numbers: [2, 58]
Generated Node #0,1,0: 60:[2, 58] Operation: 37+21=58
Exploring Operation: 37-21=16, Resulting Numbers: [2, 16]
Generated Node #0,1,1: 60:[2, 16] Operation: 37-21=16
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[2, 16], Operations: ['79-77=2', '37-21=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,60 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[2, 58], Operations: ['79-77=2', '37+21=58']
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[79, 37, 77, 21], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [37, 21, 2]
Generated Node #0,1: 60:[37, 21, 2] Operation: 79-77=2
Moving to Node #0,1
Current State: 60:[37, 21, 2], Operations: ['79-77=2']
Exploring Operation: 37+21=58, Resulting Numbers: [2, 58]
Generated Node #0,1,0: 60:[2, 58] Operation: 37+21=58
Moving to Node #0,1,0
Current State: 60:[2, 58], Operations: ['79-77=2', '37+21=58']
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
22,
51,
20,
15
] | 81 | [
"22-20=2",
"15*2=30",
"51+30=81"
] | Current State: 81:[22, 51, 20, 15], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [51, 15, 2]
Generated Node #2: [51, 15, 2] from Operation: 22-20=2
Current State: 81:[51, 15, 2], Operations: ['22-20=2']
Exploring Operation: 15*2=30, Resulting Numbers: [51, 30]
Generated Node #3: [51, 30] from Operation: 15*2=30
Current State: 81:[51, 30], Operations: ['22-20=2', '15*2=30']
Exploring Operation: 51+30=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[22, 51, 20, 15], Operations: []
Exploring Operation: 22+51=73, Resulting Numbers: [20, 15, 73]
Generated Node #0,0: 81:[20, 15, 73] Operation: 22+51=73
Exploring Operation: 51-22=29, Resulting Numbers: [20, 15, 29]
Generated Node #0,1: 81:[20, 15, 29] Operation: 51-22=29
Exploring Operation: 51-20=31, Resulting Numbers: [22, 15, 31]
Generated Node #0,2: 81:[22, 15, 31] Operation: 51-20=31
Exploring Operation: 51+20=71, Resulting Numbers: [22, 15, 71]
Generated Node #0,3: 81:[22, 15, 71] Operation: 51+20=71
Moving to Node #0,1
Current State: 81:[20, 15, 29], Operations: ['51-22=29']
Exploring Operation: 29-20=9, Resulting Numbers: [15, 9]
Generated Node #0,1,0: 81:[15, 9] Operation: 29-20=9
Exploring Operation: 29-15=14, Resulting Numbers: [20, 14]
Generated Node #0,1,1: 81:[20, 14] Operation: 29-15=14
Exploring Operation: 20+15=35, Resulting Numbers: [29, 35]
Generated Node #0,1,2: 81:[29, 35] Operation: 20+15=35
Exploring Operation: 20-15=5, Resulting Numbers: [29, 5]
Generated Node #0,1,3: 81:[29, 5] Operation: 20-15=5
Moving to Node #0,2
Current State: 81:[22, 15, 31], Operations: ['51-20=31']
Exploring Operation: 22+15=37, Resulting Numbers: [31, 37]
Generated Node #0,2,0: 81:[31, 37] Operation: 22+15=37
Exploring Operation: 31-15=16, Resulting Numbers: [22, 16]
Generated Node #0,2,1: 81:[22, 16] Operation: 31-15=16
Exploring Operation: 31-22=9, Resulting Numbers: [15, 9]
Generated Node #0,2,2: 81:[15, 9] Operation: 31-22=9
Exploring Operation: 22-15=7, Resulting Numbers: [31, 7]
Generated Node #0,2,3: 81:[31, 7] Operation: 22-15=7
Moving to Node #0,3
Current State: 81:[22, 15, 71], Operations: ['51+20=71']
Exploring Operation: 22+15=37, Resulting Numbers: [71, 37]
Generated Node #0,3,0: 81:[71, 37] Operation: 22+15=37
Exploring Operation: 15+71=86, Resulting Numbers: [22, 86]
Generated Node #0,3,1: 81:[22, 86] Operation: 15+71=86
Exploring Operation: 22-15=7, Resulting Numbers: [71, 7]
Generated Node #0,3,2: 81:[71, 7] Operation: 22-15=7
Exploring Operation: 22+71=93, Resulting Numbers: [15, 93]
Generated Node #0,3,3: 81:[15, 93] Operation: 22+71=93
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 81:[22, 86], Operations: ['51+20=71', '15+71=86']
Exploring Operation: 22*86=1892, Resulting Numbers: [1892]
1892,81 unequal: No Solution
Exploring Operation: 22+86=108, Resulting Numbers: [108]
108,81 unequal: No Solution
Exploring Operation: 86-22=64, Resulting Numbers: [64]
64,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 81:[71, 7], Operations: ['51+20=71', '22-15=7']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,81 unequal: No Solution
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,81 unequal: No Solution
Exploring Operation: 71*7=497, Resulting Numbers: [497]
497,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 81:[15, 93], Operations: ['51+20=71', '22+71=93']
Exploring Operation: 15+93=108, Resulting Numbers: [108]
108,81 unequal: No Solution
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,81 unequal: No Solution
Exploring Operation: 15*93=1395, Resulting Numbers: [1395]
1395,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 81:[71, 37], Operations: ['51+20=71', '22+15=37']
Exploring Operation: 71*37=2627, Resulting Numbers: [2627]
2627,81 unequal: No Solution
Exploring Operation: 71+37=108, Resulting Numbers: [108]
108,81 unequal: No Solution
Exploring Operation: 71-37=34, Resulting Numbers: [34]
34,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:[20, 15, 73], Operations: ['22+51=73']
Exploring Operation: 20+73=93, Resulting Numbers: [15, 93]
Generated Node #0,0,0: 81:[15, 93] Operation: 20+73=93
Exploring Operation: 20+15=35, Resulting Numbers: [73, 35]
Generated Node #0,0,1: 81:[73, 35] Operation: 20+15=35
Exploring Operation: 15+73=88, Resulting Numbers: [20, 88]
Generated Node #0,0,2: 81:[20, 88] Operation: 15+73=88
Exploring Operation: 20-15=5, Resulting Numbers: [73, 5]
Generated Node #0,0,3: 81:[73, 5] Operation: 20-15=5
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 81:[73, 5], Operations: ['22+51=73', '20-15=5']
Exploring Operation: 73*5=365, Resulting Numbers: [365]
365,81 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,81 unequal: No Solution
Exploring Operation: 73+5=78, Resulting Numbers: [78]
78,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[20, 88], Operations: ['22+51=73', '15+73=88']
Exploring Operation: 88-20=68, Resulting Numbers: [68]
68,81 unequal: No Solution
Exploring Operation: 20*88=1760, Resulting Numbers: [1760]
1760,81 unequal: No Solution
Exploring Operation: 20+88=108, Resulting Numbers: [108]
108,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[73, 35], Operations: ['22+51=73', '20+15=35']
Exploring Operation: 73+35=108, Resulting Numbers: [108]
108,81 unequal: No Solution
Exploring Operation: 73*35=2555, Resulting Numbers: [2555]
2555,81 unequal: No Solution
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[15, 93], Operations: ['22+51=73', '20+73=93']
Exploring Operation: 15*93=1395, Resulting Numbers: [1395]
1395,81 unequal: No Solution
Exploring Operation: 15+93=108, Resulting Numbers: [108]
108,81 unequal: No Solution
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 81:[29, 5], Operations: ['51-22=29', '20-15=5']
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,81 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Moving to Node #0,2,3
Current State: 81:[31, 7], Operations: ['51-20=31', '22-15=7']
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,81 unequal: No Solution
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[15, 9], Operations: ['51-22=29', '29-20=9']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[15, 9], Operations: ['51-20=31', '31-22=9']
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,81 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[29, 35], Operations: ['51-22=29', '20+15=35']
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,81 unequal: No Solution
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,81 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[22, 16], Operations: ['51-20=31', '31-15=16']
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,81 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[20, 14], Operations: ['51-22=29', '29-15=14']
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[31, 37], Operations: ['51-20=31', '22+15=37']
Exploring Operation: 31*37=1147, Resulting Numbers: [1147]
1147,81 unequal: No Solution
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 31+37=68, Resulting Numbers: [68]
68,81 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
81,
70,
37,
69
] | 95 | [
"81-70=11",
"37+69=106",
"106-11=95"
] | Current State: 95:[81, 70, 37, 69], Operations: []
Exploring Operation: 81-70=11, Resulting Numbers: [37, 69, 11]
Generated Node #2: [37, 69, 11] from Operation: 81-70=11
Current State: 95:[37, 69, 11], Operations: ['81-70=11']
Exploring Operation: 37+69=106, Resulting Numbers: [11, 106]
Generated Node #3: [11, 106] from Operation: 37+69=106
Current State: 95:[11, 106], Operations: ['81-70=11', '37+69=106']
Exploring Operation: 106-11=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[81, 70, 37, 69], Operations: []
Exploring Operation: 81-70=11, Resulting Numbers: [37, 69, 11]
Generated Node #0,0: 95:[37, 69, 11] Operation: 81-70=11
Exploring Operation: 70-69=1, Resulting Numbers: [81, 37, 1]
Generated Node #0,1: 95:[81, 37, 1] Operation: 70-69=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[81, 37, 1], Operations: ['70-69=1']
Exploring Operation: 81+37=118, Resulting Numbers: [1, 118]
Generated Node #0,1,0: 95:[1, 118] Operation: 81+37=118
Exploring Operation: 81-37=44, Resulting Numbers: [1, 44]
Generated Node #0,1,1: 95:[1, 44] Operation: 81-37=44
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[1, 118], Operations: ['70-69=1', '81+37=118']
Exploring Operation: 118-1=117, Resulting Numbers: [117]
117,95 unequal: No Solution
Exploring Operation: 1*118=118, Resulting Numbers: [118]
118,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[1, 44], Operations: ['70-69=1', '81-37=44']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,95 unequal: No Solution
Exploring Operation: 1*44=44, Resulting Numbers: [44]
44,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:[37, 69, 11], Operations: ['81-70=11']
Exploring Operation: 37+69=106, Resulting Numbers: [11, 106]
Generated Node #0,0,0: 95:[11, 106] Operation: 37+69=106
Exploring Operation: 69-37=32, Resulting Numbers: [11, 32]
Generated Node #0,0,1: 95:[11, 32] Operation: 69-37=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[11, 106], Operations: ['81-70=11', '37+69=106']
Exploring Operation: 106-11=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[81, 70, 37, 69], Operations: []
Exploring Operation: 81-70=11, Resulting Numbers: [37, 69, 11]
Generated Node #0,0: 95:[37, 69, 11] Operation: 81-70=11
Moving to Node #0,0
Current State: 95:[37, 69, 11], Operations: ['81-70=11']
Exploring Operation: 37+69=106, Resulting Numbers: [11, 106]
Generated Node #0,0,0: 95:[11, 106] Operation: 37+69=106
Moving to Node #0,0,0
Current State: 95:[11, 106], Operations: ['81-70=11', '37+69=106']
Exploring Operation: 106-11=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
3,
93,
91,
13
] | 14 | [
"93-3=90",
"91+13=104",
"104-90=14"
] | Current State: 14:[3, 93, 91, 13], Operations: []
Exploring Operation: 93-3=90, Resulting Numbers: [91, 13, 90]
Generated Node #2: [91, 13, 90] from Operation: 93-3=90
Current State: 14:[91, 13, 90], Operations: ['93-3=90']
Exploring Operation: 91+13=104, Resulting Numbers: [90, 104]
Generated Node #3: [90, 104] from Operation: 91+13=104
Current State: 14:[90, 104], Operations: ['93-3=90', '91+13=104']
Exploring Operation: 104-90=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[3, 93, 91, 13], Operations: []
Exploring Operation: 93/3=31, Resulting Numbers: [91, 13, 31]
Generated Node #0,0: 14:[91, 13, 31] Operation: 93/3=31
Exploring Operation: 91-13=78, Resulting Numbers: [3, 93, 78]
Generated Node #0,1: 14:[3, 93, 78] Operation: 91-13=78
Exploring Operation: 91/13=7, Resulting Numbers: [3, 93, 7]
Generated Node #0,2: 14:[3, 93, 7] Operation: 91/13=7
Exploring Operation: 93-13=80, Resulting Numbers: [3, 91, 80]
Generated Node #0,3: 14:[3, 91, 80] Operation: 93-13=80
Exploring Operation: 93-91=2, Resulting Numbers: [3, 13, 2]
Generated Node #0,4: 14:[3, 13, 2] Operation: 93-91=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 14:[3, 13, 2], Operations: ['93-91=2']
Exploring Operation: 3-2=1, Resulting Numbers: [13, 1]
Generated Node #0,4,0: 14:[13, 1] Operation: 3-2=1
Exploring Operation: 3+13=16, Resulting Numbers: [2, 16]
Generated Node #0,4,1: 14:[2, 16] Operation: 3+13=16
Exploring Operation: 3*2=6, Resulting Numbers: [13, 6]
Generated Node #0,4,2: 14:[13, 6] Operation: 3*2=6
Exploring Operation: 13-3=10, Resulting Numbers: [2, 10]
Generated Node #0,4,3: 14:[2, 10] Operation: 13-3=10
Exploring Operation: 13+2=15, Resulting Numbers: [3, 15]
Generated Node #0,4,4: 14:[3, 15] Operation: 13+2=15
Moving to Node #0,4,0
Current State: 14:[13, 1], Operations: ['93-91=2', '3-2=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[3, 93, 91, 13], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [3, 13, 2]
Generated Node #0,4: 14:[3, 13, 2] Operation: 93-91=2
Moving to Node #0,4
Current State: 14:[3, 13, 2], Operations: ['93-91=2']
Exploring Operation: 3-2=1, Resulting Numbers: [13, 1]
Generated Node #0,4,0: 14:[13, 1] Operation: 3-2=1
Moving to Node #0,4,0
Current State: 14:[13, 1], Operations: ['93-91=2', '3-2=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
43,
42,
40,
61
] | 47 | [
"43-40=3",
"42/3=14",
"61-14=47"
] | Current State: 47:[43, 42, 40, 61], Operations: []
Exploring Operation: 43-40=3, Resulting Numbers: [42, 61, 3]
Generated Node #2: [42, 61, 3] from Operation: 43-40=3
Current State: 47:[42, 61, 3], Operations: ['43-40=3']
Exploring Operation: 42/3=14, Resulting Numbers: [61, 14]
Generated Node #3: [61, 14] from Operation: 42/3=14
Current State: 47:[61, 14], Operations: ['43-40=3', '42/3=14']
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[43, 42, 40, 61], Operations: []
Exploring Operation: 61-42=19, Resulting Numbers: [43, 40, 19]
Generated Node #0,0: 47:[43, 40, 19] Operation: 61-42=19
Exploring Operation: 61-40=21, Resulting Numbers: [43, 42, 21]
Generated Node #0,1: 47:[43, 42, 21] Operation: 61-40=21
Moving to Node #0,1
Current State: 47:[43, 42, 21], Operations: ['61-40=21']
Exploring Operation: 42+21=63, Resulting Numbers: [43, 63]
Generated Node #0,1,0: 47:[43, 63] Operation: 42+21=63
Exploring Operation: 43+21=64, Resulting Numbers: [42, 64]
Generated Node #0,1,1: 47:[42, 64] Operation: 43+21=64
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[43, 63], Operations: ['61-40=21', '42+21=63']
Exploring Operation: 43+63=106, Resulting Numbers: [106]
106,47 unequal: No Solution
Exploring Operation: 63-43=20, Resulting Numbers: [20]
20,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[42, 64], Operations: ['61-40=21', '43+21=64']
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 42+64=106, Resulting Numbers: [106]
106,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 47:[43, 40, 19], Operations: ['61-42=19']
Exploring Operation: 43+19=62, Resulting Numbers: [40, 62]
Generated Node #0,0,0: 47:[40, 62] Operation: 43+19=62
Exploring Operation: 40+19=59, Resulting Numbers: [43, 59]
Generated Node #0,0,1: 47:[43, 59] Operation: 40+19=59
Moving to Node #0,0,1
Current State: 47:[43, 59], Operations: ['61-42=19', '40+19=59']
Exploring Operation: 43+59=102, Resulting Numbers: [102]
102,47 unequal: No Solution
Exploring Operation: 59-43=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[40, 62], Operations: ['61-42=19', '43+19=62']
Exploring Operation: 62-40=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 40+62=102, Resulting Numbers: [102]
102,47 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
1,
95,
30,
77
] | 12 | [
"1*95=95",
"30+77=107",
"107-95=12"
] | Current State: 12:[1, 95, 30, 77], Operations: []
Exploring Operation: 1*95=95, Resulting Numbers: [30, 77, 95]
Generated Node #2: [30, 77, 95] from Operation: 1*95=95
Current State: 12:[30, 77, 95], Operations: ['1*95=95']
Exploring Operation: 30+77=107, Resulting Numbers: [95, 107]
Generated Node #3: [95, 107] from Operation: 30+77=107
Current State: 12:[95, 107], Operations: ['1*95=95', '30+77=107']
Exploring Operation: 107-95=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[1, 95, 30, 77], Operations: []
Exploring Operation: 95-30=65, Resulting Numbers: [1, 77, 65]
Generated Node #0,0: 12:[1, 77, 65] Operation: 95-30=65
Exploring Operation: 77-30=47, Resulting Numbers: [1, 95, 47]
Generated Node #0,1: 12:[1, 95, 47] Operation: 77-30=47
Exploring Operation: 95-77=18, Resulting Numbers: [1, 30, 18]
Generated Node #0,2: 12:[1, 30, 18] Operation: 95-77=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[1, 30, 18], Operations: ['95-77=18']
Exploring Operation: 30-1=29, Resulting Numbers: [18, 29]
Generated Node #0,2,0: 12:[18, 29] Operation: 30-1=29
Exploring Operation: 30-18=12, Resulting Numbers: [1, 12]
Generated Node #0,2,1: 12:[1, 12] Operation: 30-18=12
Exploring Operation: 18-1=17, Resulting Numbers: [30, 17]
Generated Node #0,2,2: 12:[30, 17] Operation: 18-1=17
Moving to Node #0,2,1
Current State: 12:[1, 12], Operations: ['95-77=18', '30-18=12']
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[1, 95, 30, 77], Operations: []
Exploring Operation: 95-77=18, Resulting Numbers: [1, 30, 18]
Generated Node #0,2: 12:[1, 30, 18] Operation: 95-77=18
Moving to Node #0,2
Current State: 12:[1, 30, 18], Operations: ['95-77=18']
Exploring Operation: 30-18=12, Resulting Numbers: [1, 12]
Generated Node #0,2,1: 12:[1, 12] Operation: 30-18=12
Moving to Node #0,2,1
Current State: 12:[1, 12], Operations: ['95-77=18', '30-18=12']
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
61,
90,
75,
41
] | 85 | [
"61+41=102",
"75*102=7650",
"7650/90=85"
] | Current State: 85:[61, 90, 75, 41], Operations: []
Exploring Operation: 61+41=102, Resulting Numbers: [90, 75, 102]
Generated Node #2: [90, 75, 102] from Operation: 61+41=102
Current State: 85:[90, 75, 102], Operations: ['61+41=102']
Exploring Operation: 75*102=7650, Resulting Numbers: [90, 7650]
Generated Node #3: [90, 7650] from Operation: 75*102=7650
Current State: 85:[90, 7650], Operations: ['61+41=102', '75*102=7650']
Exploring Operation: 7650/90=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[61, 90, 75, 41], Operations: []
Exploring Operation: 61-41=20, Resulting Numbers: [90, 75, 20]
Generated Node #0,0: 85:[90, 75, 20] Operation: 61-41=20
Exploring Operation: 75-61=14, Resulting Numbers: [90, 41, 14]
Generated Node #0,1: 85:[90, 41, 14] Operation: 75-61=14
Moving to Node #0,0
Current State: 85:[90, 75, 20], Operations: ['61-41=20']
Exploring Operation: 90-75=15, Resulting Numbers: [20, 15]
Generated Node #0,0,0: 85:[20, 15] Operation: 90-75=15
Exploring Operation: 75+20=95, Resulting Numbers: [90, 95]
Generated Node #0,0,1: 85:[90, 95] Operation: 75+20=95
Moving to Node #0,1
Current State: 85:[90, 41, 14], Operations: ['75-61=14']
Exploring Operation: 41-14=27, Resulting Numbers: [90, 27]
Generated Node #0,1,0: 85:[90, 27] Operation: 41-14=27
Exploring Operation: 90-14=76, Resulting Numbers: [41, 76]
Generated Node #0,1,1: 85:[41, 76] Operation: 90-14=76
Moving to Node #0,0,0
Current State: 85:[20, 15], Operations: ['61-41=20', '90-75=15']
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 20+15=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[90, 27], Operations: ['75-61=14', '41-14=27']
Exploring Operation: 90+27=117, Resulting Numbers: [117]
117,85 unequal: No Solution
Exploring Operation: 90-27=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[90, 95], Operations: ['61-41=20', '75+20=95']
Exploring Operation: 95-90=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 90+95=185, Resulting Numbers: [185]
185,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[41, 76], Operations: ['75-61=14', '90-14=76']
Exploring Operation: 41+76=117, Resulting Numbers: [117]
117,85 unequal: No Solution
Exploring Operation: 76-41=35, Resulting Numbers: [35]
35,85 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
28,
13,
15
] | 45 | [
"2*15=30",
"28-13=15",
"30+15=45"
] | Current State: 45:[2, 28, 13, 15], Operations: []
Exploring Operation: 2*15=30, Resulting Numbers: [28, 13, 30]
Generated Node #2: [28, 13, 30] from Operation: 2*15=30
Current State: 45:[28, 13, 30], Operations: ['2*15=30']
Exploring Operation: 28-13=15, Resulting Numbers: [30, 15]
Generated Node #3: [30, 15] from Operation: 28-13=15
Current State: 45:[30, 15], Operations: ['2*15=30', '28-13=15']
Exploring Operation: 30+15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[2, 28, 13, 15], Operations: []
Exploring Operation: 28+15=43, Resulting Numbers: [2, 13, 43]
Generated Node #0,0: 45:[2, 13, 43] Operation: 28+15=43
Exploring Operation: 28/2=14, Resulting Numbers: [13, 15, 14]
Generated Node #0,1: 45:[13, 15, 14] Operation: 28/2=14
Exploring Operation: 28+13=41, Resulting Numbers: [2, 15, 41]
Generated Node #0,2: 45:[2, 15, 41] Operation: 28+13=41
Exploring Operation: 28-13=15, Resulting Numbers: [2, 15, 15]
Generated Node #0,3: 45:[2, 15, 15] Operation: 28-13=15
Moving to Node #0,3
Current State: 45:[2, 15, 15], Operations: ['28-13=15']
Exploring Operation: 2+15=17, Resulting Numbers: [15, 17]
Generated Node #0,3,0: 45:[15, 17] Operation: 2+15=17
Exploring Operation: 15-2=13, Resulting Numbers: [15, 13]
Generated Node #0,3,1: 45:[15, 13] Operation: 15-2=13
Exploring Operation: 2+15=17, Resulting Numbers: [15, 17]
Generated Node #0,3,2: 45:[15, 17] Operation: 2+15=17
Exploring Operation: 15-2=13, Resulting Numbers: [15, 13]
Generated Node #0,3,3: 45:[15, 13] Operation: 15-2=13
Moving to Node #0,1
Current State: 45:[13, 15, 14], Operations: ['28/2=14']
Exploring Operation: 14-13=1, Resulting Numbers: [15, 1]
Generated Node #0,1,0: 45:[15, 1] Operation: 14-13=1
Exploring Operation: 15-13=2, Resulting Numbers: [14, 2]
Generated Node #0,1,1: 45:[14, 2] Operation: 15-13=2
Exploring Operation: 15-14=1, Resulting Numbers: [13, 1]
Generated Node #0,1,2: 45:[13, 1] Operation: 15-14=1
Exploring Operation: 13+14=27, Resulting Numbers: [15, 27]
Generated Node #0,1,3: 45:[15, 27] Operation: 13+14=27
Moving to Node #0,2
Current State: 45:[2, 15, 41], Operations: ['28+13=41']
Exploring Operation: 2+41=43, Resulting Numbers: [15, 43]
Generated Node #0,2,0: 45:[15, 43] Operation: 2+41=43
Exploring Operation: 41-2=39, Resulting Numbers: [15, 39]
Generated Node #0,2,1: 45:[15, 39] Operation: 41-2=39
Exploring Operation: 2+15=17, Resulting Numbers: [41, 17]
Generated Node #0,2,2: 45:[41, 17] Operation: 2+15=17
Exploring Operation: 15-2=13, Resulting Numbers: [41, 13]
Generated Node #0,2,3: 45:[41, 13] Operation: 15-2=13
Moving to Node #0,0
Current State: 45:[2, 13, 43], Operations: ['28+15=43']
Exploring Operation: 2+43=45, Resulting Numbers: [13, 45]
Generated Node #0,0,0: 45:[13, 45] Operation: 2+43=45
Exploring Operation: 2+13=15, Resulting Numbers: [43, 15]
Generated Node #0,0,1: 45:[43, 15] Operation: 2+13=15
Exploring Operation: 43-2=41, Resulting Numbers: [13, 41]
Generated Node #0,0,2: 45:[13, 41] Operation: 43-2=41
Exploring Operation: 13-2=11, Resulting Numbers: [43, 11]
Generated Node #0,0,3: 45:[43, 11] Operation: 13-2=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[13, 45], Operations: ['28+15=43', '2+43=45']
Exploring Operation: 13+45=58, Resulting Numbers: [58]
58,45 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,45 unequal: No Solution
Exploring Operation: 13*45=585, Resulting Numbers: [585]
585,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 45:[43, 15], Operations: ['28+15=43', '2+13=15']
Exploring Operation: 43*15=645, Resulting Numbers: [645]
645,45 unequal: No Solution
Exploring Operation: 43+15=58, Resulting Numbers: [58]
58,45 unequal: No Solution
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 45:[43, 11], Operations: ['28+15=43', '13-2=11']
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,45 unequal: No Solution
Exploring Operation: 43*11=473, Resulting Numbers: [473]
473,45 unequal: No Solution
Exploring Operation: 43+11=54, Resulting Numbers: [54]
54,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 45:[13, 41], Operations: ['28+15=43', '43-2=41']
Exploring Operation: 13*41=533, Resulting Numbers: [533]
533,45 unequal: No Solution
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,45 unequal: No Solution
Exploring Operation: 13+41=54, Resulting Numbers: [54]
54,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 45:[15, 17], Operations: ['28-13=15', '2+15=17']
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,45 unequal: No Solution
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,45 unequal: No Solution
Moving to Node #0,3,2
Current State: 45:[15, 17], Operations: ['28-13=15', '2+15=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,45 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[14, 2], Operations: ['28/2=14', '15-13=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,45 unequal: No Solution
Moving to Node #0,3,1
Current State: 45:[15, 13], Operations: ['28-13=15', '15-2=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,45 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[15, 1], Operations: ['28/2=14', '14-13=1']
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Moving to Node #0,3,3
Current State: 45:[15, 13], Operations: ['28-13=15', '15-2=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,45 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[15, 43], Operations: ['28+13=41', '2+41=43']
Exploring Operation: 15*43=645, Resulting Numbers: [645]
645,45 unequal: No Solution
Exploring Operation: 15+43=58, Resulting Numbers: [58]
58,45 unequal: No Solution
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,45 unequal: No Solution
Moving to Node #0,1,2
Current State: 45:[13, 1], Operations: ['28/2=14', '15-14=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,45 unequal: No Solution
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,45 unequal: No Solution
Moving to Node #0,2,3
Current State: 45:[41, 13], Operations: ['28+13=41', '15-2=13']
Exploring Operation: 41*13=533, Resulting Numbers: [533]
533,45 unequal: No Solution
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,45 unequal: No Solution
Exploring Operation: 41+13=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[41, 17], Operations: ['28+13=41', '2+15=17']
Exploring Operation: 41+17=58, Resulting Numbers: [58]
58,45 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 41*17=697, Resulting Numbers: [697]
697,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[15, 39], Operations: ['28+13=41', '41-2=39']
Exploring Operation: 15*39=585, Resulting Numbers: [585]
585,45 unequal: No Solution
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Moving to Node #0,1,3
Current State: 45:[15, 27], Operations: ['28/2=14', '13+14=27']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 15*27=405, Resulting Numbers: [405]
405,45 unequal: No Solution
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,45 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
95,
5,
33,
97
] | 71 | [
"97-95=2",
"33*2=66",
"5+66=71"
] | Current State: 71:[95, 5, 33, 97], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [5, 33, 2]
Generated Node #2: [5, 33, 2] from Operation: 97-95=2
Current State: 71:[5, 33, 2], Operations: ['97-95=2']
Exploring Operation: 33*2=66, Resulting Numbers: [5, 66]
Generated Node #3: [5, 66] from Operation: 33*2=66
Current State: 71:[5, 66], Operations: ['97-95=2', '33*2=66']
Exploring Operation: 5+66=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[95, 5, 33, 97], Operations: []
Exploring Operation: 95-5=90, Resulting Numbers: [33, 97, 90]
Generated Node #0,0: 71:[33, 97, 90] Operation: 95-5=90
Moving to Node #0,0
Current State: 71:[33, 97, 90], Operations: ['95-5=90']
Exploring Operation: 97-33=64, Resulting Numbers: [90, 64]
Generated Node #0,0,0: 71:[90, 64] Operation: 97-33=64
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[90, 64], Operations: ['95-5=90', '97-33=64']
Exploring Operation: 90-64=26, Resulting Numbers: [26]
26,71 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 |
[
48,
90,
44,
96
] | 94 | [
"90-48=42",
"96-44=52",
"42+52=94"
] | Current State: 94:[48, 90, 44, 96], Operations: []
Exploring Operation: 90-48=42, Resulting Numbers: [44, 96, 42]
Generated Node #2: [44, 96, 42] from Operation: 90-48=42
Current State: 94:[44, 96, 42], Operations: ['90-48=42']
Exploring Operation: 96-44=52, Resulting Numbers: [42, 52]
Generated Node #3: [42, 52] from Operation: 96-44=52
Current State: 94:[42, 52], Operations: ['90-48=42', '96-44=52']
Exploring Operation: 42+52=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[48, 90, 44, 96], Operations: []
Exploring Operation: 90-44=46, Resulting Numbers: [48, 96, 46]
Generated Node #0,0: 94:[48, 96, 46] Operation: 90-44=46
Exploring Operation: 96/48=2, Resulting Numbers: [90, 44, 2]
Generated Node #0,1: 94:[90, 44, 2] Operation: 96/48=2
Exploring Operation: 48+44=92, Resulting Numbers: [90, 96, 92]
Generated Node #0,2: 94:[90, 96, 92] Operation: 48+44=92
Exploring Operation: 48-44=4, Resulting Numbers: [90, 96, 4]
Generated Node #0,3: 94:[90, 96, 4] Operation: 48-44=4
Moving to Node #0,0
Current State: 94:[48, 96, 46], Operations: ['90-44=46']
Exploring Operation: 96-48=48, Resulting Numbers: [46, 48]
Generated Node #0,0,0: 94:[46, 48] Operation: 96-48=48
Exploring Operation: 48-46=2, Resulting Numbers: [96, 2]
Generated Node #0,0,1: 94:[96, 2] Operation: 48-46=2
Exploring Operation: 48+46=94, Resulting Numbers: [96, 94]
Generated Node #0,0,2: 94:[96, 94] Operation: 48+46=94
Exploring Operation: 96/48=2, Resulting Numbers: [46, 2]
Generated Node #0,0,3: 94:[46, 2] Operation: 96/48=2
Moving to Node #0,1
Current State: 94:[90, 44, 2], Operations: ['96/48=2']
Exploring Operation: 90/2=45, Resulting Numbers: [44, 45]
Generated Node #0,1,0: 94:[44, 45] Operation: 90/2=45
Exploring Operation: 44+2=46, Resulting Numbers: [90, 46]
Generated Node #0,1,1: 94:[90, 46] Operation: 44+2=46
Exploring Operation: 90+2=92, Resulting Numbers: [44, 92]
Generated Node #0,1,2: 94:[44, 92] Operation: 90+2=92
Exploring Operation: 90-44=46, Resulting Numbers: [2, 46]
Generated Node #0,1,3: 94:[2, 46] Operation: 90-44=46
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 94:[2, 46], Operations: ['96/48=2', '90-44=46']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,94 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,94 unequal: No Solution
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[44, 45], Operations: ['96/48=2', '90/2=45']
Exploring Operation: 44*45=1980, Resulting Numbers: [1980]
1980,94 unequal: No Solution
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 44+45=89, Resulting Numbers: [89]
89,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[90, 46], Operations: ['96/48=2', '44+2=46']
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,94 unequal: No Solution
Exploring Operation: 90*46=4140, Resulting Numbers: [4140]
4140,94 unequal: No Solution
Exploring Operation: 90+46=136, Resulting Numbers: [136]
136,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 94:[44, 92], Operations: ['96/48=2', '90+2=92']
Exploring Operation: 44+92=136, Resulting Numbers: [136]
136,94 unequal: No Solution
Exploring Operation: 44*92=4048, Resulting Numbers: [4048]
4048,94 unequal: No Solution
Exploring Operation: 92-44=48, Resulting Numbers: [48]
48,94 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: 94:[90, 96, 4], Operations: ['48-44=4']
Exploring Operation: 90-4=86, Resulting Numbers: [96, 86]
Generated Node #0,3,0: 94:[96, 86] Operation: 90-4=86
Exploring Operation: 96-90=6, Resulting Numbers: [4, 6]
Generated Node #0,3,1: 94:[4, 6] Operation: 96-90=6
Exploring Operation: 90+4=94, Resulting Numbers: [96, 94]
Generated Node #0,3,2: 94:[96, 94] Operation: 90+4=94
Exploring Operation: 96-4=92, Resulting Numbers: [90, 92]
Generated Node #0,3,3: 94:[90, 92] Operation: 96-4=92
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 94:[96, 94], Operations: ['48-44=4', '90+4=94']
Exploring Operation: 96+94=190, Resulting Numbers: [190]
190,94 unequal: No Solution
Exploring Operation: 96-94=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 96*94=9024, Resulting Numbers: [9024]
9024,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 94:[4, 6], Operations: ['48-44=4', '96-90=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,94 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 94:[90, 92], Operations: ['48-44=4', '96-4=92']
Exploring Operation: 92-90=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 90*92=8280, Resulting Numbers: [8280]
8280,94 unequal: No Solution
Exploring Operation: 90+92=182, Resulting Numbers: [182]
182,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 94:[96, 86], Operations: ['48-44=4', '90-4=86']
Exploring Operation: 96+86=182, Resulting Numbers: [182]
182,94 unequal: No Solution
Exploring Operation: 96*86=8256, Resulting Numbers: [8256]
8256,94 unequal: No Solution
Exploring Operation: 96-86=10, Resulting Numbers: [10]
10,94 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: 94:[90, 96, 92], Operations: ['48+44=92']
Exploring Operation: 92-90=2, Resulting Numbers: [96, 2]
Generated Node #0,2,0: 94:[96, 2] Operation: 92-90=2
Exploring Operation: 96-92=4, Resulting Numbers: [90, 4]
Generated Node #0,2,1: 94:[90, 4] Operation: 96-92=4
Exploring Operation: 96-90=6, Resulting Numbers: [92, 6]
Generated Node #0,2,2: 94:[92, 6] Operation: 96-90=6
Exploring Operation: 90+92=182, Resulting Numbers: [96, 182]
Generated Node #0,2,3: 94:[96, 182] Operation: 90+92=182
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[96, 2], Operations: ['48+44=92', '92-90=2']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[48, 90, 44, 96], Operations: []
Exploring Operation: 48+44=92, Resulting Numbers: [90, 96, 92]
Generated Node #0,2: 94:[90, 96, 92] Operation: 48+44=92
Moving to Node #0,2
Current State: 94:[90, 96, 92], Operations: ['48+44=92']
Exploring Operation: 92-90=2, Resulting Numbers: [96, 2]
Generated Node #0,2,0: 94:[96, 2] Operation: 92-90=2
Moving to Node #0,2,0
Current State: 94:[96, 2], Operations: ['48+44=92', '92-90=2']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.956597 | hs_4 | sum_heuristic |
[
32,
62,
44,
61
] | 11 | [
"32+62=94",
"44+61=105",
"105-94=11"
] | Current State: 11:[32, 62, 44, 61], Operations: []
Exploring Operation: 32+62=94, Resulting Numbers: [44, 61, 94]
Generated Node #2: [44, 61, 94] from Operation: 32+62=94
Current State: 11:[44, 61, 94], Operations: ['32+62=94']
Exploring Operation: 44+61=105, Resulting Numbers: [94, 105]
Generated Node #3: [94, 105] from Operation: 44+61=105
Current State: 11:[94, 105], Operations: ['32+62=94', '44+61=105']
Exploring Operation: 105-94=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[32, 62, 44, 61], Operations: []
Exploring Operation: 62-61=1, Resulting Numbers: [32, 44, 1]
Generated Node #0,0: 11:[32, 44, 1] Operation: 62-61=1
Exploring Operation: 62-32=30, Resulting Numbers: [44, 61, 30]
Generated Node #0,1: 11:[44, 61, 30] Operation: 62-32=30
Exploring Operation: 61-44=17, Resulting Numbers: [32, 62, 17]
Generated Node #0,2: 11:[32, 62, 17] Operation: 61-44=17
Exploring Operation: 62-44=18, Resulting Numbers: [32, 61, 18]
Generated Node #0,3: 11:[32, 61, 18] Operation: 62-44=18
Moving to Node #0,0
Current State: 11:[32, 44, 1], Operations: ['62-61=1']
Exploring Operation: 32-1=31, Resulting Numbers: [44, 31]
Generated Node #0,0,0: 11:[44, 31] Operation: 32-1=31
Exploring Operation: 44-32=12, Resulting Numbers: [1, 12]
Generated Node #0,0,1: 11:[1, 12] Operation: 44-32=12
Exploring Operation: 32*1=32, Resulting Numbers: [44, 32]
Generated Node #0,0,2: 11:[44, 32] Operation: 32*1=32
Exploring Operation: 44-1=43, Resulting Numbers: [32, 43]
Generated Node #0,0,3: 11:[32, 43] Operation: 44-1=43
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[1, 12], Operations: ['62-61=1', '44-32=12']
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,11 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[32, 62, 44, 61], Operations: []
Exploring Operation: 62-61=1, Resulting Numbers: [32, 44, 1]
Generated Node #0,0: 11:[32, 44, 1] Operation: 62-61=1
Moving to Node #0,0
Current State: 11:[32, 44, 1], Operations: ['62-61=1']
Exploring Operation: 44-32=12, Resulting Numbers: [1, 12]
Generated Node #0,0,1: 11:[1, 12] Operation: 44-32=12
Moving to Node #0,0,1
Current State: 11:[1, 12], Operations: ['62-61=1', '44-32=12']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
25,
80,
46,
45
] | 42 | [
"45-25=20",
"80/20=4",
"46-4=42"
] | Current State: 42:[25, 80, 46, 45], Operations: []
Exploring Operation: 45-25=20, Resulting Numbers: [80, 46, 20]
Generated Node #2: [80, 46, 20] from Operation: 45-25=20
Current State: 42:[80, 46, 20], Operations: ['45-25=20']
Exploring Operation: 80/20=4, Resulting Numbers: [46, 4]
Generated Node #3: [46, 4] from Operation: 80/20=4
Current State: 42:[46, 4], Operations: ['45-25=20', '80/20=4']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[25, 80, 46, 45], Operations: []
Exploring Operation: 46-25=21, Resulting Numbers: [80, 45, 21]
Generated Node #0,0: 42:[80, 45, 21] Operation: 46-25=21
Exploring Operation: 80-46=34, Resulting Numbers: [25, 45, 34]
Generated Node #0,1: 42:[25, 45, 34] Operation: 80-46=34
Exploring Operation: 80-25=55, Resulting Numbers: [46, 45, 55]
Generated Node #0,2: 42:[46, 45, 55] Operation: 80-25=55
Exploring Operation: 80-45=35, Resulting Numbers: [25, 46, 35]
Generated Node #0,3: 42:[25, 46, 35] Operation: 80-45=35
Moving to Node #0,1
Current State: 42:[25, 45, 34], Operations: ['80-46=34']
Exploring Operation: 25+34=59, Resulting Numbers: [45, 59]
Generated Node #0,1,0: 42:[45, 59] Operation: 25+34=59
Exploring Operation: 45-25=20, Resulting Numbers: [34, 20]
Generated Node #0,1,1: 42:[34, 20] Operation: 45-25=20
Exploring Operation: 45-34=11, Resulting Numbers: [25, 11]
Generated Node #0,1,2: 42:[25, 11] Operation: 45-34=11
Exploring Operation: 34-25=9, Resulting Numbers: [45, 9]
Generated Node #0,1,3: 42:[45, 9] Operation: 34-25=9
Moving to Node #0,3
Current State: 42:[25, 46, 35], Operations: ['80-45=35']
Exploring Operation: 46-25=21, Resulting Numbers: [35, 21]
Generated Node #0,3,0: 42:[35, 21] Operation: 46-25=21
Exploring Operation: 46-35=11, Resulting Numbers: [25, 11]
Generated Node #0,3,1: 42:[25, 11] Operation: 46-35=11
Exploring Operation: 25+35=60, Resulting Numbers: [46, 60]
Generated Node #0,3,2: 42:[46, 60] Operation: 25+35=60
Exploring Operation: 35-25=10, Resulting Numbers: [46, 10]
Generated Node #0,3,3: 42:[46, 10] Operation: 35-25=10
Moving to Node #0,2
Current State: 42:[46, 45, 55], Operations: ['80-25=55']
Exploring Operation: 46+45=91, Resulting Numbers: [55, 91]
Generated Node #0,2,0: 42:[55, 91] Operation: 46+45=91
Exploring Operation: 55-46=9, Resulting Numbers: [45, 9]
Generated Node #0,2,1: 42:[45, 9] Operation: 55-46=9
Exploring Operation: 55-45=10, Resulting Numbers: [46, 10]
Generated Node #0,2,2: 42:[46, 10] Operation: 55-45=10
Exploring Operation: 46-45=1, Resulting Numbers: [55, 1]
Generated Node #0,2,3: 42:[55, 1] Operation: 46-45=1
Moving to Node #0,0
Current State: 42:[80, 45, 21], Operations: ['46-25=21']
Exploring Operation: 80+21=101, Resulting Numbers: [45, 101]
Generated Node #0,0,0: 42:[45, 101] Operation: 80+21=101
Exploring Operation: 80-21=59, Resulting Numbers: [45, 59]
Generated Node #0,0,1: 42:[45, 59] Operation: 80-21=59
Exploring Operation: 80-45=35, Resulting Numbers: [21, 35]
Generated Node #0,0,2: 42:[21, 35] Operation: 80-45=35
Exploring Operation: 45-21=24, Resulting Numbers: [80, 24]
Generated Node #0,0,3: 42:[80, 24] Operation: 45-21=24
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 42:[21, 35], Operations: ['46-25=21', '80-45=35']
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 21*35=735, Resulting Numbers: [735]
735,42 unequal: No Solution
Exploring Operation: 21+35=56, Resulting Numbers: [56]
56,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[45, 59], Operations: ['46-25=21', '80-21=59']
Exploring Operation: 45*59=2655, Resulting Numbers: [2655]
2655,42 unequal: No Solution
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 45+59=104, Resulting Numbers: [104]
104,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 42:[80, 24], Operations: ['46-25=21', '45-21=24']
Exploring Operation: 80*24=1920, Resulting Numbers: [1920]
1920,42 unequal: No Solution
Exploring Operation: 80-24=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 80+24=104, Resulting Numbers: [104]
104,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[45, 101], Operations: ['46-25=21', '80+21=101']
Exploring Operation: 45*101=4545, Resulting Numbers: [4545]
4545,42 unequal: No Solution
Exploring Operation: 101-45=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 45+101=146, Resulting Numbers: [146]
146,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 42:[45, 9], Operations: ['80-46=34', '34-25=9']
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[45, 9], Operations: ['80-25=55', '55-46=9']
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,42 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Moving to Node #0,3,1
Current State: 42:[25, 11], Operations: ['80-45=35', '46-35=11']
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,42 unequal: No Solution
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Moving to Node #0,3,3
Current State: 42:[46, 10], Operations: ['80-45=35', '35-25=10']
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,42 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Moving to Node #0,3,0
Current State: 42:[35, 21], Operations: ['80-45=35', '46-25=21']
Exploring Operation: 35+21=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 35*21=735, Resulting Numbers: [735]
735,42 unequal: No Solution
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[46, 10], Operations: ['80-25=55', '55-45=10']
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,42 unequal: No Solution
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[25, 11], Operations: ['80-46=34', '45-34=11']
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,42 unequal: No Solution
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,42 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[34, 20], Operations: ['80-46=34', '45-25=20']
Exploring Operation: 34*20=680, Resulting Numbers: [680]
680,42 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Moving to Node #0,2,3
Current State: 42:[55, 1], Operations: ['80-25=55', '46-45=1']
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,42 unequal: No Solution
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,42 unequal: No Solution
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[45, 59], Operations: ['80-46=34', '25+34=59']
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 45*59=2655, Resulting Numbers: [2655]
2655,42 unequal: No Solution
Exploring Operation: 45+59=104, Resulting Numbers: [104]
104,42 unequal: No Solution
Moving to Node #0,3,2
Current State: 42:[46, 60], Operations: ['80-45=35', '25+35=60']
Exploring Operation: 46+60=106, Resulting Numbers: [106]
106,42 unequal: No Solution
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 46*60=2760, Resulting Numbers: [2760]
2760,42 unequal: No Solution
Moving to Node #0,2,0
Current State: 42:[55, 91], Operations: ['80-25=55', '46+45=91']
Exploring Operation: 55*91=5005, Resulting Numbers: [5005]
5005,42 unequal: No Solution
Exploring Operation: 55+91=146, Resulting Numbers: [146]
146,42 unequal: No Solution
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,42 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
3,
44,
12,
8
] | 14 | [
"12-8=4",
"44/4=11",
"3+11=14"
] | Current State: 14:[3, 44, 12, 8], Operations: []
Exploring Operation: 12-8=4, Resulting Numbers: [3, 44, 4]
Generated Node #2: [3, 44, 4] from Operation: 12-8=4
Current State: 14:[3, 44, 4], Operations: ['12-8=4']
Exploring Operation: 44/4=11, Resulting Numbers: [3, 11]
Generated Node #3: [3, 11] from Operation: 44/4=11
Current State: 14:[3, 11], Operations: ['12-8=4', '44/4=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[3, 44, 12, 8], Operations: []
Exploring Operation: 44-12=32, Resulting Numbers: [3, 8, 32]
Generated Node #0,0: 14:[3, 8, 32] Operation: 44-12=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[3, 8, 32], Operations: ['44-12=32']
Exploring Operation: 32/8=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 14:[3, 4] Operation: 32/8=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[3, 4], Operations: ['44-12=32', '32/8=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
33,
17,
12,
55
] | 51 | [
"33-17=16",
"12+55=67",
"67-16=51"
] | Current State: 51:[33, 17, 12, 55], Operations: []
Exploring Operation: 33-17=16, Resulting Numbers: [12, 55, 16]
Generated Node #2: [12, 55, 16] from Operation: 33-17=16
Current State: 51:[12, 55, 16], Operations: ['33-17=16']
Exploring Operation: 12+55=67, Resulting Numbers: [16, 67]
Generated Node #3: [16, 67] from Operation: 12+55=67
Current State: 51:[16, 67], Operations: ['33-17=16', '12+55=67']
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[33, 17, 12, 55], Operations: []
Exploring Operation: 33-12=21, Resulting Numbers: [17, 55, 21]
Generated Node #0,0: 51:[17, 55, 21] Operation: 33-12=21
Exploring Operation: 33+17=50, Resulting Numbers: [12, 55, 50]
Generated Node #0,1: 51:[12, 55, 50] Operation: 33+17=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[17, 55, 21], Operations: ['33-12=21']
Exploring Operation: 55-17=38, Resulting Numbers: [21, 38]
Generated Node #0,0,0: 51:[21, 38] Operation: 55-17=38
Exploring Operation: 21-17=4, Resulting Numbers: [55, 4]
Generated Node #0,0,1: 51:[55, 4] Operation: 21-17=4
Moving to Node #0,0,1
Current State: 51:[55, 4], Operations: ['33-12=21', '21-17=4']
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[33, 17, 12, 55], Operations: []
Exploring Operation: 33-12=21, Resulting Numbers: [17, 55, 21]
Generated Node #0,0: 51:[17, 55, 21] Operation: 33-12=21
Moving to Node #0,0
Current State: 51:[17, 55, 21], Operations: ['33-12=21']
Exploring Operation: 21-17=4, Resulting Numbers: [55, 4]
Generated Node #0,0,1: 51:[55, 4] Operation: 21-17=4
Moving to Node #0,0,1
Current State: 51:[55, 4], Operations: ['33-12=21', '21-17=4']
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
39,
88,
28,
98
] | 77 | [
"88-39=49",
"28+98=126",
"126-49=77"
] | Current State: 77:[39, 88, 28, 98], Operations: []
Exploring Operation: 88-39=49, Resulting Numbers: [28, 98, 49]
Generated Node #2: [28, 98, 49] from Operation: 88-39=49
Current State: 77:[28, 98, 49], Operations: ['88-39=49']
Exploring Operation: 28+98=126, Resulting Numbers: [49, 126]
Generated Node #3: [49, 126] from Operation: 28+98=126
Current State: 77:[49, 126], Operations: ['88-39=49', '28+98=126']
Exploring Operation: 126-49=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[39, 88, 28, 98], Operations: []
Exploring Operation: 98-39=59, Resulting Numbers: [88, 28, 59]
Generated Node #0,0: 77:[88, 28, 59] Operation: 98-39=59
Exploring Operation: 39+28=67, Resulting Numbers: [88, 98, 67]
Generated Node #0,1: 77:[88, 98, 67] Operation: 39+28=67
Exploring Operation: 98-88=10, Resulting Numbers: [39, 28, 10]
Generated Node #0,2: 77:[39, 28, 10] Operation: 98-88=10
Exploring Operation: 39-28=11, Resulting Numbers: [88, 98, 11]
Generated Node #0,3: 77:[88, 98, 11] Operation: 39-28=11
Start Sub Search at level 1: Moving to Node #0,3
Current State: 77:[88, 98, 11], Operations: ['39-28=11']
Exploring Operation: 88-11=77, Resulting Numbers: [98, 77]
Generated Node #0,3,0: 77:[98, 77] Operation: 88-11=77
Exploring Operation: 98-88=10, Resulting Numbers: [11, 10]
Generated Node #0,3,1: 77:[11, 10] Operation: 98-88=10
Exploring Operation: 98-11=87, Resulting Numbers: [88, 87]
Generated Node #0,3,2: 77:[88, 87] Operation: 98-11=87
Exploring Operation: 88/11=8, Resulting Numbers: [98, 8]
Generated Node #0,3,3: 77:[98, 8] Operation: 88/11=8
Moving to Node #0,3,1
Current State: 77:[11, 10], Operations: ['39-28=11', '98-88=10']
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,77 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[88, 87], Operations: ['39-28=11', '98-11=87']
Exploring Operation: 88*87=7656, Resulting Numbers: [7656]
7656,77 unequal: No Solution
Exploring Operation: 88+87=175, Resulting Numbers: [175]
175,77 unequal: No Solution
Exploring Operation: 88-87=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Moving to Node #0,3,0
Current State: 77:[98, 77], Operations: ['39-28=11', '88-11=77']
Exploring Operation: 98*77=7546, Resulting Numbers: [7546]
7546,77 unequal: No Solution
Exploring Operation: 98+77=175, Resulting Numbers: [175]
175,77 unequal: No Solution
Exploring Operation: 98-77=21, Resulting Numbers: [21]
21,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[98, 8], Operations: ['39-28=11', '88/11=8']
Exploring Operation: 98*8=784, Resulting Numbers: [784]
784,77 unequal: No Solution
Exploring Operation: 98+8=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Exploring Operation: 98-8=90, Resulting Numbers: [90]
90,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,1
Current State: 77:[88, 98, 67], Operations: ['39+28=67']
Exploring Operation: 88-67=21, Resulting Numbers: [98, 21]
Generated Node #0,1,0: 77:[98, 21] Operation: 88-67=21
Exploring Operation: 88+67=155, Resulting Numbers: [98, 155]
Generated Node #0,1,1: 77:[98, 155] Operation: 88+67=155
Exploring Operation: 98-88=10, Resulting Numbers: [67, 10]
Generated Node #0,1,2: 77:[67, 10] Operation: 98-88=10
Exploring Operation: 98-67=31, Resulting Numbers: [88, 31]
Generated Node #0,1,3: 77:[88, 31] Operation: 98-67=31
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 77:[67, 10], Operations: ['39+28=67', '98-88=10']
Exploring Operation: 67*10=670, Resulting Numbers: [670]
670,77 unequal: No Solution
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,77 unequal: No Solution
Exploring Operation: 67+10=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[39, 88, 28, 98], Operations: []
Exploring Operation: 39+28=67, Resulting Numbers: [88, 98, 67]
Generated Node #0,1: 77:[88, 98, 67] Operation: 39+28=67
Moving to Node #0,1
Current State: 77:[88, 98, 67], Operations: ['39+28=67']
Exploring Operation: 98-88=10, Resulting Numbers: [67, 10]
Generated Node #0,1,2: 77:[67, 10] Operation: 98-88=10
Moving to Node #0,1,2
Current State: 77:[67, 10], Operations: ['39+28=67', '98-88=10']
Exploring Operation: 67+10=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
97,
69,
5,
34
] | 66 | [
"97+5=102",
"102/34=3",
"69-3=66"
] | Current State: 66:[97, 69, 5, 34], Operations: []
Exploring Operation: 97+5=102, Resulting Numbers: [69, 34, 102]
Generated Node #2: [69, 34, 102] from Operation: 97+5=102
Current State: 66:[69, 34, 102], Operations: ['97+5=102']
Exploring Operation: 102/34=3, Resulting Numbers: [69, 3]
Generated Node #3: [69, 3] from Operation: 102/34=3
Current State: 66:[69, 3], Operations: ['97+5=102', '102/34=3']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[97, 69, 5, 34], Operations: []
Exploring Operation: 97-69=28, Resulting Numbers: [5, 34, 28]
Generated Node #0,0: 66:[5, 34, 28] Operation: 97-69=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[5, 34, 28], Operations: ['97-69=28']
Exploring Operation: 5+28=33, Resulting Numbers: [34, 33]
Generated Node #0,0,0: 66:[34, 33] Operation: 5+28=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[34, 33], Operations: ['97-69=28', '5+28=33']
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
76,
64,
70,
16
] | 10 | [
"76-70=6",
"64/16=4",
"6+4=10"
] | Current State: 10:[76, 64, 70, 16], Operations: []
Exploring Operation: 76-70=6, Resulting Numbers: [64, 16, 6]
Generated Node #2: [64, 16, 6] from Operation: 76-70=6
Current State: 10:[64, 16, 6], Operations: ['76-70=6']
Exploring Operation: 64/16=4, Resulting Numbers: [6, 4]
Generated Node #3: [6, 4] from Operation: 64/16=4
Current State: 10:[6, 4], Operations: ['76-70=6', '64/16=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[76, 64, 70, 16], Operations: []
Exploring Operation: 76-70=6, Resulting Numbers: [64, 16, 6]
Generated Node #0,0: 10:[64, 16, 6] Operation: 76-70=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[64, 16, 6], Operations: ['76-70=6']
Exploring Operation: 64/16=4, Resulting Numbers: [6, 4]
Generated Node #0,0,0: 10:[6, 4] Operation: 64/16=4
Moving to Node #0,0,0
Current State: 10:[6, 4], Operations: ['76-70=6', '64/16=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[76, 64, 70, 16], Operations: []
Exploring Operation: 76-70=6, Resulting Numbers: [64, 16, 6]
Generated Node #0,0: 10:[64, 16, 6] Operation: 76-70=6
Moving to Node #0,0
Current State: 10:[64, 16, 6], Operations: ['76-70=6']
Exploring Operation: 64/16=4, Resulting Numbers: [6, 4]
Generated Node #0,0,0: 10:[6, 4] Operation: 64/16=4
Moving to Node #0,0,0
Current State: 10:[6, 4], Operations: ['76-70=6', '64/16=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
23,
83,
25,
25
] | 29 | [
"25-23=2",
"83-25=58",
"58/2=29"
] | Current State: 29:[23, 83, 25, 25], Operations: []
Exploring Operation: 25-23=2, Resulting Numbers: [83, 2]
Generated Node #2: [83, 2] from Operation: 25-23=2
Current State: 29:[83, 2], Operations: ['25-23=2']
Exploring Operation: 83-25=58, Resulting Numbers: [2, 58]
Generated Node #3: [2, 58] from Operation: 83-25=58
Current State: 29:[2, 58], Operations: ['25-23=2', '83-25=58']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[23, 83, 25, 25], Operations: []
Exploring Operation: 83-25=58, Resulting Numbers: [23, 25, 58]
Generated Node #0,0: 29:[23, 25, 58] Operation: 83-25=58
Exploring Operation: 83-25=58, Resulting Numbers: [23, 25, 58]
Generated Node #0,1: 29:[23, 25, 58] Operation: 83-25=58
Exploring Operation: 83-23=60, Resulting Numbers: [25, 25, 60]
Generated Node #0,2: 29:[25, 25, 60] Operation: 83-23=60
Moving to Node #0,0
Current State: 29:[23, 25, 58], Operations: ['83-25=58']
Exploring Operation: 23+25=48, Resulting Numbers: [58, 48]
Generated Node #0,0,0: 29:[58, 48] Operation: 23+25=48
Exploring Operation: 58-25=33, Resulting Numbers: [23, 33]
Generated Node #0,0,1: 29:[23, 33] Operation: 58-25=33
Exploring Operation: 58-23=35, Resulting Numbers: [25, 35]
Generated Node #0,0,2: 29:[25, 35] Operation: 58-23=35
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[23, 33], Operations: ['83-25=58', '58-25=33']
Exploring Operation: 23*33=759, Resulting Numbers: [759]
759,29 unequal: No Solution
Exploring Operation: 23+33=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[25, 35], Operations: ['83-25=58', '58-23=35']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 25*35=875, Resulting Numbers: [875]
875,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[58, 48], Operations: ['83-25=58', '23+25=48']
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 58*48=2784, Resulting Numbers: [2784]
2784,29 unequal: No Solution
Exploring Operation: 58+48=106, Resulting Numbers: [106]
106,29 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: 29:[23, 25, 58], Operations: ['83-25=58']
Exploring Operation: 58-23=35, Resulting Numbers: [25, 35]
Generated Node #0,1,0: 29:[25, 35] Operation: 58-23=35
Exploring Operation: 58-25=33, Resulting Numbers: [23, 33]
Generated Node #0,1,1: 29:[23, 33] Operation: 58-25=33
Exploring Operation: 23+25=48, Resulting Numbers: [58, 48]
Generated Node #0,1,2: 29:[58, 48] Operation: 23+25=48
Moving to Node #0,2
Current State: 29:[25, 25, 60], Operations: ['83-23=60']
Exploring Operation: 60-25=35, Resulting Numbers: [25, 35]
Generated Node #0,2,0: 29:[25, 35] Operation: 60-25=35
Exploring Operation: 25+25=50, Resulting Numbers: [60, 50]
Generated Node #0,2,1: 29:[60, 50] Operation: 25+25=50
Exploring Operation: 60-25=35, Resulting Numbers: [25, 35]
Generated Node #0,2,2: 29:[25, 35] Operation: 60-25=35
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 29:[25, 35], Operations: ['83-23=60', '60-25=35']
Exploring Operation: 25*35=875, Resulting Numbers: [875]
875,29 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,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:[25, 35], Operations: ['83-23=60', '60-25=35']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 25*35=875, Resulting Numbers: [875]
875,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,1
Current State: 29:[60, 50], Operations: ['83-23=60', '25+25=50']
Exploring Operation: 60*50=3000, Resulting Numbers: [3000]
3000,29 unequal: No Solution
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 60+50=110, Resulting Numbers: [110]
110,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 29:[25, 35], Operations: ['83-25=58', '58-23=35']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 25*35=875, Resulting Numbers: [875]
875,29 unequal: No Solution
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[23, 33], Operations: ['83-25=58', '58-25=33']
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 23*33=759, Resulting Numbers: [759]
759,29 unequal: No Solution
Exploring Operation: 23+33=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[58, 48], Operations: ['83-25=58', '23+25=48']
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 58+48=106, Resulting Numbers: [106]
106,29 unequal: No Solution
Exploring Operation: 58*48=2784, Resulting Numbers: [2784]
2784,29 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
32,
15,
4,
28
] | 35 | [
"32/4=8",
"15+28=43",
"43-8=35"
] | Current State: 35:[32, 15, 4, 28], Operations: []
Exploring Operation: 32/4=8, Resulting Numbers: [15, 28, 8]
Generated Node #2: [15, 28, 8] from Operation: 32/4=8
Current State: 35:[15, 28, 8], Operations: ['32/4=8']
Exploring Operation: 15+28=43, Resulting Numbers: [8, 43]
Generated Node #3: [8, 43] from Operation: 15+28=43
Current State: 35:[8, 43], Operations: ['32/4=8', '15+28=43']
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[32, 15, 4, 28], Operations: []
Exploring Operation: 15+28=43, Resulting Numbers: [32, 4, 43]
Generated Node #0,0: 35:[32, 4, 43] Operation: 15+28=43
Exploring Operation: 32-28=4, Resulting Numbers: [15, 4, 4]
Generated Node #0,1: 35:[15, 4, 4] Operation: 32-28=4
Exploring Operation: 28/4=7, Resulting Numbers: [32, 15, 7]
Generated Node #0,2: 35:[32, 15, 7] Operation: 28/4=7
Exploring Operation: 28-15=13, Resulting Numbers: [32, 4, 13]
Generated Node #0,3: 35:[32, 4, 13] Operation: 28-15=13
Moving to Node #0,1
Current State: 35:[15, 4, 4], Operations: ['32-28=4']
Exploring Operation: 4+4=8, Resulting Numbers: [15, 8]
Generated Node #0,1,0: 35:[15, 8] Operation: 4+4=8
Exploring Operation: 4/4=1, Resulting Numbers: [15, 1]
Generated Node #0,1,1: 35:[15, 1] Operation: 4/4=1
Exploring Operation: 15-4=11, Resulting Numbers: [4, 11]
Generated Node #0,1,2: 35:[4, 11] Operation: 15-4=11
Exploring Operation: 15-4=11, Resulting Numbers: [4, 11]
Generated Node #0,1,3: 35:[4, 11] Operation: 15-4=11
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 35:[4, 11], Operations: ['32-28=4', '15-4=11']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,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,3
Current State: 35:[4, 11], Operations: ['32-28=4', '15-4=11']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[15, 8], Operations: ['32-28=4', '4+4=8']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,35 unequal: No Solution
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,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,1
Current State: 35:[15, 1], Operations: ['32-28=4', '4/4=1']
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,35 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,35 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: 35:[32, 4, 13], Operations: ['28-15=13']
Exploring Operation: 32/4=8, Resulting Numbers: [13, 8]
Generated Node #0,3,0: 35:[13, 8] Operation: 32/4=8
Exploring Operation: 32+13=45, Resulting Numbers: [4, 45]
Generated Node #0,3,1: 35:[4, 45] Operation: 32+13=45
Exploring Operation: 13-4=9, Resulting Numbers: [32, 9]
Generated Node #0,3,2: 35:[32, 9] Operation: 13-4=9
Exploring Operation: 32+4=36, Resulting Numbers: [13, 36]
Generated Node #0,3,3: 35:[13, 36] Operation: 32+4=36
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 35:[32, 9], Operations: ['28-15=13', '13-4=9']
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,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,3,0
Current State: 35:[13, 8], Operations: ['28-15=13', '32/4=8']
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,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,3,3
Current State: 35:[13, 36], Operations: ['28-15=13', '32+4=36']
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Exploring Operation: 13*36=468, Resulting Numbers: [468]
468,35 unequal: No Solution
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,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,3,1
Current State: 35:[4, 45], Operations: ['28-15=13', '32+13=45']
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,35 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,35 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,35 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: 35:[32, 15, 7], Operations: ['28/4=7']
Exploring Operation: 32+7=39, Resulting Numbers: [15, 39]
Generated Node #0,2,0: 35:[15, 39] Operation: 32+7=39
Exploring Operation: 15-7=8, Resulting Numbers: [32, 8]
Generated Node #0,2,1: 35:[32, 8] Operation: 15-7=8
Exploring Operation: 32+15=47, Resulting Numbers: [7, 47]
Generated Node #0,2,2: 35:[7, 47] Operation: 32+15=47
Exploring Operation: 32-15=17, Resulting Numbers: [7, 17]
Generated Node #0,2,3: 35:[7, 17] Operation: 32-15=17
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 35:[32, 8], Operations: ['28/4=7', '15-7=8']
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 32*8=256, Resulting Numbers: [256]
256,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,3
Current State: 35:[7, 17], Operations: ['28/4=7', '32-15=17']
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,35 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[15, 39], Operations: ['28/4=7', '32+7=39']
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Exploring Operation: 15*39=585, Resulting Numbers: [585]
585,35 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[7, 47], Operations: ['28/4=7', '32+15=47']
Exploring Operation: 7+47=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 7*47=329, Resulting Numbers: [329]
329,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 35:[32, 4, 43], Operations: ['15+28=43']
Exploring Operation: 32+4=36, Resulting Numbers: [43, 36]
Generated Node #0,0,0: 35:[43, 36] Operation: 32+4=36
Exploring Operation: 43-32=11, Resulting Numbers: [4, 11]
Generated Node #0,0,1: 35:[4, 11] Operation: 43-32=11
Exploring Operation: 43-4=39, Resulting Numbers: [32, 39]
Generated Node #0,0,2: 35:[32, 39] Operation: 43-4=39
Exploring Operation: 32/4=8, Resulting Numbers: [43, 8]
Generated Node #0,0,3: 35:[43, 8] Operation: 32/4=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[4, 11], Operations: ['15+28=43', '43-32=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[32, 39], Operations: ['15+28=43', '43-4=39']
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 32+39=71, Resulting Numbers: [71]
71,35 unequal: No Solution
Exploring Operation: 32*39=1248, Resulting Numbers: [1248]
1248,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[43, 36], Operations: ['15+28=43', '32+4=36']
Exploring Operation: 43+36=79, Resulting Numbers: [79]
79,35 unequal: No Solution
Exploring Operation: 43*36=1548, Resulting Numbers: [1548]
1548,35 unequal: No Solution
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 35:[43, 8], Operations: ['15+28=43', '32/4=8']
Exploring Operation: 43*8=344, Resulting Numbers: [344]
344,35 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[32, 15, 4, 28], Operations: []
Exploring Operation: 15+28=43, Resulting Numbers: [32, 4, 43]
Generated Node #0,0: 35:[32, 4, 43] Operation: 15+28=43
Moving to Node #0,0
Current State: 35:[32, 4, 43], Operations: ['15+28=43']
Exploring Operation: 32/4=8, Resulting Numbers: [43, 8]
Generated Node #0,0,3: 35:[43, 8] Operation: 32/4=8
Moving to Node #0,0,3
Current State: 35:[43, 8], Operations: ['15+28=43', '32/4=8']
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.936632 | hs_4 | sum_heuristic |
[
7,
66,
57,
99
] | 96 | [
"7+57=64",
"99*64=6336",
"6336/66=96"
] | Current State: 96:[7, 66, 57, 99], Operations: []
Exploring Operation: 7+57=64, Resulting Numbers: [66, 99, 64]
Generated Node #2: [66, 99, 64] from Operation: 7+57=64
Current State: 96:[66, 99, 64], Operations: ['7+57=64']
Exploring Operation: 99*64=6336, Resulting Numbers: [66, 6336]
Generated Node #3: [66, 6336] from Operation: 99*64=6336
Current State: 96:[66, 6336], Operations: ['7+57=64', '99*64=6336']
Exploring Operation: 6336/66=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[7, 66, 57, 99], Operations: []
Exploring Operation: 66-57=9, Resulting Numbers: [7, 99, 9]
Generated Node #0,0: 96:[7, 99, 9] Operation: 66-57=9
Exploring Operation: 57-7=50, Resulting Numbers: [66, 99, 50]
Generated Node #0,1: 96:[66, 99, 50] Operation: 57-7=50
Exploring Operation: 66-7=59, Resulting Numbers: [57, 99, 59]
Generated Node #0,2: 96:[57, 99, 59] Operation: 66-7=59
Exploring Operation: 99-66=33, Resulting Numbers: [7, 57, 33]
Generated Node #0,3: 96:[7, 57, 33] Operation: 99-66=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[7, 99, 9], Operations: ['66-57=9']
Exploring Operation: 99/9=11, Resulting Numbers: [7, 11]
Generated Node #0,0,0: 96:[7, 11] Operation: 99/9=11
Exploring Operation: 99-7=92, Resulting Numbers: [9, 92]
Generated Node #0,0,1: 96:[9, 92] Operation: 99-7=92
Exploring Operation: 9-7=2, Resulting Numbers: [99, 2]
Generated Node #0,0,2: 96:[99, 2] Operation: 9-7=2
Exploring Operation: 7+9=16, Resulting Numbers: [99, 16]
Generated Node #0,0,3: 96:[99, 16] Operation: 7+9=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[7, 11], Operations: ['66-57=9', '99/9=11']
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,96 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 96:[99, 2], Operations: ['66-57=9', '9-7=2']
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,96 unequal: No Solution
Exploring Operation: 99+2=101, Resulting Numbers: [101]
101,96 unequal: No Solution
Exploring Operation: 99*2=198, Resulting Numbers: [198]
198,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 96:[99, 16], Operations: ['66-57=9', '7+9=16']
Exploring Operation: 99-16=83, Resulting Numbers: [83]
83,96 unequal: No Solution
Exploring Operation: 99+16=115, Resulting Numbers: [115]
115,96 unequal: No Solution
Exploring Operation: 99*16=1584, Resulting Numbers: [1584]
1584,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[9, 92], Operations: ['66-57=9', '99-7=92']
Exploring Operation: 92-9=83, Resulting Numbers: [83]
83,96 unequal: No Solution
Exploring Operation: 9*92=828, Resulting Numbers: [828]
828,96 unequal: No Solution
Exploring Operation: 9+92=101, Resulting Numbers: [101]
101,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 96:[7, 57, 33], Operations: ['99-66=33']
Exploring Operation: 33-7=26, Resulting Numbers: [57, 26]
Generated Node #0,3,0: 96:[57, 26] Operation: 33-7=26
Exploring Operation: 57-33=24, Resulting Numbers: [7, 24]
Generated Node #0,3,1: 96:[7, 24] Operation: 57-33=24
Exploring Operation: 57-7=50, Resulting Numbers: [33, 50]
Generated Node #0,3,2: 96:[33, 50] Operation: 57-7=50
Exploring Operation: 57+33=90, Resulting Numbers: [7, 90]
Generated Node #0,3,3: 96:[7, 90] Operation: 57+33=90
Moving to Node #0,3,1
Current State: 96:[7, 24], Operations: ['99-66=33', '57-33=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,96 unequal: No Solution
Moving to Node #0,3,2
Current State: 96:[33, 50], Operations: ['99-66=33', '57-7=50']
Exploring Operation: 33+50=83, Resulting Numbers: [83]
83,96 unequal: No Solution
Exploring Operation: 33*50=1650, Resulting Numbers: [1650]
1650,96 unequal: No Solution
Exploring Operation: 50-33=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Moving to Node #0,3,3
Current State: 96:[7, 90], Operations: ['99-66=33', '57+33=90']
Exploring Operation: 7+90=97, Resulting Numbers: [97]
97,96 unequal: No Solution
Exploring Operation: 90-7=83, Resulting Numbers: [83]
83,96 unequal: No Solution
Exploring Operation: 7*90=630, Resulting Numbers: [630]
630,96 unequal: No Solution
Moving to Node #0,3,0
Current State: 96:[57, 26], Operations: ['99-66=33', '33-7=26']
Exploring Operation: 57*26=1482, Resulting Numbers: [1482]
1482,96 unequal: No Solution
Exploring Operation: 57+26=83, Resulting Numbers: [83]
83,96 unequal: No Solution
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[66, 99, 50], Operations: ['57-7=50']
Exploring Operation: 66+50=116, Resulting Numbers: [99, 116]
Generated Node #0,1,0: 96:[99, 116] Operation: 66+50=116
Exploring Operation: 99-66=33, Resulting Numbers: [50, 33]
Generated Node #0,1,1: 96:[50, 33] Operation: 99-66=33
Exploring Operation: 66-50=16, Resulting Numbers: [99, 16]
Generated Node #0,1,2: 96:[99, 16] Operation: 66-50=16
Exploring Operation: 99-50=49, Resulting Numbers: [66, 49]
Generated Node #0,1,3: 96:[66, 49] Operation: 99-50=49
Moving to Node #0,1,1
Current State: 96:[50, 33], Operations: ['57-7=50', '99-66=33']
Exploring Operation: 50-33=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 50*33=1650, Resulting Numbers: [1650]
1650,96 unequal: No Solution
Exploring Operation: 50+33=83, Resulting Numbers: [83]
83,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[99, 16], Operations: ['57-7=50', '66-50=16']
Exploring Operation: 99+16=115, Resulting Numbers: [115]
115,96 unequal: No Solution
Exploring Operation: 99*16=1584, Resulting Numbers: [1584]
1584,96 unequal: No Solution
Exploring Operation: 99-16=83, Resulting Numbers: [83]
83,96 unequal: No Solution
Moving to Node #0,1,3
Current State: 96:[66, 49], Operations: ['57-7=50', '99-50=49']
Exploring Operation: 66-49=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 66*49=3234, Resulting Numbers: [3234]
3234,96 unequal: No Solution
Exploring Operation: 66+49=115, Resulting Numbers: [115]
115,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[99, 116], Operations: ['57-7=50', '66+50=116']
Exploring Operation: 116-99=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 99+116=215, Resulting Numbers: [215]
215,96 unequal: No Solution
Exploring Operation: 99*116=11484, Resulting Numbers: [11484]
11484,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[57, 99, 59], Operations: ['66-7=59']
Exploring Operation: 57+59=116, Resulting Numbers: [99, 116]
Generated Node #0,2,0: 96:[99, 116] Operation: 57+59=116
Exploring Operation: 59-57=2, Resulting Numbers: [99, 2]
Generated Node #0,2,1: 96:[99, 2] Operation: 59-57=2
Exploring Operation: 99-57=42, Resulting Numbers: [59, 42]
Generated Node #0,2,2: 96:[59, 42] Operation: 99-57=42
Exploring Operation: 99-59=40, Resulting Numbers: [57, 40]
Generated Node #0,2,3: 96:[57, 40] Operation: 99-59=40
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 96:[99, 2], Operations: ['66-7=59', '59-57=2']
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,96 unequal: No Solution
Exploring Operation: 99*2=198, Resulting Numbers: [198]
198,96 unequal: No Solution
Exploring Operation: 99+2=101, Resulting Numbers: [101]
101,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 96:[59, 42], Operations: ['66-7=59', '99-57=42']
Exploring Operation: 59+42=101, Resulting Numbers: [101]
101,96 unequal: No Solution
Exploring Operation: 59*42=2478, Resulting Numbers: [2478]
2478,96 unequal: No Solution
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 96:[57, 40], Operations: ['66-7=59', '99-59=40']
Exploring Operation: 57+40=97, Resulting Numbers: [97]
97,96 unequal: No Solution
Exploring Operation: 57*40=2280, Resulting Numbers: [2280]
2280,96 unequal: No Solution
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[99, 116], Operations: ['66-7=59', '57+59=116']
Exploring Operation: 116-99=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 99+116=215, Resulting Numbers: [215]
215,96 unequal: No Solution
Exploring Operation: 99*116=11484, Resulting Numbers: [11484]
11484,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
46,
3,
30,
36
] | 23 | [
"46*3=138",
"36-30=6",
"138/6=23"
] | Current State: 23:[46, 3, 30, 36], Operations: []
Exploring Operation: 46*3=138, Resulting Numbers: [30, 36, 138]
Generated Node #2: [30, 36, 138] from Operation: 46*3=138
Current State: 23:[30, 36, 138], Operations: ['46*3=138']
Exploring Operation: 36-30=6, Resulting Numbers: [138, 6]
Generated Node #3: [138, 6] from Operation: 36-30=6
Current State: 23:[138, 6], Operations: ['46*3=138', '36-30=6']
Exploring Operation: 138/6=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[46, 3, 30, 36], Operations: []
Exploring Operation: 46-36=10, Resulting Numbers: [3, 30, 10]
Generated Node #0,0: 23:[3, 30, 10] Operation: 46-36=10
Exploring Operation: 46-30=16, Resulting Numbers: [3, 36, 16]
Generated Node #0,1: 23:[3, 36, 16] Operation: 46-30=16
Exploring Operation: 46-3=43, Resulting Numbers: [30, 36, 43]
Generated Node #0,2: 23:[30, 36, 43] Operation: 46-3=43
Exploring Operation: 30-3=27, Resulting Numbers: [46, 36, 27]
Generated Node #0,3: 23:[46, 36, 27] Operation: 30-3=27
Exploring Operation: 36-3=33, Resulting Numbers: [46, 30, 33]
Generated Node #0,4: 23:[46, 30, 33] Operation: 36-3=33
Moving to Node #0,0
Current State: 23:[3, 30, 10], Operations: ['46-36=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30, 30]
Generated Node #0,0,0: 23:[30, 30] Operation: 3*10=30
Exploring Operation: 3+30=33, Resulting Numbers: [10, 33]
Generated Node #0,0,1: 23:[10, 33] Operation: 3+30=33
Exploring Operation: 10-3=7, Resulting Numbers: [30, 7]
Generated Node #0,0,2: 23:[30, 7] Operation: 10-3=7
Exploring Operation: 3+10=13, Resulting Numbers: [30, 13]
Generated Node #0,0,3: 23:[30, 13] Operation: 3+10=13
Exploring Operation: 30-3=27, Resulting Numbers: [10, 27]
Generated Node #0,0,4: 23:[10, 27] Operation: 30-3=27
Moving to Node #0,2
Current State: 23:[30, 36, 43], Operations: ['46-3=43']
Exploring Operation: 30+36=66, Resulting Numbers: [43, 66]
Generated Node #0,2,0: 23:[43, 66] Operation: 30+36=66
Exploring Operation: 30+43=73, Resulting Numbers: [36, 73]
Generated Node #0,2,1: 23:[36, 73] Operation: 30+43=73
Exploring Operation: 36-30=6, Resulting Numbers: [43, 6]
Generated Node #0,2,2: 23:[43, 6] Operation: 36-30=6
Exploring Operation: 43-36=7, Resulting Numbers: [30, 7]
Generated Node #0,2,3: 23:[30, 7] Operation: 43-36=7
Exploring Operation: 43-30=13, Resulting Numbers: [36, 13]
Generated Node #0,2,4: 23:[36, 13] Operation: 43-30=13
Moving to Node #0,4
Current State: 23:[46, 30, 33], Operations: ['36-3=33']
Exploring Operation: 46+30=76, Resulting Numbers: [33, 76]
Generated Node #0,4,0: 23:[33, 76] Operation: 46+30=76
Exploring Operation: 33-30=3, Resulting Numbers: [46, 3]
Generated Node #0,4,1: 23:[46, 3] Operation: 33-30=3
Exploring Operation: 46+33=79, Resulting Numbers: [30, 79]
Generated Node #0,4,2: 23:[30, 79] Operation: 46+33=79
Exploring Operation: 46-33=13, Resulting Numbers: [30, 13]
Generated Node #0,4,3: 23:[30, 13] Operation: 46-33=13
Exploring Operation: 46-30=16, Resulting Numbers: [33, 16]
Generated Node #0,4,4: 23:[33, 16] Operation: 46-30=16
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 23:[30, 13], Operations: ['36-3=33', '46-33=13']
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,23 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 23:[33, 16], Operations: ['36-3=33', '46-30=16']
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,23 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 23:[46, 3], Operations: ['36-3=33', '33-30=3']
Exploring Operation: 46*3=138, Resulting Numbers: [138]
138,23 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 23:[33, 76], Operations: ['36-3=33', '46+30=76']
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Exploring Operation: 33*76=2508, Resulting Numbers: [2508]
2508,23 unequal: No Solution
Exploring Operation: 33+76=109, Resulting Numbers: [109]
109,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 23:[30, 79], Operations: ['36-3=33', '46+33=79']
Exploring Operation: 30*79=2370, Resulting Numbers: [2370]
2370,23 unequal: No Solution
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 30+79=109, Resulting Numbers: [109]
109,23 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: 23:[3, 36, 16], Operations: ['46-30=16']
Exploring Operation: 3+16=19, Resulting Numbers: [36, 19]
Generated Node #0,1,0: 23:[36, 19] Operation: 3+16=19
Exploring Operation: 36-3=33, Resulting Numbers: [16, 33]
Generated Node #0,1,1: 23:[16, 33] Operation: 36-3=33
Exploring Operation: 16-3=13, Resulting Numbers: [36, 13]
Generated Node #0,1,2: 23:[36, 13] Operation: 16-3=13
Exploring Operation: 36/3=12, Resulting Numbers: [16, 12]
Generated Node #0,1,3: 23:[16, 12] Operation: 36/3=12
Exploring Operation: 3+36=39, Resulting Numbers: [16, 39]
Generated Node #0,1,4: 23:[16, 39] Operation: 3+36=39
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[36, 19], Operations: ['46-30=16', '3+16=19']
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 36+19=55, Resulting Numbers: [55]
55,23 unequal: No Solution
Exploring Operation: 36*19=684, Resulting Numbers: [684]
684,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[16, 33], Operations: ['46-30=16', '36-3=33']
Exploring Operation: 16+33=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 16*33=528, Resulting Numbers: [528]
528,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 23:[16, 12], Operations: ['46-30=16', '36/3=12']
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,23 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[36, 13], Operations: ['46-30=16', '16-3=13']
Exploring Operation: 36+13=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[46, 3, 30, 36], Operations: []
Exploring Operation: 46-30=16, Resulting Numbers: [3, 36, 16]
Generated Node #0,1: 23:[3, 36, 16] Operation: 46-30=16
Moving to Node #0,1
Current State: 23:[3, 36, 16], Operations: ['46-30=16']
Exploring Operation: 16-3=13, Resulting Numbers: [36, 13]
Generated Node #0,1,2: 23:[36, 13] Operation: 16-3=13
Moving to Node #0,1,2
Current State: 23:[36, 13], Operations: ['46-30=16', '16-3=13']
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.952257 | hs_5 | sum_heuristic |
[
38,
35,
7,
63
] | 64 | [
"38+35=73",
"63/7=9",
"73-9=64"
] | Current State: 64:[38, 35, 7, 63], Operations: []
Exploring Operation: 38+35=73, Resulting Numbers: [7, 63, 73]
Generated Node #2: [7, 63, 73] from Operation: 38+35=73
Current State: 64:[7, 63, 73], Operations: ['38+35=73']
Exploring Operation: 63/7=9, Resulting Numbers: [73, 9]
Generated Node #3: [73, 9] from Operation: 63/7=9
Current State: 64:[73, 9], Operations: ['38+35=73', '63/7=9']
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[38, 35, 7, 63], Operations: []
Exploring Operation: 38-35=3, Resulting Numbers: [7, 63, 3]
Generated Node #0,0: 64:[7, 63, 3] Operation: 38-35=3
Moving to Node #0,0
Current State: 64:[7, 63, 3], Operations: ['38-35=3']
Exploring Operation: 7-3=4, Resulting Numbers: [63, 4]
Generated Node #0,0,0: 64:[63, 4] Operation: 7-3=4
Moving to Node #0,0,0
Current State: 64:[63, 4], Operations: ['38-35=3', '7-3=4']
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,64 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
47,
40,
43,
1
] | 45 | [
"47+40=87",
"43-1=42",
"87-42=45"
] | Current State: 45:[47, 40, 43, 1], Operations: []
Exploring Operation: 47+40=87, Resulting Numbers: [43, 1, 87]
Generated Node #2: [43, 1, 87] from Operation: 47+40=87
Current State: 45:[43, 1, 87], Operations: ['47+40=87']
Exploring Operation: 43-1=42, Resulting Numbers: [87, 42]
Generated Node #3: [87, 42] from Operation: 43-1=42
Current State: 45:[87, 42], Operations: ['47+40=87', '43-1=42']
Exploring Operation: 87-42=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[47, 40, 43, 1], Operations: []
Exploring Operation: 43-40=3, Resulting Numbers: [47, 1, 3]
Generated Node #0,0: 45:[47, 1, 3] Operation: 43-40=3
Moving to Node #0,0
Current State: 45:[47, 1, 3], Operations: ['43-40=3']
Exploring Operation: 47-1=46, Resulting Numbers: [3, 46]
Generated Node #0,0,0: 45:[3, 46] Operation: 47-1=46
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[3, 46], Operations: ['43-40=3', '47-1=46']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
82,
73,
77,
44
] | 71 | [
"77-73=4",
"44/4=11",
"82-11=71"
] | Current State: 71:[82, 73, 77, 44], Operations: []
Exploring Operation: 77-73=4, Resulting Numbers: [82, 44, 4]
Generated Node #2: [82, 44, 4] from Operation: 77-73=4
Current State: 71:[82, 44, 4], Operations: ['77-73=4']
Exploring Operation: 44/4=11, Resulting Numbers: [82, 11]
Generated Node #3: [82, 11] from Operation: 44/4=11
Current State: 71:[82, 11], Operations: ['77-73=4', '44/4=11']
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[82, 73, 77, 44], Operations: []
Exploring Operation: 82-44=38, Resulting Numbers: [73, 77, 38]
Generated Node #0,0: 71:[73, 77, 38] Operation: 82-44=38
Moving to Node #0,0
Current State: 71:[73, 77, 38], Operations: ['82-44=38']
Exploring Operation: 77-38=39, Resulting Numbers: [73, 39]
Generated Node #0,0,0: 71:[73, 39] Operation: 77-38=39
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[73, 39], Operations: ['82-44=38', '77-38=39']
Exploring Operation: 73-39=34, Resulting Numbers: [34]
34,71 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 |
[
76,
52,
28,
95
] | 91 | [
"76-52=24",
"95-28=67",
"24+67=91"
] | Current State: 91:[76, 52, 28, 95], Operations: []
Exploring Operation: 76-52=24, Resulting Numbers: [28, 95, 24]
Generated Node #2: [28, 95, 24] from Operation: 76-52=24
Current State: 91:[28, 95, 24], Operations: ['76-52=24']
Exploring Operation: 95-28=67, Resulting Numbers: [24, 67]
Generated Node #3: [24, 67] from Operation: 95-28=67
Current State: 91:[24, 67], Operations: ['76-52=24', '95-28=67']
Exploring Operation: 24+67=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[76, 52, 28, 95], Operations: []
Exploring Operation: 52-28=24, Resulting Numbers: [76, 95, 24]
Generated Node #0,0: 91:[76, 95, 24] Operation: 52-28=24
Exploring Operation: 76+52=128, Resulting Numbers: [28, 95, 128]
Generated Node #0,1: 91:[28, 95, 128] Operation: 76+52=128
Exploring Operation: 52+28=80, Resulting Numbers: [76, 95, 80]
Generated Node #0,2: 91:[76, 95, 80] Operation: 52+28=80
Exploring Operation: 76-52=24, Resulting Numbers: [28, 95, 24]
Generated Node #0,3: 91:[28, 95, 24] Operation: 76-52=24
Exploring Operation: 76+28=104, Resulting Numbers: [52, 95, 104]
Generated Node #0,4: 91:[52, 95, 104] Operation: 76+28=104
Moving to Node #0,0
Current State: 91:[76, 95, 24], Operations: ['52-28=24']
Exploring Operation: 76-24=52, Resulting Numbers: [95, 52]
Generated Node #0,0,0: 91:[95, 52] Operation: 76-24=52
Exploring Operation: 95-76=19, Resulting Numbers: [24, 19]
Generated Node #0,0,1: 91:[24, 19] Operation: 95-76=19
Exploring Operation: 95-24=71, Resulting Numbers: [76, 71]
Generated Node #0,0,2: 91:[76, 71] Operation: 95-24=71
Exploring Operation: 95+24=119, Resulting Numbers: [76, 119]
Generated Node #0,0,3: 91:[76, 119] Operation: 95+24=119
Exploring Operation: 76+24=100, Resulting Numbers: [95, 100]
Generated Node #0,0,4: 91:[95, 100] Operation: 76+24=100
Moving to Node #0,3
Current State: 91:[28, 95, 24], Operations: ['76-52=24']
Exploring Operation: 28+24=52, Resulting Numbers: [95, 52]
Generated Node #0,3,0: 91:[95, 52] Operation: 28+24=52
Exploring Operation: 28-24=4, Resulting Numbers: [95, 4]
Generated Node #0,3,1: 91:[95, 4] Operation: 28-24=4
Exploring Operation: 95-24=71, Resulting Numbers: [28, 71]
Generated Node #0,3,2: 91:[28, 71] Operation: 95-24=71
Exploring Operation: 28+95=123, Resulting Numbers: [24, 123]
Generated Node #0,3,3: 91:[24, 123] Operation: 28+95=123
Exploring Operation: 95-28=67, Resulting Numbers: [24, 67]
Generated Node #0,3,4: 91:[24, 67] Operation: 95-28=67
Moving to Node #0,2
Current State: 91:[76, 95, 80], Operations: ['52+28=80']
Exploring Operation: 95-76=19, Resulting Numbers: [80, 19]
Generated Node #0,2,0: 91:[80, 19] Operation: 95-76=19
Exploring Operation: 76+80=156, Resulting Numbers: [95, 156]
Generated Node #0,2,1: 91:[95, 156] Operation: 76+80=156
Exploring Operation: 80-76=4, Resulting Numbers: [95, 4]
Generated Node #0,2,2: 91:[95, 4] Operation: 80-76=4
Exploring Operation: 76+95=171, Resulting Numbers: [80, 171]
Generated Node #0,2,3: 91:[80, 171] Operation: 76+95=171
Exploring Operation: 95-80=15, Resulting Numbers: [76, 15]
Generated Node #0,2,4: 91:[76, 15] Operation: 95-80=15
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[95, 4], Operations: ['52+28=80', '80-76=4']
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,91 unequal: No Solution
Exploring Operation: 95*4=380, Resulting Numbers: [380]
380,91 unequal: No Solution
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[76, 52, 28, 95], Operations: []
Exploring Operation: 52+28=80, Resulting Numbers: [76, 95, 80]
Generated Node #0,2: 91:[76, 95, 80] Operation: 52+28=80
Moving to Node #0,2
Current State: 91:[76, 95, 80], Operations: ['52+28=80']
Exploring Operation: 80-76=4, Resulting Numbers: [95, 4]
Generated Node #0,2,2: 91:[95, 4] Operation: 80-76=4
Moving to Node #0,2,2
Current State: 91:[95, 4], Operations: ['52+28=80', '80-76=4']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | sum_heuristic |
[
41,
9,
45,
26
] | 21 | [
"41+9=50",
"45+26=71",
"71-50=21"
] | Current State: 21:[41, 9, 45, 26], Operations: []
Exploring Operation: 41+9=50, Resulting Numbers: [45, 26, 50]
Generated Node #2: [45, 26, 50] from Operation: 41+9=50
Current State: 21:[45, 26, 50], Operations: ['41+9=50']
Exploring Operation: 45+26=71, Resulting Numbers: [50, 71]
Generated Node #3: [50, 71] from Operation: 45+26=71
Current State: 21:[50, 71], Operations: ['41+9=50', '45+26=71']
Exploring Operation: 71-50=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[41, 9, 45, 26], Operations: []
Exploring Operation: 45/9=5, Resulting Numbers: [41, 26, 5]
Generated Node #0,0: 21:[41, 26, 5] Operation: 45/9=5
Exploring Operation: 45-26=19, Resulting Numbers: [41, 9, 19]
Generated Node #0,1: 21:[41, 9, 19] Operation: 45-26=19
Exploring Operation: 45-41=4, Resulting Numbers: [9, 26, 4]
Generated Node #0,2: 21:[9, 26, 4] Operation: 45-41=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[9, 26, 4], Operations: ['45-41=4']
Exploring Operation: 26-9=17, Resulting Numbers: [4, 17]
Generated Node #0,2,0: 21:[4, 17] Operation: 26-9=17
Exploring Operation: 9-4=5, Resulting Numbers: [26, 5]
Generated Node #0,2,1: 21:[26, 5] Operation: 9-4=5
Exploring Operation: 26-4=22, Resulting Numbers: [9, 22]
Generated Node #0,2,2: 21:[9, 22] Operation: 26-4=22
Moving to Node #0,2,2
Current State: 21:[9, 22], Operations: ['45-41=4', '26-4=22']
Exploring Operation: 9*22=198, Resulting Numbers: [198]
198,21 unequal: No Solution
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[4, 17], Operations: ['45-41=4', '26-9=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,21 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[41, 9, 45, 26], Operations: []
Exploring Operation: 45-41=4, Resulting Numbers: [9, 26, 4]
Generated Node #0,2: 21:[9, 26, 4] Operation: 45-41=4
Moving to Node #0,2
Current State: 21:[9, 26, 4], Operations: ['45-41=4']
Exploring Operation: 26-9=17, Resulting Numbers: [4, 17]
Generated Node #0,2,0: 21:[4, 17] Operation: 26-9=17
Moving to Node #0,2,0
Current State: 21:[4, 17], Operations: ['45-41=4', '26-9=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
5,
48,
13,
26
] | 58 | [
"5*26=130",
"130/13=10",
"48+10=58"
] | Current State: 58:[5, 48, 13, 26], Operations: []
Exploring Operation: 5*26=130, Resulting Numbers: [48, 13, 130]
Generated Node #2: [48, 13, 130] from Operation: 5*26=130
Current State: 58:[48, 13, 130], Operations: ['5*26=130']
Exploring Operation: 130/13=10, Resulting Numbers: [48, 10]
Generated Node #3: [48, 10] from Operation: 130/13=10
Current State: 58:[48, 10], Operations: ['5*26=130', '130/13=10']
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[5, 48, 13, 26], Operations: []
Exploring Operation: 48+13=61, Resulting Numbers: [5, 26, 61]
Generated Node #0,0: 58:[5, 26, 61] Operation: 48+13=61
Moving to Node #0,0
Current State: 58:[5, 26, 61], Operations: ['48+13=61']
Exploring Operation: 5+26=31, Resulting Numbers: [61, 31]
Generated Node #0,0,0: 58:[61, 31] Operation: 5+26=31
Moving to Node #0,0,0
Current State: 58:[61, 31], Operations: ['48+13=61', '5+26=31']
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,58 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
5,
58,
55,
55
] | 80 | [
"55+55=110",
"110/5=22",
"58+22=80"
] | Current State: 80:[5, 58, 55, 55], Operations: []
Exploring Operation: 55+55=110, Resulting Numbers: [5, 58, 110]
Generated Node #2: [5, 58, 110] from Operation: 55+55=110
Current State: 80:[5, 58, 110], Operations: ['55+55=110']
Exploring Operation: 110/5=22, Resulting Numbers: [58, 22]
Generated Node #3: [58, 22] from Operation: 110/5=22
Current State: 80:[58, 22], Operations: ['55+55=110', '110/5=22']
Exploring Operation: 58+22=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[5, 58, 55, 55], Operations: []
Exploring Operation: 58-55=3, Resulting Numbers: [5, 55, 3]
Generated Node #0,0: 80:[5, 55, 3] Operation: 58-55=3
Exploring Operation: 58-55=3, Resulting Numbers: [5, 55, 3]
Generated Node #0,1: 80:[5, 55, 3] Operation: 58-55=3
Exploring Operation: 55/55=1, Resulting Numbers: [5, 58, 1]
Generated Node #0,2: 80:[5, 58, 1] Operation: 55/55=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[5, 55, 3], Operations: ['58-55=3']
Exploring Operation: 55-3=52, Resulting Numbers: [5, 52]
Generated Node #0,0,0: 80:[5, 52] Operation: 55-3=52
Exploring Operation: 55/5=11, Resulting Numbers: [3, 11]
Generated Node #0,0,1: 80:[3, 11] Operation: 55/5=11
Exploring Operation: 55-5=50, Resulting Numbers: [3, 50]
Generated Node #0,0,2: 80:[3, 50] Operation: 55-5=50
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[3, 11], Operations: ['58-55=3', '55/5=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,80 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,80 unequal: No Solution
No 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: 80:[3, 50], Operations: ['58-55=3', '55-5=50']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,80 unequal: No Solution
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,80 unequal: No Solution
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,80 unequal: No Solution
No 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: 80:[5, 52], Operations: ['58-55=3', '55-3=52']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,80 unequal: No Solution
Exploring Operation: 5*52=260, Resulting Numbers: [260]
260,80 unequal: No Solution
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,80 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: 80:[5, 55, 3], Operations: ['58-55=3']
Exploring Operation: 55/5=11, Resulting Numbers: [3, 11]
Generated Node #0,1,0: 80:[3, 11] Operation: 55/5=11
Exploring Operation: 55-5=50, Resulting Numbers: [3, 50]
Generated Node #0,1,1: 80:[3, 50] Operation: 55-5=50
Exploring Operation: 55-3=52, Resulting Numbers: [5, 52]
Generated Node #0,1,2: 80:[5, 52] Operation: 55-3=52
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[3, 11], Operations: ['58-55=3', '55/5=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,80 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,80 unequal: No Solution
No 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: 80:[3, 50], Operations: ['58-55=3', '55-5=50']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,80 unequal: No Solution
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,80 unequal: No Solution
No 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: 80:[5, 52], Operations: ['58-55=3', '55-3=52']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,80 unequal: No Solution
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,80 unequal: No Solution
Exploring Operation: 5*52=260, Resulting Numbers: [260]
260,80 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: 80:[5, 58, 1], Operations: ['55/55=1']
Exploring Operation: 5+58=63, Resulting Numbers: [1, 63]
Generated Node #0,2,0: 80:[1, 63] Operation: 5+58=63
Exploring Operation: 58-1=57, Resulting Numbers: [5, 57]
Generated Node #0,2,1: 80:[5, 57] Operation: 58-1=57
Exploring Operation: 58-5=53, Resulting Numbers: [1, 53]
Generated Node #0,2,2: 80:[1, 53] Operation: 58-5=53
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 80:[1, 53], Operations: ['55/55=1', '58-5=53']
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 1*53=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,80 unequal: No Solution
No 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: 80:[5, 57], Operations: ['55/55=1', '58-1=57']
Exploring Operation: 5*57=285, Resulting Numbers: [285]
285,80 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 5+57=62, Resulting Numbers: [62]
62,80 unequal: No Solution
No 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: 80:[1, 63], Operations: ['55/55=1', '5+58=63']
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,80 unequal: No Solution
Exploring Operation: 1+63=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,80 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 |
[
82,
3,
68,
1
] | 48 | [
"3-1=2",
"68/2=34",
"82-34=48"
] | Current State: 48:[82, 3, 68, 1], Operations: []
Exploring Operation: 3-1=2, Resulting Numbers: [82, 68, 2]
Generated Node #2: [82, 68, 2] from Operation: 3-1=2
Current State: 48:[82, 68, 2], Operations: ['3-1=2']
Exploring Operation: 68/2=34, Resulting Numbers: [82, 34]
Generated Node #3: [82, 34] from Operation: 68/2=34
Current State: 48:[82, 34], Operations: ['3-1=2', '68/2=34']
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[82, 3, 68, 1], Operations: []
Exploring Operation: 82-3=79, Resulting Numbers: [68, 1, 79]
Generated Node #0,0: 48:[68, 1, 79] Operation: 82-3=79
Exploring Operation: 82-68=14, Resulting Numbers: [3, 1, 14]
Generated Node #0,1: 48:[3, 1, 14] Operation: 82-68=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[3, 1, 14], Operations: ['82-68=14']
Exploring Operation: 1+14=15, Resulting Numbers: [3, 15]
Generated Node #0,1,0: 48:[3, 15] Operation: 1+14=15
Exploring Operation: 14-1=13, Resulting Numbers: [3, 13]
Generated Node #0,1,1: 48:[3, 13] Operation: 14-1=13
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 48:[3, 15], Operations: ['82-68=14', '1+14=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,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:[3, 13], Operations: ['82-68=14', '14-1=13']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,48 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,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:[68, 1, 79], Operations: ['82-3=79']
Exploring Operation: 68-1=67, Resulting Numbers: [79, 67]
Generated Node #0,0,0: 48:[79, 67] Operation: 68-1=67
Exploring Operation: 79-68=11, Resulting Numbers: [1, 11]
Generated Node #0,0,1: 48:[1, 11] Operation: 79-68=11
Moving to Node #0,0,1
Current State: 48:[1, 11], Operations: ['82-3=79', '79-68=11']
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[79, 67], Operations: ['82-3=79', '68-1=67']
Exploring Operation: 79-67=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 79+67=146, Resulting Numbers: [146]
146,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
6,
29,
76,
30
] | 75 | [
"6*30=180",
"29+76=105",
"180-105=75"
] | Current State: 75:[6, 29, 76, 30], Operations: []
Exploring Operation: 6*30=180, Resulting Numbers: [29, 76, 180]
Generated Node #2: [29, 76, 180] from Operation: 6*30=180
Current State: 75:[29, 76, 180], Operations: ['6*30=180']
Exploring Operation: 29+76=105, Resulting Numbers: [180, 105]
Generated Node #3: [180, 105] from Operation: 29+76=105
Current State: 75:[180, 105], Operations: ['6*30=180', '29+76=105']
Exploring Operation: 180-105=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[6, 29, 76, 30], Operations: []
Exploring Operation: 30-29=1, Resulting Numbers: [6, 76, 1]
Generated Node #0,0: 75:[6, 76, 1] Operation: 30-29=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[6, 76, 1], Operations: ['30-29=1']
Exploring Operation: 6-1=5, Resulting Numbers: [76, 5]
Generated Node #0,0,0: 75:[76, 5] Operation: 6-1=5
Moving to Node #0,0,0
Current State: 75:[76, 5], Operations: ['30-29=1', '6-1=5']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,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 |
[
50,
68,
10,
7
] | 33 | [
"50/10=5",
"7*5=35",
"68-35=33"
] | Current State: 33:[50, 68, 10, 7], Operations: []
Exploring Operation: 50/10=5, Resulting Numbers: [68, 7, 5]
Generated Node #2: [68, 7, 5] from Operation: 50/10=5
Current State: 33:[68, 7, 5], Operations: ['50/10=5']
Exploring Operation: 7*5=35, Resulting Numbers: [68, 35]
Generated Node #3: [68, 35] from Operation: 7*5=35
Current State: 33:[68, 35], Operations: ['50/10=5', '7*5=35']
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[50, 68, 10, 7], Operations: []
Exploring Operation: 50-10=40, Resulting Numbers: [68, 7, 40]
Generated Node #0,0: 33:[68, 7, 40] Operation: 50-10=40
Exploring Operation: 50/10=5, Resulting Numbers: [68, 7, 5]
Generated Node #0,1: 33:[68, 7, 5] Operation: 50/10=5
Exploring Operation: 68-50=18, Resulting Numbers: [10, 7, 18]
Generated Node #0,2: 33:[10, 7, 18] Operation: 68-50=18
Moving to Node #0,2
Current State: 33:[10, 7, 18], Operations: ['68-50=18']
Exploring Operation: 10-7=3, Resulting Numbers: [18, 3]
Generated Node #0,2,0: 33:[18, 3] Operation: 10-7=3
Exploring Operation: 18-10=8, Resulting Numbers: [7, 8]
Generated Node #0,2,1: 33:[7, 8] Operation: 18-10=8
Exploring Operation: 18-7=11, Resulting Numbers: [10, 11]
Generated Node #0,2,2: 33:[10, 11] Operation: 18-7=11
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 33:[10, 11], Operations: ['68-50=18', '18-7=11']
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,33 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 33:[18, 3], Operations: ['68-50=18', '10-7=3']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 33:[7, 8], Operations: ['68-50=18', '18-10=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 33:[68, 7, 5], Operations: ['50/10=5']
Exploring Operation: 68-5=63, Resulting Numbers: [7, 63]
Generated Node #0,1,0: 33:[7, 63] Operation: 68-5=63
Exploring Operation: 68-7=61, Resulting Numbers: [5, 61]
Generated Node #0,1,1: 33:[5, 61] Operation: 68-7=61
Exploring Operation: 7+5=12, Resulting Numbers: [68, 12]
Generated Node #0,1,2: 33:[68, 12] Operation: 7+5=12
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[5, 61], Operations: ['50/10=5', '68-7=61']
Exploring Operation: 5+61=66, Resulting Numbers: [66]
66,33 unequal: No Solution
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 5*61=305, Resulting Numbers: [305]
305,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 33:[7, 63], Operations: ['50/10=5', '68-5=63']
Exploring Operation: 63/7=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 63-7=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 7+63=70, Resulting Numbers: [70]
70,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 33:[68, 12], Operations: ['50/10=5', '7+5=12']
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 68+12=80, Resulting Numbers: [80]
80,33 unequal: No Solution
Exploring Operation: 68*12=816, Resulting Numbers: [816]
816,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 33:[68, 7, 40], Operations: ['50-10=40']
Exploring Operation: 68-40=28, Resulting Numbers: [7, 28]
Generated Node #0,0,0: 33:[7, 28] Operation: 68-40=28
Exploring Operation: 68-7=61, Resulting Numbers: [40, 61]
Generated Node #0,0,1: 33:[40, 61] Operation: 68-7=61
Exploring Operation: 40-7=33, Resulting Numbers: [68, 33]
Generated Node #0,0,2: 33:[68, 33] Operation: 40-7=33
Moving to Node #0,0,0
Current State: 33:[7, 28], Operations: ['50-10=40', '68-40=28']
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[40, 61], Operations: ['50-10=40', '68-7=61']
Exploring Operation: 61-40=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 40+61=101, Resulting Numbers: [101]
101,33 unequal: No Solution
Exploring Operation: 40*61=2440, Resulting Numbers: [2440]
2440,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[68, 33], Operations: ['50-10=40', '40-7=33']
Exploring Operation: 68+33=101, Resulting Numbers: [101]
101,33 unequal: No Solution
Exploring Operation: 68*33=2244, Resulting Numbers: [2244]
2244,33 unequal: No Solution
Exploring Operation: 68-33=35, Resulting Numbers: [35]
35,33 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
5,
30,
77,
33
] | 40 | [
"5*30=150",
"77+33=110",
"150-110=40"
] | Current State: 40:[5, 30, 77, 33], Operations: []
Exploring Operation: 5*30=150, Resulting Numbers: [77, 33, 150]
Generated Node #2: [77, 33, 150] from Operation: 5*30=150
Current State: 40:[77, 33, 150], Operations: ['5*30=150']
Exploring Operation: 77+33=110, Resulting Numbers: [150, 110]
Generated Node #3: [150, 110] from Operation: 77+33=110
Current State: 40:[150, 110], Operations: ['5*30=150', '77+33=110']
Exploring Operation: 150-110=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[5, 30, 77, 33], Operations: []
Exploring Operation: 33-30=3, Resulting Numbers: [5, 77, 3]
Generated Node #0,0: 40:[5, 77, 3] Operation: 33-30=3
Exploring Operation: 77-33=44, Resulting Numbers: [5, 30, 44]
Generated Node #0,1: 40:[5, 30, 44] Operation: 77-33=44
Exploring Operation: 77-30=47, Resulting Numbers: [5, 33, 47]
Generated Node #0,2: 40:[5, 33, 47] Operation: 77-30=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[5, 30, 44], Operations: ['77-33=44']
Exploring Operation: 5+30=35, Resulting Numbers: [44, 35]
Generated Node #0,1,0: 40:[44, 35] Operation: 5+30=35
Exploring Operation: 44-30=14, Resulting Numbers: [5, 14]
Generated Node #0,1,1: 40:[5, 14] Operation: 44-30=14
Exploring Operation: 30/5=6, Resulting Numbers: [44, 6]
Generated Node #0,1,2: 40:[44, 6] Operation: 30/5=6
Moving to Node #0,1,1
Current State: 40:[5, 14], Operations: ['77-33=44', '44-30=14']
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,40 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,40 unequal: No Solution
Moving to Node #0,1,2
Current State: 40:[44, 6], Operations: ['77-33=44', '30/5=6']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,40 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[44, 35], Operations: ['77-33=44', '5+30=35']
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,40 unequal: No Solution
Exploring Operation: 44*35=1540, Resulting Numbers: [1540]
1540,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[5, 33, 47], Operations: ['77-30=47']
Exploring Operation: 47-5=42, Resulting Numbers: [33, 42]
Generated Node #0,2,0: 40:[33, 42] Operation: 47-5=42
Exploring Operation: 5+33=38, Resulting Numbers: [47, 38]
Generated Node #0,2,1: 40:[47, 38] Operation: 5+33=38
Exploring Operation: 47-33=14, Resulting Numbers: [5, 14]
Generated Node #0,2,2: 40:[5, 14] Operation: 47-33=14
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 40:[5, 14], Operations: ['77-30=47', '47-33=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,40 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 40:[33, 42], Operations: ['77-30=47', '47-5=42']
Exploring Operation: 42-33=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 33*42=1386, Resulting Numbers: [1386]
1386,40 unequal: No Solution
Exploring Operation: 33+42=75, Resulting Numbers: [75]
75,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 40:[47, 38], Operations: ['77-30=47', '5+33=38']
Exploring Operation: 47*38=1786, Resulting Numbers: [1786]
1786,40 unequal: No Solution
Exploring Operation: 47-38=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 47+38=85, Resulting Numbers: [85]
85,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[5, 77, 3], Operations: ['33-30=3']
Exploring Operation: 5+3=8, Resulting Numbers: [77, 8]
Generated Node #0,0,0: 40:[77, 8] Operation: 5+3=8
Exploring Operation: 77-3=74, Resulting Numbers: [5, 74]
Generated Node #0,0,1: 40:[5, 74] Operation: 77-3=74
Exploring Operation: 77-5=72, Resulting Numbers: [3, 72]
Generated Node #0,0,2: 40:[3, 72] Operation: 77-5=72
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 40:[3, 72], Operations: ['33-30=3', '77-5=72']
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,40 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,40 unequal: No Solution
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 40:[5, 74], Operations: ['33-30=3', '77-3=74']
Exploring Operation: 5+74=79, Resulting Numbers: [79]
79,40 unequal: No Solution
Exploring Operation: 5*74=370, Resulting Numbers: [370]
370,40 unequal: No Solution
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[77, 8], Operations: ['33-30=3', '5+3=8']
Exploring Operation: 77*8=616, Resulting Numbers: [616]
616,40 unequal: No Solution
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,40 unequal: No Solution
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
96,
88,
10,
28
] | 46 | [
"96-88=8",
"10+28=38",
"8+38=46"
] | Current State: 46:[96, 88, 10, 28], Operations: []
Exploring Operation: 96-88=8, Resulting Numbers: [10, 28, 8]
Generated Node #2: [10, 28, 8] from Operation: 96-88=8
Current State: 46:[10, 28, 8], Operations: ['96-88=8']
Exploring Operation: 10+28=38, Resulting Numbers: [8, 38]
Generated Node #3: [8, 38] from Operation: 10+28=38
Current State: 46:[8, 38], Operations: ['96-88=8', '10+28=38']
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[96, 88, 10, 28], Operations: []
Exploring Operation: 88-28=60, Resulting Numbers: [96, 10, 60]
Generated Node #0,0: 46:[96, 10, 60] Operation: 88-28=60
Exploring Operation: 96-88=8, Resulting Numbers: [10, 28, 8]
Generated Node #0,1: 46:[10, 28, 8] Operation: 96-88=8
Exploring Operation: 96-28=68, Resulting Numbers: [88, 10, 68]
Generated Node #0,2: 46:[88, 10, 68] Operation: 96-28=68
Exploring Operation: 96-10=86, Resulting Numbers: [88, 28, 86]
Generated Node #0,3: 46:[88, 28, 86] Operation: 96-10=86
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[10, 28, 8], Operations: ['96-88=8']
Exploring Operation: 10-8=2, Resulting Numbers: [28, 2]
Generated Node #0,1,0: 46:[28, 2] Operation: 10-8=2
Exploring Operation: 28-10=18, Resulting Numbers: [8, 18]
Generated Node #0,1,1: 46:[8, 18] Operation: 28-10=18
Exploring Operation: 28-8=20, Resulting Numbers: [10, 20]
Generated Node #0,1,2: 46:[10, 20] Operation: 28-8=20
Exploring Operation: 10+8=18, Resulting Numbers: [28, 18]
Generated Node #0,1,3: 46:[28, 18] Operation: 10+8=18
Moving to Node #0,1,0
Current State: 46:[28, 2], Operations: ['96-88=8', '10-8=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,46 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Moving to Node #0,1,3
Current State: 46:[28, 18], Operations: ['96-88=8', '10+8=18']
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,46 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[96, 88, 10, 28], Operations: []
Exploring Operation: 96-88=8, Resulting Numbers: [10, 28, 8]
Generated Node #0,1: 46:[10, 28, 8] Operation: 96-88=8
Moving to Node #0,1
Current State: 46:[10, 28, 8], Operations: ['96-88=8']
Exploring Operation: 10+8=18, Resulting Numbers: [28, 18]
Generated Node #0,1,3: 46:[28, 18] Operation: 10+8=18
Moving to Node #0,1,3
Current State: 46:[28, 18], Operations: ['96-88=8', '10+8=18']
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
95,
5,
18,
95
] | 23 | [
"95+5=100",
"95-18=77",
"100-77=23"
] | Current State: 23:[95, 5, 18, 95], Operations: []
Exploring Operation: 95+5=100, Resulting Numbers: [18, 100]
Generated Node #2: [18, 100] from Operation: 95+5=100
Current State: 23:[18, 100], Operations: ['95+5=100']
Exploring Operation: 95-18=77, Resulting Numbers: [100, 77]
Generated Node #3: [100, 77] from Operation: 95-18=77
Current State: 23:[100, 77], Operations: ['95+5=100', '95-18=77']
Exploring Operation: 100-77=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[95, 5, 18, 95], Operations: []
Exploring Operation: 95-95=0, Resulting Numbers: [5, 18, 0]
Generated Node #0,0: 23:[5, 18, 0] Operation: 95-95=0
Exploring Operation: 95/95=1, Resulting Numbers: [5, 18, 1]
Generated Node #0,1: 23:[5, 18, 1] Operation: 95/95=1
Exploring Operation: 95-5=90, Resulting Numbers: [18, 95, 90]
Generated Node #0,2: 23:[18, 95, 90] Operation: 95-5=90
Exploring Operation: 95/5=19, Resulting Numbers: [95, 18, 19]
Generated Node #0,3: 23:[95, 18, 19] Operation: 95/5=19
Exploring Operation: 95/5=19, Resulting Numbers: [18, 95, 19]
Generated Node #0,4: 23:[18, 95, 19] Operation: 95/5=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[5, 18, 1], Operations: ['95/95=1']
Exploring Operation: 5*1=5, Resulting Numbers: [18, 5]
Generated Node #0,1,0: 23:[18, 5] Operation: 5*1=5
Exploring Operation: 5+18=23, Resulting Numbers: [1, 23]
Generated Node #0,1,1: 23:[1, 23] Operation: 5+18=23
Exploring Operation: 5+1=6, Resulting Numbers: [18, 6]
Generated Node #0,1,2: 23:[18, 6] Operation: 5+1=6
Exploring Operation: 5/1=5, Resulting Numbers: [18, 5]
Generated Node #0,1,3: 23:[18, 5] Operation: 5/1=5
Exploring Operation: 18+1=19, Resulting Numbers: [5, 19]
Generated Node #0,1,4: 23:[5, 19] Operation: 18+1=19
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 23:[1, 23], Operations: ['95/95=1', '5+18=23']
Exploring Operation: 1*23=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[95, 5, 18, 95], Operations: []
Exploring Operation: 95/95=1, Resulting Numbers: [5, 18, 1]
Generated Node #0,1: 23:[5, 18, 1] Operation: 95/95=1
Moving to Node #0,1
Current State: 23:[5, 18, 1], Operations: ['95/95=1']
Exploring Operation: 5+18=23, Resulting Numbers: [1, 23]
Generated Node #0,1,1: 23:[1, 23] Operation: 5+18=23
Moving to Node #0,1,1
Current State: 23:[1, 23], Operations: ['95/95=1', '5+18=23']
Exploring Operation: 1*23=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
67,
50,
1,
5
] | 11 | [
"67-50=17",
"1+5=6",
"17-6=11"
] | Current State: 11:[67, 50, 1, 5], Operations: []
Exploring Operation: 67-50=17, Resulting Numbers: [1, 5, 17]
Generated Node #2: [1, 5, 17] from Operation: 67-50=17
Current State: 11:[1, 5, 17], Operations: ['67-50=17']
Exploring Operation: 1+5=6, Resulting Numbers: [17, 6]
Generated Node #3: [17, 6] from Operation: 1+5=6
Current State: 11:[17, 6], Operations: ['67-50=17', '1+5=6']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[67, 50, 1, 5], Operations: []
Exploring Operation: 67-5=62, Resulting Numbers: [50, 1, 62]
Generated Node #0,0: 11:[50, 1, 62] Operation: 67-5=62
Exploring Operation: 50/5=10, Resulting Numbers: [67, 1, 10]
Generated Node #0,1: 11:[67, 1, 10] Operation: 50/5=10
Exploring Operation: 50-1=49, Resulting Numbers: [67, 5, 49]
Generated Node #0,2: 11:[67, 5, 49] Operation: 50-1=49
Exploring Operation: 67-1=66, Resulting Numbers: [50, 5, 66]
Generated Node #0,3: 11:[50, 5, 66] Operation: 67-1=66
Exploring Operation: 67-50=17, Resulting Numbers: [1, 5, 17]
Generated Node #0,4: 11:[1, 5, 17] Operation: 67-50=17
Moving to Node #0,4
Current State: 11:[1, 5, 17], Operations: ['67-50=17']
Exploring Operation: 1*5=5, Resulting Numbers: [17, 5]
Generated Node #0,4,0: 11:[17, 5] Operation: 1*5=5
Exploring Operation: 5/1=5, Resulting Numbers: [17, 5]
Generated Node #0,4,1: 11:[17, 5] Operation: 5/1=5
Exploring Operation: 17-1=16, Resulting Numbers: [5, 16]
Generated Node #0,4,2: 11:[5, 16] Operation: 17-1=16
Exploring Operation: 17-5=12, Resulting Numbers: [1, 12]
Generated Node #0,4,3: 11:[1, 12] Operation: 17-5=12
Exploring Operation: 1+5=6, Resulting Numbers: [17, 6]
Generated Node #0,4,4: 11:[17, 6] Operation: 1+5=6
Moving to Node #0,1
Current State: 11:[67, 1, 10], Operations: ['50/5=10']
Exploring Operation: 1+10=11, Resulting Numbers: [67, 11]
Generated Node #0,1,0: 11:[67, 11] Operation: 1+10=11
Exploring Operation: 67/1=67, Resulting Numbers: [10, 67]
Generated Node #0,1,1: 11:[10, 67] Operation: 67/1=67
Exploring Operation: 67*1=67, Resulting Numbers: [10, 67]
Generated Node #0,1,2: 11:[10, 67] Operation: 67*1=67
Exploring Operation: 67-10=57, Resulting Numbers: [1, 57]
Generated Node #0,1,3: 11:[1, 57] Operation: 67-10=57
Exploring Operation: 67-1=66, Resulting Numbers: [10, 66]
Generated Node #0,1,4: 11:[10, 66] Operation: 67-1=66
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[67, 11], Operations: ['50/5=10', '1+10=11']
Exploring Operation: 67*11=737, Resulting Numbers: [737]
737,11 unequal: No Solution
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Exploring Operation: 67+11=78, Resulting Numbers: [78]
78,11 unequal: No Solution
No solution 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: 11:[1, 57], Operations: ['50/5=10', '67-10=57']
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,11 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,11 unequal: No Solution
Exploring Operation: 1+57=58, Resulting Numbers: [58]
58,11 unequal: No Solution
No solution 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: 11:[10, 66], Operations: ['50/5=10', '67-1=66']
Exploring Operation: 10*66=660, Resulting Numbers: [660]
660,11 unequal: No Solution
Exploring Operation: 10+66=76, Resulting Numbers: [76]
76,11 unequal: No Solution
Exploring Operation: 66-10=56, Resulting Numbers: [56]
56,11 unequal: No Solution
No solution 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: 11:[10, 67], Operations: ['50/5=10', '67/1=67']
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,11 unequal: No Solution
Exploring Operation: 10*67=670, Resulting Numbers: [670]
670,11 unequal: No Solution
Exploring Operation: 10+67=77, Resulting Numbers: [77]
77,11 unequal: No Solution
No solution 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: 11:[10, 67], Operations: ['50/5=10', '67*1=67']
Exploring Operation: 10*67=670, Resulting Numbers: [670]
670,11 unequal: No Solution
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,11 unequal: No Solution
Exploring Operation: 10+67=77, Resulting Numbers: [77]
77,11 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: 11:[50, 1, 62], Operations: ['67-5=62']
Exploring Operation: 50/1=50, Resulting Numbers: [62, 50]
Generated Node #0,0,0: 11:[62, 50] Operation: 50/1=50
Exploring Operation: 50*1=50, Resulting Numbers: [62, 50]
Generated Node #0,0,1: 11:[62, 50] Operation: 50*1=50
Exploring Operation: 50-1=49, Resulting Numbers: [62, 49]
Generated Node #0,0,2: 11:[62, 49] Operation: 50-1=49
Exploring Operation: 62-1=61, Resulting Numbers: [50, 61]
Generated Node #0,0,3: 11:[50, 61] Operation: 62-1=61
Exploring Operation: 62-50=12, Resulting Numbers: [1, 12]
Generated Node #0,0,4: 11:[1, 12] Operation: 62-50=12
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 11:[1, 12], Operations: ['67-5=62', '62-50=12']
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,11 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[67, 50, 1, 5], Operations: []
Exploring Operation: 67-5=62, Resulting Numbers: [50, 1, 62]
Generated Node #0,0: 11:[50, 1, 62] Operation: 67-5=62
Moving to Node #0,0
Current State: 11:[50, 1, 62], Operations: ['67-5=62']
Exploring Operation: 62-50=12, Resulting Numbers: [1, 12]
Generated Node #0,0,4: 11:[1, 12] Operation: 62-50=12
Moving to Node #0,0,4
Current State: 11:[1, 12], Operations: ['67-5=62', '62-50=12']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_5 | sum_heuristic |
[
3,
25,
4,
64
] | 39 | [
"4-3=1",
"64-25=39",
"1*39=39"
] | Current State: 39:[3, 25, 4, 64], Operations: []
Exploring Operation: 4-3=1, Resulting Numbers: [25, 64, 1]
Generated Node #2: [25, 64, 1] from Operation: 4-3=1
Current State: 39:[25, 64, 1], Operations: ['4-3=1']
Exploring Operation: 64-25=39, Resulting Numbers: [1, 39]
Generated Node #3: [1, 39] from Operation: 64-25=39
Current State: 39:[1, 39], Operations: ['4-3=1', '64-25=39']
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[3, 25, 4, 64], Operations: []
Exploring Operation: 64-4=60, Resulting Numbers: [3, 25, 60]
Generated Node #0,0: 39:[3, 25, 60] Operation: 64-4=60
Exploring Operation: 25-4=21, Resulting Numbers: [3, 64, 21]
Generated Node #0,1: 39:[3, 64, 21] Operation: 25-4=21
Exploring Operation: 64/4=16, Resulting Numbers: [3, 25, 16]
Generated Node #0,2: 39:[3, 25, 16] Operation: 64/4=16
Exploring Operation: 64-25=39, Resulting Numbers: [3, 4, 39]
Generated Node #0,3: 39:[3, 4, 39] Operation: 64-25=39
Exploring Operation: 25-3=22, Resulting Numbers: [4, 64, 22]
Generated Node #0,4: 39:[4, 64, 22] Operation: 25-3=22
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[3, 4, 39], Operations: ['64-25=39']
Exploring Operation: 3*4=12, Resulting Numbers: [39, 12]
Generated Node #0,3,0: 39:[39, 12] Operation: 3*4=12
Exploring Operation: 4-3=1, Resulting Numbers: [39, 1]
Generated Node #0,3,1: 39:[39, 1] Operation: 4-3=1
Exploring Operation: 3+4=7, Resulting Numbers: [39, 7]
Generated Node #0,3,2: 39:[39, 7] Operation: 3+4=7
Exploring Operation: 3+39=42, Resulting Numbers: [4, 42]
Generated Node #0,3,3: 39:[4, 42] Operation: 3+39=42
Exploring Operation: 39/3=13, Resulting Numbers: [4, 13]
Generated Node #0,3,4: 39:[4, 13] Operation: 39/3=13
Moving to Node #0,3,0
Current State: 39:[39, 12], Operations: ['64-25=39', '3*4=12']
Exploring Operation: 39*12=468, Resulting Numbers: [468]
468,39 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Exploring Operation: 39+12=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Moving to Node #0,3,4
Current State: 39:[4, 13], Operations: ['64-25=39', '39/3=13']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,39 unequal: No Solution
Moving to Node #0,3,1
Current State: 39:[39, 1], Operations: ['64-25=39', '4-3=1']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[3, 25, 4, 64], Operations: []
Exploring Operation: 64-25=39, Resulting Numbers: [3, 4, 39]
Generated Node #0,3: 39:[3, 4, 39] Operation: 64-25=39
Moving to Node #0,3
Current State: 39:[3, 4, 39], Operations: ['64-25=39']
Exploring Operation: 4-3=1, Resulting Numbers: [39, 1]
Generated Node #0,3,1: 39:[39, 1] Operation: 4-3=1
Moving to Node #0,3,1
Current State: 39:[39, 1], Operations: ['64-25=39', '4-3=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
16,
7,
12,
21
] | 60 | [
"16*21=336",
"336/7=48",
"12+48=60"
] | Current State: 60:[16, 7, 12, 21], Operations: []
Exploring Operation: 16*21=336, Resulting Numbers: [7, 12, 336]
Generated Node #2: [7, 12, 336] from Operation: 16*21=336
Current State: 60:[7, 12, 336], Operations: ['16*21=336']
Exploring Operation: 336/7=48, Resulting Numbers: [12, 48]
Generated Node #3: [12, 48] from Operation: 336/7=48
Current State: 60:[12, 48], Operations: ['16*21=336', '336/7=48']
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[16, 7, 12, 21], Operations: []
Exploring Operation: 21/7=3, Resulting Numbers: [16, 12, 3]
Generated Node #0,0: 60:[16, 12, 3] Operation: 21/7=3
Exploring Operation: 21-16=5, Resulting Numbers: [7, 12, 5]
Generated Node #0,1: 60:[7, 12, 5] Operation: 21-16=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[16, 12, 3], Operations: ['21/7=3']
Exploring Operation: 16-12=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 60:[3, 4] Operation: 16-12=4
Exploring Operation: 16+3=19, Resulting Numbers: [12, 19]
Generated Node #0,0,1: 60:[12, 19] Operation: 16+3=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[3, 4], Operations: ['21/7=3', '16-12=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[12, 19], Operations: ['21/7=3', '16+3=19']
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[7, 12, 5], Operations: ['21-16=5']
Exploring Operation: 12-7=5, Resulting Numbers: [5, 5]
Generated Node #0,1,0: 60:[5, 5] Operation: 12-7=5
Exploring Operation: 7+5=12, Resulting Numbers: [12, 12]
Generated Node #0,1,1: 60:[12, 12] Operation: 7+5=12
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[5, 5], Operations: ['21-16=5', '12-7=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[12, 12], Operations: ['21-16=5', '7+5=12']
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 12-12=0, Resulting Numbers: [0]
0,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
28,
92,
56,
9
] | 73 | [
"28+92=120",
"56-9=47",
"120-47=73"
] | Current State: 73:[28, 92, 56, 9], Operations: []
Exploring Operation: 28+92=120, Resulting Numbers: [56, 9, 120]
Generated Node #2: [56, 9, 120] from Operation: 28+92=120
Current State: 73:[56, 9, 120], Operations: ['28+92=120']
Exploring Operation: 56-9=47, Resulting Numbers: [120, 47]
Generated Node #3: [120, 47] from Operation: 56-9=47
Current State: 73:[120, 47], Operations: ['28+92=120', '56-9=47']
Exploring Operation: 120-47=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[28, 92, 56, 9], Operations: []
Exploring Operation: 56+9=65, Resulting Numbers: [28, 92, 65]
Generated Node #0,0: 73:[28, 92, 65] Operation: 56+9=65
Exploring Operation: 92-9=83, Resulting Numbers: [28, 56, 83]
Generated Node #0,1: 73:[28, 56, 83] Operation: 92-9=83
Exploring Operation: 28-9=19, Resulting Numbers: [92, 56, 19]
Generated Node #0,2: 73:[92, 56, 19] Operation: 28-9=19
Exploring Operation: 92-28=64, Resulting Numbers: [56, 9, 64]
Generated Node #0,3: 73:[56, 9, 64] Operation: 92-28=64
Exploring Operation: 28+9=37, Resulting Numbers: [92, 56, 37]
Generated Node #0,4: 73:[92, 56, 37] Operation: 28+9=37
Moving to Node #0,0
Current State: 73:[28, 92, 65], Operations: ['56+9=65']
Exploring Operation: 65-28=37, Resulting Numbers: [92, 37]
Generated Node #0,0,0: 73:[92, 37] Operation: 65-28=37
Exploring Operation: 92-65=27, Resulting Numbers: [28, 27]
Generated Node #0,0,1: 73:[28, 27] Operation: 92-65=27
Exploring Operation: 92-28=64, Resulting Numbers: [65, 64]
Generated Node #0,0,2: 73:[65, 64] Operation: 92-28=64
Exploring Operation: 28+65=93, Resulting Numbers: [92, 93]
Generated Node #0,0,3: 73:[92, 93] Operation: 28+65=93
Exploring Operation: 28+92=120, Resulting Numbers: [65, 120]
Generated Node #0,0,4: 73:[65, 120] Operation: 28+92=120
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[65, 64], Operations: ['56+9=65', '92-28=64']
Exploring Operation: 65+64=129, Resulting Numbers: [129]
129,73 unequal: No Solution
Exploring Operation: 65*64=4160, Resulting Numbers: [4160]
4160,73 unequal: No Solution
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 73:[92, 93], Operations: ['56+9=65', '28+65=93']
Exploring Operation: 92*93=8556, Resulting Numbers: [8556]
8556,73 unequal: No Solution
Exploring Operation: 92+93=185, Resulting Numbers: [185]
185,73 unequal: No Solution
Exploring Operation: 93-92=1, Resulting Numbers: [1]
1,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[92, 37], Operations: ['56+9=65', '65-28=37']
Exploring Operation: 92-37=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 92+37=129, Resulting Numbers: [129]
129,73 unequal: No Solution
Exploring Operation: 92*37=3404, Resulting Numbers: [3404]
3404,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 73:[65, 120], Operations: ['56+9=65', '28+92=120']
Exploring Operation: 65+120=185, Resulting Numbers: [185]
185,73 unequal: No Solution
Exploring Operation: 65*120=7800, Resulting Numbers: [7800]
7800,73 unequal: No Solution
Exploring Operation: 120-65=55, Resulting Numbers: [55]
55,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[28, 27], Operations: ['56+9=65', '92-65=27']
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 28+27=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 28*27=756, Resulting Numbers: [756]
756,73 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: 73:[92, 56, 37], Operations: ['28+9=37']
Exploring Operation: 92-37=55, Resulting Numbers: [56, 55]
Generated Node #0,4,0: 73:[56, 55] Operation: 92-37=55
Exploring Operation: 92+37=129, Resulting Numbers: [56, 129]
Generated Node #0,4,1: 73:[56, 129] Operation: 92+37=129
Exploring Operation: 92-56=36, Resulting Numbers: [37, 36]
Generated Node #0,4,2: 73:[37, 36] Operation: 92-56=36
Exploring Operation: 56+37=93, Resulting Numbers: [92, 93]
Generated Node #0,4,3: 73:[92, 93] Operation: 56+37=93
Exploring Operation: 56-37=19, Resulting Numbers: [92, 19]
Generated Node #0,4,4: 73:[92, 19] Operation: 56-37=19
Moving to Node #0,1
Current State: 73:[28, 56, 83], Operations: ['92-9=83']
Exploring Operation: 28+56=84, Resulting Numbers: [83, 84]
Generated Node #0,1,0: 73:[83, 84] Operation: 28+56=84
Exploring Operation: 56-28=28, Resulting Numbers: [83, 28]
Generated Node #0,1,1: 73:[83, 28] Operation: 56-28=28
Exploring Operation: 28+83=111, Resulting Numbers: [56, 111]
Generated Node #0,1,2: 73:[56, 111] Operation: 28+83=111
Exploring Operation: 56/28=2, Resulting Numbers: [83, 2]
Generated Node #0,1,3: 73:[83, 2] Operation: 56/28=2
Exploring Operation: 83-28=55, Resulting Numbers: [56, 55]
Generated Node #0,1,4: 73:[56, 55] Operation: 83-28=55
Moving to Node #0,2
Current State: 73:[92, 56, 19], Operations: ['28-9=19']
Exploring Operation: 92-56=36, Resulting Numbers: [19, 36]
Generated Node #0,2,0: 73:[19, 36] Operation: 92-56=36
Exploring Operation: 92+19=111, Resulting Numbers: [56, 111]
Generated Node #0,2,1: 73:[56, 111] Operation: 92+19=111
Exploring Operation: 56-19=37, Resulting Numbers: [92, 37]
Generated Node #0,2,2: 73:[92, 37] Operation: 56-19=37
Exploring Operation: 92-19=73, Resulting Numbers: [56, 73]
Generated Node #0,2,3: 73:[56, 73] Operation: 92-19=73
Exploring Operation: 56+19=75, Resulting Numbers: [92, 75]
Generated Node #0,2,4: 73:[92, 75] Operation: 56+19=75
Moving to Node #0,3
Current State: 73:[56, 9, 64], Operations: ['92-28=64']
Exploring Operation: 56+9=65, Resulting Numbers: [64, 65]
Generated Node #0,3,0: 73:[64, 65] Operation: 56+9=65
Exploring Operation: 56+64=120, Resulting Numbers: [9, 120]
Generated Node #0,3,1: 73:[9, 120] Operation: 56+64=120
Exploring Operation: 56-9=47, Resulting Numbers: [64, 47]
Generated Node #0,3,2: 73:[64, 47] Operation: 56-9=47
Exploring Operation: 9+64=73, Resulting Numbers: [56, 73]
Generated Node #0,3,3: 73:[56, 73] Operation: 9+64=73
Exploring Operation: 64-9=55, Resulting Numbers: [56, 55]
Generated Node #0,3,4: 73:[56, 55] Operation: 64-9=55
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 73:[64, 65], Operations: ['92-28=64', '56+9=65']
Exploring Operation: 64*65=4160, Resulting Numbers: [4160]
4160,73 unequal: No Solution
Exploring Operation: 64+65=129, Resulting Numbers: [129]
129,73 unequal: No Solution
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,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,3,3
Current State: 73:[56, 73], Operations: ['92-28=64', '9+64=73']
Exploring Operation: 73-56=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 56*73=4088, Resulting Numbers: [4088]
4088,73 unequal: No Solution
Exploring Operation: 56+73=129, Resulting Numbers: [129]
129,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,3,2
Current State: 73:[64, 47], Operations: ['92-28=64', '56-9=47']
Exploring Operation: 64+47=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 64*47=3008, Resulting Numbers: [3008]
3008,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,3,4
Current State: 73:[56, 55], Operations: ['92-28=64', '64-9=55']
Exploring Operation: 56*55=3080, Resulting Numbers: [3080]
3080,73 unequal: No Solution
Exploring Operation: 56+55=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 56-55=1, Resulting Numbers: [1]
1,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,3,1
Current State: 73:[9, 120], Operations: ['92-28=64', '56+64=120']
Exploring Operation: 9+120=129, Resulting Numbers: [129]
129,73 unequal: No Solution
Exploring Operation: 120-9=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 9*120=1080, Resulting Numbers: [1080]
1080,73 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: 73:[56, 73], Operations: ['28-9=19', '92-19=73']
Exploring Operation: 73-56=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 56*73=4088, Resulting Numbers: [4088]
4088,73 unequal: No Solution
Exploring Operation: 56+73=129, Resulting Numbers: [129]
129,73 unequal: No Solution
Moving to Node #0,2,4
Current State: 73:[92, 75], Operations: ['28-9=19', '56+19=75']
Exploring Operation: 92*75=6900, Resulting Numbers: [6900]
6900,73 unequal: No Solution
Exploring Operation: 92-75=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 92+75=167, Resulting Numbers: [167]
167,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[83, 84], Operations: ['92-9=83', '28+56=84']
Exploring Operation: 83*84=6972, Resulting Numbers: [6972]
6972,73 unequal: No Solution
Exploring Operation: 84-83=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 83+84=167, Resulting Numbers: [167]
167,73 unequal: No Solution
Moving to Node #0,1,4
Current State: 73:[56, 55], Operations: ['92-9=83', '83-28=55']
Exploring Operation: 56-55=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 56+55=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 56*55=3080, Resulting Numbers: [3080]
3080,73 unequal: No Solution
Moving to Node #0,4,0
Current State: 73:[56, 55], Operations: ['28+9=37', '92-37=55']
Exploring Operation: 56*55=3080, Resulting Numbers: [3080]
3080,73 unequal: No Solution
Exploring Operation: 56-55=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 56+55=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Moving to Node #0,4,3
Current State: 73:[92, 93], Operations: ['28+9=37', '56+37=93']
Exploring Operation: 92*93=8556, Resulting Numbers: [8556]
8556,73 unequal: No Solution
Exploring Operation: 92+93=185, Resulting Numbers: [185]
185,73 unequal: No Solution
Exploring Operation: 93-92=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[92, 37], Operations: ['28-9=19', '56-19=37']
Exploring Operation: 92-37=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 92+37=129, Resulting Numbers: [129]
129,73 unequal: No Solution
Exploring Operation: 92*37=3404, Resulting Numbers: [3404]
3404,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[56, 111], Operations: ['28-9=19', '92+19=111']
Exploring Operation: 56+111=167, Resulting Numbers: [167]
167,73 unequal: No Solution
Exploring Operation: 56*111=6216, Resulting Numbers: [6216]
6216,73 unequal: No Solution
Exploring Operation: 111-56=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[83, 28], Operations: ['92-9=83', '56-28=28']
Exploring Operation: 83*28=2324, Resulting Numbers: [2324]
2324,73 unequal: No Solution
Exploring Operation: 83+28=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 83-28=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[56, 111], Operations: ['92-9=83', '28+83=111']
Exploring Operation: 111-56=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 56*111=6216, Resulting Numbers: [6216]
6216,73 unequal: No Solution
Exploring Operation: 56+111=167, Resulting Numbers: [167]
167,73 unequal: No Solution
Moving to Node #0,4,1
Current State: 73:[56, 129], Operations: ['28+9=37', '92+37=129']
Exploring Operation: 56*129=7224, Resulting Numbers: [7224]
7224,73 unequal: No Solution
Exploring Operation: 56+129=185, Resulting Numbers: [185]
185,73 unequal: No Solution
Exploring Operation: 129-56=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[28, 92, 56, 9], Operations: []
Exploring Operation: 28+9=37, Resulting Numbers: [92, 56, 37]
Generated Node #0,4: 73:[92, 56, 37] Operation: 28+9=37
Moving to Node #0,4
Current State: 73:[92, 56, 37], Operations: ['28+9=37']
Exploring Operation: 92+37=129, Resulting Numbers: [56, 129]
Generated Node #0,4,1: 73:[56, 129] Operation: 92+37=129
Moving to Node #0,4,1
Current State: 73:[56, 129], Operations: ['28+9=37', '92+37=129']
Exploring Operation: 129-56=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 0.915799 | hs_5 | sum_heuristic |
[
83,
96,
1,
45
] | 57 | [
"96-83=13",
"45-1=44",
"13+44=57"
] | Current State: 57:[83, 96, 1, 45], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [1, 45, 13]
Generated Node #2: [1, 45, 13] from Operation: 96-83=13
Current State: 57:[1, 45, 13], Operations: ['96-83=13']
Exploring Operation: 45-1=44, Resulting Numbers: [13, 44]
Generated Node #3: [13, 44] from Operation: 45-1=44
Current State: 57:[13, 44], Operations: ['96-83=13', '45-1=44']
Exploring Operation: 13+44=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[83, 96, 1, 45], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [1, 45, 13]
Generated Node #0,0: 57:[1, 45, 13] Operation: 96-83=13
Exploring Operation: 96-45=51, Resulting Numbers: [83, 1, 51]
Generated Node #0,1: 57:[83, 1, 51] Operation: 96-45=51
Moving to Node #0,0
Current State: 57:[1, 45, 13], Operations: ['96-83=13']
Exploring Operation: 45-13=32, Resulting Numbers: [1, 32]
Generated Node #0,0,0: 57:[1, 32] Operation: 45-13=32
Exploring Operation: 45+13=58, Resulting Numbers: [1, 58]
Generated Node #0,0,1: 57:[1, 58] Operation: 45+13=58
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 57:[1, 58], Operations: ['96-83=13', '45+13=58']
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[83, 96, 1, 45], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [1, 45, 13]
Generated Node #0,0: 57:[1, 45, 13] Operation: 96-83=13
Moving to Node #0,0
Current State: 57:[1, 45, 13], Operations: ['96-83=13']
Exploring Operation: 45+13=58, Resulting Numbers: [1, 58]
Generated Node #0,0,1: 57:[1, 58] Operation: 45+13=58
Moving to Node #0,0,1
Current State: 57:[1, 58], Operations: ['96-83=13', '45+13=58']
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
28,
37,
33,
16
] | 24 | [
"37-33=4",
"16/4=4",
"28-4=24"
] | Current State: 24:[28, 37, 33, 16], Operations: []
Exploring Operation: 37-33=4, Resulting Numbers: [28, 16, 4]
Generated Node #2: [28, 16, 4] from Operation: 37-33=4
Current State: 24:[28, 16, 4], Operations: ['37-33=4']
Exploring Operation: 16/4=4, Resulting Numbers: [28, 4]
Generated Node #3: [28, 4] from Operation: 16/4=4
Current State: 24:[28, 4], Operations: ['37-33=4', '16/4=4']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[28, 37, 33, 16], Operations: []
Exploring Operation: 37-16=21, Resulting Numbers: [28, 33, 21]
Generated Node #0,0: 24:[28, 33, 21] Operation: 37-16=21
Exploring Operation: 28-16=12, Resulting Numbers: [37, 33, 12]
Generated Node #0,1: 24:[37, 33, 12] Operation: 28-16=12
Exploring Operation: 33-28=5, Resulting Numbers: [37, 16, 5]
Generated Node #0,2: 24:[37, 16, 5] Operation: 33-28=5
Exploring Operation: 37-33=4, Resulting Numbers: [28, 16, 4]
Generated Node #0,3: 24:[28, 16, 4] Operation: 37-33=4
Exploring Operation: 37-28=9, Resulting Numbers: [33, 16, 9]
Generated Node #0,4: 24:[33, 16, 9] Operation: 37-28=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 24:[28, 16, 4], Operations: ['37-33=4']
Exploring Operation: 28/4=7, Resulting Numbers: [16, 7]
Generated Node #0,3,0: 24:[16, 7] Operation: 28/4=7
Exploring Operation: 28-16=12, Resulting Numbers: [4, 12]
Generated Node #0,3,1: 24:[4, 12] Operation: 28-16=12
Exploring Operation: 16/4=4, Resulting Numbers: [28, 4]
Generated Node #0,3,2: 24:[28, 4] Operation: 16/4=4
Exploring Operation: 16-4=12, Resulting Numbers: [28, 12]
Generated Node #0,3,3: 24:[28, 12] Operation: 16-4=12
Exploring Operation: 28-4=24, Resulting Numbers: [16, 24]
Generated Node #0,3,4: 24:[16, 24] Operation: 28-4=24
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 24:[4, 12], Operations: ['37-33=4', '28-16=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,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,3,2
Current State: 24:[28, 4], Operations: ['37-33=4', '16/4=4']
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,24 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[28, 37, 33, 16], Operations: []
Exploring Operation: 37-33=4, Resulting Numbers: [28, 16, 4]
Generated Node #0,3: 24:[28, 16, 4] Operation: 37-33=4
Moving to Node #0,3
Current State: 24:[28, 16, 4], Operations: ['37-33=4']
Exploring Operation: 16/4=4, Resulting Numbers: [28, 4]
Generated Node #0,3,2: 24:[28, 4] Operation: 16/4=4
Moving to Node #0,3,2
Current State: 24:[28, 4], Operations: ['37-33=4', '16/4=4']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
40,
68,
32,
82
] | 86 | [
"68-40=28",
"32+82=114",
"114-28=86"
] | Current State: 86:[40, 68, 32, 82], Operations: []
Exploring Operation: 68-40=28, Resulting Numbers: [32, 82, 28]
Generated Node #2: [32, 82, 28] from Operation: 68-40=28
Current State: 86:[32, 82, 28], Operations: ['68-40=28']
Exploring Operation: 32+82=114, Resulting Numbers: [28, 114]
Generated Node #3: [28, 114] from Operation: 32+82=114
Current State: 86:[28, 114], Operations: ['68-40=28', '32+82=114']
Exploring Operation: 114-28=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[40, 68, 32, 82], Operations: []
Exploring Operation: 68+32=100, Resulting Numbers: [40, 82, 100]
Generated Node #0,0: 86:[40, 82, 100] Operation: 68+32=100
Exploring Operation: 40-32=8, Resulting Numbers: [68, 82, 8]
Generated Node #0,1: 86:[68, 82, 8] Operation: 40-32=8
Exploring Operation: 82-68=14, Resulting Numbers: [40, 32, 14]
Generated Node #0,2: 86:[40, 32, 14] Operation: 82-68=14
Exploring Operation: 68-32=36, Resulting Numbers: [40, 82, 36]
Generated Node #0,3: 86:[40, 82, 36] Operation: 68-32=36
Moving to Node #0,3
Current State: 86:[40, 82, 36], Operations: ['68-32=36']
Exploring Operation: 82-36=46, Resulting Numbers: [40, 46]
Generated Node #0,3,0: 86:[40, 46] Operation: 82-36=46
Exploring Operation: 82-40=42, Resulting Numbers: [36, 42]
Generated Node #0,3,1: 86:[36, 42] Operation: 82-40=42
Exploring Operation: 40-36=4, Resulting Numbers: [82, 4]
Generated Node #0,3,2: 86:[82, 4] Operation: 40-36=4
Exploring Operation: 40+36=76, Resulting Numbers: [82, 76]
Generated Node #0,3,3: 86:[82, 76] Operation: 40+36=76
Moving to Node #0,0
Current State: 86:[40, 82, 100], Operations: ['68+32=100']
Exploring Operation: 40+82=122, Resulting Numbers: [100, 122]
Generated Node #0,0,0: 86:[100, 122] Operation: 40+82=122
Exploring Operation: 100-82=18, Resulting Numbers: [40, 18]
Generated Node #0,0,1: 86:[40, 18] Operation: 100-82=18
Exploring Operation: 82-40=42, Resulting Numbers: [100, 42]
Generated Node #0,0,2: 86:[100, 42] Operation: 82-40=42
Exploring Operation: 100-40=60, Resulting Numbers: [82, 60]
Generated Node #0,0,3: 86:[82, 60] Operation: 100-40=60
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[100, 42], Operations: ['68+32=100', '82-40=42']
Exploring Operation: 100+42=142, Resulting Numbers: [142]
142,86 unequal: No Solution
Exploring Operation: 100*42=4200, Resulting Numbers: [4200]
4200,86 unequal: No Solution
Exploring Operation: 100-42=58, Resulting Numbers: [58]
58,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[40, 18], Operations: ['68+32=100', '100-82=18']
Exploring Operation: 40+18=58, Resulting Numbers: [58]
58,86 unequal: No Solution
Exploring Operation: 40*18=720, Resulting Numbers: [720]
720,86 unequal: No Solution
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 86:[82, 60], Operations: ['68+32=100', '100-40=60']
Exploring Operation: 82+60=142, Resulting Numbers: [142]
142,86 unequal: No Solution
Exploring Operation: 82-60=22, Resulting Numbers: [22]
22,86 unequal: No Solution
Exploring Operation: 82*60=4920, Resulting Numbers: [4920]
4920,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[100, 122], Operations: ['68+32=100', '40+82=122']
Exploring Operation: 100+122=222, Resulting Numbers: [222]
222,86 unequal: No Solution
Exploring Operation: 100*122=12200, Resulting Numbers: [12200]
12200,86 unequal: No Solution
Exploring Operation: 122-100=22, Resulting Numbers: [22]
22,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 86:[40, 32, 14], Operations: ['82-68=14']
Exploring Operation: 40+14=54, Resulting Numbers: [32, 54]
Generated Node #0,2,0: 86:[32, 54] Operation: 40+14=54
Exploring Operation: 32+14=46, Resulting Numbers: [40, 46]
Generated Node #0,2,1: 86:[40, 46] Operation: 32+14=46
Exploring Operation: 40-32=8, Resulting Numbers: [14, 8]
Generated Node #0,2,2: 86:[14, 8] Operation: 40-32=8
Exploring Operation: 32-14=18, Resulting Numbers: [40, 18]
Generated Node #0,2,3: 86:[40, 18] Operation: 32-14=18
Moving to Node #0,1
Current State: 86:[68, 82, 8], Operations: ['40-32=8']
Exploring Operation: 68+8=76, Resulting Numbers: [82, 76]
Generated Node #0,1,0: 86:[82, 76] Operation: 68+8=76
Exploring Operation: 82+8=90, Resulting Numbers: [68, 90]
Generated Node #0,1,1: 86:[68, 90] Operation: 82+8=90
Exploring Operation: 68-8=60, Resulting Numbers: [82, 60]
Generated Node #0,1,2: 86:[82, 60] Operation: 68-8=60
Exploring Operation: 82-68=14, Resulting Numbers: [8, 14]
Generated Node #0,1,3: 86:[8, 14] Operation: 82-68=14
Moving to Node #0,3,0
Current State: 86:[40, 46], Operations: ['68-32=36', '82-36=46']
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[40, 68, 32, 82], Operations: []
Exploring Operation: 68-32=36, Resulting Numbers: [40, 82, 36]
Generated Node #0,3: 86:[40, 82, 36] Operation: 68-32=36
Moving to Node #0,3
Current State: 86:[40, 82, 36], Operations: ['68-32=36']
Exploring Operation: 82-36=46, Resulting Numbers: [40, 46]
Generated Node #0,3,0: 86:[40, 46] Operation: 82-36=46
Moving to Node #0,3,0
Current State: 86:[40, 46], Operations: ['68-32=36', '82-36=46']
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.967014 | hs_4 | sum_heuristic |
[
91,
27,
43,
61
] | 40 | [
"91-27=64",
"43+61=104",
"104-64=40"
] | Current State: 40:[91, 27, 43, 61], Operations: []
Exploring Operation: 91-27=64, Resulting Numbers: [43, 61, 64]
Generated Node #2: [43, 61, 64] from Operation: 91-27=64
Current State: 40:[43, 61, 64], Operations: ['91-27=64']
Exploring Operation: 43+61=104, Resulting Numbers: [64, 104]
Generated Node #3: [64, 104] from Operation: 43+61=104
Current State: 40:[64, 104], Operations: ['91-27=64', '43+61=104']
Exploring Operation: 104-64=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[91, 27, 43, 61], Operations: []
Exploring Operation: 91-43=48, Resulting Numbers: [27, 61, 48]
Generated Node #0,0: 40:[27, 61, 48] Operation: 91-43=48
Exploring Operation: 91-61=30, Resulting Numbers: [27, 43, 30]
Generated Node #0,1: 40:[27, 43, 30] Operation: 91-61=30
Exploring Operation: 91-27=64, Resulting Numbers: [43, 61, 64]
Generated Node #0,2: 40:[43, 61, 64] Operation: 91-27=64
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[27, 43, 30], Operations: ['91-61=30']
Exploring Operation: 43-30=13, Resulting Numbers: [27, 13]
Generated Node #0,1,0: 40:[27, 13] Operation: 43-30=13
Exploring Operation: 30-27=3, Resulting Numbers: [43, 3]
Generated Node #0,1,1: 40:[43, 3] Operation: 30-27=3
Exploring Operation: 43-27=16, Resulting Numbers: [30, 16]
Generated Node #0,1,2: 40:[30, 16] Operation: 43-27=16
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 40:[43, 3], Operations: ['91-61=30', '30-27=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[91, 27, 43, 61], Operations: []
Exploring Operation: 91-61=30, Resulting Numbers: [27, 43, 30]
Generated Node #0,1: 40:[27, 43, 30] Operation: 91-61=30
Moving to Node #0,1
Current State: 40:[27, 43, 30], Operations: ['91-61=30']
Exploring Operation: 30-27=3, Resulting Numbers: [43, 3]
Generated Node #0,1,1: 40:[43, 3] Operation: 30-27=3
Moving to Node #0,1,1
Current State: 40:[43, 3], Operations: ['91-61=30', '30-27=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
38,
71,
33,
19
] | 52 | [
"38/19=2",
"71+33=104",
"104/2=52"
] | Current State: 52:[38, 71, 33, 19], Operations: []
Exploring Operation: 38/19=2, Resulting Numbers: [71, 33, 2]
Generated Node #2: [71, 33, 2] from Operation: 38/19=2
Current State: 52:[71, 33, 2], Operations: ['38/19=2']
Exploring Operation: 71+33=104, Resulting Numbers: [2, 104]
Generated Node #3: [2, 104] from Operation: 71+33=104
Current State: 52:[2, 104], Operations: ['38/19=2', '71+33=104']
Exploring Operation: 104/2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[38, 71, 33, 19], Operations: []
Exploring Operation: 71-38=33, Resulting Numbers: [33, 19, 33]
Generated Node #0,0: 52:[33, 19, 33] Operation: 71-38=33
Exploring Operation: 71-19=52, Resulting Numbers: [38, 33, 52]
Generated Node #0,1: 52:[38, 33, 52] Operation: 71-19=52
Moving to Node #0,1
Current State: 52:[38, 33, 52], Operations: ['71-19=52']
Exploring Operation: 38-33=5, Resulting Numbers: [52, 5]
Generated Node #0,1,0: 52:[52, 5] Operation: 38-33=5
Exploring Operation: 52-38=14, Resulting Numbers: [33, 14]
Generated Node #0,1,1: 52:[33, 14] Operation: 52-38=14
Moving to Node #0,0
Current State: 52:[33, 19, 33], Operations: ['71-38=33']
Exploring Operation: 33+19=52, Resulting Numbers: [33, 52]
Generated Node #0,0,0: 52:[33, 52] Operation: 33+19=52
Exploring Operation: 33/33=1, Resulting Numbers: [19, 1]
Generated Node #0,0,1: 52:[19, 1] Operation: 33/33=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[33, 52], Operations: ['71-38=33', '33+19=52']
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 33+52=85, Resulting Numbers: [85]
85,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[19, 1], Operations: ['71-38=33', '33/33=1']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,52 unequal: No Solution
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 52:[52, 5], Operations: ['71-19=52', '38-33=5']
Exploring Operation: 52+5=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[33, 14], Operations: ['71-19=52', '52-38=14']
Exploring Operation: 33+14=47, Resulting Numbers: [47]
47,52 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,52 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
53,
25,
72,
94
] | 55 | [
"72-25=47",
"94/47=2",
"53+2=55"
] | Current State: 55:[53, 25, 72, 94], Operations: []
Exploring Operation: 72-25=47, Resulting Numbers: [53, 94, 47]
Generated Node #2: [53, 94, 47] from Operation: 72-25=47
Current State: 55:[53, 94, 47], Operations: ['72-25=47']
Exploring Operation: 94/47=2, Resulting Numbers: [53, 2]
Generated Node #3: [53, 2] from Operation: 94/47=2
Current State: 55:[53, 2], Operations: ['72-25=47', '94/47=2']
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[53, 25, 72, 94], Operations: []
Exploring Operation: 94-25=69, Resulting Numbers: [53, 72, 69]
Generated Node #0,0: 55:[53, 72, 69] Operation: 94-25=69
Exploring Operation: 72-25=47, Resulting Numbers: [53, 94, 47]
Generated Node #0,1: 55:[53, 94, 47] Operation: 72-25=47
Exploring Operation: 72-53=19, Resulting Numbers: [25, 94, 19]
Generated Node #0,2: 55:[25, 94, 19] Operation: 72-53=19
Exploring Operation: 94-72=22, Resulting Numbers: [53, 25, 22]
Generated Node #0,3: 55:[53, 25, 22] Operation: 94-72=22
Exploring Operation: 94-53=41, Resulting Numbers: [25, 72, 41]
Generated Node #0,4: 55:[25, 72, 41] Operation: 94-53=41
Moving to Node #0,3
Current State: 55:[53, 25, 22], Operations: ['94-72=22']
Exploring Operation: 53+22=75, Resulting Numbers: [25, 75]
Generated Node #0,3,0: 55:[25, 75] Operation: 53+22=75
Exploring Operation: 53+25=78, Resulting Numbers: [22, 78]
Generated Node #0,3,1: 55:[22, 78] Operation: 53+25=78
Exploring Operation: 25+22=47, Resulting Numbers: [53, 47]
Generated Node #0,3,2: 55:[53, 47] Operation: 25+22=47
Exploring Operation: 53-25=28, Resulting Numbers: [22, 28]
Generated Node #0,3,3: 55:[22, 28] Operation: 53-25=28
Exploring Operation: 25-22=3, Resulting Numbers: [53, 3]
Generated Node #0,3,4: 55:[53, 3] Operation: 25-22=3
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 55:[53, 3], Operations: ['94-72=22', '25-22=3']
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,55 unequal: No Solution
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,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,3,2
Current State: 55:[53, 47], Operations: ['94-72=22', '25+22=47']
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 53*47=2491, Resulting Numbers: [2491]
2491,55 unequal: No Solution
Exploring Operation: 53+47=100, Resulting Numbers: [100]
100,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,3,3
Current State: 55:[22, 28], Operations: ['94-72=22', '53-25=28']
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 22*28=616, Resulting Numbers: [616]
616,55 unequal: No Solution
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,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,3,0
Current State: 55:[25, 75], Operations: ['94-72=22', '53+22=75']
Exploring Operation: 25+75=100, Resulting Numbers: [100]
100,55 unequal: No Solution
Exploring Operation: 75/25=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Exploring Operation: 25*75=1875, Resulting Numbers: [1875]
1875,55 unequal: No Solution
Exploring Operation: 75-25=50, Resulting Numbers: [50]
50,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,3,1
Current State: 55:[22, 78], Operations: ['94-72=22', '53+25=78']
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 22*78=1716, Resulting Numbers: [1716]
1716,55 unequal: No Solution
Exploring Operation: 22+78=100, Resulting Numbers: [100]
100,55 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: 55:[53, 72, 69], Operations: ['94-25=69']
Exploring Operation: 72-69=3, Resulting Numbers: [53, 3]
Generated Node #0,0,0: 55:[53, 3] Operation: 72-69=3
Exploring Operation: 53+72=125, Resulting Numbers: [69, 125]
Generated Node #0,0,1: 55:[69, 125] Operation: 53+72=125
Exploring Operation: 69-53=16, Resulting Numbers: [72, 16]
Generated Node #0,0,2: 55:[72, 16] Operation: 69-53=16
Exploring Operation: 72-53=19, Resulting Numbers: [69, 19]
Generated Node #0,0,3: 55:[69, 19] Operation: 72-53=19
Exploring Operation: 53+69=122, Resulting Numbers: [72, 122]
Generated Node #0,0,4: 55:[72, 122] Operation: 53+69=122
Moving to Node #0,4
Current State: 55:[25, 72, 41], Operations: ['94-53=41']
Exploring Operation: 41-25=16, Resulting Numbers: [72, 16]
Generated Node #0,4,0: 55:[72, 16] Operation: 41-25=16
Exploring Operation: 72-41=31, Resulting Numbers: [25, 31]
Generated Node #0,4,1: 55:[25, 31] Operation: 72-41=31
Exploring Operation: 25+72=97, Resulting Numbers: [41, 97]
Generated Node #0,4,2: 55:[41, 97] Operation: 25+72=97
Exploring Operation: 25+41=66, Resulting Numbers: [72, 66]
Generated Node #0,4,3: 55:[72, 66] Operation: 25+41=66
Exploring Operation: 72-25=47, Resulting Numbers: [41, 47]
Generated Node #0,4,4: 55:[41, 47] Operation: 72-25=47
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 55:[72, 16], Operations: ['94-53=41', '41-25=16']
Exploring Operation: 72*16=1152, Resulting Numbers: [1152]
1152,55 unequal: No Solution
Exploring Operation: 72+16=88, Resulting Numbers: [88]
88,55 unequal: No Solution
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,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,4,4
Current State: 55:[41, 47], Operations: ['94-53=41', '72-25=47']
Exploring Operation: 47-41=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 41+47=88, Resulting Numbers: [88]
88,55 unequal: No Solution
Exploring Operation: 41*47=1927, Resulting Numbers: [1927]
1927,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,4,3
Current State: 55:[72, 66], Operations: ['94-53=41', '25+41=66']
Exploring Operation: 72-66=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 72*66=4752, Resulting Numbers: [4752]
4752,55 unequal: No Solution
Exploring Operation: 72+66=138, Resulting Numbers: [138]
138,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,4,1
Current State: 55:[25, 31], Operations: ['94-53=41', '72-41=31']
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 25+31=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 25*31=775, Resulting Numbers: [775]
775,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,4,2
Current State: 55:[41, 97], Operations: ['94-53=41', '25+72=97']
Exploring Operation: 41+97=138, Resulting Numbers: [138]
138,55 unequal: No Solution
Exploring Operation: 97-41=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 41*97=3977, Resulting Numbers: [3977]
3977,55 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: 55:[53, 94, 47], Operations: ['72-25=47']
Exploring Operation: 94-47=47, Resulting Numbers: [53, 47]
Generated Node #0,1,0: 55:[53, 47] Operation: 94-47=47
Exploring Operation: 94/47=2, Resulting Numbers: [53, 2]
Generated Node #0,1,1: 55:[53, 2] Operation: 94/47=2
Exploring Operation: 53+47=100, Resulting Numbers: [94, 100]
Generated Node #0,1,2: 55:[94, 100] Operation: 53+47=100
Exploring Operation: 53-47=6, Resulting Numbers: [94, 6]
Generated Node #0,1,3: 55:[94, 6] Operation: 53-47=6
Exploring Operation: 94-53=41, Resulting Numbers: [47, 41]
Generated Node #0,1,4: 55:[47, 41] Operation: 94-53=41
Moving to Node #0,2
Current State: 55:[25, 94, 19], Operations: ['72-53=19']
Exploring Operation: 25+19=44, Resulting Numbers: [94, 44]
Generated Node #0,2,0: 55:[94, 44] Operation: 25+19=44
Exploring Operation: 94-25=69, Resulting Numbers: [19, 69]
Generated Node #0,2,1: 55:[19, 69] Operation: 94-25=69
Exploring Operation: 25+94=119, Resulting Numbers: [19, 119]
Generated Node #0,2,2: 55:[19, 119] Operation: 25+94=119
Exploring Operation: 25-19=6, Resulting Numbers: [94, 6]
Generated Node #0,2,3: 55:[94, 6] Operation: 25-19=6
Exploring Operation: 94-19=75, Resulting Numbers: [25, 75]
Generated Node #0,2,4: 55:[25, 75] Operation: 94-19=75
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 55:[19, 69], Operations: ['72-53=19', '94-25=69']
Exploring Operation: 19*69=1311, Resulting Numbers: [1311]
1311,55 unequal: No Solution
Exploring Operation: 19+69=88, Resulting Numbers: [88]
88,55 unequal: No Solution
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,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,4
Current State: 55:[25, 75], Operations: ['72-53=19', '94-19=75']
Exploring Operation: 75-25=50, Resulting Numbers: [50]
50,55 unequal: No Solution
Exploring Operation: 25+75=100, Resulting Numbers: [100]
100,55 unequal: No Solution
Exploring Operation: 25*75=1875, Resulting Numbers: [1875]
1875,55 unequal: No Solution
Exploring Operation: 75/25=3, Resulting Numbers: [3]
3,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,3
Current State: 55:[94, 6], Operations: ['72-53=19', '25-19=6']
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,55 unequal: No Solution
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,55 unequal: No Solution
Exploring Operation: 94*6=564, Resulting Numbers: [564]
564,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,0
Current State: 55:[94, 44], Operations: ['72-53=19', '25+19=44']
Exploring Operation: 94+44=138, Resulting Numbers: [138]
138,55 unequal: No Solution
Exploring Operation: 94-44=50, Resulting Numbers: [50]
50,55 unequal: No Solution
Exploring Operation: 94*44=4136, Resulting Numbers: [4136]
4136,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,2
Current State: 55:[19, 119], Operations: ['72-53=19', '25+94=119']
Exploring Operation: 19+119=138, Resulting Numbers: [138]
138,55 unequal: No Solution
Exploring Operation: 119-19=100, Resulting Numbers: [100]
100,55 unequal: No Solution
Exploring Operation: 19*119=2261, Resulting Numbers: [2261]
2261,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 55:[53, 3], Operations: ['94-25=69', '72-69=3']
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,55 unequal: No Solution
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[53, 2], Operations: ['72-25=47', '94/47=2']
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[53, 25, 72, 94], Operations: []
Exploring Operation: 72-25=47, Resulting Numbers: [53, 94, 47]
Generated Node #0,1: 55:[53, 94, 47] Operation: 72-25=47
Moving to Node #0,1
Current State: 55:[53, 94, 47], Operations: ['72-25=47']
Exploring Operation: 94/47=2, Resulting Numbers: [53, 2]
Generated Node #0,1,1: 55:[53, 2] Operation: 94/47=2
Moving to Node #0,1,1
Current State: 55:[53, 2], Operations: ['72-25=47', '94/47=2']
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 0.926215 | hs_5 | mult_heuristic |
[
35,
43,
5,
69
] | 82 | [
"43-35=8",
"5+69=74",
"8+74=82"
] | Current State: 82:[35, 43, 5, 69], Operations: []
Exploring Operation: 43-35=8, Resulting Numbers: [5, 69, 8]
Generated Node #2: [5, 69, 8] from Operation: 43-35=8
Current State: 82:[5, 69, 8], Operations: ['43-35=8']
Exploring Operation: 5+69=74, Resulting Numbers: [8, 74]
Generated Node #3: [8, 74] from Operation: 5+69=74
Current State: 82:[8, 74], Operations: ['43-35=8', '5+69=74']
Exploring Operation: 8+74=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[35, 43, 5, 69], Operations: []
Exploring Operation: 5+69=74, Resulting Numbers: [35, 43, 74]
Generated Node #0,0: 82:[35, 43, 74] Operation: 5+69=74
Exploring Operation: 69-35=34, Resulting Numbers: [43, 5, 34]
Generated Node #0,1: 82:[43, 5, 34] Operation: 69-35=34
Exploring Operation: 35+5=40, Resulting Numbers: [43, 69, 40]
Generated Node #0,2: 82:[43, 69, 40] Operation: 35+5=40
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[43, 5, 34], Operations: ['69-35=34']
Exploring Operation: 43-5=38, Resulting Numbers: [34, 38]
Generated Node #0,1,0: 82:[34, 38] Operation: 43-5=38
Exploring Operation: 43+34=77, Resulting Numbers: [5, 77]
Generated Node #0,1,1: 82:[5, 77] Operation: 43+34=77
Exploring Operation: 5+34=39, Resulting Numbers: [43, 39]
Generated Node #0,1,2: 82:[43, 39] Operation: 5+34=39
Moving to Node #0,1,2
Current State: 82:[43, 39], Operations: ['69-35=34', '5+34=39']
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Exploring Operation: 43*39=1677, Resulting Numbers: [1677]
1677,82 unequal: No Solution
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[35, 43, 5, 69], Operations: []
Exploring Operation: 69-35=34, Resulting Numbers: [43, 5, 34]
Generated Node #0,1: 82:[43, 5, 34] Operation: 69-35=34
Moving to Node #0,1
Current State: 82:[43, 5, 34], Operations: ['69-35=34']
Exploring Operation: 5+34=39, Resulting Numbers: [43, 39]
Generated Node #0,1,2: 82:[43, 39] Operation: 5+34=39
Moving to Node #0,1,2
Current State: 82:[43, 39], Operations: ['69-35=34', '5+34=39']
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
53,
98,
21,
85
] | 87 | [
"53+98=151",
"85-21=64",
"151-64=87"
] | Current State: 87:[53, 98, 21, 85], Operations: []
Exploring Operation: 53+98=151, Resulting Numbers: [21, 85, 151]
Generated Node #2: [21, 85, 151] from Operation: 53+98=151
Current State: 87:[21, 85, 151], Operations: ['53+98=151']
Exploring Operation: 85-21=64, Resulting Numbers: [151, 64]
Generated Node #3: [151, 64] from Operation: 85-21=64
Current State: 87:[151, 64], Operations: ['53+98=151', '85-21=64']
Exploring Operation: 151-64=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[53, 98, 21, 85], Operations: []
Exploring Operation: 53+21=74, Resulting Numbers: [98, 85, 74]
Generated Node #0,0: 87:[98, 85, 74] Operation: 53+21=74
Exploring Operation: 98-53=45, Resulting Numbers: [21, 85, 45]
Generated Node #0,1: 87:[21, 85, 45] Operation: 98-53=45
Exploring Operation: 85-53=32, Resulting Numbers: [98, 21, 32]
Generated Node #0,2: 87:[98, 21, 32] Operation: 85-53=32
Exploring Operation: 53-21=32, Resulting Numbers: [98, 85, 32]
Generated Node #0,3: 87:[98, 85, 32] Operation: 53-21=32
Exploring Operation: 98-21=77, Resulting Numbers: [53, 85, 77]
Generated Node #0,4: 87:[53, 85, 77] Operation: 98-21=77
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[98, 85, 32], Operations: ['53-21=32']
Exploring Operation: 85-32=53, Resulting Numbers: [98, 53]
Generated Node #0,3,0: 87:[98, 53] Operation: 85-32=53
Exploring Operation: 98-85=13, Resulting Numbers: [32, 13]
Generated Node #0,3,1: 87:[32, 13] Operation: 98-85=13
Exploring Operation: 98-32=66, Resulting Numbers: [85, 66]
Generated Node #0,3,2: 87:[85, 66] Operation: 98-32=66
Exploring Operation: 85+32=117, Resulting Numbers: [98, 117]
Generated Node #0,3,3: 87:[98, 117] Operation: 85+32=117
Exploring Operation: 98+32=130, Resulting Numbers: [85, 130]
Generated Node #0,3,4: 87:[85, 130] Operation: 98+32=130
Moving to Node #0,3,1
Current State: 87:[32, 13], Operations: ['53-21=32', '98-85=13']
Exploring Operation: 32*13=416, Resulting Numbers: [416]
416,87 unequal: No Solution
Exploring Operation: 32+13=45, Resulting Numbers: [45]
45,87 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[85, 66], Operations: ['53-21=32', '98-32=66']
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,87 unequal: No Solution
Exploring Operation: 85*66=5610, Resulting Numbers: [5610]
5610,87 unequal: No Solution
Exploring Operation: 85+66=151, Resulting Numbers: [151]
151,87 unequal: No Solution
Moving to Node #0,3,0
Current State: 87:[98, 53], Operations: ['53-21=32', '85-32=53']
Exploring Operation: 98-53=45, Resulting Numbers: [45]
45,87 unequal: No Solution
Exploring Operation: 98*53=5194, Resulting Numbers: [5194]
5194,87 unequal: No Solution
Exploring Operation: 98+53=151, Resulting Numbers: [151]
151,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[98, 117], Operations: ['53-21=32', '85+32=117']
Exploring Operation: 98*117=11466, Resulting Numbers: [11466]
11466,87 unequal: No Solution
Exploring Operation: 98+117=215, Resulting Numbers: [215]
215,87 unequal: No Solution
Exploring Operation: 117-98=19, Resulting Numbers: [19]
19,87 unequal: No Solution
Moving to Node #0,3,4
Current State: 87:[85, 130], Operations: ['53-21=32', '98+32=130']
Exploring Operation: 85*130=11050, Resulting Numbers: [11050]
11050,87 unequal: No Solution
Exploring Operation: 85+130=215, Resulting Numbers: [215]
215,87 unequal: No Solution
Exploring Operation: 130-85=45, Resulting Numbers: [45]
45,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,2
Current State: 87:[98, 21, 32], Operations: ['85-53=32']
Exploring Operation: 32-21=11, Resulting Numbers: [98, 11]
Generated Node #0,2,0: 87:[98, 11] Operation: 32-21=11
Exploring Operation: 21+32=53, Resulting Numbers: [98, 53]
Generated Node #0,2,1: 87:[98, 53] Operation: 21+32=53
Exploring Operation: 98-32=66, Resulting Numbers: [21, 66]
Generated Node #0,2,2: 87:[21, 66] Operation: 98-32=66
Exploring Operation: 98+21=119, Resulting Numbers: [32, 119]
Generated Node #0,2,3: 87:[32, 119] Operation: 98+21=119
Exploring Operation: 98-21=77, Resulting Numbers: [32, 77]
Generated Node #0,2,4: 87:[32, 77] Operation: 98-21=77
Moving to Node #0,2,4
Current State: 87:[32, 77], Operations: ['85-53=32', '98-21=77']
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,87 unequal: No Solution
Exploring Operation: 32*77=2464, Resulting Numbers: [2464]
2464,87 unequal: No Solution
Exploring Operation: 32+77=109, Resulting Numbers: [109]
109,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[98, 11], Operations: ['85-53=32', '32-21=11']
Exploring Operation: 98*11=1078, Resulting Numbers: [1078]
1078,87 unequal: No Solution
Exploring Operation: 98-11=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[53, 98, 21, 85], Operations: []
Exploring Operation: 85-53=32, Resulting Numbers: [98, 21, 32]
Generated Node #0,2: 87:[98, 21, 32] Operation: 85-53=32
Moving to Node #0,2
Current State: 87:[98, 21, 32], Operations: ['85-53=32']
Exploring Operation: 32-21=11, Resulting Numbers: [98, 11]
Generated Node #0,2,0: 87:[98, 11] Operation: 32-21=11
Moving to Node #0,2,0
Current State: 87:[98, 11], Operations: ['85-53=32', '32-21=11']
Exploring Operation: 98-11=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | sum_heuristic |
[
48,
30,
76,
20
] | 28 | [
"76+20=96",
"96/48=2",
"30-2=28"
] | Current State: 28:[48, 30, 76, 20], Operations: []
Exploring Operation: 76+20=96, Resulting Numbers: [48, 30, 96]
Generated Node #2: [48, 30, 96] from Operation: 76+20=96
Current State: 28:[48, 30, 96], Operations: ['76+20=96']
Exploring Operation: 96/48=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 96/48=2
Current State: 28:[30, 2], Operations: ['76+20=96', '96/48=2']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[48, 30, 76, 20], Operations: []
Exploring Operation: 76-30=46, Resulting Numbers: [48, 20, 46]
Generated Node #0,0: 28:[48, 20, 46] Operation: 76-30=46
Exploring Operation: 76-20=56, Resulting Numbers: [48, 30, 56]
Generated Node #0,1: 28:[48, 30, 56] Operation: 76-20=56
Exploring Operation: 76-48=28, Resulting Numbers: [30, 20, 28]
Generated Node #0,2: 28:[30, 20, 28] Operation: 76-48=28
Exploring Operation: 48-20=28, Resulting Numbers: [30, 76, 28]
Generated Node #0,3: 28:[30, 76, 28] Operation: 48-20=28
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[30, 20, 28], Operations: ['76-48=28']
Exploring Operation: 28-20=8, Resulting Numbers: [30, 8]
Generated Node #0,2,0: 28:[30, 8] Operation: 28-20=8
Exploring Operation: 30-20=10, Resulting Numbers: [28, 10]
Generated Node #0,2,1: 28:[28, 10] Operation: 30-20=10
Exploring Operation: 30-28=2, Resulting Numbers: [20, 2]
Generated Node #0,2,2: 28:[20, 2] Operation: 30-28=2
Exploring Operation: 30+20=50, Resulting Numbers: [28, 50]
Generated Node #0,2,3: 28:[28, 50] Operation: 30+20=50
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 28:[30, 8], Operations: ['76-48=28', '28-20=8']
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,28 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Exploring Operation: 30*8=240, Resulting Numbers: [240]
240,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 28:[28, 10], Operations: ['76-48=28', '30-20=10']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,28 unequal: No Solution
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 28:[20, 2], Operations: ['76-48=28', '30-28=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 28:[28, 50], Operations: ['76-48=28', '30+20=50']
Exploring Operation: 28+50=78, Resulting Numbers: [78]
78,28 unequal: No Solution
Exploring Operation: 28*50=1400, Resulting Numbers: [1400]
1400,28 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[48, 20, 46], Operations: ['76-30=46']
Exploring Operation: 48+20=68, Resulting Numbers: [46, 68]
Generated Node #0,0,0: 28:[46, 68] Operation: 48+20=68
Exploring Operation: 46-20=26, Resulting Numbers: [48, 26]
Generated Node #0,0,1: 28:[48, 26] Operation: 46-20=26
Exploring Operation: 48-46=2, Resulting Numbers: [20, 2]
Generated Node #0,0,2: 28:[20, 2] Operation: 48-46=2
Exploring Operation: 48-20=28, Resulting Numbers: [46, 28]
Generated Node #0,0,3: 28:[46, 28] Operation: 48-20=28
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 28:[20, 2], Operations: ['76-30=46', '48-46=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 28:[46, 28], Operations: ['76-30=46', '48-20=28']
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 46+28=74, Resulting Numbers: [74]
74,28 unequal: No Solution
Exploring Operation: 46*28=1288, Resulting Numbers: [1288]
1288,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 28:[48, 26], Operations: ['76-30=46', '46-20=26']
Exploring Operation: 48+26=74, Resulting Numbers: [74]
74,28 unequal: No Solution
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Exploring Operation: 48*26=1248, Resulting Numbers: [1248]
1248,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[46, 68], Operations: ['76-30=46', '48+20=68']
Exploring Operation: 46*68=3128, Resulting Numbers: [3128]
3128,28 unequal: No Solution
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Exploring Operation: 46+68=114, Resulting Numbers: [114]
114,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[48, 30, 56], Operations: ['76-20=56']
Exploring Operation: 56-48=8, Resulting Numbers: [30, 8]
Generated Node #0,1,0: 28:[30, 8] Operation: 56-48=8
Exploring Operation: 56-30=26, Resulting Numbers: [48, 26]
Generated Node #0,1,1: 28:[48, 26] Operation: 56-30=26
Exploring Operation: 48-30=18, Resulting Numbers: [56, 18]
Generated Node #0,1,2: 28:[56, 18] Operation: 48-30=18
Exploring Operation: 48+30=78, Resulting Numbers: [56, 78]
Generated Node #0,1,3: 28:[56, 78] Operation: 48+30=78
Moving to Node #0,1,0
Current State: 28:[30, 8], Operations: ['76-20=56', '56-48=8']
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,28 unequal: No Solution
Exploring Operation: 30*8=240, Resulting Numbers: [240]
240,28 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[48, 26], Operations: ['76-20=56', '56-30=26']
Exploring Operation: 48*26=1248, Resulting Numbers: [1248]
1248,28 unequal: No Solution
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Exploring Operation: 48+26=74, Resulting Numbers: [74]
74,28 unequal: No Solution
Moving to Node #0,1,2
Current State: 28:[56, 18], Operations: ['76-20=56', '48-30=18']
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,28 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,28 unequal: No Solution
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,28 unequal: No Solution
Moving to Node #0,1,3
Current State: 28:[56, 78], Operations: ['76-20=56', '48+30=78']
Exploring Operation: 56+78=134, Resulting Numbers: [134]
134,28 unequal: No Solution
Exploring Operation: 78-56=22, Resulting Numbers: [22]
22,28 unequal: No Solution
Exploring Operation: 56*78=4368, Resulting Numbers: [4368]
4368,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
Current State: 28:[30, 76, 28], Operations: ['48-20=28']
Exploring Operation: 30-28=2, Resulting Numbers: [76, 2]
Generated Node #0,3,0: 28:[76, 2] Operation: 30-28=2
Exploring Operation: 30+76=106, Resulting Numbers: [28, 106]
Generated Node #0,3,1: 28:[28, 106] Operation: 30+76=106
Exploring Operation: 76-28=48, Resulting Numbers: [30, 48]
Generated Node #0,3,2: 28:[30, 48] Operation: 76-28=48
Exploring Operation: 76-30=46, Resulting Numbers: [28, 46]
Generated Node #0,3,3: 28:[28, 46] Operation: 76-30=46
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 28:[28, 46], Operations: ['48-20=28', '76-30=46']
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 28*46=1288, Resulting Numbers: [1288]
1288,28 unequal: No Solution
Exploring Operation: 28+46=74, Resulting Numbers: [74]
74,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 28:[30, 48], Operations: ['48-20=28', '76-28=48']
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 30+48=78, Resulting Numbers: [78]
78,28 unequal: No Solution
Exploring Operation: 30*48=1440, Resulting Numbers: [1440]
1440,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 28:[76, 2], Operations: ['48-20=28', '30-28=2']
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,28 unequal: No Solution
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,28 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,28 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 28:[28, 106], Operations: ['48-20=28', '30+76=106']
Exploring Operation: 28+106=134, Resulting Numbers: [134]
134,28 unequal: No Solution
Exploring Operation: 28*106=2968, Resulting Numbers: [2968]
2968,28 unequal: No Solution
Exploring Operation: 106-28=78, Resulting Numbers: [78]
78,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
23,
84,
27,
59
] | 93 | [
"84-23=61",
"59-27=32",
"61+32=93"
] | Current State: 93:[23, 84, 27, 59], Operations: []
Exploring Operation: 84-23=61, Resulting Numbers: [27, 59, 61]
Generated Node #2: [27, 59, 61] from Operation: 84-23=61
Current State: 93:[27, 59, 61], Operations: ['84-23=61']
Exploring Operation: 59-27=32, Resulting Numbers: [61, 32]
Generated Node #3: [61, 32] from Operation: 59-27=32
Current State: 93:[61, 32], Operations: ['84-23=61', '59-27=32']
Exploring Operation: 61+32=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[23, 84, 27, 59], Operations: []
Exploring Operation: 84-59=25, Resulting Numbers: [23, 27, 25]
Generated Node #0,0: 93:[23, 27, 25] Operation: 84-59=25
Exploring Operation: 59-23=36, Resulting Numbers: [84, 27, 36]
Generated Node #0,1: 93:[84, 27, 36] Operation: 59-23=36
Moving to Node #0,0
Current State: 93:[23, 27, 25], Operations: ['84-59=25']
Exploring Operation: 25-23=2, Resulting Numbers: [27, 2]
Generated Node #0,0,0: 93:[27, 2] Operation: 25-23=2
Exploring Operation: 27-23=4, Resulting Numbers: [25, 4]
Generated Node #0,0,1: 93:[25, 4] Operation: 27-23=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[27, 2], Operations: ['84-59=25', '25-23=2']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,93 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[25, 4], Operations: ['84-59=25', '27-23=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,93 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: 93:[84, 27, 36], Operations: ['59-23=36']
Exploring Operation: 84-36=48, Resulting Numbers: [27, 48]
Generated Node #0,1,0: 93:[27, 48] Operation: 84-36=48
Exploring Operation: 36-27=9, Resulting Numbers: [84, 9]
Generated Node #0,1,1: 93:[84, 9] Operation: 36-27=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[84, 9], Operations: ['59-23=36', '36-27=9']
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[23, 84, 27, 59], Operations: []
Exploring Operation: 59-23=36, Resulting Numbers: [84, 27, 36]
Generated Node #0,1: 93:[84, 27, 36] Operation: 59-23=36
Moving to Node #0,1
Current State: 93:[84, 27, 36], Operations: ['59-23=36']
Exploring Operation: 36-27=9, Resulting Numbers: [84, 9]
Generated Node #0,1,1: 93:[84, 9] Operation: 36-27=9
Moving to Node #0,1,1
Current State: 93:[84, 9], Operations: ['59-23=36', '36-27=9']
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
85,
52,
22,
6
] | 17 | [
"85-52=33",
"22-6=16",
"33-16=17"
] | Current State: 17:[85, 52, 22, 6], Operations: []
Exploring Operation: 85-52=33, Resulting Numbers: [22, 6, 33]
Generated Node #2: [22, 6, 33] from Operation: 85-52=33
Current State: 17:[22, 6, 33], Operations: ['85-52=33']
Exploring Operation: 22-6=16, Resulting Numbers: [33, 16]
Generated Node #3: [33, 16] from Operation: 22-6=16
Current State: 17:[33, 16], Operations: ['85-52=33', '22-6=16']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[85, 52, 22, 6], Operations: []
Exploring Operation: 85-6=79, Resulting Numbers: [52, 22, 79]
Generated Node #0,0: 17:[52, 22, 79] Operation: 85-6=79
Exploring Operation: 85-52=33, Resulting Numbers: [22, 6, 33]
Generated Node #0,1: 17:[22, 6, 33] Operation: 85-52=33
Exploring Operation: 52-6=46, Resulting Numbers: [85, 22, 46]
Generated Node #0,2: 17:[85, 22, 46] Operation: 52-6=46
Exploring Operation: 85-22=63, Resulting Numbers: [52, 6, 63]
Generated Node #0,3: 17:[52, 6, 63] Operation: 85-22=63
Exploring Operation: 52-22=30, Resulting Numbers: [85, 6, 30]
Generated Node #0,4: 17:[85, 6, 30] Operation: 52-22=30
Moving to Node #0,1
Current State: 17:[22, 6, 33], Operations: ['85-52=33']
Exploring Operation: 22-6=16, Resulting Numbers: [33, 16]
Generated Node #0,1,0: 17:[33, 16] Operation: 22-6=16
Exploring Operation: 6+33=39, Resulting Numbers: [22, 39]
Generated Node #0,1,1: 17:[22, 39] Operation: 6+33=39
Exploring Operation: 22+6=28, Resulting Numbers: [33, 28]
Generated Node #0,1,2: 17:[33, 28] Operation: 22+6=28
Exploring Operation: 33-6=27, Resulting Numbers: [22, 27]
Generated Node #0,1,3: 17:[22, 27] Operation: 33-6=27
Exploring Operation: 33-22=11, Resulting Numbers: [6, 11]
Generated Node #0,1,4: 17:[6, 11] Operation: 33-22=11
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 17:[22, 27], Operations: ['85-52=33', '33-6=27']
Exploring Operation: 22+27=49, Resulting Numbers: [49]
49,17 unequal: No Solution
Exploring Operation: 22*27=594, Resulting Numbers: [594]
594,17 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,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,0
Current State: 17:[33, 16], Operations: ['85-52=33', '22-6=16']
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,17 unequal: No Solution
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,17 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[85, 52, 22, 6], Operations: []
Exploring Operation: 85-52=33, Resulting Numbers: [22, 6, 33]
Generated Node #0,1: 17:[22, 6, 33] Operation: 85-52=33
Moving to Node #0,1
Current State: 17:[22, 6, 33], Operations: ['85-52=33']
Exploring Operation: 22-6=16, Resulting Numbers: [33, 16]
Generated Node #0,1,0: 17:[33, 16] Operation: 22-6=16
Moving to Node #0,1,0
Current State: 17:[33, 16], Operations: ['85-52=33', '22-6=16']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
26,
5,
37,
44
] | 99 | [
"37-26=11",
"5*11=55",
"44+55=99"
] | Current State: 99:[26, 5, 37, 44], Operations: []
Exploring Operation: 37-26=11, Resulting Numbers: [5, 44, 11]
Generated Node #2: [5, 44, 11] from Operation: 37-26=11
Current State: 99:[5, 44, 11], Operations: ['37-26=11']
Exploring Operation: 5*11=55, Resulting Numbers: [44, 55]
Generated Node #3: [44, 55] from Operation: 5*11=55
Current State: 99:[44, 55], Operations: ['37-26=11', '5*11=55']
Exploring Operation: 44+55=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[26, 5, 37, 44], Operations: []
Exploring Operation: 44-5=39, Resulting Numbers: [26, 37, 39]
Generated Node #0,0: 99:[26, 37, 39] Operation: 44-5=39
Exploring Operation: 37-26=11, Resulting Numbers: [5, 44, 11]
Generated Node #0,1: 99:[5, 44, 11] Operation: 37-26=11
Exploring Operation: 26+5=31, Resulting Numbers: [37, 44, 31]
Generated Node #0,2: 99:[37, 44, 31] Operation: 26+5=31
Exploring Operation: 44-26=18, Resulting Numbers: [5, 37, 18]
Generated Node #0,3: 99:[5, 37, 18] Operation: 44-26=18
Exploring Operation: 44-37=7, Resulting Numbers: [26, 5, 7]
Generated Node #0,4: 99:[26, 5, 7] Operation: 44-37=7
Start Sub Search at level 1: Moving to Node #0,4
Current State: 99:[26, 5, 7], Operations: ['44-37=7']
Exploring Operation: 26+7=33, Resulting Numbers: [5, 33]
Generated Node #0,4,0: 99:[5, 33] Operation: 26+7=33
Exploring Operation: 5*7=35, Resulting Numbers: [26, 35]
Generated Node #0,4,1: 99:[26, 35] Operation: 5*7=35
Exploring Operation: 7-5=2, Resulting Numbers: [26, 2]
Generated Node #0,4,2: 99:[26, 2] Operation: 7-5=2
Exploring Operation: 26+5=31, Resulting Numbers: [7, 31]
Generated Node #0,4,3: 99:[7, 31] Operation: 26+5=31
Exploring Operation: 5+7=12, Resulting Numbers: [26, 12]
Generated Node #0,4,4: 99:[26, 12] Operation: 5+7=12
Moving to Node #0,4,0
Current State: 99:[5, 33], Operations: ['44-37=7', '26+7=33']
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,99 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,99 unequal: No Solution
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Moving to Node #0,4,3
Current State: 99:[7, 31], Operations: ['44-37=7', '26+5=31']
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 7*31=217, Resulting Numbers: [217]
217,99 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Moving to Node #0,4,2
Current State: 99:[26, 2], Operations: ['44-37=7', '7-5=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,99 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,99 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Moving to Node #0,4,4
Current State: 99:[26, 12], Operations: ['44-37=7', '5+7=12']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,99 unequal: No Solution
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,99 unequal: No Solution
Moving to Node #0,4,1
Current State: 99:[26, 35], Operations: ['44-37=7', '5*7=35']
Exploring Operation: 26+35=61, Resulting Numbers: [61]
61,99 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 26*35=910, Resulting Numbers: [910]
910,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[5, 44, 11], Operations: ['37-26=11']
Exploring Operation: 44-11=33, Resulting Numbers: [5, 33]
Generated Node #0,1,0: 99:[5, 33] Operation: 44-11=33
Exploring Operation: 44/11=4, Resulting Numbers: [5, 4]
Generated Node #0,1,1: 99:[5, 4] Operation: 44/11=4
Exploring Operation: 44-5=39, Resulting Numbers: [11, 39]
Generated Node #0,1,2: 99:[11, 39] Operation: 44-5=39
Exploring Operation: 11-5=6, Resulting Numbers: [44, 6]
Generated Node #0,1,3: 99:[44, 6] Operation: 11-5=6
Exploring Operation: 5+44=49, Resulting Numbers: [11, 49]
Generated Node #0,1,4: 99:[11, 49] Operation: 5+44=49
Moving to Node #0,1,0
Current State: 99:[5, 33], Operations: ['37-26=11', '44-11=33']
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,99 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[5, 4], Operations: ['37-26=11', '44/11=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,99 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Moving to Node #0,1,2
Current State: 99:[11, 39], Operations: ['37-26=11', '44-5=39']
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,99 unequal: No Solution
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,99 unequal: No Solution
Moving to Node #0,1,3
Current State: 99:[44, 6], Operations: ['37-26=11', '11-5=6']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,99 unequal: No Solution
Moving to Node #0,1,4
Current State: 99:[11, 49], Operations: ['37-26=11', '5+44=49']
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 11*49=539, Resulting Numbers: [539]
539,99 unequal: No Solution
Exploring Operation: 11+49=60, Resulting Numbers: [60]
60,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 99:[5, 37, 18], Operations: ['44-26=18']
Exploring Operation: 5+18=23, Resulting Numbers: [37, 23]
Generated Node #0,3,0: 99:[37, 23] Operation: 5+18=23
Exploring Operation: 18-5=13, Resulting Numbers: [37, 13]
Generated Node #0,3,1: 99:[37, 13] Operation: 18-5=13
Exploring Operation: 37-18=19, Resulting Numbers: [5, 19]
Generated Node #0,3,2: 99:[5, 19] Operation: 37-18=19
Exploring Operation: 37-5=32, Resulting Numbers: [18, 32]
Generated Node #0,3,3: 99:[18, 32] Operation: 37-5=32
Exploring Operation: 5*18=90, Resulting Numbers: [37, 90]
Generated Node #0,3,4: 99:[37, 90] Operation: 5*18=90
Moving to Node #0,3,1
Current State: 99:[37, 13], Operations: ['44-26=18', '18-5=13']
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 37*13=481, Resulting Numbers: [481]
481,99 unequal: No Solution
Moving to Node #0,3,3
Current State: 99:[18, 32], Operations: ['44-26=18', '37-5=32']
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,99 unequal: No Solution
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 18*32=576, Resulting Numbers: [576]
576,99 unequal: No Solution
Moving to Node #0,3,2
Current State: 99:[5, 19], Operations: ['44-26=18', '37-18=19']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,99 unequal: No Solution
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,99 unequal: No Solution
Moving to Node #0,3,4
Current State: 99:[37, 90], Operations: ['44-26=18', '5*18=90']
Exploring Operation: 37+90=127, Resulting Numbers: [127]
127,99 unequal: No Solution
Exploring Operation: 37*90=3330, Resulting Numbers: [3330]
3330,99 unequal: No Solution
Exploring Operation: 90-37=53, Resulting Numbers: [53]
53,99 unequal: No Solution
Moving to Node #0,3,0
Current State: 99:[37, 23], Operations: ['44-26=18', '5+18=23']
Exploring Operation: 37+23=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Exploring Operation: 37*23=851, Resulting Numbers: [851]
851,99 unequal: No Solution
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[26, 37, 39], Operations: ['44-5=39']
Exploring Operation: 39-37=2, Resulting Numbers: [26, 2]
Generated Node #0,0,0: 99:[26, 2] Operation: 39-37=2
Exploring Operation: 26+37=63, Resulting Numbers: [39, 63]
Generated Node #0,0,1: 99:[39, 63] Operation: 26+37=63
Exploring Operation: 37-26=11, Resulting Numbers: [39, 11]
Generated Node #0,0,2: 99:[39, 11] Operation: 37-26=11
Exploring Operation: 39-26=13, Resulting Numbers: [37, 13]
Generated Node #0,0,3: 99:[37, 13] Operation: 39-26=13
Exploring Operation: 37+39=76, Resulting Numbers: [26, 76]
Generated Node #0,0,4: 99:[26, 76] Operation: 37+39=76
Moving to Node #0,0,2
Current State: 99:[39, 11], Operations: ['44-5=39', '37-26=11']
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,99 unequal: No Solution
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 39*11=429, Resulting Numbers: [429]
429,99 unequal: No Solution
Moving to Node #0,0,3
Current State: 99:[37, 13], Operations: ['44-5=39', '39-26=13']
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 37*13=481, Resulting Numbers: [481]
481,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[26, 2], Operations: ['44-5=39', '39-37=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,99 unequal: No Solution
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,99 unequal: No Solution
Moving to Node #0,0,4
Current State: 99:[26, 76], Operations: ['44-5=39', '37+39=76']
Exploring Operation: 76-26=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 26+76=102, Resulting Numbers: [102]
102,99 unequal: No Solution
Exploring Operation: 26*76=1976, Resulting Numbers: [1976]
1976,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[39, 63], Operations: ['44-5=39', '26+37=63']
Exploring Operation: 39+63=102, Resulting Numbers: [102]
102,99 unequal: No Solution
Exploring Operation: 39*63=2457, Resulting Numbers: [2457]
2457,99 unequal: No Solution
Exploring Operation: 63-39=24, Resulting Numbers: [24]
24,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[37, 44, 31], Operations: ['26+5=31']
Exploring Operation: 44-37=7, Resulting Numbers: [31, 7]
Generated Node #0,2,0: 99:[31, 7] Operation: 44-37=7
Exploring Operation: 44+31=75, Resulting Numbers: [37, 75]
Generated Node #0,2,1: 99:[37, 75] Operation: 44+31=75
Exploring Operation: 44-31=13, Resulting Numbers: [37, 13]
Generated Node #0,2,2: 99:[37, 13] Operation: 44-31=13
Exploring Operation: 37-31=6, Resulting Numbers: [44, 6]
Generated Node #0,2,3: 99:[44, 6] Operation: 37-31=6
Exploring Operation: 37+44=81, Resulting Numbers: [31, 81]
Generated Node #0,2,4: 99:[31, 81] Operation: 37+44=81
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 99:[31, 7], Operations: ['26+5=31', '44-37=7']
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,99 unequal: No Solution
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,99 unequal: No Solution
No 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: 99:[37, 13], Operations: ['26+5=31', '44-31=13']
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 37*13=481, Resulting Numbers: [481]
481,99 unequal: No Solution
No 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: 99:[44, 6], Operations: ['26+5=31', '37-31=6']
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,99 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,99 unequal: No Solution
No 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: 99:[31, 81], Operations: ['26+5=31', '37+44=81']
Exploring Operation: 81-31=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 31+81=112, Resulting Numbers: [112]
112,99 unequal: No Solution
Exploring Operation: 31*81=2511, Resulting Numbers: [2511]
2511,99 unequal: No Solution
No 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: 99:[37, 75], Operations: ['26+5=31', '44+31=75']
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 37*75=2775, Resulting Numbers: [2775]
2775,99 unequal: No Solution
Exploring Operation: 37+75=112, Resulting Numbers: [112]
112,99 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 |
[
27,
97,
11,
35
] | 46 | [
"97-27=70",
"35-11=24",
"70-24=46"
] | Current State: 46:[27, 97, 11, 35], Operations: []
Exploring Operation: 97-27=70, Resulting Numbers: [11, 35, 70]
Generated Node #2: [11, 35, 70] from Operation: 97-27=70
Current State: 46:[11, 35, 70], Operations: ['97-27=70']
Exploring Operation: 35-11=24, Resulting Numbers: [70, 24]
Generated Node #3: [70, 24] from Operation: 35-11=24
Current State: 46:[70, 24], Operations: ['97-27=70', '35-11=24']
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[27, 97, 11, 35], Operations: []
Exploring Operation: 97-27=70, Resulting Numbers: [11, 35, 70]
Generated Node #0,0: 46:[11, 35, 70] Operation: 97-27=70
Exploring Operation: 97-35=62, Resulting Numbers: [27, 11, 62]
Generated Node #0,1: 46:[27, 11, 62] Operation: 97-35=62
Moving to Node #0,1
Current State: 46:[27, 11, 62], Operations: ['97-35=62']
Exploring Operation: 62-27=35, Resulting Numbers: [11, 35]
Generated Node #0,1,0: 46:[11, 35] Operation: 62-27=35
Exploring Operation: 62-11=51, Resulting Numbers: [27, 51]
Generated Node #0,1,1: 46:[27, 51] Operation: 62-11=51
Moving to Node #0,0
Current State: 46:[11, 35, 70], Operations: ['97-27=70']
Exploring Operation: 70/35=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 46:[11, 2] Operation: 70/35=2
Exploring Operation: 70-35=35, Resulting Numbers: [11, 35]
Generated Node #0,0,1: 46:[11, 35] Operation: 70-35=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[11, 2], Operations: ['97-27=70', '70/35=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[11, 35], Operations: ['97-27=70', '70-35=35']
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[27, 97, 11, 35], Operations: []
Exploring Operation: 97-27=70, Resulting Numbers: [11, 35, 70]
Generated Node #0,0: 46:[11, 35, 70] Operation: 97-27=70
Moving to Node #0,0
Current State: 46:[11, 35, 70], Operations: ['97-27=70']
Exploring Operation: 70-35=35, Resulting Numbers: [11, 35]
Generated Node #0,0,1: 46:[11, 35] Operation: 70-35=35
Moving to Node #0,0,1
Current State: 46:[11, 35], Operations: ['97-27=70', '70-35=35']
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_2 | mult_heuristic |
[
27,
58,
10,
63
] | 77 | [
"63-58=5",
"10*5=50",
"27+50=77"
] | Current State: 77:[27, 58, 10, 63], Operations: []
Exploring Operation: 63-58=5, Resulting Numbers: [27, 10, 5]
Generated Node #2: [27, 10, 5] from Operation: 63-58=5
Current State: 77:[27, 10, 5], Operations: ['63-58=5']
Exploring Operation: 10*5=50, Resulting Numbers: [27, 50]
Generated Node #3: [27, 50] from Operation: 10*5=50
Current State: 77:[27, 50], Operations: ['63-58=5', '10*5=50']
Exploring Operation: 27+50=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[27, 58, 10, 63], Operations: []
Exploring Operation: 27+58=85, Resulting Numbers: [10, 63, 85]
Generated Node #0,0: 77:[10, 63, 85] Operation: 27+58=85
Exploring Operation: 63-58=5, Resulting Numbers: [27, 10, 5]
Generated Node #0,1: 77:[27, 10, 5] Operation: 63-58=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[27, 10, 5], Operations: ['63-58=5']
Exploring Operation: 27-5=22, Resulting Numbers: [10, 22]
Generated Node #0,1,0: 77:[10, 22] Operation: 27-5=22
Exploring Operation: 27-10=17, Resulting Numbers: [5, 17]
Generated Node #0,1,1: 77:[5, 17] Operation: 27-10=17
Moving to Node #0,1,1
Current State: 77:[5, 17], Operations: ['63-58=5', '27-10=17']
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,77 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[10, 22], Operations: ['63-58=5', '27-5=22']
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,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,0
Current State: 77:[10, 63, 85], Operations: ['27+58=85']
Exploring Operation: 10+63=73, Resulting Numbers: [85, 73]
Generated Node #0,0,0: 77:[85, 73] Operation: 10+63=73
Exploring Operation: 85-63=22, Resulting Numbers: [10, 22]
Generated Node #0,0,1: 77:[10, 22] Operation: 85-63=22
Moving to Node #0,0,0
Current State: 77:[85, 73], Operations: ['27+58=85', '10+63=73']
Exploring Operation: 85+73=158, Resulting Numbers: [158]
158,77 unequal: No Solution
Exploring Operation: 85-73=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[10, 22], Operations: ['27+58=85', '85-63=22']
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
7,
17,
82,
64
] | 30 | [
"7*82=574",
"574-64=510",
"510/17=30"
] | Current State: 30:[7, 17, 82, 64], Operations: []
Exploring Operation: 7*82=574, Resulting Numbers: [17, 64, 574]
Generated Node #2: [17, 64, 574] from Operation: 7*82=574
Current State: 30:[17, 64, 574], Operations: ['7*82=574']
Exploring Operation: 574-64=510, Resulting Numbers: [17, 510]
Generated Node #3: [17, 510] from Operation: 574-64=510
Current State: 30:[17, 510], Operations: ['7*82=574', '574-64=510']
Exploring Operation: 510/17=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[7, 17, 82, 64], Operations: []
Exploring Operation: 64-17=47, Resulting Numbers: [7, 82, 47]
Generated Node #0,0: 30:[7, 82, 47] Operation: 64-17=47
Exploring Operation: 82-64=18, Resulting Numbers: [7, 17, 18]
Generated Node #0,1: 30:[7, 17, 18] Operation: 82-64=18
Exploring Operation: 82-17=65, Resulting Numbers: [7, 64, 65]
Generated Node #0,2: 30:[7, 64, 65] Operation: 82-17=65
Moving to Node #0,1
Current State: 30:[7, 17, 18], Operations: ['82-64=18']
Exploring Operation: 17-7=10, Resulting Numbers: [18, 10]
Generated Node #0,1,0: 30:[18, 10] Operation: 17-7=10
Exploring Operation: 18-17=1, Resulting Numbers: [7, 1]
Generated Node #0,1,1: 30:[7, 1] Operation: 18-17=1
Exploring Operation: 18-7=11, Resulting Numbers: [17, 11]
Generated Node #0,1,2: 30:[17, 11] Operation: 18-7=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[7, 1], Operations: ['82-64=18', '18-17=1']
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,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,1,0
Current State: 30:[18, 10], Operations: ['82-64=18', '17-7=10']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,30 unequal: No Solution
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,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,1,2
Current State: 30:[17, 11], Operations: ['82-64=18', '18-7=11']
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,30 unequal: No Solution
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,30 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,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:[7, 82, 47], Operations: ['64-17=47']
Exploring Operation: 82-7=75, Resulting Numbers: [47, 75]
Generated Node #0,0,0: 30:[47, 75] Operation: 82-7=75
Exploring Operation: 47-7=40, Resulting Numbers: [82, 40]
Generated Node #0,0,1: 30:[82, 40] Operation: 47-7=40
Exploring Operation: 82-47=35, Resulting Numbers: [7, 35]
Generated Node #0,0,2: 30:[7, 35] Operation: 82-47=35
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[7, 35], Operations: ['64-17=47', '82-47=35']
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,30 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[47, 75], Operations: ['64-17=47', '82-7=75']
Exploring Operation: 47*75=3525, Resulting Numbers: [3525]
3525,30 unequal: No Solution
Exploring Operation: 75-47=28, Resulting Numbers: [28]
28,30 unequal: No Solution
Exploring Operation: 47+75=122, Resulting Numbers: [122]
122,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[82, 40], Operations: ['64-17=47', '47-7=40']
Exploring Operation: 82*40=3280, Resulting Numbers: [3280]
3280,30 unequal: No Solution
Exploring Operation: 82+40=122, Resulting Numbers: [122]
122,30 unequal: No Solution
Exploring Operation: 82-40=42, Resulting Numbers: [42]
42,30 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: 30:[7, 64, 65], Operations: ['82-17=65']
Exploring Operation: 65-7=58, Resulting Numbers: [64, 58]
Generated Node #0,2,0: 30:[64, 58] Operation: 65-7=58
Exploring Operation: 65-64=1, Resulting Numbers: [7, 1]
Generated Node #0,2,1: 30:[7, 1] Operation: 65-64=1
Exploring Operation: 64-7=57, Resulting Numbers: [65, 57]
Generated Node #0,2,2: 30:[65, 57] Operation: 64-7=57
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[7, 1], Operations: ['82-17=65', '65-64=1']
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,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:[64, 58], Operations: ['82-17=65', '65-7=58']
Exploring Operation: 64+58=122, Resulting Numbers: [122]
122,30 unequal: No Solution
Exploring Operation: 64-58=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 64*58=3712, Resulting Numbers: [3712]
3712,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:[65, 57], Operations: ['82-17=65', '64-7=57']
Exploring Operation: 65*57=3705, Resulting Numbers: [3705]
3705,30 unequal: No Solution
Exploring Operation: 65+57=122, Resulting Numbers: [122]
122,30 unequal: No Solution
Exploring Operation: 65-57=8, Resulting Numbers: [8]
8,30 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 |
[
85,
30,
75,
83
] | 60 | [
"85-83=2",
"30/2=15",
"75-15=60"
] | Current State: 60:[85, 30, 75, 83], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [30, 75, 2]
Generated Node #2: [30, 75, 2] from Operation: 85-83=2
Current State: 60:[30, 75, 2], Operations: ['85-83=2']
Exploring Operation: 30/2=15, Resulting Numbers: [75, 15]
Generated Node #3: [75, 15] from Operation: 30/2=15
Current State: 60:[75, 15], Operations: ['85-83=2', '30/2=15']
Exploring Operation: 75-15=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[85, 30, 75, 83], Operations: []
Exploring Operation: 85-75=10, Resulting Numbers: [30, 83, 10]
Generated Node #0,0: 60:[30, 83, 10] Operation: 85-75=10
Exploring Operation: 85-83=2, Resulting Numbers: [30, 75, 2]
Generated Node #0,1: 60:[30, 75, 2] Operation: 85-83=2
Moving to Node #0,1
Current State: 60:[30, 75, 2], Operations: ['85-83=2']
Exploring Operation: 75-2=73, Resulting Numbers: [30, 73]
Generated Node #0,1,0: 60:[30, 73] Operation: 75-2=73
Exploring Operation: 75-30=45, Resulting Numbers: [2, 45]
Generated Node #0,1,1: 60:[2, 45] Operation: 75-30=45
Moving to Node #0,0
Current State: 60:[30, 83, 10], Operations: ['85-75=10']
Exploring Operation: 83-30=53, Resulting Numbers: [10, 53]
Generated Node #0,0,0: 60:[10, 53] Operation: 83-30=53
Exploring Operation: 83-10=73, Resulting Numbers: [30, 73]
Generated Node #0,0,1: 60:[30, 73] Operation: 83-10=73
Moving to Node #0,0,0
Current State: 60:[10, 53], Operations: ['85-75=10', '83-30=53']
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[30, 73], Operations: ['85-83=2', '75-2=73']
Exploring Operation: 30+73=103, Resulting Numbers: [103]
103,60 unequal: No Solution
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[30, 73], Operations: ['85-75=10', '83-10=73']
Exploring Operation: 30+73=103, Resulting Numbers: [103]
103,60 unequal: No Solution
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[2, 45], Operations: ['85-83=2', '75-30=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,60 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,60 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
61,
69,
51,
60
] | 72 | [
"69-61=8",
"60-51=9",
"8*9=72"
] | Current State: 72:[61, 69, 51, 60], Operations: []
Exploring Operation: 69-61=8, Resulting Numbers: [51, 60, 8]
Generated Node #2: [51, 60, 8] from Operation: 69-61=8
Current State: 72:[51, 60, 8], Operations: ['69-61=8']
Exploring Operation: 60-51=9, Resulting Numbers: [8, 9]
Generated Node #3: [8, 9] from Operation: 60-51=9
Current State: 72:[8, 9], Operations: ['69-61=8', '60-51=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[61, 69, 51, 60], Operations: []
Exploring Operation: 60-51=9, Resulting Numbers: [61, 69, 9]
Generated Node #0,0: 72:[61, 69, 9] Operation: 60-51=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[61, 69, 9], Operations: ['60-51=9']
Exploring Operation: 69-61=8, Resulting Numbers: [9, 8]
Generated Node #0,0,0: 72:[9, 8] Operation: 69-61=8
Moving to Node #0,0,0
Current State: 72:[9, 8], Operations: ['60-51=9', '69-61=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[61, 69, 51, 60], Operations: []
Exploring Operation: 60-51=9, Resulting Numbers: [61, 69, 9]
Generated Node #0,0: 72:[61, 69, 9] Operation: 60-51=9
Moving to Node #0,0
Current State: 72:[61, 69, 9], Operations: ['60-51=9']
Exploring Operation: 69-61=8, Resulting Numbers: [9, 8]
Generated Node #0,0,0: 72:[9, 8] Operation: 69-61=8
Moving to Node #0,0,0
Current State: 72:[9, 8], Operations: ['60-51=9', '69-61=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
98,
14,
89,
71
] | 76 | [
"98-14=84",
"89+71=160",
"160-84=76"
] | Current State: 76:[98, 14, 89, 71], Operations: []
Exploring Operation: 98-14=84, Resulting Numbers: [89, 71, 84]
Generated Node #2: [89, 71, 84] from Operation: 98-14=84
Current State: 76:[89, 71, 84], Operations: ['98-14=84']
Exploring Operation: 89+71=160, Resulting Numbers: [84, 160]
Generated Node #3: [84, 160] from Operation: 89+71=160
Current State: 76:[84, 160], Operations: ['98-14=84', '89+71=160']
Exploring Operation: 160-84=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[98, 14, 89, 71], Operations: []
Exploring Operation: 98-89=9, Resulting Numbers: [14, 71, 9]
Generated Node #0,0: 76:[14, 71, 9] Operation: 98-89=9
Exploring Operation: 98/14=7, Resulting Numbers: [89, 71, 7]
Generated Node #0,1: 76:[89, 71, 7] Operation: 98/14=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[14, 71, 9], Operations: ['98-89=9']
Exploring Operation: 14+9=23, Resulting Numbers: [71, 23]
Generated Node #0,0,0: 76:[71, 23] Operation: 14+9=23
Exploring Operation: 14-9=5, Resulting Numbers: [71, 5]
Generated Node #0,0,1: 76:[71, 5] Operation: 14-9=5
Moving to Node #0,0,1
Current State: 76:[71, 5], Operations: ['98-89=9', '14-9=5']
Exploring Operation: 71+5=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[98, 14, 89, 71], Operations: []
Exploring Operation: 98-89=9, Resulting Numbers: [14, 71, 9]
Generated Node #0,0: 76:[14, 71, 9] Operation: 98-89=9
Moving to Node #0,0
Current State: 76:[14, 71, 9], Operations: ['98-89=9']
Exploring Operation: 14-9=5, Resulting Numbers: [71, 5]
Generated Node #0,0,1: 76:[71, 5] Operation: 14-9=5
Moving to Node #0,0,1
Current State: 76:[71, 5], Operations: ['98-89=9', '14-9=5']
Exploring Operation: 71+5=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
89,
6,
98,
34
] | 20 | [
"98-89=9",
"6*9=54",
"54-34=20"
] | Current State: 20:[89, 6, 98, 34], Operations: []
Exploring Operation: 98-89=9, Resulting Numbers: [6, 34, 9]
Generated Node #2: [6, 34, 9] from Operation: 98-89=9
Current State: 20:[6, 34, 9], Operations: ['98-89=9']
Exploring Operation: 6*9=54, Resulting Numbers: [34, 54]
Generated Node #3: [34, 54] from Operation: 6*9=54
Current State: 20:[34, 54], Operations: ['98-89=9', '6*9=54']
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[89, 6, 98, 34], Operations: []
Exploring Operation: 98-89=9, Resulting Numbers: [6, 34, 9]
Generated Node #0,0: 20:[6, 34, 9] Operation: 98-89=9
Exploring Operation: 98-34=64, Resulting Numbers: [89, 6, 64]
Generated Node #0,1: 20:[89, 6, 64] Operation: 98-34=64
Exploring Operation: 89-34=55, Resulting Numbers: [6, 98, 55]
Generated Node #0,2: 20:[6, 98, 55] Operation: 89-34=55
Exploring Operation: 89-6=83, Resulting Numbers: [98, 34, 83]
Generated Node #0,3: 20:[98, 34, 83] Operation: 89-6=83
Moving to Node #0,0
Current State: 20:[6, 34, 9], Operations: ['98-89=9']
Exploring Operation: 34-6=28, Resulting Numbers: [9, 28]
Generated Node #0,0,0: 20:[9, 28] Operation: 34-6=28
Exploring Operation: 6+9=15, Resulting Numbers: [34, 15]
Generated Node #0,0,1: 20:[34, 15] Operation: 6+9=15
Exploring Operation: 34-9=25, Resulting Numbers: [6, 25]
Generated Node #0,0,2: 20:[6, 25] Operation: 34-9=25
Exploring Operation: 9-6=3, Resulting Numbers: [34, 3]
Generated Node #0,0,3: 20:[34, 3] Operation: 9-6=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[6, 25], Operations: ['98-89=9', '34-9=25']
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,20 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[9, 28], Operations: ['98-89=9', '34-6=28']
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,20 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 20:[34, 3], Operations: ['98-89=9', '9-6=3']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[34, 15], Operations: ['98-89=9', '6+9=15']
Exploring Operation: 34+15=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 34*15=510, Resulting Numbers: [510]
510,20 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 20:[6, 98, 55], Operations: ['89-34=55']
Exploring Operation: 55-6=49, Resulting Numbers: [98, 49]
Generated Node #0,2,0: 20:[98, 49] Operation: 55-6=49
Exploring Operation: 98-6=92, Resulting Numbers: [55, 92]
Generated Node #0,2,1: 20:[55, 92] Operation: 98-6=92
Exploring Operation: 6+98=104, Resulting Numbers: [55, 104]
Generated Node #0,2,2: 20:[55, 104] Operation: 6+98=104
Exploring Operation: 98-55=43, Resulting Numbers: [6, 43]
Generated Node #0,2,3: 20:[6, 43] Operation: 98-55=43
Moving to Node #0,1
Current State: 20:[89, 6, 64], Operations: ['98-34=64']
Exploring Operation: 89-64=25, Resulting Numbers: [6, 25]
Generated Node #0,1,0: 20:[6, 25] Operation: 89-64=25
Exploring Operation: 89-6=83, Resulting Numbers: [64, 83]
Generated Node #0,1,1: 20:[64, 83] Operation: 89-6=83
Exploring Operation: 64-6=58, Resulting Numbers: [89, 58]
Generated Node #0,1,2: 20:[89, 58] Operation: 64-6=58
Exploring Operation: 89+6=95, Resulting Numbers: [64, 95]
Generated Node #0,1,3: 20:[64, 95] Operation: 89+6=95
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[6, 25], Operations: ['98-34=64', '89-64=25']
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,20 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[64, 83], Operations: ['98-34=64', '89-6=83']
Exploring Operation: 64+83=147, Resulting Numbers: [147]
147,20 unequal: No Solution
Exploring Operation: 83-64=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 64*83=5312, Resulting Numbers: [5312]
5312,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[89, 58], Operations: ['98-34=64', '64-6=58']
Exploring Operation: 89+58=147, Resulting Numbers: [147]
147,20 unequal: No Solution
Exploring Operation: 89-58=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 89*58=5162, Resulting Numbers: [5162]
5162,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 20:[64, 95], Operations: ['98-34=64', '89+6=95']
Exploring Operation: 64*95=6080, Resulting Numbers: [6080]
6080,20 unequal: No Solution
Exploring Operation: 64+95=159, Resulting Numbers: [159]
159,20 unequal: No Solution
Exploring Operation: 95-64=31, Resulting Numbers: [31]
31,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 20:[98, 34, 83], Operations: ['89-6=83']
Exploring Operation: 98-83=15, Resulting Numbers: [34, 15]
Generated Node #0,3,0: 20:[34, 15] Operation: 98-83=15
Exploring Operation: 83-34=49, Resulting Numbers: [98, 49]
Generated Node #0,3,1: 20:[98, 49] Operation: 83-34=49
Exploring Operation: 98+34=132, Resulting Numbers: [83, 132]
Generated Node #0,3,2: 20:[83, 132] Operation: 98+34=132
Exploring Operation: 98-34=64, Resulting Numbers: [83, 64]
Generated Node #0,3,3: 20:[83, 64] Operation: 98-34=64
Moving to Node #0,3,0
Current State: 20:[34, 15], Operations: ['89-6=83', '98-83=15']
Exploring Operation: 34+15=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 34*15=510, Resulting Numbers: [510]
510,20 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[6, 43], Operations: ['89-34=55', '98-55=43']
Exploring Operation: 6*43=258, Resulting Numbers: [258]
258,20 unequal: No Solution
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[55, 92], Operations: ['89-34=55', '98-6=92']
Exploring Operation: 55+92=147, Resulting Numbers: [147]
147,20 unequal: No Solution
Exploring Operation: 92-55=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Exploring Operation: 55*92=5060, Resulting Numbers: [5060]
5060,20 unequal: No Solution
Moving to Node #0,3,1
Current State: 20:[98, 49], Operations: ['89-6=83', '83-34=49']
Exploring Operation: 98/49=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 98*49=4802, Resulting Numbers: [4802]
4802,20 unequal: No Solution
Exploring Operation: 98-49=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 98+49=147, Resulting Numbers: [147]
147,20 unequal: No Solution
Moving to Node #0,3,3
Current State: 20:[83, 64], Operations: ['89-6=83', '98-34=64']
Exploring Operation: 83*64=5312, Resulting Numbers: [5312]
5312,20 unequal: No Solution
Exploring Operation: 83-64=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 83+64=147, Resulting Numbers: [147]
147,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[98, 49], Operations: ['89-34=55', '55-6=49']
Exploring Operation: 98+49=147, Resulting Numbers: [147]
147,20 unequal: No Solution
Exploring Operation: 98*49=4802, Resulting Numbers: [4802]
4802,20 unequal: No Solution
Exploring Operation: 98-49=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 98/49=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[55, 104], Operations: ['89-34=55', '6+98=104']
Exploring Operation: 55*104=5720, Resulting Numbers: [5720]
5720,20 unequal: No Solution
Exploring Operation: 55+104=159, Resulting Numbers: [159]
159,20 unequal: No Solution
Exploring Operation: 104-55=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Moving to Node #0,3,2
Current State: 20:[83, 132], Operations: ['89-6=83', '98+34=132']
Exploring Operation: 132-83=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 83*132=10956, Resulting Numbers: [10956]
10956,20 unequal: No Solution
Exploring Operation: 83+132=215, Resulting Numbers: [215]
215,20 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
8,
26,
9,
71
] | 26 | [
"8*9=72",
"72-71=1",
"26*1=26"
] | Current State: 26:[8, 26, 9, 71], Operations: []
Exploring Operation: 8*9=72, Resulting Numbers: [26, 71, 72]
Generated Node #2: [26, 71, 72] from Operation: 8*9=72
Current State: 26:[26, 71, 72], Operations: ['8*9=72']
Exploring Operation: 72-71=1, Resulting Numbers: [26, 1]
Generated Node #3: [26, 1] from Operation: 72-71=1
Current State: 26:[26, 1], Operations: ['8*9=72', '72-71=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[8, 26, 9, 71], Operations: []
Exploring Operation: 9-8=1, Resulting Numbers: [26, 71, 1]
Generated Node #0,0: 26:[26, 71, 1] Operation: 9-8=1
Exploring Operation: 71-8=63, Resulting Numbers: [26, 9, 63]
Generated Node #0,1: 26:[26, 9, 63] Operation: 71-8=63
Exploring Operation: 8+9=17, Resulting Numbers: [26, 71, 17]
Generated Node #0,2: 26:[26, 71, 17] Operation: 8+9=17
Exploring Operation: 71-26=45, Resulting Numbers: [8, 9, 45]
Generated Node #0,3: 26:[8, 9, 45] Operation: 71-26=45
Exploring Operation: 71-9=62, Resulting Numbers: [8, 26, 62]
Generated Node #0,4: 26:[8, 26, 62] Operation: 71-9=62
Moving to Node #0,3
Current State: 26:[8, 9, 45], Operations: ['71-26=45']
Exploring Operation: 9-8=1, Resulting Numbers: [45, 1]
Generated Node #0,3,0: 26:[45, 1] Operation: 9-8=1
Exploring Operation: 45/9=5, Resulting Numbers: [8, 5]
Generated Node #0,3,1: 26:[8, 5] Operation: 45/9=5
Exploring Operation: 8+9=17, Resulting Numbers: [45, 17]
Generated Node #0,3,2: 26:[45, 17] Operation: 8+9=17
Exploring Operation: 45-9=36, Resulting Numbers: [8, 36]
Generated Node #0,3,3: 26:[8, 36] Operation: 45-9=36
Exploring Operation: 45-8=37, Resulting Numbers: [9, 37]
Generated Node #0,3,4: 26:[9, 37] Operation: 45-8=37
Moving to Node #0,4
Current State: 26:[8, 26, 62], Operations: ['71-9=62']
Exploring Operation: 62-8=54, Resulting Numbers: [26, 54]
Generated Node #0,4,0: 26:[26, 54] Operation: 62-8=54
Exploring Operation: 26-8=18, Resulting Numbers: [62, 18]
Generated Node #0,4,1: 26:[62, 18] Operation: 26-8=18
Exploring Operation: 8+26=34, Resulting Numbers: [62, 34]
Generated Node #0,4,2: 26:[62, 34] Operation: 8+26=34
Exploring Operation: 62-26=36, Resulting Numbers: [8, 36]
Generated Node #0,4,3: 26:[8, 36] Operation: 62-26=36
Exploring Operation: 8+62=70, Resulting Numbers: [26, 70]
Generated Node #0,4,4: 26:[26, 70] Operation: 8+62=70
Moving to Node #0,1
Current State: 26:[26, 9, 63], Operations: ['71-8=63']
Exploring Operation: 63/9=7, Resulting Numbers: [26, 7]
Generated Node #0,1,0: 26:[26, 7] Operation: 63/9=7
Exploring Operation: 63-26=37, Resulting Numbers: [9, 37]
Generated Node #0,1,1: 26:[9, 37] Operation: 63-26=37
Exploring Operation: 26+9=35, Resulting Numbers: [63, 35]
Generated Node #0,1,2: 26:[63, 35] Operation: 26+9=35
Exploring Operation: 26-9=17, Resulting Numbers: [63, 17]
Generated Node #0,1,3: 26:[63, 17] Operation: 26-9=17
Exploring Operation: 63-9=54, Resulting Numbers: [26, 54]
Generated Node #0,1,4: 26:[26, 54] Operation: 63-9=54
Moving to Node #0,0
Current State: 26:[26, 71, 1], Operations: ['9-8=1']
Exploring Operation: 26*1=26, Resulting Numbers: [71, 26]
Generated Node #0,0,0: 26:[71, 26] Operation: 26*1=26
Exploring Operation: 71-26=45, Resulting Numbers: [1, 45]
Generated Node #0,0,1: 26:[1, 45] Operation: 71-26=45
Exploring Operation: 26/1=26, Resulting Numbers: [71, 26]
Generated Node #0,0,2: 26:[71, 26] Operation: 26/1=26
Exploring Operation: 71*1=71, Resulting Numbers: [26, 71]
Generated Node #0,0,3: 26:[26, 71] Operation: 71*1=71
Exploring Operation: 71-1=70, Resulting Numbers: [26, 70]
Generated Node #0,0,4: 26:[26, 70] Operation: 71-1=70
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[1, 45], Operations: ['9-8=1', '71-26=45']
Exploring Operation: 1*45=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Exploring Operation: 1+45=46, Resulting Numbers: [46]
46,26 unequal: No Solution
No 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: 26:[26, 70], Operations: ['9-8=1', '71-1=70']
Exploring Operation: 26+70=96, Resulting Numbers: [96]
96,26 unequal: No Solution
Exploring Operation: 26*70=1820, Resulting Numbers: [1820]
1820,26 unequal: No Solution
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,26 unequal: No Solution
No 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: 26:[71, 26], Operations: ['9-8=1', '26*1=26']
Exploring Operation: 71-26=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 71+26=97, Resulting Numbers: [97]
97,26 unequal: No Solution
Exploring Operation: 71*26=1846, Resulting Numbers: [1846]
1846,26 unequal: No Solution
No 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: 26:[71, 26], Operations: ['9-8=1', '26/1=26']
Exploring Operation: 71-26=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 71*26=1846, Resulting Numbers: [1846]
1846,26 unequal: No Solution
Exploring Operation: 71+26=97, Resulting Numbers: [97]
97,26 unequal: No Solution
No 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: 26:[26, 71], Operations: ['9-8=1', '71*1=71']
Exploring Operation: 26*71=1846, Resulting Numbers: [1846]
1846,26 unequal: No Solution
Exploring Operation: 71-26=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 26+71=97, Resulting Numbers: [97]
97,26 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: 26:[26, 71, 17], Operations: ['8+9=17']
Exploring Operation: 26-17=9, Resulting Numbers: [71, 9]
Generated Node #0,2,0: 26:[71, 9] Operation: 26-17=9
Exploring Operation: 71-17=54, Resulting Numbers: [26, 54]
Generated Node #0,2,1: 26:[26, 54] Operation: 71-17=54
Exploring Operation: 71+17=88, Resulting Numbers: [26, 88]
Generated Node #0,2,2: 26:[26, 88] Operation: 71+17=88
Exploring Operation: 71-26=45, Resulting Numbers: [17, 45]
Generated Node #0,2,3: 26:[17, 45] Operation: 71-26=45
Exploring Operation: 26+17=43, Resulting Numbers: [71, 43]
Generated Node #0,2,4: 26:[71, 43] Operation: 26+17=43
Moving to Node #0,1,0
Current State: 26:[26, 7], Operations: ['71-8=63', '63/9=7']
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Exploring Operation: 26*7=182, Resulting Numbers: [182]
182,26 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Moving to Node #0,3,1
Current State: 26:[8, 5], Operations: ['71-26=45', '45/9=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,26 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Moving to Node #0,3,4
Current State: 26:[9, 37], Operations: ['71-26=45', '45-8=37']
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,26 unequal: No Solution
Exploring Operation: 9*37=333, Resulting Numbers: [333]
333,26 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Moving to Node #0,4,3
Current State: 26:[8, 36], Operations: ['71-9=62', '62-26=36']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,26 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[9, 37], Operations: ['71-8=63', '63-26=37']
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,26 unequal: No Solution
Exploring Operation: 9*37=333, Resulting Numbers: [333]
333,26 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Moving to Node #0,3,3
Current State: 26:[8, 36], Operations: ['71-26=45', '45-9=36']
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,26 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Moving to Node #0,3,0
Current State: 26:[45, 1], Operations: ['71-26=45', '9-8=1']
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,26 unequal: No Solution
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Moving to Node #0,3,2
Current State: 26:[45, 17], Operations: ['71-26=45', '8+9=17']
Exploring Operation: 45+17=62, Resulting Numbers: [62]
62,26 unequal: No Solution
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 45*17=765, Resulting Numbers: [765]
765,26 unequal: No Solution
Moving to Node #0,2,3
Current State: 26:[17, 45], Operations: ['8+9=17', '71-26=45']
Exploring Operation: 17*45=765, Resulting Numbers: [765]
765,26 unequal: No Solution
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 17+45=62, Resulting Numbers: [62]
62,26 unequal: No Solution
Moving to Node #0,4,0
Current State: 26:[26, 54], Operations: ['71-9=62', '62-8=54']
Exploring Operation: 26+54=80, Resulting Numbers: [80]
80,26 unequal: No Solution
Exploring Operation: 26*54=1404, Resulting Numbers: [1404]
1404,26 unequal: No Solution
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Moving to Node #0,2,1
Current State: 26:[26, 54], Operations: ['8+9=17', '71-17=54']
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 26+54=80, Resulting Numbers: [80]
80,26 unequal: No Solution
Exploring Operation: 26*54=1404, Resulting Numbers: [1404]
1404,26 unequal: No Solution
Moving to Node #0,1,4
Current State: 26:[26, 54], Operations: ['71-8=63', '63-9=54']
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 26+54=80, Resulting Numbers: [80]
80,26 unequal: No Solution
Exploring Operation: 26*54=1404, Resulting Numbers: [1404]
1404,26 unequal: No Solution
Moving to Node #0,4,1
Current State: 26:[62, 18], Operations: ['71-9=62', '26-8=18']
Exploring Operation: 62+18=80, Resulting Numbers: [80]
80,26 unequal: No Solution
Exploring Operation: 62*18=1116, Resulting Numbers: [1116]
1116,26 unequal: No Solution
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Moving to Node #0,1,3
Current State: 26:[63, 17], Operations: ['71-8=63', '26-9=17']
Exploring Operation: 63*17=1071, Resulting Numbers: [1071]
1071,26 unequal: No Solution
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,26 unequal: No Solution
Exploring Operation: 63+17=80, Resulting Numbers: [80]
80,26 unequal: No Solution
Moving to Node #0,4,4
Current State: 26:[26, 70], Operations: ['71-9=62', '8+62=70']
Exploring Operation: 26*70=1820, Resulting Numbers: [1820]
1820,26 unequal: No Solution
Exploring Operation: 26+70=96, Resulting Numbers: [96]
96,26 unequal: No Solution
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Moving to Node #0,4,2
Current State: 26:[62, 34], Operations: ['71-9=62', '8+26=34']
Exploring Operation: 62-34=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 62*34=2108, Resulting Numbers: [2108]
2108,26 unequal: No Solution
Exploring Operation: 62+34=96, Resulting Numbers: [96]
96,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[63, 35], Operations: ['71-8=63', '26+9=35']
Exploring Operation: 63*35=2205, Resulting Numbers: [2205]
2205,26 unequal: No Solution
Exploring Operation: 63+35=98, Resulting Numbers: [98]
98,26 unequal: No Solution
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[71, 9], Operations: ['8+9=17', '26-17=9']
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,26 unequal: No Solution
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,26 unequal: No Solution
Exploring Operation: 71*9=639, Resulting Numbers: [639]
639,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[26, 88], Operations: ['8+9=17', '71+17=88']
Exploring Operation: 26+88=114, Resulting Numbers: [114]
114,26 unequal: No Solution
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,26 unequal: No Solution
Exploring Operation: 26*88=2288, Resulting Numbers: [2288]
2288,26 unequal: No Solution
Moving to Node #0,2,4
Current State: 26:[71, 43], Operations: ['8+9=17', '26+17=43']
Exploring Operation: 71+43=114, Resulting Numbers: [114]
114,26 unequal: No Solution
Exploring Operation: 71*43=3053, Resulting Numbers: [3053]
3053,26 unequal: No Solution
Exploring Operation: 71-43=28, Resulting Numbers: [28]
28,26 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
96,
8,
9,
75
] | 51 | [
"96-75=21",
"8*9=72",
"72-21=51"
] | Current State: 51:[96, 8, 9, 75], Operations: []
Exploring Operation: 96-75=21, Resulting Numbers: [8, 9, 21]
Generated Node #2: [8, 9, 21] from Operation: 96-75=21
Current State: 51:[8, 9, 21], Operations: ['96-75=21']
Exploring Operation: 8*9=72, Resulting Numbers: [21, 72]
Generated Node #3: [21, 72] from Operation: 8*9=72
Current State: 51:[21, 72], Operations: ['96-75=21', '8*9=72']
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[96, 8, 9, 75], Operations: []
Exploring Operation: 96-8=88, Resulting Numbers: [9, 75, 88]
Generated Node #0,0: 51:[9, 75, 88] Operation: 96-8=88
Exploring Operation: 96/8=12, Resulting Numbers: [9, 75, 12]
Generated Node #0,1: 51:[9, 75, 12] Operation: 96/8=12
Exploring Operation: 96-75=21, Resulting Numbers: [8, 9, 21]
Generated Node #0,2: 51:[8, 9, 21] Operation: 96-75=21
Exploring Operation: 96-9=87, Resulting Numbers: [8, 75, 87]
Generated Node #0,3: 51:[8, 75, 87] Operation: 96-9=87
Exploring Operation: 75-9=66, Resulting Numbers: [96, 8, 66]
Generated Node #0,4: 51:[96, 8, 66] Operation: 75-9=66
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[8, 9, 21], Operations: ['96-75=21']
Exploring Operation: 21-9=12, Resulting Numbers: [8, 12]
Generated Node #0,2,0: 51:[8, 12] Operation: 21-9=12
Exploring Operation: 9-8=1, Resulting Numbers: [21, 1]
Generated Node #0,2,1: 51:[21, 1] Operation: 9-8=1
Exploring Operation: 8+21=29, Resulting Numbers: [9, 29]
Generated Node #0,2,2: 51:[9, 29] Operation: 8+21=29
Exploring Operation: 8+9=17, Resulting Numbers: [21, 17]
Generated Node #0,2,3: 51:[21, 17] Operation: 8+9=17
Exploring Operation: 21-8=13, Resulting Numbers: [9, 13]
Generated Node #0,2,4: 51:[9, 13] Operation: 21-8=13
Moving to Node #0,2,3
Current State: 51:[21, 17], Operations: ['96-75=21', '8+9=17']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[21, 1], Operations: ['96-75=21', '9-8=1']
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,51 unequal: No Solution
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[8, 12], Operations: ['96-75=21', '21-9=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,51 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Moving to Node #0,2,4
Current State: 51:[9, 13], Operations: ['96-75=21', '21-8=13']
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,51 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[9, 29], Operations: ['96-75=21', '8+21=29']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,51 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[9, 75, 12], Operations: ['96/8=12']
Exploring Operation: 75-12=63, Resulting Numbers: [9, 63]
Generated Node #0,1,0: 51:[9, 63] Operation: 75-12=63
Exploring Operation: 9+12=21, Resulting Numbers: [75, 21]
Generated Node #0,1,1: 51:[75, 21] Operation: 9+12=21
Exploring Operation: 9+75=84, Resulting Numbers: [12, 84]
Generated Node #0,1,2: 51:[12, 84] Operation: 9+75=84
Exploring Operation: 12-9=3, Resulting Numbers: [75, 3]
Generated Node #0,1,3: 51:[75, 3] Operation: 12-9=3
Exploring Operation: 75-9=66, Resulting Numbers: [12, 66]
Generated Node #0,1,4: 51:[12, 66] Operation: 75-9=66
Moving to Node #0,1,0
Current State: 51:[9, 63], Operations: ['96/8=12', '75-12=63']
Exploring Operation: 9+63=72, Resulting Numbers: [72]
72,51 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,51 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 9*63=567, Resulting Numbers: [567]
567,51 unequal: No Solution
Moving to Node #0,1,4
Current State: 51:[12, 66], Operations: ['96/8=12', '75-9=66']
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,51 unequal: No Solution
Exploring Operation: 12*66=792, Resulting Numbers: [792]
792,51 unequal: No Solution
Exploring Operation: 12+66=78, Resulting Numbers: [78]
78,51 unequal: No Solution
Moving to Node #0,1,3
Current State: 51:[75, 3], Operations: ['96/8=12', '12-9=3']
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,51 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,51 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,51 unequal: No Solution
Exploring Operation: 75*3=225, Resulting Numbers: [225]
225,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[75, 21], Operations: ['96/8=12', '9+12=21']
Exploring Operation: 75+21=96, Resulting Numbers: [96]
96,51 unequal: No Solution
Exploring Operation: 75-21=54, Resulting Numbers: [54]
54,51 unequal: No Solution
Exploring Operation: 75*21=1575, Resulting Numbers: [1575]
1575,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[12, 84], Operations: ['96/8=12', '9+75=84']
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 12*84=1008, Resulting Numbers: [1008]
1008,51 unequal: No Solution
Exploring Operation: 12+84=96, Resulting Numbers: [96]
96,51 unequal: No Solution
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[8, 75, 87], Operations: ['96-9=87']
Exploring Operation: 8+87=95, Resulting Numbers: [75, 95]
Generated Node #0,3,0: 51:[75, 95] Operation: 8+87=95
Exploring Operation: 87-8=79, Resulting Numbers: [75, 79]
Generated Node #0,3,1: 51:[75, 79] Operation: 87-8=79
Exploring Operation: 75-8=67, Resulting Numbers: [87, 67]
Generated Node #0,3,2: 51:[87, 67] Operation: 75-8=67
Exploring Operation: 8+75=83, Resulting Numbers: [87, 83]
Generated Node #0,3,3: 51:[87, 83] Operation: 8+75=83
Exploring Operation: 87-75=12, Resulting Numbers: [8, 12]
Generated Node #0,3,4: 51:[8, 12] Operation: 87-75=12
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 51:[8, 12], Operations: ['96-9=87', '87-75=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,51 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 51:[75, 79], Operations: ['96-9=87', '87-8=79']
Exploring Operation: 79-75=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 75*79=5925, Resulting Numbers: [5925]
5925,51 unequal: No Solution
Exploring Operation: 75+79=154, Resulting Numbers: [154]
154,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 51:[87, 67], Operations: ['96-9=87', '75-8=67']
Exploring Operation: 87-67=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 87+67=154, Resulting Numbers: [154]
154,51 unequal: No Solution
Exploring Operation: 87*67=5829, Resulting Numbers: [5829]
5829,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 51:[75, 95], Operations: ['96-9=87', '8+87=95']
Exploring Operation: 75*95=7125, Resulting Numbers: [7125]
7125,51 unequal: No Solution
Exploring Operation: 75+95=170, Resulting Numbers: [170]
170,51 unequal: No Solution
Exploring Operation: 95-75=20, Resulting Numbers: [20]
20,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 51:[87, 83], Operations: ['96-9=87', '8+75=83']
Exploring Operation: 87*83=7221, Resulting Numbers: [7221]
7221,51 unequal: No Solution
Exploring Operation: 87-83=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 87+83=170, Resulting Numbers: [170]
170,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 51:[96, 8, 66], Operations: ['75-9=66']
Exploring Operation: 96-8=88, Resulting Numbers: [66, 88]
Generated Node #0,4,0: 51:[66, 88] Operation: 96-8=88
Exploring Operation: 96/8=12, Resulting Numbers: [66, 12]
Generated Node #0,4,1: 51:[66, 12] Operation: 96/8=12
Exploring Operation: 96-66=30, Resulting Numbers: [8, 30]
Generated Node #0,4,2: 51:[8, 30] Operation: 96-66=30
Exploring Operation: 96+8=104, Resulting Numbers: [66, 104]
Generated Node #0,4,3: 51:[66, 104] Operation: 96+8=104
Exploring Operation: 66-8=58, Resulting Numbers: [96, 58]
Generated Node #0,4,4: 51:[96, 58] Operation: 66-8=58
Moving to Node #0,4,2
Current State: 51:[8, 30], Operations: ['75-9=66', '96-66=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,51 unequal: No Solution
Moving to Node #0,4,1
Current State: 51:[66, 12], Operations: ['75-9=66', '96/8=12']
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,51 unequal: No Solution
Exploring Operation: 66+12=78, Resulting Numbers: [78]
78,51 unequal: No Solution
Exploring Operation: 66*12=792, Resulting Numbers: [792]
792,51 unequal: No Solution
Moving to Node #0,4,0
Current State: 51:[66, 88], Operations: ['75-9=66', '96-8=88']
Exploring Operation: 66+88=154, Resulting Numbers: [154]
154,51 unequal: No Solution
Exploring Operation: 88-66=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 66*88=5808, Resulting Numbers: [5808]
5808,51 unequal: No Solution
Moving to Node #0,4,4
Current State: 51:[96, 58], Operations: ['75-9=66', '66-8=58']
Exploring Operation: 96*58=5568, Resulting Numbers: [5568]
5568,51 unequal: No Solution
Exploring Operation: 96+58=154, Resulting Numbers: [154]
154,51 unequal: No Solution
Exploring Operation: 96-58=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Moving to Node #0,4,3
Current State: 51:[66, 104], Operations: ['75-9=66', '96+8=104']
Exploring Operation: 66*104=6864, Resulting Numbers: [6864]
6864,51 unequal: No Solution
Exploring Operation: 66+104=170, Resulting Numbers: [170]
170,51 unequal: No Solution
Exploring Operation: 104-66=38, Resulting Numbers: [38]
38,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[9, 75, 88], Operations: ['96-8=88']
Exploring Operation: 88-9=79, Resulting Numbers: [75, 79]
Generated Node #0,0,0: 51:[75, 79] Operation: 88-9=79
Exploring Operation: 75-9=66, Resulting Numbers: [88, 66]
Generated Node #0,0,1: 51:[88, 66] Operation: 75-9=66
Exploring Operation: 9+75=84, Resulting Numbers: [88, 84]
Generated Node #0,0,2: 51:[88, 84] Operation: 9+75=84
Exploring Operation: 88-75=13, Resulting Numbers: [9, 13]
Generated Node #0,0,3: 51:[9, 13] Operation: 88-75=13
Exploring Operation: 9+88=97, Resulting Numbers: [75, 97]
Generated Node #0,0,4: 51:[75, 97] Operation: 9+88=97
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 51:[9, 13], Operations: ['96-8=88', '88-75=13']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[75, 79], Operations: ['96-8=88', '88-9=79']
Exploring Operation: 75*79=5925, Resulting Numbers: [5925]
5925,51 unequal: No Solution
Exploring Operation: 75+79=154, Resulting Numbers: [154]
154,51 unequal: No Solution
Exploring Operation: 79-75=4, Resulting Numbers: [4]
4,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[88, 66], Operations: ['96-8=88', '75-9=66']
Exploring Operation: 88+66=154, Resulting Numbers: [154]
154,51 unequal: No Solution
Exploring Operation: 88*66=5808, Resulting Numbers: [5808]
5808,51 unequal: No Solution
Exploring Operation: 88-66=22, Resulting Numbers: [22]
22,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 51:[88, 84], Operations: ['96-8=88', '9+75=84']
Exploring Operation: 88-84=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 88+84=172, Resulting Numbers: [172]
172,51 unequal: No Solution
Exploring Operation: 88*84=7392, Resulting Numbers: [7392]
7392,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 51:[75, 97], Operations: ['96-8=88', '9+88=97']
Exploring Operation: 75*97=7275, Resulting Numbers: [7275]
7275,51 unequal: No Solution
Exploring Operation: 75+97=172, Resulting Numbers: [172]
172,51 unequal: No Solution
Exploring Operation: 97-75=22, Resulting Numbers: [22]
22,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
8,
96,
5,
88
] | 17 | [
"88/8=11",
"96-11=85",
"85/5=17"
] | Current State: 17:[8, 96, 5, 88], Operations: []
Exploring Operation: 88/8=11, Resulting Numbers: [96, 5, 11]
Generated Node #2: [96, 5, 11] from Operation: 88/8=11
Current State: 17:[96, 5, 11], Operations: ['88/8=11']
Exploring Operation: 96-11=85, Resulting Numbers: [5, 85]
Generated Node #3: [5, 85] from Operation: 96-11=85
Current State: 17:[5, 85], Operations: ['88/8=11', '96-11=85']
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[8, 96, 5, 88], Operations: []
Exploring Operation: 96-88=8, Resulting Numbers: [8, 5, 8]
Generated Node #0,0: 17:[8, 5, 8] Operation: 96-88=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[8, 5, 8], Operations: ['96-88=8']
Exploring Operation: 8+5=13, Resulting Numbers: [8, 13]
Generated Node #0,0,0: 17:[8, 13] Operation: 8+5=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[8, 13], Operations: ['96-88=8', '8+5=13']
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,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_1 | mult_heuristic |
[
15,
4,
29,
33
] | 89 | [
"29-15=14",
"4*14=56",
"33+56=89"
] | Current State: 89:[15, 4, 29, 33], Operations: []
Exploring Operation: 29-15=14, Resulting Numbers: [4, 33, 14]
Generated Node #2: [4, 33, 14] from Operation: 29-15=14
Current State: 89:[4, 33, 14], Operations: ['29-15=14']
Exploring Operation: 4*14=56, Resulting Numbers: [33, 56]
Generated Node #3: [33, 56] from Operation: 4*14=56
Current State: 89:[33, 56], Operations: ['29-15=14', '4*14=56']
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[15, 4, 29, 33], Operations: []
Exploring Operation: 4*29=116, Resulting Numbers: [15, 33, 116]
Generated Node #0,0: 89:[15, 33, 116] Operation: 4*29=116
Exploring Operation: 4*33=132, Resulting Numbers: [15, 29, 132]
Generated Node #0,1: 89:[15, 29, 132] Operation: 4*33=132
Exploring Operation: 15*4=60, Resulting Numbers: [29, 33, 60]
Generated Node #0,2: 89:[29, 33, 60] Operation: 15*4=60
Moving to Node #0,2
Current State: 89:[29, 33, 60], Operations: ['15*4=60']
Exploring Operation: 33+60=93, Resulting Numbers: [29, 93]
Generated Node #0,2,0: 89:[29, 93] Operation: 33+60=93
Exploring Operation: 29+60=89, Resulting Numbers: [33, 89]
Generated Node #0,2,1: 89:[33, 89] Operation: 29+60=89
Exploring Operation: 29+33=62, Resulting Numbers: [60, 62]
Generated Node #0,2,2: 89:[60, 62] Operation: 29+33=62
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[33, 89], Operations: ['15*4=60', '29+60=89']
Exploring Operation: 89-33=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 33+89=122, Resulting Numbers: [122]
122,89 unequal: No Solution
Exploring Operation: 33*89=2937, Resulting Numbers: [2937]
2937,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[60, 62], Operations: ['15*4=60', '29+33=62']
Exploring Operation: 60*62=3720, Resulting Numbers: [3720]
3720,89 unequal: No Solution
Exploring Operation: 62-60=2, Resulting Numbers: [2]
2,89 unequal: No Solution
Exploring Operation: 60+62=122, Resulting Numbers: [122]
122,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[29, 93], Operations: ['15*4=60', '33+60=93']
Exploring Operation: 93-29=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Exploring Operation: 29*93=2697, Resulting Numbers: [2697]
2697,89 unequal: No Solution
Exploring Operation: 29+93=122, Resulting Numbers: [122]
122,89 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: 89:[15, 33, 116], Operations: ['4*29=116']
Exploring Operation: 116-15=101, Resulting Numbers: [33, 101]
Generated Node #0,0,0: 89:[33, 101] Operation: 116-15=101
Exploring Operation: 15+33=48, Resulting Numbers: [116, 48]
Generated Node #0,0,1: 89:[116, 48] Operation: 15+33=48
Exploring Operation: 116-33=83, Resulting Numbers: [15, 83]
Generated Node #0,0,2: 89:[15, 83] Operation: 116-33=83
Moving to Node #0,1
Current State: 89:[15, 29, 132], Operations: ['4*33=132']
Exploring Operation: 132-15=117, Resulting Numbers: [29, 117]
Generated Node #0,1,0: 89:[29, 117] Operation: 132-15=117
Exploring Operation: 132-29=103, Resulting Numbers: [15, 103]
Generated Node #0,1,1: 89:[15, 103] Operation: 132-29=103
Exploring Operation: 15+29=44, Resulting Numbers: [132, 44]
Generated Node #0,1,2: 89:[132, 44] Operation: 15+29=44
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[29, 117], Operations: ['4*33=132', '132-15=117']
Exploring Operation: 117-29=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 29+117=146, Resulting Numbers: [146]
146,89 unequal: No Solution
Exploring Operation: 29*117=3393, Resulting Numbers: [3393]
3393,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[15, 103], Operations: ['4*33=132', '132-29=103']
Exploring Operation: 103-15=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 15*103=1545, Resulting Numbers: [1545]
1545,89 unequal: No Solution
Exploring Operation: 15+103=118, Resulting Numbers: [118]
118,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[132, 44], Operations: ['4*33=132', '15+29=44']
Exploring Operation: 132/44=3, Resulting Numbers: [3]
3,89 unequal: No Solution
Exploring Operation: 132-44=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 132+44=176, Resulting Numbers: [176]
176,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 89:[33, 101], Operations: ['4*29=116', '116-15=101']
Exploring Operation: 33*101=3333, Resulting Numbers: [3333]
3333,89 unequal: No Solution
Exploring Operation: 33+101=134, Resulting Numbers: [134]
134,89 unequal: No Solution
Exploring Operation: 101-33=68, Resulting Numbers: [68]
68,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[116, 48], Operations: ['4*29=116', '15+33=48']
Exploring Operation: 116+48=164, Resulting Numbers: [164]
164,89 unequal: No Solution
Exploring Operation: 116-48=68, Resulting Numbers: [68]
68,89 unequal: No Solution
Exploring Operation: 116*48=5568, Resulting Numbers: [5568]
5568,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[15, 83], Operations: ['4*29=116', '116-33=83']
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,89 unequal: No Solution
Exploring Operation: 15+83=98, Resulting Numbers: [98]
98,89 unequal: No Solution
Exploring Operation: 15*83=1245, Resulting Numbers: [1245]
1245,89 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
70,
94,
35,
20
] | 57 | [
"70/35=2",
"94+20=114",
"114/2=57"
] | Current State: 57:[70, 94, 35, 20], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [94, 20, 2]
Generated Node #2: [94, 20, 2] from Operation: 70/35=2
Current State: 57:[94, 20, 2], Operations: ['70/35=2']
Exploring Operation: 94+20=114, Resulting Numbers: [2, 114]
Generated Node #3: [2, 114] from Operation: 94+20=114
Current State: 57:[2, 114], Operations: ['70/35=2', '94+20=114']
Exploring Operation: 114/2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[70, 94, 35, 20], Operations: []
Exploring Operation: 94-35=59, Resulting Numbers: [70, 20, 59]
Generated Node #0,0: 57:[70, 20, 59] Operation: 94-35=59
Exploring Operation: 94-70=24, Resulting Numbers: [35, 20, 24]
Generated Node #0,1: 57:[35, 20, 24] Operation: 94-70=24
Moving to Node #0,0
Current State: 57:[70, 20, 59], Operations: ['94-35=59']
Exploring Operation: 70-20=50, Resulting Numbers: [59, 50]
Generated Node #0,0,0: 57:[59, 50] Operation: 70-20=50
Exploring Operation: 70-59=11, Resulting Numbers: [20, 11]
Generated Node #0,0,1: 57:[20, 11] Operation: 70-59=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[59, 50], Operations: ['94-35=59', '70-20=50']
Exploring Operation: 59-50=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 59+50=109, Resulting Numbers: [109]
109,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 57:[20, 11], Operations: ['94-35=59', '70-59=11']
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 57:[35, 20, 24], Operations: ['94-70=24']
Exploring Operation: 35+20=55, Resulting Numbers: [24, 55]
Generated Node #0,1,0: 57:[24, 55] Operation: 35+20=55
Exploring Operation: 35+24=59, Resulting Numbers: [20, 59]
Generated Node #0,1,1: 57:[20, 59] Operation: 35+24=59
Moving to Node #0,1,1
Current State: 57:[20, 59], Operations: ['94-70=24', '35+24=59']
Exploring Operation: 20+59=79, Resulting Numbers: [79]
79,57 unequal: No Solution
Exploring Operation: 59-20=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[24, 55], Operations: ['94-70=24', '35+20=55']
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Exploring Operation: 24+55=79, Resulting Numbers: [79]
79,57 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
75,
1,
66,
5
] | 28 | [
"75-1=74",
"66+74=140",
"140/5=28"
] | Current State: 28:[75, 1, 66, 5], Operations: []
Exploring Operation: 75-1=74, Resulting Numbers: [66, 5, 74]
Generated Node #2: [66, 5, 74] from Operation: 75-1=74
Current State: 28:[66, 5, 74], Operations: ['75-1=74']
Exploring Operation: 66+74=140, Resulting Numbers: [5, 140]
Generated Node #3: [5, 140] from Operation: 66+74=140
Current State: 28:[5, 140], Operations: ['75-1=74', '66+74=140']
Exploring Operation: 140/5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[75, 1, 66, 5], Operations: []
Exploring Operation: 75/5=15, Resulting Numbers: [1, 66, 15]
Generated Node #0,0: 28:[1, 66, 15] Operation: 75/5=15
Exploring Operation: 66-5=61, Resulting Numbers: [75, 1, 61]
Generated Node #0,1: 28:[75, 1, 61] Operation: 66-5=61
Exploring Operation: 75-5=70, Resulting Numbers: [1, 66, 70]
Generated Node #0,2: 28:[1, 66, 70] Operation: 75-5=70
Exploring Operation: 75-1=74, Resulting Numbers: [66, 5, 74]
Generated Node #0,3: 28:[66, 5, 74] Operation: 75-1=74
Exploring Operation: 75-66=9, Resulting Numbers: [1, 5, 9]
Generated Node #0,4: 28:[1, 5, 9] Operation: 75-66=9
Start Sub Search at level 1: Moving to Node #0,4
Current State: 28:[1, 5, 9], Operations: ['75-66=9']
Exploring Operation: 9-5=4, Resulting Numbers: [1, 4]
Generated Node #0,4,0: 28:[1, 4] Operation: 9-5=4
Exploring Operation: 9-1=8, Resulting Numbers: [5, 8]
Generated Node #0,4,1: 28:[5, 8] Operation: 9-1=8
Exploring Operation: 5+9=14, Resulting Numbers: [1, 14]
Generated Node #0,4,2: 28:[1, 14] Operation: 5+9=14
Exploring Operation: 1+5=6, Resulting Numbers: [9, 6]
Generated Node #0,4,3: 28:[9, 6] Operation: 1+5=6
Exploring Operation: 5-1=4, Resulting Numbers: [9, 4]
Generated Node #0,4,4: 28:[9, 4] Operation: 5-1=4
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 28:[1, 4], Operations: ['75-66=9', '9-5=4']
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 28:[1, 14], Operations: ['75-66=9', '5+9=14']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,28 unequal: No Solution
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 28:[5, 8], Operations: ['75-66=9', '9-1=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 28:[9, 4], Operations: ['75-66=9', '5-1=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 28:[9, 6], Operations: ['75-66=9', '1+5=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,28 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[1, 66, 15], Operations: ['75/5=15']
Exploring Operation: 66-1=65, Resulting Numbers: [15, 65]
Generated Node #0,0,0: 28:[15, 65] Operation: 66-1=65
Exploring Operation: 1*66=66, Resulting Numbers: [15, 66]
Generated Node #0,0,1: 28:[15, 66] Operation: 1*66=66
Exploring Operation: 66/1=66, Resulting Numbers: [15, 66]
Generated Node #0,0,2: 28:[15, 66] Operation: 66/1=66
Exploring Operation: 66-15=51, Resulting Numbers: [1, 51]
Generated Node #0,0,3: 28:[1, 51] Operation: 66-15=51
Exploring Operation: 15-1=14, Resulting Numbers: [66, 14]
Generated Node #0,0,4: 28:[66, 14] Operation: 15-1=14
Moving to Node #0,0,3
Current State: 28:[1, 51], Operations: ['75/5=15', '66-15=51']
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,28 unequal: No Solution
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Moving to Node #0,0,4
Current State: 28:[66, 14], Operations: ['75/5=15', '15-1=14']
Exploring Operation: 66*14=924, Resulting Numbers: [924]
924,28 unequal: No Solution
Exploring Operation: 66+14=80, Resulting Numbers: [80]
80,28 unequal: No Solution
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[15, 65], Operations: ['75/5=15', '66-1=65']
Exploring Operation: 15*65=975, Resulting Numbers: [975]
975,28 unequal: No Solution
Exploring Operation: 65-15=50, Resulting Numbers: [50]
50,28 unequal: No Solution
Exploring Operation: 15+65=80, Resulting Numbers: [80]
80,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[15, 66], Operations: ['75/5=15', '1*66=66']
Exploring Operation: 15*66=990, Resulting Numbers: [990]
990,28 unequal: No Solution
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Exploring Operation: 15+66=81, Resulting Numbers: [81]
81,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[15, 66], Operations: ['75/5=15', '66/1=66']
Exploring Operation: 15*66=990, Resulting Numbers: [990]
990,28 unequal: No Solution
Exploring Operation: 15+66=81, Resulting Numbers: [81]
81,28 unequal: No Solution
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[75, 1, 61], Operations: ['66-5=61']
Exploring Operation: 75-1=74, Resulting Numbers: [61, 74]
Generated Node #0,1,0: 28:[61, 74] Operation: 75-1=74
Exploring Operation: 75-61=14, Resulting Numbers: [1, 14]
Generated Node #0,1,1: 28:[1, 14] Operation: 75-61=14
Exploring Operation: 75*1=75, Resulting Numbers: [61, 75]
Generated Node #0,1,2: 28:[61, 75] Operation: 75*1=75
Exploring Operation: 61-1=60, Resulting Numbers: [75, 60]
Generated Node #0,1,3: 28:[75, 60] Operation: 61-1=60
Exploring Operation: 75/1=75, Resulting Numbers: [61, 75]
Generated Node #0,1,4: 28:[61, 75] Operation: 75/1=75
Moving to Node #0,1,1
Current State: 28:[1, 14], Operations: ['66-5=61', '75-61=14']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,28 unequal: No Solution
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Moving to Node #0,1,3
Current State: 28:[75, 60], Operations: ['66-5=61', '61-1=60']
Exploring Operation: 75*60=4500, Resulting Numbers: [4500]
4500,28 unequal: No Solution
Exploring Operation: 75+60=135, Resulting Numbers: [135]
135,28 unequal: No Solution
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,28 unequal: No Solution
Moving to Node #0,1,0
Current State: 28:[61, 74], Operations: ['66-5=61', '75-1=74']
Exploring Operation: 61*74=4514, Resulting Numbers: [4514]
4514,28 unequal: No Solution
Exploring Operation: 74-61=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 61+74=135, Resulting Numbers: [135]
135,28 unequal: No Solution
Moving to Node #0,1,2
Current State: 28:[61, 75], Operations: ['66-5=61', '75*1=75']
Exploring Operation: 61*75=4575, Resulting Numbers: [4575]
4575,28 unequal: No Solution
Exploring Operation: 61+75=136, Resulting Numbers: [136]
136,28 unequal: No Solution
Exploring Operation: 75-61=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Moving to Node #0,1,4
Current State: 28:[61, 75], Operations: ['66-5=61', '75/1=75']
Exploring Operation: 61+75=136, Resulting Numbers: [136]
136,28 unequal: No Solution
Exploring Operation: 75-61=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 61*75=4575, Resulting Numbers: [4575]
4575,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[1, 66, 70], Operations: ['75-5=70']
Exploring Operation: 1*66=66, Resulting Numbers: [70, 66]
Generated Node #0,2,0: 28:[70, 66] Operation: 1*66=66
Exploring Operation: 66-1=65, Resulting Numbers: [70, 65]
Generated Node #0,2,1: 28:[70, 65] Operation: 66-1=65
Exploring Operation: 70-66=4, Resulting Numbers: [1, 4]
Generated Node #0,2,2: 28:[1, 4] Operation: 70-66=4
Exploring Operation: 66/1=66, Resulting Numbers: [70, 66]
Generated Node #0,2,3: 28:[70, 66] Operation: 66/1=66
Exploring Operation: 70-1=69, Resulting Numbers: [66, 69]
Generated Node #0,2,4: 28:[66, 69] Operation: 70-1=69
Moving to Node #0,2,2
Current State: 28:[1, 4], Operations: ['75-5=70', '70-66=4']
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Moving to Node #0,2,4
Current State: 28:[66, 69], Operations: ['75-5=70', '70-1=69']
Exploring Operation: 66*69=4554, Resulting Numbers: [4554]
4554,28 unequal: No Solution
Exploring Operation: 66+69=135, Resulting Numbers: [135]
135,28 unequal: No Solution
Exploring Operation: 69-66=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Moving to Node #0,2,1
Current State: 28:[70, 65], Operations: ['75-5=70', '66-1=65']
Exploring Operation: 70*65=4550, Resulting Numbers: [4550]
4550,28 unequal: No Solution
Exploring Operation: 70+65=135, Resulting Numbers: [135]
135,28 unequal: No Solution
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[70, 66], Operations: ['75-5=70', '1*66=66']
Exploring Operation: 70+66=136, Resulting Numbers: [136]
136,28 unequal: No Solution
Exploring Operation: 70*66=4620, Resulting Numbers: [4620]
4620,28 unequal: No Solution
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Moving to Node #0,2,3
Current State: 28:[70, 66], Operations: ['75-5=70', '66/1=66']
Exploring Operation: 70*66=4620, Resulting Numbers: [4620]
4620,28 unequal: No Solution
Exploring Operation: 70+66=136, Resulting Numbers: [136]
136,28 unequal: No Solution
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,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
Current State: 28:[66, 5, 74], Operations: ['75-1=74']
Exploring Operation: 74-66=8, Resulting Numbers: [5, 8]
Generated Node #0,3,0: 28:[5, 8] Operation: 74-66=8
Exploring Operation: 66-5=61, Resulting Numbers: [74, 61]
Generated Node #0,3,1: 28:[74, 61] Operation: 66-5=61
Exploring Operation: 5+74=79, Resulting Numbers: [66, 79]
Generated Node #0,3,2: 28:[66, 79] Operation: 5+74=79
Exploring Operation: 74-5=69, Resulting Numbers: [66, 69]
Generated Node #0,3,3: 28:[66, 69] Operation: 74-5=69
Exploring Operation: 66+5=71, Resulting Numbers: [74, 71]
Generated Node #0,3,4: 28:[74, 71] Operation: 66+5=71
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 28:[5, 8], Operations: ['75-1=74', '74-66=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 28:[74, 61], Operations: ['75-1=74', '66-5=61']
Exploring Operation: 74*61=4514, Resulting Numbers: [4514]
4514,28 unequal: No Solution
Exploring Operation: 74-61=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 74+61=135, Resulting Numbers: [135]
135,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 28:[66, 69], Operations: ['75-1=74', '74-5=69']
Exploring Operation: 69-66=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 66+69=135, Resulting Numbers: [135]
135,28 unequal: No Solution
Exploring Operation: 66*69=4554, Resulting Numbers: [4554]
4554,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 28:[66, 79], Operations: ['75-1=74', '5+74=79']
Exploring Operation: 79-66=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 66+79=145, Resulting Numbers: [145]
145,28 unequal: No Solution
Exploring Operation: 66*79=5214, Resulting Numbers: [5214]
5214,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 28:[74, 71], Operations: ['75-1=74', '66+5=71']
Exploring Operation: 74*71=5254, Resulting Numbers: [5254]
5254,28 unequal: No Solution
Exploring Operation: 74+71=145, Resulting Numbers: [145]
145,28 unequal: No Solution
Exploring Operation: 74-71=3, Resulting Numbers: [3]
3,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
69,
29,
10,
71
] | 21 | [
"69-29=40",
"71-10=61",
"61-40=21"
] | Current State: 21:[69, 29, 10, 71], Operations: []
Exploring Operation: 69-29=40, Resulting Numbers: [10, 71, 40]
Generated Node #2: [10, 71, 40] from Operation: 69-29=40
Current State: 21:[10, 71, 40], Operations: ['69-29=40']
Exploring Operation: 71-10=61, Resulting Numbers: [40, 61]
Generated Node #3: [40, 61] from Operation: 71-10=61
Current State: 21:[40, 61], Operations: ['69-29=40', '71-10=61']
Exploring Operation: 61-40=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[69, 29, 10, 71], Operations: []
Exploring Operation: 71-69=2, Resulting Numbers: [29, 10, 2]
Generated Node #0,0: 21:[29, 10, 2] Operation: 71-69=2
Exploring Operation: 69-29=40, Resulting Numbers: [10, 71, 40]
Generated Node #0,1: 21:[10, 71, 40] Operation: 69-29=40
Exploring Operation: 71-29=42, Resulting Numbers: [69, 10, 42]
Generated Node #0,2: 21:[69, 10, 42] Operation: 71-29=42
Exploring Operation: 69-10=59, Resulting Numbers: [29, 71, 59]
Generated Node #0,3: 21:[29, 71, 59] Operation: 69-10=59
Moving to Node #0,0
Current State: 21:[29, 10, 2], Operations: ['71-69=2']
Exploring Operation: 10*2=20, Resulting Numbers: [29, 20]
Generated Node #0,0,0: 21:[29, 20] Operation: 10*2=20
Exploring Operation: 29-10=19, Resulting Numbers: [2, 19]
Generated Node #0,0,1: 21:[2, 19] Operation: 29-10=19
Exploring Operation: 29-2=27, Resulting Numbers: [10, 27]
Generated Node #0,0,2: 21:[10, 27] Operation: 29-2=27
Exploring Operation: 10-2=8, Resulting Numbers: [29, 8]
Generated Node #0,0,3: 21:[29, 8] Operation: 10-2=8
Moving to Node #0,2
Current State: 21:[69, 10, 42], Operations: ['71-29=42']
Exploring Operation: 69-10=59, Resulting Numbers: [42, 59]
Generated Node #0,2,0: 21:[42, 59] Operation: 69-10=59
Exploring Operation: 69-42=27, Resulting Numbers: [10, 27]
Generated Node #0,2,1: 21:[10, 27] Operation: 69-42=27
Exploring Operation: 42-10=32, Resulting Numbers: [69, 32]
Generated Node #0,2,2: 21:[69, 32] Operation: 42-10=32
Exploring Operation: 69+10=79, Resulting Numbers: [42, 79]
Generated Node #0,2,3: 21:[42, 79] Operation: 69+10=79
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 21:[10, 27], Operations: ['71-29=42', '69-42=27']
Exploring Operation: 10+27=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 10*27=270, Resulting Numbers: [270]
270,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 21:[42, 59], Operations: ['71-29=42', '69-10=59']
Exploring Operation: 42*59=2478, Resulting Numbers: [2478]
2478,21 unequal: No Solution
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 42+59=101, Resulting Numbers: [101]
101,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 21:[69, 32], Operations: ['71-29=42', '42-10=32']
Exploring Operation: 69+32=101, Resulting Numbers: [101]
101,21 unequal: No Solution
Exploring Operation: 69*32=2208, Resulting Numbers: [2208]
2208,21 unequal: No Solution
Exploring Operation: 69-32=37, Resulting Numbers: [37]
37,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 21:[42, 79], Operations: ['71-29=42', '69+10=79']
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 42*79=3318, Resulting Numbers: [3318]
3318,21 unequal: No Solution
Exploring Operation: 42+79=121, Resulting Numbers: [121]
121,21 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: 21:[10, 71, 40], Operations: ['69-29=40']
Exploring Operation: 71-40=31, Resulting Numbers: [10, 31]
Generated Node #0,1,0: 21:[10, 31] Operation: 71-40=31
Exploring Operation: 40/10=4, Resulting Numbers: [71, 4]
Generated Node #0,1,1: 21:[71, 4] Operation: 40/10=4
Exploring Operation: 40-10=30, Resulting Numbers: [71, 30]
Generated Node #0,1,2: 21:[71, 30] Operation: 40-10=30
Exploring Operation: 71-10=61, Resulting Numbers: [40, 61]
Generated Node #0,1,3: 21:[40, 61] Operation: 71-10=61
Moving to Node #0,3
Current State: 21:[29, 71, 59], Operations: ['69-10=59']
Exploring Operation: 59-29=30, Resulting Numbers: [71, 30]
Generated Node #0,3,0: 21:[71, 30] Operation: 59-29=30
Exploring Operation: 29+71=100, Resulting Numbers: [59, 100]
Generated Node #0,3,1: 21:[59, 100] Operation: 29+71=100
Exploring Operation: 71-59=12, Resulting Numbers: [29, 12]
Generated Node #0,3,2: 21:[29, 12] Operation: 71-59=12
Exploring Operation: 71-29=42, Resulting Numbers: [59, 42]
Generated Node #0,3,3: 21:[59, 42] Operation: 71-29=42
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 21:[29, 12], Operations: ['69-10=59', '71-59=12']
Exploring Operation: 29*12=348, Resulting Numbers: [348]
348,21 unequal: No Solution
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,21 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 21:[71, 30], Operations: ['69-10=59', '59-29=30']
Exploring Operation: 71+30=101, Resulting Numbers: [101]
101,21 unequal: No Solution
Exploring Operation: 71*30=2130, Resulting Numbers: [2130]
2130,21 unequal: No Solution
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 21:[59, 42], Operations: ['69-10=59', '71-29=42']
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 59*42=2478, Resulting Numbers: [2478]
2478,21 unequal: No Solution
Exploring Operation: 59+42=101, Resulting Numbers: [101]
101,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 21:[59, 100], Operations: ['69-10=59', '29+71=100']
Exploring Operation: 100-59=41, Resulting Numbers: [41]
41,21 unequal: No Solution
Exploring Operation: 59*100=5900, Resulting Numbers: [5900]
5900,21 unequal: No Solution
Exploring Operation: 59+100=159, Resulting Numbers: [159]
159,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 21:[2, 19], Operations: ['71-69=2', '29-10=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[69, 29, 10, 71], Operations: []
Exploring Operation: 71-69=2, Resulting Numbers: [29, 10, 2]
Generated Node #0,0: 21:[29, 10, 2] Operation: 71-69=2
Moving to Node #0,0
Current State: 21:[29, 10, 2], Operations: ['71-69=2']
Exploring Operation: 29-10=19, Resulting Numbers: [2, 19]
Generated Node #0,0,1: 21:[2, 19] Operation: 29-10=19
Moving to Node #0,0,1
Current State: 21:[2, 19], Operations: ['71-69=2', '29-10=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 0.957465 | hs_4 | mult_heuristic |
[
66,
11,
5,
86
] | 86 | [
"66/11=6",
"6-5=1",
"86*1=86"
] | Current State: 86:[66, 11, 5, 86], Operations: []
Exploring Operation: 66/11=6, Resulting Numbers: [5, 86, 6]
Generated Node #2: [5, 86, 6] from Operation: 66/11=6
Current State: 86:[5, 86, 6], Operations: ['66/11=6']
Exploring Operation: 6-5=1, Resulting Numbers: [86, 1]
Generated Node #3: [86, 1] from Operation: 6-5=1
Current State: 86:[86, 1], Operations: ['66/11=6', '6-5=1']
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[66, 11, 5, 86], Operations: []
Exploring Operation: 66+11=77, Resulting Numbers: [5, 86, 77]
Generated Node #0,0: 86:[5, 86, 77] Operation: 66+11=77
Exploring Operation: 66-11=55, Resulting Numbers: [5, 86, 55]
Generated Node #0,1: 86:[5, 86, 55] Operation: 66-11=55
Exploring Operation: 66+5=71, Resulting Numbers: [11, 86, 71]
Generated Node #0,2: 86:[11, 86, 71] Operation: 66+5=71
Exploring Operation: 66/11=6, Resulting Numbers: [5, 86, 6]
Generated Node #0,3: 86:[5, 86, 6] Operation: 66/11=6
Moving to Node #0,3
Current State: 86:[5, 86, 6], Operations: ['66/11=6']
Exploring Operation: 5+6=11, Resulting Numbers: [86, 11]
Generated Node #0,3,0: 86:[86, 11] Operation: 5+6=11
Exploring Operation: 86-5=81, Resulting Numbers: [6, 81]
Generated Node #0,3,1: 86:[6, 81] Operation: 86-5=81
Exploring Operation: 5+86=91, Resulting Numbers: [6, 91]
Generated Node #0,3,2: 86:[6, 91] Operation: 5+86=91
Exploring Operation: 6-5=1, Resulting Numbers: [86, 1]
Generated Node #0,3,3: 86:[86, 1] Operation: 6-5=1
Moving to Node #0,0
Current State: 86:[5, 86, 77], Operations: ['66+11=77']
Exploring Operation: 86-5=81, Resulting Numbers: [77, 81]
Generated Node #0,0,0: 86:[77, 81] Operation: 86-5=81
Exploring Operation: 5+86=91, Resulting Numbers: [77, 91]
Generated Node #0,0,1: 86:[77, 91] Operation: 5+86=91
Exploring Operation: 86-77=9, Resulting Numbers: [5, 9]
Generated Node #0,0,2: 86:[5, 9] Operation: 86-77=9
Exploring Operation: 5+77=82, Resulting Numbers: [86, 82]
Generated Node #0,0,3: 86:[86, 82] Operation: 5+77=82
Moving to Node #0,1
Current State: 86:[5, 86, 55], Operations: ['66-11=55']
Exploring Operation: 55-5=50, Resulting Numbers: [86, 50]
Generated Node #0,1,0: 86:[86, 50] Operation: 55-5=50
Exploring Operation: 5+86=91, Resulting Numbers: [55, 91]
Generated Node #0,1,1: 86:[55, 91] Operation: 5+86=91
Exploring Operation: 86-55=31, Resulting Numbers: [5, 31]
Generated Node #0,1,2: 86:[5, 31] Operation: 86-55=31
Exploring Operation: 55/5=11, Resulting Numbers: [86, 11]
Generated Node #0,1,3: 86:[86, 11] Operation: 55/5=11
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[86, 50], Operations: ['66-11=55', '55-5=50']
Exploring Operation: 86+50=136, Resulting Numbers: [136]
136,86 unequal: No Solution
Exploring Operation: 86-50=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 86*50=4300, Resulting Numbers: [4300]
4300,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 86:[86, 11], Operations: ['66-11=55', '55/5=11']
Exploring Operation: 86-11=75, Resulting Numbers: [75]
75,86 unequal: No Solution
Exploring Operation: 86*11=946, Resulting Numbers: [946]
946,86 unequal: No Solution
Exploring Operation: 86+11=97, Resulting Numbers: [97]
97,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[5, 31], Operations: ['66-11=55', '86-55=31']
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,86 unequal: No Solution
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[55, 91], Operations: ['66-11=55', '5+86=91']
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 55+91=146, Resulting Numbers: [146]
146,86 unequal: No Solution
Exploring Operation: 55*91=5005, Resulting Numbers: [5005]
5005,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 86:[11, 86, 71], Operations: ['66+5=71']
Exploring Operation: 11+71=82, Resulting Numbers: [86, 82]
Generated Node #0,2,0: 86:[86, 82] Operation: 11+71=82
Exploring Operation: 11+86=97, Resulting Numbers: [71, 97]
Generated Node #0,2,1: 86:[71, 97] Operation: 11+86=97
Exploring Operation: 71-11=60, Resulting Numbers: [86, 60]
Generated Node #0,2,2: 86:[86, 60] Operation: 71-11=60
Exploring Operation: 86-71=15, Resulting Numbers: [11, 15]
Generated Node #0,2,3: 86:[11, 15] Operation: 86-71=15
Moving to Node #0,3,3
Current State: 86:[86, 1], Operations: ['66/11=6', '6-5=1']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 86+1=87, Resulting Numbers: [87]
87,86 unequal: No Solution
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[66, 11, 5, 86], Operations: []
Exploring Operation: 66/11=6, Resulting Numbers: [5, 86, 6]
Generated Node #0,3: 86:[5, 86, 6] Operation: 66/11=6
Moving to Node #0,3
Current State: 86:[5, 86, 6], Operations: ['66/11=6']
Exploring Operation: 6-5=1, Resulting Numbers: [86, 1]
Generated Node #0,3,3: 86:[86, 1] Operation: 6-5=1
Moving to Node #0,3,3
Current State: 86:[86, 1], Operations: ['66/11=6', '6-5=1']
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.966146 | hs_4 | mult_heuristic |
[
14,
16,
68,
44
] | 46 | [
"16-14=2",
"44/2=22",
"68-22=46"
] | Current State: 46:[14, 16, 68, 44], Operations: []
Exploring Operation: 16-14=2, Resulting Numbers: [68, 44, 2]
Generated Node #2: [68, 44, 2] from Operation: 16-14=2
Current State: 46:[68, 44, 2], Operations: ['16-14=2']
Exploring Operation: 44/2=22, Resulting Numbers: [68, 22]
Generated Node #3: [68, 22] from Operation: 44/2=22
Current State: 46:[68, 22], Operations: ['16-14=2', '44/2=22']
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[14, 16, 68, 44], Operations: []
Exploring Operation: 68-14=54, Resulting Numbers: [16, 44, 54]
Generated Node #0,0: 46:[16, 44, 54] Operation: 68-14=54
Exploring Operation: 68-16=52, Resulting Numbers: [14, 44, 52]
Generated Node #0,1: 46:[14, 44, 52] Operation: 68-16=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[16, 44, 54], Operations: ['68-14=54']
Exploring Operation: 44-16=28, Resulting Numbers: [54, 28]
Generated Node #0,0,0: 46:[54, 28] Operation: 44-16=28
Exploring Operation: 54-16=38, Resulting Numbers: [44, 38]
Generated Node #0,0,1: 46:[44, 38] Operation: 54-16=38
Moving to Node #0,0,1
Current State: 46:[44, 38], Operations: ['68-14=54', '54-16=38']
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,46 unequal: No Solution
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[54, 28], Operations: ['68-14=54', '44-16=28']
Exploring Operation: 54+28=82, Resulting Numbers: [82]
82,46 unequal: No Solution
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,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:[14, 44, 52], Operations: ['68-16=52']
Exploring Operation: 52-14=38, Resulting Numbers: [44, 38]
Generated Node #0,1,0: 46:[44, 38] Operation: 52-14=38
Exploring Operation: 44-14=30, Resulting Numbers: [52, 30]
Generated Node #0,1,1: 46:[52, 30] Operation: 44-14=30
Moving to Node #0,1,0
Current State: 46:[44, 38], Operations: ['68-16=52', '52-14=38']
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[52, 30], Operations: ['68-16=52', '44-14=30']
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 52+30=82, Resulting Numbers: [82]
82,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
41,
38,
79,
97
] | 15 | [
"41-38=3",
"97-79=18",
"18-3=15"
] | Current State: 15:[41, 38, 79, 97], Operations: []
Exploring Operation: 41-38=3, Resulting Numbers: [79, 97, 3]
Generated Node #2: [79, 97, 3] from Operation: 41-38=3
Current State: 15:[79, 97, 3], Operations: ['41-38=3']
Exploring Operation: 97-79=18, Resulting Numbers: [3, 18]
Generated Node #3: [3, 18] from Operation: 97-79=18
Current State: 15:[3, 18], Operations: ['41-38=3', '97-79=18']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[41, 38, 79, 97], Operations: []
Exploring Operation: 97-79=18, Resulting Numbers: [41, 38, 18]
Generated Node #0,0: 15:[41, 38, 18] Operation: 97-79=18
Exploring Operation: 97-41=56, Resulting Numbers: [38, 79, 56]
Generated Node #0,1: 15:[38, 79, 56] Operation: 97-41=56
Exploring Operation: 79-41=38, Resulting Numbers: [38, 97, 38]
Generated Node #0,2: 15:[38, 97, 38] Operation: 79-41=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[41, 38, 18], Operations: ['97-79=18']
Exploring Operation: 38-18=20, Resulting Numbers: [41, 20]
Generated Node #0,0,0: 15:[41, 20] Operation: 38-18=20
Exploring Operation: 41-38=3, Resulting Numbers: [18, 3]
Generated Node #0,0,1: 15:[18, 3] Operation: 41-38=3
Exploring Operation: 41-18=23, Resulting Numbers: [38, 23]
Generated Node #0,0,2: 15:[38, 23] Operation: 41-18=23
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 15:[18, 3], Operations: ['97-79=18', '41-38=3']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[41, 38, 79, 97], Operations: []
Exploring Operation: 97-79=18, Resulting Numbers: [41, 38, 18]
Generated Node #0,0: 15:[41, 38, 18] Operation: 97-79=18
Moving to Node #0,0
Current State: 15:[41, 38, 18], Operations: ['97-79=18']
Exploring Operation: 41-38=3, Resulting Numbers: [18, 3]
Generated Node #0,0,1: 15:[18, 3] Operation: 41-38=3
Moving to Node #0,0,1
Current State: 15:[18, 3], Operations: ['97-79=18', '41-38=3']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
4,
38,
3,
55
] | 16 | [
"4+38=42",
"3+55=58",
"58-42=16"
] | Current State: 16:[4, 38, 3, 55], Operations: []
Exploring Operation: 4+38=42, Resulting Numbers: [3, 55, 42]
Generated Node #2: [3, 55, 42] from Operation: 4+38=42
Current State: 16:[3, 55, 42], Operations: ['4+38=42']
Exploring Operation: 3+55=58, Resulting Numbers: [42, 58]
Generated Node #3: [42, 58] from Operation: 3+55=58
Current State: 16:[42, 58], Operations: ['4+38=42', '3+55=58']
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[4, 38, 3, 55], Operations: []
Exploring Operation: 55-38=17, Resulting Numbers: [4, 3, 17]
Generated Node #0,0: 16:[4, 3, 17] Operation: 55-38=17
Moving to Node #0,0
Current State: 16:[4, 3, 17], Operations: ['55-38=17']
Exploring Operation: 4+3=7, Resulting Numbers: [17, 7]
Generated Node #0,0,0: 16:[17, 7] Operation: 4+3=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[17, 7], Operations: ['55-38=17', '4+3=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
73,
63,
4,
74
] | 67 | [
"74-73=1",
"63+4=67",
"1*67=67"
] | Current State: 67:[73, 63, 4, 74], Operations: []
Exploring Operation: 74-73=1, Resulting Numbers: [63, 4, 1]
Generated Node #2: [63, 4, 1] from Operation: 74-73=1
Current State: 67:[63, 4, 1], Operations: ['74-73=1']
Exploring Operation: 63+4=67, Resulting Numbers: [1, 67]
Generated Node #3: [1, 67] from Operation: 63+4=67
Current State: 67:[1, 67], Operations: ['74-73=1', '63+4=67']
Exploring Operation: 1*67=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[73, 63, 4, 74], Operations: []
Exploring Operation: 73-4=69, Resulting Numbers: [63, 74, 69]
Generated Node #0,0: 67:[63, 74, 69] Operation: 73-4=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[63, 74, 69], Operations: ['73-4=69']
Exploring Operation: 74-63=11, Resulting Numbers: [69, 11]
Generated Node #0,0,0: 67:[69, 11] Operation: 74-63=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[69, 11], Operations: ['73-4=69', '74-63=11']
Exploring Operation: 69-11=58, Resulting Numbers: [58]
58,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
8,
9,
43,
40
] | 15 | [
"43-40=3",
"8*3=24",
"24-9=15"
] | Current State: 15:[8, 9, 43, 40], Operations: []
Exploring Operation: 43-40=3, Resulting Numbers: [8, 9, 3]
Generated Node #2: [8, 9, 3] from Operation: 43-40=3
Current State: 15:[8, 9, 3], Operations: ['43-40=3']
Exploring Operation: 8*3=24, Resulting Numbers: [9, 24]
Generated Node #3: [9, 24] from Operation: 8*3=24
Current State: 15:[9, 24], Operations: ['43-40=3', '8*3=24']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[8, 9, 43, 40], Operations: []
Exploring Operation: 40/8=5, Resulting Numbers: [9, 43, 5]
Generated Node #0,0: 15:[9, 43, 5] Operation: 40/8=5
Exploring Operation: 43-40=3, Resulting Numbers: [8, 9, 3]
Generated Node #0,1: 15:[8, 9, 3] Operation: 43-40=3
Exploring Operation: 43-9=34, Resulting Numbers: [8, 40, 34]
Generated Node #0,2: 15:[8, 40, 34] Operation: 43-9=34
Moving to Node #0,1
Current State: 15:[8, 9, 3], Operations: ['43-40=3']
Exploring Operation: 9/3=3, Resulting Numbers: [8, 3]
Generated Node #0,1,0: 15:[8, 3] Operation: 9/3=3
Exploring Operation: 8+9=17, Resulting Numbers: [3, 17]
Generated Node #0,1,1: 15:[3, 17] Operation: 8+9=17
Exploring Operation: 9-8=1, Resulting Numbers: [3, 1]
Generated Node #0,1,2: 15:[3, 1] Operation: 9-8=1
Moving to Node #0,0
Current State: 15:[9, 43, 5], Operations: ['40/8=5']
Exploring Operation: 43-9=34, Resulting Numbers: [5, 34]
Generated Node #0,0,0: 15:[5, 34] Operation: 43-9=34
Exploring Operation: 43-5=38, Resulting Numbers: [9, 38]
Generated Node #0,0,1: 15:[9, 38] Operation: 43-5=38
Exploring Operation: 9+5=14, Resulting Numbers: [43, 14]
Generated Node #0,0,2: 15:[43, 14] Operation: 9+5=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[5, 34], Operations: ['40/8=5', '43-9=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,15 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,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:[9, 38], Operations: ['40/8=5', '43-5=38']
Exploring Operation: 9*38=342, Resulting Numbers: [342]
342,15 unequal: No Solution
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 9+38=47, Resulting Numbers: [47]
47,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:[43, 14], Operations: ['40/8=5', '9+5=14']
Exploring Operation: 43+14=57, Resulting Numbers: [57]
57,15 unequal: No Solution
Exploring Operation: 43*14=602, Resulting Numbers: [602]
602,15 unequal: No Solution
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 15:[8, 40, 34], Operations: ['43-9=34']
Exploring Operation: 40-34=6, Resulting Numbers: [8, 6]
Generated Node #0,2,0: 15:[8, 6] Operation: 40-34=6
Exploring Operation: 40-8=32, Resulting Numbers: [34, 32]
Generated Node #0,2,1: 15:[34, 32] Operation: 40-8=32
Exploring Operation: 40/8=5, Resulting Numbers: [34, 5]
Generated Node #0,2,2: 15:[34, 5] Operation: 40/8=5
Moving to Node #0,1,1
Current State: 15:[3, 17], Operations: ['43-40=3', '8+9=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,15 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[3, 1], Operations: ['43-40=3', '9-8=1']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[8, 3], Operations: ['43-40=3', '9/3=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[8, 6], Operations: ['43-9=34', '40-34=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Moving to Node #0,2,2
Current State: 15:[34, 5], Operations: ['43-9=34', '40/8=5']
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,15 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[34, 32], Operations: ['43-9=34', '40-8=32']
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 34*32=1088, Resulting Numbers: [1088]
1088,15 unequal: No Solution
Exploring Operation: 34+32=66, Resulting Numbers: [66]
66,15 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
24,
4,
3,
29
] | 65 | [
"24+29=53",
"4*3=12",
"53+12=65"
] | Current State: 65:[24, 4, 3, 29], Operations: []
Exploring Operation: 24+29=53, Resulting Numbers: [4, 3, 53]
Generated Node #2: [4, 3, 53] from Operation: 24+29=53
Current State: 65:[4, 3, 53], Operations: ['24+29=53']
Exploring Operation: 4*3=12, Resulting Numbers: [53, 12]
Generated Node #3: [53, 12] from Operation: 4*3=12
Current State: 65:[53, 12], Operations: ['24+29=53', '4*3=12']
Exploring Operation: 53+12=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[24, 4, 3, 29], Operations: []
Exploring Operation: 24/3=8, Resulting Numbers: [4, 29, 8]
Generated Node #0,0: 65:[4, 29, 8] Operation: 24/3=8
Exploring Operation: 24+29=53, Resulting Numbers: [4, 3, 53]
Generated Node #0,1: 65:[4, 3, 53] Operation: 24+29=53
Exploring Operation: 29-24=5, Resulting Numbers: [4, 3, 5]
Generated Node #0,2: 65:[4, 3, 5] Operation: 29-24=5
Exploring Operation: 24/4=6, Resulting Numbers: [3, 29, 6]
Generated Node #0,3: 65:[3, 29, 6] Operation: 24/4=6
Moving to Node #0,2
Current State: 65:[4, 3, 5], Operations: ['29-24=5']
Exploring Operation: 3*5=15, Resulting Numbers: [4, 15]
Generated Node #0,2,0: 65:[4, 15] Operation: 3*5=15
Exploring Operation: 4-3=1, Resulting Numbers: [5, 1]
Generated Node #0,2,1: 65:[5, 1] Operation: 4-3=1
Exploring Operation: 4*3=12, Resulting Numbers: [5, 12]
Generated Node #0,2,2: 65:[5, 12] Operation: 4*3=12
Exploring Operation: 4+3=7, Resulting Numbers: [5, 7]
Generated Node #0,2,3: 65:[5, 7] Operation: 4+3=7
Moving to Node #0,1
Current State: 65:[4, 3, 53], Operations: ['24+29=53']
Exploring Operation: 4*3=12, Resulting Numbers: [53, 12]
Generated Node #0,1,0: 65:[53, 12] Operation: 4*3=12
Exploring Operation: 4+3=7, Resulting Numbers: [53, 7]
Generated Node #0,1,1: 65:[53, 7] Operation: 4+3=7
Exploring Operation: 4+53=57, Resulting Numbers: [3, 57]
Generated Node #0,1,2: 65:[3, 57] Operation: 4+53=57
Exploring Operation: 3+53=56, Resulting Numbers: [4, 56]
Generated Node #0,1,3: 65:[4, 56] Operation: 3+53=56
Moving to Node #0,3
Current State: 65:[3, 29, 6], Operations: ['24/4=6']
Exploring Operation: 6/3=2, Resulting Numbers: [29, 2]
Generated Node #0,3,0: 65:[29, 2] Operation: 6/3=2
Exploring Operation: 6-3=3, Resulting Numbers: [29, 3]
Generated Node #0,3,1: 65:[29, 3] Operation: 6-3=3
Exploring Operation: 29-3=26, Resulting Numbers: [6, 26]
Generated Node #0,3,2: 65:[6, 26] Operation: 29-3=26
Exploring Operation: 29-6=23, Resulting Numbers: [3, 23]
Generated Node #0,3,3: 65:[3, 23] Operation: 29-6=23
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 65:[3, 23], Operations: ['24/4=6', '29-6=23']
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,65 unequal: No Solution
No 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: 65:[6, 26], Operations: ['24/4=6', '29-3=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,65 unequal: No Solution
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,65 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,65 unequal: No Solution
No 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: 65:[29, 3], Operations: ['24/4=6', '6-3=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,65 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,65 unequal: No Solution
No 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: 65:[29, 2], Operations: ['24/4=6', '6/3=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,65 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,65 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: 65:[4, 29, 8], Operations: ['24/3=8']
Exploring Operation: 8-4=4, Resulting Numbers: [29, 4]
Generated Node #0,0,0: 65:[29, 4] Operation: 8-4=4
Exploring Operation: 29-4=25, Resulting Numbers: [8, 25]
Generated Node #0,0,1: 65:[8, 25] Operation: 29-4=25
Exploring Operation: 29-8=21, Resulting Numbers: [4, 21]
Generated Node #0,0,2: 65:[4, 21] Operation: 29-8=21
Exploring Operation: 4+8=12, Resulting Numbers: [29, 12]
Generated Node #0,0,3: 65:[29, 12] Operation: 4+8=12
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 65:[4, 21], Operations: ['24/3=8', '29-8=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,65 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,65 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,65 unequal: No Solution
No 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: 65:[8, 25], Operations: ['24/3=8', '29-4=25']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Exploring Operation: 8*25=200, Resulting Numbers: [200]
200,65 unequal: No Solution
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,65 unequal: No Solution
No 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: 65:[29, 4], Operations: ['24/3=8', '8-4=4']
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,65 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,65 unequal: No Solution
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,65 unequal: No Solution
No 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: 65:[29, 12], Operations: ['24/3=8', '4+8=12']
Exploring Operation: 29*12=348, Resulting Numbers: [348]
348,65 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,65 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: 65:[5, 12], Operations: ['29-24=5', '4*3=12']
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[5, 7], Operations: ['29-24=5', '4+3=7']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,65 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[4, 15], Operations: ['29-24=5', '3*5=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,65 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[5, 1], Operations: ['29-24=5', '4-3=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[4, 56], Operations: ['24+29=53', '3+53=56']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,65 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,65 unequal: No Solution
Exploring Operation: 4*56=224, Resulting Numbers: [224]
224,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[3, 57], Operations: ['24+29=53', '4+53=57']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,65 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 3*57=171, Resulting Numbers: [171]
171,65 unequal: No Solution
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[53, 12], Operations: ['24+29=53', '4*3=12']
Exploring Operation: 53*12=636, Resulting Numbers: [636]
636,65 unequal: No Solution
Exploring Operation: 53+12=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[24, 4, 3, 29], Operations: []
Exploring Operation: 24+29=53, Resulting Numbers: [4, 3, 53]
Generated Node #0,1: 65:[4, 3, 53] Operation: 24+29=53
Moving to Node #0,1
Current State: 65:[4, 3, 53], Operations: ['24+29=53']
Exploring Operation: 4*3=12, Resulting Numbers: [53, 12]
Generated Node #0,1,0: 65:[53, 12] Operation: 4*3=12
Moving to Node #0,1,0
Current State: 65:[53, 12], Operations: ['24+29=53', '4*3=12']
Exploring Operation: 53+12=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.938368 | hs_4 | sum_heuristic |
[
98,
53,
12,
37
] | 96 | [
"98-53=45",
"45-37=8",
"12*8=96"
] | Current State: 96:[98, 53, 12, 37], Operations: []
Exploring Operation: 98-53=45, Resulting Numbers: [12, 37, 45]
Generated Node #2: [12, 37, 45] from Operation: 98-53=45
Current State: 96:[12, 37, 45], Operations: ['98-53=45']
Exploring Operation: 45-37=8, Resulting Numbers: [12, 8]
Generated Node #3: [12, 8] from Operation: 45-37=8
Current State: 96:[12, 8], Operations: ['98-53=45', '45-37=8']
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[98, 53, 12, 37], Operations: []
Exploring Operation: 53-37=16, Resulting Numbers: [98, 12, 16]
Generated Node #0,0: 96:[98, 12, 16] Operation: 53-37=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[98, 12, 16], Operations: ['53-37=16']
Exploring Operation: 16-12=4, Resulting Numbers: [98, 4]
Generated Node #0,0,0: 96:[98, 4] Operation: 16-12=4
Moving to Node #0,0,0
Current State: 96:[98, 4], Operations: ['53-37=16', '16-12=4']
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,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 | sum_heuristic |
[
97,
54,
2,
9
] | 85 | [
"54*2=108",
"108/9=12",
"97-12=85"
] | Current State: 85:[97, 54, 2, 9], Operations: []
Exploring Operation: 54*2=108, Resulting Numbers: [97, 9, 108]
Generated Node #2: [97, 9, 108] from Operation: 54*2=108
Current State: 85:[97, 9, 108], Operations: ['54*2=108']
Exploring Operation: 108/9=12, Resulting Numbers: [97, 12]
Generated Node #3: [97, 12] from Operation: 108/9=12
Current State: 85:[97, 12], Operations: ['54*2=108', '108/9=12']
Exploring Operation: 97-12=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[97, 54, 2, 9], Operations: []
Exploring Operation: 97-54=43, Resulting Numbers: [2, 9, 43]
Generated Node #0,0: 85:[2, 9, 43] Operation: 97-54=43
Exploring Operation: 54/2=27, Resulting Numbers: [97, 9, 27]
Generated Node #0,1: 85:[97, 9, 27] Operation: 54/2=27
Exploring Operation: 54/9=6, Resulting Numbers: [97, 2, 6]
Generated Node #0,2: 85:[97, 2, 6] Operation: 54/9=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[97, 2, 6], Operations: ['54/9=6']
Exploring Operation: 97-2=95, Resulting Numbers: [6, 95]
Generated Node #0,2,0: 85:[6, 95] Operation: 97-2=95
Exploring Operation: 97-6=91, Resulting Numbers: [2, 91]
Generated Node #0,2,1: 85:[2, 91] Operation: 97-6=91
Exploring Operation: 6-2=4, Resulting Numbers: [97, 4]
Generated Node #0,2,2: 85:[97, 4] Operation: 6-2=4
Moving to Node #0,2,1
Current State: 85:[2, 91], Operations: ['54/9=6', '97-6=91']
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,85 unequal: No Solution
Exploring Operation: 2*91=182, Resulting Numbers: [182]
182,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[6, 95], Operations: ['54/9=6', '97-2=95']
Exploring Operation: 6+95=101, Resulting Numbers: [101]
101,85 unequal: No Solution
Exploring Operation: 6*95=570, Resulting Numbers: [570]
570,85 unequal: No Solution
Exploring Operation: 95-6=89, Resulting Numbers: [89]
89,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[97, 4], Operations: ['54/9=6', '6-2=4']
Exploring Operation: 97+4=101, Resulting Numbers: [101]
101,85 unequal: No Solution
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Exploring Operation: 97*4=388, Resulting Numbers: [388]
388,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[97, 9, 27], Operations: ['54/2=27']
Exploring Operation: 97-9=88, Resulting Numbers: [27, 88]
Generated Node #0,1,0: 85:[27, 88] Operation: 97-9=88
Exploring Operation: 27-9=18, Resulting Numbers: [97, 18]
Generated Node #0,1,1: 85:[97, 18] Operation: 27-9=18
Exploring Operation: 27/9=3, Resulting Numbers: [97, 3]
Generated Node #0,1,2: 85:[97, 3] Operation: 27/9=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 85:[27, 88], Operations: ['54/2=27', '97-9=88']
Exploring Operation: 27+88=115, Resulting Numbers: [115]
115,85 unequal: No Solution
Exploring Operation: 27*88=2376, Resulting Numbers: [2376]
2376,85 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,85 unequal: No Solution
No 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: 85:[97, 18], Operations: ['54/2=27', '27-9=18']
Exploring Operation: 97-18=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 97+18=115, Resulting Numbers: [115]
115,85 unequal: No Solution
Exploring Operation: 97*18=1746, Resulting Numbers: [1746]
1746,85 unequal: No Solution
No 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: 85:[97, 3], Operations: ['54/2=27', '27/9=3']
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,85 unequal: No Solution
Exploring Operation: 97*3=291, Resulting Numbers: [291]
291,85 unequal: No Solution
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,85 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: 85:[2, 9, 43], Operations: ['97-54=43']
Exploring Operation: 2*9=18, Resulting Numbers: [43, 18]
Generated Node #0,0,0: 85:[43, 18] Operation: 2*9=18
Exploring Operation: 2*43=86, Resulting Numbers: [9, 86]
Generated Node #0,0,1: 85:[9, 86] Operation: 2*43=86
Exploring Operation: 43-9=34, Resulting Numbers: [2, 34]
Generated Node #0,0,2: 85:[2, 34] Operation: 43-9=34
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 85:[9, 86], Operations: ['97-54=43', '2*43=86']
Exploring Operation: 9*86=774, Resulting Numbers: [774]
774,85 unequal: No Solution
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 9+86=95, Resulting Numbers: [95]
95,85 unequal: No Solution
No 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: 85:[2, 34], Operations: ['97-54=43', '43-9=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,85 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,85 unequal: No Solution
No 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: 85:[43, 18], Operations: ['97-54=43', '2*9=18']
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,85 unequal: No Solution
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,85 unequal: No Solution
Exploring Operation: 43*18=774, Resulting Numbers: [774]
774,85 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 |
[
32,
10,
56,
50
] | 64 | [
"32+10=42",
"56+50=106",
"106-42=64"
] | Current State: 64:[32, 10, 56, 50], Operations: []
Exploring Operation: 32+10=42, Resulting Numbers: [56, 50, 42]
Generated Node #2: [56, 50, 42] from Operation: 32+10=42
Current State: 64:[56, 50, 42], Operations: ['32+10=42']
Exploring Operation: 56+50=106, Resulting Numbers: [42, 106]
Generated Node #3: [42, 106] from Operation: 56+50=106
Current State: 64:[42, 106], Operations: ['32+10=42', '56+50=106']
Exploring Operation: 106-42=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[32, 10, 56, 50], Operations: []
Exploring Operation: 56-50=6, Resulting Numbers: [32, 10, 6]
Generated Node #0,0: 64:[32, 10, 6] Operation: 56-50=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[32, 10, 6], Operations: ['56-50=6']
Exploring Operation: 10+6=16, Resulting Numbers: [32, 16]
Generated Node #0,0,0: 64:[32, 16] Operation: 10+6=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[32, 16], Operations: ['56-50=6', '10+6=16']
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,64 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 |
[
40,
27,
25,
88
] | 28 | [
"25*88=2200",
"2200/40=55",
"55-27=28"
] | Current State: 28:[40, 27, 25, 88], Operations: []
Exploring Operation: 25*88=2200, Resulting Numbers: [40, 27, 2200]
Generated Node #2: [40, 27, 2200] from Operation: 25*88=2200
Current State: 28:[40, 27, 2200], Operations: ['25*88=2200']
Exploring Operation: 2200/40=55, Resulting Numbers: [27, 55]
Generated Node #3: [27, 55] from Operation: 2200/40=55
Current State: 28:[27, 55], Operations: ['25*88=2200', '2200/40=55']
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[40, 27, 25, 88], Operations: []
Exploring Operation: 88-40=48, Resulting Numbers: [27, 25, 48]
Generated Node #0,0: 28:[27, 25, 48] Operation: 88-40=48
Exploring Operation: 88-27=61, Resulting Numbers: [40, 25, 61]
Generated Node #0,1: 28:[40, 25, 61] Operation: 88-27=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[27, 25, 48], Operations: ['88-40=48']
Exploring Operation: 48-27=21, Resulting Numbers: [25, 21]
Generated Node #0,0,0: 28:[25, 21] Operation: 48-27=21
Exploring Operation: 48-25=23, Resulting Numbers: [27, 23]
Generated Node #0,0,1: 28:[27, 23] Operation: 48-25=23
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 28:[27, 23], Operations: ['88-40=48', '48-25=23']
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[25, 21], Operations: ['88-40=48', '48-27=21']
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[40, 25, 61], Operations: ['88-27=61']
Exploring Operation: 61-40=21, Resulting Numbers: [25, 21]
Generated Node #0,1,0: 28:[25, 21] Operation: 61-40=21
Exploring Operation: 61-25=36, Resulting Numbers: [40, 36]
Generated Node #0,1,1: 28:[40, 36] Operation: 61-25=36
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 28:[25, 21], Operations: ['88-27=61', '61-40=21']
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 28:[40, 36], Operations: ['88-27=61', '61-25=36']
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 40+36=76, Resulting Numbers: [76]
76,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
10,
9,
5,
12
] | 95 | [
"9+12=21",
"5*21=105",
"105-10=95"
] | Current State: 95:[10, 9, 5, 12], Operations: []
Exploring Operation: 9+12=21, Resulting Numbers: [10, 5, 21]
Generated Node #2: [10, 5, 21] from Operation: 9+12=21
Current State: 95:[10, 5, 21], Operations: ['9+12=21']
Exploring Operation: 5*21=105, Resulting Numbers: [10, 105]
Generated Node #3: [10, 105] from Operation: 5*21=105
Current State: 95:[10, 105], Operations: ['9+12=21', '5*21=105']
Exploring Operation: 105-10=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[10, 9, 5, 12], Operations: []
Exploring Operation: 12-9=3, Resulting Numbers: [10, 5, 3]
Generated Node #0,0: 95:[10, 5, 3] Operation: 12-9=3
Exploring Operation: 10+12=22, Resulting Numbers: [9, 5, 22]
Generated Node #0,1: 95:[9, 5, 22] Operation: 10+12=22
Exploring Operation: 10+9=19, Resulting Numbers: [5, 12, 19]
Generated Node #0,2: 95:[5, 12, 19] Operation: 10+9=19
Exploring Operation: 9+12=21, Resulting Numbers: [10, 5, 21]
Generated Node #0,3: 95:[10, 5, 21] Operation: 9+12=21
Exploring Operation: 12-10=2, Resulting Numbers: [9, 5, 2]
Generated Node #0,4: 95:[9, 5, 2] Operation: 12-10=2
Moving to Node #0,0
Current State: 95:[10, 5, 3], Operations: ['12-9=3']
Exploring Operation: 10-3=7, Resulting Numbers: [5, 7]
Generated Node #0,0,0: 95:[5, 7] Operation: 10-3=7
Exploring Operation: 10-5=5, Resulting Numbers: [3, 5]
Generated Node #0,0,1: 95:[3, 5] Operation: 10-5=5
Exploring Operation: 10+5=15, Resulting Numbers: [3, 15]
Generated Node #0,0,2: 95:[3, 15] Operation: 10+5=15
Exploring Operation: 10+3=13, Resulting Numbers: [5, 13]
Generated Node #0,0,3: 95:[5, 13] Operation: 10+3=13
Exploring Operation: 10/5=2, Resulting Numbers: [3, 2]
Generated Node #0,0,4: 95:[3, 2] Operation: 10/5=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[5, 7], Operations: ['12-9=3', '10-3=7']
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,95 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[3, 5], Operations: ['12-9=3', '10-5=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,95 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,95 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 95:[3, 2], Operations: ['12-9=3', '10/5=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 95:[3, 15], Operations: ['12-9=3', '10+5=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,95 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 95:[5, 13], Operations: ['12-9=3', '10+3=13']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,95 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,95 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: 95:[5, 12, 19], Operations: ['10+9=19']
Exploring Operation: 12-5=7, Resulting Numbers: [19, 7]
Generated Node #0,2,0: 95:[19, 7] Operation: 12-5=7
Exploring Operation: 5+12=17, Resulting Numbers: [19, 17]
Generated Node #0,2,1: 95:[19, 17] Operation: 5+12=17
Exploring Operation: 5+19=24, Resulting Numbers: [12, 24]
Generated Node #0,2,2: 95:[12, 24] Operation: 5+19=24
Exploring Operation: 5*19=95, Resulting Numbers: [12, 95]
Generated Node #0,2,3: 95:[12, 95] Operation: 5*19=95
Exploring Operation: 19-12=7, Resulting Numbers: [5, 7]
Generated Node #0,2,4: 95:[5, 7] Operation: 19-12=7
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 95:[19, 7], Operations: ['10+9=19', '12-5=7']
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 95:[19, 17], Operations: ['10+9=19', '5+12=17']
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,95 unequal: No Solution
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 95:[5, 7], Operations: ['10+9=19', '19-12=7']
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,95 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 95:[12, 95], Operations: ['10+9=19', '5*19=95']
Exploring Operation: 12+95=107, Resulting Numbers: [107]
107,95 unequal: No Solution
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,95 unequal: No Solution
Exploring Operation: 12*95=1140, Resulting Numbers: [1140]
1140,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 95:[12, 24], Operations: ['10+9=19', '5+19=24']
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Exploring Operation: 12*24=288, Resulting Numbers: [288]
288,95 unequal: No Solution
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,95 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: 95:[9, 5, 2], Operations: ['12-10=2']
Exploring Operation: 9-5=4, Resulting Numbers: [2, 4]
Generated Node #0,4,0: 95:[2, 4] Operation: 9-5=4
Exploring Operation: 9-2=7, Resulting Numbers: [5, 7]
Generated Node #0,4,1: 95:[5, 7] Operation: 9-2=7
Exploring Operation: 9+2=11, Resulting Numbers: [5, 11]
Generated Node #0,4,2: 95:[5, 11] Operation: 9+2=11
Exploring Operation: 5+2=7, Resulting Numbers: [9, 7]
Generated Node #0,4,3: 95:[9, 7] Operation: 5+2=7
Exploring Operation: 9*2=18, Resulting Numbers: [5, 18]
Generated Node #0,4,4: 95:[5, 18] Operation: 9*2=18
Moving to Node #0,1
Current State: 95:[9, 5, 22], Operations: ['10+12=22']
Exploring Operation: 22-9=13, Resulting Numbers: [5, 13]
Generated Node #0,1,0: 95:[5, 13] Operation: 22-9=13
Exploring Operation: 9+22=31, Resulting Numbers: [5, 31]
Generated Node #0,1,1: 95:[5, 31] Operation: 9+22=31
Exploring Operation: 22-5=17, Resulting Numbers: [9, 17]
Generated Node #0,1,2: 95:[9, 17] Operation: 22-5=17
Exploring Operation: 9+5=14, Resulting Numbers: [22, 14]
Generated Node #0,1,3: 95:[22, 14] Operation: 9+5=14
Exploring Operation: 9-5=4, Resulting Numbers: [22, 4]
Generated Node #0,1,4: 95:[22, 4] Operation: 9-5=4
Moving to Node #0,3
Current State: 95:[10, 5, 21], Operations: ['9+12=21']
Exploring Operation: 21-10=11, Resulting Numbers: [5, 11]
Generated Node #0,3,0: 95:[5, 11] Operation: 21-10=11
Exploring Operation: 21-5=16, Resulting Numbers: [10, 16]
Generated Node #0,3,1: 95:[10, 16] Operation: 21-5=16
Exploring Operation: 10+5=15, Resulting Numbers: [21, 15]
Generated Node #0,3,2: 95:[21, 15] Operation: 10+5=15
Exploring Operation: 10/5=2, Resulting Numbers: [21, 2]
Generated Node #0,3,3: 95:[21, 2] Operation: 10/5=2
Exploring Operation: 10-5=5, Resulting Numbers: [21, 5]
Generated Node #0,3,4: 95:[21, 5] Operation: 10-5=5
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 95:[21, 5], Operations: ['9+12=21', '10-5=5']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,95 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 95:[21, 2], Operations: ['9+12=21', '10/5=2']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,95 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,95 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 95:[5, 11], Operations: ['9+12=21', '21-10=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,95 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 95:[21, 15], Operations: ['9+12=21', '10+5=15']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,95 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 95:[10, 16], Operations: ['9+12=21', '21-5=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,95 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,4
Current State: 95:[5, 18], Operations: ['12-10=2', '9*2=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,95 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Moving to Node #0,4,1
Current State: 95:[5, 7], Operations: ['12-10=2', '9-2=7']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,95 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,95 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Moving to Node #0,4,0
Current State: 95:[2, 4], Operations: ['12-10=2', '9-5=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,95 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,95 unequal: No Solution
Moving to Node #0,1,4
Current State: 95:[22, 4], Operations: ['10+12=22', '9-5=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,95 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,95 unequal: No Solution
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[5, 13], Operations: ['10+12=22', '22-9=13']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,95 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[9, 17], Operations: ['10+12=22', '22-5=17']
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,95 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Moving to Node #0,4,3
Current State: 95:[9, 7], Operations: ['12-10=2', '5+2=7']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,95 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,95 unequal: No Solution
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Moving to Node #0,4,2
Current State: 95:[5, 11], Operations: ['12-10=2', '9+2=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,95 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Moving to Node #0,1,3
Current State: 95:[22, 14], Operations: ['10+12=22', '9+5=14']
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,95 unequal: No Solution
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[5, 31], Operations: ['10+12=22', '9+22=31']
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,95 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
88,
3,
90,
39
] | 15 | [
"90-88=2",
"39/3=13",
"2+13=15"
] | Current State: 15:[88, 3, 90, 39], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [3, 39, 2]
Generated Node #2: [3, 39, 2] from Operation: 90-88=2
Current State: 15:[3, 39, 2], Operations: ['90-88=2']
Exploring Operation: 39/3=13, Resulting Numbers: [2, 13]
Generated Node #3: [2, 13] from Operation: 39/3=13
Current State: 15:[2, 13], Operations: ['90-88=2', '39/3=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[88, 3, 90, 39], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [3, 39, 2]
Generated Node #0,0: 15:[3, 39, 2] Operation: 90-88=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[3, 39, 2], Operations: ['90-88=2']
Exploring Operation: 39/3=13, Resulting Numbers: [2, 13]
Generated Node #0,0,0: 15:[2, 13] Operation: 39/3=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[2, 13], Operations: ['90-88=2', '39/3=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[88, 3, 90, 39], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [3, 39, 2]
Generated Node #0,0: 15:[3, 39, 2] Operation: 90-88=2
Moving to Node #0,0
Current State: 15:[3, 39, 2], Operations: ['90-88=2']
Exploring Operation: 39/3=13, Resulting Numbers: [2, 13]
Generated Node #0,0,0: 15:[2, 13] Operation: 39/3=13
Moving to Node #0,0,0
Current State: 15:[2, 13], Operations: ['90-88=2', '39/3=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
48,
8,
74,
44
] | 36 | [
"48/8=6",
"74-44=30",
"6+30=36"
] | Current State: 36:[48, 8, 74, 44], Operations: []
Exploring Operation: 48/8=6, Resulting Numbers: [74, 44, 6]
Generated Node #2: [74, 44, 6] from Operation: 48/8=6
Current State: 36:[74, 44, 6], Operations: ['48/8=6']
Exploring Operation: 74-44=30, Resulting Numbers: [6, 30]
Generated Node #3: [6, 30] from Operation: 74-44=30
Current State: 36:[6, 30], Operations: ['48/8=6', '74-44=30']
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[48, 8, 74, 44], Operations: []
Exploring Operation: 74-44=30, Resulting Numbers: [48, 8, 30]
Generated Node #0,0: 36:[48, 8, 30] Operation: 74-44=30
Exploring Operation: 48/8=6, Resulting Numbers: [74, 44, 6]
Generated Node #0,1: 36:[74, 44, 6] Operation: 48/8=6
Exploring Operation: 74-48=26, Resulting Numbers: [8, 44, 26]
Generated Node #0,2: 36:[8, 44, 26] Operation: 74-48=26
Exploring Operation: 48-44=4, Resulting Numbers: [8, 74, 4]
Generated Node #0,3: 36:[8, 74, 4] Operation: 48-44=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[8, 44, 26], Operations: ['74-48=26']
Exploring Operation: 26-8=18, Resulting Numbers: [44, 18]
Generated Node #0,2,0: 36:[44, 18] Operation: 26-8=18
Exploring Operation: 44-8=36, Resulting Numbers: [26, 36]
Generated Node #0,2,1: 36:[26, 36] Operation: 44-8=36
Exploring Operation: 8+26=34, Resulting Numbers: [44, 34]
Generated Node #0,2,2: 36:[44, 34] Operation: 8+26=34
Exploring Operation: 44-26=18, Resulting Numbers: [8, 18]
Generated Node #0,2,3: 36:[8, 18] Operation: 44-26=18
Moving to Node #0,2,3
Current State: 36:[8, 18], Operations: ['74-48=26', '44-26=18']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,36 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Moving to Node #0,2,1
Current State: 36:[26, 36], Operations: ['74-48=26', '44-8=36']
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,36 unequal: No Solution
Exploring Operation: 26*36=936, Resulting Numbers: [936]
936,36 unequal: No Solution
Moving to Node #0,2,0
Current State: 36:[44, 18], Operations: ['74-48=26', '26-8=18']
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 44*18=792, Resulting Numbers: [792]
792,36 unequal: No Solution
Exploring Operation: 44+18=62, Resulting Numbers: [62]
62,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[44, 34], Operations: ['74-48=26', '8+26=34']
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 44*34=1496, Resulting Numbers: [1496]
1496,36 unequal: No Solution
Exploring Operation: 44+34=78, Resulting Numbers: [78]
78,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[48, 8, 30], Operations: ['74-44=30']
Exploring Operation: 48-30=18, Resulting Numbers: [8, 18]
Generated Node #0,0,0: 36:[8, 18] Operation: 48-30=18
Exploring Operation: 48/8=6, Resulting Numbers: [30, 6]
Generated Node #0,0,1: 36:[30, 6] Operation: 48/8=6
Exploring Operation: 8+30=38, Resulting Numbers: [48, 38]
Generated Node #0,0,2: 36:[48, 38] Operation: 8+30=38
Exploring Operation: 48-8=40, Resulting Numbers: [30, 40]
Generated Node #0,0,3: 36:[30, 40] Operation: 48-8=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[8, 18], Operations: ['74-44=30', '48-30=18']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 36:[30, 6], Operations: ['74-44=30', '48/8=6']
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[48, 8, 74, 44], Operations: []
Exploring Operation: 74-44=30, Resulting Numbers: [48, 8, 30]
Generated Node #0,0: 36:[48, 8, 30] Operation: 74-44=30
Moving to Node #0,0
Current State: 36:[48, 8, 30], Operations: ['74-44=30']
Exploring Operation: 48/8=6, Resulting Numbers: [30, 6]
Generated Node #0,0,1: 36:[30, 6] Operation: 48/8=6
Moving to Node #0,0,1
Current State: 36:[30, 6], Operations: ['74-44=30', '48/8=6']
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
48,
43,
51,
5
] | 11 | [
"51-43=8",
"48/8=6",
"5+6=11"
] | Current State: 11:[48, 43, 51, 5], Operations: []
Exploring Operation: 51-43=8, Resulting Numbers: [48, 5, 8]
Generated Node #2: [48, 5, 8] from Operation: 51-43=8
Current State: 11:[48, 5, 8], Operations: ['51-43=8']
Exploring Operation: 48/8=6, Resulting Numbers: [5, 6]
Generated Node #3: [5, 6] from Operation: 48/8=6
Current State: 11:[5, 6], Operations: ['51-43=8', '48/8=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[48, 43, 51, 5], Operations: []
Exploring Operation: 51-48=3, Resulting Numbers: [43, 5, 3]
Generated Node #0,0: 11:[43, 5, 3] Operation: 51-48=3
Exploring Operation: 51-43=8, Resulting Numbers: [48, 5, 8]
Generated Node #0,1: 11:[48, 5, 8] Operation: 51-43=8
Moving to Node #0,0
Current State: 11:[43, 5, 3], Operations: ['51-48=3']
Exploring Operation: 43-3=40, Resulting Numbers: [5, 40]
Generated Node #0,0,0: 11:[5, 40] Operation: 43-3=40
Exploring Operation: 43-5=38, Resulting Numbers: [3, 38]
Generated Node #0,0,1: 11:[3, 38] Operation: 43-5=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[5, 40], Operations: ['51-48=3', '43-3=40']
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,11 unequal: No Solution
No 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: 11:[3, 38], Operations: ['51-48=3', '43-5=38']
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,11 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: 11:[48, 5, 8], Operations: ['51-43=8']
Exploring Operation: 48-5=43, Resulting Numbers: [8, 43]
Generated Node #0,1,0: 11:[8, 43] Operation: 48-5=43
Exploring Operation: 48/8=6, Resulting Numbers: [5, 6]
Generated Node #0,1,1: 11:[5, 6] Operation: 48/8=6
Moving to Node #0,1,1
Current State: 11:[5, 6], Operations: ['51-43=8', '48/8=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[48, 43, 51, 5], Operations: []
Exploring Operation: 51-43=8, Resulting Numbers: [48, 5, 8]
Generated Node #0,1: 11:[48, 5, 8] Operation: 51-43=8
Moving to Node #0,1
Current State: 11:[48, 5, 8], Operations: ['51-43=8']
Exploring Operation: 48/8=6, Resulting Numbers: [5, 6]
Generated Node #0,1,1: 11:[5, 6] Operation: 48/8=6
Moving to Node #0,1,1
Current State: 11:[5, 6], Operations: ['51-43=8', '48/8=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
2,
10,
20,
28
] | 56 | [
"10-2=8",
"20+28=48",
"8+48=56"
] | Current State: 56:[2, 10, 20, 28], Operations: []
Exploring Operation: 10-2=8, Resulting Numbers: [20, 28, 8]
Generated Node #2: [20, 28, 8] from Operation: 10-2=8
Current State: 56:[20, 28, 8], Operations: ['10-2=8']
Exploring Operation: 20+28=48, Resulting Numbers: [8, 48]
Generated Node #3: [8, 48] from Operation: 20+28=48
Current State: 56:[8, 48], Operations: ['10-2=8', '20+28=48']
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[2, 10, 20, 28], Operations: []
Exploring Operation: 20-10=10, Resulting Numbers: [2, 28, 10]
Generated Node #0,0: 56:[2, 28, 10] Operation: 20-10=10
Exploring Operation: 20/2=10, Resulting Numbers: [10, 28, 10]
Generated Node #0,1: 56:[10, 28, 10] Operation: 20/2=10
Exploring Operation: 20/10=2, Resulting Numbers: [2, 28, 2]
Generated Node #0,2: 56:[2, 28, 2] Operation: 20/10=2
Exploring Operation: 28-20=8, Resulting Numbers: [2, 10, 8]
Generated Node #0,3: 56:[2, 10, 8] Operation: 28-20=8
Exploring Operation: 10+20=30, Resulting Numbers: [2, 28, 30]
Generated Node #0,4: 56:[2, 28, 30] Operation: 10+20=30
Moving to Node #0,2
Current State: 56:[2, 28, 2], Operations: ['20/10=2']
Exploring Operation: 2*28=56, Resulting Numbers: [2, 56]
Generated Node #0,2,0: 56:[2, 56] Operation: 2*28=56
Exploring Operation: 28*2=56, Resulting Numbers: [2, 56]
Generated Node #0,2,1: 56:[2, 56] Operation: 28*2=56
Exploring Operation: 2*2=4, Resulting Numbers: [28, 4]
Generated Node #0,2,2: 56:[28, 4] Operation: 2*2=4
Exploring Operation: 2+2=4, Resulting Numbers: [28, 4]
Generated Node #0,2,3: 56:[28, 4] Operation: 2+2=4
Exploring Operation: 28/2=14, Resulting Numbers: [2, 14]
Generated Node #0,2,4: 56:[2, 14] Operation: 28/2=14
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 56:[2, 56], Operations: ['20/10=2', '2*28=56']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,56 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 56:[2, 56], Operations: ['20/10=2', '28*2=56']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,56 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 56:[28, 4], Operations: ['20/10=2', '2*2=4']
Exploring Operation: 28*4=112, Resulting Numbers: [112]
112,56 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,56 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 56:[28, 4], Operations: ['20/10=2', '2+2=4']
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,56 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,56 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 28*4=112, Resulting Numbers: [112]
112,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 56:[2, 14], Operations: ['20/10=2', '28/2=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,56 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: 56:[2, 10, 8], Operations: ['28-20=8']
Exploring Operation: 10-8=2, Resulting Numbers: [2, 2]
Generated Node #0,3,0: 56:[2, 2] Operation: 10-8=2
Exploring Operation: 10/2=5, Resulting Numbers: [8, 5]
Generated Node #0,3,1: 56:[8, 5] Operation: 10/2=5
Exploring Operation: 2+10=12, Resulting Numbers: [8, 12]
Generated Node #0,3,2: 56:[8, 12] Operation: 2+10=12
Exploring Operation: 10-2=8, Resulting Numbers: [8, 8]
Generated Node #0,3,3: 56:[8, 8] Operation: 10-2=8
Exploring Operation: 8/2=4, Resulting Numbers: [10, 4]
Generated Node #0,3,4: 56:[10, 4] Operation: 8/2=4
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 56:[2, 2], Operations: ['28-20=8', '10-8=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,56 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 56:[8, 8], Operations: ['28-20=8', '10-2=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,56 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,56 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 56:[8, 5], Operations: ['28-20=8', '10/2=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 56:[8, 12], Operations: ['28-20=8', '2+10=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,56 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 56:[10, 4], Operations: ['28-20=8', '8/2=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,56 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,56 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: 56:[2, 28, 10], Operations: ['20-10=10']
Exploring Operation: 10/2=5, Resulting Numbers: [28, 5]
Generated Node #0,0,0: 56:[28, 5] Operation: 10/2=5
Exploring Operation: 28/2=14, Resulting Numbers: [10, 14]
Generated Node #0,0,1: 56:[10, 14] Operation: 28/2=14
Exploring Operation: 2*28=56, Resulting Numbers: [10, 56]
Generated Node #0,0,2: 56:[10, 56] Operation: 2*28=56
Exploring Operation: 10-2=8, Resulting Numbers: [28, 8]
Generated Node #0,0,3: 56:[28, 8] Operation: 10-2=8
Exploring Operation: 2+10=12, Resulting Numbers: [28, 12]
Generated Node #0,0,4: 56:[28, 12] Operation: 2+10=12
Moving to Node #0,4
Current State: 56:[2, 28, 30], Operations: ['10+20=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28, 28]
Generated Node #0,4,0: 56:[28, 28] Operation: 30-2=28
Exploring Operation: 2*28=56, Resulting Numbers: [30, 56]
Generated Node #0,4,1: 56:[30, 56] Operation: 2*28=56
Exploring Operation: 30/2=15, Resulting Numbers: [28, 15]
Generated Node #0,4,2: 56:[28, 15] Operation: 30/2=15
Exploring Operation: 28/2=14, Resulting Numbers: [30, 14]
Generated Node #0,4,3: 56:[30, 14] Operation: 28/2=14
Exploring Operation: 30-28=2, Resulting Numbers: [2, 2]
Generated Node #0,4,4: 56:[2, 2] Operation: 30-28=2
Moving to Node #0,1
Current State: 56:[10, 28, 10], Operations: ['20/2=10']
Exploring Operation: 10-10=0, Resulting Numbers: [28, 0]
Generated Node #0,1,0: 56:[28, 0] Operation: 10-10=0
Exploring Operation: 10+10=20, Resulting Numbers: [28, 20]
Generated Node #0,1,1: 56:[28, 20] Operation: 10+10=20
Exploring Operation: 10/10=1, Resulting Numbers: [28, 1]
Generated Node #0,1,2: 56:[28, 1] Operation: 10/10=1
Exploring Operation: 28-10=18, Resulting Numbers: [10, 18]
Generated Node #0,1,3: 56:[10, 18] Operation: 28-10=18
Exploring Operation: 28-10=18, Resulting Numbers: [10, 18]
Generated Node #0,1,4: 56:[10, 18] Operation: 28-10=18
Moving to Node #0,0,3
Current State: 56:[28, 8], Operations: ['20-10=10', '10-2=8']
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,56 unequal: No Solution
Moving to Node #0,4,0
Current State: 56:[28, 28], Operations: ['10+20=30', '30-2=28']
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 28*28=784, Resulting Numbers: [784]
784,56 unequal: No Solution
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,56 unequal: No Solution
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[2, 10, 20, 28], Operations: []
Exploring Operation: 10+20=30, Resulting Numbers: [2, 28, 30]
Generated Node #0,4: 56:[2, 28, 30] Operation: 10+20=30
Moving to Node #0,4
Current State: 56:[2, 28, 30], Operations: ['10+20=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28, 28]
Generated Node #0,4,0: 56:[28, 28] Operation: 30-2=28
Moving to Node #0,4,0
Current State: 56:[28, 28], Operations: ['10+20=30', '30-2=28']
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.932292 | hs_5 | mult_heuristic |
[
53,
65,
2,
74
] | 84 | [
"65-53=12",
"74-2=72",
"12+72=84"
] | Current State: 84:[53, 65, 2, 74], Operations: []
Exploring Operation: 65-53=12, Resulting Numbers: [2, 74, 12]
Generated Node #2: [2, 74, 12] from Operation: 65-53=12
Current State: 84:[2, 74, 12], Operations: ['65-53=12']
Exploring Operation: 74-2=72, Resulting Numbers: [12, 72]
Generated Node #3: [12, 72] from Operation: 74-2=72
Current State: 84:[12, 72], Operations: ['65-53=12', '74-2=72']
Exploring Operation: 12+72=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[53, 65, 2, 74], Operations: []
Exploring Operation: 65-53=12, Resulting Numbers: [2, 74, 12]
Generated Node #0,0: 84:[2, 74, 12] Operation: 65-53=12
Exploring Operation: 74-65=9, Resulting Numbers: [53, 2, 9]
Generated Node #0,1: 84:[53, 2, 9] Operation: 74-65=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[2, 74, 12], Operations: ['65-53=12']
Exploring Operation: 74+12=86, Resulting Numbers: [2, 86]
Generated Node #0,0,0: 84:[2, 86] Operation: 74+12=86
Exploring Operation: 74/2=37, Resulting Numbers: [12, 37]
Generated Node #0,0,1: 84:[12, 37] Operation: 74/2=37
Moving to Node #0,0,0
Current State: 84:[2, 86], Operations: ['65-53=12', '74+12=86']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[53, 65, 2, 74], Operations: []
Exploring Operation: 65-53=12, Resulting Numbers: [2, 74, 12]
Generated Node #0,0: 84:[2, 74, 12] Operation: 65-53=12
Moving to Node #0,0
Current State: 84:[2, 74, 12], Operations: ['65-53=12']
Exploring Operation: 74+12=86, Resulting Numbers: [2, 86]
Generated Node #0,0,0: 84:[2, 86] Operation: 74+12=86
Moving to Node #0,0,0
Current State: 84:[2, 86], Operations: ['65-53=12', '74+12=86']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
21,
49,
71,
35
] | 100 | [
"49*71=3479",
"21+3479=3500",
"3500/35=100"
] | Current State: 100:[21, 49, 71, 35], Operations: []
Exploring Operation: 49*71=3479, Resulting Numbers: [21, 35, 3479]
Generated Node #2: [21, 35, 3479] from Operation: 49*71=3479
Current State: 100:[21, 35, 3479], Operations: ['49*71=3479']
Exploring Operation: 21+3479=3500, Resulting Numbers: [35, 3500]
Generated Node #3: [35, 3500] from Operation: 21+3479=3500
Current State: 100:[35, 3500], Operations: ['49*71=3479', '21+3479=3500']
Exploring Operation: 3500/35=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[21, 49, 71, 35], Operations: []
Exploring Operation: 71+35=106, Resulting Numbers: [21, 49, 106]
Generated Node #0,0: 100:[21, 49, 106] Operation: 71+35=106
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[21, 49, 106], Operations: ['71+35=106']
Exploring Operation: 106-49=57, Resulting Numbers: [21, 57]
Generated Node #0,0,0: 100:[21, 57] Operation: 106-49=57
Moving to Node #0,0,0
Current State: 100:[21, 57], Operations: ['71+35=106', '106-49=57']
Exploring Operation: 57-21=36, Resulting Numbers: [36]
36,100 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 |
[
92,
52,
46,
92
] | 72 | [
"92+52=144",
"92/46=2",
"144/2=72"
] | Current State: 72:[92, 52, 46, 92], Operations: []
Exploring Operation: 92+52=144, Resulting Numbers: [46, 144]
Generated Node #2: [46, 144] from Operation: 92+52=144
Current State: 72:[46, 144], Operations: ['92+52=144']
Exploring Operation: 92/46=2, Resulting Numbers: [144, 2]
Generated Node #3: [144, 2] from Operation: 92/46=2
Current State: 72:[144, 2], Operations: ['92+52=144', '92/46=2']
Exploring Operation: 144/2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[92, 52, 46, 92], Operations: []
Exploring Operation: 92/92=1, Resulting Numbers: [52, 46, 1]
Generated Node #0,0: 72:[52, 46, 1] Operation: 92/92=1
Moving to Node #0,0
Current State: 72:[52, 46, 1], Operations: ['92/92=1']
Exploring Operation: 52-46=6, Resulting Numbers: [1, 6]
Generated Node #0,0,0: 72:[1, 6] Operation: 52-46=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[1, 6], Operations: ['92/92=1', '52-46=6']
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
19,
43,
20,
72
] | 30 | [
"19+43=62",
"20+72=92",
"92-62=30"
] | Current State: 30:[19, 43, 20, 72], Operations: []
Exploring Operation: 19+43=62, Resulting Numbers: [20, 72, 62]
Generated Node #2: [20, 72, 62] from Operation: 19+43=62
Current State: 30:[20, 72, 62], Operations: ['19+43=62']
Exploring Operation: 20+72=92, Resulting Numbers: [62, 92]
Generated Node #3: [62, 92] from Operation: 20+72=92
Current State: 30:[62, 92], Operations: ['19+43=62', '20+72=92']
Exploring Operation: 92-62=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[19, 43, 20, 72], Operations: []
Exploring Operation: 72-20=52, Resulting Numbers: [19, 43, 52]
Generated Node #0,0: 30:[19, 43, 52] Operation: 72-20=52
Exploring Operation: 72-43=29, Resulting Numbers: [19, 20, 29]
Generated Node #0,1: 30:[19, 20, 29] Operation: 72-43=29
Moving to Node #0,1
Current State: 30:[19, 20, 29], Operations: ['72-43=29']
Exploring Operation: 29-19=10, Resulting Numbers: [20, 10]
Generated Node #0,1,0: 30:[20, 10] Operation: 29-19=10
Exploring Operation: 20-19=1, Resulting Numbers: [29, 1]
Generated Node #0,1,1: 30:[29, 1] Operation: 20-19=1
Moving to Node #0,0
Current State: 30:[19, 43, 52], Operations: ['72-20=52']
Exploring Operation: 52-43=9, Resulting Numbers: [19, 9]
Generated Node #0,0,0: 30:[19, 9] Operation: 52-43=9
Exploring Operation: 52-19=33, Resulting Numbers: [43, 33]
Generated Node #0,0,1: 30:[43, 33] Operation: 52-19=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[19, 9], Operations: ['72-20=52', '52-43=9']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[43, 33], Operations: ['72-20=52', '52-19=33']
Exploring Operation: 43+33=76, Resulting Numbers: [76]
76,30 unequal: No Solution
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 30:[29, 1], Operations: ['72-43=29', '20-19=1']
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,30 unequal: No Solution
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[19, 43, 20, 72], Operations: []
Exploring Operation: 72-43=29, Resulting Numbers: [19, 20, 29]
Generated Node #0,1: 30:[19, 20, 29] Operation: 72-43=29
Moving to Node #0,1
Current State: 30:[19, 20, 29], Operations: ['72-43=29']
Exploring Operation: 20-19=1, Resulting Numbers: [29, 1]
Generated Node #0,1,1: 30:[29, 1] Operation: 20-19=1
Moving to Node #0,1,1
Current State: 30:[29, 1], Operations: ['72-43=29', '20-19=1']
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.