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 |
|---|---|---|---|---|---|---|---|---|
[
49,
71,
10,
88
] | 100 | [
"49+71=120",
"120/10=12",
"88+12=100"
] | Current State: 100:[49, 71, 10, 88], Operations: []
Exploring Operation: 49+71=120, Resulting Numbers: [10, 88, 120]
Generated Node #2: [10, 88, 120] from Operation: 49+71=120
Current State: 100:[10, 88, 120], Operations: ['49+71=120']
Exploring Operation: 120/10=12, Resulting Numbers: [88, 12]
Generated Node #3: [88, 12] from Operation: 120/10=12
Current State: 100:[88, 12], Operations: ['49+71=120', '120/10=12']
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[49, 71, 10, 88], Operations: []
Exploring Operation: 71-49=22, Resulting Numbers: [10, 88, 22]
Generated Node #0,0: 100:[10, 88, 22] Operation: 71-49=22
Exploring Operation: 88-71=17, Resulting Numbers: [49, 10, 17]
Generated Node #0,1: 100:[49, 10, 17] Operation: 88-71=17
Moving to Node #0,1
Current State: 100:[49, 10, 17], Operations: ['88-71=17']
Exploring Operation: 10+17=27, Resulting Numbers: [49, 27]
Generated Node #0,1,0: 100:[49, 27] Operation: 10+17=27
Exploring Operation: 17-10=7, Resulting Numbers: [49, 7]
Generated Node #0,1,1: 100:[49, 7] Operation: 17-10=7
Moving to Node #0,0
Current State: 100:[10, 88, 22], Operations: ['71-49=22']
Exploring Operation: 88/22=4, Resulting Numbers: [10, 4]
Generated Node #0,0,0: 100:[10, 4] Operation: 88/22=4
Exploring Operation: 10+88=98, Resulting Numbers: [22, 98]
Generated Node #0,0,1: 100:[22, 98] Operation: 10+88=98
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[10, 4], Operations: ['71-49=22', '88/22=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 100:[22, 98], Operations: ['71-49=22', '10+88=98']
Exploring Operation: 98-22=76, Resulting Numbers: [76]
76,100 unequal: No Solution
Exploring Operation: 22+98=120, Resulting Numbers: [120]
120,100 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: 100:[49, 27], Operations: ['88-71=17', '10+17=27']
Exploring Operation: 49+27=76, Resulting Numbers: [76]
76,100 unequal: No Solution
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[49, 7], Operations: ['88-71=17', '17-10=7']
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,100 unequal: No Solution
Exploring Operation: 49+7=56, Resulting Numbers: [56]
56,100 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
64,
48,
90,
38
] | 73 | [
"48-38=10",
"90/10=9",
"64+9=73"
] | Current State: 73:[64, 48, 90, 38], Operations: []
Exploring Operation: 48-38=10, Resulting Numbers: [64, 90, 10]
Generated Node #2: [64, 90, 10] from Operation: 48-38=10
Current State: 73:[64, 90, 10], Operations: ['48-38=10']
Exploring Operation: 90/10=9, Resulting Numbers: [64, 9]
Generated Node #3: [64, 9] from Operation: 90/10=9
Current State: 73:[64, 9], Operations: ['48-38=10', '90/10=9']
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[64, 48, 90, 38], Operations: []
Exploring Operation: 48+38=86, Resulting Numbers: [64, 90, 86]
Generated Node #0,0: 73:[64, 90, 86] Operation: 48+38=86
Exploring Operation: 90-38=52, Resulting Numbers: [64, 48, 52]
Generated Node #0,1: 73:[64, 48, 52] Operation: 90-38=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[64, 90, 86], Operations: ['48+38=86']
Exploring Operation: 86-64=22, Resulting Numbers: [90, 22]
Generated Node #0,0,0: 73:[90, 22] Operation: 86-64=22
Exploring Operation: 90-64=26, Resulting Numbers: [86, 26]
Generated Node #0,0,1: 73:[86, 26] Operation: 90-64=26
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[86, 26], Operations: ['48+38=86', '90-64=26']
Exploring Operation: 86+26=112, Resulting Numbers: [112]
112,73 unequal: No Solution
Exploring Operation: 86-26=60, Resulting Numbers: [60]
60,73 unequal: No Solution
No 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: 73:[90, 22], Operations: ['48+38=86', '86-64=22']
Exploring Operation: 90+22=112, Resulting Numbers: [112]
112,73 unequal: No Solution
Exploring Operation: 90-22=68, Resulting Numbers: [68]
68,73 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: 73:[64, 48, 52], Operations: ['90-38=52']
Exploring Operation: 64+48=112, Resulting Numbers: [52, 112]
Generated Node #0,1,0: 73:[52, 112] Operation: 64+48=112
Exploring Operation: 48+52=100, Resulting Numbers: [64, 100]
Generated Node #0,1,1: 73:[64, 100] Operation: 48+52=100
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[64, 100], Operations: ['90-38=52', '48+52=100']
Exploring Operation: 100-64=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 64+100=164, Resulting Numbers: [164]
164,73 unequal: No Solution
No 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: 73:[52, 112], Operations: ['90-38=52', '64+48=112']
Exploring Operation: 52+112=164, Resulting Numbers: [164]
164,73 unequal: No Solution
Exploring Operation: 112-52=60, Resulting Numbers: [60]
60,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
4,
34,
19,
33
] | 31 | [
"4+34=38",
"38/19=2",
"33-2=31"
] | Current State: 31:[4, 34, 19, 33], Operations: []
Exploring Operation: 4+34=38, Resulting Numbers: [19, 33, 38]
Generated Node #2: [19, 33, 38] from Operation: 4+34=38
Current State: 31:[19, 33, 38], Operations: ['4+34=38']
Exploring Operation: 38/19=2, Resulting Numbers: [33, 2]
Generated Node #3: [33, 2] from Operation: 38/19=2
Current State: 31:[33, 2], Operations: ['4+34=38', '38/19=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[4, 34, 19, 33], Operations: []
Exploring Operation: 4+19=23, Resulting Numbers: [34, 33, 23]
Generated Node #0,0: 31:[34, 33, 23] Operation: 4+19=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[34, 33, 23], Operations: ['4+19=23']
Exploring Operation: 34-23=11, Resulting Numbers: [33, 11]
Generated Node #0,0,0: 31:[33, 11] Operation: 34-23=11
Moving to Node #0,0,0
Current State: 31:[33, 11], Operations: ['4+19=23', '34-23=11']
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
35,
88,
83,
55
] | 81 | [
"88-35=53",
"83-55=28",
"53+28=81"
] | Current State: 81:[35, 88, 83, 55], Operations: []
Exploring Operation: 88-35=53, Resulting Numbers: [83, 55, 53]
Generated Node #2: [83, 55, 53] from Operation: 88-35=53
Current State: 81:[83, 55, 53], Operations: ['88-35=53']
Exploring Operation: 83-55=28, Resulting Numbers: [53, 28]
Generated Node #3: [53, 28] from Operation: 83-55=28
Current State: 81:[53, 28], Operations: ['88-35=53', '83-55=28']
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[35, 88, 83, 55], Operations: []
Exploring Operation: 55-35=20, Resulting Numbers: [88, 83, 20]
Generated Node #0,0: 81:[88, 83, 20] Operation: 55-35=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[88, 83, 20], Operations: ['55-35=20']
Exploring Operation: 88-83=5, Resulting Numbers: [20, 5]
Generated Node #0,0,0: 81:[20, 5] Operation: 88-83=5
Moving to Node #0,0,0
Current State: 81:[20, 5], Operations: ['55-35=20', '88-83=5']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,81 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 |
[
8,
44,
4,
50
] | 94 | [
"44-8=36",
"4*36=144",
"144-50=94"
] | Current State: 94:[8, 44, 4, 50], Operations: []
Exploring Operation: 44-8=36, Resulting Numbers: [4, 50, 36]
Generated Node #2: [4, 50, 36] from Operation: 44-8=36
Current State: 94:[4, 50, 36], Operations: ['44-8=36']
Exploring Operation: 4*36=144, Resulting Numbers: [50, 144]
Generated Node #3: [50, 144] from Operation: 4*36=144
Current State: 94:[50, 144], Operations: ['44-8=36', '4*36=144']
Exploring Operation: 144-50=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[8, 44, 4, 50], Operations: []
Exploring Operation: 8-4=4, Resulting Numbers: [44, 50, 4]
Generated Node #0,0: 94:[44, 50, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [44, 50, 2]
Generated Node #0,1: 94:[44, 50, 2] Operation: 8/4=2
Moving to Node #0,1
Current State: 94:[44, 50, 2], Operations: ['8/4=2']
Exploring Operation: 44+50=94, Resulting Numbers: [2, 94]
Generated Node #0,1,0: 94:[2, 94] Operation: 44+50=94
Exploring Operation: 50-44=6, Resulting Numbers: [2, 6]
Generated Node #0,1,1: 94:[2, 6] Operation: 50-44=6
Moving to Node #0,0
Current State: 94:[44, 50, 4], Operations: ['8-4=4']
Exploring Operation: 44+50=94, Resulting Numbers: [4, 94]
Generated Node #0,0,0: 94:[4, 94] Operation: 44+50=94
Exploring Operation: 44+4=48, Resulting Numbers: [50, 48]
Generated Node #0,0,1: 94:[50, 48] Operation: 44+4=48
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[4, 94], Operations: ['8-4=4', '44+50=94']
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,94 unequal: No Solution
Exploring Operation: 4+94=98, Resulting Numbers: [98]
98,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[50, 48], Operations: ['8-4=4', '44+4=48']
Exploring Operation: 50+48=98, Resulting Numbers: [98]
98,94 unequal: No Solution
Exploring Operation: 50-48=2, Resulting Numbers: [2]
2,94 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: 94:[2, 94], Operations: ['8/4=2', '44+50=94']
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 2+94=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[2, 6], Operations: ['8/4=2', '50-44=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,94 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
62,
7,
44,
8
] | 50 | [
"62+44=106",
"7*8=56",
"106-56=50"
] | Current State: 50:[62, 7, 44, 8], Operations: []
Exploring Operation: 62+44=106, Resulting Numbers: [7, 8, 106]
Generated Node #2: [7, 8, 106] from Operation: 62+44=106
Current State: 50:[7, 8, 106], Operations: ['62+44=106']
Exploring Operation: 7*8=56, Resulting Numbers: [106, 56]
Generated Node #3: [106, 56] from Operation: 7*8=56
Current State: 50:[106, 56], Operations: ['62+44=106', '7*8=56']
Exploring Operation: 106-56=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[62, 7, 44, 8], Operations: []
Exploring Operation: 62-44=18, Resulting Numbers: [7, 8, 18]
Generated Node #0,0: 50:[7, 8, 18] Operation: 62-44=18
Moving to Node #0,0
Current State: 50:[7, 8, 18], Operations: ['62-44=18']
Exploring Operation: 7+18=25, Resulting Numbers: [8, 25]
Generated Node #0,0,0: 50:[8, 25] Operation: 7+18=25
Moving to Node #0,0,0
Current State: 50:[8, 25], Operations: ['62-44=18', '7+18=25']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,50 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
74,
65,
12,
37
] | 79 | [
"74/37=2",
"65+12=77",
"2+77=79"
] | Current State: 79:[74, 65, 12, 37], Operations: []
Exploring Operation: 74/37=2, Resulting Numbers: [65, 12, 2]
Generated Node #2: [65, 12, 2] from Operation: 74/37=2
Current State: 79:[65, 12, 2], Operations: ['74/37=2']
Exploring Operation: 65+12=77, Resulting Numbers: [2, 77]
Generated Node #3: [2, 77] from Operation: 65+12=77
Current State: 79:[2, 77], Operations: ['74/37=2', '65+12=77']
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[74, 65, 12, 37], Operations: []
Exploring Operation: 74-12=62, Resulting Numbers: [65, 37, 62]
Generated Node #0,0: 79:[65, 37, 62] Operation: 74-12=62
Exploring Operation: 74+12=86, Resulting Numbers: [65, 37, 86]
Generated Node #0,1: 79:[65, 37, 86] Operation: 74+12=86
Exploring Operation: 12+37=49, Resulting Numbers: [74, 65, 49]
Generated Node #0,2: 79:[74, 65, 49] Operation: 12+37=49
Exploring Operation: 65+12=77, Resulting Numbers: [74, 37, 77]
Generated Node #0,3: 79:[74, 37, 77] Operation: 65+12=77
Exploring Operation: 65-12=53, Resulting Numbers: [74, 37, 53]
Generated Node #0,4: 79:[74, 37, 53] Operation: 65-12=53
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[74, 65, 49], Operations: ['12+37=49']
Exploring Operation: 74+49=123, Resulting Numbers: [65, 123]
Generated Node #0,2,0: 79:[65, 123] Operation: 74+49=123
Exploring Operation: 65-49=16, Resulting Numbers: [74, 16]
Generated Node #0,2,1: 79:[74, 16] Operation: 65-49=16
Exploring Operation: 74+65=139, Resulting Numbers: [49, 139]
Generated Node #0,2,2: 79:[49, 139] Operation: 74+65=139
Exploring Operation: 65+49=114, Resulting Numbers: [74, 114]
Generated Node #0,2,3: 79:[74, 114] Operation: 65+49=114
Exploring Operation: 74-49=25, Resulting Numbers: [65, 25]
Generated Node #0,2,4: 79:[65, 25] Operation: 74-49=25
Moving to Node #0,2,3
Current State: 79:[74, 114], Operations: ['12+37=49', '65+49=114']
Exploring Operation: 74+114=188, Resulting Numbers: [188]
188,79 unequal: No Solution
Exploring Operation: 114-74=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Exploring Operation: 74*114=8436, Resulting Numbers: [8436]
8436,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[65, 123], Operations: ['12+37=49', '74+49=123']
Exploring Operation: 65*123=7995, Resulting Numbers: [7995]
7995,79 unequal: No Solution
Exploring Operation: 65+123=188, Resulting Numbers: [188]
188,79 unequal: No Solution
Exploring Operation: 123-65=58, Resulting Numbers: [58]
58,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[74, 16], Operations: ['12+37=49', '65-49=16']
Exploring Operation: 74+16=90, Resulting Numbers: [90]
90,79 unequal: No Solution
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,79 unequal: No Solution
Exploring Operation: 74*16=1184, Resulting Numbers: [1184]
1184,79 unequal: No Solution
Moving to Node #0,2,4
Current State: 79:[65, 25], Operations: ['12+37=49', '74-49=25']
Exploring Operation: 65+25=90, Resulting Numbers: [90]
90,79 unequal: No Solution
Exploring Operation: 65-25=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Exploring Operation: 65*25=1625, Resulting Numbers: [1625]
1625,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[49, 139], Operations: ['12+37=49', '74+65=139']
Exploring Operation: 139-49=90, Resulting Numbers: [90]
90,79 unequal: No Solution
Exploring Operation: 49+139=188, Resulting Numbers: [188]
188,79 unequal: No Solution
Exploring Operation: 49*139=6811, Resulting Numbers: [6811]
6811,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 79:[74, 37, 77], Operations: ['65+12=77']
Exploring Operation: 74+37=111, Resulting Numbers: [77, 111]
Generated Node #0,3,0: 79:[77, 111] Operation: 74+37=111
Exploring Operation: 37+77=114, Resulting Numbers: [74, 114]
Generated Node #0,3,1: 79:[74, 114] Operation: 37+77=114
Exploring Operation: 77-37=40, Resulting Numbers: [74, 40]
Generated Node #0,3,2: 79:[74, 40] Operation: 77-37=40
Exploring Operation: 74/37=2, Resulting Numbers: [77, 2]
Generated Node #0,3,3: 79:[77, 2] Operation: 74/37=2
Exploring Operation: 74-37=37, Resulting Numbers: [77, 37]
Generated Node #0,3,4: 79:[77, 37] Operation: 74-37=37
Moving to Node #0,3,0
Current State: 79:[77, 111], Operations: ['65+12=77', '74+37=111']
Exploring Operation: 111-77=34, Resulting Numbers: [34]
34,79 unequal: No Solution
Exploring Operation: 77*111=8547, Resulting Numbers: [8547]
8547,79 unequal: No Solution
Exploring Operation: 77+111=188, Resulting Numbers: [188]
188,79 unequal: No Solution
Moving to Node #0,3,1
Current State: 79:[74, 114], Operations: ['65+12=77', '37+77=114']
Exploring Operation: 114-74=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Exploring Operation: 74+114=188, Resulting Numbers: [188]
188,79 unequal: No Solution
Exploring Operation: 74*114=8436, Resulting Numbers: [8436]
8436,79 unequal: No Solution
Moving to Node #0,3,2
Current State: 79:[74, 40], Operations: ['65+12=77', '77-37=40']
Exploring Operation: 74+40=114, Resulting Numbers: [114]
114,79 unequal: No Solution
Exploring Operation: 74*40=2960, Resulting Numbers: [2960]
2960,79 unequal: No Solution
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,79 unequal: No Solution
Moving to Node #0,3,4
Current State: 79:[77, 37], Operations: ['65+12=77', '74-37=37']
Exploring Operation: 77+37=114, Resulting Numbers: [114]
114,79 unequal: No Solution
Exploring Operation: 77*37=2849, Resulting Numbers: [2849]
2849,79 unequal: No Solution
Exploring Operation: 77-37=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Moving to Node #0,3,3
Current State: 79:[77, 2], Operations: ['65+12=77', '74/37=2']
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,79 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,79 unequal: No Solution
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[74, 65, 12, 37], Operations: []
Exploring Operation: 65+12=77, Resulting Numbers: [74, 37, 77]
Generated Node #0,3: 79:[74, 37, 77] Operation: 65+12=77
Moving to Node #0,3
Current State: 79:[74, 37, 77], Operations: ['65+12=77']
Exploring Operation: 74/37=2, Resulting Numbers: [77, 2]
Generated Node #0,3,3: 79:[77, 2] Operation: 74/37=2
Moving to Node #0,3,3
Current State: 79:[77, 2], Operations: ['65+12=77', '74/37=2']
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.957465 | hs_5 | mult_heuristic |
[
63,
67,
74,
10
] | 80 | [
"67-63=4",
"74+10=84",
"84-4=80"
] | Current State: 80:[63, 67, 74, 10], Operations: []
Exploring Operation: 67-63=4, Resulting Numbers: [74, 10, 4]
Generated Node #2: [74, 10, 4] from Operation: 67-63=4
Current State: 80:[74, 10, 4], Operations: ['67-63=4']
Exploring Operation: 74+10=84, Resulting Numbers: [4, 84]
Generated Node #3: [4, 84] from Operation: 74+10=84
Current State: 80:[4, 84], Operations: ['67-63=4', '74+10=84']
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[63, 67, 74, 10], Operations: []
Exploring Operation: 74-63=11, Resulting Numbers: [67, 10, 11]
Generated Node #0,0: 80:[67, 10, 11] Operation: 74-63=11
Exploring Operation: 74-67=7, Resulting Numbers: [63, 10, 7]
Generated Node #0,1: 80:[63, 10, 7] Operation: 74-67=7
Exploring Operation: 67-63=4, Resulting Numbers: [74, 10, 4]
Generated Node #0,2: 80:[74, 10, 4] Operation: 67-63=4
Exploring Operation: 63+10=73, Resulting Numbers: [67, 74, 73]
Generated Node #0,3: 80:[67, 74, 73] Operation: 63+10=73
Exploring Operation: 67+10=77, Resulting Numbers: [63, 74, 77]
Generated Node #0,4: 80:[63, 74, 77] Operation: 67+10=77
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[74, 10, 4], Operations: ['67-63=4']
Exploring Operation: 10-4=6, Resulting Numbers: [74, 6]
Generated Node #0,2,0: 80:[74, 6] Operation: 10-4=6
Exploring Operation: 74+10=84, Resulting Numbers: [4, 84]
Generated Node #0,2,1: 80:[4, 84] Operation: 74+10=84
Exploring Operation: 10*4=40, Resulting Numbers: [74, 40]
Generated Node #0,2,2: 80:[74, 40] Operation: 10*4=40
Exploring Operation: 10+4=14, Resulting Numbers: [74, 14]
Generated Node #0,2,3: 80:[74, 14] Operation: 10+4=14
Exploring Operation: 74+4=78, Resulting Numbers: [10, 78]
Generated Node #0,2,4: 80:[10, 78] Operation: 74+4=78
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 80:[10, 78], Operations: ['67-63=4', '74+4=78']
Exploring Operation: 10+78=88, Resulting Numbers: [88]
88,80 unequal: No Solution
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,80 unequal: No Solution
Exploring Operation: 10*78=780, Resulting Numbers: [780]
780,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:[4, 84], Operations: ['67-63=4', '74+10=84']
Exploring Operation: 4+84=88, Resulting Numbers: [88]
88,80 unequal: No Solution
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[63, 67, 74, 10], Operations: []
Exploring Operation: 67-63=4, Resulting Numbers: [74, 10, 4]
Generated Node #0,2: 80:[74, 10, 4] Operation: 67-63=4
Moving to Node #0,2
Current State: 80:[74, 10, 4], Operations: ['67-63=4']
Exploring Operation: 74+10=84, Resulting Numbers: [4, 84]
Generated Node #0,2,1: 80:[4, 84] Operation: 74+10=84
Moving to Node #0,2,1
Current State: 80:[4, 84], Operations: ['67-63=4', '74+10=84']
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
29,
63,
11,
3
] | 91 | [
"63-29=34",
"3*34=102",
"102-11=91"
] | Current State: 91:[29, 63, 11, 3], Operations: []
Exploring Operation: 63-29=34, Resulting Numbers: [11, 3, 34]
Generated Node #2: [11, 3, 34] from Operation: 63-29=34
Current State: 91:[11, 3, 34], Operations: ['63-29=34']
Exploring Operation: 3*34=102, Resulting Numbers: [11, 102]
Generated Node #3: [11, 102] from Operation: 3*34=102
Current State: 91:[11, 102], Operations: ['63-29=34', '3*34=102']
Exploring Operation: 102-11=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[29, 63, 11, 3], Operations: []
Exploring Operation: 63/3=21, Resulting Numbers: [29, 11, 21]
Generated Node #0,0: 91:[29, 11, 21] Operation: 63/3=21
Exploring Operation: 63-29=34, Resulting Numbers: [11, 3, 34]
Generated Node #0,1: 91:[11, 3, 34] Operation: 63-29=34
Exploring Operation: 29+63=92, Resulting Numbers: [11, 3, 92]
Generated Node #0,2: 91:[11, 3, 92] Operation: 29+63=92
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[11, 3, 92], Operations: ['29+63=92']
Exploring Operation: 92-3=89, Resulting Numbers: [11, 89]
Generated Node #0,2,0: 91:[11, 89] Operation: 92-3=89
Exploring Operation: 11+3=14, Resulting Numbers: [92, 14]
Generated Node #0,2,1: 91:[92, 14] Operation: 11+3=14
Exploring Operation: 11-3=8, Resulting Numbers: [92, 8]
Generated Node #0,2,2: 91:[92, 8] Operation: 11-3=8
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 91:[92, 14], Operations: ['29+63=92', '11+3=14']
Exploring Operation: 92+14=106, Resulting Numbers: [106]
106,91 unequal: No Solution
Exploring Operation: 92-14=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Exploring Operation: 92*14=1288, Resulting Numbers: [1288]
1288,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,2,2
Current State: 91:[92, 8], Operations: ['29+63=92', '11-3=8']
Exploring Operation: 92-8=84, Resulting Numbers: [84]
84,91 unequal: No Solution
Exploring Operation: 92+8=100, Resulting Numbers: [100]
100,91 unequal: No Solution
Exploring Operation: 92*8=736, Resulting Numbers: [736]
736,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,2,0
Current State: 91:[11, 89], Operations: ['29+63=92', '92-3=89']
Exploring Operation: 11+89=100, Resulting Numbers: [100]
100,91 unequal: No Solution
Exploring Operation: 89-11=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Exploring Operation: 11*89=979, Resulting Numbers: [979]
979,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,0
Current State: 91:[29, 11, 21], Operations: ['63/3=21']
Exploring Operation: 21-11=10, Resulting Numbers: [29, 10]
Generated Node #0,0,0: 91:[29, 10] Operation: 21-11=10
Exploring Operation: 29-11=18, Resulting Numbers: [21, 18]
Generated Node #0,0,1: 91:[21, 18] Operation: 29-11=18
Exploring Operation: 29-21=8, Resulting Numbers: [11, 8]
Generated Node #0,0,2: 91:[11, 8] Operation: 29-21=8
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 91:[11, 8], Operations: ['63/3=21', '29-21=8']
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,91 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,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:[21, 18], Operations: ['63/3=21', '29-11=18']
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,91 unequal: No Solution
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,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,0
Current State: 91:[29, 10], Operations: ['63/3=21', '21-11=10']
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 29*10=290, Resulting Numbers: [290]
290,91 unequal: No Solution
Exploring Operation: 29+10=39, Resulting Numbers: [39]
39,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:[11, 3, 34], Operations: ['63-29=34']
Exploring Operation: 34-3=31, Resulting Numbers: [11, 31]
Generated Node #0,1,0: 91:[11, 31] Operation: 34-3=31
Exploring Operation: 3*34=102, Resulting Numbers: [11, 102]
Generated Node #0,1,1: 91:[11, 102] Operation: 3*34=102
Exploring Operation: 34-11=23, Resulting Numbers: [3, 23]
Generated Node #0,1,2: 91:[3, 23] Operation: 34-11=23
Moving to Node #0,1,1
Current State: 91:[11, 102], Operations: ['63-29=34', '3*34=102']
Exploring Operation: 11*102=1122, Resulting Numbers: [1122]
1122,91 unequal: No Solution
Exploring Operation: 102-11=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[29, 63, 11, 3], Operations: []
Exploring Operation: 63-29=34, Resulting Numbers: [11, 3, 34]
Generated Node #0,1: 91:[11, 3, 34] Operation: 63-29=34
Moving to Node #0,1
Current State: 91:[11, 3, 34], Operations: ['63-29=34']
Exploring Operation: 3*34=102, Resulting Numbers: [11, 102]
Generated Node #0,1,1: 91:[11, 102] Operation: 3*34=102
Moving to Node #0,1,1
Current State: 91:[11, 102], Operations: ['63-29=34', '3*34=102']
Exploring Operation: 102-11=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_3 | mult_heuristic |
[
29,
36,
18,
57
] | 87 | [
"36+18=54",
"57-54=3",
"29*3=87"
] | Current State: 87:[29, 36, 18, 57], Operations: []
Exploring Operation: 36+18=54, Resulting Numbers: [29, 57, 54]
Generated Node #2: [29, 57, 54] from Operation: 36+18=54
Current State: 87:[29, 57, 54], Operations: ['36+18=54']
Exploring Operation: 57-54=3, Resulting Numbers: [29, 3]
Generated Node #3: [29, 3] from Operation: 57-54=3
Current State: 87:[29, 3], Operations: ['36+18=54', '57-54=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[29, 36, 18, 57], Operations: []
Exploring Operation: 57-18=39, Resulting Numbers: [29, 36, 39]
Generated Node #0,0: 87:[29, 36, 39] Operation: 57-18=39
Exploring Operation: 29+57=86, Resulting Numbers: [36, 18, 86]
Generated Node #0,1: 87:[36, 18, 86] Operation: 29+57=86
Exploring Operation: 36+57=93, Resulting Numbers: [29, 18, 93]
Generated Node #0,2: 87:[29, 18, 93] Operation: 36+57=93
Exploring Operation: 57-29=28, Resulting Numbers: [36, 18, 28]
Generated Node #0,3: 87:[36, 18, 28] Operation: 57-29=28
Exploring Operation: 57-36=21, Resulting Numbers: [29, 18, 21]
Generated Node #0,4: 87:[29, 18, 21] Operation: 57-36=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[29, 36, 39], Operations: ['57-18=39']
Exploring Operation: 36+39=75, Resulting Numbers: [29, 75]
Generated Node #0,0,0: 87:[29, 75] Operation: 36+39=75
Exploring Operation: 39-36=3, Resulting Numbers: [29, 3]
Generated Node #0,0,1: 87:[29, 3] Operation: 39-36=3
Exploring Operation: 29+39=68, Resulting Numbers: [36, 68]
Generated Node #0,0,2: 87:[36, 68] Operation: 29+39=68
Exploring Operation: 36-29=7, Resulting Numbers: [39, 7]
Generated Node #0,0,3: 87:[39, 7] Operation: 36-29=7
Exploring Operation: 39-29=10, Resulting Numbers: [36, 10]
Generated Node #0,0,4: 87:[36, 10] Operation: 39-29=10
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[29, 3], Operations: ['57-18=39', '39-36=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[29, 36, 18, 57], Operations: []
Exploring Operation: 57-18=39, Resulting Numbers: [29, 36, 39]
Generated Node #0,0: 87:[29, 36, 39] Operation: 57-18=39
Moving to Node #0,0
Current State: 87:[29, 36, 39], Operations: ['57-18=39']
Exploring Operation: 39-36=3, Resulting Numbers: [29, 3]
Generated Node #0,0,1: 87:[29, 3] Operation: 39-36=3
Moving to Node #0,0,1
Current State: 87:[29, 3], Operations: ['57-18=39', '39-36=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
30,
25,
75,
7
] | 63 | [
"30-25=5",
"75-7=68",
"68-5=63"
] | Current State: 63:[30, 25, 75, 7], Operations: []
Exploring Operation: 30-25=5, Resulting Numbers: [75, 7, 5]
Generated Node #2: [75, 7, 5] from Operation: 30-25=5
Current State: 63:[75, 7, 5], Operations: ['30-25=5']
Exploring Operation: 75-7=68, Resulting Numbers: [5, 68]
Generated Node #3: [5, 68] from Operation: 75-7=68
Current State: 63:[5, 68], Operations: ['30-25=5', '75-7=68']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[30, 25, 75, 7], Operations: []
Exploring Operation: 75/25=3, Resulting Numbers: [30, 7, 3]
Generated Node #0,0: 63:[30, 7, 3] Operation: 75/25=3
Exploring Operation: 30-25=5, Resulting Numbers: [75, 7, 5]
Generated Node #0,1: 63:[75, 7, 5] Operation: 30-25=5
Exploring Operation: 30+25=55, Resulting Numbers: [75, 7, 55]
Generated Node #0,2: 63:[75, 7, 55] Operation: 30+25=55
Exploring Operation: 75-7=68, Resulting Numbers: [30, 25, 68]
Generated Node #0,3: 63:[30, 25, 68] Operation: 75-7=68
Exploring Operation: 30-7=23, Resulting Numbers: [25, 75, 23]
Generated Node #0,4: 63:[25, 75, 23] Operation: 30-7=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[30, 7, 3], Operations: ['75/25=3']
Exploring Operation: 30/3=10, Resulting Numbers: [7, 10]
Generated Node #0,0,0: 63:[7, 10] Operation: 30/3=10
Exploring Operation: 30-3=27, Resulting Numbers: [7, 27]
Generated Node #0,0,1: 63:[7, 27] Operation: 30-3=27
Exploring Operation: 30-7=23, Resulting Numbers: [3, 23]
Generated Node #0,0,2: 63:[3, 23] Operation: 30-7=23
Exploring Operation: 7+3=10, Resulting Numbers: [30, 10]
Generated Node #0,0,3: 63:[30, 10] Operation: 7+3=10
Exploring Operation: 7*3=21, Resulting Numbers: [30, 21]
Generated Node #0,0,4: 63:[30, 21] Operation: 7*3=21
Moving to Node #0,0,0
Current State: 63:[7, 10], Operations: ['75/25=3', '30/3=10']
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[3, 23], Operations: ['75/25=3', '30-7=23']
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[7, 27], Operations: ['75/25=3', '30-3=27']
Exploring Operation: 7*27=189, Resulting Numbers: [189]
189,63 unequal: No Solution
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,63 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Moving to Node #0,0,4
Current State: 63:[30, 21], Operations: ['75/25=3', '7*3=21']
Exploring Operation: 30*21=630, Resulting Numbers: [630]
630,63 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 30+21=51, Resulting Numbers: [51]
51,63 unequal: No Solution
Moving to Node #0,0,3
Current State: 63:[30, 10], Operations: ['75/25=3', '7+3=10']
Exploring Operation: 30+10=40, Resulting Numbers: [40]
40,63 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 30*10=300, Resulting Numbers: [300]
300,63 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,63 unequal: No Solution
No solution 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: 63:[75, 7, 5], Operations: ['30-25=5']
Exploring Operation: 7+5=12, Resulting Numbers: [75, 12]
Generated Node #0,1,0: 63:[75, 12] Operation: 7+5=12
Exploring Operation: 7-5=2, Resulting Numbers: [75, 2]
Generated Node #0,1,1: 63:[75, 2] Operation: 7-5=2
Exploring Operation: 75/5=15, Resulting Numbers: [7, 15]
Generated Node #0,1,2: 63:[7, 15] Operation: 75/5=15
Exploring Operation: 75-5=70, Resulting Numbers: [7, 70]
Generated Node #0,1,3: 63:[7, 70] Operation: 75-5=70
Exploring Operation: 75-7=68, Resulting Numbers: [5, 68]
Generated Node #0,1,4: 63:[5, 68] Operation: 75-7=68
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 63:[7, 15], Operations: ['30-25=5', '75/5=15']
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,63 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,63 unequal: No Solution
No 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: 63:[7, 70], Operations: ['30-25=5', '75-5=70']
Exploring Operation: 7*70=490, Resulting Numbers: [490]
490,63 unequal: No Solution
Exploring Operation: 7+70=77, Resulting Numbers: [77]
77,63 unequal: No Solution
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[30, 25, 75, 7], Operations: []
Exploring Operation: 30-25=5, Resulting Numbers: [75, 7, 5]
Generated Node #0,1: 63:[75, 7, 5] Operation: 30-25=5
Moving to Node #0,1
Current State: 63:[75, 7, 5], Operations: ['30-25=5']
Exploring Operation: 75-5=70, Resulting Numbers: [7, 70]
Generated Node #0,1,3: 63:[7, 70] Operation: 75-5=70
Moving to Node #0,1,3
Current State: 63:[7, 70], Operations: ['30-25=5', '75-5=70']
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.963542 | hs_5 | sum_heuristic |
[
57,
13,
6,
33
] | 97 | [
"57+13=70",
"33-6=27",
"70+27=97"
] | Current State: 97:[57, 13, 6, 33], Operations: []
Exploring Operation: 57+13=70, Resulting Numbers: [6, 33, 70]
Generated Node #2: [6, 33, 70] from Operation: 57+13=70
Current State: 97:[6, 33, 70], Operations: ['57+13=70']
Exploring Operation: 33-6=27, Resulting Numbers: [70, 27]
Generated Node #3: [70, 27] from Operation: 33-6=27
Current State: 97:[70, 27], Operations: ['57+13=70', '33-6=27']
Exploring Operation: 70+27=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[57, 13, 6, 33], Operations: []
Exploring Operation: 57+13=70, Resulting Numbers: [6, 33, 70]
Generated Node #0,0: 97:[6, 33, 70] Operation: 57+13=70
Exploring Operation: 13*6=78, Resulting Numbers: [57, 33, 78]
Generated Node #0,1: 97:[57, 33, 78] Operation: 13*6=78
Exploring Operation: 57+6=63, Resulting Numbers: [13, 33, 63]
Generated Node #0,2: 97:[13, 33, 63] Operation: 57+6=63
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[57, 33, 78], Operations: ['13*6=78']
Exploring Operation: 57-33=24, Resulting Numbers: [78, 24]
Generated Node #0,1,0: 97:[78, 24] Operation: 57-33=24
Exploring Operation: 57+33=90, Resulting Numbers: [78, 90]
Generated Node #0,1,1: 97:[78, 90] Operation: 57+33=90
Exploring Operation: 33+78=111, Resulting Numbers: [57, 111]
Generated Node #0,1,2: 97:[57, 111] Operation: 33+78=111
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[78, 90], Operations: ['13*6=78', '57+33=90']
Exploring Operation: 90-78=12, Resulting Numbers: [12]
12,97 unequal: No Solution
Exploring Operation: 78*90=7020, Resulting Numbers: [7020]
7020,97 unequal: No Solution
Exploring Operation: 78+90=168, Resulting Numbers: [168]
168,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 97:[57, 111], Operations: ['13*6=78', '33+78=111']
Exploring Operation: 57*111=6327, Resulting Numbers: [6327]
6327,97 unequal: No Solution
Exploring Operation: 57+111=168, Resulting Numbers: [168]
168,97 unequal: No Solution
Exploring Operation: 111-57=54, Resulting Numbers: [54]
54,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[78, 24], Operations: ['13*6=78', '57-33=24']
Exploring Operation: 78*24=1872, Resulting Numbers: [1872]
1872,97 unequal: No Solution
Exploring Operation: 78+24=102, Resulting Numbers: [102]
102,97 unequal: No Solution
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[6, 33, 70], Operations: ['57+13=70']
Exploring Operation: 6+33=39, Resulting Numbers: [70, 39]
Generated Node #0,0,0: 97:[70, 39] Operation: 6+33=39
Exploring Operation: 33-6=27, Resulting Numbers: [70, 27]
Generated Node #0,0,1: 97:[70, 27] Operation: 33-6=27
Exploring Operation: 6+70=76, Resulting Numbers: [33, 76]
Generated Node #0,0,2: 97:[33, 76] Operation: 6+70=76
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[70, 39], Operations: ['57+13=70', '6+33=39']
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 70*39=2730, Resulting Numbers: [2730]
2730,97 unequal: No Solution
Exploring Operation: 70+39=109, Resulting Numbers: [109]
109,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 97:[33, 76], Operations: ['57+13=70', '6+70=76']
Exploring Operation: 33*76=2508, Resulting Numbers: [2508]
2508,97 unequal: No Solution
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,97 unequal: No Solution
Exploring Operation: 33+76=109, Resulting Numbers: [109]
109,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[70, 27], Operations: ['57+13=70', '33-6=27']
Exploring Operation: 70*27=1890, Resulting Numbers: [1890]
1890,97 unequal: No Solution
Exploring Operation: 70-27=43, Resulting Numbers: [43]
43,97 unequal: No Solution
Exploring Operation: 70+27=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[57, 13, 6, 33], Operations: []
Exploring Operation: 57+13=70, Resulting Numbers: [6, 33, 70]
Generated Node #0,0: 97:[6, 33, 70] Operation: 57+13=70
Moving to Node #0,0
Current State: 97:[6, 33, 70], Operations: ['57+13=70']
Exploring Operation: 33-6=27, Resulting Numbers: [70, 27]
Generated Node #0,0,1: 97:[70, 27] Operation: 33-6=27
Moving to Node #0,0,1
Current State: 97:[70, 27], Operations: ['57+13=70', '33-6=27']
Exploring Operation: 70+27=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_3 | sum_heuristic |
[
4,
54,
18,
2
] | 22 | [
"4+54=58",
"18*2=36",
"58-36=22"
] | Current State: 22:[4, 54, 18, 2], Operations: []
Exploring Operation: 4+54=58, Resulting Numbers: [18, 2, 58]
Generated Node #2: [18, 2, 58] from Operation: 4+54=58
Current State: 22:[18, 2, 58], Operations: ['4+54=58']
Exploring Operation: 18*2=36, Resulting Numbers: [58, 36]
Generated Node #3: [58, 36] from Operation: 18*2=36
Current State: 22:[58, 36], Operations: ['4+54=58', '18*2=36']
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[4, 54, 18, 2], Operations: []
Exploring Operation: 4+18=22, Resulting Numbers: [54, 2, 22]
Generated Node #0,0: 22:[54, 2, 22] Operation: 4+18=22
Exploring Operation: 54/18=3, Resulting Numbers: [4, 2, 3]
Generated Node #0,1: 22:[4, 2, 3] Operation: 54/18=3
Exploring Operation: 54-4=50, Resulting Numbers: [18, 2, 50]
Generated Node #0,2: 22:[18, 2, 50] Operation: 54-4=50
Exploring Operation: 54-18=36, Resulting Numbers: [4, 2, 36]
Generated Node #0,3: 22:[4, 2, 36] Operation: 54-18=36
Exploring Operation: 54/2=27, Resulting Numbers: [4, 18, 27]
Generated Node #0,4: 22:[4, 18, 27] Operation: 54/2=27
Moving to Node #0,1
Current State: 22:[4, 2, 3], Operations: ['54/18=3']
Exploring Operation: 4-2=2, Resulting Numbers: [3, 2]
Generated Node #0,1,0: 22:[3, 2] Operation: 4-2=2
Exploring Operation: 3-2=1, Resulting Numbers: [4, 1]
Generated Node #0,1,1: 22:[4, 1] Operation: 3-2=1
Exploring Operation: 4*3=12, Resulting Numbers: [2, 12]
Generated Node #0,1,2: 22:[2, 12] Operation: 4*3=12
Exploring Operation: 4-3=1, Resulting Numbers: [2, 1]
Generated Node #0,1,3: 22:[2, 1] Operation: 4-3=1
Exploring Operation: 4/2=2, Resulting Numbers: [3, 2]
Generated Node #0,1,4: 22:[3, 2] Operation: 4/2=2
Moving to Node #0,4
Current State: 22:[4, 18, 27], Operations: ['54/2=27']
Exploring Operation: 18-4=14, Resulting Numbers: [27, 14]
Generated Node #0,4,0: 22:[27, 14] Operation: 18-4=14
Exploring Operation: 27-18=9, Resulting Numbers: [4, 9]
Generated Node #0,4,1: 22:[4, 9] Operation: 27-18=9
Exploring Operation: 4+18=22, Resulting Numbers: [27, 22]
Generated Node #0,4,2: 22:[27, 22] Operation: 4+18=22
Exploring Operation: 27-4=23, Resulting Numbers: [18, 23]
Generated Node #0,4,3: 22:[18, 23] Operation: 27-4=23
Exploring Operation: 4+27=31, Resulting Numbers: [18, 31]
Generated Node #0,4,4: 22:[18, 31] Operation: 4+27=31
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 22:[4, 9], Operations: ['54/2=27', '27-18=9']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 22:[27, 22], Operations: ['54/2=27', '4+18=22']
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,22 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 27*22=594, Resulting Numbers: [594]
594,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 22:[18, 23], Operations: ['54/2=27', '27-4=23']
Exploring Operation: 18*23=414, Resulting Numbers: [414]
414,22 unequal: No Solution
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 22:[27, 14], Operations: ['54/2=27', '18-4=14']
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,22 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 22:[18, 31], Operations: ['54/2=27', '4+27=31']
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 18*31=558, Resulting Numbers: [558]
558,22 unequal: No Solution
Exploring Operation: 18+31=49, Resulting Numbers: [49]
49,22 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: 22:[4, 2, 36], Operations: ['54-18=36']
Exploring Operation: 36/2=18, Resulting Numbers: [4, 18]
Generated Node #0,3,0: 22:[4, 18] Operation: 36/2=18
Exploring Operation: 4-2=2, Resulting Numbers: [36, 2]
Generated Node #0,3,1: 22:[36, 2] Operation: 4-2=2
Exploring Operation: 4/2=2, Resulting Numbers: [36, 2]
Generated Node #0,3,2: 22:[36, 2] Operation: 4/2=2
Exploring Operation: 36-4=32, Resulting Numbers: [2, 32]
Generated Node #0,3,3: 22:[2, 32] Operation: 36-4=32
Exploring Operation: 36/4=9, Resulting Numbers: [2, 9]
Generated Node #0,3,4: 22:[2, 9] Operation: 36/4=9
Moving to Node #0,0
Current State: 22:[54, 2, 22], Operations: ['4+18=22']
Exploring Operation: 54+2=56, Resulting Numbers: [22, 56]
Generated Node #0,0,0: 22:[22, 56] Operation: 54+2=56
Exploring Operation: 22/2=11, Resulting Numbers: [54, 11]
Generated Node #0,0,1: 22:[54, 11] Operation: 22/2=11
Exploring Operation: 54-2=52, Resulting Numbers: [22, 52]
Generated Node #0,0,2: 22:[22, 52] Operation: 54-2=52
Exploring Operation: 54/2=27, Resulting Numbers: [22, 27]
Generated Node #0,0,3: 22:[22, 27] Operation: 54/2=27
Exploring Operation: 54-22=32, Resulting Numbers: [2, 32]
Generated Node #0,0,4: 22:[2, 32] Operation: 54-22=32
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 22:[22, 27], Operations: ['4+18=22', '54/2=27']
Exploring Operation: 22*27=594, Resulting Numbers: [594]
594,22 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 22+27=49, Resulting Numbers: [49]
49,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 22:[2, 32], Operations: ['4+18=22', '54-22=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,22 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[22, 52], Operations: ['4+18=22', '54-2=52']
Exploring Operation: 22+52=74, Resulting Numbers: [74]
74,22 unequal: No Solution
Exploring Operation: 22*52=1144, Resulting Numbers: [1144]
1144,22 unequal: No Solution
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[54, 11], Operations: ['4+18=22', '22/2=11']
Exploring Operation: 54*11=594, Resulting Numbers: [594]
594,22 unequal: No Solution
Exploring Operation: 54-11=43, Resulting Numbers: [43]
43,22 unequal: No Solution
Exploring Operation: 54+11=65, Resulting Numbers: [65]
65,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[22, 56], Operations: ['4+18=22', '54+2=56']
Exploring Operation: 22*56=1232, Resulting Numbers: [1232]
1232,22 unequal: No Solution
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Exploring Operation: 22+56=78, Resulting Numbers: [78]
78,22 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: 22:[18, 2, 50], Operations: ['54-4=50']
Exploring Operation: 50-18=32, Resulting Numbers: [2, 32]
Generated Node #0,2,0: 22:[2, 32] Operation: 50-18=32
Exploring Operation: 50/2=25, Resulting Numbers: [18, 25]
Generated Node #0,2,1: 22:[18, 25] Operation: 50/2=25
Exploring Operation: 18/2=9, Resulting Numbers: [50, 9]
Generated Node #0,2,2: 22:[50, 9] Operation: 18/2=9
Exploring Operation: 50-2=48, Resulting Numbers: [18, 48]
Generated Node #0,2,3: 22:[18, 48] Operation: 50-2=48
Exploring Operation: 18+2=20, Resulting Numbers: [50, 20]
Generated Node #0,2,4: 22:[50, 20] Operation: 18+2=20
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 22:[18, 25], Operations: ['54-4=50', '50/2=25']
Exploring Operation: 18+25=43, Resulting Numbers: [43]
43,22 unequal: No Solution
Exploring Operation: 18*25=450, Resulting Numbers: [450]
450,22 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 22:[2, 32], Operations: ['54-4=50', '50-18=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,22 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,22 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 22:[50, 9], Operations: ['54-4=50', '18/2=9']
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,22 unequal: No Solution
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 50*9=450, Resulting Numbers: [450]
450,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 22:[18, 48], Operations: ['54-4=50', '50-2=48']
Exploring Operation: 18*48=864, Resulting Numbers: [864]
864,22 unequal: No Solution
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,22 unequal: No Solution
Exploring Operation: 18+48=66, Resulting Numbers: [66]
66,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 22:[50, 20], Operations: ['54-4=50', '18+2=20']
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,22 unequal: No Solution
Exploring Operation: 50+20=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Exploring Operation: 50*20=1000, Resulting Numbers: [1000]
1000,22 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: 22:[3, 2], Operations: ['54/18=3', '4-2=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Moving to Node #0,1,3
Current State: 22:[2, 1], Operations: ['54/18=3', '4-3=1']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[2, 12], Operations: ['54/18=3', '4*3=12']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,22 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Moving to Node #0,1,4
Current State: 22:[3, 2], Operations: ['54/18=3', '4/2=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Moving to Node #0,3,4
Current State: 22:[2, 9], Operations: ['54-18=36', '36/4=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,22 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[4, 1], Operations: ['54/18=3', '3-2=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Moving to Node #0,3,0
Current State: 22:[4, 18], Operations: ['54-18=36', '36/2=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,22 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[4, 54, 18, 2], Operations: []
Exploring Operation: 54-18=36, Resulting Numbers: [4, 2, 36]
Generated Node #0,3: 22:[4, 2, 36] Operation: 54-18=36
Moving to Node #0,3
Current State: 22:[4, 2, 36], Operations: ['54-18=36']
Exploring Operation: 36/2=18, Resulting Numbers: [4, 18]
Generated Node #0,3,0: 22:[4, 18] Operation: 36/2=18
Moving to Node #0,3,0
Current State: 22:[4, 18], Operations: ['54-18=36', '36/2=18']
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.909722 | hs_5 | sum_heuristic |
[
39,
17,
64,
5
] | 13 | [
"39+17=56",
"64+5=69",
"69-56=13"
] | Current State: 13:[39, 17, 64, 5], Operations: []
Exploring Operation: 39+17=56, Resulting Numbers: [64, 5, 56]
Generated Node #2: [64, 5, 56] from Operation: 39+17=56
Current State: 13:[64, 5, 56], Operations: ['39+17=56']
Exploring Operation: 64+5=69, Resulting Numbers: [56, 69]
Generated Node #3: [56, 69] from Operation: 64+5=69
Current State: 13:[56, 69], Operations: ['39+17=56', '64+5=69']
Exploring Operation: 69-56=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[39, 17, 64, 5], Operations: []
Exploring Operation: 64-39=25, Resulting Numbers: [17, 5, 25]
Generated Node #0,0: 13:[17, 5, 25] Operation: 64-39=25
Moving to Node #0,0
Current State: 13:[17, 5, 25], Operations: ['64-39=25']
Exploring Operation: 25-5=20, Resulting Numbers: [17, 20]
Generated Node #0,0,0: 13:[17, 20] Operation: 25-5=20
Moving to Node #0,0,0
Current State: 13:[17, 20], Operations: ['64-39=25', '25-5=20']
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,13 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
17,
97,
73,
91
] | 81 | [
"97+73=170",
"170/17=10",
"91-10=81"
] | Current State: 81:[17, 97, 73, 91], Operations: []
Exploring Operation: 97+73=170, Resulting Numbers: [17, 91, 170]
Generated Node #2: [17, 91, 170] from Operation: 97+73=170
Current State: 81:[17, 91, 170], Operations: ['97+73=170']
Exploring Operation: 170/17=10, Resulting Numbers: [91, 10]
Generated Node #3: [91, 10] from Operation: 170/17=10
Current State: 81:[91, 10], Operations: ['97+73=170', '170/17=10']
Exploring Operation: 91-10=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[17, 97, 73, 91], Operations: []
Exploring Operation: 97-17=80, Resulting Numbers: [73, 91, 80]
Generated Node #0,0: 81:[73, 91, 80] Operation: 97-17=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[73, 91, 80], Operations: ['97-17=80']
Exploring Operation: 91-73=18, Resulting Numbers: [80, 18]
Generated Node #0,0,0: 81:[80, 18] Operation: 91-73=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[80, 18], Operations: ['97-17=80', '91-73=18']
Exploring Operation: 80+18=98, Resulting Numbers: [98]
98,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
96,
5,
54,
4
] | 100 | [
"54-5=49",
"4*49=196",
"196-96=100"
] | Current State: 100:[96, 5, 54, 4], Operations: []
Exploring Operation: 54-5=49, Resulting Numbers: [96, 4, 49]
Generated Node #2: [96, 4, 49] from Operation: 54-5=49
Current State: 100:[96, 4, 49], Operations: ['54-5=49']
Exploring Operation: 4*49=196, Resulting Numbers: [96, 196]
Generated Node #3: [96, 196] from Operation: 4*49=196
Current State: 100:[96, 196], Operations: ['54-5=49', '4*49=196']
Exploring Operation: 196-96=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[96, 5, 54, 4], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [5, 54, 24]
Generated Node #0,0: 100:[5, 54, 24] Operation: 96/4=24
Exploring Operation: 96+5=101, Resulting Numbers: [54, 4, 101]
Generated Node #0,1: 100:[54, 4, 101] Operation: 96+5=101
Exploring Operation: 54-5=49, Resulting Numbers: [96, 4, 49]
Generated Node #0,2: 100:[96, 4, 49] Operation: 54-5=49
Exploring Operation: 96+4=100, Resulting Numbers: [5, 54, 100]
Generated Node #0,3: 100:[5, 54, 100] Operation: 96+4=100
Exploring Operation: 54-4=50, Resulting Numbers: [96, 5, 50]
Generated Node #0,4: 100:[96, 5, 50] Operation: 54-4=50
Moving to Node #0,3
Current State: 100:[5, 54, 100], Operations: ['96+4=100']
Exploring Operation: 5+54=59, Resulting Numbers: [100, 59]
Generated Node #0,3,0: 100:[100, 59] Operation: 5+54=59
Exploring Operation: 100-54=46, Resulting Numbers: [5, 46]
Generated Node #0,3,1: 100:[5, 46] Operation: 100-54=46
Exploring Operation: 54-5=49, Resulting Numbers: [100, 49]
Generated Node #0,3,2: 100:[100, 49] Operation: 54-5=49
Exploring Operation: 5+100=105, Resulting Numbers: [54, 105]
Generated Node #0,3,3: 100:[54, 105] Operation: 5+100=105
Exploring Operation: 100/5=20, Resulting Numbers: [54, 20]
Generated Node #0,3,4: 100:[54, 20] Operation: 100/5=20
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 100:[100, 49], Operations: ['96+4=100', '54-5=49']
Exploring Operation: 100*49=4900, Resulting Numbers: [4900]
4900,100 unequal: No Solution
Exploring Operation: 100-49=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 100+49=149, Resulting Numbers: [149]
149,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 100:[5, 46], Operations: ['96+4=100', '100-54=46']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,100 unequal: No Solution
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 100:[54, 20], Operations: ['96+4=100', '100/5=20']
Exploring Operation: 54*20=1080, Resulting Numbers: [1080]
1080,100 unequal: No Solution
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 54+20=74, Resulting Numbers: [74]
74,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 100:[100, 59], Operations: ['96+4=100', '5+54=59']
Exploring Operation: 100-59=41, Resulting Numbers: [41]
41,100 unequal: No Solution
Exploring Operation: 100+59=159, Resulting Numbers: [159]
159,100 unequal: No Solution
Exploring Operation: 100*59=5900, Resulting Numbers: [5900]
5900,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 100:[54, 105], Operations: ['96+4=100', '5+100=105']
Exploring Operation: 54+105=159, Resulting Numbers: [159]
159,100 unequal: No Solution
Exploring Operation: 105-54=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 54*105=5670, Resulting Numbers: [5670]
5670,100 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: 100:[96, 5, 50], Operations: ['54-4=50']
Exploring Operation: 96-5=91, Resulting Numbers: [50, 91]
Generated Node #0,4,0: 100:[50, 91] Operation: 96-5=91
Exploring Operation: 96+5=101, Resulting Numbers: [50, 101]
Generated Node #0,4,1: 100:[50, 101] Operation: 96+5=101
Exploring Operation: 5+50=55, Resulting Numbers: [96, 55]
Generated Node #0,4,2: 100:[96, 55] Operation: 5+50=55
Exploring Operation: 50/5=10, Resulting Numbers: [96, 10]
Generated Node #0,4,3: 100:[96, 10] Operation: 50/5=10
Exploring Operation: 96-50=46, Resulting Numbers: [5, 46]
Generated Node #0,4,4: 100:[5, 46] Operation: 96-50=46
Moving to Node #0,0
Current State: 100:[5, 54, 24], Operations: ['96/4=24']
Exploring Operation: 54-5=49, Resulting Numbers: [24, 49]
Generated Node #0,0,0: 100:[24, 49] Operation: 54-5=49
Exploring Operation: 5+54=59, Resulting Numbers: [24, 59]
Generated Node #0,0,1: 100:[24, 59] Operation: 5+54=59
Exploring Operation: 24-5=19, Resulting Numbers: [54, 19]
Generated Node #0,0,2: 100:[54, 19] Operation: 24-5=19
Exploring Operation: 54-24=30, Resulting Numbers: [5, 30]
Generated Node #0,0,3: 100:[5, 30] Operation: 54-24=30
Exploring Operation: 5+24=29, Resulting Numbers: [54, 29]
Generated Node #0,0,4: 100:[54, 29] Operation: 5+24=29
Moving to Node #0,1
Current State: 100:[54, 4, 101], Operations: ['96+5=101']
Exploring Operation: 101-4=97, Resulting Numbers: [54, 97]
Generated Node #0,1,0: 100:[54, 97] Operation: 101-4=97
Exploring Operation: 54+4=58, Resulting Numbers: [101, 58]
Generated Node #0,1,1: 100:[101, 58] Operation: 54+4=58
Exploring Operation: 4+101=105, Resulting Numbers: [54, 105]
Generated Node #0,1,2: 100:[54, 105] Operation: 4+101=105
Exploring Operation: 54-4=50, Resulting Numbers: [101, 50]
Generated Node #0,1,3: 100:[101, 50] Operation: 54-4=50
Exploring Operation: 101-54=47, Resulting Numbers: [4, 47]
Generated Node #0,1,4: 100:[4, 47] Operation: 101-54=47
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 100:[101, 50], Operations: ['96+5=101', '54-4=50']
Exploring Operation: 101+50=151, Resulting Numbers: [151]
151,100 unequal: No Solution
Exploring Operation: 101-50=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 101*50=5050, Resulting Numbers: [5050]
5050,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 100:[4, 47], Operations: ['96+5=101', '101-54=47']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,100 unequal: No Solution
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[54, 97], Operations: ['96+5=101', '101-4=97']
Exploring Operation: 97-54=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 54+97=151, Resulting Numbers: [151]
151,100 unequal: No Solution
Exploring Operation: 54*97=5238, Resulting Numbers: [5238]
5238,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[101, 58], Operations: ['96+5=101', '54+4=58']
Exploring Operation: 101-58=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 101*58=5858, Resulting Numbers: [5858]
5858,100 unequal: No Solution
Exploring Operation: 101+58=159, Resulting Numbers: [159]
159,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 100:[54, 105], Operations: ['96+5=101', '4+101=105']
Exploring Operation: 105-54=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 54*105=5670, Resulting Numbers: [5670]
5670,100 unequal: No Solution
Exploring Operation: 54+105=159, Resulting Numbers: [159]
159,100 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: 100:[96, 4, 49], Operations: ['54-5=49']
Exploring Operation: 4+49=53, Resulting Numbers: [96, 53]
Generated Node #0,2,0: 100:[96, 53] Operation: 4+49=53
Exploring Operation: 96+4=100, Resulting Numbers: [49, 100]
Generated Node #0,2,1: 100:[49, 100] Operation: 96+4=100
Exploring Operation: 96-49=47, Resulting Numbers: [4, 47]
Generated Node #0,2,2: 100:[4, 47] Operation: 96-49=47
Exploring Operation: 96-4=92, Resulting Numbers: [49, 92]
Generated Node #0,2,3: 100:[49, 92] Operation: 96-4=92
Exploring Operation: 96/4=24, Resulting Numbers: [49, 24]
Generated Node #0,2,4: 100:[49, 24] Operation: 96/4=24
Moving to Node #0,4,1
Current State: 100:[50, 101], Operations: ['54-4=50', '96+5=101']
Exploring Operation: 101-50=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 50*101=5050, Resulting Numbers: [5050]
5050,100 unequal: No Solution
Exploring Operation: 50+101=151, Resulting Numbers: [151]
151,100 unequal: No Solution
Moving to Node #0,2,1
Current State: 100:[49, 100], Operations: ['54-5=49', '96+4=100']
Exploring Operation: 100-49=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 49*100=4900, Resulting Numbers: [4900]
4900,100 unequal: No Solution
Exploring Operation: 49+100=149, Resulting Numbers: [149]
149,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[24, 49], Operations: ['96/4=24', '54-5=49']
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,100 unequal: No Solution
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,100 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Moving to Node #0,2,4
Current State: 100:[49, 24], Operations: ['54-5=49', '96/4=24']
Exploring Operation: 49*24=1176, Resulting Numbers: [1176]
1176,100 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,100 unequal: No Solution
Moving to Node #0,2,2
Current State: 100:[4, 47], Operations: ['54-5=49', '96-49=47']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,100 unequal: No Solution
Moving to Node #0,4,4
Current State: 100:[5, 46], Operations: ['54-4=50', '96-50=46']
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,100 unequal: No Solution
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,100 unequal: No Solution
Moving to Node #0,4,3
Current State: 100:[96, 10], Operations: ['54-4=50', '50/5=10']
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 96+10=106, Resulting Numbers: [106]
106,100 unequal: No Solution
Exploring Operation: 96*10=960, Resulting Numbers: [960]
960,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[54, 19], Operations: ['96/4=24', '24-5=19']
Exploring Operation: 54*19=1026, Resulting Numbers: [1026]
1026,100 unequal: No Solution
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,100 unequal: No Solution
Exploring Operation: 54+19=73, Resulting Numbers: [73]
73,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[5, 30], Operations: ['96/4=24', '54-24=30']
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,100 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 5*30=150, Resulting Numbers: [150]
150,100 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Moving to Node #0,2,0
Current State: 100:[96, 53], Operations: ['54-5=49', '4+49=53']
Exploring Operation: 96-53=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 96*53=5088, Resulting Numbers: [5088]
5088,100 unequal: No Solution
Exploring Operation: 96+53=149, Resulting Numbers: [149]
149,100 unequal: No Solution
Moving to Node #0,0,4
Current State: 100:[54, 29], Operations: ['96/4=24', '5+24=29']
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 54*29=1566, Resulting Numbers: [1566]
1566,100 unequal: No Solution
Exploring Operation: 54+29=83, Resulting Numbers: [83]
83,100 unequal: No Solution
Moving to Node #0,2,3
Current State: 100:[49, 92], Operations: ['54-5=49', '96-4=92']
Exploring Operation: 49+92=141, Resulting Numbers: [141]
141,100 unequal: No Solution
Exploring Operation: 49*92=4508, Resulting Numbers: [4508]
4508,100 unequal: No Solution
Exploring Operation: 92-49=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Moving to Node #0,4,2
Current State: 100:[96, 55], Operations: ['54-4=50', '5+50=55']
Exploring Operation: 96*55=5280, Resulting Numbers: [5280]
5280,100 unequal: No Solution
Exploring Operation: 96+55=151, Resulting Numbers: [151]
151,100 unequal: No Solution
Exploring Operation: 96-55=41, Resulting Numbers: [41]
41,100 unequal: No Solution
Moving to Node #0,4,0
Current State: 100:[50, 91], Operations: ['54-4=50', '96-5=91']
Exploring Operation: 50*91=4550, Resulting Numbers: [4550]
4550,100 unequal: No Solution
Exploring Operation: 50+91=141, Resulting Numbers: [141]
141,100 unequal: No Solution
Exploring Operation: 91-50=41, Resulting Numbers: [41]
41,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[24, 59], Operations: ['96/4=24', '5+54=59']
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,100 unequal: No Solution
Exploring Operation: 24*59=1416, Resulting Numbers: [1416]
1416,100 unequal: No Solution
Exploring Operation: 24+59=83, Resulting Numbers: [83]
83,100 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
4,
40,
79,
57
] | 14 | [
"40-4=36",
"79-57=22",
"36-22=14"
] | Current State: 14:[4, 40, 79, 57], Operations: []
Exploring Operation: 40-4=36, Resulting Numbers: [79, 57, 36]
Generated Node #2: [79, 57, 36] from Operation: 40-4=36
Current State: 14:[79, 57, 36], Operations: ['40-4=36']
Exploring Operation: 79-57=22, Resulting Numbers: [36, 22]
Generated Node #3: [36, 22] from Operation: 79-57=22
Current State: 14:[36, 22], Operations: ['40-4=36', '79-57=22']
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[4, 40, 79, 57], Operations: []
Exploring Operation: 79-40=39, Resulting Numbers: [4, 57, 39]
Generated Node #0,0: 14:[4, 57, 39] Operation: 79-40=39
Exploring Operation: 40/4=10, Resulting Numbers: [79, 57, 10]
Generated Node #0,1: 14:[79, 57, 10] Operation: 40/4=10
Exploring Operation: 79-57=22, Resulting Numbers: [4, 40, 22]
Generated Node #0,2: 14:[4, 40, 22] Operation: 79-57=22
Exploring Operation: 57-40=17, Resulting Numbers: [4, 79, 17]
Generated Node #0,3: 14:[4, 79, 17] Operation: 57-40=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[4, 40, 22], Operations: ['79-57=22']
Exploring Operation: 40-22=18, Resulting Numbers: [4, 18]
Generated Node #0,2,0: 14:[4, 18] Operation: 40-22=18
Exploring Operation: 40-4=36, Resulting Numbers: [22, 36]
Generated Node #0,2,1: 14:[22, 36] Operation: 40-4=36
Exploring Operation: 22-4=18, Resulting Numbers: [40, 18]
Generated Node #0,2,2: 14:[40, 18] Operation: 22-4=18
Exploring Operation: 40/4=10, Resulting Numbers: [22, 10]
Generated Node #0,2,3: 14:[22, 10] Operation: 40/4=10
Moving to Node #0,2,0
Current State: 14:[4, 18], Operations: ['79-57=22', '40-22=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,14 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,14 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[4, 40, 79, 57], Operations: []
Exploring Operation: 79-57=22, Resulting Numbers: [4, 40, 22]
Generated Node #0,2: 14:[4, 40, 22] Operation: 79-57=22
Moving to Node #0,2
Current State: 14:[4, 40, 22], Operations: ['79-57=22']
Exploring Operation: 40-22=18, Resulting Numbers: [4, 18]
Generated Node #0,2,0: 14:[4, 18] Operation: 40-22=18
Moving to Node #0,2,0
Current State: 14:[4, 18], Operations: ['79-57=22', '40-22=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
69,
10,
79,
5
] | 98 | [
"69+79=148",
"10*5=50",
"148-50=98"
] | Current State: 98:[69, 10, 79, 5], Operations: []
Exploring Operation: 69+79=148, Resulting Numbers: [10, 5, 148]
Generated Node #2: [10, 5, 148] from Operation: 69+79=148
Current State: 98:[10, 5, 148], Operations: ['69+79=148']
Exploring Operation: 10*5=50, Resulting Numbers: [148, 50]
Generated Node #3: [148, 50] from Operation: 10*5=50
Current State: 98:[148, 50], Operations: ['69+79=148', '10*5=50']
Exploring Operation: 148-50=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[69, 10, 79, 5], Operations: []
Exploring Operation: 10+79=89, Resulting Numbers: [69, 5, 89]
Generated Node #0,0: 98:[69, 5, 89] Operation: 10+79=89
Exploring Operation: 69-5=64, Resulting Numbers: [10, 79, 64]
Generated Node #0,1: 98:[10, 79, 64] Operation: 69-5=64
Exploring Operation: 79+5=84, Resulting Numbers: [69, 10, 84]
Generated Node #0,2: 98:[69, 10, 84] Operation: 79+5=84
Exploring Operation: 79-69=10, Resulting Numbers: [10, 5, 10]
Generated Node #0,3: 98:[10, 5, 10] Operation: 79-69=10
Exploring Operation: 69-10=59, Resulting Numbers: [79, 5, 59]
Generated Node #0,4: 98:[79, 5, 59] Operation: 69-10=59
Moving to Node #0,3
Current State: 98:[10, 5, 10], Operations: ['79-69=10']
Exploring Operation: 10/10=1, Resulting Numbers: [5, 1]
Generated Node #0,3,0: 98:[5, 1] Operation: 10/10=1
Exploring Operation: 10*5=50, Resulting Numbers: [10, 50]
Generated Node #0,3,1: 98:[10, 50] Operation: 10*5=50
Exploring Operation: 10/5=2, Resulting Numbers: [10, 2]
Generated Node #0,3,2: 98:[10, 2] Operation: 10/5=2
Exploring Operation: 10+5=15, Resulting Numbers: [10, 15]
Generated Node #0,3,3: 98:[10, 15] Operation: 10+5=15
Exploring Operation: 10/5=2, Resulting Numbers: [10, 2]
Generated Node #0,3,4: 98:[10, 2] Operation: 10/5=2
Moving to Node #0,4
Current State: 98:[79, 5, 59], Operations: ['69-10=59']
Exploring Operation: 79-5=74, Resulting Numbers: [59, 74]
Generated Node #0,4,0: 98:[59, 74] Operation: 79-5=74
Exploring Operation: 79-59=20, Resulting Numbers: [5, 20]
Generated Node #0,4,1: 98:[5, 20] Operation: 79-59=20
Exploring Operation: 59-5=54, Resulting Numbers: [79, 54]
Generated Node #0,4,2: 98:[79, 54] Operation: 59-5=54
Exploring Operation: 5+59=64, Resulting Numbers: [79, 64]
Generated Node #0,4,3: 98:[79, 64] Operation: 5+59=64
Exploring Operation: 79+5=84, Resulting Numbers: [59, 84]
Generated Node #0,4,4: 98:[59, 84] Operation: 79+5=84
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 98:[5, 20], Operations: ['69-10=59', '79-59=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,98 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 98:[79, 54], Operations: ['69-10=59', '59-5=54']
Exploring Operation: 79+54=133, Resulting Numbers: [133]
133,98 unequal: No Solution
Exploring Operation: 79-54=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 79*54=4266, Resulting Numbers: [4266]
4266,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 98:[59, 84], Operations: ['69-10=59', '79+5=84']
Exploring Operation: 84-59=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 59+84=143, Resulting Numbers: [143]
143,98 unequal: No Solution
Exploring Operation: 59*84=4956, Resulting Numbers: [4956]
4956,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 98:[59, 74], Operations: ['69-10=59', '79-5=74']
Exploring Operation: 74-59=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 59+74=133, Resulting Numbers: [133]
133,98 unequal: No Solution
Exploring Operation: 59*74=4366, Resulting Numbers: [4366]
4366,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 98:[79, 64], Operations: ['69-10=59', '5+59=64']
Exploring Operation: 79+64=143, Resulting Numbers: [143]
143,98 unequal: No Solution
Exploring Operation: 79-64=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 79*64=5056, Resulting Numbers: [5056]
5056,98 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: 98:[69, 5, 89], Operations: ['10+79=89']
Exploring Operation: 69-5=64, Resulting Numbers: [89, 64]
Generated Node #0,0,0: 98:[89, 64] Operation: 69-5=64
Exploring Operation: 69+5=74, Resulting Numbers: [89, 74]
Generated Node #0,0,1: 98:[89, 74] Operation: 69+5=74
Exploring Operation: 89-5=84, Resulting Numbers: [69, 84]
Generated Node #0,0,2: 98:[69, 84] Operation: 89-5=84
Exploring Operation: 89-69=20, Resulting Numbers: [5, 20]
Generated Node #0,0,3: 98:[5, 20] Operation: 89-69=20
Exploring Operation: 5+89=94, Resulting Numbers: [69, 94]
Generated Node #0,0,4: 98:[69, 94] Operation: 5+89=94
Moving to Node #0,1
Current State: 98:[10, 79, 64], Operations: ['69-5=64']
Exploring Operation: 10+79=89, Resulting Numbers: [64, 89]
Generated Node #0,1,0: 98:[64, 89] Operation: 10+79=89
Exploring Operation: 10+64=74, Resulting Numbers: [79, 74]
Generated Node #0,1,1: 98:[79, 74] Operation: 10+64=74
Exploring Operation: 79-64=15, Resulting Numbers: [10, 15]
Generated Node #0,1,2: 98:[10, 15] Operation: 79-64=15
Exploring Operation: 64-10=54, Resulting Numbers: [79, 54]
Generated Node #0,1,3: 98:[79, 54] Operation: 64-10=54
Exploring Operation: 79-10=69, Resulting Numbers: [64, 69]
Generated Node #0,1,4: 98:[64, 69] Operation: 79-10=69
Moving to Node #0,2
Current State: 98:[69, 10, 84], Operations: ['79+5=84']
Exploring Operation: 10+84=94, Resulting Numbers: [69, 94]
Generated Node #0,2,0: 98:[69, 94] Operation: 10+84=94
Exploring Operation: 84-69=15, Resulting Numbers: [10, 15]
Generated Node #0,2,1: 98:[10, 15] Operation: 84-69=15
Exploring Operation: 84-10=74, Resulting Numbers: [69, 74]
Generated Node #0,2,2: 98:[69, 74] Operation: 84-10=74
Exploring Operation: 69-10=59, Resulting Numbers: [84, 59]
Generated Node #0,2,3: 98:[84, 59] Operation: 69-10=59
Exploring Operation: 69+10=79, Resulting Numbers: [84, 79]
Generated Node #0,2,4: 98:[84, 79] Operation: 69+10=79
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 98:[10, 15], Operations: ['79+5=84', '84-69=15']
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,98 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 98:[69, 94], Operations: ['79+5=84', '10+84=94']
Exploring Operation: 69*94=6486, Resulting Numbers: [6486]
6486,98 unequal: No Solution
Exploring Operation: 94-69=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 69+94=163, Resulting Numbers: [163]
163,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 98:[84, 59], Operations: ['79+5=84', '69-10=59']
Exploring Operation: 84*59=4956, Resulting Numbers: [4956]
4956,98 unequal: No Solution
Exploring Operation: 84-59=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 84+59=143, Resulting Numbers: [143]
143,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 98:[84, 79], Operations: ['79+5=84', '69+10=79']
Exploring Operation: 84*79=6636, Resulting Numbers: [6636]
6636,98 unequal: No Solution
Exploring Operation: 84-79=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 84+79=163, Resulting Numbers: [163]
163,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 98:[69, 74], Operations: ['79+5=84', '84-10=74']
Exploring Operation: 74-69=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 69*74=5106, Resulting Numbers: [5106]
5106,98 unequal: No Solution
Exploring Operation: 69+74=143, Resulting Numbers: [143]
143,98 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: 98:[5, 1], Operations: ['79-69=10', '10/10=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Moving to Node #0,3,4
Current State: 98:[10, 2], Operations: ['79-69=10', '10/5=2']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Moving to Node #0,3,2
Current State: 98:[10, 2], Operations: ['79-69=10', '10/5=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Moving to Node #0,3,3
Current State: 98:[10, 15], Operations: ['79-69=10', '10+5=15']
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,98 unequal: No Solution
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[10, 15], Operations: ['69-5=64', '79-64=15']
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,98 unequal: No Solution
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Moving to Node #0,3,1
Current State: 98:[10, 50], Operations: ['79-69=10', '10*5=50']
Exploring Operation: 10+50=60, Resulting Numbers: [60]
60,98 unequal: No Solution
Exploring Operation: 10*50=500, Resulting Numbers: [500]
500,98 unequal: No Solution
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Moving to Node #0,0,3
Current State: 98:[5, 20], Operations: ['10+79=89', '89-69=20']
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,98 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[89, 64], Operations: ['10+79=89', '69-5=64']
Exploring Operation: 89-64=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 89*64=5696, Resulting Numbers: [5696]
5696,98 unequal: No Solution
Exploring Operation: 89+64=153, Resulting Numbers: [153]
153,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[79, 54], Operations: ['69-5=64', '64-10=54']
Exploring Operation: 79+54=133, Resulting Numbers: [133]
133,98 unequal: No Solution
Exploring Operation: 79*54=4266, Resulting Numbers: [4266]
4266,98 unequal: No Solution
Exploring Operation: 79-54=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Moving to Node #0,0,4
Current State: 98:[69, 94], Operations: ['10+79=89', '5+89=94']
Exploring Operation: 94-69=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 69*94=6486, Resulting Numbers: [6486]
6486,98 unequal: No Solution
Exploring Operation: 69+94=163, Resulting Numbers: [163]
163,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[64, 89], Operations: ['69-5=64', '10+79=89']
Exploring Operation: 89-64=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 64+89=153, Resulting Numbers: [153]
153,98 unequal: No Solution
Exploring Operation: 64*89=5696, Resulting Numbers: [5696]
5696,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[89, 74], Operations: ['10+79=89', '69+5=74']
Exploring Operation: 89+74=163, Resulting Numbers: [163]
163,98 unequal: No Solution
Exploring Operation: 89-74=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 89*74=6586, Resulting Numbers: [6586]
6586,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[69, 84], Operations: ['10+79=89', '89-5=84']
Exploring Operation: 69+84=153, Resulting Numbers: [153]
153,98 unequal: No Solution
Exploring Operation: 69*84=5796, Resulting Numbers: [5796]
5796,98 unequal: No Solution
Exploring Operation: 84-69=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Moving to Node #0,1,4
Current State: 98:[64, 69], Operations: ['69-5=64', '79-10=69']
Exploring Operation: 69-64=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 64*69=4416, Resulting Numbers: [4416]
4416,98 unequal: No Solution
Exploring Operation: 64+69=133, Resulting Numbers: [133]
133,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[79, 74], Operations: ['69-5=64', '10+64=74']
Exploring Operation: 79+74=153, Resulting Numbers: [153]
153,98 unequal: No Solution
Exploring Operation: 79-74=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 79*74=5846, Resulting Numbers: [5846]
5846,98 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
19,
55,
18,
58
] | 39 | [
"58-55=3",
"19*3=57",
"57-18=39"
] | Current State: 39:[19, 55, 18, 58], Operations: []
Exploring Operation: 58-55=3, Resulting Numbers: [19, 18, 3]
Generated Node #2: [19, 18, 3] from Operation: 58-55=3
Current State: 39:[19, 18, 3], Operations: ['58-55=3']
Exploring Operation: 19*3=57, Resulting Numbers: [18, 57]
Generated Node #3: [18, 57] from Operation: 19*3=57
Current State: 39:[18, 57], Operations: ['58-55=3', '19*3=57']
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[19, 55, 18, 58], Operations: []
Exploring Operation: 58-19=39, Resulting Numbers: [55, 18, 39]
Generated Node #0,0: 39:[55, 18, 39] Operation: 58-19=39
Exploring Operation: 55-18=37, Resulting Numbers: [19, 58, 37]
Generated Node #0,1: 39:[19, 58, 37] Operation: 55-18=37
Exploring Operation: 58-55=3, Resulting Numbers: [19, 18, 3]
Generated Node #0,2: 39:[19, 18, 3] Operation: 58-55=3
Exploring Operation: 58-18=40, Resulting Numbers: [19, 55, 40]
Generated Node #0,3: 39:[19, 55, 40] Operation: 58-18=40
Exploring Operation: 55-19=36, Resulting Numbers: [18, 58, 36]
Generated Node #0,4: 39:[18, 58, 36] Operation: 55-19=36
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[19, 18, 3], Operations: ['58-55=3']
Exploring Operation: 18-3=15, Resulting Numbers: [19, 15]
Generated Node #0,2,0: 39:[19, 15] Operation: 18-3=15
Exploring Operation: 19-3=16, Resulting Numbers: [18, 16]
Generated Node #0,2,1: 39:[18, 16] Operation: 19-3=16
Exploring Operation: 19-18=1, Resulting Numbers: [3, 1]
Generated Node #0,2,2: 39:[3, 1] Operation: 19-18=1
Exploring Operation: 19+18=37, Resulting Numbers: [3, 37]
Generated Node #0,2,3: 39:[3, 37] Operation: 19+18=37
Exploring Operation: 18/3=6, Resulting Numbers: [19, 6]
Generated Node #0,2,4: 39:[19, 6] Operation: 18/3=6
Moving to Node #0,2,2
Current State: 39:[3, 1], Operations: ['58-55=3', '19-18=1']
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[3, 37], Operations: ['58-55=3', '19+18=37']
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 3*37=111, Resulting Numbers: [111]
111,39 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[19, 15], Operations: ['58-55=3', '18-3=15']
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 19*15=285, Resulting Numbers: [285]
285,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[18, 16], Operations: ['58-55=3', '19-3=16']
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,39 unequal: No Solution
Moving to Node #0,2,4
Current State: 39:[19, 6], Operations: ['58-55=3', '18/3=6']
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,39 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,39 unequal: No Solution
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,39 unequal: No Solution
No solution 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: 39:[55, 18, 39], Operations: ['58-19=39']
Exploring Operation: 55-39=16, Resulting Numbers: [18, 16]
Generated Node #0,0,0: 39:[18, 16] Operation: 55-39=16
Exploring Operation: 39-18=21, Resulting Numbers: [55, 21]
Generated Node #0,0,1: 39:[55, 21] Operation: 39-18=21
Exploring Operation: 18+39=57, Resulting Numbers: [55, 57]
Generated Node #0,0,2: 39:[55, 57] Operation: 18+39=57
Exploring Operation: 55-18=37, Resulting Numbers: [39, 37]
Generated Node #0,0,3: 39:[39, 37] Operation: 55-18=37
Exploring Operation: 55+18=73, Resulting Numbers: [39, 73]
Generated Node #0,0,4: 39:[39, 73] Operation: 55+18=73
Moving to Node #0,0,3
Current State: 39:[39, 37], Operations: ['58-19=39', '55-18=37']
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 39*37=1443, Resulting Numbers: [1443]
1443,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[18, 16], Operations: ['58-19=39', '55-39=16']
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[55, 21], Operations: ['58-19=39', '39-18=21']
Exploring Operation: 55*21=1155, Resulting Numbers: [1155]
1155,39 unequal: No Solution
Exploring Operation: 55+21=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[55, 57], Operations: ['58-19=39', '18+39=57']
Exploring Operation: 55+57=112, Resulting Numbers: [112]
112,39 unequal: No Solution
Exploring Operation: 57-55=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 55*57=3135, Resulting Numbers: [3135]
3135,39 unequal: No Solution
Moving to Node #0,0,4
Current State: 39:[39, 73], Operations: ['58-19=39', '55+18=73']
Exploring Operation: 39+73=112, Resulting Numbers: [112]
112,39 unequal: No Solution
Exploring Operation: 73-39=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 39*73=2847, Resulting Numbers: [2847]
2847,39 unequal: No Solution
No 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: 39:[19, 55, 40], Operations: ['58-18=40']
Exploring Operation: 19+40=59, Resulting Numbers: [55, 59]
Generated Node #0,3,0: 39:[55, 59] Operation: 19+40=59
Exploring Operation: 55-19=36, Resulting Numbers: [40, 36]
Generated Node #0,3,1: 39:[40, 36] Operation: 55-19=36
Exploring Operation: 40-19=21, Resulting Numbers: [55, 21]
Generated Node #0,3,2: 39:[55, 21] Operation: 40-19=21
Exploring Operation: 19+55=74, Resulting Numbers: [40, 74]
Generated Node #0,3,3: 39:[40, 74] Operation: 19+55=74
Exploring Operation: 55-40=15, Resulting Numbers: [19, 15]
Generated Node #0,3,4: 39:[19, 15] Operation: 55-40=15
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 39:[40, 36], Operations: ['58-18=40', '55-19=36']
Exploring Operation: 40*36=1440, Resulting Numbers: [1440]
1440,39 unequal: No Solution
Exploring Operation: 40+36=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,39 unequal: No Solution
No 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: 39:[19, 15], Operations: ['58-18=40', '55-40=15']
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 19*15=285, Resulting Numbers: [285]
285,39 unequal: No Solution
No 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: 39:[55, 21], Operations: ['58-18=40', '40-19=21']
Exploring Operation: 55*21=1155, Resulting Numbers: [1155]
1155,39 unequal: No Solution
Exploring Operation: 55+21=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,39 unequal: No Solution
No 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: 39:[55, 59], Operations: ['58-18=40', '19+40=59']
Exploring Operation: 55*59=3245, Resulting Numbers: [3245]
3245,39 unequal: No Solution
Exploring Operation: 55+59=114, Resulting Numbers: [114]
114,39 unequal: No Solution
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,39 unequal: No Solution
No 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: 39:[40, 74], Operations: ['58-18=40', '19+55=74']
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 40*74=2960, Resulting Numbers: [2960]
2960,39 unequal: No Solution
Exploring Operation: 40+74=114, Resulting Numbers: [114]
114,39 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: 39:[19, 58, 37], Operations: ['55-18=37']
Exploring Operation: 37-19=18, Resulting Numbers: [58, 18]
Generated Node #0,1,0: 39:[58, 18] Operation: 37-19=18
Exploring Operation: 19+37=56, Resulting Numbers: [58, 56]
Generated Node #0,1,1: 39:[58, 56] Operation: 19+37=56
Exploring Operation: 58-19=39, Resulting Numbers: [37, 39]
Generated Node #0,1,2: 39:[37, 39] Operation: 58-19=39
Exploring Operation: 19+58=77, Resulting Numbers: [37, 77]
Generated Node #0,1,3: 39:[37, 77] Operation: 19+58=77
Exploring Operation: 58-37=21, Resulting Numbers: [19, 21]
Generated Node #0,1,4: 39:[19, 21] Operation: 58-37=21
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 39:[37, 39], Operations: ['55-18=37', '58-19=39']
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 37*39=1443, Resulting Numbers: [1443]
1443,39 unequal: No Solution
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,39 unequal: No Solution
No 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: 39:[19, 21], Operations: ['55-18=37', '58-37=21']
Exploring Operation: 19*21=399, Resulting Numbers: [399]
399,39 unequal: No Solution
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 19+21=40, Resulting Numbers: [40]
40,39 unequal: No Solution
No 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: 39:[58, 18], Operations: ['55-18=37', '37-19=18']
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,39 unequal: No Solution
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,39 unequal: No Solution
No 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: 39:[58, 56], Operations: ['55-18=37', '19+37=56']
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 58*56=3248, Resulting Numbers: [3248]
3248,39 unequal: No Solution
Exploring Operation: 58+56=114, Resulting Numbers: [114]
114,39 unequal: No Solution
No 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: 39:[37, 77], Operations: ['55-18=37', '19+58=77']
Exploring Operation: 77-37=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 37+77=114, Resulting Numbers: [114]
114,39 unequal: No Solution
Exploring Operation: 37*77=2849, Resulting Numbers: [2849]
2849,39 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: 39:[18, 58, 36], Operations: ['55-19=36']
Exploring Operation: 58-36=22, Resulting Numbers: [18, 22]
Generated Node #0,4,0: 39:[18, 22] Operation: 58-36=22
Exploring Operation: 58-18=40, Resulting Numbers: [36, 40]
Generated Node #0,4,1: 39:[36, 40] Operation: 58-18=40
Exploring Operation: 36-18=18, Resulting Numbers: [58, 18]
Generated Node #0,4,2: 39:[58, 18] Operation: 36-18=18
Exploring Operation: 36/18=2, Resulting Numbers: [58, 2]
Generated Node #0,4,3: 39:[58, 2] Operation: 36/18=2
Exploring Operation: 18+36=54, Resulting Numbers: [58, 54]
Generated Node #0,4,4: 39:[58, 54] Operation: 18+36=54
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 39:[36, 40], Operations: ['55-19=36', '58-18=40']
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,39 unequal: No Solution
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 39:[18, 22], Operations: ['55-19=36', '58-36=22']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,39 unequal: No Solution
No 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: 39:[58, 2], Operations: ['55-19=36', '36/18=2']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,39 unequal: No Solution
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 58*2=116, Resulting Numbers: [116]
116,39 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,39 unequal: No Solution
No 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: 39:[58, 18], Operations: ['55-19=36', '36-18=18']
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,39 unequal: No Solution
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,39 unequal: No Solution
No 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: 39:[58, 54], Operations: ['55-19=36', '18+36=54']
Exploring Operation: 58+54=112, Resulting Numbers: [112]
112,39 unequal: No Solution
Exploring Operation: 58*54=3132, Resulting Numbers: [3132]
3132,39 unequal: No Solution
Exploring Operation: 58-54=4, Resulting Numbers: [4]
4,39 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 |
[
93,
90,
17,
98
] | 27 | [
"93-90=3",
"98-17=81",
"81/3=27"
] | Current State: 27:[93, 90, 17, 98], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [17, 98, 3]
Generated Node #2: [17, 98, 3] from Operation: 93-90=3
Current State: 27:[17, 98, 3], Operations: ['93-90=3']
Exploring Operation: 98-17=81, Resulting Numbers: [3, 81]
Generated Node #3: [3, 81] from Operation: 98-17=81
Current State: 27:[3, 81], Operations: ['93-90=3', '98-17=81']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[93, 90, 17, 98], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [17, 98, 3]
Generated Node #0,0: 27:[17, 98, 3] Operation: 93-90=3
Exploring Operation: 98-90=8, Resulting Numbers: [93, 17, 8]
Generated Node #0,1: 27:[93, 17, 8] Operation: 98-90=8
Exploring Operation: 98-93=5, Resulting Numbers: [90, 17, 5]
Generated Node #0,2: 27:[90, 17, 5] Operation: 98-93=5
Exploring Operation: 90-17=73, Resulting Numbers: [93, 98, 73]
Generated Node #0,3: 27:[93, 98, 73] Operation: 90-17=73
Exploring Operation: 93-17=76, Resulting Numbers: [90, 98, 76]
Generated Node #0,4: 27:[90, 98, 76] Operation: 93-17=76
Moving to Node #0,2
Current State: 27:[90, 17, 5], Operations: ['98-93=5']
Exploring Operation: 90-17=73, Resulting Numbers: [5, 73]
Generated Node #0,2,0: 27:[5, 73] Operation: 90-17=73
Exploring Operation: 90-5=85, Resulting Numbers: [17, 85]
Generated Node #0,2,1: 27:[17, 85] Operation: 90-5=85
Exploring Operation: 17-5=12, Resulting Numbers: [90, 12]
Generated Node #0,2,2: 27:[90, 12] Operation: 17-5=12
Exploring Operation: 17+5=22, Resulting Numbers: [90, 22]
Generated Node #0,2,3: 27:[90, 22] Operation: 17+5=22
Exploring Operation: 90/5=18, Resulting Numbers: [17, 18]
Generated Node #0,2,4: 27:[17, 18] Operation: 90/5=18
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 27:[17, 18], Operations: ['98-93=5', '90/5=18']
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 17*18=306, Resulting Numbers: [306]
306,27 unequal: No Solution
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 27:[5, 73], Operations: ['98-93=5', '90-17=73']
Exploring Operation: 5+73=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 5*73=365, Resulting Numbers: [365]
365,27 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 27:[17, 85], Operations: ['98-93=5', '90-5=85']
Exploring Operation: 85-17=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 17*85=1445, Resulting Numbers: [1445]
1445,27 unequal: No Solution
Exploring Operation: 85/17=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 17+85=102, Resulting Numbers: [102]
102,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 27:[90, 12], Operations: ['98-93=5', '17-5=12']
Exploring Operation: 90*12=1080, Resulting Numbers: [1080]
1080,27 unequal: No Solution
Exploring Operation: 90-12=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 90+12=102, Resulting Numbers: [102]
102,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 27:[90, 22], Operations: ['98-93=5', '17+5=22']
Exploring Operation: 90*22=1980, Resulting Numbers: [1980]
1980,27 unequal: No Solution
Exploring Operation: 90+22=112, Resulting Numbers: [112]
112,27 unequal: No Solution
Exploring Operation: 90-22=68, Resulting Numbers: [68]
68,27 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: 27:[93, 17, 8], Operations: ['98-90=8']
Exploring Operation: 93-17=76, Resulting Numbers: [8, 76]
Generated Node #0,1,0: 27:[8, 76] Operation: 93-17=76
Exploring Operation: 17-8=9, Resulting Numbers: [93, 9]
Generated Node #0,1,1: 27:[93, 9] Operation: 17-8=9
Exploring Operation: 17+8=25, Resulting Numbers: [93, 25]
Generated Node #0,1,2: 27:[93, 25] Operation: 17+8=25
Exploring Operation: 93+8=101, Resulting Numbers: [17, 101]
Generated Node #0,1,3: 27:[17, 101] Operation: 93+8=101
Exploring Operation: 93-8=85, Resulting Numbers: [17, 85]
Generated Node #0,1,4: 27:[17, 85] Operation: 93-8=85
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 27:[8, 76], Operations: ['98-90=8', '93-17=76']
Exploring Operation: 8+76=84, Resulting Numbers: [84]
84,27 unequal: No Solution
Exploring Operation: 8*76=608, Resulting Numbers: [608]
608,27 unequal: No Solution
Exploring Operation: 76-8=68, Resulting Numbers: [68]
68,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[93, 9], Operations: ['98-90=8', '17-8=9']
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,27 unequal: No Solution
Exploring Operation: 93+9=102, Resulting Numbers: [102]
102,27 unequal: No Solution
Exploring Operation: 93*9=837, Resulting Numbers: [837]
837,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 27:[17, 85], Operations: ['98-90=8', '93-8=85']
Exploring Operation: 17*85=1445, Resulting Numbers: [1445]
1445,27 unequal: No Solution
Exploring Operation: 17+85=102, Resulting Numbers: [102]
102,27 unequal: No Solution
Exploring Operation: 85/17=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 85-17=68, Resulting Numbers: [68]
68,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 27:[93, 25], Operations: ['98-90=8', '17+8=25']
Exploring Operation: 93*25=2325, Resulting Numbers: [2325]
2325,27 unequal: No Solution
Exploring Operation: 93+25=118, Resulting Numbers: [118]
118,27 unequal: No Solution
Exploring Operation: 93-25=68, Resulting Numbers: [68]
68,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 27:[17, 101], Operations: ['98-90=8', '93+8=101']
Exploring Operation: 17*101=1717, Resulting Numbers: [1717]
1717,27 unequal: No Solution
Exploring Operation: 17+101=118, Resulting Numbers: [118]
118,27 unequal: No Solution
Exploring Operation: 101-17=84, Resulting Numbers: [84]
84,27 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: 27:[17, 98, 3], Operations: ['93-90=3']
Exploring Operation: 17-3=14, Resulting Numbers: [98, 14]
Generated Node #0,0,0: 27:[98, 14] Operation: 17-3=14
Exploring Operation: 98-3=95, Resulting Numbers: [17, 95]
Generated Node #0,0,1: 27:[17, 95] Operation: 98-3=95
Exploring Operation: 17+3=20, Resulting Numbers: [98, 20]
Generated Node #0,0,2: 27:[98, 20] Operation: 17+3=20
Exploring Operation: 98+3=101, Resulting Numbers: [17, 101]
Generated Node #0,0,3: 27:[17, 101] Operation: 98+3=101
Exploring Operation: 98-17=81, Resulting Numbers: [3, 81]
Generated Node #0,0,4: 27:[3, 81] Operation: 98-17=81
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 27:[3, 81], Operations: ['93-90=3', '98-17=81']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 3*81=243, Resulting Numbers: [243]
243,27 unequal: No Solution
Exploring Operation: 3+81=84, Resulting Numbers: [84]
84,27 unequal: No Solution
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[93, 90, 17, 98], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [17, 98, 3]
Generated Node #0,0: 27:[17, 98, 3] Operation: 93-90=3
Moving to Node #0,0
Current State: 27:[17, 98, 3], Operations: ['93-90=3']
Exploring Operation: 98-17=81, Resulting Numbers: [3, 81]
Generated Node #0,0,4: 27:[3, 81] Operation: 98-17=81
Moving to Node #0,0,4
Current State: 27:[3, 81], Operations: ['93-90=3', '98-17=81']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.947917 | hs_5 | mult_heuristic |
[
59,
15,
66,
21
] | 12 | [
"66-59=7",
"21/7=3",
"15-3=12"
] | Current State: 12:[59, 15, 66, 21], Operations: []
Exploring Operation: 66-59=7, Resulting Numbers: [15, 21, 7]
Generated Node #2: [15, 21, 7] from Operation: 66-59=7
Current State: 12:[15, 21, 7], Operations: ['66-59=7']
Exploring Operation: 21/7=3, Resulting Numbers: [15, 3]
Generated Node #3: [15, 3] from Operation: 21/7=3
Current State: 12:[15, 3], Operations: ['66-59=7', '21/7=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[59, 15, 66, 21], Operations: []
Exploring Operation: 66-59=7, Resulting Numbers: [15, 21, 7]
Generated Node #0,0: 12:[15, 21, 7] Operation: 66-59=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[15, 21, 7], Operations: ['66-59=7']
Exploring Operation: 21-15=6, Resulting Numbers: [7, 6]
Generated Node #0,0,0: 12:[7, 6] Operation: 21-15=6
Moving to Node #0,0,0
Current State: 12:[7, 6], Operations: ['66-59=7', '21-15=6']
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,12 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 |
[
22,
71,
4,
13
] | 73 | [
"22+4=26",
"26/13=2",
"71+2=73"
] | Current State: 73:[22, 71, 4, 13], Operations: []
Exploring Operation: 22+4=26, Resulting Numbers: [71, 13, 26]
Generated Node #2: [71, 13, 26] from Operation: 22+4=26
Current State: 73:[71, 13, 26], Operations: ['22+4=26']
Exploring Operation: 26/13=2, Resulting Numbers: [71, 2]
Generated Node #3: [71, 2] from Operation: 26/13=2
Current State: 73:[71, 2], Operations: ['22+4=26', '26/13=2']
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[22, 71, 4, 13], Operations: []
Exploring Operation: 22*4=88, Resulting Numbers: [71, 13, 88]
Generated Node #0,0: 73:[71, 13, 88] Operation: 22*4=88
Exploring Operation: 4*13=52, Resulting Numbers: [22, 71, 52]
Generated Node #0,1: 73:[22, 71, 52] Operation: 4*13=52
Exploring Operation: 22+4=26, Resulting Numbers: [71, 13, 26]
Generated Node #0,2: 73:[71, 13, 26] Operation: 22+4=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[22, 71, 52], Operations: ['4*13=52']
Exploring Operation: 22+71=93, Resulting Numbers: [52, 93]
Generated Node #0,1,0: 73:[52, 93] Operation: 22+71=93
Exploring Operation: 71-22=49, Resulting Numbers: [52, 49]
Generated Node #0,1,1: 73:[52, 49] Operation: 71-22=49
Exploring Operation: 22+52=74, Resulting Numbers: [71, 74]
Generated Node #0,1,2: 73:[71, 74] Operation: 22+52=74
Moving to Node #0,1,2
Current State: 73:[71, 74], Operations: ['4*13=52', '22+52=74']
Exploring Operation: 71+74=145, Resulting Numbers: [145]
145,73 unequal: No Solution
Exploring Operation: 74-71=3, Resulting Numbers: [3]
3,73 unequal: No Solution
Exploring Operation: 71*74=5254, Resulting Numbers: [5254]
5254,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[52, 93], Operations: ['4*13=52', '22+71=93']
Exploring Operation: 93-52=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Exploring Operation: 52+93=145, Resulting Numbers: [145]
145,73 unequal: No Solution
Exploring Operation: 52*93=4836, Resulting Numbers: [4836]
4836,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[52, 49], Operations: ['4*13=52', '71-22=49']
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,73 unequal: No Solution
Exploring Operation: 52+49=101, Resulting Numbers: [101]
101,73 unequal: No Solution
Exploring Operation: 52*49=2548, Resulting Numbers: [2548]
2548,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
Current State: 73:[71, 13, 88], Operations: ['22*4=88']
Exploring Operation: 71+13=84, Resulting Numbers: [88, 84]
Generated Node #0,0,0: 73:[88, 84] Operation: 71+13=84
Exploring Operation: 71-13=58, Resulting Numbers: [88, 58]
Generated Node #0,0,1: 73:[88, 58] Operation: 71-13=58
Exploring Operation: 88-13=75, Resulting Numbers: [71, 75]
Generated Node #0,0,2: 73:[71, 75] Operation: 88-13=75
Moving to Node #0,0,2
Current State: 73:[71, 75], Operations: ['22*4=88', '88-13=75']
Exploring Operation: 71*75=5325, Resulting Numbers: [5325]
5325,73 unequal: No Solution
Exploring Operation: 71+75=146, Resulting Numbers: [146]
146,73 unequal: No Solution
Exploring Operation: 75-71=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[88, 84], Operations: ['22*4=88', '71+13=84']
Exploring Operation: 88+84=172, Resulting Numbers: [172]
172,73 unequal: No Solution
Exploring Operation: 88*84=7392, Resulting Numbers: [7392]
7392,73 unequal: No Solution
Exploring Operation: 88-84=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[88, 58], Operations: ['22*4=88', '71-13=58']
Exploring Operation: 88-58=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 88*58=5104, Resulting Numbers: [5104]
5104,73 unequal: No Solution
Exploring Operation: 88+58=146, Resulting Numbers: [146]
146,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
Current State: 73:[71, 13, 26], Operations: ['22+4=26']
Exploring Operation: 71-13=58, Resulting Numbers: [26, 58]
Generated Node #0,2,0: 73:[26, 58] Operation: 71-13=58
Exploring Operation: 13+26=39, Resulting Numbers: [71, 39]
Generated Node #0,2,1: 73:[71, 39] Operation: 13+26=39
Exploring Operation: 71+13=84, Resulting Numbers: [26, 84]
Generated Node #0,2,2: 73:[26, 84] Operation: 71+13=84
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 73:[71, 39], Operations: ['22+4=26', '13+26=39']
Exploring Operation: 71+39=110, Resulting Numbers: [110]
110,73 unequal: No Solution
Exploring Operation: 71-39=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 71*39=2769, Resulting Numbers: [2769]
2769,73 unequal: No Solution
No 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: 73:[26, 84], Operations: ['22+4=26', '71+13=84']
Exploring Operation: 26*84=2184, Resulting Numbers: [2184]
2184,73 unequal: No Solution
Exploring Operation: 84-26=58, Resulting Numbers: [58]
58,73 unequal: No Solution
Exploring Operation: 26+84=110, Resulting Numbers: [110]
110,73 unequal: No Solution
No 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: 73:[26, 58], Operations: ['22+4=26', '71-13=58']
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 26+58=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 26*58=1508, Resulting Numbers: [1508]
1508,73 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 |
[
98,
23,
89,
79
] | 47 | [
"98+23=121",
"89+79=168",
"168-121=47"
] | Current State: 47:[98, 23, 89, 79], Operations: []
Exploring Operation: 98+23=121, Resulting Numbers: [89, 79, 121]
Generated Node #2: [89, 79, 121] from Operation: 98+23=121
Current State: 47:[89, 79, 121], Operations: ['98+23=121']
Exploring Operation: 89+79=168, Resulting Numbers: [121, 168]
Generated Node #3: [121, 168] from Operation: 89+79=168
Current State: 47:[121, 168], Operations: ['98+23=121', '89+79=168']
Exploring Operation: 168-121=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[98, 23, 89, 79], Operations: []
Exploring Operation: 98-89=9, Resulting Numbers: [23, 79, 9]
Generated Node #0,0: 47:[23, 79, 9] Operation: 98-89=9
Exploring Operation: 98-79=19, Resulting Numbers: [23, 89, 19]
Generated Node #0,1: 47:[23, 89, 19] Operation: 98-79=19
Exploring Operation: 89-23=66, Resulting Numbers: [98, 79, 66]
Generated Node #0,2: 47:[98, 79, 66] Operation: 89-23=66
Exploring Operation: 98-23=75, Resulting Numbers: [89, 79, 75]
Generated Node #0,3: 47:[89, 79, 75] Operation: 98-23=75
Exploring Operation: 79-23=56, Resulting Numbers: [98, 89, 56]
Generated Node #0,4: 47:[98, 89, 56] Operation: 79-23=56
Moving to Node #0,0
Current State: 47:[23, 79, 9], Operations: ['98-89=9']
Exploring Operation: 79-9=70, Resulting Numbers: [23, 70]
Generated Node #0,0,0: 47:[23, 70] Operation: 79-9=70
Exploring Operation: 23-9=14, Resulting Numbers: [79, 14]
Generated Node #0,0,1: 47:[79, 14] Operation: 23-9=14
Exploring Operation: 79+9=88, Resulting Numbers: [23, 88]
Generated Node #0,0,2: 47:[23, 88] Operation: 79+9=88
Exploring Operation: 79-23=56, Resulting Numbers: [9, 56]
Generated Node #0,0,3: 47:[9, 56] Operation: 79-23=56
Exploring Operation: 23+9=32, Resulting Numbers: [79, 32]
Generated Node #0,0,4: 47:[79, 32] Operation: 23+9=32
Moving to Node #0,1
Current State: 47:[23, 89, 19], Operations: ['98-79=19']
Exploring Operation: 23+19=42, Resulting Numbers: [89, 42]
Generated Node #0,1,0: 47:[89, 42] Operation: 23+19=42
Exploring Operation: 23-19=4, Resulting Numbers: [89, 4]
Generated Node #0,1,1: 47:[89, 4] Operation: 23-19=4
Exploring Operation: 89-23=66, Resulting Numbers: [19, 66]
Generated Node #0,1,2: 47:[19, 66] Operation: 89-23=66
Exploring Operation: 89-19=70, Resulting Numbers: [23, 70]
Generated Node #0,1,3: 47:[23, 70] Operation: 89-19=70
Exploring Operation: 89+19=108, Resulting Numbers: [23, 108]
Generated Node #0,1,4: 47:[23, 108] Operation: 89+19=108
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[89, 42], Operations: ['98-79=19', '23+19=42']
Exploring Operation: 89*42=3738, Resulting Numbers: [3738]
3738,47 unequal: No Solution
Exploring Operation: 89+42=131, Resulting Numbers: [131]
131,47 unequal: No Solution
Exploring Operation: 89-42=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[98, 23, 89, 79], Operations: []
Exploring Operation: 98-79=19, Resulting Numbers: [23, 89, 19]
Generated Node #0,1: 47:[23, 89, 19] Operation: 98-79=19
Moving to Node #0,1
Current State: 47:[23, 89, 19], Operations: ['98-79=19']
Exploring Operation: 23+19=42, Resulting Numbers: [89, 42]
Generated Node #0,1,0: 47:[89, 42] Operation: 23+19=42
Moving to Node #0,1,0
Current State: 47:[89, 42], Operations: ['98-79=19', '23+19=42']
Exploring Operation: 89-42=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
88,
11,
35,
37
] | 75 | [
"88-11=77",
"37-35=2",
"77-2=75"
] | Current State: 75:[88, 11, 35, 37], Operations: []
Exploring Operation: 88-11=77, Resulting Numbers: [35, 37, 77]
Generated Node #2: [35, 37, 77] from Operation: 88-11=77
Current State: 75:[35, 37, 77], Operations: ['88-11=77']
Exploring Operation: 37-35=2, Resulting Numbers: [77, 2]
Generated Node #3: [77, 2] from Operation: 37-35=2
Current State: 75:[77, 2], Operations: ['88-11=77', '37-35=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[88, 11, 35, 37], Operations: []
Exploring Operation: 88-11=77, Resulting Numbers: [35, 37, 77]
Generated Node #0,0: 75:[35, 37, 77] Operation: 88-11=77
Exploring Operation: 35+37=72, Resulting Numbers: [88, 11, 72]
Generated Node #0,1: 75:[88, 11, 72] Operation: 35+37=72
Exploring Operation: 37-35=2, Resulting Numbers: [88, 11, 2]
Generated Node #0,2: 75:[88, 11, 2] Operation: 37-35=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[88, 11, 2], Operations: ['37-35=2']
Exploring Operation: 88/11=8, Resulting Numbers: [2, 8]
Generated Node #0,2,0: 75:[2, 8] Operation: 88/11=8
Exploring Operation: 88-11=77, Resulting Numbers: [2, 77]
Generated Node #0,2,1: 75:[2, 77] Operation: 88-11=77
Exploring Operation: 88-2=86, Resulting Numbers: [11, 86]
Generated Node #0,2,2: 75:[11, 86] Operation: 88-2=86
Moving to Node #0,2,1
Current State: 75:[2, 77], Operations: ['37-35=2', '88-11=77']
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,75 unequal: No Solution
Exploring Operation: 2*77=154, Resulting Numbers: [154]
154,75 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[88, 11, 35, 37], Operations: []
Exploring Operation: 37-35=2, Resulting Numbers: [88, 11, 2]
Generated Node #0,2: 75:[88, 11, 2] Operation: 37-35=2
Moving to Node #0,2
Current State: 75:[88, 11, 2], Operations: ['37-35=2']
Exploring Operation: 88-11=77, Resulting Numbers: [2, 77]
Generated Node #0,2,1: 75:[2, 77] Operation: 88-11=77
Moving to Node #0,2,1
Current State: 75:[2, 77], Operations: ['37-35=2', '88-11=77']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
13,
14,
96,
26
] | 84 | [
"26/13=2",
"96-14=82",
"2+82=84"
] | Current State: 84:[13, 14, 96, 26], Operations: []
Exploring Operation: 26/13=2, Resulting Numbers: [14, 96, 2]
Generated Node #2: [14, 96, 2] from Operation: 26/13=2
Current State: 84:[14, 96, 2], Operations: ['26/13=2']
Exploring Operation: 96-14=82, Resulting Numbers: [2, 82]
Generated Node #3: [2, 82] from Operation: 96-14=82
Current State: 84:[2, 82], Operations: ['26/13=2', '96-14=82']
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[13, 14, 96, 26], Operations: []
Exploring Operation: 96-13=83, Resulting Numbers: [14, 26, 83]
Generated Node #0,0: 84:[14, 26, 83] Operation: 96-13=83
Moving to Node #0,0
Current State: 84:[14, 26, 83], Operations: ['96-13=83']
Exploring Operation: 26-14=12, Resulting Numbers: [83, 12]
Generated Node #0,0,0: 84:[83, 12] Operation: 26-14=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[83, 12], Operations: ['96-13=83', '26-14=12']
Exploring Operation: 83+12=95, Resulting Numbers: [95]
95,84 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 |
[
31,
75,
99,
14
] | 98 | [
"31+75=106",
"106-99=7",
"14*7=98"
] | Current State: 98:[31, 75, 99, 14], Operations: []
Exploring Operation: 31+75=106, Resulting Numbers: [99, 14, 106]
Generated Node #2: [99, 14, 106] from Operation: 31+75=106
Current State: 98:[99, 14, 106], Operations: ['31+75=106']
Exploring Operation: 106-99=7, Resulting Numbers: [14, 7]
Generated Node #3: [14, 7] from Operation: 106-99=7
Current State: 98:[14, 7], Operations: ['31+75=106', '106-99=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[31, 75, 99, 14], Operations: []
Exploring Operation: 99-75=24, Resulting Numbers: [31, 14, 24]
Generated Node #0,0: 98:[31, 14, 24] Operation: 99-75=24
Exploring Operation: 31+75=106, Resulting Numbers: [99, 14, 106]
Generated Node #0,1: 98:[99, 14, 106] Operation: 31+75=106
Exploring Operation: 31-14=17, Resulting Numbers: [75, 99, 17]
Generated Node #0,2: 98:[75, 99, 17] Operation: 31-14=17
Exploring Operation: 75+14=89, Resulting Numbers: [31, 99, 89]
Generated Node #0,3: 98:[31, 99, 89] Operation: 75+14=89
Exploring Operation: 75-31=44, Resulting Numbers: [99, 14, 44]
Generated Node #0,4: 98:[99, 14, 44] Operation: 75-31=44
Moving to Node #0,4
Current State: 98:[99, 14, 44], Operations: ['75-31=44']
Exploring Operation: 99-44=55, Resulting Numbers: [14, 55]
Generated Node #0,4,0: 98:[14, 55] Operation: 99-44=55
Exploring Operation: 14+44=58, Resulting Numbers: [99, 58]
Generated Node #0,4,1: 98:[99, 58] Operation: 14+44=58
Exploring Operation: 44-14=30, Resulting Numbers: [99, 30]
Generated Node #0,4,2: 98:[99, 30] Operation: 44-14=30
Exploring Operation: 99-14=85, Resulting Numbers: [44, 85]
Generated Node #0,4,3: 98:[44, 85] Operation: 99-14=85
Exploring Operation: 99+14=113, Resulting Numbers: [44, 113]
Generated Node #0,4,4: 98:[44, 113] Operation: 99+14=113
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 98:[14, 55], Operations: ['75-31=44', '99-44=55']
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 14+55=69, Resulting Numbers: [69]
69,98 unequal: No Solution
Exploring Operation: 14*55=770, Resulting Numbers: [770]
770,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 98:[99, 58], Operations: ['75-31=44', '14+44=58']
Exploring Operation: 99*58=5742, Resulting Numbers: [5742]
5742,98 unequal: No Solution
Exploring Operation: 99-58=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 99+58=157, Resulting Numbers: [157]
157,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 98:[99, 30], Operations: ['75-31=44', '44-14=30']
Exploring Operation: 99+30=129, Resulting Numbers: [129]
129,98 unequal: No Solution
Exploring Operation: 99-30=69, Resulting Numbers: [69]
69,98 unequal: No Solution
Exploring Operation: 99*30=2970, Resulting Numbers: [2970]
2970,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 98:[44, 85], Operations: ['75-31=44', '99-14=85']
Exploring Operation: 44*85=3740, Resulting Numbers: [3740]
3740,98 unequal: No Solution
Exploring Operation: 44+85=129, Resulting Numbers: [129]
129,98 unequal: No Solution
Exploring Operation: 85-44=41, Resulting Numbers: [41]
41,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 98:[44, 113], Operations: ['75-31=44', '99+14=113']
Exploring Operation: 44+113=157, Resulting Numbers: [157]
157,98 unequal: No Solution
Exploring Operation: 44*113=4972, Resulting Numbers: [4972]
4972,98 unequal: No Solution
Exploring Operation: 113-44=69, Resulting Numbers: [69]
69,98 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: 98:[99, 14, 106], Operations: ['31+75=106']
Exploring Operation: 99-14=85, Resulting Numbers: [106, 85]
Generated Node #0,1,0: 98:[106, 85] Operation: 99-14=85
Exploring Operation: 106-99=7, Resulting Numbers: [14, 7]
Generated Node #0,1,1: 98:[14, 7] Operation: 106-99=7
Exploring Operation: 99+14=113, Resulting Numbers: [106, 113]
Generated Node #0,1,2: 98:[106, 113] Operation: 99+14=113
Exploring Operation: 106-14=92, Resulting Numbers: [99, 92]
Generated Node #0,1,3: 98:[99, 92] Operation: 106-14=92
Exploring Operation: 14+106=120, Resulting Numbers: [99, 120]
Generated Node #0,1,4: 98:[99, 120] Operation: 14+106=120
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[14, 7], Operations: ['31+75=106', '106-99=7']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[31, 75, 99, 14], Operations: []
Exploring Operation: 31+75=106, Resulting Numbers: [99, 14, 106]
Generated Node #0,1: 98:[99, 14, 106] Operation: 31+75=106
Moving to Node #0,1
Current State: 98:[99, 14, 106], Operations: ['31+75=106']
Exploring Operation: 106-99=7, Resulting Numbers: [14, 7]
Generated Node #0,1,1: 98:[14, 7] Operation: 106-99=7
Moving to Node #0,1,1
Current State: 98:[14, 7], Operations: ['31+75=106', '106-99=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | mult_heuristic |
[
62,
44,
95,
29
] | 18 | [
"62+44=106",
"95+29=124",
"124-106=18"
] | Current State: 18:[62, 44, 95, 29], Operations: []
Exploring Operation: 62+44=106, Resulting Numbers: [95, 29, 106]
Generated Node #2: [95, 29, 106] from Operation: 62+44=106
Current State: 18:[95, 29, 106], Operations: ['62+44=106']
Exploring Operation: 95+29=124, Resulting Numbers: [106, 124]
Generated Node #3: [106, 124] from Operation: 95+29=124
Current State: 18:[106, 124], Operations: ['62+44=106', '95+29=124']
Exploring Operation: 124-106=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[62, 44, 95, 29], Operations: []
Exploring Operation: 95-62=33, Resulting Numbers: [44, 29, 33]
Generated Node #0,0: 18:[44, 29, 33] Operation: 95-62=33
Exploring Operation: 62-44=18, Resulting Numbers: [95, 29, 18]
Generated Node #0,1: 18:[95, 29, 18] Operation: 62-44=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[44, 29, 33], Operations: ['95-62=33']
Exploring Operation: 44-33=11, Resulting Numbers: [29, 11]
Generated Node #0,0,0: 18:[29, 11] Operation: 44-33=11
Exploring Operation: 44-29=15, Resulting Numbers: [33, 15]
Generated Node #0,0,1: 18:[33, 15] Operation: 44-29=15
Moving to Node #0,0,0
Current State: 18:[29, 11], Operations: ['95-62=33', '44-33=11']
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[62, 44, 95, 29], Operations: []
Exploring Operation: 95-62=33, Resulting Numbers: [44, 29, 33]
Generated Node #0,0: 18:[44, 29, 33] Operation: 95-62=33
Moving to Node #0,0
Current State: 18:[44, 29, 33], Operations: ['95-62=33']
Exploring Operation: 44-33=11, Resulting Numbers: [29, 11]
Generated Node #0,0,0: 18:[29, 11] Operation: 44-33=11
Moving to Node #0,0,0
Current State: 18:[29, 11], Operations: ['95-62=33', '44-33=11']
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
48,
68,
29,
25
] | 74 | [
"68-48=20",
"29+25=54",
"20+54=74"
] | Current State: 74:[48, 68, 29, 25], Operations: []
Exploring Operation: 68-48=20, Resulting Numbers: [29, 25, 20]
Generated Node #2: [29, 25, 20] from Operation: 68-48=20
Current State: 74:[29, 25, 20], Operations: ['68-48=20']
Exploring Operation: 29+25=54, Resulting Numbers: [20, 54]
Generated Node #3: [20, 54] from Operation: 29+25=54
Current State: 74:[20, 54], Operations: ['68-48=20', '29+25=54']
Exploring Operation: 20+54=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[48, 68, 29, 25], Operations: []
Exploring Operation: 48+25=73, Resulting Numbers: [68, 29, 73]
Generated Node #0,0: 74:[68, 29, 73] Operation: 48+25=73
Exploring Operation: 68-25=43, Resulting Numbers: [48, 29, 43]
Generated Node #0,1: 74:[48, 29, 43] Operation: 68-25=43
Exploring Operation: 29-25=4, Resulting Numbers: [48, 68, 4]
Generated Node #0,2: 74:[48, 68, 4] Operation: 29-25=4
Exploring Operation: 48+29=77, Resulting Numbers: [68, 25, 77]
Generated Node #0,3: 74:[68, 25, 77] Operation: 48+29=77
Exploring Operation: 68-29=39, Resulting Numbers: [48, 25, 39]
Generated Node #0,4: 74:[48, 25, 39] Operation: 68-29=39
Moving to Node #0,0
Current State: 74:[68, 29, 73], Operations: ['48+25=73']
Exploring Operation: 29+73=102, Resulting Numbers: [68, 102]
Generated Node #0,0,0: 74:[68, 102] Operation: 29+73=102
Exploring Operation: 73-68=5, Resulting Numbers: [29, 5]
Generated Node #0,0,1: 74:[29, 5] Operation: 73-68=5
Exploring Operation: 68-29=39, Resulting Numbers: [73, 39]
Generated Node #0,0,2: 74:[73, 39] Operation: 68-29=39
Exploring Operation: 73-29=44, Resulting Numbers: [68, 44]
Generated Node #0,0,3: 74:[68, 44] Operation: 73-29=44
Exploring Operation: 68+29=97, Resulting Numbers: [73, 97]
Generated Node #0,0,4: 74:[73, 97] Operation: 68+29=97
Moving to Node #0,2
Current State: 74:[48, 68, 4], Operations: ['29-25=4']
Exploring Operation: 48/4=12, Resulting Numbers: [68, 12]
Generated Node #0,2,0: 74:[68, 12] Operation: 48/4=12
Exploring Operation: 48-4=44, Resulting Numbers: [68, 44]
Generated Node #0,2,1: 74:[68, 44] Operation: 48-4=44
Exploring Operation: 68+4=72, Resulting Numbers: [48, 72]
Generated Node #0,2,2: 74:[48, 72] Operation: 68+4=72
Exploring Operation: 68-48=20, Resulting Numbers: [4, 20]
Generated Node #0,2,3: 74:[4, 20] Operation: 68-48=20
Exploring Operation: 48+4=52, Resulting Numbers: [68, 52]
Generated Node #0,2,4: 74:[68, 52] Operation: 48+4=52
Moving to Node #0,3
Current State: 74:[68, 25, 77], Operations: ['48+29=77']
Exploring Operation: 25+77=102, Resulting Numbers: [68, 102]
Generated Node #0,3,0: 74:[68, 102] Operation: 25+77=102
Exploring Operation: 68-25=43, Resulting Numbers: [77, 43]
Generated Node #0,3,1: 74:[77, 43] Operation: 68-25=43
Exploring Operation: 77-25=52, Resulting Numbers: [68, 52]
Generated Node #0,3,2: 74:[68, 52] Operation: 77-25=52
Exploring Operation: 77-68=9, Resulting Numbers: [25, 9]
Generated Node #0,3,3: 74:[25, 9] Operation: 77-68=9
Exploring Operation: 68+25=93, Resulting Numbers: [77, 93]
Generated Node #0,3,4: 74:[77, 93] Operation: 68+25=93
Moving to Node #0,1
Current State: 74:[48, 29, 43], Operations: ['68-25=43']
Exploring Operation: 48+29=77, Resulting Numbers: [43, 77]
Generated Node #0,1,0: 74:[43, 77] Operation: 48+29=77
Exploring Operation: 48-29=19, Resulting Numbers: [43, 19]
Generated Node #0,1,1: 74:[43, 19] Operation: 48-29=19
Exploring Operation: 43-29=14, Resulting Numbers: [48, 14]
Generated Node #0,1,2: 74:[48, 14] Operation: 43-29=14
Exploring Operation: 29+43=72, Resulting Numbers: [48, 72]
Generated Node #0,1,3: 74:[48, 72] Operation: 29+43=72
Exploring Operation: 48-43=5, Resulting Numbers: [29, 5]
Generated Node #0,1,4: 74:[29, 5] Operation: 48-43=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[43, 77], Operations: ['68-25=43', '48+29=77']
Exploring Operation: 43+77=120, Resulting Numbers: [120]
120,74 unequal: No Solution
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 43*77=3311, Resulting Numbers: [3311]
3311,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,4
Current State: 74:[29, 5], Operations: ['68-25=43', '48-43=5']
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,74 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,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,3
Current State: 74:[48, 72], Operations: ['68-25=43', '29+43=72']
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 48*72=3456, Resulting Numbers: [3456]
3456,74 unequal: No Solution
Exploring Operation: 48+72=120, Resulting Numbers: [120]
120,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[43, 19], Operations: ['68-25=43', '48-29=19']
Exploring Operation: 43*19=817, Resulting Numbers: [817]
817,74 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 43+19=62, Resulting Numbers: [62]
62,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,2
Current State: 74:[48, 14], Operations: ['68-25=43', '43-29=14']
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,74 unequal: No Solution
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,74 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,74 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: 74:[48, 25, 39], Operations: ['68-29=39']
Exploring Operation: 48-25=23, Resulting Numbers: [39, 23]
Generated Node #0,4,0: 74:[39, 23] Operation: 48-25=23
Exploring Operation: 48-39=9, Resulting Numbers: [25, 9]
Generated Node #0,4,1: 74:[25, 9] Operation: 48-39=9
Exploring Operation: 25+39=64, Resulting Numbers: [48, 64]
Generated Node #0,4,2: 74:[48, 64] Operation: 25+39=64
Exploring Operation: 39-25=14, Resulting Numbers: [48, 14]
Generated Node #0,4,3: 74:[48, 14] Operation: 39-25=14
Exploring Operation: 48+25=73, Resulting Numbers: [39, 73]
Generated Node #0,4,4: 74:[39, 73] Operation: 48+25=73
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 74:[39, 73], Operations: ['68-29=39', '48+25=73']
Exploring Operation: 39*73=2847, Resulting Numbers: [2847]
2847,74 unequal: No Solution
Exploring Operation: 39+73=112, Resulting Numbers: [112]
112,74 unequal: No Solution
Exploring Operation: 73-39=34, Resulting Numbers: [34]
34,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,4,0
Current State: 74:[39, 23], Operations: ['68-29=39', '48-25=23']
Exploring Operation: 39*23=897, Resulting Numbers: [897]
897,74 unequal: No Solution
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,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,4,1
Current State: 74:[25, 9], Operations: ['68-29=39', '48-39=9']
Exploring Operation: 25*9=225, Resulting Numbers: [225]
225,74 unequal: No Solution
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,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,4,2
Current State: 74:[48, 64], Operations: ['68-29=39', '25+39=64']
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 48+64=112, Resulting Numbers: [112]
112,74 unequal: No Solution
Exploring Operation: 48*64=3072, Resulting Numbers: [3072]
3072,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,4,3
Current State: 74:[48, 14], Operations: ['68-29=39', '39-25=14']
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,74 unequal: No Solution
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 74:[73, 39], Operations: ['48+25=73', '68-29=39']
Exploring Operation: 73-39=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 73*39=2847, Resulting Numbers: [2847]
2847,74 unequal: No Solution
Exploring Operation: 73+39=112, Resulting Numbers: [112]
112,74 unequal: No Solution
Moving to Node #0,3,1
Current State: 74:[77, 43], Operations: ['48+29=77', '68-25=43']
Exploring Operation: 77*43=3311, Resulting Numbers: [3311]
3311,74 unequal: No Solution
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 77+43=120, Resulting Numbers: [120]
120,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[29, 5], Operations: ['48+25=73', '73-68=5']
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[68, 44], Operations: ['48+25=73', '73-29=44']
Exploring Operation: 68*44=2992, Resulting Numbers: [2992]
2992,74 unequal: No Solution
Exploring Operation: 68-44=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 68+44=112, Resulting Numbers: [112]
112,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[48, 72], Operations: ['29-25=4', '68+4=72']
Exploring Operation: 48*72=3456, Resulting Numbers: [3456]
3456,74 unequal: No Solution
Exploring Operation: 48+72=120, Resulting Numbers: [120]
120,74 unequal: No Solution
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[68, 44], Operations: ['29-25=4', '48-4=44']
Exploring Operation: 68-44=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 68+44=112, Resulting Numbers: [112]
112,74 unequal: No Solution
Exploring Operation: 68*44=2992, Resulting Numbers: [2992]
2992,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[68, 12], Operations: ['29-25=4', '48/4=12']
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Exploring Operation: 68+12=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 68*12=816, Resulting Numbers: [816]
816,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[25, 9], Operations: ['48+29=77', '77-68=9']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 25*9=225, Resulting Numbers: [225]
225,74 unequal: No Solution
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Moving to Node #0,2,3
Current State: 74:[4, 20], Operations: ['29-25=4', '68-48=20']
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[68, 52], Operations: ['48+29=77', '77-25=52']
Exploring Operation: 68*52=3536, Resulting Numbers: [3536]
3536,74 unequal: No Solution
Exploring Operation: 68-52=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 68+52=120, Resulting Numbers: [120]
120,74 unequal: No Solution
Moving to Node #0,2,4
Current State: 74:[68, 52], Operations: ['29-25=4', '48+4=52']
Exploring Operation: 68-52=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 68+52=120, Resulting Numbers: [120]
120,74 unequal: No Solution
Exploring Operation: 68*52=3536, Resulting Numbers: [3536]
3536,74 unequal: No Solution
Moving to Node #0,3,4
Current State: 74:[77, 93], Operations: ['48+29=77', '68+25=93']
Exploring Operation: 93-77=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 77+93=170, Resulting Numbers: [170]
170,74 unequal: No Solution
Exploring Operation: 77*93=7161, Resulting Numbers: [7161]
7161,74 unequal: No Solution
Moving to Node #0,0,4
Current State: 74:[73, 97], Operations: ['48+25=73', '68+29=97']
Exploring Operation: 97-73=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 73+97=170, Resulting Numbers: [170]
170,74 unequal: No Solution
Exploring Operation: 73*97=7081, Resulting Numbers: [7081]
7081,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[68, 102], Operations: ['48+25=73', '29+73=102']
Exploring Operation: 102-68=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 68*102=6936, Resulting Numbers: [6936]
6936,74 unequal: No Solution
Exploring Operation: 68+102=170, Resulting Numbers: [170]
170,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[68, 102], Operations: ['48+29=77', '25+77=102']
Exploring Operation: 68*102=6936, Resulting Numbers: [6936]
6936,74 unequal: No Solution
Exploring Operation: 102-68=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 68+102=170, Resulting Numbers: [170]
170,74 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
32,
91,
21,
49
] | 30 | [
"91-49=42",
"42/21=2",
"32-2=30"
] | Current State: 30:[32, 91, 21, 49], Operations: []
Exploring Operation: 91-49=42, Resulting Numbers: [32, 21, 42]
Generated Node #2: [32, 21, 42] from Operation: 91-49=42
Current State: 30:[32, 21, 42], Operations: ['91-49=42']
Exploring Operation: 42/21=2, Resulting Numbers: [32, 2]
Generated Node #3: [32, 2] from Operation: 42/21=2
Current State: 30:[32, 2], Operations: ['91-49=42', '42/21=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[32, 91, 21, 49], Operations: []
Exploring Operation: 91-49=42, Resulting Numbers: [32, 21, 42]
Generated Node #0,0: 30:[32, 21, 42] Operation: 91-49=42
Exploring Operation: 91-32=59, Resulting Numbers: [21, 49, 59]
Generated Node #0,1: 30:[21, 49, 59] Operation: 91-32=59
Moving to Node #0,0
Current State: 30:[32, 21, 42], Operations: ['91-49=42']
Exploring Operation: 42-32=10, Resulting Numbers: [21, 10]
Generated Node #0,0,0: 30:[21, 10] Operation: 42-32=10
Exploring Operation: 42/21=2, Resulting Numbers: [32, 2]
Generated Node #0,0,1: 30:[32, 2] Operation: 42/21=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[32, 2], Operations: ['91-49=42', '42/21=2']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[32, 91, 21, 49], Operations: []
Exploring Operation: 91-49=42, Resulting Numbers: [32, 21, 42]
Generated Node #0,0: 30:[32, 21, 42] Operation: 91-49=42
Moving to Node #0,0
Current State: 30:[32, 21, 42], Operations: ['91-49=42']
Exploring Operation: 42/21=2, Resulting Numbers: [32, 2]
Generated Node #0,0,1: 30:[32, 2] Operation: 42/21=2
Moving to Node #0,0,1
Current State: 30:[32, 2], Operations: ['91-49=42', '42/21=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
31,
21,
98,
65
] | 23 | [
"31-21=10",
"98-65=33",
"33-10=23"
] | Current State: 23:[31, 21, 98, 65], Operations: []
Exploring Operation: 31-21=10, Resulting Numbers: [98, 65, 10]
Generated Node #2: [98, 65, 10] from Operation: 31-21=10
Current State: 23:[98, 65, 10], Operations: ['31-21=10']
Exploring Operation: 98-65=33, Resulting Numbers: [10, 33]
Generated Node #3: [10, 33] from Operation: 98-65=33
Current State: 23:[10, 33], Operations: ['31-21=10', '98-65=33']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[31, 21, 98, 65], Operations: []
Exploring Operation: 65-21=44, Resulting Numbers: [31, 98, 44]
Generated Node #0,0: 23:[31, 98, 44] Operation: 65-21=44
Exploring Operation: 65-31=34, Resulting Numbers: [21, 98, 34]
Generated Node #0,1: 23:[21, 98, 34] Operation: 65-31=34
Exploring Operation: 98-31=67, Resulting Numbers: [21, 65, 67]
Generated Node #0,2: 23:[21, 65, 67] Operation: 98-31=67
Exploring Operation: 98-65=33, Resulting Numbers: [31, 21, 33]
Generated Node #0,3: 23:[31, 21, 33] Operation: 98-65=33
Exploring Operation: 98-21=77, Resulting Numbers: [31, 65, 77]
Generated Node #0,4: 23:[31, 65, 77] Operation: 98-21=77
Moving to Node #0,3
Current State: 23:[31, 21, 33], Operations: ['98-65=33']
Exploring Operation: 31+21=52, Resulting Numbers: [33, 52]
Generated Node #0,3,0: 23:[33, 52] Operation: 31+21=52
Exploring Operation: 31-21=10, Resulting Numbers: [33, 10]
Generated Node #0,3,1: 23:[33, 10] Operation: 31-21=10
Exploring Operation: 33-21=12, Resulting Numbers: [31, 12]
Generated Node #0,3,2: 23:[31, 12] Operation: 33-21=12
Exploring Operation: 21+33=54, Resulting Numbers: [31, 54]
Generated Node #0,3,3: 23:[31, 54] Operation: 21+33=54
Exploring Operation: 33-31=2, Resulting Numbers: [21, 2]
Generated Node #0,3,4: 23:[21, 2] Operation: 33-31=2
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 23:[31, 12], Operations: ['98-65=33', '33-21=12']
Exploring Operation: 31+12=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Exploring Operation: 31*12=372, Resulting Numbers: [372]
372,23 unequal: No Solution
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,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,3,1
Current State: 23:[33, 10], Operations: ['98-65=33', '31-21=10']
Exploring Operation: 33+10=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[31, 21, 98, 65], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [31, 21, 33]
Generated Node #0,3: 23:[31, 21, 33] Operation: 98-65=33
Moving to Node #0,3
Current State: 23:[31, 21, 33], Operations: ['98-65=33']
Exploring Operation: 31-21=10, Resulting Numbers: [33, 10]
Generated Node #0,3,1: 23:[33, 10] Operation: 31-21=10
Moving to Node #0,3,1
Current State: 23:[33, 10], Operations: ['98-65=33', '31-21=10']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
17,
18,
25,
8
] | 46 | [
"25-17=8",
"8*8=64",
"64-18=46"
] | Current State: 46:[17, 18, 25, 8], Operations: []
Exploring Operation: 25-17=8, Resulting Numbers: [18, 8, 8]
Generated Node #2: [18, 8, 8] from Operation: 25-17=8
Current State: 46:[18, 8, 8], Operations: ['25-17=8']
Exploring Operation: 8*8=64, Resulting Numbers: [18, 64]
Generated Node #3: [18, 64] from Operation: 8*8=64
Current State: 46:[18, 64], Operations: ['25-17=8', '8*8=64']
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[17, 18, 25, 8], Operations: []
Exploring Operation: 18-17=1, Resulting Numbers: [25, 8, 1]
Generated Node #0,0: 46:[25, 8, 1] Operation: 18-17=1
Exploring Operation: 17-8=9, Resulting Numbers: [18, 25, 9]
Generated Node #0,1: 46:[18, 25, 9] Operation: 17-8=9
Exploring Operation: 18+8=26, Resulting Numbers: [17, 25, 26]
Generated Node #0,2: 46:[17, 25, 26] Operation: 18+8=26
Exploring Operation: 17+8=25, Resulting Numbers: [18, 25, 25]
Generated Node #0,3: 46:[18, 25, 25] Operation: 17+8=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[25, 8, 1], Operations: ['18-17=1']
Exploring Operation: 25-8=17, Resulting Numbers: [1, 17]
Generated Node #0,0,0: 46:[1, 17] Operation: 25-8=17
Exploring Operation: 25*1=25, Resulting Numbers: [8, 25]
Generated Node #0,0,1: 46:[8, 25] Operation: 25*1=25
Exploring Operation: 25-1=24, Resulting Numbers: [8, 24]
Generated Node #0,0,2: 46:[8, 24] Operation: 25-1=24
Exploring Operation: 8-1=7, Resulting Numbers: [25, 7]
Generated Node #0,0,3: 46:[25, 7] Operation: 8-1=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[1, 17], Operations: ['18-17=1', '25-8=17']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 46:[8, 24], Operations: ['18-17=1', '25-1=24']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,46 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 46:[25, 7], Operations: ['18-17=1', '8-1=7']
Exploring Operation: 25*7=175, Resulting Numbers: [175]
175,46 unequal: No Solution
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 46:[8, 25], Operations: ['18-17=1', '25*1=25']
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 8*25=200, Resulting Numbers: [200]
200,46 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 46:[18, 25, 25], Operations: ['17+8=25']
Exploring Operation: 25/25=1, Resulting Numbers: [18, 1]
Generated Node #0,3,0: 46:[18, 1] Operation: 25/25=1
Exploring Operation: 25-18=7, Resulting Numbers: [25, 7]
Generated Node #0,3,1: 46:[25, 7] Operation: 25-18=7
Exploring Operation: 18+25=43, Resulting Numbers: [25, 43]
Generated Node #0,3,2: 46:[25, 43] Operation: 18+25=43
Exploring Operation: 18+25=43, Resulting Numbers: [25, 43]
Generated Node #0,3,3: 46:[25, 43] Operation: 18+25=43
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 46:[25, 43], Operations: ['17+8=25', '18+25=43']
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 46:[25, 43], Operations: ['17+8=25', '18+25=43']
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,46 unequal: No Solution
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 46:[18, 1], Operations: ['17+8=25', '25/25=1']
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 46:[25, 7], Operations: ['17+8=25', '25-18=7']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 25*7=175, Resulting Numbers: [175]
175,46 unequal: No Solution
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[17, 25, 26], Operations: ['18+8=26']
Exploring Operation: 26-25=1, Resulting Numbers: [17, 1]
Generated Node #0,2,0: 46:[17, 1] Operation: 26-25=1
Exploring Operation: 25-17=8, Resulting Numbers: [26, 8]
Generated Node #0,2,1: 46:[26, 8] Operation: 25-17=8
Exploring Operation: 17+25=42, Resulting Numbers: [26, 42]
Generated Node #0,2,2: 46:[26, 42] Operation: 17+25=42
Exploring Operation: 17+26=43, Resulting Numbers: [25, 43]
Generated Node #0,2,3: 46:[25, 43] Operation: 17+26=43
Moving to Node #0,2,3
Current State: 46:[25, 43], Operations: ['18+8=26', '17+26=43']
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,46 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[26, 42], Operations: ['18+8=26', '17+25=42']
Exploring Operation: 26*42=1092, Resulting Numbers: [1092]
1092,46 unequal: No Solution
Exploring Operation: 26+42=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[17, 1], Operations: ['18+8=26', '26-25=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[26, 8], Operations: ['18+8=26', '25-17=8']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 26*8=208, Resulting Numbers: [208]
208,46 unequal: No Solution
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,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:[18, 25, 9], Operations: ['17-8=9']
Exploring Operation: 18+25=43, Resulting Numbers: [9, 43]
Generated Node #0,1,0: 46:[9, 43] Operation: 18+25=43
Exploring Operation: 18/9=2, Resulting Numbers: [25, 2]
Generated Node #0,1,1: 46:[25, 2] Operation: 18/9=2
Exploring Operation: 18+9=27, Resulting Numbers: [25, 27]
Generated Node #0,1,2: 46:[25, 27] Operation: 18+9=27
Exploring Operation: 18-9=9, Resulting Numbers: [25, 9]
Generated Node #0,1,3: 46:[25, 9] Operation: 18-9=9
Moving to Node #0,1,1
Current State: 46:[25, 2], Operations: ['17-8=9', '18/9=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,46 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[25, 27], Operations: ['17-8=9', '18+9=27']
Exploring Operation: 25*27=675, Resulting Numbers: [675]
675,46 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,46 unequal: No Solution
Moving to Node #0,1,3
Current State: 46:[25, 9], Operations: ['17-8=9', '18-9=9']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 25*9=225, Resulting Numbers: [225]
225,46 unequal: No Solution
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[9, 43], Operations: ['17-8=9', '18+25=43']
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 9+43=52, Resulting Numbers: [52]
52,46 unequal: No Solution
Exploring Operation: 9*43=387, Resulting Numbers: [387]
387,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
59,
44,
73,
37
] | 71 | [
"59-37=22",
"44/22=2",
"73-2=71"
] | Current State: 71:[59, 44, 73, 37], Operations: []
Exploring Operation: 59-37=22, Resulting Numbers: [44, 73, 22]
Generated Node #2: [44, 73, 22] from Operation: 59-37=22
Current State: 71:[44, 73, 22], Operations: ['59-37=22']
Exploring Operation: 44/22=2, Resulting Numbers: [73, 2]
Generated Node #3: [73, 2] from Operation: 44/22=2
Current State: 71:[73, 2], Operations: ['59-37=22', '44/22=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[59, 44, 73, 37], Operations: []
Exploring Operation: 59+44=103, Resulting Numbers: [73, 37, 103]
Generated Node #0,0: 71:[73, 37, 103] Operation: 59+44=103
Exploring Operation: 73-37=36, Resulting Numbers: [59, 44, 36]
Generated Node #0,1: 71:[59, 44, 36] Operation: 73-37=36
Exploring Operation: 59+37=96, Resulting Numbers: [44, 73, 96]
Generated Node #0,2: 71:[44, 73, 96] Operation: 59+37=96
Exploring Operation: 44+37=81, Resulting Numbers: [59, 73, 81]
Generated Node #0,3: 71:[59, 73, 81] Operation: 44+37=81
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[59, 73, 81], Operations: ['44+37=81']
Exploring Operation: 59+73=132, Resulting Numbers: [81, 132]
Generated Node #0,3,0: 71:[81, 132] Operation: 59+73=132
Exploring Operation: 81-59=22, Resulting Numbers: [73, 22]
Generated Node #0,3,1: 71:[73, 22] Operation: 81-59=22
Exploring Operation: 73-59=14, Resulting Numbers: [81, 14]
Generated Node #0,3,2: 71:[81, 14] Operation: 73-59=14
Exploring Operation: 59+81=140, Resulting Numbers: [73, 140]
Generated Node #0,3,3: 71:[73, 140] Operation: 59+81=140
Moving to Node #0,3,1
Current State: 71:[73, 22], Operations: ['44+37=81', '81-59=22']
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,71 unequal: No Solution
Exploring Operation: 73*22=1606, Resulting Numbers: [1606]
1606,71 unequal: No Solution
Exploring Operation: 73+22=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[81, 14], Operations: ['44+37=81', '73-59=14']
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 81+14=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Exploring Operation: 81*14=1134, Resulting Numbers: [1134]
1134,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[73, 140], Operations: ['44+37=81', '59+81=140']
Exploring Operation: 73+140=213, Resulting Numbers: [213]
213,71 unequal: No Solution
Exploring Operation: 140-73=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 73*140=10220, Resulting Numbers: [10220]
10220,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[81, 132], Operations: ['44+37=81', '59+73=132']
Exploring Operation: 132-81=51, Resulting Numbers: [51]
51,71 unequal: No Solution
Exploring Operation: 81*132=10692, Resulting Numbers: [10692]
10692,71 unequal: No Solution
Exploring Operation: 81+132=213, Resulting Numbers: [213]
213,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[44, 73, 96], Operations: ['59+37=96']
Exploring Operation: 73-44=29, Resulting Numbers: [96, 29]
Generated Node #0,2,0: 71:[96, 29] Operation: 73-44=29
Exploring Operation: 96-44=52, Resulting Numbers: [73, 52]
Generated Node #0,2,1: 71:[73, 52] Operation: 96-44=52
Exploring Operation: 44+73=117, Resulting Numbers: [96, 117]
Generated Node #0,2,2: 71:[96, 117] Operation: 44+73=117
Exploring Operation: 44+96=140, Resulting Numbers: [73, 140]
Generated Node #0,2,3: 71:[73, 140] Operation: 44+96=140
Moving to Node #0,2,1
Current State: 71:[73, 52], Operations: ['59+37=96', '96-44=52']
Exploring Operation: 73-52=21, Resulting Numbers: [21]
21,71 unequal: No Solution
Exploring Operation: 73*52=3796, Resulting Numbers: [3796]
3796,71 unequal: No Solution
Exploring Operation: 73+52=125, Resulting Numbers: [125]
125,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[96, 29], Operations: ['59+37=96', '73-44=29']
Exploring Operation: 96+29=125, Resulting Numbers: [125]
125,71 unequal: No Solution
Exploring Operation: 96-29=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 96*29=2784, Resulting Numbers: [2784]
2784,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[73, 140], Operations: ['59+37=96', '44+96=140']
Exploring Operation: 140-73=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 73*140=10220, Resulting Numbers: [10220]
10220,71 unequal: No Solution
Exploring Operation: 73+140=213, Resulting Numbers: [213]
213,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[96, 117], Operations: ['59+37=96', '44+73=117']
Exploring Operation: 117-96=21, Resulting Numbers: [21]
21,71 unequal: No Solution
Exploring Operation: 96+117=213, Resulting Numbers: [213]
213,71 unequal: No Solution
Exploring Operation: 96*117=11232, Resulting Numbers: [11232]
11232,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[73, 37, 103], Operations: ['59+44=103']
Exploring Operation: 73-37=36, Resulting Numbers: [103, 36]
Generated Node #0,0,0: 71:[103, 36] Operation: 73-37=36
Exploring Operation: 103-37=66, Resulting Numbers: [73, 66]
Generated Node #0,0,1: 71:[73, 66] Operation: 103-37=66
Exploring Operation: 37+103=140, Resulting Numbers: [73, 140]
Generated Node #0,0,2: 71:[73, 140] Operation: 37+103=140
Exploring Operation: 73+37=110, Resulting Numbers: [103, 110]
Generated Node #0,0,3: 71:[103, 110] Operation: 73+37=110
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[73, 66], Operations: ['59+44=103', '103-37=66']
Exploring Operation: 73*66=4818, Resulting Numbers: [4818]
4818,71 unequal: No Solution
Exploring Operation: 73-66=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 73+66=139, Resulting Numbers: [139]
139,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[103, 36], Operations: ['59+44=103', '73-37=36']
Exploring Operation: 103+36=139, Resulting Numbers: [139]
139,71 unequal: No Solution
Exploring Operation: 103-36=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 103*36=3708, Resulting Numbers: [3708]
3708,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[73, 140], Operations: ['59+44=103', '37+103=140']
Exploring Operation: 73+140=213, Resulting Numbers: [213]
213,71 unequal: No Solution
Exploring Operation: 140-73=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Exploring Operation: 73*140=10220, Resulting Numbers: [10220]
10220,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 71:[103, 110], Operations: ['59+44=103', '73+37=110']
Exploring Operation: 103+110=213, Resulting Numbers: [213]
213,71 unequal: No Solution
Exploring Operation: 103*110=11330, Resulting Numbers: [11330]
11330,71 unequal: No Solution
Exploring Operation: 110-103=7, Resulting Numbers: [7]
7,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[59, 44, 36], Operations: ['73-37=36']
Exploring Operation: 44+36=80, Resulting Numbers: [59, 80]
Generated Node #0,1,0: 71:[59, 80] Operation: 44+36=80
Exploring Operation: 59+44=103, Resulting Numbers: [36, 103]
Generated Node #0,1,1: 71:[36, 103] Operation: 59+44=103
Exploring Operation: 59-36=23, Resulting Numbers: [44, 23]
Generated Node #0,1,2: 71:[44, 23] Operation: 59-36=23
Exploring Operation: 59+36=95, Resulting Numbers: [44, 95]
Generated Node #0,1,3: 71:[44, 95] Operation: 59+36=95
Moving to Node #0,1,0
Current State: 71:[59, 80], Operations: ['73-37=36', '44+36=80']
Exploring Operation: 80-59=21, Resulting Numbers: [21]
21,71 unequal: No Solution
Exploring Operation: 59*80=4720, Resulting Numbers: [4720]
4720,71 unequal: No Solution
Exploring Operation: 59+80=139, Resulting Numbers: [139]
139,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[44, 95], Operations: ['73-37=36', '59+36=95']
Exploring Operation: 44*95=4180, Resulting Numbers: [4180]
4180,71 unequal: No Solution
Exploring Operation: 95-44=51, Resulting Numbers: [51]
51,71 unequal: No Solution
Exploring Operation: 44+95=139, Resulting Numbers: [139]
139,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[36, 103], Operations: ['73-37=36', '59+44=103']
Exploring Operation: 36*103=3708, Resulting Numbers: [3708]
3708,71 unequal: No Solution
Exploring Operation: 36+103=139, Resulting Numbers: [139]
139,71 unequal: No Solution
Exploring Operation: 103-36=67, Resulting Numbers: [67]
67,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[44, 23], Operations: ['73-37=36', '59-36=23']
Exploring Operation: 44*23=1012, Resulting Numbers: [1012]
1012,71 unequal: No Solution
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,71 unequal: No Solution
Exploring Operation: 44+23=67, Resulting Numbers: [67]
67,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
11,
72,
44,
70
] | 88 | [
"11*72=792",
"792/44=18",
"70+18=88"
] | Current State: 88:[11, 72, 44, 70], Operations: []
Exploring Operation: 11*72=792, Resulting Numbers: [44, 70, 792]
Generated Node #2: [44, 70, 792] from Operation: 11*72=792
Current State: 88:[44, 70, 792], Operations: ['11*72=792']
Exploring Operation: 792/44=18, Resulting Numbers: [70, 18]
Generated Node #3: [70, 18] from Operation: 792/44=18
Current State: 88:[70, 18], Operations: ['11*72=792', '792/44=18']
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[11, 72, 44, 70], Operations: []
Exploring Operation: 11+72=83, Resulting Numbers: [44, 70, 83]
Generated Node #0,0: 88:[44, 70, 83] Operation: 11+72=83
Exploring Operation: 11+70=81, Resulting Numbers: [72, 44, 81]
Generated Node #0,1: 88:[72, 44, 81] Operation: 11+70=81
Exploring Operation: 70-44=26, Resulting Numbers: [11, 72, 26]
Generated Node #0,2: 88:[11, 72, 26] Operation: 70-44=26
Exploring Operation: 72-70=2, Resulting Numbers: [11, 44, 2]
Generated Node #0,3: 88:[11, 44, 2] Operation: 72-70=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 88:[11, 44, 2], Operations: ['72-70=2']
Exploring Operation: 44/2=22, Resulting Numbers: [11, 22]
Generated Node #0,3,0: 88:[11, 22] Operation: 44/2=22
Exploring Operation: 44/11=4, Resulting Numbers: [2, 4]
Generated Node #0,3,1: 88:[2, 4] Operation: 44/11=4
Exploring Operation: 44*2=88, Resulting Numbers: [11, 88]
Generated Node #0,3,2: 88:[11, 88] Operation: 44*2=88
Exploring Operation: 11*2=22, Resulting Numbers: [44, 22]
Generated Node #0,3,3: 88:[44, 22] Operation: 11*2=22
Moving to Node #0,3,0
Current State: 88:[11, 22], Operations: ['72-70=2', '44/2=22']
Exploring Operation: 11*22=242, Resulting Numbers: [242]
242,88 unequal: No Solution
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Moving to Node #0,3,2
Current State: 88:[11, 88], Operations: ['72-70=2', '44*2=88']
Exploring Operation: 11*88=968, Resulting Numbers: [968]
968,88 unequal: No Solution
Exploring Operation: 11+88=99, Resulting Numbers: [99]
99,88 unequal: No Solution
Exploring Operation: 88/11=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 88-11=77, Resulting Numbers: [77]
77,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[2, 4], Operations: ['72-70=2', '44/11=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[44, 22], Operations: ['72-70=2', '11*2=22']
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,88 unequal: No Solution
Exploring Operation: 44+22=66, Resulting Numbers: [66]
66,88 unequal: No Solution
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 44*22=968, Resulting Numbers: [968]
968,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[11, 72, 26], Operations: ['70-44=26']
Exploring Operation: 11+72=83, Resulting Numbers: [26, 83]
Generated Node #0,2,0: 88:[26, 83] Operation: 11+72=83
Exploring Operation: 26-11=15, Resulting Numbers: [72, 15]
Generated Node #0,2,1: 88:[72, 15] Operation: 26-11=15
Exploring Operation: 72-26=46, Resulting Numbers: [11, 46]
Generated Node #0,2,2: 88:[11, 46] Operation: 72-26=46
Exploring Operation: 72+26=98, Resulting Numbers: [11, 98]
Generated Node #0,2,3: 88:[11, 98] Operation: 72+26=98
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 88:[11, 46], Operations: ['70-44=26', '72-26=46']
Exploring Operation: 11+46=57, Resulting Numbers: [57]
57,88 unequal: No Solution
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,88 unequal: No Solution
Exploring Operation: 11*46=506, Resulting Numbers: [506]
506,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 88:[26, 83], Operations: ['70-44=26', '11+72=83']
Exploring Operation: 26*83=2158, Resulting Numbers: [2158]
2158,88 unequal: No Solution
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,88 unequal: No Solution
Exploring Operation: 26+83=109, Resulting Numbers: [109]
109,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 88:[11, 98], Operations: ['70-44=26', '72+26=98']
Exploring Operation: 11*98=1078, Resulting Numbers: [1078]
1078,88 unequal: No Solution
Exploring Operation: 11+98=109, Resulting Numbers: [109]
109,88 unequal: No Solution
Exploring Operation: 98-11=87, Resulting Numbers: [87]
87,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 88:[72, 15], Operations: ['70-44=26', '26-11=15']
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,88 unequal: No Solution
Exploring Operation: 72+15=87, Resulting Numbers: [87]
87,88 unequal: No Solution
Exploring Operation: 72*15=1080, Resulting Numbers: [1080]
1080,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[44, 70, 83], Operations: ['11+72=83']
Exploring Operation: 83-44=39, Resulting Numbers: [70, 39]
Generated Node #0,0,0: 88:[70, 39] Operation: 83-44=39
Exploring Operation: 44+70=114, Resulting Numbers: [83, 114]
Generated Node #0,0,1: 88:[83, 114] Operation: 44+70=114
Exploring Operation: 70-44=26, Resulting Numbers: [83, 26]
Generated Node #0,0,2: 88:[83, 26] Operation: 70-44=26
Exploring Operation: 83-70=13, Resulting Numbers: [44, 13]
Generated Node #0,0,3: 88:[44, 13] Operation: 83-70=13
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 88:[44, 13], Operations: ['11+72=83', '83-70=13']
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,88 unequal: No Solution
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,88 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 88:[83, 26], Operations: ['11+72=83', '70-44=26']
Exploring Operation: 83*26=2158, Resulting Numbers: [2158]
2158,88 unequal: No Solution
Exploring Operation: 83+26=109, Resulting Numbers: [109]
109,88 unequal: No Solution
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[70, 39], Operations: ['11+72=83', '83-44=39']
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Exploring Operation: 70*39=2730, Resulting Numbers: [2730]
2730,88 unequal: No Solution
Exploring Operation: 70+39=109, Resulting Numbers: [109]
109,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[83, 114], Operations: ['11+72=83', '44+70=114']
Exploring Operation: 114-83=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Exploring Operation: 83+114=197, Resulting Numbers: [197]
197,88 unequal: No Solution
Exploring Operation: 83*114=9462, Resulting Numbers: [9462]
9462,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[72, 44, 81], Operations: ['11+70=81']
Exploring Operation: 81-72=9, Resulting Numbers: [44, 9]
Generated Node #0,1,0: 88:[44, 9] Operation: 81-72=9
Exploring Operation: 72+44=116, Resulting Numbers: [81, 116]
Generated Node #0,1,1: 88:[81, 116] Operation: 72+44=116
Exploring Operation: 72-44=28, Resulting Numbers: [81, 28]
Generated Node #0,1,2: 88:[81, 28] Operation: 72-44=28
Exploring Operation: 81-44=37, Resulting Numbers: [72, 37]
Generated Node #0,1,3: 88:[72, 37] Operation: 81-44=37
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[44, 9], Operations: ['11+70=81', '81-72=9']
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,88 unequal: No Solution
Exploring Operation: 44*9=396, Resulting Numbers: [396]
396,88 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 88:[81, 28], Operations: ['11+70=81', '72-44=28']
Exploring Operation: 81+28=109, Resulting Numbers: [109]
109,88 unequal: No Solution
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,88 unequal: No Solution
Exploring Operation: 81*28=2268, Resulting Numbers: [2268]
2268,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 88:[72, 37], Operations: ['11+70=81', '81-44=37']
Exploring Operation: 72+37=109, Resulting Numbers: [109]
109,88 unequal: No Solution
Exploring Operation: 72*37=2664, Resulting Numbers: [2664]
2664,88 unequal: No Solution
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[81, 116], Operations: ['11+70=81', '72+44=116']
Exploring Operation: 81*116=9396, Resulting Numbers: [9396]
9396,88 unequal: No Solution
Exploring Operation: 81+116=197, Resulting Numbers: [197]
197,88 unequal: No Solution
Exploring Operation: 116-81=35, Resulting Numbers: [35]
35,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
9,
88,
38,
2
] | 30 | [
"38-9=29",
"2*29=58",
"88-58=30"
] | Current State: 30:[9, 88, 38, 2], Operations: []
Exploring Operation: 38-9=29, Resulting Numbers: [88, 2, 29]
Generated Node #2: [88, 2, 29] from Operation: 38-9=29
Current State: 30:[88, 2, 29], Operations: ['38-9=29']
Exploring Operation: 2*29=58, Resulting Numbers: [88, 58]
Generated Node #3: [88, 58] from Operation: 2*29=58
Current State: 30:[88, 58], Operations: ['38-9=29', '2*29=58']
Exploring Operation: 88-58=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[9, 88, 38, 2], Operations: []
Exploring Operation: 88-38=50, Resulting Numbers: [9, 2, 50]
Generated Node #0,0: 30:[9, 2, 50] Operation: 88-38=50
Exploring Operation: 88-9=79, Resulting Numbers: [38, 2, 79]
Generated Node #0,1: 30:[38, 2, 79] Operation: 88-9=79
Exploring Operation: 88/2=44, Resulting Numbers: [9, 38, 44]
Generated Node #0,2: 30:[9, 38, 44] Operation: 88/2=44
Moving to Node #0,0
Current State: 30:[9, 2, 50], Operations: ['88-38=50']
Exploring Operation: 50-9=41, Resulting Numbers: [2, 41]
Generated Node #0,0,0: 30:[2, 41] Operation: 50-9=41
Exploring Operation: 50-2=48, Resulting Numbers: [9, 48]
Generated Node #0,0,1: 30:[9, 48] Operation: 50-2=48
Exploring Operation: 50/2=25, Resulting Numbers: [9, 25]
Generated Node #0,0,2: 30:[9, 25] Operation: 50/2=25
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[9, 25], Operations: ['88-38=50', '50/2=25']
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,30 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Exploring Operation: 9*25=225, Resulting Numbers: [225]
225,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:[2, 41], Operations: ['88-38=50', '50-9=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,30 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,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:[9, 48], Operations: ['88-38=50', '50-2=48']
Exploring Operation: 9*48=432, Resulting Numbers: [432]
432,30 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,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:[9, 38, 44], Operations: ['88/2=44']
Exploring Operation: 44-38=6, Resulting Numbers: [9, 6]
Generated Node #0,2,0: 30:[9, 6] Operation: 44-38=6
Exploring Operation: 38-9=29, Resulting Numbers: [44, 29]
Generated Node #0,2,1: 30:[44, 29] Operation: 38-9=29
Exploring Operation: 44-9=35, Resulting Numbers: [38, 35]
Generated Node #0,2,2: 30:[38, 35] Operation: 44-9=35
Moving to Node #0,1
Current State: 30:[38, 2, 79], Operations: ['88-9=79']
Exploring Operation: 79-38=41, Resulting Numbers: [2, 41]
Generated Node #0,1,0: 30:[2, 41] Operation: 79-38=41
Exploring Operation: 38/2=19, Resulting Numbers: [79, 19]
Generated Node #0,1,1: 30:[79, 19] Operation: 38/2=19
Exploring Operation: 38-2=36, Resulting Numbers: [79, 36]
Generated Node #0,1,2: 30:[79, 36] Operation: 38-2=36
Moving to Node #0,2,0
Current State: 30:[9, 6], Operations: ['88/2=44', '44-38=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[2, 41], Operations: ['88-9=79', '79-38=41']
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,30 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[38, 35], Operations: ['88/2=44', '44-9=35']
Exploring Operation: 38+35=73, Resulting Numbers: [73]
73,30 unequal: No Solution
Exploring Operation: 38*35=1330, Resulting Numbers: [1330]
1330,30 unequal: No Solution
Exploring Operation: 38-35=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Moving to Node #0,2,1
Current State: 30:[44, 29], Operations: ['88/2=44', '38-9=29']
Exploring Operation: 44+29=73, Resulting Numbers: [73]
73,30 unequal: No Solution
Exploring Operation: 44*29=1276, Resulting Numbers: [1276]
1276,30 unequal: No Solution
Exploring Operation: 44-29=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[79, 19], Operations: ['88-9=79', '38/2=19']
Exploring Operation: 79-19=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Exploring Operation: 79*19=1501, Resulting Numbers: [1501]
1501,30 unequal: No Solution
Exploring Operation: 79+19=98, Resulting Numbers: [98]
98,30 unequal: No Solution
Moving to Node #0,1,2
Current State: 30:[79, 36], Operations: ['88-9=79', '38-2=36']
Exploring Operation: 79*36=2844, Resulting Numbers: [2844]
2844,30 unequal: No Solution
Exploring Operation: 79-36=43, Resulting Numbers: [43]
43,30 unequal: No Solution
Exploring Operation: 79+36=115, Resulting Numbers: [115]
115,30 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
38,
62,
68,
31
] | 87 | [
"38*31=1178",
"1178/62=19",
"68+19=87"
] | Current State: 87:[38, 62, 68, 31], Operations: []
Exploring Operation: 38*31=1178, Resulting Numbers: [62, 68, 1178]
Generated Node #2: [62, 68, 1178] from Operation: 38*31=1178
Current State: 87:[62, 68, 1178], Operations: ['38*31=1178']
Exploring Operation: 1178/62=19, Resulting Numbers: [68, 19]
Generated Node #3: [68, 19] from Operation: 1178/62=19
Current State: 87:[68, 19], Operations: ['38*31=1178', '1178/62=19']
Exploring Operation: 68+19=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[38, 62, 68, 31], Operations: []
Exploring Operation: 62-38=24, Resulting Numbers: [68, 31, 24]
Generated Node #0,0: 87:[68, 31, 24] Operation: 62-38=24
Exploring Operation: 68-62=6, Resulting Numbers: [38, 31, 6]
Generated Node #0,1: 87:[38, 31, 6] Operation: 68-62=6
Moving to Node #0,1
Current State: 87:[38, 31, 6], Operations: ['68-62=6']
Exploring Operation: 38-31=7, Resulting Numbers: [6, 7]
Generated Node #0,1,0: 87:[6, 7] Operation: 38-31=7
Exploring Operation: 38-6=32, Resulting Numbers: [31, 32]
Generated Node #0,1,1: 87:[31, 32] Operation: 38-6=32
Moving to Node #0,0
Current State: 87:[68, 31, 24], Operations: ['62-38=24']
Exploring Operation: 68-31=37, Resulting Numbers: [24, 37]
Generated Node #0,0,0: 87:[24, 37] Operation: 68-31=37
Exploring Operation: 68+24=92, Resulting Numbers: [31, 92]
Generated Node #0,0,1: 87:[31, 92] Operation: 68+24=92
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[31, 92], Operations: ['62-38=24', '68+24=92']
Exploring Operation: 92-31=61, Resulting Numbers: [61]
61,87 unequal: No Solution
Exploring Operation: 31+92=123, Resulting Numbers: [123]
123,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[24, 37], Operations: ['62-38=24', '68-31=37']
Exploring Operation: 24+37=61, Resulting Numbers: [61]
61,87 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 87:[31, 32], Operations: ['68-62=6', '38-6=32']
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,87 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[6, 7], Operations: ['68-62=6', '38-31=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,87 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
10,
42,
61,
40
] | 66 | [
"42-40=2",
"10/2=5",
"61+5=66"
] | Current State: 66:[10, 42, 61, 40], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [10, 61, 2]
Generated Node #2: [10, 61, 2] from Operation: 42-40=2
Current State: 66:[10, 61, 2], Operations: ['42-40=2']
Exploring Operation: 10/2=5, Resulting Numbers: [61, 5]
Generated Node #3: [61, 5] from Operation: 10/2=5
Current State: 66:[61, 5], Operations: ['42-40=2', '10/2=5']
Exploring Operation: 61+5=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[10, 42, 61, 40], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [10, 61, 2]
Generated Node #0,0: 66:[10, 61, 2] Operation: 42-40=2
Exploring Operation: 61-42=19, Resulting Numbers: [10, 40, 19]
Generated Node #0,1: 66:[10, 40, 19] Operation: 61-42=19
Exploring Operation: 61-40=21, Resulting Numbers: [10, 42, 21]
Generated Node #0,2: 66:[10, 42, 21] Operation: 61-40=21
Moving to Node #0,0
Current State: 66:[10, 61, 2], Operations: ['42-40=2']
Exploring Operation: 61+2=63, Resulting Numbers: [10, 63]
Generated Node #0,0,0: 66:[10, 63] Operation: 61+2=63
Exploring Operation: 10+2=12, Resulting Numbers: [61, 12]
Generated Node #0,0,1: 66:[61, 12] Operation: 10+2=12
Exploring Operation: 10+61=71, Resulting Numbers: [2, 71]
Generated Node #0,0,2: 66:[2, 71] Operation: 10+61=71
Moving to Node #0,1
Current State: 66:[10, 40, 19], Operations: ['61-42=19']
Exploring Operation: 40-19=21, Resulting Numbers: [10, 21]
Generated Node #0,1,0: 66:[10, 21] Operation: 40-19=21
Exploring Operation: 40-10=30, Resulting Numbers: [19, 30]
Generated Node #0,1,1: 66:[19, 30] Operation: 40-10=30
Exploring Operation: 40/10=4, Resulting Numbers: [19, 4]
Generated Node #0,1,2: 66:[19, 4] Operation: 40/10=4
Moving to Node #0,2
Current State: 66:[10, 42, 21], Operations: ['61-40=21']
Exploring Operation: 42-21=21, Resulting Numbers: [10, 21]
Generated Node #0,2,0: 66:[10, 21] Operation: 42-21=21
Exploring Operation: 42-10=32, Resulting Numbers: [21, 32]
Generated Node #0,2,1: 66:[21, 32] Operation: 42-10=32
Exploring Operation: 42/21=2, Resulting Numbers: [10, 2]
Generated Node #0,2,2: 66:[10, 2] Operation: 42/21=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 66:[10, 2], Operations: ['61-40=21', '42/21=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 66:[10, 21], Operations: ['61-40=21', '42-21=21']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 10*21=210, Resulting Numbers: [210]
210,66 unequal: No Solution
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 66:[21, 32], Operations: ['61-40=21', '42-10=32']
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 21+32=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Exploring Operation: 21*32=672, Resulting Numbers: [672]
672,66 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: 66:[10, 21], Operations: ['61-42=19', '40-19=21']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 10*21=210, Resulting Numbers: [210]
210,66 unequal: No Solution
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[10, 63], Operations: ['42-40=2', '61+2=63']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Exploring Operation: 10+63=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 10*63=630, Resulting Numbers: [630]
630,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[19, 4], Operations: ['61-42=19', '40/10=4']
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[2, 71], Operations: ['42-40=2', '10+61=71']
Exploring Operation: 2*71=142, Resulting Numbers: [142]
142,66 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,66 unequal: No Solution
Exploring Operation: 2+71=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[19, 30], Operations: ['61-42=19', '40-10=30']
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 19+30=49, Resulting Numbers: [49]
49,66 unequal: No Solution
Exploring Operation: 19*30=570, Resulting Numbers: [570]
570,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[61, 12], Operations: ['42-40=2', '10+2=12']
Exploring Operation: 61*12=732, Resulting Numbers: [732]
732,66 unequal: No Solution
Exploring Operation: 61+12=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,66 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
5,
84,
59,
42
] | 72 | [
"5+84=89",
"59-42=17",
"89-17=72"
] | Current State: 72:[5, 84, 59, 42], Operations: []
Exploring Operation: 5+84=89, Resulting Numbers: [59, 42, 89]
Generated Node #2: [59, 42, 89] from Operation: 5+84=89
Current State: 72:[59, 42, 89], Operations: ['5+84=89']
Exploring Operation: 59-42=17, Resulting Numbers: [89, 17]
Generated Node #3: [89, 17] from Operation: 59-42=17
Current State: 72:[89, 17], Operations: ['5+84=89', '59-42=17']
Exploring Operation: 89-17=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[5, 84, 59, 42], Operations: []
Exploring Operation: 84/42=2, Resulting Numbers: [5, 59, 2]
Generated Node #0,0: 72:[5, 59, 2] Operation: 84/42=2
Exploring Operation: 84-59=25, Resulting Numbers: [5, 42, 25]
Generated Node #0,1: 72:[5, 42, 25] Operation: 84-59=25
Exploring Operation: 59-42=17, Resulting Numbers: [5, 84, 17]
Generated Node #0,2: 72:[5, 84, 17] Operation: 59-42=17
Moving to Node #0,1
Current State: 72:[5, 42, 25], Operations: ['84-59=25']
Exploring Operation: 42-25=17, Resulting Numbers: [5, 17]
Generated Node #0,1,0: 72:[5, 17] Operation: 42-25=17
Exploring Operation: 42-5=37, Resulting Numbers: [25, 37]
Generated Node #0,1,1: 72:[25, 37] Operation: 42-5=37
Exploring Operation: 42+25=67, Resulting Numbers: [5, 67]
Generated Node #0,1,2: 72:[5, 67] Operation: 42+25=67
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[5, 17], Operations: ['84-59=25', '42-25=17']
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,72 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 72:[25, 37], Operations: ['84-59=25', '42-5=37']
Exploring Operation: 25+37=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 25*37=925, Resulting Numbers: [925]
925,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 72:[5, 67], Operations: ['84-59=25', '42+25=67']
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 5*67=335, Resulting Numbers: [335]
335,72 unequal: No Solution
Exploring Operation: 5+67=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[5, 84, 59, 42], Operations: []
Exploring Operation: 84-59=25, Resulting Numbers: [5, 42, 25]
Generated Node #0,1: 72:[5, 42, 25] Operation: 84-59=25
Moving to Node #0,1
Current State: 72:[5, 42, 25], Operations: ['84-59=25']
Exploring Operation: 42+25=67, Resulting Numbers: [5, 67]
Generated Node #0,1,2: 72:[5, 67] Operation: 42+25=67
Moving to Node #0,1,2
Current State: 72:[5, 67], Operations: ['84-59=25', '42+25=67']
Exploring Operation: 5+67=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
54,
48,
21,
69
] | 53 | [
"48+21=69",
"69/69=1",
"54-1=53"
] | Current State: 53:[54, 48, 21, 69], Operations: []
Exploring Operation: 48+21=69, Resulting Numbers: [54, 69, 69]
Generated Node #2: [54, 69, 69] from Operation: 48+21=69
Current State: 53:[54, 69, 69], Operations: ['48+21=69']
Exploring Operation: 69/69=1, Resulting Numbers: [54, 1]
Generated Node #3: [54, 1] from Operation: 69/69=1
Current State: 53:[54, 1], Operations: ['48+21=69', '69/69=1']
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[54, 48, 21, 69], Operations: []
Exploring Operation: 48+21=69, Resulting Numbers: [54, 69, 69]
Generated Node #0,0: 53:[54, 69, 69] Operation: 48+21=69
Exploring Operation: 54-21=33, Resulting Numbers: [48, 69, 33]
Generated Node #0,1: 53:[48, 69, 33] Operation: 54-21=33
Exploring Operation: 69-21=48, Resulting Numbers: [54, 48, 48]
Generated Node #0,2: 53:[54, 48, 48] Operation: 69-21=48
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[54, 48, 48], Operations: ['69-21=48']
Exploring Operation: 48+48=96, Resulting Numbers: [54, 96]
Generated Node #0,2,0: 53:[54, 96] Operation: 48+48=96
Exploring Operation: 54-48=6, Resulting Numbers: [48, 6]
Generated Node #0,2,1: 53:[48, 6] Operation: 54-48=6
Exploring Operation: 54-48=6, Resulting Numbers: [48, 6]
Generated Node #0,2,2: 53:[48, 6] Operation: 54-48=6
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 53:[54, 96], Operations: ['69-21=48', '48+48=96']
Exploring Operation: 54*96=5184, Resulting Numbers: [5184]
5184,53 unequal: No Solution
Exploring Operation: 54+96=150, Resulting Numbers: [150]
150,53 unequal: No Solution
Exploring Operation: 96-54=42, Resulting Numbers: [42]
42,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 53:[48, 6], Operations: ['69-21=48', '54-48=6']
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 53:[48, 6], Operations: ['69-21=48', '54-48=6']
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[54, 69, 69], Operations: ['48+21=69']
Exploring Operation: 69-54=15, Resulting Numbers: [69, 15]
Generated Node #0,0,0: 53:[69, 15] Operation: 69-54=15
Exploring Operation: 69/69=1, Resulting Numbers: [54, 1]
Generated Node #0,0,1: 53:[54, 1] Operation: 69/69=1
Exploring Operation: 69-54=15, Resulting Numbers: [69, 15]
Generated Node #0,0,2: 53:[69, 15] Operation: 69-54=15
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[54, 1], Operations: ['48+21=69', '69/69=1']
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[54, 48, 21, 69], Operations: []
Exploring Operation: 48+21=69, Resulting Numbers: [54, 69, 69]
Generated Node #0,0: 53:[54, 69, 69] Operation: 48+21=69
Moving to Node #0,0
Current State: 53:[54, 69, 69], Operations: ['48+21=69']
Exploring Operation: 69/69=1, Resulting Numbers: [54, 1]
Generated Node #0,0,1: 53:[54, 1] Operation: 69/69=1
Moving to Node #0,0,1
Current State: 53:[54, 1], Operations: ['48+21=69', '69/69=1']
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
61,
6,
74,
30
] | 65 | [
"74-61=13",
"30/6=5",
"13*5=65"
] | Current State: 65:[61, 6, 74, 30], Operations: []
Exploring Operation: 74-61=13, Resulting Numbers: [6, 30, 13]
Generated Node #2: [6, 30, 13] from Operation: 74-61=13
Current State: 65:[6, 30, 13], Operations: ['74-61=13']
Exploring Operation: 30/6=5, Resulting Numbers: [13, 5]
Generated Node #3: [13, 5] from Operation: 30/6=5
Current State: 65:[13, 5], Operations: ['74-61=13', '30/6=5']
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[61, 6, 74, 30], Operations: []
Exploring Operation: 30/6=5, Resulting Numbers: [61, 74, 5]
Generated Node #0,0: 65:[61, 74, 5] Operation: 30/6=5
Exploring Operation: 74-61=13, Resulting Numbers: [6, 30, 13]
Generated Node #0,1: 65:[6, 30, 13] Operation: 74-61=13
Moving to Node #0,0
Current State: 65:[61, 74, 5], Operations: ['30/6=5']
Exploring Operation: 74-61=13, Resulting Numbers: [5, 13]
Generated Node #0,0,0: 65:[5, 13] Operation: 74-61=13
Exploring Operation: 74-5=69, Resulting Numbers: [61, 69]
Generated Node #0,0,1: 65:[61, 69] Operation: 74-5=69
Moving to Node #0,1
Current State: 65:[6, 30, 13], Operations: ['74-61=13']
Exploring Operation: 30/6=5, Resulting Numbers: [13, 5]
Generated Node #0,1,0: 65:[13, 5] Operation: 30/6=5
Exploring Operation: 30-13=17, Resulting Numbers: [6, 17]
Generated Node #0,1,1: 65:[6, 17] Operation: 30-13=17
Moving to Node #0,0,0
Current State: 65:[5, 13], Operations: ['30/6=5', '74-61=13']
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[61, 6, 74, 30], Operations: []
Exploring Operation: 30/6=5, Resulting Numbers: [61, 74, 5]
Generated Node #0,0: 65:[61, 74, 5] Operation: 30/6=5
Moving to Node #0,0
Current State: 65:[61, 74, 5], Operations: ['30/6=5']
Exploring Operation: 74-61=13, Resulting Numbers: [5, 13]
Generated Node #0,0,0: 65:[5, 13] Operation: 74-61=13
Moving to Node #0,0,0
Current State: 65:[5, 13], Operations: ['30/6=5', '74-61=13']
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
2,
18,
84,
55
] | 20 | [
"18/2=9",
"84-55=29",
"29-9=20"
] | Current State: 20:[2, 18, 84, 55], Operations: []
Exploring Operation: 18/2=9, Resulting Numbers: [84, 55, 9]
Generated Node #2: [84, 55, 9] from Operation: 18/2=9
Current State: 20:[84, 55, 9], Operations: ['18/2=9']
Exploring Operation: 84-55=29, Resulting Numbers: [9, 29]
Generated Node #3: [9, 29] from Operation: 84-55=29
Current State: 20:[9, 29], Operations: ['18/2=9', '84-55=29']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[2, 18, 84, 55], Operations: []
Exploring Operation: 2+18=20, Resulting Numbers: [84, 55, 20]
Generated Node #0,0: 20:[84, 55, 20] Operation: 2+18=20
Exploring Operation: 84/2=42, Resulting Numbers: [18, 55, 42]
Generated Node #0,1: 20:[18, 55, 42] Operation: 84/2=42
Exploring Operation: 84-55=29, Resulting Numbers: [2, 18, 29]
Generated Node #0,2: 20:[2, 18, 29] Operation: 84-55=29
Exploring Operation: 55-18=37, Resulting Numbers: [2, 84, 37]
Generated Node #0,3: 20:[2, 84, 37] Operation: 55-18=37
Exploring Operation: 84-18=66, Resulting Numbers: [2, 55, 66]
Generated Node #0,4: 20:[2, 55, 66] Operation: 84-18=66
Moving to Node #0,2
Current State: 20:[2, 18, 29], Operations: ['84-55=29']
Exploring Operation: 29-2=27, Resulting Numbers: [18, 27]
Generated Node #0,2,0: 20:[18, 27] Operation: 29-2=27
Exploring Operation: 18-2=16, Resulting Numbers: [29, 16]
Generated Node #0,2,1: 20:[29, 16] Operation: 18-2=16
Exploring Operation: 2+18=20, Resulting Numbers: [29, 20]
Generated Node #0,2,2: 20:[29, 20] Operation: 2+18=20
Exploring Operation: 29-18=11, Resulting Numbers: [2, 11]
Generated Node #0,2,3: 20:[2, 11] Operation: 29-18=11
Exploring Operation: 18/2=9, Resulting Numbers: [29, 9]
Generated Node #0,2,4: 20:[29, 9] Operation: 18/2=9
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 20:[2, 11], Operations: ['84-55=29', '29-18=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,20 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 20:[18, 27], Operations: ['84-55=29', '29-2=27']
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 18+27=45, Resulting Numbers: [45]
45,20 unequal: No Solution
Exploring Operation: 18*27=486, Resulting Numbers: [486]
486,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[29, 20], Operations: ['84-55=29', '2+18=20']
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 29*20=580, Resulting Numbers: [580]
580,20 unequal: No Solution
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 20:[29, 9], Operations: ['84-55=29', '18/2=9']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[2, 18, 84, 55], Operations: []
Exploring Operation: 84-55=29, Resulting Numbers: [2, 18, 29]
Generated Node #0,2: 20:[2, 18, 29] Operation: 84-55=29
Moving to Node #0,2
Current State: 20:[2, 18, 29], Operations: ['84-55=29']
Exploring Operation: 18/2=9, Resulting Numbers: [29, 9]
Generated Node #0,2,4: 20:[29, 9] Operation: 18/2=9
Moving to Node #0,2,4
Current State: 20:[29, 9], Operations: ['84-55=29', '18/2=9']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | mult_heuristic |
[
39,
68,
42,
78
] | 76 | [
"39*68=2652",
"2652/78=34",
"42+34=76"
] | Current State: 76:[39, 68, 42, 78], Operations: []
Exploring Operation: 39*68=2652, Resulting Numbers: [42, 78, 2652]
Generated Node #2: [42, 78, 2652] from Operation: 39*68=2652
Current State: 76:[42, 78, 2652], Operations: ['39*68=2652']
Exploring Operation: 2652/78=34, Resulting Numbers: [42, 34]
Generated Node #3: [42, 34] from Operation: 2652/78=34
Current State: 76:[42, 34], Operations: ['39*68=2652', '2652/78=34']
Exploring Operation: 42+34=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[39, 68, 42, 78], Operations: []
Exploring Operation: 42-39=3, Resulting Numbers: [68, 78, 3]
Generated Node #0,0: 76:[68, 78, 3] Operation: 42-39=3
Exploring Operation: 68-42=26, Resulting Numbers: [39, 78, 26]
Generated Node #0,1: 76:[39, 78, 26] Operation: 68-42=26
Moving to Node #0,1
Current State: 76:[39, 78, 26], Operations: ['68-42=26']
Exploring Operation: 78/39=2, Resulting Numbers: [26, 2]
Generated Node #0,1,0: 76:[26, 2] Operation: 78/39=2
Exploring Operation: 78/26=3, Resulting Numbers: [39, 3]
Generated Node #0,1,1: 76:[39, 3] Operation: 78/26=3
Moving to Node #0,0
Current State: 76:[68, 78, 3], Operations: ['42-39=3']
Exploring Operation: 68+3=71, Resulting Numbers: [78, 71]
Generated Node #0,0,0: 76:[78, 71] Operation: 68+3=71
Exploring Operation: 78-68=10, Resulting Numbers: [3, 10]
Generated Node #0,0,1: 76:[3, 10] Operation: 78-68=10
Moving to Node #0,1,1
Current State: 76:[39, 3], Operations: ['68-42=26', '78/26=3']
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[78, 71], Operations: ['42-39=3', '68+3=71']
Exploring Operation: 78+71=149, Resulting Numbers: [149]
149,76 unequal: No Solution
Exploring Operation: 78-71=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[26, 2], Operations: ['68-42=26', '78/39=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[3, 10], Operations: ['42-39=3', '78-68=10']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,76 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
99,
36,
16,
22
] | 90 | [
"36-16=20",
"99*20=1980",
"1980/22=90"
] | Current State: 90:[99, 36, 16, 22], Operations: []
Exploring Operation: 36-16=20, Resulting Numbers: [99, 22, 20]
Generated Node #2: [99, 22, 20] from Operation: 36-16=20
Current State: 90:[99, 22, 20], Operations: ['36-16=20']
Exploring Operation: 99*20=1980, Resulting Numbers: [22, 1980]
Generated Node #3: [22, 1980] from Operation: 99*20=1980
Current State: 90:[22, 1980], Operations: ['36-16=20', '99*20=1980']
Exploring Operation: 1980/22=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[99, 36, 16, 22], Operations: []
Exploring Operation: 36-16=20, Resulting Numbers: [99, 22, 20]
Generated Node #0,0: 90:[99, 22, 20] Operation: 36-16=20
Exploring Operation: 99-22=77, Resulting Numbers: [36, 16, 77]
Generated Node #0,1: 90:[36, 16, 77] Operation: 99-22=77
Exploring Operation: 22-16=6, Resulting Numbers: [99, 36, 6]
Generated Node #0,2: 90:[99, 36, 6] Operation: 22-16=6
Exploring Operation: 36-22=14, Resulting Numbers: [99, 16, 14]
Generated Node #0,3: 90:[99, 16, 14] Operation: 36-22=14
Exploring Operation: 99-16=83, Resulting Numbers: [36, 22, 83]
Generated Node #0,4: 90:[36, 22, 83] Operation: 99-16=83
Moving to Node #0,3
Current State: 90:[99, 16, 14], Operations: ['36-22=14']
Exploring Operation: 16+14=30, Resulting Numbers: [99, 30]
Generated Node #0,3,0: 90:[99, 30] Operation: 16+14=30
Exploring Operation: 99-16=83, Resulting Numbers: [14, 83]
Generated Node #0,3,1: 90:[14, 83] Operation: 99-16=83
Exploring Operation: 16-14=2, Resulting Numbers: [99, 2]
Generated Node #0,3,2: 90:[99, 2] Operation: 16-14=2
Exploring Operation: 99-14=85, Resulting Numbers: [16, 85]
Generated Node #0,3,3: 90:[16, 85] Operation: 99-14=85
Exploring Operation: 99+14=113, Resulting Numbers: [16, 113]
Generated Node #0,3,4: 90:[16, 113] Operation: 99+14=113
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 90:[16, 85], Operations: ['36-22=14', '99-14=85']
Exploring Operation: 85-16=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Exploring Operation: 16+85=101, Resulting Numbers: [101]
101,90 unequal: No Solution
Exploring Operation: 16*85=1360, Resulting Numbers: [1360]
1360,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 90:[14, 83], Operations: ['36-22=14', '99-16=83']
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Exploring Operation: 14+83=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Exploring Operation: 14*83=1162, Resulting Numbers: [1162]
1162,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 90:[99, 30], Operations: ['36-22=14', '16+14=30']
Exploring Operation: 99+30=129, Resulting Numbers: [129]
129,90 unequal: No Solution
Exploring Operation: 99*30=2970, Resulting Numbers: [2970]
2970,90 unequal: No Solution
Exploring Operation: 99-30=69, Resulting Numbers: [69]
69,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 90:[99, 2], Operations: ['36-22=14', '16-14=2']
Exploring Operation: 99+2=101, Resulting Numbers: [101]
101,90 unequal: No Solution
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Exploring Operation: 99*2=198, Resulting Numbers: [198]
198,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 90:[16, 113], Operations: ['36-22=14', '99+14=113']
Exploring Operation: 113-16=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Exploring Operation: 16*113=1808, Resulting Numbers: [1808]
1808,90 unequal: No Solution
Exploring Operation: 16+113=129, Resulting Numbers: [129]
129,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 90:[99, 36, 6], Operations: ['22-16=6']
Exploring Operation: 36-6=30, Resulting Numbers: [99, 30]
Generated Node #0,2,0: 90:[99, 30] Operation: 36-6=30
Exploring Operation: 99-36=63, Resulting Numbers: [6, 63]
Generated Node #0,2,1: 90:[6, 63] Operation: 99-36=63
Exploring Operation: 36/6=6, Resulting Numbers: [99, 6]
Generated Node #0,2,2: 90:[99, 6] Operation: 36/6=6
Exploring Operation: 99-6=93, Resulting Numbers: [36, 93]
Generated Node #0,2,3: 90:[36, 93] Operation: 99-6=93
Exploring Operation: 36+6=42, Resulting Numbers: [99, 42]
Generated Node #0,2,4: 90:[99, 42] Operation: 36+6=42
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[99, 30], Operations: ['22-16=6', '36-6=30']
Exploring Operation: 99-30=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Exploring Operation: 99*30=2970, Resulting Numbers: [2970]
2970,90 unequal: No Solution
Exploring Operation: 99+30=129, Resulting Numbers: [129]
129,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[99, 6], Operations: ['22-16=6', '36/6=6']
Exploring Operation: 99-6=93, Resulting Numbers: [93]
93,90 unequal: No Solution
Exploring Operation: 99*6=594, Resulting Numbers: [594]
594,90 unequal: No Solution
Exploring Operation: 99+6=105, Resulting Numbers: [105]
105,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 90:[36, 93], Operations: ['22-16=6', '99-6=93']
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,90 unequal: No Solution
Exploring Operation: 36+93=129, Resulting Numbers: [129]
129,90 unequal: No Solution
Exploring Operation: 36*93=3348, Resulting Numbers: [3348]
3348,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 90:[99, 42], Operations: ['22-16=6', '36+6=42']
Exploring Operation: 99+42=141, Resulting Numbers: [141]
141,90 unequal: No Solution
Exploring Operation: 99*42=4158, Resulting Numbers: [4158]
4158,90 unequal: No Solution
Exploring Operation: 99-42=57, Resulting Numbers: [57]
57,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[6, 63], Operations: ['22-16=6', '99-36=63']
Exploring Operation: 6*63=378, Resulting Numbers: [378]
378,90 unequal: No Solution
Exploring Operation: 6+63=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,90 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: 90:[99, 22, 20], Operations: ['36-16=20']
Exploring Operation: 22+20=42, Resulting Numbers: [99, 42]
Generated Node #0,0,0: 90:[99, 42] Operation: 22+20=42
Exploring Operation: 99+22=121, Resulting Numbers: [20, 121]
Generated Node #0,0,1: 90:[20, 121] Operation: 99+22=121
Exploring Operation: 99-20=79, Resulting Numbers: [22, 79]
Generated Node #0,0,2: 90:[22, 79] Operation: 99-20=79
Exploring Operation: 99-22=77, Resulting Numbers: [20, 77]
Generated Node #0,0,3: 90:[20, 77] Operation: 99-22=77
Exploring Operation: 22-20=2, Resulting Numbers: [99, 2]
Generated Node #0,0,4: 90:[99, 2] Operation: 22-20=2
Moving to Node #0,4
Current State: 90:[36, 22, 83], Operations: ['99-16=83']
Exploring Operation: 83-36=47, Resulting Numbers: [22, 47]
Generated Node #0,4,0: 90:[22, 47] Operation: 83-36=47
Exploring Operation: 36+22=58, Resulting Numbers: [83, 58]
Generated Node #0,4,1: 90:[83, 58] Operation: 36+22=58
Exploring Operation: 36-22=14, Resulting Numbers: [83, 14]
Generated Node #0,4,2: 90:[83, 14] Operation: 36-22=14
Exploring Operation: 83-22=61, Resulting Numbers: [36, 61]
Generated Node #0,4,3: 90:[36, 61] Operation: 83-22=61
Exploring Operation: 22+83=105, Resulting Numbers: [36, 105]
Generated Node #0,4,4: 90:[36, 105] Operation: 22+83=105
Moving to Node #0,1
Current State: 90:[36, 16, 77], Operations: ['99-22=77']
Exploring Operation: 77-16=61, Resulting Numbers: [36, 61]
Generated Node #0,1,0: 90:[36, 61] Operation: 77-16=61
Exploring Operation: 36-16=20, Resulting Numbers: [77, 20]
Generated Node #0,1,1: 90:[77, 20] Operation: 36-16=20
Exploring Operation: 16+77=93, Resulting Numbers: [36, 93]
Generated Node #0,1,2: 90:[36, 93] Operation: 16+77=93
Exploring Operation: 77-36=41, Resulting Numbers: [16, 41]
Generated Node #0,1,3: 90:[16, 41] Operation: 77-36=41
Exploring Operation: 36+16=52, Resulting Numbers: [77, 52]
Generated Node #0,1,4: 90:[77, 52] Operation: 36+16=52
Moving to Node #0,1,3
Current State: 90:[16, 41], Operations: ['99-22=77', '77-36=41']
Exploring Operation: 16+41=57, Resulting Numbers: [57]
57,90 unequal: No Solution
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,90 unequal: No Solution
Exploring Operation: 16*41=656, Resulting Numbers: [656]
656,90 unequal: No Solution
Moving to Node #0,4,0
Current State: 90:[22, 47], Operations: ['99-16=83', '83-36=47']
Exploring Operation: 22+47=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Exploring Operation: 22*47=1034, Resulting Numbers: [1034]
1034,90 unequal: No Solution
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,90 unequal: No Solution
Moving to Node #0,4,2
Current State: 90:[83, 14], Operations: ['99-16=83', '36-22=14']
Exploring Operation: 83*14=1162, Resulting Numbers: [1162]
1162,90 unequal: No Solution
Exploring Operation: 83+14=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Moving to Node #0,0,4
Current State: 90:[99, 2], Operations: ['36-16=20', '22-20=2']
Exploring Operation: 99+2=101, Resulting Numbers: [101]
101,90 unequal: No Solution
Exploring Operation: 99*2=198, Resulting Numbers: [198]
198,90 unequal: No Solution
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[36, 93], Operations: ['99-22=77', '16+77=93']
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,90 unequal: No Solution
Exploring Operation: 36+93=129, Resulting Numbers: [129]
129,90 unequal: No Solution
Exploring Operation: 36*93=3348, Resulting Numbers: [3348]
3348,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[99, 42], Operations: ['36-16=20', '22+20=42']
Exploring Operation: 99-42=57, Resulting Numbers: [57]
57,90 unequal: No Solution
Exploring Operation: 99+42=141, Resulting Numbers: [141]
141,90 unequal: No Solution
Exploring Operation: 99*42=4158, Resulting Numbers: [4158]
4158,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[22, 79], Operations: ['36-16=20', '99-20=79']
Exploring Operation: 79-22=57, Resulting Numbers: [57]
57,90 unequal: No Solution
Exploring Operation: 22*79=1738, Resulting Numbers: [1738]
1738,90 unequal: No Solution
Exploring Operation: 22+79=101, Resulting Numbers: [101]
101,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[77, 20], Operations: ['99-22=77', '36-16=20']
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,90 unequal: No Solution
Exploring Operation: 77*20=1540, Resulting Numbers: [1540]
1540,90 unequal: No Solution
Exploring Operation: 77+20=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Moving to Node #0,0,3
Current State: 90:[20, 77], Operations: ['36-16=20', '99-22=77']
Exploring Operation: 20*77=1540, Resulting Numbers: [1540]
1540,90 unequal: No Solution
Exploring Operation: 20+77=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,90 unequal: No Solution
Moving to Node #0,1,4
Current State: 90:[77, 52], Operations: ['99-22=77', '36+16=52']
Exploring Operation: 77*52=4004, Resulting Numbers: [4004]
4004,90 unequal: No Solution
Exploring Operation: 77-52=25, Resulting Numbers: [25]
25,90 unequal: No Solution
Exploring Operation: 77+52=129, Resulting Numbers: [129]
129,90 unequal: No Solution
Moving to Node #0,4,1
Current State: 90:[83, 58], Operations: ['99-16=83', '36+22=58']
Exploring Operation: 83*58=4814, Resulting Numbers: [4814]
4814,90 unequal: No Solution
Exploring Operation: 83-58=25, Resulting Numbers: [25]
25,90 unequal: No Solution
Exploring Operation: 83+58=141, Resulting Numbers: [141]
141,90 unequal: No Solution
Moving to Node #0,4,4
Current State: 90:[36, 105], Operations: ['99-16=83', '22+83=105']
Exploring Operation: 36+105=141, Resulting Numbers: [141]
141,90 unequal: No Solution
Exploring Operation: 36*105=3780, Resulting Numbers: [3780]
3780,90 unequal: No Solution
Exploring Operation: 105-36=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Moving to Node #0,4,3
Current State: 90:[36, 61], Operations: ['99-16=83', '83-22=61']
Exploring Operation: 36*61=2196, Resulting Numbers: [2196]
2196,90 unequal: No Solution
Exploring Operation: 36+61=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[36, 61], Operations: ['99-22=77', '77-16=61']
Exploring Operation: 36*61=2196, Resulting Numbers: [2196]
2196,90 unequal: No Solution
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,90 unequal: No Solution
Exploring Operation: 36+61=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[20, 121], Operations: ['36-16=20', '99+22=121']
Exploring Operation: 20+121=141, Resulting Numbers: [141]
141,90 unequal: No Solution
Exploring Operation: 121-20=101, Resulting Numbers: [101]
101,90 unequal: No Solution
Exploring Operation: 20*121=2420, Resulting Numbers: [2420]
2420,90 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
15,
86,
94,
64
] | 23 | [
"94-86=8",
"64/8=8",
"15+8=23"
] | Current State: 23:[15, 86, 94, 64], Operations: []
Exploring Operation: 94-86=8, Resulting Numbers: [15, 64, 8]
Generated Node #2: [15, 64, 8] from Operation: 94-86=8
Current State: 23:[15, 64, 8], Operations: ['94-86=8']
Exploring Operation: 64/8=8, Resulting Numbers: [15, 8]
Generated Node #3: [15, 8] from Operation: 64/8=8
Current State: 23:[15, 8], Operations: ['94-86=8', '64/8=8']
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[15, 86, 94, 64], Operations: []
Exploring Operation: 94-64=30, Resulting Numbers: [15, 86, 30]
Generated Node #0,0: 23:[15, 86, 30] Operation: 94-64=30
Exploring Operation: 86-64=22, Resulting Numbers: [15, 94, 22]
Generated Node #0,1: 23:[15, 94, 22] Operation: 86-64=22
Exploring Operation: 94-86=8, Resulting Numbers: [15, 64, 8]
Generated Node #0,2: 23:[15, 64, 8] Operation: 94-86=8
Moving to Node #0,2
Current State: 23:[15, 64, 8], Operations: ['94-86=8']
Exploring Operation: 64/8=8, Resulting Numbers: [15, 8]
Generated Node #0,2,0: 23:[15, 8] Operation: 64/8=8
Exploring Operation: 64-15=49, Resulting Numbers: [8, 49]
Generated Node #0,2,1: 23:[8, 49] Operation: 64-15=49
Exploring Operation: 15+8=23, Resulting Numbers: [64, 23]
Generated Node #0,2,2: 23:[64, 23] Operation: 15+8=23
Moving to Node #0,0
Current State: 23:[15, 86, 30], Operations: ['94-64=30']
Exploring Operation: 86-30=56, Resulting Numbers: [15, 56]
Generated Node #0,0,0: 23:[15, 56] Operation: 86-30=56
Exploring Operation: 86-15=71, Resulting Numbers: [30, 71]
Generated Node #0,0,1: 23:[30, 71] Operation: 86-15=71
Exploring Operation: 30-15=15, Resulting Numbers: [86, 15]
Generated Node #0,0,2: 23:[86, 15] Operation: 30-15=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[15, 56], Operations: ['94-64=30', '86-30=56']
Exploring Operation: 15+56=71, Resulting Numbers: [71]
71,23 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 15*56=840, Resulting Numbers: [840]
840,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,0,1
Current State: 23:[30, 71], Operations: ['94-64=30', '86-15=71']
Exploring Operation: 30*71=2130, Resulting Numbers: [2130]
2130,23 unequal: No Solution
Exploring Operation: 30+71=101, Resulting Numbers: [101]
101,23 unequal: No Solution
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,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,0,2
Current State: 23:[86, 15], Operations: ['94-64=30', '30-15=15']
Exploring Operation: 86*15=1290, Resulting Numbers: [1290]
1290,23 unequal: No Solution
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,23 unequal: No Solution
Exploring Operation: 86+15=101, Resulting Numbers: [101]
101,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:[15, 94, 22], Operations: ['86-64=22']
Exploring Operation: 15+22=37, Resulting Numbers: [94, 37]
Generated Node #0,1,0: 23:[94, 37] Operation: 15+22=37
Exploring Operation: 94-15=79, Resulting Numbers: [22, 79]
Generated Node #0,1,1: 23:[22, 79] Operation: 94-15=79
Exploring Operation: 94-22=72, Resulting Numbers: [15, 72]
Generated Node #0,1,2: 23:[15, 72] Operation: 94-22=72
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[22, 79], Operations: ['86-64=22', '94-15=79']
Exploring Operation: 79-22=57, Resulting Numbers: [57]
57,23 unequal: No Solution
Exploring Operation: 22*79=1738, Resulting Numbers: [1738]
1738,23 unequal: No Solution
Exploring Operation: 22+79=101, Resulting Numbers: [101]
101,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:[15, 72], Operations: ['86-64=22', '94-22=72']
Exploring Operation: 15*72=1080, Resulting Numbers: [1080]
1080,23 unequal: No Solution
Exploring Operation: 15+72=87, Resulting Numbers: [87]
87,23 unequal: No Solution
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,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,0
Current State: 23:[94, 37], Operations: ['86-64=22', '15+22=37']
Exploring Operation: 94+37=131, Resulting Numbers: [131]
131,23 unequal: No Solution
Exploring Operation: 94-37=57, Resulting Numbers: [57]
57,23 unequal: No Solution
Exploring Operation: 94*37=3478, Resulting Numbers: [3478]
3478,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 23:[15, 8], Operations: ['94-86=8', '64/8=8']
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,23 unequal: No Solution
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[15, 86, 94, 64], Operations: []
Exploring Operation: 94-86=8, Resulting Numbers: [15, 64, 8]
Generated Node #0,2: 23:[15, 64, 8] Operation: 94-86=8
Moving to Node #0,2
Current State: 23:[15, 64, 8], Operations: ['94-86=8']
Exploring Operation: 64/8=8, Resulting Numbers: [15, 8]
Generated Node #0,2,0: 23:[15, 8] Operation: 64/8=8
Moving to Node #0,2,0
Current State: 23:[15, 8], Operations: ['94-86=8', '64/8=8']
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 0.96875 | hs_3 | mult_heuristic |
[
13,
93,
17,
80
] | 18 | [
"93-13=80",
"80/80=1",
"17+1=18"
] | Current State: 18:[13, 93, 17, 80], Operations: []
Exploring Operation: 93-13=80, Resulting Numbers: [17, 80, 80]
Generated Node #2: [17, 80, 80] from Operation: 93-13=80
Current State: 18:[17, 80, 80], Operations: ['93-13=80']
Exploring Operation: 80/80=1, Resulting Numbers: [17, 1]
Generated Node #3: [17, 1] from Operation: 80/80=1
Current State: 18:[17, 1], Operations: ['93-13=80', '80/80=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[13, 93, 17, 80], Operations: []
Exploring Operation: 93-80=13, Resulting Numbers: [13, 17, 13]
Generated Node #0,0: 18:[13, 17, 13] Operation: 93-80=13
Moving to Node #0,0
Current State: 18:[13, 17, 13], Operations: ['93-80=13']
Exploring Operation: 13/13=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 18:[17, 1] Operation: 13/13=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[17, 1], Operations: ['93-80=13', '13/13=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[13, 93, 17, 80], Operations: []
Exploring Operation: 93-80=13, Resulting Numbers: [13, 17, 13]
Generated Node #0,0: 18:[13, 17, 13] Operation: 93-80=13
Moving to Node #0,0
Current State: 18:[13, 17, 13], Operations: ['93-80=13']
Exploring Operation: 13/13=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 18:[17, 1] Operation: 13/13=1
Moving to Node #0,0,0
Current State: 18:[17, 1], Operations: ['93-80=13', '13/13=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
58,
74,
87,
82
] | 80 | [
"74-58=16",
"87-82=5",
"16*5=80"
] | Current State: 80:[58, 74, 87, 82], Operations: []
Exploring Operation: 74-58=16, Resulting Numbers: [87, 82, 16]
Generated Node #2: [87, 82, 16] from Operation: 74-58=16
Current State: 80:[87, 82, 16], Operations: ['74-58=16']
Exploring Operation: 87-82=5, Resulting Numbers: [16, 5]
Generated Node #3: [16, 5] from Operation: 87-82=5
Current State: 80:[16, 5], Operations: ['74-58=16', '87-82=5']
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[58, 74, 87, 82], Operations: []
Exploring Operation: 74-58=16, Resulting Numbers: [87, 82, 16]
Generated Node #0,0: 80:[87, 82, 16] Operation: 74-58=16
Exploring Operation: 87-82=5, Resulting Numbers: [58, 74, 5]
Generated Node #0,1: 80:[58, 74, 5] Operation: 87-82=5
Exploring Operation: 87-58=29, Resulting Numbers: [74, 82, 29]
Generated Node #0,2: 80:[74, 82, 29] Operation: 87-58=29
Exploring Operation: 82-58=24, Resulting Numbers: [74, 87, 24]
Generated Node #0,3: 80:[74, 87, 24] Operation: 82-58=24
Exploring Operation: 87-74=13, Resulting Numbers: [58, 82, 13]
Generated Node #0,4: 80:[58, 82, 13] Operation: 87-74=13
Moving to Node #0,0
Current State: 80:[87, 82, 16], Operations: ['74-58=16']
Exploring Operation: 87-16=71, Resulting Numbers: [82, 71]
Generated Node #0,0,0: 80:[82, 71] Operation: 87-16=71
Exploring Operation: 82-16=66, Resulting Numbers: [87, 66]
Generated Node #0,0,1: 80:[87, 66] Operation: 82-16=66
Exploring Operation: 82+16=98, Resulting Numbers: [87, 98]
Generated Node #0,0,2: 80:[87, 98] Operation: 82+16=98
Exploring Operation: 87+16=103, Resulting Numbers: [82, 103]
Generated Node #0,0,3: 80:[82, 103] Operation: 87+16=103
Exploring Operation: 87-82=5, Resulting Numbers: [16, 5]
Generated Node #0,0,4: 80:[16, 5] Operation: 87-82=5
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 80:[16, 5], Operations: ['74-58=16', '87-82=5']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,80 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[58, 74, 87, 82], Operations: []
Exploring Operation: 74-58=16, Resulting Numbers: [87, 82, 16]
Generated Node #0,0: 80:[87, 82, 16] Operation: 74-58=16
Moving to Node #0,0
Current State: 80:[87, 82, 16], Operations: ['74-58=16']
Exploring Operation: 87-82=5, Resulting Numbers: [16, 5]
Generated Node #0,0,4: 80:[16, 5] Operation: 87-82=5
Moving to Node #0,0,4
Current State: 80:[16, 5], Operations: ['74-58=16', '87-82=5']
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
39,
72,
95,
91
] | 75 | [
"39+72=111",
"95+91=186",
"186-111=75"
] | Current State: 75:[39, 72, 95, 91], Operations: []
Exploring Operation: 39+72=111, Resulting Numbers: [95, 91, 111]
Generated Node #2: [95, 91, 111] from Operation: 39+72=111
Current State: 75:[95, 91, 111], Operations: ['39+72=111']
Exploring Operation: 95+91=186, Resulting Numbers: [111, 186]
Generated Node #3: [111, 186] from Operation: 95+91=186
Current State: 75:[111, 186], Operations: ['39+72=111', '95+91=186']
Exploring Operation: 186-111=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[39, 72, 95, 91], Operations: []
Exploring Operation: 95-39=56, Resulting Numbers: [72, 91, 56]
Generated Node #0,0: 75:[72, 91, 56] Operation: 95-39=56
Exploring Operation: 95-91=4, Resulting Numbers: [39, 72, 4]
Generated Node #0,1: 75:[39, 72, 4] Operation: 95-91=4
Exploring Operation: 95-72=23, Resulting Numbers: [39, 91, 23]
Generated Node #0,2: 75:[39, 91, 23] Operation: 95-72=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[39, 72, 4], Operations: ['95-91=4']
Exploring Operation: 72+4=76, Resulting Numbers: [39, 76]
Generated Node #0,1,0: 75:[39, 76] Operation: 72+4=76
Exploring Operation: 39-4=35, Resulting Numbers: [72, 35]
Generated Node #0,1,1: 75:[72, 35] Operation: 39-4=35
Exploring Operation: 72-39=33, Resulting Numbers: [4, 33]
Generated Node #0,1,2: 75:[4, 33] Operation: 72-39=33
Moving to Node #0,1,2
Current State: 75:[4, 33], Operations: ['95-91=4', '72-39=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,75 unequal: No Solution
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,75 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[72, 35], Operations: ['95-91=4', '39-4=35']
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,75 unequal: No Solution
Exploring Operation: 72*35=2520, Resulting Numbers: [2520]
2520,75 unequal: No Solution
Exploring Operation: 72+35=107, Resulting Numbers: [107]
107,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[39, 76], Operations: ['95-91=4', '72+4=76']
Exploring Operation: 39*76=2964, Resulting Numbers: [2964]
2964,75 unequal: No Solution
Exploring Operation: 76-39=37, Resulting Numbers: [37]
37,75 unequal: No Solution
Exploring Operation: 39+76=115, Resulting Numbers: [115]
115,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,2
Current State: 75:[39, 91, 23], Operations: ['95-72=23']
Exploring Operation: 39-23=16, Resulting Numbers: [91, 16]
Generated Node #0,2,0: 75:[91, 16] Operation: 39-23=16
Exploring Operation: 91-39=52, Resulting Numbers: [23, 52]
Generated Node #0,2,1: 75:[23, 52] Operation: 91-39=52
Exploring Operation: 91-23=68, Resulting Numbers: [39, 68]
Generated Node #0,2,2: 75:[39, 68] Operation: 91-23=68
Moving to Node #0,2,0
Current State: 75:[91, 16], Operations: ['95-72=23', '39-23=16']
Exploring Operation: 91*16=1456, Resulting Numbers: [1456]
1456,75 unequal: No Solution
Exploring Operation: 91+16=107, Resulting Numbers: [107]
107,75 unequal: No Solution
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[39, 72, 95, 91], Operations: []
Exploring Operation: 95-72=23, Resulting Numbers: [39, 91, 23]
Generated Node #0,2: 75:[39, 91, 23] Operation: 95-72=23
Moving to Node #0,2
Current State: 75:[39, 91, 23], Operations: ['95-72=23']
Exploring Operation: 39-23=16, Resulting Numbers: [91, 16]
Generated Node #0,2,0: 75:[91, 16] Operation: 39-23=16
Moving to Node #0,2,0
Current State: 75:[91, 16], Operations: ['95-72=23', '39-23=16']
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
73,
2,
87,
58
] | 46 | [
"73+2=75",
"87-58=29",
"75-29=46"
] | Current State: 46:[73, 2, 87, 58], Operations: []
Exploring Operation: 73+2=75, Resulting Numbers: [87, 58, 75]
Generated Node #2: [87, 58, 75] from Operation: 73+2=75
Current State: 46:[87, 58, 75], Operations: ['73+2=75']
Exploring Operation: 87-58=29, Resulting Numbers: [75, 29]
Generated Node #3: [75, 29] from Operation: 87-58=29
Current State: 46:[75, 29], Operations: ['73+2=75', '87-58=29']
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[73, 2, 87, 58], Operations: []
Exploring Operation: 73-58=15, Resulting Numbers: [2, 87, 15]
Generated Node #0,0: 46:[2, 87, 15] Operation: 73-58=15
Exploring Operation: 87-58=29, Resulting Numbers: [73, 2, 29]
Generated Node #0,1: 46:[73, 2, 29] Operation: 87-58=29
Exploring Operation: 58/2=29, Resulting Numbers: [73, 87, 29]
Generated Node #0,2: 46:[73, 87, 29] Operation: 58/2=29
Exploring Operation: 73-2=71, Resulting Numbers: [87, 58, 71]
Generated Node #0,3: 46:[87, 58, 71] Operation: 73-2=71
Exploring Operation: 87-73=14, Resulting Numbers: [2, 58, 14]
Generated Node #0,4: 46:[2, 58, 14] Operation: 87-73=14
Moving to Node #0,4
Current State: 46:[2, 58, 14], Operations: ['87-73=14']
Exploring Operation: 58-14=44, Resulting Numbers: [2, 44]
Generated Node #0,4,0: 46:[2, 44] Operation: 58-14=44
Exploring Operation: 2*14=28, Resulting Numbers: [58, 28]
Generated Node #0,4,1: 46:[58, 28] Operation: 2*14=28
Exploring Operation: 14/2=7, Resulting Numbers: [58, 7]
Generated Node #0,4,2: 46:[58, 7] Operation: 14/2=7
Exploring Operation: 58-2=56, Resulting Numbers: [14, 56]
Generated Node #0,4,3: 46:[14, 56] Operation: 58-2=56
Exploring Operation: 58/2=29, Resulting Numbers: [14, 29]
Generated Node #0,4,4: 46:[14, 29] Operation: 58/2=29
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 46:[2, 44], Operations: ['87-73=14', '58-14=44']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,46 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[73, 2, 87, 58], Operations: []
Exploring Operation: 87-73=14, Resulting Numbers: [2, 58, 14]
Generated Node #0,4: 46:[2, 58, 14] Operation: 87-73=14
Moving to Node #0,4
Current State: 46:[2, 58, 14], Operations: ['87-73=14']
Exploring Operation: 58-14=44, Resulting Numbers: [2, 44]
Generated Node #0,4,0: 46:[2, 44] Operation: 58-14=44
Moving to Node #0,4,0
Current State: 46:[2, 44], Operations: ['87-73=14', '58-14=44']
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
37,
30,
43,
26
] | 24 | [
"37-30=7",
"43-26=17",
"7+17=24"
] | Current State: 24:[37, 30, 43, 26], Operations: []
Exploring Operation: 37-30=7, Resulting Numbers: [43, 26, 7]
Generated Node #2: [43, 26, 7] from Operation: 37-30=7
Current State: 24:[43, 26, 7], Operations: ['37-30=7']
Exploring Operation: 43-26=17, Resulting Numbers: [7, 17]
Generated Node #3: [7, 17] from Operation: 43-26=17
Current State: 24:[7, 17], Operations: ['37-30=7', '43-26=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[37, 30, 43, 26], Operations: []
Exploring Operation: 37-30=7, Resulting Numbers: [43, 26, 7]
Generated Node #0,0: 24:[43, 26, 7] Operation: 37-30=7
Exploring Operation: 43-30=13, Resulting Numbers: [37, 26, 13]
Generated Node #0,1: 24:[37, 26, 13] Operation: 43-30=13
Exploring Operation: 43-26=17, Resulting Numbers: [37, 30, 17]
Generated Node #0,2: 24:[37, 30, 17] Operation: 43-26=17
Exploring Operation: 43-37=6, Resulting Numbers: [30, 26, 6]
Generated Node #0,3: 24:[30, 26, 6] Operation: 43-37=6
Exploring Operation: 37-26=11, Resulting Numbers: [30, 43, 11]
Generated Node #0,4: 24:[30, 43, 11] Operation: 37-26=11
Moving to Node #0,3
Current State: 24:[30, 26, 6], Operations: ['43-37=6']
Exploring Operation: 30/6=5, Resulting Numbers: [26, 5]
Generated Node #0,3,0: 24:[26, 5] Operation: 30/6=5
Exploring Operation: 30+6=36, Resulting Numbers: [26, 36]
Generated Node #0,3,1: 24:[26, 36] Operation: 30+6=36
Exploring Operation: 26-6=20, Resulting Numbers: [30, 20]
Generated Node #0,3,2: 24:[30, 20] Operation: 26-6=20
Exploring Operation: 30-6=24, Resulting Numbers: [26, 24]
Generated Node #0,3,3: 24:[26, 24] Operation: 30-6=24
Exploring Operation: 30-26=4, Resulting Numbers: [6, 4]
Generated Node #0,3,4: 24:[6, 4] Operation: 30-26=4
Moving to Node #0,1
Current State: 24:[37, 26, 13], Operations: ['43-30=13']
Exploring Operation: 37-13=24, Resulting Numbers: [26, 24]
Generated Node #0,1,0: 24:[26, 24] Operation: 37-13=24
Exploring Operation: 37+13=50, Resulting Numbers: [26, 50]
Generated Node #0,1,1: 24:[26, 50] Operation: 37+13=50
Exploring Operation: 37-26=11, Resulting Numbers: [13, 11]
Generated Node #0,1,2: 24:[13, 11] Operation: 37-26=11
Exploring Operation: 26-13=13, Resulting Numbers: [37, 13]
Generated Node #0,1,3: 24:[37, 13] Operation: 26-13=13
Exploring Operation: 26/13=2, Resulting Numbers: [37, 2]
Generated Node #0,1,4: 24:[37, 2] Operation: 26/13=2
Moving to Node #0,0
Current State: 24:[43, 26, 7], Operations: ['37-30=7']
Exploring Operation: 26-7=19, Resulting Numbers: [43, 19]
Generated Node #0,0,0: 24:[43, 19] Operation: 26-7=19
Exploring Operation: 26+7=33, Resulting Numbers: [43, 33]
Generated Node #0,0,1: 24:[43, 33] Operation: 26+7=33
Exploring Operation: 43+7=50, Resulting Numbers: [26, 50]
Generated Node #0,0,2: 24:[26, 50] Operation: 43+7=50
Exploring Operation: 43-26=17, Resulting Numbers: [7, 17]
Generated Node #0,0,3: 24:[7, 17] Operation: 43-26=17
Exploring Operation: 43-7=36, Resulting Numbers: [26, 36]
Generated Node #0,0,4: 24:[26, 36] Operation: 43-7=36
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 24:[7, 17], Operations: ['37-30=7', '43-26=17']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[37, 30, 43, 26], Operations: []
Exploring Operation: 37-30=7, Resulting Numbers: [43, 26, 7]
Generated Node #0,0: 24:[43, 26, 7] Operation: 37-30=7
Moving to Node #0,0
Current State: 24:[43, 26, 7], Operations: ['37-30=7']
Exploring Operation: 43-26=17, Resulting Numbers: [7, 17]
Generated Node #0,0,3: 24:[7, 17] Operation: 43-26=17
Moving to Node #0,0,3
Current State: 24:[7, 17], Operations: ['37-30=7', '43-26=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | sum_heuristic |
[
38,
72,
47,
11
] | 92 | [
"72-38=34",
"47+11=58",
"34+58=92"
] | Current State: 92:[38, 72, 47, 11], Operations: []
Exploring Operation: 72-38=34, Resulting Numbers: [47, 11, 34]
Generated Node #2: [47, 11, 34] from Operation: 72-38=34
Current State: 92:[47, 11, 34], Operations: ['72-38=34']
Exploring Operation: 47+11=58, Resulting Numbers: [34, 58]
Generated Node #3: [34, 58] from Operation: 47+11=58
Current State: 92:[34, 58], Operations: ['72-38=34', '47+11=58']
Exploring Operation: 34+58=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[38, 72, 47, 11], Operations: []
Exploring Operation: 72-38=34, Resulting Numbers: [47, 11, 34]
Generated Node #0,0: 92:[47, 11, 34] Operation: 72-38=34
Exploring Operation: 72-47=25, Resulting Numbers: [38, 11, 25]
Generated Node #0,1: 92:[38, 11, 25] Operation: 72-47=25
Exploring Operation: 38+11=49, Resulting Numbers: [72, 47, 49]
Generated Node #0,2: 92:[72, 47, 49] Operation: 38+11=49
Exploring Operation: 72+11=83, Resulting Numbers: [38, 47, 83]
Generated Node #0,3: 92:[38, 47, 83] Operation: 72+11=83
Exploring Operation: 72-11=61, Resulting Numbers: [38, 47, 61]
Generated Node #0,4: 92:[38, 47, 61] Operation: 72-11=61
Moving to Node #0,1
Current State: 92:[38, 11, 25], Operations: ['72-47=25']
Exploring Operation: 11+25=36, Resulting Numbers: [38, 36]
Generated Node #0,1,0: 92:[38, 36] Operation: 11+25=36
Exploring Operation: 38-25=13, Resulting Numbers: [11, 13]
Generated Node #0,1,1: 92:[11, 13] Operation: 38-25=13
Exploring Operation: 25-11=14, Resulting Numbers: [38, 14]
Generated Node #0,1,2: 92:[38, 14] Operation: 25-11=14
Exploring Operation: 38-11=27, Resulting Numbers: [25, 27]
Generated Node #0,1,3: 92:[25, 27] Operation: 38-11=27
Exploring Operation: 38+11=49, Resulting Numbers: [25, 49]
Generated Node #0,1,4: 92:[25, 49] Operation: 38+11=49
Moving to Node #0,3
Current State: 92:[38, 47, 83], Operations: ['72+11=83']
Exploring Operation: 83-38=45, Resulting Numbers: [47, 45]
Generated Node #0,3,0: 92:[47, 45] Operation: 83-38=45
Exploring Operation: 83-47=36, Resulting Numbers: [38, 36]
Generated Node #0,3,1: 92:[38, 36] Operation: 83-47=36
Exploring Operation: 38+83=121, Resulting Numbers: [47, 121]
Generated Node #0,3,2: 92:[47, 121] Operation: 38+83=121
Exploring Operation: 47-38=9, Resulting Numbers: [83, 9]
Generated Node #0,3,3: 92:[83, 9] Operation: 47-38=9
Exploring Operation: 38+47=85, Resulting Numbers: [83, 85]
Generated Node #0,3,4: 92:[83, 85] Operation: 38+47=85
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 92:[47, 45], Operations: ['72+11=83', '83-38=45']
Exploring Operation: 47+45=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[38, 72, 47, 11], Operations: []
Exploring Operation: 72+11=83, Resulting Numbers: [38, 47, 83]
Generated Node #0,3: 92:[38, 47, 83] Operation: 72+11=83
Moving to Node #0,3
Current State: 92:[38, 47, 83], Operations: ['72+11=83']
Exploring Operation: 83-38=45, Resulting Numbers: [47, 45]
Generated Node #0,3,0: 92:[47, 45] Operation: 83-38=45
Moving to Node #0,3,0
Current State: 92:[47, 45], Operations: ['72+11=83', '83-38=45']
Exploring Operation: 47+45=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
63,
50,
4,
9
] | 13 | [
"63+50=113",
"4+113=117",
"117/9=13"
] | Current State: 13:[63, 50, 4, 9], Operations: []
Exploring Operation: 63+50=113, Resulting Numbers: [4, 9, 113]
Generated Node #2: [4, 9, 113] from Operation: 63+50=113
Current State: 13:[4, 9, 113], Operations: ['63+50=113']
Exploring Operation: 4+113=117, Resulting Numbers: [9, 117]
Generated Node #3: [9, 117] from Operation: 4+113=117
Current State: 13:[9, 117], Operations: ['63+50=113', '4+113=117']
Exploring Operation: 117/9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[63, 50, 4, 9], Operations: []
Exploring Operation: 63-4=59, Resulting Numbers: [50, 9, 59]
Generated Node #0,0: 13:[50, 9, 59] Operation: 63-4=59
Exploring Operation: 63-50=13, Resulting Numbers: [4, 9, 13]
Generated Node #0,1: 13:[4, 9, 13] Operation: 63-50=13
Exploring Operation: 63/9=7, Resulting Numbers: [50, 4, 7]
Generated Node #0,2: 13:[50, 4, 7] Operation: 63/9=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[4, 9, 13], Operations: ['63-50=13']
Exploring Operation: 4+9=13, Resulting Numbers: [13, 13]
Generated Node #0,1,0: 13:[13, 13] Operation: 4+9=13
Exploring Operation: 9-4=5, Resulting Numbers: [13, 5]
Generated Node #0,1,1: 13:[13, 5] Operation: 9-4=5
Exploring Operation: 4+13=17, Resulting Numbers: [9, 17]
Generated Node #0,1,2: 13:[9, 17] Operation: 4+13=17
Moving to Node #0,1,0
Current State: 13:[13, 13], Operations: ['63-50=13', '4+9=13']
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[13, 5], Operations: ['63-50=13', '9-4=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,13 unequal: No Solution
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,13 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Moving to Node #0,1,2
Current State: 13:[9, 17], Operations: ['63-50=13', '4+13=17']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,13 unequal: No Solution
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[50, 4, 7], Operations: ['63/9=7']
Exploring Operation: 4+7=11, Resulting Numbers: [50, 11]
Generated Node #0,2,0: 13:[50, 11] Operation: 4+7=11
Exploring Operation: 50-7=43, Resulting Numbers: [4, 43]
Generated Node #0,2,1: 13:[4, 43] Operation: 50-7=43
Exploring Operation: 50-4=46, Resulting Numbers: [7, 46]
Generated Node #0,2,2: 13:[7, 46] Operation: 50-4=46
Moving to Node #0,2,0
Current State: 13:[50, 11], Operations: ['63/9=7', '4+7=11']
Exploring Operation: 50*11=550, Resulting Numbers: [550]
550,13 unequal: No Solution
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,13 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,13 unequal: No Solution
Moving to Node #0,2,1
Current State: 13:[4, 43], Operations: ['63/9=7', '50-7=43']
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,13 unequal: No Solution
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,13 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[7, 46], Operations: ['63/9=7', '50-4=46']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,13 unequal: No Solution
Exploring Operation: 7*46=322, Resulting Numbers: [322]
322,13 unequal: No Solution
Exploring Operation: 7+46=53, Resulting Numbers: [53]
53,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[50, 9, 59], Operations: ['63-4=59']
Exploring Operation: 59-50=9, Resulting Numbers: [9, 9]
Generated Node #0,0,0: 13:[9, 9] Operation: 59-50=9
Exploring Operation: 59-9=50, Resulting Numbers: [50, 50]
Generated Node #0,0,1: 13:[50, 50] Operation: 59-9=50
Exploring Operation: 50-9=41, Resulting Numbers: [59, 41]
Generated Node #0,0,2: 13:[59, 41] Operation: 50-9=41
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[9, 9], Operations: ['63-4=59', '59-50=9']
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,13 unequal: No Solution
No 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: 13:[50, 50], Operations: ['63-4=59', '59-9=50']
Exploring Operation: 50/50=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 50+50=100, Resulting Numbers: [100]
100,13 unequal: No Solution
Exploring Operation: 50-50=0, Resulting Numbers: [0]
0,13 unequal: No Solution
No 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: 13:[59, 41], Operations: ['63-4=59', '50-9=41']
Exploring Operation: 59*41=2419, Resulting Numbers: [2419]
2419,13 unequal: No Solution
Exploring Operation: 59+41=100, Resulting Numbers: [100]
100,13 unequal: No Solution
Exploring Operation: 59-41=18, Resulting Numbers: [18]
18,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
1,
53,
34,
44
] | 43 | [
"1*53=53",
"44-34=10",
"53-10=43"
] | Current State: 43:[1, 53, 34, 44], Operations: []
Exploring Operation: 1*53=53, Resulting Numbers: [34, 44, 53]
Generated Node #2: [34, 44, 53] from Operation: 1*53=53
Current State: 43:[34, 44, 53], Operations: ['1*53=53']
Exploring Operation: 44-34=10, Resulting Numbers: [53, 10]
Generated Node #3: [53, 10] from Operation: 44-34=10
Current State: 43:[53, 10], Operations: ['1*53=53', '44-34=10']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[1, 53, 34, 44], Operations: []
Exploring Operation: 1+34=35, Resulting Numbers: [53, 44, 35]
Generated Node #0,0: 43:[53, 44, 35] Operation: 1+34=35
Exploring Operation: 53-1=52, Resulting Numbers: [34, 44, 52]
Generated Node #0,1: 43:[34, 44, 52] Operation: 53-1=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[53, 44, 35], Operations: ['1+34=35']
Exploring Operation: 53-35=18, Resulting Numbers: [44, 18]
Generated Node #0,0,0: 43:[44, 18] Operation: 53-35=18
Exploring Operation: 53-44=9, Resulting Numbers: [35, 9]
Generated Node #0,0,1: 43:[35, 9] Operation: 53-44=9
Moving to Node #0,0,0
Current State: 43:[44, 18], Operations: ['1+34=35', '53-35=18']
Exploring Operation: 44+18=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[35, 9], Operations: ['1+34=35', '53-44=9']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[34, 44, 52], Operations: ['53-1=52']
Exploring Operation: 44-34=10, Resulting Numbers: [52, 10]
Generated Node #0,1,0: 43:[52, 10] Operation: 44-34=10
Exploring Operation: 52-34=18, Resulting Numbers: [44, 18]
Generated Node #0,1,1: 43:[44, 18] Operation: 52-34=18
Moving to Node #0,1,1
Current State: 43:[44, 18], Operations: ['53-1=52', '52-34=18']
Exploring Operation: 44+18=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[52, 10], Operations: ['53-1=52', '44-34=10']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
38,
18,
29,
84
] | 93 | [
"38-18=20",
"29+84=113",
"113-20=93"
] | Current State: 93:[38, 18, 29, 84], Operations: []
Exploring Operation: 38-18=20, Resulting Numbers: [29, 84, 20]
Generated Node #2: [29, 84, 20] from Operation: 38-18=20
Current State: 93:[29, 84, 20], Operations: ['38-18=20']
Exploring Operation: 29+84=113, Resulting Numbers: [20, 113]
Generated Node #3: [20, 113] from Operation: 29+84=113
Current State: 93:[20, 113], Operations: ['38-18=20', '29+84=113']
Exploring Operation: 113-20=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[38, 18, 29, 84], Operations: []
Exploring Operation: 18+84=102, Resulting Numbers: [38, 29, 102]
Generated Node #0,0: 93:[38, 29, 102] Operation: 18+84=102
Exploring Operation: 38-18=20, Resulting Numbers: [29, 84, 20]
Generated Node #0,1: 93:[29, 84, 20] Operation: 38-18=20
Moving to Node #0,0
Current State: 93:[38, 29, 102], Operations: ['18+84=102']
Exploring Operation: 102-29=73, Resulting Numbers: [38, 73]
Generated Node #0,0,0: 93:[38, 73] Operation: 102-29=73
Exploring Operation: 38-29=9, Resulting Numbers: [102, 9]
Generated Node #0,0,1: 93:[102, 9] Operation: 38-29=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[102, 9], Operations: ['18+84=102', '38-29=9']
Exploring Operation: 102-9=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[38, 18, 29, 84], Operations: []
Exploring Operation: 18+84=102, Resulting Numbers: [38, 29, 102]
Generated Node #0,0: 93:[38, 29, 102] Operation: 18+84=102
Moving to Node #0,0
Current State: 93:[38, 29, 102], Operations: ['18+84=102']
Exploring Operation: 38-29=9, Resulting Numbers: [102, 9]
Generated Node #0,0,1: 93:[102, 9] Operation: 38-29=9
Moving to Node #0,0,1
Current State: 93:[102, 9], Operations: ['18+84=102', '38-29=9']
Exploring Operation: 102-9=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
1,
25,
74,
1
] | 100 | [
"1+25=26",
"74*1=74",
"26+74=100"
] | Current State: 100:[1, 25, 74, 1], Operations: []
Exploring Operation: 1+25=26, Resulting Numbers: [74, 26]
Generated Node #2: [74, 26] from Operation: 1+25=26
Current State: 100:[74, 26], Operations: ['1+25=26']
Exploring Operation: 74*1=74, Resulting Numbers: [26, 74]
Generated Node #3: [26, 74] from Operation: 74*1=74
Current State: 100:[26, 74], Operations: ['1+25=26', '74*1=74']
Exploring Operation: 26+74=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[1, 25, 74, 1], Operations: []
Exploring Operation: 25+74=99, Resulting Numbers: [1, 1, 99]
Generated Node #0,0: 100:[1, 1, 99] Operation: 25+74=99
Exploring Operation: 74-1=73, Resulting Numbers: [25, 1, 73]
Generated Node #0,1: 100:[25, 1, 73] Operation: 74-1=73
Exploring Operation: 74-1=73, Resulting Numbers: [1, 25, 73]
Generated Node #0,2: 100:[1, 25, 73] Operation: 74-1=73
Exploring Operation: 1+1=2, Resulting Numbers: [25, 74, 2]
Generated Node #0,3: 100:[25, 74, 2] Operation: 1+1=2
Exploring Operation: 74-25=49, Resulting Numbers: [1, 1, 49]
Generated Node #0,4: 100:[1, 1, 49] Operation: 74-25=49
Moving to Node #0,0
Current State: 100:[1, 1, 99], Operations: ['25+74=99']
Exploring Operation: 1+99=100, Resulting Numbers: [1, 100]
Generated Node #0,0,0: 100:[1, 100] Operation: 1+99=100
Exploring Operation: 1+1=2, Resulting Numbers: [99, 2]
Generated Node #0,0,1: 100:[99, 2] Operation: 1+1=2
Exploring Operation: 1*1=1, Resulting Numbers: [99, 1]
Generated Node #0,0,2: 100:[99, 1] Operation: 1*1=1
Exploring Operation: 1+99=100, Resulting Numbers: [1, 100]
Generated Node #0,0,3: 100:[1, 100] Operation: 1+99=100
Exploring Operation: 1/1=1, Resulting Numbers: [99, 1]
Generated Node #0,0,4: 100:[99, 1] Operation: 1/1=1
Moving to Node #0,4
Current State: 100:[1, 1, 49], Operations: ['74-25=49']
Exploring Operation: 1+49=50, Resulting Numbers: [1, 50]
Generated Node #0,4,0: 100:[1, 50] Operation: 1+49=50
Exploring Operation: 1+49=50, Resulting Numbers: [1, 50]
Generated Node #0,4,1: 100:[1, 50] Operation: 1+49=50
Exploring Operation: 1/1=1, Resulting Numbers: [49, 1]
Generated Node #0,4,2: 100:[49, 1] Operation: 1/1=1
Exploring Operation: 1+1=2, Resulting Numbers: [49, 2]
Generated Node #0,4,3: 100:[49, 2] Operation: 1+1=2
Exploring Operation: 1*1=1, Resulting Numbers: [49, 1]
Generated Node #0,4,4: 100:[49, 1] Operation: 1*1=1
Moving to Node #0,1
Current State: 100:[25, 1, 73], Operations: ['74-1=73']
Exploring Operation: 25*1=25, Resulting Numbers: [73, 25]
Generated Node #0,1,0: 100:[73, 25] Operation: 25*1=25
Exploring Operation: 73-1=72, Resulting Numbers: [25, 72]
Generated Node #0,1,1: 100:[25, 72] Operation: 73-1=72
Exploring Operation: 25/1=25, Resulting Numbers: [73, 25]
Generated Node #0,1,2: 100:[73, 25] Operation: 25/1=25
Exploring Operation: 73-25=48, Resulting Numbers: [1, 48]
Generated Node #0,1,3: 100:[1, 48] Operation: 73-25=48
Exploring Operation: 25+73=98, Resulting Numbers: [1, 98]
Generated Node #0,1,4: 100:[1, 98] Operation: 25+73=98
Moving to Node #0,2
Current State: 100:[1, 25, 73], Operations: ['74-1=73']
Exploring Operation: 1*25=25, Resulting Numbers: [73, 25]
Generated Node #0,2,0: 100:[73, 25] Operation: 1*25=25
Exploring Operation: 25/1=25, Resulting Numbers: [73, 25]
Generated Node #0,2,1: 100:[73, 25] Operation: 25/1=25
Exploring Operation: 25+73=98, Resulting Numbers: [1, 98]
Generated Node #0,2,2: 100:[1, 98] Operation: 25+73=98
Exploring Operation: 73-25=48, Resulting Numbers: [1, 48]
Generated Node #0,2,3: 100:[1, 48] Operation: 73-25=48
Exploring Operation: 73-1=72, Resulting Numbers: [25, 72]
Generated Node #0,2,4: 100:[25, 72] Operation: 73-1=72
Moving to Node #0,3
Current State: 100:[25, 74, 2], Operations: ['1+1=2']
Exploring Operation: 25*2=50, Resulting Numbers: [74, 50]
Generated Node #0,3,0: 100:[74, 50] Operation: 25*2=50
Exploring Operation: 74-2=72, Resulting Numbers: [25, 72]
Generated Node #0,3,1: 100:[25, 72] Operation: 74-2=72
Exploring Operation: 74/2=37, Resulting Numbers: [25, 37]
Generated Node #0,3,2: 100:[25, 37] Operation: 74/2=37
Exploring Operation: 25+74=99, Resulting Numbers: [2, 99]
Generated Node #0,3,3: 100:[2, 99] Operation: 25+74=99
Exploring Operation: 74-25=49, Resulting Numbers: [2, 49]
Generated Node #0,3,4: 100:[2, 49] Operation: 74-25=49
Moving to Node #0,0,0
Current State: 100:[1, 100], Operations: ['25+74=99', '1+99=100']
Exploring Operation: 100/1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[1, 25, 74, 1], Operations: []
Exploring Operation: 25+74=99, Resulting Numbers: [1, 1, 99]
Generated Node #0,0: 100:[1, 1, 99] Operation: 25+74=99
Moving to Node #0,0
Current State: 100:[1, 1, 99], Operations: ['25+74=99']
Exploring Operation: 1+99=100, Resulting Numbers: [1, 100]
Generated Node #0,0,0: 100:[1, 100] Operation: 1+99=100
Moving to Node #0,0,0
Current State: 100:[1, 100], Operations: ['25+74=99', '1+99=100']
Exploring Operation: 100/1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 0.969618 | hs_5 | sum_heuristic |
[
68,
16,
8,
41
] | 51 | [
"68+16=84",
"41-8=33",
"84-33=51"
] | Current State: 51:[68, 16, 8, 41], Operations: []
Exploring Operation: 68+16=84, Resulting Numbers: [8, 41, 84]
Generated Node #2: [8, 41, 84] from Operation: 68+16=84
Current State: 51:[8, 41, 84], Operations: ['68+16=84']
Exploring Operation: 41-8=33, Resulting Numbers: [84, 33]
Generated Node #3: [84, 33] from Operation: 41-8=33
Current State: 51:[84, 33], Operations: ['68+16=84', '41-8=33']
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[68, 16, 8, 41], Operations: []
Exploring Operation: 68-8=60, Resulting Numbers: [16, 41, 60]
Generated Node #0,0: 51:[16, 41, 60] Operation: 68-8=60
Exploring Operation: 68-16=52, Resulting Numbers: [8, 41, 52]
Generated Node #0,1: 51:[8, 41, 52] Operation: 68-16=52
Exploring Operation: 68-41=27, Resulting Numbers: [16, 8, 27]
Generated Node #0,2: 51:[16, 8, 27] Operation: 68-41=27
Moving to Node #0,1
Current State: 51:[8, 41, 52], Operations: ['68-16=52']
Exploring Operation: 41-8=33, Resulting Numbers: [52, 33]
Generated Node #0,1,0: 51:[52, 33] Operation: 41-8=33
Exploring Operation: 52-41=11, Resulting Numbers: [8, 11]
Generated Node #0,1,1: 51:[8, 11] Operation: 52-41=11
Exploring Operation: 8+41=49, Resulting Numbers: [52, 49]
Generated Node #0,1,2: 51:[52, 49] Operation: 8+41=49
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[52, 49], Operations: ['68-16=52', '8+41=49']
Exploring Operation: 52+49=101, Resulting Numbers: [101]
101,51 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 52*49=2548, Resulting Numbers: [2548]
2548,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,1
Current State: 51:[8, 11], Operations: ['68-16=52', '52-41=11']
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,51 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,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,0
Current State: 51:[52, 33], Operations: ['68-16=52', '41-8=33']
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,51 unequal: No Solution
Exploring Operation: 52+33=85, Resulting Numbers: [85]
85,51 unequal: No Solution
Exploring Operation: 52*33=1716, Resulting Numbers: [1716]
1716,51 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: 51:[16, 8, 27], Operations: ['68-41=27']
Exploring Operation: 27-16=11, Resulting Numbers: [8, 11]
Generated Node #0,2,0: 51:[8, 11] Operation: 27-16=11
Exploring Operation: 27-8=19, Resulting Numbers: [16, 19]
Generated Node #0,2,1: 51:[16, 19] Operation: 27-8=19
Exploring Operation: 16/8=2, Resulting Numbers: [27, 2]
Generated Node #0,2,2: 51:[27, 2] Operation: 16/8=2
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 51:[16, 19], Operations: ['68-41=27', '27-8=19']
Exploring Operation: 16*19=304, Resulting Numbers: [304]
304,51 unequal: No Solution
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,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,0
Current State: 51:[8, 11], Operations: ['68-41=27', '27-16=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,51 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,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:[27, 2], Operations: ['68-41=27', '16/8=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,51 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,51 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,51 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: 51:[16, 41, 60], Operations: ['68-8=60']
Exploring Operation: 41-16=25, Resulting Numbers: [60, 25]
Generated Node #0,0,0: 51:[60, 25] Operation: 41-16=25
Exploring Operation: 60-41=19, Resulting Numbers: [16, 19]
Generated Node #0,0,1: 51:[16, 19] Operation: 60-41=19
Exploring Operation: 16+41=57, Resulting Numbers: [60, 57]
Generated Node #0,0,2: 51:[60, 57] Operation: 16+41=57
Moving to Node #0,0,1
Current State: 51:[16, 19], Operations: ['68-8=60', '60-41=19']
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Exploring Operation: 16*19=304, Resulting Numbers: [304]
304,51 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[60, 57], Operations: ['68-8=60', '16+41=57']
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 60+57=117, Resulting Numbers: [117]
117,51 unequal: No Solution
Exploring Operation: 60*57=3420, Resulting Numbers: [3420]
3420,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[60, 25], Operations: ['68-8=60', '41-16=25']
Exploring Operation: 60-25=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Exploring Operation: 60*25=1500, Resulting Numbers: [1500]
1500,51 unequal: No Solution
Exploring Operation: 60+25=85, Resulting Numbers: [85]
85,51 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
30,
18,
25,
12
] | 26 | [
"30-18=12",
"12/12=1",
"25+1=26"
] | Current State: 26:[30, 18, 25, 12], Operations: []
Exploring Operation: 30-18=12, Resulting Numbers: [25, 12, 12]
Generated Node #2: [25, 12, 12] from Operation: 30-18=12
Current State: 26:[25, 12, 12], Operations: ['30-18=12']
Exploring Operation: 12/12=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 12/12=1
Current State: 26:[25, 1], Operations: ['30-18=12', '12/12=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[30, 18, 25, 12], Operations: []
Exploring Operation: 30-18=12, Resulting Numbers: [25, 12, 12]
Generated Node #0,0: 26:[25, 12, 12] Operation: 30-18=12
Moving to Node #0,0
Current State: 26:[25, 12, 12], Operations: ['30-18=12']
Exploring Operation: 25-12=13, Resulting Numbers: [12, 13]
Generated Node #0,0,0: 26:[12, 13] Operation: 25-12=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[12, 13], Operations: ['30-18=12', '25-12=13']
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,26 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 |
[
93,
42,
22,
1
] | 29 | [
"93-42=51",
"22*1=22",
"51-22=29"
] | Current State: 29:[93, 42, 22, 1], Operations: []
Exploring Operation: 93-42=51, Resulting Numbers: [22, 1, 51]
Generated Node #2: [22, 1, 51] from Operation: 93-42=51
Current State: 29:[22, 1, 51], Operations: ['93-42=51']
Exploring Operation: 22*1=22, Resulting Numbers: [51, 22]
Generated Node #3: [51, 22] from Operation: 22*1=22
Current State: 29:[51, 22], Operations: ['93-42=51', '22*1=22']
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[93, 42, 22, 1], Operations: []
Exploring Operation: 42-1=41, Resulting Numbers: [93, 22, 41]
Generated Node #0,0: 29:[93, 22, 41] Operation: 42-1=41
Exploring Operation: 93-42=51, Resulting Numbers: [22, 1, 51]
Generated Node #0,1: 29:[22, 1, 51] Operation: 93-42=51
Exploring Operation: 93-22=71, Resulting Numbers: [42, 1, 71]
Generated Node #0,2: 29:[42, 1, 71] Operation: 93-22=71
Exploring Operation: 93-1=92, Resulting Numbers: [42, 22, 92]
Generated Node #0,3: 29:[42, 22, 92] Operation: 93-1=92
Moving to Node #0,1
Current State: 29:[22, 1, 51], Operations: ['93-42=51']
Exploring Operation: 22*1=22, Resulting Numbers: [51, 22]
Generated Node #0,1,0: 29:[51, 22] Operation: 22*1=22
Exploring Operation: 22+1=23, Resulting Numbers: [51, 23]
Generated Node #0,1,1: 29:[51, 23] Operation: 22+1=23
Exploring Operation: 51-22=29, Resulting Numbers: [1, 29]
Generated Node #0,1,2: 29:[1, 29] Operation: 51-22=29
Exploring Operation: 51-1=50, Resulting Numbers: [22, 50]
Generated Node #0,1,3: 29:[22, 50] Operation: 51-1=50
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[51, 23], Operations: ['93-42=51', '22+1=23']
Exploring Operation: 51+23=74, Resulting Numbers: [74]
74,29 unequal: No Solution
Exploring Operation: 51*23=1173, Resulting Numbers: [1173]
1173,29 unequal: No Solution
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[1, 29], Operations: ['93-42=51', '51-22=29']
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[93, 42, 22, 1], Operations: []
Exploring Operation: 93-42=51, Resulting Numbers: [22, 1, 51]
Generated Node #0,1: 29:[22, 1, 51] Operation: 93-42=51
Moving to Node #0,1
Current State: 29:[22, 1, 51], Operations: ['93-42=51']
Exploring Operation: 51-22=29, Resulting Numbers: [1, 29]
Generated Node #0,1,2: 29:[1, 29] Operation: 51-22=29
Moving to Node #0,1,2
Current State: 29:[1, 29], Operations: ['93-42=51', '51-22=29']
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
87,
78,
40,
37
] | 88 | [
"87+78=165",
"40+37=77",
"165-77=88"
] | Current State: 88:[87, 78, 40, 37], Operations: []
Exploring Operation: 87+78=165, Resulting Numbers: [40, 37, 165]
Generated Node #2: [40, 37, 165] from Operation: 87+78=165
Current State: 88:[40, 37, 165], Operations: ['87+78=165']
Exploring Operation: 40+37=77, Resulting Numbers: [165, 77]
Generated Node #3: [165, 77] from Operation: 40+37=77
Current State: 88:[165, 77], Operations: ['87+78=165', '40+37=77']
Exploring Operation: 165-77=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[87, 78, 40, 37], Operations: []
Exploring Operation: 78-37=41, Resulting Numbers: [87, 40, 41]
Generated Node #0,0: 88:[87, 40, 41] Operation: 78-37=41
Moving to Node #0,0
Current State: 88:[87, 40, 41], Operations: ['78-37=41']
Exploring Operation: 41-40=1, Resulting Numbers: [87, 1]
Generated Node #0,0,0: 88:[87, 1] Operation: 41-40=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[87, 1], Operations: ['78-37=41', '41-40=1']
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[87, 78, 40, 37], Operations: []
Exploring Operation: 78-37=41, Resulting Numbers: [87, 40, 41]
Generated Node #0,0: 88:[87, 40, 41] Operation: 78-37=41
Moving to Node #0,0
Current State: 88:[87, 40, 41], Operations: ['78-37=41']
Exploring Operation: 41-40=1, Resulting Numbers: [87, 1]
Generated Node #0,0,0: 88:[87, 1] Operation: 41-40=1
Moving to Node #0,0,0
Current State: 88:[87, 1], Operations: ['78-37=41', '41-40=1']
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
2,
6,
57,
4
] | 69 | [
"2+6=8",
"57+4=61",
"8+61=69"
] | Current State: 69:[2, 6, 57, 4], Operations: []
Exploring Operation: 2+6=8, Resulting Numbers: [57, 4, 8]
Generated Node #2: [57, 4, 8] from Operation: 2+6=8
Current State: 69:[57, 4, 8], Operations: ['2+6=8']
Exploring Operation: 57+4=61, Resulting Numbers: [8, 61]
Generated Node #3: [8, 61] from Operation: 57+4=61
Current State: 69:[8, 61], Operations: ['2+6=8', '57+4=61']
Exploring Operation: 8+61=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[2, 6, 57, 4], Operations: []
Exploring Operation: 6+57=63, Resulting Numbers: [2, 4, 63]
Generated Node #0,0: 69:[2, 4, 63] Operation: 6+57=63
Exploring Operation: 57+4=61, Resulting Numbers: [2, 6, 61]
Generated Node #0,1: 69:[2, 6, 61] Operation: 57+4=61
Exploring Operation: 6/2=3, Resulting Numbers: [57, 4, 3]
Generated Node #0,2: 69:[57, 4, 3] Operation: 6/2=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[2, 4, 63], Operations: ['6+57=63']
Exploring Operation: 4-2=2, Resulting Numbers: [63, 2]
Generated Node #0,0,0: 69:[63, 2] Operation: 4-2=2
Exploring Operation: 4+63=67, Resulting Numbers: [2, 67]
Generated Node #0,0,1: 69:[2, 67] Operation: 4+63=67
Exploring Operation: 2+63=65, Resulting Numbers: [4, 65]
Generated Node #0,0,2: 69:[4, 65] Operation: 2+63=65
Moving to Node #0,0,1
Current State: 69:[2, 67], Operations: ['6+57=63', '4+63=67']
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,69 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[2, 6, 57, 4], Operations: []
Exploring Operation: 6+57=63, Resulting Numbers: [2, 4, 63]
Generated Node #0,0: 69:[2, 4, 63] Operation: 6+57=63
Moving to Node #0,0
Current State: 69:[2, 4, 63], Operations: ['6+57=63']
Exploring Operation: 4+63=67, Resulting Numbers: [2, 67]
Generated Node #0,0,1: 69:[2, 67] Operation: 4+63=67
Moving to Node #0,0,1
Current State: 69:[2, 67], Operations: ['6+57=63', '4+63=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
17,
2,
42,
7
] | 22 | [
"17-7=10",
"2*10=20",
"42-20=22"
] | Current State: 22:[17, 2, 42, 7], Operations: []
Exploring Operation: 17-7=10, Resulting Numbers: [2, 42, 10]
Generated Node #2: [2, 42, 10] from Operation: 17-7=10
Current State: 22:[2, 42, 10], Operations: ['17-7=10']
Exploring Operation: 2*10=20, Resulting Numbers: [42, 20]
Generated Node #3: [42, 20] from Operation: 2*10=20
Current State: 22:[42, 20], Operations: ['17-7=10', '2*10=20']
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[17, 2, 42, 7], Operations: []
Exploring Operation: 42/7=6, Resulting Numbers: [17, 2, 6]
Generated Node #0,0: 22:[17, 2, 6] Operation: 42/7=6
Exploring Operation: 42-17=25, Resulting Numbers: [2, 7, 25]
Generated Node #0,1: 22:[2, 7, 25] Operation: 42-17=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[2, 7, 25], Operations: ['42-17=25']
Exploring Operation: 25-7=18, Resulting Numbers: [2, 18]
Generated Node #0,1,0: 22:[2, 18] Operation: 25-7=18
Exploring Operation: 2+7=9, Resulting Numbers: [25, 9]
Generated Node #0,1,1: 22:[25, 9] Operation: 2+7=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 22:[2, 18], Operations: ['42-17=25', '25-7=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,22 unequal: No Solution
No 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: 22:[25, 9], Operations: ['42-17=25', '2+7=9']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,22 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: 22:[17, 2, 6], Operations: ['42/7=6']
Exploring Operation: 17+6=23, Resulting Numbers: [2, 23]
Generated Node #0,0,0: 22:[2, 23] Operation: 17+6=23
Exploring Operation: 17-6=11, Resulting Numbers: [2, 11]
Generated Node #0,0,1: 22:[2, 11] Operation: 17-6=11
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 22:[2, 11], Operations: ['42/7=6', '17-6=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[17, 2, 42, 7], Operations: []
Exploring Operation: 42/7=6, Resulting Numbers: [17, 2, 6]
Generated Node #0,0: 22:[17, 2, 6] Operation: 42/7=6
Moving to Node #0,0
Current State: 22:[17, 2, 6], Operations: ['42/7=6']
Exploring Operation: 17-6=11, Resulting Numbers: [2, 11]
Generated Node #0,0,1: 22:[2, 11] Operation: 17-6=11
Moving to Node #0,0,1
Current State: 22:[2, 11], Operations: ['42/7=6', '17-6=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
93,
22,
14,
80
] | 21 | [
"93+22=115",
"14+80=94",
"115-94=21"
] | Current State: 21:[93, 22, 14, 80], Operations: []
Exploring Operation: 93+22=115, Resulting Numbers: [14, 80, 115]
Generated Node #2: [14, 80, 115] from Operation: 93+22=115
Current State: 21:[14, 80, 115], Operations: ['93+22=115']
Exploring Operation: 14+80=94, Resulting Numbers: [115, 94]
Generated Node #3: [115, 94] from Operation: 14+80=94
Current State: 21:[115, 94], Operations: ['93+22=115', '14+80=94']
Exploring Operation: 115-94=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[93, 22, 14, 80], Operations: []
Exploring Operation: 93-22=71, Resulting Numbers: [14, 80, 71]
Generated Node #0,0: 21:[14, 80, 71] Operation: 93-22=71
Exploring Operation: 93-80=13, Resulting Numbers: [22, 14, 13]
Generated Node #0,1: 21:[22, 14, 13] Operation: 93-80=13
Moving to Node #0,1
Current State: 21:[22, 14, 13], Operations: ['93-80=13']
Exploring Operation: 14-13=1, Resulting Numbers: [22, 1]
Generated Node #0,1,0: 21:[22, 1] Operation: 14-13=1
Exploring Operation: 22-14=8, Resulting Numbers: [13, 8]
Generated Node #0,1,1: 21:[13, 8] Operation: 22-14=8
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[22, 1], Operations: ['93-80=13', '14-13=1']
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[93, 22, 14, 80], Operations: []
Exploring Operation: 93-80=13, Resulting Numbers: [22, 14, 13]
Generated Node #0,1: 21:[22, 14, 13] Operation: 93-80=13
Moving to Node #0,1
Current State: 21:[22, 14, 13], Operations: ['93-80=13']
Exploring Operation: 14-13=1, Resulting Numbers: [22, 1]
Generated Node #0,1,0: 21:[22, 1] Operation: 14-13=1
Moving to Node #0,1,0
Current State: 21:[22, 1], Operations: ['93-80=13', '14-13=1']
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
34,
99,
32,
37
] | 71 | [
"37-32=5",
"34*5=170",
"170-99=71"
] | Current State: 71:[34, 99, 32, 37], Operations: []
Exploring Operation: 37-32=5, Resulting Numbers: [34, 99, 5]
Generated Node #2: [34, 99, 5] from Operation: 37-32=5
Current State: 71:[34, 99, 5], Operations: ['37-32=5']
Exploring Operation: 34*5=170, Resulting Numbers: [99, 170]
Generated Node #3: [99, 170] from Operation: 34*5=170
Current State: 71:[99, 170], Operations: ['37-32=5', '34*5=170']
Exploring Operation: 170-99=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[34, 99, 32, 37], Operations: []
Exploring Operation: 99-32=67, Resulting Numbers: [34, 37, 67]
Generated Node #0,0: 71:[34, 37, 67] Operation: 99-32=67
Exploring Operation: 32+37=69, Resulting Numbers: [34, 99, 69]
Generated Node #0,1: 71:[34, 99, 69] Operation: 32+37=69
Exploring Operation: 34+37=71, Resulting Numbers: [99, 32, 71]
Generated Node #0,2: 71:[99, 32, 71] Operation: 34+37=71
Exploring Operation: 34+32=66, Resulting Numbers: [99, 37, 66]
Generated Node #0,3: 71:[99, 37, 66] Operation: 34+32=66
Moving to Node #0,1
Current State: 71:[34, 99, 69], Operations: ['32+37=69']
Exploring Operation: 34+69=103, Resulting Numbers: [99, 103]
Generated Node #0,1,0: 71:[99, 103] Operation: 34+69=103
Exploring Operation: 69-34=35, Resulting Numbers: [99, 35]
Generated Node #0,1,1: 71:[99, 35] Operation: 69-34=35
Exploring Operation: 99-34=65, Resulting Numbers: [69, 65]
Generated Node #0,1,2: 71:[69, 65] Operation: 99-34=65
Exploring Operation: 34+99=133, Resulting Numbers: [69, 133]
Generated Node #0,1,3: 71:[69, 133] Operation: 34+99=133
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[69, 65], Operations: ['32+37=69', '99-34=65']
Exploring Operation: 69*65=4485, Resulting Numbers: [4485]
4485,71 unequal: No Solution
Exploring Operation: 69+65=134, Resulting Numbers: [134]
134,71 unequal: No Solution
Exploring Operation: 69-65=4, Resulting Numbers: [4]
4,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[99, 103], Operations: ['32+37=69', '34+69=103']
Exploring Operation: 99+103=202, Resulting Numbers: [202]
202,71 unequal: No Solution
Exploring Operation: 103-99=4, Resulting Numbers: [4]
4,71 unequal: No Solution
Exploring Operation: 99*103=10197, Resulting Numbers: [10197]
10197,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[99, 35], Operations: ['32+37=69', '69-34=35']
Exploring Operation: 99*35=3465, Resulting Numbers: [3465]
3465,71 unequal: No Solution
Exploring Operation: 99-35=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 99+35=134, Resulting Numbers: [134]
134,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 71:[69, 133], Operations: ['32+37=69', '34+99=133']
Exploring Operation: 69*133=9177, Resulting Numbers: [9177]
9177,71 unequal: No Solution
Exploring Operation: 69+133=202, Resulting Numbers: [202]
202,71 unequal: No Solution
Exploring Operation: 133-69=64, Resulting Numbers: [64]
64,71 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: 71:[99, 37, 66], Operations: ['34+32=66']
Exploring Operation: 99-37=62, Resulting Numbers: [66, 62]
Generated Node #0,3,0: 71:[66, 62] Operation: 99-37=62
Exploring Operation: 37+66=103, Resulting Numbers: [99, 103]
Generated Node #0,3,1: 71:[99, 103] Operation: 37+66=103
Exploring Operation: 66-37=29, Resulting Numbers: [99, 29]
Generated Node #0,3,2: 71:[99, 29] Operation: 66-37=29
Exploring Operation: 99+37=136, Resulting Numbers: [66, 136]
Generated Node #0,3,3: 71:[66, 136] Operation: 99+37=136
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[66, 62], Operations: ['34+32=66', '99-37=62']
Exploring Operation: 66+62=128, Resulting Numbers: [128]
128,71 unequal: No Solution
Exploring Operation: 66-62=4, Resulting Numbers: [4]
4,71 unequal: No Solution
Exploring Operation: 66*62=4092, Resulting Numbers: [4092]
4092,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[99, 103], Operations: ['34+32=66', '37+66=103']
Exploring Operation: 99+103=202, Resulting Numbers: [202]
202,71 unequal: No Solution
Exploring Operation: 99*103=10197, Resulting Numbers: [10197]
10197,71 unequal: No Solution
Exploring Operation: 103-99=4, Resulting Numbers: [4]
4,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[99, 29], Operations: ['34+32=66', '66-37=29']
Exploring Operation: 99+29=128, Resulting Numbers: [128]
128,71 unequal: No Solution
Exploring Operation: 99-29=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 99*29=2871, Resulting Numbers: [2871]
2871,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[66, 136], Operations: ['34+32=66', '99+37=136']
Exploring Operation: 136-66=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 66+136=202, Resulting Numbers: [202]
202,71 unequal: No Solution
Exploring Operation: 66*136=8976, Resulting Numbers: [8976]
8976,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 71:[99, 32, 71], Operations: ['34+37=71']
Exploring Operation: 71-32=39, Resulting Numbers: [99, 39]
Generated Node #0,2,0: 71:[99, 39] Operation: 71-32=39
Exploring Operation: 99-32=67, Resulting Numbers: [71, 67]
Generated Node #0,2,1: 71:[71, 67] Operation: 99-32=67
Exploring Operation: 32+71=103, Resulting Numbers: [99, 103]
Generated Node #0,2,2: 71:[99, 103] Operation: 32+71=103
Exploring Operation: 99+32=131, Resulting Numbers: [71, 131]
Generated Node #0,2,3: 71:[71, 131] Operation: 99+32=131
Moving to Node #0,0
Current State: 71:[34, 37, 67], Operations: ['99-32=67']
Exploring Operation: 34+37=71, Resulting Numbers: [67, 71]
Generated Node #0,0,0: 71:[67, 71] Operation: 34+37=71
Exploring Operation: 37-34=3, Resulting Numbers: [67, 3]
Generated Node #0,0,1: 71:[67, 3] Operation: 37-34=3
Exploring Operation: 37+67=104, Resulting Numbers: [34, 104]
Generated Node #0,0,2: 71:[34, 104] Operation: 37+67=104
Exploring Operation: 34+67=101, Resulting Numbers: [37, 101]
Generated Node #0,0,3: 71:[37, 101] Operation: 34+67=101
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[67, 71], Operations: ['99-32=67', '34+37=71']
Exploring Operation: 67*71=4757, Resulting Numbers: [4757]
4757,71 unequal: No Solution
Exploring Operation: 71-67=4, Resulting Numbers: [4]
4,71 unequal: No Solution
Exploring Operation: 67+71=138, Resulting Numbers: [138]
138,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 71:[37, 101], Operations: ['99-32=67', '34+67=101']
Exploring Operation: 37+101=138, Resulting Numbers: [138]
138,71 unequal: No Solution
Exploring Operation: 37*101=3737, Resulting Numbers: [3737]
3737,71 unequal: No Solution
Exploring Operation: 101-37=64, Resulting Numbers: [64]
64,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 71:[34, 104], Operations: ['99-32=67', '37+67=104']
Exploring Operation: 104-34=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 34*104=3536, Resulting Numbers: [3536]
3536,71 unequal: No Solution
Exploring Operation: 34+104=138, Resulting Numbers: [138]
138,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[67, 3], Operations: ['99-32=67', '37-34=3']
Exploring Operation: 67*3=201, Resulting Numbers: [201]
201,71 unequal: No Solution
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 71:[71, 67], Operations: ['34+37=71', '99-32=67']
Exploring Operation: 71-67=4, Resulting Numbers: [4]
4,71 unequal: No Solution
Exploring Operation: 71*67=4757, Resulting Numbers: [4757]
4757,71 unequal: No Solution
Exploring Operation: 71+67=138, Resulting Numbers: [138]
138,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[99, 103], Operations: ['34+37=71', '32+71=103']
Exploring Operation: 99+103=202, Resulting Numbers: [202]
202,71 unequal: No Solution
Exploring Operation: 103-99=4, Resulting Numbers: [4]
4,71 unequal: No Solution
Exploring Operation: 99*103=10197, Resulting Numbers: [10197]
10197,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[99, 39], Operations: ['34+37=71', '71-32=39']
Exploring Operation: 99+39=138, Resulting Numbers: [138]
138,71 unequal: No Solution
Exploring Operation: 99-39=60, Resulting Numbers: [60]
60,71 unequal: No Solution
Exploring Operation: 99*39=3861, Resulting Numbers: [3861]
3861,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[71, 131], Operations: ['34+37=71', '99+32=131']
Exploring Operation: 71*131=9301, Resulting Numbers: [9301]
9301,71 unequal: No Solution
Exploring Operation: 71+131=202, Resulting Numbers: [202]
202,71 unequal: No Solution
Exploring Operation: 131-71=60, Resulting Numbers: [60]
60,71 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
80,
78,
77,
14
] | 40 | [
"80-77=3",
"78/3=26",
"14+26=40"
] | Current State: 40:[80, 78, 77, 14], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [78, 14, 3]
Generated Node #2: [78, 14, 3] from Operation: 80-77=3
Current State: 40:[78, 14, 3], Operations: ['80-77=3']
Exploring Operation: 78/3=26, Resulting Numbers: [14, 26]
Generated Node #3: [14, 26] from Operation: 78/3=26
Current State: 40:[14, 26], Operations: ['80-77=3', '78/3=26']
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[80, 78, 77, 14], Operations: []
Exploring Operation: 78-14=64, Resulting Numbers: [80, 77, 64]
Generated Node #0,0: 40:[80, 77, 64] Operation: 78-14=64
Exploring Operation: 80-14=66, Resulting Numbers: [78, 77, 66]
Generated Node #0,1: 40:[78, 77, 66] Operation: 80-14=66
Exploring Operation: 80-77=3, Resulting Numbers: [78, 14, 3]
Generated Node #0,2: 40:[78, 14, 3] Operation: 80-77=3
Exploring Operation: 80-78=2, Resulting Numbers: [77, 14, 2]
Generated Node #0,3: 40:[77, 14, 2] Operation: 80-78=2
Exploring Operation: 78-77=1, Resulting Numbers: [80, 14, 1]
Generated Node #0,4: 40:[80, 14, 1] Operation: 78-77=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 40:[77, 14, 2], Operations: ['80-78=2']
Exploring Operation: 77-2=75, Resulting Numbers: [14, 75]
Generated Node #0,3,0: 40:[14, 75] Operation: 77-2=75
Exploring Operation: 14+2=16, Resulting Numbers: [77, 16]
Generated Node #0,3,1: 40:[77, 16] Operation: 14+2=16
Exploring Operation: 14/2=7, Resulting Numbers: [77, 7]
Generated Node #0,3,2: 40:[77, 7] Operation: 14/2=7
Exploring Operation: 14-2=12, Resulting Numbers: [77, 12]
Generated Node #0,3,3: 40:[77, 12] Operation: 14-2=12
Exploring Operation: 77-14=63, Resulting Numbers: [2, 63]
Generated Node #0,3,4: 40:[2, 63] Operation: 77-14=63
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 40:[2, 63], Operations: ['80-78=2', '77-14=63']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,40 unequal: No Solution
Exploring Operation: 2*63=126, Resulting Numbers: [126]
126,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,3,2
Current State: 40:[77, 7], Operations: ['80-78=2', '14/2=7']
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,40 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,40 unequal: No Solution
Exploring Operation: 77+7=84, Resulting Numbers: [84]
84,40 unequal: No Solution
Exploring Operation: 77*7=539, Resulting Numbers: [539]
539,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,3,0
Current State: 40:[14, 75], Operations: ['80-78=2', '77-2=75']
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 14*75=1050, Resulting Numbers: [1050]
1050,40 unequal: No Solution
Exploring Operation: 14+75=89, Resulting Numbers: [89]
89,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,3,3
Current State: 40:[77, 12], Operations: ['80-78=2', '14-2=12']
Exploring Operation: 77+12=89, Resulting Numbers: [89]
89,40 unequal: No Solution
Exploring Operation: 77*12=924, Resulting Numbers: [924]
924,40 unequal: No Solution
Exploring Operation: 77-12=65, Resulting Numbers: [65]
65,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,3,1
Current State: 40:[77, 16], Operations: ['80-78=2', '14+2=16']
Exploring Operation: 77+16=93, Resulting Numbers: [93]
93,40 unequal: No Solution
Exploring Operation: 77-16=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 77*16=1232, Resulting Numbers: [1232]
1232,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,2
Current State: 40:[78, 14, 3], Operations: ['80-77=3']
Exploring Operation: 78-3=75, Resulting Numbers: [14, 75]
Generated Node #0,2,0: 40:[14, 75] Operation: 78-3=75
Exploring Operation: 14*3=42, Resulting Numbers: [78, 42]
Generated Node #0,2,1: 40:[78, 42] Operation: 14*3=42
Exploring Operation: 14-3=11, Resulting Numbers: [78, 11]
Generated Node #0,2,2: 40:[78, 11] Operation: 14-3=11
Exploring Operation: 78-14=64, Resulting Numbers: [3, 64]
Generated Node #0,2,3: 40:[3, 64] Operation: 78-14=64
Exploring Operation: 78/3=26, Resulting Numbers: [14, 26]
Generated Node #0,2,4: 40:[14, 26] Operation: 78/3=26
Moving to Node #0,2,4
Current State: 40:[14, 26], Operations: ['80-77=3', '78/3=26']
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[80, 78, 77, 14], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [78, 14, 3]
Generated Node #0,2: 40:[78, 14, 3] Operation: 80-77=3
Moving to Node #0,2
Current State: 40:[78, 14, 3], Operations: ['80-77=3']
Exploring Operation: 78/3=26, Resulting Numbers: [14, 26]
Generated Node #0,2,4: 40:[14, 26] Operation: 78/3=26
Moving to Node #0,2,4
Current State: 40:[14, 26], Operations: ['80-77=3', '78/3=26']
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
76,
76,
31,
16
] | 46 | [
"76/76=1",
"31+16=47",
"47-1=46"
] | Current State: 46:[76, 76, 31, 16], Operations: []
Exploring Operation: 76/76=1, Resulting Numbers: [31, 16, 1]
Generated Node #2: [31, 16, 1] from Operation: 76/76=1
Current State: 46:[31, 16, 1], Operations: ['76/76=1']
Exploring Operation: 31+16=47, Resulting Numbers: [1, 47]
Generated Node #3: [1, 47] from Operation: 31+16=47
Current State: 46:[1, 47], Operations: ['76/76=1', '31+16=47']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[76, 76, 31, 16], Operations: []
Exploring Operation: 76-31=45, Resulting Numbers: [76, 16, 45]
Generated Node #0,0: 46:[76, 16, 45] Operation: 76-31=45
Exploring Operation: 76/76=1, Resulting Numbers: [31, 16, 1]
Generated Node #0,1: 46:[31, 16, 1] Operation: 76/76=1
Exploring Operation: 76-31=45, Resulting Numbers: [76, 16, 45]
Generated Node #0,2: 46:[76, 16, 45] Operation: 76-31=45
Exploring Operation: 76-76=0, Resulting Numbers: [31, 16, 0]
Generated Node #0,3: 46:[31, 16, 0] Operation: 76-76=0
Moving to Node #0,1
Current State: 46:[31, 16, 1], Operations: ['76/76=1']
Exploring Operation: 16+1=17, Resulting Numbers: [31, 17]
Generated Node #0,1,0: 46:[31, 17] Operation: 16+1=17
Exploring Operation: 31-1=30, Resulting Numbers: [16, 30]
Generated Node #0,1,1: 46:[16, 30] Operation: 31-1=30
Exploring Operation: 31+16=47, Resulting Numbers: [1, 47]
Generated Node #0,1,2: 46:[1, 47] Operation: 31+16=47
Exploring Operation: 31-16=15, Resulting Numbers: [1, 15]
Generated Node #0,1,3: 46:[1, 15] Operation: 31-16=15
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[1, 47], Operations: ['76/76=1', '31+16=47']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[76, 76, 31, 16], Operations: []
Exploring Operation: 76/76=1, Resulting Numbers: [31, 16, 1]
Generated Node #0,1: 46:[31, 16, 1] Operation: 76/76=1
Moving to Node #0,1
Current State: 46:[31, 16, 1], Operations: ['76/76=1']
Exploring Operation: 31+16=47, Resulting Numbers: [1, 47]
Generated Node #0,1,2: 46:[1, 47] Operation: 31+16=47
Moving to Node #0,1,2
Current State: 46:[1, 47], Operations: ['76/76=1', '31+16=47']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
8,
6,
36,
82
] | 96 | [
"8+82=90",
"36/6=6",
"90+6=96"
] | Current State: 96:[8, 6, 36, 82], Operations: []
Exploring Operation: 8+82=90, Resulting Numbers: [6, 36, 90]
Generated Node #2: [6, 36, 90] from Operation: 8+82=90
Current State: 96:[6, 36, 90], Operations: ['8+82=90']
Exploring Operation: 36/6=6, Resulting Numbers: [90, 6]
Generated Node #3: [90, 6] from Operation: 36/6=6
Current State: 96:[90, 6], Operations: ['8+82=90', '36/6=6']
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[8, 6, 36, 82], Operations: []
Exploring Operation: 82-36=46, Resulting Numbers: [8, 6, 46]
Generated Node #0,0: 96:[8, 6, 46] Operation: 82-36=46
Exploring Operation: 8+82=90, Resulting Numbers: [6, 36, 90]
Generated Node #0,1: 96:[6, 36, 90] Operation: 8+82=90
Moving to Node #0,0
Current State: 96:[8, 6, 46], Operations: ['82-36=46']
Exploring Operation: 8-6=2, Resulting Numbers: [46, 2]
Generated Node #0,0,0: 96:[46, 2] Operation: 8-6=2
Exploring Operation: 8*6=48, Resulting Numbers: [46, 48]
Generated Node #0,0,1: 96:[46, 48] Operation: 8*6=48
Moving to Node #0,1
Current State: 96:[6, 36, 90], Operations: ['8+82=90']
Exploring Operation: 90/6=15, Resulting Numbers: [36, 15]
Generated Node #0,1,0: 96:[36, 15] Operation: 90/6=15
Exploring Operation: 6+90=96, Resulting Numbers: [36, 96]
Generated Node #0,1,1: 96:[36, 96] Operation: 6+90=96
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[36, 96], Operations: ['8+82=90', '6+90=96']
Exploring Operation: 36+96=132, Resulting Numbers: [132]
132,96 unequal: No Solution
Exploring Operation: 96-36=60, Resulting Numbers: [60]
60,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,0
Current State: 96:[36, 15], Operations: ['8+82=90', '90/6=15']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,96 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: 96:[46, 2], Operations: ['82-36=46', '8-6=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,96 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[46, 48], Operations: ['82-36=46', '8*6=48']
Exploring Operation: 46+48=94, Resulting Numbers: [94]
94,96 unequal: No Solution
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,96 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
11,
88,
46,
3
] | 70 | [
"88/11=8",
"3*8=24",
"46+24=70"
] | Current State: 70:[11, 88, 46, 3], Operations: []
Exploring Operation: 88/11=8, Resulting Numbers: [46, 3, 8]
Generated Node #2: [46, 3, 8] from Operation: 88/11=8
Current State: 70:[46, 3, 8], Operations: ['88/11=8']
Exploring Operation: 3*8=24, Resulting Numbers: [46, 24]
Generated Node #3: [46, 24] from Operation: 3*8=24
Current State: 70:[46, 24], Operations: ['88/11=8', '3*8=24']
Exploring Operation: 46+24=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[11, 88, 46, 3], Operations: []
Exploring Operation: 88-46=42, Resulting Numbers: [11, 3, 42]
Generated Node #0,0: 70:[11, 3, 42] Operation: 88-46=42
Exploring Operation: 88/11=8, Resulting Numbers: [46, 3, 8]
Generated Node #0,1: 70:[46, 3, 8] Operation: 88/11=8
Exploring Operation: 88-11=77, Resulting Numbers: [46, 3, 77]
Generated Node #0,2: 70:[46, 3, 77] Operation: 88-11=77
Moving to Node #0,0
Current State: 70:[11, 3, 42], Operations: ['88-46=42']
Exploring Operation: 42-11=31, Resulting Numbers: [3, 31]
Generated Node #0,0,0: 70:[3, 31] Operation: 42-11=31
Exploring Operation: 42/3=14, Resulting Numbers: [11, 14]
Generated Node #0,0,1: 70:[11, 14] Operation: 42/3=14
Exploring Operation: 42-3=39, Resulting Numbers: [11, 39]
Generated Node #0,0,2: 70:[11, 39] Operation: 42-3=39
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[11, 14], Operations: ['88-46=42', '42/3=14']
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,70 unequal: No Solution
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[3, 31], Operations: ['88-46=42', '42-11=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,70 unequal: No Solution
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,70 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 70:[11, 39], Operations: ['88-46=42', '42-3=39']
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,70 unequal: No Solution
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,70 unequal: No Solution
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,70 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: 70:[46, 3, 8], Operations: ['88/11=8']
Exploring Operation: 8-3=5, Resulting Numbers: [46, 5]
Generated Node #0,1,0: 70:[46, 5] Operation: 8-3=5
Exploring Operation: 46-3=43, Resulting Numbers: [8, 43]
Generated Node #0,1,1: 70:[8, 43] Operation: 46-3=43
Exploring Operation: 46-8=38, Resulting Numbers: [3, 38]
Generated Node #0,1,2: 70:[3, 38] Operation: 46-8=38
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[3, 38], Operations: ['88/11=8', '46-8=38']
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,70 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[8, 43], Operations: ['88/11=8', '46-3=43']
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 8+43=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 8*43=344, Resulting Numbers: [344]
344,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[46, 5], Operations: ['88/11=8', '8-3=5']
Exploring Operation: 46+5=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 46*5=230, Resulting Numbers: [230]
230,70 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: 70:[46, 3, 77], Operations: ['88-11=77']
Exploring Operation: 77-46=31, Resulting Numbers: [3, 31]
Generated Node #0,2,0: 70:[3, 31] Operation: 77-46=31
Exploring Operation: 77-3=74, Resulting Numbers: [46, 74]
Generated Node #0,2,1: 70:[46, 74] Operation: 77-3=74
Exploring Operation: 46-3=43, Resulting Numbers: [77, 43]
Generated Node #0,2,2: 70:[77, 43] Operation: 46-3=43
Moving to Node #0,2,0
Current State: 70:[3, 31], Operations: ['88-11=77', '77-46=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,70 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,70 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[46, 74], Operations: ['88-11=77', '77-3=74']
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,70 unequal: No Solution
Exploring Operation: 46+74=120, Resulting Numbers: [120]
120,70 unequal: No Solution
Exploring Operation: 46*74=3404, Resulting Numbers: [3404]
3404,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[77, 43], Operations: ['88-11=77', '46-3=43']
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 77+43=120, Resulting Numbers: [120]
120,70 unequal: No Solution
Exploring Operation: 77*43=3311, Resulting Numbers: [3311]
3311,70 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
97,
2,
56,
34
] | 86 | [
"56-34=22",
"22/2=11",
"97-11=86"
] | Current State: 86:[97, 2, 56, 34], Operations: []
Exploring Operation: 56-34=22, Resulting Numbers: [97, 2, 22]
Generated Node #2: [97, 2, 22] from Operation: 56-34=22
Current State: 86:[97, 2, 22], Operations: ['56-34=22']
Exploring Operation: 22/2=11, Resulting Numbers: [97, 11]
Generated Node #3: [97, 11] from Operation: 22/2=11
Current State: 86:[97, 11], Operations: ['56-34=22', '22/2=11']
Exploring Operation: 97-11=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[97, 2, 56, 34], Operations: []
Exploring Operation: 97-56=41, Resulting Numbers: [2, 34, 41]
Generated Node #0,0: 86:[2, 34, 41] Operation: 97-56=41
Moving to Node #0,0
Current State: 86:[2, 34, 41], Operations: ['97-56=41']
Exploring Operation: 41-34=7, Resulting Numbers: [2, 7]
Generated Node #0,0,0: 86:[2, 7] Operation: 41-34=7
Moving to Node #0,0,0
Current State: 86:[2, 7], Operations: ['97-56=41', '41-34=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,86 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
44,
62,
31,
68
] | 20 | [
"44*62=2728",
"2728/31=88",
"88-68=20"
] | Current State: 20:[44, 62, 31, 68], Operations: []
Exploring Operation: 44*62=2728, Resulting Numbers: [31, 68, 2728]
Generated Node #2: [31, 68, 2728] from Operation: 44*62=2728
Current State: 20:[31, 68, 2728], Operations: ['44*62=2728']
Exploring Operation: 2728/31=88, Resulting Numbers: [68, 88]
Generated Node #3: [68, 88] from Operation: 2728/31=88
Current State: 20:[68, 88], Operations: ['44*62=2728', '2728/31=88']
Exploring Operation: 88-68=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[44, 62, 31, 68], Operations: []
Exploring Operation: 68-44=24, Resulting Numbers: [62, 31, 24]
Generated Node #0,0: 20:[62, 31, 24] Operation: 68-44=24
Exploring Operation: 68-62=6, Resulting Numbers: [44, 31, 6]
Generated Node #0,1: 20:[44, 31, 6] Operation: 68-62=6
Moving to Node #0,1
Current State: 20:[44, 31, 6], Operations: ['68-62=6']
Exploring Operation: 44-6=38, Resulting Numbers: [31, 38]
Generated Node #0,1,0: 20:[31, 38] Operation: 44-6=38
Exploring Operation: 44-31=13, Resulting Numbers: [6, 13]
Generated Node #0,1,1: 20:[6, 13] Operation: 44-31=13
Moving to Node #0,0
Current State: 20:[62, 31, 24], Operations: ['68-44=24']
Exploring Operation: 62-31=31, Resulting Numbers: [24, 31]
Generated Node #0,0,0: 20:[24, 31] Operation: 62-31=31
Exploring Operation: 62/31=2, Resulting Numbers: [24, 2]
Generated Node #0,0,1: 20:[24, 2] Operation: 62/31=2
Moving to Node #0,1,1
Current State: 20:[6, 13], Operations: ['68-62=6', '44-31=13']
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[24, 2], Operations: ['68-44=24', '62/31=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[24, 31], Operations: ['68-44=24', '62-31=31']
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 24+31=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[31, 38], Operations: ['68-62=6', '44-6=38']
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 31+38=69, Resulting Numbers: [69]
69,20 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
48,
42,
61,
28
] | 93 | [
"48*28=1344",
"1344/42=32",
"61+32=93"
] | Current State: 93:[48, 42, 61, 28], Operations: []
Exploring Operation: 48*28=1344, Resulting Numbers: [42, 61, 1344]
Generated Node #2: [42, 61, 1344] from Operation: 48*28=1344
Current State: 93:[42, 61, 1344], Operations: ['48*28=1344']
Exploring Operation: 1344/42=32, Resulting Numbers: [61, 32]
Generated Node #3: [61, 32] from Operation: 1344/42=32
Current State: 93:[61, 32], Operations: ['48*28=1344', '1344/42=32']
Exploring Operation: 61+32=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[48, 42, 61, 28], Operations: []
Exploring Operation: 42+61=103, Resulting Numbers: [48, 28, 103]
Generated Node #0,0: 93:[48, 28, 103] Operation: 42+61=103
Exploring Operation: 48+61=109, Resulting Numbers: [42, 28, 109]
Generated Node #0,1: 93:[42, 28, 109] Operation: 48+61=109
Exploring Operation: 61-48=13, Resulting Numbers: [42, 28, 13]
Generated Node #0,2: 93:[42, 28, 13] Operation: 61-48=13
Moving to Node #0,2
Current State: 93:[42, 28, 13], Operations: ['61-48=13']
Exploring Operation: 28+13=41, Resulting Numbers: [42, 41]
Generated Node #0,2,0: 93:[42, 41] Operation: 28+13=41
Exploring Operation: 42-28=14, Resulting Numbers: [13, 14]
Generated Node #0,2,1: 93:[13, 14] Operation: 42-28=14
Exploring Operation: 42-13=29, Resulting Numbers: [28, 29]
Generated Node #0,2,2: 93:[28, 29] Operation: 42-13=29
Moving to Node #0,0
Current State: 93:[48, 28, 103], Operations: ['42+61=103']
Exploring Operation: 48+28=76, Resulting Numbers: [103, 76]
Generated Node #0,0,0: 93:[103, 76] Operation: 48+28=76
Exploring Operation: 48-28=20, Resulting Numbers: [103, 20]
Generated Node #0,0,1: 93:[103, 20] Operation: 48-28=20
Exploring Operation: 103-48=55, Resulting Numbers: [28, 55]
Generated Node #0,0,2: 93:[28, 55] Operation: 103-48=55
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[103, 20], Operations: ['42+61=103', '48-28=20']
Exploring Operation: 103+20=123, Resulting Numbers: [123]
123,93 unequal: No Solution
Exploring Operation: 103-20=83, Resulting Numbers: [83]
83,93 unequal: No Solution
Exploring Operation: 103*20=2060, Resulting Numbers: [2060]
2060,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[103, 76], Operations: ['42+61=103', '48+28=76']
Exploring Operation: 103*76=7828, Resulting Numbers: [7828]
7828,93 unequal: No Solution
Exploring Operation: 103-76=27, Resulting Numbers: [27]
27,93 unequal: No Solution
Exploring Operation: 103+76=179, Resulting Numbers: [179]
179,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[28, 55], Operations: ['42+61=103', '103-48=55']
Exploring Operation: 28*55=1540, Resulting Numbers: [1540]
1540,93 unequal: No Solution
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,93 unequal: No Solution
Exploring Operation: 28+55=83, Resulting Numbers: [83]
83,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:[42, 28, 109], Operations: ['48+61=109']
Exploring Operation: 109-42=67, Resulting Numbers: [28, 67]
Generated Node #0,1,0: 93:[28, 67] Operation: 109-42=67
Exploring Operation: 109-28=81, Resulting Numbers: [42, 81]
Generated Node #0,1,1: 93:[42, 81] Operation: 109-28=81
Exploring Operation: 42-28=14, Resulting Numbers: [109, 14]
Generated Node #0,1,2: 93:[109, 14] Operation: 42-28=14
Moving to Node #0,2,2
Current State: 93:[28, 29], Operations: ['61-48=13', '42-13=29']
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 28*29=812, Resulting Numbers: [812]
812,93 unequal: No Solution
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[13, 14], Operations: ['61-48=13', '42-28=14']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 13*14=182, Resulting Numbers: [182]
182,93 unequal: No Solution
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[42, 41], Operations: ['61-48=13', '28+13=41']
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 42*41=1722, Resulting Numbers: [1722]
1722,93 unequal: No Solution
Exploring Operation: 42+41=83, Resulting Numbers: [83]
83,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[42, 81], Operations: ['48+61=109', '109-28=81']
Exploring Operation: 42*81=3402, Resulting Numbers: [3402]
3402,93 unequal: No Solution
Exploring Operation: 81-42=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Exploring Operation: 42+81=123, Resulting Numbers: [123]
123,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[109, 14], Operations: ['48+61=109', '42-28=14']
Exploring Operation: 109*14=1526, Resulting Numbers: [1526]
1526,93 unequal: No Solution
Exploring Operation: 109-14=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 109+14=123, Resulting Numbers: [123]
123,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[28, 67], Operations: ['48+61=109', '109-42=67']
Exploring Operation: 28+67=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Exploring Operation: 28*67=1876, Resulting Numbers: [1876]
1876,93 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
32,
47,
71,
10
] | 80 | [
"32+47=79",
"79-71=8",
"10*8=80"
] | Current State: 80:[32, 47, 71, 10], Operations: []
Exploring Operation: 32+47=79, Resulting Numbers: [71, 10, 79]
Generated Node #2: [71, 10, 79] from Operation: 32+47=79
Current State: 80:[71, 10, 79], Operations: ['32+47=79']
Exploring Operation: 79-71=8, Resulting Numbers: [10, 8]
Generated Node #3: [10, 8] from Operation: 79-71=8
Current State: 80:[10, 8], Operations: ['32+47=79', '79-71=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[32, 47, 71, 10], Operations: []
Exploring Operation: 71-32=39, Resulting Numbers: [47, 10, 39]
Generated Node #0,0: 80:[47, 10, 39] Operation: 71-32=39
Moving to Node #0,0
Current State: 80:[47, 10, 39], Operations: ['71-32=39']
Exploring Operation: 47-39=8, Resulting Numbers: [10, 8]
Generated Node #0,0,0: 80:[10, 8] Operation: 47-39=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[10, 8], Operations: ['71-32=39', '47-39=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[32, 47, 71, 10], Operations: []
Exploring Operation: 71-32=39, Resulting Numbers: [47, 10, 39]
Generated Node #0,0: 80:[47, 10, 39] Operation: 71-32=39
Moving to Node #0,0
Current State: 80:[47, 10, 39], Operations: ['71-32=39']
Exploring Operation: 47-39=8, Resulting Numbers: [10, 8]
Generated Node #0,0,0: 80:[10, 8] Operation: 47-39=8
Moving to Node #0,0,0
Current State: 80:[10, 8], Operations: ['71-32=39', '47-39=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
11,
44,
77,
84
] | 59 | [
"44*84=3696",
"3696/77=48",
"11+48=59"
] | Current State: 59:[11, 44, 77, 84], Operations: []
Exploring Operation: 44*84=3696, Resulting Numbers: [11, 77, 3696]
Generated Node #2: [11, 77, 3696] from Operation: 44*84=3696
Current State: 59:[11, 77, 3696], Operations: ['44*84=3696']
Exploring Operation: 3696/77=48, Resulting Numbers: [11, 48]
Generated Node #3: [11, 48] from Operation: 3696/77=48
Current State: 59:[11, 48], Operations: ['44*84=3696', '3696/77=48']
Exploring Operation: 11+48=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[11, 44, 77, 84], Operations: []
Exploring Operation: 77-11=66, Resulting Numbers: [44, 84, 66]
Generated Node #0,0: 59:[44, 84, 66] Operation: 77-11=66
Exploring Operation: 11+44=55, Resulting Numbers: [77, 84, 55]
Generated Node #0,1: 59:[77, 84, 55] Operation: 11+44=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[44, 84, 66], Operations: ['77-11=66']
Exploring Operation: 84-66=18, Resulting Numbers: [44, 18]
Generated Node #0,0,0: 59:[44, 18] Operation: 84-66=18
Exploring Operation: 84-44=40, Resulting Numbers: [66, 40]
Generated Node #0,0,1: 59:[66, 40] Operation: 84-44=40
Moving to Node #0,0,1
Current State: 59:[66, 40], Operations: ['77-11=66', '84-44=40']
Exploring Operation: 66-40=26, Resulting Numbers: [26]
26,59 unequal: No Solution
Exploring Operation: 66+40=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[44, 18], Operations: ['77-11=66', '84-66=18']
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,59 unequal: No Solution
Exploring Operation: 44+18=62, Resulting Numbers: [62]
62,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[77, 84, 55], Operations: ['11+44=55']
Exploring Operation: 84-55=29, Resulting Numbers: [77, 29]
Generated Node #0,1,0: 59:[77, 29] Operation: 84-55=29
Exploring Operation: 84-77=7, Resulting Numbers: [55, 7]
Generated Node #0,1,1: 59:[55, 7] Operation: 84-77=7
Moving to Node #0,1,0
Current State: 59:[77, 29], Operations: ['11+44=55', '84-55=29']
Exploring Operation: 77-29=48, Resulting Numbers: [48]
48,59 unequal: No Solution
Exploring Operation: 77+29=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[55, 7], Operations: ['11+44=55', '84-77=7']
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,59 unequal: No Solution
Exploring Operation: 55+7=62, Resulting Numbers: [62]
62,59 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 |
[
16,
27,
3,
30
] | 23 | [
"30-16=14",
"27/3=9",
"14+9=23"
] | Current State: 23:[16, 27, 3, 30], Operations: []
Exploring Operation: 30-16=14, Resulting Numbers: [27, 3, 14]
Generated Node #2: [27, 3, 14] from Operation: 30-16=14
Current State: 23:[27, 3, 14], Operations: ['30-16=14']
Exploring Operation: 27/3=9, Resulting Numbers: [14, 9]
Generated Node #3: [14, 9] from Operation: 27/3=9
Current State: 23:[14, 9], Operations: ['30-16=14', '27/3=9']
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[16, 27, 3, 30], Operations: []
Exploring Operation: 16+3=19, Resulting Numbers: [27, 30, 19]
Generated Node #0,0: 23:[27, 30, 19] Operation: 16+3=19
Exploring Operation: 30-3=27, Resulting Numbers: [16, 27, 27]
Generated Node #0,1: 23:[16, 27, 27] Operation: 30-3=27
Exploring Operation: 27-3=24, Resulting Numbers: [16, 30, 24]
Generated Node #0,2: 23:[16, 30, 24] Operation: 27-3=24
Moving to Node #0,0
Current State: 23:[27, 30, 19], Operations: ['16+3=19']
Exploring Operation: 30-19=11, Resulting Numbers: [27, 11]
Generated Node #0,0,0: 23:[27, 11] Operation: 30-19=11
Exploring Operation: 30-27=3, Resulting Numbers: [19, 3]
Generated Node #0,0,1: 23:[19, 3] Operation: 30-27=3
Exploring Operation: 27-19=8, Resulting Numbers: [30, 8]
Generated Node #0,0,2: 23:[30, 8] Operation: 27-19=8
Moving to Node #0,1
Current State: 23:[16, 27, 27], Operations: ['30-3=27']
Exploring Operation: 27-16=11, Resulting Numbers: [27, 11]
Generated Node #0,1,0: 23:[27, 11] Operation: 27-16=11
Exploring Operation: 27-16=11, Resulting Numbers: [27, 11]
Generated Node #0,1,1: 23:[27, 11] Operation: 27-16=11
Exploring Operation: 16+27=43, Resulting Numbers: [27, 43]
Generated Node #0,1,2: 23:[27, 43] Operation: 16+27=43
Moving to Node #0,2
Current State: 23:[16, 30, 24], Operations: ['27-3=24']
Exploring Operation: 30-16=14, Resulting Numbers: [24, 14]
Generated Node #0,2,0: 23:[24, 14] Operation: 30-16=14
Exploring Operation: 24-16=8, Resulting Numbers: [30, 8]
Generated Node #0,2,1: 23:[30, 8] Operation: 24-16=8
Exploring Operation: 16+30=46, Resulting Numbers: [24, 46]
Generated Node #0,2,2: 23:[24, 46] Operation: 16+30=46
Moving to Node #0,2,0
Current State: 23:[24, 14], Operations: ['27-3=24', '30-16=14']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 24*14=336, Resulting Numbers: [336]
336,23 unequal: No Solution
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[27, 11], Operations: ['16+3=19', '30-19=11']
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 27*11=297, Resulting Numbers: [297]
297,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[27, 11], Operations: ['30-3=27', '27-16=11']
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 27*11=297, Resulting Numbers: [297]
297,23 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[27, 11], Operations: ['30-3=27', '27-16=11']
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 27*11=297, Resulting Numbers: [297]
297,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[30, 8], Operations: ['27-3=24', '24-16=8']
Exploring Operation: 30*8=240, Resulting Numbers: [240]
240,23 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[30, 8], Operations: ['16+3=19', '27-19=8']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 30*8=240, Resulting Numbers: [240]
240,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[19, 3], Operations: ['16+3=19', '30-27=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[27, 43], Operations: ['30-3=27', '16+27=43']
Exploring Operation: 27+43=70, Resulting Numbers: [70]
70,23 unequal: No Solution
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 27*43=1161, Resulting Numbers: [1161]
1161,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[24, 46], Operations: ['27-3=24', '16+30=46']
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 24+46=70, Resulting Numbers: [70]
70,23 unequal: No Solution
Exploring Operation: 24*46=1104, Resulting Numbers: [1104]
1104,23 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
58,
30,
26,
21
] | 83 | [
"58+30=88",
"26-21=5",
"88-5=83"
] | Current State: 83:[58, 30, 26, 21], Operations: []
Exploring Operation: 58+30=88, Resulting Numbers: [26, 21, 88]
Generated Node #2: [26, 21, 88] from Operation: 58+30=88
Current State: 83:[26, 21, 88], Operations: ['58+30=88']
Exploring Operation: 26-21=5, Resulting Numbers: [88, 5]
Generated Node #3: [88, 5] from Operation: 26-21=5
Current State: 83:[88, 5], Operations: ['58+30=88', '26-21=5']
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[58, 30, 26, 21], Operations: []
Exploring Operation: 26+21=47, Resulting Numbers: [58, 30, 47]
Generated Node #0,0: 83:[58, 30, 47] Operation: 26+21=47
Exploring Operation: 30+26=56, Resulting Numbers: [58, 21, 56]
Generated Node #0,1: 83:[58, 21, 56] Operation: 30+26=56
Exploring Operation: 58+21=79, Resulting Numbers: [30, 26, 79]
Generated Node #0,2: 83:[30, 26, 79] Operation: 58+21=79
Exploring Operation: 30+21=51, Resulting Numbers: [58, 26, 51]
Generated Node #0,3: 83:[58, 26, 51] Operation: 30+21=51
Moving to Node #0,0
Current State: 83:[58, 30, 47], Operations: ['26+21=47']
Exploring Operation: 58+47=105, Resulting Numbers: [30, 105]
Generated Node #0,0,0: 83:[30, 105] Operation: 58+47=105
Exploring Operation: 30+47=77, Resulting Numbers: [58, 77]
Generated Node #0,0,1: 83:[58, 77] Operation: 30+47=77
Exploring Operation: 58+30=88, Resulting Numbers: [47, 88]
Generated Node #0,0,2: 83:[47, 88] Operation: 58+30=88
Exploring Operation: 58-30=28, Resulting Numbers: [47, 28]
Generated Node #0,0,3: 83:[47, 28] Operation: 58-30=28
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[58, 77], Operations: ['26+21=47', '30+47=77']
Exploring Operation: 77-58=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Exploring Operation: 58*77=4466, Resulting Numbers: [4466]
4466,83 unequal: No Solution
Exploring Operation: 58+77=135, Resulting Numbers: [135]
135,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[47, 88], Operations: ['26+21=47', '58+30=88']
Exploring Operation: 47+88=135, Resulting Numbers: [135]
135,83 unequal: No Solution
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,83 unequal: No Solution
Exploring Operation: 47*88=4136, Resulting Numbers: [4136]
4136,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[30, 105], Operations: ['26+21=47', '58+47=105']
Exploring Operation: 30*105=3150, Resulting Numbers: [3150]
3150,83 unequal: No Solution
Exploring Operation: 30+105=135, Resulting Numbers: [135]
135,83 unequal: No Solution
Exploring Operation: 105-30=75, Resulting Numbers: [75]
75,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[47, 28], Operations: ['26+21=47', '58-30=28']
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Exploring Operation: 47+28=75, Resulting Numbers: [75]
75,83 unequal: No Solution
Exploring Operation: 47*28=1316, Resulting Numbers: [1316]
1316,83 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: 83:[30, 26, 79], Operations: ['58+21=79']
Exploring Operation: 26+79=105, Resulting Numbers: [30, 105]
Generated Node #0,2,0: 83:[30, 105] Operation: 26+79=105
Exploring Operation: 30+79=109, Resulting Numbers: [26, 109]
Generated Node #0,2,1: 83:[26, 109] Operation: 30+79=109
Exploring Operation: 30-26=4, Resulting Numbers: [79, 4]
Generated Node #0,2,2: 83:[79, 4] Operation: 30-26=4
Exploring Operation: 30+26=56, Resulting Numbers: [79, 56]
Generated Node #0,2,3: 83:[79, 56] Operation: 30+26=56
Moving to Node #0,1
Current State: 83:[58, 21, 56], Operations: ['30+26=56']
Exploring Operation: 58+21=79, Resulting Numbers: [56, 79]
Generated Node #0,1,0: 83:[56, 79] Operation: 58+21=79
Exploring Operation: 21+56=77, Resulting Numbers: [58, 77]
Generated Node #0,1,1: 83:[58, 77] Operation: 21+56=77
Exploring Operation: 56-21=35, Resulting Numbers: [58, 35]
Generated Node #0,1,2: 83:[58, 35] Operation: 56-21=35
Exploring Operation: 58-21=37, Resulting Numbers: [56, 37]
Generated Node #0,1,3: 83:[56, 37] Operation: 58-21=37
Moving to Node #0,3
Current State: 83:[58, 26, 51], Operations: ['30+21=51']
Exploring Operation: 58-26=32, Resulting Numbers: [51, 32]
Generated Node #0,3,0: 83:[51, 32] Operation: 58-26=32
Exploring Operation: 26+51=77, Resulting Numbers: [58, 77]
Generated Node #0,3,1: 83:[58, 77] Operation: 26+51=77
Exploring Operation: 58+51=109, Resulting Numbers: [26, 109]
Generated Node #0,3,2: 83:[26, 109] Operation: 58+51=109
Exploring Operation: 58+26=84, Resulting Numbers: [51, 84]
Generated Node #0,3,3: 83:[51, 84] Operation: 58+26=84
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 83:[58, 77], Operations: ['30+21=51', '26+51=77']
Exploring Operation: 77-58=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Exploring Operation: 58*77=4466, Resulting Numbers: [4466]
4466,83 unequal: No Solution
Exploring Operation: 58+77=135, Resulting Numbers: [135]
135,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 83:[51, 84], Operations: ['30+21=51', '58+26=84']
Exploring Operation: 51+84=135, Resulting Numbers: [135]
135,83 unequal: No Solution
Exploring Operation: 84-51=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 51*84=4284, Resulting Numbers: [4284]
4284,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 83:[51, 32], Operations: ['30+21=51', '58-26=32']
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[58, 30, 26, 21], Operations: []
Exploring Operation: 30+21=51, Resulting Numbers: [58, 26, 51]
Generated Node #0,3: 83:[58, 26, 51] Operation: 30+21=51
Moving to Node #0,3
Current State: 83:[58, 26, 51], Operations: ['30+21=51']
Exploring Operation: 58-26=32, Resulting Numbers: [51, 32]
Generated Node #0,3,0: 83:[51, 32] Operation: 58-26=32
Moving to Node #0,3,0
Current State: 83:[51, 32], Operations: ['30+21=51', '58-26=32']
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_4 | mult_heuristic |
[
71,
30,
68,
45
] | 45 | [
"71-68=3",
"45-30=15",
"3*15=45"
] | Current State: 45:[71, 30, 68, 45], Operations: []
Exploring Operation: 71-68=3, Resulting Numbers: [30, 45, 3]
Generated Node #2: [30, 45, 3] from Operation: 71-68=3
Current State: 45:[30, 45, 3], Operations: ['71-68=3']
Exploring Operation: 45-30=15, Resulting Numbers: [3, 15]
Generated Node #3: [3, 15] from Operation: 45-30=15
Current State: 45:[3, 15], Operations: ['71-68=3', '45-30=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[71, 30, 68, 45], Operations: []
Exploring Operation: 71-68=3, Resulting Numbers: [30, 45, 3]
Generated Node #0,0: 45:[30, 45, 3] Operation: 71-68=3
Exploring Operation: 71-30=41, Resulting Numbers: [68, 45, 41]
Generated Node #0,1: 45:[68, 45, 41] Operation: 71-30=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[30, 45, 3], Operations: ['71-68=3']
Exploring Operation: 30/3=10, Resulting Numbers: [45, 10]
Generated Node #0,0,0: 45:[45, 10] Operation: 30/3=10
Exploring Operation: 45-30=15, Resulting Numbers: [3, 15]
Generated Node #0,0,1: 45:[3, 15] Operation: 45-30=15
Moving to Node #0,0,1
Current State: 45:[3, 15], Operations: ['71-68=3', '45-30=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[71, 30, 68, 45], Operations: []
Exploring Operation: 71-68=3, Resulting Numbers: [30, 45, 3]
Generated Node #0,0: 45:[30, 45, 3] Operation: 71-68=3
Moving to Node #0,0
Current State: 45:[30, 45, 3], Operations: ['71-68=3']
Exploring Operation: 45-30=15, Resulting Numbers: [3, 15]
Generated Node #0,0,1: 45:[3, 15] Operation: 45-30=15
Moving to Node #0,0,1
Current State: 45:[3, 15], Operations: ['71-68=3', '45-30=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
32,
6,
97,
3
] | 47 | [
"97-32=65",
"6*3=18",
"65-18=47"
] | Current State: 47:[32, 6, 97, 3], Operations: []
Exploring Operation: 97-32=65, Resulting Numbers: [6, 3, 65]
Generated Node #2: [6, 3, 65] from Operation: 97-32=65
Current State: 47:[6, 3, 65], Operations: ['97-32=65']
Exploring Operation: 6*3=18, Resulting Numbers: [65, 18]
Generated Node #3: [65, 18] from Operation: 6*3=18
Current State: 47:[65, 18], Operations: ['97-32=65', '6*3=18']
Exploring Operation: 65-18=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[32, 6, 97, 3], Operations: []
Exploring Operation: 32+6=38, Resulting Numbers: [97, 3, 38]
Generated Node #0,0: 47:[97, 3, 38] Operation: 32+6=38
Exploring Operation: 97-32=65, Resulting Numbers: [6, 3, 65]
Generated Node #0,1: 47:[6, 3, 65] Operation: 97-32=65
Exploring Operation: 6*3=18, Resulting Numbers: [32, 97, 18]
Generated Node #0,2: 47:[32, 97, 18] Operation: 6*3=18
Moving to Node #0,2
Current State: 47:[32, 97, 18], Operations: ['6*3=18']
Exploring Operation: 97-32=65, Resulting Numbers: [18, 65]
Generated Node #0,2,0: 47:[18, 65] Operation: 97-32=65
Exploring Operation: 32+18=50, Resulting Numbers: [97, 50]
Generated Node #0,2,1: 47:[97, 50] Operation: 32+18=50
Exploring Operation: 97-18=79, Resulting Numbers: [32, 79]
Generated Node #0,2,2: 47:[32, 79] Operation: 97-18=79
Moving to Node #0,0
Current State: 47:[97, 3, 38], Operations: ['32+6=38']
Exploring Operation: 97-3=94, Resulting Numbers: [38, 94]
Generated Node #0,0,0: 47:[38, 94] Operation: 97-3=94
Exploring Operation: 3+38=41, Resulting Numbers: [97, 41]
Generated Node #0,0,1: 47:[97, 41] Operation: 3+38=41
Exploring Operation: 97-38=59, Resulting Numbers: [3, 59]
Generated Node #0,0,2: 47:[3, 59] Operation: 97-38=59
Moving to Node #0,1
Current State: 47:[6, 3, 65], Operations: ['97-32=65']
Exploring Operation: 65-6=59, Resulting Numbers: [3, 59]
Generated Node #0,1,0: 47:[3, 59] Operation: 65-6=59
Exploring Operation: 6+3=9, Resulting Numbers: [65, 9]
Generated Node #0,1,1: 47:[65, 9] Operation: 6+3=9
Exploring Operation: 6*3=18, Resulting Numbers: [65, 18]
Generated Node #0,1,2: 47:[65, 18] Operation: 6*3=18
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 47:[65, 18], Operations: ['97-32=65', '6*3=18']
Exploring Operation: 65-18=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[32, 6, 97, 3], Operations: []
Exploring Operation: 97-32=65, Resulting Numbers: [6, 3, 65]
Generated Node #0,1: 47:[6, 3, 65] Operation: 97-32=65
Moving to Node #0,1
Current State: 47:[6, 3, 65], Operations: ['97-32=65']
Exploring Operation: 6*3=18, Resulting Numbers: [65, 18]
Generated Node #0,1,2: 47:[65, 18] Operation: 6*3=18
Moving to Node #0,1,2
Current State: 47:[65, 18], Operations: ['97-32=65', '6*3=18']
Exploring Operation: 65-18=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
27,
58,
47,
44
] | 34 | [
"58-27=31",
"47-44=3",
"31+3=34"
] | Current State: 34:[27, 58, 47, 44], Operations: []
Exploring Operation: 58-27=31, Resulting Numbers: [47, 44, 31]
Generated Node #2: [47, 44, 31] from Operation: 58-27=31
Current State: 34:[47, 44, 31], Operations: ['58-27=31']
Exploring Operation: 47-44=3, Resulting Numbers: [31, 3]
Generated Node #3: [31, 3] from Operation: 47-44=3
Current State: 34:[31, 3], Operations: ['58-27=31', '47-44=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[27, 58, 47, 44], Operations: []
Exploring Operation: 58-47=11, Resulting Numbers: [27, 44, 11]
Generated Node #0,0: 34:[27, 44, 11] Operation: 58-47=11
Exploring Operation: 58-27=31, Resulting Numbers: [47, 44, 31]
Generated Node #0,1: 34:[47, 44, 31] Operation: 58-27=31
Exploring Operation: 58-44=14, Resulting Numbers: [27, 47, 14]
Generated Node #0,2: 34:[27, 47, 14] Operation: 58-44=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[27, 44, 11], Operations: ['58-47=11']
Exploring Operation: 44-11=33, Resulting Numbers: [27, 33]
Generated Node #0,0,0: 34:[27, 33] Operation: 44-11=33
Exploring Operation: 44-27=17, Resulting Numbers: [11, 17]
Generated Node #0,0,1: 34:[11, 17] Operation: 44-27=17
Exploring Operation: 44/11=4, Resulting Numbers: [27, 4]
Generated Node #0,0,2: 34:[27, 4] Operation: 44/11=4
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[11, 17], Operations: ['58-47=11', '44-27=17']
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,34 unequal: No Solution
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[27, 33], Operations: ['58-47=11', '44-11=33']
Exploring Operation: 27+33=60, Resulting Numbers: [60]
60,34 unequal: No Solution
Exploring Operation: 27*33=891, Resulting Numbers: [891]
891,34 unequal: No Solution
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 34:[27, 4], Operations: ['58-47=11', '44/11=4']
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,34 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[27, 47, 14], Operations: ['58-44=14']
Exploring Operation: 27-14=13, Resulting Numbers: [47, 13]
Generated Node #0,2,0: 34:[47, 13] Operation: 27-14=13
Exploring Operation: 47-27=20, Resulting Numbers: [14, 20]
Generated Node #0,2,1: 34:[14, 20] Operation: 47-27=20
Exploring Operation: 47-14=33, Resulting Numbers: [27, 33]
Generated Node #0,2,2: 34:[27, 33] Operation: 47-14=33
Moving to Node #0,2,1
Current State: 34:[14, 20], Operations: ['58-44=14', '47-27=20']
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[27, 58, 47, 44], Operations: []
Exploring Operation: 58-44=14, Resulting Numbers: [27, 47, 14]
Generated Node #0,2: 34:[27, 47, 14] Operation: 58-44=14
Moving to Node #0,2
Current State: 34:[27, 47, 14], Operations: ['58-44=14']
Exploring Operation: 47-27=20, Resulting Numbers: [14, 20]
Generated Node #0,2,1: 34:[14, 20] Operation: 47-27=20
Moving to Node #0,2,1
Current State: 34:[14, 20], Operations: ['58-44=14', '47-27=20']
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
14,
2,
75,
62
] | 92 | [
"75-14=61",
"62/2=31",
"61+31=92"
] | Current State: 92:[14, 2, 75, 62], Operations: []
Exploring Operation: 75-14=61, Resulting Numbers: [2, 62, 61]
Generated Node #2: [2, 62, 61] from Operation: 75-14=61
Current State: 92:[2, 62, 61], Operations: ['75-14=61']
Exploring Operation: 62/2=31, Resulting Numbers: [61, 31]
Generated Node #3: [61, 31] from Operation: 62/2=31
Current State: 92:[61, 31], Operations: ['75-14=61', '62/2=31']
Exploring Operation: 61+31=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[14, 2, 75, 62], Operations: []
Exploring Operation: 75-62=13, Resulting Numbers: [14, 2, 13]
Generated Node #0,0: 92:[14, 2, 13] Operation: 75-62=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[14, 2, 13], Operations: ['75-62=13']
Exploring Operation: 14-13=1, Resulting Numbers: [2, 1]
Generated Node #0,0,0: 92:[2, 1] Operation: 14-13=1
Moving to Node #0,0,0
Current State: 92:[2, 1], Operations: ['75-62=13', '14-13=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,92 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 |
[
10,
42,
53,
77
] | 76 | [
"10+42=52",
"77-53=24",
"52+24=76"
] | Current State: 76:[10, 42, 53, 77], Operations: []
Exploring Operation: 10+42=52, Resulting Numbers: [53, 77, 52]
Generated Node #2: [53, 77, 52] from Operation: 10+42=52
Current State: 76:[53, 77, 52], Operations: ['10+42=52']
Exploring Operation: 77-53=24, Resulting Numbers: [52, 24]
Generated Node #3: [52, 24] from Operation: 77-53=24
Current State: 76:[52, 24], Operations: ['10+42=52', '77-53=24']
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[10, 42, 53, 77], Operations: []
Exploring Operation: 53-10=43, Resulting Numbers: [42, 77, 43]
Generated Node #0,0: 76:[42, 77, 43] Operation: 53-10=43
Exploring Operation: 77-53=24, Resulting Numbers: [10, 42, 24]
Generated Node #0,1: 76:[10, 42, 24] Operation: 77-53=24
Exploring Operation: 10+53=63, Resulting Numbers: [42, 77, 63]
Generated Node #0,2: 76:[42, 77, 63] Operation: 10+53=63
Exploring Operation: 53-42=11, Resulting Numbers: [10, 77, 11]
Generated Node #0,3: 76:[10, 77, 11] Operation: 53-42=11
Moving to Node #0,0
Current State: 76:[42, 77, 43], Operations: ['53-10=43']
Exploring Operation: 43-42=1, Resulting Numbers: [77, 1]
Generated Node #0,0,0: 76:[77, 1] Operation: 43-42=1
Exploring Operation: 42+43=85, Resulting Numbers: [77, 85]
Generated Node #0,0,1: 76:[77, 85] Operation: 42+43=85
Exploring Operation: 77-43=34, Resulting Numbers: [42, 34]
Generated Node #0,0,2: 76:[42, 34] Operation: 77-43=34
Exploring Operation: 77-42=35, Resulting Numbers: [43, 35]
Generated Node #0,0,3: 76:[43, 35] Operation: 77-42=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[77, 1], Operations: ['53-10=43', '43-42=1']
Exploring Operation: 77+1=78, Resulting Numbers: [78]
78,76 unequal: No Solution
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,76 unequal: No Solution
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[10, 42, 53, 77], Operations: []
Exploring Operation: 53-10=43, Resulting Numbers: [42, 77, 43]
Generated Node #0,0: 76:[42, 77, 43] Operation: 53-10=43
Moving to Node #0,0
Current State: 76:[42, 77, 43], Operations: ['53-10=43']
Exploring Operation: 43-42=1, Resulting Numbers: [77, 1]
Generated Node #0,0,0: 76:[77, 1] Operation: 43-42=1
Moving to Node #0,0,0
Current State: 76:[77, 1], Operations: ['53-10=43', '43-42=1']
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
20,
20,
25,
18
] | 90 | [
"20+25=45",
"20-18=2",
"45*2=90"
] | Current State: 90:[20, 20, 25, 18], Operations: []
Exploring Operation: 20+25=45, Resulting Numbers: [18, 45]
Generated Node #2: [18, 45] from Operation: 20+25=45
Current State: 90:[18, 45], Operations: ['20+25=45']
Exploring Operation: 20-18=2, Resulting Numbers: [45, 2]
Generated Node #3: [45, 2] from Operation: 20-18=2
Current State: 90:[45, 2], Operations: ['20+25=45', '20-18=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[20, 20, 25, 18], Operations: []
Exploring Operation: 20+25=45, Resulting Numbers: [20, 18, 45]
Generated Node #0,0: 90:[20, 18, 45] Operation: 20+25=45
Exploring Operation: 20+25=45, Resulting Numbers: [20, 18, 45]
Generated Node #0,1: 90:[20, 18, 45] Operation: 20+25=45
Exploring Operation: 25-20=5, Resulting Numbers: [20, 18, 5]
Generated Node #0,2: 90:[20, 18, 5] Operation: 25-20=5
Exploring Operation: 25-20=5, Resulting Numbers: [20, 18, 5]
Generated Node #0,3: 90:[20, 18, 5] Operation: 25-20=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[20, 18, 45], Operations: ['20+25=45']
Exploring Operation: 20-18=2, Resulting Numbers: [45, 2]
Generated Node #0,0,0: 90:[45, 2] Operation: 20-18=2
Exploring Operation: 45-20=25, Resulting Numbers: [18, 25]
Generated Node #0,0,1: 90:[18, 25] Operation: 45-20=25
Exploring Operation: 20+18=38, Resulting Numbers: [45, 38]
Generated Node #0,0,2: 90:[45, 38] Operation: 20+18=38
Exploring Operation: 45-18=27, Resulting Numbers: [20, 27]
Generated Node #0,0,3: 90:[20, 27] Operation: 45-18=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[45, 2], Operations: ['20+25=45', '20-18=2']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[20, 20, 25, 18], Operations: []
Exploring Operation: 20+25=45, Resulting Numbers: [20, 18, 45]
Generated Node #0,0: 90:[20, 18, 45] Operation: 20+25=45
Moving to Node #0,0
Current State: 90:[20, 18, 45], Operations: ['20+25=45']
Exploring Operation: 20-18=2, Resulting Numbers: [45, 2]
Generated Node #0,0,0: 90:[45, 2] Operation: 20-18=2
Moving to Node #0,0,0
Current State: 90:[45, 2], Operations: ['20+25=45', '20-18=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
62,
1,
10,
3
] | 48 | [
"62-1=61",
"10+3=13",
"61-13=48"
] | Current State: 48:[62, 1, 10, 3], Operations: []
Exploring Operation: 62-1=61, Resulting Numbers: [10, 3, 61]
Generated Node #2: [10, 3, 61] from Operation: 62-1=61
Current State: 48:[10, 3, 61], Operations: ['62-1=61']
Exploring Operation: 10+3=13, Resulting Numbers: [61, 13]
Generated Node #3: [61, 13] from Operation: 10+3=13
Current State: 48:[61, 13], Operations: ['62-1=61', '10+3=13']
Exploring Operation: 61-13=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[62, 1, 10, 3], Operations: []
Exploring Operation: 62-10=52, Resulting Numbers: [1, 3, 52]
Generated Node #0,0: 48:[1, 3, 52] Operation: 62-10=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[1, 3, 52], Operations: ['62-10=52']
Exploring Operation: 52-3=49, Resulting Numbers: [1, 49]
Generated Node #0,0,0: 48:[1, 49] Operation: 52-3=49
Moving to Node #0,0,0
Current State: 48:[1, 49], Operations: ['62-10=52', '52-3=49']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[62, 1, 10, 3], Operations: []
Exploring Operation: 62-10=52, Resulting Numbers: [1, 3, 52]
Generated Node #0,0: 48:[1, 3, 52] Operation: 62-10=52
Moving to Node #0,0
Current State: 48:[1, 3, 52], Operations: ['62-10=52']
Exploring Operation: 52-3=49, Resulting Numbers: [1, 49]
Generated Node #0,0,0: 48:[1, 49] Operation: 52-3=49
Moving to Node #0,0,0
Current State: 48:[1, 49], Operations: ['62-10=52', '52-3=49']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
3,
2,
79,
84
] | 69 | [
"3*79=237",
"2*84=168",
"237-168=69"
] | Current State: 69:[3, 2, 79, 84], Operations: []
Exploring Operation: 3*79=237, Resulting Numbers: [2, 84, 237]
Generated Node #2: [2, 84, 237] from Operation: 3*79=237
Current State: 69:[2, 84, 237], Operations: ['3*79=237']
Exploring Operation: 2*84=168, Resulting Numbers: [237, 168]
Generated Node #3: [237, 168] from Operation: 2*84=168
Current State: 69:[237, 168], Operations: ['3*79=237', '2*84=168']
Exploring Operation: 237-168=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[3, 2, 79, 84], Operations: []
Exploring Operation: 84/3=28, Resulting Numbers: [2, 79, 28]
Generated Node #0,0: 69:[2, 79, 28] Operation: 84/3=28
Exploring Operation: 79-3=76, Resulting Numbers: [2, 84, 76]
Generated Node #0,1: 69:[2, 84, 76] Operation: 79-3=76
Exploring Operation: 84-79=5, Resulting Numbers: [3, 2, 5]
Generated Node #0,2: 69:[3, 2, 5] Operation: 84-79=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[3, 2, 5], Operations: ['84-79=5']
Exploring Operation: 3+2=5, Resulting Numbers: [5, 5]
Generated Node #0,2,0: 69:[5, 5] Operation: 3+2=5
Exploring Operation: 5-3=2, Resulting Numbers: [2, 2]
Generated Node #0,2,1: 69:[2, 2] Operation: 5-3=2
Exploring Operation: 5-2=3, Resulting Numbers: [3, 3]
Generated Node #0,2,2: 69:[3, 3] Operation: 5-2=3
Moving to Node #0,2,2
Current State: 69:[3, 3], Operations: ['84-79=5', '5-2=3']
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,69 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[2, 2], Operations: ['84-79=5', '5-3=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[5, 5], Operations: ['84-79=5', '3+2=5']
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,69 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[2, 79, 28], Operations: ['84/3=28']
Exploring Operation: 28-2=26, Resulting Numbers: [79, 26]
Generated Node #0,0,0: 69:[79, 26] Operation: 28-2=26
Exploring Operation: 79-2=77, Resulting Numbers: [28, 77]
Generated Node #0,0,1: 69:[28, 77] Operation: 79-2=77
Exploring Operation: 2+79=81, Resulting Numbers: [28, 81]
Generated Node #0,0,2: 69:[28, 81] Operation: 2+79=81
Moving to Node #0,0,0
Current State: 69:[79, 26], Operations: ['84/3=28', '28-2=26']
Exploring Operation: 79+26=105, Resulting Numbers: [105]
105,69 unequal: No Solution
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,69 unequal: No Solution
Exploring Operation: 79*26=2054, Resulting Numbers: [2054]
2054,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[28, 77], Operations: ['84/3=28', '79-2=77']
Exploring Operation: 28*77=2156, Resulting Numbers: [2156]
2156,69 unequal: No Solution
Exploring Operation: 77-28=49, Resulting Numbers: [49]
49,69 unequal: No Solution
Exploring Operation: 28+77=105, Resulting Numbers: [105]
105,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[28, 81], Operations: ['84/3=28', '2+79=81']
Exploring Operation: 28+81=109, Resulting Numbers: [109]
109,69 unequal: No Solution
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,69 unequal: No Solution
Exploring Operation: 28*81=2268, Resulting Numbers: [2268]
2268,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[2, 84, 76], Operations: ['79-3=76']
Exploring Operation: 84-2=82, Resulting Numbers: [76, 82]
Generated Node #0,1,0: 69:[76, 82] Operation: 84-2=82
Exploring Operation: 76-2=74, Resulting Numbers: [84, 74]
Generated Node #0,1,1: 69:[84, 74] Operation: 76-2=74
Exploring Operation: 84-76=8, Resulting Numbers: [2, 8]
Generated Node #0,1,2: 69:[2, 8] Operation: 84-76=8
Moving to Node #0,1,2
Current State: 69:[2, 8], Operations: ['79-3=76', '84-76=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[76, 82], Operations: ['79-3=76', '84-2=82']
Exploring Operation: 82-76=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 76+82=158, Resulting Numbers: [158]
158,69 unequal: No Solution
Exploring Operation: 76*82=6232, Resulting Numbers: [6232]
6232,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[84, 74], Operations: ['79-3=76', '76-2=74']
Exploring Operation: 84+74=158, Resulting Numbers: [158]
158,69 unequal: No Solution
Exploring Operation: 84*74=6216, Resulting Numbers: [6216]
6216,69 unequal: No Solution
Exploring Operation: 84-74=10, Resulting Numbers: [10]
10,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
59,
23,
85,
96
] | 71 | [
"59+23=82",
"96-85=11",
"82-11=71"
] | Current State: 71:[59, 23, 85, 96], Operations: []
Exploring Operation: 59+23=82, Resulting Numbers: [85, 96, 82]
Generated Node #2: [85, 96, 82] from Operation: 59+23=82
Current State: 71:[85, 96, 82], Operations: ['59+23=82']
Exploring Operation: 96-85=11, Resulting Numbers: [82, 11]
Generated Node #3: [82, 11] from Operation: 96-85=11
Current State: 71:[82, 11], Operations: ['59+23=82', '96-85=11']
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[59, 23, 85, 96], Operations: []
Exploring Operation: 96-23=73, Resulting Numbers: [59, 85, 73]
Generated Node #0,0: 71:[59, 85, 73] Operation: 96-23=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[59, 85, 73], Operations: ['96-23=73']
Exploring Operation: 85-59=26, Resulting Numbers: [73, 26]
Generated Node #0,0,0: 71:[73, 26] Operation: 85-59=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[73, 26], Operations: ['96-23=73', '85-59=26']
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
41,
77,
96,
5
] | 88 | [
"96-41=55",
"55/5=11",
"77+11=88"
] | Current State: 88:[41, 77, 96, 5], Operations: []
Exploring Operation: 96-41=55, Resulting Numbers: [77, 5, 55]
Generated Node #2: [77, 5, 55] from Operation: 96-41=55
Current State: 88:[77, 5, 55], Operations: ['96-41=55']
Exploring Operation: 55/5=11, Resulting Numbers: [77, 11]
Generated Node #3: [77, 11] from Operation: 55/5=11
Current State: 88:[77, 11], Operations: ['96-41=55', '55/5=11']
Exploring Operation: 77+11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[41, 77, 96, 5], Operations: []
Exploring Operation: 96-77=19, Resulting Numbers: [41, 5, 19]
Generated Node #0,0: 88:[41, 5, 19] Operation: 96-77=19
Exploring Operation: 77-41=36, Resulting Numbers: [96, 5, 36]
Generated Node #0,1: 88:[96, 5, 36] Operation: 77-41=36
Exploring Operation: 77+5=82, Resulting Numbers: [41, 96, 82]
Generated Node #0,2: 88:[41, 96, 82] Operation: 77+5=82
Exploring Operation: 96-5=91, Resulting Numbers: [41, 77, 91]
Generated Node #0,3: 88:[41, 77, 91] Operation: 96-5=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[41, 5, 19], Operations: ['96-77=19']
Exploring Operation: 41+5=46, Resulting Numbers: [19, 46]
Generated Node #0,0,0: 88:[19, 46] Operation: 41+5=46
Exploring Operation: 19-5=14, Resulting Numbers: [41, 14]
Generated Node #0,0,1: 88:[41, 14] Operation: 19-5=14
Exploring Operation: 5+19=24, Resulting Numbers: [41, 24]
Generated Node #0,0,2: 88:[41, 24] Operation: 5+19=24
Exploring Operation: 41-19=22, Resulting Numbers: [5, 22]
Generated Node #0,0,3: 88:[5, 22] Operation: 41-19=22
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 88:[5, 22], Operations: ['96-77=19', '41-19=22']
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[19, 46], Operations: ['96-77=19', '41+5=46']
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Exploring Operation: 19+46=65, Resulting Numbers: [65]
65,88 unequal: No Solution
Exploring Operation: 19*46=874, Resulting Numbers: [874]
874,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 88:[41, 24], Operations: ['96-77=19', '5+19=24']
Exploring Operation: 41+24=65, Resulting Numbers: [65]
65,88 unequal: No Solution
Exploring Operation: 41*24=984, Resulting Numbers: [984]
984,88 unequal: No Solution
Exploring Operation: 41-24=17, Resulting Numbers: [17]
17,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[41, 14], Operations: ['96-77=19', '19-5=14']
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Exploring Operation: 41*14=574, Resulting Numbers: [574]
574,88 unequal: No Solution
Exploring Operation: 41+14=55, Resulting Numbers: [55]
55,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[96, 5, 36], Operations: ['77-41=36']
Exploring Operation: 96-36=60, Resulting Numbers: [5, 60]
Generated Node #0,1,0: 88:[5, 60] Operation: 96-36=60
Exploring Operation: 5+36=41, Resulting Numbers: [96, 41]
Generated Node #0,1,1: 88:[96, 41] Operation: 5+36=41
Exploring Operation: 36-5=31, Resulting Numbers: [96, 31]
Generated Node #0,1,2: 88:[96, 31] Operation: 36-5=31
Exploring Operation: 96-5=91, Resulting Numbers: [36, 91]
Generated Node #0,1,3: 88:[36, 91] Operation: 96-5=91
Moving to Node #0,1,1
Current State: 88:[96, 41], Operations: ['77-41=36', '5+36=41']
Exploring Operation: 96-41=55, Resulting Numbers: [55]
55,88 unequal: No Solution
Exploring Operation: 96*41=3936, Resulting Numbers: [3936]
3936,88 unequal: No Solution
Exploring Operation: 96+41=137, Resulting Numbers: [137]
137,88 unequal: No Solution
Moving to Node #0,1,3
Current State: 88:[36, 91], Operations: ['77-41=36', '96-5=91']
Exploring Operation: 36+91=127, Resulting Numbers: [127]
127,88 unequal: No Solution
Exploring Operation: 91-36=55, Resulting Numbers: [55]
55,88 unequal: No Solution
Exploring Operation: 36*91=3276, Resulting Numbers: [3276]
3276,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[96, 31], Operations: ['77-41=36', '36-5=31']
Exploring Operation: 96-31=65, Resulting Numbers: [65]
65,88 unequal: No Solution
Exploring Operation: 96*31=2976, Resulting Numbers: [2976]
2976,88 unequal: No Solution
Exploring Operation: 96+31=127, Resulting Numbers: [127]
127,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[5, 60], Operations: ['77-41=36', '96-36=60']
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,88 unequal: No Solution
Exploring Operation: 5*60=300, Resulting Numbers: [300]
300,88 unequal: No Solution
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[41, 96, 82], Operations: ['77+5=82']
Exploring Operation: 96-82=14, Resulting Numbers: [41, 14]
Generated Node #0,2,0: 88:[41, 14] Operation: 96-82=14
Exploring Operation: 82-41=41, Resulting Numbers: [96, 41]
Generated Node #0,2,1: 88:[96, 41] Operation: 82-41=41
Exploring Operation: 82/41=2, Resulting Numbers: [96, 2]
Generated Node #0,2,2: 88:[96, 2] Operation: 82/41=2
Exploring Operation: 96-41=55, Resulting Numbers: [82, 55]
Generated Node #0,2,3: 88:[82, 55] Operation: 96-41=55
Moving to Node #0,2,0
Current State: 88:[41, 14], Operations: ['77+5=82', '96-82=14']
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Exploring Operation: 41+14=55, Resulting Numbers: [55]
55,88 unequal: No Solution
Exploring Operation: 41*14=574, Resulting Numbers: [574]
574,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[96, 2], Operations: ['77+5=82', '82/41=2']
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Exploring Operation: 96*2=192, Resulting Numbers: [192]
192,88 unequal: No Solution
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,88 unequal: No Solution
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[96, 41], Operations: ['77+5=82', '82-41=41']
Exploring Operation: 96*41=3936, Resulting Numbers: [3936]
3936,88 unequal: No Solution
Exploring Operation: 96-41=55, Resulting Numbers: [55]
55,88 unequal: No Solution
Exploring Operation: 96+41=137, Resulting Numbers: [137]
137,88 unequal: No Solution
Moving to Node #0,2,3
Current State: 88:[82, 55], Operations: ['77+5=82', '96-41=55']
Exploring Operation: 82*55=4510, Resulting Numbers: [4510]
4510,88 unequal: No Solution
Exploring Operation: 82+55=137, Resulting Numbers: [137]
137,88 unequal: No Solution
Exploring Operation: 82-55=27, Resulting Numbers: [27]
27,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 88:[41, 77, 91], Operations: ['96-5=91']
Exploring Operation: 77-41=36, Resulting Numbers: [91, 36]
Generated Node #0,3,0: 88:[91, 36] Operation: 77-41=36
Exploring Operation: 91-77=14, Resulting Numbers: [41, 14]
Generated Node #0,3,1: 88:[41, 14] Operation: 91-77=14
Exploring Operation: 91-41=50, Resulting Numbers: [77, 50]
Generated Node #0,3,2: 88:[77, 50] Operation: 91-41=50
Exploring Operation: 41+77=118, Resulting Numbers: [91, 118]
Generated Node #0,3,3: 88:[91, 118] Operation: 41+77=118
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 88:[41, 14], Operations: ['96-5=91', '91-77=14']
Exploring Operation: 41*14=574, Resulting Numbers: [574]
574,88 unequal: No Solution
Exploring Operation: 41+14=55, Resulting Numbers: [55]
55,88 unequal: No Solution
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 88:[91, 36], Operations: ['96-5=91', '77-41=36']
Exploring Operation: 91*36=3276, Resulting Numbers: [3276]
3276,88 unequal: No Solution
Exploring Operation: 91+36=127, Resulting Numbers: [127]
127,88 unequal: No Solution
Exploring Operation: 91-36=55, Resulting Numbers: [55]
55,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 88:[77, 50], Operations: ['96-5=91', '91-41=50']
Exploring Operation: 77+50=127, Resulting Numbers: [127]
127,88 unequal: No Solution
Exploring Operation: 77*50=3850, Resulting Numbers: [3850]
3850,88 unequal: No Solution
Exploring Operation: 77-50=27, Resulting Numbers: [27]
27,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 88:[91, 118], Operations: ['96-5=91', '41+77=118']
Exploring Operation: 91*118=10738, Resulting Numbers: [10738]
10738,88 unequal: No Solution
Exploring Operation: 91+118=209, Resulting Numbers: [209]
209,88 unequal: No Solution
Exploring Operation: 118-91=27, Resulting Numbers: [27]
27,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
39,
13,
45,
3
] | 54 | [
"39/13=3",
"3*3=9",
"45+9=54"
] | Current State: 54:[39, 13, 45, 3], Operations: []
Exploring Operation: 39/13=3, Resulting Numbers: [45, 3, 3]
Generated Node #2: [45, 3, 3] from Operation: 39/13=3
Current State: 54:[45, 3, 3], Operations: ['39/13=3']
Exploring Operation: 3*3=9, Resulting Numbers: [45, 9]
Generated Node #3: [45, 9] from Operation: 3*3=9
Current State: 54:[45, 9], Operations: ['39/13=3', '3*3=9']
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[39, 13, 45, 3], Operations: []
Exploring Operation: 45-39=6, Resulting Numbers: [13, 3, 6]
Generated Node #0,0: 54:[13, 3, 6] Operation: 45-39=6
Exploring Operation: 39-13=26, Resulting Numbers: [45, 3, 26]
Generated Node #0,1: 54:[45, 3, 26] Operation: 39-13=26
Exploring Operation: 39/13=3, Resulting Numbers: [45, 3, 3]
Generated Node #0,2: 54:[45, 3, 3] Operation: 39/13=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[13, 3, 6], Operations: ['45-39=6']
Exploring Operation: 13+6=19, Resulting Numbers: [3, 19]
Generated Node #0,0,0: 54:[3, 19] Operation: 13+6=19
Exploring Operation: 13-6=7, Resulting Numbers: [3, 7]
Generated Node #0,0,1: 54:[3, 7] Operation: 13-6=7
Exploring Operation: 13-3=10, Resulting Numbers: [6, 10]
Generated Node #0,0,2: 54:[6, 10] Operation: 13-3=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[3, 19], Operations: ['45-39=6', '13+6=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 54:[3, 7], Operations: ['45-39=6', '13-6=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 54:[6, 10], Operations: ['45-39=6', '13-3=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[45, 3, 3], Operations: ['39/13=3']
Exploring Operation: 45/3=15, Resulting Numbers: [3, 15]
Generated Node #0,2,0: 54:[3, 15] Operation: 45/3=15
Exploring Operation: 45/3=15, Resulting Numbers: [3, 15]
Generated Node #0,2,1: 54:[3, 15] Operation: 45/3=15
Exploring Operation: 45+3=48, Resulting Numbers: [3, 48]
Generated Node #0,2,2: 54:[3, 48] Operation: 45+3=48
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 54:[3, 15], Operations: ['39/13=3', '45/3=15']
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 54:[3, 15], Operations: ['39/13=3', '45/3=15']
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 54:[3, 48], Operations: ['39/13=3', '45+3=48']
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,54 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[45, 3, 26], Operations: ['39-13=26']
Exploring Operation: 45+3=48, Resulting Numbers: [26, 48]
Generated Node #0,1,0: 54:[26, 48] Operation: 45+3=48
Exploring Operation: 45-26=19, Resulting Numbers: [3, 19]
Generated Node #0,1,1: 54:[3, 19] Operation: 45-26=19
Exploring Operation: 45/3=15, Resulting Numbers: [26, 15]
Generated Node #0,1,2: 54:[26, 15] Operation: 45/3=15
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 54:[3, 19], Operations: ['39-13=26', '45-26=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 54:[26, 15], Operations: ['39-13=26', '45/3=15']
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,54 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[26, 48], Operations: ['39-13=26', '45+3=48']
Exploring Operation: 26*48=1248, Resulting Numbers: [1248]
1248,54 unequal: No Solution
Exploring Operation: 26+48=74, Resulting Numbers: [74]
74,54 unequal: No Solution
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
5,
42,
78,
65
] | 41 | [
"42+78=120",
"120/5=24",
"65-24=41"
] | Current State: 41:[5, 42, 78, 65], Operations: []
Exploring Operation: 42+78=120, Resulting Numbers: [5, 65, 120]
Generated Node #2: [5, 65, 120] from Operation: 42+78=120
Current State: 41:[5, 65, 120], Operations: ['42+78=120']
Exploring Operation: 120/5=24, Resulting Numbers: [65, 24]
Generated Node #3: [65, 24] from Operation: 120/5=24
Current State: 41:[65, 24], Operations: ['42+78=120', '120/5=24']
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[5, 42, 78, 65], Operations: []
Exploring Operation: 78-5=73, Resulting Numbers: [42, 65, 73]
Generated Node #0,0: 41:[42, 65, 73] Operation: 78-5=73
Exploring Operation: 65-5=60, Resulting Numbers: [42, 78, 60]
Generated Node #0,1: 41:[42, 78, 60] Operation: 65-5=60
Exploring Operation: 42-5=37, Resulting Numbers: [78, 65, 37]
Generated Node #0,2: 41:[78, 65, 37] Operation: 42-5=37
Moving to Node #0,0
Current State: 41:[42, 65, 73], Operations: ['78-5=73']
Exploring Operation: 65-42=23, Resulting Numbers: [73, 23]
Generated Node #0,0,0: 41:[73, 23] Operation: 65-42=23
Exploring Operation: 73-42=31, Resulting Numbers: [65, 31]
Generated Node #0,0,1: 41:[65, 31] Operation: 73-42=31
Exploring Operation: 73-65=8, Resulting Numbers: [42, 8]
Generated Node #0,0,2: 41:[42, 8] Operation: 73-65=8
Moving to Node #0,1
Current State: 41:[42, 78, 60], Operations: ['65-5=60']
Exploring Operation: 60-42=18, Resulting Numbers: [78, 18]
Generated Node #0,1,0: 41:[78, 18] Operation: 60-42=18
Exploring Operation: 78-60=18, Resulting Numbers: [42, 18]
Generated Node #0,1,1: 41:[42, 18] Operation: 78-60=18
Exploring Operation: 78-42=36, Resulting Numbers: [60, 36]
Generated Node #0,1,2: 41:[60, 36] Operation: 78-42=36
Moving to Node #0,2
Current State: 41:[78, 65, 37], Operations: ['42-5=37']
Exploring Operation: 78-65=13, Resulting Numbers: [37, 13]
Generated Node #0,2,0: 41:[37, 13] Operation: 78-65=13
Exploring Operation: 78-37=41, Resulting Numbers: [65, 41]
Generated Node #0,2,1: 41:[65, 41] Operation: 78-37=41
Exploring Operation: 65-37=28, Resulting Numbers: [78, 28]
Generated Node #0,2,2: 41:[78, 28] Operation: 65-37=28
Moving to Node #0,1,1
Current State: 41:[42, 18], Operations: ['65-5=60', '78-60=18']
Exploring Operation: 42*18=756, Resulting Numbers: [756]
756,41 unequal: No Solution
Exploring Operation: 42+18=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[65, 41], Operations: ['42-5=37', '78-37=41']
Exploring Operation: 65*41=2665, Resulting Numbers: [2665]
2665,41 unequal: No Solution
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 65+41=106, Resulting Numbers: [106]
106,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[60, 36], Operations: ['65-5=60', '78-42=36']
Exploring Operation: 60*36=2160, Resulting Numbers: [2160]
2160,41 unequal: No Solution
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 60+36=96, Resulting Numbers: [96]
96,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[37, 13], Operations: ['42-5=37', '78-65=13']
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 37*13=481, Resulting Numbers: [481]
481,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[65, 31], Operations: ['78-5=73', '73-42=31']
Exploring Operation: 65+31=96, Resulting Numbers: [96]
96,41 unequal: No Solution
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,41 unequal: No Solution
Exploring Operation: 65*31=2015, Resulting Numbers: [2015]
2015,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[42, 8], Operations: ['78-5=73', '73-65=8']
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,41 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,41 unequal: No Solution
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[73, 23], Operations: ['78-5=73', '65-42=23']
Exploring Operation: 73+23=96, Resulting Numbers: [96]
96,41 unequal: No Solution
Exploring Operation: 73*23=1679, Resulting Numbers: [1679]
1679,41 unequal: No Solution
Exploring Operation: 73-23=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[78, 28], Operations: ['42-5=37', '65-37=28']
Exploring Operation: 78+28=106, Resulting Numbers: [106]
106,41 unequal: No Solution
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 78*28=2184, Resulting Numbers: [2184]
2184,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[78, 18], Operations: ['65-5=60', '60-42=18']
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Exploring Operation: 78+18=96, Resulting Numbers: [96]
96,41 unequal: No Solution
Exploring Operation: 78*18=1404, Resulting Numbers: [1404]
1404,41 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
52,
65,
91,
62
] | 88 | [
"52+65=117",
"91-62=29",
"117-29=88"
] | Current State: 88:[52, 65, 91, 62], Operations: []
Exploring Operation: 52+65=117, Resulting Numbers: [91, 62, 117]
Generated Node #2: [91, 62, 117] from Operation: 52+65=117
Current State: 88:[91, 62, 117], Operations: ['52+65=117']
Exploring Operation: 91-62=29, Resulting Numbers: [117, 29]
Generated Node #3: [117, 29] from Operation: 91-62=29
Current State: 88:[117, 29], Operations: ['52+65=117', '91-62=29']
Exploring Operation: 117-29=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[52, 65, 91, 62], Operations: []
Exploring Operation: 65-62=3, Resulting Numbers: [52, 91, 3]
Generated Node #0,0: 88:[52, 91, 3] Operation: 65-62=3
Exploring Operation: 62-52=10, Resulting Numbers: [65, 91, 10]
Generated Node #0,1: 88:[65, 91, 10] Operation: 62-52=10
Exploring Operation: 91-62=29, Resulting Numbers: [52, 65, 29]
Generated Node #0,2: 88:[52, 65, 29] Operation: 91-62=29
Exploring Operation: 91-65=26, Resulting Numbers: [52, 62, 26]
Generated Node #0,3: 88:[52, 62, 26] Operation: 91-65=26
Exploring Operation: 65-52=13, Resulting Numbers: [91, 62, 13]
Generated Node #0,4: 88:[91, 62, 13] Operation: 65-52=13
Moving to Node #0,0
Current State: 88:[52, 91, 3], Operations: ['65-62=3']
Exploring Operation: 52+3=55, Resulting Numbers: [91, 55]
Generated Node #0,0,0: 88:[91, 55] Operation: 52+3=55
Exploring Operation: 52-3=49, Resulting Numbers: [91, 49]
Generated Node #0,0,1: 88:[91, 49] Operation: 52-3=49
Exploring Operation: 91+3=94, Resulting Numbers: [52, 94]
Generated Node #0,0,2: 88:[52, 94] Operation: 91+3=94
Exploring Operation: 91-52=39, Resulting Numbers: [3, 39]
Generated Node #0,0,3: 88:[3, 39] Operation: 91-52=39
Exploring Operation: 91-3=88, Resulting Numbers: [52, 88]
Generated Node #0,0,4: 88:[52, 88] Operation: 91-3=88
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 88:[3, 39], Operations: ['65-62=3', '91-52=39']
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,88 unequal: No Solution
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[91, 49], Operations: ['65-62=3', '52-3=49']
Exploring Operation: 91+49=140, Resulting Numbers: [140]
140,88 unequal: No Solution
Exploring Operation: 91-49=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 91*49=4459, Resulting Numbers: [4459]
4459,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 88:[52, 88], Operations: ['65-62=3', '91-3=88']
Exploring Operation: 88-52=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Exploring Operation: 52+88=140, Resulting Numbers: [140]
140,88 unequal: No Solution
Exploring Operation: 52*88=4576, Resulting Numbers: [4576]
4576,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[91, 55], Operations: ['65-62=3', '52+3=55']
Exploring Operation: 91*55=5005, Resulting Numbers: [5005]
5005,88 unequal: No Solution
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Exploring Operation: 91+55=146, Resulting Numbers: [146]
146,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 88:[52, 94], Operations: ['65-62=3', '91+3=94']
Exploring Operation: 52+94=146, Resulting Numbers: [146]
146,88 unequal: No Solution
Exploring Operation: 52*94=4888, Resulting Numbers: [4888]
4888,88 unequal: No Solution
Exploring Operation: 94-52=42, Resulting Numbers: [42]
42,88 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: 88:[91, 62, 13], Operations: ['65-52=13']
Exploring Operation: 62-13=49, Resulting Numbers: [91, 49]
Generated Node #0,4,0: 88:[91, 49] Operation: 62-13=49
Exploring Operation: 62+13=75, Resulting Numbers: [91, 75]
Generated Node #0,4,1: 88:[91, 75] Operation: 62+13=75
Exploring Operation: 91/13=7, Resulting Numbers: [62, 7]
Generated Node #0,4,2: 88:[62, 7] Operation: 91/13=7
Exploring Operation: 91-62=29, Resulting Numbers: [13, 29]
Generated Node #0,4,3: 88:[13, 29] Operation: 91-62=29
Exploring Operation: 91-13=78, Resulting Numbers: [62, 78]
Generated Node #0,4,4: 88:[62, 78] Operation: 91-13=78
Moving to Node #0,1
Current State: 88:[65, 91, 10], Operations: ['62-52=10']
Exploring Operation: 91-65=26, Resulting Numbers: [10, 26]
Generated Node #0,1,0: 88:[10, 26] Operation: 91-65=26
Exploring Operation: 91-10=81, Resulting Numbers: [65, 81]
Generated Node #0,1,1: 88:[65, 81] Operation: 91-10=81
Exploring Operation: 91+10=101, Resulting Numbers: [65, 101]
Generated Node #0,1,2: 88:[65, 101] Operation: 91+10=101
Exploring Operation: 65+10=75, Resulting Numbers: [91, 75]
Generated Node #0,1,3: 88:[91, 75] Operation: 65+10=75
Exploring Operation: 65-10=55, Resulting Numbers: [91, 55]
Generated Node #0,1,4: 88:[91, 55] Operation: 65-10=55
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[10, 26], Operations: ['62-52=10', '91-65=26']
Exploring Operation: 10*26=260, Resulting Numbers: [260]
260,88 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 88:[91, 55], Operations: ['62-52=10', '65-10=55']
Exploring Operation: 91+55=146, Resulting Numbers: [146]
146,88 unequal: No Solution
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Exploring Operation: 91*55=5005, Resulting Numbers: [5005]
5005,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 88:[91, 75], Operations: ['62-52=10', '65+10=75']
Exploring Operation: 91*75=6825, Resulting Numbers: [6825]
6825,88 unequal: No Solution
Exploring Operation: 91-75=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 91+75=166, Resulting Numbers: [166]
166,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[65, 81], Operations: ['62-52=10', '91-10=81']
Exploring Operation: 81-65=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 65*81=5265, Resulting Numbers: [5265]
5265,88 unequal: No Solution
Exploring Operation: 65+81=146, Resulting Numbers: [146]
146,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 88:[65, 101], Operations: ['62-52=10', '91+10=101']
Exploring Operation: 65*101=6565, Resulting Numbers: [6565]
6565,88 unequal: No Solution
Exploring Operation: 101-65=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Exploring Operation: 65+101=166, Resulting Numbers: [166]
166,88 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: 88:[52, 62, 26], Operations: ['91-65=26']
Exploring Operation: 62+26=88, Resulting Numbers: [52, 88]
Generated Node #0,3,0: 88:[52, 88] Operation: 62+26=88
Exploring Operation: 52-26=26, Resulting Numbers: [62, 26]
Generated Node #0,3,1: 88:[62, 26] Operation: 52-26=26
Exploring Operation: 62-52=10, Resulting Numbers: [26, 10]
Generated Node #0,3,2: 88:[26, 10] Operation: 62-52=10
Exploring Operation: 62-26=36, Resulting Numbers: [52, 36]
Generated Node #0,3,3: 88:[52, 36] Operation: 62-26=36
Exploring Operation: 52/26=2, Resulting Numbers: [62, 2]
Generated Node #0,3,4: 88:[62, 2] Operation: 52/26=2
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 88:[26, 10], Operations: ['91-65=26', '62-52=10']
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 26*10=260, Resulting Numbers: [260]
260,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 88:[52, 88], Operations: ['91-65=26', '62+26=88']
Exploring Operation: 52*88=4576, Resulting Numbers: [4576]
4576,88 unequal: No Solution
Exploring Operation: 88-52=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Exploring Operation: 52+88=140, Resulting Numbers: [140]
140,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 88:[52, 36], Operations: ['91-65=26', '62-26=36']
Exploring Operation: 52+36=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[52, 65, 91, 62], Operations: []
Exploring Operation: 91-65=26, Resulting Numbers: [52, 62, 26]
Generated Node #0,3: 88:[52, 62, 26] Operation: 91-65=26
Moving to Node #0,3
Current State: 88:[52, 62, 26], Operations: ['91-65=26']
Exploring Operation: 62-26=36, Resulting Numbers: [52, 36]
Generated Node #0,3,3: 88:[52, 36] Operation: 62-26=36
Moving to Node #0,3,3
Current State: 88:[52, 36], Operations: ['91-65=26', '62-26=36']
Exploring Operation: 52+36=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.94184 | hs_5 | mult_heuristic |
[
58,
89,
94,
19
] | 97 | [
"58+94=152",
"152/19=8",
"89+8=97"
] | Current State: 97:[58, 89, 94, 19], Operations: []
Exploring Operation: 58+94=152, Resulting Numbers: [89, 19, 152]
Generated Node #2: [89, 19, 152] from Operation: 58+94=152
Current State: 97:[89, 19, 152], Operations: ['58+94=152']
Exploring Operation: 152/19=8, Resulting Numbers: [89, 8]
Generated Node #3: [89, 8] from Operation: 152/19=8
Current State: 97:[89, 8], Operations: ['58+94=152', '152/19=8']
Exploring Operation: 89+8=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[58, 89, 94, 19], Operations: []
Exploring Operation: 94+19=113, Resulting Numbers: [58, 89, 113]
Generated Node #0,0: 97:[58, 89, 113] Operation: 94+19=113
Exploring Operation: 89+19=108, Resulting Numbers: [58, 94, 108]
Generated Node #0,1: 97:[58, 94, 108] Operation: 89+19=108
Exploring Operation: 58+19=77, Resulting Numbers: [89, 94, 77]
Generated Node #0,2: 97:[89, 94, 77] Operation: 58+19=77
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[89, 94, 77], Operations: ['58+19=77']
Exploring Operation: 94+77=171, Resulting Numbers: [89, 171]
Generated Node #0,2,0: 97:[89, 171] Operation: 94+77=171
Exploring Operation: 89+77=166, Resulting Numbers: [94, 166]
Generated Node #0,2,1: 97:[94, 166] Operation: 89+77=166
Exploring Operation: 89-77=12, Resulting Numbers: [94, 12]
Generated Node #0,2,2: 97:[94, 12] Operation: 89-77=12
Moving to Node #0,2,1
Current State: 97:[94, 166], Operations: ['58+19=77', '89+77=166']
Exploring Operation: 94+166=260, Resulting Numbers: [260]
260,97 unequal: No Solution
Exploring Operation: 166-94=72, Resulting Numbers: [72]
72,97 unequal: No Solution
Exploring Operation: 94*166=15604, Resulting Numbers: [15604]
15604,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[89, 171], Operations: ['58+19=77', '94+77=171']
Exploring Operation: 89+171=260, Resulting Numbers: [260]
260,97 unequal: No Solution
Exploring Operation: 89*171=15219, Resulting Numbers: [15219]
15219,97 unequal: No Solution
Exploring Operation: 171-89=82, Resulting Numbers: [82]
82,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[94, 12], Operations: ['58+19=77', '89-77=12']
Exploring Operation: 94*12=1128, Resulting Numbers: [1128]
1128,97 unequal: No Solution
Exploring Operation: 94+12=106, Resulting Numbers: [106]
106,97 unequal: No Solution
Exploring Operation: 94-12=82, Resulting Numbers: [82]
82,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[58, 94, 108], Operations: ['89+19=108']
Exploring Operation: 58+94=152, Resulting Numbers: [108, 152]
Generated Node #0,1,0: 97:[108, 152] Operation: 58+94=152
Exploring Operation: 108-58=50, Resulting Numbers: [94, 50]
Generated Node #0,1,1: 97:[94, 50] Operation: 108-58=50
Exploring Operation: 94-58=36, Resulting Numbers: [108, 36]
Generated Node #0,1,2: 97:[108, 36] Operation: 94-58=36
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[94, 50], Operations: ['89+19=108', '108-58=50']
Exploring Operation: 94*50=4700, Resulting Numbers: [4700]
4700,97 unequal: No Solution
Exploring Operation: 94-50=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 94+50=144, Resulting Numbers: [144]
144,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[108, 152], Operations: ['89+19=108', '58+94=152']
Exploring Operation: 108*152=16416, Resulting Numbers: [16416]
16416,97 unequal: No Solution
Exploring Operation: 108+152=260, Resulting Numbers: [260]
260,97 unequal: No Solution
Exploring Operation: 152-108=44, Resulting Numbers: [44]
44,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 97:[108, 36], Operations: ['89+19=108', '94-58=36']
Exploring Operation: 108+36=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Exploring Operation: 108-36=72, Resulting Numbers: [72]
72,97 unequal: No Solution
Exploring Operation: 108/36=3, Resulting Numbers: [3]
3,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[58, 89, 113], Operations: ['94+19=113']
Exploring Operation: 89-58=31, Resulting Numbers: [113, 31]
Generated Node #0,0,0: 97:[113, 31] Operation: 89-58=31
Exploring Operation: 113-58=55, Resulting Numbers: [89, 55]
Generated Node #0,0,1: 97:[89, 55] Operation: 113-58=55
Exploring Operation: 58+89=147, Resulting Numbers: [113, 147]
Generated Node #0,0,2: 97:[113, 147] Operation: 58+89=147
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[89, 55], Operations: ['94+19=113', '113-58=55']
Exploring Operation: 89+55=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Exploring Operation: 89-55=34, Resulting Numbers: [34]
34,97 unequal: No Solution
Exploring Operation: 89*55=4895, Resulting Numbers: [4895]
4895,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 97:[113, 147], Operations: ['94+19=113', '58+89=147']
Exploring Operation: 147-113=34, Resulting Numbers: [34]
34,97 unequal: No Solution
Exploring Operation: 113+147=260, Resulting Numbers: [260]
260,97 unequal: No Solution
Exploring Operation: 113*147=16611, Resulting Numbers: [16611]
16611,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[113, 31], Operations: ['94+19=113', '89-58=31']
Exploring Operation: 113-31=82, Resulting Numbers: [82]
82,97 unequal: No Solution
Exploring Operation: 113*31=3503, Resulting Numbers: [3503]
3503,97 unequal: No Solution
Exploring Operation: 113+31=144, Resulting Numbers: [144]
144,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
11,
97,
8,
58
] | 91 | [
"8+58=66",
"66/11=6",
"97-6=91"
] | Current State: 91:[11, 97, 8, 58], Operations: []
Exploring Operation: 8+58=66, Resulting Numbers: [11, 97, 66]
Generated Node #2: [11, 97, 66] from Operation: 8+58=66
Current State: 91:[11, 97, 66], Operations: ['8+58=66']
Exploring Operation: 66/11=6, Resulting Numbers: [97, 6]
Generated Node #3: [97, 6] from Operation: 66/11=6
Current State: 91:[97, 6], Operations: ['8+58=66', '66/11=6']
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[11, 97, 8, 58], Operations: []
Exploring Operation: 11+58=69, Resulting Numbers: [97, 8, 69]
Generated Node #0,0: 91:[97, 8, 69] Operation: 11+58=69
Exploring Operation: 8+58=66, Resulting Numbers: [11, 97, 66]
Generated Node #0,1: 91:[11, 97, 66] Operation: 8+58=66
Exploring Operation: 97-58=39, Resulting Numbers: [11, 8, 39]
Generated Node #0,2: 91:[11, 8, 39] Operation: 97-58=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[97, 8, 69], Operations: ['11+58=69']
Exploring Operation: 97-69=28, Resulting Numbers: [8, 28]
Generated Node #0,0,0: 91:[8, 28] Operation: 97-69=28
Exploring Operation: 8+69=77, Resulting Numbers: [97, 77]
Generated Node #0,0,1: 91:[97, 77] Operation: 8+69=77
Exploring Operation: 97-8=89, Resulting Numbers: [69, 89]
Generated Node #0,0,2: 91:[69, 89] Operation: 97-8=89
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[8, 28], Operations: ['11+58=69', '97-69=28']
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,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:[97, 77], Operations: ['11+58=69', '8+69=77']
Exploring Operation: 97-77=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 97+77=174, Resulting Numbers: [174]
174,91 unequal: No Solution
Exploring Operation: 97*77=7469, Resulting Numbers: [7469]
7469,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:[69, 89], Operations: ['11+58=69', '97-8=89']
Exploring Operation: 89-69=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 69*89=6141, Resulting Numbers: [6141]
6141,91 unequal: No Solution
Exploring Operation: 69+89=158, Resulting Numbers: [158]
158,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:[11, 8, 39], Operations: ['97-58=39']
Exploring Operation: 11*8=88, Resulting Numbers: [39, 88]
Generated Node #0,2,0: 91:[39, 88] Operation: 11*8=88
Exploring Operation: 39-11=28, Resulting Numbers: [8, 28]
Generated Node #0,2,1: 91:[8, 28] Operation: 39-11=28
Exploring Operation: 39-8=31, Resulting Numbers: [11, 31]
Generated Node #0,2,2: 91:[11, 31] Operation: 39-8=31
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 91:[8, 28], Operations: ['97-58=39', '39-11=28']
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,91 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,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,2,2
Current State: 91:[11, 31], Operations: ['97-58=39', '39-8=31']
Exploring Operation: 11*31=341, Resulting Numbers: [341]
341,91 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,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,2,0
Current State: 91:[39, 88], Operations: ['97-58=39', '11*8=88']
Exploring Operation: 39*88=3432, Resulting Numbers: [3432]
3432,91 unequal: No Solution
Exploring Operation: 88-39=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 39+88=127, Resulting Numbers: [127]
127,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:[11, 97, 66], Operations: ['8+58=66']
Exploring Operation: 97-66=31, Resulting Numbers: [11, 31]
Generated Node #0,1,0: 91:[11, 31] Operation: 97-66=31
Exploring Operation: 66/11=6, Resulting Numbers: [97, 6]
Generated Node #0,1,1: 91:[97, 6] Operation: 66/11=6
Exploring Operation: 11+66=77, Resulting Numbers: [97, 77]
Generated Node #0,1,2: 91:[97, 77] Operation: 11+66=77
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[97, 6], Operations: ['8+58=66', '66/11=6']
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[11, 97, 8, 58], Operations: []
Exploring Operation: 8+58=66, Resulting Numbers: [11, 97, 66]
Generated Node #0,1: 91:[11, 97, 66] Operation: 8+58=66
Moving to Node #0,1
Current State: 91:[11, 97, 66], Operations: ['8+58=66']
Exploring Operation: 66/11=6, Resulting Numbers: [97, 6]
Generated Node #0,1,1: 91:[97, 6] Operation: 66/11=6
Moving to Node #0,1,1
Current State: 91:[97, 6], Operations: ['8+58=66', '66/11=6']
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_3 | sum_heuristic |
[
40,
44,
29,
83
] | 79 | [
"40-29=11",
"44/11=4",
"83-4=79"
] | Current State: 79:[40, 44, 29, 83], Operations: []
Exploring Operation: 40-29=11, Resulting Numbers: [44, 83, 11]
Generated Node #2: [44, 83, 11] from Operation: 40-29=11
Current State: 79:[44, 83, 11], Operations: ['40-29=11']
Exploring Operation: 44/11=4, Resulting Numbers: [83, 4]
Generated Node #3: [83, 4] from Operation: 44/11=4
Current State: 79:[83, 4], Operations: ['40-29=11', '44/11=4']
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[40, 44, 29, 83], Operations: []
Exploring Operation: 40+29=69, Resulting Numbers: [44, 83, 69]
Generated Node #0,0: 79:[44, 83, 69] Operation: 40+29=69
Moving to Node #0,0
Current State: 79:[44, 83, 69], Operations: ['40+29=69']
Exploring Operation: 44+69=113, Resulting Numbers: [83, 113]
Generated Node #0,0,0: 79:[83, 113] Operation: 44+69=113
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[83, 113], Operations: ['40+29=69', '44+69=113']
Exploring Operation: 113-83=30, Resulting Numbers: [30]
30,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
65,
4,
3,
22
] | 75 | [
"65+22=87",
"4*3=12",
"87-12=75"
] | Current State: 75:[65, 4, 3, 22], Operations: []
Exploring Operation: 65+22=87, Resulting Numbers: [4, 3, 87]
Generated Node #2: [4, 3, 87] from Operation: 65+22=87
Current State: 75:[4, 3, 87], Operations: ['65+22=87']
Exploring Operation: 4*3=12, Resulting Numbers: [87, 12]
Generated Node #3: [87, 12] from Operation: 4*3=12
Current State: 75:[87, 12], Operations: ['65+22=87', '4*3=12']
Exploring Operation: 87-12=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[65, 4, 3, 22], Operations: []
Exploring Operation: 65+4=69, Resulting Numbers: [3, 22, 69]
Generated Node #0,0: 75:[3, 22, 69] Operation: 65+4=69
Exploring Operation: 3+22=25, Resulting Numbers: [65, 4, 25]
Generated Node #0,1: 75:[65, 4, 25] Operation: 3+22=25
Exploring Operation: 65+3=68, Resulting Numbers: [4, 22, 68]
Generated Node #0,2: 75:[4, 22, 68] Operation: 65+3=68
Exploring Operation: 4+22=26, Resulting Numbers: [65, 3, 26]
Generated Node #0,3: 75:[65, 3, 26] Operation: 4+22=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[3, 22, 69], Operations: ['65+4=69']
Exploring Operation: 3+69=72, Resulting Numbers: [22, 72]
Generated Node #0,0,0: 75:[22, 72] Operation: 3+69=72
Exploring Operation: 22-3=19, Resulting Numbers: [69, 19]
Generated Node #0,0,1: 75:[69, 19] Operation: 22-3=19
Exploring Operation: 69/3=23, Resulting Numbers: [22, 23]
Generated Node #0,0,2: 75:[22, 23] Operation: 69/3=23
Exploring Operation: 3+22=25, Resulting Numbers: [69, 25]
Generated Node #0,0,3: 75:[69, 25] Operation: 3+22=25
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 75:[22, 23], Operations: ['65+4=69', '69/3=23']
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,75 unequal: No Solution
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,75 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[22, 72], Operations: ['65+4=69', '3+69=72']
Exploring Operation: 72-22=50, Resulting Numbers: [50]
50,75 unequal: No Solution
Exploring Operation: 22+72=94, Resulting Numbers: [94]
94,75 unequal: No Solution
Exploring Operation: 22*72=1584, Resulting Numbers: [1584]
1584,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 75:[69, 25], Operations: ['65+4=69', '3+22=25']
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Exploring Operation: 69*25=1725, Resulting Numbers: [1725]
1725,75 unequal: No Solution
Exploring Operation: 69+25=94, Resulting Numbers: [94]
94,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[69, 19], Operations: ['65+4=69', '22-3=19']
Exploring Operation: 69+19=88, Resulting Numbers: [88]
88,75 unequal: No Solution
Exploring Operation: 69*19=1311, Resulting Numbers: [1311]
1311,75 unequal: No Solution
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[65, 4, 25], Operations: ['3+22=25']
Exploring Operation: 4+25=29, Resulting Numbers: [65, 29]
Generated Node #0,1,0: 75:[65, 29] Operation: 4+25=29
Exploring Operation: 65+4=69, Resulting Numbers: [25, 69]
Generated Node #0,1,1: 75:[25, 69] Operation: 65+4=69
Exploring Operation: 65-4=61, Resulting Numbers: [25, 61]
Generated Node #0,1,2: 75:[25, 61] Operation: 65-4=61
Exploring Operation: 25-4=21, Resulting Numbers: [65, 21]
Generated Node #0,1,3: 75:[65, 21] Operation: 25-4=21
Moving to Node #0,1,1
Current State: 75:[25, 69], Operations: ['3+22=25', '65+4=69']
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Exploring Operation: 25*69=1725, Resulting Numbers: [1725]
1725,75 unequal: No Solution
Exploring Operation: 25+69=94, Resulting Numbers: [94]
94,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[25, 61], Operations: ['3+22=25', '65-4=61']
Exploring Operation: 25*61=1525, Resulting Numbers: [1525]
1525,75 unequal: No Solution
Exploring Operation: 25+61=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[65, 29], Operations: ['3+22=25', '4+25=29']
Exploring Operation: 65+29=94, Resulting Numbers: [94]
94,75 unequal: No Solution
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,75 unequal: No Solution
Exploring Operation: 65*29=1885, Resulting Numbers: [1885]
1885,75 unequal: No Solution
Moving to Node #0,1,3
Current State: 75:[65, 21], Operations: ['3+22=25', '25-4=21']
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Exploring Operation: 65*21=1365, Resulting Numbers: [1365]
1365,75 unequal: No Solution
Exploring Operation: 65+21=86, Resulting Numbers: [86]
86,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,2
Current State: 75:[4, 22, 68], Operations: ['65+3=68']
Exploring Operation: 4+22=26, Resulting Numbers: [68, 26]
Generated Node #0,2,0: 75:[68, 26] Operation: 4+22=26
Exploring Operation: 4+68=72, Resulting Numbers: [22, 72]
Generated Node #0,2,1: 75:[22, 72] Operation: 4+68=72
Exploring Operation: 68/4=17, Resulting Numbers: [22, 17]
Generated Node #0,2,2: 75:[22, 17] Operation: 68/4=17
Exploring Operation: 22-4=18, Resulting Numbers: [68, 18]
Generated Node #0,2,3: 75:[68, 18] Operation: 22-4=18
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 75:[22, 17], Operations: ['65+3=68', '68/4=17']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 75:[22, 72], Operations: ['65+3=68', '4+68=72']
Exploring Operation: 72-22=50, Resulting Numbers: [50]
50,75 unequal: No Solution
Exploring Operation: 22+72=94, Resulting Numbers: [94]
94,75 unequal: No Solution
Exploring Operation: 22*72=1584, Resulting Numbers: [1584]
1584,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 75:[68, 26], Operations: ['65+3=68', '4+22=26']
Exploring Operation: 68-26=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 68*26=1768, Resulting Numbers: [1768]
1768,75 unequal: No Solution
Exploring Operation: 68+26=94, Resulting Numbers: [94]
94,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 75:[68, 18], Operations: ['65+3=68', '22-4=18']
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,75 unequal: No Solution
Exploring Operation: 68+18=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Exploring Operation: 68*18=1224, Resulting Numbers: [1224]
1224,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[65, 3, 26], Operations: ['4+22=26']
Exploring Operation: 3*26=78, Resulting Numbers: [65, 78]
Generated Node #0,3,0: 75:[65, 78] Operation: 3*26=78
Exploring Operation: 26-3=23, Resulting Numbers: [65, 23]
Generated Node #0,3,1: 75:[65, 23] Operation: 26-3=23
Exploring Operation: 65-3=62, Resulting Numbers: [26, 62]
Generated Node #0,3,2: 75:[26, 62] Operation: 65-3=62
Exploring Operation: 65+3=68, Resulting Numbers: [26, 68]
Generated Node #0,3,3: 75:[26, 68] Operation: 65+3=68
Moving to Node #0,3,3
Current State: 75:[26, 68], Operations: ['4+22=26', '65+3=68']
Exploring Operation: 68-26=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 26*68=1768, Resulting Numbers: [1768]
1768,75 unequal: No Solution
Exploring Operation: 26+68=94, Resulting Numbers: [94]
94,75 unequal: No Solution
Moving to Node #0,3,1
Current State: 75:[65, 23], Operations: ['4+22=26', '26-3=23']
Exploring Operation: 65+23=88, Resulting Numbers: [88]
88,75 unequal: No Solution
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 65*23=1495, Resulting Numbers: [1495]
1495,75 unequal: No Solution
Moving to Node #0,3,0
Current State: 75:[65, 78], Operations: ['4+22=26', '3*26=78']
Exploring Operation: 65*78=5070, Resulting Numbers: [5070]
5070,75 unequal: No Solution
Exploring Operation: 65+78=143, Resulting Numbers: [143]
143,75 unequal: No Solution
Exploring Operation: 78-65=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Moving to Node #0,3,2
Current State: 75:[26, 62], Operations: ['4+22=26', '65-3=62']
Exploring Operation: 26+62=88, Resulting Numbers: [88]
88,75 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,75 unequal: No Solution
Exploring Operation: 26*62=1612, Resulting Numbers: [1612]
1612,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
51,
51,
61,
8
] | 37 | [
"51+61=112",
"112/8=14",
"51-14=37"
] | Current State: 37:[51, 51, 61, 8], Operations: []
Exploring Operation: 51+61=112, Resulting Numbers: [8, 112]
Generated Node #2: [8, 112] from Operation: 51+61=112
Current State: 37:[8, 112], Operations: ['51+61=112']
Exploring Operation: 112/8=14, Resulting Numbers: [14]
14,37 equal: Goal Reached
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[51, 51, 61, 8], Operations: []
Exploring Operation: 51-8=43, Resulting Numbers: [51, 61, 43]
Generated Node #0,0: 37:[51, 61, 43] Operation: 51-8=43
Exploring Operation: 51-8=43, Resulting Numbers: [51, 61, 43]
Generated Node #0,1: 37:[51, 61, 43] Operation: 51-8=43
Exploring Operation: 61-8=53, Resulting Numbers: [51, 51, 53]
Generated Node #0,2: 37:[51, 51, 53] Operation: 61-8=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[51, 61, 43], Operations: ['51-8=43']
Exploring Operation: 61-51=10, Resulting Numbers: [43, 10]
Generated Node #0,0,0: 37:[43, 10] Operation: 61-51=10
Exploring Operation: 61-43=18, Resulting Numbers: [51, 18]
Generated Node #0,0,1: 37:[51, 18] Operation: 61-43=18
Exploring Operation: 51-43=8, Resulting Numbers: [61, 8]
Generated Node #0,0,2: 37:[61, 8] Operation: 51-43=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[43, 10], Operations: ['51-8=43', '61-51=10']
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 43+10=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 43*10=430, Resulting Numbers: [430]
430,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[51, 18], Operations: ['51-8=43', '61-43=18']
Exploring Operation: 51*18=918, Resulting Numbers: [918]
918,37 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 37:[61, 8], Operations: ['51-8=43', '51-43=8']
Exploring Operation: 61*8=488, Resulting Numbers: [488]
488,37 unequal: No Solution
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 61+8=69, Resulting Numbers: [69]
69,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[51, 61, 43], Operations: ['51-8=43']
Exploring Operation: 61-43=18, Resulting Numbers: [51, 18]
Generated Node #0,1,0: 37:[51, 18] Operation: 61-43=18
Exploring Operation: 61-51=10, Resulting Numbers: [43, 10]
Generated Node #0,1,1: 37:[43, 10] Operation: 61-51=10
Exploring Operation: 51-43=8, Resulting Numbers: [61, 8]
Generated Node #0,1,2: 37:[61, 8] Operation: 51-43=8
Moving to Node #0,1,0
Current State: 37:[51, 18], Operations: ['51-8=43', '61-43=18']
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,37 unequal: No Solution
Exploring Operation: 51*18=918, Resulting Numbers: [918]
918,37 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[43, 10], Operations: ['51-8=43', '61-51=10']
Exploring Operation: 43*10=430, Resulting Numbers: [430]
430,37 unequal: No Solution
Exploring Operation: 43+10=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[61, 8], Operations: ['51-8=43', '51-43=8']
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 61+8=69, Resulting Numbers: [69]
69,37 unequal: No Solution
Exploring Operation: 61*8=488, Resulting Numbers: [488]
488,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[51, 51, 53], Operations: ['61-8=53']
Exploring Operation: 53-51=2, Resulting Numbers: [51, 2]
Generated Node #0,2,0: 37:[51, 2] Operation: 53-51=2
Exploring Operation: 51/51=1, Resulting Numbers: [53, 1]
Generated Node #0,2,1: 37:[53, 1] Operation: 51/51=1
Exploring Operation: 53-51=2, Resulting Numbers: [51, 2]
Generated Node #0,2,2: 37:[51, 2] Operation: 53-51=2
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 37:[51, 2], Operations: ['61-8=53', '53-51=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,37 unequal: No Solution
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 37:[51, 2], Operations: ['61-8=53', '53-51=2']
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,37 unequal: No Solution
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 37:[53, 1], Operations: ['61-8=53', '51/51=1']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,37 unequal: No Solution
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
32,
60,
94,
92
] | 76 | [
"94-92=2",
"32/2=16",
"60+16=76"
] | Current State: 76:[32, 60, 94, 92], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [32, 60, 2]
Generated Node #2: [32, 60, 2] from Operation: 94-92=2
Current State: 76:[32, 60, 2], Operations: ['94-92=2']
Exploring Operation: 32/2=16, Resulting Numbers: [60, 16]
Generated Node #3: [60, 16] from Operation: 32/2=16
Current State: 76:[60, 16], Operations: ['94-92=2', '32/2=16']
Exploring Operation: 60+16=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[32, 60, 94, 92], Operations: []
Exploring Operation: 92-60=32, Resulting Numbers: [32, 94, 32]
Generated Node #0,0: 76:[32, 94, 32] Operation: 92-60=32
Exploring Operation: 94-60=34, Resulting Numbers: [32, 92, 34]
Generated Node #0,1: 76:[32, 92, 34] Operation: 94-60=34
Exploring Operation: 94-92=2, Resulting Numbers: [32, 60, 2]
Generated Node #0,2: 76:[32, 60, 2] Operation: 94-92=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[32, 60, 2], Operations: ['94-92=2']
Exploring Operation: 32+60=92, Resulting Numbers: [2, 92]
Generated Node #0,2,0: 76:[2, 92] Operation: 32+60=92
Exploring Operation: 60-32=28, Resulting Numbers: [2, 28]
Generated Node #0,2,1: 76:[2, 28] Operation: 60-32=28
Exploring Operation: 60/2=30, Resulting Numbers: [32, 30]
Generated Node #0,2,2: 76:[32, 30] Operation: 60/2=30
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[2, 28], Operations: ['94-92=2', '60-32=28']
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 76:[32, 30], Operations: ['94-92=2', '60/2=30']
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,76 unequal: No Solution
Exploring Operation: 32*30=960, Resulting Numbers: [960]
960,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 76:[2, 92], Operations: ['94-92=2', '32+60=92']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,76 unequal: No Solution
Exploring Operation: 2+92=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[32, 92, 34], Operations: ['94-60=34']
Exploring Operation: 34-32=2, Resulting Numbers: [92, 2]
Generated Node #0,1,0: 76:[92, 2] Operation: 34-32=2
Exploring Operation: 92-34=58, Resulting Numbers: [32, 58]
Generated Node #0,1,1: 76:[32, 58] Operation: 92-34=58
Exploring Operation: 92-32=60, Resulting Numbers: [34, 60]
Generated Node #0,1,2: 76:[34, 60] Operation: 92-32=60
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[92, 2], Operations: ['94-60=34', '34-32=2']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,76 unequal: No Solution
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 76:[34, 60], Operations: ['94-60=34', '92-32=60']
Exploring Operation: 34*60=2040, Resulting Numbers: [2040]
2040,76 unequal: No Solution
Exploring Operation: 34+60=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Exploring Operation: 60-34=26, Resulting Numbers: [26]
26,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[32, 58], Operations: ['94-60=34', '92-34=58']
Exploring Operation: 32*58=1856, Resulting Numbers: [1856]
1856,76 unequal: No Solution
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 32+58=90, Resulting Numbers: [90]
90,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[32, 94, 32], Operations: ['92-60=32']
Exploring Operation: 32/32=1, Resulting Numbers: [94, 1]
Generated Node #0,0,0: 76:[94, 1] Operation: 32/32=1
Exploring Operation: 94-32=62, Resulting Numbers: [32, 62]
Generated Node #0,0,1: 76:[32, 62] Operation: 94-32=62
Exploring Operation: 32-32=0, Resulting Numbers: [94, 0]
Generated Node #0,0,2: 76:[94, 0] Operation: 32-32=0
Moving to Node #0,0,0
Current State: 76:[94, 1], Operations: ['92-60=32', '32/32=1']
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,76 unequal: No Solution
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[32, 62], Operations: ['92-60=32', '94-32=62']
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 32+62=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Exploring Operation: 32*62=1984, Resulting Numbers: [1984]
1984,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[94, 0], Operations: ['92-60=32', '32-32=0']
Exploring Operation: 94+0=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Exploring Operation: 94-0=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Exploring Operation: 94*0=0, Resulting Numbers: [0]
0,76 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 |
[
30,
38,
56,
1
] | 13 | [
"30+38=68",
"56-1=55",
"68-55=13"
] | Current State: 13:[30, 38, 56, 1], Operations: []
Exploring Operation: 30+38=68, Resulting Numbers: [56, 1, 68]
Generated Node #2: [56, 1, 68] from Operation: 30+38=68
Current State: 13:[56, 1, 68], Operations: ['30+38=68']
Exploring Operation: 56-1=55, Resulting Numbers: [68, 55]
Generated Node #3: [68, 55] from Operation: 56-1=55
Current State: 13:[68, 55], Operations: ['30+38=68', '56-1=55']
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[30, 38, 56, 1], Operations: []
Exploring Operation: 56-38=18, Resulting Numbers: [30, 1, 18]
Generated Node #0,0: 13:[30, 1, 18] Operation: 56-38=18
Exploring Operation: 38-30=8, Resulting Numbers: [56, 1, 8]
Generated Node #0,1: 13:[56, 1, 8] Operation: 38-30=8
Exploring Operation: 56-30=26, Resulting Numbers: [38, 1, 26]
Generated Node #0,2: 13:[38, 1, 26] Operation: 56-30=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[30, 1, 18], Operations: ['56-38=18']
Exploring Operation: 30-1=29, Resulting Numbers: [18, 29]
Generated Node #0,0,0: 13:[18, 29] Operation: 30-1=29
Exploring Operation: 18-1=17, Resulting Numbers: [30, 17]
Generated Node #0,0,1: 13:[30, 17] Operation: 18-1=17
Exploring Operation: 30-18=12, Resulting Numbers: [1, 12]
Generated Node #0,0,2: 13:[1, 12] Operation: 30-18=12
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 13:[1, 12], Operations: ['56-38=18', '30-18=12']
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[30, 38, 56, 1], Operations: []
Exploring Operation: 56-38=18, Resulting Numbers: [30, 1, 18]
Generated Node #0,0: 13:[30, 1, 18] Operation: 56-38=18
Moving to Node #0,0
Current State: 13:[30, 1, 18], Operations: ['56-38=18']
Exploring Operation: 30-18=12, Resulting Numbers: [1, 12]
Generated Node #0,0,2: 13:[1, 12] Operation: 30-18=12
Moving to Node #0,0,2
Current State: 13:[1, 12], Operations: ['56-38=18', '30-18=12']
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
24,
84,
71,
5
] | 59 | [
"84-24=60",
"60/5=12",
"71-12=59"
] | Current State: 59:[24, 84, 71, 5], Operations: []
Exploring Operation: 84-24=60, Resulting Numbers: [71, 5, 60]
Generated Node #2: [71, 5, 60] from Operation: 84-24=60
Current State: 59:[71, 5, 60], Operations: ['84-24=60']
Exploring Operation: 60/5=12, Resulting Numbers: [71, 12]
Generated Node #3: [71, 12] from Operation: 60/5=12
Current State: 59:[71, 12], Operations: ['84-24=60', '60/5=12']
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[24, 84, 71, 5], Operations: []
Exploring Operation: 84-24=60, Resulting Numbers: [71, 5, 60]
Generated Node #0,0: 59:[71, 5, 60] Operation: 84-24=60
Exploring Operation: 24+5=29, Resulting Numbers: [84, 71, 29]
Generated Node #0,1: 59:[84, 71, 29] Operation: 24+5=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[71, 5, 60], Operations: ['84-24=60']
Exploring Operation: 60-5=55, Resulting Numbers: [71, 55]
Generated Node #0,0,0: 59:[71, 55] Operation: 60-5=55
Exploring Operation: 71-5=66, Resulting Numbers: [60, 66]
Generated Node #0,0,1: 59:[60, 66] Operation: 71-5=66
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[60, 66], Operations: ['84-24=60', '71-5=66']
Exploring Operation: 66-60=6, Resulting Numbers: [6]
6,59 unequal: No Solution
Exploring Operation: 60+66=126, Resulting Numbers: [126]
126,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[71, 55], Operations: ['84-24=60', '60-5=55']
Exploring Operation: 71+55=126, Resulting Numbers: [126]
126,59 unequal: No Solution
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[84, 71, 29], Operations: ['24+5=29']
Exploring Operation: 84-29=55, Resulting Numbers: [71, 55]
Generated Node #0,1,0: 59:[71, 55] Operation: 84-29=55
Exploring Operation: 71-29=42, Resulting Numbers: [84, 42]
Generated Node #0,1,1: 59:[84, 42] Operation: 71-29=42
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[71, 55], Operations: ['24+5=29', '84-29=55']
Exploring Operation: 71+55=126, Resulting Numbers: [126]
126,59 unequal: No Solution
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 59:[84, 42], Operations: ['24+5=29', '71-29=42']
Exploring Operation: 84/42=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
16,
32,
51,
50
] | 26 | [
"32/16=2",
"50/2=25",
"51-25=26"
] | Current State: 26:[16, 32, 51, 50], Operations: []
Exploring Operation: 32/16=2, Resulting Numbers: [51, 50, 2]
Generated Node #2: [51, 50, 2] from Operation: 32/16=2
Current State: 26:[51, 50, 2], Operations: ['32/16=2']
Exploring Operation: 50/2=25, Resulting Numbers: [51, 25]
Generated Node #3: [51, 25] from Operation: 50/2=25
Current State: 26:[51, 25], Operations: ['32/16=2', '50/2=25']
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[16, 32, 51, 50], Operations: []
Exploring Operation: 51-50=1, Resulting Numbers: [16, 32, 1]
Generated Node #0,0: 26:[16, 32, 1] Operation: 51-50=1
Exploring Operation: 50-32=18, Resulting Numbers: [16, 51, 18]
Generated Node #0,1: 26:[16, 51, 18] Operation: 50-32=18
Exploring Operation: 51-32=19, Resulting Numbers: [16, 50, 19]
Generated Node #0,2: 26:[16, 50, 19] Operation: 51-32=19
Moving to Node #0,0
Current State: 26:[16, 32, 1], Operations: ['51-50=1']
Exploring Operation: 32/16=2, Resulting Numbers: [1, 2]
Generated Node #0,0,0: 26:[1, 2] Operation: 32/16=2
Exploring Operation: 32-16=16, Resulting Numbers: [1, 16]
Generated Node #0,0,1: 26:[1, 16] Operation: 32-16=16
Exploring Operation: 16-1=15, Resulting Numbers: [32, 15]
Generated Node #0,0,2: 26:[32, 15] Operation: 16-1=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[1, 2], Operations: ['51-50=1', '32/16=2']
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,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,1
Current State: 26:[1, 16], Operations: ['51-50=1', '32-16=16']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,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:[32, 15], Operations: ['51-50=1', '16-1=15']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,26 unequal: No Solution
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,26 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: 26:[16, 51, 18], Operations: ['50-32=18']
Exploring Operation: 18-16=2, Resulting Numbers: [51, 2]
Generated Node #0,1,0: 26:[51, 2] Operation: 18-16=2
Exploring Operation: 51-18=33, Resulting Numbers: [16, 33]
Generated Node #0,1,1: 26:[16, 33] Operation: 51-18=33
Exploring Operation: 51-16=35, Resulting Numbers: [18, 35]
Generated Node #0,1,2: 26:[18, 35] Operation: 51-16=35
Moving to Node #0,2
Current State: 26:[16, 50, 19], Operations: ['51-32=19']
Exploring Operation: 50-19=31, Resulting Numbers: [16, 31]
Generated Node #0,2,0: 26:[16, 31] Operation: 50-19=31
Exploring Operation: 19-16=3, Resulting Numbers: [50, 3]
Generated Node #0,2,1: 26:[50, 3] Operation: 19-16=3
Exploring Operation: 50-16=34, Resulting Numbers: [19, 34]
Generated Node #0,2,2: 26:[19, 34] Operation: 50-16=34
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 26:[16, 31], Operations: ['51-32=19', '50-19=31']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 16+31=47, Resulting Numbers: [47]
47,26 unequal: No Solution
Exploring Operation: 16*31=496, Resulting Numbers: [496]
496,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,2,2
Current State: 26:[19, 34], Operations: ['51-32=19', '50-16=34']
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,26 unequal: No Solution
Exploring Operation: 19*34=646, Resulting Numbers: [646]
646,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,2,1
Current State: 26:[50, 3], Operations: ['51-32=19', '19-16=3']
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,26 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,26 unequal: No Solution
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,26 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: 26:[16, 33], Operations: ['50-32=18', '51-18=33']
Exploring Operation: 16+33=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 16*33=528, Resulting Numbers: [528]
528,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[18, 35], Operations: ['50-32=18', '51-16=35']
Exploring Operation: 18*35=630, Resulting Numbers: [630]
630,26 unequal: No Solution
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 18+35=53, Resulting Numbers: [53]
53,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[51, 2], Operations: ['50-32=18', '18-16=2']
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,26 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,26 unequal: No Solution
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,26 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
12,
11,
39,
2
] | 85 | [
"12+11=23",
"2*23=46",
"39+46=85"
] | Current State: 85:[12, 11, 39, 2], Operations: []
Exploring Operation: 12+11=23, Resulting Numbers: [39, 2, 23]
Generated Node #2: [39, 2, 23] from Operation: 12+11=23
Current State: 85:[39, 2, 23], Operations: ['12+11=23']
Exploring Operation: 2*23=46, Resulting Numbers: [39, 46]
Generated Node #3: [39, 46] from Operation: 2*23=46
Current State: 85:[39, 46], Operations: ['12+11=23', '2*23=46']
Exploring Operation: 39+46=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[12, 11, 39, 2], Operations: []
Exploring Operation: 39-11=28, Resulting Numbers: [12, 2, 28]
Generated Node #0,0: 85:[12, 2, 28] Operation: 39-11=28
Exploring Operation: 39-12=27, Resulting Numbers: [11, 2, 27]
Generated Node #0,1: 85:[11, 2, 27] Operation: 39-12=27
Exploring Operation: 12-11=1, Resulting Numbers: [39, 2, 1]
Generated Node #0,2: 85:[39, 2, 1] Operation: 12-11=1
Exploring Operation: 12/2=6, Resulting Numbers: [11, 39, 6]
Generated Node #0,3: 85:[11, 39, 6] Operation: 12/2=6
Exploring Operation: 39*2=78, Resulting Numbers: [12, 11, 78]
Generated Node #0,4: 85:[12, 11, 78] Operation: 39*2=78
Moving to Node #0,4
Current State: 85:[12, 11, 78], Operations: ['39*2=78']
Exploring Operation: 12+11=23, Resulting Numbers: [78, 23]
Generated Node #0,4,0: 85:[78, 23] Operation: 12+11=23
Exploring Operation: 11+78=89, Resulting Numbers: [12, 89]
Generated Node #0,4,1: 85:[12, 89] Operation: 11+78=89
Exploring Operation: 78-11=67, Resulting Numbers: [12, 67]
Generated Node #0,4,2: 85:[12, 67] Operation: 78-11=67
Exploring Operation: 12+78=90, Resulting Numbers: [11, 90]
Generated Node #0,4,3: 85:[11, 90] Operation: 12+78=90
Exploring Operation: 12-11=1, Resulting Numbers: [78, 1]
Generated Node #0,4,4: 85:[78, 1] Operation: 12-11=1
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 85:[12, 89], Operations: ['39*2=78', '11+78=89']
Exploring Operation: 12+89=101, Resulting Numbers: [101]
101,85 unequal: No Solution
Exploring Operation: 12*89=1068, Resulting Numbers: [1068]
1068,85 unequal: No Solution
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,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,4,3
Current State: 85:[11, 90], Operations: ['39*2=78', '12+78=90']
Exploring Operation: 11+90=101, Resulting Numbers: [101]
101,85 unequal: No Solution
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 11*90=990, Resulting Numbers: [990]
990,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,4,4
Current State: 85:[78, 1], Operations: ['39*2=78', '12-11=1']
Exploring Operation: 78*1=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,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,4,0
Current State: 85:[78, 23], Operations: ['39*2=78', '12+11=23']
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,85 unequal: No Solution
Exploring Operation: 78+23=101, Resulting Numbers: [101]
101,85 unequal: No Solution
Exploring Operation: 78*23=1794, Resulting Numbers: [1794]
1794,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,4,2
Current State: 85:[12, 67], Operations: ['39*2=78', '78-11=67']
Exploring Operation: 12+67=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 12*67=804, Resulting Numbers: [804]
804,85 unequal: No Solution
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,85 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: 85:[11, 2, 27], Operations: ['39-12=27']
Exploring Operation: 11*2=22, Resulting Numbers: [27, 22]
Generated Node #0,1,0: 85:[27, 22] Operation: 11*2=22
Exploring Operation: 27-2=25, Resulting Numbers: [11, 25]
Generated Node #0,1,1: 85:[11, 25] Operation: 27-2=25
Exploring Operation: 27-11=16, Resulting Numbers: [2, 16]
Generated Node #0,1,2: 85:[2, 16] Operation: 27-11=16
Exploring Operation: 11-2=9, Resulting Numbers: [27, 9]
Generated Node #0,1,3: 85:[27, 9] Operation: 11-2=9
Exploring Operation: 11+2=13, Resulting Numbers: [27, 13]
Generated Node #0,1,4: 85:[27, 13] Operation: 11+2=13
Moving to Node #0,0
Current State: 85:[12, 2, 28], Operations: ['39-11=28']
Exploring Operation: 28-12=16, Resulting Numbers: [2, 16]
Generated Node #0,0,0: 85:[2, 16] Operation: 28-12=16
Exploring Operation: 12/2=6, Resulting Numbers: [28, 6]
Generated Node #0,0,1: 85:[28, 6] Operation: 12/2=6
Exploring Operation: 12+2=14, Resulting Numbers: [28, 14]
Generated Node #0,0,2: 85:[28, 14] Operation: 12+2=14
Exploring Operation: 28/2=14, Resulting Numbers: [12, 14]
Generated Node #0,0,3: 85:[12, 14] Operation: 28/2=14
Exploring Operation: 28-2=26, Resulting Numbers: [12, 26]
Generated Node #0,0,4: 85:[12, 26] Operation: 28-2=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[2, 16], Operations: ['39-11=28', '28-12=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,85 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 85:[12, 14], Operations: ['39-11=28', '28/2=14']
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,85 unequal: No Solution
Exploring Operation: 12*14=168, Resulting Numbers: [168]
168,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[28, 6], Operations: ['39-11=28', '12/2=6']
Exploring Operation: 28*6=168, Resulting Numbers: [168]
168,85 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 85:[28, 14], Operations: ['39-11=28', '12+2=14']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 28*14=392, Resulting Numbers: [392]
392,85 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 28+14=42, Resulting Numbers: [42]
42,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 85:[12, 26], Operations: ['39-11=28', '28-2=26']
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,85 unequal: No Solution
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,85 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,85 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: 85:[39, 2, 1], Operations: ['12-11=1']
Exploring Operation: 2+1=3, Resulting Numbers: [39, 3]
Generated Node #0,2,0: 85:[39, 3] Operation: 2+1=3
Exploring Operation: 39-1=38, Resulting Numbers: [2, 38]
Generated Node #0,2,1: 85:[2, 38] Operation: 39-1=38
Exploring Operation: 39-2=37, Resulting Numbers: [1, 37]
Generated Node #0,2,2: 85:[1, 37] Operation: 39-2=37
Exploring Operation: 39*1=39, Resulting Numbers: [2, 39]
Generated Node #0,2,3: 85:[2, 39] Operation: 39*1=39
Exploring Operation: 39*2=78, Resulting Numbers: [1, 78]
Generated Node #0,2,4: 85:[1, 78] Operation: 39*2=78
Moving to Node #0,3
Current State: 85:[11, 39, 6], Operations: ['12/2=6']
Exploring Operation: 11+39=50, Resulting Numbers: [6, 50]
Generated Node #0,3,0: 85:[6, 50] Operation: 11+39=50
Exploring Operation: 39-11=28, Resulting Numbers: [6, 28]
Generated Node #0,3,1: 85:[6, 28] Operation: 39-11=28
Exploring Operation: 39-6=33, Resulting Numbers: [11, 33]
Generated Node #0,3,2: 85:[11, 33] Operation: 39-6=33
Exploring Operation: 11+6=17, Resulting Numbers: [39, 17]
Generated Node #0,3,3: 85:[39, 17] Operation: 11+6=17
Exploring Operation: 11-6=5, Resulting Numbers: [39, 5]
Generated Node #0,3,4: 85:[39, 5] Operation: 11-6=5
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 85:[6, 28], Operations: ['12/2=6', '39-11=28']
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,85 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,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,3,2
Current State: 85:[11, 33], Operations: ['12/2=6', '39-6=33']
Exploring Operation: 11+33=44, Resulting Numbers: [44]
44,85 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Exploring Operation: 11*33=363, Resulting Numbers: [363]
363,85 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,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,3,3
Current State: 85:[39, 17], Operations: ['12/2=6', '11+6=17']
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Exploring Operation: 39+17=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 39*17=663, Resulting Numbers: [663]
663,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,3,4
Current State: 85:[39, 5], Operations: ['12/2=6', '11-6=5']
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,85 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,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,3,0
Current State: 85:[6, 50], Operations: ['12/2=6', '11+39=50']
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,85 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,85 unequal: No Solution
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 85:[2, 16], Operations: ['39-12=27', '27-11=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,85 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Moving to Node #0,2,4
Current State: 85:[1, 78], Operations: ['12-11=1', '39*2=78']
Exploring Operation: 1+78=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 1*78=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Moving to Node #0,1,3
Current State: 85:[27, 9], Operations: ['39-12=27', '11-2=9']
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Exploring Operation: 27*9=243, Resulting Numbers: [243]
243,85 unequal: No Solution
Exploring Operation: 27+9=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[11, 25], Operations: ['39-12=27', '27-2=25']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 11*25=275, Resulting Numbers: [275]
275,85 unequal: No Solution
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Moving to Node #0,1,4
Current State: 85:[27, 13], Operations: ['39-12=27', '11+2=13']
Exploring Operation: 27*13=351, Resulting Numbers: [351]
351,85 unequal: No Solution
Exploring Operation: 27+13=40, Resulting Numbers: [40]
40,85 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[27, 22], Operations: ['39-12=27', '11*2=22']
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,85 unequal: No Solution
Exploring Operation: 27*22=594, Resulting Numbers: [594]
594,85 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[39, 3], Operations: ['12-11=1', '2+1=3']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,85 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Exploring Operation: 39*3=117, Resulting Numbers: [117]
117,85 unequal: No Solution
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[1, 37], Operations: ['12-11=1', '39-2=37']
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,85 unequal: No Solution
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[2, 38], Operations: ['12-11=1', '39-1=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,85 unequal: No Solution
Moving to Node #0,2,3
Current State: 85:[2, 39], Operations: ['12-11=1', '39*1=39']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,85 unequal: No Solution
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,85 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
60,
46,
51,
17
] | 38 | [
"60+46=106",
"51+17=68",
"106-68=38"
] | Current State: 38:[60, 46, 51, 17], Operations: []
Exploring Operation: 60+46=106, Resulting Numbers: [51, 17, 106]
Generated Node #2: [51, 17, 106] from Operation: 60+46=106
Current State: 38:[51, 17, 106], Operations: ['60+46=106']
Exploring Operation: 51+17=68, Resulting Numbers: [106, 68]
Generated Node #3: [106, 68] from Operation: 51+17=68
Current State: 38:[106, 68], Operations: ['60+46=106', '51+17=68']
Exploring Operation: 106-68=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[60, 46, 51, 17], Operations: []
Exploring Operation: 51/17=3, Resulting Numbers: [60, 46, 3]
Generated Node #0,0: 38:[60, 46, 3] Operation: 51/17=3
Exploring Operation: 60-51=9, Resulting Numbers: [46, 17, 9]
Generated Node #0,1: 38:[46, 17, 9] Operation: 60-51=9
Exploring Operation: 60-17=43, Resulting Numbers: [46, 51, 43]
Generated Node #0,2: 38:[46, 51, 43] Operation: 60-17=43
Exploring Operation: 60-46=14, Resulting Numbers: [51, 17, 14]
Generated Node #0,3: 38:[51, 17, 14] Operation: 60-46=14
Exploring Operation: 51-46=5, Resulting Numbers: [60, 17, 5]
Generated Node #0,4: 38:[60, 17, 5] Operation: 51-46=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[46, 17, 9], Operations: ['60-51=9']
Exploring Operation: 17-9=8, Resulting Numbers: [46, 8]
Generated Node #0,1,0: 38:[46, 8] Operation: 17-9=8
Exploring Operation: 46-9=37, Resulting Numbers: [17, 37]
Generated Node #0,1,1: 38:[17, 37] Operation: 46-9=37
Exploring Operation: 46-17=29, Resulting Numbers: [9, 29]
Generated Node #0,1,2: 38:[9, 29] Operation: 46-17=29
Exploring Operation: 46+9=55, Resulting Numbers: [17, 55]
Generated Node #0,1,3: 38:[17, 55] Operation: 46+9=55
Exploring Operation: 17+9=26, Resulting Numbers: [46, 26]
Generated Node #0,1,4: 38:[46, 26] Operation: 17+9=26
Moving to Node #0,1,1
Current State: 38:[17, 37], Operations: ['60-51=9', '46-9=37']
Exploring Operation: 17+37=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 17*37=629, Resulting Numbers: [629]
629,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[46, 8], Operations: ['60-51=9', '17-9=8']
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,38 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[60, 46, 51, 17], Operations: []
Exploring Operation: 60-51=9, Resulting Numbers: [46, 17, 9]
Generated Node #0,1: 38:[46, 17, 9] Operation: 60-51=9
Moving to Node #0,1
Current State: 38:[46, 17, 9], Operations: ['60-51=9']
Exploring Operation: 17-9=8, Resulting Numbers: [46, 8]
Generated Node #0,1,0: 38:[46, 8] Operation: 17-9=8
Moving to Node #0,1,0
Current State: 38:[46, 8], Operations: ['60-51=9', '17-9=8']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
40,
30,
10,
27
] | 64 | [
"40+27=67",
"30/10=3",
"67-3=64"
] | Current State: 64:[40, 30, 10, 27], Operations: []
Exploring Operation: 40+27=67, Resulting Numbers: [30, 10, 67]
Generated Node #2: [30, 10, 67] from Operation: 40+27=67
Current State: 64:[30, 10, 67], Operations: ['40+27=67']
Exploring Operation: 30/10=3, Resulting Numbers: [67, 3]
Generated Node #3: [67, 3] from Operation: 30/10=3
Current State: 64:[67, 3], Operations: ['40+27=67', '30/10=3']
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[40, 30, 10, 27], Operations: []
Exploring Operation: 40+27=67, Resulting Numbers: [30, 10, 67]
Generated Node #0,0: 64:[30, 10, 67] Operation: 40+27=67
Exploring Operation: 40-27=13, Resulting Numbers: [30, 10, 13]
Generated Node #0,1: 64:[30, 10, 13] Operation: 40-27=13
Exploring Operation: 40/10=4, Resulting Numbers: [30, 27, 4]
Generated Node #0,2: 64:[30, 27, 4] Operation: 40/10=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[30, 10, 67], Operations: ['40+27=67']
Exploring Operation: 67-30=37, Resulting Numbers: [10, 37]
Generated Node #0,0,0: 64:[10, 37] Operation: 67-30=37
Exploring Operation: 30/10=3, Resulting Numbers: [67, 3]
Generated Node #0,0,1: 64:[67, 3] Operation: 30/10=3
Exploring Operation: 30-10=20, Resulting Numbers: [67, 20]
Generated Node #0,0,2: 64:[67, 20] Operation: 30-10=20
Moving to Node #0,0,1
Current State: 64:[67, 3], Operations: ['40+27=67', '30/10=3']
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[40, 30, 10, 27], Operations: []
Exploring Operation: 40+27=67, Resulting Numbers: [30, 10, 67]
Generated Node #0,0: 64:[30, 10, 67] Operation: 40+27=67
Moving to Node #0,0
Current State: 64:[30, 10, 67], Operations: ['40+27=67']
Exploring Operation: 30/10=3, Resulting Numbers: [67, 3]
Generated Node #0,0,1: 64:[67, 3] Operation: 30/10=3
Moving to Node #0,0,1
Current State: 64:[67, 3], Operations: ['40+27=67', '30/10=3']
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
82,
52,
63,
34
] | 100 | [
"82*63=5166",
"34+5166=5200",
"5200/52=100"
] | Current State: 100:[82, 52, 63, 34], Operations: []
Exploring Operation: 82*63=5166, Resulting Numbers: [52, 34, 5166]
Generated Node #2: [52, 34, 5166] from Operation: 82*63=5166
Current State: 100:[52, 34, 5166], Operations: ['82*63=5166']
Exploring Operation: 34+5166=5200, Resulting Numbers: [52, 5200]
Generated Node #3: [52, 5200] from Operation: 34+5166=5200
Current State: 100:[52, 5200], Operations: ['82*63=5166', '34+5166=5200']
Exploring Operation: 5200/52=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[82, 52, 63, 34], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [52, 34, 19]
Generated Node #0,0: 100:[52, 34, 19] Operation: 82-63=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[52, 34, 19], Operations: ['82-63=19']
Exploring Operation: 52-34=18, Resulting Numbers: [19, 18]
Generated Node #0,0,0: 100:[19, 18] Operation: 52-34=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[19, 18], Operations: ['82-63=19', '52-34=18']
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
8,
35,
70,
45
] | 60 | [
"35+45=80",
"80/8=10",
"70-10=60"
] | Current State: 60:[8, 35, 70, 45], Operations: []
Exploring Operation: 35+45=80, Resulting Numbers: [8, 70, 80]
Generated Node #2: [8, 70, 80] from Operation: 35+45=80
Current State: 60:[8, 70, 80], Operations: ['35+45=80']
Exploring Operation: 80/8=10, Resulting Numbers: [70, 10]
Generated Node #3: [70, 10] from Operation: 80/8=10
Current State: 60:[70, 10], Operations: ['35+45=80', '80/8=10']
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[8, 35, 70, 45], Operations: []
Exploring Operation: 8+45=53, Resulting Numbers: [35, 70, 53]
Generated Node #0,0: 60:[35, 70, 53] Operation: 8+45=53
Exploring Operation: 45-35=10, Resulting Numbers: [8, 70, 10]
Generated Node #0,1: 60:[8, 70, 10] Operation: 45-35=10
Exploring Operation: 70/35=2, Resulting Numbers: [8, 45, 2]
Generated Node #0,2: 60:[8, 45, 2] Operation: 70/35=2
Exploring Operation: 70-8=62, Resulting Numbers: [35, 45, 62]
Generated Node #0,3: 60:[35, 45, 62] Operation: 70-8=62
Exploring Operation: 70-45=25, Resulting Numbers: [8, 35, 25]
Generated Node #0,4: 60:[8, 35, 25] Operation: 70-45=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[8, 70, 10], Operations: ['45-35=10']
Exploring Operation: 8+10=18, Resulting Numbers: [70, 18]
Generated Node #0,1,0: 60:[70, 18] Operation: 8+10=18
Exploring Operation: 10-8=2, Resulting Numbers: [70, 2]
Generated Node #0,1,1: 60:[70, 2] Operation: 10-8=2
Exploring Operation: 70/10=7, Resulting Numbers: [8, 7]
Generated Node #0,1,2: 60:[8, 7] Operation: 70/10=7
Exploring Operation: 70-8=62, Resulting Numbers: [10, 62]
Generated Node #0,1,3: 60:[10, 62] Operation: 70-8=62
Exploring Operation: 70-10=60, Resulting Numbers: [8, 60]
Generated Node #0,1,4: 60:[8, 60] Operation: 70-10=60
Moving to Node #0,1,3
Current State: 60:[10, 62], Operations: ['45-35=10', '70-8=62']
Exploring Operation: 10*62=620, Resulting Numbers: [620]
620,60 unequal: No Solution
Exploring Operation: 10+62=72, Resulting Numbers: [72]
72,60 unequal: No Solution
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,60 unequal: No Solution
Moving to Node #0,1,4
Current State: 60:[8, 60], Operations: ['45-35=10', '70-10=60']
Exploring Operation: 8+60=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 8*60=480, Resulting Numbers: [480]
480,60 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[8, 7], Operations: ['45-35=10', '70/10=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,60 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[70, 2], Operations: ['45-35=10', '10-8=2']
Exploring Operation: 70*2=140, Resulting Numbers: [140]
140,60 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,60 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[70, 18], Operations: ['45-35=10', '8+10=18']
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,60 unequal: No Solution
Exploring Operation: 70*18=1260, Resulting Numbers: [1260]
1260,60 unequal: No Solution
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 60:[8, 35, 25], Operations: ['70-45=25']
Exploring Operation: 35-25=10, Resulting Numbers: [8, 10]
Generated Node #0,4,0: 60:[8, 10] Operation: 35-25=10
Exploring Operation: 35-8=27, Resulting Numbers: [25, 27]
Generated Node #0,4,1: 60:[25, 27] Operation: 35-8=27
Exploring Operation: 25-8=17, Resulting Numbers: [35, 17]
Generated Node #0,4,2: 60:[35, 17] Operation: 25-8=17
Exploring Operation: 35+25=60, Resulting Numbers: [8, 60]
Generated Node #0,4,3: 60:[8, 60] Operation: 35+25=60
Exploring Operation: 8+25=33, Resulting Numbers: [35, 33]
Generated Node #0,4,4: 60:[35, 33] Operation: 8+25=33
Moving to Node #0,4,0
Current State: 60:[8, 10], Operations: ['70-45=25', '35-25=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,60 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Moving to Node #0,4,3
Current State: 60:[8, 60], Operations: ['70-45=25', '35+25=60']
Exploring Operation: 8*60=480, Resulting Numbers: [480]
480,60 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,60 unequal: No Solution
Exploring Operation: 8+60=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Moving to Node #0,4,2
Current State: 60:[35, 17], Operations: ['70-45=25', '25-8=17']
Exploring Operation: 35*17=595, Resulting Numbers: [595]
595,60 unequal: No Solution
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,60 unequal: No Solution
Moving to Node #0,4,1
Current State: 60:[25, 27], Operations: ['70-45=25', '35-8=27']
Exploring Operation: 25*27=675, Resulting Numbers: [675]
675,60 unequal: No Solution
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,60 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Moving to Node #0,4,4
Current State: 60:[35, 33], Operations: ['70-45=25', '8+25=33']
Exploring Operation: 35*33=1155, Resulting Numbers: [1155]
1155,60 unequal: No Solution
Exploring Operation: 35+33=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[8, 45, 2], Operations: ['70/35=2']
Exploring Operation: 8-2=6, Resulting Numbers: [45, 6]
Generated Node #0,2,0: 60:[45, 6] Operation: 8-2=6
Exploring Operation: 8+45=53, Resulting Numbers: [2, 53]
Generated Node #0,2,1: 60:[2, 53] Operation: 8+45=53
Exploring Operation: 45-8=37, Resulting Numbers: [2, 37]
Generated Node #0,2,2: 60:[2, 37] Operation: 45-8=37
Exploring Operation: 8/2=4, Resulting Numbers: [45, 4]
Generated Node #0,2,3: 60:[45, 4] Operation: 8/2=4
Exploring Operation: 8+2=10, Resulting Numbers: [45, 10]
Generated Node #0,2,4: 60:[45, 10] Operation: 8+2=10
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[2, 53], Operations: ['70/35=2', '8+45=53']
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,60 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,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,2,2
Current State: 60:[2, 37], Operations: ['70/35=2', '45-8=37']
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,60 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,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,2,0
Current State: 60:[45, 6], Operations: ['70/35=2', '8-2=6']
Exploring Operation: 45*6=270, Resulting Numbers: [270]
270,60 unequal: No Solution
Exploring Operation: 45+6=51, Resulting Numbers: [51]
51,60 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,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,2,3
Current State: 60:[45, 4], Operations: ['70/35=2', '8/2=4']
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,60 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,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,2,4
Current State: 60:[45, 10], Operations: ['70/35=2', '8+2=10']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 45*10=450, Resulting Numbers: [450]
450,60 unequal: No Solution
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[35, 70, 53], Operations: ['8+45=53']
Exploring Operation: 70-35=35, Resulting Numbers: [53, 35]
Generated Node #0,0,0: 60:[53, 35] Operation: 70-35=35
Exploring Operation: 53-35=18, Resulting Numbers: [70, 18]
Generated Node #0,0,1: 60:[70, 18] Operation: 53-35=18
Exploring Operation: 35+53=88, Resulting Numbers: [70, 88]
Generated Node #0,0,2: 60:[70, 88] Operation: 35+53=88
Exploring Operation: 70/35=2, Resulting Numbers: [53, 2]
Generated Node #0,0,3: 60:[53, 2] Operation: 70/35=2
Exploring Operation: 70-53=17, Resulting Numbers: [35, 17]
Generated Node #0,0,4: 60:[35, 17] Operation: 70-53=17
Moving to Node #0,0,3
Current State: 60:[53, 2], Operations: ['8+45=53', '70/35=2']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,60 unequal: No Solution
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,60 unequal: No Solution
Moving to Node #0,0,4
Current State: 60:[35, 17], Operations: ['8+45=53', '70-53=17']
Exploring Operation: 35*17=595, Resulting Numbers: [595]
595,60 unequal: No Solution
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,60 unequal: No Solution
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[53, 35], Operations: ['8+45=53', '70-35=35']
Exploring Operation: 53*35=1855, Resulting Numbers: [1855]
1855,60 unequal: No Solution
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 53+35=88, Resulting Numbers: [88]
88,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[70, 18], Operations: ['8+45=53', '53-35=18']
Exploring Operation: 70*18=1260, Resulting Numbers: [1260]
1260,60 unequal: No Solution
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,60 unequal: No Solution
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[70, 88], Operations: ['8+45=53', '35+53=88']
Exploring Operation: 88-70=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 70+88=158, Resulting Numbers: [158]
158,60 unequal: No Solution
Exploring Operation: 70*88=6160, Resulting Numbers: [6160]
6160,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[35, 45, 62], Operations: ['70-8=62']
Exploring Operation: 62-45=17, Resulting Numbers: [35, 17]
Generated Node #0,3,0: 60:[35, 17] Operation: 62-45=17
Exploring Operation: 45-35=10, Resulting Numbers: [62, 10]
Generated Node #0,3,1: 60:[62, 10] Operation: 45-35=10
Exploring Operation: 35+45=80, Resulting Numbers: [62, 80]
Generated Node #0,3,2: 60:[62, 80] Operation: 35+45=80
Exploring Operation: 35+62=97, Resulting Numbers: [45, 97]
Generated Node #0,3,3: 60:[45, 97] Operation: 35+62=97
Exploring Operation: 62-35=27, Resulting Numbers: [45, 27]
Generated Node #0,3,4: 60:[45, 27] Operation: 62-35=27
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 60:[62, 10], Operations: ['70-8=62', '45-35=10']
Exploring Operation: 62*10=620, Resulting Numbers: [620]
620,60 unequal: No Solution
Exploring Operation: 62+10=72, Resulting Numbers: [72]
72,60 unequal: No Solution
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,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,3,0
Current State: 60:[35, 17], Operations: ['70-8=62', '62-45=17']
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,60 unequal: No Solution
Exploring Operation: 35*17=595, Resulting Numbers: [595]
595,60 unequal: No Solution
Exploring Operation: 35-17=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,3,4
Current State: 60:[45, 27], Operations: ['70-8=62', '62-35=27']
Exploring Operation: 45+27=72, Resulting Numbers: [72]
72,60 unequal: No Solution
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 45*27=1215, Resulting Numbers: [1215]
1215,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,3,2
Current State: 60:[62, 80], Operations: ['70-8=62', '35+45=80']
Exploring Operation: 80-62=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 62*80=4960, Resulting Numbers: [4960]
4960,60 unequal: No Solution
Exploring Operation: 62+80=142, Resulting Numbers: [142]
142,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,3,3
Current State: 60:[45, 97], Operations: ['70-8=62', '35+62=97']
Exploring Operation: 45+97=142, Resulting Numbers: [142]
142,60 unequal: No Solution
Exploring Operation: 97-45=52, Resulting Numbers: [52]
52,60 unequal: No Solution
Exploring Operation: 45*97=4365, Resulting Numbers: [4365]
4365,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_5 | mult_heuristic |
[
10,
78,
58,
93
] | 63 | [
"10+78=88",
"58+93=151",
"151-88=63"
] | Current State: 63:[10, 78, 58, 93], Operations: []
Exploring Operation: 10+78=88, Resulting Numbers: [58, 93, 88]
Generated Node #2: [58, 93, 88] from Operation: 10+78=88
Current State: 63:[58, 93, 88], Operations: ['10+78=88']
Exploring Operation: 58+93=151, Resulting Numbers: [88, 151]
Generated Node #3: [88, 151] from Operation: 58+93=151
Current State: 63:[88, 151], Operations: ['10+78=88', '58+93=151']
Exploring Operation: 151-88=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[10, 78, 58, 93], Operations: []
Exploring Operation: 93-78=15, Resulting Numbers: [10, 58, 15]
Generated Node #0,0: 63:[10, 58, 15] Operation: 93-78=15
Moving to Node #0,0
Current State: 63:[10, 58, 15], Operations: ['93-78=15']
Exploring Operation: 15-10=5, Resulting Numbers: [58, 5]
Generated Node #0,0,0: 63:[58, 5] Operation: 15-10=5
Moving to Node #0,0,0
Current State: 63:[58, 5], Operations: ['93-78=15', '15-10=5']
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[10, 78, 58, 93], Operations: []
Exploring Operation: 93-78=15, Resulting Numbers: [10, 58, 15]
Generated Node #0,0: 63:[10, 58, 15] Operation: 93-78=15
Moving to Node #0,0
Current State: 63:[10, 58, 15], Operations: ['93-78=15']
Exploring Operation: 15-10=5, Resulting Numbers: [58, 5]
Generated Node #0,0,0: 63:[58, 5] Operation: 15-10=5
Moving to Node #0,0,0
Current State: 63:[58, 5], Operations: ['93-78=15', '15-10=5']
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.