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 |
|---|---|---|---|---|---|---|---|---|
[
50,
55,
58,
35
] | 45 | [
"50-35=15",
"58-55=3",
"15*3=45"
] | Current State: 45:[50, 55, 58, 35], Operations: []
Exploring Operation: 50-35=15, Resulting Numbers: [55, 58, 15]
Generated Node #2: [55, 58, 15] from Operation: 50-35=15
Current State: 45:[55, 58, 15], Operations: ['50-35=15']
Exploring Operation: 58-55=3, Resulting Numbers: [15, 3]
Generated Node #3: [15, 3] from Operation: 58-55=3
Current State: 45:[15, 3], Operations: ['50-35=15', '58-55=3']
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[50, 55, 58, 35], Operations: []
Exploring Operation: 55-50=5, Resulting Numbers: [58, 35, 5]
Generated Node #0,0: 45:[58, 35, 5] Operation: 55-50=5
Exploring Operation: 58-55=3, Resulting Numbers: [50, 35, 3]
Generated Node #0,1: 45:[50, 35, 3] Operation: 58-55=3
Exploring Operation: 58-50=8, Resulting Numbers: [55, 35, 8]
Generated Node #0,2: 45:[55, 35, 8] Operation: 58-50=8
Moving to Node #0,1
Current State: 45:[50, 35, 3], Operations: ['58-55=3']
Exploring Operation: 50-35=15, Resulting Numbers: [3, 15]
Generated Node #0,1,0: 45:[3, 15] Operation: 50-35=15
Exploring Operation: 50-3=47, Resulting Numbers: [35, 47]
Generated Node #0,1,1: 45:[35, 47] Operation: 50-3=47
Exploring Operation: 35+3=38, Resulting Numbers: [50, 38]
Generated Node #0,1,2: 45:[50, 38] Operation: 35+3=38
Moving to Node #0,2
Current State: 45:[55, 35, 8], Operations: ['58-50=8']
Exploring Operation: 55-35=20, Resulting Numbers: [8, 20]
Generated Node #0,2,0: 45:[8, 20] Operation: 55-35=20
Exploring Operation: 35+8=43, Resulting Numbers: [55, 43]
Generated Node #0,2,1: 45:[55, 43] Operation: 35+8=43
Exploring Operation: 55-8=47, Resulting Numbers: [35, 47]
Generated Node #0,2,2: 45:[35, 47] Operation: 55-8=47
Moving to Node #0,0
Current State: 45:[58, 35, 5], Operations: ['55-50=5']
Exploring Operation: 58-35=23, Resulting Numbers: [5, 23]
Generated Node #0,0,0: 45:[5, 23] Operation: 58-35=23
Exploring Operation: 58-5=53, Resulting Numbers: [35, 53]
Generated Node #0,0,1: 45:[35, 53] Operation: 58-5=53
Exploring Operation: 35/5=7, Resulting Numbers: [58, 7]
Generated Node #0,0,2: 45:[58, 7] Operation: 35/5=7
Moving to Node #0,1,0
Current State: 45:[3, 15], Operations: ['58-55=3', '50-35=15']
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[50, 55, 58, 35], Operations: []
Exploring Operation: 58-55=3, Resulting Numbers: [50, 35, 3]
Generated Node #0,1: 45:[50, 35, 3] Operation: 58-55=3
Moving to Node #0,1
Current State: 45:[50, 35, 3], Operations: ['58-55=3']
Exploring Operation: 50-35=15, Resulting Numbers: [3, 15]
Generated Node #0,1,0: 45:[3, 15] Operation: 50-35=15
Moving to Node #0,1,0
Current State: 45:[3, 15], Operations: ['58-55=3', '50-35=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 0.984375 | hs_3 | mult_heuristic |
[
28,
29,
36,
43
] | 22 | [
"28+29=57",
"36+43=79",
"79-57=22"
] | Current State: 22:[28, 29, 36, 43], Operations: []
Exploring Operation: 28+29=57, Resulting Numbers: [36, 43, 57]
Generated Node #2: [36, 43, 57] from Operation: 28+29=57
Current State: 22:[36, 43, 57], Operations: ['28+29=57']
Exploring Operation: 36+43=79, Resulting Numbers: [57, 79]
Generated Node #3: [57, 79] from Operation: 36+43=79
Current State: 22:[57, 79], Operations: ['28+29=57', '36+43=79']
Exploring Operation: 79-57=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[28, 29, 36, 43], Operations: []
Exploring Operation: 43-28=15, Resulting Numbers: [29, 36, 15]
Generated Node #0,0: 22:[29, 36, 15] Operation: 43-28=15
Exploring Operation: 36-28=8, Resulting Numbers: [29, 43, 8]
Generated Node #0,1: 22:[29, 43, 8] Operation: 36-28=8
Exploring Operation: 36-29=7, Resulting Numbers: [28, 43, 7]
Generated Node #0,2: 22:[28, 43, 7] Operation: 36-29=7
Exploring Operation: 43-36=7, Resulting Numbers: [28, 29, 7]
Generated Node #0,3: 22:[28, 29, 7] Operation: 43-36=7
Exploring Operation: 43-29=14, Resulting Numbers: [28, 36, 14]
Generated Node #0,4: 22:[28, 36, 14] Operation: 43-29=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 22:[28, 29, 7], Operations: ['43-36=7']
Exploring Operation: 29-28=1, Resulting Numbers: [7, 1]
Generated Node #0,3,0: 22:[7, 1] Operation: 29-28=1
Exploring Operation: 28+7=35, Resulting Numbers: [29, 35]
Generated Node #0,3,1: 22:[29, 35] Operation: 28+7=35
Exploring Operation: 29-7=22, Resulting Numbers: [28, 22]
Generated Node #0,3,2: 22:[28, 22] Operation: 29-7=22
Exploring Operation: 28/7=4, Resulting Numbers: [29, 4]
Generated Node #0,3,3: 22:[29, 4] Operation: 28/7=4
Exploring Operation: 28-7=21, Resulting Numbers: [29, 21]
Generated Node #0,3,4: 22:[29, 21] Operation: 28-7=21
Moving to Node #0,3,0
Current State: 22:[7, 1], Operations: ['43-36=7', '29-28=1']
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Moving to Node #0,3,2
Current State: 22:[28, 22], Operations: ['43-36=7', '29-7=22']
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,22 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,22 unequal: No Solution
Moving to Node #0,3,4
Current State: 22:[29, 21], Operations: ['43-36=7', '28-7=21']
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,22 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 29*21=609, Resulting Numbers: [609]
609,22 unequal: No Solution
Moving to Node #0,3,3
Current State: 22:[29, 4], Operations: ['43-36=7', '28/7=4']
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,22 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Moving to Node #0,3,1
Current State: 22:[29, 35], Operations: ['43-36=7', '28+7=35']
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,22 unequal: No Solution
Exploring Operation: 29+35=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,4
Current State: 22:[28, 36, 14], Operations: ['43-29=14']
Exploring Operation: 28-14=14, Resulting Numbers: [36, 14]
Generated Node #0,4,0: 22:[36, 14] Operation: 28-14=14
Exploring Operation: 28+14=42, Resulting Numbers: [36, 42]
Generated Node #0,4,1: 22:[36, 42] Operation: 28+14=42
Exploring Operation: 36-14=22, Resulting Numbers: [28, 22]
Generated Node #0,4,2: 22:[28, 22] Operation: 36-14=22
Exploring Operation: 36-28=8, Resulting Numbers: [14, 8]
Generated Node #0,4,3: 22:[14, 8] Operation: 36-28=8
Exploring Operation: 28/14=2, Resulting Numbers: [36, 2]
Generated Node #0,4,4: 22:[36, 2] Operation: 28/14=2
Moving to Node #0,4,2
Current State: 22:[28, 22], Operations: ['43-29=14', '36-14=22']
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,22 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,22 unequal: No Solution
Moving to Node #0,4,3
Current State: 22:[14, 8], Operations: ['43-29=14', '36-28=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[28, 29, 36, 43], Operations: []
Exploring Operation: 43-29=14, Resulting Numbers: [28, 36, 14]
Generated Node #0,4: 22:[28, 36, 14] Operation: 43-29=14
Moving to Node #0,4
Current State: 22:[28, 36, 14], Operations: ['43-29=14']
Exploring Operation: 36-28=8, Resulting Numbers: [14, 8]
Generated Node #0,4,3: 22:[14, 8] Operation: 36-28=8
Moving to Node #0,4,3
Current State: 22:[14, 8], Operations: ['43-29=14', '36-28=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | mult_heuristic |
[
7,
96,
40,
32
] | 17 | [
"96-7=89",
"40+32=72",
"89-72=17"
] | Current State: 17:[7, 96, 40, 32], Operations: []
Exploring Operation: 96-7=89, Resulting Numbers: [40, 32, 89]
Generated Node #2: [40, 32, 89] from Operation: 96-7=89
Current State: 17:[40, 32, 89], Operations: ['96-7=89']
Exploring Operation: 40+32=72, Resulting Numbers: [89, 72]
Generated Node #3: [89, 72] from Operation: 40+32=72
Current State: 17:[89, 72], Operations: ['96-7=89', '40+32=72']
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[7, 96, 40, 32], Operations: []
Exploring Operation: 96/32=3, Resulting Numbers: [7, 40, 3]
Generated Node #0,0: 17:[7, 40, 3] Operation: 96/32=3
Exploring Operation: 96-40=56, Resulting Numbers: [7, 32, 56]
Generated Node #0,1: 17:[7, 32, 56] Operation: 96-40=56
Exploring Operation: 40-32=8, Resulting Numbers: [7, 96, 8]
Generated Node #0,2: 17:[7, 96, 8] Operation: 40-32=8
Exploring Operation: 96-32=64, Resulting Numbers: [7, 40, 64]
Generated Node #0,3: 17:[7, 40, 64] Operation: 96-32=64
Moving to Node #0,0
Current State: 17:[7, 40, 3], Operations: ['96/32=3']
Exploring Operation: 40-3=37, Resulting Numbers: [7, 37]
Generated Node #0,0,0: 17:[7, 37] Operation: 40-3=37
Exploring Operation: 40-7=33, Resulting Numbers: [3, 33]
Generated Node #0,0,1: 17:[3, 33] Operation: 40-7=33
Exploring Operation: 7*3=21, Resulting Numbers: [40, 21]
Generated Node #0,0,2: 17:[40, 21] Operation: 7*3=21
Exploring Operation: 7+3=10, Resulting Numbers: [40, 10]
Generated Node #0,0,3: 17:[40, 10] Operation: 7+3=10
Moving to Node #0,1
Current State: 17:[7, 32, 56], Operations: ['96-40=56']
Exploring Operation: 56-32=24, Resulting Numbers: [7, 24]
Generated Node #0,1,0: 17:[7, 24] Operation: 56-32=24
Exploring Operation: 56-7=49, Resulting Numbers: [32, 49]
Generated Node #0,1,1: 17:[32, 49] Operation: 56-7=49
Exploring Operation: 32-7=25, Resulting Numbers: [56, 25]
Generated Node #0,1,2: 17:[56, 25] Operation: 32-7=25
Exploring Operation: 56/7=8, Resulting Numbers: [32, 8]
Generated Node #0,1,3: 17:[32, 8] Operation: 56/7=8
Moving to Node #0,3
Current State: 17:[7, 40, 64], Operations: ['96-32=64']
Exploring Operation: 40-7=33, Resulting Numbers: [64, 33]
Generated Node #0,3,0: 17:[64, 33] Operation: 40-7=33
Exploring Operation: 7+40=47, Resulting Numbers: [64, 47]
Generated Node #0,3,1: 17:[64, 47] Operation: 7+40=47
Exploring Operation: 64-7=57, Resulting Numbers: [40, 57]
Generated Node #0,3,2: 17:[40, 57] Operation: 64-7=57
Exploring Operation: 64-40=24, Resulting Numbers: [7, 24]
Generated Node #0,3,3: 17:[7, 24] Operation: 64-40=24
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 17:[7, 24], Operations: ['96-32=64', '64-40=24']
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,17 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[7, 96, 40, 32], Operations: []
Exploring Operation: 96-32=64, Resulting Numbers: [7, 40, 64]
Generated Node #0,3: 17:[7, 40, 64] Operation: 96-32=64
Moving to Node #0,3
Current State: 17:[7, 40, 64], Operations: ['96-32=64']
Exploring Operation: 64-40=24, Resulting Numbers: [7, 24]
Generated Node #0,3,3: 17:[7, 24] Operation: 64-40=24
Moving to Node #0,3,3
Current State: 17:[7, 24], Operations: ['96-32=64', '64-40=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
43,
68,
59,
64
] | 17 | [
"59-43=16",
"68*16=1088",
"1088/64=17"
] | Current State: 17:[43, 68, 59, 64], Operations: []
Exploring Operation: 59-43=16, Resulting Numbers: [68, 64, 16]
Generated Node #2: [68, 64, 16] from Operation: 59-43=16
Current State: 17:[68, 64, 16], Operations: ['59-43=16']
Exploring Operation: 68*16=1088, Resulting Numbers: [64, 1088]
Generated Node #3: [64, 1088] from Operation: 68*16=1088
Current State: 17:[64, 1088], Operations: ['59-43=16', '68*16=1088']
Exploring Operation: 1088/64=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[43, 68, 59, 64], Operations: []
Exploring Operation: 68-59=9, Resulting Numbers: [43, 64, 9]
Generated Node #0,0: 17:[43, 64, 9] Operation: 68-59=9
Exploring Operation: 68-43=25, Resulting Numbers: [59, 64, 25]
Generated Node #0,1: 17:[59, 64, 25] Operation: 68-43=25
Exploring Operation: 68-64=4, Resulting Numbers: [43, 59, 4]
Generated Node #0,2: 17:[43, 59, 4] Operation: 68-64=4
Exploring Operation: 64-43=21, Resulting Numbers: [68, 59, 21]
Generated Node #0,3: 17:[68, 59, 21] Operation: 64-43=21
Exploring Operation: 64-59=5, Resulting Numbers: [43, 68, 5]
Generated Node #0,4: 17:[43, 68, 5] Operation: 64-59=5
Moving to Node #0,0
Current State: 17:[43, 64, 9], Operations: ['68-59=9']
Exploring Operation: 64-43=21, Resulting Numbers: [9, 21]
Generated Node #0,0,0: 17:[9, 21] Operation: 64-43=21
Exploring Operation: 43-9=34, Resulting Numbers: [64, 34]
Generated Node #0,0,1: 17:[64, 34] Operation: 43-9=34
Exploring Operation: 43+9=52, Resulting Numbers: [64, 52]
Generated Node #0,0,2: 17:[64, 52] Operation: 43+9=52
Exploring Operation: 64+9=73, Resulting Numbers: [43, 73]
Generated Node #0,0,3: 17:[43, 73] Operation: 64+9=73
Exploring Operation: 64-9=55, Resulting Numbers: [43, 55]
Generated Node #0,0,4: 17:[43, 55] Operation: 64-9=55
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[9, 21], Operations: ['68-59=9', '64-43=21']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 9*21=189, Resulting Numbers: [189]
189,17 unequal: No Solution
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[64, 34], Operations: ['68-59=9', '43-9=34']
Exploring Operation: 64-34=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 64*34=2176, Resulting Numbers: [2176]
2176,17 unequal: No Solution
Exploring Operation: 64+34=98, Resulting Numbers: [98]
98,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 17:[43, 55], Operations: ['68-59=9', '64-9=55']
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 43*55=2365, Resulting Numbers: [2365]
2365,17 unequal: No Solution
Exploring Operation: 43+55=98, Resulting Numbers: [98]
98,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 17:[64, 52], Operations: ['68-59=9', '43+9=52']
Exploring Operation: 64-52=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 64+52=116, Resulting Numbers: [116]
116,17 unequal: No Solution
Exploring Operation: 64*52=3328, Resulting Numbers: [3328]
3328,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 17:[43, 73], Operations: ['68-59=9', '64+9=73']
Exploring Operation: 73-43=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 43*73=3139, Resulting Numbers: [3139]
3139,17 unequal: No Solution
Exploring Operation: 43+73=116, Resulting Numbers: [116]
116,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 17:[43, 59, 4], Operations: ['68-64=4']
Exploring Operation: 59-4=55, Resulting Numbers: [43, 55]
Generated Node #0,2,0: 17:[43, 55] Operation: 59-4=55
Exploring Operation: 43+4=47, Resulting Numbers: [59, 47]
Generated Node #0,2,1: 17:[59, 47] Operation: 43+4=47
Exploring Operation: 59-43=16, Resulting Numbers: [4, 16]
Generated Node #0,2,2: 17:[4, 16] Operation: 59-43=16
Exploring Operation: 59+4=63, Resulting Numbers: [43, 63]
Generated Node #0,2,3: 17:[43, 63] Operation: 59+4=63
Exploring Operation: 43-4=39, Resulting Numbers: [59, 39]
Generated Node #0,2,4: 17:[59, 39] Operation: 43-4=39
Moving to Node #0,4
Current State: 17:[43, 68, 5], Operations: ['64-59=5']
Exploring Operation: 43-5=38, Resulting Numbers: [68, 38]
Generated Node #0,4,0: 17:[68, 38] Operation: 43-5=38
Exploring Operation: 68+5=73, Resulting Numbers: [43, 73]
Generated Node #0,4,1: 17:[43, 73] Operation: 68+5=73
Exploring Operation: 68-5=63, Resulting Numbers: [43, 63]
Generated Node #0,4,2: 17:[43, 63] Operation: 68-5=63
Exploring Operation: 68-43=25, Resulting Numbers: [5, 25]
Generated Node #0,4,3: 17:[5, 25] Operation: 68-43=25
Exploring Operation: 43+5=48, Resulting Numbers: [68, 48]
Generated Node #0,4,4: 17:[68, 48] Operation: 43+5=48
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 17:[5, 25], Operations: ['64-59=5', '68-43=25']
Exploring Operation: 5*25=125, Resulting Numbers: [125]
125,17 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 17:[68, 38], Operations: ['64-59=5', '43-5=38']
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 68*38=2584, Resulting Numbers: [2584]
2584,17 unequal: No Solution
Exploring Operation: 68+38=106, Resulting Numbers: [106]
106,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 17:[43, 63], Operations: ['64-59=5', '68-5=63']
Exploring Operation: 43+63=106, Resulting Numbers: [106]
106,17 unequal: No Solution
Exploring Operation: 43*63=2709, Resulting Numbers: [2709]
2709,17 unequal: No Solution
Exploring Operation: 63-43=20, Resulting Numbers: [20]
20,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 17:[43, 73], Operations: ['64-59=5', '68+5=73']
Exploring Operation: 43+73=116, Resulting Numbers: [116]
116,17 unequal: No Solution
Exploring Operation: 43*73=3139, Resulting Numbers: [3139]
3139,17 unequal: No Solution
Exploring Operation: 73-43=30, Resulting Numbers: [30]
30,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 17:[68, 48], Operations: ['64-59=5', '43+5=48']
Exploring Operation: 68-48=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Exploring Operation: 68*48=3264, Resulting Numbers: [3264]
3264,17 unequal: No Solution
Exploring Operation: 68+48=116, Resulting Numbers: [116]
116,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 17:[59, 64, 25], Operations: ['68-43=25']
Exploring Operation: 59+25=84, Resulting Numbers: [64, 84]
Generated Node #0,1,0: 17:[64, 84] Operation: 59+25=84
Exploring Operation: 59+64=123, Resulting Numbers: [25, 123]
Generated Node #0,1,1: 17:[25, 123] Operation: 59+64=123
Exploring Operation: 59-25=34, Resulting Numbers: [64, 34]
Generated Node #0,1,2: 17:[64, 34] Operation: 59-25=34
Exploring Operation: 64-59=5, Resulting Numbers: [25, 5]
Generated Node #0,1,3: 17:[25, 5] Operation: 64-59=5
Exploring Operation: 64-25=39, Resulting Numbers: [59, 39]
Generated Node #0,1,4: 17:[59, 39] Operation: 64-25=39
Moving to Node #0,3
Current State: 17:[68, 59, 21], Operations: ['64-43=21']
Exploring Operation: 68-59=9, Resulting Numbers: [21, 9]
Generated Node #0,3,0: 17:[21, 9] Operation: 68-59=9
Exploring Operation: 68+21=89, Resulting Numbers: [59, 89]
Generated Node #0,3,1: 17:[59, 89] Operation: 68+21=89
Exploring Operation: 68-21=47, Resulting Numbers: [59, 47]
Generated Node #0,3,2: 17:[59, 47] Operation: 68-21=47
Exploring Operation: 59-21=38, Resulting Numbers: [68, 38]
Generated Node #0,3,3: 17:[68, 38] Operation: 59-21=38
Exploring Operation: 68+59=127, Resulting Numbers: [21, 127]
Generated Node #0,3,4: 17:[21, 127] Operation: 68+59=127
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 17:[21, 9], Operations: ['64-43=21', '68-59=9']
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,17 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 17:[59, 47], Operations: ['64-43=21', '68-21=47']
Exploring Operation: 59-47=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 59+47=106, Resulting Numbers: [106]
106,17 unequal: No Solution
Exploring Operation: 59*47=2773, Resulting Numbers: [2773]
2773,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 17:[68, 38], Operations: ['64-43=21', '59-21=38']
Exploring Operation: 68+38=106, Resulting Numbers: [106]
106,17 unequal: No Solution
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 68*38=2584, Resulting Numbers: [2584]
2584,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 17:[59, 89], Operations: ['64-43=21', '68+21=89']
Exploring Operation: 59*89=5251, Resulting Numbers: [5251]
5251,17 unequal: No Solution
Exploring Operation: 59+89=148, Resulting Numbers: [148]
148,17 unequal: No Solution
Exploring Operation: 89-59=30, Resulting Numbers: [30]
30,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 17:[21, 127], Operations: ['64-43=21', '68+59=127']
Exploring Operation: 127-21=106, Resulting Numbers: [106]
106,17 unequal: No Solution
Exploring Operation: 21*127=2667, Resulting Numbers: [2667]
2667,17 unequal: No Solution
Exploring Operation: 21+127=148, Resulting Numbers: [148]
148,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 17:[4, 16], Operations: ['68-64=4', '59-43=16']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,17 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,17 unequal: No Solution
Moving to Node #0,1,3
Current State: 17:[25, 5], Operations: ['68-43=25', '64-59=5']
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 25*5=125, Resulting Numbers: [125]
125,17 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[64, 34], Operations: ['68-43=25', '59-25=34']
Exploring Operation: 64+34=98, Resulting Numbers: [98]
98,17 unequal: No Solution
Exploring Operation: 64*34=2176, Resulting Numbers: [2176]
2176,17 unequal: No Solution
Exploring Operation: 64-34=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Moving to Node #0,2,4
Current State: 17:[59, 39], Operations: ['68-64=4', '43-4=39']
Exploring Operation: 59+39=98, Resulting Numbers: [98]
98,17 unequal: No Solution
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Exploring Operation: 59*39=2301, Resulting Numbers: [2301]
2301,17 unequal: No Solution
Moving to Node #0,2,0
Current State: 17:[43, 55], Operations: ['68-64=4', '59-4=55']
Exploring Operation: 43*55=2365, Resulting Numbers: [2365]
2365,17 unequal: No Solution
Exploring Operation: 43+55=98, Resulting Numbers: [98]
98,17 unequal: No Solution
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Moving to Node #0,1,4
Current State: 17:[59, 39], Operations: ['68-43=25', '64-25=39']
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Exploring Operation: 59*39=2301, Resulting Numbers: [2301]
2301,17 unequal: No Solution
Exploring Operation: 59+39=98, Resulting Numbers: [98]
98,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[59, 47], Operations: ['68-64=4', '43+4=47']
Exploring Operation: 59*47=2773, Resulting Numbers: [2773]
2773,17 unequal: No Solution
Exploring Operation: 59-47=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 59+47=106, Resulting Numbers: [106]
106,17 unequal: No Solution
Moving to Node #0,2,3
Current State: 17:[43, 63], Operations: ['68-64=4', '59+4=63']
Exploring Operation: 43*63=2709, Resulting Numbers: [2709]
2709,17 unequal: No Solution
Exploring Operation: 63-43=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Exploring Operation: 43+63=106, Resulting Numbers: [106]
106,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[25, 123], Operations: ['68-43=25', '59+64=123']
Exploring Operation: 25*123=3075, Resulting Numbers: [3075]
3075,17 unequal: No Solution
Exploring Operation: 25+123=148, Resulting Numbers: [148]
148,17 unequal: No Solution
Exploring Operation: 123-25=98, Resulting Numbers: [98]
98,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[64, 84], Operations: ['68-43=25', '59+25=84']
Exploring Operation: 64+84=148, Resulting Numbers: [148]
148,17 unequal: No Solution
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Exploring Operation: 64*84=5376, Resulting Numbers: [5376]
5376,17 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
9,
5,
85,
99
] | 81 | [
"5+85=90",
"99-90=9",
"9*9=81"
] | Current State: 81:[9, 5, 85, 99], Operations: []
Exploring Operation: 5+85=90, Resulting Numbers: [9, 99, 90]
Generated Node #2: [9, 99, 90] from Operation: 5+85=90
Current State: 81:[9, 99, 90], Operations: ['5+85=90']
Exploring Operation: 99-90=9, Resulting Numbers: [9, 9]
Generated Node #3: [9, 9] from Operation: 99-90=9
Current State: 81:[9, 9], Operations: ['5+85=90', '99-90=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[9, 5, 85, 99], Operations: []
Exploring Operation: 99-9=90, Resulting Numbers: [5, 85, 90]
Generated Node #0,0: 81:[5, 85, 90] Operation: 99-9=90
Exploring Operation: 99/9=11, Resulting Numbers: [5, 85, 11]
Generated Node #0,1: 81:[5, 85, 11] Operation: 99/9=11
Exploring Operation: 99-5=94, Resulting Numbers: [9, 85, 94]
Generated Node #0,2: 81:[9, 85, 94] Operation: 99-5=94
Exploring Operation: 99-85=14, Resulting Numbers: [9, 5, 14]
Generated Node #0,3: 81:[9, 5, 14] Operation: 99-85=14
Exploring Operation: 85-5=80, Resulting Numbers: [9, 99, 80]
Generated Node #0,4: 81:[9, 99, 80] Operation: 85-5=80
Moving to Node #0,3
Current State: 81:[9, 5, 14], Operations: ['99-85=14']
Exploring Operation: 9+14=23, Resulting Numbers: [5, 23]
Generated Node #0,3,0: 81:[5, 23] Operation: 9+14=23
Exploring Operation: 5+14=19, Resulting Numbers: [9, 19]
Generated Node #0,3,1: 81:[9, 19] Operation: 5+14=19
Exploring Operation: 14-5=9, Resulting Numbers: [9, 9]
Generated Node #0,3,2: 81:[9, 9] Operation: 14-5=9
Exploring Operation: 14-9=5, Resulting Numbers: [5, 5]
Generated Node #0,3,3: 81:[5, 5] Operation: 14-9=5
Exploring Operation: 9-5=4, Resulting Numbers: [14, 4]
Generated Node #0,3,4: 81:[14, 4] Operation: 9-5=4
Moving to Node #0,1
Current State: 81:[5, 85, 11], Operations: ['99/9=11']
Exploring Operation: 85-11=74, Resulting Numbers: [5, 74]
Generated Node #0,1,0: 81:[5, 74] Operation: 85-11=74
Exploring Operation: 5+85=90, Resulting Numbers: [11, 90]
Generated Node #0,1,1: 81:[11, 90] Operation: 5+85=90
Exploring Operation: 85/5=17, Resulting Numbers: [11, 17]
Generated Node #0,1,2: 81:[11, 17] Operation: 85/5=17
Exploring Operation: 85-5=80, Resulting Numbers: [11, 80]
Generated Node #0,1,3: 81:[11, 80] Operation: 85-5=80
Exploring Operation: 11-5=6, Resulting Numbers: [85, 6]
Generated Node #0,1,4: 81:[85, 6] Operation: 11-5=6
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 81:[11, 80], Operations: ['99/9=11', '85-5=80']
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,81 unequal: No Solution
Exploring Operation: 11+80=91, Resulting Numbers: [91]
91,81 unequal: No Solution
Exploring Operation: 11*80=880, Resulting Numbers: [880]
880,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 81:[85, 6], Operations: ['99/9=11', '11-5=6']
Exploring Operation: 85+6=91, Resulting Numbers: [91]
91,81 unequal: No Solution
Exploring Operation: 85*6=510, Resulting Numbers: [510]
510,81 unequal: No Solution
Exploring Operation: 85-6=79, Resulting Numbers: [79]
79,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[5, 74], Operations: ['99/9=11', '85-11=74']
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,81 unequal: No Solution
Exploring Operation: 5+74=79, Resulting Numbers: [79]
79,81 unequal: No Solution
Exploring Operation: 5*74=370, Resulting Numbers: [370]
370,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[11, 17], Operations: ['99/9=11', '85/5=17']
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[11, 90], Operations: ['99/9=11', '5+85=90']
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,81 unequal: No Solution
Exploring Operation: 11+90=101, Resulting Numbers: [101]
101,81 unequal: No Solution
Exploring Operation: 11*90=990, Resulting Numbers: [990]
990,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 81:[5, 85, 90], Operations: ['99-9=90']
Exploring Operation: 90-85=5, Resulting Numbers: [5, 5]
Generated Node #0,0,0: 81:[5, 5] Operation: 90-85=5
Exploring Operation: 90-5=85, Resulting Numbers: [85, 85]
Generated Node #0,0,1: 81:[85, 85] Operation: 90-5=85
Exploring Operation: 90/5=18, Resulting Numbers: [85, 18]
Generated Node #0,0,2: 81:[85, 18] Operation: 90/5=18
Exploring Operation: 85-5=80, Resulting Numbers: [90, 80]
Generated Node #0,0,3: 81:[90, 80] Operation: 85-5=80
Exploring Operation: 85/5=17, Resulting Numbers: [90, 17]
Generated Node #0,0,4: 81:[90, 17] Operation: 85/5=17
Moving to Node #0,2
Current State: 81:[9, 85, 94], Operations: ['99-5=94']
Exploring Operation: 9+85=94, Resulting Numbers: [94, 94]
Generated Node #0,2,0: 81:[94, 94] Operation: 9+85=94
Exploring Operation: 9+94=103, Resulting Numbers: [85, 103]
Generated Node #0,2,1: 81:[85, 103] Operation: 9+94=103
Exploring Operation: 94-9=85, Resulting Numbers: [85, 85]
Generated Node #0,2,2: 81:[85, 85] Operation: 94-9=85
Exploring Operation: 94-85=9, Resulting Numbers: [9, 9]
Generated Node #0,2,3: 81:[9, 9] Operation: 94-85=9
Exploring Operation: 85-9=76, Resulting Numbers: [94, 76]
Generated Node #0,2,4: 81:[94, 76] Operation: 85-9=76
Moving to Node #0,4
Current State: 81:[9, 99, 80], Operations: ['85-5=80']
Exploring Operation: 9+99=108, Resulting Numbers: [80, 108]
Generated Node #0,4,0: 81:[80, 108] Operation: 9+99=108
Exploring Operation: 99/9=11, Resulting Numbers: [80, 11]
Generated Node #0,4,1: 81:[80, 11] Operation: 99/9=11
Exploring Operation: 99-9=90, Resulting Numbers: [80, 90]
Generated Node #0,4,2: 81:[80, 90] Operation: 99-9=90
Exploring Operation: 99-80=19, Resulting Numbers: [9, 19]
Generated Node #0,4,3: 81:[9, 19] Operation: 99-80=19
Exploring Operation: 9+80=89, Resulting Numbers: [99, 89]
Generated Node #0,4,4: 81:[99, 89] Operation: 9+80=89
Moving to Node #0,3,2
Current State: 81:[9, 9], Operations: ['99-85=14', '14-5=9']
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,81 unequal: No Solution
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[9, 5, 85, 99], Operations: []
Exploring Operation: 99-85=14, Resulting Numbers: [9, 5, 14]
Generated Node #0,3: 81:[9, 5, 14] Operation: 99-85=14
Moving to Node #0,3
Current State: 81:[9, 5, 14], Operations: ['99-85=14']
Exploring Operation: 14-5=9, Resulting Numbers: [9, 9]
Generated Node #0,3,2: 81:[9, 9] Operation: 14-5=9
Moving to Node #0,3,2
Current State: 81:[9, 9], Operations: ['99-85=14', '14-5=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.954861 | hs_5 | mult_heuristic |
[
6,
57,
42,
98
] | 97 | [
"6*42=252",
"57+98=155",
"252-155=97"
] | Current State: 97:[6, 57, 42, 98], Operations: []
Exploring Operation: 6*42=252, Resulting Numbers: [57, 98, 252]
Generated Node #2: [57, 98, 252] from Operation: 6*42=252
Current State: 97:[57, 98, 252], Operations: ['6*42=252']
Exploring Operation: 57+98=155, Resulting Numbers: [252, 155]
Generated Node #3: [252, 155] from Operation: 57+98=155
Current State: 97:[252, 155], Operations: ['6*42=252', '57+98=155']
Exploring Operation: 252-155=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[6, 57, 42, 98], Operations: []
Exploring Operation: 6+57=63, Resulting Numbers: [42, 98, 63]
Generated Node #0,0: 97:[42, 98, 63] Operation: 6+57=63
Exploring Operation: 6+42=48, Resulting Numbers: [57, 98, 48]
Generated Node #0,1: 97:[57, 98, 48] Operation: 6+42=48
Exploring Operation: 98-6=92, Resulting Numbers: [57, 42, 92]
Generated Node #0,2: 97:[57, 42, 92] Operation: 98-6=92
Exploring Operation: 57+42=99, Resulting Numbers: [6, 98, 99]
Generated Node #0,3: 97:[6, 98, 99] Operation: 57+42=99
Moving to Node #0,0
Current State: 97:[42, 98, 63], Operations: ['6+57=63']
Exploring Operation: 42+63=105, Resulting Numbers: [98, 105]
Generated Node #0,0,0: 97:[98, 105] Operation: 42+63=105
Exploring Operation: 63-42=21, Resulting Numbers: [98, 21]
Generated Node #0,0,1: 97:[98, 21] Operation: 63-42=21
Exploring Operation: 42+98=140, Resulting Numbers: [63, 140]
Generated Node #0,0,2: 97:[63, 140] Operation: 42+98=140
Exploring Operation: 98-42=56, Resulting Numbers: [63, 56]
Generated Node #0,0,3: 97:[63, 56] Operation: 98-42=56
Moving to Node #0,1
Current State: 97:[57, 98, 48], Operations: ['6+42=48']
Exploring Operation: 57-48=9, Resulting Numbers: [98, 9]
Generated Node #0,1,0: 97:[98, 9] Operation: 57-48=9
Exploring Operation: 98-48=50, Resulting Numbers: [57, 50]
Generated Node #0,1,1: 97:[57, 50] Operation: 98-48=50
Exploring Operation: 57+48=105, Resulting Numbers: [98, 105]
Generated Node #0,1,2: 97:[98, 105] Operation: 57+48=105
Exploring Operation: 98+48=146, Resulting Numbers: [57, 146]
Generated Node #0,1,3: 97:[57, 146] Operation: 98+48=146
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[98, 105], Operations: ['6+42=48', '57+48=105']
Exploring Operation: 98+105=203, Resulting Numbers: [203]
203,97 unequal: No Solution
Exploring Operation: 98*105=10290, Resulting Numbers: [10290]
10290,97 unequal: No Solution
Exploring Operation: 105-98=7, Resulting Numbers: [7]
7,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,1
Current State: 97:[57, 50], Operations: ['6+42=48', '98-48=50']
Exploring Operation: 57+50=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Exploring Operation: 57-50=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Exploring Operation: 57*50=2850, Resulting Numbers: [2850]
2850,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,0
Current State: 97:[98, 9], Operations: ['6+42=48', '57-48=9']
Exploring Operation: 98*9=882, Resulting Numbers: [882]
882,97 unequal: No Solution
Exploring Operation: 98+9=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,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,3
Current State: 97:[57, 146], Operations: ['6+42=48', '98+48=146']
Exploring Operation: 57+146=203, Resulting Numbers: [203]
203,97 unequal: No Solution
Exploring Operation: 146-57=89, Resulting Numbers: [89]
89,97 unequal: No Solution
Exploring Operation: 57*146=8322, Resulting Numbers: [8322]
8322,97 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: 97:[6, 98, 99], Operations: ['57+42=99']
Exploring Operation: 6+99=105, Resulting Numbers: [98, 105]
Generated Node #0,3,0: 97:[98, 105] Operation: 6+99=105
Exploring Operation: 99-6=93, Resulting Numbers: [98, 93]
Generated Node #0,3,1: 97:[98, 93] Operation: 99-6=93
Exploring Operation: 6+98=104, Resulting Numbers: [99, 104]
Generated Node #0,3,2: 97:[99, 104] Operation: 6+98=104
Exploring Operation: 98-6=92, Resulting Numbers: [99, 92]
Generated Node #0,3,3: 97:[99, 92] Operation: 98-6=92
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 97:[98, 93], Operations: ['57+42=99', '99-6=93']
Exploring Operation: 98*93=9114, Resulting Numbers: [9114]
9114,97 unequal: No Solution
Exploring Operation: 98-93=5, Resulting Numbers: [5]
5,97 unequal: No Solution
Exploring Operation: 98+93=191, Resulting Numbers: [191]
191,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 97:[99, 92], Operations: ['57+42=99', '98-6=92']
Exploring Operation: 99-92=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Exploring Operation: 99*92=9108, Resulting Numbers: [9108]
9108,97 unequal: No Solution
Exploring Operation: 99+92=191, Resulting Numbers: [191]
191,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 97:[98, 105], Operations: ['57+42=99', '6+99=105']
Exploring Operation: 98*105=10290, Resulting Numbers: [10290]
10290,97 unequal: No Solution
Exploring Operation: 105-98=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Exploring Operation: 98+105=203, Resulting Numbers: [203]
203,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 97:[99, 104], Operations: ['57+42=99', '6+98=104']
Exploring Operation: 104-99=5, Resulting Numbers: [5]
5,97 unequal: No Solution
Exploring Operation: 99*104=10296, Resulting Numbers: [10296]
10296,97 unequal: No Solution
Exploring Operation: 99+104=203, Resulting Numbers: [203]
203,97 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: 97:[57, 42, 92], Operations: ['98-6=92']
Exploring Operation: 42+92=134, Resulting Numbers: [57, 134]
Generated Node #0,2,0: 97:[57, 134] Operation: 42+92=134
Exploring Operation: 92-42=50, Resulting Numbers: [57, 50]
Generated Node #0,2,1: 97:[57, 50] Operation: 92-42=50
Exploring Operation: 57+42=99, Resulting Numbers: [92, 99]
Generated Node #0,2,2: 97:[92, 99] Operation: 57+42=99
Exploring Operation: 57-42=15, Resulting Numbers: [92, 15]
Generated Node #0,2,3: 97:[92, 15] Operation: 57-42=15
Moving to Node #0,2,2
Current State: 97:[92, 99], Operations: ['98-6=92', '57+42=99']
Exploring Operation: 99-92=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Exploring Operation: 92*99=9108, Resulting Numbers: [9108]
9108,97 unequal: No Solution
Exploring Operation: 92+99=191, Resulting Numbers: [191]
191,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[98, 105], Operations: ['6+57=63', '42+63=105']
Exploring Operation: 98+105=203, Resulting Numbers: [203]
203,97 unequal: No Solution
Exploring Operation: 98*105=10290, Resulting Numbers: [10290]
10290,97 unequal: No Solution
Exploring Operation: 105-98=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[63, 56], Operations: ['6+57=63', '98-42=56']
Exploring Operation: 63*56=3528, Resulting Numbers: [3528]
3528,97 unequal: No Solution
Exploring Operation: 63+56=119, Resulting Numbers: [119]
119,97 unequal: No Solution
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[98, 21], Operations: ['6+57=63', '63-42=21']
Exploring Operation: 98*21=2058, Resulting Numbers: [2058]
2058,97 unequal: No Solution
Exploring Operation: 98-21=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Exploring Operation: 98+21=119, Resulting Numbers: [119]
119,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[57, 134], Operations: ['98-6=92', '42+92=134']
Exploring Operation: 57*134=7638, Resulting Numbers: [7638]
7638,97 unequal: No Solution
Exploring Operation: 57+134=191, Resulting Numbers: [191]
191,97 unequal: No Solution
Exploring Operation: 134-57=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[63, 140], Operations: ['6+57=63', '42+98=140']
Exploring Operation: 63+140=203, Resulting Numbers: [203]
203,97 unequal: No Solution
Exploring Operation: 140-63=77, Resulting Numbers: [77]
77,97 unequal: No Solution
Exploring Operation: 63*140=8820, Resulting Numbers: [8820]
8820,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[57, 50], Operations: ['98-6=92', '92-42=50']
Exploring Operation: 57*50=2850, Resulting Numbers: [2850]
2850,97 unequal: No Solution
Exploring Operation: 57+50=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Exploring Operation: 57-50=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[92, 15], Operations: ['98-6=92', '57-42=15']
Exploring Operation: 92+15=107, Resulting Numbers: [107]
107,97 unequal: No Solution
Exploring Operation: 92*15=1380, Resulting Numbers: [1380]
1380,97 unequal: No Solution
Exploring Operation: 92-15=77, Resulting Numbers: [77]
77,97 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
11,
4,
30,
70
] | 14 | [
"30+70=100",
"100/4=25",
"25-11=14"
] | Current State: 14:[11, 4, 30, 70], Operations: []
Exploring Operation: 30+70=100, Resulting Numbers: [11, 4, 100]
Generated Node #2: [11, 4, 100] from Operation: 30+70=100
Current State: 14:[11, 4, 100], Operations: ['30+70=100']
Exploring Operation: 100/4=25, Resulting Numbers: [11, 25]
Generated Node #3: [11, 25] from Operation: 100/4=25
Current State: 14:[11, 25], Operations: ['30+70=100', '100/4=25']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[11, 4, 30, 70], Operations: []
Exploring Operation: 70-11=59, Resulting Numbers: [4, 30, 59]
Generated Node #0,0: 14:[4, 30, 59] Operation: 70-11=59
Exploring Operation: 30-11=19, Resulting Numbers: [4, 70, 19]
Generated Node #0,1: 14:[4, 70, 19] Operation: 30-11=19
Exploring Operation: 70-30=40, Resulting Numbers: [11, 4, 40]
Generated Node #0,2: 14:[11, 4, 40] Operation: 70-30=40
Moving to Node #0,2
Current State: 14:[11, 4, 40], Operations: ['70-30=40']
Exploring Operation: 40/4=10, Resulting Numbers: [11, 10]
Generated Node #0,2,0: 14:[11, 10] Operation: 40/4=10
Exploring Operation: 40-4=36, Resulting Numbers: [11, 36]
Generated Node #0,2,1: 14:[11, 36] Operation: 40-4=36
Exploring Operation: 40-11=29, Resulting Numbers: [4, 29]
Generated Node #0,2,2: 14:[4, 29] Operation: 40-11=29
Moving to Node #0,0
Current State: 14:[4, 30, 59], Operations: ['70-11=59']
Exploring Operation: 59-4=55, Resulting Numbers: [30, 55]
Generated Node #0,0,0: 14:[30, 55] Operation: 59-4=55
Exploring Operation: 59-30=29, Resulting Numbers: [4, 29]
Generated Node #0,0,1: 14:[4, 29] Operation: 59-30=29
Exploring Operation: 30-4=26, Resulting Numbers: [59, 26]
Generated Node #0,0,2: 14:[59, 26] Operation: 30-4=26
Moving to Node #0,1
Current State: 14:[4, 70, 19], Operations: ['30-11=19']
Exploring Operation: 70-4=66, Resulting Numbers: [19, 66]
Generated Node #0,1,0: 14:[19, 66] Operation: 70-4=66
Exploring Operation: 70-19=51, Resulting Numbers: [4, 51]
Generated Node #0,1,1: 14:[4, 51] Operation: 70-19=51
Exploring Operation: 19-4=15, Resulting Numbers: [70, 15]
Generated Node #0,1,2: 14:[70, 15] Operation: 19-4=15
Moving to Node #0,2,0
Current State: 14:[11, 10], Operations: ['70-30=40', '40/4=10']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,14 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[4, 29], Operations: ['70-30=40', '40-11=29']
Exploring Operation: 4*29=116, Resulting Numbers: [116]
116,14 unequal: No Solution
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[4, 29], Operations: ['70-11=59', '59-30=29']
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 4*29=116, Resulting Numbers: [116]
116,14 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[11, 36], Operations: ['70-30=40', '40-4=36']
Exploring Operation: 11+36=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 11*36=396, Resulting Numbers: [396]
396,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[4, 51], Operations: ['30-11=19', '70-19=51']
Exploring Operation: 4+51=55, Resulting Numbers: [55]
55,14 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Exploring Operation: 4*51=204, Resulting Numbers: [204]
204,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[59, 26], Operations: ['70-11=59', '30-4=26']
Exploring Operation: 59+26=85, Resulting Numbers: [85]
85,14 unequal: No Solution
Exploring Operation: 59*26=1534, Resulting Numbers: [1534]
1534,14 unequal: No Solution
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[70, 15], Operations: ['30-11=19', '19-4=15']
Exploring Operation: 70*15=1050, Resulting Numbers: [1050]
1050,14 unequal: No Solution
Exploring Operation: 70+15=85, Resulting Numbers: [85]
85,14 unequal: No Solution
Exploring Operation: 70-15=55, Resulting Numbers: [55]
55,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[30, 55], Operations: ['70-11=59', '59-4=55']
Exploring Operation: 30*55=1650, Resulting Numbers: [1650]
1650,14 unequal: No Solution
Exploring Operation: 55-30=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 30+55=85, Resulting Numbers: [85]
85,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[19, 66], Operations: ['30-11=19', '70-4=66']
Exploring Operation: 19+66=85, Resulting Numbers: [85]
85,14 unequal: No Solution
Exploring Operation: 19*66=1254, Resulting Numbers: [1254]
1254,14 unequal: No Solution
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,14 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
55,
13,
32,
70
] | 64 | [
"55+13=68",
"70-68=2",
"32*2=64"
] | Current State: 64:[55, 13, 32, 70], Operations: []
Exploring Operation: 55+13=68, Resulting Numbers: [32, 70, 68]
Generated Node #2: [32, 70, 68] from Operation: 55+13=68
Current State: 64:[32, 70, 68], Operations: ['55+13=68']
Exploring Operation: 70-68=2, Resulting Numbers: [32, 2]
Generated Node #3: [32, 2] from Operation: 70-68=2
Current State: 64:[32, 2], Operations: ['55+13=68', '70-68=2']
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[55, 13, 32, 70], Operations: []
Exploring Operation: 55+13=68, Resulting Numbers: [32, 70, 68]
Generated Node #0,0: 64:[32, 70, 68] Operation: 55+13=68
Exploring Operation: 70-13=57, Resulting Numbers: [55, 32, 57]
Generated Node #0,1: 64:[55, 32, 57] Operation: 70-13=57
Exploring Operation: 55-13=42, Resulting Numbers: [32, 70, 42]
Generated Node #0,2: 64:[32, 70, 42] Operation: 55-13=42
Exploring Operation: 70-55=15, Resulting Numbers: [13, 32, 15]
Generated Node #0,3: 64:[13, 32, 15] Operation: 70-55=15
Exploring Operation: 55-32=23, Resulting Numbers: [13, 70, 23]
Generated Node #0,4: 64:[13, 70, 23] Operation: 55-32=23
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[13, 32, 15], Operations: ['70-55=15']
Exploring Operation: 13+15=28, Resulting Numbers: [32, 28]
Generated Node #0,3,0: 64:[32, 28] Operation: 13+15=28
Exploring Operation: 32-13=19, Resulting Numbers: [15, 19]
Generated Node #0,3,1: 64:[15, 19] Operation: 32-13=19
Exploring Operation: 32-15=17, Resulting Numbers: [13, 17]
Generated Node #0,3,2: 64:[13, 17] Operation: 32-15=17
Exploring Operation: 13+32=45, Resulting Numbers: [15, 45]
Generated Node #0,3,3: 64:[15, 45] Operation: 13+32=45
Exploring Operation: 15-13=2, Resulting Numbers: [32, 2]
Generated Node #0,3,4: 64:[32, 2] Operation: 15-13=2
Moving to Node #0,3,4
Current State: 64:[32, 2], Operations: ['70-55=15', '15-13=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[55, 13, 32, 70], Operations: []
Exploring Operation: 70-55=15, Resulting Numbers: [13, 32, 15]
Generated Node #0,3: 64:[13, 32, 15] Operation: 70-55=15
Moving to Node #0,3
Current State: 64:[13, 32, 15], Operations: ['70-55=15']
Exploring Operation: 15-13=2, Resulting Numbers: [32, 2]
Generated Node #0,3,4: 64:[32, 2] Operation: 15-13=2
Moving to Node #0,3,4
Current State: 64:[32, 2], Operations: ['70-55=15', '15-13=2']
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
13,
22,
82,
2
] | 89 | [
"22-13=9",
"82-2=80",
"9+80=89"
] | Current State: 89:[13, 22, 82, 2], Operations: []
Exploring Operation: 22-13=9, Resulting Numbers: [82, 2, 9]
Generated Node #2: [82, 2, 9] from Operation: 22-13=9
Current State: 89:[82, 2, 9], Operations: ['22-13=9']
Exploring Operation: 82-2=80, Resulting Numbers: [9, 80]
Generated Node #3: [9, 80] from Operation: 82-2=80
Current State: 89:[9, 80], Operations: ['22-13=9', '82-2=80']
Exploring Operation: 9+80=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[13, 22, 82, 2], Operations: []
Exploring Operation: 22*2=44, Resulting Numbers: [13, 82, 44]
Generated Node #0,0: 89:[13, 82, 44] Operation: 22*2=44
Exploring Operation: 13*2=26, Resulting Numbers: [22, 82, 26]
Generated Node #0,1: 89:[22, 82, 26] Operation: 13*2=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[13, 82, 44], Operations: ['22*2=44']
Exploring Operation: 13+82=95, Resulting Numbers: [44, 95]
Generated Node #0,0,0: 89:[44, 95] Operation: 13+82=95
Exploring Operation: 13+44=57, Resulting Numbers: [82, 57]
Generated Node #0,0,1: 89:[82, 57] Operation: 13+44=57
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[82, 57], Operations: ['22*2=44', '13+44=57']
Exploring Operation: 82+57=139, Resulting Numbers: [139]
139,89 unequal: No Solution
Exploring Operation: 82-57=25, Resulting Numbers: [25]
25,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[44, 95], Operations: ['22*2=44', '13+82=95']
Exploring Operation: 95-44=51, Resulting Numbers: [51]
51,89 unequal: No Solution
Exploring Operation: 44+95=139, Resulting Numbers: [139]
139,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[22, 82, 26], Operations: ['13*2=26']
Exploring Operation: 22+26=48, Resulting Numbers: [82, 48]
Generated Node #0,1,0: 89:[82, 48] Operation: 22+26=48
Exploring Operation: 22+82=104, Resulting Numbers: [26, 104]
Generated Node #0,1,1: 89:[26, 104] Operation: 22+82=104
Moving to Node #0,1,0
Current State: 89:[82, 48], Operations: ['13*2=26', '22+26=48']
Exploring Operation: 82+48=130, Resulting Numbers: [130]
130,89 unequal: No Solution
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[26, 104], Operations: ['13*2=26', '22+82=104']
Exploring Operation: 104-26=78, Resulting Numbers: [78]
78,89 unequal: No Solution
Exploring Operation: 26+104=130, Resulting Numbers: [130]
130,89 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 |
[
15,
10,
43,
55
] | 93 | [
"15-10=5",
"43+55=98",
"98-5=93"
] | Current State: 93:[15, 10, 43, 55], Operations: []
Exploring Operation: 15-10=5, Resulting Numbers: [43, 55, 5]
Generated Node #2: [43, 55, 5] from Operation: 15-10=5
Current State: 93:[43, 55, 5], Operations: ['15-10=5']
Exploring Operation: 43+55=98, Resulting Numbers: [5, 98]
Generated Node #3: [5, 98] from Operation: 43+55=98
Current State: 93:[5, 98], Operations: ['15-10=5', '43+55=98']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[15, 10, 43, 55], Operations: []
Exploring Operation: 43+55=98, Resulting Numbers: [15, 10, 98]
Generated Node #0,0: 93:[15, 10, 98] Operation: 43+55=98
Moving to Node #0,0
Current State: 93:[15, 10, 98], Operations: ['43+55=98']
Exploring Operation: 15-10=5, Resulting Numbers: [98, 5]
Generated Node #0,0,0: 93:[98, 5] Operation: 15-10=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[98, 5], Operations: ['43+55=98', '15-10=5']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[15, 10, 43, 55], Operations: []
Exploring Operation: 43+55=98, Resulting Numbers: [15, 10, 98]
Generated Node #0,0: 93:[15, 10, 98] Operation: 43+55=98
Moving to Node #0,0
Current State: 93:[15, 10, 98], Operations: ['43+55=98']
Exploring Operation: 15-10=5, Resulting Numbers: [98, 5]
Generated Node #0,0,0: 93:[98, 5] Operation: 15-10=5
Moving to Node #0,0,0
Current State: 93:[98, 5], Operations: ['43+55=98', '15-10=5']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
19,
3,
72,
88
] | 18 | [
"19+3=22",
"72*22=1584",
"1584/88=18"
] | Current State: 18:[19, 3, 72, 88], Operations: []
Exploring Operation: 19+3=22, Resulting Numbers: [72, 88, 22]
Generated Node #2: [72, 88, 22] from Operation: 19+3=22
Current State: 18:[72, 88, 22], Operations: ['19+3=22']
Exploring Operation: 72*22=1584, Resulting Numbers: [88, 1584]
Generated Node #3: [88, 1584] from Operation: 72*22=1584
Current State: 18:[88, 1584], Operations: ['19+3=22', '72*22=1584']
Exploring Operation: 1584/88=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[19, 3, 72, 88], Operations: []
Exploring Operation: 88-72=16, Resulting Numbers: [19, 3, 16]
Generated Node #0,0: 18:[19, 3, 16] Operation: 88-72=16
Exploring Operation: 72/3=24, Resulting Numbers: [19, 88, 24]
Generated Node #0,1: 18:[19, 88, 24] Operation: 72/3=24
Moving to Node #0,0
Current State: 18:[19, 3, 16], Operations: ['88-72=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19, 19]
Generated Node #0,0,0: 18:[19, 19] Operation: 3+16=19
Exploring Operation: 19-16=3, Resulting Numbers: [3, 3]
Generated Node #0,0,1: 18:[3, 3] Operation: 19-16=3
Moving to Node #0,1
Current State: 18:[19, 88, 24], Operations: ['72/3=24']
Exploring Operation: 88-19=69, Resulting Numbers: [24, 69]
Generated Node #0,1,0: 18:[24, 69] Operation: 88-19=69
Exploring Operation: 88-24=64, Resulting Numbers: [19, 64]
Generated Node #0,1,1: 18:[19, 64] Operation: 88-24=64
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[19, 64], Operations: ['72/3=24', '88-24=64']
Exploring Operation: 19+64=83, Resulting Numbers: [83]
83,18 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[24, 69], Operations: ['72/3=24', '88-19=69']
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Exploring Operation: 24+69=93, Resulting Numbers: [93]
93,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 18:[3, 3], Operations: ['88-72=16', '19-16=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[19, 19], Operations: ['88-72=16', '3+16=19']
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,18 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
36,
39,
20,
10
] | 70 | [
"39-36=3",
"20*3=60",
"10+60=70"
] | Current State: 70:[36, 39, 20, 10], Operations: []
Exploring Operation: 39-36=3, Resulting Numbers: [20, 10, 3]
Generated Node #2: [20, 10, 3] from Operation: 39-36=3
Current State: 70:[20, 10, 3], Operations: ['39-36=3']
Exploring Operation: 20*3=60, Resulting Numbers: [10, 60]
Generated Node #3: [10, 60] from Operation: 20*3=60
Current State: 70:[10, 60], Operations: ['39-36=3', '20*3=60']
Exploring Operation: 10+60=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[36, 39, 20, 10], Operations: []
Exploring Operation: 20-10=10, Resulting Numbers: [36, 39, 10]
Generated Node #0,0: 70:[36, 39, 10] Operation: 20-10=10
Moving to Node #0,0
Current State: 70:[36, 39, 10], Operations: ['20-10=10']
Exploring Operation: 39-36=3, Resulting Numbers: [10, 3]
Generated Node #0,0,0: 70:[10, 3] Operation: 39-36=3
Moving to Node #0,0,0
Current State: 70:[10, 3], Operations: ['20-10=10', '39-36=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,70 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
30,
56,
50,
72
] | 17 | [
"30+72=102",
"56-50=6",
"102/6=17"
] | Current State: 17:[30, 56, 50, 72], Operations: []
Exploring Operation: 30+72=102, Resulting Numbers: [56, 50, 102]
Generated Node #2: [56, 50, 102] from Operation: 30+72=102
Current State: 17:[56, 50, 102], Operations: ['30+72=102']
Exploring Operation: 56-50=6, Resulting Numbers: [102, 6]
Generated Node #3: [102, 6] from Operation: 56-50=6
Current State: 17:[102, 6], Operations: ['30+72=102', '56-50=6']
Exploring Operation: 102/6=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[30, 56, 50, 72], Operations: []
Exploring Operation: 72-56=16, Resulting Numbers: [30, 50, 16]
Generated Node #0,0: 17:[30, 50, 16] Operation: 72-56=16
Moving to Node #0,0
Current State: 17:[30, 50, 16], Operations: ['72-56=16']
Exploring Operation: 50-30=20, Resulting Numbers: [16, 20]
Generated Node #0,0,0: 17:[16, 20] Operation: 50-30=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[16, 20], Operations: ['72-56=16', '50-30=20']
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,17 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,
68,
58,
41
] | 100 | [
"41-31=10",
"68-58=10",
"10*10=100"
] | Current State: 100:[31, 68, 58, 41], Operations: []
Exploring Operation: 41-31=10, Resulting Numbers: [68, 58, 10]
Generated Node #2: [68, 58, 10] from Operation: 41-31=10
Current State: 100:[68, 58, 10], Operations: ['41-31=10']
Exploring Operation: 68-58=10, Resulting Numbers: [10, 10]
Generated Node #3: [10, 10] from Operation: 68-58=10
Current State: 100:[10, 10], Operations: ['41-31=10', '68-58=10']
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[31, 68, 58, 41], Operations: []
Exploring Operation: 68-58=10, Resulting Numbers: [31, 41, 10]
Generated Node #0,0: 100:[31, 41, 10] Operation: 68-58=10
Exploring Operation: 31+68=99, Resulting Numbers: [58, 41, 99]
Generated Node #0,1: 100:[58, 41, 99] Operation: 31+68=99
Exploring Operation: 68+41=109, Resulting Numbers: [31, 58, 109]
Generated Node #0,2: 100:[31, 58, 109] Operation: 68+41=109
Exploring Operation: 58+41=99, Resulting Numbers: [31, 68, 99]
Generated Node #0,3: 100:[31, 68, 99] Operation: 58+41=99
Exploring Operation: 68-41=27, Resulting Numbers: [31, 58, 27]
Generated Node #0,4: 100:[31, 58, 27] Operation: 68-41=27
Moving to Node #0,0
Current State: 100:[31, 41, 10], Operations: ['68-58=10']
Exploring Operation: 41-10=31, Resulting Numbers: [31, 31]
Generated Node #0,0,0: 100:[31, 31] Operation: 41-10=31
Exploring Operation: 41-31=10, Resulting Numbers: [10, 10]
Generated Node #0,0,1: 100:[10, 10] Operation: 41-31=10
Exploring Operation: 31-10=21, Resulting Numbers: [41, 21]
Generated Node #0,0,2: 100:[41, 21] Operation: 31-10=21
Exploring Operation: 31+10=41, Resulting Numbers: [41, 41]
Generated Node #0,0,3: 100:[41, 41] Operation: 31+10=41
Exploring Operation: 41+10=51, Resulting Numbers: [31, 51]
Generated Node #0,0,4: 100:[31, 51] Operation: 41+10=51
Moving to Node #0,4
Current State: 100:[31, 58, 27], Operations: ['68-41=27']
Exploring Operation: 31+58=89, Resulting Numbers: [27, 89]
Generated Node #0,4,0: 100:[27, 89] Operation: 31+58=89
Exploring Operation: 58-31=27, Resulting Numbers: [27, 27]
Generated Node #0,4,1: 100:[27, 27] Operation: 58-31=27
Exploring Operation: 58-27=31, Resulting Numbers: [31, 31]
Generated Node #0,4,2: 100:[31, 31] Operation: 58-27=31
Exploring Operation: 31-27=4, Resulting Numbers: [58, 4]
Generated Node #0,4,3: 100:[58, 4] Operation: 31-27=4
Exploring Operation: 31+27=58, Resulting Numbers: [58, 58]
Generated Node #0,4,4: 100:[58, 58] Operation: 31+27=58
Moving to Node #0,1
Current State: 100:[58, 41, 99], Operations: ['31+68=99']
Exploring Operation: 41+99=140, Resulting Numbers: [58, 140]
Generated Node #0,1,0: 100:[58, 140] Operation: 41+99=140
Exploring Operation: 99-41=58, Resulting Numbers: [58, 58]
Generated Node #0,1,1: 100:[58, 58] Operation: 99-41=58
Exploring Operation: 58+41=99, Resulting Numbers: [99, 99]
Generated Node #0,1,2: 100:[99, 99] Operation: 58+41=99
Exploring Operation: 99-58=41, Resulting Numbers: [41, 41]
Generated Node #0,1,3: 100:[41, 41] Operation: 99-58=41
Exploring Operation: 58-41=17, Resulting Numbers: [99, 17]
Generated Node #0,1,4: 100:[99, 17] Operation: 58-41=17
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 100:[99, 99], Operations: ['31+68=99', '58+41=99']
Exploring Operation: 99*99=9801, Resulting Numbers: [9801]
9801,100 unequal: No Solution
Exploring Operation: 99-99=0, Resulting Numbers: [0]
0,100 unequal: No Solution
Exploring Operation: 99+99=198, Resulting Numbers: [198]
198,100 unequal: No Solution
Exploring Operation: 99/99=1, Resulting Numbers: [1]
1,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:[99, 17], Operations: ['31+68=99', '58-41=17']
Exploring Operation: 99-17=82, Resulting Numbers: [82]
82,100 unequal: No Solution
Exploring Operation: 99+17=116, Resulting Numbers: [116]
116,100 unequal: No Solution
Exploring Operation: 99*17=1683, Resulting Numbers: [1683]
1683,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:[58, 58], Operations: ['31+68=99', '99-41=58']
Exploring Operation: 58+58=116, Resulting Numbers: [116]
116,100 unequal: No Solution
Exploring Operation: 58/58=1, Resulting Numbers: [1]
1,100 unequal: No Solution
Exploring Operation: 58-58=0, Resulting Numbers: [0]
0,100 unequal: No Solution
Exploring Operation: 58*58=3364, Resulting Numbers: [3364]
3364,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,3
Current State: 100:[41, 41], Operations: ['31+68=99', '99-58=41']
Exploring Operation: 41+41=82, Resulting Numbers: [82]
82,100 unequal: No Solution
Exploring Operation: 41*41=1681, Resulting Numbers: [1681]
1681,100 unequal: No Solution
Exploring Operation: 41-41=0, Resulting Numbers: [0]
0,100 unequal: No Solution
Exploring Operation: 41/41=1, Resulting Numbers: [1]
1,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:[58, 140], Operations: ['31+68=99', '41+99=140']
Exploring Operation: 58+140=198, Resulting Numbers: [198]
198,100 unequal: No Solution
Exploring Operation: 140-58=82, Resulting Numbers: [82]
82,100 unequal: No Solution
Exploring Operation: 58*140=8120, Resulting Numbers: [8120]
8120,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:[31, 58, 109], Operations: ['68+41=109']
Exploring Operation: 31+109=140, Resulting Numbers: [58, 140]
Generated Node #0,2,0: 100:[58, 140] Operation: 31+109=140
Exploring Operation: 58-31=27, Resulting Numbers: [109, 27]
Generated Node #0,2,1: 100:[109, 27] Operation: 58-31=27
Exploring Operation: 31+58=89, Resulting Numbers: [109, 89]
Generated Node #0,2,2: 100:[109, 89] Operation: 31+58=89
Exploring Operation: 109-58=51, Resulting Numbers: [31, 51]
Generated Node #0,2,3: 100:[31, 51] Operation: 109-58=51
Exploring Operation: 109-31=78, Resulting Numbers: [58, 78]
Generated Node #0,2,4: 100:[58, 78] Operation: 109-31=78
Moving to Node #0,3
Current State: 100:[31, 68, 99], Operations: ['58+41=99']
Exploring Operation: 31+68=99, Resulting Numbers: [99, 99]
Generated Node #0,3,0: 100:[99, 99] Operation: 31+68=99
Exploring Operation: 31+99=130, Resulting Numbers: [68, 130]
Generated Node #0,3,1: 100:[68, 130] Operation: 31+99=130
Exploring Operation: 99-31=68, Resulting Numbers: [68, 68]
Generated Node #0,3,2: 100:[68, 68] Operation: 99-31=68
Exploring Operation: 68-31=37, Resulting Numbers: [99, 37]
Generated Node #0,3,3: 100:[99, 37] Operation: 68-31=37
Exploring Operation: 99-68=31, Resulting Numbers: [31, 31]
Generated Node #0,3,4: 100:[31, 31] Operation: 99-68=31
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 100:[99, 99], Operations: ['58+41=99', '31+68=99']
Exploring Operation: 99-99=0, Resulting Numbers: [0]
0,100 unequal: No Solution
Exploring Operation: 99*99=9801, Resulting Numbers: [9801]
9801,100 unequal: No Solution
Exploring Operation: 99/99=1, Resulting Numbers: [1]
1,100 unequal: No Solution
Exploring Operation: 99+99=198, Resulting Numbers: [198]
198,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:[31, 31], Operations: ['58+41=99', '99-68=31']
Exploring Operation: 31*31=961, Resulting Numbers: [961]
961,100 unequal: No Solution
Exploring Operation: 31-31=0, Resulting Numbers: [0]
0,100 unequal: No Solution
Exploring Operation: 31/31=1, Resulting Numbers: [1]
1,100 unequal: No Solution
Exploring Operation: 31+31=62, Resulting Numbers: [62]
62,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:[99, 37], Operations: ['58+41=99', '68-31=37']
Exploring Operation: 99-37=62, Resulting Numbers: [62]
62,100 unequal: No Solution
Exploring Operation: 99*37=3663, Resulting Numbers: [3663]
3663,100 unequal: No Solution
Exploring Operation: 99+37=136, Resulting Numbers: [136]
136,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,2
Current State: 100:[68, 68], Operations: ['58+41=99', '99-31=68']
Exploring Operation: 68/68=1, Resulting Numbers: [1]
1,100 unequal: No Solution
Exploring Operation: 68+68=136, Resulting Numbers: [136]
136,100 unequal: No Solution
Exploring Operation: 68*68=4624, Resulting Numbers: [4624]
4624,100 unequal: No Solution
Exploring Operation: 68-68=0, Resulting Numbers: [0]
0,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:[68, 130], Operations: ['58+41=99', '31+99=130']
Exploring Operation: 68*130=8840, Resulting Numbers: [8840]
8840,100 unequal: No Solution
Exploring Operation: 68+130=198, Resulting Numbers: [198]
198,100 unequal: No Solution
Exploring Operation: 130-68=62, Resulting Numbers: [62]
62,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 100:[10, 10], Operations: ['68-58=10', '41-31=10']
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[31, 68, 58, 41], Operations: []
Exploring Operation: 68-58=10, Resulting Numbers: [31, 41, 10]
Generated Node #0,0: 100:[31, 41, 10] Operation: 68-58=10
Moving to Node #0,0
Current State: 100:[31, 41, 10], Operations: ['68-58=10']
Exploring Operation: 41-31=10, Resulting Numbers: [10, 10]
Generated Node #0,0,1: 100:[10, 10] Operation: 41-31=10
Moving to Node #0,0,1
Current State: 100:[10, 10], Operations: ['68-58=10', '41-31=10']
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 0.938368 | hs_5 | mult_heuristic |
[
2,
53,
81,
22
] | 19 | [
"53-22=31",
"2*31=62",
"81-62=19"
] | Current State: 19:[2, 53, 81, 22], Operations: []
Exploring Operation: 53-22=31, Resulting Numbers: [2, 81, 31]
Generated Node #2: [2, 81, 31] from Operation: 53-22=31
Current State: 19:[2, 81, 31], Operations: ['53-22=31']
Exploring Operation: 2*31=62, Resulting Numbers: [81, 62]
Generated Node #3: [81, 62] from Operation: 2*31=62
Current State: 19:[81, 62], Operations: ['53-22=31', '2*31=62']
Exploring Operation: 81-62=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[2, 53, 81, 22], Operations: []
Exploring Operation: 53-22=31, Resulting Numbers: [2, 81, 31]
Generated Node #0,0: 19:[2, 81, 31] Operation: 53-22=31
Exploring Operation: 81-53=28, Resulting Numbers: [2, 22, 28]
Generated Node #0,1: 19:[2, 22, 28] Operation: 81-53=28
Moving to Node #0,1
Current State: 19:[2, 22, 28], Operations: ['81-53=28']
Exploring Operation: 28/2=14, Resulting Numbers: [22, 14]
Generated Node #0,1,0: 19:[22, 14] Operation: 28/2=14
Exploring Operation: 22-2=20, Resulting Numbers: [28, 20]
Generated Node #0,1,1: 19:[28, 20] Operation: 22-2=20
Moving to Node #0,0
Current State: 19:[2, 81, 31], Operations: ['53-22=31']
Exploring Operation: 81-31=50, Resulting Numbers: [2, 50]
Generated Node #0,0,0: 19:[2, 50] Operation: 81-31=50
Exploring Operation: 81-2=79, Resulting Numbers: [31, 79]
Generated Node #0,0,1: 19:[31, 79] Operation: 81-2=79
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[2, 50], Operations: ['53-22=31', '81-31=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,19 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[31, 79], Operations: ['53-22=31', '81-2=79']
Exploring Operation: 31+79=110, Resulting Numbers: [110]
110,19 unequal: No Solution
Exploring Operation: 79-31=48, Resulting Numbers: [48]
48,19 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: 19:[22, 14], Operations: ['81-53=28', '28/2=14']
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[28, 20], Operations: ['81-53=28', '22-2=20']
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,19 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
95,
7,
34,
22
] | 100 | [
"95-7=88",
"34-22=12",
"88+12=100"
] | Current State: 100:[95, 7, 34, 22], Operations: []
Exploring Operation: 95-7=88, Resulting Numbers: [34, 22, 88]
Generated Node #2: [34, 22, 88] from Operation: 95-7=88
Current State: 100:[34, 22, 88], Operations: ['95-7=88']
Exploring Operation: 34-22=12, Resulting Numbers: [88, 12]
Generated Node #3: [88, 12] from Operation: 34-22=12
Current State: 100:[88, 12], Operations: ['95-7=88', '34-22=12']
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[95, 7, 34, 22], Operations: []
Exploring Operation: 34-22=12, Resulting Numbers: [95, 7, 12]
Generated Node #0,0: 100:[95, 7, 12] Operation: 34-22=12
Exploring Operation: 95+7=102, Resulting Numbers: [34, 22, 102]
Generated Node #0,1: 100:[34, 22, 102] Operation: 95+7=102
Exploring Operation: 34+22=56, Resulting Numbers: [95, 7, 56]
Generated Node #0,2: 100:[95, 7, 56] Operation: 34+22=56
Exploring Operation: 34-7=27, Resulting Numbers: [95, 22, 27]
Generated Node #0,3: 100:[95, 22, 27] Operation: 34-7=27
Exploring Operation: 95-34=61, Resulting Numbers: [7, 22, 61]
Generated Node #0,4: 100:[7, 22, 61] Operation: 95-34=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[95, 7, 12], Operations: ['34-22=12']
Exploring Operation: 7+12=19, Resulting Numbers: [95, 19]
Generated Node #0,0,0: 100:[95, 19] Operation: 7+12=19
Exploring Operation: 12-7=5, Resulting Numbers: [95, 5]
Generated Node #0,0,1: 100:[95, 5] Operation: 12-7=5
Exploring Operation: 95-7=88, Resulting Numbers: [12, 88]
Generated Node #0,0,2: 100:[12, 88] Operation: 95-7=88
Exploring Operation: 95+12=107, Resulting Numbers: [7, 107]
Generated Node #0,0,3: 100:[7, 107] Operation: 95+12=107
Exploring Operation: 95+7=102, Resulting Numbers: [12, 102]
Generated Node #0,0,4: 100:[12, 102] Operation: 95+7=102
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 100:[12, 102], Operations: ['34-22=12', '95+7=102']
Exploring Operation: 12*102=1224, Resulting Numbers: [1224]
1224,100 unequal: No Solution
Exploring Operation: 12+102=114, Resulting Numbers: [114]
114,100 unequal: No Solution
Exploring Operation: 102-12=90, Resulting Numbers: [90]
90,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 100:[95, 5], Operations: ['34-22=12', '12-7=5']
Exploring Operation: 95*5=475, Resulting Numbers: [475]
475,100 unequal: No Solution
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[95, 7, 34, 22], Operations: []
Exploring Operation: 34-22=12, Resulting Numbers: [95, 7, 12]
Generated Node #0,0: 100:[95, 7, 12] Operation: 34-22=12
Moving to Node #0,0
Current State: 100:[95, 7, 12], Operations: ['34-22=12']
Exploring Operation: 12-7=5, Resulting Numbers: [95, 5]
Generated Node #0,0,1: 100:[95, 5] Operation: 12-7=5
Moving to Node #0,0,1
Current State: 100:[95, 5], Operations: ['34-22=12', '12-7=5']
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
24,
4,
73,
14
] | 71 | [
"24+4=28",
"28/14=2",
"73-2=71"
] | Current State: 71:[24, 4, 73, 14], Operations: []
Exploring Operation: 24+4=28, Resulting Numbers: [73, 14, 28]
Generated Node #2: [73, 14, 28] from Operation: 24+4=28
Current State: 71:[73, 14, 28], Operations: ['24+4=28']
Exploring Operation: 28/14=2, Resulting Numbers: [73, 2]
Generated Node #3: [73, 2] from Operation: 28/14=2
Current State: 71:[73, 2], Operations: ['24+4=28', '28/14=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[24, 4, 73, 14], Operations: []
Exploring Operation: 24*4=96, Resulting Numbers: [73, 14, 96]
Generated Node #0,0: 71:[73, 14, 96] Operation: 24*4=96
Exploring Operation: 24+4=28, Resulting Numbers: [73, 14, 28]
Generated Node #0,1: 71:[73, 14, 28] Operation: 24+4=28
Exploring Operation: 4*14=56, Resulting Numbers: [24, 73, 56]
Generated Node #0,2: 71:[24, 73, 56] Operation: 4*14=56
Moving to Node #0,2
Current State: 71:[24, 73, 56], Operations: ['4*14=56']
Exploring Operation: 24+73=97, Resulting Numbers: [56, 97]
Generated Node #0,2,0: 71:[56, 97] Operation: 24+73=97
Exploring Operation: 73-24=49, Resulting Numbers: [56, 49]
Generated Node #0,2,1: 71:[56, 49] Operation: 73-24=49
Exploring Operation: 24+56=80, Resulting Numbers: [73, 80]
Generated Node #0,2,2: 71:[73, 80] Operation: 24+56=80
Moving to Node #0,0
Current State: 71:[73, 14, 96], Operations: ['24*4=96']
Exploring Operation: 96-14=82, Resulting Numbers: [73, 82]
Generated Node #0,0,0: 71:[73, 82] Operation: 96-14=82
Exploring Operation: 73+14=87, Resulting Numbers: [96, 87]
Generated Node #0,0,1: 71:[96, 87] Operation: 73+14=87
Exploring Operation: 73-14=59, Resulting Numbers: [96, 59]
Generated Node #0,0,2: 71:[96, 59] Operation: 73-14=59
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[73, 82], Operations: ['24*4=96', '96-14=82']
Exploring Operation: 82-73=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 73*82=5986, Resulting Numbers: [5986]
5986,71 unequal: No Solution
Exploring Operation: 73+82=155, Resulting Numbers: [155]
155,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:[96, 59], Operations: ['24*4=96', '73-14=59']
Exploring Operation: 96+59=155, Resulting Numbers: [155]
155,71 unequal: No Solution
Exploring Operation: 96-59=37, Resulting Numbers: [37]
37,71 unequal: No Solution
Exploring Operation: 96*59=5664, Resulting Numbers: [5664]
5664,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:[96, 87], Operations: ['24*4=96', '73+14=87']
Exploring Operation: 96-87=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 96+87=183, Resulting Numbers: [183]
183,71 unequal: No Solution
Exploring Operation: 96*87=8352, Resulting Numbers: [8352]
8352,71 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: 71:[73, 14, 28], Operations: ['24+4=28']
Exploring Operation: 73-14=59, Resulting Numbers: [28, 59]
Generated Node #0,1,0: 71:[28, 59] Operation: 73-14=59
Exploring Operation: 14+28=42, Resulting Numbers: [73, 42]
Generated Node #0,1,1: 71:[73, 42] Operation: 14+28=42
Exploring Operation: 73+14=87, Resulting Numbers: [28, 87]
Generated Node #0,1,2: 71:[28, 87] Operation: 73+14=87
Moving to Node #0,2,2
Current State: 71:[73, 80], Operations: ['4*14=56', '24+56=80']
Exploring Operation: 80-73=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 73+80=153, Resulting Numbers: [153]
153,71 unequal: No Solution
Exploring Operation: 73*80=5840, Resulting Numbers: [5840]
5840,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[73, 42], Operations: ['24+4=28', '14+28=42']
Exploring Operation: 73-42=31, Resulting Numbers: [31]
31,71 unequal: No Solution
Exploring Operation: 73*42=3066, Resulting Numbers: [3066]
3066,71 unequal: No Solution
Exploring Operation: 73+42=115, Resulting Numbers: [115]
115,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[56, 49], Operations: ['4*14=56', '73-24=49']
Exploring Operation: 56+49=105, Resulting Numbers: [105]
105,71 unequal: No Solution
Exploring Operation: 56*49=2744, Resulting Numbers: [2744]
2744,71 unequal: No Solution
Exploring Operation: 56-49=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[56, 97], Operations: ['4*14=56', '24+73=97']
Exploring Operation: 97-56=41, Resulting Numbers: [41]
41,71 unequal: No Solution
Exploring Operation: 56+97=153, Resulting Numbers: [153]
153,71 unequal: No Solution
Exploring Operation: 56*97=5432, Resulting Numbers: [5432]
5432,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[28, 59], Operations: ['24+4=28', '73-14=59']
Exploring Operation: 28+59=87, Resulting Numbers: [87]
87,71 unequal: No Solution
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,71 unequal: No Solution
Exploring Operation: 28*59=1652, Resulting Numbers: [1652]
1652,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[28, 87], Operations: ['24+4=28', '73+14=87']
Exploring Operation: 28*87=2436, Resulting Numbers: [2436]
2436,71 unequal: No Solution
Exploring Operation: 28+87=115, Resulting Numbers: [115]
115,71 unequal: No Solution
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,71 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
2,
99,
60,
85
] | 76 | [
"2+99=101",
"85-60=25",
"101-25=76"
] | Current State: 76:[2, 99, 60, 85], Operations: []
Exploring Operation: 2+99=101, Resulting Numbers: [60, 85, 101]
Generated Node #2: [60, 85, 101] from Operation: 2+99=101
Current State: 76:[60, 85, 101], Operations: ['2+99=101']
Exploring Operation: 85-60=25, Resulting Numbers: [101, 25]
Generated Node #3: [101, 25] from Operation: 85-60=25
Current State: 76:[101, 25], Operations: ['2+99=101', '85-60=25']
Exploring Operation: 101-25=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[2, 99, 60, 85], Operations: []
Exploring Operation: 99-60=39, Resulting Numbers: [2, 85, 39]
Generated Node #0,0: 76:[2, 85, 39] Operation: 99-60=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[2, 85, 39], Operations: ['99-60=39']
Exploring Operation: 85-2=83, Resulting Numbers: [39, 83]
Generated Node #0,0,0: 76:[39, 83] Operation: 85-2=83
Moving to Node #0,0,0
Current State: 76:[39, 83], Operations: ['99-60=39', '85-2=83']
Exploring Operation: 83-39=44, Resulting Numbers: [44]
44,76 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 |
[
63,
21,
18,
76
] | 97 | [
"63/21=3",
"18+76=94",
"3+94=97"
] | Current State: 97:[63, 21, 18, 76], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [18, 76, 3]
Generated Node #2: [18, 76, 3] from Operation: 63/21=3
Current State: 97:[18, 76, 3], Operations: ['63/21=3']
Exploring Operation: 18+76=94, Resulting Numbers: [3, 94]
Generated Node #3: [3, 94] from Operation: 18+76=94
Current State: 97:[3, 94], Operations: ['63/21=3', '18+76=94']
Exploring Operation: 3+94=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[63, 21, 18, 76], Operations: []
Exploring Operation: 63+18=81, Resulting Numbers: [21, 76, 81]
Generated Node #0,0: 97:[21, 76, 81] Operation: 63+18=81
Exploring Operation: 63+21=84, Resulting Numbers: [18, 76, 84]
Generated Node #0,1: 97:[18, 76, 84] Operation: 63+21=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[21, 76, 81], Operations: ['63+18=81']
Exploring Operation: 21+81=102, Resulting Numbers: [76, 102]
Generated Node #0,0,0: 97:[76, 102] Operation: 21+81=102
Exploring Operation: 21+76=97, Resulting Numbers: [81, 97]
Generated Node #0,0,1: 97:[81, 97] Operation: 21+76=97
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[81, 97], Operations: ['63+18=81', '21+76=97']
Exploring Operation: 97-81=16, Resulting Numbers: [16]
16,97 unequal: No Solution
Exploring Operation: 81+97=178, Resulting Numbers: [178]
178,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:[76, 102], Operations: ['63+18=81', '21+81=102']
Exploring Operation: 76+102=178, Resulting Numbers: [178]
178,97 unequal: No Solution
Exploring Operation: 102-76=26, Resulting Numbers: [26]
26,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[18, 76, 84], Operations: ['63+21=84']
Exploring Operation: 18+84=102, Resulting Numbers: [76, 102]
Generated Node #0,1,0: 97:[76, 102] Operation: 18+84=102
Exploring Operation: 18+76=94, Resulting Numbers: [84, 94]
Generated Node #0,1,1: 97:[84, 94] Operation: 18+76=94
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[84, 94], Operations: ['63+21=84', '18+76=94']
Exploring Operation: 84+94=178, Resulting Numbers: [178]
178,97 unequal: No Solution
Exploring Operation: 94-84=10, Resulting Numbers: [10]
10,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:[76, 102], Operations: ['63+21=84', '18+84=102']
Exploring Operation: 76+102=178, Resulting Numbers: [178]
178,97 unequal: No Solution
Exploring Operation: 102-76=26, Resulting Numbers: [26]
26,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_2 | sum_heuristic |
[
73,
76,
37,
2
] | 93 | [
"73+76=149",
"37+149=186",
"186/2=93"
] | Current State: 93:[73, 76, 37, 2], Operations: []
Exploring Operation: 73+76=149, Resulting Numbers: [37, 2, 149]
Generated Node #2: [37, 2, 149] from Operation: 73+76=149
Current State: 93:[37, 2, 149], Operations: ['73+76=149']
Exploring Operation: 37+149=186, Resulting Numbers: [2, 186]
Generated Node #3: [2, 186] from Operation: 37+149=186
Current State: 93:[2, 186], Operations: ['73+76=149', '37+149=186']
Exploring Operation: 186/2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[73, 76, 37, 2], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [37, 2, 3]
Generated Node #0,0: 93:[37, 2, 3] Operation: 76-73=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[37, 2, 3], Operations: ['76-73=3']
Exploring Operation: 37-2=35, Resulting Numbers: [3, 35]
Generated Node #0,0,0: 93:[3, 35] Operation: 37-2=35
Moving to Node #0,0,0
Current State: 93:[3, 35], Operations: ['76-73=3', '37-2=35']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,93 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 |
[
41,
17,
36,
48
] | 34 | [
"41-17=24",
"48/24=2",
"36-2=34"
] | Current State: 34:[41, 17, 36, 48], Operations: []
Exploring Operation: 41-17=24, Resulting Numbers: [36, 48, 24]
Generated Node #2: [36, 48, 24] from Operation: 41-17=24
Current State: 34:[36, 48, 24], Operations: ['41-17=24']
Exploring Operation: 48/24=2, Resulting Numbers: [36, 2]
Generated Node #3: [36, 2] from Operation: 48/24=2
Current State: 34:[36, 2], Operations: ['41-17=24', '48/24=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[41, 17, 36, 48], Operations: []
Exploring Operation: 48-41=7, Resulting Numbers: [17, 36, 7]
Generated Node #0,0: 34:[17, 36, 7] Operation: 48-41=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[17, 36, 7], Operations: ['48-41=7']
Exploring Operation: 36-7=29, Resulting Numbers: [17, 29]
Generated Node #0,0,0: 34:[17, 29] Operation: 36-7=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[17, 29], Operations: ['48-41=7', '36-7=29']
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,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
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
4,
76,
95
] | 82 | [
"6+95=101",
"76/4=19",
"101-19=82"
] | Current State: 82:[6, 4, 76, 95], Operations: []
Exploring Operation: 6+95=101, Resulting Numbers: [4, 76, 101]
Generated Node #2: [4, 76, 101] from Operation: 6+95=101
Current State: 82:[4, 76, 101], Operations: ['6+95=101']
Exploring Operation: 76/4=19, Resulting Numbers: [101, 19]
Generated Node #3: [101, 19] from Operation: 76/4=19
Current State: 82:[101, 19], Operations: ['6+95=101', '76/4=19']
Exploring Operation: 101-19=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[6, 4, 76, 95], Operations: []
Exploring Operation: 6+76=82, Resulting Numbers: [4, 95, 82]
Generated Node #0,0: 82:[4, 95, 82] Operation: 6+76=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[4, 95, 82], Operations: ['6+76=82']
Exploring Operation: 95-4=91, Resulting Numbers: [82, 91]
Generated Node #0,0,0: 82:[82, 91] Operation: 95-4=91
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[82, 91], Operations: ['6+76=82', '95-4=91']
Exploring Operation: 91-82=9, Resulting Numbers: [9]
9,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
88,
85,
32,
93
] | 92 | [
"93-85=8",
"32/8=4",
"88+4=92"
] | Current State: 92:[88, 85, 32, 93], Operations: []
Exploring Operation: 93-85=8, Resulting Numbers: [88, 32, 8]
Generated Node #2: [88, 32, 8] from Operation: 93-85=8
Current State: 92:[88, 32, 8], Operations: ['93-85=8']
Exploring Operation: 32/8=4, Resulting Numbers: [88, 4]
Generated Node #3: [88, 4] from Operation: 32/8=4
Current State: 92:[88, 4], Operations: ['93-85=8', '32/8=4']
Exploring Operation: 88+4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[88, 85, 32, 93], Operations: []
Exploring Operation: 85-32=53, Resulting Numbers: [88, 93, 53]
Generated Node #0,0: 92:[88, 93, 53] Operation: 85-32=53
Exploring Operation: 88-85=3, Resulting Numbers: [32, 93, 3]
Generated Node #0,1: 92:[32, 93, 3] Operation: 88-85=3
Exploring Operation: 93-88=5, Resulting Numbers: [85, 32, 5]
Generated Node #0,2: 92:[85, 32, 5] Operation: 93-88=5
Moving to Node #0,1
Current State: 92:[32, 93, 3], Operations: ['88-85=3']
Exploring Operation: 93-3=90, Resulting Numbers: [32, 90]
Generated Node #0,1,0: 92:[32, 90] Operation: 93-3=90
Exploring Operation: 32*3=96, Resulting Numbers: [93, 96]
Generated Node #0,1,1: 92:[93, 96] Operation: 32*3=96
Exploring Operation: 32-3=29, Resulting Numbers: [93, 29]
Generated Node #0,1,2: 92:[93, 29] Operation: 32-3=29
Moving to Node #0,0
Current State: 92:[88, 93, 53], Operations: ['85-32=53']
Exploring Operation: 93-53=40, Resulting Numbers: [88, 40]
Generated Node #0,0,0: 92:[88, 40] Operation: 93-53=40
Exploring Operation: 88-53=35, Resulting Numbers: [93, 35]
Generated Node #0,0,1: 92:[93, 35] Operation: 88-53=35
Exploring Operation: 93-88=5, Resulting Numbers: [53, 5]
Generated Node #0,0,2: 92:[53, 5] Operation: 93-88=5
Moving to Node #0,2
Current State: 92:[85, 32, 5], Operations: ['93-88=5']
Exploring Operation: 85+5=90, Resulting Numbers: [32, 90]
Generated Node #0,2,0: 92:[32, 90] Operation: 85+5=90
Exploring Operation: 85-32=53, Resulting Numbers: [5, 53]
Generated Node #0,2,1: 92:[5, 53] Operation: 85-32=53
Exploring Operation: 32-5=27, Resulting Numbers: [85, 27]
Generated Node #0,2,2: 92:[85, 27] Operation: 32-5=27
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[5, 53], Operations: ['93-88=5', '85-32=53']
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Exploring Operation: 5*53=265, Resulting Numbers: [265]
265,92 unequal: No Solution
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[32, 90], Operations: ['93-88=5', '85+5=90']
Exploring Operation: 90-32=58, Resulting Numbers: [58]
58,92 unequal: No Solution
Exploring Operation: 32+90=122, Resulting Numbers: [122]
122,92 unequal: No Solution
Exploring Operation: 32*90=2880, Resulting Numbers: [2880]
2880,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[85, 27], Operations: ['93-88=5', '32-5=27']
Exploring Operation: 85*27=2295, Resulting Numbers: [2295]
2295,92 unequal: No Solution
Exploring Operation: 85+27=112, Resulting Numbers: [112]
112,92 unequal: No Solution
Exploring Operation: 85-27=58, Resulting Numbers: [58]
58,92 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: 92:[93, 96], Operations: ['88-85=3', '32*3=96']
Exploring Operation: 93+96=189, Resulting Numbers: [189]
189,92 unequal: No Solution
Exploring Operation: 96-93=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 93*96=8928, Resulting Numbers: [8928]
8928,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[93, 29], Operations: ['88-85=3', '32-3=29']
Exploring Operation: 93-29=64, Resulting Numbers: [64]
64,92 unequal: No Solution
Exploring Operation: 93+29=122, Resulting Numbers: [122]
122,92 unequal: No Solution
Exploring Operation: 93*29=2697, Resulting Numbers: [2697]
2697,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[53, 5], Operations: ['85-32=53', '93-88=5']
Exploring Operation: 53*5=265, Resulting Numbers: [265]
265,92 unequal: No Solution
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,92 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[88, 40], Operations: ['85-32=53', '93-53=40']
Exploring Operation: 88*40=3520, Resulting Numbers: [3520]
3520,92 unequal: No Solution
Exploring Operation: 88+40=128, Resulting Numbers: [128]
128,92 unequal: No Solution
Exploring Operation: 88-40=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[32, 90], Operations: ['88-85=3', '93-3=90']
Exploring Operation: 32*90=2880, Resulting Numbers: [2880]
2880,92 unequal: No Solution
Exploring Operation: 32+90=122, Resulting Numbers: [122]
122,92 unequal: No Solution
Exploring Operation: 90-32=58, Resulting Numbers: [58]
58,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[93, 35], Operations: ['85-32=53', '88-53=35']
Exploring Operation: 93*35=3255, Resulting Numbers: [3255]
3255,92 unequal: No Solution
Exploring Operation: 93+35=128, Resulting Numbers: [128]
128,92 unequal: No Solution
Exploring Operation: 93-35=58, Resulting Numbers: [58]
58,92 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
70,
21,
61,
21
] | 89 | [
"70-21=49",
"61-21=40",
"49+40=89"
] | Current State: 89:[70, 21, 61, 21], Operations: []
Exploring Operation: 70-21=49, Resulting Numbers: [61, 49]
Generated Node #2: [61, 49] from Operation: 70-21=49
Current State: 89:[61, 49], Operations: ['70-21=49']
Exploring Operation: 61-21=40, Resulting Numbers: [49, 40]
Generated Node #3: [49, 40] from Operation: 61-21=40
Current State: 89:[49, 40], Operations: ['70-21=49', '61-21=40']
Exploring Operation: 49+40=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[70, 21, 61, 21], Operations: []
Exploring Operation: 21+61=82, Resulting Numbers: [70, 21, 82]
Generated Node #0,0: 89:[70, 21, 82] Operation: 21+61=82
Exploring Operation: 61+21=82, Resulting Numbers: [70, 21, 82]
Generated Node #0,1: 89:[70, 21, 82] Operation: 61+21=82
Exploring Operation: 21+21=42, Resulting Numbers: [70, 61, 42]
Generated Node #0,2: 89:[70, 61, 42] Operation: 21+21=42
Exploring Operation: 70+21=91, Resulting Numbers: [61, 21, 91]
Generated Node #0,3: 89:[61, 21, 91] Operation: 70+21=91
Exploring Operation: 70+21=91, Resulting Numbers: [21, 61, 91]
Generated Node #0,4: 89:[21, 61, 91] Operation: 70+21=91
Moving to Node #0,0
Current State: 89:[70, 21, 82], Operations: ['21+61=82']
Exploring Operation: 70-21=49, Resulting Numbers: [82, 49]
Generated Node #0,0,0: 89:[82, 49] Operation: 70-21=49
Exploring Operation: 70+21=91, Resulting Numbers: [82, 91]
Generated Node #0,0,1: 89:[82, 91] Operation: 70+21=91
Exploring Operation: 70+82=152, Resulting Numbers: [21, 152]
Generated Node #0,0,2: 89:[21, 152] Operation: 70+82=152
Exploring Operation: 82-21=61, Resulting Numbers: [70, 61]
Generated Node #0,0,3: 89:[70, 61] Operation: 82-21=61
Exploring Operation: 21+82=103, Resulting Numbers: [70, 103]
Generated Node #0,0,4: 89:[70, 103] Operation: 21+82=103
Moving to Node #0,2
Current State: 89:[70, 61, 42], Operations: ['21+21=42']
Exploring Operation: 61+42=103, Resulting Numbers: [70, 103]
Generated Node #0,2,0: 89:[70, 103] Operation: 61+42=103
Exploring Operation: 70+42=112, Resulting Numbers: [61, 112]
Generated Node #0,2,1: 89:[61, 112] Operation: 70+42=112
Exploring Operation: 70-42=28, Resulting Numbers: [61, 28]
Generated Node #0,2,2: 89:[61, 28] Operation: 70-42=28
Exploring Operation: 61-42=19, Resulting Numbers: [70, 19]
Generated Node #0,2,3: 89:[70, 19] Operation: 61-42=19
Exploring Operation: 70+61=131, Resulting Numbers: [42, 131]
Generated Node #0,2,4: 89:[42, 131] Operation: 70+61=131
Moving to Node #0,1
Current State: 89:[70, 21, 82], Operations: ['61+21=82']
Exploring Operation: 70-21=49, Resulting Numbers: [82, 49]
Generated Node #0,1,0: 89:[82, 49] Operation: 70-21=49
Exploring Operation: 70+21=91, Resulting Numbers: [82, 91]
Generated Node #0,1,1: 89:[82, 91] Operation: 70+21=91
Exploring Operation: 82-21=61, Resulting Numbers: [70, 61]
Generated Node #0,1,2: 89:[70, 61] Operation: 82-21=61
Exploring Operation: 21+82=103, Resulting Numbers: [70, 103]
Generated Node #0,1,3: 89:[70, 103] Operation: 21+82=103
Exploring Operation: 70+82=152, Resulting Numbers: [21, 152]
Generated Node #0,1,4: 89:[21, 152] Operation: 70+82=152
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[82, 91], Operations: ['61+21=82', '70+21=91']
Exploring Operation: 91-82=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 82*91=7462, Resulting Numbers: [7462]
7462,89 unequal: No Solution
Exploring Operation: 82+91=173, Resulting Numbers: [173]
173,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 89:[70, 103], Operations: ['61+21=82', '21+82=103']
Exploring Operation: 70+103=173, Resulting Numbers: [173]
173,89 unequal: No Solution
Exploring Operation: 103-70=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Exploring Operation: 70*103=7210, Resulting Numbers: [7210]
7210,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[82, 49], Operations: ['61+21=82', '70-21=49']
Exploring Operation: 82+49=131, Resulting Numbers: [131]
131,89 unequal: No Solution
Exploring Operation: 82*49=4018, Resulting Numbers: [4018]
4018,89 unequal: No Solution
Exploring Operation: 82-49=33, Resulting Numbers: [33]
33,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[70, 61], Operations: ['61+21=82', '82-21=61']
Exploring Operation: 70-61=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 70*61=4270, Resulting Numbers: [4270]
4270,89 unequal: No Solution
Exploring Operation: 70+61=131, Resulting Numbers: [131]
131,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 89:[21, 152], Operations: ['61+21=82', '70+82=152']
Exploring Operation: 21+152=173, Resulting Numbers: [173]
173,89 unequal: No Solution
Exploring Operation: 152-21=131, Resulting Numbers: [131]
131,89 unequal: No Solution
Exploring Operation: 21*152=3192, Resulting Numbers: [3192]
3192,89 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: 89:[61, 21, 91], Operations: ['70+21=91']
Exploring Operation: 21+91=112, Resulting Numbers: [61, 112]
Generated Node #0,3,0: 89:[61, 112] Operation: 21+91=112
Exploring Operation: 91-61=30, Resulting Numbers: [21, 30]
Generated Node #0,3,1: 89:[21, 30] Operation: 91-61=30
Exploring Operation: 91-21=70, Resulting Numbers: [61, 70]
Generated Node #0,3,2: 89:[61, 70] Operation: 91-21=70
Exploring Operation: 61-21=40, Resulting Numbers: [91, 40]
Generated Node #0,3,3: 89:[91, 40] Operation: 61-21=40
Exploring Operation: 61+21=82, Resulting Numbers: [91, 82]
Generated Node #0,3,4: 89:[91, 82] Operation: 61+21=82
Moving to Node #0,4
Current State: 89:[21, 61, 91], Operations: ['70+21=91']
Exploring Operation: 91-61=30, Resulting Numbers: [21, 30]
Generated Node #0,4,0: 89:[21, 30] Operation: 91-61=30
Exploring Operation: 91-21=70, Resulting Numbers: [61, 70]
Generated Node #0,4,1: 89:[61, 70] Operation: 91-21=70
Exploring Operation: 21+91=112, Resulting Numbers: [61, 112]
Generated Node #0,4,2: 89:[61, 112] Operation: 21+91=112
Exploring Operation: 61-21=40, Resulting Numbers: [91, 40]
Generated Node #0,4,3: 89:[91, 40] Operation: 61-21=40
Exploring Operation: 21+61=82, Resulting Numbers: [91, 82]
Generated Node #0,4,4: 89:[91, 82] Operation: 21+61=82
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 89:[91, 82], Operations: ['70+21=91', '21+61=82']
Exploring Operation: 91-82=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 91+82=173, Resulting Numbers: [173]
173,89 unequal: No Solution
Exploring Operation: 91*82=7462, Resulting Numbers: [7462]
7462,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 89:[61, 70], Operations: ['70+21=91', '91-21=70']
Exploring Operation: 61*70=4270, Resulting Numbers: [4270]
4270,89 unequal: No Solution
Exploring Operation: 70-61=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 61+70=131, Resulting Numbers: [131]
131,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 89:[61, 112], Operations: ['70+21=91', '21+91=112']
Exploring Operation: 61+112=173, Resulting Numbers: [173]
173,89 unequal: No Solution
Exploring Operation: 61*112=6832, Resulting Numbers: [6832]
6832,89 unequal: No Solution
Exploring Operation: 112-61=51, Resulting Numbers: [51]
51,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 89:[91, 40], Operations: ['70+21=91', '61-21=40']
Exploring Operation: 91+40=131, Resulting Numbers: [131]
131,89 unequal: No Solution
Exploring Operation: 91*40=3640, Resulting Numbers: [3640]
3640,89 unequal: No Solution
Exploring Operation: 91-40=51, Resulting Numbers: [51]
51,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 89:[21, 30], Operations: ['70+21=91', '91-61=30']
Exploring Operation: 21*30=630, Resulting Numbers: [630]
630,89 unequal: No Solution
Exploring Operation: 21+30=51, Resulting Numbers: [51]
51,89 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 89:[82, 91], Operations: ['21+61=82', '70+21=91']
Exploring Operation: 91-82=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 82*91=7462, Resulting Numbers: [7462]
7462,89 unequal: No Solution
Exploring Operation: 82+91=173, Resulting Numbers: [173]
173,89 unequal: No Solution
Moving to Node #0,3,4
Current State: 89:[91, 82], Operations: ['70+21=91', '61+21=82']
Exploring Operation: 91+82=173, Resulting Numbers: [173]
173,89 unequal: No Solution
Exploring Operation: 91-82=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 91*82=7462, Resulting Numbers: [7462]
7462,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[70, 103], Operations: ['21+21=42', '61+42=103']
Exploring Operation: 70+103=173, Resulting Numbers: [173]
173,89 unequal: No Solution
Exploring Operation: 70*103=7210, Resulting Numbers: [7210]
7210,89 unequal: No Solution
Exploring Operation: 103-70=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Moving to Node #0,0,4
Current State: 89:[70, 103], Operations: ['21+61=82', '21+82=103']
Exploring Operation: 70*103=7210, Resulting Numbers: [7210]
7210,89 unequal: No Solution
Exploring Operation: 70+103=173, Resulting Numbers: [173]
173,89 unequal: No Solution
Exploring Operation: 103-70=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[82, 49], Operations: ['21+61=82', '70-21=49']
Exploring Operation: 82-49=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Exploring Operation: 82+49=131, Resulting Numbers: [131]
131,89 unequal: No Solution
Exploring Operation: 82*49=4018, Resulting Numbers: [4018]
4018,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[61, 70], Operations: ['70+21=91', '91-21=70']
Exploring Operation: 61+70=131, Resulting Numbers: [131]
131,89 unequal: No Solution
Exploring Operation: 70-61=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 61*70=4270, Resulting Numbers: [4270]
4270,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[70, 61], Operations: ['21+61=82', '82-21=61']
Exploring Operation: 70*61=4270, Resulting Numbers: [4270]
4270,89 unequal: No Solution
Exploring Operation: 70-61=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 70+61=131, Resulting Numbers: [131]
131,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[61, 112], Operations: ['21+21=42', '70+42=112']
Exploring Operation: 112-61=51, Resulting Numbers: [51]
51,89 unequal: No Solution
Exploring Operation: 61+112=173, Resulting Numbers: [173]
173,89 unequal: No Solution
Exploring Operation: 61*112=6832, Resulting Numbers: [6832]
6832,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[91, 40], Operations: ['70+21=91', '61-21=40']
Exploring Operation: 91*40=3640, Resulting Numbers: [3640]
3640,89 unequal: No Solution
Exploring Operation: 91-40=51, Resulting Numbers: [51]
51,89 unequal: No Solution
Exploring Operation: 91+40=131, Resulting Numbers: [131]
131,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[61, 112], Operations: ['70+21=91', '21+91=112']
Exploring Operation: 61+112=173, Resulting Numbers: [173]
173,89 unequal: No Solution
Exploring Operation: 112-61=51, Resulting Numbers: [51]
51,89 unequal: No Solution
Exploring Operation: 61*112=6832, Resulting Numbers: [6832]
6832,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[61, 28], Operations: ['21+21=42', '70-42=28']
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Exploring Operation: 61*28=1708, Resulting Numbers: [1708]
1708,89 unequal: No Solution
Exploring Operation: 61+28=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[70, 21, 61, 21], Operations: []
Exploring Operation: 21+21=42, Resulting Numbers: [70, 61, 42]
Generated Node #0,2: 89:[70, 61, 42] Operation: 21+21=42
Moving to Node #0,2
Current State: 89:[70, 61, 42], Operations: ['21+21=42']
Exploring Operation: 70-42=28, Resulting Numbers: [61, 28]
Generated Node #0,2,2: 89:[61, 28] Operation: 70-42=28
Moving to Node #0,2,2
Current State: 89:[61, 28], Operations: ['21+21=42', '70-42=28']
Exploring Operation: 61+28=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 0.915799 | hs_5 | sum_heuristic |
[
16,
34,
64,
26
] | 70 | [
"64/16=4",
"26*4=104",
"104-34=70"
] | Current State: 70:[16, 34, 64, 26], Operations: []
Exploring Operation: 64/16=4, Resulting Numbers: [34, 26, 4]
Generated Node #2: [34, 26, 4] from Operation: 64/16=4
Current State: 70:[34, 26, 4], Operations: ['64/16=4']
Exploring Operation: 26*4=104, Resulting Numbers: [34, 104]
Generated Node #3: [34, 104] from Operation: 26*4=104
Current State: 70:[34, 104], Operations: ['64/16=4', '26*4=104']
Exploring Operation: 104-34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[16, 34, 64, 26], Operations: []
Exploring Operation: 64-26=38, Resulting Numbers: [16, 34, 38]
Generated Node #0,0: 70:[16, 34, 38] Operation: 64-26=38
Exploring Operation: 34-26=8, Resulting Numbers: [16, 64, 8]
Generated Node #0,1: 70:[16, 64, 8] Operation: 34-26=8
Exploring Operation: 26-16=10, Resulting Numbers: [34, 64, 10]
Generated Node #0,2: 70:[34, 64, 10] Operation: 26-16=10
Exploring Operation: 64/16=4, Resulting Numbers: [34, 26, 4]
Generated Node #0,3: 70:[34, 26, 4] Operation: 64/16=4
Exploring Operation: 16+26=42, Resulting Numbers: [34, 64, 42]
Generated Node #0,4: 70:[34, 64, 42] Operation: 16+26=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[16, 34, 38], Operations: ['64-26=38']
Exploring Operation: 38-16=22, Resulting Numbers: [34, 22]
Generated Node #0,0,0: 70:[34, 22] Operation: 38-16=22
Exploring Operation: 16+38=54, Resulting Numbers: [34, 54]
Generated Node #0,0,1: 70:[34, 54] Operation: 16+38=54
Exploring Operation: 34-16=18, Resulting Numbers: [38, 18]
Generated Node #0,0,2: 70:[38, 18] Operation: 34-16=18
Exploring Operation: 34+38=72, Resulting Numbers: [16, 72]
Generated Node #0,0,3: 70:[16, 72] Operation: 34+38=72
Exploring Operation: 38-34=4, Resulting Numbers: [16, 4]
Generated Node #0,0,4: 70:[16, 4] Operation: 38-34=4
Moving to Node #0,0,4
Current State: 70:[16, 4], Operations: ['64-26=38', '38-34=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[16, 72], Operations: ['64-26=38', '34+38=72']
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 16+72=88, Resulting Numbers: [88]
88,70 unequal: No Solution
Exploring Operation: 16*72=1152, Resulting Numbers: [1152]
1152,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[38, 18], Operations: ['64-26=38', '34-16=18']
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,70 unequal: No Solution
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[34, 22], Operations: ['64-26=38', '38-16=22']
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 34+22=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 34*22=748, Resulting Numbers: [748]
748,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[34, 54], Operations: ['64-26=38', '16+38=54']
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 34*54=1836, Resulting Numbers: [1836]
1836,70 unequal: No Solution
Exploring Operation: 34+54=88, Resulting Numbers: [88]
88,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,2
Current State: 70:[34, 64, 10], Operations: ['26-16=10']
Exploring Operation: 64+10=74, Resulting Numbers: [34, 74]
Generated Node #0,2,0: 70:[34, 74] Operation: 64+10=74
Exploring Operation: 64-34=30, Resulting Numbers: [10, 30]
Generated Node #0,2,1: 70:[10, 30] Operation: 64-34=30
Exploring Operation: 34-10=24, Resulting Numbers: [64, 24]
Generated Node #0,2,2: 70:[64, 24] Operation: 34-10=24
Exploring Operation: 34+10=44, Resulting Numbers: [64, 44]
Generated Node #0,2,3: 70:[64, 44] Operation: 34+10=44
Exploring Operation: 64-10=54, Resulting Numbers: [34, 54]
Generated Node #0,2,4: 70:[34, 54] Operation: 64-10=54
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[34, 74], Operations: ['26-16=10', '64+10=74']
Exploring Operation: 74-34=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 34+74=108, Resulting Numbers: [108]
108,70 unequal: No Solution
Exploring Operation: 34*74=2516, Resulting Numbers: [2516]
2516,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[10, 30], Operations: ['26-16=10', '64-34=30']
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 10*30=300, Resulting Numbers: [300]
300,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 70:[64, 44], Operations: ['26-16=10', '34+10=44']
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 64*44=2816, Resulting Numbers: [2816]
2816,70 unequal: No Solution
Exploring Operation: 64+44=108, Resulting Numbers: [108]
108,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 70:[64, 24], Operations: ['26-16=10', '34-10=24']
Exploring Operation: 64+24=88, Resulting Numbers: [88]
88,70 unequal: No Solution
Exploring Operation: 64*24=1536, Resulting Numbers: [1536]
1536,70 unequal: No Solution
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 70:[34, 54], Operations: ['26-16=10', '64-10=54']
Exploring Operation: 34+54=88, Resulting Numbers: [88]
88,70 unequal: No Solution
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 34*54=1836, Resulting Numbers: [1836]
1836,70 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: 70:[16, 64, 8], Operations: ['34-26=8']
Exploring Operation: 64/8=8, Resulting Numbers: [16, 8]
Generated Node #0,1,0: 70:[16, 8] Operation: 64/8=8
Exploring Operation: 64+8=72, Resulting Numbers: [16, 72]
Generated Node #0,1,1: 70:[16, 72] Operation: 64+8=72
Exploring Operation: 16-8=8, Resulting Numbers: [64, 8]
Generated Node #0,1,2: 70:[64, 8] Operation: 16-8=8
Exploring Operation: 64/16=4, Resulting Numbers: [8, 4]
Generated Node #0,1,3: 70:[8, 4] Operation: 64/16=4
Exploring Operation: 16/8=2, Resulting Numbers: [64, 2]
Generated Node #0,1,4: 70:[64, 2] Operation: 16/8=2
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 70:[8, 4], Operations: ['34-26=8', '64/16=4']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,70 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[16, 8], Operations: ['34-26=8', '64/8=8']
Exploring Operation: 16*8=128, Resulting Numbers: [128]
128,70 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[16, 72], Operations: ['34-26=8', '64+8=72']
Exploring Operation: 16+72=88, Resulting Numbers: [88]
88,70 unequal: No Solution
Exploring Operation: 16*72=1152, Resulting Numbers: [1152]
1152,70 unequal: No Solution
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 70:[64, 2], Operations: ['34-26=8', '16/8=2']
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,70 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,70 unequal: No Solution
Exploring Operation: 64*2=128, Resulting Numbers: [128]
128,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 70:[64, 8], Operations: ['34-26=8', '16-8=8']
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 64*8=512, Resulting Numbers: [512]
512,70 unequal: No Solution
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,70 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: 70:[34, 26, 4], Operations: ['64/16=4']
Exploring Operation: 34-26=8, Resulting Numbers: [4, 8]
Generated Node #0,3,0: 70:[4, 8] Operation: 34-26=8
Exploring Operation: 26+4=30, Resulting Numbers: [34, 30]
Generated Node #0,3,1: 70:[34, 30] Operation: 26+4=30
Exploring Operation: 26-4=22, Resulting Numbers: [34, 22]
Generated Node #0,3,2: 70:[34, 22] Operation: 26-4=22
Exploring Operation: 34+4=38, Resulting Numbers: [26, 38]
Generated Node #0,3,3: 70:[26, 38] Operation: 34+4=38
Exploring Operation: 34+26=60, Resulting Numbers: [4, 60]
Generated Node #0,3,4: 70:[4, 60] Operation: 34+26=60
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 70:[4, 8], Operations: ['64/16=4', '34-26=8']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,70 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 70:[34, 30], Operations: ['64/16=4', '26+4=30']
Exploring Operation: 34+30=64, Resulting Numbers: [64]
64,70 unequal: No Solution
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 34*30=1020, Resulting Numbers: [1020]
1020,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 70:[34, 22], Operations: ['64/16=4', '26-4=22']
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 34+22=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 34*22=748, Resulting Numbers: [748]
748,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 70:[4, 60], Operations: ['64/16=4', '34+26=60']
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,70 unequal: No Solution
Exploring Operation: 4*60=240, Resulting Numbers: [240]
240,70 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 70:[26, 38], Operations: ['64/16=4', '34+4=38']
Exploring Operation: 26*38=988, Resulting Numbers: [988]
988,70 unequal: No Solution
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 26+38=64, Resulting Numbers: [64]
64,70 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: 70:[34, 64, 42], Operations: ['16+26=42']
Exploring Operation: 42-34=8, Resulting Numbers: [64, 8]
Generated Node #0,4,0: 70:[64, 8] Operation: 42-34=8
Exploring Operation: 34+42=76, Resulting Numbers: [64, 76]
Generated Node #0,4,1: 70:[64, 76] Operation: 34+42=76
Exploring Operation: 34+64=98, Resulting Numbers: [42, 98]
Generated Node #0,4,2: 70:[42, 98] Operation: 34+64=98
Exploring Operation: 64-42=22, Resulting Numbers: [34, 22]
Generated Node #0,4,3: 70:[34, 22] Operation: 64-42=22
Exploring Operation: 64-34=30, Resulting Numbers: [42, 30]
Generated Node #0,4,4: 70:[42, 30] Operation: 64-34=30
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 70:[64, 8], Operations: ['16+26=42', '42-34=8']
Exploring Operation: 64*8=512, Resulting Numbers: [512]
512,70 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 70:[34, 22], Operations: ['16+26=42', '64-42=22']
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 34*22=748, Resulting Numbers: [748]
748,70 unequal: No Solution
Exploring Operation: 34+22=56, Resulting Numbers: [56]
56,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 70:[64, 76], Operations: ['16+26=42', '34+42=76']
Exploring Operation: 76-64=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 64+76=140, Resulting Numbers: [140]
140,70 unequal: No Solution
Exploring Operation: 64*76=4864, Resulting Numbers: [4864]
4864,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 70:[42, 30], Operations: ['16+26=42', '64-34=30']
Exploring Operation: 42*30=1260, Resulting Numbers: [1260]
1260,70 unequal: No Solution
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 70:[42, 98], Operations: ['16+26=42', '34+64=98']
Exploring Operation: 98-42=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 42*98=4116, Resulting Numbers: [4116]
4116,70 unequal: No Solution
Exploring Operation: 42+98=140, Resulting Numbers: [140]
140,70 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 |
[
33,
44,
60,
18
] | 98 | [
"44*60=2640",
"2640/33=80",
"18+80=98"
] | Current State: 98:[33, 44, 60, 18], Operations: []
Exploring Operation: 44*60=2640, Resulting Numbers: [33, 18, 2640]
Generated Node #2: [33, 18, 2640] from Operation: 44*60=2640
Current State: 98:[33, 18, 2640], Operations: ['44*60=2640']
Exploring Operation: 2640/33=80, Resulting Numbers: [18, 80]
Generated Node #3: [18, 80] from Operation: 2640/33=80
Current State: 98:[18, 80], Operations: ['44*60=2640', '2640/33=80']
Exploring Operation: 18+80=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[33, 44, 60, 18], Operations: []
Exploring Operation: 33-18=15, Resulting Numbers: [44, 60, 15]
Generated Node #0,0: 98:[44, 60, 15] Operation: 33-18=15
Exploring Operation: 33+60=93, Resulting Numbers: [44, 18, 93]
Generated Node #0,1: 98:[44, 18, 93] Operation: 33+60=93
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[44, 18, 93], Operations: ['33+60=93']
Exploring Operation: 93-44=49, Resulting Numbers: [18, 49]
Generated Node #0,1,0: 98:[18, 49] Operation: 93-44=49
Exploring Operation: 44-18=26, Resulting Numbers: [93, 26]
Generated Node #0,1,1: 98:[93, 26] Operation: 44-18=26
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[18, 49], Operations: ['33+60=93', '93-44=49']
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 18+49=67, Resulting Numbers: [67]
67,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[93, 26], Operations: ['33+60=93', '44-18=26']
Exploring Operation: 93+26=119, Resulting Numbers: [119]
119,98 unequal: No Solution
Exploring Operation: 93-26=67, Resulting Numbers: [67]
67,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[44, 60, 15], Operations: ['33-18=15']
Exploring Operation: 60-44=16, Resulting Numbers: [15, 16]
Generated Node #0,0,0: 98:[15, 16] Operation: 60-44=16
Exploring Operation: 44+60=104, Resulting Numbers: [15, 104]
Generated Node #0,0,1: 98:[15, 104] Operation: 44+60=104
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[15, 16], Operations: ['33-18=15', '60-44=16']
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[15, 104], Operations: ['33-18=15', '44+60=104']
Exploring Operation: 104-15=89, Resulting Numbers: [89]
89,98 unequal: No Solution
Exploring Operation: 15+104=119, Resulting Numbers: [119]
119,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
33,
62,
55,
29
] | 28 | [
"33-29=4",
"62-55=7",
"4*7=28"
] | Current State: 28:[33, 62, 55, 29], Operations: []
Exploring Operation: 33-29=4, Resulting Numbers: [62, 55, 4]
Generated Node #2: [62, 55, 4] from Operation: 33-29=4
Current State: 28:[62, 55, 4], Operations: ['33-29=4']
Exploring Operation: 62-55=7, Resulting Numbers: [4, 7]
Generated Node #3: [4, 7] from Operation: 62-55=7
Current State: 28:[4, 7], Operations: ['33-29=4', '62-55=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[33, 62, 55, 29], Operations: []
Exploring Operation: 62-55=7, Resulting Numbers: [33, 29, 7]
Generated Node #0,0: 28:[33, 29, 7] Operation: 62-55=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[33, 29, 7], Operations: ['62-55=7']
Exploring Operation: 33-29=4, Resulting Numbers: [7, 4]
Generated Node #0,0,0: 28:[7, 4] Operation: 33-29=4
Moving to Node #0,0,0
Current State: 28:[7, 4], Operations: ['62-55=7', '33-29=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[33, 62, 55, 29], Operations: []
Exploring Operation: 62-55=7, Resulting Numbers: [33, 29, 7]
Generated Node #0,0: 28:[33, 29, 7] Operation: 62-55=7
Moving to Node #0,0
Current State: 28:[33, 29, 7], Operations: ['62-55=7']
Exploring Operation: 33-29=4, Resulting Numbers: [7, 4]
Generated Node #0,0,0: 28:[7, 4] Operation: 33-29=4
Moving to Node #0,0,0
Current State: 28:[7, 4], Operations: ['62-55=7', '33-29=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
22,
14,
55,
23
] | 70 | [
"22-14=8",
"55+23=78",
"78-8=70"
] | Current State: 70:[22, 14, 55, 23], Operations: []
Exploring Operation: 22-14=8, Resulting Numbers: [55, 23, 8]
Generated Node #2: [55, 23, 8] from Operation: 22-14=8
Current State: 70:[55, 23, 8], Operations: ['22-14=8']
Exploring Operation: 55+23=78, Resulting Numbers: [8, 78]
Generated Node #3: [8, 78] from Operation: 55+23=78
Current State: 70:[8, 78], Operations: ['22-14=8', '55+23=78']
Exploring Operation: 78-8=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[22, 14, 55, 23], Operations: []
Exploring Operation: 55-22=33, Resulting Numbers: [14, 23, 33]
Generated Node #0,0: 70:[14, 23, 33] Operation: 55-22=33
Exploring Operation: 55-23=32, Resulting Numbers: [22, 14, 32]
Generated Node #0,1: 70:[22, 14, 32] Operation: 55-23=32
Exploring Operation: 22+55=77, Resulting Numbers: [14, 23, 77]
Generated Node #0,2: 70:[14, 23, 77] Operation: 22+55=77
Moving to Node #0,0
Current State: 70:[14, 23, 33], Operations: ['55-22=33']
Exploring Operation: 14+23=37, Resulting Numbers: [33, 37]
Generated Node #0,0,0: 70:[33, 37] Operation: 14+23=37
Exploring Operation: 23-14=9, Resulting Numbers: [33, 9]
Generated Node #0,0,1: 70:[33, 9] Operation: 23-14=9
Exploring Operation: 33-23=10, Resulting Numbers: [14, 10]
Generated Node #0,0,2: 70:[14, 10] Operation: 33-23=10
Moving to Node #0,1
Current State: 70:[22, 14, 32], Operations: ['55-23=32']
Exploring Operation: 32-22=10, Resulting Numbers: [14, 10]
Generated Node #0,1,0: 70:[14, 10] Operation: 32-22=10
Exploring Operation: 22-14=8, Resulting Numbers: [32, 8]
Generated Node #0,1,1: 70:[32, 8] Operation: 22-14=8
Exploring Operation: 22+14=36, Resulting Numbers: [32, 36]
Generated Node #0,1,2: 70:[32, 36] Operation: 22+14=36
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[14, 10], Operations: ['55-23=32', '32-22=10']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,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:[32, 8], Operations: ['55-23=32', '22-14=8']
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,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,2
Current State: 70:[32, 36], Operations: ['55-23=32', '22+14=36']
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 32*36=1152, Resulting Numbers: [1152]
1152,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:[14, 23, 77], Operations: ['22+55=77']
Exploring Operation: 23-14=9, Resulting Numbers: [77, 9]
Generated Node #0,2,0: 70:[77, 9] Operation: 23-14=9
Exploring Operation: 77-14=63, Resulting Numbers: [23, 63]
Generated Node #0,2,1: 70:[23, 63] Operation: 77-14=63
Exploring Operation: 14+23=37, Resulting Numbers: [77, 37]
Generated Node #0,2,2: 70:[77, 37] Operation: 14+23=37
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[77, 9], Operations: ['22+55=77', '23-14=9']
Exploring Operation: 77*9=693, Resulting Numbers: [693]
693,70 unequal: No Solution
Exploring Operation: 77+9=86, Resulting Numbers: [86]
86,70 unequal: No Solution
Exploring Operation: 77-9=68, Resulting Numbers: [68]
68,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,2,2
Current State: 70:[77, 37], Operations: ['22+55=77', '14+23=37']
Exploring Operation: 77*37=2849, Resulting Numbers: [2849]
2849,70 unequal: No Solution
Exploring Operation: 77-37=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 77+37=114, Resulting Numbers: [114]
114,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,2,1
Current State: 70:[23, 63], Operations: ['22+55=77', '77-14=63']
Exploring Operation: 23*63=1449, Resulting Numbers: [1449]
1449,70 unequal: No Solution
Exploring Operation: 63-23=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 23+63=86, Resulting Numbers: [86]
86,70 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: 70:[14, 10], Operations: ['55-22=33', '33-23=10']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,70 unequal: No Solution
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[33, 9], Operations: ['55-22=33', '23-14=9']
Exploring Operation: 33*9=297, Resulting Numbers: [297]
297,70 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 33+9=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[33, 37], Operations: ['55-22=33', '14+23=37']
Exploring Operation: 33*37=1221, Resulting Numbers: [1221]
1221,70 unequal: No Solution
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 33+37=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[22, 14, 55, 23], Operations: []
Exploring Operation: 55-22=33, Resulting Numbers: [14, 23, 33]
Generated Node #0,0: 70:[14, 23, 33] Operation: 55-22=33
Moving to Node #0,0
Current State: 70:[14, 23, 33], Operations: ['55-22=33']
Exploring Operation: 14+23=37, Resulting Numbers: [33, 37]
Generated Node #0,0,0: 70:[33, 37] Operation: 14+23=37
Moving to Node #0,0,0
Current State: 70:[33, 37], Operations: ['55-22=33', '14+23=37']
Exploring Operation: 33+37=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.962674 | hs_3 | mult_heuristic |
[
10,
11,
25,
39
] | 43 | [
"10+11=21",
"25+39=64",
"64-21=43"
] | Current State: 43:[10, 11, 25, 39], Operations: []
Exploring Operation: 10+11=21, Resulting Numbers: [25, 39, 21]
Generated Node #2: [25, 39, 21] from Operation: 10+11=21
Current State: 43:[25, 39, 21], Operations: ['10+11=21']
Exploring Operation: 25+39=64, Resulting Numbers: [21, 64]
Generated Node #3: [21, 64] from Operation: 25+39=64
Current State: 43:[21, 64], Operations: ['10+11=21', '25+39=64']
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[10, 11, 25, 39], Operations: []
Exploring Operation: 10+11=21, Resulting Numbers: [25, 39, 21]
Generated Node #0,0: 43:[25, 39, 21] Operation: 10+11=21
Exploring Operation: 11+25=36, Resulting Numbers: [10, 39, 36]
Generated Node #0,1: 43:[10, 39, 36] Operation: 11+25=36
Exploring Operation: 10+39=49, Resulting Numbers: [11, 25, 49]
Generated Node #0,2: 43:[11, 25, 49] Operation: 10+39=49
Exploring Operation: 10+25=35, Resulting Numbers: [11, 39, 35]
Generated Node #0,3: 43:[11, 39, 35] Operation: 10+25=35
Exploring Operation: 11+39=50, Resulting Numbers: [10, 25, 50]
Generated Node #0,4: 43:[10, 25, 50] Operation: 11+39=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[25, 39, 21], Operations: ['10+11=21']
Exploring Operation: 25+21=46, Resulting Numbers: [39, 46]
Generated Node #0,0,0: 43:[39, 46] Operation: 25+21=46
Exploring Operation: 39+21=60, Resulting Numbers: [25, 60]
Generated Node #0,0,1: 43:[25, 60] Operation: 39+21=60
Exploring Operation: 39-21=18, Resulting Numbers: [25, 18]
Generated Node #0,0,2: 43:[25, 18] Operation: 39-21=18
Exploring Operation: 25+39=64, Resulting Numbers: [21, 64]
Generated Node #0,0,3: 43:[21, 64] Operation: 25+39=64
Exploring Operation: 25-21=4, Resulting Numbers: [39, 4]
Generated Node #0,0,4: 43:[39, 4] Operation: 25-21=4
Moving to Node #0,0,0
Current State: 43:[39, 46], Operations: ['10+11=21', '25+21=46']
Exploring Operation: 39+46=85, Resulting Numbers: [85]
85,43 unequal: No Solution
Exploring Operation: 39*46=1794, Resulting Numbers: [1794]
1794,43 unequal: No Solution
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[25, 60], Operations: ['10+11=21', '39+21=60']
Exploring Operation: 25+60=85, Resulting Numbers: [85]
85,43 unequal: No Solution
Exploring Operation: 60-25=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Exploring Operation: 25*60=1500, Resulting Numbers: [1500]
1500,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[25, 18], Operations: ['10+11=21', '39-21=18']
Exploring Operation: 25+18=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[10, 11, 25, 39], Operations: []
Exploring Operation: 10+11=21, Resulting Numbers: [25, 39, 21]
Generated Node #0,0: 43:[25, 39, 21] Operation: 10+11=21
Moving to Node #0,0
Current State: 43:[25, 39, 21], Operations: ['10+11=21']
Exploring Operation: 39-21=18, Resulting Numbers: [25, 18]
Generated Node #0,0,2: 43:[25, 18] Operation: 39-21=18
Moving to Node #0,0,2
Current State: 43:[25, 18], Operations: ['10+11=21', '39-21=18']
Exploring Operation: 25+18=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
62,
60,
43,
63
] | 36 | [
"62+43=105",
"60*63=3780",
"3780/105=36"
] | Current State: 36:[62, 60, 43, 63], Operations: []
Exploring Operation: 62+43=105, Resulting Numbers: [60, 63, 105]
Generated Node #2: [60, 63, 105] from Operation: 62+43=105
Current State: 36:[60, 63, 105], Operations: ['62+43=105']
Exploring Operation: 60*63=3780, Resulting Numbers: [105, 3780]
Generated Node #3: [105, 3780] from Operation: 60*63=3780
Current State: 36:[105, 3780], Operations: ['62+43=105', '60*63=3780']
Exploring Operation: 3780/105=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[62, 60, 43, 63], Operations: []
Exploring Operation: 63-60=3, Resulting Numbers: [62, 43, 3]
Generated Node #0,0: 36:[62, 43, 3] Operation: 63-60=3
Exploring Operation: 63-62=1, Resulting Numbers: [60, 43, 1]
Generated Node #0,1: 36:[60, 43, 1] Operation: 63-62=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[60, 43, 1], Operations: ['63-62=1']
Exploring Operation: 60-1=59, Resulting Numbers: [43, 59]
Generated Node #0,1,0: 36:[43, 59] Operation: 60-1=59
Exploring Operation: 60-43=17, Resulting Numbers: [1, 17]
Generated Node #0,1,1: 36:[1, 17] Operation: 60-43=17
Moving to Node #0,1,1
Current State: 36:[1, 17], Operations: ['63-62=1', '60-43=17']
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[43, 59], Operations: ['63-62=1', '60-1=59']
Exploring Operation: 43+59=102, Resulting Numbers: [102]
102,36 unequal: No Solution
Exploring Operation: 59-43=16, Resulting Numbers: [16]
16,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[62, 43, 3], Operations: ['63-60=3']
Exploring Operation: 62-3=59, Resulting Numbers: [43, 59]
Generated Node #0,0,0: 36:[43, 59] Operation: 62-3=59
Exploring Operation: 62-43=19, Resulting Numbers: [3, 19]
Generated Node #0,0,1: 36:[3, 19] Operation: 62-43=19
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 36:[3, 19], Operations: ['63-60=3', '62-43=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[43, 59], Operations: ['63-60=3', '62-3=59']
Exploring Operation: 43+59=102, Resulting Numbers: [102]
102,36 unequal: No Solution
Exploring Operation: 59-43=16, Resulting Numbers: [16]
16,36 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 |
[
57,
37,
34,
67
] | 30 | [
"67-57=10",
"37-34=3",
"10*3=30"
] | Current State: 30:[57, 37, 34, 67], Operations: []
Exploring Operation: 67-57=10, Resulting Numbers: [37, 34, 10]
Generated Node #2: [37, 34, 10] from Operation: 67-57=10
Current State: 30:[37, 34, 10], Operations: ['67-57=10']
Exploring Operation: 37-34=3, Resulting Numbers: [10, 3]
Generated Node #3: [10, 3] from Operation: 37-34=3
Current State: 30:[10, 3], Operations: ['67-57=10', '37-34=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[57, 37, 34, 67], Operations: []
Exploring Operation: 57-37=20, Resulting Numbers: [34, 67, 20]
Generated Node #0,0: 30:[34, 67, 20] Operation: 57-37=20
Exploring Operation: 57-34=23, Resulting Numbers: [37, 67, 23]
Generated Node #0,1: 30:[37, 67, 23] Operation: 57-34=23
Exploring Operation: 67-34=33, Resulting Numbers: [57, 37, 33]
Generated Node #0,2: 30:[57, 37, 33] Operation: 67-34=33
Exploring Operation: 67-57=10, Resulting Numbers: [37, 34, 10]
Generated Node #0,3: 30:[37, 34, 10] Operation: 67-57=10
Exploring Operation: 67-37=30, Resulting Numbers: [57, 34, 30]
Generated Node #0,4: 30:[57, 34, 30] Operation: 67-37=30
Moving to Node #0,3
Current State: 30:[37, 34, 10], Operations: ['67-57=10']
Exploring Operation: 34+10=44, Resulting Numbers: [37, 44]
Generated Node #0,3,0: 30:[37, 44] Operation: 34+10=44
Exploring Operation: 37-10=27, Resulting Numbers: [34, 27]
Generated Node #0,3,1: 30:[34, 27] Operation: 37-10=27
Exploring Operation: 37+10=47, Resulting Numbers: [34, 47]
Generated Node #0,3,2: 30:[34, 47] Operation: 37+10=47
Exploring Operation: 34-10=24, Resulting Numbers: [37, 24]
Generated Node #0,3,3: 30:[37, 24] Operation: 34-10=24
Exploring Operation: 37-34=3, Resulting Numbers: [10, 3]
Generated Node #0,3,4: 30:[10, 3] Operation: 37-34=3
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 30:[10, 3], Operations: ['67-57=10', '37-34=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[57, 37, 34, 67], Operations: []
Exploring Operation: 67-57=10, Resulting Numbers: [37, 34, 10]
Generated Node #0,3: 30:[37, 34, 10] Operation: 67-57=10
Moving to Node #0,3
Current State: 30:[37, 34, 10], Operations: ['67-57=10']
Exploring Operation: 37-34=3, Resulting Numbers: [10, 3]
Generated Node #0,3,4: 30:[10, 3] Operation: 37-34=3
Moving to Node #0,3,4
Current State: 30:[10, 3], Operations: ['67-57=10', '37-34=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
99,
51,
26,
12
] | 30 | [
"99-51=48",
"48/12=4",
"26+4=30"
] | Current State: 30:[99, 51, 26, 12], Operations: []
Exploring Operation: 99-51=48, Resulting Numbers: [26, 12, 48]
Generated Node #2: [26, 12, 48] from Operation: 99-51=48
Current State: 30:[26, 12, 48], Operations: ['99-51=48']
Exploring Operation: 48/12=4, Resulting Numbers: [26, 4]
Generated Node #3: [26, 4] from Operation: 48/12=4
Current State: 30:[26, 4], Operations: ['99-51=48', '48/12=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[99, 51, 26, 12], Operations: []
Exploring Operation: 99-12=87, Resulting Numbers: [51, 26, 87]
Generated Node #0,0: 30:[51, 26, 87] Operation: 99-12=87
Exploring Operation: 51-26=25, Resulting Numbers: [99, 12, 25]
Generated Node #0,1: 30:[99, 12, 25] Operation: 51-26=25
Exploring Operation: 99-26=73, Resulting Numbers: [51, 12, 73]
Generated Node #0,2: 30:[51, 12, 73] Operation: 99-26=73
Exploring Operation: 99-51=48, Resulting Numbers: [26, 12, 48]
Generated Node #0,3: 30:[26, 12, 48] Operation: 99-51=48
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[26, 12, 48], Operations: ['99-51=48']
Exploring Operation: 48-26=22, Resulting Numbers: [12, 22]
Generated Node #0,3,0: 30:[12, 22] Operation: 48-26=22
Exploring Operation: 48-12=36, Resulting Numbers: [26, 36]
Generated Node #0,3,1: 30:[26, 36] Operation: 48-12=36
Exploring Operation: 48/12=4, Resulting Numbers: [26, 4]
Generated Node #0,3,2: 30:[26, 4] Operation: 48/12=4
Exploring Operation: 26-12=14, Resulting Numbers: [48, 14]
Generated Node #0,3,3: 30:[48, 14] Operation: 26-12=14
Moving to Node #0,3,2
Current State: 30:[26, 4], Operations: ['99-51=48', '48/12=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[99, 51, 26, 12], Operations: []
Exploring Operation: 99-51=48, Resulting Numbers: [26, 12, 48]
Generated Node #0,3: 30:[26, 12, 48] Operation: 99-51=48
Moving to Node #0,3
Current State: 30:[26, 12, 48], Operations: ['99-51=48']
Exploring Operation: 48/12=4, Resulting Numbers: [26, 4]
Generated Node #0,3,2: 30:[26, 4] Operation: 48/12=4
Moving to Node #0,3,2
Current State: 30:[26, 4], Operations: ['99-51=48', '48/12=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
69,
15,
43,
52
] | 63 | [
"69-15=54",
"52-43=9",
"54+9=63"
] | Current State: 63:[69, 15, 43, 52], Operations: []
Exploring Operation: 69-15=54, Resulting Numbers: [43, 52, 54]
Generated Node #2: [43, 52, 54] from Operation: 69-15=54
Current State: 63:[43, 52, 54], Operations: ['69-15=54']
Exploring Operation: 52-43=9, Resulting Numbers: [54, 9]
Generated Node #3: [54, 9] from Operation: 52-43=9
Current State: 63:[54, 9], Operations: ['69-15=54', '52-43=9']
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[69, 15, 43, 52], Operations: []
Exploring Operation: 52-43=9, Resulting Numbers: [69, 15, 9]
Generated Node #0,0: 63:[69, 15, 9] Operation: 52-43=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[69, 15, 9], Operations: ['52-43=9']
Exploring Operation: 15-9=6, Resulting Numbers: [69, 6]
Generated Node #0,0,0: 63:[69, 6] Operation: 15-9=6
Moving to Node #0,0,0
Current State: 63:[69, 6], Operations: ['52-43=9', '15-9=6']
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[69, 15, 43, 52], Operations: []
Exploring Operation: 52-43=9, Resulting Numbers: [69, 15, 9]
Generated Node #0,0: 63:[69, 15, 9] Operation: 52-43=9
Moving to Node #0,0
Current State: 63:[69, 15, 9], Operations: ['52-43=9']
Exploring Operation: 15-9=6, Resulting Numbers: [69, 6]
Generated Node #0,0,0: 63:[69, 6] Operation: 15-9=6
Moving to Node #0,0,0
Current State: 63:[69, 6], Operations: ['52-43=9', '15-9=6']
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
40,
55,
95,
38
] | 37 | [
"40+55=95",
"95/95=1",
"38-1=37"
] | Current State: 37:[40, 55, 95, 38], Operations: []
Exploring Operation: 40+55=95, Resulting Numbers: [95, 38, 95]
Generated Node #2: [95, 38, 95] from Operation: 40+55=95
Current State: 37:[95, 38, 95], Operations: ['40+55=95']
Exploring Operation: 95/95=1, Resulting Numbers: [38, 1]
Generated Node #3: [38, 1] from Operation: 95/95=1
Current State: 37:[38, 1], Operations: ['40+55=95', '95/95=1']
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[40, 55, 95, 38], Operations: []
Exploring Operation: 95-40=55, Resulting Numbers: [55, 38, 55]
Generated Node #0,0: 37:[55, 38, 55] Operation: 95-40=55
Exploring Operation: 95-55=40, Resulting Numbers: [40, 38, 40]
Generated Node #0,1: 37:[40, 38, 40] Operation: 95-55=40
Exploring Operation: 55-38=17, Resulting Numbers: [40, 95, 17]
Generated Node #0,2: 37:[40, 95, 17] Operation: 55-38=17
Exploring Operation: 95-38=57, Resulting Numbers: [40, 55, 57]
Generated Node #0,3: 37:[40, 55, 57] Operation: 95-38=57
Exploring Operation: 55-40=15, Resulting Numbers: [95, 38, 15]
Generated Node #0,4: 37:[95, 38, 15] Operation: 55-40=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[40, 38, 40], Operations: ['95-55=40']
Exploring Operation: 40-38=2, Resulting Numbers: [40, 2]
Generated Node #0,1,0: 37:[40, 2] Operation: 40-38=2
Exploring Operation: 40+38=78, Resulting Numbers: [40, 78]
Generated Node #0,1,1: 37:[40, 78] Operation: 40+38=78
Exploring Operation: 40-38=2, Resulting Numbers: [40, 2]
Generated Node #0,1,2: 37:[40, 2] Operation: 40-38=2
Exploring Operation: 40-40=0, Resulting Numbers: [38, 0]
Generated Node #0,1,3: 37:[38, 0] Operation: 40-40=0
Exploring Operation: 40/40=1, Resulting Numbers: [38, 1]
Generated Node #0,1,4: 37:[38, 1] Operation: 40/40=1
Moving to Node #0,1,4
Current State: 37:[38, 1], Operations: ['95-55=40', '40/40=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[40, 55, 95, 38], Operations: []
Exploring Operation: 95-55=40, Resulting Numbers: [40, 38, 40]
Generated Node #0,1: 37:[40, 38, 40] Operation: 95-55=40
Moving to Node #0,1
Current State: 37:[40, 38, 40], Operations: ['95-55=40']
Exploring Operation: 40/40=1, Resulting Numbers: [38, 1]
Generated Node #0,1,4: 37:[38, 1] Operation: 40/40=1
Moving to Node #0,1,4
Current State: 37:[38, 1], Operations: ['95-55=40', '40/40=1']
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
67,
67,
91,
92
] | 92 | [
"67-67=0",
"91*0=0",
"92+0=92"
] | Current State: 92:[67, 67, 91, 92], Operations: []
Exploring Operation: 67-67=0, Resulting Numbers: [91, 92, 0]
Generated Node #2: [91, 92, 0] from Operation: 67-67=0
Current State: 92:[91, 92, 0], Operations: ['67-67=0']
Exploring Operation: 91*0=0, Resulting Numbers: [92, 0]
Generated Node #3: [92, 0] from Operation: 91*0=0
Current State: 92:[92, 0], Operations: ['67-67=0', '91*0=0']
Exploring Operation: 92+0=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[67, 67, 91, 92], Operations: []
Exploring Operation: 91-67=24, Resulting Numbers: [67, 92, 24]
Generated Node #0,0: 92:[67, 92, 24] Operation: 91-67=24
Exploring Operation: 67/67=1, Resulting Numbers: [91, 92, 1]
Generated Node #0,1: 92:[91, 92, 1] Operation: 67/67=1
Exploring Operation: 92-67=25, Resulting Numbers: [67, 91, 25]
Generated Node #0,2: 92:[67, 91, 25] Operation: 92-67=25
Exploring Operation: 91-67=24, Resulting Numbers: [67, 92, 24]
Generated Node #0,3: 92:[67, 92, 24] Operation: 91-67=24
Exploring Operation: 67-67=0, Resulting Numbers: [91, 92, 0]
Generated Node #0,4: 92:[91, 92, 0] Operation: 67-67=0
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[91, 92, 1], Operations: ['67/67=1']
Exploring Operation: 92*1=92, Resulting Numbers: [91, 92]
Generated Node #0,1,0: 92:[91, 92] Operation: 92*1=92
Exploring Operation: 91*1=91, Resulting Numbers: [92, 91]
Generated Node #0,1,1: 92:[92, 91] Operation: 91*1=91
Exploring Operation: 91/1=91, Resulting Numbers: [92, 91]
Generated Node #0,1,2: 92:[92, 91] Operation: 91/1=91
Exploring Operation: 91+1=92, Resulting Numbers: [92, 92]
Generated Node #0,1,3: 92:[92, 92] Operation: 91+1=92
Exploring Operation: 92/1=92, Resulting Numbers: [91, 92]
Generated Node #0,1,4: 92:[91, 92] Operation: 92/1=92
Moving to Node #0,1,3
Current State: 92:[92, 92], Operations: ['67/67=1', '91+1=92']
Exploring Operation: 92*92=8464, Resulting Numbers: [8464]
8464,92 unequal: No Solution
Exploring Operation: 92-92=0, Resulting Numbers: [0]
0,92 unequal: No Solution
Exploring Operation: 92/92=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 92+92=184, Resulting Numbers: [184]
184,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[92, 91], Operations: ['67/67=1', '91*1=91']
Exploring Operation: 92*91=8372, Resulting Numbers: [8372]
8372,92 unequal: No Solution
Exploring Operation: 92-91=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 92+91=183, Resulting Numbers: [183]
183,92 unequal: No Solution
Moving to Node #0,1,4
Current State: 92:[91, 92], Operations: ['67/67=1', '92/1=92']
Exploring Operation: 91+92=183, Resulting Numbers: [183]
183,92 unequal: No Solution
Exploring Operation: 91*92=8372, Resulting Numbers: [8372]
8372,92 unequal: No Solution
Exploring Operation: 92-91=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[91, 92], Operations: ['67/67=1', '92*1=92']
Exploring Operation: 91+92=183, Resulting Numbers: [183]
183,92 unequal: No Solution
Exploring Operation: 92-91=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 91*92=8372, Resulting Numbers: [8372]
8372,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[92, 91], Operations: ['67/67=1', '91/1=91']
Exploring Operation: 92-91=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 92*91=8372, Resulting Numbers: [8372]
8372,92 unequal: No Solution
Exploring Operation: 92+91=183, Resulting Numbers: [183]
183,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 92:[91, 92, 0], Operations: ['67-67=0']
Exploring Operation: 91-0=91, Resulting Numbers: [92, 91]
Generated Node #0,4,0: 92:[92, 91] Operation: 91-0=91
Exploring Operation: 92-0=92, Resulting Numbers: [91, 92]
Generated Node #0,4,1: 92:[91, 92] Operation: 92-0=92
Exploring Operation: 91+0=91, Resulting Numbers: [92, 91]
Generated Node #0,4,2: 92:[92, 91] Operation: 91+0=91
Exploring Operation: 91*0=0, Resulting Numbers: [92, 0]
Generated Node #0,4,3: 92:[92, 0] Operation: 91*0=0
Exploring Operation: 92+0=92, Resulting Numbers: [91, 92]
Generated Node #0,4,4: 92:[91, 92] Operation: 92+0=92
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 92:[92, 91], Operations: ['67-67=0', '91-0=91']
Exploring Operation: 92*91=8372, Resulting Numbers: [8372]
8372,92 unequal: No Solution
Exploring Operation: 92-91=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 92+91=183, Resulting Numbers: [183]
183,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 92:[91, 92], Operations: ['67-67=0', '92-0=92']
Exploring Operation: 91+92=183, Resulting Numbers: [183]
183,92 unequal: No Solution
Exploring Operation: 91*92=8372, Resulting Numbers: [8372]
8372,92 unequal: No Solution
Exploring Operation: 92-91=1, Resulting Numbers: [1]
1,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 92:[92, 91], Operations: ['67-67=0', '91+0=91']
Exploring Operation: 92*91=8372, Resulting Numbers: [8372]
8372,92 unequal: No Solution
Exploring Operation: 92-91=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 92+91=183, Resulting Numbers: [183]
183,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 92:[91, 92], Operations: ['67-67=0', '92+0=92']
Exploring Operation: 91*92=8372, Resulting Numbers: [8372]
8372,92 unequal: No Solution
Exploring Operation: 92-91=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 91+92=183, Resulting Numbers: [183]
183,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 92:[92, 0], Operations: ['67-67=0', '91*0=0']
Exploring Operation: 92-0=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[67, 67, 91, 92], Operations: []
Exploring Operation: 67-67=0, Resulting Numbers: [91, 92, 0]
Generated Node #0,4: 92:[91, 92, 0] Operation: 67-67=0
Moving to Node #0,4
Current State: 92:[91, 92, 0], Operations: ['67-67=0']
Exploring Operation: 91*0=0, Resulting Numbers: [92, 0]
Generated Node #0,4,3: 92:[92, 0] Operation: 91*0=0
Moving to Node #0,4,3
Current State: 92:[92, 0], Operations: ['67-67=0', '91*0=0']
Exploring Operation: 92-0=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.958333 | hs_5 | mult_heuristic |
[
54,
61,
33,
62
] | 36 | [
"61-54=7",
"62-33=29",
"7+29=36"
] | Current State: 36:[54, 61, 33, 62], Operations: []
Exploring Operation: 61-54=7, Resulting Numbers: [33, 62, 7]
Generated Node #2: [33, 62, 7] from Operation: 61-54=7
Current State: 36:[33, 62, 7], Operations: ['61-54=7']
Exploring Operation: 62-33=29, Resulting Numbers: [7, 29]
Generated Node #3: [7, 29] from Operation: 62-33=29
Current State: 36:[7, 29], Operations: ['61-54=7', '62-33=29']
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[54, 61, 33, 62], Operations: []
Exploring Operation: 62-33=29, Resulting Numbers: [54, 61, 29]
Generated Node #0,0: 36:[54, 61, 29] Operation: 62-33=29
Exploring Operation: 62-54=8, Resulting Numbers: [61, 33, 8]
Generated Node #0,1: 36:[61, 33, 8] Operation: 62-54=8
Exploring Operation: 62-61=1, Resulting Numbers: [54, 33, 1]
Generated Node #0,2: 36:[54, 33, 1] Operation: 62-61=1
Exploring Operation: 61-54=7, Resulting Numbers: [33, 62, 7]
Generated Node #0,3: 36:[33, 62, 7] Operation: 61-54=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[54, 33, 1], Operations: ['62-61=1']
Exploring Operation: 54*1=54, Resulting Numbers: [33, 54]
Generated Node #0,2,0: 36:[33, 54] Operation: 54*1=54
Exploring Operation: 54-1=53, Resulting Numbers: [33, 53]
Generated Node #0,2,1: 36:[33, 53] Operation: 54-1=53
Exploring Operation: 54-33=21, Resulting Numbers: [1, 21]
Generated Node #0,2,2: 36:[1, 21] Operation: 54-33=21
Exploring Operation: 33+1=34, Resulting Numbers: [54, 34]
Generated Node #0,2,3: 36:[54, 34] Operation: 33+1=34
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 36:[1, 21], Operations: ['62-61=1', '54-33=21']
Exploring Operation: 1+21=22, Resulting Numbers: [22]
22,36 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[33, 53], Operations: ['62-61=1', '54-1=53']
Exploring Operation: 33+53=86, Resulting Numbers: [86]
86,36 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 33*53=1749, Resulting Numbers: [1749]
1749,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 36:[54, 34], Operations: ['62-61=1', '33+1=34']
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 54+34=88, Resulting Numbers: [88]
88,36 unequal: No Solution
Exploring Operation: 54*34=1836, Resulting Numbers: [1836]
1836,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 36:[33, 54], Operations: ['62-61=1', '54*1=54']
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 33*54=1782, Resulting Numbers: [1782]
1782,36 unequal: No Solution
Exploring Operation: 33+54=87, Resulting Numbers: [87]
87,36 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: 36:[61, 33, 8], Operations: ['62-54=8']
Exploring Operation: 61-8=53, Resulting Numbers: [33, 53]
Generated Node #0,1,0: 36:[33, 53] Operation: 61-8=53
Exploring Operation: 33+8=41, Resulting Numbers: [61, 41]
Generated Node #0,1,1: 36:[61, 41] Operation: 33+8=41
Exploring Operation: 61-33=28, Resulting Numbers: [8, 28]
Generated Node #0,1,2: 36:[8, 28] Operation: 61-33=28
Exploring Operation: 33-8=25, Resulting Numbers: [61, 25]
Generated Node #0,1,3: 36:[61, 25] Operation: 33-8=25
Moving to Node #0,1,2
Current State: 36:[8, 28], Operations: ['62-54=8', '61-33=28']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,36 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[54, 61, 33, 62], Operations: []
Exploring Operation: 62-54=8, Resulting Numbers: [61, 33, 8]
Generated Node #0,1: 36:[61, 33, 8] Operation: 62-54=8
Moving to Node #0,1
Current State: 36:[61, 33, 8], Operations: ['62-54=8']
Exploring Operation: 61-33=28, Resulting Numbers: [8, 28]
Generated Node #0,1,2: 36:[8, 28] Operation: 61-33=28
Moving to Node #0,1,2
Current State: 36:[8, 28], Operations: ['62-54=8', '61-33=28']
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
38,
75,
31,
44
] | 37 | [
"75-31=44",
"44/44=1",
"38-1=37"
] | Current State: 37:[38, 75, 31, 44], Operations: []
Exploring Operation: 75-31=44, Resulting Numbers: [38, 44, 44]
Generated Node #2: [38, 44, 44] from Operation: 75-31=44
Current State: 37:[38, 44, 44], Operations: ['75-31=44']
Exploring Operation: 44/44=1, Resulting Numbers: [38, 1]
Generated Node #3: [38, 1] from Operation: 44/44=1
Current State: 37:[38, 1], Operations: ['75-31=44', '44/44=1']
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[38, 75, 31, 44], Operations: []
Exploring Operation: 75-44=31, Resulting Numbers: [38, 31, 31]
Generated Node #0,0: 37:[38, 31, 31] Operation: 75-44=31
Exploring Operation: 75-31=44, Resulting Numbers: [38, 44, 44]
Generated Node #0,1: 37:[38, 44, 44] Operation: 75-31=44
Exploring Operation: 75-38=37, Resulting Numbers: [31, 44, 37]
Generated Node #0,2: 37:[31, 44, 37] Operation: 75-38=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[38, 31, 31], Operations: ['75-44=31']
Exploring Operation: 38-31=7, Resulting Numbers: [31, 7]
Generated Node #0,0,0: 37:[31, 7] Operation: 38-31=7
Exploring Operation: 31+31=62, Resulting Numbers: [38, 62]
Generated Node #0,0,1: 37:[38, 62] Operation: 31+31=62
Exploring Operation: 38-31=7, Resulting Numbers: [31, 7]
Generated Node #0,0,2: 37:[31, 7] Operation: 38-31=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[38, 62], Operations: ['75-44=31', '31+31=62']
Exploring Operation: 38+62=100, Resulting Numbers: [100]
100,37 unequal: No Solution
Exploring Operation: 38*62=2356, Resulting Numbers: [2356]
2356,37 unequal: No Solution
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[31, 7], Operations: ['75-44=31', '38-31=7']
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,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:[31, 7], Operations: ['75-44=31', '38-31=7']
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,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,2
Current State: 37:[31, 44, 37], Operations: ['75-38=37']
Exploring Operation: 44-31=13, Resulting Numbers: [37, 13]
Generated Node #0,2,0: 37:[37, 13] Operation: 44-31=13
Exploring Operation: 31+44=75, Resulting Numbers: [37, 75]
Generated Node #0,2,1: 37:[37, 75] Operation: 31+44=75
Exploring Operation: 44-37=7, Resulting Numbers: [31, 7]
Generated Node #0,2,2: 37:[31, 7] Operation: 44-37=7
Moving to Node #0,2,0
Current State: 37:[37, 13], Operations: ['75-38=37', '44-31=13']
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,37 unequal: No Solution
Exploring Operation: 37*13=481, Resulting Numbers: [481]
481,37 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[31, 7], Operations: ['75-38=37', '44-37=7']
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,37 unequal: No Solution
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[37, 75], Operations: ['75-38=37', '31+44=75']
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 37*75=2775, Resulting Numbers: [2775]
2775,37 unequal: No Solution
Exploring Operation: 37+75=112, Resulting Numbers: [112]
112,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[38, 44, 44], Operations: ['75-31=44']
Exploring Operation: 44-38=6, Resulting Numbers: [44, 6]
Generated Node #0,1,0: 37:[44, 6] Operation: 44-38=6
Exploring Operation: 44-38=6, Resulting Numbers: [44, 6]
Generated Node #0,1,1: 37:[44, 6] Operation: 44-38=6
Exploring Operation: 44/44=1, Resulting Numbers: [38, 1]
Generated Node #0,1,2: 37:[38, 1] Operation: 44/44=1
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 37:[38, 1], Operations: ['75-31=44', '44/44=1']
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[38, 75, 31, 44], Operations: []
Exploring Operation: 75-31=44, Resulting Numbers: [38, 44, 44]
Generated Node #0,1: 37:[38, 44, 44] Operation: 75-31=44
Moving to Node #0,1
Current State: 37:[38, 44, 44], Operations: ['75-31=44']
Exploring Operation: 44/44=1, Resulting Numbers: [38, 1]
Generated Node #0,1,2: 37:[38, 1] Operation: 44/44=1
Moving to Node #0,1,2
Current State: 37:[38, 1], Operations: ['75-31=44', '44/44=1']
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_3 | mult_heuristic |
[
64,
82,
44,
12
] | 41 | [
"44-12=32",
"64/32=2",
"82/2=41"
] | Current State: 41:[64, 82, 44, 12], Operations: []
Exploring Operation: 44-12=32, Resulting Numbers: [64, 82, 32]
Generated Node #2: [64, 82, 32] from Operation: 44-12=32
Current State: 41:[64, 82, 32], Operations: ['44-12=32']
Exploring Operation: 64/32=2, Resulting Numbers: [82, 2]
Generated Node #3: [82, 2] from Operation: 64/32=2
Current State: 41:[82, 2], Operations: ['44-12=32', '64/32=2']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[64, 82, 44, 12], Operations: []
Exploring Operation: 64-12=52, Resulting Numbers: [82, 44, 52]
Generated Node #0,0: 41:[82, 44, 52] Operation: 64-12=52
Exploring Operation: 82-64=18, Resulting Numbers: [44, 12, 18]
Generated Node #0,1: 41:[44, 12, 18] Operation: 82-64=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[82, 44, 52], Operations: ['64-12=52']
Exploring Operation: 82-52=30, Resulting Numbers: [44, 30]
Generated Node #0,0,0: 41:[44, 30] Operation: 82-52=30
Exploring Operation: 82-44=38, Resulting Numbers: [52, 38]
Generated Node #0,0,1: 41:[52, 38] Operation: 82-44=38
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[44, 30], Operations: ['64-12=52', '82-52=30']
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,41 unequal: No Solution
No 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: 41:[52, 38], Operations: ['64-12=52', '82-44=38']
Exploring Operation: 52+38=90, Resulting Numbers: [90]
90,41 unequal: No Solution
Exploring Operation: 52-38=14, Resulting Numbers: [14]
14,41 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: 41:[44, 12, 18], Operations: ['82-64=18']
Exploring Operation: 44-12=32, Resulting Numbers: [18, 32]
Generated Node #0,1,0: 41:[18, 32] Operation: 44-12=32
Exploring Operation: 12+18=30, Resulting Numbers: [44, 30]
Generated Node #0,1,1: 41:[44, 30] Operation: 12+18=30
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[44, 30], Operations: ['82-64=18', '12+18=30']
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,41 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,41 unequal: No Solution
No 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: 41:[18, 32], Operations: ['82-64=18', '44-12=32']
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,41 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 |
[
76,
71,
54,
27
] | 32 | [
"76-71=5",
"54-27=27",
"5+27=32"
] | Current State: 32:[76, 71, 54, 27], Operations: []
Exploring Operation: 76-71=5, Resulting Numbers: [54, 27, 5]
Generated Node #2: [54, 27, 5] from Operation: 76-71=5
Current State: 32:[54, 27, 5], Operations: ['76-71=5']
Exploring Operation: 54-27=27, Resulting Numbers: [5, 27]
Generated Node #3: [5, 27] from Operation: 54-27=27
Current State: 32:[5, 27], Operations: ['76-71=5', '54-27=27']
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[76, 71, 54, 27], Operations: []
Exploring Operation: 76-27=49, Resulting Numbers: [71, 54, 49]
Generated Node #0,0: 32:[71, 54, 49] Operation: 76-27=49
Exploring Operation: 71-54=17, Resulting Numbers: [76, 27, 17]
Generated Node #0,1: 32:[76, 27, 17] Operation: 71-54=17
Exploring Operation: 76-71=5, Resulting Numbers: [54, 27, 5]
Generated Node #0,2: 32:[54, 27, 5] Operation: 76-71=5
Exploring Operation: 71-27=44, Resulting Numbers: [76, 54, 44]
Generated Node #0,3: 32:[76, 54, 44] Operation: 71-27=44
Exploring Operation: 76-54=22, Resulting Numbers: [71, 27, 22]
Generated Node #0,4: 32:[71, 27, 22] Operation: 76-54=22
Moving to Node #0,2
Current State: 32:[54, 27, 5], Operations: ['76-71=5']
Exploring Operation: 54-5=49, Resulting Numbers: [27, 49]
Generated Node #0,2,0: 32:[27, 49] Operation: 54-5=49
Exploring Operation: 54/27=2, Resulting Numbers: [5, 2]
Generated Node #0,2,1: 32:[5, 2] Operation: 54/27=2
Exploring Operation: 54-27=27, Resulting Numbers: [5, 27]
Generated Node #0,2,2: 32:[5, 27] Operation: 54-27=27
Exploring Operation: 27-5=22, Resulting Numbers: [54, 22]
Generated Node #0,2,3: 32:[54, 22] Operation: 27-5=22
Exploring Operation: 27+5=32, Resulting Numbers: [54, 32]
Generated Node #0,2,4: 32:[54, 32] Operation: 27+5=32
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 32:[5, 2], Operations: ['76-71=5', '54/27=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 32:[5, 27], Operations: ['76-71=5', '54-27=27']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[76, 71, 54, 27], Operations: []
Exploring Operation: 76-71=5, Resulting Numbers: [54, 27, 5]
Generated Node #0,2: 32:[54, 27, 5] Operation: 76-71=5
Moving to Node #0,2
Current State: 32:[54, 27, 5], Operations: ['76-71=5']
Exploring Operation: 54-27=27, Resulting Numbers: [5, 27]
Generated Node #0,2,2: 32:[5, 27] Operation: 54-27=27
Moving to Node #0,2,2
Current State: 32:[5, 27], Operations: ['76-71=5', '54-27=27']
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
48,
18,
22,
84
] | 81 | [
"48+18=66",
"66/22=3",
"84-3=81"
] | Current State: 81:[48, 18, 22, 84], Operations: []
Exploring Operation: 48+18=66, Resulting Numbers: [22, 84, 66]
Generated Node #2: [22, 84, 66] from Operation: 48+18=66
Current State: 81:[22, 84, 66], Operations: ['48+18=66']
Exploring Operation: 66/22=3, Resulting Numbers: [84, 3]
Generated Node #3: [84, 3] from Operation: 66/22=3
Current State: 81:[84, 3], Operations: ['48+18=66', '66/22=3']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[48, 18, 22, 84], Operations: []
Exploring Operation: 48+22=70, Resulting Numbers: [18, 84, 70]
Generated Node #0,0: 81:[18, 84, 70] Operation: 48+22=70
Exploring Operation: 48-22=26, Resulting Numbers: [18, 84, 26]
Generated Node #0,1: 81:[18, 84, 26] Operation: 48-22=26
Exploring Operation: 84-48=36, Resulting Numbers: [18, 22, 36]
Generated Node #0,2: 81:[18, 22, 36] Operation: 84-48=36
Exploring Operation: 48+18=66, Resulting Numbers: [22, 84, 66]
Generated Node #0,3: 81:[22, 84, 66] Operation: 48+18=66
Exploring Operation: 48-18=30, Resulting Numbers: [22, 84, 30]
Generated Node #0,4: 81:[22, 84, 30] Operation: 48-18=30
Moving to Node #0,4
Current State: 81:[22, 84, 30], Operations: ['48-18=30']
Exploring Operation: 30-22=8, Resulting Numbers: [84, 8]
Generated Node #0,4,0: 81:[84, 8] Operation: 30-22=8
Exploring Operation: 22+30=52, Resulting Numbers: [84, 52]
Generated Node #0,4,1: 81:[84, 52] Operation: 22+30=52
Exploring Operation: 22+84=106, Resulting Numbers: [30, 106]
Generated Node #0,4,2: 81:[30, 106] Operation: 22+84=106
Exploring Operation: 84-30=54, Resulting Numbers: [22, 54]
Generated Node #0,4,3: 81:[22, 54] Operation: 84-30=54
Exploring Operation: 84-22=62, Resulting Numbers: [30, 62]
Generated Node #0,4,4: 81:[30, 62] Operation: 84-22=62
Moving to Node #0,1
Current State: 81:[18, 84, 26], Operations: ['48-22=26']
Exploring Operation: 18+84=102, Resulting Numbers: [26, 102]
Generated Node #0,1,0: 81:[26, 102] Operation: 18+84=102
Exploring Operation: 84-18=66, Resulting Numbers: [26, 66]
Generated Node #0,1,1: 81:[26, 66] Operation: 84-18=66
Exploring Operation: 26-18=8, Resulting Numbers: [84, 8]
Generated Node #0,1,2: 81:[84, 8] Operation: 26-18=8
Exploring Operation: 18+26=44, Resulting Numbers: [84, 44]
Generated Node #0,1,3: 81:[84, 44] Operation: 18+26=44
Exploring Operation: 84-26=58, Resulting Numbers: [18, 58]
Generated Node #0,1,4: 81:[18, 58] Operation: 84-26=58
Moving to Node #0,0
Current State: 81:[18, 84, 70], Operations: ['48+22=70']
Exploring Operation: 84-18=66, Resulting Numbers: [70, 66]
Generated Node #0,0,0: 81:[70, 66] Operation: 84-18=66
Exploring Operation: 70-18=52, Resulting Numbers: [84, 52]
Generated Node #0,0,1: 81:[84, 52] Operation: 70-18=52
Exploring Operation: 18+84=102, Resulting Numbers: [70, 102]
Generated Node #0,0,2: 81:[70, 102] Operation: 18+84=102
Exploring Operation: 18+70=88, Resulting Numbers: [84, 88]
Generated Node #0,0,3: 81:[84, 88] Operation: 18+70=88
Exploring Operation: 84-70=14, Resulting Numbers: [18, 14]
Generated Node #0,0,4: 81:[18, 14] Operation: 84-70=14
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 81:[84, 88], Operations: ['48+22=70', '18+70=88']
Exploring Operation: 84+88=172, Resulting Numbers: [172]
172,81 unequal: No Solution
Exploring Operation: 88-84=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 84*88=7392, Resulting Numbers: [7392]
7392,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 81:[18, 14], Operations: ['48+22=70', '84-70=14']
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 18*14=252, Resulting Numbers: [252]
252,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[70, 66], Operations: ['48+22=70', '84-18=66']
Exploring Operation: 70+66=136, Resulting Numbers: [136]
136,81 unequal: No Solution
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 70*66=4620, Resulting Numbers: [4620]
4620,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[84, 52], Operations: ['48+22=70', '70-18=52']
Exploring Operation: 84+52=136, Resulting Numbers: [136]
136,81 unequal: No Solution
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 84*52=4368, Resulting Numbers: [4368]
4368,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[70, 102], Operations: ['48+22=70', '18+84=102']
Exploring Operation: 70*102=7140, Resulting Numbers: [7140]
7140,81 unequal: No Solution
Exploring Operation: 102-70=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 70+102=172, Resulting Numbers: [172]
172,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 81:[18, 22, 36], Operations: ['84-48=36']
Exploring Operation: 22-18=4, Resulting Numbers: [36, 4]
Generated Node #0,2,0: 81:[36, 4] Operation: 22-18=4
Exploring Operation: 36-18=18, Resulting Numbers: [22, 18]
Generated Node #0,2,1: 81:[22, 18] Operation: 36-18=18
Exploring Operation: 36/18=2, Resulting Numbers: [22, 2]
Generated Node #0,2,2: 81:[22, 2] Operation: 36/18=2
Exploring Operation: 36-22=14, Resulting Numbers: [18, 14]
Generated Node #0,2,3: 81:[18, 14] Operation: 36-22=14
Exploring Operation: 18+22=40, Resulting Numbers: [36, 40]
Generated Node #0,2,4: 81:[36, 40] Operation: 18+22=40
Moving to Node #0,3
Current State: 81:[22, 84, 66], Operations: ['48+18=66']
Exploring Operation: 66/22=3, Resulting Numbers: [84, 3]
Generated Node #0,3,0: 81:[84, 3] Operation: 66/22=3
Exploring Operation: 66-22=44, Resulting Numbers: [84, 44]
Generated Node #0,3,1: 81:[84, 44] Operation: 66-22=44
Exploring Operation: 22+66=88, Resulting Numbers: [84, 88]
Generated Node #0,3,2: 81:[84, 88] Operation: 22+66=88
Exploring Operation: 84-22=62, Resulting Numbers: [66, 62]
Generated Node #0,3,3: 81:[66, 62] Operation: 84-22=62
Exploring Operation: 84-66=18, Resulting Numbers: [22, 18]
Generated Node #0,3,4: 81:[22, 18] Operation: 84-66=18
Moving to Node #0,3,0
Current State: 81:[84, 3], Operations: ['48+18=66', '66/22=3']
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,81 unequal: No Solution
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 84*3=252, Resulting Numbers: [252]
252,81 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[48, 18, 22, 84], Operations: []
Exploring Operation: 48+18=66, Resulting Numbers: [22, 84, 66]
Generated Node #0,3: 81:[22, 84, 66] Operation: 48+18=66
Moving to Node #0,3
Current State: 81:[22, 84, 66], Operations: ['48+18=66']
Exploring Operation: 66/22=3, Resulting Numbers: [84, 3]
Generated Node #0,3,0: 81:[84, 3] Operation: 66/22=3
Moving to Node #0,3,0
Current State: 81:[84, 3], Operations: ['48+18=66', '66/22=3']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.953993 | hs_5 | mult_heuristic |
[
23,
98,
63,
50
] | 38 | [
"98-23=75",
"63+50=113",
"113-75=38"
] | Current State: 38:[23, 98, 63, 50], Operations: []
Exploring Operation: 98-23=75, Resulting Numbers: [63, 50, 75]
Generated Node #2: [63, 50, 75] from Operation: 98-23=75
Current State: 38:[63, 50, 75], Operations: ['98-23=75']
Exploring Operation: 63+50=113, Resulting Numbers: [75, 113]
Generated Node #3: [75, 113] from Operation: 63+50=113
Current State: 38:[75, 113], Operations: ['98-23=75', '63+50=113']
Exploring Operation: 113-75=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[23, 98, 63, 50], Operations: []
Exploring Operation: 98-63=35, Resulting Numbers: [23, 50, 35]
Generated Node #0,0: 38:[23, 50, 35] Operation: 98-63=35
Exploring Operation: 63-50=13, Resulting Numbers: [23, 98, 13]
Generated Node #0,1: 38:[23, 98, 13] Operation: 63-50=13
Exploring Operation: 98-50=48, Resulting Numbers: [23, 63, 48]
Generated Node #0,2: 38:[23, 63, 48] Operation: 98-50=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[23, 50, 35], Operations: ['98-63=35']
Exploring Operation: 50-35=15, Resulting Numbers: [23, 15]
Generated Node #0,0,0: 38:[23, 15] Operation: 50-35=15
Exploring Operation: 35-23=12, Resulting Numbers: [50, 12]
Generated Node #0,0,1: 38:[50, 12] Operation: 35-23=12
Exploring Operation: 50-23=27, Resulting Numbers: [35, 27]
Generated Node #0,0,2: 38:[35, 27] Operation: 50-23=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[23, 15], Operations: ['98-63=35', '50-35=15']
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[23, 98, 63, 50], Operations: []
Exploring Operation: 98-63=35, Resulting Numbers: [23, 50, 35]
Generated Node #0,0: 38:[23, 50, 35] Operation: 98-63=35
Moving to Node #0,0
Current State: 38:[23, 50, 35], Operations: ['98-63=35']
Exploring Operation: 50-35=15, Resulting Numbers: [23, 15]
Generated Node #0,0,0: 38:[23, 15] Operation: 50-35=15
Moving to Node #0,0,0
Current State: 38:[23, 15], Operations: ['98-63=35', '50-35=15']
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
13,
77,
79,
52
] | 41 | [
"13+77=90",
"79+52=131",
"131-90=41"
] | Current State: 41:[13, 77, 79, 52], Operations: []
Exploring Operation: 13+77=90, Resulting Numbers: [79, 52, 90]
Generated Node #2: [79, 52, 90] from Operation: 13+77=90
Current State: 41:[79, 52, 90], Operations: ['13+77=90']
Exploring Operation: 79+52=131, Resulting Numbers: [90, 131]
Generated Node #3: [90, 131] from Operation: 79+52=131
Current State: 41:[90, 131], Operations: ['13+77=90', '79+52=131']
Exploring Operation: 131-90=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[13, 77, 79, 52], Operations: []
Exploring Operation: 77-13=64, Resulting Numbers: [79, 52, 64]
Generated Node #0,0: 41:[79, 52, 64] Operation: 77-13=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[79, 52, 64], Operations: ['77-13=64']
Exploring Operation: 79-52=27, Resulting Numbers: [64, 27]
Generated Node #0,0,0: 41:[64, 27] Operation: 79-52=27
Moving to Node #0,0,0
Current State: 41:[64, 27], Operations: ['77-13=64', '79-52=27']
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,41 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 |
[
98,
63,
5,
12
] | 77 | [
"12-5=7",
"98/7=14",
"63+14=77"
] | Current State: 77:[98, 63, 5, 12], Operations: []
Exploring Operation: 12-5=7, Resulting Numbers: [98, 63, 7]
Generated Node #2: [98, 63, 7] from Operation: 12-5=7
Current State: 77:[98, 63, 7], Operations: ['12-5=7']
Exploring Operation: 98/7=14, Resulting Numbers: [63, 14]
Generated Node #3: [63, 14] from Operation: 98/7=14
Current State: 77:[63, 14], Operations: ['12-5=7', '98/7=14']
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[98, 63, 5, 12], Operations: []
Exploring Operation: 98-12=86, Resulting Numbers: [63, 5, 86]
Generated Node #0,0: 77:[63, 5, 86] Operation: 98-12=86
Moving to Node #0,0
Current State: 77:[63, 5, 86], Operations: ['98-12=86']
Exploring Operation: 86-63=23, Resulting Numbers: [5, 23]
Generated Node #0,0,0: 77:[5, 23] Operation: 86-63=23
Moving to Node #0,0,0
Current State: 77:[5, 23], Operations: ['98-12=86', '86-63=23']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,77 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
39,
49,
26,
87
] | 27 | [
"39+49=88",
"87-26=61",
"88-61=27"
] | Current State: 27:[39, 49, 26, 87], Operations: []
Exploring Operation: 39+49=88, Resulting Numbers: [26, 87, 88]
Generated Node #2: [26, 87, 88] from Operation: 39+49=88
Current State: 27:[26, 87, 88], Operations: ['39+49=88']
Exploring Operation: 87-26=61, Resulting Numbers: [88, 61]
Generated Node #3: [88, 61] from Operation: 87-26=61
Current State: 27:[88, 61], Operations: ['39+49=88', '87-26=61']
Exploring Operation: 88-61=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[39, 49, 26, 87], Operations: []
Exploring Operation: 49-39=10, Resulting Numbers: [26, 87, 10]
Generated Node #0,0: 27:[26, 87, 10] Operation: 49-39=10
Exploring Operation: 87-39=48, Resulting Numbers: [49, 26, 48]
Generated Node #0,1: 27:[49, 26, 48] Operation: 87-39=48
Exploring Operation: 87-49=38, Resulting Numbers: [39, 26, 38]
Generated Node #0,2: 27:[39, 26, 38] Operation: 87-49=38
Exploring Operation: 49-26=23, Resulting Numbers: [39, 87, 23]
Generated Node #0,3: 27:[39, 87, 23] Operation: 49-26=23
Exploring Operation: 87-26=61, Resulting Numbers: [39, 49, 61]
Generated Node #0,4: 27:[39, 49, 61] Operation: 87-26=61
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[39, 26, 38], Operations: ['87-49=38']
Exploring Operation: 38-26=12, Resulting Numbers: [39, 12]
Generated Node #0,2,0: 27:[39, 12] Operation: 38-26=12
Exploring Operation: 39-26=13, Resulting Numbers: [38, 13]
Generated Node #0,2,1: 27:[38, 13] Operation: 39-26=13
Exploring Operation: 39-38=1, Resulting Numbers: [26, 1]
Generated Node #0,2,2: 27:[26, 1] Operation: 39-38=1
Exploring Operation: 26+38=64, Resulting Numbers: [39, 64]
Generated Node #0,2,3: 27:[39, 64] Operation: 26+38=64
Exploring Operation: 39+26=65, Resulting Numbers: [38, 65]
Generated Node #0,2,4: 27:[38, 65] Operation: 39+26=65
Moving to Node #0,2,2
Current State: 27:[26, 1], Operations: ['87-49=38', '39-38=1']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[39, 49, 26, 87], Operations: []
Exploring Operation: 87-49=38, Resulting Numbers: [39, 26, 38]
Generated Node #0,2: 27:[39, 26, 38] Operation: 87-49=38
Moving to Node #0,2
Current State: 27:[39, 26, 38], Operations: ['87-49=38']
Exploring Operation: 39-38=1, Resulting Numbers: [26, 1]
Generated Node #0,2,2: 27:[26, 1] Operation: 39-38=1
Moving to Node #0,2,2
Current State: 27:[26, 1], Operations: ['87-49=38', '39-38=1']
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
4,
82,
32,
33
] | 18 | [
"4*33=132",
"82+32=114",
"132-114=18"
] | Current State: 18:[4, 82, 32, 33], Operations: []
Exploring Operation: 4*33=132, Resulting Numbers: [82, 32, 132]
Generated Node #2: [82, 32, 132] from Operation: 4*33=132
Current State: 18:[82, 32, 132], Operations: ['4*33=132']
Exploring Operation: 82+32=114, Resulting Numbers: [132, 114]
Generated Node #3: [132, 114] from Operation: 82+32=114
Current State: 18:[132, 114], Operations: ['4*33=132', '82+32=114']
Exploring Operation: 132-114=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[4, 82, 32, 33], Operations: []
Exploring Operation: 82-33=49, Resulting Numbers: [4, 32, 49]
Generated Node #0,0: 18:[4, 32, 49] Operation: 82-33=49
Exploring Operation: 82-32=50, Resulting Numbers: [4, 33, 50]
Generated Node #0,1: 18:[4, 33, 50] Operation: 82-32=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[4, 32, 49], Operations: ['82-33=49']
Exploring Operation: 49-32=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 18:[4, 17] Operation: 49-32=17
Exploring Operation: 32/4=8, Resulting Numbers: [49, 8]
Generated Node #0,0,1: 18:[49, 8] Operation: 32/4=8
Moving to Node #0,0,0
Current State: 18:[4, 17], Operations: ['82-33=49', '49-32=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[49, 8], Operations: ['82-33=49', '32/4=8']
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[4, 33, 50], Operations: ['82-32=50']
Exploring Operation: 50-33=17, Resulting Numbers: [4, 17]
Generated Node #0,1,0: 18:[4, 17] Operation: 50-33=17
Exploring Operation: 33-4=29, Resulting Numbers: [50, 29]
Generated Node #0,1,1: 18:[50, 29] Operation: 33-4=29
Moving to Node #0,1,0
Current State: 18:[4, 17], Operations: ['82-32=50', '50-33=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[50, 29], Operations: ['82-32=50', '33-4=29']
Exploring Operation: 50+29=79, Resulting Numbers: [79]
79,18 unequal: No Solution
Exploring Operation: 50-29=21, Resulting Numbers: [21]
21,18 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 |
[
9,
81,
45,
75
] | 50 | [
"9+45=54",
"75*54=4050",
"4050/81=50"
] | Current State: 50:[9, 81, 45, 75], Operations: []
Exploring Operation: 9+45=54, Resulting Numbers: [81, 75, 54]
Generated Node #2: [81, 75, 54] from Operation: 9+45=54
Current State: 50:[81, 75, 54], Operations: ['9+45=54']
Exploring Operation: 75*54=4050, Resulting Numbers: [81, 4050]
Generated Node #3: [81, 4050] from Operation: 75*54=4050
Current State: 50:[81, 4050], Operations: ['9+45=54', '75*54=4050']
Exploring Operation: 4050/81=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[9, 81, 45, 75], Operations: []
Exploring Operation: 81-75=6, Resulting Numbers: [9, 45, 6]
Generated Node #0,0: 50:[9, 45, 6] Operation: 81-75=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[9, 45, 6], Operations: ['81-75=6']
Exploring Operation: 45/9=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 50:[6, 5] Operation: 45/9=5
Moving to Node #0,0,0
Current State: 50:[6, 5], Operations: ['81-75=6', '45/9=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,50 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 |
[
1,
27,
17,
42
] | 53 | [
"1+27=28",
"42-17=25",
"28+25=53"
] | Current State: 53:[1, 27, 17, 42], Operations: []
Exploring Operation: 1+27=28, Resulting Numbers: [17, 42, 28]
Generated Node #2: [17, 42, 28] from Operation: 1+27=28
Current State: 53:[17, 42, 28], Operations: ['1+27=28']
Exploring Operation: 42-17=25, Resulting Numbers: [28, 25]
Generated Node #3: [28, 25] from Operation: 42-17=25
Current State: 53:[28, 25], Operations: ['1+27=28', '42-17=25']
Exploring Operation: 28+25=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[1, 27, 17, 42], Operations: []
Exploring Operation: 1+42=43, Resulting Numbers: [27, 17, 43]
Generated Node #0,0: 53:[27, 17, 43] Operation: 1+42=43
Exploring Operation: 27+17=44, Resulting Numbers: [1, 42, 44]
Generated Node #0,1: 53:[1, 42, 44] Operation: 27+17=44
Exploring Operation: 1+17=18, Resulting Numbers: [27, 42, 18]
Generated Node #0,2: 53:[27, 42, 18] Operation: 1+17=18
Exploring Operation: 1+27=28, Resulting Numbers: [17, 42, 28]
Generated Node #0,3: 53:[17, 42, 28] Operation: 1+27=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[27, 17, 43], Operations: ['1+42=43']
Exploring Operation: 27-17=10, Resulting Numbers: [43, 10]
Generated Node #0,0,0: 53:[43, 10] Operation: 27-17=10
Exploring Operation: 17+43=60, Resulting Numbers: [27, 60]
Generated Node #0,0,1: 53:[27, 60] Operation: 17+43=60
Exploring Operation: 27+17=44, Resulting Numbers: [43, 44]
Generated Node #0,0,2: 53:[43, 44] Operation: 27+17=44
Exploring Operation: 27+43=70, Resulting Numbers: [17, 70]
Generated Node #0,0,3: 53:[17, 70] Operation: 27+43=70
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 53:[43, 44], Operations: ['1+42=43', '27+17=44']
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 43*44=1892, Resulting Numbers: [1892]
1892,53 unequal: No Solution
Exploring Operation: 43+44=87, Resulting Numbers: [87]
87,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,0,1
Current State: 53:[27, 60], Operations: ['1+42=43', '17+43=60']
Exploring Operation: 60-27=33, Resulting Numbers: [33]
33,53 unequal: No Solution
Exploring Operation: 27+60=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 27*60=1620, Resulting Numbers: [1620]
1620,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,0,0
Current State: 53:[43, 10], Operations: ['1+42=43', '27-17=10']
Exploring Operation: 43*10=430, Resulting Numbers: [430]
430,53 unequal: No Solution
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,53 unequal: No Solution
Exploring Operation: 43+10=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[1, 27, 17, 42], Operations: []
Exploring Operation: 1+42=43, Resulting Numbers: [27, 17, 43]
Generated Node #0,0: 53:[27, 17, 43] Operation: 1+42=43
Moving to Node #0,0
Current State: 53:[27, 17, 43], Operations: ['1+42=43']
Exploring Operation: 27-17=10, Resulting Numbers: [43, 10]
Generated Node #0,0,0: 53:[43, 10] Operation: 27-17=10
Moving to Node #0,0,0
Current State: 53:[43, 10], Operations: ['1+42=43', '27-17=10']
Exploring Operation: 43+10=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
93,
70,
10,
1
] | 85 | [
"93-1=92",
"70/10=7",
"92-7=85"
] | Current State: 85:[93, 70, 10, 1], Operations: []
Exploring Operation: 93-1=92, Resulting Numbers: [70, 10, 92]
Generated Node #2: [70, 10, 92] from Operation: 93-1=92
Current State: 85:[70, 10, 92], Operations: ['93-1=92']
Exploring Operation: 70/10=7, Resulting Numbers: [92, 7]
Generated Node #3: [92, 7] from Operation: 70/10=7
Current State: 85:[92, 7], Operations: ['93-1=92', '70/10=7']
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[93, 70, 10, 1], Operations: []
Exploring Operation: 93-1=92, Resulting Numbers: [70, 10, 92]
Generated Node #0,0: 85:[70, 10, 92] Operation: 93-1=92
Exploring Operation: 93-10=83, Resulting Numbers: [70, 1, 83]
Generated Node #0,1: 85:[70, 1, 83] Operation: 93-10=83
Exploring Operation: 70+10=80, Resulting Numbers: [93, 1, 80]
Generated Node #0,2: 85:[93, 1, 80] Operation: 70+10=80
Exploring Operation: 93-70=23, Resulting Numbers: [10, 1, 23]
Generated Node #0,3: 85:[10, 1, 23] Operation: 93-70=23
Exploring Operation: 70/10=7, Resulting Numbers: [93, 1, 7]
Generated Node #0,4: 85:[93, 1, 7] Operation: 70/10=7
Moving to Node #0,4
Current State: 85:[93, 1, 7], Operations: ['70/10=7']
Exploring Operation: 93*1=93, Resulting Numbers: [7, 93]
Generated Node #0,4,0: 85:[7, 93] Operation: 93*1=93
Exploring Operation: 7-1=6, Resulting Numbers: [93, 6]
Generated Node #0,4,1: 85:[93, 6] Operation: 7-1=6
Exploring Operation: 93-7=86, Resulting Numbers: [1, 86]
Generated Node #0,4,2: 85:[1, 86] Operation: 93-7=86
Exploring Operation: 93/1=93, Resulting Numbers: [7, 93]
Generated Node #0,4,3: 85:[7, 93] Operation: 93/1=93
Exploring Operation: 93-1=92, Resulting Numbers: [7, 92]
Generated Node #0,4,4: 85:[7, 92] Operation: 93-1=92
Moving to Node #0,3
Current State: 85:[10, 1, 23], Operations: ['93-70=23']
Exploring Operation: 23-1=22, Resulting Numbers: [10, 22]
Generated Node #0,3,0: 85:[10, 22] Operation: 23-1=22
Exploring Operation: 10/1=10, Resulting Numbers: [23, 10]
Generated Node #0,3,1: 85:[23, 10] Operation: 10/1=10
Exploring Operation: 10-1=9, Resulting Numbers: [23, 9]
Generated Node #0,3,2: 85:[23, 9] Operation: 10-1=9
Exploring Operation: 10*1=10, Resulting Numbers: [23, 10]
Generated Node #0,3,3: 85:[23, 10] Operation: 10*1=10
Exploring Operation: 23-10=13, Resulting Numbers: [1, 13]
Generated Node #0,3,4: 85:[1, 13] Operation: 23-10=13
Moving to Node #0,2
Current State: 85:[93, 1, 80], Operations: ['70+10=80']
Exploring Operation: 93*1=93, Resulting Numbers: [80, 93]
Generated Node #0,2,0: 85:[80, 93] Operation: 93*1=93
Exploring Operation: 93-1=92, Resulting Numbers: [80, 92]
Generated Node #0,2,1: 85:[80, 92] Operation: 93-1=92
Exploring Operation: 93/1=93, Resulting Numbers: [80, 93]
Generated Node #0,2,2: 85:[80, 93] Operation: 93/1=93
Exploring Operation: 1+80=81, Resulting Numbers: [93, 81]
Generated Node #0,2,3: 85:[93, 81] Operation: 1+80=81
Exploring Operation: 93-80=13, Resulting Numbers: [1, 13]
Generated Node #0,2,4: 85:[1, 13] Operation: 93-80=13
Moving to Node #0,1
Current State: 85:[70, 1, 83], Operations: ['93-10=83']
Exploring Operation: 83-70=13, Resulting Numbers: [1, 13]
Generated Node #0,1,0: 85:[1, 13] Operation: 83-70=13
Exploring Operation: 70/1=70, Resulting Numbers: [83, 70]
Generated Node #0,1,1: 85:[83, 70] Operation: 70/1=70
Exploring Operation: 70+1=71, Resulting Numbers: [83, 71]
Generated Node #0,1,2: 85:[83, 71] Operation: 70+1=71
Exploring Operation: 70*1=70, Resulting Numbers: [83, 70]
Generated Node #0,1,3: 85:[83, 70] Operation: 70*1=70
Exploring Operation: 1+83=84, Resulting Numbers: [70, 84]
Generated Node #0,1,4: 85:[70, 84] Operation: 1+83=84
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[1, 13], Operations: ['93-10=83', '83-70=13']
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,85 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[83, 71], Operations: ['93-10=83', '70+1=71']
Exploring Operation: 83-71=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 83*71=5893, Resulting Numbers: [5893]
5893,85 unequal: No Solution
Exploring Operation: 83+71=154, Resulting Numbers: [154]
154,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 85:[70, 84], Operations: ['93-10=83', '1+83=84']
Exploring Operation: 70*84=5880, Resulting Numbers: [5880]
5880,85 unequal: No Solution
Exploring Operation: 70+84=154, Resulting Numbers: [154]
154,85 unequal: No Solution
Exploring Operation: 84-70=14, Resulting Numbers: [14]
14,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[83, 70], Operations: ['93-10=83', '70/1=70']
Exploring Operation: 83+70=153, Resulting Numbers: [153]
153,85 unequal: No Solution
Exploring Operation: 83-70=13, Resulting Numbers: [13]
13,85 unequal: No Solution
Exploring Operation: 83*70=5810, Resulting Numbers: [5810]
5810,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 85:[83, 70], Operations: ['93-10=83', '70*1=70']
Exploring Operation: 83*70=5810, Resulting Numbers: [5810]
5810,85 unequal: No Solution
Exploring Operation: 83+70=153, Resulting Numbers: [153]
153,85 unequal: No Solution
Exploring Operation: 83-70=13, Resulting Numbers: [13]
13,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 85:[70, 10, 92], Operations: ['93-1=92']
Exploring Operation: 70/10=7, Resulting Numbers: [92, 7]
Generated Node #0,0,0: 85:[92, 7] Operation: 70/10=7
Exploring Operation: 92-10=82, Resulting Numbers: [70, 82]
Generated Node #0,0,1: 85:[70, 82] Operation: 92-10=82
Exploring Operation: 92-70=22, Resulting Numbers: [10, 22]
Generated Node #0,0,2: 85:[10, 22] Operation: 92-70=22
Exploring Operation: 70-10=60, Resulting Numbers: [92, 60]
Generated Node #0,0,3: 85:[92, 60] Operation: 70-10=60
Exploring Operation: 70+10=80, Resulting Numbers: [92, 80]
Generated Node #0,0,4: 85:[92, 80] Operation: 70+10=80
Moving to Node #0,4,2
Current State: 85:[1, 86], Operations: ['70/10=7', '93-7=86']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[93, 70, 10, 1], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [93, 1, 7]
Generated Node #0,4: 85:[93, 1, 7] Operation: 70/10=7
Moving to Node #0,4
Current State: 85:[93, 1, 7], Operations: ['70/10=7']
Exploring Operation: 93-7=86, Resulting Numbers: [1, 86]
Generated Node #0,4,2: 85:[1, 86] Operation: 93-7=86
Moving to Node #0,4,2
Current State: 85:[1, 86], Operations: ['70/10=7', '93-7=86']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.955729 | hs_5 | mult_heuristic |
[
20,
25,
14,
86
] | 95 | [
"25-20=5",
"14+86=100",
"100-5=95"
] | Current State: 95:[20, 25, 14, 86], Operations: []
Exploring Operation: 25-20=5, Resulting Numbers: [14, 86, 5]
Generated Node #2: [14, 86, 5] from Operation: 25-20=5
Current State: 95:[14, 86, 5], Operations: ['25-20=5']
Exploring Operation: 14+86=100, Resulting Numbers: [5, 100]
Generated Node #3: [5, 100] from Operation: 14+86=100
Current State: 95:[5, 100], Operations: ['25-20=5', '14+86=100']
Exploring Operation: 100-5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[20, 25, 14, 86], Operations: []
Exploring Operation: 14+86=100, Resulting Numbers: [20, 25, 100]
Generated Node #0,0: 95:[20, 25, 100] Operation: 14+86=100
Exploring Operation: 25-20=5, Resulting Numbers: [14, 86, 5]
Generated Node #0,1: 95:[14, 86, 5] Operation: 25-20=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[20, 25, 100], Operations: ['14+86=100']
Exploring Operation: 25-20=5, Resulting Numbers: [100, 5]
Generated Node #0,0,0: 95:[100, 5] Operation: 25-20=5
Exploring Operation: 100/25=4, Resulting Numbers: [20, 4]
Generated Node #0,0,1: 95:[20, 4] Operation: 100/25=4
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[20, 4], Operations: ['14+86=100', '100/25=4']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[100, 5], Operations: ['14+86=100', '25-20=5']
Exploring Operation: 100-5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[20, 25, 14, 86], Operations: []
Exploring Operation: 14+86=100, Resulting Numbers: [20, 25, 100]
Generated Node #0,0: 95:[20, 25, 100] Operation: 14+86=100
Moving to Node #0,0
Current State: 95:[20, 25, 100], Operations: ['14+86=100']
Exploring Operation: 25-20=5, Resulting Numbers: [100, 5]
Generated Node #0,0,0: 95:[100, 5] Operation: 25-20=5
Moving to Node #0,0,0
Current State: 95:[100, 5], Operations: ['14+86=100', '25-20=5']
Exploring Operation: 100-5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
6,
36,
10,
51
] | 45 | [
"6*10=60",
"51-36=15",
"60-15=45"
] | Current State: 45:[6, 36, 10, 51], Operations: []
Exploring Operation: 6*10=60, Resulting Numbers: [36, 51, 60]
Generated Node #2: [36, 51, 60] from Operation: 6*10=60
Current State: 45:[36, 51, 60], Operations: ['6*10=60']
Exploring Operation: 51-36=15, Resulting Numbers: [60, 15]
Generated Node #3: [60, 15] from Operation: 51-36=15
Current State: 45:[60, 15], Operations: ['6*10=60', '51-36=15']
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[6, 36, 10, 51], Operations: []
Exploring Operation: 36/6=6, Resulting Numbers: [10, 51, 6]
Generated Node #0,0: 45:[10, 51, 6] Operation: 36/6=6
Exploring Operation: 36+10=46, Resulting Numbers: [6, 51, 46]
Generated Node #0,1: 45:[6, 51, 46] Operation: 36+10=46
Exploring Operation: 51-36=15, Resulting Numbers: [6, 10, 15]
Generated Node #0,2: 45:[6, 10, 15] Operation: 51-36=15
Exploring Operation: 51-6=45, Resulting Numbers: [36, 10, 45]
Generated Node #0,3: 45:[36, 10, 45] Operation: 51-6=45
Exploring Operation: 6+36=42, Resulting Numbers: [10, 51, 42]
Generated Node #0,4: 45:[10, 51, 42] Operation: 6+36=42
Moving to Node #0,2
Current State: 45:[6, 10, 15], Operations: ['51-36=15']
Exploring Operation: 15-10=5, Resulting Numbers: [6, 5]
Generated Node #0,2,0: 45:[6, 5] Operation: 15-10=5
Exploring Operation: 15-6=9, Resulting Numbers: [10, 9]
Generated Node #0,2,1: 45:[10, 9] Operation: 15-6=9
Exploring Operation: 6+10=16, Resulting Numbers: [15, 16]
Generated Node #0,2,2: 45:[15, 16] Operation: 6+10=16
Exploring Operation: 6+15=21, Resulting Numbers: [10, 21]
Generated Node #0,2,3: 45:[10, 21] Operation: 6+15=21
Exploring Operation: 10-6=4, Resulting Numbers: [15, 4]
Generated Node #0,2,4: 45:[15, 4] Operation: 10-6=4
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 45:[6, 5], Operations: ['51-36=15', '15-10=5']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 45:[10, 9], Operations: ['51-36=15', '15-6=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,45 unequal: No Solution
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,45 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 45:[15, 16], Operations: ['51-36=15', '6+10=16']
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,45 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 45:[15, 4], Operations: ['51-36=15', '10-6=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,45 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,45 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 45:[10, 21], Operations: ['51-36=15', '6+15=21']
Exploring Operation: 10*21=210, Resulting Numbers: [210]
210,45 unequal: No Solution
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,45 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: 45:[6, 51, 46], Operations: ['36+10=46']
Exploring Operation: 46-6=40, Resulting Numbers: [51, 40]
Generated Node #0,1,0: 45:[51, 40] Operation: 46-6=40
Exploring Operation: 51-46=5, Resulting Numbers: [6, 5]
Generated Node #0,1,1: 45:[6, 5] Operation: 51-46=5
Exploring Operation: 6+51=57, Resulting Numbers: [46, 57]
Generated Node #0,1,2: 45:[46, 57] Operation: 6+51=57
Exploring Operation: 6+46=52, Resulting Numbers: [51, 52]
Generated Node #0,1,3: 45:[51, 52] Operation: 6+46=52
Exploring Operation: 51-6=45, Resulting Numbers: [46, 45]
Generated Node #0,1,4: 45:[46, 45] Operation: 51-6=45
Moving to Node #0,0
Current State: 45:[10, 51, 6], Operations: ['36/6=6']
Exploring Operation: 51+6=57, Resulting Numbers: [10, 57]
Generated Node #0,0,0: 45:[10, 57] Operation: 51+6=57
Exploring Operation: 51-10=41, Resulting Numbers: [6, 41]
Generated Node #0,0,1: 45:[6, 41] Operation: 51-10=41
Exploring Operation: 10-6=4, Resulting Numbers: [51, 4]
Generated Node #0,0,2: 45:[51, 4] Operation: 10-6=4
Exploring Operation: 51-6=45, Resulting Numbers: [10, 45]
Generated Node #0,0,3: 45:[10, 45] Operation: 51-6=45
Exploring Operation: 10+6=16, Resulting Numbers: [51, 16]
Generated Node #0,0,4: 45:[51, 16] Operation: 10+6=16
Moving to Node #0,3
Current State: 45:[36, 10, 45], Operations: ['51-6=45']
Exploring Operation: 36+10=46, Resulting Numbers: [45, 46]
Generated Node #0,3,0: 45:[45, 46] Operation: 36+10=46
Exploring Operation: 45-10=35, Resulting Numbers: [36, 35]
Generated Node #0,3,1: 45:[36, 35] Operation: 45-10=35
Exploring Operation: 10+45=55, Resulting Numbers: [36, 55]
Generated Node #0,3,2: 45:[36, 55] Operation: 10+45=55
Exploring Operation: 45-36=9, Resulting Numbers: [10, 9]
Generated Node #0,3,3: 45:[10, 9] Operation: 45-36=9
Exploring Operation: 36-10=26, Resulting Numbers: [45, 26]
Generated Node #0,3,4: 45:[45, 26] Operation: 36-10=26
Moving to Node #0,4
Current State: 45:[10, 51, 42], Operations: ['6+36=42']
Exploring Operation: 10+51=61, Resulting Numbers: [42, 61]
Generated Node #0,4,0: 45:[42, 61] Operation: 10+51=61
Exploring Operation: 51-42=9, Resulting Numbers: [10, 9]
Generated Node #0,4,1: 45:[10, 9] Operation: 51-42=9
Exploring Operation: 51-10=41, Resulting Numbers: [42, 41]
Generated Node #0,4,2: 45:[42, 41] Operation: 51-10=41
Exploring Operation: 10+42=52, Resulting Numbers: [51, 52]
Generated Node #0,4,3: 45:[51, 52] Operation: 10+42=52
Exploring Operation: 42-10=32, Resulting Numbers: [51, 32]
Generated Node #0,4,4: 45:[51, 32] Operation: 42-10=32
Moving to Node #0,1,1
Current State: 45:[6, 5], Operations: ['36+10=46', '51-46=5']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Moving to Node #0,0,3
Current State: 45:[10, 45], Operations: ['36/6=6', '51-6=45']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,45 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,45 unequal: No Solution
Moving to Node #0,3,3
Current State: 45:[10, 9], Operations: ['51-6=45', '45-36=9']
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,45 unequal: No Solution
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,45 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Moving to Node #0,1,4
Current State: 45:[46, 45], Operations: ['36+10=46', '51-6=45']
Exploring Operation: 46*45=2070, Resulting Numbers: [2070]
2070,45 unequal: No Solution
Exploring Operation: 46+45=91, Resulting Numbers: [91]
91,45 unequal: No Solution
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Moving to Node #0,3,0
Current State: 45:[45, 46], Operations: ['51-6=45', '36+10=46']
Exploring Operation: 45*46=2070, Resulting Numbers: [2070]
2070,45 unequal: No Solution
Exploring Operation: 45+46=91, Resulting Numbers: [91]
91,45 unequal: No Solution
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Moving to Node #0,4,1
Current State: 45:[10, 9], Operations: ['6+36=42', '51-42=9']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,45 unequal: No Solution
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[6, 41], Operations: ['36/6=6', '51-10=41']
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,45 unequal: No Solution
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,45 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Moving to Node #0,0,4
Current State: 45:[51, 16], Operations: ['36/6=6', '10+6=16']
Exploring Operation: 51*16=816, Resulting Numbers: [816]
816,45 unequal: No Solution
Exploring Operation: 51+16=67, Resulting Numbers: [67]
67,45 unequal: No Solution
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Moving to Node #0,4,2
Current State: 45:[42, 41], Operations: ['6+36=42', '51-10=41']
Exploring Operation: 42*41=1722, Resulting Numbers: [1722]
1722,45 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 42+41=83, Resulting Numbers: [83]
83,45 unequal: No Solution
Moving to Node #0,0,2
Current State: 45:[51, 4], Operations: ['36/6=6', '10-6=4']
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,45 unequal: No Solution
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,45 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,45 unequal: No Solution
Moving to Node #0,3,4
Current State: 45:[45, 26], Operations: ['51-6=45', '36-10=26']
Exploring Operation: 45*26=1170, Resulting Numbers: [1170]
1170,45 unequal: No Solution
Exploring Operation: 45+26=71, Resulting Numbers: [71]
71,45 unequal: No Solution
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[51, 40], Operations: ['36+10=46', '46-6=40']
Exploring Operation: 51+40=91, Resulting Numbers: [91]
91,45 unequal: No Solution
Exploring Operation: 51*40=2040, Resulting Numbers: [2040]
2040,45 unequal: No Solution
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[10, 57], Operations: ['36/6=6', '51+6=57']
Exploring Operation: 10*57=570, Resulting Numbers: [570]
570,45 unequal: No Solution
Exploring Operation: 57-10=47, Resulting Numbers: [47]
47,45 unequal: No Solution
Exploring Operation: 10+57=67, Resulting Numbers: [67]
67,45 unequal: No Solution
Moving to Node #0,1,3
Current State: 45:[51, 52], Operations: ['36+10=46', '6+46=52']
Exploring Operation: 51*52=2652, Resulting Numbers: [2652]
2652,45 unequal: No Solution
Exploring Operation: 51+52=103, Resulting Numbers: [103]
103,45 unequal: No Solution
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Moving to Node #0,4,3
Current State: 45:[51, 52], Operations: ['6+36=42', '10+42=52']
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 51*52=2652, Resulting Numbers: [2652]
2652,45 unequal: No Solution
Exploring Operation: 51+52=103, Resulting Numbers: [103]
103,45 unequal: No Solution
Moving to Node #0,1,2
Current State: 45:[46, 57], Operations: ['36+10=46', '6+51=57']
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 46+57=103, Resulting Numbers: [103]
103,45 unequal: No Solution
Exploring Operation: 46*57=2622, Resulting Numbers: [2622]
2622,45 unequal: No Solution
Moving to Node #0,3,2
Current State: 45:[36, 55], Operations: ['51-6=45', '10+45=55']
Exploring Operation: 36+55=91, Resulting Numbers: [91]
91,45 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,45 unequal: No Solution
Exploring Operation: 36*55=1980, Resulting Numbers: [1980]
1980,45 unequal: No Solution
Moving to Node #0,4,0
Current State: 45:[42, 61], Operations: ['6+36=42', '10+51=61']
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,45 unequal: No Solution
Exploring Operation: 42*61=2562, Resulting Numbers: [2562]
2562,45 unequal: No Solution
Exploring Operation: 42+61=103, Resulting Numbers: [103]
103,45 unequal: No Solution
Moving to Node #0,3,1
Current State: 45:[36, 35], Operations: ['51-6=45', '45-10=35']
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 36*35=1260, Resulting Numbers: [1260]
1260,45 unequal: No Solution
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,45 unequal: No Solution
Moving to Node #0,4,4
Current State: 45:[51, 32], Operations: ['6+36=42', '42-10=32']
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,45 unequal: No Solution
Exploring Operation: 51*32=1632, Resulting Numbers: [1632]
1632,45 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,45 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
20,
5,
26,
2
] | 13 | [
"20-5=15",
"26+2=28",
"28-15=13"
] | Current State: 13:[20, 5, 26, 2], Operations: []
Exploring Operation: 20-5=15, Resulting Numbers: [26, 2, 15]
Generated Node #2: [26, 2, 15] from Operation: 20-5=15
Current State: 13:[26, 2, 15], Operations: ['20-5=15']
Exploring Operation: 26+2=28, Resulting Numbers: [15, 28]
Generated Node #3: [15, 28] from Operation: 26+2=28
Current State: 13:[15, 28], Operations: ['20-5=15', '26+2=28']
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[20, 5, 26, 2], Operations: []
Exploring Operation: 5*2=10, Resulting Numbers: [20, 26, 10]
Generated Node #0,0: 13:[20, 26, 10] Operation: 5*2=10
Exploring Operation: 26/2=13, Resulting Numbers: [20, 5, 13]
Generated Node #0,1: 13:[20, 5, 13] Operation: 26/2=13
Exploring Operation: 20-5=15, Resulting Numbers: [26, 2, 15]
Generated Node #0,2: 13:[26, 2, 15] Operation: 20-5=15
Exploring Operation: 20/2=10, Resulting Numbers: [5, 26, 10]
Generated Node #0,3: 13:[5, 26, 10] Operation: 20/2=10
Moving to Node #0,1
Current State: 13:[20, 5, 13], Operations: ['26/2=13']
Exploring Operation: 20-5=15, Resulting Numbers: [13, 15]
Generated Node #0,1,0: 13:[13, 15] Operation: 20-5=15
Exploring Operation: 20+5=25, Resulting Numbers: [13, 25]
Generated Node #0,1,1: 13:[13, 25] Operation: 20+5=25
Exploring Operation: 20/5=4, Resulting Numbers: [13, 4]
Generated Node #0,1,2: 13:[13, 4] Operation: 20/5=4
Exploring Operation: 5+13=18, Resulting Numbers: [20, 18]
Generated Node #0,1,3: 13:[20, 18] Operation: 5+13=18
Moving to Node #0,0
Current State: 13:[20, 26, 10], Operations: ['5*2=10']
Exploring Operation: 26-20=6, Resulting Numbers: [10, 6]
Generated Node #0,0,0: 13:[10, 6] Operation: 26-20=6
Exploring Operation: 20/10=2, Resulting Numbers: [26, 2]
Generated Node #0,0,1: 13:[26, 2] Operation: 20/10=2
Exploring Operation: 26-10=16, Resulting Numbers: [20, 16]
Generated Node #0,0,2: 13:[20, 16] Operation: 26-10=16
Exploring Operation: 20-10=10, Resulting Numbers: [26, 10]
Generated Node #0,0,3: 13:[26, 10] Operation: 20-10=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[10, 6], Operations: ['5*2=10', '26-20=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,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,2
Current State: 13:[20, 16], Operations: ['5*2=10', '26-10=16']
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,13 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,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,3
Current State: 13:[26, 10], Operations: ['5*2=10', '20-10=10']
Exploring Operation: 26*10=260, Resulting Numbers: [260]
260,13 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,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,1
Current State: 13:[26, 2], Operations: ['5*2=10', '20/10=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[20, 5, 26, 2], Operations: []
Exploring Operation: 5*2=10, Resulting Numbers: [20, 26, 10]
Generated Node #0,0: 13:[20, 26, 10] Operation: 5*2=10
Moving to Node #0,0
Current State: 13:[20, 26, 10], Operations: ['5*2=10']
Exploring Operation: 20/10=2, Resulting Numbers: [26, 2]
Generated Node #0,0,1: 13:[26, 2] Operation: 20/10=2
Moving to Node #0,0,1
Current State: 13:[26, 2], Operations: ['5*2=10', '20/10=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
4,
93,
3,
13
] | 80 | [
"4-3=1",
"93-13=80",
"1*80=80"
] | Current State: 80:[4, 93, 3, 13], Operations: []
Exploring Operation: 4-3=1, Resulting Numbers: [93, 13, 1]
Generated Node #2: [93, 13, 1] from Operation: 4-3=1
Current State: 80:[93, 13, 1], Operations: ['4-3=1']
Exploring Operation: 93-13=80, Resulting Numbers: [1, 80]
Generated Node #3: [1, 80] from Operation: 93-13=80
Current State: 80:[1, 80], Operations: ['4-3=1', '93-13=80']
Exploring Operation: 1*80=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[4, 93, 3, 13], Operations: []
Exploring Operation: 3+13=16, Resulting Numbers: [4, 93, 16]
Generated Node #0,0: 80:[4, 93, 16] Operation: 3+13=16
Exploring Operation: 93-13=80, Resulting Numbers: [4, 3, 80]
Generated Node #0,1: 80:[4, 3, 80] Operation: 93-13=80
Exploring Operation: 93-4=89, Resulting Numbers: [3, 13, 89]
Generated Node #0,2: 80:[3, 13, 89] Operation: 93-4=89
Exploring Operation: 93/3=31, Resulting Numbers: [4, 13, 31]
Generated Node #0,3: 80:[4, 13, 31] Operation: 93/3=31
Exploring Operation: 93-3=90, Resulting Numbers: [4, 13, 90]
Generated Node #0,4: 80:[4, 13, 90] Operation: 93-3=90
Moving to Node #0,1
Current State: 80:[4, 3, 80], Operations: ['93-13=80']
Exploring Operation: 3+80=83, Resulting Numbers: [4, 83]
Generated Node #0,1,0: 80:[4, 83] Operation: 3+80=83
Exploring Operation: 80/4=20, Resulting Numbers: [3, 20]
Generated Node #0,1,1: 80:[3, 20] Operation: 80/4=20
Exploring Operation: 4+3=7, Resulting Numbers: [80, 7]
Generated Node #0,1,2: 80:[80, 7] Operation: 4+3=7
Exploring Operation: 4-3=1, Resulting Numbers: [80, 1]
Generated Node #0,1,3: 80:[80, 1] Operation: 4-3=1
Exploring Operation: 4*3=12, Resulting Numbers: [80, 12]
Generated Node #0,1,4: 80:[80, 12] Operation: 4*3=12
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[3, 20], Operations: ['93-13=80', '80/4=20']
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,80 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 80:[80, 7], Operations: ['93-13=80', '4+3=7']
Exploring Operation: 80*7=560, Resulting Numbers: [560]
560,80 unequal: No Solution
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,80 unequal: No Solution
Exploring Operation: 80+7=87, Resulting Numbers: [87]
87,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 80:[80, 1], Operations: ['93-13=80', '4-3=1']
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[4, 93, 3, 13], Operations: []
Exploring Operation: 93-13=80, Resulting Numbers: [4, 3, 80]
Generated Node #0,1: 80:[4, 3, 80] Operation: 93-13=80
Moving to Node #0,1
Current State: 80:[4, 3, 80], Operations: ['93-13=80']
Exploring Operation: 4-3=1, Resulting Numbers: [80, 1]
Generated Node #0,1,3: 80:[80, 1] Operation: 4-3=1
Moving to Node #0,1,3
Current State: 80:[80, 1], Operations: ['93-13=80', '4-3=1']
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
74,
14,
89,
43
] | 42 | [
"74+14=88",
"89-43=46",
"88-46=42"
] | Current State: 42:[74, 14, 89, 43], Operations: []
Exploring Operation: 74+14=88, Resulting Numbers: [89, 43, 88]
Generated Node #2: [89, 43, 88] from Operation: 74+14=88
Current State: 42:[89, 43, 88], Operations: ['74+14=88']
Exploring Operation: 89-43=46, Resulting Numbers: [88, 46]
Generated Node #3: [88, 46] from Operation: 89-43=46
Current State: 42:[88, 46], Operations: ['74+14=88', '89-43=46']
Exploring Operation: 88-46=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[74, 14, 89, 43], Operations: []
Exploring Operation: 89-74=15, Resulting Numbers: [14, 43, 15]
Generated Node #0,0: 42:[14, 43, 15] Operation: 89-74=15
Exploring Operation: 74-43=31, Resulting Numbers: [14, 89, 31]
Generated Node #0,1: 42:[14, 89, 31] Operation: 74-43=31
Exploring Operation: 89-14=75, Resulting Numbers: [74, 43, 75]
Generated Node #0,2: 42:[74, 43, 75] Operation: 89-14=75
Exploring Operation: 74-14=60, Resulting Numbers: [89, 43, 60]
Generated Node #0,3: 42:[89, 43, 60] Operation: 74-14=60
Exploring Operation: 89-43=46, Resulting Numbers: [74, 14, 46]
Generated Node #0,4: 42:[74, 14, 46] Operation: 89-43=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[14, 43, 15], Operations: ['89-74=15']
Exploring Operation: 14+15=29, Resulting Numbers: [43, 29]
Generated Node #0,0,0: 42:[43, 29] Operation: 14+15=29
Exploring Operation: 14+43=57, Resulting Numbers: [15, 57]
Generated Node #0,0,1: 42:[15, 57] Operation: 14+43=57
Exploring Operation: 43-15=28, Resulting Numbers: [14, 28]
Generated Node #0,0,2: 42:[14, 28] Operation: 43-15=28
Exploring Operation: 15-14=1, Resulting Numbers: [43, 1]
Generated Node #0,0,3: 42:[43, 1] Operation: 15-14=1
Exploring Operation: 43-14=29, Resulting Numbers: [15, 29]
Generated Node #0,0,4: 42:[15, 29] Operation: 43-14=29
Moving to Node #0,0,3
Current State: 42:[43, 1], Operations: ['89-74=15', '15-14=1']
Exploring Operation: 43+1=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[74, 14, 89, 43], Operations: []
Exploring Operation: 89-74=15, Resulting Numbers: [14, 43, 15]
Generated Node #0,0: 42:[14, 43, 15] Operation: 89-74=15
Moving to Node #0,0
Current State: 42:[14, 43, 15], Operations: ['89-74=15']
Exploring Operation: 15-14=1, Resulting Numbers: [43, 1]
Generated Node #0,0,3: 42:[43, 1] Operation: 15-14=1
Moving to Node #0,0,3
Current State: 42:[43, 1], Operations: ['89-74=15', '15-14=1']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
32,
55,
12,
88
] | 88 | [
"88-55=33",
"32*33=1056",
"1056/12=88"
] | Current State: 88:[32, 55, 12, 88], Operations: []
Exploring Operation: 88-55=33, Resulting Numbers: [32, 12, 33]
Generated Node #2: [32, 12, 33] from Operation: 88-55=33
Current State: 88:[32, 12, 33], Operations: ['88-55=33']
Exploring Operation: 32*33=1056, Resulting Numbers: [12, 1056]
Generated Node #3: [12, 1056] from Operation: 32*33=1056
Current State: 88:[12, 1056], Operations: ['88-55=33', '32*33=1056']
Exploring Operation: 1056/12=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[32, 55, 12, 88], Operations: []
Exploring Operation: 32+55=87, Resulting Numbers: [12, 88, 87]
Generated Node #0,0: 88:[12, 88, 87] Operation: 32+55=87
Moving to Node #0,0
Current State: 88:[12, 88, 87], Operations: ['32+55=87']
Exploring Operation: 88-87=1, Resulting Numbers: [12, 1]
Generated Node #0,0,0: 88:[12, 1] Operation: 88-87=1
Moving to Node #0,0,0
Current State: 88:[12, 1], Operations: ['32+55=87', '88-87=1']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,88 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
4,
25,
49,
96
] | 76 | [
"4+25=29",
"96-49=47",
"29+47=76"
] | Current State: 76:[4, 25, 49, 96], Operations: []
Exploring Operation: 4+25=29, Resulting Numbers: [49, 96, 29]
Generated Node #2: [49, 96, 29] from Operation: 4+25=29
Current State: 76:[49, 96, 29], Operations: ['4+25=29']
Exploring Operation: 96-49=47, Resulting Numbers: [29, 47]
Generated Node #3: [29, 47] from Operation: 96-49=47
Current State: 76:[29, 47], Operations: ['4+25=29', '96-49=47']
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[4, 25, 49, 96], Operations: []
Exploring Operation: 96-25=71, Resulting Numbers: [4, 49, 71]
Generated Node #0,0: 76:[4, 49, 71] Operation: 96-25=71
Exploring Operation: 96/4=24, Resulting Numbers: [25, 49, 24]
Generated Node #0,1: 76:[25, 49, 24] Operation: 96/4=24
Exploring Operation: 96-49=47, Resulting Numbers: [4, 25, 47]
Generated Node #0,2: 76:[4, 25, 47] Operation: 96-49=47
Exploring Operation: 25+49=74, Resulting Numbers: [4, 96, 74]
Generated Node #0,3: 76:[4, 96, 74] Operation: 25+49=74
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[4, 25, 47], Operations: ['96-49=47']
Exploring Operation: 25+47=72, Resulting Numbers: [4, 72]
Generated Node #0,2,0: 76:[4, 72] Operation: 25+47=72
Exploring Operation: 47-25=22, Resulting Numbers: [4, 22]
Generated Node #0,2,1: 76:[4, 22] Operation: 47-25=22
Exploring Operation: 47-4=43, Resulting Numbers: [25, 43]
Generated Node #0,2,2: 76:[25, 43] Operation: 47-4=43
Exploring Operation: 25-4=21, Resulting Numbers: [47, 21]
Generated Node #0,2,3: 76:[47, 21] Operation: 25-4=21
Moving to Node #0,2,1
Current State: 76:[4, 22], Operations: ['96-49=47', '47-25=22']
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,76 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Moving to Node #0,2,0
Current State: 76:[4, 72], Operations: ['96-49=47', '25+47=72']
Exploring Operation: 4+72=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[4, 25, 49, 96], Operations: []
Exploring Operation: 96-49=47, Resulting Numbers: [4, 25, 47]
Generated Node #0,2: 76:[4, 25, 47] Operation: 96-49=47
Moving to Node #0,2
Current State: 76:[4, 25, 47], Operations: ['96-49=47']
Exploring Operation: 25+47=72, Resulting Numbers: [4, 72]
Generated Node #0,2,0: 76:[4, 72] Operation: 25+47=72
Moving to Node #0,2,0
Current State: 76:[4, 72], Operations: ['96-49=47', '25+47=72']
Exploring Operation: 4+72=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
98,
8,
90,
92
] | 82 | [
"92-90=2",
"8*2=16",
"98-16=82"
] | Current State: 82:[98, 8, 90, 92], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [98, 8, 2]
Generated Node #2: [98, 8, 2] from Operation: 92-90=2
Current State: 82:[98, 8, 2], Operations: ['92-90=2']
Exploring Operation: 8*2=16, Resulting Numbers: [98, 16]
Generated Node #3: [98, 16] from Operation: 8*2=16
Current State: 82:[98, 16], Operations: ['92-90=2', '8*2=16']
Exploring Operation: 98-16=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[98, 8, 90, 92], Operations: []
Exploring Operation: 98-90=8, Resulting Numbers: [8, 92, 8]
Generated Node #0,0: 82:[8, 92, 8] Operation: 98-90=8
Exploring Operation: 98-8=90, Resulting Numbers: [90, 92, 90]
Generated Node #0,1: 82:[90, 92, 90] Operation: 98-8=90
Exploring Operation: 92-90=2, Resulting Numbers: [98, 8, 2]
Generated Node #0,2: 82:[98, 8, 2] Operation: 92-90=2
Exploring Operation: 98-92=6, Resulting Numbers: [8, 90, 6]
Generated Node #0,3: 82:[8, 90, 6] Operation: 98-92=6
Exploring Operation: 90-8=82, Resulting Numbers: [98, 92, 82]
Generated Node #0,4: 82:[98, 92, 82] Operation: 90-8=82
Start Sub Search at level 1: Moving to Node #0,3
Current State: 82:[8, 90, 6], Operations: ['98-92=6']
Exploring Operation: 90-8=82, Resulting Numbers: [6, 82]
Generated Node #0,3,0: 82:[6, 82] Operation: 90-8=82
Exploring Operation: 90/6=15, Resulting Numbers: [8, 15]
Generated Node #0,3,1: 82:[8, 15] Operation: 90/6=15
Exploring Operation: 90-6=84, Resulting Numbers: [8, 84]
Generated Node #0,3,2: 82:[8, 84] Operation: 90-6=84
Exploring Operation: 8-6=2, Resulting Numbers: [90, 2]
Generated Node #0,3,3: 82:[90, 2] Operation: 8-6=2
Exploring Operation: 8*6=48, Resulting Numbers: [90, 48]
Generated Node #0,3,4: 82:[90, 48] Operation: 8*6=48
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 82:[6, 82], Operations: ['98-92=6', '90-8=82']
Exploring Operation: 6+82=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,82 unequal: No Solution
Exploring Operation: 6*82=492, Resulting Numbers: [492]
492,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 82:[8, 84], Operations: ['98-92=6', '90-6=84']
Exploring Operation: 8+84=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,82 unequal: No Solution
Exploring Operation: 8*84=672, Resulting Numbers: [672]
672,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 82:[90, 2], Operations: ['98-92=6', '8-6=2']
Exploring Operation: 90*2=180, Resulting Numbers: [180]
180,82 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 82:[90, 48], Operations: ['98-92=6', '8*6=48']
Exploring Operation: 90+48=138, Resulting Numbers: [138]
138,82 unequal: No Solution
Exploring Operation: 90-48=42, Resulting Numbers: [42]
42,82 unequal: No Solution
Exploring Operation: 90*48=4320, Resulting Numbers: [4320]
4320,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 82:[8, 15], Operations: ['98-92=6', '90/6=15']
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,82 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,82 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[8, 92, 8], Operations: ['98-90=8']
Exploring Operation: 8-8=0, Resulting Numbers: [92, 0]
Generated Node #0,0,0: 82:[92, 0] Operation: 8-8=0
Exploring Operation: 92-8=84, Resulting Numbers: [8, 84]
Generated Node #0,0,1: 82:[8, 84] Operation: 92-8=84
Exploring Operation: 92-8=84, Resulting Numbers: [8, 84]
Generated Node #0,0,2: 82:[8, 84] Operation: 92-8=84
Exploring Operation: 8/8=1, Resulting Numbers: [92, 1]
Generated Node #0,0,3: 82:[92, 1] Operation: 8/8=1
Exploring Operation: 8+92=100, Resulting Numbers: [8, 100]
Generated Node #0,0,4: 82:[8, 100] Operation: 8+92=100
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[8, 84], Operations: ['98-90=8', '92-8=84']
Exploring Operation: 8+84=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Exploring Operation: 8*84=672, Resulting Numbers: [672]
672,82 unequal: No Solution
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[8, 84], Operations: ['98-90=8', '92-8=84']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,82 unequal: No Solution
Exploring Operation: 8*84=672, Resulting Numbers: [672]
672,82 unequal: No Solution
Exploring Operation: 8+84=92, Resulting Numbers: [92]
92,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 82:[92, 1], Operations: ['98-90=8', '8/8=1']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,82 unequal: No Solution
Exploring Operation: 92*1=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,82 unequal: No Solution
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[92, 0], Operations: ['98-90=8', '8-8=0']
Exploring Operation: 92-0=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Exploring Operation: 92+0=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Exploring Operation: 92*0=0, Resulting Numbers: [0]
0,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 82:[8, 100], Operations: ['98-90=8', '8+92=100']
Exploring Operation: 100-8=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Exploring Operation: 8*100=800, Resulting Numbers: [800]
800,82 unequal: No Solution
Exploring Operation: 8+100=108, Resulting Numbers: [108]
108,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[98, 8, 2], Operations: ['92-90=2']
Exploring Operation: 98/2=49, Resulting Numbers: [8, 49]
Generated Node #0,2,0: 82:[8, 49] Operation: 98/2=49
Exploring Operation: 98-2=96, Resulting Numbers: [8, 96]
Generated Node #0,2,1: 82:[8, 96] Operation: 98-2=96
Exploring Operation: 98-8=90, Resulting Numbers: [2, 90]
Generated Node #0,2,2: 82:[2, 90] Operation: 98-8=90
Exploring Operation: 8/2=4, Resulting Numbers: [98, 4]
Generated Node #0,2,3: 82:[98, 4] Operation: 8/2=4
Exploring Operation: 8-2=6, Resulting Numbers: [98, 6]
Generated Node #0,2,4: 82:[98, 6] Operation: 8-2=6
Moving to Node #0,2,2
Current State: 82:[2, 90], Operations: ['92-90=2', '98-8=90']
Exploring Operation: 2*90=180, Resulting Numbers: [180]
180,82 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Exploring Operation: 2+90=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Moving to Node #0,2,0
Current State: 82:[8, 49], Operations: ['92-90=2', '98/2=49']
Exploring Operation: 8+49=57, Resulting Numbers: [57]
57,82 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 8*49=392, Resulting Numbers: [392]
392,82 unequal: No Solution
Moving to Node #0,2,3
Current State: 82:[98, 4], Operations: ['92-90=2', '8/2=4']
Exploring Operation: 98*4=392, Resulting Numbers: [392]
392,82 unequal: No Solution
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,82 unequal: No Solution
Exploring Operation: 98+4=102, Resulting Numbers: [102]
102,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[8, 96], Operations: ['92-90=2', '98-2=96']
Exploring Operation: 8*96=768, Resulting Numbers: [768]
768,82 unequal: No Solution
Exploring Operation: 96/8=12, Resulting Numbers: [12]
12,82 unequal: No Solution
Exploring Operation: 96-8=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 8+96=104, Resulting Numbers: [104]
104,82 unequal: No Solution
Moving to Node #0,2,4
Current State: 82:[98, 6], Operations: ['92-90=2', '8-2=6']
Exploring Operation: 98+6=104, Resulting Numbers: [104]
104,82 unequal: No Solution
Exploring Operation: 98*6=588, Resulting Numbers: [588]
588,82 unequal: No Solution
Exploring Operation: 98-6=92, Resulting Numbers: [92]
92,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[90, 92, 90], Operations: ['98-8=90']
Exploring Operation: 92-90=2, Resulting Numbers: [90, 2]
Generated Node #0,1,0: 82:[90, 2] Operation: 92-90=2
Exploring Operation: 90/90=1, Resulting Numbers: [92, 1]
Generated Node #0,1,1: 82:[92, 1] Operation: 90/90=1
Exploring Operation: 92-90=2, Resulting Numbers: [90, 2]
Generated Node #0,1,2: 82:[90, 2] Operation: 92-90=2
Exploring Operation: 90+92=182, Resulting Numbers: [90, 182]
Generated Node #0,1,3: 82:[90, 182] Operation: 90+92=182
Exploring Operation: 90-90=0, Resulting Numbers: [92, 0]
Generated Node #0,1,4: 82:[92, 0] Operation: 90-90=0
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[90, 2], Operations: ['98-8=90', '92-90=2']
Exploring Operation: 90*2=180, Resulting Numbers: [180]
180,82 unequal: No Solution
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 82:[90, 2], Operations: ['98-8=90', '92-90=2']
Exploring Operation: 90*2=180, Resulting Numbers: [180]
180,82 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[92, 1], Operations: ['98-8=90', '90/90=1']
Exploring Operation: 92*1=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,82 unequal: No Solution
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 82:[92, 0], Operations: ['98-8=90', '90-90=0']
Exploring Operation: 92+0=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Exploring Operation: 92-0=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Exploring Operation: 92*0=0, Resulting Numbers: [0]
0,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 82:[90, 182], Operations: ['98-8=90', '90+92=182']
Exploring Operation: 90+182=272, Resulting Numbers: [272]
272,82 unequal: No Solution
Exploring Operation: 182-90=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Exploring Operation: 90*182=16380, Resulting Numbers: [16380]
16380,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 82:[98, 92, 82], Operations: ['90-8=82']
Exploring Operation: 98-92=6, Resulting Numbers: [82, 6]
Generated Node #0,4,0: 82:[82, 6] Operation: 98-92=6
Exploring Operation: 98-82=16, Resulting Numbers: [92, 16]
Generated Node #0,4,1: 82:[92, 16] Operation: 98-82=16
Exploring Operation: 98+82=180, Resulting Numbers: [92, 180]
Generated Node #0,4,2: 82:[92, 180] Operation: 98+82=180
Exploring Operation: 92-82=10, Resulting Numbers: [98, 10]
Generated Node #0,4,3: 82:[98, 10] Operation: 92-82=10
Exploring Operation: 98+92=190, Resulting Numbers: [82, 190]
Generated Node #0,4,4: 82:[82, 190] Operation: 98+92=190
Moving to Node #0,4,0
Current State: 82:[82, 6], Operations: ['90-8=82', '98-92=6']
Exploring Operation: 82*6=492, Resulting Numbers: [492]
492,82 unequal: No Solution
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,82 unequal: No Solution
Moving to Node #0,4,3
Current State: 82:[98, 10], Operations: ['90-8=82', '92-82=10']
Exploring Operation: 98*10=980, Resulting Numbers: [980]
980,82 unequal: No Solution
Exploring Operation: 98-10=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 98+10=108, Resulting Numbers: [108]
108,82 unequal: No Solution
Moving to Node #0,4,1
Current State: 82:[92, 16], Operations: ['90-8=82', '98-82=16']
Exploring Operation: 92-16=76, Resulting Numbers: [76]
76,82 unequal: No Solution
Exploring Operation: 92*16=1472, Resulting Numbers: [1472]
1472,82 unequal: No Solution
Exploring Operation: 92+16=108, Resulting Numbers: [108]
108,82 unequal: No Solution
Moving to Node #0,4,2
Current State: 82:[92, 180], Operations: ['90-8=82', '98+82=180']
Exploring Operation: 92+180=272, Resulting Numbers: [272]
272,82 unequal: No Solution
Exploring Operation: 180-92=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 92*180=16560, Resulting Numbers: [16560]
16560,82 unequal: No Solution
Moving to Node #0,4,4
Current State: 82:[82, 190], Operations: ['90-8=82', '98+92=190']
Exploring Operation: 82*190=15580, Resulting Numbers: [15580]
15580,82 unequal: No Solution
Exploring Operation: 190-82=108, Resulting Numbers: [108]
108,82 unequal: No Solution
Exploring Operation: 82+190=272, Resulting Numbers: [272]
272,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
33,
78,
85,
96
] | 64 | [
"85-33=52",
"96*52=4992",
"4992/78=64"
] | Current State: 64:[33, 78, 85, 96], Operations: []
Exploring Operation: 85-33=52, Resulting Numbers: [78, 96, 52]
Generated Node #2: [78, 96, 52] from Operation: 85-33=52
Current State: 64:[78, 96, 52], Operations: ['85-33=52']
Exploring Operation: 96*52=4992, Resulting Numbers: [78, 4992]
Generated Node #3: [78, 4992] from Operation: 96*52=4992
Current State: 64:[78, 4992], Operations: ['85-33=52', '96*52=4992']
Exploring Operation: 4992/78=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[33, 78, 85, 96], Operations: []
Exploring Operation: 96-85=11, Resulting Numbers: [33, 78, 11]
Generated Node #0,0: 64:[33, 78, 11] Operation: 96-85=11
Moving to Node #0,0
Current State: 64:[33, 78, 11], Operations: ['96-85=11']
Exploring Operation: 78-11=67, Resulting Numbers: [33, 67]
Generated Node #0,0,0: 64:[33, 67] Operation: 78-11=67
Moving to Node #0,0,0
Current State: 64:[33, 67], Operations: ['96-85=11', '78-11=67']
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,64 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
74,
38,
98,
19
] | 81 | [
"74-38=36",
"98+19=117",
"117-36=81"
] | Current State: 81:[74, 38, 98, 19], Operations: []
Exploring Operation: 74-38=36, Resulting Numbers: [98, 19, 36]
Generated Node #2: [98, 19, 36] from Operation: 74-38=36
Current State: 81:[98, 19, 36], Operations: ['74-38=36']
Exploring Operation: 98+19=117, Resulting Numbers: [36, 117]
Generated Node #3: [36, 117] from Operation: 98+19=117
Current State: 81:[36, 117], Operations: ['74-38=36', '98+19=117']
Exploring Operation: 117-36=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[74, 38, 98, 19], Operations: []
Exploring Operation: 98-19=79, Resulting Numbers: [74, 38, 79]
Generated Node #0,0: 81:[74, 38, 79] Operation: 98-19=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[74, 38, 79], Operations: ['98-19=79']
Exploring Operation: 74-38=36, Resulting Numbers: [79, 36]
Generated Node #0,0,0: 81:[79, 36] Operation: 74-38=36
Moving to Node #0,0,0
Current State: 81:[79, 36], Operations: ['98-19=79', '74-38=36']
Exploring Operation: 79-36=43, Resulting Numbers: [43]
43,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 |
[
79,
33,
11,
25
] | 60 | [
"79-33=46",
"25-11=14",
"46+14=60"
] | Current State: 60:[79, 33, 11, 25], Operations: []
Exploring Operation: 79-33=46, Resulting Numbers: [11, 25, 46]
Generated Node #2: [11, 25, 46] from Operation: 79-33=46
Current State: 60:[11, 25, 46], Operations: ['79-33=46']
Exploring Operation: 25-11=14, Resulting Numbers: [46, 14]
Generated Node #3: [46, 14] from Operation: 25-11=14
Current State: 60:[46, 14], Operations: ['79-33=46', '25-11=14']
Exploring Operation: 46+14=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[79, 33, 11, 25], Operations: []
Exploring Operation: 79-11=68, Resulting Numbers: [33, 25, 68]
Generated Node #0,0: 60:[33, 25, 68] Operation: 79-11=68
Exploring Operation: 79-25=54, Resulting Numbers: [33, 11, 54]
Generated Node #0,1: 60:[33, 11, 54] Operation: 79-25=54
Exploring Operation: 79-33=46, Resulting Numbers: [11, 25, 46]
Generated Node #0,2: 60:[11, 25, 46] Operation: 79-33=46
Moving to Node #0,1
Current State: 60:[33, 11, 54], Operations: ['79-25=54']
Exploring Operation: 33/11=3, Resulting Numbers: [54, 3]
Generated Node #0,1,0: 60:[54, 3] Operation: 33/11=3
Exploring Operation: 33-11=22, Resulting Numbers: [54, 22]
Generated Node #0,1,1: 60:[54, 22] Operation: 33-11=22
Exploring Operation: 54-33=21, Resulting Numbers: [11, 21]
Generated Node #0,1,2: 60:[11, 21] Operation: 54-33=21
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 60:[11, 21], Operations: ['79-25=54', '54-33=21']
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,60 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,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,1,0
Current State: 60:[54, 3], Operations: ['79-25=54', '33/11=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,60 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,60 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,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,1,1
Current State: 60:[54, 22], Operations: ['79-25=54', '33-11=22']
Exploring Operation: 54+22=76, Resulting Numbers: [76]
76,60 unequal: No Solution
Exploring Operation: 54*22=1188, Resulting Numbers: [1188]
1188,60 unequal: No Solution
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,60 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: 60:[33, 25, 68], Operations: ['79-11=68']
Exploring Operation: 68-33=35, Resulting Numbers: [25, 35]
Generated Node #0,0,0: 60:[25, 35] Operation: 68-33=35
Exploring Operation: 33+25=58, Resulting Numbers: [68, 58]
Generated Node #0,0,1: 60:[68, 58] Operation: 33+25=58
Exploring Operation: 33-25=8, Resulting Numbers: [68, 8]
Generated Node #0,0,2: 60:[68, 8] Operation: 33-25=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[25, 35], Operations: ['79-11=68', '68-33=35']
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[79, 33, 11, 25], Operations: []
Exploring Operation: 79-11=68, Resulting Numbers: [33, 25, 68]
Generated Node #0,0: 60:[33, 25, 68] Operation: 79-11=68
Moving to Node #0,0
Current State: 60:[33, 25, 68], Operations: ['79-11=68']
Exploring Operation: 68-33=35, Resulting Numbers: [25, 35]
Generated Node #0,0,0: 60:[25, 35] Operation: 68-33=35
Moving to Node #0,0,0
Current State: 60:[25, 35], Operations: ['79-11=68', '68-33=35']
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
9,
43,
7,
88
] | 18 | [
"9*7=63",
"88-43=45",
"63-45=18"
] | Current State: 18:[9, 43, 7, 88], Operations: []
Exploring Operation: 9*7=63, Resulting Numbers: [43, 88, 63]
Generated Node #2: [43, 88, 63] from Operation: 9*7=63
Current State: 18:[43, 88, 63], Operations: ['9*7=63']
Exploring Operation: 88-43=45, Resulting Numbers: [63, 45]
Generated Node #3: [63, 45] from Operation: 88-43=45
Current State: 18:[63, 45], Operations: ['9*7=63', '88-43=45']
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[9, 43, 7, 88], Operations: []
Exploring Operation: 88-43=45, Resulting Numbers: [9, 7, 45]
Generated Node #0,0: 18:[9, 7, 45] Operation: 88-43=45
Moving to Node #0,0
Current State: 18:[9, 7, 45], Operations: ['88-43=45']
Exploring Operation: 45/9=5, Resulting Numbers: [7, 5]
Generated Node #0,0,0: 18:[7, 5] Operation: 45/9=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[7, 5], Operations: ['88-43=45', '45/9=5']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,18 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 |
[
3,
1,
4,
33
] | 49 | [
"3+1=4",
"4*4=16",
"33+16=49"
] | Current State: 49:[3, 1, 4, 33], Operations: []
Exploring Operation: 3+1=4, Resulting Numbers: [4, 33, 4]
Generated Node #2: [4, 33, 4] from Operation: 3+1=4
Current State: 49:[4, 33, 4], Operations: ['3+1=4']
Exploring Operation: 4*4=16, Resulting Numbers: [33, 16]
Generated Node #3: [33, 16] from Operation: 4*4=16
Current State: 49:[33, 16], Operations: ['3+1=4', '4*4=16']
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[3, 1, 4, 33], Operations: []
Exploring Operation: 3+33=36, Resulting Numbers: [1, 4, 36]
Generated Node #0,0: 49:[1, 4, 36] Operation: 3+33=36
Exploring Operation: 3+4=7, Resulting Numbers: [1, 33, 7]
Generated Node #0,1: 49:[1, 33, 7] Operation: 3+4=7
Exploring Operation: 33/3=11, Resulting Numbers: [1, 4, 11]
Generated Node #0,2: 49:[1, 4, 11] Operation: 33/3=11
Exploring Operation: 3+1=4, Resulting Numbers: [4, 33, 4]
Generated Node #0,3: 49:[4, 33, 4] Operation: 3+1=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[1, 4, 11], Operations: ['33/3=11']
Exploring Operation: 1+4=5, Resulting Numbers: [11, 5]
Generated Node #0,2,0: 49:[11, 5] Operation: 1+4=5
Exploring Operation: 11-4=7, Resulting Numbers: [1, 7]
Generated Node #0,2,1: 49:[1, 7] Operation: 11-4=7
Exploring Operation: 11-1=10, Resulting Numbers: [4, 10]
Generated Node #0,2,2: 49:[4, 10] Operation: 11-1=10
Exploring Operation: 1*4=4, Resulting Numbers: [11, 4]
Generated Node #0,2,3: 49:[11, 4] Operation: 1*4=4
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 49:[11, 5], Operations: ['33/3=11', '1+4=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,49 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,49 unequal: No Solution
No 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: 49:[1, 7], Operations: ['33/3=11', '11-4=7']
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 1+7=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,49 unequal: No Solution
No 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: 49:[4, 10], Operations: ['33/3=11', '11-1=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,49 unequal: No Solution
No 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: 49:[11, 4], Operations: ['33/3=11', '1*4=4']
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,49 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: 49:[1, 4, 36], Operations: ['3+33=36']
Exploring Operation: 36/4=9, Resulting Numbers: [1, 9]
Generated Node #0,0,0: 49:[1, 9] Operation: 36/4=9
Exploring Operation: 4+36=40, Resulting Numbers: [1, 40]
Generated Node #0,0,1: 49:[1, 40] Operation: 4+36=40
Exploring Operation: 1+4=5, Resulting Numbers: [36, 5]
Generated Node #0,0,2: 49:[36, 5] Operation: 1+4=5
Exploring Operation: 1+36=37, Resulting Numbers: [4, 37]
Generated Node #0,0,3: 49:[4, 37] Operation: 1+36=37
Moving to Node #0,0,0
Current State: 49:[1, 9], Operations: ['3+33=36', '36/4=9']
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[36, 5], Operations: ['3+33=36', '1+4=5']
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,49 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,49 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[1, 40], Operations: ['3+33=36', '4+36=40']
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 1+40=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[4, 37], Operations: ['3+33=36', '1+36=37']
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,49 unequal: No Solution
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,49 unequal: No Solution
No solution 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: 49:[1, 33, 7], Operations: ['3+4=7']
Exploring Operation: 1+33=34, Resulting Numbers: [7, 34]
Generated Node #0,1,0: 49:[7, 34] Operation: 1+33=34
Exploring Operation: 1*33=33, Resulting Numbers: [7, 33]
Generated Node #0,1,1: 49:[7, 33] Operation: 1*33=33
Exploring Operation: 33/1=33, Resulting Numbers: [7, 33]
Generated Node #0,1,2: 49:[7, 33] Operation: 33/1=33
Exploring Operation: 33+7=40, Resulting Numbers: [1, 40]
Generated Node #0,1,3: 49:[1, 40] Operation: 33+7=40
Moving to Node #0,1,0
Current State: 49:[7, 34], Operations: ['3+4=7', '1+33=34']
Exploring Operation: 7*34=238, Resulting Numbers: [238]
238,49 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 7+34=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[1, 40], Operations: ['3+4=7', '33+7=40']
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 1+40=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[7, 33], Operations: ['3+4=7', '33/1=33']
Exploring Operation: 7*33=231, Resulting Numbers: [231]
231,49 unequal: No Solution
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[7, 33], Operations: ['3+4=7', '1*33=33']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,49 unequal: No Solution
Exploring Operation: 7*33=231, Resulting Numbers: [231]
231,49 unequal: No Solution
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,49 unequal: No Solution
No 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: 49:[4, 33, 4], Operations: ['3+1=4']
Exploring Operation: 4+33=37, Resulting Numbers: [4, 37]
Generated Node #0,3,0: 49:[4, 37] Operation: 4+33=37
Exploring Operation: 4/4=1, Resulting Numbers: [33, 1]
Generated Node #0,3,1: 49:[33, 1] Operation: 4/4=1
Exploring Operation: 33+4=37, Resulting Numbers: [4, 37]
Generated Node #0,3,2: 49:[4, 37] Operation: 33+4=37
Exploring Operation: 4+4=8, Resulting Numbers: [33, 8]
Generated Node #0,3,3: 49:[33, 8] Operation: 4+4=8
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 49:[4, 37], Operations: ['3+1=4', '4+33=37']
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,49 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,49 unequal: No Solution
No 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: 49:[4, 37], Operations: ['3+1=4', '33+4=37']
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,49 unequal: No Solution
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,49 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,49 unequal: No Solution
No 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: 49:[33, 8], Operations: ['3+1=4', '4+4=8']
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,49 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,49 unequal: No Solution
No 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: 49:[33, 1], Operations: ['3+1=4', '4/4=1']
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,49 unequal: No Solution
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,49 unequal: No Solution
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
4,
64,
4,
61
] | 77 | [
"4*61=244",
"64+244=308",
"308/4=77"
] | Current State: 77:[4, 64, 4, 61], Operations: []
Exploring Operation: 4*61=244, Resulting Numbers: [64, 244]
Generated Node #2: [64, 244] from Operation: 4*61=244
Current State: 77:[64, 244], Operations: ['4*61=244']
Exploring Operation: 64+244=308, Resulting Numbers: [308]
308,77 equal: Goal Reached
Exploring Operation: 308/4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[4, 64, 4, 61], Operations: []
Exploring Operation: 64/4=16, Resulting Numbers: [4, 61, 16]
Generated Node #0,0: 77:[4, 61, 16] Operation: 64/4=16
Exploring Operation: 64-61=3, Resulting Numbers: [4, 4, 3]
Generated Node #0,1: 77:[4, 4, 3] Operation: 64-61=3
Moving to Node #0,1
Current State: 77:[4, 4, 3], Operations: ['64-61=3']
Exploring Operation: 4+3=7, Resulting Numbers: [4, 7]
Generated Node #0,1,0: 77:[4, 7] Operation: 4+3=7
Exploring Operation: 4+3=7, Resulting Numbers: [4, 7]
Generated Node #0,1,1: 77:[4, 7] Operation: 4+3=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[4, 7], Operations: ['64-61=3', '4+3=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 77:[4, 7], Operations: ['64-61=3', '4+3=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,77 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: 77:[4, 61, 16], Operations: ['64/4=16']
Exploring Operation: 61+16=77, Resulting Numbers: [4, 77]
Generated Node #0,0,0: 77:[4, 77] Operation: 61+16=77
Exploring Operation: 4+61=65, Resulting Numbers: [16, 65]
Generated Node #0,0,1: 77:[16, 65] Operation: 4+61=65
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[4, 77], Operations: ['64/4=16', '61+16=77']
Exploring Operation: 4+77=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[16, 65], Operations: ['64/4=16', '4+61=65']
Exploring Operation: 16+65=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Exploring Operation: 65-16=49, Resulting Numbers: [49]
49,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
49,
15,
7,
90
] | 13 | [
"49/7=7",
"90/15=6",
"7+6=13"
] | Current State: 13:[49, 15, 7, 90], Operations: []
Exploring Operation: 49/7=7, Resulting Numbers: [15, 90, 7]
Generated Node #2: [15, 90, 7] from Operation: 49/7=7
Current State: 13:[15, 90, 7], Operations: ['49/7=7']
Exploring Operation: 90/15=6, Resulting Numbers: [7, 6]
Generated Node #3: [7, 6] from Operation: 90/15=6
Current State: 13:[7, 6], Operations: ['49/7=7', '90/15=6']
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[49, 15, 7, 90], Operations: []
Exploring Operation: 90-49=41, Resulting Numbers: [15, 7, 41]
Generated Node #0,0: 13:[15, 7, 41] Operation: 90-49=41
Exploring Operation: 49-15=34, Resulting Numbers: [7, 90, 34]
Generated Node #0,1: 13:[7, 90, 34] Operation: 49-15=34
Exploring Operation: 90/15=6, Resulting Numbers: [49, 7, 6]
Generated Node #0,2: 13:[49, 7, 6] Operation: 90/15=6
Exploring Operation: 49/7=7, Resulting Numbers: [15, 90, 7]
Generated Node #0,3: 13:[15, 90, 7] Operation: 49/7=7
Moving to Node #0,0
Current State: 13:[15, 7, 41], Operations: ['90-49=41']
Exploring Operation: 15+7=22, Resulting Numbers: [41, 22]
Generated Node #0,0,0: 13:[41, 22] Operation: 15+7=22
Exploring Operation: 41-15=26, Resulting Numbers: [7, 26]
Generated Node #0,0,1: 13:[7, 26] Operation: 41-15=26
Exploring Operation: 41-7=34, Resulting Numbers: [15, 34]
Generated Node #0,0,2: 13:[15, 34] Operation: 41-7=34
Exploring Operation: 15-7=8, Resulting Numbers: [41, 8]
Generated Node #0,0,3: 13:[41, 8] Operation: 15-7=8
Moving to Node #0,2
Current State: 13:[49, 7, 6], Operations: ['90/15=6']
Exploring Operation: 49-6=43, Resulting Numbers: [7, 43]
Generated Node #0,2,0: 13:[7, 43] Operation: 49-6=43
Exploring Operation: 49/7=7, Resulting Numbers: [6, 7]
Generated Node #0,2,1: 13:[6, 7] Operation: 49/7=7
Exploring Operation: 49-7=42, Resulting Numbers: [6, 42]
Generated Node #0,2,2: 13:[6, 42] Operation: 49-7=42
Exploring Operation: 7+6=13, Resulting Numbers: [49, 13]
Generated Node #0,2,3: 13:[49, 13] Operation: 7+6=13
Moving to Node #0,3
Current State: 13:[15, 90, 7], Operations: ['49/7=7']
Exploring Operation: 90-7=83, Resulting Numbers: [15, 83]
Generated Node #0,3,0: 13:[15, 83] Operation: 90-7=83
Exploring Operation: 90/15=6, Resulting Numbers: [7, 6]
Generated Node #0,3,1: 13:[7, 6] Operation: 90/15=6
Exploring Operation: 15-7=8, Resulting Numbers: [90, 8]
Generated Node #0,3,2: 13:[90, 8] Operation: 15-7=8
Exploring Operation: 90-15=75, Resulting Numbers: [7, 75]
Generated Node #0,3,3: 13:[7, 75] Operation: 90-15=75
Moving to Node #0,1
Current State: 13:[7, 90, 34], Operations: ['49-15=34']
Exploring Operation: 90-34=56, Resulting Numbers: [7, 56]
Generated Node #0,1,0: 13:[7, 56] Operation: 90-34=56
Exploring Operation: 34-7=27, Resulting Numbers: [90, 27]
Generated Node #0,1,1: 13:[90, 27] Operation: 34-7=27
Exploring Operation: 7+90=97, Resulting Numbers: [34, 97]
Generated Node #0,1,2: 13:[34, 97] Operation: 7+90=97
Exploring Operation: 90-7=83, Resulting Numbers: [34, 83]
Generated Node #0,1,3: 13:[34, 83] Operation: 90-7=83
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[7, 56], Operations: ['49-15=34', '90-34=56']
Exploring Operation: 7+56=63, Resulting Numbers: [63]
63,13 unequal: No Solution
Exploring Operation: 7*56=392, Resulting Numbers: [392]
392,13 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,13 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[90, 27], Operations: ['49-15=34', '34-7=27']
Exploring Operation: 90-27=63, Resulting Numbers: [63]
63,13 unequal: No Solution
Exploring Operation: 90*27=2430, Resulting Numbers: [2430]
2430,13 unequal: No Solution
Exploring Operation: 90+27=117, Resulting Numbers: [117]
117,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 13:[34, 83], Operations: ['49-15=34', '90-7=83']
Exploring Operation: 34+83=117, Resulting Numbers: [117]
117,13 unequal: No Solution
Exploring Operation: 83-34=49, Resulting Numbers: [49]
49,13 unequal: No Solution
Exploring Operation: 34*83=2822, Resulting Numbers: [2822]
2822,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 13:[34, 97], Operations: ['49-15=34', '7+90=97']
Exploring Operation: 34*97=3298, Resulting Numbers: [3298]
3298,13 unequal: No Solution
Exploring Operation: 97-34=63, Resulting Numbers: [63]
63,13 unequal: No Solution
Exploring Operation: 34+97=131, Resulting Numbers: [131]
131,13 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: 13:[6, 7], Operations: ['90/15=6', '49/7=7']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[49, 15, 7, 90], Operations: []
Exploring Operation: 90/15=6, Resulting Numbers: [49, 7, 6]
Generated Node #0,2: 13:[49, 7, 6] Operation: 90/15=6
Moving to Node #0,2
Current State: 13:[49, 7, 6], Operations: ['90/15=6']
Exploring Operation: 49/7=7, Resulting Numbers: [6, 7]
Generated Node #0,2,1: 13:[6, 7] Operation: 49/7=7
Moving to Node #0,2,1
Current State: 13:[6, 7], Operations: ['90/15=6', '49/7=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 0.965278 | hs_4 | mult_heuristic |
[
50,
25,
7,
6
] | 58 | [
"25-7=18",
"6*18=108",
"108-50=58"
] | Current State: 58:[50, 25, 7, 6], Operations: []
Exploring Operation: 25-7=18, Resulting Numbers: [50, 6, 18]
Generated Node #2: [50, 6, 18] from Operation: 25-7=18
Current State: 58:[50, 6, 18], Operations: ['25-7=18']
Exploring Operation: 6*18=108, Resulting Numbers: [50, 108]
Generated Node #3: [50, 108] from Operation: 6*18=108
Current State: 58:[50, 108], Operations: ['25-7=18', '6*18=108']
Exploring Operation: 108-50=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[50, 25, 7, 6], Operations: []
Exploring Operation: 50/25=2, Resulting Numbers: [7, 6, 2]
Generated Node #0,0: 58:[7, 6, 2] Operation: 50/25=2
Exploring Operation: 7-6=1, Resulting Numbers: [50, 25, 1]
Generated Node #0,1: 58:[50, 25, 1] Operation: 7-6=1
Exploring Operation: 50-25=25, Resulting Numbers: [7, 6, 25]
Generated Node #0,2: 58:[7, 6, 25] Operation: 50-25=25
Exploring Operation: 50+7=57, Resulting Numbers: [25, 6, 57]
Generated Node #0,3: 58:[25, 6, 57] Operation: 50+7=57
Exploring Operation: 50+6=56, Resulting Numbers: [25, 7, 56]
Generated Node #0,4: 58:[25, 7, 56] Operation: 50+6=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[7, 6, 2], Operations: ['50/25=2']
Exploring Operation: 6/2=3, Resulting Numbers: [7, 3]
Generated Node #0,0,0: 58:[7, 3] Operation: 6/2=3
Exploring Operation: 7-2=5, Resulting Numbers: [6, 5]
Generated Node #0,0,1: 58:[6, 5] Operation: 7-2=5
Exploring Operation: 6-2=4, Resulting Numbers: [7, 4]
Generated Node #0,0,2: 58:[7, 4] Operation: 6-2=4
Exploring Operation: 7-6=1, Resulting Numbers: [2, 1]
Generated Node #0,0,3: 58:[2, 1] Operation: 7-6=1
Exploring Operation: 7+6=13, Resulting Numbers: [2, 13]
Generated Node #0,0,4: 58:[2, 13] Operation: 7+6=13
Moving to Node #0,0,3
Current State: 58:[2, 1], Operations: ['50/25=2', '7-6=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[7, 3], Operations: ['50/25=2', '6/2=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,58 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,58 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[6, 5], Operations: ['50/25=2', '7-2=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,58 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,58 unequal: No Solution
Moving to Node #0,0,2
Current State: 58:[7, 4], Operations: ['50/25=2', '6-2=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,58 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Moving to Node #0,0,4
Current State: 58:[2, 13], Operations: ['50/25=2', '7+6=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,58 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,58 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,58 unequal: No Solution
No 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: 58:[25, 6, 57], Operations: ['50+7=57']
Exploring Operation: 6+57=63, Resulting Numbers: [25, 63]
Generated Node #0,3,0: 58:[25, 63] Operation: 6+57=63
Exploring Operation: 25-6=19, Resulting Numbers: [57, 19]
Generated Node #0,3,1: 58:[57, 19] Operation: 25-6=19
Exploring Operation: 57-6=51, Resulting Numbers: [25, 51]
Generated Node #0,3,2: 58:[25, 51] Operation: 57-6=51
Exploring Operation: 57-25=32, Resulting Numbers: [6, 32]
Generated Node #0,3,3: 58:[6, 32] Operation: 57-25=32
Exploring Operation: 25+6=31, Resulting Numbers: [57, 31]
Generated Node #0,3,4: 58:[57, 31] Operation: 25+6=31
Moving to Node #0,3,4
Current State: 58:[57, 31], Operations: ['50+7=57', '25+6=31']
Exploring Operation: 57+31=88, Resulting Numbers: [88]
88,58 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,58 unequal: No Solution
Exploring Operation: 57*31=1767, Resulting Numbers: [1767]
1767,58 unequal: No Solution
Moving to Node #0,3,3
Current State: 58:[6, 32], Operations: ['50+7=57', '57-25=32']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,58 unequal: No Solution
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,58 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Moving to Node #0,3,0
Current State: 58:[25, 63], Operations: ['50+7=57', '6+57=63']
Exploring Operation: 25+63=88, Resulting Numbers: [88]
88,58 unequal: No Solution
Exploring Operation: 25*63=1575, Resulting Numbers: [1575]
1575,58 unequal: No Solution
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Moving to Node #0,3,1
Current State: 58:[57, 19], Operations: ['50+7=57', '25-6=19']
Exploring Operation: 57*19=1083, Resulting Numbers: [1083]
1083,58 unequal: No Solution
Exploring Operation: 57+19=76, Resulting Numbers: [76]
76,58 unequal: No Solution
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Moving to Node #0,3,2
Current State: 58:[25, 51], Operations: ['50+7=57', '57-6=51']
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,58 unequal: No Solution
Exploring Operation: 25*51=1275, Resulting Numbers: [1275]
1275,58 unequal: No Solution
Exploring Operation: 25+51=76, Resulting Numbers: [76]
76,58 unequal: No Solution
No 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: 58:[25, 7, 56], Operations: ['50+6=56']
Exploring Operation: 56-25=31, Resulting Numbers: [7, 31]
Generated Node #0,4,0: 58:[7, 31] Operation: 56-25=31
Exploring Operation: 56/7=8, Resulting Numbers: [25, 8]
Generated Node #0,4,1: 58:[25, 8] Operation: 56/7=8
Exploring Operation: 7+56=63, Resulting Numbers: [25, 63]
Generated Node #0,4,2: 58:[25, 63] Operation: 7+56=63
Exploring Operation: 25-7=18, Resulting Numbers: [56, 18]
Generated Node #0,4,3: 58:[56, 18] Operation: 25-7=18
Exploring Operation: 25+7=32, Resulting Numbers: [56, 32]
Generated Node #0,4,4: 58:[56, 32] Operation: 25+7=32
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 58:[56, 32], Operations: ['50+6=56', '25+7=32']
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 56+32=88, Resulting Numbers: [88]
88,58 unequal: No Solution
Exploring Operation: 56*32=1792, Resulting Numbers: [1792]
1792,58 unequal: No Solution
No 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: 58:[7, 31], Operations: ['50+6=56', '56-25=31']
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 7*31=217, Resulting Numbers: [217]
217,58 unequal: No Solution
No 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: 58:[25, 63], Operations: ['50+6=56', '7+56=63']
Exploring Operation: 25+63=88, Resulting Numbers: [88]
88,58 unequal: No Solution
Exploring Operation: 25*63=1575, Resulting Numbers: [1575]
1575,58 unequal: No Solution
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 58:[25, 8], Operations: ['50+6=56', '56/7=8']
Exploring Operation: 25*8=200, Resulting Numbers: [200]
200,58 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,58 unequal: No Solution
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,58 unequal: No Solution
No 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: 58:[56, 18], Operations: ['50+6=56', '25-7=18']
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,58 unequal: No Solution
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,58 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: 58:[50, 25, 1], Operations: ['7-6=1']
Exploring Operation: 25+1=26, Resulting Numbers: [50, 26]
Generated Node #0,1,0: 58:[50, 26] Operation: 25+1=26
Exploring Operation: 50-25=25, Resulting Numbers: [1, 25]
Generated Node #0,1,1: 58:[1, 25] Operation: 50-25=25
Exploring Operation: 50+1=51, Resulting Numbers: [25, 51]
Generated Node #0,1,2: 58:[25, 51] Operation: 50+1=51
Exploring Operation: 50*1=50, Resulting Numbers: [25, 50]
Generated Node #0,1,3: 58:[25, 50] Operation: 50*1=50
Exploring Operation: 50/25=2, Resulting Numbers: [1, 2]
Generated Node #0,1,4: 58:[1, 2] Operation: 50/25=2
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 58:[1, 2], Operations: ['7-6=1', '50/25=2']
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,58 unequal: No Solution
No 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: 58:[1, 25], Operations: ['7-6=1', '50-25=25']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,58 unequal: No Solution
Exploring Operation: 1+25=26, Resulting Numbers: [26]
26,58 unequal: No Solution
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,58 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,58 unequal: No Solution
No 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: 58:[50, 26], Operations: ['7-6=1', '25+1=26']
Exploring Operation: 50+26=76, Resulting Numbers: [76]
76,58 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 50*26=1300, Resulting Numbers: [1300]
1300,58 unequal: No Solution
No 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: 58:[25, 51], Operations: ['7-6=1', '50+1=51']
Exploring Operation: 25*51=1275, Resulting Numbers: [1275]
1275,58 unequal: No Solution
Exploring Operation: 25+51=76, Resulting Numbers: [76]
76,58 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,58 unequal: No Solution
No 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: 58:[25, 50], Operations: ['7-6=1', '50*1=50']
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,58 unequal: No Solution
Exploring Operation: 25+50=75, Resulting Numbers: [75]
75,58 unequal: No Solution
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 25*50=1250, Resulting Numbers: [1250]
1250,58 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: 58:[7, 6, 25], Operations: ['50-25=25']
Exploring Operation: 7+6=13, Resulting Numbers: [25, 13]
Generated Node #0,2,0: 58:[25, 13] Operation: 7+6=13
Exploring Operation: 7+25=32, Resulting Numbers: [6, 32]
Generated Node #0,2,1: 58:[6, 32] Operation: 7+25=32
Exploring Operation: 25-7=18, Resulting Numbers: [6, 18]
Generated Node #0,2,2: 58:[6, 18] Operation: 25-7=18
Exploring Operation: 6+25=31, Resulting Numbers: [7, 31]
Generated Node #0,2,3: 58:[7, 31] Operation: 6+25=31
Exploring Operation: 7-6=1, Resulting Numbers: [25, 1]
Generated Node #0,2,4: 58:[25, 1] Operation: 7-6=1
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 58:[25, 1], Operations: ['50-25=25', '7-6=1']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,58 unequal: No Solution
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,58 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,58 unequal: No Solution
No 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: 58:[6, 32], Operations: ['50-25=25', '7+25=32']
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,58 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,58 unequal: No Solution
No 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: 58:[7, 31], Operations: ['50-25=25', '6+25=31']
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 7*31=217, Resulting Numbers: [217]
217,58 unequal: No Solution
No 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: 58:[25, 13], Operations: ['50-25=25', '7+6=13']
Exploring Operation: 25+13=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 25*13=325, Resulting Numbers: [325]
325,58 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,58 unequal: No Solution
No 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: 58:[6, 18], Operations: ['50-25=25', '25-7=18']
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 6*18=108, Resulting Numbers: [108]
108,58 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,58 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 |
[
10,
37,
23,
55
] | 31 | [
"10+37=47",
"23+55=78",
"78-47=31"
] | Current State: 31:[10, 37, 23, 55], Operations: []
Exploring Operation: 10+37=47, Resulting Numbers: [23, 55, 47]
Generated Node #2: [23, 55, 47] from Operation: 10+37=47
Current State: 31:[23, 55, 47], Operations: ['10+37=47']
Exploring Operation: 23+55=78, Resulting Numbers: [47, 78]
Generated Node #3: [47, 78] from Operation: 23+55=78
Current State: 31:[47, 78], Operations: ['10+37=47', '23+55=78']
Exploring Operation: 78-47=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[10, 37, 23, 55], Operations: []
Exploring Operation: 55-10=45, Resulting Numbers: [37, 23, 45]
Generated Node #0,0: 31:[37, 23, 45] Operation: 55-10=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[37, 23, 45], Operations: ['55-10=45']
Exploring Operation: 45-23=22, Resulting Numbers: [37, 22]
Generated Node #0,0,0: 31:[37, 22] Operation: 45-23=22
Moving to Node #0,0,0
Current State: 31:[37, 22], Operations: ['55-10=45', '45-23=22']
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,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 | sum_heuristic |
[
17,
18,
72,
89
] | 18 | [
"17+18=35",
"89-72=17",
"35-17=18"
] | Current State: 18:[17, 18, 72, 89], Operations: []
Exploring Operation: 17+18=35, Resulting Numbers: [72, 89, 35]
Generated Node #2: [72, 89, 35] from Operation: 17+18=35
Current State: 18:[72, 89, 35], Operations: ['17+18=35']
Exploring Operation: 89-72=17, Resulting Numbers: [35, 17]
Generated Node #3: [35, 17] from Operation: 89-72=17
Current State: 18:[35, 17], Operations: ['17+18=35', '89-72=17']
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[17, 18, 72, 89], Operations: []
Exploring Operation: 89-17=72, Resulting Numbers: [18, 72, 72]
Generated Node #0,0: 18:[18, 72, 72] Operation: 89-17=72
Exploring Operation: 72-17=55, Resulting Numbers: [18, 89, 55]
Generated Node #0,1: 18:[18, 89, 55] Operation: 72-17=55
Exploring Operation: 72/18=4, Resulting Numbers: [17, 89, 4]
Generated Node #0,2: 18:[17, 89, 4] Operation: 72/18=4
Exploring Operation: 89-72=17, Resulting Numbers: [17, 18, 17]
Generated Node #0,3: 18:[17, 18, 17] Operation: 89-72=17
Moving to Node #0,3
Current State: 18:[17, 18, 17], Operations: ['89-72=17']
Exploring Operation: 17/17=1, Resulting Numbers: [18, 1]
Generated Node #0,3,0: 18:[18, 1] Operation: 17/17=1
Exploring Operation: 18-17=1, Resulting Numbers: [17, 1]
Generated Node #0,3,1: 18:[17, 1] Operation: 18-17=1
Exploring Operation: 18-17=1, Resulting Numbers: [17, 1]
Generated Node #0,3,2: 18:[17, 1] Operation: 18-17=1
Exploring Operation: 17-17=0, Resulting Numbers: [18, 0]
Generated Node #0,3,3: 18:[18, 0] Operation: 17-17=0
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 18:[18, 1], Operations: ['89-72=17', '17/17=1']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[17, 18, 72, 89], Operations: []
Exploring Operation: 89-72=17, Resulting Numbers: [17, 18, 17]
Generated Node #0,3: 18:[17, 18, 17] Operation: 89-72=17
Moving to Node #0,3
Current State: 18:[17, 18, 17], Operations: ['89-72=17']
Exploring Operation: 17/17=1, Resulting Numbers: [18, 1]
Generated Node #0,3,0: 18:[18, 1] Operation: 17/17=1
Moving to Node #0,3,0
Current State: 18:[18, 1], Operations: ['89-72=17', '17/17=1']
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
72,
10,
2,
66
] | 72 | [
"72-66=6",
"10+2=12",
"6*12=72"
] | Current State: 72:[72, 10, 2, 66], Operations: []
Exploring Operation: 72-66=6, Resulting Numbers: [10, 2, 6]
Generated Node #2: [10, 2, 6] from Operation: 72-66=6
Current State: 72:[10, 2, 6], Operations: ['72-66=6']
Exploring Operation: 10+2=12, Resulting Numbers: [6, 12]
Generated Node #3: [6, 12] from Operation: 10+2=12
Current State: 72:[6, 12], Operations: ['72-66=6', '10+2=12']
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[72, 10, 2, 66], Operations: []
Exploring Operation: 72-66=6, Resulting Numbers: [10, 2, 6]
Generated Node #0,0: 72:[10, 2, 6] Operation: 72-66=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[10, 2, 6], Operations: ['72-66=6']
Exploring Operation: 10+2=12, Resulting Numbers: [6, 12]
Generated Node #0,0,0: 72:[6, 12] Operation: 10+2=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[6, 12], Operations: ['72-66=6', '10+2=12']
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
29,
18,
70,
5
] | 64 | [
"29-18=11",
"70+5=75",
"75-11=64"
] | Current State: 64:[29, 18, 70, 5], Operations: []
Exploring Operation: 29-18=11, Resulting Numbers: [70, 5, 11]
Generated Node #2: [70, 5, 11] from Operation: 29-18=11
Current State: 64:[70, 5, 11], Operations: ['29-18=11']
Exploring Operation: 70+5=75, Resulting Numbers: [11, 75]
Generated Node #3: [11, 75] from Operation: 70+5=75
Current State: 64:[11, 75], Operations: ['29-18=11', '70+5=75']
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[29, 18, 70, 5], Operations: []
Exploring Operation: 70/5=14, Resulting Numbers: [29, 18, 14]
Generated Node #0,0: 64:[29, 18, 14] Operation: 70/5=14
Exploring Operation: 70-5=65, Resulting Numbers: [29, 18, 65]
Generated Node #0,1: 64:[29, 18, 65] Operation: 70-5=65
Exploring Operation: 29+5=34, Resulting Numbers: [18, 70, 34]
Generated Node #0,2: 64:[18, 70, 34] Operation: 29+5=34
Exploring Operation: 29-18=11, Resulting Numbers: [70, 5, 11]
Generated Node #0,3: 64:[70, 5, 11] Operation: 29-18=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[29, 18, 65], Operations: ['70-5=65']
Exploring Operation: 65-18=47, Resulting Numbers: [29, 47]
Generated Node #0,1,0: 64:[29, 47] Operation: 65-18=47
Exploring Operation: 65-29=36, Resulting Numbers: [18, 36]
Generated Node #0,1,1: 64:[18, 36] Operation: 65-29=36
Exploring Operation: 29-18=11, Resulting Numbers: [65, 11]
Generated Node #0,1,2: 64:[65, 11] Operation: 29-18=11
Exploring Operation: 29+18=47, Resulting Numbers: [65, 47]
Generated Node #0,1,3: 64:[65, 47] Operation: 29+18=47
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 64:[65, 11], Operations: ['70-5=65', '29-18=11']
Exploring Operation: 65+11=76, Resulting Numbers: [76]
76,64 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 65*11=715, Resulting Numbers: [715]
715,64 unequal: No Solution
No 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: 64:[18, 36], Operations: ['70-5=65', '65-29=36']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 18*36=648, Resulting Numbers: [648]
648,64 unequal: No Solution
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,64 unequal: No Solution
No 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: 64:[65, 47], Operations: ['70-5=65', '29+18=47']
Exploring Operation: 65*47=3055, Resulting Numbers: [3055]
3055,64 unequal: No Solution
Exploring Operation: 65-47=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 65+47=112, Resulting Numbers: [112]
112,64 unequal: No Solution
No 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: 64:[29, 47], Operations: ['70-5=65', '65-18=47']
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,64 unequal: No Solution
Exploring Operation: 29*47=1363, Resulting Numbers: [1363]
1363,64 unequal: No Solution
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[29, 18, 14], Operations: ['70/5=14']
Exploring Operation: 18+14=32, Resulting Numbers: [29, 32]
Generated Node #0,0,0: 64:[29, 32] Operation: 18+14=32
Exploring Operation: 18-14=4, Resulting Numbers: [29, 4]
Generated Node #0,0,1: 64:[29, 4] Operation: 18-14=4
Exploring Operation: 29-18=11, Resulting Numbers: [14, 11]
Generated Node #0,0,2: 64:[14, 11] Operation: 29-18=11
Exploring Operation: 29-14=15, Resulting Numbers: [18, 15]
Generated Node #0,0,3: 64:[18, 15] Operation: 29-14=15
Moving to Node #0,0,0
Current State: 64:[29, 32], Operations: ['70/5=14', '18+14=32']
Exploring Operation: 29*32=928, Resulting Numbers: [928]
928,64 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 29+32=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Moving to Node #0,0,3
Current State: 64:[18, 15], Operations: ['70/5=14', '29-14=15']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[29, 4], Operations: ['70/5=14', '18-14=4']
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,64 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[14, 11], Operations: ['70/5=14', '29-18=11']
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[18, 70, 34], Operations: ['29+5=34']
Exploring Operation: 18+34=52, Resulting Numbers: [70, 52]
Generated Node #0,2,0: 64:[70, 52] Operation: 18+34=52
Exploring Operation: 34-18=16, Resulting Numbers: [70, 16]
Generated Node #0,2,1: 64:[70, 16] Operation: 34-18=16
Exploring Operation: 70-34=36, Resulting Numbers: [18, 36]
Generated Node #0,2,2: 64:[18, 36] Operation: 70-34=36
Exploring Operation: 70-18=52, Resulting Numbers: [34, 52]
Generated Node #0,2,3: 64:[34, 52] Operation: 70-18=52
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 64:[70, 16], Operations: ['29+5=34', '34-18=16']
Exploring Operation: 70*16=1120, Resulting Numbers: [1120]
1120,64 unequal: No Solution
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 70+16=86, Resulting Numbers: [86]
86,64 unequal: No Solution
No 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: 64:[18, 36], Operations: ['29+5=34', '70-34=36']
Exploring Operation: 18*36=648, Resulting Numbers: [648]
648,64 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,64 unequal: No Solution
No 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: 64:[34, 52], Operations: ['29+5=34', '70-18=52']
Exploring Operation: 34+52=86, Resulting Numbers: [86]
86,64 unequal: No Solution
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 34*52=1768, Resulting Numbers: [1768]
1768,64 unequal: No Solution
No 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: 64:[70, 52], Operations: ['29+5=34', '18+34=52']
Exploring Operation: 70*52=3640, Resulting Numbers: [3640]
3640,64 unequal: No Solution
Exploring Operation: 70+52=122, Resulting Numbers: [122]
122,64 unequal: No Solution
Exploring Operation: 70-52=18, Resulting Numbers: [18]
18,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[70, 5, 11], Operations: ['29-18=11']
Exploring Operation: 70-11=59, Resulting Numbers: [5, 59]
Generated Node #0,3,0: 64:[5, 59] Operation: 70-11=59
Exploring Operation: 5+11=16, Resulting Numbers: [70, 16]
Generated Node #0,3,1: 64:[70, 16] Operation: 5+11=16
Exploring Operation: 70/5=14, Resulting Numbers: [11, 14]
Generated Node #0,3,2: 64:[11, 14] Operation: 70/5=14
Exploring Operation: 70-5=65, Resulting Numbers: [11, 65]
Generated Node #0,3,3: 64:[11, 65] Operation: 70-5=65
Moving to Node #0,3,3
Current State: 64:[11, 65], Operations: ['29-18=11', '70-5=65']
Exploring Operation: 11*65=715, Resulting Numbers: [715]
715,64 unequal: No Solution
Exploring Operation: 11+65=76, Resulting Numbers: [76]
76,64 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[11, 14], Operations: ['29-18=11', '70/5=14']
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,64 unequal: No Solution
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[70, 16], Operations: ['29-18=11', '5+11=16']
Exploring Operation: 70+16=86, Resulting Numbers: [86]
86,64 unequal: No Solution
Exploring Operation: 70*16=1120, Resulting Numbers: [1120]
1120,64 unequal: No Solution
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Moving to Node #0,3,0
Current State: 64:[5, 59], Operations: ['29-18=11', '70-11=59']
Exploring Operation: 5*59=295, Resulting Numbers: [295]
295,64 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[29, 18, 70, 5], Operations: []
Exploring Operation: 29-18=11, Resulting Numbers: [70, 5, 11]
Generated Node #0,3: 64:[70, 5, 11] Operation: 29-18=11
Moving to Node #0,3
Current State: 64:[70, 5, 11], Operations: ['29-18=11']
Exploring Operation: 70-11=59, Resulting Numbers: [5, 59]
Generated Node #0,3,0: 64:[5, 59] Operation: 70-11=59
Moving to Node #0,3,0
Current State: 64:[5, 59], Operations: ['29-18=11', '70-11=59']
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.935764 | hs_4 | sum_heuristic |
[
32,
88,
92,
62
] | 90 | [
"32+88=120",
"92-62=30",
"120-30=90"
] | Current State: 90:[32, 88, 92, 62], Operations: []
Exploring Operation: 32+88=120, Resulting Numbers: [92, 62, 120]
Generated Node #2: [92, 62, 120] from Operation: 32+88=120
Current State: 90:[92, 62, 120], Operations: ['32+88=120']
Exploring Operation: 92-62=30, Resulting Numbers: [120, 30]
Generated Node #3: [120, 30] from Operation: 92-62=30
Current State: 90:[120, 30], Operations: ['32+88=120', '92-62=30']
Exploring Operation: 120-30=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[32, 88, 92, 62], Operations: []
Exploring Operation: 92-62=30, Resulting Numbers: [32, 88, 30]
Generated Node #0,0: 90:[32, 88, 30] Operation: 92-62=30
Exploring Operation: 62-32=30, Resulting Numbers: [88, 92, 30]
Generated Node #0,1: 90:[88, 92, 30] Operation: 62-32=30
Exploring Operation: 32+62=94, Resulting Numbers: [88, 92, 94]
Generated Node #0,2: 90:[88, 92, 94] Operation: 32+62=94
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[32, 88, 30], Operations: ['92-62=30']
Exploring Operation: 88-30=58, Resulting Numbers: [32, 58]
Generated Node #0,0,0: 90:[32, 58] Operation: 88-30=58
Exploring Operation: 32-30=2, Resulting Numbers: [88, 2]
Generated Node #0,0,1: 90:[88, 2] Operation: 32-30=2
Exploring Operation: 88-32=56, Resulting Numbers: [30, 56]
Generated Node #0,0,2: 90:[30, 56] Operation: 88-32=56
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[88, 2], Operations: ['92-62=30', '32-30=2']
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[32, 88, 92, 62], Operations: []
Exploring Operation: 92-62=30, Resulting Numbers: [32, 88, 30]
Generated Node #0,0: 90:[32, 88, 30] Operation: 92-62=30
Moving to Node #0,0
Current State: 90:[32, 88, 30], Operations: ['92-62=30']
Exploring Operation: 32-30=2, Resulting Numbers: [88, 2]
Generated Node #0,0,1: 90:[88, 2] Operation: 32-30=2
Moving to Node #0,0,1
Current State: 90:[88, 2], Operations: ['92-62=30', '32-30=2']
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
3,
5,
91,
36
] | 85 | [
"3*36=108",
"108-91=17",
"5*17=85"
] | Current State: 85:[3, 5, 91, 36], Operations: []
Exploring Operation: 3*36=108, Resulting Numbers: [5, 91, 108]
Generated Node #2: [5, 91, 108] from Operation: 3*36=108
Current State: 85:[5, 91, 108], Operations: ['3*36=108']
Exploring Operation: 108-91=17, Resulting Numbers: [5, 17]
Generated Node #3: [5, 17] from Operation: 108-91=17
Current State: 85:[5, 17], Operations: ['3*36=108', '108-91=17']
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[3, 5, 91, 36], Operations: []
Exploring Operation: 91-3=88, Resulting Numbers: [5, 36, 88]
Generated Node #0,0: 85:[5, 36, 88] Operation: 91-3=88
Exploring Operation: 36/3=12, Resulting Numbers: [5, 91, 12]
Generated Node #0,1: 85:[5, 91, 12] Operation: 36/3=12
Exploring Operation: 36-3=33, Resulting Numbers: [5, 91, 33]
Generated Node #0,2: 85:[5, 91, 33] Operation: 36-3=33
Exploring Operation: 91-5=86, Resulting Numbers: [3, 36, 86]
Generated Node #0,3: 85:[3, 36, 86] Operation: 91-5=86
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[5, 91, 12], Operations: ['36/3=12']
Exploring Operation: 5+12=17, Resulting Numbers: [91, 17]
Generated Node #0,1,0: 85:[91, 17] Operation: 5+12=17
Exploring Operation: 91-12=79, Resulting Numbers: [5, 79]
Generated Node #0,1,1: 85:[5, 79] Operation: 91-12=79
Exploring Operation: 91-5=86, Resulting Numbers: [12, 86]
Generated Node #0,1,2: 85:[12, 86] Operation: 91-5=86
Exploring Operation: 12-5=7, Resulting Numbers: [91, 7]
Generated Node #0,1,3: 85:[91, 7] Operation: 12-5=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 85:[91, 17], Operations: ['36/3=12', '5+12=17']
Exploring Operation: 91*17=1547, Resulting Numbers: [1547]
1547,85 unequal: No Solution
Exploring Operation: 91+17=108, Resulting Numbers: [108]
108,85 unequal: No Solution
Exploring Operation: 91-17=74, Resulting Numbers: [74]
74,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 85:[5, 79], Operations: ['36/3=12', '91-12=79']
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 5*79=395, Resulting Numbers: [395]
395,85 unequal: No Solution
Exploring Operation: 5+79=84, Resulting Numbers: [84]
84,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 85:[12, 86], Operations: ['36/3=12', '91-5=86']
Exploring Operation: 12+86=98, Resulting Numbers: [98]
98,85 unequal: No Solution
Exploring Operation: 86-12=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 12*86=1032, Resulting Numbers: [1032]
1032,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 85:[91, 7], Operations: ['36/3=12', '12-5=7']
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,85 unequal: No Solution
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,85 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 91*7=637, Resulting Numbers: [637]
637,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[5, 36, 88], Operations: ['91-3=88']
Exploring Operation: 5+36=41, Resulting Numbers: [88, 41]
Generated Node #0,0,0: 85:[88, 41] Operation: 5+36=41
Exploring Operation: 5+88=93, Resulting Numbers: [36, 93]
Generated Node #0,0,1: 85:[36, 93] Operation: 5+88=93
Exploring Operation: 36-5=31, Resulting Numbers: [88, 31]
Generated Node #0,0,2: 85:[88, 31] Operation: 36-5=31
Exploring Operation: 88-5=83, Resulting Numbers: [36, 83]
Generated Node #0,0,3: 85:[36, 83] Operation: 88-5=83
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 85:[88, 31], Operations: ['91-3=88', '36-5=31']
Exploring Operation: 88*31=2728, Resulting Numbers: [2728]
2728,85 unequal: No Solution
Exploring Operation: 88+31=119, Resulting Numbers: [119]
119,85 unequal: No Solution
Exploring Operation: 88-31=57, Resulting Numbers: [57]
57,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 85:[36, 83], Operations: ['91-3=88', '88-5=83']
Exploring Operation: 36+83=119, Resulting Numbers: [119]
119,85 unequal: No Solution
Exploring Operation: 36*83=2988, Resulting Numbers: [2988]
2988,85 unequal: No Solution
Exploring Operation: 83-36=47, Resulting Numbers: [47]
47,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[88, 41], Operations: ['91-3=88', '5+36=41']
Exploring Operation: 88+41=129, Resulting Numbers: [129]
129,85 unequal: No Solution
Exploring Operation: 88-41=47, Resulting Numbers: [47]
47,85 unequal: No Solution
Exploring Operation: 88*41=3608, Resulting Numbers: [3608]
3608,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 85:[36, 93], Operations: ['91-3=88', '5+88=93']
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,85 unequal: No Solution
Exploring Operation: 36+93=129, Resulting Numbers: [129]
129,85 unequal: No Solution
Exploring Operation: 36*93=3348, Resulting Numbers: [3348]
3348,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[5, 91, 33], Operations: ['36-3=33']
Exploring Operation: 33-5=28, Resulting Numbers: [91, 28]
Generated Node #0,2,0: 85:[91, 28] Operation: 33-5=28
Exploring Operation: 91-5=86, Resulting Numbers: [33, 86]
Generated Node #0,2,1: 85:[33, 86] Operation: 91-5=86
Exploring Operation: 5+91=96, Resulting Numbers: [33, 96]
Generated Node #0,2,2: 85:[33, 96] Operation: 5+91=96
Exploring Operation: 5+33=38, Resulting Numbers: [91, 38]
Generated Node #0,2,3: 85:[91, 38] Operation: 5+33=38
Moving to Node #0,2,0
Current State: 85:[91, 28], Operations: ['36-3=33', '33-5=28']
Exploring Operation: 91+28=119, Resulting Numbers: [119]
119,85 unequal: No Solution
Exploring Operation: 91-28=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Exploring Operation: 91*28=2548, Resulting Numbers: [2548]
2548,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[33, 86], Operations: ['36-3=33', '91-5=86']
Exploring Operation: 33+86=119, Resulting Numbers: [119]
119,85 unequal: No Solution
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,85 unequal: No Solution
Exploring Operation: 33*86=2838, Resulting Numbers: [2838]
2838,85 unequal: No Solution
Moving to Node #0,2,3
Current State: 85:[91, 38], Operations: ['36-3=33', '5+33=38']
Exploring Operation: 91+38=129, Resulting Numbers: [129]
129,85 unequal: No Solution
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,85 unequal: No Solution
Exploring Operation: 91*38=3458, Resulting Numbers: [3458]
3458,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[33, 96], Operations: ['36-3=33', '5+91=96']
Exploring Operation: 96-33=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Exploring Operation: 33+96=129, Resulting Numbers: [129]
129,85 unequal: No Solution
Exploring Operation: 33*96=3168, Resulting Numbers: [3168]
3168,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
Current State: 85:[3, 36, 86], Operations: ['91-5=86']
Exploring Operation: 3+36=39, Resulting Numbers: [86, 39]
Generated Node #0,3,0: 85:[86, 39] Operation: 3+36=39
Exploring Operation: 36-3=33, Resulting Numbers: [86, 33]
Generated Node #0,3,1: 85:[86, 33] Operation: 36-3=33
Exploring Operation: 86-3=83, Resulting Numbers: [36, 83]
Generated Node #0,3,2: 85:[36, 83] Operation: 86-3=83
Exploring Operation: 36/3=12, Resulting Numbers: [86, 12]
Generated Node #0,3,3: 85:[86, 12] Operation: 36/3=12
Moving to Node #0,3,3
Current State: 85:[86, 12], Operations: ['91-5=86', '36/3=12']
Exploring Operation: 86*12=1032, Resulting Numbers: [1032]
1032,85 unequal: No Solution
Exploring Operation: 86+12=98, Resulting Numbers: [98]
98,85 unequal: No Solution
Exploring Operation: 86-12=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Moving to Node #0,3,1
Current State: 85:[86, 33], Operations: ['91-5=86', '36-3=33']
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,85 unequal: No Solution
Exploring Operation: 86+33=119, Resulting Numbers: [119]
119,85 unequal: No Solution
Exploring Operation: 86*33=2838, Resulting Numbers: [2838]
2838,85 unequal: No Solution
Moving to Node #0,3,2
Current State: 85:[36, 83], Operations: ['91-5=86', '86-3=83']
Exploring Operation: 36*83=2988, Resulting Numbers: [2988]
2988,85 unequal: No Solution
Exploring Operation: 36+83=119, Resulting Numbers: [119]
119,85 unequal: No Solution
Exploring Operation: 83-36=47, Resulting Numbers: [47]
47,85 unequal: No Solution
Moving to Node #0,3,0
Current State: 85:[86, 39], Operations: ['91-5=86', '3+36=39']
Exploring Operation: 86-39=47, Resulting Numbers: [47]
47,85 unequal: No Solution
Exploring Operation: 86+39=125, Resulting Numbers: [125]
125,85 unequal: No Solution
Exploring Operation: 86*39=3354, Resulting Numbers: [3354]
3354,85 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 |
[
46,
38,
73,
59
] | 70 | [
"46+38=84",
"73-59=14",
"84-14=70"
] | Current State: 70:[46, 38, 73, 59], Operations: []
Exploring Operation: 46+38=84, Resulting Numbers: [73, 59, 84]
Generated Node #2: [73, 59, 84] from Operation: 46+38=84
Current State: 70:[73, 59, 84], Operations: ['46+38=84']
Exploring Operation: 73-59=14, Resulting Numbers: [84, 14]
Generated Node #3: [84, 14] from Operation: 73-59=14
Current State: 70:[84, 14], Operations: ['46+38=84', '73-59=14']
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[46, 38, 73, 59], Operations: []
Exploring Operation: 73-59=14, Resulting Numbers: [46, 38, 14]
Generated Node #0,0: 70:[46, 38, 14] Operation: 73-59=14
Exploring Operation: 59-46=13, Resulting Numbers: [38, 73, 13]
Generated Node #0,1: 70:[38, 73, 13] Operation: 59-46=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[38, 73, 13], Operations: ['59-46=13']
Exploring Operation: 38-13=25, Resulting Numbers: [73, 25]
Generated Node #0,1,0: 70:[73, 25] Operation: 38-13=25
Exploring Operation: 73-38=35, Resulting Numbers: [13, 35]
Generated Node #0,1,1: 70:[13, 35] Operation: 73-38=35
Moving to Node #0,1,1
Current State: 70:[13, 35], Operations: ['59-46=13', '73-38=35']
Exploring Operation: 13+35=48, Resulting Numbers: [48]
48,70 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[73, 25], Operations: ['59-46=13', '38-13=25']
Exploring Operation: 73+25=98, Resulting Numbers: [98]
98,70 unequal: No Solution
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,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
Current State: 70:[46, 38, 14], Operations: ['73-59=14']
Exploring Operation: 46-38=8, Resulting Numbers: [14, 8]
Generated Node #0,0,0: 70:[14, 8] Operation: 46-38=8
Exploring Operation: 46-14=32, Resulting Numbers: [38, 32]
Generated Node #0,0,1: 70:[38, 32] Operation: 46-14=32
Moving to Node #0,0,0
Current State: 70:[14, 8], Operations: ['73-59=14', '46-38=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[38, 32], Operations: ['73-59=14', '46-14=32']
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 38+32=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[46, 38, 73, 59], Operations: []
Exploring Operation: 73-59=14, Resulting Numbers: [46, 38, 14]
Generated Node #0,0: 70:[46, 38, 14] Operation: 73-59=14
Moving to Node #0,0
Current State: 70:[46, 38, 14], Operations: ['73-59=14']
Exploring Operation: 46-14=32, Resulting Numbers: [38, 32]
Generated Node #0,0,1: 70:[38, 32] Operation: 46-14=32
Moving to Node #0,0,1
Current State: 70:[38, 32], Operations: ['73-59=14', '46-14=32']
Exploring Operation: 38+32=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
59,
89,
65,
69
] | 14 | [
"59+89=148",
"65+69=134",
"148-134=14"
] | Current State: 14:[59, 89, 65, 69], Operations: []
Exploring Operation: 59+89=148, Resulting Numbers: [65, 69, 148]
Generated Node #2: [65, 69, 148] from Operation: 59+89=148
Current State: 14:[65, 69, 148], Operations: ['59+89=148']
Exploring Operation: 65+69=134, Resulting Numbers: [148, 134]
Generated Node #3: [148, 134] from Operation: 65+69=134
Current State: 14:[148, 134], Operations: ['59+89=148', '65+69=134']
Exploring Operation: 148-134=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[59, 89, 65, 69], Operations: []
Exploring Operation: 89-59=30, Resulting Numbers: [65, 69, 30]
Generated Node #0,0: 14:[65, 69, 30] Operation: 89-59=30
Exploring Operation: 69-65=4, Resulting Numbers: [59, 89, 4]
Generated Node #0,1: 14:[59, 89, 4] Operation: 69-65=4
Exploring Operation: 89-65=24, Resulting Numbers: [59, 69, 24]
Generated Node #0,2: 14:[59, 69, 24] Operation: 89-65=24
Exploring Operation: 69-59=10, Resulting Numbers: [89, 65, 10]
Generated Node #0,3: 14:[89, 65, 10] Operation: 69-59=10
Exploring Operation: 89-69=20, Resulting Numbers: [59, 65, 20]
Generated Node #0,4: 14:[59, 65, 20] Operation: 89-69=20
Start Sub Search at level 1: Moving to Node #0,4
Current State: 14:[59, 65, 20], Operations: ['89-69=20']
Exploring Operation: 59-20=39, Resulting Numbers: [65, 39]
Generated Node #0,4,0: 14:[65, 39] Operation: 59-20=39
Exploring Operation: 59+20=79, Resulting Numbers: [65, 79]
Generated Node #0,4,1: 14:[65, 79] Operation: 59+20=79
Exploring Operation: 65-59=6, Resulting Numbers: [20, 6]
Generated Node #0,4,2: 14:[20, 6] Operation: 65-59=6
Exploring Operation: 65-20=45, Resulting Numbers: [59, 45]
Generated Node #0,4,3: 14:[59, 45] Operation: 65-20=45
Exploring Operation: 59+65=124, Resulting Numbers: [20, 124]
Generated Node #0,4,4: 14:[20, 124] Operation: 59+65=124
Moving to Node #0,4,2
Current State: 14:[20, 6], Operations: ['89-69=20', '65-59=6']
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[59, 89, 65, 69], Operations: []
Exploring Operation: 89-69=20, Resulting Numbers: [59, 65, 20]
Generated Node #0,4: 14:[59, 65, 20] Operation: 89-69=20
Moving to Node #0,4
Current State: 14:[59, 65, 20], Operations: ['89-69=20']
Exploring Operation: 65-59=6, Resulting Numbers: [20, 6]
Generated Node #0,4,2: 14:[20, 6] Operation: 65-59=6
Moving to Node #0,4,2
Current State: 14:[20, 6], Operations: ['89-69=20', '65-59=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
1,
11,
22,
8
] | 11 | [
"11-1=10",
"10-8=2",
"22/2=11"
] | Current State: 11:[1, 11, 22, 8], Operations: []
Exploring Operation: 11-1=10, Resulting Numbers: [22, 8, 10]
Generated Node #2: [22, 8, 10] from Operation: 11-1=10
Current State: 11:[22, 8, 10], Operations: ['11-1=10']
Exploring Operation: 10-8=2, Resulting Numbers: [22, 2]
Generated Node #3: [22, 2] from Operation: 10-8=2
Current State: 11:[22, 2], Operations: ['11-1=10', '10-8=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[1, 11, 22, 8], Operations: []
Exploring Operation: 22-1=21, Resulting Numbers: [11, 8, 21]
Generated Node #0,0: 11:[11, 8, 21] Operation: 22-1=21
Exploring Operation: 1*11=11, Resulting Numbers: [22, 8, 11]
Generated Node #0,1: 11:[22, 8, 11] Operation: 1*11=11
Exploring Operation: 22-8=14, Resulting Numbers: [1, 11, 14]
Generated Node #0,2: 11:[1, 11, 14] Operation: 22-8=14
Exploring Operation: 22-11=11, Resulting Numbers: [1, 8, 11]
Generated Node #0,3: 11:[1, 8, 11] Operation: 22-11=11
Exploring Operation: 1+8=9, Resulting Numbers: [11, 22, 9]
Generated Node #0,4: 11:[11, 22, 9] Operation: 1+8=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[11, 8, 21], Operations: ['22-1=21']
Exploring Operation: 8+21=29, Resulting Numbers: [11, 29]
Generated Node #0,0,0: 11:[11, 29] Operation: 8+21=29
Exploring Operation: 21-11=10, Resulting Numbers: [8, 10]
Generated Node #0,0,1: 11:[8, 10] Operation: 21-11=10
Exploring Operation: 21-8=13, Resulting Numbers: [11, 13]
Generated Node #0,0,2: 11:[11, 13] Operation: 21-8=13
Exploring Operation: 11+8=19, Resulting Numbers: [21, 19]
Generated Node #0,0,3: 11:[21, 19] Operation: 11+8=19
Exploring Operation: 11-8=3, Resulting Numbers: [21, 3]
Generated Node #0,0,4: 11:[21, 3] Operation: 11-8=3
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 11:[11, 13], Operations: ['22-1=21', '21-8=13']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,11 unequal: No Solution
No 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: 11:[8, 10], Operations: ['22-1=21', '21-11=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,11 unequal: No Solution
No 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: 11:[11, 29], Operations: ['22-1=21', '8+21=29']
Exploring Operation: 11*29=319, Resulting Numbers: [319]
319,11 unequal: No Solution
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 11+29=40, Resulting Numbers: [40]
40,11 unequal: No Solution
No 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: 11:[21, 19], Operations: ['22-1=21', '11+8=19']
Exploring Operation: 21*19=399, Resulting Numbers: [399]
399,11 unequal: No Solution
Exploring Operation: 21+19=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 11:[21, 3], Operations: ['22-1=21', '11-8=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,11 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,11 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,11 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: 11:[1, 11, 14], Operations: ['22-8=14']
Exploring Operation: 1*11=11, Resulting Numbers: [14, 11]
Generated Node #0,2,0: 11:[14, 11] Operation: 1*11=11
Exploring Operation: 14-1=13, Resulting Numbers: [11, 13]
Generated Node #0,2,1: 11:[11, 13] Operation: 14-1=13
Exploring Operation: 14/1=14, Resulting Numbers: [11, 14]
Generated Node #0,2,2: 11:[11, 14] Operation: 14/1=14
Exploring Operation: 11/1=11, Resulting Numbers: [14, 11]
Generated Node #0,2,3: 11:[14, 11] Operation: 11/1=11
Exploring Operation: 1*14=14, Resulting Numbers: [11, 14]
Generated Node #0,2,4: 11:[11, 14] Operation: 1*14=14
Moving to Node #0,2,1
Current State: 11:[11, 13], Operations: ['22-8=14', '14-1=13']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[11, 14], Operations: ['22-8=14', '14/1=14']
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,11 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Moving to Node #0,2,4
Current State: 11:[11, 14], Operations: ['22-8=14', '1*14=14']
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,11 unequal: No Solution
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[14, 11], Operations: ['22-8=14', '1*11=11']
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,11 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Moving to Node #0,2,3
Current State: 11:[14, 11], Operations: ['22-8=14', '11/1=11']
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,11 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 11:[1, 8, 11], Operations: ['22-11=11']
Exploring Operation: 11/1=11, Resulting Numbers: [8, 11]
Generated Node #0,3,0: 11:[8, 11] Operation: 11/1=11
Exploring Operation: 1*11=11, Resulting Numbers: [8, 11]
Generated Node #0,3,1: 11:[8, 11] Operation: 1*11=11
Exploring Operation: 8/1=8, Resulting Numbers: [11, 8]
Generated Node #0,3,2: 11:[11, 8] Operation: 8/1=8
Exploring Operation: 1*8=8, Resulting Numbers: [11, 8]
Generated Node #0,3,3: 11:[11, 8] Operation: 1*8=8
Exploring Operation: 1+8=9, Resulting Numbers: [11, 9]
Generated Node #0,3,4: 11:[11, 9] Operation: 1+8=9
Moving to Node #0,3,4
Current State: 11:[11, 9], Operations: ['22-11=11', '1+8=9']
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,11 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Moving to Node #0,3,1
Current State: 11:[8, 11], Operations: ['22-11=11', '1*11=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,11 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,11 unequal: No Solution
Moving to Node #0,3,3
Current State: 11:[11, 8], Operations: ['22-11=11', '1*8=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,11 unequal: No Solution
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,11 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Moving to Node #0,3,0
Current State: 11:[8, 11], Operations: ['22-11=11', '11/1=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,11 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,11 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Moving to Node #0,3,2
Current State: 11:[11, 8], Operations: ['22-11=11', '8/1=8']
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,11 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 11:[11, 22, 9], Operations: ['1+8=9']
Exploring Operation: 22/11=2, Resulting Numbers: [9, 2]
Generated Node #0,4,0: 11:[9, 2] Operation: 22/11=2
Exploring Operation: 11-9=2, Resulting Numbers: [22, 2]
Generated Node #0,4,1: 11:[22, 2] Operation: 11-9=2
Exploring Operation: 22-9=13, Resulting Numbers: [11, 13]
Generated Node #0,4,2: 11:[11, 13] Operation: 22-9=13
Exploring Operation: 11+9=20, Resulting Numbers: [22, 20]
Generated Node #0,4,3: 11:[22, 20] Operation: 11+9=20
Exploring Operation: 22-11=11, Resulting Numbers: [9, 11]
Generated Node #0,4,4: 11:[9, 11] Operation: 22-11=11
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 11:[11, 13], Operations: ['1+8=9', '22-9=13']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,11 unequal: No Solution
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,11 unequal: No Solution
No 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: 11:[9, 11], Operations: ['1+8=9', '22-11=11']
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,11 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,11 unequal: No Solution
No 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: 11:[9, 2], Operations: ['1+8=9', '22/11=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[1, 11, 22, 8], Operations: []
Exploring Operation: 1+8=9, Resulting Numbers: [11, 22, 9]
Generated Node #0,4: 11:[11, 22, 9] Operation: 1+8=9
Moving to Node #0,4
Current State: 11:[11, 22, 9], Operations: ['1+8=9']
Exploring Operation: 22/11=2, Resulting Numbers: [9, 2]
Generated Node #0,4,0: 11:[9, 2] Operation: 22/11=2
Moving to Node #0,4,0
Current State: 11:[9, 2], Operations: ['1+8=9', '22/11=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.928819 | hs_5 | mult_heuristic |
[
13,
43,
97,
76
] | 77 | [
"13+43=56",
"97-76=21",
"56+21=77"
] | Current State: 77:[13, 43, 97, 76], Operations: []
Exploring Operation: 13+43=56, Resulting Numbers: [97, 76, 56]
Generated Node #2: [97, 76, 56] from Operation: 13+43=56
Current State: 77:[97, 76, 56], Operations: ['13+43=56']
Exploring Operation: 97-76=21, Resulting Numbers: [56, 21]
Generated Node #3: [56, 21] from Operation: 97-76=21
Current State: 77:[56, 21], Operations: ['13+43=56', '97-76=21']
Exploring Operation: 56+21=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[13, 43, 97, 76], Operations: []
Exploring Operation: 13+43=56, Resulting Numbers: [97, 76, 56]
Generated Node #0,0: 77:[97, 76, 56] Operation: 13+43=56
Exploring Operation: 76-43=33, Resulting Numbers: [13, 97, 33]
Generated Node #0,1: 77:[13, 97, 33] Operation: 76-43=33
Exploring Operation: 97-43=54, Resulting Numbers: [13, 76, 54]
Generated Node #0,2: 77:[13, 76, 54] Operation: 97-43=54
Exploring Operation: 97-13=84, Resulting Numbers: [43, 76, 84]
Generated Node #0,3: 77:[43, 76, 84] Operation: 97-13=84
Exploring Operation: 43-13=30, Resulting Numbers: [97, 76, 30]
Generated Node #0,4: 77:[97, 76, 30] Operation: 43-13=30
Moving to Node #0,2
Current State: 77:[13, 76, 54], Operations: ['97-43=54']
Exploring Operation: 76-54=22, Resulting Numbers: [13, 22]
Generated Node #0,2,0: 77:[13, 22] Operation: 76-54=22
Exploring Operation: 76-13=63, Resulting Numbers: [54, 63]
Generated Node #0,2,1: 77:[54, 63] Operation: 76-13=63
Exploring Operation: 54-13=41, Resulting Numbers: [76, 41]
Generated Node #0,2,2: 77:[76, 41] Operation: 54-13=41
Exploring Operation: 13+76=89, Resulting Numbers: [54, 89]
Generated Node #0,2,3: 77:[54, 89] Operation: 13+76=89
Exploring Operation: 13+54=67, Resulting Numbers: [76, 67]
Generated Node #0,2,4: 77:[76, 67] Operation: 13+54=67
Moving to Node #0,4
Current State: 77:[97, 76, 30], Operations: ['43-13=30']
Exploring Operation: 97+30=127, Resulting Numbers: [76, 127]
Generated Node #0,4,0: 77:[76, 127] Operation: 97+30=127
Exploring Operation: 97-76=21, Resulting Numbers: [30, 21]
Generated Node #0,4,1: 77:[30, 21] Operation: 97-76=21
Exploring Operation: 76-30=46, Resulting Numbers: [97, 46]
Generated Node #0,4,2: 77:[97, 46] Operation: 76-30=46
Exploring Operation: 97-30=67, Resulting Numbers: [76, 67]
Generated Node #0,4,3: 77:[76, 67] Operation: 97-30=67
Exploring Operation: 76+30=106, Resulting Numbers: [97, 106]
Generated Node #0,4,4: 77:[97, 106] Operation: 76+30=106
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 77:[76, 67], Operations: ['43-13=30', '97-30=67']
Exploring Operation: 76-67=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 76+67=143, Resulting Numbers: [143]
143,77 unequal: No Solution
Exploring Operation: 76*67=5092, Resulting Numbers: [5092]
5092,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 77:[30, 21], Operations: ['43-13=30', '97-76=21']
Exploring Operation: 30*21=630, Resulting Numbers: [630]
630,77 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 30+21=51, Resulting Numbers: [51]
51,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 77:[97, 106], Operations: ['43-13=30', '76+30=106']
Exploring Operation: 106-97=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 97*106=10282, Resulting Numbers: [10282]
10282,77 unequal: No Solution
Exploring Operation: 97+106=203, Resulting Numbers: [203]
203,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 77:[76, 127], Operations: ['43-13=30', '97+30=127']
Exploring Operation: 127-76=51, Resulting Numbers: [51]
51,77 unequal: No Solution
Exploring Operation: 76+127=203, Resulting Numbers: [203]
203,77 unequal: No Solution
Exploring Operation: 76*127=9652, Resulting Numbers: [9652]
9652,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 77:[97, 46], Operations: ['43-13=30', '76-30=46']
Exploring Operation: 97+46=143, Resulting Numbers: [143]
143,77 unequal: No Solution
Exploring Operation: 97-46=51, Resulting Numbers: [51]
51,77 unequal: No Solution
Exploring Operation: 97*46=4462, Resulting Numbers: [4462]
4462,77 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: 77:[43, 76, 84], Operations: ['97-13=84']
Exploring Operation: 84-76=8, Resulting Numbers: [43, 8]
Generated Node #0,3,0: 77:[43, 8] Operation: 84-76=8
Exploring Operation: 76-43=33, Resulting Numbers: [84, 33]
Generated Node #0,3,1: 77:[84, 33] Operation: 76-43=33
Exploring Operation: 43+84=127, Resulting Numbers: [76, 127]
Generated Node #0,3,2: 77:[76, 127] Operation: 43+84=127
Exploring Operation: 84-43=41, Resulting Numbers: [76, 41]
Generated Node #0,3,3: 77:[76, 41] Operation: 84-43=41
Exploring Operation: 43+76=119, Resulting Numbers: [84, 119]
Generated Node #0,3,4: 77:[84, 119] Operation: 43+76=119
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 77:[84, 33], Operations: ['97-13=84', '76-43=33']
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,77 unequal: No Solution
Exploring Operation: 84+33=117, Resulting Numbers: [117]
117,77 unequal: No Solution
Exploring Operation: 84*33=2772, Resulting Numbers: [2772]
2772,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 77:[76, 41], Operations: ['97-13=84', '84-43=41']
Exploring Operation: 76-41=35, Resulting Numbers: [35]
35,77 unequal: No Solution
Exploring Operation: 76*41=3116, Resulting Numbers: [3116]
3116,77 unequal: No Solution
Exploring Operation: 76+41=117, Resulting Numbers: [117]
117,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 77:[43, 8], Operations: ['97-13=84', '84-76=8']
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,77 unequal: No Solution
Exploring Operation: 43+8=51, Resulting Numbers: [51]
51,77 unequal: No Solution
Exploring Operation: 43*8=344, Resulting Numbers: [344]
344,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 77:[84, 119], Operations: ['97-13=84', '43+76=119']
Exploring Operation: 84*119=9996, Resulting Numbers: [9996]
9996,77 unequal: No Solution
Exploring Operation: 84+119=203, Resulting Numbers: [203]
203,77 unequal: No Solution
Exploring Operation: 119-84=35, Resulting Numbers: [35]
35,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 77:[76, 127], Operations: ['97-13=84', '43+84=127']
Exploring Operation: 76+127=203, Resulting Numbers: [203]
203,77 unequal: No Solution
Exploring Operation: 127-76=51, Resulting Numbers: [51]
51,77 unequal: No Solution
Exploring Operation: 76*127=9652, Resulting Numbers: [9652]
9652,77 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: 77:[97, 76, 56], Operations: ['13+43=56']
Exploring Operation: 97-76=21, Resulting Numbers: [56, 21]
Generated Node #0,0,0: 77:[56, 21] Operation: 97-76=21
Exploring Operation: 97+56=153, Resulting Numbers: [76, 153]
Generated Node #0,0,1: 77:[76, 153] Operation: 97+56=153
Exploring Operation: 97-56=41, Resulting Numbers: [76, 41]
Generated Node #0,0,2: 77:[76, 41] Operation: 97-56=41
Exploring Operation: 76-56=20, Resulting Numbers: [97, 20]
Generated Node #0,0,3: 77:[97, 20] Operation: 76-56=20
Exploring Operation: 76+56=132, Resulting Numbers: [97, 132]
Generated Node #0,0,4: 77:[97, 132] Operation: 76+56=132
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 77:[97, 20], Operations: ['13+43=56', '76-56=20']
Exploring Operation: 97-20=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[13, 43, 97, 76], Operations: []
Exploring Operation: 13+43=56, Resulting Numbers: [97, 76, 56]
Generated Node #0,0: 77:[97, 76, 56] Operation: 13+43=56
Moving to Node #0,0
Current State: 77:[97, 76, 56], Operations: ['13+43=56']
Exploring Operation: 76-56=20, Resulting Numbers: [97, 20]
Generated Node #0,0,3: 77:[97, 20] Operation: 76-56=20
Moving to Node #0,0,3
Current State: 77:[97, 20], Operations: ['13+43=56', '76-56=20']
Exploring Operation: 97-20=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.947917 | hs_5 | sum_heuristic |
[
69,
37,
70,
2
] | 18 | [
"69+37=106",
"106-70=36",
"36/2=18"
] | Current State: 18:[69, 37, 70, 2], Operations: []
Exploring Operation: 69+37=106, Resulting Numbers: [70, 2, 106]
Generated Node #2: [70, 2, 106] from Operation: 69+37=106
Current State: 18:[70, 2, 106], Operations: ['69+37=106']
Exploring Operation: 106-70=36, Resulting Numbers: [2, 36]
Generated Node #3: [2, 36] from Operation: 106-70=36
Current State: 18:[2, 36], Operations: ['69+37=106', '106-70=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[69, 37, 70, 2], Operations: []
Exploring Operation: 70-37=33, Resulting Numbers: [69, 2, 33]
Generated Node #0,0: 18:[69, 2, 33] Operation: 70-37=33
Exploring Operation: 70-69=1, Resulting Numbers: [37, 2, 1]
Generated Node #0,1: 18:[37, 2, 1] Operation: 70-69=1
Exploring Operation: 69-37=32, Resulting Numbers: [70, 2, 32]
Generated Node #0,2: 18:[70, 2, 32] Operation: 69-37=32
Moving to Node #0,1
Current State: 18:[37, 2, 1], Operations: ['70-69=1']
Exploring Operation: 37*1=37, Resulting Numbers: [2, 37]
Generated Node #0,1,0: 18:[2, 37] Operation: 37*1=37
Exploring Operation: 37-1=36, Resulting Numbers: [2, 36]
Generated Node #0,1,1: 18:[2, 36] Operation: 37-1=36
Exploring Operation: 37-2=35, Resulting Numbers: [1, 35]
Generated Node #0,1,2: 18:[1, 35] Operation: 37-2=35
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[2, 36], Operations: ['70-69=1', '37-1=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[69, 37, 70, 2], Operations: []
Exploring Operation: 70-69=1, Resulting Numbers: [37, 2, 1]
Generated Node #0,1: 18:[37, 2, 1] Operation: 70-69=1
Moving to Node #0,1
Current State: 18:[37, 2, 1], Operations: ['70-69=1']
Exploring Operation: 37-1=36, Resulting Numbers: [2, 36]
Generated Node #0,1,1: 18:[2, 36] Operation: 37-1=36
Moving to Node #0,1,1
Current State: 18:[2, 36], Operations: ['70-69=1', '37-1=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
54,
6,
18,
49
] | 51 | [
"54/6=9",
"18/9=2",
"49+2=51"
] | Current State: 51:[54, 6, 18, 49], Operations: []
Exploring Operation: 54/6=9, Resulting Numbers: [18, 49, 9]
Generated Node #2: [18, 49, 9] from Operation: 54/6=9
Current State: 51:[18, 49, 9], Operations: ['54/6=9']
Exploring Operation: 18/9=2, Resulting Numbers: [49, 2]
Generated Node #3: [49, 2] from Operation: 18/9=2
Current State: 51:[49, 2], Operations: ['54/6=9', '18/9=2']
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[54, 6, 18, 49], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [6, 49, 3]
Generated Node #0,0: 51:[6, 49, 3] Operation: 54/18=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[6, 49, 3], Operations: ['54/18=3']
Exploring Operation: 6-3=3, Resulting Numbers: [49, 3]
Generated Node #0,0,0: 51:[49, 3] Operation: 6-3=3
Moving to Node #0,0,0
Current State: 51:[49, 3], Operations: ['54/18=3', '6-3=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
7,
26,
9,
47
] | 10 | [
"7*9=63",
"26+47=73",
"73-63=10"
] | Current State: 10:[7, 26, 9, 47], Operations: []
Exploring Operation: 7*9=63, Resulting Numbers: [26, 47, 63]
Generated Node #2: [26, 47, 63] from Operation: 7*9=63
Current State: 10:[26, 47, 63], Operations: ['7*9=63']
Exploring Operation: 26+47=73, Resulting Numbers: [63, 73]
Generated Node #3: [63, 73] from Operation: 26+47=73
Current State: 10:[63, 73], Operations: ['7*9=63', '26+47=73']
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[7, 26, 9, 47], Operations: []
Exploring Operation: 47-9=38, Resulting Numbers: [7, 26, 38]
Generated Node #0,0: 10:[7, 26, 38] Operation: 47-9=38
Exploring Operation: 47-26=21, Resulting Numbers: [7, 9, 21]
Generated Node #0,1: 10:[7, 9, 21] Operation: 47-26=21
Exploring Operation: 26-9=17, Resulting Numbers: [7, 47, 17]
Generated Node #0,2: 10:[7, 47, 17] Operation: 26-9=17
Exploring Operation: 26-7=19, Resulting Numbers: [9, 47, 19]
Generated Node #0,3: 10:[9, 47, 19] Operation: 26-7=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[7, 9, 21], Operations: ['47-26=21']
Exploring Operation: 21-9=12, Resulting Numbers: [7, 12]
Generated Node #0,1,0: 10:[7, 12] Operation: 21-9=12
Exploring Operation: 21-7=14, Resulting Numbers: [9, 14]
Generated Node #0,1,1: 10:[9, 14] Operation: 21-7=14
Exploring Operation: 21/7=3, Resulting Numbers: [9, 3]
Generated Node #0,1,2: 10:[9, 3] Operation: 21/7=3
Exploring Operation: 9-7=2, Resulting Numbers: [21, 2]
Generated Node #0,1,3: 10:[21, 2] Operation: 9-7=2
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 10:[9, 3], Operations: ['47-26=21', '21/7=3']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,10 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[7, 12], Operations: ['47-26=21', '21-9=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 10:[9, 14], Operations: ['47-26=21', '21-7=14']
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 10:[21, 2], Operations: ['47-26=21', '9-7=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[7, 26, 38], Operations: ['47-9=38']
Exploring Operation: 38-26=12, Resulting Numbers: [7, 12]
Generated Node #0,0,0: 10:[7, 12] Operation: 38-26=12
Exploring Operation: 26-7=19, Resulting Numbers: [38, 19]
Generated Node #0,0,1: 10:[38, 19] Operation: 26-7=19
Exploring Operation: 7+26=33, Resulting Numbers: [38, 33]
Generated Node #0,0,2: 10:[38, 33] Operation: 7+26=33
Exploring Operation: 38-7=31, Resulting Numbers: [26, 31]
Generated Node #0,0,3: 10:[26, 31] Operation: 38-7=31
Moving to Node #0,0,0
Current State: 10:[7, 12], Operations: ['47-9=38', '38-26=12']
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[26, 31], Operations: ['47-9=38', '38-7=31']
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 26*31=806, Resulting Numbers: [806]
806,10 unequal: No Solution
Exploring Operation: 26+31=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[38, 19], Operations: ['47-9=38', '26-7=19']
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 38+19=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Exploring Operation: 38*19=722, Resulting Numbers: [722]
722,10 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[38, 33], Operations: ['47-9=38', '7+26=33']
Exploring Operation: 38+33=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 38*33=1254, Resulting Numbers: [1254]
1254,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[7, 47, 17], Operations: ['26-9=17']
Exploring Operation: 17-7=10, Resulting Numbers: [47, 10]
Generated Node #0,2,0: 10:[47, 10] Operation: 17-7=10
Exploring Operation: 47-17=30, Resulting Numbers: [7, 30]
Generated Node #0,2,1: 10:[7, 30] Operation: 47-17=30
Exploring Operation: 47-7=40, Resulting Numbers: [17, 40]
Generated Node #0,2,2: 10:[17, 40] Operation: 47-7=40
Exploring Operation: 7+47=54, Resulting Numbers: [17, 54]
Generated Node #0,2,3: 10:[17, 54] Operation: 7+47=54
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 10:[7, 30], Operations: ['26-9=17', '47-17=30']
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,10 unequal: No Solution
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 10:[47, 10], Operations: ['26-9=17', '17-7=10']
Exploring Operation: 47*10=470, Resulting Numbers: [470]
470,10 unequal: No Solution
Exploring Operation: 47+10=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 10:[17, 40], Operations: ['26-9=17', '47-7=40']
Exploring Operation: 17*40=680, Resulting Numbers: [680]
680,10 unequal: No Solution
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 10:[17, 54], Operations: ['26-9=17', '7+47=54']
Exploring Operation: 17*54=918, Resulting Numbers: [918]
918,10 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 17+54=71, Resulting Numbers: [71]
71,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 10:[9, 47, 19], Operations: ['26-7=19']
Exploring Operation: 47-9=38, Resulting Numbers: [19, 38]
Generated Node #0,3,0: 10:[19, 38] Operation: 47-9=38
Exploring Operation: 47-19=28, Resulting Numbers: [9, 28]
Generated Node #0,3,1: 10:[9, 28] Operation: 47-19=28
Exploring Operation: 19-9=10, Resulting Numbers: [47, 10]
Generated Node #0,3,2: 10:[47, 10] Operation: 19-9=10
Exploring Operation: 9+47=56, Resulting Numbers: [19, 56]
Generated Node #0,3,3: 10:[19, 56] Operation: 9+47=56
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 10:[9, 28], Operations: ['26-7=19', '47-19=28']
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 10:[19, 38], Operations: ['26-7=19', '47-9=38']
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 19*38=722, Resulting Numbers: [722]
722,10 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 10:[47, 10], Operations: ['26-7=19', '19-9=10']
Exploring Operation: 47+10=57, Resulting Numbers: [57]
57,10 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 47*10=470, Resulting Numbers: [470]
470,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 10:[19, 56], Operations: ['26-7=19', '9+47=56']
Exploring Operation: 19+56=75, Resulting Numbers: [75]
75,10 unequal: No Solution
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 19*56=1064, Resulting Numbers: [1064]
1064,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
15,
42,
23,
32
] | 28 | [
"42-15=27",
"23+32=55",
"55-27=28"
] | Current State: 28:[15, 42, 23, 32], Operations: []
Exploring Operation: 42-15=27, Resulting Numbers: [23, 32, 27]
Generated Node #2: [23, 32, 27] from Operation: 42-15=27
Current State: 28:[23, 32, 27], Operations: ['42-15=27']
Exploring Operation: 23+32=55, Resulting Numbers: [27, 55]
Generated Node #3: [27, 55] from Operation: 23+32=55
Current State: 28:[27, 55], Operations: ['42-15=27', '23+32=55']
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[15, 42, 23, 32], Operations: []
Exploring Operation: 42-23=19, Resulting Numbers: [15, 32, 19]
Generated Node #0,0: 28:[15, 32, 19] Operation: 42-23=19
Exploring Operation: 42-15=27, Resulting Numbers: [23, 32, 27]
Generated Node #0,1: 28:[23, 32, 27] Operation: 42-15=27
Exploring Operation: 42-32=10, Resulting Numbers: [15, 23, 10]
Generated Node #0,2: 28:[15, 23, 10] Operation: 42-32=10
Moving to Node #0,2
Current State: 28:[15, 23, 10], Operations: ['42-32=10']
Exploring Operation: 23-10=13, Resulting Numbers: [15, 13]
Generated Node #0,2,0: 28:[15, 13] Operation: 23-10=13
Exploring Operation: 23-15=8, Resulting Numbers: [10, 8]
Generated Node #0,2,1: 28:[10, 8] Operation: 23-15=8
Exploring Operation: 15-10=5, Resulting Numbers: [23, 5]
Generated Node #0,2,2: 28:[23, 5] Operation: 15-10=5
Moving to Node #0,0
Current State: 28:[15, 32, 19], Operations: ['42-23=19']
Exploring Operation: 32-19=13, Resulting Numbers: [15, 13]
Generated Node #0,0,0: 28:[15, 13] Operation: 32-19=13
Exploring Operation: 32-15=17, Resulting Numbers: [19, 17]
Generated Node #0,0,1: 28:[19, 17] Operation: 32-15=17
Exploring Operation: 19-15=4, Resulting Numbers: [32, 4]
Generated Node #0,0,2: 28:[32, 4] Operation: 19-15=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[15, 13], Operations: ['42-23=19', '32-19=13']
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,28 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[15, 42, 23, 32], Operations: []
Exploring Operation: 42-23=19, Resulting Numbers: [15, 32, 19]
Generated Node #0,0: 28:[15, 32, 19] Operation: 42-23=19
Moving to Node #0,0
Current State: 28:[15, 32, 19], Operations: ['42-23=19']
Exploring Operation: 32-19=13, Resulting Numbers: [15, 13]
Generated Node #0,0,0: 28:[15, 13] Operation: 32-19=13
Moving to Node #0,0,0
Current State: 28:[15, 13], Operations: ['42-23=19', '32-19=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
80,
10,
96,
71
] | 59 | [
"80/10=8",
"96/8=12",
"71-12=59"
] | Current State: 59:[80, 10, 96, 71], Operations: []
Exploring Operation: 80/10=8, Resulting Numbers: [96, 71, 8]
Generated Node #2: [96, 71, 8] from Operation: 80/10=8
Current State: 59:[96, 71, 8], Operations: ['80/10=8']
Exploring Operation: 96/8=12, Resulting Numbers: [71, 12]
Generated Node #3: [71, 12] from Operation: 96/8=12
Current State: 59:[71, 12], Operations: ['80/10=8', '96/8=12']
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[80, 10, 96, 71], Operations: []
Exploring Operation: 96-10=86, Resulting Numbers: [80, 71, 86]
Generated Node #0,0: 59:[80, 71, 86] Operation: 96-10=86
Exploring Operation: 71-10=61, Resulting Numbers: [80, 96, 61]
Generated Node #0,1: 59:[80, 96, 61] Operation: 71-10=61
Exploring Operation: 80+10=90, Resulting Numbers: [96, 71, 90]
Generated Node #0,2: 59:[96, 71, 90] Operation: 80+10=90
Exploring Operation: 80-10=70, Resulting Numbers: [96, 71, 70]
Generated Node #0,3: 59:[96, 71, 70] Operation: 80-10=70
Moving to Node #0,0
Current State: 59:[80, 71, 86], Operations: ['96-10=86']
Exploring Operation: 86-71=15, Resulting Numbers: [80, 15]
Generated Node #0,0,0: 59:[80, 15] Operation: 86-71=15
Exploring Operation: 80+71=151, Resulting Numbers: [86, 151]
Generated Node #0,0,1: 59:[86, 151] Operation: 80+71=151
Exploring Operation: 80-71=9, Resulting Numbers: [86, 9]
Generated Node #0,0,2: 59:[86, 9] Operation: 80-71=9
Exploring Operation: 86-80=6, Resulting Numbers: [71, 6]
Generated Node #0,0,3: 59:[71, 6] Operation: 86-80=6
Moving to Node #0,3
Current State: 59:[96, 71, 70], Operations: ['80-10=70']
Exploring Operation: 96+71=167, Resulting Numbers: [70, 167]
Generated Node #0,3,0: 59:[70, 167] Operation: 96+71=167
Exploring Operation: 96-71=25, Resulting Numbers: [70, 25]
Generated Node #0,3,1: 59:[70, 25] Operation: 96-71=25
Exploring Operation: 71-70=1, Resulting Numbers: [96, 1]
Generated Node #0,3,2: 59:[96, 1] Operation: 71-70=1
Exploring Operation: 96-70=26, Resulting Numbers: [71, 26]
Generated Node #0,3,3: 59:[71, 26] Operation: 96-70=26
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 59:[70, 25], Operations: ['80-10=70', '96-71=25']
Exploring Operation: 70-25=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 70+25=95, Resulting Numbers: [95]
95,59 unequal: No Solution
Exploring Operation: 70*25=1750, Resulting Numbers: [1750]
1750,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 59:[71, 26], Operations: ['80-10=70', '96-70=26']
Exploring Operation: 71*26=1846, Resulting Numbers: [1846]
1846,59 unequal: No Solution
Exploring Operation: 71+26=97, Resulting Numbers: [97]
97,59 unequal: No Solution
Exploring Operation: 71-26=45, Resulting Numbers: [45]
45,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 59:[96, 1], Operations: ['80-10=70', '71-70=1']
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,59 unequal: No Solution
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,59 unequal: No Solution
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,59 unequal: No Solution
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 59:[70, 167], Operations: ['80-10=70', '96+71=167']
Exploring Operation: 167-70=97, Resulting Numbers: [97]
97,59 unequal: No Solution
Exploring Operation: 70*167=11690, Resulting Numbers: [11690]
11690,59 unequal: No Solution
Exploring Operation: 70+167=237, Resulting Numbers: [237]
237,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 59:[80, 96, 61], Operations: ['71-10=61']
Exploring Operation: 96-61=35, Resulting Numbers: [80, 35]
Generated Node #0,1,0: 59:[80, 35] Operation: 96-61=35
Exploring Operation: 96-80=16, Resulting Numbers: [61, 16]
Generated Node #0,1,1: 59:[61, 16] Operation: 96-80=16
Exploring Operation: 80+96=176, Resulting Numbers: [61, 176]
Generated Node #0,1,2: 59:[61, 176] Operation: 80+96=176
Exploring Operation: 80-61=19, Resulting Numbers: [96, 19]
Generated Node #0,1,3: 59:[96, 19] Operation: 80-61=19
Moving to Node #0,2
Current State: 59:[96, 71, 90], Operations: ['80+10=90']
Exploring Operation: 90-71=19, Resulting Numbers: [96, 19]
Generated Node #0,2,0: 59:[96, 19] Operation: 90-71=19
Exploring Operation: 96-71=25, Resulting Numbers: [90, 25]
Generated Node #0,2,1: 59:[90, 25] Operation: 96-71=25
Exploring Operation: 96-90=6, Resulting Numbers: [71, 6]
Generated Node #0,2,2: 59:[71, 6] Operation: 96-90=6
Exploring Operation: 96+71=167, Resulting Numbers: [90, 167]
Generated Node #0,2,3: 59:[90, 167] Operation: 96+71=167
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 59:[90, 25], Operations: ['80+10=90', '96-71=25']
Exploring Operation: 90-25=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Exploring Operation: 90*25=2250, Resulting Numbers: [2250]
2250,59 unequal: No Solution
Exploring Operation: 90+25=115, Resulting Numbers: [115]
115,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 59:[71, 6], Operations: ['80+10=90', '96-90=6']
Exploring Operation: 71+6=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Exploring Operation: 71*6=426, Resulting Numbers: [426]
426,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[96, 19], Operations: ['80+10=90', '90-71=19']
Exploring Operation: 96+19=115, Resulting Numbers: [115]
115,59 unequal: No Solution
Exploring Operation: 96-19=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 96*19=1824, Resulting Numbers: [1824]
1824,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 59:[90, 167], Operations: ['80+10=90', '96+71=167']
Exploring Operation: 90*167=15030, Resulting Numbers: [15030]
15030,59 unequal: No Solution
Exploring Operation: 90+167=257, Resulting Numbers: [257]
257,59 unequal: No Solution
Exploring Operation: 167-90=77, Resulting Numbers: [77]
77,59 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: 59:[80, 35], Operations: ['71-10=61', '96-61=35']
Exploring Operation: 80+35=115, Resulting Numbers: [115]
115,59 unequal: No Solution
Exploring Operation: 80*35=2800, Resulting Numbers: [2800]
2800,59 unequal: No Solution
Exploring Operation: 80-35=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[61, 16], Operations: ['71-10=61', '96-80=16']
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 61+16=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 61*16=976, Resulting Numbers: [976]
976,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[80, 15], Operations: ['96-10=86', '86-71=15']
Exploring Operation: 80*15=1200, Resulting Numbers: [1200]
1200,59 unequal: No Solution
Exploring Operation: 80+15=95, Resulting Numbers: [95]
95,59 unequal: No Solution
Exploring Operation: 80-15=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[71, 6], Operations: ['96-10=86', '86-80=6']
Exploring Operation: 71*6=426, Resulting Numbers: [426]
426,59 unequal: No Solution
Exploring Operation: 71+6=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[96, 19], Operations: ['71-10=61', '80-61=19']
Exploring Operation: 96-19=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 96+19=115, Resulting Numbers: [115]
115,59 unequal: No Solution
Exploring Operation: 96*19=1824, Resulting Numbers: [1824]
1824,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[86, 9], Operations: ['96-10=86', '80-71=9']
Exploring Operation: 86+9=95, Resulting Numbers: [95]
95,59 unequal: No Solution
Exploring Operation: 86*9=774, Resulting Numbers: [774]
774,59 unequal: No Solution
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[86, 151], Operations: ['96-10=86', '80+71=151']
Exploring Operation: 86+151=237, Resulting Numbers: [237]
237,59 unequal: No Solution
Exploring Operation: 151-86=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Exploring Operation: 86*151=12986, Resulting Numbers: [12986]
12986,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[61, 176], Operations: ['71-10=61', '80+96=176']
Exploring Operation: 61+176=237, Resulting Numbers: [237]
237,59 unequal: No Solution
Exploring Operation: 61*176=10736, Resulting Numbers: [10736]
10736,59 unequal: No Solution
Exploring Operation: 176-61=115, Resulting Numbers: [115]
115,59 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
4,
48,
32,
80
] | 76 | [
"48-32=16",
"16/4=4",
"80-4=76"
] | Current State: 76:[4, 48, 32, 80], Operations: []
Exploring Operation: 48-32=16, Resulting Numbers: [4, 80, 16]
Generated Node #2: [4, 80, 16] from Operation: 48-32=16
Current State: 76:[4, 80, 16], Operations: ['48-32=16']
Exploring Operation: 16/4=4, Resulting Numbers: [80, 4]
Generated Node #3: [80, 4] from Operation: 16/4=4
Current State: 76:[80, 4], Operations: ['48-32=16', '16/4=4']
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[4, 48, 32, 80], Operations: []
Exploring Operation: 48+32=80, Resulting Numbers: [4, 80, 80]
Generated Node #0,0: 76:[4, 80, 80] Operation: 48+32=80
Exploring Operation: 48-32=16, Resulting Numbers: [4, 80, 16]
Generated Node #0,1: 76:[4, 80, 16] Operation: 48-32=16
Moving to Node #0,1
Current State: 76:[4, 80, 16], Operations: ['48-32=16']
Exploring Operation: 80/16=5, Resulting Numbers: [4, 5]
Generated Node #0,1,0: 76:[4, 5] Operation: 80/16=5
Exploring Operation: 80-4=76, Resulting Numbers: [16, 76]
Generated Node #0,1,1: 76:[16, 76] Operation: 80-4=76
Moving to Node #0,0
Current State: 76:[4, 80, 80], Operations: ['48+32=80']
Exploring Operation: 80-80=0, Resulting Numbers: [4, 0]
Generated Node #0,0,0: 76:[4, 0] Operation: 80-80=0
Exploring Operation: 80/80=1, Resulting Numbers: [4, 1]
Generated Node #0,0,1: 76:[4, 1] Operation: 80/80=1
Moving to Node #0,1,0
Current State: 76:[4, 5], Operations: ['48-32=16', '80/16=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[4, 1], Operations: ['48+32=80', '80/80=1']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[4, 0], Operations: ['48+32=80', '80-80=0']
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[16, 76], Operations: ['48-32=16', '80-4=76']
Exploring Operation: 76-16=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 16+76=92, Resulting Numbers: [92]
92,76 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
86,
9,
14,
83
] | 51 | [
"86-83=3",
"14*3=42",
"9+42=51"
] | Current State: 51:[86, 9, 14, 83], Operations: []
Exploring Operation: 86-83=3, Resulting Numbers: [9, 14, 3]
Generated Node #2: [9, 14, 3] from Operation: 86-83=3
Current State: 51:[9, 14, 3], Operations: ['86-83=3']
Exploring Operation: 14*3=42, Resulting Numbers: [9, 42]
Generated Node #3: [9, 42] from Operation: 14*3=42
Current State: 51:[9, 42], Operations: ['86-83=3', '14*3=42']
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[86, 9, 14, 83], Operations: []
Exploring Operation: 86-83=3, Resulting Numbers: [9, 14, 3]
Generated Node #0,0: 51:[9, 14, 3] Operation: 86-83=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[9, 14, 3], Operations: ['86-83=3']
Exploring Operation: 14-9=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 51:[3, 5] Operation: 14-9=5
Moving to Node #0,0,0
Current State: 51:[3, 5], Operations: ['86-83=3', '14-9=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
17,
54,
31,
2
] | 57 | [
"17*2=34",
"54-31=23",
"34+23=57"
] | Current State: 57:[17, 54, 31, 2], Operations: []
Exploring Operation: 17*2=34, Resulting Numbers: [54, 31, 34]
Generated Node #2: [54, 31, 34] from Operation: 17*2=34
Current State: 57:[54, 31, 34], Operations: ['17*2=34']
Exploring Operation: 54-31=23, Resulting Numbers: [34, 23]
Generated Node #3: [34, 23] from Operation: 54-31=23
Current State: 57:[34, 23], Operations: ['17*2=34', '54-31=23']
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[17, 54, 31, 2], Operations: []
Exploring Operation: 17+31=48, Resulting Numbers: [54, 2, 48]
Generated Node #0,0: 57:[54, 2, 48] Operation: 17+31=48
Exploring Operation: 54-31=23, Resulting Numbers: [17, 2, 23]
Generated Node #0,1: 57:[17, 2, 23] Operation: 54-31=23
Exploring Operation: 31*2=62, Resulting Numbers: [17, 54, 62]
Generated Node #0,2: 57:[17, 54, 62] Operation: 31*2=62
Exploring Operation: 17+2=19, Resulting Numbers: [54, 31, 19]
Generated Node #0,3: 57:[54, 31, 19] Operation: 17+2=19
Exploring Operation: 31-17=14, Resulting Numbers: [54, 2, 14]
Generated Node #0,4: 57:[54, 2, 14] Operation: 31-17=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[17, 2, 23], Operations: ['54-31=23']
Exploring Operation: 2+23=25, Resulting Numbers: [17, 25]
Generated Node #0,1,0: 57:[17, 25] Operation: 2+23=25
Exploring Operation: 17+2=19, Resulting Numbers: [23, 19]
Generated Node #0,1,1: 57:[23, 19] Operation: 17+2=19
Exploring Operation: 23-2=21, Resulting Numbers: [17, 21]
Generated Node #0,1,2: 57:[17, 21] Operation: 23-2=21
Exploring Operation: 23-17=6, Resulting Numbers: [2, 6]
Generated Node #0,1,3: 57:[2, 6] Operation: 23-17=6
Exploring Operation: 17-2=15, Resulting Numbers: [23, 15]
Generated Node #0,1,4: 57:[23, 15] Operation: 17-2=15
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[23, 19], Operations: ['54-31=23', '17+2=19']
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 23*19=437, Resulting Numbers: [437]
437,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[17, 21], Operations: ['54-31=23', '23-2=21']
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,57 unequal: No Solution
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,57 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 57:[2, 6], Operations: ['54-31=23', '23-17=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[17, 25], Operations: ['54-31=23', '2+23=25']
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 57:[23, 15], Operations: ['54-31=23', '17-2=15']
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,57 unequal: No Solution
Exploring Operation: 23*15=345, Resulting Numbers: [345]
345,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 57:[54, 2, 14], Operations: ['31-17=14']
Exploring Operation: 14/2=7, Resulting Numbers: [54, 7]
Generated Node #0,4,0: 57:[54, 7] Operation: 14/2=7
Exploring Operation: 2+14=16, Resulting Numbers: [54, 16]
Generated Node #0,4,1: 57:[54, 16] Operation: 2+14=16
Exploring Operation: 54+2=56, Resulting Numbers: [14, 56]
Generated Node #0,4,2: 57:[14, 56] Operation: 54+2=56
Exploring Operation: 54-2=52, Resulting Numbers: [14, 52]
Generated Node #0,4,3: 57:[14, 52] Operation: 54-2=52
Exploring Operation: 14-2=12, Resulting Numbers: [54, 12]
Generated Node #0,4,4: 57:[54, 12] Operation: 14-2=12
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 57:[54, 16], Operations: ['31-17=14', '2+14=16']
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,57 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,57 unequal: No Solution
Exploring Operation: 54*16=864, Resulting Numbers: [864]
864,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 57:[14, 56], Operations: ['31-17=14', '54+2=56']
Exploring Operation: 56/14=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 14*56=784, Resulting Numbers: [784]
784,57 unequal: No Solution
Exploring Operation: 14+56=70, Resulting Numbers: [70]
70,57 unequal: No Solution
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 57:[54, 7], Operations: ['31-17=14', '14/2=7']
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,57 unequal: No Solution
Exploring Operation: 54*7=378, Resulting Numbers: [378]
378,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 57:[14, 52], Operations: ['31-17=14', '54-2=52']
Exploring Operation: 14*52=728, Resulting Numbers: [728]
728,57 unequal: No Solution
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,57 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 57:[54, 12], Operations: ['31-17=14', '14-2=12']
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 54+12=66, Resulting Numbers: [66]
66,57 unequal: No Solution
Exploring Operation: 54*12=648, Resulting Numbers: [648]
648,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[17, 54, 62], Operations: ['31*2=62']
Exploring Operation: 62-17=45, Resulting Numbers: [54, 45]
Generated Node #0,2,0: 57:[54, 45] Operation: 62-17=45
Exploring Operation: 62-54=8, Resulting Numbers: [17, 8]
Generated Node #0,2,1: 57:[17, 8] Operation: 62-54=8
Exploring Operation: 17+54=71, Resulting Numbers: [62, 71]
Generated Node #0,2,2: 57:[62, 71] Operation: 17+54=71
Exploring Operation: 54-17=37, Resulting Numbers: [62, 37]
Generated Node #0,2,3: 57:[62, 37] Operation: 54-17=37
Exploring Operation: 17+62=79, Resulting Numbers: [54, 79]
Generated Node #0,2,4: 57:[54, 79] Operation: 17+62=79
Moving to Node #0,2,1
Current State: 57:[17, 8], Operations: ['31*2=62', '62-54=8']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 17+8=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 17*8=136, Resulting Numbers: [136]
136,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[54, 45], Operations: ['31*2=62', '62-17=45']
Exploring Operation: 54*45=2430, Resulting Numbers: [2430]
2430,57 unequal: No Solution
Exploring Operation: 54-45=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 54+45=99, Resulting Numbers: [99]
99,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[62, 71], Operations: ['31*2=62', '17+54=71']
Exploring Operation: 62+71=133, Resulting Numbers: [133]
133,57 unequal: No Solution
Exploring Operation: 62*71=4402, Resulting Numbers: [4402]
4402,57 unequal: No Solution
Exploring Operation: 71-62=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[62, 37], Operations: ['31*2=62', '54-17=37']
Exploring Operation: 62+37=99, Resulting Numbers: [99]
99,57 unequal: No Solution
Exploring Operation: 62*37=2294, Resulting Numbers: [2294]
2294,57 unequal: No Solution
Exploring Operation: 62-37=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Moving to Node #0,2,4
Current State: 57:[54, 79], Operations: ['31*2=62', '17+62=79']
Exploring Operation: 54*79=4266, Resulting Numbers: [4266]
4266,57 unequal: No Solution
Exploring Operation: 54+79=133, Resulting Numbers: [133]
133,57 unequal: No Solution
Exploring Operation: 79-54=25, Resulting Numbers: [25]
25,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[54, 2, 48], Operations: ['17+31=48']
Exploring Operation: 54-48=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 57:[2, 6] Operation: 54-48=6
Exploring Operation: 54-2=52, Resulting Numbers: [48, 52]
Generated Node #0,0,1: 57:[48, 52] Operation: 54-2=52
Exploring Operation: 2+48=50, Resulting Numbers: [54, 50]
Generated Node #0,0,2: 57:[54, 50] Operation: 2+48=50
Exploring Operation: 54+2=56, Resulting Numbers: [48, 56]
Generated Node #0,0,3: 57:[48, 56] Operation: 54+2=56
Exploring Operation: 48/2=24, Resulting Numbers: [54, 24]
Generated Node #0,0,4: 57:[54, 24] Operation: 48/2=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[2, 6], Operations: ['17+31=48', '54-48=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 57:[54, 24], Operations: ['17+31=48', '48/2=24']
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,57 unequal: No Solution
Exploring Operation: 54+24=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 54*24=1296, Resulting Numbers: [1296]
1296,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 57:[54, 50], Operations: ['17+31=48', '2+48=50']
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 54*50=2700, Resulting Numbers: [2700]
2700,57 unequal: No Solution
Exploring Operation: 54+50=104, Resulting Numbers: [104]
104,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 57:[48, 56], Operations: ['17+31=48', '54+2=56']
Exploring Operation: 48*56=2688, Resulting Numbers: [2688]
2688,57 unequal: No Solution
Exploring Operation: 48+56=104, Resulting Numbers: [104]
104,57 unequal: No Solution
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[48, 52], Operations: ['17+31=48', '54-2=52']
Exploring Operation: 48+52=100, Resulting Numbers: [100]
100,57 unequal: No Solution
Exploring Operation: 48*52=2496, Resulting Numbers: [2496]
2496,57 unequal: No Solution
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[54, 31, 19], Operations: ['17+2=19']
Exploring Operation: 54-31=23, Resulting Numbers: [19, 23]
Generated Node #0,3,0: 57:[19, 23] Operation: 54-31=23
Exploring Operation: 54+31=85, Resulting Numbers: [19, 85]
Generated Node #0,3,1: 57:[19, 85] Operation: 54+31=85
Exploring Operation: 31-19=12, Resulting Numbers: [54, 12]
Generated Node #0,3,2: 57:[54, 12] Operation: 31-19=12
Exploring Operation: 54+19=73, Resulting Numbers: [31, 73]
Generated Node #0,3,3: 57:[31, 73] Operation: 54+19=73
Exploring Operation: 31+19=50, Resulting Numbers: [54, 50]
Generated Node #0,3,4: 57:[54, 50] Operation: 31+19=50
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 57:[19, 23], Operations: ['17+2=19', '54-31=23']
Exploring Operation: 19+23=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 19*23=437, Resulting Numbers: [437]
437,57 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 57:[54, 12], Operations: ['17+2=19', '31-19=12']
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 54*12=648, Resulting Numbers: [648]
648,57 unequal: No Solution
Exploring Operation: 54+12=66, Resulting Numbers: [66]
66,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 57:[54, 50], Operations: ['17+2=19', '31+19=50']
Exploring Operation: 54*50=2700, Resulting Numbers: [2700]
2700,57 unequal: No Solution
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 54+50=104, Resulting Numbers: [104]
104,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 57:[19, 85], Operations: ['17+2=19', '54+31=85']
Exploring Operation: 19*85=1615, Resulting Numbers: [1615]
1615,57 unequal: No Solution
Exploring Operation: 19+85=104, Resulting Numbers: [104]
104,57 unequal: No Solution
Exploring Operation: 85-19=66, Resulting Numbers: [66]
66,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 57:[31, 73], Operations: ['17+2=19', '54+19=73']
Exploring Operation: 31+73=104, Resulting Numbers: [104]
104,57 unequal: No Solution
Exploring Operation: 73-31=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 31*73=2263, Resulting Numbers: [2263]
2263,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
40,
26,
56,
4
] | 46 | [
"40-26=14",
"56+4=60",
"60-14=46"
] | Current State: 46:[40, 26, 56, 4], Operations: []
Exploring Operation: 40-26=14, Resulting Numbers: [56, 4, 14]
Generated Node #2: [56, 4, 14] from Operation: 40-26=14
Current State: 46:[56, 4, 14], Operations: ['40-26=14']
Exploring Operation: 56+4=60, Resulting Numbers: [14, 60]
Generated Node #3: [14, 60] from Operation: 56+4=60
Current State: 46:[14, 60], Operations: ['40-26=14', '56+4=60']
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[40, 26, 56, 4], Operations: []
Exploring Operation: 56-40=16, Resulting Numbers: [26, 4, 16]
Generated Node #0,0: 46:[26, 4, 16] Operation: 56-40=16
Exploring Operation: 56-26=30, Resulting Numbers: [40, 4, 30]
Generated Node #0,1: 46:[40, 4, 30] Operation: 56-26=30
Exploring Operation: 40+4=44, Resulting Numbers: [26, 56, 44]
Generated Node #0,2: 46:[26, 56, 44] Operation: 40+4=44
Moving to Node #0,0
Current State: 46:[26, 4, 16], Operations: ['56-40=16']
Exploring Operation: 16/4=4, Resulting Numbers: [26, 4]
Generated Node #0,0,0: 46:[26, 4] Operation: 16/4=4
Exploring Operation: 4+16=20, Resulting Numbers: [26, 20]
Generated Node #0,0,1: 46:[26, 20] Operation: 4+16=20
Exploring Operation: 26+16=42, Resulting Numbers: [4, 42]
Generated Node #0,0,2: 46:[4, 42] Operation: 26+16=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[26, 4], Operations: ['56-40=16', '16/4=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,46 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[26, 20], Operations: ['56-40=16', '4+16=20']
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,46 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[40, 26, 56, 4], Operations: []
Exploring Operation: 56-40=16, Resulting Numbers: [26, 4, 16]
Generated Node #0,0: 46:[26, 4, 16] Operation: 56-40=16
Moving to Node #0,0
Current State: 46:[26, 4, 16], Operations: ['56-40=16']
Exploring Operation: 4+16=20, Resulting Numbers: [26, 20]
Generated Node #0,0,1: 46:[26, 20] Operation: 4+16=20
Moving to Node #0,0,1
Current State: 46:[26, 20], Operations: ['56-40=16', '4+16=20']
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
99,
98,
9,
77
] | 10 | [
"99/9=11",
"98-77=21",
"21-11=10"
] | Current State: 10:[99, 98, 9, 77], Operations: []
Exploring Operation: 99/9=11, Resulting Numbers: [98, 77, 11]
Generated Node #2: [98, 77, 11] from Operation: 99/9=11
Current State: 10:[98, 77, 11], Operations: ['99/9=11']
Exploring Operation: 98-77=21, Resulting Numbers: [11, 21]
Generated Node #3: [11, 21] from Operation: 98-77=21
Current State: 10:[11, 21], Operations: ['99/9=11', '98-77=21']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[99, 98, 9, 77], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [9, 77, 1]
Generated Node #0,0: 10:[9, 77, 1] Operation: 99-98=1
Exploring Operation: 99-77=22, Resulting Numbers: [98, 9, 22]
Generated Node #0,1: 10:[98, 9, 22] Operation: 99-77=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[9, 77, 1], Operations: ['99-98=1']
Exploring Operation: 9+1=10, Resulting Numbers: [77, 10]
Generated Node #0,0,0: 10:[77, 10] Operation: 9+1=10
Exploring Operation: 77-9=68, Resulting Numbers: [1, 68]
Generated Node #0,0,1: 10:[1, 68] Operation: 77-9=68
Moving to Node #0,0,1
Current State: 10:[1, 68], Operations: ['99-98=1', '77-9=68']
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Exploring Operation: 1*68=68, Resulting Numbers: [68]
68,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[77, 10], Operations: ['99-98=1', '9+1=10']
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Exploring Operation: 77+10=87, Resulting Numbers: [87]
87,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[98, 9, 22], Operations: ['99-77=22']
Exploring Operation: 98-9=89, Resulting Numbers: [22, 89]
Generated Node #0,1,0: 10:[22, 89] Operation: 98-9=89
Exploring Operation: 98-22=76, Resulting Numbers: [9, 76]
Generated Node #0,1,1: 10:[9, 76] Operation: 98-22=76
Moving to Node #0,1,1
Current State: 10:[9, 76], Operations: ['99-77=22', '98-22=76']
Exploring Operation: 9+76=85, Resulting Numbers: [85]
85,10 unequal: No Solution
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[22, 89], Operations: ['99-77=22', '98-9=89']
Exploring Operation: 22+89=111, Resulting Numbers: [111]
111,10 unequal: No Solution
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,10 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 |
[
55,
50,
95,
2
] | 88 | [
"55-50=5",
"95-2=93",
"93-5=88"
] | Current State: 88:[55, 50, 95, 2], Operations: []
Exploring Operation: 55-50=5, Resulting Numbers: [95, 2, 5]
Generated Node #2: [95, 2, 5] from Operation: 55-50=5
Current State: 88:[95, 2, 5], Operations: ['55-50=5']
Exploring Operation: 95-2=93, Resulting Numbers: [5, 93]
Generated Node #3: [5, 93] from Operation: 95-2=93
Current State: 88:[5, 93], Operations: ['55-50=5', '95-2=93']
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[55, 50, 95, 2], Operations: []
Exploring Operation: 50/2=25, Resulting Numbers: [55, 95, 25]
Generated Node #0,0: 88:[55, 95, 25] Operation: 50/2=25
Exploring Operation: 95-55=40, Resulting Numbers: [50, 2, 40]
Generated Node #0,1: 88:[50, 2, 40] Operation: 95-55=40
Exploring Operation: 95-50=45, Resulting Numbers: [55, 2, 45]
Generated Node #0,2: 88:[55, 2, 45] Operation: 95-50=45
Exploring Operation: 55-50=5, Resulting Numbers: [95, 2, 5]
Generated Node #0,3: 88:[95, 2, 5] Operation: 55-50=5
Moving to Node #0,3
Current State: 88:[95, 2, 5], Operations: ['55-50=5']
Exploring Operation: 95-5=90, Resulting Numbers: [2, 90]
Generated Node #0,3,0: 88:[2, 90] Operation: 95-5=90
Exploring Operation: 95-2=93, Resulting Numbers: [5, 93]
Generated Node #0,3,1: 88:[5, 93] Operation: 95-2=93
Exploring Operation: 2+5=7, Resulting Numbers: [95, 7]
Generated Node #0,3,2: 88:[95, 7] Operation: 2+5=7
Exploring Operation: 95/5=19, Resulting Numbers: [2, 19]
Generated Node #0,3,3: 88:[2, 19] Operation: 95/5=19
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 88:[2, 90], Operations: ['55-50=5', '95-5=90']
Exploring Operation: 2*90=180, Resulting Numbers: [180]
180,88 unequal: No Solution
Exploring Operation: 2+90=92, Resulting Numbers: [92]
92,88 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[55, 50, 95, 2], Operations: []
Exploring Operation: 55-50=5, Resulting Numbers: [95, 2, 5]
Generated Node #0,3: 88:[95, 2, 5] Operation: 55-50=5
Moving to Node #0,3
Current State: 88:[95, 2, 5], Operations: ['55-50=5']
Exploring Operation: 95-5=90, Resulting Numbers: [2, 90]
Generated Node #0,3,0: 88:[2, 90] Operation: 95-5=90
Moving to Node #0,3,0
Current State: 88:[2, 90], Operations: ['55-50=5', '95-5=90']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
65,
18,
95,
49
] | 37 | [
"65+18=83",
"95-49=46",
"83-46=37"
] | Current State: 37:[65, 18, 95, 49], Operations: []
Exploring Operation: 65+18=83, Resulting Numbers: [95, 49, 83]
Generated Node #2: [95, 49, 83] from Operation: 65+18=83
Current State: 37:[95, 49, 83], Operations: ['65+18=83']
Exploring Operation: 95-49=46, Resulting Numbers: [83, 46]
Generated Node #3: [83, 46] from Operation: 95-49=46
Current State: 37:[83, 46], Operations: ['65+18=83', '95-49=46']
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[65, 18, 95, 49], Operations: []
Exploring Operation: 95-65=30, Resulting Numbers: [18, 49, 30]
Generated Node #0,0: 37:[18, 49, 30] Operation: 95-65=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[18, 49, 30], Operations: ['95-65=30']
Exploring Operation: 49-18=31, Resulting Numbers: [30, 31]
Generated Node #0,0,0: 37:[30, 31] Operation: 49-18=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[30, 31], Operations: ['95-65=30', '49-18=31']
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,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_1 | mult_heuristic |
[
90,
50,
3,
54
] | 83 | [
"90+50=140",
"3+54=57",
"140-57=83"
] | Current State: 83:[90, 50, 3, 54], Operations: []
Exploring Operation: 90+50=140, Resulting Numbers: [3, 54, 140]
Generated Node #2: [3, 54, 140] from Operation: 90+50=140
Current State: 83:[3, 54, 140], Operations: ['90+50=140']
Exploring Operation: 3+54=57, Resulting Numbers: [140, 57]
Generated Node #3: [140, 57] from Operation: 3+54=57
Current State: 83:[140, 57], Operations: ['90+50=140', '3+54=57']
Exploring Operation: 140-57=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[90, 50, 3, 54], Operations: []
Exploring Operation: 90-3=87, Resulting Numbers: [50, 54, 87]
Generated Node #0,0: 83:[50, 54, 87] Operation: 90-3=87
Exploring Operation: 50+3=53, Resulting Numbers: [90, 54, 53]
Generated Node #0,1: 83:[90, 54, 53] Operation: 50+3=53
Exploring Operation: 3+54=57, Resulting Numbers: [90, 50, 57]
Generated Node #0,2: 83:[90, 50, 57] Operation: 3+54=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[50, 54, 87], Operations: ['90-3=87']
Exploring Operation: 87-50=37, Resulting Numbers: [54, 37]
Generated Node #0,0,0: 83:[54, 37] Operation: 87-50=37
Exploring Operation: 50+54=104, Resulting Numbers: [87, 104]
Generated Node #0,0,1: 83:[87, 104] Operation: 50+54=104
Exploring Operation: 54-50=4, Resulting Numbers: [87, 4]
Generated Node #0,0,2: 83:[87, 4] Operation: 54-50=4
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[87, 104], Operations: ['90-3=87', '50+54=104']
Exploring Operation: 104-87=17, Resulting Numbers: [17]
17,83 unequal: No Solution
Exploring Operation: 87+104=191, Resulting Numbers: [191]
191,83 unequal: No Solution
Exploring Operation: 87*104=9048, Resulting Numbers: [9048]
9048,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[54, 37], Operations: ['90-3=87', '87-50=37']
Exploring Operation: 54+37=91, Resulting Numbers: [91]
91,83 unequal: No Solution
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,83 unequal: No Solution
Exploring Operation: 54*37=1998, Resulting Numbers: [1998]
1998,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 83:[87, 4], Operations: ['90-3=87', '54-50=4']
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[90, 50, 3, 54], Operations: []
Exploring Operation: 90-3=87, Resulting Numbers: [50, 54, 87]
Generated Node #0,0: 83:[50, 54, 87] Operation: 90-3=87
Moving to Node #0,0
Current State: 83:[50, 54, 87], Operations: ['90-3=87']
Exploring Operation: 54-50=4, Resulting Numbers: [87, 4]
Generated Node #0,0,2: 83:[87, 4] Operation: 54-50=4
Moving to Node #0,0,2
Current State: 83:[87, 4], Operations: ['90-3=87', '54-50=4']
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
80,
77,
5,
63
] | 71 | [
"80-77=3",
"5+63=68",
"3+68=71"
] | Current State: 71:[80, 77, 5, 63], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [5, 63, 3]
Generated Node #2: [5, 63, 3] from Operation: 80-77=3
Current State: 71:[5, 63, 3], Operations: ['80-77=3']
Exploring Operation: 5+63=68, Resulting Numbers: [3, 68]
Generated Node #3: [3, 68] from Operation: 5+63=68
Current State: 71:[3, 68], Operations: ['80-77=3', '5+63=68']
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[80, 77, 5, 63], Operations: []
Exploring Operation: 5+63=68, Resulting Numbers: [80, 77, 68]
Generated Node #0,0: 71:[80, 77, 68] Operation: 5+63=68
Exploring Operation: 77-5=72, Resulting Numbers: [80, 63, 72]
Generated Node #0,1: 71:[80, 63, 72] Operation: 77-5=72
Exploring Operation: 80-5=75, Resulting Numbers: [77, 63, 75]
Generated Node #0,2: 71:[77, 63, 75] Operation: 80-5=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[80, 77, 68], Operations: ['5+63=68']
Exploring Operation: 77-68=9, Resulting Numbers: [80, 9]
Generated Node #0,0,0: 71:[80, 9] Operation: 77-68=9
Exploring Operation: 80-68=12, Resulting Numbers: [77, 12]
Generated Node #0,0,1: 71:[77, 12] Operation: 80-68=12
Exploring Operation: 80-77=3, Resulting Numbers: [68, 3]
Generated Node #0,0,2: 71:[68, 3] Operation: 80-77=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[77, 12], Operations: ['5+63=68', '80-68=12']
Exploring Operation: 77+12=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 77-12=65, Resulting Numbers: [65]
65,71 unequal: No Solution
Exploring Operation: 77*12=924, Resulting Numbers: [924]
924,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:[80, 9], Operations: ['5+63=68', '77-68=9']
Exploring Operation: 80+9=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 80-9=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[80, 77, 5, 63], Operations: []
Exploring Operation: 5+63=68, Resulting Numbers: [80, 77, 68]
Generated Node #0,0: 71:[80, 77, 68] Operation: 5+63=68
Moving to Node #0,0
Current State: 71:[80, 77, 68], Operations: ['5+63=68']
Exploring Operation: 77-68=9, Resulting Numbers: [80, 9]
Generated Node #0,0,0: 71:[80, 9] Operation: 77-68=9
Moving to Node #0,0,0
Current State: 71:[80, 9], Operations: ['5+63=68', '77-68=9']
Exploring Operation: 80-9=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
23,
2,
13,
55
] | 88 | [
"23*2=46",
"55-13=42",
"46+42=88"
] | Current State: 88:[23, 2, 13, 55], Operations: []
Exploring Operation: 23*2=46, Resulting Numbers: [13, 55, 46]
Generated Node #2: [13, 55, 46] from Operation: 23*2=46
Current State: 88:[13, 55, 46], Operations: ['23*2=46']
Exploring Operation: 55-13=42, Resulting Numbers: [46, 42]
Generated Node #3: [46, 42] from Operation: 55-13=42
Current State: 88:[46, 42], Operations: ['23*2=46', '55-13=42']
Exploring Operation: 46+42=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[23, 2, 13, 55], Operations: []
Exploring Operation: 23-13=10, Resulting Numbers: [2, 55, 10]
Generated Node #0,0: 88:[2, 55, 10] Operation: 23-13=10
Exploring Operation: 55-13=42, Resulting Numbers: [23, 2, 42]
Generated Node #0,1: 88:[23, 2, 42] Operation: 55-13=42
Exploring Operation: 23+55=78, Resulting Numbers: [2, 13, 78]
Generated Node #0,2: 88:[2, 13, 78] Operation: 23+55=78
Moving to Node #0,1
Current State: 88:[23, 2, 42], Operations: ['55-13=42']
Exploring Operation: 42/2=21, Resulting Numbers: [23, 21]
Generated Node #0,1,0: 88:[23, 21] Operation: 42/2=21
Exploring Operation: 23-2=21, Resulting Numbers: [42, 21]
Generated Node #0,1,1: 88:[42, 21] Operation: 23-2=21
Exploring Operation: 2+42=44, Resulting Numbers: [23, 44]
Generated Node #0,1,2: 88:[23, 44] Operation: 2+42=44
Moving to Node #0,0
Current State: 88:[2, 55, 10], Operations: ['23-13=10']
Exploring Operation: 55-10=45, Resulting Numbers: [2, 45]
Generated Node #0,0,0: 88:[2, 45] Operation: 55-10=45
Exploring Operation: 10-2=8, Resulting Numbers: [55, 8]
Generated Node #0,0,1: 88:[55, 8] Operation: 10-2=8
Exploring Operation: 55-2=53, Resulting Numbers: [10, 53]
Generated Node #0,0,2: 88:[10, 53] Operation: 55-2=53
Moving to Node #0,2
Current State: 88:[2, 13, 78], Operations: ['23+55=78']
Exploring Operation: 78/2=39, Resulting Numbers: [13, 39]
Generated Node #0,2,0: 88:[13, 39] Operation: 78/2=39
Exploring Operation: 78/13=6, Resulting Numbers: [2, 6]
Generated Node #0,2,1: 88:[2, 6] Operation: 78/13=6
Exploring Operation: 13+78=91, Resulting Numbers: [2, 91]
Generated Node #0,2,2: 88:[2, 91] Operation: 13+78=91
Moving to Node #0,1,2
Current State: 88:[23, 44], Operations: ['55-13=42', '2+42=44']
Exploring Operation: 23*44=1012, Resulting Numbers: [1012]
1012,88 unequal: No Solution
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 23+44=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[2, 45], Operations: ['23-13=10', '55-10=45']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,88 unequal: No Solution
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[2, 6], Operations: ['23+55=78', '78/13=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[23, 21], Operations: ['55-13=42', '42/2=21']
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,88 unequal: No Solution
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,88 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[42, 21], Operations: ['55-13=42', '23-2=21']
Exploring Operation: 42+21=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[2, 91], Operations: ['23+55=78', '13+78=91']
Exploring Operation: 2*91=182, Resulting Numbers: [182]
182,88 unequal: No Solution
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,88 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[13, 39], Operations: ['23+55=78', '78/2=39']
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,88 unequal: No Solution
Exploring Operation: 13+39=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[10, 53], Operations: ['23-13=10', '55-2=53']
Exploring Operation: 10*53=530, Resulting Numbers: [530]
530,88 unequal: No Solution
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[55, 8], Operations: ['23-13=10', '10-2=8']
Exploring Operation: 55*8=440, Resulting Numbers: [440]
440,88 unequal: No Solution
Exploring Operation: 55+8=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,88 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
38,
56,
28,
91
] | 15 | [
"38*56=2128",
"2128/28=76",
"91-76=15"
] | Current State: 15:[38, 56, 28, 91], Operations: []
Exploring Operation: 38*56=2128, Resulting Numbers: [28, 91, 2128]
Generated Node #2: [28, 91, 2128] from Operation: 38*56=2128
Current State: 15:[28, 91, 2128], Operations: ['38*56=2128']
Exploring Operation: 2128/28=76, Resulting Numbers: [91, 76]
Generated Node #3: [91, 76] from Operation: 2128/28=76
Current State: 15:[91, 76], Operations: ['38*56=2128', '2128/28=76']
Exploring Operation: 91-76=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[38, 56, 28, 91], Operations: []
Exploring Operation: 91-56=35, Resulting Numbers: [38, 28, 35]
Generated Node #0,0: 15:[38, 28, 35] Operation: 91-56=35
Exploring Operation: 56-38=18, Resulting Numbers: [28, 91, 18]
Generated Node #0,1: 15:[28, 91, 18] Operation: 56-38=18
Exploring Operation: 56/28=2, Resulting Numbers: [38, 91, 2]
Generated Node #0,2: 15:[38, 91, 2] Operation: 56/28=2
Exploring Operation: 91-38=53, Resulting Numbers: [56, 28, 53]
Generated Node #0,3: 15:[56, 28, 53] Operation: 91-38=53
Moving to Node #0,0
Current State: 15:[38, 28, 35], Operations: ['91-56=35']
Exploring Operation: 38-28=10, Resulting Numbers: [35, 10]
Generated Node #0,0,0: 15:[35, 10] Operation: 38-28=10
Exploring Operation: 38+28=66, Resulting Numbers: [35, 66]
Generated Node #0,0,1: 15:[35, 66] Operation: 38+28=66
Exploring Operation: 38-35=3, Resulting Numbers: [28, 3]
Generated Node #0,0,2: 15:[28, 3] Operation: 38-35=3
Exploring Operation: 35-28=7, Resulting Numbers: [38, 7]
Generated Node #0,0,3: 15:[38, 7] Operation: 35-28=7
Moving to Node #0,3
Current State: 15:[56, 28, 53], Operations: ['91-38=53']
Exploring Operation: 56-28=28, Resulting Numbers: [53, 28]
Generated Node #0,3,0: 15:[53, 28] Operation: 56-28=28
Exploring Operation: 56-53=3, Resulting Numbers: [28, 3]
Generated Node #0,3,1: 15:[28, 3] Operation: 56-53=3
Exploring Operation: 56/28=2, Resulting Numbers: [53, 2]
Generated Node #0,3,2: 15:[53, 2] Operation: 56/28=2
Exploring Operation: 53-28=25, Resulting Numbers: [56, 25]
Generated Node #0,3,3: 15:[56, 25] Operation: 53-28=25
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 15:[28, 3], Operations: ['91-38=53', '56-53=3']
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 15:[53, 2], Operations: ['91-38=53', '56/28=2']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,15 unequal: No Solution
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,15 unequal: No Solution
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 15:[53, 28], Operations: ['91-38=53', '56-28=28']
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,15 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,15 unequal: No Solution
Exploring Operation: 53*28=1484, Resulting Numbers: [1484]
1484,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 15:[56, 25], Operations: ['91-38=53', '53-28=25']
Exploring Operation: 56*25=1400, Resulting Numbers: [1400]
1400,15 unequal: No Solution
Exploring Operation: 56+25=81, Resulting Numbers: [81]
81,15 unequal: No Solution
Exploring Operation: 56-25=31, Resulting Numbers: [31]
31,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 15:[28, 91, 18], Operations: ['56-38=18']
Exploring Operation: 28-18=10, Resulting Numbers: [91, 10]
Generated Node #0,1,0: 15:[91, 10] Operation: 28-18=10
Exploring Operation: 91-18=73, Resulting Numbers: [28, 73]
Generated Node #0,1,1: 15:[28, 73] Operation: 91-18=73
Exploring Operation: 91-28=63, Resulting Numbers: [18, 63]
Generated Node #0,1,2: 15:[18, 63] Operation: 91-28=63
Exploring Operation: 28+91=119, Resulting Numbers: [18, 119]
Generated Node #0,1,3: 15:[18, 119] Operation: 28+91=119
Moving to Node #0,2
Current State: 15:[38, 91, 2], Operations: ['56/28=2']
Exploring Operation: 91-38=53, Resulting Numbers: [2, 53]
Generated Node #0,2,0: 15:[2, 53] Operation: 91-38=53
Exploring Operation: 91-2=89, Resulting Numbers: [38, 89]
Generated Node #0,2,1: 15:[38, 89] Operation: 91-2=89
Exploring Operation: 38-2=36, Resulting Numbers: [91, 36]
Generated Node #0,2,2: 15:[91, 36] Operation: 38-2=36
Exploring Operation: 38/2=19, Resulting Numbers: [91, 19]
Generated Node #0,2,3: 15:[91, 19] Operation: 38/2=19
Moving to Node #0,0,2
Current State: 15:[28, 3], Operations: ['91-56=35', '38-35=3']
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,15 unequal: No Solution
Moving to Node #0,0,3
Current State: 15:[38, 7], Operations: ['91-56=35', '35-28=7']
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,15 unequal: No Solution
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,15 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[35, 10], Operations: ['91-56=35', '38-28=10']
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,15 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,15 unequal: No Solution
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[2, 53], Operations: ['56/28=2', '91-38=53']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,15 unequal: No Solution
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,15 unequal: No Solution
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[18, 63], Operations: ['56-38=18', '91-28=63']
Exploring Operation: 18*63=1134, Resulting Numbers: [1134]
1134,15 unequal: No Solution
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,15 unequal: No Solution
Exploring Operation: 18+63=81, Resulting Numbers: [81]
81,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[28, 73], Operations: ['56-38=18', '91-18=73']
Exploring Operation: 28*73=2044, Resulting Numbers: [2044]
2044,15 unequal: No Solution
Exploring Operation: 73-28=45, Resulting Numbers: [45]
45,15 unequal: No Solution
Exploring Operation: 28+73=101, Resulting Numbers: [101]
101,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[35, 66], Operations: ['91-56=35', '38+28=66']
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Exploring Operation: 35+66=101, Resulting Numbers: [101]
101,15 unequal: No Solution
Exploring Operation: 35*66=2310, Resulting Numbers: [2310]
2310,15 unequal: No Solution
Moving to Node #0,2,3
Current State: 15:[91, 19], Operations: ['56/28=2', '38/2=19']
Exploring Operation: 91+19=110, Resulting Numbers: [110]
110,15 unequal: No Solution
Exploring Operation: 91-19=72, Resulting Numbers: [72]
72,15 unequal: No Solution
Exploring Operation: 91*19=1729, Resulting Numbers: [1729]
1729,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[91, 10], Operations: ['56-38=18', '28-18=10']
Exploring Operation: 91+10=101, Resulting Numbers: [101]
101,15 unequal: No Solution
Exploring Operation: 91-10=81, Resulting Numbers: [81]
81,15 unequal: No Solution
Exploring Operation: 91*10=910, Resulting Numbers: [910]
910,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[38, 89], Operations: ['56/28=2', '91-2=89']
Exploring Operation: 38*89=3382, Resulting Numbers: [3382]
3382,15 unequal: No Solution
Exploring Operation: 38+89=127, Resulting Numbers: [127]
127,15 unequal: No Solution
Exploring Operation: 89-38=51, Resulting Numbers: [51]
51,15 unequal: No Solution
Moving to Node #0,2,2
Current State: 15:[91, 36], Operations: ['56/28=2', '38-2=36']
Exploring Operation: 91*36=3276, Resulting Numbers: [3276]
3276,15 unequal: No Solution
Exploring Operation: 91-36=55, Resulting Numbers: [55]
55,15 unequal: No Solution
Exploring Operation: 91+36=127, Resulting Numbers: [127]
127,15 unequal: No Solution
Moving to Node #0,1,3
Current State: 15:[18, 119], Operations: ['56-38=18', '28+91=119']
Exploring Operation: 18*119=2142, Resulting Numbers: [2142]
2142,15 unequal: No Solution
Exploring Operation: 18+119=137, Resulting Numbers: [137]
137,15 unequal: No Solution
Exploring Operation: 119-18=101, Resulting Numbers: [101]
101,15 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
18,
39,
60,
9
] | 81 | [
"18*60=1080",
"1080/9=120",
"120-39=81"
] | Current State: 81:[18, 39, 60, 9], Operations: []
Exploring Operation: 18*60=1080, Resulting Numbers: [39, 9, 1080]
Generated Node #2: [39, 9, 1080] from Operation: 18*60=1080
Current State: 81:[39, 9, 1080], Operations: ['18*60=1080']
Exploring Operation: 1080/9=120, Resulting Numbers: [39, 120]
Generated Node #3: [39, 120] from Operation: 1080/9=120
Current State: 81:[39, 120], Operations: ['18*60=1080', '1080/9=120']
Exploring Operation: 120-39=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[18, 39, 60, 9], Operations: []
Exploring Operation: 60-39=21, Resulting Numbers: [18, 9, 21]
Generated Node #0,0: 81:[18, 9, 21] Operation: 60-39=21
Exploring Operation: 18+60=78, Resulting Numbers: [39, 9, 78]
Generated Node #0,1: 81:[39, 9, 78] Operation: 18+60=78
Exploring Operation: 60-18=42, Resulting Numbers: [39, 9, 42]
Generated Node #0,2: 81:[39, 9, 42] Operation: 60-18=42
Exploring Operation: 39-18=21, Resulting Numbers: [60, 9, 21]
Generated Node #0,3: 81:[60, 9, 21] Operation: 39-18=21
Moving to Node #0,0
Current State: 81:[18, 9, 21], Operations: ['60-39=21']
Exploring Operation: 18/9=2, Resulting Numbers: [21, 2]
Generated Node #0,0,0: 81:[21, 2] Operation: 18/9=2
Exploring Operation: 21-18=3, Resulting Numbers: [9, 3]
Generated Node #0,0,1: 81:[9, 3] Operation: 21-18=3
Exploring Operation: 18+9=27, Resulting Numbers: [21, 27]
Generated Node #0,0,2: 81:[21, 27] Operation: 18+9=27
Exploring Operation: 18-9=9, Resulting Numbers: [21, 9]
Generated Node #0,0,3: 81:[21, 9] Operation: 18-9=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[9, 3], Operations: ['60-39=21', '21-18=3']
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[21, 27], Operations: ['60-39=21', '18+9=27']
Exploring Operation: 21+27=48, Resulting Numbers: [48]
48,81 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 21*27=567, Resulting Numbers: [567]
567,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 81:[21, 9], Operations: ['60-39=21', '18-9=9']
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,81 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[21, 2], Operations: ['60-39=21', '18/9=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,81 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 81:[39, 9, 78], Operations: ['18+60=78']
Exploring Operation: 9+78=87, Resulting Numbers: [39, 87]
Generated Node #0,1,0: 81:[39, 87] Operation: 9+78=87
Exploring Operation: 78/39=2, Resulting Numbers: [9, 2]
Generated Node #0,1,1: 81:[9, 2] Operation: 78/39=2
Exploring Operation: 39-9=30, Resulting Numbers: [78, 30]
Generated Node #0,1,2: 81:[78, 30] Operation: 39-9=30
Exploring Operation: 78-39=39, Resulting Numbers: [9, 39]
Generated Node #0,1,3: 81:[9, 39] Operation: 78-39=39
Moving to Node #0,3
Current State: 81:[60, 9, 21], Operations: ['39-18=21']
Exploring Operation: 9+21=30, Resulting Numbers: [60, 30]
Generated Node #0,3,0: 81:[60, 30] Operation: 9+21=30
Exploring Operation: 60+9=69, Resulting Numbers: [21, 69]
Generated Node #0,3,1: 81:[21, 69] Operation: 60+9=69
Exploring Operation: 60-21=39, Resulting Numbers: [9, 39]
Generated Node #0,3,2: 81:[9, 39] Operation: 60-21=39
Exploring Operation: 60+21=81, Resulting Numbers: [9, 81]
Generated Node #0,3,3: 81:[9, 81] Operation: 60+21=81
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 81:[9, 81], Operations: ['39-18=21', '60+21=81']
Exploring Operation: 9+81=90, Resulting Numbers: [90]
90,81 unequal: No Solution
Exploring Operation: 9*81=729, Resulting Numbers: [729]
729,81 unequal: No Solution
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 81:[9, 39], Operations: ['39-18=21', '60-21=39']
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,81 unequal: No Solution
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,81 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 81:[21, 69], Operations: ['39-18=21', '60+9=69']
Exploring Operation: 21+69=90, Resulting Numbers: [90]
90,81 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,81 unequal: No Solution
Exploring Operation: 21*69=1449, Resulting Numbers: [1449]
1449,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 81:[60, 30], Operations: ['39-18=21', '9+21=30']
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 60+30=90, Resulting Numbers: [90]
90,81 unequal: No Solution
Exploring Operation: 60*30=1800, Resulting Numbers: [1800]
1800,81 unequal: No Solution
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 81:[39, 9, 42], Operations: ['60-18=42']
Exploring Operation: 39+42=81, Resulting Numbers: [9, 81]
Generated Node #0,2,0: 81:[9, 81] Operation: 39+42=81
Exploring Operation: 39-9=30, Resulting Numbers: [42, 30]
Generated Node #0,2,1: 81:[42, 30] Operation: 39-9=30
Exploring Operation: 42-9=33, Resulting Numbers: [39, 33]
Generated Node #0,2,2: 81:[39, 33] Operation: 42-9=33
Exploring Operation: 42-39=3, Resulting Numbers: [9, 3]
Generated Node #0,2,3: 81:[9, 3] Operation: 42-39=3
Moving to Node #0,2,0
Current State: 81:[9, 81], Operations: ['60-18=42', '39+42=81']
Exploring Operation: 9+81=90, Resulting Numbers: [90]
90,81 unequal: No Solution
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 9*81=729, Resulting Numbers: [729]
729,81 unequal: No Solution
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Moving to Node #0,2,3
Current State: 81:[9, 3], Operations: ['60-18=42', '42-39=3']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[9, 2], Operations: ['18+60=78', '78/39=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[78, 30], Operations: ['18+60=78', '39-9=30']
Exploring Operation: 78-30=48, Resulting Numbers: [48]
48,81 unequal: No Solution
Exploring Operation: 78+30=108, Resulting Numbers: [108]
108,81 unequal: No Solution
Exploring Operation: 78*30=2340, Resulting Numbers: [2340]
2340,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[9, 39], Operations: ['18+60=78', '78-39=39']
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,81 unequal: No Solution
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,81 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[39, 33], Operations: ['60-18=42', '42-9=33']
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[42, 30], Operations: ['60-18=42', '39-9=30']
Exploring Operation: 42*30=1260, Resulting Numbers: [1260]
1260,81 unequal: No Solution
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[39, 87], Operations: ['18+60=78', '9+78=87']
Exploring Operation: 39*87=3393, Resulting Numbers: [3393]
3393,81 unequal: No Solution
Exploring Operation: 39+87=126, Resulting Numbers: [126]
126,81 unequal: No Solution
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,81 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
83,
21,
98,
76
] | 40 | [
"83-21=62",
"98-76=22",
"62-22=40"
] | Current State: 40:[83, 21, 98, 76], Operations: []
Exploring Operation: 83-21=62, Resulting Numbers: [98, 76, 62]
Generated Node #2: [98, 76, 62] from Operation: 83-21=62
Current State: 40:[98, 76, 62], Operations: ['83-21=62']
Exploring Operation: 98-76=22, Resulting Numbers: [62, 22]
Generated Node #3: [62, 22] from Operation: 98-76=22
Current State: 40:[62, 22], Operations: ['83-21=62', '98-76=22']
Exploring Operation: 62-22=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[83, 21, 98, 76], Operations: []
Exploring Operation: 83-76=7, Resulting Numbers: [21, 98, 7]
Generated Node #0,0: 40:[21, 98, 7] Operation: 83-76=7
Exploring Operation: 83-21=62, Resulting Numbers: [98, 76, 62]
Generated Node #0,1: 40:[98, 76, 62] Operation: 83-21=62
Exploring Operation: 98-76=22, Resulting Numbers: [83, 21, 22]
Generated Node #0,2: 40:[83, 21, 22] Operation: 98-76=22
Exploring Operation: 98-21=77, Resulting Numbers: [83, 76, 77]
Generated Node #0,3: 40:[83, 76, 77] Operation: 98-21=77
Exploring Operation: 98-83=15, Resulting Numbers: [21, 76, 15]
Generated Node #0,4: 40:[21, 76, 15] Operation: 98-83=15
Moving to Node #0,4
Current State: 40:[21, 76, 15], Operations: ['98-83=15']
Exploring Operation: 76-21=55, Resulting Numbers: [15, 55]
Generated Node #0,4,0: 40:[15, 55] Operation: 76-21=55
Exploring Operation: 21-15=6, Resulting Numbers: [76, 6]
Generated Node #0,4,1: 40:[76, 6] Operation: 21-15=6
Exploring Operation: 76+15=91, Resulting Numbers: [21, 91]
Generated Node #0,4,2: 40:[21, 91] Operation: 76+15=91
Exploring Operation: 76-15=61, Resulting Numbers: [21, 61]
Generated Node #0,4,3: 40:[21, 61] Operation: 76-15=61
Exploring Operation: 21+15=36, Resulting Numbers: [76, 36]
Generated Node #0,4,4: 40:[76, 36] Operation: 21+15=36
Moving to Node #0,2
Current State: 40:[83, 21, 22], Operations: ['98-76=22']
Exploring Operation: 21+22=43, Resulting Numbers: [83, 43]
Generated Node #0,2,0: 40:[83, 43] Operation: 21+22=43
Exploring Operation: 83+21=104, Resulting Numbers: [22, 104]
Generated Node #0,2,1: 40:[22, 104] Operation: 83+21=104
Exploring Operation: 83-22=61, Resulting Numbers: [21, 61]
Generated Node #0,2,2: 40:[21, 61] Operation: 83-22=61
Exploring Operation: 83-21=62, Resulting Numbers: [22, 62]
Generated Node #0,2,3: 40:[22, 62] Operation: 83-21=62
Exploring Operation: 22-21=1, Resulting Numbers: [83, 1]
Generated Node #0,2,4: 40:[83, 1] Operation: 22-21=1
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 40:[21, 61], Operations: ['98-76=22', '83-22=61']
Exploring Operation: 21*61=1281, Resulting Numbers: [1281]
1281,40 unequal: No Solution
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[83, 21, 98, 76], Operations: []
Exploring Operation: 98-76=22, Resulting Numbers: [83, 21, 22]
Generated Node #0,2: 40:[83, 21, 22] Operation: 98-76=22
Moving to Node #0,2
Current State: 40:[83, 21, 22], Operations: ['98-76=22']
Exploring Operation: 83-22=61, Resulting Numbers: [21, 61]
Generated Node #0,2,2: 40:[21, 61] Operation: 83-22=61
Moving to Node #0,2,2
Current State: 40:[21, 61], Operations: ['98-76=22', '83-22=61']
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
75,
56,
92,
77
] | 51 | [
"92-77=15",
"75/15=5",
"56-5=51"
] | Current State: 51:[75, 56, 92, 77], Operations: []
Exploring Operation: 92-77=15, Resulting Numbers: [75, 56, 15]
Generated Node #2: [75, 56, 15] from Operation: 92-77=15
Current State: 51:[75, 56, 15], Operations: ['92-77=15']
Exploring Operation: 75/15=5, Resulting Numbers: [56, 5]
Generated Node #3: [56, 5] from Operation: 75/15=5
Current State: 51:[56, 5], Operations: ['92-77=15', '75/15=5']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[75, 56, 92, 77], Operations: []
Exploring Operation: 92-75=17, Resulting Numbers: [56, 77, 17]
Generated Node #0,0: 51:[56, 77, 17] Operation: 92-75=17
Exploring Operation: 77-75=2, Resulting Numbers: [56, 92, 2]
Generated Node #0,1: 51:[56, 92, 2] Operation: 77-75=2
Exploring Operation: 92-77=15, Resulting Numbers: [75, 56, 15]
Generated Node #0,2: 51:[75, 56, 15] Operation: 92-77=15
Moving to Node #0,0
Current State: 51:[56, 77, 17], Operations: ['92-75=17']
Exploring Operation: 56-17=39, Resulting Numbers: [77, 39]
Generated Node #0,0,0: 51:[77, 39] Operation: 56-17=39
Exploring Operation: 77-17=60, Resulting Numbers: [56, 60]
Generated Node #0,0,1: 51:[56, 60] Operation: 77-17=60
Exploring Operation: 77-56=21, Resulting Numbers: [17, 21]
Generated Node #0,0,2: 51:[17, 21] Operation: 77-56=21
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[17, 21], Operations: ['92-75=17', '77-56=21']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,51 unequal: No Solution
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[56, 60], Operations: ['92-75=17', '77-17=60']
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 56*60=3360, Resulting Numbers: [3360]
3360,51 unequal: No Solution
Exploring Operation: 56+60=116, Resulting Numbers: [116]
116,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[77, 39], Operations: ['92-75=17', '56-17=39']
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Exploring Operation: 77+39=116, Resulting Numbers: [116]
116,51 unequal: No Solution
Exploring Operation: 77*39=3003, Resulting Numbers: [3003]
3003,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:[75, 56, 15], Operations: ['92-77=15']
Exploring Operation: 75-56=19, Resulting Numbers: [15, 19]
Generated Node #0,2,0: 51:[15, 19] Operation: 75-56=19
Exploring Operation: 75-15=60, Resulting Numbers: [56, 60]
Generated Node #0,2,1: 51:[56, 60] Operation: 75-15=60
Exploring Operation: 75/15=5, Resulting Numbers: [56, 5]
Generated Node #0,2,2: 51:[56, 5] Operation: 75/15=5
Moving to Node #0,1
Current State: 51:[56, 92, 2], Operations: ['77-75=2']
Exploring Operation: 56-2=54, Resulting Numbers: [92, 54]
Generated Node #0,1,0: 51:[92, 54] Operation: 56-2=54
Exploring Operation: 92/2=46, Resulting Numbers: [56, 46]
Generated Node #0,1,1: 51:[56, 46] Operation: 92/2=46
Exploring Operation: 92-56=36, Resulting Numbers: [2, 36]
Generated Node #0,1,2: 51:[2, 36] Operation: 92-56=36
Moving to Node #0,2,0
Current State: 51:[15, 19], Operations: ['92-77=15', '75-56=19']
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,51 unequal: No Solution
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[56, 5], Operations: ['92-77=15', '75/15=5']
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,51 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[75, 56, 92, 77], Operations: []
Exploring Operation: 92-77=15, Resulting Numbers: [75, 56, 15]
Generated Node #0,2: 51:[75, 56, 15] Operation: 92-77=15
Moving to Node #0,2
Current State: 51:[75, 56, 15], Operations: ['92-77=15']
Exploring Operation: 75/15=5, Resulting Numbers: [56, 5]
Generated Node #0,2,2: 51:[56, 5] Operation: 75/15=5
Moving to Node #0,2,2
Current State: 51:[56, 5], Operations: ['92-77=15', '75/15=5']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 0.973958 | hs_3 | sum_heuristic |
[
13,
6,
26,
4
] | 26 | [
"13*6=78",
"26*4=104",
"104-78=26"
] | Current State: 26:[13, 6, 26, 4], Operations: []
Exploring Operation: 13*6=78, Resulting Numbers: [26, 4, 78]
Generated Node #2: [26, 4, 78] from Operation: 13*6=78
Current State: 26:[26, 4, 78], Operations: ['13*6=78']
Exploring Operation: 26*4=104, Resulting Numbers: [78, 104]
Generated Node #3: [78, 104] from Operation: 26*4=104
Current State: 26:[78, 104], Operations: ['13*6=78', '26*4=104']
Exploring Operation: 104-78=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[13, 6, 26, 4], Operations: []
Exploring Operation: 6*4=24, Resulting Numbers: [13, 26, 24]
Generated Node #0,0: 26:[13, 26, 24] Operation: 6*4=24
Exploring Operation: 6-4=2, Resulting Numbers: [13, 26, 2]
Generated Node #0,1: 26:[13, 26, 2] Operation: 6-4=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[13, 26, 2], Operations: ['6-4=2']
Exploring Operation: 26/13=2, Resulting Numbers: [2, 2]
Generated Node #0,1,0: 26:[2, 2] Operation: 26/13=2
Exploring Operation: 26-13=13, Resulting Numbers: [2, 13]
Generated Node #0,1,1: 26:[2, 13] Operation: 26-13=13
Moving to Node #0,1,0
Current State: 26:[2, 2], Operations: ['6-4=2', '26/13=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[2, 13], Operations: ['6-4=2', '26-13=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[13, 6, 26, 4], Operations: []
Exploring Operation: 6-4=2, Resulting Numbers: [13, 26, 2]
Generated Node #0,1: 26:[13, 26, 2] Operation: 6-4=2
Moving to Node #0,1
Current State: 26:[13, 26, 2], Operations: ['6-4=2']
Exploring Operation: 26-13=13, Resulting Numbers: [2, 13]
Generated Node #0,1,1: 26:[2, 13] Operation: 26-13=13
Moving to Node #0,1,1
Current State: 26:[2, 13], Operations: ['6-4=2', '26-13=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
71,
84,
8,
14
] | 76 | [
"84*14=1176",
"1176/8=147",
"147-71=76"
] | Current State: 76:[71, 84, 8, 14], Operations: []
Exploring Operation: 84*14=1176, Resulting Numbers: [71, 8, 1176]
Generated Node #2: [71, 8, 1176] from Operation: 84*14=1176
Current State: 76:[71, 8, 1176], Operations: ['84*14=1176']
Exploring Operation: 1176/8=147, Resulting Numbers: [71, 147]
Generated Node #3: [71, 147] from Operation: 1176/8=147
Current State: 76:[71, 147], Operations: ['84*14=1176', '1176/8=147']
Exploring Operation: 147-71=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[71, 84, 8, 14], Operations: []
Exploring Operation: 84-8=76, Resulting Numbers: [71, 14, 76]
Generated Node #0,0: 76:[71, 14, 76] Operation: 84-8=76
Exploring Operation: 84-71=13, Resulting Numbers: [8, 14, 13]
Generated Node #0,1: 76:[8, 14, 13] Operation: 84-71=13
Exploring Operation: 84/14=6, Resulting Numbers: [71, 8, 6]
Generated Node #0,2: 76:[71, 8, 6] Operation: 84/14=6
Moving to Node #0,0
Current State: 76:[71, 14, 76], Operations: ['84-8=76']
Exploring Operation: 71-14=57, Resulting Numbers: [76, 57]
Generated Node #0,0,0: 76:[76, 57] Operation: 71-14=57
Exploring Operation: 71+14=85, Resulting Numbers: [76, 85]
Generated Node #0,0,1: 76:[76, 85] Operation: 71+14=85
Exploring Operation: 76-71=5, Resulting Numbers: [14, 5]
Generated Node #0,0,2: 76:[14, 5] Operation: 76-71=5
Moving to Node #0,2
Current State: 76:[71, 8, 6], Operations: ['84/14=6']
Exploring Operation: 71+6=77, Resulting Numbers: [8, 77]
Generated Node #0,2,0: 76:[8, 77] Operation: 71+6=77
Exploring Operation: 71+8=79, Resulting Numbers: [6, 79]
Generated Node #0,2,1: 76:[6, 79] Operation: 71+8=79
Exploring Operation: 8-6=2, Resulting Numbers: [71, 2]
Generated Node #0,2,2: 76:[71, 2] Operation: 8-6=2
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 76:[8, 77], Operations: ['84/14=6', '71+6=77']
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 8+77=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 8*77=616, Resulting Numbers: [616]
616,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 76:[6, 79], Operations: ['84/14=6', '71+8=79']
Exploring Operation: 6+79=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,76 unequal: No Solution
Exploring Operation: 6*79=474, Resulting Numbers: [474]
474,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 76:[71, 2], Operations: ['84/14=6', '8-6=2']
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,76 unequal: No Solution
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,76 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 76:[8, 14, 13], Operations: ['84-71=13']
Exploring Operation: 8+13=21, Resulting Numbers: [14, 21]
Generated Node #0,1,0: 76:[14, 21] Operation: 8+13=21
Exploring Operation: 14-13=1, Resulting Numbers: [8, 1]
Generated Node #0,1,1: 76:[8, 1] Operation: 14-13=1
Exploring Operation: 13-8=5, Resulting Numbers: [14, 5]
Generated Node #0,1,2: 76:[14, 5] Operation: 13-8=5
Moving to Node #0,1,1
Current State: 76:[8, 1], Operations: ['84-71=13', '14-13=1']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[14, 5], Operations: ['84-8=76', '76-71=5']
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[14, 5], Operations: ['84-71=13', '13-8=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,76 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[14, 21], Operations: ['84-71=13', '8+13=21']
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,76 unequal: No Solution
Exploring Operation: 14*21=294, Resulting Numbers: [294]
294,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[76, 85], Operations: ['84-8=76', '71+14=85']
Exploring Operation: 85-76=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 76*85=6460, Resulting Numbers: [6460]
6460,76 unequal: No Solution
Exploring Operation: 76+85=161, Resulting Numbers: [161]
161,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[76, 57], Operations: ['84-8=76', '71-14=57']
Exploring Operation: 76-57=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 76*57=4332, Resulting Numbers: [4332]
4332,76 unequal: No Solution
Exploring Operation: 76+57=133, Resulting Numbers: [133]
133,76 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
56,
50,
95,
10
] | 85 | [
"50*95=4750",
"10+4750=4760",
"4760/56=85"
] | Current State: 85:[56, 50, 95, 10], Operations: []
Exploring Operation: 50*95=4750, Resulting Numbers: [56, 10, 4750]
Generated Node #2: [56, 10, 4750] from Operation: 50*95=4750
Current State: 85:[56, 10, 4750], Operations: ['50*95=4750']
Exploring Operation: 10+4750=4760, Resulting Numbers: [56, 4760]
Generated Node #3: [56, 4760] from Operation: 10+4750=4760
Current State: 85:[56, 4760], Operations: ['50*95=4750', '10+4750=4760']
Exploring Operation: 4760/56=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[56, 50, 95, 10], Operations: []
Exploring Operation: 56-50=6, Resulting Numbers: [95, 10, 6]
Generated Node #0,0: 85:[95, 10, 6] Operation: 56-50=6
Exploring Operation: 56+50=106, Resulting Numbers: [95, 10, 106]
Generated Node #0,1: 85:[95, 10, 106] Operation: 56+50=106
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[95, 10, 6], Operations: ['56-50=6']
Exploring Operation: 95-10=85, Resulting Numbers: [6, 85]
Generated Node #0,0,0: 85:[6, 85] Operation: 95-10=85
Exploring Operation: 95-6=89, Resulting Numbers: [10, 89]
Generated Node #0,0,1: 85:[10, 89] Operation: 95-6=89
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[6, 85], Operations: ['56-50=6', '95-10=85']
Exploring Operation: 85-6=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 6+85=91, Resulting Numbers: [91]
91,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 85:[10, 89], Operations: ['56-50=6', '95-6=89']
Exploring Operation: 89-10=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 10+89=99, Resulting Numbers: [99]
99,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[95, 10, 106], Operations: ['56+50=106']
Exploring Operation: 106-95=11, Resulting Numbers: [10, 11]
Generated Node #0,1,0: 85:[10, 11] Operation: 106-95=11
Exploring Operation: 95-10=85, Resulting Numbers: [106, 85]
Generated Node #0,1,1: 85:[106, 85] Operation: 95-10=85
Moving to Node #0,1,0
Current State: 85:[10, 11], Operations: ['56+50=106', '106-95=11']
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[106, 85], Operations: ['56+50=106', '95-10=85']
Exploring Operation: 106+85=191, Resulting Numbers: [191]
191,85 unequal: No Solution
Exploring Operation: 106-85=21, Resulting Numbers: [21]
21,85 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 |
[
22,
30,
74,
69
] | 16 | [
"74-69=5",
"30/5=6",
"22-6=16"
] | Current State: 16:[22, 30, 74, 69], Operations: []
Exploring Operation: 74-69=5, Resulting Numbers: [22, 30, 5]
Generated Node #2: [22, 30, 5] from Operation: 74-69=5
Current State: 16:[22, 30, 5], Operations: ['74-69=5']
Exploring Operation: 30/5=6, Resulting Numbers: [22, 6]
Generated Node #3: [22, 6] from Operation: 30/5=6
Current State: 16:[22, 6], Operations: ['74-69=5', '30/5=6']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[22, 30, 74, 69], Operations: []
Exploring Operation: 74-69=5, Resulting Numbers: [22, 30, 5]
Generated Node #0,0: 16:[22, 30, 5] Operation: 74-69=5
Exploring Operation: 69-30=39, Resulting Numbers: [22, 74, 39]
Generated Node #0,1: 16:[22, 74, 39] Operation: 69-30=39
Exploring Operation: 74-30=44, Resulting Numbers: [22, 69, 44]
Generated Node #0,2: 16:[22, 69, 44] Operation: 74-30=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[22, 30, 5], Operations: ['74-69=5']
Exploring Operation: 30-22=8, Resulting Numbers: [5, 8]
Generated Node #0,0,0: 16:[5, 8] Operation: 30-22=8
Exploring Operation: 22-5=17, Resulting Numbers: [30, 17]
Generated Node #0,0,1: 16:[30, 17] Operation: 22-5=17
Exploring Operation: 30/5=6, Resulting Numbers: [22, 6]
Generated Node #0,0,2: 16:[22, 6] Operation: 30/5=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[5, 8], Operations: ['74-69=5', '30-22=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 16:[22, 6], Operations: ['74-69=5', '30/5=6']
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,16 unequal: No Solution
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,16 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[22, 30, 74, 69], Operations: []
Exploring Operation: 74-69=5, Resulting Numbers: [22, 30, 5]
Generated Node #0,0: 16:[22, 30, 5] Operation: 74-69=5
Moving to Node #0,0
Current State: 16:[22, 30, 5], Operations: ['74-69=5']
Exploring Operation: 30/5=6, Resulting Numbers: [22, 6]
Generated Node #0,0,2: 16:[22, 6] Operation: 30/5=6
Moving to Node #0,0,2
Current State: 16:[22, 6], Operations: ['74-69=5', '30/5=6']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
51,
34,
65,
81
] | 61 | [
"51+34=85",
"65+81=146",
"146-85=61"
] | Current State: 61:[51, 34, 65, 81], Operations: []
Exploring Operation: 51+34=85, Resulting Numbers: [65, 81, 85]
Generated Node #2: [65, 81, 85] from Operation: 51+34=85
Current State: 61:[65, 81, 85], Operations: ['51+34=85']
Exploring Operation: 65+81=146, Resulting Numbers: [85, 146]
Generated Node #3: [85, 146] from Operation: 65+81=146
Current State: 61:[85, 146], Operations: ['51+34=85', '65+81=146']
Exploring Operation: 146-85=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[51, 34, 65, 81], Operations: []
Exploring Operation: 81-51=30, Resulting Numbers: [34, 65, 30]
Generated Node #0,0: 61:[34, 65, 30] Operation: 81-51=30
Exploring Operation: 65-34=31, Resulting Numbers: [51, 81, 31]
Generated Node #0,1: 61:[51, 81, 31] Operation: 65-34=31
Exploring Operation: 51+34=85, Resulting Numbers: [65, 81, 85]
Generated Node #0,2: 61:[65, 81, 85] Operation: 51+34=85
Exploring Operation: 81-34=47, Resulting Numbers: [51, 65, 47]
Generated Node #0,3: 61:[51, 65, 47] Operation: 81-34=47
Moving to Node #0,3
Current State: 61:[51, 65, 47], Operations: ['81-34=47']
Exploring Operation: 51+47=98, Resulting Numbers: [65, 98]
Generated Node #0,3,0: 61:[65, 98] Operation: 51+47=98
Exploring Operation: 51-47=4, Resulting Numbers: [65, 4]
Generated Node #0,3,1: 61:[65, 4] Operation: 51-47=4
Exploring Operation: 65-47=18, Resulting Numbers: [51, 18]
Generated Node #0,3,2: 61:[51, 18] Operation: 65-47=18
Exploring Operation: 65-51=14, Resulting Numbers: [47, 14]
Generated Node #0,3,3: 61:[47, 14] Operation: 65-51=14
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 61:[65, 98], Operations: ['81-34=47', '51+47=98']
Exploring Operation: 98-65=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 65*98=6370, Resulting Numbers: [6370]
6370,61 unequal: No Solution
Exploring Operation: 65+98=163, Resulting Numbers: [163]
163,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 61:[51, 18], Operations: ['81-34=47', '65-47=18']
Exploring Operation: 51*18=918, Resulting Numbers: [918]
918,61 unequal: No Solution
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,61 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 61:[65, 4], Operations: ['81-34=47', '51-47=4']
Exploring Operation: 65+4=69, Resulting Numbers: [69]
69,61 unequal: No Solution
Exploring Operation: 65*4=260, Resulting Numbers: [260]
260,61 unequal: No Solution
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[51, 34, 65, 81], Operations: []
Exploring Operation: 81-34=47, Resulting Numbers: [51, 65, 47]
Generated Node #0,3: 61:[51, 65, 47] Operation: 81-34=47
Moving to Node #0,3
Current State: 61:[51, 65, 47], Operations: ['81-34=47']
Exploring Operation: 51-47=4, Resulting Numbers: [65, 4]
Generated Node #0,3,1: 61:[65, 4] Operation: 51-47=4
Moving to Node #0,3,1
Current State: 61:[65, 4], Operations: ['81-34=47', '51-47=4']
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
61,
10,
39,
96
] | 40 | [
"61+39=100",
"100-96=4",
"10*4=40"
] | Current State: 40:[61, 10, 39, 96], Operations: []
Exploring Operation: 61+39=100, Resulting Numbers: [10, 96, 100]
Generated Node #2: [10, 96, 100] from Operation: 61+39=100
Current State: 40:[10, 96, 100], Operations: ['61+39=100']
Exploring Operation: 100-96=4, Resulting Numbers: [10, 4]
Generated Node #3: [10, 4] from Operation: 100-96=4
Current State: 40:[10, 4], Operations: ['61+39=100', '100-96=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[61, 10, 39, 96], Operations: []
Exploring Operation: 96-61=35, Resulting Numbers: [10, 39, 35]
Generated Node #0,0: 40:[10, 39, 35] Operation: 96-61=35
Exploring Operation: 96-39=57, Resulting Numbers: [61, 10, 57]
Generated Node #0,1: 40:[61, 10, 57] Operation: 96-39=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[10, 39, 35], Operations: ['96-61=35']
Exploring Operation: 10+35=45, Resulting Numbers: [39, 45]
Generated Node #0,0,0: 40:[39, 45] Operation: 10+35=45
Exploring Operation: 39-35=4, Resulting Numbers: [10, 4]
Generated Node #0,0,1: 40:[10, 4] Operation: 39-35=4
Moving to Node #0,0,1
Current State: 40:[10, 4], Operations: ['96-61=35', '39-35=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[61, 10, 39, 96], Operations: []
Exploring Operation: 96-61=35, Resulting Numbers: [10, 39, 35]
Generated Node #0,0: 40:[10, 39, 35] Operation: 96-61=35
Moving to Node #0,0
Current State: 40:[10, 39, 35], Operations: ['96-61=35']
Exploring Operation: 39-35=4, Resulting Numbers: [10, 4]
Generated Node #0,0,1: 40:[10, 4] Operation: 39-35=4
Moving to Node #0,0,1
Current State: 40:[10, 4], Operations: ['96-61=35', '39-35=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
64,
18,
6,
56
] | 24 | [
"64-56=8",
"18/6=3",
"8*3=24"
] | Current State: 24:[64, 18, 6, 56], Operations: []
Exploring Operation: 64-56=8, Resulting Numbers: [18, 6, 8]
Generated Node #2: [18, 6, 8] from Operation: 64-56=8
Current State: 24:[18, 6, 8], Operations: ['64-56=8']
Exploring Operation: 18/6=3, Resulting Numbers: [8, 3]
Generated Node #3: [8, 3] from Operation: 18/6=3
Current State: 24:[8, 3], Operations: ['64-56=8', '18/6=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[64, 18, 6, 56], Operations: []
Exploring Operation: 64-56=8, Resulting Numbers: [18, 6, 8]
Generated Node #0,0: 24:[18, 6, 8] Operation: 64-56=8
Exploring Operation: 64-18=46, Resulting Numbers: [6, 56, 46]
Generated Node #0,1: 24:[6, 56, 46] Operation: 64-18=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[18, 6, 8], Operations: ['64-56=8']
Exploring Operation: 18+6=24, Resulting Numbers: [8, 24]
Generated Node #0,0,0: 24:[8, 24] Operation: 18+6=24
Exploring Operation: 18-6=12, Resulting Numbers: [8, 12]
Generated Node #0,0,1: 24:[8, 12] Operation: 18-6=12
Moving to Node #0,0,0
Current State: 24:[8, 24], Operations: ['64-56=8', '18+6=24']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[8, 12], Operations: ['64-56=8', '18-6=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[6, 56, 46], Operations: ['64-18=46']
Exploring Operation: 56-46=10, Resulting Numbers: [6, 10]
Generated Node #0,1,0: 24:[6, 10] Operation: 56-46=10
Exploring Operation: 56-6=50, Resulting Numbers: [46, 50]
Generated Node #0,1,1: 24:[46, 50] Operation: 56-6=50
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 24:[6, 10], Operations: ['64-18=46', '56-46=10']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 24:[46, 50], Operations: ['64-18=46', '56-6=50']
Exploring Operation: 46+50=96, Resulting Numbers: [96]
96,24 unequal: No Solution
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.