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 |
|---|---|---|---|---|---|---|---|---|
[
59,
91,
91,
29
] | 29 | [
"59-29=30",
"91/91=1",
"30-1=29"
] | Current State: 29:[59, 91, 91, 29], Operations: []
Exploring Operation: 59-29=30, Resulting Numbers: [91, 91, 30]
Generated Node #2: [91, 91, 30] from Operation: 59-29=30
Current State: 29:[91, 91, 30], Operations: ['59-29=30']
Exploring Operation: 91/91=1, Resulting Numbers: [30, 1]
Generated Node #3: [30, 1] from Operation: 91/91=1
Current State: 29:[30, 1], Operations: ['59-29=30', '91/91=1']
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[59, 91, 91, 29], Operations: []
Exploring Operation: 91/91=1, Resulting Numbers: [59, 29, 1]
Generated Node #0,0: 29:[59, 29, 1] Operation: 91/91=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[59, 29, 1], Operations: ['91/91=1']
Exploring Operation: 59-29=30, Resulting Numbers: [1, 30]
Generated Node #0,0,0: 29:[1, 30] Operation: 59-29=30
Moving to Node #0,0,0
Current State: 29:[1, 30], Operations: ['91/91=1', '59-29=30']
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[59, 91, 91, 29], Operations: []
Exploring Operation: 91/91=1, Resulting Numbers: [59, 29, 1]
Generated Node #0,0: 29:[59, 29, 1] Operation: 91/91=1
Moving to Node #0,0
Current State: 29:[59, 29, 1], Operations: ['91/91=1']
Exploring Operation: 59-29=30, Resulting Numbers: [1, 30]
Generated Node #0,0,0: 29:[1, 30] Operation: 59-29=30
Moving to Node #0,0,0
Current State: 29:[1, 30], Operations: ['91/91=1', '59-29=30']
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
10,
62,
36,
31
] | 64 | [
"36-31=5",
"10/5=2",
"62+2=64"
] | Current State: 64:[10, 62, 36, 31], Operations: []
Exploring Operation: 36-31=5, Resulting Numbers: [10, 62, 5]
Generated Node #2: [10, 62, 5] from Operation: 36-31=5
Current State: 64:[10, 62, 5], Operations: ['36-31=5']
Exploring Operation: 10/5=2, Resulting Numbers: [62, 2]
Generated Node #3: [62, 2] from Operation: 10/5=2
Current State: 64:[62, 2], Operations: ['36-31=5', '10/5=2']
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[10, 62, 36, 31], Operations: []
Exploring Operation: 36-31=5, Resulting Numbers: [10, 62, 5]
Generated Node #0,0: 64:[10, 62, 5] Operation: 36-31=5
Moving to Node #0,0
Current State: 64:[10, 62, 5], Operations: ['36-31=5']
Exploring Operation: 10/5=2, Resulting Numbers: [62, 2]
Generated Node #0,0,0: 64:[62, 2] Operation: 10/5=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[62, 2], Operations: ['36-31=5', '10/5=2']
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[10, 62, 36, 31], Operations: []
Exploring Operation: 36-31=5, Resulting Numbers: [10, 62, 5]
Generated Node #0,0: 64:[10, 62, 5] Operation: 36-31=5
Moving to Node #0,0
Current State: 64:[10, 62, 5], Operations: ['36-31=5']
Exploring Operation: 10/5=2, Resulting Numbers: [62, 2]
Generated Node #0,0,0: 64:[62, 2] Operation: 10/5=2
Moving to Node #0,0,0
Current State: 64:[62, 2], Operations: ['36-31=5', '10/5=2']
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
94,
81,
85,
64
] | 66 | [
"85*64=5440",
"5440-94=5346",
"5346/81=66"
] | Current State: 66:[94, 81, 85, 64], Operations: []
Exploring Operation: 85*64=5440, Resulting Numbers: [94, 81, 5440]
Generated Node #2: [94, 81, 5440] from Operation: 85*64=5440
Current State: 66:[94, 81, 5440], Operations: ['85*64=5440']
Exploring Operation: 5440-94=5346, Resulting Numbers: [81, 5346]
Generated Node #3: [81, 5346] from Operation: 5440-94=5346
Current State: 66:[81, 5346], Operations: ['85*64=5440', '5440-94=5346']
Exploring Operation: 5346/81=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[94, 81, 85, 64], Operations: []
Exploring Operation: 85-81=4, Resulting Numbers: [94, 64, 4]
Generated Node #0,0: 66:[94, 64, 4] Operation: 85-81=4
Exploring Operation: 94-81=13, Resulting Numbers: [85, 64, 13]
Generated Node #0,1: 66:[85, 64, 13] Operation: 94-81=13
Exploring Operation: 94-85=9, Resulting Numbers: [81, 64, 9]
Generated Node #0,2: 66:[81, 64, 9] Operation: 94-85=9
Exploring Operation: 85-64=21, Resulting Numbers: [94, 81, 21]
Generated Node #0,3: 66:[94, 81, 21] Operation: 85-64=21
Exploring Operation: 94-64=30, Resulting Numbers: [81, 85, 30]
Generated Node #0,4: 66:[81, 85, 30] Operation: 94-64=30
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[81, 64, 9], Operations: ['94-85=9']
Exploring Operation: 64+9=73, Resulting Numbers: [81, 73]
Generated Node #0,2,0: 66:[81, 73] Operation: 64+9=73
Exploring Operation: 81-64=17, Resulting Numbers: [9, 17]
Generated Node #0,2,1: 66:[9, 17] Operation: 81-64=17
Exploring Operation: 81/9=9, Resulting Numbers: [64, 9]
Generated Node #0,2,2: 66:[64, 9] Operation: 81/9=9
Exploring Operation: 81+9=90, Resulting Numbers: [64, 90]
Generated Node #0,2,3: 66:[64, 90] Operation: 81+9=90
Exploring Operation: 81-9=72, Resulting Numbers: [64, 72]
Generated Node #0,2,4: 66:[64, 72] Operation: 81-9=72
Moving to Node #0,2,2
Current State: 66:[64, 9], Operations: ['94-85=9', '81/9=9']
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Exploring Operation: 64*9=576, Resulting Numbers: [576]
576,66 unequal: No Solution
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[9, 17], Operations: ['94-85=9', '81-64=17']
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,66 unequal: No Solution
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Moving to Node #0,2,4
Current State: 66:[64, 72], Operations: ['94-85=9', '81-9=72']
Exploring Operation: 64+72=136, Resulting Numbers: [136]
136,66 unequal: No Solution
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 64*72=4608, Resulting Numbers: [4608]
4608,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[81, 73], Operations: ['94-85=9', '64+9=73']
Exploring Operation: 81*73=5913, Resulting Numbers: [5913]
5913,66 unequal: No Solution
Exploring Operation: 81+73=154, Resulting Numbers: [154]
154,66 unequal: No Solution
Exploring Operation: 81-73=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[64, 90], Operations: ['94-85=9', '81+9=90']
Exploring Operation: 90-64=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 64+90=154, Resulting Numbers: [154]
154,66 unequal: No Solution
Exploring Operation: 64*90=5760, Resulting Numbers: [5760]
5760,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[85, 64, 13], Operations: ['94-81=13']
Exploring Operation: 64-13=51, Resulting Numbers: [85, 51]
Generated Node #0,1,0: 66:[85, 51] Operation: 64-13=51
Exploring Operation: 85-64=21, Resulting Numbers: [13, 21]
Generated Node #0,1,1: 66:[13, 21] Operation: 85-64=21
Exploring Operation: 85+13=98, Resulting Numbers: [64, 98]
Generated Node #0,1,2: 66:[64, 98] Operation: 85+13=98
Exploring Operation: 85-13=72, Resulting Numbers: [64, 72]
Generated Node #0,1,3: 66:[64, 72] Operation: 85-13=72
Exploring Operation: 64+13=77, Resulting Numbers: [85, 77]
Generated Node #0,1,4: 66:[85, 77] Operation: 64+13=77
Moving to Node #0,1,1
Current State: 66:[13, 21], Operations: ['94-81=13', '85-64=21']
Exploring Operation: 13*21=273, Resulting Numbers: [273]
273,66 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Moving to Node #0,1,3
Current State: 66:[64, 72], Operations: ['94-81=13', '85-13=72']
Exploring Operation: 64*72=4608, Resulting Numbers: [4608]
4608,66 unequal: No Solution
Exploring Operation: 64+72=136, Resulting Numbers: [136]
136,66 unequal: No Solution
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Moving to Node #0,1,4
Current State: 66:[85, 77], Operations: ['94-81=13', '64+13=77']
Exploring Operation: 85*77=6545, Resulting Numbers: [6545]
6545,66 unequal: No Solution
Exploring Operation: 85-77=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 85+77=162, Resulting Numbers: [162]
162,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[85, 51], Operations: ['94-81=13', '64-13=51']
Exploring Operation: 85+51=136, Resulting Numbers: [136]
136,66 unequal: No Solution
Exploring Operation: 85-51=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 85*51=4335, Resulting Numbers: [4335]
4335,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[64, 98], Operations: ['94-81=13', '85+13=98']
Exploring Operation: 98-64=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 64*98=6272, Resulting Numbers: [6272]
6272,66 unequal: No Solution
Exploring Operation: 64+98=162, Resulting Numbers: [162]
162,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[94, 64, 4], Operations: ['85-81=4']
Exploring Operation: 64+4=68, Resulting Numbers: [94, 68]
Generated Node #0,0,0: 66:[94, 68] Operation: 64+4=68
Exploring Operation: 94-4=90, Resulting Numbers: [64, 90]
Generated Node #0,0,1: 66:[64, 90] Operation: 94-4=90
Exploring Operation: 94-64=30, Resulting Numbers: [4, 30]
Generated Node #0,0,2: 66:[4, 30] Operation: 94-64=30
Exploring Operation: 64/4=16, Resulting Numbers: [94, 16]
Generated Node #0,0,3: 66:[94, 16] Operation: 64/4=16
Exploring Operation: 94+4=98, Resulting Numbers: [64, 98]
Generated Node #0,0,4: 66:[64, 98] Operation: 94+4=98
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 66:[4, 30], Operations: ['85-81=4', '94-64=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,66 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[64, 90], Operations: ['85-81=4', '94-4=90']
Exploring Operation: 64*90=5760, Resulting Numbers: [5760]
5760,66 unequal: No Solution
Exploring Operation: 64+90=154, Resulting Numbers: [154]
154,66 unequal: No Solution
Exploring Operation: 90-64=26, Resulting Numbers: [26]
26,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[94, 68], Operations: ['85-81=4', '64+4=68']
Exploring Operation: 94*68=6392, Resulting Numbers: [6392]
6392,66 unequal: No Solution
Exploring Operation: 94-68=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 94+68=162, Resulting Numbers: [162]
162,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 66:[94, 16], Operations: ['85-81=4', '64/4=16']
Exploring Operation: 94-16=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Exploring Operation: 94+16=110, Resulting Numbers: [110]
110,66 unequal: No Solution
Exploring Operation: 94*16=1504, Resulting Numbers: [1504]
1504,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 66:[64, 98], Operations: ['85-81=4', '94+4=98']
Exploring Operation: 64*98=6272, Resulting Numbers: [6272]
6272,66 unequal: No Solution
Exploring Operation: 64+98=162, Resulting Numbers: [162]
162,66 unequal: No Solution
Exploring Operation: 98-64=34, Resulting Numbers: [34]
34,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 66:[81, 85, 30], Operations: ['94-64=30']
Exploring Operation: 81+30=111, Resulting Numbers: [85, 111]
Generated Node #0,4,0: 66:[85, 111] Operation: 81+30=111
Exploring Operation: 81-30=51, Resulting Numbers: [85, 51]
Generated Node #0,4,1: 66:[85, 51] Operation: 81-30=51
Exploring Operation: 85+30=115, Resulting Numbers: [81, 115]
Generated Node #0,4,2: 66:[81, 115] Operation: 85+30=115
Exploring Operation: 85-30=55, Resulting Numbers: [81, 55]
Generated Node #0,4,3: 66:[81, 55] Operation: 85-30=55
Exploring Operation: 85-81=4, Resulting Numbers: [30, 4]
Generated Node #0,4,4: 66:[30, 4] Operation: 85-81=4
Moving to Node #0,4,4
Current State: 66:[30, 4], Operations: ['94-64=30', '85-81=4']
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,66 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Moving to Node #0,4,3
Current State: 66:[81, 55], Operations: ['94-64=30', '85-30=55']
Exploring Operation: 81+55=136, Resulting Numbers: [136]
136,66 unequal: No Solution
Exploring Operation: 81-55=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 81*55=4455, Resulting Numbers: [4455]
4455,66 unequal: No Solution
Moving to Node #0,4,1
Current State: 66:[85, 51], Operations: ['94-64=30', '81-30=51']
Exploring Operation: 85+51=136, Resulting Numbers: [136]
136,66 unequal: No Solution
Exploring Operation: 85-51=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 85*51=4335, Resulting Numbers: [4335]
4335,66 unequal: No Solution
Moving to Node #0,4,0
Current State: 66:[85, 111], Operations: ['94-64=30', '81+30=111']
Exploring Operation: 85+111=196, Resulting Numbers: [196]
196,66 unequal: No Solution
Exploring Operation: 111-85=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 85*111=9435, Resulting Numbers: [9435]
9435,66 unequal: No Solution
Moving to Node #0,4,2
Current State: 66:[81, 115], Operations: ['94-64=30', '85+30=115']
Exploring Operation: 115-81=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 81*115=9315, Resulting Numbers: [9315]
9315,66 unequal: No Solution
Exploring Operation: 81+115=196, Resulting Numbers: [196]
196,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 66:[94, 81, 21], Operations: ['85-64=21']
Exploring Operation: 94+21=115, Resulting Numbers: [81, 115]
Generated Node #0,3,0: 66:[81, 115] Operation: 94+21=115
Exploring Operation: 94-21=73, Resulting Numbers: [81, 73]
Generated Node #0,3,1: 66:[81, 73] Operation: 94-21=73
Exploring Operation: 94-81=13, Resulting Numbers: [21, 13]
Generated Node #0,3,2: 66:[21, 13] Operation: 94-81=13
Exploring Operation: 81+21=102, Resulting Numbers: [94, 102]
Generated Node #0,3,3: 66:[94, 102] Operation: 81+21=102
Exploring Operation: 81-21=60, Resulting Numbers: [94, 60]
Generated Node #0,3,4: 66:[94, 60] Operation: 81-21=60
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 66:[21, 13], Operations: ['85-64=21', '94-81=13']
Exploring Operation: 21*13=273, Resulting Numbers: [273]
273,66 unequal: No Solution
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 66:[81, 73], Operations: ['85-64=21', '94-21=73']
Exploring Operation: 81-73=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 81*73=5913, Resulting Numbers: [5913]
5913,66 unequal: No Solution
Exploring Operation: 81+73=154, Resulting Numbers: [154]
154,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 66:[94, 60], Operations: ['85-64=21', '81-21=60']
Exploring Operation: 94*60=5640, Resulting Numbers: [5640]
5640,66 unequal: No Solution
Exploring Operation: 94-60=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 94+60=154, Resulting Numbers: [154]
154,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 66:[81, 115], Operations: ['85-64=21', '94+21=115']
Exploring Operation: 115-81=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 81+115=196, Resulting Numbers: [196]
196,66 unequal: No Solution
Exploring Operation: 81*115=9315, Resulting Numbers: [9315]
9315,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 66:[94, 102], Operations: ['85-64=21', '81+21=102']
Exploring Operation: 102-94=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 94+102=196, Resulting Numbers: [196]
196,66 unequal: No Solution
Exploring Operation: 94*102=9588, Resulting Numbers: [9588]
9588,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
18,
4,
68,
21
] | 22 | [
"18+21=39",
"68/4=17",
"39-17=22"
] | Current State: 22:[18, 4, 68, 21], Operations: []
Exploring Operation: 18+21=39, Resulting Numbers: [4, 68, 39]
Generated Node #2: [4, 68, 39] from Operation: 18+21=39
Current State: 22:[4, 68, 39], Operations: ['18+21=39']
Exploring Operation: 68/4=17, Resulting Numbers: [39, 17]
Generated Node #3: [39, 17] from Operation: 68/4=17
Current State: 22:[39, 17], Operations: ['18+21=39', '68/4=17']
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[18, 4, 68, 21], Operations: []
Exploring Operation: 68/4=17, Resulting Numbers: [18, 21, 17]
Generated Node #0,0: 22:[18, 21, 17] Operation: 68/4=17
Moving to Node #0,0
Current State: 22:[18, 21, 17], Operations: ['68/4=17']
Exploring Operation: 18-17=1, Resulting Numbers: [21, 1]
Generated Node #0,0,0: 22:[21, 1] Operation: 18-17=1
Moving to Node #0,0,0
Current State: 22:[21, 1], Operations: ['68/4=17', '18-17=1']
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[18, 4, 68, 21], Operations: []
Exploring Operation: 68/4=17, Resulting Numbers: [18, 21, 17]
Generated Node #0,0: 22:[18, 21, 17] Operation: 68/4=17
Moving to Node #0,0
Current State: 22:[18, 21, 17], Operations: ['68/4=17']
Exploring Operation: 18-17=1, Resulting Numbers: [21, 1]
Generated Node #0,0,0: 22:[21, 1] Operation: 18-17=1
Moving to Node #0,0,0
Current State: 22:[21, 1], Operations: ['68/4=17', '18-17=1']
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
53,
32,
17,
68
] | 61 | [
"32*17=544",
"544/68=8",
"53+8=61"
] | Current State: 61:[53, 32, 17, 68], Operations: []
Exploring Operation: 32*17=544, Resulting Numbers: [53, 68, 544]
Generated Node #2: [53, 68, 544] from Operation: 32*17=544
Current State: 61:[53, 68, 544], Operations: ['32*17=544']
Exploring Operation: 544/68=8, Resulting Numbers: [53, 8]
Generated Node #3: [53, 8] from Operation: 544/68=8
Current State: 61:[53, 8], Operations: ['32*17=544', '544/68=8']
Exploring Operation: 53+8=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[53, 32, 17, 68], Operations: []
Exploring Operation: 32+17=49, Resulting Numbers: [53, 68, 49]
Generated Node #0,0: 61:[53, 68, 49] Operation: 32+17=49
Exploring Operation: 68-17=51, Resulting Numbers: [53, 32, 51]
Generated Node #0,1: 61:[53, 32, 51] Operation: 68-17=51
Exploring Operation: 53+17=70, Resulting Numbers: [32, 68, 70]
Generated Node #0,2: 61:[32, 68, 70] Operation: 53+17=70
Moving to Node #0,0
Current State: 61:[53, 68, 49], Operations: ['32+17=49']
Exploring Operation: 68-49=19, Resulting Numbers: [53, 19]
Generated Node #0,0,0: 61:[53, 19] Operation: 68-49=19
Exploring Operation: 53+49=102, Resulting Numbers: [68, 102]
Generated Node #0,0,1: 61:[68, 102] Operation: 53+49=102
Exploring Operation: 68-53=15, Resulting Numbers: [49, 15]
Generated Node #0,0,2: 61:[49, 15] Operation: 68-53=15
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[68, 102], Operations: ['32+17=49', '53+49=102']
Exploring Operation: 102-68=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 68*102=6936, Resulting Numbers: [6936]
6936,61 unequal: No Solution
Exploring Operation: 68+102=170, Resulting Numbers: [170]
170,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[53, 19], Operations: ['32+17=49', '68-49=19']
Exploring Operation: 53*19=1007, Resulting Numbers: [1007]
1007,61 unequal: No Solution
Exploring Operation: 53+19=72, Resulting Numbers: [72]
72,61 unequal: No Solution
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[49, 15], Operations: ['32+17=49', '68-53=15']
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 49+15=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Exploring Operation: 49*15=735, Resulting Numbers: [735]
735,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 61:[32, 68, 70], Operations: ['53+17=70']
Exploring Operation: 68-32=36, Resulting Numbers: [70, 36]
Generated Node #0,2,0: 61:[70, 36] Operation: 68-32=36
Exploring Operation: 32+68=100, Resulting Numbers: [70, 100]
Generated Node #0,2,1: 61:[70, 100] Operation: 32+68=100
Exploring Operation: 70-32=38, Resulting Numbers: [68, 38]
Generated Node #0,2,2: 61:[68, 38] Operation: 70-32=38
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 61:[68, 38], Operations: ['53+17=70', '70-32=38']
Exploring Operation: 68+38=106, Resulting Numbers: [106]
106,61 unequal: No Solution
Exploring Operation: 68*38=2584, Resulting Numbers: [2584]
2584,61 unequal: No Solution
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[70, 36], Operations: ['53+17=70', '68-32=36']
Exploring Operation: 70-36=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 70+36=106, Resulting Numbers: [106]
106,61 unequal: No Solution
Exploring Operation: 70*36=2520, Resulting Numbers: [2520]
2520,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 61:[70, 100], Operations: ['53+17=70', '32+68=100']
Exploring Operation: 70*100=7000, Resulting Numbers: [7000]
7000,61 unequal: No Solution
Exploring Operation: 100-70=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 70+100=170, Resulting Numbers: [170]
170,61 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: 61:[53, 32, 51], Operations: ['68-17=51']
Exploring Operation: 32+51=83, Resulting Numbers: [53, 83]
Generated Node #0,1,0: 61:[53, 83] Operation: 32+51=83
Exploring Operation: 53+32=85, Resulting Numbers: [51, 85]
Generated Node #0,1,1: 61:[51, 85] Operation: 53+32=85
Exploring Operation: 53-32=21, Resulting Numbers: [51, 21]
Generated Node #0,1,2: 61:[51, 21] Operation: 53-32=21
Moving to Node #0,1,0
Current State: 61:[53, 83], Operations: ['68-17=51', '32+51=83']
Exploring Operation: 83-53=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 53+83=136, Resulting Numbers: [136]
136,61 unequal: No Solution
Exploring Operation: 53*83=4399, Resulting Numbers: [4399]
4399,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[51, 85], Operations: ['68-17=51', '53+32=85']
Exploring Operation: 51+85=136, Resulting Numbers: [136]
136,61 unequal: No Solution
Exploring Operation: 85-51=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 51*85=4335, Resulting Numbers: [4335]
4335,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[51, 21], Operations: ['68-17=51', '53-32=21']
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 51+21=72, Resulting Numbers: [72]
72,61 unequal: No Solution
Exploring Operation: 51*21=1071, Resulting Numbers: [1071]
1071,61 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
32,
3,
40,
35
] | 91 | [
"32*3=96",
"40-35=5",
"96-5=91"
] | Current State: 91:[32, 3, 40, 35], Operations: []
Exploring Operation: 32*3=96, Resulting Numbers: [40, 35, 96]
Generated Node #2: [40, 35, 96] from Operation: 32*3=96
Current State: 91:[40, 35, 96], Operations: ['32*3=96']
Exploring Operation: 40-35=5, Resulting Numbers: [96, 5]
Generated Node #3: [96, 5] from Operation: 40-35=5
Current State: 91:[96, 5], Operations: ['32*3=96', '40-35=5']
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[32, 3, 40, 35], Operations: []
Exploring Operation: 40-35=5, Resulting Numbers: [32, 3, 5]
Generated Node #0,0: 91:[32, 3, 5] Operation: 40-35=5
Exploring Operation: 40-32=8, Resulting Numbers: [3, 35, 8]
Generated Node #0,1: 91:[3, 35, 8] Operation: 40-32=8
Moving to Node #0,0
Current State: 91:[32, 3, 5], Operations: ['40-35=5']
Exploring Operation: 32*3=96, Resulting Numbers: [5, 96]
Generated Node #0,0,0: 91:[5, 96] Operation: 32*3=96
Exploring Operation: 32-3=29, Resulting Numbers: [5, 29]
Generated Node #0,0,1: 91:[5, 29] Operation: 32-3=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[5, 96], Operations: ['40-35=5', '32*3=96']
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[32, 3, 40, 35], Operations: []
Exploring Operation: 40-35=5, Resulting Numbers: [32, 3, 5]
Generated Node #0,0: 91:[32, 3, 5] Operation: 40-35=5
Moving to Node #0,0
Current State: 91:[32, 3, 5], Operations: ['40-35=5']
Exploring Operation: 32*3=96, Resulting Numbers: [5, 96]
Generated Node #0,0,0: 91:[5, 96] Operation: 32*3=96
Moving to Node #0,0,0
Current State: 91:[5, 96], Operations: ['40-35=5', '32*3=96']
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
42,
38,
66,
6
] | 34 | [
"66-42=24",
"24/6=4",
"38-4=34"
] | Current State: 34:[42, 38, 66, 6], Operations: []
Exploring Operation: 66-42=24, Resulting Numbers: [38, 6, 24]
Generated Node #2: [38, 6, 24] from Operation: 66-42=24
Current State: 34:[38, 6, 24], Operations: ['66-42=24']
Exploring Operation: 24/6=4, Resulting Numbers: [38, 4]
Generated Node #3: [38, 4] from Operation: 24/6=4
Current State: 34:[38, 4], Operations: ['66-42=24', '24/6=4']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[42, 38, 66, 6], Operations: []
Exploring Operation: 66-42=24, Resulting Numbers: [38, 6, 24]
Generated Node #0,0: 34:[38, 6, 24] Operation: 66-42=24
Exploring Operation: 66/6=11, Resulting Numbers: [42, 38, 11]
Generated Node #0,1: 34:[42, 38, 11] Operation: 66/6=11
Exploring Operation: 42-38=4, Resulting Numbers: [66, 6, 4]
Generated Node #0,2: 34:[66, 6, 4] Operation: 42-38=4
Exploring Operation: 66-38=28, Resulting Numbers: [42, 6, 28]
Generated Node #0,3: 34:[42, 6, 28] Operation: 66-38=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[38, 6, 24], Operations: ['66-42=24']
Exploring Operation: 24/6=4, Resulting Numbers: [38, 4]
Generated Node #0,0,0: 34:[38, 4] Operation: 24/6=4
Exploring Operation: 6+24=30, Resulting Numbers: [38, 30]
Generated Node #0,0,1: 34:[38, 30] Operation: 6+24=30
Exploring Operation: 24-6=18, Resulting Numbers: [38, 18]
Generated Node #0,0,2: 34:[38, 18] Operation: 24-6=18
Exploring Operation: 38-24=14, Resulting Numbers: [6, 14]
Generated Node #0,0,3: 34:[6, 14] Operation: 38-24=14
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 34:[38, 18], Operations: ['66-42=24', '24-6=18']
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[38, 4], Operations: ['66-42=24', '24/6=4']
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,34 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[42, 38, 66, 6], Operations: []
Exploring Operation: 66-42=24, Resulting Numbers: [38, 6, 24]
Generated Node #0,0: 34:[38, 6, 24] Operation: 66-42=24
Moving to Node #0,0
Current State: 34:[38, 6, 24], Operations: ['66-42=24']
Exploring Operation: 24/6=4, Resulting Numbers: [38, 4]
Generated Node #0,0,0: 34:[38, 4] Operation: 24/6=4
Moving to Node #0,0,0
Current State: 34:[38, 4], Operations: ['66-42=24', '24/6=4']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
82,
55,
63,
20
] | 56 | [
"82-55=27",
"63+20=83",
"83-27=56"
] | Current State: 56:[82, 55, 63, 20], Operations: []
Exploring Operation: 82-55=27, Resulting Numbers: [63, 20, 27]
Generated Node #2: [63, 20, 27] from Operation: 82-55=27
Current State: 56:[63, 20, 27], Operations: ['82-55=27']
Exploring Operation: 63+20=83, Resulting Numbers: [27, 83]
Generated Node #3: [27, 83] from Operation: 63+20=83
Current State: 56:[27, 83], Operations: ['82-55=27', '63+20=83']
Exploring Operation: 83-27=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[82, 55, 63, 20], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [55, 20, 19]
Generated Node #0,0: 56:[55, 20, 19] Operation: 82-63=19
Moving to Node #0,0
Current State: 56:[55, 20, 19], Operations: ['82-63=19']
Exploring Operation: 20-19=1, Resulting Numbers: [55, 1]
Generated Node #0,0,0: 56:[55, 1] Operation: 20-19=1
Moving to Node #0,0,0
Current State: 56:[55, 1], Operations: ['82-63=19', '20-19=1']
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[82, 55, 63, 20], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [55, 20, 19]
Generated Node #0,0: 56:[55, 20, 19] Operation: 82-63=19
Moving to Node #0,0
Current State: 56:[55, 20, 19], Operations: ['82-63=19']
Exploring Operation: 20-19=1, Resulting Numbers: [55, 1]
Generated Node #0,0,0: 56:[55, 1] Operation: 20-19=1
Moving to Node #0,0,0
Current State: 56:[55, 1], Operations: ['82-63=19', '20-19=1']
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
91,
8,
36,
88
] | 89 | [
"8+36=44",
"88/44=2",
"91-2=89"
] | Current State: 89:[91, 8, 36, 88], Operations: []
Exploring Operation: 8+36=44, Resulting Numbers: [91, 88, 44]
Generated Node #2: [91, 88, 44] from Operation: 8+36=44
Current State: 89:[91, 88, 44], Operations: ['8+36=44']
Exploring Operation: 88/44=2, Resulting Numbers: [91, 2]
Generated Node #3: [91, 2] from Operation: 88/44=2
Current State: 89:[91, 2], Operations: ['8+36=44', '88/44=2']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[91, 8, 36, 88], Operations: []
Exploring Operation: 91-8=83, Resulting Numbers: [36, 88, 83]
Generated Node #0,0: 89:[36, 88, 83] Operation: 91-8=83
Exploring Operation: 91+8=99, Resulting Numbers: [36, 88, 99]
Generated Node #0,1: 89:[36, 88, 99] Operation: 91+8=99
Exploring Operation: 8+88=96, Resulting Numbers: [91, 36, 96]
Generated Node #0,2: 89:[91, 36, 96] Operation: 8+88=96
Exploring Operation: 8+36=44, Resulting Numbers: [91, 88, 44]
Generated Node #0,3: 89:[91, 88, 44] Operation: 8+36=44
Moving to Node #0,3
Current State: 89:[91, 88, 44], Operations: ['8+36=44']
Exploring Operation: 91-44=47, Resulting Numbers: [88, 47]
Generated Node #0,3,0: 89:[88, 47] Operation: 91-44=47
Exploring Operation: 91+44=135, Resulting Numbers: [88, 135]
Generated Node #0,3,1: 89:[88, 135] Operation: 91+44=135
Exploring Operation: 88-44=44, Resulting Numbers: [91, 44]
Generated Node #0,3,2: 89:[91, 44] Operation: 88-44=44
Exploring Operation: 88+44=132, Resulting Numbers: [91, 132]
Generated Node #0,3,3: 89:[91, 132] Operation: 88+44=132
Moving to Node #0,0
Current State: 89:[36, 88, 83], Operations: ['91-8=83']
Exploring Operation: 83-36=47, Resulting Numbers: [88, 47]
Generated Node #0,0,0: 89:[88, 47] Operation: 83-36=47
Exploring Operation: 36+88=124, Resulting Numbers: [83, 124]
Generated Node #0,0,1: 89:[83, 124] Operation: 36+88=124
Exploring Operation: 88-36=52, Resulting Numbers: [83, 52]
Generated Node #0,0,2: 89:[83, 52] Operation: 88-36=52
Exploring Operation: 36+83=119, Resulting Numbers: [88, 119]
Generated Node #0,0,3: 89:[88, 119] Operation: 36+83=119
Moving to Node #0,2
Current State: 89:[91, 36, 96], Operations: ['8+88=96']
Exploring Operation: 91-36=55, Resulting Numbers: [96, 55]
Generated Node #0,2,0: 89:[96, 55] Operation: 91-36=55
Exploring Operation: 96-36=60, Resulting Numbers: [91, 60]
Generated Node #0,2,1: 89:[91, 60] Operation: 96-36=60
Exploring Operation: 91+36=127, Resulting Numbers: [96, 127]
Generated Node #0,2,2: 89:[96, 127] Operation: 91+36=127
Exploring Operation: 36+96=132, Resulting Numbers: [91, 132]
Generated Node #0,2,3: 89:[91, 132] Operation: 36+96=132
Moving to Node #0,1
Current State: 89:[36, 88, 99], Operations: ['91+8=99']
Exploring Operation: 88-36=52, Resulting Numbers: [99, 52]
Generated Node #0,1,0: 89:[99, 52] Operation: 88-36=52
Exploring Operation: 99-36=63, Resulting Numbers: [88, 63]
Generated Node #0,1,1: 89:[88, 63] Operation: 99-36=63
Exploring Operation: 36+99=135, Resulting Numbers: [88, 135]
Generated Node #0,1,2: 89:[88, 135] Operation: 36+99=135
Exploring Operation: 36+88=124, Resulting Numbers: [99, 124]
Generated Node #0,1,3: 89:[99, 124] Operation: 36+88=124
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[88, 63], Operations: ['91+8=99', '99-36=63']
Exploring Operation: 88-63=25, Resulting Numbers: [25]
25,89 unequal: No Solution
Exploring Operation: 88+63=151, Resulting Numbers: [151]
151,89 unequal: No Solution
Exploring Operation: 88*63=5544, Resulting Numbers: [5544]
5544,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:[99, 124], Operations: ['91+8=99', '36+88=124']
Exploring Operation: 99*124=12276, Resulting Numbers: [12276]
12276,89 unequal: No Solution
Exploring Operation: 99+124=223, Resulting Numbers: [223]
223,89 unequal: No Solution
Exploring Operation: 124-99=25, Resulting Numbers: [25]
25,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:[99, 52], Operations: ['91+8=99', '88-36=52']
Exploring Operation: 99+52=151, Resulting Numbers: [151]
151,89 unequal: No Solution
Exploring Operation: 99*52=5148, Resulting Numbers: [5148]
5148,89 unequal: No Solution
Exploring Operation: 99-52=47, Resulting Numbers: [47]
47,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:[88, 135], Operations: ['91+8=99', '36+99=135']
Exploring Operation: 135-88=47, Resulting Numbers: [47]
47,89 unequal: No Solution
Exploring Operation: 88*135=11880, Resulting Numbers: [11880]
11880,89 unequal: No Solution
Exploring Operation: 88+135=223, Resulting Numbers: [223]
223,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 89:[88, 119], Operations: ['91-8=83', '36+83=119']
Exploring Operation: 119-88=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Exploring Operation: 88+119=207, Resulting Numbers: [207]
207,89 unequal: No Solution
Exploring Operation: 88*119=10472, Resulting Numbers: [10472]
10472,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[91, 60], Operations: ['8+88=96', '96-36=60']
Exploring Operation: 91*60=5460, Resulting Numbers: [5460]
5460,89 unequal: No Solution
Exploring Operation: 91-60=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Exploring Operation: 91+60=151, Resulting Numbers: [151]
151,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[83, 124], Operations: ['91-8=83', '36+88=124']
Exploring Operation: 83*124=10292, Resulting Numbers: [10292]
10292,89 unequal: No Solution
Exploring Operation: 83+124=207, Resulting Numbers: [207]
207,89 unequal: No Solution
Exploring Operation: 124-83=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[96, 55], Operations: ['8+88=96', '91-36=55']
Exploring Operation: 96-55=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 96*55=5280, Resulting Numbers: [5280]
5280,89 unequal: No Solution
Exploring Operation: 96+55=151, Resulting Numbers: [151]
151,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[88, 47], Operations: ['91-8=83', '83-36=47']
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 88+47=135, Resulting Numbers: [135]
135,89 unequal: No Solution
Exploring Operation: 88*47=4136, Resulting Numbers: [4136]
4136,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[88, 47], Operations: ['8+36=44', '91-44=47']
Exploring Operation: 88+47=135, Resulting Numbers: [135]
135,89 unequal: No Solution
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 88*47=4136, Resulting Numbers: [4136]
4136,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[83, 52], Operations: ['91-8=83', '88-36=52']
Exploring Operation: 83-52=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Exploring Operation: 83+52=135, Resulting Numbers: [135]
135,89 unequal: No Solution
Exploring Operation: 83*52=4316, Resulting Numbers: [4316]
4316,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[91, 132], Operations: ['8+88=96', '36+96=132']
Exploring Operation: 91+132=223, Resulting Numbers: [223]
223,89 unequal: No Solution
Exploring Operation: 91*132=12012, Resulting Numbers: [12012]
12012,89 unequal: No Solution
Exploring Operation: 132-91=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[91, 132], Operations: ['8+36=44', '88+44=132']
Exploring Operation: 91*132=12012, Resulting Numbers: [12012]
12012,89 unequal: No Solution
Exploring Operation: 132-91=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 91+132=223, Resulting Numbers: [223]
223,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[96, 127], Operations: ['8+88=96', '91+36=127']
Exploring Operation: 96*127=12192, Resulting Numbers: [12192]
12192,89 unequal: No Solution
Exploring Operation: 96+127=223, Resulting Numbers: [223]
223,89 unequal: No Solution
Exploring Operation: 127-96=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[91, 44], Operations: ['8+36=44', '88-44=44']
Exploring Operation: 91+44=135, Resulting Numbers: [135]
135,89 unequal: No Solution
Exploring Operation: 91*44=4004, Resulting Numbers: [4004]
4004,89 unequal: No Solution
Exploring Operation: 91-44=47, Resulting Numbers: [47]
47,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[88, 135], Operations: ['8+36=44', '91+44=135']
Exploring Operation: 135-88=47, Resulting Numbers: [47]
47,89 unequal: No Solution
Exploring Operation: 88+135=223, Resulting Numbers: [223]
223,89 unequal: No Solution
Exploring Operation: 88*135=11880, Resulting Numbers: [11880]
11880,89 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
33,
6,
44,
52
] | 14 | [
"44-33=11",
"6*11=66",
"66-52=14"
] | Current State: 14:[33, 6, 44, 52], Operations: []
Exploring Operation: 44-33=11, Resulting Numbers: [6, 52, 11]
Generated Node #2: [6, 52, 11] from Operation: 44-33=11
Current State: 14:[6, 52, 11], Operations: ['44-33=11']
Exploring Operation: 6*11=66, Resulting Numbers: [52, 66]
Generated Node #3: [52, 66] from Operation: 6*11=66
Current State: 14:[52, 66], Operations: ['44-33=11', '6*11=66']
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[33, 6, 44, 52], Operations: []
Exploring Operation: 52-33=19, Resulting Numbers: [6, 44, 19]
Generated Node #0,0: 14:[6, 44, 19] Operation: 52-33=19
Exploring Operation: 33-6=27, Resulting Numbers: [44, 52, 27]
Generated Node #0,1: 14:[44, 52, 27] Operation: 33-6=27
Exploring Operation: 44-33=11, Resulting Numbers: [6, 52, 11]
Generated Node #0,2: 14:[6, 52, 11] Operation: 44-33=11
Exploring Operation: 44-6=38, Resulting Numbers: [33, 52, 38]
Generated Node #0,3: 14:[33, 52, 38] Operation: 44-6=38
Exploring Operation: 52-44=8, Resulting Numbers: [33, 6, 8]
Generated Node #0,4: 14:[33, 6, 8] Operation: 52-44=8
Start Sub Search at level 1: Moving to Node #0,4
Current State: 14:[33, 6, 8], Operations: ['52-44=8']
Exploring Operation: 6+8=14, Resulting Numbers: [33, 14]
Generated Node #0,4,0: 14:[33, 14] Operation: 6+8=14
Exploring Operation: 33-6=27, Resulting Numbers: [8, 27]
Generated Node #0,4,1: 14:[8, 27] Operation: 33-6=27
Exploring Operation: 33-8=25, Resulting Numbers: [6, 25]
Generated Node #0,4,2: 14:[6, 25] Operation: 33-8=25
Exploring Operation: 8-6=2, Resulting Numbers: [33, 2]
Generated Node #0,4,3: 14:[33, 2] Operation: 8-6=2
Exploring Operation: 33+6=39, Resulting Numbers: [8, 39]
Generated Node #0,4,4: 14:[8, 39] Operation: 33+6=39
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 14:[6, 25], Operations: ['52-44=8', '33-8=25']
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,14 unequal: No Solution
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,14 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 14:[8, 27], Operations: ['52-44=8', '33-6=27']
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,14 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 14:[33, 14], Operations: ['52-44=8', '6+8=14']
Exploring Operation: 33+14=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Exploring Operation: 33*14=462, Resulting Numbers: [462]
462,14 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 14:[33, 2], Operations: ['52-44=8', '8-6=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,14 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,14 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 14:[8, 39], Operations: ['52-44=8', '33+6=39']
Exploring Operation: 8+39=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,14 unequal: No Solution
Exploring Operation: 8*39=312, Resulting Numbers: [312]
312,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[6, 44, 19], Operations: ['52-33=19']
Exploring Operation: 44-19=25, Resulting Numbers: [6, 25]
Generated Node #0,0,0: 14:[6, 25] Operation: 44-19=25
Exploring Operation: 19-6=13, Resulting Numbers: [44, 13]
Generated Node #0,0,1: 14:[44, 13] Operation: 19-6=13
Exploring Operation: 6+19=25, Resulting Numbers: [44, 25]
Generated Node #0,0,2: 14:[44, 25] Operation: 6+19=25
Exploring Operation: 6+44=50, Resulting Numbers: [19, 50]
Generated Node #0,0,3: 14:[19, 50] Operation: 6+44=50
Exploring Operation: 44-6=38, Resulting Numbers: [19, 38]
Generated Node #0,0,4: 14:[19, 38] Operation: 44-6=38
Moving to Node #0,0,0
Current State: 14:[6, 25], Operations: ['52-33=19', '44-19=25']
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,14 unequal: No Solution
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,14 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Moving to Node #0,0,4
Current State: 14:[19, 38], Operations: ['52-33=19', '44-6=38']
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,14 unequal: No Solution
Exploring Operation: 19*38=722, Resulting Numbers: [722]
722,14 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[44, 13], Operations: ['52-33=19', '19-6=13']
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,14 unequal: No Solution
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,14 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[44, 25], Operations: ['52-33=19', '6+19=25']
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 44*25=1100, Resulting Numbers: [1100]
1100,14 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Moving to Node #0,0,3
Current State: 14:[19, 50], Operations: ['52-33=19', '6+44=50']
Exploring Operation: 19*50=950, Resulting Numbers: [950]
950,14 unequal: No Solution
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,14 unequal: No Solution
Exploring Operation: 19+50=69, Resulting Numbers: [69]
69,14 unequal: No Solution
No 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: 14:[6, 52, 11], Operations: ['44-33=11']
Exploring Operation: 52-6=46, Resulting Numbers: [11, 46]
Generated Node #0,2,0: 14:[11, 46] Operation: 52-6=46
Exploring Operation: 6+11=17, Resulting Numbers: [52, 17]
Generated Node #0,2,1: 14:[52, 17] Operation: 6+11=17
Exploring Operation: 6+52=58, Resulting Numbers: [11, 58]
Generated Node #0,2,2: 14:[11, 58] Operation: 6+52=58
Exploring Operation: 11-6=5, Resulting Numbers: [52, 5]
Generated Node #0,2,3: 14:[52, 5] Operation: 11-6=5
Exploring Operation: 52-11=41, Resulting Numbers: [6, 41]
Generated Node #0,2,4: 14:[6, 41] Operation: 52-11=41
Moving to Node #0,2,4
Current State: 14:[6, 41], Operations: ['44-33=11', '52-11=41']
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[11, 46], Operations: ['44-33=11', '52-6=46']
Exploring Operation: 11+46=57, Resulting Numbers: [57]
57,14 unequal: No Solution
Exploring Operation: 11*46=506, Resulting Numbers: [506]
506,14 unequal: No Solution
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Moving to Node #0,2,3
Current State: 14:[52, 5], Operations: ['44-33=11', '11-6=5']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Exploring Operation: 52+5=57, Resulting Numbers: [57]
57,14 unequal: No Solution
Exploring Operation: 52*5=260, Resulting Numbers: [260]
260,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[52, 17], Operations: ['44-33=11', '6+11=17']
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Exploring Operation: 52+17=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 52*17=884, Resulting Numbers: [884]
884,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[11, 58], Operations: ['44-33=11', '6+52=58']
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Exploring Operation: 11+58=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 11*58=638, Resulting Numbers: [638]
638,14 unequal: No Solution
No 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: 14:[44, 52, 27], Operations: ['33-6=27']
Exploring Operation: 52-44=8, Resulting Numbers: [27, 8]
Generated Node #0,1,0: 14:[27, 8] Operation: 52-44=8
Exploring Operation: 44+27=71, Resulting Numbers: [52, 71]
Generated Node #0,1,1: 14:[52, 71] Operation: 44+27=71
Exploring Operation: 52-27=25, Resulting Numbers: [44, 25]
Generated Node #0,1,2: 14:[44, 25] Operation: 52-27=25
Exploring Operation: 44+52=96, Resulting Numbers: [27, 96]
Generated Node #0,1,3: 14:[27, 96] Operation: 44+52=96
Exploring Operation: 44-27=17, Resulting Numbers: [52, 17]
Generated Node #0,1,4: 14:[52, 17] Operation: 44-27=17
Moving to Node #0,1,0
Current State: 14:[27, 8], Operations: ['33-6=27', '52-44=8']
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,14 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Moving to Node #0,1,4
Current State: 14:[52, 17], Operations: ['33-6=27', '44-27=17']
Exploring Operation: 52+17=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 52*17=884, Resulting Numbers: [884]
884,14 unequal: No Solution
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[44, 25], Operations: ['33-6=27', '52-27=25']
Exploring Operation: 44*25=1100, Resulting Numbers: [1100]
1100,14 unequal: No Solution
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[52, 71], Operations: ['33-6=27', '44+27=71']
Exploring Operation: 52*71=3692, Resulting Numbers: [3692]
3692,14 unequal: No Solution
Exploring Operation: 71-52=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 52+71=123, Resulting Numbers: [123]
123,14 unequal: No Solution
Moving to Node #0,1,3
Current State: 14:[27, 96], Operations: ['33-6=27', '44+52=96']
Exploring Operation: 27+96=123, Resulting Numbers: [123]
123,14 unequal: No Solution
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 27*96=2592, Resulting Numbers: [2592]
2592,14 unequal: No Solution
No 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: 14:[33, 52, 38], Operations: ['44-6=38']
Exploring Operation: 52-33=19, Resulting Numbers: [38, 19]
Generated Node #0,3,0: 14:[38, 19] Operation: 52-33=19
Exploring Operation: 52-38=14, Resulting Numbers: [33, 14]
Generated Node #0,3,1: 14:[33, 14] Operation: 52-38=14
Exploring Operation: 33+38=71, Resulting Numbers: [52, 71]
Generated Node #0,3,2: 14:[52, 71] Operation: 33+38=71
Exploring Operation: 33+52=85, Resulting Numbers: [38, 85]
Generated Node #0,3,3: 14:[38, 85] Operation: 33+52=85
Exploring Operation: 38-33=5, Resulting Numbers: [52, 5]
Generated Node #0,3,4: 14:[52, 5] Operation: 38-33=5
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 14:[33, 14], Operations: ['44-6=38', '52-38=14']
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 33+14=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Exploring Operation: 33*14=462, Resulting Numbers: [462]
462,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 14:[38, 19], Operations: ['44-6=38', '52-33=19']
Exploring Operation: 38+19=57, Resulting Numbers: [57]
57,14 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 38*19=722, Resulting Numbers: [722]
722,14 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 14:[52, 5], Operations: ['44-6=38', '38-33=5']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Exploring Operation: 52+5=57, Resulting Numbers: [57]
57,14 unequal: No Solution
Exploring Operation: 52*5=260, Resulting Numbers: [260]
260,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 14:[52, 71], Operations: ['44-6=38', '33+38=71']
Exploring Operation: 52+71=123, Resulting Numbers: [123]
123,14 unequal: No Solution
Exploring Operation: 52*71=3692, Resulting Numbers: [3692]
3692,14 unequal: No Solution
Exploring Operation: 71-52=19, Resulting Numbers: [19]
19,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 14:[38, 85], Operations: ['44-6=38', '33+52=85']
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,14 unequal: No Solution
Exploring Operation: 38+85=123, Resulting Numbers: [123]
123,14 unequal: No Solution
Exploring Operation: 38*85=3230, Resulting Numbers: [3230]
3230,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
5,
2,
60,
93
] | 37 | [
"5+60=65",
"2*65=130",
"130-93=37"
] | Current State: 37:[5, 2, 60, 93], Operations: []
Exploring Operation: 5+60=65, Resulting Numbers: [2, 93, 65]
Generated Node #2: [2, 93, 65] from Operation: 5+60=65
Current State: 37:[2, 93, 65], Operations: ['5+60=65']
Exploring Operation: 2*65=130, Resulting Numbers: [93, 130]
Generated Node #3: [93, 130] from Operation: 2*65=130
Current State: 37:[93, 130], Operations: ['5+60=65', '2*65=130']
Exploring Operation: 130-93=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[5, 2, 60, 93], Operations: []
Exploring Operation: 5*2=10, Resulting Numbers: [60, 93, 10]
Generated Node #0,0: 37:[60, 93, 10] Operation: 5*2=10
Exploring Operation: 60/2=30, Resulting Numbers: [5, 93, 30]
Generated Node #0,1: 37:[5, 93, 30] Operation: 60/2=30
Exploring Operation: 5+2=7, Resulting Numbers: [60, 93, 7]
Generated Node #0,2: 37:[60, 93, 7] Operation: 5+2=7
Exploring Operation: 93-60=33, Resulting Numbers: [5, 2, 33]
Generated Node #0,3: 37:[5, 2, 33] Operation: 93-60=33
Exploring Operation: 60-5=55, Resulting Numbers: [2, 93, 55]
Generated Node #0,4: 37:[2, 93, 55] Operation: 60-5=55
Start Sub Search at level 1: Moving to Node #0,3
Current State: 37:[5, 2, 33], Operations: ['93-60=33']
Exploring Operation: 5+33=38, Resulting Numbers: [2, 38]
Generated Node #0,3,0: 37:[2, 38] Operation: 5+33=38
Exploring Operation: 5-2=3, Resulting Numbers: [33, 3]
Generated Node #0,3,1: 37:[33, 3] Operation: 5-2=3
Exploring Operation: 5+2=7, Resulting Numbers: [33, 7]
Generated Node #0,3,2: 37:[33, 7] Operation: 5+2=7
Exploring Operation: 5*2=10, Resulting Numbers: [33, 10]
Generated Node #0,3,3: 37:[33, 10] Operation: 5*2=10
Exploring Operation: 2+33=35, Resulting Numbers: [5, 35]
Generated Node #0,3,4: 37:[5, 35] Operation: 2+33=35
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 37:[33, 10], Operations: ['93-60=33', '5*2=10']
Exploring Operation: 33+10=43, Resulting Numbers: [43]
43,37 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 33*10=330, Resulting Numbers: [330]
330,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,3,2
Current State: 37:[33, 7], Operations: ['93-60=33', '5+2=7']
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,37 unequal: No Solution
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,37 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,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,3,4
Current State: 37:[5, 35], Operations: ['93-60=33', '2+33=35']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,37 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,37 unequal: No Solution
Exploring Operation: 5*35=175, Resulting Numbers: [175]
175,37 unequal: No Solution
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,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,3,0
Current State: 37:[2, 38], Operations: ['93-60=33', '5+33=38']
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,37 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,37 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,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,3,1
Current State: 37:[33, 3], Operations: ['93-60=33', '5-2=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,37 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,37 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[5, 93, 30], Operations: ['60/2=30']
Exploring Operation: 30-5=25, Resulting Numbers: [93, 25]
Generated Node #0,1,0: 37:[93, 25] Operation: 30-5=25
Exploring Operation: 5+30=35, Resulting Numbers: [93, 35]
Generated Node #0,1,1: 37:[93, 35] Operation: 5+30=35
Exploring Operation: 93-5=88, Resulting Numbers: [30, 88]
Generated Node #0,1,2: 37:[30, 88] Operation: 93-5=88
Exploring Operation: 93-30=63, Resulting Numbers: [5, 63]
Generated Node #0,1,3: 37:[5, 63] Operation: 93-30=63
Exploring Operation: 5+93=98, Resulting Numbers: [30, 98]
Generated Node #0,1,4: 37:[30, 98] Operation: 5+93=98
Moving to Node #0,1,1
Current State: 37:[93, 35], Operations: ['60/2=30', '5+30=35']
Exploring Operation: 93+35=128, Resulting Numbers: [128]
128,37 unequal: No Solution
Exploring Operation: 93-35=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 93*35=3255, Resulting Numbers: [3255]
3255,37 unequal: No Solution
Moving to Node #0,1,3
Current State: 37:[5, 63], Operations: ['60/2=30', '93-30=63']
Exploring Operation: 5+63=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Exploring Operation: 5*63=315, Resulting Numbers: [315]
315,37 unequal: No Solution
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[30, 88], Operations: ['60/2=30', '93-5=88']
Exploring Operation: 30+88=118, Resulting Numbers: [118]
118,37 unequal: No Solution
Exploring Operation: 30*88=2640, Resulting Numbers: [2640]
2640,37 unequal: No Solution
Exploring Operation: 88-30=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[93, 25], Operations: ['60/2=30', '30-5=25']
Exploring Operation: 93+25=118, Resulting Numbers: [118]
118,37 unequal: No Solution
Exploring Operation: 93-25=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Exploring Operation: 93*25=2325, Resulting Numbers: [2325]
2325,37 unequal: No Solution
Moving to Node #0,1,4
Current State: 37:[30, 98], Operations: ['60/2=30', '5+93=98']
Exploring Operation: 30+98=128, Resulting Numbers: [128]
128,37 unequal: No Solution
Exploring Operation: 30*98=2940, Resulting Numbers: [2940]
2940,37 unequal: No Solution
Exploring Operation: 98-30=68, Resulting Numbers: [68]
68,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,0
Current State: 37:[60, 93, 10], Operations: ['5*2=10']
Exploring Operation: 60/10=6, Resulting Numbers: [93, 6]
Generated Node #0,0,0: 37:[93, 6] Operation: 60/10=6
Exploring Operation: 93-10=83, Resulting Numbers: [60, 83]
Generated Node #0,0,1: 37:[60, 83] Operation: 93-10=83
Exploring Operation: 93-60=33, Resulting Numbers: [10, 33]
Generated Node #0,0,2: 37:[10, 33] Operation: 93-60=33
Exploring Operation: 60+10=70, Resulting Numbers: [93, 70]
Generated Node #0,0,3: 37:[93, 70] Operation: 60+10=70
Exploring Operation: 60-10=50, Resulting Numbers: [93, 50]
Generated Node #0,0,4: 37:[93, 50] Operation: 60-10=50
Moving to Node #0,0,2
Current State: 37:[10, 33], Operations: ['5*2=10', '93-60=33']
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,37 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 10*33=330, Resulting Numbers: [330]
330,37 unequal: No Solution
Moving to Node #0,0,4
Current State: 37:[93, 50], Operations: ['5*2=10', '60-10=50']
Exploring Operation: 93-50=43, Resulting Numbers: [43]
43,37 unequal: No Solution
Exploring Operation: 93+50=143, Resulting Numbers: [143]
143,37 unequal: No Solution
Exploring Operation: 93*50=4650, Resulting Numbers: [4650]
4650,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[60, 83], Operations: ['5*2=10', '93-10=83']
Exploring Operation: 60+83=143, Resulting Numbers: [143]
143,37 unequal: No Solution
Exploring Operation: 83-60=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 60*83=4980, Resulting Numbers: [4980]
4980,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[93, 6], Operations: ['5*2=10', '60/10=6']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,37 unequal: No Solution
Exploring Operation: 93*6=558, Resulting Numbers: [558]
558,37 unequal: No Solution
Exploring Operation: 93+6=99, Resulting Numbers: [99]
99,37 unequal: No Solution
Moving to Node #0,0,3
Current State: 37:[93, 70], Operations: ['5*2=10', '60+10=70']
Exploring Operation: 93-70=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 93+70=163, Resulting Numbers: [163]
163,37 unequal: No Solution
Exploring Operation: 93*70=6510, Resulting Numbers: [6510]
6510,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[60, 93, 7], Operations: ['5+2=7']
Exploring Operation: 60-7=53, Resulting Numbers: [93, 53]
Generated Node #0,2,0: 37:[93, 53] Operation: 60-7=53
Exploring Operation: 60+7=67, Resulting Numbers: [93, 67]
Generated Node #0,2,1: 37:[93, 67] Operation: 60+7=67
Exploring Operation: 93+7=100, Resulting Numbers: [60, 100]
Generated Node #0,2,2: 37:[60, 100] Operation: 93+7=100
Exploring Operation: 93-60=33, Resulting Numbers: [7, 33]
Generated Node #0,2,3: 37:[7, 33] Operation: 93-60=33
Exploring Operation: 93-7=86, Resulting Numbers: [60, 86]
Generated Node #0,2,4: 37:[60, 86] Operation: 93-7=86
Moving to Node #0,2,3
Current State: 37:[7, 33], Operations: ['5+2=7', '93-60=33']
Exploring Operation: 7*33=231, Resulting Numbers: [231]
231,37 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,37 unequal: No Solution
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,37 unequal: No Solution
Moving to Node #0,2,4
Current State: 37:[60, 86], Operations: ['5+2=7', '93-7=86']
Exploring Operation: 86-60=26, Resulting Numbers: [26]
26,37 unequal: No Solution
Exploring Operation: 60+86=146, Resulting Numbers: [146]
146,37 unequal: No Solution
Exploring Operation: 60*86=5160, Resulting Numbers: [5160]
5160,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[93, 53], Operations: ['5+2=7', '60-7=53']
Exploring Operation: 93-53=40, Resulting Numbers: [40]
40,37 unequal: No Solution
Exploring Operation: 93*53=4929, Resulting Numbers: [4929]
4929,37 unequal: No Solution
Exploring Operation: 93+53=146, Resulting Numbers: [146]
146,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[93, 67], Operations: ['5+2=7', '60+7=67']
Exploring Operation: 93-67=26, Resulting Numbers: [26]
26,37 unequal: No Solution
Exploring Operation: 93+67=160, Resulting Numbers: [160]
160,37 unequal: No Solution
Exploring Operation: 93*67=6231, Resulting Numbers: [6231]
6231,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[60, 100], Operations: ['5+2=7', '93+7=100']
Exploring Operation: 100-60=40, Resulting Numbers: [40]
40,37 unequal: No Solution
Exploring Operation: 60*100=6000, Resulting Numbers: [6000]
6000,37 unequal: No Solution
Exploring Operation: 60+100=160, Resulting Numbers: [160]
160,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 37:[2, 93, 55], Operations: ['60-5=55']
Exploring Operation: 93-55=38, Resulting Numbers: [2, 38]
Generated Node #0,4,0: 37:[2, 38] Operation: 93-55=38
Exploring Operation: 2+55=57, Resulting Numbers: [93, 57]
Generated Node #0,4,1: 37:[93, 57] Operation: 2+55=57
Exploring Operation: 93-2=91, Resulting Numbers: [55, 91]
Generated Node #0,4,2: 37:[55, 91] Operation: 93-2=91
Exploring Operation: 2+93=95, Resulting Numbers: [55, 95]
Generated Node #0,4,3: 37:[55, 95] Operation: 2+93=95
Exploring Operation: 55-2=53, Resulting Numbers: [93, 53]
Generated Node #0,4,4: 37:[93, 53] Operation: 55-2=53
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 37:[2, 38], Operations: ['60-5=55', '93-55=38']
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,37 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,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,4,2
Current State: 37:[55, 91], Operations: ['60-5=55', '93-2=91']
Exploring Operation: 55+91=146, Resulting Numbers: [146]
146,37 unequal: No Solution
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 55*91=5005, Resulting Numbers: [5005]
5005,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,4,4
Current State: 37:[93, 53], Operations: ['60-5=55', '55-2=53']
Exploring Operation: 93-53=40, Resulting Numbers: [40]
40,37 unequal: No Solution
Exploring Operation: 93*53=4929, Resulting Numbers: [4929]
4929,37 unequal: No Solution
Exploring Operation: 93+53=146, Resulting Numbers: [146]
146,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,4,1
Current State: 37:[93, 57], Operations: ['60-5=55', '2+55=57']
Exploring Operation: 93*57=5301, Resulting Numbers: [5301]
5301,37 unequal: No Solution
Exploring Operation: 93-57=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 93+57=150, Resulting Numbers: [150]
150,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,4,3
Current State: 37:[55, 95], Operations: ['60-5=55', '2+93=95']
Exploring Operation: 55+95=150, Resulting Numbers: [150]
150,37 unequal: No Solution
Exploring Operation: 95-55=40, Resulting Numbers: [40]
40,37 unequal: No Solution
Exploring Operation: 55*95=5225, Resulting Numbers: [5225]
5225,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_5 | sum_heuristic |
[
95,
15,
18,
54
] | 67 | [
"18-15=3",
"54*3=162",
"162-95=67"
] | Current State: 67:[95, 15, 18, 54], Operations: []
Exploring Operation: 18-15=3, Resulting Numbers: [95, 54, 3]
Generated Node #2: [95, 54, 3] from Operation: 18-15=3
Current State: 67:[95, 54, 3], Operations: ['18-15=3']
Exploring Operation: 54*3=162, Resulting Numbers: [95, 162]
Generated Node #3: [95, 162] from Operation: 54*3=162
Current State: 67:[95, 162], Operations: ['18-15=3', '54*3=162']
Exploring Operation: 162-95=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[95, 15, 18, 54], Operations: []
Exploring Operation: 18+54=72, Resulting Numbers: [95, 15, 72]
Generated Node #0,0: 67:[95, 15, 72] Operation: 18+54=72
Exploring Operation: 95-18=77, Resulting Numbers: [15, 54, 77]
Generated Node #0,1: 67:[15, 54, 77] Operation: 95-18=77
Exploring Operation: 95-15=80, Resulting Numbers: [18, 54, 80]
Generated Node #0,2: 67:[18, 54, 80] Operation: 95-15=80
Exploring Operation: 15+54=69, Resulting Numbers: [95, 18, 69]
Generated Node #0,3: 67:[95, 18, 69] Operation: 15+54=69
Exploring Operation: 15+18=33, Resulting Numbers: [95, 54, 33]
Generated Node #0,4: 67:[95, 54, 33] Operation: 15+18=33
Moving to Node #0,1
Current State: 67:[15, 54, 77], Operations: ['95-18=77']
Exploring Operation: 77-54=23, Resulting Numbers: [15, 23]
Generated Node #0,1,0: 67:[15, 23] Operation: 77-54=23
Exploring Operation: 15+77=92, Resulting Numbers: [54, 92]
Generated Node #0,1,1: 67:[54, 92] Operation: 15+77=92
Exploring Operation: 54-15=39, Resulting Numbers: [77, 39]
Generated Node #0,1,2: 67:[77, 39] Operation: 54-15=39
Exploring Operation: 15+54=69, Resulting Numbers: [77, 69]
Generated Node #0,1,3: 67:[77, 69] Operation: 15+54=69
Exploring Operation: 77-15=62, Resulting Numbers: [54, 62]
Generated Node #0,1,4: 67:[54, 62] Operation: 77-15=62
Moving to Node #0,4
Current State: 67:[95, 54, 33], Operations: ['15+18=33']
Exploring Operation: 95-54=41, Resulting Numbers: [33, 41]
Generated Node #0,4,0: 67:[33, 41] Operation: 95-54=41
Exploring Operation: 95-33=62, Resulting Numbers: [54, 62]
Generated Node #0,4,1: 67:[54, 62] Operation: 95-33=62
Exploring Operation: 54+33=87, Resulting Numbers: [95, 87]
Generated Node #0,4,2: 67:[95, 87] Operation: 54+33=87
Exploring Operation: 95+33=128, Resulting Numbers: [54, 128]
Generated Node #0,4,3: 67:[54, 128] Operation: 95+33=128
Exploring Operation: 54-33=21, Resulting Numbers: [95, 21]
Generated Node #0,4,4: 67:[95, 21] Operation: 54-33=21
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 67:[54, 62], Operations: ['15+18=33', '95-33=62']
Exploring Operation: 54*62=3348, Resulting Numbers: [3348]
3348,67 unequal: No Solution
Exploring Operation: 54+62=116, Resulting Numbers: [116]
116,67 unequal: No Solution
Exploring Operation: 62-54=8, Resulting Numbers: [8]
8,67 unequal: No Solution
No 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: 67:[95, 87], Operations: ['15+18=33', '54+33=87']
Exploring Operation: 95+87=182, Resulting Numbers: [182]
182,67 unequal: No Solution
Exploring Operation: 95*87=8265, Resulting Numbers: [8265]
8265,67 unequal: No Solution
Exploring Operation: 95-87=8, Resulting Numbers: [8]
8,67 unequal: No Solution
No 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: 67:[33, 41], Operations: ['15+18=33', '95-54=41']
Exploring Operation: 33*41=1353, Resulting Numbers: [1353]
1353,67 unequal: No Solution
Exploring Operation: 33+41=74, Resulting Numbers: [74]
74,67 unequal: No Solution
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,67 unequal: No Solution
No 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: 67:[54, 128], Operations: ['15+18=33', '95+33=128']
Exploring Operation: 54*128=6912, Resulting Numbers: [6912]
6912,67 unequal: No Solution
Exploring Operation: 54+128=182, Resulting Numbers: [182]
182,67 unequal: No Solution
Exploring Operation: 128-54=74, Resulting Numbers: [74]
74,67 unequal: No Solution
No 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: 67:[95, 21], Operations: ['15+18=33', '54-33=21']
Exploring Operation: 95*21=1995, Resulting Numbers: [1995]
1995,67 unequal: No Solution
Exploring Operation: 95+21=116, Resulting Numbers: [116]
116,67 unequal: No Solution
Exploring Operation: 95-21=74, Resulting Numbers: [74]
74,67 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: 67:[18, 54, 80], Operations: ['95-15=80']
Exploring Operation: 18+54=72, Resulting Numbers: [80, 72]
Generated Node #0,2,0: 67:[80, 72] Operation: 18+54=72
Exploring Operation: 80-18=62, Resulting Numbers: [54, 62]
Generated Node #0,2,1: 67:[54, 62] Operation: 80-18=62
Exploring Operation: 18+80=98, Resulting Numbers: [54, 98]
Generated Node #0,2,2: 67:[54, 98] Operation: 18+80=98
Exploring Operation: 54/18=3, Resulting Numbers: [80, 3]
Generated Node #0,2,3: 67:[80, 3] Operation: 54/18=3
Exploring Operation: 54-18=36, Resulting Numbers: [80, 36]
Generated Node #0,2,4: 67:[80, 36] Operation: 54-18=36
Moving to Node #0,3
Current State: 67:[95, 18, 69], Operations: ['15+54=69']
Exploring Operation: 95-18=77, Resulting Numbers: [69, 77]
Generated Node #0,3,0: 67:[69, 77] Operation: 95-18=77
Exploring Operation: 95-69=26, Resulting Numbers: [18, 26]
Generated Node #0,3,1: 67:[18, 26] Operation: 95-69=26
Exploring Operation: 18+69=87, Resulting Numbers: [95, 87]
Generated Node #0,3,2: 67:[95, 87] Operation: 18+69=87
Exploring Operation: 69-18=51, Resulting Numbers: [95, 51]
Generated Node #0,3,3: 67:[95, 51] Operation: 69-18=51
Exploring Operation: 95+18=113, Resulting Numbers: [69, 113]
Generated Node #0,3,4: 67:[69, 113] Operation: 95+18=113
Moving to Node #0,0
Current State: 67:[95, 15, 72], Operations: ['18+54=72']
Exploring Operation: 72-15=57, Resulting Numbers: [95, 57]
Generated Node #0,0,0: 67:[95, 57] Operation: 72-15=57
Exploring Operation: 95+15=110, Resulting Numbers: [72, 110]
Generated Node #0,0,1: 67:[72, 110] Operation: 95+15=110
Exploring Operation: 95-72=23, Resulting Numbers: [15, 23]
Generated Node #0,0,2: 67:[15, 23] Operation: 95-72=23
Exploring Operation: 15+72=87, Resulting Numbers: [95, 87]
Generated Node #0,0,3: 67:[95, 87] Operation: 15+72=87
Exploring Operation: 95-15=80, Resulting Numbers: [72, 80]
Generated Node #0,0,4: 67:[72, 80] Operation: 95-15=80
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 67:[72, 80], Operations: ['18+54=72', '95-15=80']
Exploring Operation: 72*80=5760, Resulting Numbers: [5760]
5760,67 unequal: No Solution
Exploring Operation: 80-72=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 72+80=152, Resulting Numbers: [152]
152,67 unequal: No Solution
No 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: 67:[95, 57], Operations: ['18+54=72', '72-15=57']
Exploring Operation: 95-57=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 95+57=152, Resulting Numbers: [152]
152,67 unequal: No Solution
Exploring Operation: 95*57=5415, Resulting Numbers: [5415]
5415,67 unequal: No Solution
No 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: 67:[72, 110], Operations: ['18+54=72', '95+15=110']
Exploring Operation: 110-72=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 72*110=7920, Resulting Numbers: [7920]
7920,67 unequal: No Solution
Exploring Operation: 72+110=182, Resulting Numbers: [182]
182,67 unequal: No Solution
No 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: 67:[95, 87], Operations: ['18+54=72', '15+72=87']
Exploring Operation: 95-87=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 95+87=182, Resulting Numbers: [182]
182,67 unequal: No Solution
Exploring Operation: 95*87=8265, Resulting Numbers: [8265]
8265,67 unequal: No Solution
No 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: 67:[15, 23], Operations: ['18+54=72', '95-72=23']
Exploring Operation: 15+23=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 15*23=345, Resulting Numbers: [345]
345,67 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 67:[77, 69], Operations: ['95-18=77', '15+54=69']
Exploring Operation: 77-69=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 77+69=146, Resulting Numbers: [146]
146,67 unequal: No Solution
Exploring Operation: 77*69=5313, Resulting Numbers: [5313]
5313,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[69, 77], Operations: ['15+54=69', '95-18=77']
Exploring Operation: 69*77=5313, Resulting Numbers: [5313]
5313,67 unequal: No Solution
Exploring Operation: 69+77=146, Resulting Numbers: [146]
146,67 unequal: No Solution
Exploring Operation: 77-69=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[80, 72], Operations: ['95-15=80', '18+54=72']
Exploring Operation: 80+72=152, Resulting Numbers: [152]
152,67 unequal: No Solution
Exploring Operation: 80*72=5760, Resulting Numbers: [5760]
5760,67 unequal: No Solution
Exploring Operation: 80-72=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[54, 62], Operations: ['95-15=80', '80-18=62']
Exploring Operation: 54*62=3348, Resulting Numbers: [3348]
3348,67 unequal: No Solution
Exploring Operation: 54+62=116, Resulting Numbers: [116]
116,67 unequal: No Solution
Exploring Operation: 62-54=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Moving to Node #0,1,4
Current State: 67:[54, 62], Operations: ['95-18=77', '77-15=62']
Exploring Operation: 62-54=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 54*62=3348, Resulting Numbers: [3348]
3348,67 unequal: No Solution
Exploring Operation: 54+62=116, Resulting Numbers: [116]
116,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[54, 92], Operations: ['95-18=77', '15+77=92']
Exploring Operation: 92-54=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 54*92=4968, Resulting Numbers: [4968]
4968,67 unequal: No Solution
Exploring Operation: 54+92=146, Resulting Numbers: [146]
146,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[77, 39], Operations: ['95-18=77', '54-15=39']
Exploring Operation: 77*39=3003, Resulting Numbers: [3003]
3003,67 unequal: No Solution
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 77+39=116, Resulting Numbers: [116]
116,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[95, 51], Operations: ['15+54=69', '69-18=51']
Exploring Operation: 95*51=4845, Resulting Numbers: [4845]
4845,67 unequal: No Solution
Exploring Operation: 95+51=146, Resulting Numbers: [146]
146,67 unequal: No Solution
Exploring Operation: 95-51=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Moving to Node #0,2,4
Current State: 67:[80, 36], Operations: ['95-15=80', '54-18=36']
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Exploring Operation: 80*36=2880, Resulting Numbers: [2880]
2880,67 unequal: No Solution
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[54, 98], Operations: ['95-15=80', '18+80=98']
Exploring Operation: 54*98=5292, Resulting Numbers: [5292]
5292,67 unequal: No Solution
Exploring Operation: 54+98=152, Resulting Numbers: [152]
152,67 unequal: No Solution
Exploring Operation: 98-54=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Moving to Node #0,3,4
Current State: 67:[69, 113], Operations: ['15+54=69', '95+18=113']
Exploring Operation: 69*113=7797, Resulting Numbers: [7797]
7797,67 unequal: No Solution
Exploring Operation: 69+113=182, Resulting Numbers: [182]
182,67 unequal: No Solution
Exploring Operation: 113-69=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Moving to Node #0,3,2
Current State: 67:[95, 87], Operations: ['15+54=69', '18+69=87']
Exploring Operation: 95*87=8265, Resulting Numbers: [8265]
8265,67 unequal: No Solution
Exploring Operation: 95+87=182, Resulting Numbers: [182]
182,67 unequal: No Solution
Exploring Operation: 95-87=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Moving to Node #0,2,3
Current State: 67:[80, 3], Operations: ['95-15=80', '54/18=3']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,67 unequal: No Solution
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 80*3=240, Resulting Numbers: [240]
240,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[18, 26], Operations: ['15+54=69', '95-69=26']
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 18*26=468, Resulting Numbers: [468]
468,67 unequal: No Solution
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[15, 23], Operations: ['95-18=77', '77-54=23']
Exploring Operation: 15*23=345, Resulting Numbers: [345]
345,67 unequal: No Solution
Exploring Operation: 15+23=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,67 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
9,
71,
20,
45
] | 41 | [
"9+71=80",
"80/20=4",
"45-4=41"
] | Current State: 41:[9, 71, 20, 45], Operations: []
Exploring Operation: 9+71=80, Resulting Numbers: [20, 45, 80]
Generated Node #2: [20, 45, 80] from Operation: 9+71=80
Current State: 41:[20, 45, 80], Operations: ['9+71=80']
Exploring Operation: 80/20=4, Resulting Numbers: [45, 4]
Generated Node #3: [45, 4] from Operation: 80/20=4
Current State: 41:[45, 4], Operations: ['9+71=80', '80/20=4']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[9, 71, 20, 45], Operations: []
Exploring Operation: 71-9=62, Resulting Numbers: [20, 45, 62]
Generated Node #0,0: 41:[20, 45, 62] Operation: 71-9=62
Exploring Operation: 9+20=29, Resulting Numbers: [71, 45, 29]
Generated Node #0,1: 41:[71, 45, 29] Operation: 9+20=29
Moving to Node #0,0
Current State: 41:[20, 45, 62], Operations: ['71-9=62']
Exploring Operation: 45-20=25, Resulting Numbers: [62, 25]
Generated Node #0,0,0: 41:[62, 25] Operation: 45-20=25
Exploring Operation: 62-20=42, Resulting Numbers: [45, 42]
Generated Node #0,0,1: 41:[45, 42] Operation: 62-20=42
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[45, 42], Operations: ['71-9=62', '62-20=42']
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 45+42=87, Resulting Numbers: [87]
87,41 unequal: No Solution
No 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: 41:[62, 25], Operations: ['71-9=62', '45-20=25']
Exploring Operation: 62-25=37, Resulting Numbers: [37]
37,41 unequal: No Solution
Exploring Operation: 62+25=87, Resulting Numbers: [87]
87,41 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: 41:[71, 45, 29], Operations: ['9+20=29']
Exploring Operation: 71-45=26, Resulting Numbers: [29, 26]
Generated Node #0,1,0: 41:[29, 26] Operation: 71-45=26
Exploring Operation: 71-29=42, Resulting Numbers: [45, 42]
Generated Node #0,1,1: 41:[45, 42] Operation: 71-29=42
Moving to Node #0,1,1
Current State: 41:[45, 42], Operations: ['9+20=29', '71-29=42']
Exploring Operation: 45+42=87, Resulting Numbers: [87]
87,41 unequal: No Solution
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[29, 26], Operations: ['9+20=29', '71-45=26']
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,41 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,41 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
44,
58,
29,
20
] | 12 | [
"44-20=24",
"58/29=2",
"24/2=12"
] | Current State: 12:[44, 58, 29, 20], Operations: []
Exploring Operation: 44-20=24, Resulting Numbers: [58, 29, 24]
Generated Node #2: [58, 29, 24] from Operation: 44-20=24
Current State: 12:[58, 29, 24], Operations: ['44-20=24']
Exploring Operation: 58/29=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 58/29=2
Current State: 12:[24, 2], Operations: ['44-20=24', '58/29=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[44, 58, 29, 20], Operations: []
Exploring Operation: 44-29=15, Resulting Numbers: [58, 20, 15]
Generated Node #0,0: 12:[58, 20, 15] Operation: 44-29=15
Exploring Operation: 58-44=14, Resulting Numbers: [29, 20, 14]
Generated Node #0,1: 12:[29, 20, 14] Operation: 58-44=14
Exploring Operation: 58/29=2, Resulting Numbers: [44, 20, 2]
Generated Node #0,2: 12:[44, 20, 2] Operation: 58/29=2
Exploring Operation: 58-29=29, Resulting Numbers: [44, 20, 29]
Generated Node #0,3: 12:[44, 20, 29] Operation: 58-29=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[29, 20, 14], Operations: ['58-44=14']
Exploring Operation: 20-14=6, Resulting Numbers: [29, 6]
Generated Node #0,1,0: 12:[29, 6] Operation: 20-14=6
Exploring Operation: 29-14=15, Resulting Numbers: [20, 15]
Generated Node #0,1,1: 12:[20, 15] Operation: 29-14=15
Exploring Operation: 29-20=9, Resulting Numbers: [14, 9]
Generated Node #0,1,2: 12:[14, 9] Operation: 29-20=9
Exploring Operation: 29+20=49, Resulting Numbers: [14, 49]
Generated Node #0,1,3: 12:[14, 49] Operation: 29+20=49
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 12:[14, 9], Operations: ['58-44=14', '29-20=9']
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 14*9=126, Resulting Numbers: [126]
126,12 unequal: No Solution
No 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: 12:[20, 15], Operations: ['58-44=14', '29-14=15']
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 20*15=300, Resulting Numbers: [300]
300,12 unequal: No Solution
Exploring Operation: 20+15=35, Resulting Numbers: [35]
35,12 unequal: No Solution
No 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: 12:[29, 6], Operations: ['58-44=14', '20-14=6']
Exploring Operation: 29*6=174, Resulting Numbers: [174]
174,12 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,12 unequal: No Solution
No 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: 12:[14, 49], Operations: ['58-44=14', '29+20=49']
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Exploring Operation: 14+49=63, Resulting Numbers: [63]
63,12 unequal: No Solution
Exploring Operation: 14*49=686, Resulting Numbers: [686]
686,12 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: 12:[44, 20, 2], Operations: ['58/29=2']
Exploring Operation: 44-20=24, Resulting Numbers: [2, 24]
Generated Node #0,2,0: 12:[2, 24] Operation: 44-20=24
Exploring Operation: 20/2=10, Resulting Numbers: [44, 10]
Generated Node #0,2,1: 12:[44, 10] Operation: 20/2=10
Exploring Operation: 44/2=22, Resulting Numbers: [20, 22]
Generated Node #0,2,2: 12:[20, 22] Operation: 44/2=22
Exploring Operation: 44-2=42, Resulting Numbers: [20, 42]
Generated Node #0,2,3: 12:[20, 42] Operation: 44-2=42
Moving to Node #0,2,0
Current State: 12:[2, 24], Operations: ['58/29=2', '44-20=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,12 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[44, 58, 29, 20], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [44, 20, 2]
Generated Node #0,2: 12:[44, 20, 2] Operation: 58/29=2
Moving to Node #0,2
Current State: 12:[44, 20, 2], Operations: ['58/29=2']
Exploring Operation: 44-20=24, Resulting Numbers: [2, 24]
Generated Node #0,2,0: 12:[2, 24] Operation: 44-20=24
Moving to Node #0,2,0
Current State: 12:[2, 24], Operations: ['58/29=2', '44-20=24']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
23,
80,
70,
53
] | 40 | [
"80-23=57",
"70-53=17",
"57-17=40"
] | Current State: 40:[23, 80, 70, 53], Operations: []
Exploring Operation: 80-23=57, Resulting Numbers: [70, 53, 57]
Generated Node #2: [70, 53, 57] from Operation: 80-23=57
Current State: 40:[70, 53, 57], Operations: ['80-23=57']
Exploring Operation: 70-53=17, Resulting Numbers: [57, 17]
Generated Node #3: [57, 17] from Operation: 70-53=17
Current State: 40:[57, 17], Operations: ['80-23=57', '70-53=17']
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[23, 80, 70, 53], Operations: []
Exploring Operation: 80-70=10, Resulting Numbers: [23, 53, 10]
Generated Node #0,0: 40:[23, 53, 10] Operation: 80-70=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[23, 53, 10], Operations: ['80-70=10']
Exploring Operation: 53-10=43, Resulting Numbers: [23, 43]
Generated Node #0,0,0: 40:[23, 43] Operation: 53-10=43
Moving to Node #0,0,0
Current State: 40:[23, 43], Operations: ['80-70=10', '53-10=43']
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
88,
92,
68,
23
] | 95 | [
"92-88=4",
"68+23=91",
"4+91=95"
] | Current State: 95:[88, 92, 68, 23], Operations: []
Exploring Operation: 92-88=4, Resulting Numbers: [68, 23, 4]
Generated Node #2: [68, 23, 4] from Operation: 92-88=4
Current State: 95:[68, 23, 4], Operations: ['92-88=4']
Exploring Operation: 68+23=91, Resulting Numbers: [4, 91]
Generated Node #3: [4, 91] from Operation: 68+23=91
Current State: 95:[4, 91], Operations: ['92-88=4', '68+23=91']
Exploring Operation: 4+91=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[88, 92, 68, 23], Operations: []
Exploring Operation: 88-68=20, Resulting Numbers: [92, 23, 20]
Generated Node #0,0: 95:[92, 23, 20] Operation: 88-68=20
Exploring Operation: 68+23=91, Resulting Numbers: [88, 92, 91]
Generated Node #0,1: 95:[88, 92, 91] Operation: 68+23=91
Moving to Node #0,0
Current State: 95:[92, 23, 20], Operations: ['88-68=20']
Exploring Operation: 23-20=3, Resulting Numbers: [92, 3]
Generated Node #0,0,0: 95:[92, 3] Operation: 23-20=3
Exploring Operation: 92/23=4, Resulting Numbers: [20, 4]
Generated Node #0,0,1: 95:[20, 4] Operation: 92/23=4
Moving to Node #0,1
Current State: 95:[88, 92, 91], Operations: ['68+23=91']
Exploring Operation: 91-88=3, Resulting Numbers: [92, 3]
Generated Node #0,1,0: 95:[92, 3] Operation: 91-88=3
Exploring Operation: 92-88=4, Resulting Numbers: [91, 4]
Generated Node #0,1,1: 95:[91, 4] Operation: 92-88=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[92, 3], Operations: ['68+23=91', '91-88=3']
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[88, 92, 68, 23], Operations: []
Exploring Operation: 68+23=91, Resulting Numbers: [88, 92, 91]
Generated Node #0,1: 95:[88, 92, 91] Operation: 68+23=91
Moving to Node #0,1
Current State: 95:[88, 92, 91], Operations: ['68+23=91']
Exploring Operation: 91-88=3, Resulting Numbers: [92, 3]
Generated Node #0,1,0: 95:[92, 3] Operation: 91-88=3
Moving to Node #0,1,0
Current State: 95:[92, 3], Operations: ['68+23=91', '91-88=3']
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
72,
31,
16,
29
] | 20 | [
"31-29=2",
"72/2=36",
"36-16=20"
] | Current State: 20:[72, 31, 16, 29], Operations: []
Exploring Operation: 31-29=2, Resulting Numbers: [72, 16, 2]
Generated Node #2: [72, 16, 2] from Operation: 31-29=2
Current State: 20:[72, 16, 2], Operations: ['31-29=2']
Exploring Operation: 72/2=36, Resulting Numbers: [16, 36]
Generated Node #3: [16, 36] from Operation: 72/2=36
Current State: 20:[16, 36], Operations: ['31-29=2', '72/2=36']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[72, 31, 16, 29], Operations: []
Exploring Operation: 31-16=15, Resulting Numbers: [72, 29, 15]
Generated Node #0,0: 20:[72, 29, 15] Operation: 31-16=15
Exploring Operation: 72-16=56, Resulting Numbers: [31, 29, 56]
Generated Node #0,1: 20:[31, 29, 56] Operation: 72-16=56
Exploring Operation: 72-31=41, Resulting Numbers: [16, 29, 41]
Generated Node #0,2: 20:[16, 29, 41] Operation: 72-31=41
Exploring Operation: 31-29=2, Resulting Numbers: [72, 16, 2]
Generated Node #0,3: 20:[72, 16, 2] Operation: 31-29=2
Exploring Operation: 72-29=43, Resulting Numbers: [31, 16, 43]
Generated Node #0,4: 20:[31, 16, 43] Operation: 72-29=43
Moving to Node #0,2
Current State: 20:[16, 29, 41], Operations: ['72-31=41']
Exploring Operation: 16+29=45, Resulting Numbers: [41, 45]
Generated Node #0,2,0: 20:[41, 45] Operation: 16+29=45
Exploring Operation: 41-29=12, Resulting Numbers: [16, 12]
Generated Node #0,2,1: 20:[16, 12] Operation: 41-29=12
Exploring Operation: 41-16=25, Resulting Numbers: [29, 25]
Generated Node #0,2,2: 20:[29, 25] Operation: 41-16=25
Exploring Operation: 29-16=13, Resulting Numbers: [41, 13]
Generated Node #0,2,3: 20:[41, 13] Operation: 29-16=13
Exploring Operation: 16+41=57, Resulting Numbers: [29, 57]
Generated Node #0,2,4: 20:[29, 57] Operation: 16+41=57
Moving to Node #0,4
Current State: 20:[31, 16, 43], Operations: ['72-29=43']
Exploring Operation: 16+43=59, Resulting Numbers: [31, 59]
Generated Node #0,4,0: 20:[31, 59] Operation: 16+43=59
Exploring Operation: 31-16=15, Resulting Numbers: [43, 15]
Generated Node #0,4,1: 20:[43, 15] Operation: 31-16=15
Exploring Operation: 43-31=12, Resulting Numbers: [16, 12]
Generated Node #0,4,2: 20:[16, 12] Operation: 43-31=12
Exploring Operation: 43-16=27, Resulting Numbers: [31, 27]
Generated Node #0,4,3: 20:[31, 27] Operation: 43-16=27
Exploring Operation: 31+16=47, Resulting Numbers: [43, 47]
Generated Node #0,4,4: 20:[43, 47] Operation: 31+16=47
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 20:[16, 12], Operations: ['72-29=43', '43-31=12']
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,20 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 20:[31, 27], Operations: ['72-29=43', '43-16=27']
Exploring Operation: 31*27=837, Resulting Numbers: [837]
837,20 unequal: No Solution
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 20:[43, 15], Operations: ['72-29=43', '31-16=15']
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 43+15=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 43*15=645, Resulting Numbers: [645]
645,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 20:[31, 59], Operations: ['72-29=43', '16+43=59']
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 31+59=90, Resulting Numbers: [90]
90,20 unequal: No Solution
Exploring Operation: 31*59=1829, Resulting Numbers: [1829]
1829,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 20:[43, 47], Operations: ['72-29=43', '31+16=47']
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 43+47=90, Resulting Numbers: [90]
90,20 unequal: No Solution
Exploring Operation: 43*47=2021, Resulting Numbers: [2021]
2021,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 20:[31, 29, 56], Operations: ['72-16=56']
Exploring Operation: 31+29=60, Resulting Numbers: [56, 60]
Generated Node #0,1,0: 20:[56, 60] Operation: 31+29=60
Exploring Operation: 31-29=2, Resulting Numbers: [56, 2]
Generated Node #0,1,1: 20:[56, 2] Operation: 31-29=2
Exploring Operation: 56-31=25, Resulting Numbers: [29, 25]
Generated Node #0,1,2: 20:[29, 25] Operation: 56-31=25
Exploring Operation: 31+56=87, Resulting Numbers: [29, 87]
Generated Node #0,1,3: 20:[29, 87] Operation: 31+56=87
Exploring Operation: 56-29=27, Resulting Numbers: [31, 27]
Generated Node #0,1,4: 20:[31, 27] Operation: 56-29=27
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[29, 25], Operations: ['72-16=56', '56-31=25']
Exploring Operation: 29+25=54, Resulting Numbers: [54]
54,20 unequal: No Solution
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 29*25=725, Resulting Numbers: [725]
725,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 20:[31, 27], Operations: ['72-16=56', '56-29=27']
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 31*27=837, Resulting Numbers: [837]
837,20 unequal: No Solution
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[56, 2], Operations: ['72-16=56', '31-29=2']
Exploring Operation: 56*2=112, Resulting Numbers: [112]
112,20 unequal: No Solution
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[56, 60], Operations: ['72-16=56', '31+29=60']
Exploring Operation: 56*60=3360, Resulting Numbers: [3360]
3360,20 unequal: No Solution
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 56+60=116, Resulting Numbers: [116]
116,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 20:[29, 87], Operations: ['72-16=56', '31+56=87']
Exploring Operation: 29*87=2523, Resulting Numbers: [2523]
2523,20 unequal: No Solution
Exploring Operation: 87/29=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 29+87=116, Resulting Numbers: [116]
116,20 unequal: No Solution
Exploring Operation: 87-29=58, Resulting Numbers: [58]
58,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 20:[72, 16, 2], Operations: ['31-29=2']
Exploring Operation: 72-2=70, Resulting Numbers: [16, 70]
Generated Node #0,3,0: 20:[16, 70] Operation: 72-2=70
Exploring Operation: 72-16=56, Resulting Numbers: [2, 56]
Generated Node #0,3,1: 20:[2, 56] Operation: 72-16=56
Exploring Operation: 72/2=36, Resulting Numbers: [16, 36]
Generated Node #0,3,2: 20:[16, 36] Operation: 72/2=36
Exploring Operation: 16+2=18, Resulting Numbers: [72, 18]
Generated Node #0,3,3: 20:[72, 18] Operation: 16+2=18
Exploring Operation: 16/2=8, Resulting Numbers: [72, 8]
Generated Node #0,3,4: 20:[72, 8] Operation: 16/2=8
Moving to Node #0,0
Current State: 20:[72, 29, 15], Operations: ['31-16=15']
Exploring Operation: 72-15=57, Resulting Numbers: [29, 57]
Generated Node #0,0,0: 20:[29, 57] Operation: 72-15=57
Exploring Operation: 29+15=44, Resulting Numbers: [72, 44]
Generated Node #0,0,1: 20:[72, 44] Operation: 29+15=44
Exploring Operation: 29-15=14, Resulting Numbers: [72, 14]
Generated Node #0,0,2: 20:[72, 14] Operation: 29-15=14
Exploring Operation: 72+15=87, Resulting Numbers: [29, 87]
Generated Node #0,0,3: 20:[29, 87] Operation: 72+15=87
Exploring Operation: 72-29=43, Resulting Numbers: [15, 43]
Generated Node #0,0,4: 20:[15, 43] Operation: 72-29=43
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 20:[15, 43], Operations: ['31-16=15', '72-29=43']
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 15+43=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 15*43=645, Resulting Numbers: [645]
645,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[29, 57], Operations: ['31-16=15', '72-15=57']
Exploring Operation: 29*57=1653, Resulting Numbers: [1653]
1653,20 unequal: No Solution
Exploring Operation: 29+57=86, Resulting Numbers: [86]
86,20 unequal: No Solution
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[72, 14], Operations: ['31-16=15', '29-15=14']
Exploring Operation: 72-14=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 72+14=86, Resulting Numbers: [86]
86,20 unequal: No Solution
Exploring Operation: 72*14=1008, Resulting Numbers: [1008]
1008,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[72, 44], Operations: ['31-16=15', '29+15=44']
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 72+44=116, Resulting Numbers: [116]
116,20 unequal: No Solution
Exploring Operation: 72*44=3168, Resulting Numbers: [3168]
3168,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 20:[29, 87], Operations: ['31-16=15', '72+15=87']
Exploring Operation: 87/29=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 29+87=116, Resulting Numbers: [116]
116,20 unequal: No Solution
Exploring Operation: 87-29=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 29*87=2523, Resulting Numbers: [2523]
2523,20 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: 20:[16, 12], Operations: ['72-31=41', '41-29=12']
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,20 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[29, 25], Operations: ['72-31=41', '41-16=25']
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 29*25=725, Resulting Numbers: [725]
725,20 unequal: No Solution
Exploring Operation: 29+25=54, Resulting Numbers: [54]
54,20 unequal: No Solution
Moving to Node #0,3,2
Current State: 20:[16, 36], Operations: ['31-29=2', '72/2=36']
Exploring Operation: 16*36=576, Resulting Numbers: [576]
576,20 unequal: No Solution
Exploring Operation: 16+36=52, Resulting Numbers: [52]
52,20 unequal: No Solution
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[72, 31, 16, 29], Operations: []
Exploring Operation: 31-29=2, Resulting Numbers: [72, 16, 2]
Generated Node #0,3: 20:[72, 16, 2] Operation: 31-29=2
Moving to Node #0,3
Current State: 20:[72, 16, 2], Operations: ['31-29=2']
Exploring Operation: 72/2=36, Resulting Numbers: [16, 36]
Generated Node #0,3,2: 20:[16, 36] Operation: 72/2=36
Moving to Node #0,3,2
Current State: 20:[16, 36], Operations: ['31-29=2', '72/2=36']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.921007 | hs_5 | mult_heuristic |
[
13,
18,
64,
26
] | 73 | [
"13*18=234",
"234/26=9",
"64+9=73"
] | Current State: 73:[13, 18, 64, 26], Operations: []
Exploring Operation: 13*18=234, Resulting Numbers: [64, 26, 234]
Generated Node #2: [64, 26, 234] from Operation: 13*18=234
Current State: 73:[64, 26, 234], Operations: ['13*18=234']
Exploring Operation: 234/26=9, Resulting Numbers: [64, 9]
Generated Node #3: [64, 9] from Operation: 234/26=9
Current State: 73:[64, 9], Operations: ['13*18=234', '234/26=9']
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[13, 18, 64, 26], Operations: []
Exploring Operation: 18+26=44, Resulting Numbers: [13, 64, 44]
Generated Node #0,0: 73:[13, 64, 44] Operation: 18+26=44
Exploring Operation: 13+64=77, Resulting Numbers: [18, 26, 77]
Generated Node #0,1: 73:[18, 26, 77] Operation: 13+64=77
Exploring Operation: 18+64=82, Resulting Numbers: [13, 26, 82]
Generated Node #0,2: 73:[13, 26, 82] Operation: 18+64=82
Exploring Operation: 13+18=31, Resulting Numbers: [64, 26, 31]
Generated Node #0,3: 73:[64, 26, 31] Operation: 13+18=31
Exploring Operation: 13+26=39, Resulting Numbers: [18, 64, 39]
Generated Node #0,4: 73:[18, 64, 39] Operation: 13+26=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[13, 64, 44], Operations: ['18+26=44']
Exploring Operation: 64+44=108, Resulting Numbers: [13, 108]
Generated Node #0,0,0: 73:[13, 108] Operation: 64+44=108
Exploring Operation: 44-13=31, Resulting Numbers: [64, 31]
Generated Node #0,0,1: 73:[64, 31] Operation: 44-13=31
Exploring Operation: 13+44=57, Resulting Numbers: [64, 57]
Generated Node #0,0,2: 73:[64, 57] Operation: 13+44=57
Exploring Operation: 64-13=51, Resulting Numbers: [44, 51]
Generated Node #0,0,3: 73:[44, 51] Operation: 64-13=51
Exploring Operation: 13+64=77, Resulting Numbers: [44, 77]
Generated Node #0,0,4: 73:[44, 77] Operation: 13+64=77
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 73:[64, 57], Operations: ['18+26=44', '13+44=57']
Exploring Operation: 64*57=3648, Resulting Numbers: [3648]
3648,73 unequal: No Solution
Exploring Operation: 64-57=7, Resulting Numbers: [7]
7,73 unequal: No Solution
Exploring Operation: 64+57=121, Resulting Numbers: [121]
121,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 73:[44, 77], Operations: ['18+26=44', '13+64=77']
Exploring Operation: 44*77=3388, Resulting Numbers: [3388]
3388,73 unequal: No Solution
Exploring Operation: 77-44=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Exploring Operation: 44+77=121, Resulting Numbers: [121]
121,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[64, 31], Operations: ['18+26=44', '44-13=31']
Exploring Operation: 64+31=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Exploring Operation: 64*31=1984, Resulting Numbers: [1984]
1984,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 73:[44, 51], Operations: ['18+26=44', '64-13=51']
Exploring Operation: 44*51=2244, Resulting Numbers: [2244]
2244,73 unequal: No Solution
Exploring Operation: 44+51=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[13, 108], Operations: ['18+26=44', '64+44=108']
Exploring Operation: 108-13=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 13*108=1404, Resulting Numbers: [1404]
1404,73 unequal: No Solution
Exploring Operation: 13+108=121, Resulting Numbers: [121]
121,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 73:[64, 26, 31], Operations: ['13+18=31']
Exploring Operation: 64-26=38, Resulting Numbers: [31, 38]
Generated Node #0,3,0: 73:[31, 38] Operation: 64-26=38
Exploring Operation: 26+31=57, Resulting Numbers: [64, 57]
Generated Node #0,3,1: 73:[64, 57] Operation: 26+31=57
Exploring Operation: 64+31=95, Resulting Numbers: [26, 95]
Generated Node #0,3,2: 73:[26, 95] Operation: 64+31=95
Exploring Operation: 31-26=5, Resulting Numbers: [64, 5]
Generated Node #0,3,3: 73:[64, 5] Operation: 31-26=5
Exploring Operation: 64+26=90, Resulting Numbers: [31, 90]
Generated Node #0,3,4: 73:[31, 90] Operation: 64+26=90
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 73:[64, 57], Operations: ['13+18=31', '26+31=57']
Exploring Operation: 64+57=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 64*57=3648, Resulting Numbers: [3648]
3648,73 unequal: No Solution
Exploring Operation: 64-57=7, Resulting Numbers: [7]
7,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 73:[31, 90], Operations: ['13+18=31', '64+26=90']
Exploring Operation: 31*90=2790, Resulting Numbers: [2790]
2790,73 unequal: No Solution
Exploring Operation: 31+90=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 90-31=59, Resulting Numbers: [59]
59,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 73:[26, 95], Operations: ['13+18=31', '64+31=95']
Exploring Operation: 95-26=69, Resulting Numbers: [69]
69,73 unequal: No Solution
Exploring Operation: 26*95=2470, Resulting Numbers: [2470]
2470,73 unequal: No Solution
Exploring Operation: 26+95=121, Resulting Numbers: [121]
121,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 73:[31, 38], Operations: ['13+18=31', '64-26=38']
Exploring Operation: 31*38=1178, Resulting Numbers: [1178]
1178,73 unequal: No Solution
Exploring Operation: 31+38=69, Resulting Numbers: [69]
69,73 unequal: No Solution
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 73:[64, 5], Operations: ['13+18=31', '31-26=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,73 unequal: No Solution
Exploring Operation: 64*5=320, Resulting Numbers: [320]
320,73 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 73:[18, 64, 39], Operations: ['13+26=39']
Exploring Operation: 64-18=46, Resulting Numbers: [39, 46]
Generated Node #0,4,0: 73:[39, 46] Operation: 64-18=46
Exploring Operation: 18+64=82, Resulting Numbers: [39, 82]
Generated Node #0,4,1: 73:[39, 82] Operation: 18+64=82
Exploring Operation: 64+39=103, Resulting Numbers: [18, 103]
Generated Node #0,4,2: 73:[18, 103] Operation: 64+39=103
Exploring Operation: 39-18=21, Resulting Numbers: [64, 21]
Generated Node #0,4,3: 73:[64, 21] Operation: 39-18=21
Exploring Operation: 18+39=57, Resulting Numbers: [64, 57]
Generated Node #0,4,4: 73:[64, 57] Operation: 18+39=57
Moving to Node #0,4,4
Current State: 73:[64, 57], Operations: ['13+26=39', '18+39=57']
Exploring Operation: 64-57=7, Resulting Numbers: [7]
7,73 unequal: No Solution
Exploring Operation: 64*57=3648, Resulting Numbers: [3648]
3648,73 unequal: No Solution
Exploring Operation: 64+57=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Moving to Node #0,4,1
Current State: 73:[39, 82], Operations: ['13+26=39', '18+64=82']
Exploring Operation: 39*82=3198, Resulting Numbers: [3198]
3198,73 unequal: No Solution
Exploring Operation: 82-39=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 39+82=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Moving to Node #0,4,0
Current State: 73:[39, 46], Operations: ['13+26=39', '64-18=46']
Exploring Operation: 39*46=1794, Resulting Numbers: [1794]
1794,73 unequal: No Solution
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,73 unequal: No Solution
Exploring Operation: 39+46=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Moving to Node #0,4,3
Current State: 73:[64, 21], Operations: ['13+26=39', '39-18=21']
Exploring Operation: 64+21=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 64*21=1344, Resulting Numbers: [1344]
1344,73 unequal: No Solution
Moving to Node #0,4,2
Current State: 73:[18, 103], Operations: ['13+26=39', '64+39=103']
Exploring Operation: 103-18=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Exploring Operation: 18+103=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 18*103=1854, Resulting Numbers: [1854]
1854,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[18, 26, 77], Operations: ['13+64=77']
Exploring Operation: 18+26=44, Resulting Numbers: [77, 44]
Generated Node #0,1,0: 73:[77, 44] Operation: 18+26=44
Exploring Operation: 18+77=95, Resulting Numbers: [26, 95]
Generated Node #0,1,1: 73:[26, 95] Operation: 18+77=95
Exploring Operation: 26-18=8, Resulting Numbers: [77, 8]
Generated Node #0,1,2: 73:[77, 8] Operation: 26-18=8
Exploring Operation: 77-18=59, Resulting Numbers: [26, 59]
Generated Node #0,1,3: 73:[26, 59] Operation: 77-18=59
Exploring Operation: 77-26=51, Resulting Numbers: [18, 51]
Generated Node #0,1,4: 73:[18, 51] Operation: 77-26=51
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[77, 44], Operations: ['13+64=77', '18+26=44']
Exploring Operation: 77+44=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 77*44=3388, Resulting Numbers: [3388]
3388,73 unequal: No Solution
Exploring Operation: 77-44=33, Resulting Numbers: [33]
33,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 73:[26, 59], Operations: ['13+64=77', '77-18=59']
Exploring Operation: 26*59=1534, Resulting Numbers: [1534]
1534,73 unequal: No Solution
Exploring Operation: 26+59=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[26, 95], Operations: ['13+64=77', '18+77=95']
Exploring Operation: 26*95=2470, Resulting Numbers: [2470]
2470,73 unequal: No Solution
Exploring Operation: 26+95=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 95-26=69, Resulting Numbers: [69]
69,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 73:[77, 8], Operations: ['13+64=77', '26-18=8']
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,73 unequal: No Solution
Exploring Operation: 77*8=616, Resulting Numbers: [616]
616,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 73:[18, 51], Operations: ['13+64=77', '77-26=51']
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,73 unequal: No Solution
Exploring Operation: 18*51=918, Resulting Numbers: [918]
918,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[13, 26, 82], Operations: ['18+64=82']
Exploring Operation: 13+82=95, Resulting Numbers: [26, 95]
Generated Node #0,2,0: 73:[26, 95] Operation: 13+82=95
Exploring Operation: 82-26=56, Resulting Numbers: [13, 56]
Generated Node #0,2,1: 73:[13, 56] Operation: 82-26=56
Exploring Operation: 26-13=13, Resulting Numbers: [82, 13]
Generated Node #0,2,2: 73:[82, 13] Operation: 26-13=13
Exploring Operation: 13+26=39, Resulting Numbers: [82, 39]
Generated Node #0,2,3: 73:[82, 39] Operation: 13+26=39
Exploring Operation: 82-13=69, Resulting Numbers: [26, 69]
Generated Node #0,2,4: 73:[26, 69] Operation: 82-13=69
Moving to Node #0,2,3
Current State: 73:[82, 39], Operations: ['18+64=82', '13+26=39']
Exploring Operation: 82*39=3198, Resulting Numbers: [3198]
3198,73 unequal: No Solution
Exploring Operation: 82+39=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 82-39=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Moving to Node #0,2,4
Current State: 73:[26, 69], Operations: ['18+64=82', '82-13=69']
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 26*69=1794, Resulting Numbers: [1794]
1794,73 unequal: No Solution
Exploring Operation: 26+69=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[26, 95], Operations: ['18+64=82', '13+82=95']
Exploring Operation: 26*95=2470, Resulting Numbers: [2470]
2470,73 unequal: No Solution
Exploring Operation: 26+95=121, Resulting Numbers: [121]
121,73 unequal: No Solution
Exploring Operation: 95-26=69, Resulting Numbers: [69]
69,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[82, 13], Operations: ['18+64=82', '26-13=13']
Exploring Operation: 82*13=1066, Resulting Numbers: [1066]
1066,73 unequal: No Solution
Exploring Operation: 82-13=69, Resulting Numbers: [69]
69,73 unequal: No Solution
Exploring Operation: 82+13=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[13, 56], Operations: ['18+64=82', '82-26=56']
Exploring Operation: 13+56=69, Resulting Numbers: [69]
69,73 unequal: No Solution
Exploring Operation: 13*56=728, Resulting Numbers: [728]
728,73 unequal: No Solution
Exploring Operation: 56-13=43, Resulting Numbers: [43]
43,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
11,
18,
27,
20
] | 10 | [
"11+18=29",
"29-27=2",
"20/2=10"
] | Current State: 10:[11, 18, 27, 20], Operations: []
Exploring Operation: 11+18=29, Resulting Numbers: [27, 20, 29]
Generated Node #2: [27, 20, 29] from Operation: 11+18=29
Current State: 10:[27, 20, 29], Operations: ['11+18=29']
Exploring Operation: 29-27=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 29-27=2
Current State: 10:[20, 2], Operations: ['11+18=29', '29-27=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[11, 18, 27, 20], Operations: []
Exploring Operation: 27-20=7, Resulting Numbers: [11, 18, 7]
Generated Node #0,0: 10:[11, 18, 7] Operation: 27-20=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[11, 18, 7], Operations: ['27-20=7']
Exploring Operation: 18-7=11, Resulting Numbers: [11, 11]
Generated Node #0,0,0: 10:[11, 11] Operation: 18-7=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[11, 11], Operations: ['27-20=7', '18-7=11']
Exploring Operation: 11/11=1, Resulting Numbers: [1]
1,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_1 | mult_heuristic |
[
41,
23,
71,
6
] | 83 | [
"41-23=18",
"71-6=65",
"18+65=83"
] | Current State: 83:[41, 23, 71, 6], Operations: []
Exploring Operation: 41-23=18, Resulting Numbers: [71, 6, 18]
Generated Node #2: [71, 6, 18] from Operation: 41-23=18
Current State: 83:[71, 6, 18], Operations: ['41-23=18']
Exploring Operation: 71-6=65, Resulting Numbers: [18, 65]
Generated Node #3: [18, 65] from Operation: 71-6=65
Current State: 83:[18, 65], Operations: ['41-23=18', '71-6=65']
Exploring Operation: 18+65=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[41, 23, 71, 6], Operations: []
Exploring Operation: 41+23=64, Resulting Numbers: [71, 6, 64]
Generated Node #0,0: 83:[71, 6, 64] Operation: 41+23=64
Exploring Operation: 41+6=47, Resulting Numbers: [23, 71, 47]
Generated Node #0,1: 83:[23, 71, 47] Operation: 41+6=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[71, 6, 64], Operations: ['41+23=64']
Exploring Operation: 6+64=70, Resulting Numbers: [71, 70]
Generated Node #0,0,0: 83:[71, 70] Operation: 6+64=70
Exploring Operation: 71+6=77, Resulting Numbers: [64, 77]
Generated Node #0,0,1: 83:[64, 77] Operation: 71+6=77
Moving to Node #0,0,0
Current State: 83:[71, 70], Operations: ['41+23=64', '6+64=70']
Exploring Operation: 71-70=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 71+70=141, Resulting Numbers: [141]
141,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[64, 77], Operations: ['41+23=64', '71+6=77']
Exploring Operation: 77-64=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Exploring Operation: 64+77=141, Resulting Numbers: [141]
141,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[23, 71, 47], Operations: ['41+6=47']
Exploring Operation: 23+71=94, Resulting Numbers: [47, 94]
Generated Node #0,1,0: 83:[47, 94] Operation: 23+71=94
Exploring Operation: 23+47=70, Resulting Numbers: [71, 70]
Generated Node #0,1,1: 83:[71, 70] Operation: 23+47=70
Moving to Node #0,1,1
Current State: 83:[71, 70], Operations: ['41+6=47', '23+47=70']
Exploring Operation: 71-70=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 71+70=141, Resulting Numbers: [141]
141,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[47, 94], Operations: ['41+6=47', '23+71=94']
Exploring Operation: 47+94=141, Resulting Numbers: [141]
141,83 unequal: No Solution
Exploring Operation: 94-47=47, Resulting Numbers: [47]
47,83 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 |
[
99,
24,
48,
3
] | 23 | [
"99-24=75",
"75/3=25",
"48-25=23"
] | Current State: 23:[99, 24, 48, 3], Operations: []
Exploring Operation: 99-24=75, Resulting Numbers: [48, 3, 75]
Generated Node #2: [48, 3, 75] from Operation: 99-24=75
Current State: 23:[48, 3, 75], Operations: ['99-24=75']
Exploring Operation: 75/3=25, Resulting Numbers: [48, 25]
Generated Node #3: [48, 25] from Operation: 75/3=25
Current State: 23:[48, 25], Operations: ['99-24=75', '75/3=25']
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[99, 24, 48, 3], Operations: []
Exploring Operation: 48/3=16, Resulting Numbers: [99, 24, 16]
Generated Node #0,0: 23:[99, 24, 16] Operation: 48/3=16
Exploring Operation: 99/3=33, Resulting Numbers: [24, 48, 33]
Generated Node #0,1: 23:[24, 48, 33] Operation: 99/3=33
Exploring Operation: 99-48=51, Resulting Numbers: [24, 3, 51]
Generated Node #0,2: 23:[24, 3, 51] Operation: 99-48=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[24, 48, 33], Operations: ['99/3=33']
Exploring Operation: 48/24=2, Resulting Numbers: [33, 2]
Generated Node #0,1,0: 23:[33, 2] Operation: 48/24=2
Exploring Operation: 48-24=24, Resulting Numbers: [33, 24]
Generated Node #0,1,1: 23:[33, 24] Operation: 48-24=24
Exploring Operation: 48-33=15, Resulting Numbers: [24, 15]
Generated Node #0,1,2: 23:[24, 15] Operation: 48-33=15
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 23:[24, 15], Operations: ['99/3=33', '48-33=15']
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,23 unequal: No Solution
Exploring Operation: 24*15=360, Resulting Numbers: [360]
360,23 unequal: No Solution
No 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: 23:[33, 24], Operations: ['99/3=33', '48-24=24']
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,23 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,23 unequal: No Solution
No 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: 23:[33, 2], Operations: ['99/3=33', '48/24=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,23 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: 23:[24, 3, 51], Operations: ['99-48=51']
Exploring Operation: 51-3=48, Resulting Numbers: [24, 48]
Generated Node #0,2,0: 23:[24, 48] Operation: 51-3=48
Exploring Operation: 51-24=27, Resulting Numbers: [3, 27]
Generated Node #0,2,1: 23:[3, 27] Operation: 51-24=27
Exploring Operation: 51/3=17, Resulting Numbers: [24, 17]
Generated Node #0,2,2: 23:[24, 17] Operation: 51/3=17
Moving to Node #0,2,2
Current State: 23:[24, 17], Operations: ['99-48=51', '51/3=17']
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[3, 27], Operations: ['99-48=51', '51-24=27']
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[24, 48], Operations: ['99-48=51', '51-3=48']
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 24+48=72, Resulting Numbers: [72]
72,23 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[99, 24, 16], Operations: ['48/3=16']
Exploring Operation: 24-16=8, Resulting Numbers: [99, 8]
Generated Node #0,0,0: 23:[99, 8] Operation: 24-16=8
Exploring Operation: 99-24=75, Resulting Numbers: [16, 75]
Generated Node #0,0,1: 23:[16, 75] Operation: 99-24=75
Exploring Operation: 99-16=83, Resulting Numbers: [24, 83]
Generated Node #0,0,2: 23:[24, 83] Operation: 99-16=83
Moving to Node #0,0,1
Current State: 23:[16, 75], Operations: ['48/3=16', '99-24=75']
Exploring Operation: 16+75=91, Resulting Numbers: [91]
91,23 unequal: No Solution
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 16*75=1200, Resulting Numbers: [1200]
1200,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[24, 83], Operations: ['48/3=16', '99-16=83']
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 24*83=1992, Resulting Numbers: [1992]
1992,23 unequal: No Solution
Exploring Operation: 24+83=107, Resulting Numbers: [107]
107,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[99, 8], Operations: ['48/3=16', '24-16=8']
Exploring Operation: 99-8=91, Resulting Numbers: [91]
91,23 unequal: No Solution
Exploring Operation: 99*8=792, Resulting Numbers: [792]
792,23 unequal: No Solution
Exploring Operation: 99+8=107, Resulting Numbers: [107]
107,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
32,
43,
81,
6
] | 68 | [
"32*6=192",
"43+81=124",
"192-124=68"
] | Current State: 68:[32, 43, 81, 6], Operations: []
Exploring Operation: 32*6=192, Resulting Numbers: [43, 81, 192]
Generated Node #2: [43, 81, 192] from Operation: 32*6=192
Current State: 68:[43, 81, 192], Operations: ['32*6=192']
Exploring Operation: 43+81=124, Resulting Numbers: [192, 124]
Generated Node #3: [192, 124] from Operation: 43+81=124
Current State: 68:[192, 124], Operations: ['32*6=192', '43+81=124']
Exploring Operation: 192-124=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[32, 43, 81, 6], Operations: []
Exploring Operation: 43-6=37, Resulting Numbers: [32, 81, 37]
Generated Node #0,0: 68:[32, 81, 37] Operation: 43-6=37
Exploring Operation: 81-6=75, Resulting Numbers: [32, 43, 75]
Generated Node #0,1: 68:[32, 43, 75] Operation: 81-6=75
Exploring Operation: 81-43=38, Resulting Numbers: [32, 6, 38]
Generated Node #0,2: 68:[32, 6, 38] Operation: 81-43=38
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[32, 6, 38], Operations: ['81-43=38']
Exploring Operation: 32+38=70, Resulting Numbers: [6, 70]
Generated Node #0,2,0: 68:[6, 70] Operation: 32+38=70
Exploring Operation: 38-6=32, Resulting Numbers: [32, 32]
Generated Node #0,2,1: 68:[32, 32] Operation: 38-6=32
Exploring Operation: 38-32=6, Resulting Numbers: [6, 6]
Generated Node #0,2,2: 68:[6, 6] Operation: 38-32=6
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 68:[6, 70], Operations: ['81-43=38', '32+38=70']
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Exploring Operation: 6+70=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 6*70=420, Resulting Numbers: [420]
420,68 unequal: No Solution
No 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: 68:[32, 32], Operations: ['81-43=38', '38-6=32']
Exploring Operation: 32+32=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Exploring Operation: 32-32=0, Resulting Numbers: [0]
0,68 unequal: No Solution
Exploring Operation: 32/32=1, Resulting Numbers: [1]
1,68 unequal: No Solution
No 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: 68:[6, 6], Operations: ['81-43=38', '38-32=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,68 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,68 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: 68:[32, 81, 37], Operations: ['43-6=37']
Exploring Operation: 81-37=44, Resulting Numbers: [32, 44]
Generated Node #0,0,0: 68:[32, 44] Operation: 81-37=44
Exploring Operation: 37-32=5, Resulting Numbers: [81, 5]
Generated Node #0,0,1: 68:[81, 5] Operation: 37-32=5
Exploring Operation: 32+37=69, Resulting Numbers: [81, 69]
Generated Node #0,0,2: 68:[81, 69] Operation: 32+37=69
Moving to Node #0,0,0
Current State: 68:[32, 44], Operations: ['43-6=37', '81-37=44']
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Exploring Operation: 32*44=1408, Resulting Numbers: [1408]
1408,68 unequal: No Solution
Exploring Operation: 32+44=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[81, 5], Operations: ['43-6=37', '37-32=5']
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,68 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[81, 69], Operations: ['43-6=37', '32+37=69']
Exploring Operation: 81+69=150, Resulting Numbers: [150]
150,68 unequal: No Solution
Exploring Operation: 81*69=5589, Resulting Numbers: [5589]
5589,68 unequal: No Solution
Exploring Operation: 81-69=12, Resulting Numbers: [12]
12,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[32, 43, 75], Operations: ['81-6=75']
Exploring Operation: 32+43=75, Resulting Numbers: [75, 75]
Generated Node #0,1,0: 68:[75, 75] Operation: 32+43=75
Exploring Operation: 75-43=32, Resulting Numbers: [32, 32]
Generated Node #0,1,1: 68:[32, 32] Operation: 75-43=32
Exploring Operation: 43-32=11, Resulting Numbers: [75, 11]
Generated Node #0,1,2: 68:[75, 11] Operation: 43-32=11
Moving to Node #0,1,1
Current State: 68:[32, 32], Operations: ['81-6=75', '75-43=32']
Exploring Operation: 32/32=1, Resulting Numbers: [1]
1,68 unequal: No Solution
Exploring Operation: 32-32=0, Resulting Numbers: [0]
0,68 unequal: No Solution
Exploring Operation: 32+32=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[75, 11], Operations: ['81-6=75', '43-32=11']
Exploring Operation: 75+11=86, Resulting Numbers: [86]
86,68 unequal: No Solution
Exploring Operation: 75*11=825, Resulting Numbers: [825]
825,68 unequal: No Solution
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[75, 75], Operations: ['81-6=75', '32+43=75']
Exploring Operation: 75-75=0, Resulting Numbers: [0]
0,68 unequal: No Solution
Exploring Operation: 75/75=1, Resulting Numbers: [1]
1,68 unequal: No Solution
Exploring Operation: 75+75=150, Resulting Numbers: [150]
150,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
92,
96,
51,
35
] | 64 | [
"96-92=4",
"51-35=16",
"4*16=64"
] | Current State: 64:[92, 96, 51, 35], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [51, 35, 4]
Generated Node #2: [51, 35, 4] from Operation: 96-92=4
Current State: 64:[51, 35, 4], Operations: ['96-92=4']
Exploring Operation: 51-35=16, Resulting Numbers: [4, 16]
Generated Node #3: [4, 16] from Operation: 51-35=16
Current State: 64:[4, 16], Operations: ['96-92=4', '51-35=16']
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[92, 96, 51, 35], Operations: []
Exploring Operation: 96-51=45, Resulting Numbers: [92, 35, 45]
Generated Node #0,0: 64:[92, 35, 45] Operation: 96-51=45
Exploring Operation: 96-92=4, Resulting Numbers: [51, 35, 4]
Generated Node #0,1: 64:[51, 35, 4] Operation: 96-92=4
Exploring Operation: 96-35=61, Resulting Numbers: [92, 51, 61]
Generated Node #0,2: 64:[92, 51, 61] Operation: 96-35=61
Exploring Operation: 92-51=41, Resulting Numbers: [96, 35, 41]
Generated Node #0,3: 64:[96, 35, 41] Operation: 92-51=41
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[51, 35, 4], Operations: ['96-92=4']
Exploring Operation: 51-35=16, Resulting Numbers: [4, 16]
Generated Node #0,1,0: 64:[4, 16] Operation: 51-35=16
Exploring Operation: 35-4=31, Resulting Numbers: [51, 31]
Generated Node #0,1,1: 64:[51, 31] Operation: 35-4=31
Exploring Operation: 51-4=47, Resulting Numbers: [35, 47]
Generated Node #0,1,2: 64:[35, 47] Operation: 51-4=47
Exploring Operation: 51+4=55, Resulting Numbers: [35, 55]
Generated Node #0,1,3: 64:[35, 55] Operation: 51+4=55
Moving to Node #0,1,0
Current State: 64:[4, 16], Operations: ['96-92=4', '51-35=16']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[92, 96, 51, 35], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [51, 35, 4]
Generated Node #0,1: 64:[51, 35, 4] Operation: 96-92=4
Moving to Node #0,1
Current State: 64:[51, 35, 4], Operations: ['96-92=4']
Exploring Operation: 51-35=16, Resulting Numbers: [4, 16]
Generated Node #0,1,0: 64:[4, 16] Operation: 51-35=16
Moving to Node #0,1,0
Current State: 64:[4, 16], Operations: ['96-92=4', '51-35=16']
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
21,
17,
11,
68
] | 95 | [
"21+17=38",
"68-11=57",
"38+57=95"
] | Current State: 95:[21, 17, 11, 68], Operations: []
Exploring Operation: 21+17=38, Resulting Numbers: [11, 68, 38]
Generated Node #2: [11, 68, 38] from Operation: 21+17=38
Current State: 95:[11, 68, 38], Operations: ['21+17=38']
Exploring Operation: 68-11=57, Resulting Numbers: [38, 57]
Generated Node #3: [38, 57] from Operation: 68-11=57
Current State: 95:[38, 57], Operations: ['21+17=38', '68-11=57']
Exploring Operation: 38+57=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[21, 17, 11, 68], Operations: []
Exploring Operation: 21+68=89, Resulting Numbers: [17, 11, 89]
Generated Node #0,0: 95:[17, 11, 89] Operation: 21+68=89
Exploring Operation: 68/17=4, Resulting Numbers: [21, 11, 4]
Generated Node #0,1: 95:[21, 11, 4] Operation: 68/17=4
Moving to Node #0,1
Current State: 95:[21, 11, 4], Operations: ['68/17=4']
Exploring Operation: 11-4=7, Resulting Numbers: [21, 7]
Generated Node #0,1,0: 95:[21, 7] Operation: 11-4=7
Exploring Operation: 21-11=10, Resulting Numbers: [4, 10]
Generated Node #0,1,1: 95:[4, 10] Operation: 21-11=10
Moving to Node #0,0
Current State: 95:[17, 11, 89], Operations: ['21+68=89']
Exploring Operation: 17-11=6, Resulting Numbers: [89, 6]
Generated Node #0,0,0: 95:[89, 6] Operation: 17-11=6
Exploring Operation: 11+89=100, Resulting Numbers: [17, 100]
Generated Node #0,0,1: 95:[17, 100] Operation: 11+89=100
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[89, 6], Operations: ['21+68=89', '17-11=6']
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,95 unequal: No Solution
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[21, 17, 11, 68], Operations: []
Exploring Operation: 21+68=89, Resulting Numbers: [17, 11, 89]
Generated Node #0,0: 95:[17, 11, 89] Operation: 21+68=89
Moving to Node #0,0
Current State: 95:[17, 11, 89], Operations: ['21+68=89']
Exploring Operation: 17-11=6, Resulting Numbers: [89, 6]
Generated Node #0,0,0: 95:[89, 6] Operation: 17-11=6
Moving to Node #0,0,0
Current State: 95:[89, 6], Operations: ['21+68=89', '17-11=6']
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
14,
22,
83,
94
] | 19 | [
"22-14=8",
"94-83=11",
"8+11=19"
] | Current State: 19:[14, 22, 83, 94], Operations: []
Exploring Operation: 22-14=8, Resulting Numbers: [83, 94, 8]
Generated Node #2: [83, 94, 8] from Operation: 22-14=8
Current State: 19:[83, 94, 8], Operations: ['22-14=8']
Exploring Operation: 94-83=11, Resulting Numbers: [8, 11]
Generated Node #3: [8, 11] from Operation: 94-83=11
Current State: 19:[8, 11], Operations: ['22-14=8', '94-83=11']
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[14, 22, 83, 94], Operations: []
Exploring Operation: 94-22=72, Resulting Numbers: [14, 83, 72]
Generated Node #0,0: 19:[14, 83, 72] Operation: 94-22=72
Exploring Operation: 83-22=61, Resulting Numbers: [14, 94, 61]
Generated Node #0,1: 19:[14, 94, 61] Operation: 83-22=61
Exploring Operation: 94-83=11, Resulting Numbers: [14, 22, 11]
Generated Node #0,2: 19:[14, 22, 11] Operation: 94-83=11
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[14, 22, 11], Operations: ['94-83=11']
Exploring Operation: 14+11=25, Resulting Numbers: [22, 25]
Generated Node #0,2,0: 19:[22, 25] Operation: 14+11=25
Exploring Operation: 22-14=8, Resulting Numbers: [11, 8]
Generated Node #0,2,1: 19:[11, 8] Operation: 22-14=8
Exploring Operation: 22-11=11, Resulting Numbers: [14, 11]
Generated Node #0,2,2: 19:[14, 11] Operation: 22-11=11
Moving to Node #0,2,0
Current State: 19:[22, 25], Operations: ['94-83=11', '14+11=25']
Exploring Operation: 22+25=47, Resulting Numbers: [47]
47,19 unequal: No Solution
Exploring Operation: 22*25=550, Resulting Numbers: [550]
550,19 unequal: No Solution
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[14, 11], Operations: ['94-83=11', '22-11=11']
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,19 unequal: No Solution
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[11, 8], Operations: ['94-83=11', '22-14=8']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,19 unequal: No Solution
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[14, 22, 83, 94], Operations: []
Exploring Operation: 94-83=11, Resulting Numbers: [14, 22, 11]
Generated Node #0,2: 19:[14, 22, 11] Operation: 94-83=11
Moving to Node #0,2
Current State: 19:[14, 22, 11], Operations: ['94-83=11']
Exploring Operation: 22-14=8, Resulting Numbers: [11, 8]
Generated Node #0,2,1: 19:[11, 8] Operation: 22-14=8
Moving to Node #0,2,1
Current State: 19:[11, 8], Operations: ['94-83=11', '22-14=8']
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
8,
63,
55,
94
] | 78 | [
"8+63=71",
"55+94=149",
"149-71=78"
] | Current State: 78:[8, 63, 55, 94], Operations: []
Exploring Operation: 8+63=71, Resulting Numbers: [55, 94, 71]
Generated Node #2: [55, 94, 71] from Operation: 8+63=71
Current State: 78:[55, 94, 71], Operations: ['8+63=71']
Exploring Operation: 55+94=149, Resulting Numbers: [71, 149]
Generated Node #3: [71, 149] from Operation: 55+94=149
Current State: 78:[71, 149], Operations: ['8+63=71', '55+94=149']
Exploring Operation: 149-71=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[8, 63, 55, 94], Operations: []
Exploring Operation: 94-55=39, Resulting Numbers: [8, 63, 39]
Generated Node #0,0: 78:[8, 63, 39] Operation: 94-55=39
Exploring Operation: 94-63=31, Resulting Numbers: [8, 55, 31]
Generated Node #0,1: 78:[8, 55, 31] Operation: 94-63=31
Exploring Operation: 63-55=8, Resulting Numbers: [8, 94, 8]
Generated Node #0,2: 78:[8, 94, 8] Operation: 63-55=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[8, 63, 39], Operations: ['94-55=39']
Exploring Operation: 63-8=55, Resulting Numbers: [39, 55]
Generated Node #0,0,0: 78:[39, 55] Operation: 63-8=55
Exploring Operation: 63-39=24, Resulting Numbers: [8, 24]
Generated Node #0,0,1: 78:[8, 24] Operation: 63-39=24
Exploring Operation: 8+63=71, Resulting Numbers: [39, 71]
Generated Node #0,0,2: 78:[39, 71] Operation: 8+63=71
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 78:[8, 24], Operations: ['94-55=39', '63-39=24']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,78 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 78:[39, 71], Operations: ['94-55=39', '8+63=71']
Exploring Operation: 39+71=110, Resulting Numbers: [110]
110,78 unequal: No Solution
Exploring Operation: 39*71=2769, Resulting Numbers: [2769]
2769,78 unequal: No Solution
Exploring Operation: 71-39=32, Resulting Numbers: [32]
32,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[39, 55], Operations: ['94-55=39', '63-8=55']
Exploring Operation: 39+55=94, Resulting Numbers: [94]
94,78 unequal: No Solution
Exploring Operation: 39*55=2145, Resulting Numbers: [2145]
2145,78 unequal: No Solution
Exploring Operation: 55-39=16, Resulting Numbers: [16]
16,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[8, 94, 8], Operations: ['63-55=8']
Exploring Operation: 8/8=1, Resulting Numbers: [94, 1]
Generated Node #0,2,0: 78:[94, 1] Operation: 8/8=1
Exploring Operation: 94-8=86, Resulting Numbers: [8, 86]
Generated Node #0,2,1: 78:[8, 86] Operation: 94-8=86
Exploring Operation: 94-8=86, Resulting Numbers: [8, 86]
Generated Node #0,2,2: 78:[8, 86] Operation: 94-8=86
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 78:[8, 86], Operations: ['63-55=8', '94-8=86']
Exploring Operation: 8+86=94, Resulting Numbers: [94]
94,78 unequal: No Solution
Exploring Operation: 8*86=688, Resulting Numbers: [688]
688,78 unequal: No Solution
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[8, 63, 55, 94], Operations: []
Exploring Operation: 63-55=8, Resulting Numbers: [8, 94, 8]
Generated Node #0,2: 78:[8, 94, 8] Operation: 63-55=8
Moving to Node #0,2
Current State: 78:[8, 94, 8], Operations: ['63-55=8']
Exploring Operation: 94-8=86, Resulting Numbers: [8, 86]
Generated Node #0,2,1: 78:[8, 86] Operation: 94-8=86
Moving to Node #0,2,1
Current State: 78:[8, 86], Operations: ['63-55=8', '94-8=86']
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
12,
53,
58,
56
] | 62 | [
"56-53=3",
"12/3=4",
"58+4=62"
] | Current State: 62:[12, 53, 58, 56], Operations: []
Exploring Operation: 56-53=3, Resulting Numbers: [12, 58, 3]
Generated Node #2: [12, 58, 3] from Operation: 56-53=3
Current State: 62:[12, 58, 3], Operations: ['56-53=3']
Exploring Operation: 12/3=4, Resulting Numbers: [58, 4]
Generated Node #3: [58, 4] from Operation: 12/3=4
Current State: 62:[58, 4], Operations: ['56-53=3', '12/3=4']
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[12, 53, 58, 56], Operations: []
Exploring Operation: 56-53=3, Resulting Numbers: [12, 58, 3]
Generated Node #0,0: 62:[12, 58, 3] Operation: 56-53=3
Exploring Operation: 12+53=65, Resulting Numbers: [58, 56, 65]
Generated Node #0,1: 62:[58, 56, 65] Operation: 12+53=65
Exploring Operation: 12+56=68, Resulting Numbers: [53, 58, 68]
Generated Node #0,2: 62:[53, 58, 68] Operation: 12+56=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[58, 56, 65], Operations: ['12+53=65']
Exploring Operation: 58-56=2, Resulting Numbers: [65, 2]
Generated Node #0,1,0: 62:[65, 2] Operation: 58-56=2
Exploring Operation: 65-56=9, Resulting Numbers: [58, 9]
Generated Node #0,1,1: 62:[58, 9] Operation: 65-56=9
Exploring Operation: 65-58=7, Resulting Numbers: [56, 7]
Generated Node #0,1,2: 62:[56, 7] Operation: 65-58=7
Moving to Node #0,1,0
Current State: 62:[65, 2], Operations: ['12+53=65', '58-56=2']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 65*2=130, Resulting Numbers: [130]
130,62 unequal: No Solution
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[58, 9], Operations: ['12+53=65', '65-56=9']
Exploring Operation: 58*9=522, Resulting Numbers: [522]
522,62 unequal: No Solution
Exploring Operation: 58+9=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[56, 7], Operations: ['12+53=65', '65-58=7']
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,62 unequal: No Solution
No 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: 62:[12, 58, 3], Operations: ['56-53=3']
Exploring Operation: 12/3=4, Resulting Numbers: [58, 4]
Generated Node #0,0,0: 62:[58, 4] Operation: 12/3=4
Exploring Operation: 12*3=36, Resulting Numbers: [58, 36]
Generated Node #0,0,1: 62:[58, 36] Operation: 12*3=36
Exploring Operation: 12+58=70, Resulting Numbers: [3, 70]
Generated Node #0,0,2: 62:[3, 70] Operation: 12+58=70
Moving to Node #0,0,0
Current State: 62:[58, 4], Operations: ['56-53=3', '12/3=4']
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,62 unequal: No Solution
Exploring Operation: 58*4=232, Resulting Numbers: [232]
232,62 unequal: No Solution
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[12, 53, 58, 56], Operations: []
Exploring Operation: 56-53=3, Resulting Numbers: [12, 58, 3]
Generated Node #0,0: 62:[12, 58, 3] Operation: 56-53=3
Moving to Node #0,0
Current State: 62:[12, 58, 3], Operations: ['56-53=3']
Exploring Operation: 12/3=4, Resulting Numbers: [58, 4]
Generated Node #0,0,0: 62:[58, 4] Operation: 12/3=4
Moving to Node #0,0,0
Current State: 62:[58, 4], Operations: ['56-53=3', '12/3=4']
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
69,
21,
56,
54
] | 88 | [
"69+21=90",
"56-54=2",
"90-2=88"
] | Current State: 88:[69, 21, 56, 54], Operations: []
Exploring Operation: 69+21=90, Resulting Numbers: [56, 54, 90]
Generated Node #2: [56, 54, 90] from Operation: 69+21=90
Current State: 88:[56, 54, 90], Operations: ['69+21=90']
Exploring Operation: 56-54=2, Resulting Numbers: [90, 2]
Generated Node #3: [90, 2] from Operation: 56-54=2
Current State: 88:[90, 2], Operations: ['69+21=90', '56-54=2']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[69, 21, 56, 54], Operations: []
Exploring Operation: 69-54=15, Resulting Numbers: [21, 56, 15]
Generated Node #0,0: 88:[21, 56, 15] Operation: 69-54=15
Exploring Operation: 69-56=13, Resulting Numbers: [21, 54, 13]
Generated Node #0,1: 88:[21, 54, 13] Operation: 69-56=13
Moving to Node #0,1
Current State: 88:[21, 54, 13], Operations: ['69-56=13']
Exploring Operation: 54-13=41, Resulting Numbers: [21, 41]
Generated Node #0,1,0: 88:[21, 41] Operation: 54-13=41
Exploring Operation: 21-13=8, Resulting Numbers: [54, 8]
Generated Node #0,1,1: 88:[54, 8] Operation: 21-13=8
Moving to Node #0,0
Current State: 88:[21, 56, 15], Operations: ['69-54=15']
Exploring Operation: 56-15=41, Resulting Numbers: [21, 41]
Generated Node #0,0,0: 88:[21, 41] Operation: 56-15=41
Exploring Operation: 56-21=35, Resulting Numbers: [15, 35]
Generated Node #0,0,1: 88:[15, 35] Operation: 56-21=35
Moving to Node #0,1,0
Current State: 88:[21, 41], Operations: ['69-56=13', '54-13=41']
Exploring Operation: 21+41=62, Resulting Numbers: [62]
62,88 unequal: No Solution
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[21, 41], Operations: ['69-54=15', '56-15=41']
Exploring Operation: 21+41=62, Resulting Numbers: [62]
62,88 unequal: No Solution
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[54, 8], Operations: ['69-56=13', '21-13=8']
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,88 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[15, 35], Operations: ['69-54=15', '56-21=35']
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,88 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,88 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
69,
22,
78,
87
] | 56 | [
"69-22=47",
"87-78=9",
"47+9=56"
] | Current State: 56:[69, 22, 78, 87], Operations: []
Exploring Operation: 69-22=47, Resulting Numbers: [78, 87, 47]
Generated Node #2: [78, 87, 47] from Operation: 69-22=47
Current State: 56:[78, 87, 47], Operations: ['69-22=47']
Exploring Operation: 87-78=9, Resulting Numbers: [47, 9]
Generated Node #3: [47, 9] from Operation: 87-78=9
Current State: 56:[47, 9], Operations: ['69-22=47', '87-78=9']
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[69, 22, 78, 87], Operations: []
Exploring Operation: 87-69=18, Resulting Numbers: [22, 78, 18]
Generated Node #0,0: 56:[22, 78, 18] Operation: 87-69=18
Exploring Operation: 87-78=9, Resulting Numbers: [69, 22, 9]
Generated Node #0,1: 56:[69, 22, 9] Operation: 87-78=9
Moving to Node #0,1
Current State: 56:[69, 22, 9], Operations: ['87-78=9']
Exploring Operation: 69-9=60, Resulting Numbers: [22, 60]
Generated Node #0,1,0: 56:[22, 60] Operation: 69-9=60
Exploring Operation: 69-22=47, Resulting Numbers: [9, 47]
Generated Node #0,1,1: 56:[9, 47] Operation: 69-22=47
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[22, 60], Operations: ['87-78=9', '69-9=60']
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,56 unequal: No Solution
Exploring Operation: 22+60=82, Resulting Numbers: [82]
82,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[9, 47], Operations: ['87-78=9', '69-22=47']
Exploring Operation: 9+47=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[69, 22, 78, 87], Operations: []
Exploring Operation: 87-78=9, Resulting Numbers: [69, 22, 9]
Generated Node #0,1: 56:[69, 22, 9] Operation: 87-78=9
Moving to Node #0,1
Current State: 56:[69, 22, 9], Operations: ['87-78=9']
Exploring Operation: 69-22=47, Resulting Numbers: [9, 47]
Generated Node #0,1,1: 56:[9, 47] Operation: 69-22=47
Moving to Node #0,1,1
Current State: 56:[9, 47], Operations: ['87-78=9', '69-22=47']
Exploring Operation: 9+47=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
55,
33,
11,
11
] | 41 | [
"55-11=44",
"33/11=3",
"44-3=41"
] | Current State: 41:[55, 33, 11, 11], Operations: []
Exploring Operation: 55-11=44, Resulting Numbers: [33, 44]
Generated Node #2: [33, 44] from Operation: 55-11=44
Current State: 41:[33, 44], Operations: ['55-11=44']
Exploring Operation: 33/11=3, Resulting Numbers: [44, 3]
Generated Node #3: [44, 3] from Operation: 33/11=3
Current State: 41:[44, 3], Operations: ['55-11=44', '33/11=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[55, 33, 11, 11], Operations: []
Exploring Operation: 55-11=44, Resulting Numbers: [33, 11, 44]
Generated Node #0,0: 41:[33, 11, 44] Operation: 55-11=44
Exploring Operation: 11+11=22, Resulting Numbers: [55, 33, 22]
Generated Node #0,1: 41:[55, 33, 22] Operation: 11+11=22
Exploring Operation: 55-11=44, Resulting Numbers: [33, 11, 44]
Generated Node #0,2: 41:[33, 11, 44] Operation: 55-11=44
Exploring Operation: 33+11=44, Resulting Numbers: [55, 11, 44]
Generated Node #0,3: 41:[55, 11, 44] Operation: 33+11=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[33, 11, 44], Operations: ['55-11=44']
Exploring Operation: 33-11=22, Resulting Numbers: [44, 22]
Generated Node #0,0,0: 41:[44, 22] Operation: 33-11=22
Exploring Operation: 33+11=44, Resulting Numbers: [44, 44]
Generated Node #0,0,1: 41:[44, 44] Operation: 33+11=44
Exploring Operation: 44-11=33, Resulting Numbers: [33, 33]
Generated Node #0,0,2: 41:[33, 33] Operation: 44-11=33
Exploring Operation: 11+44=55, Resulting Numbers: [33, 55]
Generated Node #0,0,3: 41:[33, 55] Operation: 11+44=55
Moving to Node #0,0,1
Current State: 41:[44, 44], Operations: ['55-11=44', '33+11=44']
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 44/44=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Exploring Operation: 44-44=0, Resulting Numbers: [0]
0,41 unequal: No Solution
Exploring Operation: 44*44=1936, Resulting Numbers: [1936]
1936,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[33, 33], Operations: ['55-11=44', '44-11=33']
Exploring Operation: 33-33=0, Resulting Numbers: [0]
0,41 unequal: No Solution
Exploring Operation: 33+33=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 33*33=1089, Resulting Numbers: [1089]
1089,41 unequal: No Solution
Exploring Operation: 33/33=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[33, 55], Operations: ['55-11=44', '11+44=55']
Exploring Operation: 55-33=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 33+55=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 33*55=1815, Resulting Numbers: [1815]
1815,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[44, 22], Operations: ['55-11=44', '33-11=22']
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 44*22=968, Resulting Numbers: [968]
968,41 unequal: No Solution
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 44+22=66, Resulting Numbers: [66]
66,41 unequal: No Solution
No 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:[55, 33, 22], Operations: ['11+11=22']
Exploring Operation: 33+22=55, Resulting Numbers: [55, 55]
Generated Node #0,1,0: 41:[55, 55] Operation: 33+22=55
Exploring Operation: 55-22=33, Resulting Numbers: [33, 33]
Generated Node #0,1,1: 41:[33, 33] Operation: 55-22=33
Exploring Operation: 55+22=77, Resulting Numbers: [33, 77]
Generated Node #0,1,2: 41:[33, 77] Operation: 55+22=77
Exploring Operation: 55-33=22, Resulting Numbers: [22, 22]
Generated Node #0,1,3: 41:[22, 22] Operation: 55-33=22
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[33, 33], Operations: ['11+11=22', '55-22=33']
Exploring Operation: 33*33=1089, Resulting Numbers: [1089]
1089,41 unequal: No Solution
Exploring Operation: 33-33=0, Resulting Numbers: [0]
0,41 unequal: No Solution
Exploring Operation: 33+33=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 33/33=1, Resulting Numbers: [1]
1,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:[55, 55], Operations: ['11+11=22', '33+22=55']
Exploring Operation: 55+55=110, Resulting Numbers: [110]
110,41 unequal: No Solution
Exploring Operation: 55*55=3025, Resulting Numbers: [3025]
3025,41 unequal: No Solution
Exploring Operation: 55-55=0, Resulting Numbers: [0]
0,41 unequal: No Solution
Exploring Operation: 55/55=1, Resulting Numbers: [1]
1,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,3
Current State: 41:[22, 22], Operations: ['11+11=22', '55-33=22']
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 22*22=484, Resulting Numbers: [484]
484,41 unequal: No Solution
Exploring Operation: 22-22=0, Resulting Numbers: [0]
0,41 unequal: No Solution
Exploring Operation: 22/22=1, Resulting Numbers: [1]
1,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,2
Current State: 41:[33, 77], Operations: ['11+11=22', '55+22=77']
Exploring Operation: 33*77=2541, Resulting Numbers: [2541]
2541,41 unequal: No Solution
Exploring Operation: 33+77=110, Resulting Numbers: [110]
110,41 unequal: No Solution
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,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,2
Current State: 41:[33, 11, 44], Operations: ['55-11=44']
Exploring Operation: 44-11=33, Resulting Numbers: [33, 33]
Generated Node #0,2,0: 41:[33, 33] Operation: 44-11=33
Exploring Operation: 11+44=55, Resulting Numbers: [33, 55]
Generated Node #0,2,1: 41:[33, 55] Operation: 11+44=55
Exploring Operation: 33+11=44, Resulting Numbers: [44, 44]
Generated Node #0,2,2: 41:[44, 44] Operation: 33+11=44
Exploring Operation: 33-11=22, Resulting Numbers: [44, 22]
Generated Node #0,2,3: 41:[44, 22] Operation: 33-11=22
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 41:[44, 44], Operations: ['55-11=44', '33+11=44']
Exploring Operation: 44-44=0, Resulting Numbers: [0]
0,41 unequal: No Solution
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 44/44=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Exploring Operation: 44*44=1936, Resulting Numbers: [1936]
1936,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,2,0
Current State: 41:[33, 33], Operations: ['55-11=44', '44-11=33']
Exploring Operation: 33+33=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 33*33=1089, Resulting Numbers: [1089]
1089,41 unequal: No Solution
Exploring Operation: 33-33=0, Resulting Numbers: [0]
0,41 unequal: No Solution
Exploring Operation: 33/33=1, Resulting Numbers: [1]
1,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,2,1
Current State: 41:[33, 55], Operations: ['55-11=44', '11+44=55']
Exploring Operation: 55-33=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 33*55=1815, Resulting Numbers: [1815]
1815,41 unequal: No Solution
Exploring Operation: 33+55=88, Resulting Numbers: [88]
88,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,2,3
Current State: 41:[44, 22], Operations: ['55-11=44', '33-11=22']
Exploring Operation: 44*22=968, Resulting Numbers: [968]
968,41 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 44+22=66, Resulting Numbers: [66]
66,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,3
Current State: 41:[55, 11, 44], Operations: ['33+11=44']
Exploring Operation: 11+44=55, Resulting Numbers: [55, 55]
Generated Node #0,3,0: 41:[55, 55] Operation: 11+44=55
Exploring Operation: 55-11=44, Resulting Numbers: [44, 44]
Generated Node #0,3,1: 41:[44, 44] Operation: 55-11=44
Exploring Operation: 55+11=66, Resulting Numbers: [44, 66]
Generated Node #0,3,2: 41:[44, 66] Operation: 55+11=66
Exploring Operation: 44-11=33, Resulting Numbers: [55, 33]
Generated Node #0,3,3: 41:[55, 33] Operation: 44-11=33
Moving to Node #0,3,1
Current State: 41:[44, 44], Operations: ['33+11=44', '55-11=44']
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 44-44=0, Resulting Numbers: [0]
0,41 unequal: No Solution
Exploring Operation: 44*44=1936, Resulting Numbers: [1936]
1936,41 unequal: No Solution
Exploring Operation: 44/44=1, Resulting Numbers: [1]
1,41 unequal: No Solution
Moving to Node #0,3,3
Current State: 41:[55, 33], Operations: ['33+11=44', '44-11=33']
Exploring Operation: 55*33=1815, Resulting Numbers: [1815]
1815,41 unequal: No Solution
Exploring Operation: 55+33=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 55-33=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Moving to Node #0,3,2
Current State: 41:[44, 66], Operations: ['33+11=44', '55+11=66']
Exploring Operation: 44*66=2904, Resulting Numbers: [2904]
2904,41 unequal: No Solution
Exploring Operation: 44+66=110, Resulting Numbers: [110]
110,41 unequal: No Solution
Exploring Operation: 66-44=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Moving to Node #0,3,0
Current State: 41:[55, 55], Operations: ['33+11=44', '11+44=55']
Exploring Operation: 55*55=3025, Resulting Numbers: [3025]
3025,41 unequal: No Solution
Exploring Operation: 55+55=110, Resulting Numbers: [110]
110,41 unequal: No Solution
Exploring Operation: 55-55=0, Resulting Numbers: [0]
0,41 unequal: No Solution
Exploring Operation: 55/55=1, Resulting Numbers: [1]
1,41 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 |
[
52,
8,
7,
19
] | 34 | [
"52+8=60",
"7+19=26",
"60-26=34"
] | Current State: 34:[52, 8, 7, 19], Operations: []
Exploring Operation: 52+8=60, Resulting Numbers: [7, 19, 60]
Generated Node #2: [7, 19, 60] from Operation: 52+8=60
Current State: 34:[7, 19, 60], Operations: ['52+8=60']
Exploring Operation: 7+19=26, Resulting Numbers: [60, 26]
Generated Node #3: [60, 26] from Operation: 7+19=26
Current State: 34:[60, 26], Operations: ['52+8=60', '7+19=26']
Exploring Operation: 60-26=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[52, 8, 7, 19], Operations: []
Exploring Operation: 52-8=44, Resulting Numbers: [7, 19, 44]
Generated Node #0,0: 34:[7, 19, 44] Operation: 52-8=44
Exploring Operation: 8-7=1, Resulting Numbers: [52, 19, 1]
Generated Node #0,1: 34:[52, 19, 1] Operation: 8-7=1
Exploring Operation: 52-7=45, Resulting Numbers: [8, 19, 45]
Generated Node #0,2: 34:[8, 19, 45] Operation: 52-7=45
Exploring Operation: 52-19=33, Resulting Numbers: [8, 7, 33]
Generated Node #0,3: 34:[8, 7, 33] Operation: 52-19=33
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[8, 7, 33], Operations: ['52-19=33']
Exploring Operation: 8+33=41, Resulting Numbers: [7, 41]
Generated Node #0,3,0: 34:[7, 41] Operation: 8+33=41
Exploring Operation: 8-7=1, Resulting Numbers: [33, 1]
Generated Node #0,3,1: 34:[33, 1] Operation: 8-7=1
Exploring Operation: 7+33=40, Resulting Numbers: [8, 40]
Generated Node #0,3,2: 34:[8, 40] Operation: 7+33=40
Exploring Operation: 8+7=15, Resulting Numbers: [33, 15]
Generated Node #0,3,3: 34:[33, 15] Operation: 8+7=15
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 34:[33, 1], Operations: ['52-19=33', '8-7=1']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,34 unequal: No Solution
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[52, 8, 7, 19], Operations: []
Exploring Operation: 52-19=33, Resulting Numbers: [8, 7, 33]
Generated Node #0,3: 34:[8, 7, 33] Operation: 52-19=33
Moving to Node #0,3
Current State: 34:[8, 7, 33], Operations: ['52-19=33']
Exploring Operation: 8-7=1, Resulting Numbers: [33, 1]
Generated Node #0,3,1: 34:[33, 1] Operation: 8-7=1
Moving to Node #0,3,1
Current State: 34:[33, 1], Operations: ['52-19=33', '8-7=1']
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
7,
9,
89,
33
] | 79 | [
"33-9=24",
"7*24=168",
"168-89=79"
] | Current State: 79:[7, 9, 89, 33], Operations: []
Exploring Operation: 33-9=24, Resulting Numbers: [7, 89, 24]
Generated Node #2: [7, 89, 24] from Operation: 33-9=24
Current State: 79:[7, 89, 24], Operations: ['33-9=24']
Exploring Operation: 7*24=168, Resulting Numbers: [89, 168]
Generated Node #3: [89, 168] from Operation: 7*24=168
Current State: 79:[89, 168], Operations: ['33-9=24', '7*24=168']
Exploring Operation: 168-89=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[7, 9, 89, 33], Operations: []
Exploring Operation: 7*9=63, Resulting Numbers: [89, 33, 63]
Generated Node #0,0: 79:[89, 33, 63] Operation: 7*9=63
Exploring Operation: 89-7=82, Resulting Numbers: [9, 33, 82]
Generated Node #0,1: 79:[9, 33, 82] Operation: 89-7=82
Exploring Operation: 7+9=16, Resulting Numbers: [89, 33, 16]
Generated Node #0,2: 79:[89, 33, 16] Operation: 7+9=16
Moving to Node #0,0
Current State: 79:[89, 33, 63], Operations: ['7*9=63']
Exploring Operation: 89+33=122, Resulting Numbers: [63, 122]
Generated Node #0,0,0: 79:[63, 122] Operation: 89+33=122
Exploring Operation: 89-33=56, Resulting Numbers: [63, 56]
Generated Node #0,0,1: 79:[63, 56] Operation: 89-33=56
Exploring Operation: 33+63=96, Resulting Numbers: [89, 96]
Generated Node #0,0,2: 79:[89, 96] Operation: 33+63=96
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[89, 96], Operations: ['7*9=63', '33+63=96']
Exploring Operation: 96-89=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 89+96=185, Resulting Numbers: [185]
185,79 unequal: No Solution
Exploring Operation: 89*96=8544, Resulting Numbers: [8544]
8544,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[63, 56], Operations: ['7*9=63', '89-33=56']
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 63+56=119, Resulting Numbers: [119]
119,79 unequal: No Solution
Exploring Operation: 63*56=3528, Resulting Numbers: [3528]
3528,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[63, 122], Operations: ['7*9=63', '89+33=122']
Exploring Operation: 122-63=59, Resulting Numbers: [59]
59,79 unequal: No Solution
Exploring Operation: 63*122=7686, Resulting Numbers: [7686]
7686,79 unequal: No Solution
Exploring Operation: 63+122=185, Resulting Numbers: [185]
185,79 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: 79:[9, 33, 82], Operations: ['89-7=82']
Exploring Operation: 9+33=42, Resulting Numbers: [82, 42]
Generated Node #0,1,0: 79:[82, 42] Operation: 9+33=42
Exploring Operation: 82-9=73, Resulting Numbers: [33, 73]
Generated Node #0,1,1: 79:[33, 73] Operation: 82-9=73
Exploring Operation: 33-9=24, Resulting Numbers: [82, 24]
Generated Node #0,1,2: 79:[82, 24] Operation: 33-9=24
Moving to Node #0,2
Current State: 79:[89, 33, 16], Operations: ['7+9=16']
Exploring Operation: 89-16=73, Resulting Numbers: [33, 73]
Generated Node #0,2,0: 79:[33, 73] Operation: 89-16=73
Exploring Operation: 33+16=49, Resulting Numbers: [89, 49]
Generated Node #0,2,1: 79:[89, 49] Operation: 33+16=49
Exploring Operation: 89+16=105, Resulting Numbers: [33, 105]
Generated Node #0,2,2: 79:[33, 105] Operation: 89+16=105
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 79:[89, 49], Operations: ['7+9=16', '33+16=49']
Exploring Operation: 89-49=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Exploring Operation: 89*49=4361, Resulting Numbers: [4361]
4361,79 unequal: No Solution
Exploring Operation: 89+49=138, Resulting Numbers: [138]
138,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 79:[33, 73], Operations: ['7+9=16', '89-16=73']
Exploring Operation: 33+73=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Exploring Operation: 33*73=2409, Resulting Numbers: [2409]
2409,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 79:[33, 105], Operations: ['7+9=16', '89+16=105']
Exploring Operation: 33+105=138, Resulting Numbers: [138]
138,79 unequal: No Solution
Exploring Operation: 105-33=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 33*105=3465, Resulting Numbers: [3465]
3465,79 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: 79:[82, 42], Operations: ['89-7=82', '9+33=42']
Exploring Operation: 82*42=3444, Resulting Numbers: [3444]
3444,79 unequal: No Solution
Exploring Operation: 82-42=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Exploring Operation: 82+42=124, Resulting Numbers: [124]
124,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[33, 73], Operations: ['89-7=82', '82-9=73']
Exploring Operation: 33+73=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 33*73=2409, Resulting Numbers: [2409]
2409,79 unequal: No Solution
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[82, 24], Operations: ['89-7=82', '33-9=24']
Exploring Operation: 82*24=1968, Resulting Numbers: [1968]
1968,79 unequal: No Solution
Exploring Operation: 82+24=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,79 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
84,
3,
23,
35
] | 20 | [
"84-35=49",
"3*23=69",
"69-49=20"
] | Current State: 20:[84, 3, 23, 35], Operations: []
Exploring Operation: 84-35=49, Resulting Numbers: [3, 23, 49]
Generated Node #2: [3, 23, 49] from Operation: 84-35=49
Current State: 20:[3, 23, 49], Operations: ['84-35=49']
Exploring Operation: 3*23=69, Resulting Numbers: [49, 69]
Generated Node #3: [49, 69] from Operation: 3*23=69
Current State: 20:[49, 69], Operations: ['84-35=49', '3*23=69']
Exploring Operation: 69-49=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[84, 3, 23, 35], Operations: []
Exploring Operation: 84/3=28, Resulting Numbers: [23, 35, 28]
Generated Node #0,0: 20:[23, 35, 28] Operation: 84/3=28
Exploring Operation: 84-35=49, Resulting Numbers: [3, 23, 49]
Generated Node #0,1: 20:[3, 23, 49] Operation: 84-35=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[23, 35, 28], Operations: ['84/3=28']
Exploring Operation: 35-28=7, Resulting Numbers: [23, 7]
Generated Node #0,0,0: 20:[23, 7] Operation: 35-28=7
Exploring Operation: 35-23=12, Resulting Numbers: [28, 12]
Generated Node #0,0,1: 20:[28, 12] Operation: 35-23=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[23, 7], Operations: ['84/3=28', '35-28=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,20 unequal: No Solution
No 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: 20:[28, 12], Operations: ['84/3=28', '35-23=12']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,20 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: 20:[3, 23, 49], Operations: ['84-35=49']
Exploring Operation: 23-3=20, Resulting Numbers: [49, 20]
Generated Node #0,1,0: 20:[49, 20] Operation: 23-3=20
Exploring Operation: 49-23=26, Resulting Numbers: [3, 26]
Generated Node #0,1,1: 20:[3, 26] Operation: 49-23=26
Moving to Node #0,1,1
Current State: 20:[3, 26], Operations: ['84-35=49', '49-23=26']
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[49, 20], Operations: ['84-35=49', '23-3=20']
Exploring Operation: 49+20=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,20 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,
65,
11,
9
] | 78 | [
"15+65=80",
"11-9=2",
"80-2=78"
] | Current State: 78:[15, 65, 11, 9], Operations: []
Exploring Operation: 15+65=80, Resulting Numbers: [11, 9, 80]
Generated Node #2: [11, 9, 80] from Operation: 15+65=80
Current State: 78:[11, 9, 80], Operations: ['15+65=80']
Exploring Operation: 11-9=2, Resulting Numbers: [80, 2]
Generated Node #3: [80, 2] from Operation: 11-9=2
Current State: 78:[80, 2], Operations: ['15+65=80', '11-9=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[15, 65, 11, 9], Operations: []
Exploring Operation: 15+65=80, Resulting Numbers: [11, 9, 80]
Generated Node #0,0: 78:[11, 9, 80] Operation: 15+65=80
Moving to Node #0,0
Current State: 78:[11, 9, 80], Operations: ['15+65=80']
Exploring Operation: 11-9=2, Resulting Numbers: [80, 2]
Generated Node #0,0,0: 78:[80, 2] Operation: 11-9=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[80, 2], Operations: ['15+65=80', '11-9=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[15, 65, 11, 9], Operations: []
Exploring Operation: 15+65=80, Resulting Numbers: [11, 9, 80]
Generated Node #0,0: 78:[11, 9, 80] Operation: 15+65=80
Moving to Node #0,0
Current State: 78:[11, 9, 80], Operations: ['15+65=80']
Exploring Operation: 11-9=2, Resulting Numbers: [80, 2]
Generated Node #0,0,0: 78:[80, 2] Operation: 11-9=2
Moving to Node #0,0,0
Current State: 78:[80, 2], Operations: ['15+65=80', '11-9=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
9,
2,
19,
35
] | 42 | [
"9+19=28",
"2*35=70",
"70-28=42"
] | Current State: 42:[9, 2, 19, 35], Operations: []
Exploring Operation: 9+19=28, Resulting Numbers: [2, 35, 28]
Generated Node #2: [2, 35, 28] from Operation: 9+19=28
Current State: 42:[2, 35, 28], Operations: ['9+19=28']
Exploring Operation: 2*35=70, Resulting Numbers: [28, 70]
Generated Node #3: [28, 70] from Operation: 2*35=70
Current State: 42:[28, 70], Operations: ['9+19=28', '2*35=70']
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[9, 2, 19, 35], Operations: []
Exploring Operation: 35-19=16, Resulting Numbers: [9, 2, 16]
Generated Node #0,0: 42:[9, 2, 16] Operation: 35-19=16
Exploring Operation: 9+35=44, Resulting Numbers: [2, 19, 44]
Generated Node #0,1: 42:[2, 19, 44] Operation: 9+35=44
Exploring Operation: 35-9=26, Resulting Numbers: [2, 19, 26]
Generated Node #0,2: 42:[2, 19, 26] Operation: 35-9=26
Moving to Node #0,0
Current State: 42:[9, 2, 16], Operations: ['35-19=16']
Exploring Operation: 16-2=14, Resulting Numbers: [9, 14]
Generated Node #0,0,0: 42:[9, 14] Operation: 16-2=14
Exploring Operation: 16-9=7, Resulting Numbers: [2, 7]
Generated Node #0,0,1: 42:[2, 7] Operation: 16-9=7
Exploring Operation: 9-2=7, Resulting Numbers: [16, 7]
Generated Node #0,0,2: 42:[16, 7] Operation: 9-2=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[2, 7], Operations: ['35-19=16', '16-9=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[9, 14], Operations: ['35-19=16', '16-2=14']
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 42:[16, 7], Operations: ['35-19=16', '9-2=7']
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,42 unequal: No Solution
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,42 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: 42:[2, 19, 44], Operations: ['9+35=44']
Exploring Operation: 2+19=21, Resulting Numbers: [44, 21]
Generated Node #0,1,0: 42:[44, 21] Operation: 2+19=21
Exploring Operation: 44/2=22, Resulting Numbers: [19, 22]
Generated Node #0,1,1: 42:[19, 22] Operation: 44/2=22
Exploring Operation: 44-2=42, Resulting Numbers: [19, 42]
Generated Node #0,1,2: 42:[19, 42] Operation: 44-2=42
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 42:[44, 21], Operations: ['9+35=44', '2+19=21']
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 44*21=924, Resulting Numbers: [924]
924,42 unequal: No Solution
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 42:[19, 42], Operations: ['9+35=44', '44-2=42']
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 19*42=798, Resulting Numbers: [798]
798,42 unequal: No Solution
Exploring Operation: 19+42=61, Resulting Numbers: [61]
61,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[19, 22], Operations: ['9+35=44', '44/2=22']
Exploring Operation: 19*22=418, Resulting Numbers: [418]
418,42 unequal: No Solution
Exploring Operation: 19+22=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,42 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: 42:[2, 19, 26], Operations: ['35-9=26']
Exploring Operation: 19+26=45, Resulting Numbers: [2, 45]
Generated Node #0,2,0: 42:[2, 45] Operation: 19+26=45
Exploring Operation: 26-19=7, Resulting Numbers: [2, 7]
Generated Node #0,2,1: 42:[2, 7] Operation: 26-19=7
Exploring Operation: 26/2=13, Resulting Numbers: [19, 13]
Generated Node #0,2,2: 42:[19, 13] Operation: 26/2=13
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 42:[2, 7], Operations: ['35-9=26', '26-19=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[2, 45], Operations: ['35-9=26', '19+26=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,42 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 42:[19, 13], Operations: ['35-9=26', '26/2=13']
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 19*13=247, Resulting Numbers: [247]
247,42 unequal: No Solution
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
80,
24,
61,
30
] | 25 | [
"80-24=56",
"61-30=31",
"56-31=25"
] | Current State: 25:[80, 24, 61, 30], Operations: []
Exploring Operation: 80-24=56, Resulting Numbers: [61, 30, 56]
Generated Node #2: [61, 30, 56] from Operation: 80-24=56
Current State: 25:[61, 30, 56], Operations: ['80-24=56']
Exploring Operation: 61-30=31, Resulting Numbers: [56, 31]
Generated Node #3: [56, 31] from Operation: 61-30=31
Current State: 25:[56, 31], Operations: ['80-24=56', '61-30=31']
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[80, 24, 61, 30], Operations: []
Exploring Operation: 80-61=19, Resulting Numbers: [24, 30, 19]
Generated Node #0,0: 25:[24, 30, 19] Operation: 80-61=19
Exploring Operation: 80-30=50, Resulting Numbers: [24, 61, 50]
Generated Node #0,1: 25:[24, 61, 50] Operation: 80-30=50
Exploring Operation: 61-30=31, Resulting Numbers: [80, 24, 31]
Generated Node #0,2: 25:[80, 24, 31] Operation: 61-30=31
Moving to Node #0,0
Current State: 25:[24, 30, 19], Operations: ['80-61=19']
Exploring Operation: 30-19=11, Resulting Numbers: [24, 11]
Generated Node #0,0,0: 25:[24, 11] Operation: 30-19=11
Exploring Operation: 24-19=5, Resulting Numbers: [30, 5]
Generated Node #0,0,1: 25:[30, 5] Operation: 24-19=5
Exploring Operation: 30-24=6, Resulting Numbers: [19, 6]
Generated Node #0,0,2: 25:[19, 6] Operation: 30-24=6
Moving to Node #0,1
Current State: 25:[24, 61, 50], Operations: ['80-30=50']
Exploring Operation: 61-24=37, Resulting Numbers: [50, 37]
Generated Node #0,1,0: 25:[50, 37] Operation: 61-24=37
Exploring Operation: 50-24=26, Resulting Numbers: [61, 26]
Generated Node #0,1,1: 25:[61, 26] Operation: 50-24=26
Exploring Operation: 61-50=11, Resulting Numbers: [24, 11]
Generated Node #0,1,2: 25:[24, 11] Operation: 61-50=11
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 25:[24, 11], Operations: ['80-30=50', '61-50=11']
Exploring Operation: 24*11=264, Resulting Numbers: [264]
264,25 unequal: No Solution
Exploring Operation: 24+11=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,25 unequal: No Solution
No 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: 25:[50, 37], Operations: ['80-30=50', '61-24=37']
Exploring Operation: 50*37=1850, Resulting Numbers: [1850]
1850,25 unequal: No Solution
Exploring Operation: 50+37=87, Resulting Numbers: [87]
87,25 unequal: No Solution
Exploring Operation: 50-37=13, Resulting Numbers: [13]
13,25 unequal: No Solution
No 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: 25:[61, 26], Operations: ['80-30=50', '50-24=26']
Exploring Operation: 61*26=1586, Resulting Numbers: [1586]
1586,25 unequal: No Solution
Exploring Operation: 61-26=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 61+26=87, Resulting Numbers: [87]
87,25 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: 25:[80, 24, 31], Operations: ['61-30=31']
Exploring Operation: 80-31=49, Resulting Numbers: [24, 49]
Generated Node #0,2,0: 25:[24, 49] Operation: 80-31=49
Exploring Operation: 31-24=7, Resulting Numbers: [80, 7]
Generated Node #0,2,1: 25:[80, 7] Operation: 31-24=7
Exploring Operation: 80-24=56, Resulting Numbers: [31, 56]
Generated Node #0,2,2: 25:[31, 56] Operation: 80-24=56
Moving to Node #0,0,1
Current State: 25:[30, 5], Operations: ['80-61=19', '24-19=5']
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[80, 24, 61, 30], Operations: []
Exploring Operation: 80-61=19, Resulting Numbers: [24, 30, 19]
Generated Node #0,0: 25:[24, 30, 19] Operation: 80-61=19
Moving to Node #0,0
Current State: 25:[24, 30, 19], Operations: ['80-61=19']
Exploring Operation: 24-19=5, Resulting Numbers: [30, 5]
Generated Node #0,0,1: 25:[30, 5] Operation: 24-19=5
Moving to Node #0,0,1
Current State: 25:[30, 5], Operations: ['80-61=19', '24-19=5']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
[
73,
55,
16,
11
] | 23 | [
"73-55=18",
"16-11=5",
"18+5=23"
] | Current State: 23:[73, 55, 16, 11], Operations: []
Exploring Operation: 73-55=18, Resulting Numbers: [16, 11, 18]
Generated Node #2: [16, 11, 18] from Operation: 73-55=18
Current State: 23:[16, 11, 18], Operations: ['73-55=18']
Exploring Operation: 16-11=5, Resulting Numbers: [18, 5]
Generated Node #3: [18, 5] from Operation: 16-11=5
Current State: 23:[18, 5], Operations: ['73-55=18', '16-11=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[73, 55, 16, 11], Operations: []
Exploring Operation: 73-55=18, Resulting Numbers: [16, 11, 18]
Generated Node #0,0: 23:[16, 11, 18] Operation: 73-55=18
Moving to Node #0,0
Current State: 23:[16, 11, 18], Operations: ['73-55=18']
Exploring Operation: 16+11=27, Resulting Numbers: [18, 27]
Generated Node #0,0,0: 23:[18, 27] Operation: 16+11=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[18, 27], Operations: ['73-55=18', '16+11=27']
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
65,
59,
48,
96
] | 88 | [
"65-59=6",
"48/6=8",
"96-8=88"
] | Current State: 88:[65, 59, 48, 96], Operations: []
Exploring Operation: 65-59=6, Resulting Numbers: [48, 96, 6]
Generated Node #2: [48, 96, 6] from Operation: 65-59=6
Current State: 88:[48, 96, 6], Operations: ['65-59=6']
Exploring Operation: 48/6=8, Resulting Numbers: [96, 8]
Generated Node #3: [96, 8] from Operation: 48/6=8
Current State: 88:[96, 8], Operations: ['65-59=6', '48/6=8']
Exploring Operation: 96-8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[65, 59, 48, 96], Operations: []
Exploring Operation: 59-48=11, Resulting Numbers: [65, 96, 11]
Generated Node #0,0: 88:[65, 96, 11] Operation: 59-48=11
Exploring Operation: 65-48=17, Resulting Numbers: [59, 96, 17]
Generated Node #0,1: 88:[59, 96, 17] Operation: 65-48=17
Exploring Operation: 96-65=31, Resulting Numbers: [59, 48, 31]
Generated Node #0,2: 88:[59, 48, 31] Operation: 96-65=31
Exploring Operation: 65-59=6, Resulting Numbers: [48, 96, 6]
Generated Node #0,3: 88:[48, 96, 6] Operation: 65-59=6
Exploring Operation: 96-59=37, Resulting Numbers: [65, 48, 37]
Generated Node #0,4: 88:[65, 48, 37] Operation: 96-59=37
Moving to Node #0,3
Current State: 88:[48, 96, 6], Operations: ['65-59=6']
Exploring Operation: 48/6=8, Resulting Numbers: [96, 8]
Generated Node #0,3,0: 88:[96, 8] Operation: 48/6=8
Exploring Operation: 96/48=2, Resulting Numbers: [6, 2]
Generated Node #0,3,1: 88:[6, 2] Operation: 96/48=2
Exploring Operation: 96-6=90, Resulting Numbers: [48, 90]
Generated Node #0,3,2: 88:[48, 90] Operation: 96-6=90
Exploring Operation: 96-48=48, Resulting Numbers: [6, 48]
Generated Node #0,3,3: 88:[6, 48] Operation: 96-48=48
Exploring Operation: 96/6=16, Resulting Numbers: [48, 16]
Generated Node #0,3,4: 88:[48, 16] Operation: 96/6=16
Moving to Node #0,2
Current State: 88:[59, 48, 31], Operations: ['96-65=31']
Exploring Operation: 59+31=90, Resulting Numbers: [48, 90]
Generated Node #0,2,0: 88:[48, 90] Operation: 59+31=90
Exploring Operation: 48+31=79, Resulting Numbers: [59, 79]
Generated Node #0,2,1: 88:[59, 79] Operation: 48+31=79
Exploring Operation: 59-31=28, Resulting Numbers: [48, 28]
Generated Node #0,2,2: 88:[48, 28] Operation: 59-31=28
Exploring Operation: 48-31=17, Resulting Numbers: [59, 17]
Generated Node #0,2,3: 88:[59, 17] Operation: 48-31=17
Exploring Operation: 59-48=11, Resulting Numbers: [31, 11]
Generated Node #0,2,4: 88:[31, 11] Operation: 59-48=11
Moving to Node #0,1
Current State: 88:[59, 96, 17], Operations: ['65-48=17']
Exploring Operation: 96-17=79, Resulting Numbers: [59, 79]
Generated Node #0,1,0: 88:[59, 79] Operation: 96-17=79
Exploring Operation: 96+17=113, Resulting Numbers: [59, 113]
Generated Node #0,1,1: 88:[59, 113] Operation: 96+17=113
Exploring Operation: 59-17=42, Resulting Numbers: [96, 42]
Generated Node #0,1,2: 88:[96, 42] Operation: 59-17=42
Exploring Operation: 96-59=37, Resulting Numbers: [17, 37]
Generated Node #0,1,3: 88:[17, 37] Operation: 96-59=37
Exploring Operation: 59+17=76, Resulting Numbers: [96, 76]
Generated Node #0,1,4: 88:[96, 76] Operation: 59+17=76
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 88:[96, 42], Operations: ['65-48=17', '59-17=42']
Exploring Operation: 96-42=54, Resulting Numbers: [54]
54,88 unequal: No Solution
Exploring Operation: 96*42=4032, Resulting Numbers: [4032]
4032,88 unequal: No Solution
Exploring Operation: 96+42=138, Resulting Numbers: [138]
138,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 88:[17, 37], Operations: ['65-48=17', '96-59=37']
Exploring Operation: 17*37=629, Resulting Numbers: [629]
629,88 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 17+37=54, Resulting Numbers: [54]
54,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 88:[96, 76], Operations: ['65-48=17', '59+17=76']
Exploring Operation: 96+76=172, Resulting Numbers: [172]
172,88 unequal: No Solution
Exploring Operation: 96*76=7296, Resulting Numbers: [7296]
7296,88 unequal: No Solution
Exploring Operation: 96-76=20, Resulting Numbers: [20]
20,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[59, 79], Operations: ['65-48=17', '96-17=79']
Exploring Operation: 59*79=4661, Resulting Numbers: [4661]
4661,88 unequal: No Solution
Exploring Operation: 59+79=138, Resulting Numbers: [138]
138,88 unequal: No Solution
Exploring Operation: 79-59=20, Resulting Numbers: [20]
20,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[59, 113], Operations: ['65-48=17', '96+17=113']
Exploring Operation: 113-59=54, Resulting Numbers: [54]
54,88 unequal: No Solution
Exploring Operation: 59+113=172, Resulting Numbers: [172]
172,88 unequal: No Solution
Exploring Operation: 59*113=6667, Resulting Numbers: [6667]
6667,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 88:[65, 96, 11], Operations: ['59-48=11']
Exploring Operation: 96+11=107, Resulting Numbers: [65, 107]
Generated Node #0,0,0: 88:[65, 107] Operation: 96+11=107
Exploring Operation: 96-65=31, Resulting Numbers: [11, 31]
Generated Node #0,0,1: 88:[11, 31] Operation: 96-65=31
Exploring Operation: 65+11=76, Resulting Numbers: [96, 76]
Generated Node #0,0,2: 88:[96, 76] Operation: 65+11=76
Exploring Operation: 65-11=54, Resulting Numbers: [96, 54]
Generated Node #0,0,3: 88:[96, 54] Operation: 65-11=54
Exploring Operation: 96-11=85, Resulting Numbers: [65, 85]
Generated Node #0,0,4: 88:[65, 85] Operation: 96-11=85
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[11, 31], Operations: ['59-48=11', '96-65=31']
Exploring Operation: 11*31=341, Resulting Numbers: [341]
341,88 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 88:[96, 54], Operations: ['59-48=11', '65-11=54']
Exploring Operation: 96+54=150, Resulting Numbers: [150]
150,88 unequal: No Solution
Exploring Operation: 96*54=5184, Resulting Numbers: [5184]
5184,88 unequal: No Solution
Exploring Operation: 96-54=42, Resulting Numbers: [42]
42,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 88:[96, 76], Operations: ['59-48=11', '65+11=76']
Exploring Operation: 96-76=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 96+76=172, Resulting Numbers: [172]
172,88 unequal: No Solution
Exploring Operation: 96*76=7296, Resulting Numbers: [7296]
7296,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 88:[65, 85], Operations: ['59-48=11', '96-11=85']
Exploring Operation: 85-65=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 65+85=150, Resulting Numbers: [150]
150,88 unequal: No Solution
Exploring Operation: 65*85=5525, Resulting Numbers: [5525]
5525,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[65, 107], Operations: ['59-48=11', '96+11=107']
Exploring Operation: 107-65=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 65*107=6955, Resulting Numbers: [6955]
6955,88 unequal: No Solution
Exploring Operation: 65+107=172, Resulting Numbers: [172]
172,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 88:[65, 48, 37], Operations: ['96-59=37']
Exploring Operation: 48-37=11, Resulting Numbers: [65, 11]
Generated Node #0,4,0: 88:[65, 11] Operation: 48-37=11
Exploring Operation: 65-37=28, Resulting Numbers: [48, 28]
Generated Node #0,4,1: 88:[48, 28] Operation: 65-37=28
Exploring Operation: 65+37=102, Resulting Numbers: [48, 102]
Generated Node #0,4,2: 88:[48, 102] Operation: 65+37=102
Exploring Operation: 65-48=17, Resulting Numbers: [37, 17]
Generated Node #0,4,3: 88:[37, 17] Operation: 65-48=17
Exploring Operation: 48+37=85, Resulting Numbers: [65, 85]
Generated Node #0,4,4: 88:[65, 85] Operation: 48+37=85
Moving to Node #0,3,1
Current State: 88:[6, 2], Operations: ['65-59=6', '96/48=2']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[6, 48], Operations: ['65-59=6', '96-48=48']
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 6*48=288, Resulting Numbers: [288]
288,88 unequal: No Solution
Exploring Operation: 6+48=54, Resulting Numbers: [54]
54,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[48, 90], Operations: ['96-65=31', '59+31=90']
Exploring Operation: 90-48=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 48*90=4320, Resulting Numbers: [4320]
4320,88 unequal: No Solution
Exploring Operation: 48+90=138, Resulting Numbers: [138]
138,88 unequal: No Solution
Moving to Node #0,3,2
Current State: 88:[48, 90], Operations: ['65-59=6', '96-6=90']
Exploring Operation: 48*90=4320, Resulting Numbers: [4320]
4320,88 unequal: No Solution
Exploring Operation: 90-48=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 48+90=138, Resulting Numbers: [138]
138,88 unequal: No Solution
Moving to Node #0,3,0
Current State: 88:[96, 8], Operations: ['65-59=6', '48/6=8']
Exploring Operation: 96+8=104, Resulting Numbers: [104]
104,88 unequal: No Solution
Exploring Operation: 96*8=768, Resulting Numbers: [768]
768,88 unequal: No Solution
Exploring Operation: 96-8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[65, 59, 48, 96], Operations: []
Exploring Operation: 65-59=6, Resulting Numbers: [48, 96, 6]
Generated Node #0,3: 88:[48, 96, 6] Operation: 65-59=6
Moving to Node #0,3
Current State: 88:[48, 96, 6], Operations: ['65-59=6']
Exploring Operation: 48/6=8, Resulting Numbers: [96, 8]
Generated Node #0,3,0: 88:[96, 8] Operation: 48/6=8
Moving to Node #0,3,0
Current State: 88:[96, 8], Operations: ['65-59=6', '48/6=8']
Exploring Operation: 96-8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.929688 | hs_5 | sum_heuristic |
[
97,
23,
20,
2
] | 50 | [
"97+23=120",
"120-20=100",
"100/2=50"
] | Current State: 50:[97, 23, 20, 2], Operations: []
Exploring Operation: 97+23=120, Resulting Numbers: [20, 2, 120]
Generated Node #2: [20, 2, 120] from Operation: 97+23=120
Current State: 50:[20, 2, 120], Operations: ['97+23=120']
Exploring Operation: 120-20=100, Resulting Numbers: [2, 100]
Generated Node #3: [2, 100] from Operation: 120-20=100
Current State: 50:[2, 100], Operations: ['97+23=120', '120-20=100']
Exploring Operation: 100/2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[97, 23, 20, 2], Operations: []
Exploring Operation: 20/2=10, Resulting Numbers: [97, 23, 10]
Generated Node #0,0: 50:[97, 23, 10] Operation: 20/2=10
Exploring Operation: 97-23=74, Resulting Numbers: [20, 2, 74]
Generated Node #0,1: 50:[20, 2, 74] Operation: 97-23=74
Exploring Operation: 23-20=3, Resulting Numbers: [97, 2, 3]
Generated Node #0,2: 50:[97, 2, 3] Operation: 23-20=3
Exploring Operation: 97-20=77, Resulting Numbers: [23, 2, 77]
Generated Node #0,3: 50:[23, 2, 77] Operation: 97-20=77
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[20, 2, 74], Operations: ['97-23=74']
Exploring Operation: 74-20=54, Resulting Numbers: [2, 54]
Generated Node #0,1,0: 50:[2, 54] Operation: 74-20=54
Exploring Operation: 20+2=22, Resulting Numbers: [74, 22]
Generated Node #0,1,1: 50:[74, 22] Operation: 20+2=22
Exploring Operation: 20/2=10, Resulting Numbers: [74, 10]
Generated Node #0,1,2: 50:[74, 10] Operation: 20/2=10
Exploring Operation: 74/2=37, Resulting Numbers: [20, 37]
Generated Node #0,1,3: 50:[20, 37] Operation: 74/2=37
Moving to Node #0,1,0
Current State: 50:[2, 54], Operations: ['97-23=74', '74-20=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,50 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Moving to Node #0,1,3
Current State: 50:[20, 37], Operations: ['97-23=74', '74/2=37']
Exploring Operation: 20*37=740, Resulting Numbers: [740]
740,50 unequal: No Solution
Exploring Operation: 20+37=57, Resulting Numbers: [57]
57,50 unequal: No Solution
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[74, 10], Operations: ['97-23=74', '20/2=10']
Exploring Operation: 74*10=740, Resulting Numbers: [740]
740,50 unequal: No Solution
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Exploring Operation: 74+10=84, Resulting Numbers: [84]
84,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[74, 22], Operations: ['97-23=74', '20+2=22']
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 74+22=96, Resulting Numbers: [96]
96,50 unequal: No Solution
Exploring Operation: 74*22=1628, Resulting Numbers: [1628]
1628,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 50:[23, 2, 77], Operations: ['97-20=77']
Exploring Operation: 23+2=25, Resulting Numbers: [77, 25]
Generated Node #0,3,0: 50:[77, 25] Operation: 23+2=25
Exploring Operation: 77-2=75, Resulting Numbers: [23, 75]
Generated Node #0,3,1: 50:[23, 75] Operation: 77-2=75
Exploring Operation: 23*2=46, Resulting Numbers: [77, 46]
Generated Node #0,3,2: 50:[77, 46] Operation: 23*2=46
Exploring Operation: 77-23=54, Resulting Numbers: [2, 54]
Generated Node #0,3,3: 50:[2, 54] Operation: 77-23=54
Moving to Node #0,3,3
Current State: 50:[2, 54], Operations: ['97-20=77', '77-23=54']
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,50 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Moving to Node #0,3,1
Current State: 50:[23, 75], Operations: ['97-20=77', '77-2=75']
Exploring Operation: 23+75=98, Resulting Numbers: [98]
98,50 unequal: No Solution
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 23*75=1725, Resulting Numbers: [1725]
1725,50 unequal: No Solution
Moving to Node #0,3,0
Current State: 50:[77, 25], Operations: ['97-20=77', '23+2=25']
Exploring Operation: 77*25=1925, Resulting Numbers: [1925]
1925,50 unequal: No Solution
Exploring Operation: 77+25=102, Resulting Numbers: [102]
102,50 unequal: No Solution
Exploring Operation: 77-25=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Moving to Node #0,3,2
Current State: 50:[77, 46], Operations: ['97-20=77', '23*2=46']
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 77+46=123, Resulting Numbers: [123]
123,50 unequal: No Solution
Exploring Operation: 77*46=3542, Resulting Numbers: [3542]
3542,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[97, 2, 3], Operations: ['23-20=3']
Exploring Operation: 2*3=6, Resulting Numbers: [97, 6]
Generated Node #0,2,0: 50:[97, 6] Operation: 2*3=6
Exploring Operation: 97-3=94, Resulting Numbers: [2, 94]
Generated Node #0,2,1: 50:[2, 94] Operation: 97-3=94
Exploring Operation: 97-2=95, Resulting Numbers: [3, 95]
Generated Node #0,2,2: 50:[3, 95] Operation: 97-2=95
Exploring Operation: 2+3=5, Resulting Numbers: [97, 5]
Generated Node #0,2,3: 50:[97, 5] Operation: 2+3=5
Moving to Node #0,2,1
Current State: 50:[2, 94], Operations: ['23-20=3', '97-3=94']
Exploring Operation: 2+94=96, Resulting Numbers: [96]
96,50 unequal: No Solution
Exploring Operation: 2*94=188, Resulting Numbers: [188]
188,50 unequal: No Solution
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[3, 95], Operations: ['23-20=3', '97-2=95']
Exploring Operation: 3+95=98, Resulting Numbers: [98]
98,50 unequal: No Solution
Exploring Operation: 3*95=285, Resulting Numbers: [285]
285,50 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,50 unequal: No Solution
Moving to Node #0,2,3
Current State: 50:[97, 5], Operations: ['23-20=3', '2+3=5']
Exploring Operation: 97+5=102, Resulting Numbers: [102]
102,50 unequal: No Solution
Exploring Operation: 97-5=92, Resulting Numbers: [92]
92,50 unequal: No Solution
Exploring Operation: 97*5=485, Resulting Numbers: [485]
485,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[97, 6], Operations: ['23-20=3', '2*3=6']
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,50 unequal: No Solution
Exploring Operation: 97*6=582, Resulting Numbers: [582]
582,50 unequal: No Solution
Exploring Operation: 97+6=103, Resulting Numbers: [103]
103,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[97, 23, 10], Operations: ['20/2=10']
Exploring Operation: 23+10=33, Resulting Numbers: [97, 33]
Generated Node #0,0,0: 50:[97, 33] Operation: 23+10=33
Exploring Operation: 97-10=87, Resulting Numbers: [23, 87]
Generated Node #0,0,1: 50:[23, 87] Operation: 97-10=87
Exploring Operation: 23-10=13, Resulting Numbers: [97, 13]
Generated Node #0,0,2: 50:[97, 13] Operation: 23-10=13
Exploring Operation: 97-23=74, Resulting Numbers: [10, 74]
Generated Node #0,0,3: 50:[10, 74] Operation: 97-23=74
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 50:[10, 74], Operations: ['20/2=10', '97-23=74']
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Exploring Operation: 10+74=84, Resulting Numbers: [84]
84,50 unequal: No Solution
Exploring Operation: 10*74=740, Resulting Numbers: [740]
740,50 unequal: No Solution
No 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: 50:[23, 87], Operations: ['20/2=10', '97-10=87']
Exploring Operation: 87-23=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Exploring Operation: 23+87=110, Resulting Numbers: [110]
110,50 unequal: No Solution
Exploring Operation: 23*87=2001, Resulting Numbers: [2001]
2001,50 unequal: No Solution
No 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: 50:[97, 13], Operations: ['20/2=10', '23-10=13']
Exploring Operation: 97*13=1261, Resulting Numbers: [1261]
1261,50 unequal: No Solution
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,50 unequal: No Solution
Exploring Operation: 97+13=110, Resulting Numbers: [110]
110,50 unequal: No Solution
No 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: 50:[97, 33], Operations: ['20/2=10', '23+10=33']
Exploring Operation: 97-33=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Exploring Operation: 97+33=130, Resulting Numbers: [130]
130,50 unequal: No Solution
Exploring Operation: 97*33=3201, Resulting Numbers: [3201]
3201,50 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 |
[
77,
11,
97,
62
] | 28 | [
"77/11=7",
"97-62=35",
"35-7=28"
] | Current State: 28:[77, 11, 97, 62], Operations: []
Exploring Operation: 77/11=7, Resulting Numbers: [97, 62, 7]
Generated Node #2: [97, 62, 7] from Operation: 77/11=7
Current State: 28:[97, 62, 7], Operations: ['77/11=7']
Exploring Operation: 97-62=35, Resulting Numbers: [7, 35]
Generated Node #3: [7, 35] from Operation: 97-62=35
Current State: 28:[7, 35], Operations: ['77/11=7', '97-62=35']
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[77, 11, 97, 62], Operations: []
Exploring Operation: 77-62=15, Resulting Numbers: [11, 97, 15]
Generated Node #0,0: 28:[11, 97, 15] Operation: 77-62=15
Exploring Operation: 97-77=20, Resulting Numbers: [11, 62, 20]
Generated Node #0,1: 28:[11, 62, 20] Operation: 97-77=20
Exploring Operation: 77/11=7, Resulting Numbers: [97, 62, 7]
Generated Node #0,2: 28:[97, 62, 7] Operation: 77/11=7
Exploring Operation: 97-62=35, Resulting Numbers: [77, 11, 35]
Generated Node #0,3: 28:[77, 11, 35] Operation: 97-62=35
Moving to Node #0,1
Current State: 28:[11, 62, 20], Operations: ['97-77=20']
Exploring Operation: 62-11=51, Resulting Numbers: [20, 51]
Generated Node #0,1,0: 28:[20, 51] Operation: 62-11=51
Exploring Operation: 20-11=9, Resulting Numbers: [62, 9]
Generated Node #0,1,1: 28:[62, 9] Operation: 20-11=9
Exploring Operation: 62-20=42, Resulting Numbers: [11, 42]
Generated Node #0,1,2: 28:[11, 42] Operation: 62-20=42
Exploring Operation: 11+20=31, Resulting Numbers: [62, 31]
Generated Node #0,1,3: 28:[62, 31] Operation: 11+20=31
Moving to Node #0,3
Current State: 28:[77, 11, 35], Operations: ['97-62=35']
Exploring Operation: 77/11=7, Resulting Numbers: [35, 7]
Generated Node #0,3,0: 28:[35, 7] Operation: 77/11=7
Exploring Operation: 77-35=42, Resulting Numbers: [11, 42]
Generated Node #0,3,1: 28:[11, 42] Operation: 77-35=42
Exploring Operation: 35-11=24, Resulting Numbers: [77, 24]
Generated Node #0,3,2: 28:[77, 24] Operation: 35-11=24
Exploring Operation: 77-11=66, Resulting Numbers: [35, 66]
Generated Node #0,3,3: 28:[35, 66] Operation: 77-11=66
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 28:[35, 7], Operations: ['97-62=35', '77/11=7']
Exploring Operation: 35+7=42, Resulting Numbers: [42]
42,28 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 35*7=245, Resulting Numbers: [245]
245,28 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[77, 11, 97, 62], Operations: []
Exploring Operation: 97-62=35, Resulting Numbers: [77, 11, 35]
Generated Node #0,3: 28:[77, 11, 35] Operation: 97-62=35
Moving to Node #0,3
Current State: 28:[77, 11, 35], Operations: ['97-62=35']
Exploring Operation: 77/11=7, Resulting Numbers: [35, 7]
Generated Node #0,3,0: 28:[35, 7] Operation: 77/11=7
Moving to Node #0,3,0
Current State: 28:[35, 7], Operations: ['97-62=35', '77/11=7']
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
78,
84,
95,
97
] | 81 | [
"78+84=162",
"97-95=2",
"162/2=81"
] | Current State: 81:[78, 84, 95, 97], Operations: []
Exploring Operation: 78+84=162, Resulting Numbers: [95, 97, 162]
Generated Node #2: [95, 97, 162] from Operation: 78+84=162
Current State: 81:[95, 97, 162], Operations: ['78+84=162']
Exploring Operation: 97-95=2, Resulting Numbers: [162, 2]
Generated Node #3: [162, 2] from Operation: 97-95=2
Current State: 81:[162, 2], Operations: ['78+84=162', '97-95=2']
Exploring Operation: 162/2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[78, 84, 95, 97], Operations: []
Exploring Operation: 95-78=17, Resulting Numbers: [84, 97, 17]
Generated Node #0,0: 81:[84, 97, 17] Operation: 95-78=17
Exploring Operation: 97-95=2, Resulting Numbers: [78, 84, 2]
Generated Node #0,1: 81:[78, 84, 2] Operation: 97-95=2
Exploring Operation: 95-84=11, Resulting Numbers: [78, 97, 11]
Generated Node #0,2: 81:[78, 97, 11] Operation: 95-84=11
Exploring Operation: 97-84=13, Resulting Numbers: [78, 95, 13]
Generated Node #0,3: 81:[78, 95, 13] Operation: 97-84=13
Exploring Operation: 97-78=19, Resulting Numbers: [84, 95, 19]
Generated Node #0,4: 81:[84, 95, 19] Operation: 97-78=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[78, 84, 2], Operations: ['97-95=2']
Exploring Operation: 84-2=82, Resulting Numbers: [78, 82]
Generated Node #0,1,0: 81:[78, 82] Operation: 84-2=82
Exploring Operation: 78+2=80, Resulting Numbers: [84, 80]
Generated Node #0,1,1: 81:[84, 80] Operation: 78+2=80
Exploring Operation: 84+2=86, Resulting Numbers: [78, 86]
Generated Node #0,1,2: 81:[78, 86] Operation: 84+2=86
Exploring Operation: 78-2=76, Resulting Numbers: [84, 76]
Generated Node #0,1,3: 81:[84, 76] Operation: 78-2=76
Exploring Operation: 84-78=6, Resulting Numbers: [2, 6]
Generated Node #0,1,4: 81:[2, 6] Operation: 84-78=6
Moving to Node #0,1,0
Current State: 81:[78, 82], Operations: ['97-95=2', '84-2=82']
Exploring Operation: 78+82=160, Resulting Numbers: [160]
160,81 unequal: No Solution
Exploring Operation: 78*82=6396, Resulting Numbers: [6396]
6396,81 unequal: No Solution
Exploring Operation: 82-78=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Moving to Node #0,1,4
Current State: 81:[2, 6], Operations: ['97-95=2', '84-78=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[84, 80], Operations: ['97-95=2', '78+2=80']
Exploring Operation: 84-80=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 84+80=164, Resulting Numbers: [164]
164,81 unequal: No Solution
Exploring Operation: 84*80=6720, Resulting Numbers: [6720]
6720,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[78, 86], Operations: ['97-95=2', '84+2=86']
Exploring Operation: 78+86=164, Resulting Numbers: [164]
164,81 unequal: No Solution
Exploring Operation: 78*86=6708, Resulting Numbers: [6708]
6708,81 unequal: No Solution
Exploring Operation: 86-78=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[84, 76], Operations: ['97-95=2', '78-2=76']
Exploring Operation: 84+76=160, Resulting Numbers: [160]
160,81 unequal: No Solution
Exploring Operation: 84-76=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 84*76=6384, Resulting Numbers: [6384]
6384,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[78, 97, 11], Operations: ['95-84=11']
Exploring Operation: 97-78=19, Resulting Numbers: [11, 19]
Generated Node #0,2,0: 81:[11, 19] Operation: 97-78=19
Exploring Operation: 78+11=89, Resulting Numbers: [97, 89]
Generated Node #0,2,1: 81:[97, 89] Operation: 78+11=89
Exploring Operation: 97+11=108, Resulting Numbers: [78, 108]
Generated Node #0,2,2: 81:[78, 108] Operation: 97+11=108
Exploring Operation: 78-11=67, Resulting Numbers: [97, 67]
Generated Node #0,2,3: 81:[97, 67] Operation: 78-11=67
Exploring Operation: 97-11=86, Resulting Numbers: [78, 86]
Generated Node #0,2,4: 81:[78, 86] Operation: 97-11=86
Moving to Node #0,2,4
Current State: 81:[78, 86], Operations: ['95-84=11', '97-11=86']
Exploring Operation: 78*86=6708, Resulting Numbers: [6708]
6708,81 unequal: No Solution
Exploring Operation: 86-78=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 78+86=164, Resulting Numbers: [164]
164,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[11, 19], Operations: ['95-84=11', '97-78=19']
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 11*19=209, Resulting Numbers: [209]
209,81 unequal: No Solution
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[97, 89], Operations: ['95-84=11', '78+11=89']
Exploring Operation: 97+89=186, Resulting Numbers: [186]
186,81 unequal: No Solution
Exploring Operation: 97-89=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 97*89=8633, Resulting Numbers: [8633]
8633,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[78, 108], Operations: ['95-84=11', '97+11=108']
Exploring Operation: 108-78=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 78*108=8424, Resulting Numbers: [8424]
8424,81 unequal: No Solution
Exploring Operation: 78+108=186, Resulting Numbers: [186]
186,81 unequal: No Solution
Moving to Node #0,2,3
Current State: 81:[97, 67], Operations: ['95-84=11', '78-11=67']
Exploring Operation: 97+67=164, Resulting Numbers: [164]
164,81 unequal: No Solution
Exploring Operation: 97-67=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 97*67=6499, Resulting Numbers: [6499]
6499,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
Current State: 81:[78, 95, 13], Operations: ['97-84=13']
Exploring Operation: 95-13=82, Resulting Numbers: [78, 82]
Generated Node #0,3,0: 81:[78, 82] Operation: 95-13=82
Exploring Operation: 78+13=91, Resulting Numbers: [95, 91]
Generated Node #0,3,1: 81:[95, 91] Operation: 78+13=91
Exploring Operation: 78/13=6, Resulting Numbers: [95, 6]
Generated Node #0,3,2: 81:[95, 6] Operation: 78/13=6
Exploring Operation: 78-13=65, Resulting Numbers: [95, 65]
Generated Node #0,3,3: 81:[95, 65] Operation: 78-13=65
Exploring Operation: 95-78=17, Resulting Numbers: [13, 17]
Generated Node #0,3,4: 81:[13, 17] Operation: 95-78=17
Moving to Node #0,3,0
Current State: 81:[78, 82], Operations: ['97-84=13', '95-13=82']
Exploring Operation: 78+82=160, Resulting Numbers: [160]
160,81 unequal: No Solution
Exploring Operation: 78*82=6396, Resulting Numbers: [6396]
6396,81 unequal: No Solution
Exploring Operation: 82-78=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Moving to Node #0,3,4
Current State: 81:[13, 17], Operations: ['97-84=13', '95-78=17']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 13+17=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 13*17=221, Resulting Numbers: [221]
221,81 unequal: No Solution
Moving to Node #0,3,2
Current State: 81:[95, 6], Operations: ['97-84=13', '78/13=6']
Exploring Operation: 95+6=101, Resulting Numbers: [101]
101,81 unequal: No Solution
Exploring Operation: 95-6=89, Resulting Numbers: [89]
89,81 unequal: No Solution
Exploring Operation: 95*6=570, Resulting Numbers: [570]
570,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[95, 91], Operations: ['97-84=13', '78+13=91']
Exploring Operation: 95*91=8645, Resulting Numbers: [8645]
8645,81 unequal: No Solution
Exploring Operation: 95-91=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 95+91=186, Resulting Numbers: [186]
186,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[95, 65], Operations: ['97-84=13', '78-13=65']
Exploring Operation: 95+65=160, Resulting Numbers: [160]
160,81 unequal: No Solution
Exploring Operation: 95*65=6175, Resulting Numbers: [6175]
6175,81 unequal: No Solution
Exploring Operation: 95-65=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,4
Current State: 81:[84, 95, 19], Operations: ['97-78=19']
Exploring Operation: 95/19=5, Resulting Numbers: [84, 5]
Generated Node #0,4,0: 81:[84, 5] Operation: 95/19=5
Exploring Operation: 95-19=76, Resulting Numbers: [84, 76]
Generated Node #0,4,1: 81:[84, 76] Operation: 95-19=76
Exploring Operation: 84-19=65, Resulting Numbers: [95, 65]
Generated Node #0,4,2: 81:[95, 65] Operation: 84-19=65
Exploring Operation: 95-84=11, Resulting Numbers: [19, 11]
Generated Node #0,4,3: 81:[19, 11] Operation: 95-84=11
Exploring Operation: 84+19=103, Resulting Numbers: [95, 103]
Generated Node #0,4,4: 81:[95, 103] Operation: 84+19=103
Moving to Node #0,4,0
Current State: 81:[84, 5], Operations: ['97-78=19', '95/19=5']
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,81 unequal: No Solution
Exploring Operation: 84*5=420, Resulting Numbers: [420]
420,81 unequal: No Solution
Exploring Operation: 84+5=89, Resulting Numbers: [89]
89,81 unequal: No Solution
Moving to Node #0,4,1
Current State: 81:[84, 76], Operations: ['97-78=19', '95-19=76']
Exploring Operation: 84*76=6384, Resulting Numbers: [6384]
6384,81 unequal: No Solution
Exploring Operation: 84+76=160, Resulting Numbers: [160]
160,81 unequal: No Solution
Exploring Operation: 84-76=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Moving to Node #0,4,3
Current State: 81:[19, 11], Operations: ['97-78=19', '95-84=11']
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 19*11=209, Resulting Numbers: [209]
209,81 unequal: No Solution
Moving to Node #0,4,2
Current State: 81:[95, 65], Operations: ['97-78=19', '84-19=65']
Exploring Operation: 95-65=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 95+65=160, Resulting Numbers: [160]
160,81 unequal: No Solution
Exploring Operation: 95*65=6175, Resulting Numbers: [6175]
6175,81 unequal: No Solution
Moving to Node #0,4,4
Current State: 81:[95, 103], Operations: ['97-78=19', '84+19=103']
Exploring Operation: 95*103=9785, Resulting Numbers: [9785]
9785,81 unequal: No Solution
Exploring Operation: 103-95=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 95+103=198, Resulting Numbers: [198]
198,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
Current State: 81:[84, 97, 17], Operations: ['95-78=17']
Exploring Operation: 97-84=13, Resulting Numbers: [17, 13]
Generated Node #0,0,0: 81:[17, 13] Operation: 97-84=13
Exploring Operation: 97+17=114, Resulting Numbers: [84, 114]
Generated Node #0,0,1: 81:[84, 114] Operation: 97+17=114
Exploring Operation: 84-17=67, Resulting Numbers: [97, 67]
Generated Node #0,0,2: 81:[97, 67] Operation: 84-17=67
Exploring Operation: 84+17=101, Resulting Numbers: [97, 101]
Generated Node #0,0,3: 81:[97, 101] Operation: 84+17=101
Exploring Operation: 97-17=80, Resulting Numbers: [84, 80]
Generated Node #0,0,4: 81:[84, 80] Operation: 97-17=80
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 81:[84, 80], Operations: ['95-78=17', '97-17=80']
Exploring Operation: 84*80=6720, Resulting Numbers: [6720]
6720,81 unequal: No Solution
Exploring Operation: 84+80=164, Resulting Numbers: [164]
164,81 unequal: No Solution
Exploring Operation: 84-80=4, Resulting Numbers: [4]
4,81 unequal: No Solution
No 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: 81:[17, 13], Operations: ['95-78=17', '97-84=13']
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,81 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,81 unequal: No Solution
No 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: 81:[97, 67], Operations: ['95-78=17', '84-17=67']
Exploring Operation: 97*67=6499, Resulting Numbers: [6499]
6499,81 unequal: No Solution
Exploring Operation: 97+67=164, Resulting Numbers: [164]
164,81 unequal: No Solution
Exploring Operation: 97-67=30, Resulting Numbers: [30]
30,81 unequal: No Solution
No 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: 81:[84, 114], Operations: ['95-78=17', '97+17=114']
Exploring Operation: 114-84=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 84+114=198, Resulting Numbers: [198]
198,81 unequal: No Solution
Exploring Operation: 84*114=9576, Resulting Numbers: [9576]
9576,81 unequal: No Solution
No 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: 81:[97, 101], Operations: ['95-78=17', '84+17=101']
Exploring Operation: 101-97=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 97*101=9797, Resulting Numbers: [9797]
9797,81 unequal: No Solution
Exploring Operation: 97+101=198, Resulting Numbers: [198]
198,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
95,
81,
64,
90
] | 11 | [
"95-81=14",
"64+90=154",
"154/14=11"
] | Current State: 11:[95, 81, 64, 90], Operations: []
Exploring Operation: 95-81=14, Resulting Numbers: [64, 90, 14]
Generated Node #2: [64, 90, 14] from Operation: 95-81=14
Current State: 11:[64, 90, 14], Operations: ['95-81=14']
Exploring Operation: 64+90=154, Resulting Numbers: [14, 154]
Generated Node #3: [14, 154] from Operation: 64+90=154
Current State: 11:[14, 154], Operations: ['95-81=14', '64+90=154']
Exploring Operation: 154/14=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[95, 81, 64, 90], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [81, 64, 5]
Generated Node #0,0: 11:[81, 64, 5] Operation: 95-90=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[81, 64, 5], Operations: ['95-90=5']
Exploring Operation: 81-64=17, Resulting Numbers: [5, 17]
Generated Node #0,0,0: 11:[5, 17] Operation: 81-64=17
Moving to Node #0,0,0
Current State: 11:[5, 17], Operations: ['95-90=5', '81-64=17']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,11 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 |
[
64,
9,
55,
12
] | 99 | [
"64-55=9",
"9*12=108",
"108-9=99"
] | Current State: 99:[64, 9, 55, 12], Operations: []
Exploring Operation: 64-55=9, Resulting Numbers: [9, 12, 9]
Generated Node #2: [9, 12, 9] from Operation: 64-55=9
Current State: 99:[9, 12, 9], Operations: ['64-55=9']
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,99 equal: Goal Reached
Exploring Operation: 108-9=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[64, 9, 55, 12], Operations: []
Exploring Operation: 64-12=52, Resulting Numbers: [9, 55, 52]
Generated Node #0,0: 99:[9, 55, 52] Operation: 64-12=52
Exploring Operation: 64+55=119, Resulting Numbers: [9, 12, 119]
Generated Node #0,1: 99:[9, 12, 119] Operation: 64+55=119
Exploring Operation: 64-9=55, Resulting Numbers: [55, 12, 55]
Generated Node #0,2: 99:[55, 12, 55] Operation: 64-9=55
Exploring Operation: 55-12=43, Resulting Numbers: [64, 9, 43]
Generated Node #0,3: 99:[64, 9, 43] Operation: 55-12=43
Exploring Operation: 64-55=9, Resulting Numbers: [9, 12, 9]
Generated Node #0,4: 99:[9, 12, 9] Operation: 64-55=9
Start Sub Search at level 1: Moving to Node #0,4
Current State: 99:[9, 12, 9], Operations: ['64-55=9']
Exploring Operation: 9-9=0, Resulting Numbers: [12, 0]
Generated Node #0,4,0: 99:[12, 0] Operation: 9-9=0
Exploring Operation: 9/9=1, Resulting Numbers: [12, 1]
Generated Node #0,4,1: 99:[12, 1] Operation: 9/9=1
Exploring Operation: 9+9=18, Resulting Numbers: [12, 18]
Generated Node #0,4,2: 99:[12, 18] Operation: 9+9=18
Exploring Operation: 12-9=3, Resulting Numbers: [9, 3]
Generated Node #0,4,3: 99:[9, 3] Operation: 12-9=3
Exploring Operation: 12-9=3, Resulting Numbers: [9, 3]
Generated Node #0,4,4: 99:[9, 3] Operation: 12-9=3
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 99:[9, 3], Operations: ['64-55=9', '12-9=3']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 99:[9, 3], Operations: ['64-55=9', '12-9=3']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,99 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 99:[12, 1], Operations: ['64-55=9', '9/9=1']
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 99:[12, 0], Operations: ['64-55=9', '9-9=0']
Exploring Operation: 12-0=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 12*0=0, Resulting Numbers: [0]
0,99 unequal: No Solution
Exploring Operation: 12+0=12, Resulting Numbers: [12]
12,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 99:[12, 18], Operations: ['64-55=9', '9+9=18']
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,99 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[9, 12, 119], Operations: ['64+55=119']
Exploring Operation: 119-9=110, Resulting Numbers: [12, 110]
Generated Node #0,1,0: 99:[12, 110] Operation: 119-9=110
Exploring Operation: 9+12=21, Resulting Numbers: [119, 21]
Generated Node #0,1,1: 99:[119, 21] Operation: 9+12=21
Exploring Operation: 119-12=107, Resulting Numbers: [9, 107]
Generated Node #0,1,2: 99:[9, 107] Operation: 119-12=107
Exploring Operation: 12-9=3, Resulting Numbers: [119, 3]
Generated Node #0,1,3: 99:[119, 3] Operation: 12-9=3
Exploring Operation: 9*12=108, Resulting Numbers: [119, 108]
Generated Node #0,1,4: 99:[119, 108] Operation: 9*12=108
Moving to Node #0,1,2
Current State: 99:[9, 107], Operations: ['64+55=119', '119-12=107']
Exploring Operation: 107-9=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Exploring Operation: 9*107=963, Resulting Numbers: [963]
963,99 unequal: No Solution
Exploring Operation: 9+107=116, Resulting Numbers: [116]
116,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[12, 110], Operations: ['64+55=119', '119-9=110']
Exploring Operation: 12*110=1320, Resulting Numbers: [1320]
1320,99 unequal: No Solution
Exploring Operation: 12+110=122, Resulting Numbers: [122]
122,99 unequal: No Solution
Exploring Operation: 110-12=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Moving to Node #0,1,3
Current State: 99:[119, 3], Operations: ['64+55=119', '12-9=3']
Exploring Operation: 119-3=116, Resulting Numbers: [116]
116,99 unequal: No Solution
Exploring Operation: 119+3=122, Resulting Numbers: [122]
122,99 unequal: No Solution
Exploring Operation: 119*3=357, Resulting Numbers: [357]
357,99 unequal: No Solution
Moving to Node #0,1,4
Current State: 99:[119, 108], Operations: ['64+55=119', '9*12=108']
Exploring Operation: 119+108=227, Resulting Numbers: [227]
227,99 unequal: No Solution
Exploring Operation: 119-108=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Exploring Operation: 119*108=12852, Resulting Numbers: [12852]
12852,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[119, 21], Operations: ['64+55=119', '9+12=21']
Exploring Operation: 119-21=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Exploring Operation: 119+21=140, Resulting Numbers: [140]
140,99 unequal: No Solution
Exploring Operation: 119*21=2499, Resulting Numbers: [2499]
2499,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[9, 55, 52], Operations: ['64-12=52']
Exploring Operation: 52-9=43, Resulting Numbers: [55, 43]
Generated Node #0,0,0: 99:[55, 43] Operation: 52-9=43
Exploring Operation: 55-9=46, Resulting Numbers: [52, 46]
Generated Node #0,0,1: 99:[52, 46] Operation: 55-9=46
Exploring Operation: 55+52=107, Resulting Numbers: [9, 107]
Generated Node #0,0,2: 99:[9, 107] Operation: 55+52=107
Exploring Operation: 9+55=64, Resulting Numbers: [52, 64]
Generated Node #0,0,3: 99:[52, 64] Operation: 9+55=64
Exploring Operation: 55-52=3, Resulting Numbers: [9, 3]
Generated Node #0,0,4: 99:[9, 3] Operation: 55-52=3
Moving to Node #0,0,4
Current State: 99:[9, 3], Operations: ['64-12=52', '55-52=3']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,99 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[9, 107], Operations: ['64-12=52', '55+52=107']
Exploring Operation: 107-9=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Exploring Operation: 9*107=963, Resulting Numbers: [963]
963,99 unequal: No Solution
Exploring Operation: 9+107=116, Resulting Numbers: [116]
116,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[55, 43], Operations: ['64-12=52', '52-9=43']
Exploring Operation: 55*43=2365, Resulting Numbers: [2365]
2365,99 unequal: No Solution
Exploring Operation: 55+43=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[52, 46], Operations: ['64-12=52', '55-9=46']
Exploring Operation: 52+46=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Exploring Operation: 52*46=2392, Resulting Numbers: [2392]
2392,99 unequal: No Solution
Exploring Operation: 52-46=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Moving to Node #0,0,3
Current State: 99:[52, 64], Operations: ['64-12=52', '9+55=64']
Exploring Operation: 52+64=116, Resulting Numbers: [116]
116,99 unequal: No Solution
Exploring Operation: 64-52=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 52*64=3328, Resulting Numbers: [3328]
3328,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 99:[64, 9, 43], Operations: ['55-12=43']
Exploring Operation: 64+9=73, Resulting Numbers: [43, 73]
Generated Node #0,3,0: 99:[43, 73] Operation: 64+9=73
Exploring Operation: 64+43=107, Resulting Numbers: [9, 107]
Generated Node #0,3,1: 99:[9, 107] Operation: 64+43=107
Exploring Operation: 43-9=34, Resulting Numbers: [64, 34]
Generated Node #0,3,2: 99:[64, 34] Operation: 43-9=34
Exploring Operation: 64-9=55, Resulting Numbers: [43, 55]
Generated Node #0,3,3: 99:[43, 55] Operation: 64-9=55
Exploring Operation: 64-43=21, Resulting Numbers: [9, 21]
Generated Node #0,3,4: 99:[9, 21] Operation: 64-43=21
Moving to Node #0,3,1
Current State: 99:[9, 107], Operations: ['55-12=43', '64+43=107']
Exploring Operation: 9+107=116, Resulting Numbers: [116]
116,99 unequal: No Solution
Exploring Operation: 107-9=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Exploring Operation: 9*107=963, Resulting Numbers: [963]
963,99 unequal: No Solution
Moving to Node #0,3,4
Current State: 99:[9, 21], Operations: ['55-12=43', '64-43=21']
Exploring Operation: 9*21=189, Resulting Numbers: [189]
189,99 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Moving to Node #0,3,2
Current State: 99:[64, 34], Operations: ['55-12=43', '43-9=34']
Exploring Operation: 64*34=2176, Resulting Numbers: [2176]
2176,99 unequal: No Solution
Exploring Operation: 64-34=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Exploring Operation: 64+34=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Moving to Node #0,3,3
Current State: 99:[43, 55], Operations: ['55-12=43', '64-9=55']
Exploring Operation: 43*55=2365, Resulting Numbers: [2365]
2365,99 unequal: No Solution
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 43+55=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Moving to Node #0,3,0
Current State: 99:[43, 73], Operations: ['55-12=43', '64+9=73']
Exploring Operation: 43*73=3139, Resulting Numbers: [3139]
3139,99 unequal: No Solution
Exploring Operation: 73-43=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Exploring Operation: 43+73=116, Resulting Numbers: [116]
116,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[55, 12, 55], Operations: ['64-9=55']
Exploring Operation: 55+55=110, Resulting Numbers: [12, 110]
Generated Node #0,2,0: 99:[12, 110] Operation: 55+55=110
Exploring Operation: 55-55=0, Resulting Numbers: [12, 0]
Generated Node #0,2,1: 99:[12, 0] Operation: 55-55=0
Exploring Operation: 55-12=43, Resulting Numbers: [55, 43]
Generated Node #0,2,2: 99:[55, 43] Operation: 55-12=43
Exploring Operation: 55-12=43, Resulting Numbers: [55, 43]
Generated Node #0,2,3: 99:[55, 43] Operation: 55-12=43
Exploring Operation: 55/55=1, Resulting Numbers: [12, 1]
Generated Node #0,2,4: 99:[12, 1] Operation: 55/55=1
Moving to Node #0,2,4
Current State: 99:[12, 1], Operations: ['64-9=55', '55/55=1']
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Moving to Node #0,2,1
Current State: 99:[12, 0], Operations: ['64-9=55', '55-55=0']
Exploring Operation: 12-0=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 12*0=0, Resulting Numbers: [0]
0,99 unequal: No Solution
Exploring Operation: 12+0=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Moving to Node #0,2,0
Current State: 99:[12, 110], Operations: ['64-9=55', '55+55=110']
Exploring Operation: 12+110=122, Resulting Numbers: [122]
122,99 unequal: No Solution
Exploring Operation: 12*110=1320, Resulting Numbers: [1320]
1320,99 unequal: No Solution
Exploring Operation: 110-12=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[55, 43], Operations: ['64-9=55', '55-12=43']
Exploring Operation: 55+43=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 55*43=2365, Resulting Numbers: [2365]
2365,99 unequal: No Solution
Moving to Node #0,2,3
Current State: 99:[55, 43], Operations: ['64-9=55', '55-12=43']
Exploring Operation: 55+43=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 55*43=2365, Resulting Numbers: [2365]
2365,99 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 |
[
85,
83,
86,
47
] | 90 | [
"85-83=2",
"86/2=43",
"47+43=90"
] | Current State: 90:[85, 83, 86, 47], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [86, 47, 2]
Generated Node #2: [86, 47, 2] from Operation: 85-83=2
Current State: 90:[86, 47, 2], Operations: ['85-83=2']
Exploring Operation: 86/2=43, Resulting Numbers: [47, 43]
Generated Node #3: [47, 43] from Operation: 86/2=43
Current State: 90:[47, 43], Operations: ['85-83=2', '86/2=43']
Exploring Operation: 47+43=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[85, 83, 86, 47], Operations: []
Exploring Operation: 83-47=36, Resulting Numbers: [85, 86, 36]
Generated Node #0,0: 90:[85, 86, 36] Operation: 83-47=36
Exploring Operation: 86-85=1, Resulting Numbers: [83, 47, 1]
Generated Node #0,1: 90:[83, 47, 1] Operation: 86-85=1
Exploring Operation: 86-83=3, Resulting Numbers: [85, 47, 3]
Generated Node #0,2: 90:[85, 47, 3] Operation: 86-83=3
Exploring Operation: 85-83=2, Resulting Numbers: [86, 47, 2]
Generated Node #0,3: 90:[86, 47, 2] Operation: 85-83=2
Exploring Operation: 85-47=38, Resulting Numbers: [83, 86, 38]
Generated Node #0,4: 90:[83, 86, 38] Operation: 85-47=38
Moving to Node #0,3
Current State: 90:[86, 47, 2], Operations: ['85-83=2']
Exploring Operation: 47-2=45, Resulting Numbers: [86, 45]
Generated Node #0,3,0: 90:[86, 45] Operation: 47-2=45
Exploring Operation: 86-47=39, Resulting Numbers: [2, 39]
Generated Node #0,3,1: 90:[2, 39] Operation: 86-47=39
Exploring Operation: 86-2=84, Resulting Numbers: [47, 84]
Generated Node #0,3,2: 90:[47, 84] Operation: 86-2=84
Exploring Operation: 86/2=43, Resulting Numbers: [47, 43]
Generated Node #0,3,3: 90:[47, 43] Operation: 86/2=43
Exploring Operation: 86+2=88, Resulting Numbers: [47, 88]
Generated Node #0,3,4: 90:[47, 88] Operation: 86+2=88
Moving to Node #0,2
Current State: 90:[85, 47, 3], Operations: ['86-83=3']
Exploring Operation: 85-47=38, Resulting Numbers: [3, 38]
Generated Node #0,2,0: 90:[3, 38] Operation: 85-47=38
Exploring Operation: 47-3=44, Resulting Numbers: [85, 44]
Generated Node #0,2,1: 90:[85, 44] Operation: 47-3=44
Exploring Operation: 85+3=88, Resulting Numbers: [47, 88]
Generated Node #0,2,2: 90:[47, 88] Operation: 85+3=88
Exploring Operation: 85-3=82, Resulting Numbers: [47, 82]
Generated Node #0,2,3: 90:[47, 82] Operation: 85-3=82
Exploring Operation: 47+3=50, Resulting Numbers: [85, 50]
Generated Node #0,2,4: 90:[85, 50] Operation: 47+3=50
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[47, 88], Operations: ['86-83=3', '85+3=88']
Exploring Operation: 47+88=135, Resulting Numbers: [135]
135,90 unequal: No Solution
Exploring Operation: 47*88=4136, Resulting Numbers: [4136]
4136,90 unequal: No Solution
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[85, 44], Operations: ['86-83=3', '47-3=44']
Exploring Operation: 85*44=3740, Resulting Numbers: [3740]
3740,90 unequal: No Solution
Exploring Operation: 85+44=129, Resulting Numbers: [129]
129,90 unequal: No Solution
Exploring Operation: 85-44=41, Resulting Numbers: [41]
41,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[3, 38], Operations: ['86-83=3', '85-47=38']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,90 unequal: No Solution
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 90:[47, 82], Operations: ['86-83=3', '85-3=82']
Exploring Operation: 47*82=3854, Resulting Numbers: [3854]
3854,90 unequal: No Solution
Exploring Operation: 82-47=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 47+82=129, Resulting Numbers: [129]
129,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 90:[85, 50], Operations: ['86-83=3', '47+3=50']
Exploring Operation: 85*50=4250, Resulting Numbers: [4250]
4250,90 unequal: No Solution
Exploring Operation: 85-50=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 85+50=135, Resulting Numbers: [135]
135,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 90:[83, 47, 1], Operations: ['86-85=1']
Exploring Operation: 83*1=83, Resulting Numbers: [47, 83]
Generated Node #0,1,0: 90:[47, 83] Operation: 83*1=83
Exploring Operation: 83/1=83, Resulting Numbers: [47, 83]
Generated Node #0,1,1: 90:[47, 83] Operation: 83/1=83
Exploring Operation: 47-1=46, Resulting Numbers: [83, 46]
Generated Node #0,1,2: 90:[83, 46] Operation: 47-1=46
Exploring Operation: 83-47=36, Resulting Numbers: [1, 36]
Generated Node #0,1,3: 90:[1, 36] Operation: 83-47=36
Exploring Operation: 83+1=84, Resulting Numbers: [47, 84]
Generated Node #0,1,4: 90:[47, 84] Operation: 83+1=84
Moving to Node #0,0
Current State: 90:[85, 86, 36], Operations: ['83-47=36']
Exploring Operation: 86-36=50, Resulting Numbers: [85, 50]
Generated Node #0,0,0: 90:[85, 50] Operation: 86-36=50
Exploring Operation: 85+36=121, Resulting Numbers: [86, 121]
Generated Node #0,0,1: 90:[86, 121] Operation: 85+36=121
Exploring Operation: 85-36=49, Resulting Numbers: [86, 49]
Generated Node #0,0,2: 90:[86, 49] Operation: 85-36=49
Exploring Operation: 86+36=122, Resulting Numbers: [85, 122]
Generated Node #0,0,3: 90:[85, 122] Operation: 86+36=122
Exploring Operation: 86-85=1, Resulting Numbers: [36, 1]
Generated Node #0,0,4: 90:[36, 1] Operation: 86-85=1
Moving to Node #0,4
Current State: 90:[83, 86, 38], Operations: ['85-47=38']
Exploring Operation: 86+38=124, Resulting Numbers: [83, 124]
Generated Node #0,4,0: 90:[83, 124] Operation: 86+38=124
Exploring Operation: 83-38=45, Resulting Numbers: [86, 45]
Generated Node #0,4,1: 90:[86, 45] Operation: 83-38=45
Exploring Operation: 86-83=3, Resulting Numbers: [38, 3]
Generated Node #0,4,2: 90:[38, 3] Operation: 86-83=3
Exploring Operation: 83+38=121, Resulting Numbers: [86, 121]
Generated Node #0,4,3: 90:[86, 121] Operation: 83+38=121
Exploring Operation: 86-38=48, Resulting Numbers: [83, 48]
Generated Node #0,4,4: 90:[83, 48] Operation: 86-38=48
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 90:[86, 45], Operations: ['85-47=38', '83-38=45']
Exploring Operation: 86-45=41, Resulting Numbers: [41]
41,90 unequal: No Solution
Exploring Operation: 86*45=3870, Resulting Numbers: [3870]
3870,90 unequal: No Solution
Exploring Operation: 86+45=131, Resulting Numbers: [131]
131,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 90:[38, 3], Operations: ['85-47=38', '86-83=3']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 38*3=114, Resulting Numbers: [114]
114,90 unequal: No Solution
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 90:[83, 48], Operations: ['85-47=38', '86-38=48']
Exploring Operation: 83+48=131, Resulting Numbers: [131]
131,90 unequal: No Solution
Exploring Operation: 83-48=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 83*48=3984, Resulting Numbers: [3984]
3984,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 90:[86, 121], Operations: ['85-47=38', '83+38=121']
Exploring Operation: 121-86=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 86+121=207, Resulting Numbers: [207]
207,90 unequal: No Solution
Exploring Operation: 86*121=10406, Resulting Numbers: [10406]
10406,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 90:[83, 124], Operations: ['85-47=38', '86+38=124']
Exploring Operation: 83*124=10292, Resulting Numbers: [10292]
10292,90 unequal: No Solution
Exploring Operation: 83+124=207, Resulting Numbers: [207]
207,90 unequal: No Solution
Exploring Operation: 124-83=41, Resulting Numbers: [41]
41,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 90:[86, 45], Operations: ['85-83=2', '47-2=45']
Exploring Operation: 86+45=131, Resulting Numbers: [131]
131,90 unequal: No Solution
Exploring Operation: 86-45=41, Resulting Numbers: [41]
41,90 unequal: No Solution
Exploring Operation: 86*45=3870, Resulting Numbers: [3870]
3870,90 unequal: No Solution
Moving to Node #0,3,4
Current State: 90:[47, 88], Operations: ['85-83=2', '86+2=88']
Exploring Operation: 47+88=135, Resulting Numbers: [135]
135,90 unequal: No Solution
Exploring Operation: 47*88=4136, Resulting Numbers: [4136]
4136,90 unequal: No Solution
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,90 unequal: No Solution
Moving to Node #0,3,3
Current State: 90:[47, 43], Operations: ['85-83=2', '86/2=43']
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 47+43=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[85, 83, 86, 47], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [86, 47, 2]
Generated Node #0,3: 90:[86, 47, 2] Operation: 85-83=2
Moving to Node #0,3
Current State: 90:[86, 47, 2], Operations: ['85-83=2']
Exploring Operation: 86/2=43, Resulting Numbers: [47, 43]
Generated Node #0,3,3: 90:[47, 43] Operation: 86/2=43
Moving to Node #0,3,3
Current State: 90:[47, 43], Operations: ['85-83=2', '86/2=43']
Exploring Operation: 47+43=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.9375 | hs_5 | mult_heuristic |
[
94,
9,
18,
65
] | 58 | [
"94-65=29",
"18/9=2",
"29*2=58"
] | Current State: 58:[94, 9, 18, 65], Operations: []
Exploring Operation: 94-65=29, Resulting Numbers: [9, 18, 29]
Generated Node #2: [9, 18, 29] from Operation: 94-65=29
Current State: 58:[9, 18, 29], Operations: ['94-65=29']
Exploring Operation: 18/9=2, Resulting Numbers: [29, 2]
Generated Node #3: [29, 2] from Operation: 18/9=2
Current State: 58:[29, 2], Operations: ['94-65=29', '18/9=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[94, 9, 18, 65], Operations: []
Exploring Operation: 94-65=29, Resulting Numbers: [9, 18, 29]
Generated Node #0,0: 58:[9, 18, 29] Operation: 94-65=29
Exploring Operation: 9+18=27, Resulting Numbers: [94, 65, 27]
Generated Node #0,1: 58:[94, 65, 27] Operation: 9+18=27
Exploring Operation: 94-18=76, Resulting Numbers: [9, 65, 76]
Generated Node #0,2: 58:[9, 65, 76] Operation: 94-18=76
Exploring Operation: 94-9=85, Resulting Numbers: [18, 65, 85]
Generated Node #0,3: 58:[18, 65, 85] Operation: 94-9=85
Exploring Operation: 18/9=2, Resulting Numbers: [94, 65, 2]
Generated Node #0,4: 58:[94, 65, 2] Operation: 18/9=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[9, 18, 29], Operations: ['94-65=29']
Exploring Operation: 18/9=2, Resulting Numbers: [29, 2]
Generated Node #0,0,0: 58:[29, 2] Operation: 18/9=2
Exploring Operation: 18-9=9, Resulting Numbers: [29, 9]
Generated Node #0,0,1: 58:[29, 9] Operation: 18-9=9
Exploring Operation: 18+29=47, Resulting Numbers: [9, 47]
Generated Node #0,0,2: 58:[9, 47] Operation: 18+29=47
Exploring Operation: 29-18=11, Resulting Numbers: [9, 11]
Generated Node #0,0,3: 58:[9, 11] Operation: 29-18=11
Exploring Operation: 9+18=27, Resulting Numbers: [29, 27]
Generated Node #0,0,4: 58:[29, 27] Operation: 9+18=27
Moving to Node #0,0,0
Current State: 58:[29, 2], Operations: ['94-65=29', '18/9=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,58 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[94, 9, 18, 65], Operations: []
Exploring Operation: 94-65=29, Resulting Numbers: [9, 18, 29]
Generated Node #0,0: 58:[9, 18, 29] Operation: 94-65=29
Moving to Node #0,0
Current State: 58:[9, 18, 29], Operations: ['94-65=29']
Exploring Operation: 18/9=2, Resulting Numbers: [29, 2]
Generated Node #0,0,0: 58:[29, 2] Operation: 18/9=2
Moving to Node #0,0,0
Current State: 58:[29, 2], Operations: ['94-65=29', '18/9=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
8,
27,
62,
21
] | 90 | [
"8+62=70",
"27*70=1890",
"1890/21=90"
] | Current State: 90:[8, 27, 62, 21], Operations: []
Exploring Operation: 8+62=70, Resulting Numbers: [27, 21, 70]
Generated Node #2: [27, 21, 70] from Operation: 8+62=70
Current State: 90:[27, 21, 70], Operations: ['8+62=70']
Exploring Operation: 27*70=1890, Resulting Numbers: [21, 1890]
Generated Node #3: [21, 1890] from Operation: 27*70=1890
Current State: 90:[21, 1890], Operations: ['8+62=70', '27*70=1890']
Exploring Operation: 1890/21=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[8, 27, 62, 21], Operations: []
Exploring Operation: 62-27=35, Resulting Numbers: [8, 21, 35]
Generated Node #0,0: 90:[8, 21, 35] Operation: 62-27=35
Exploring Operation: 27+62=89, Resulting Numbers: [8, 21, 89]
Generated Node #0,1: 90:[8, 21, 89] Operation: 27+62=89
Exploring Operation: 62-21=41, Resulting Numbers: [8, 27, 41]
Generated Node #0,2: 90:[8, 27, 41] Operation: 62-21=41
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[8, 21, 89], Operations: ['27+62=89']
Exploring Operation: 8+89=97, Resulting Numbers: [21, 97]
Generated Node #0,1,0: 90:[21, 97] Operation: 8+89=97
Exploring Operation: 8+21=29, Resulting Numbers: [89, 29]
Generated Node #0,1,1: 90:[89, 29] Operation: 8+21=29
Exploring Operation: 21-8=13, Resulting Numbers: [89, 13]
Generated Node #0,1,2: 90:[89, 13] Operation: 21-8=13
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 90:[89, 29], Operations: ['27+62=89', '8+21=29']
Exploring Operation: 89+29=118, Resulting Numbers: [118]
118,90 unequal: No Solution
Exploring Operation: 89*29=2581, Resulting Numbers: [2581]
2581,90 unequal: No Solution
Exploring Operation: 89-29=60, Resulting Numbers: [60]
60,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 90:[89, 13], Operations: ['27+62=89', '21-8=13']
Exploring Operation: 89-13=76, Resulting Numbers: [76]
76,90 unequal: No Solution
Exploring Operation: 89+13=102, Resulting Numbers: [102]
102,90 unequal: No Solution
Exploring Operation: 89*13=1157, Resulting Numbers: [1157]
1157,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[21, 97], Operations: ['27+62=89', '8+89=97']
Exploring Operation: 21*97=2037, Resulting Numbers: [2037]
2037,90 unequal: No Solution
Exploring Operation: 97-21=76, Resulting Numbers: [76]
76,90 unequal: No Solution
Exploring Operation: 21+97=118, Resulting Numbers: [118]
118,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[8, 27, 41], Operations: ['62-21=41']
Exploring Operation: 41-8=33, Resulting Numbers: [27, 33]
Generated Node #0,2,0: 90:[27, 33] Operation: 41-8=33
Exploring Operation: 41-27=14, Resulting Numbers: [8, 14]
Generated Node #0,2,1: 90:[8, 14] Operation: 41-27=14
Exploring Operation: 27-8=19, Resulting Numbers: [41, 19]
Generated Node #0,2,2: 90:[41, 19] Operation: 27-8=19
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 90:[8, 14], Operations: ['62-21=41', '41-27=14']
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,90 unequal: No Solution
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,90 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 90:[41, 19], Operations: ['62-21=41', '27-8=19']
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,90 unequal: No Solution
Exploring Operation: 41*19=779, Resulting Numbers: [779]
779,90 unequal: No Solution
Exploring Operation: 41+19=60, Resulting Numbers: [60]
60,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 90:[27, 33], Operations: ['62-21=41', '41-8=33']
Exploring Operation: 27+33=60, Resulting Numbers: [60]
60,90 unequal: No Solution
Exploring Operation: 27*33=891, Resulting Numbers: [891]
891,90 unequal: No Solution
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[8, 21, 35], Operations: ['62-27=35']
Exploring Operation: 8+21=29, Resulting Numbers: [35, 29]
Generated Node #0,0,0: 90:[35, 29] Operation: 8+21=29
Exploring Operation: 35-21=14, Resulting Numbers: [8, 14]
Generated Node #0,0,1: 90:[8, 14] Operation: 35-21=14
Exploring Operation: 8+35=43, Resulting Numbers: [21, 43]
Generated Node #0,0,2: 90:[21, 43] Operation: 8+35=43
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[8, 14], Operations: ['62-27=35', '35-21=14']
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,90 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 90:[21, 43], Operations: ['62-27=35', '8+35=43']
Exploring Operation: 21+43=64, Resulting Numbers: [64]
64,90 unequal: No Solution
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,90 unequal: No Solution
Exploring Operation: 21*43=903, Resulting Numbers: [903]
903,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[35, 29], Operations: ['62-27=35', '8+21=29']
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 35*29=1015, Resulting Numbers: [1015]
1015,90 unequal: No Solution
Exploring Operation: 35+29=64, Resulting Numbers: [64]
64,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
12,
29,
91,
36
] | 14 | [
"12+29=41",
"91-36=55",
"55-41=14"
] | Current State: 14:[12, 29, 91, 36], Operations: []
Exploring Operation: 12+29=41, Resulting Numbers: [91, 36, 41]
Generated Node #2: [91, 36, 41] from Operation: 12+29=41
Current State: 14:[91, 36, 41], Operations: ['12+29=41']
Exploring Operation: 91-36=55, Resulting Numbers: [41, 55]
Generated Node #3: [41, 55] from Operation: 91-36=55
Current State: 14:[41, 55], Operations: ['12+29=41', '91-36=55']
Exploring Operation: 55-41=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[12, 29, 91, 36], Operations: []
Exploring Operation: 91-29=62, Resulting Numbers: [12, 36, 62]
Generated Node #0,0: 14:[12, 36, 62] Operation: 91-29=62
Exploring Operation: 91-36=55, Resulting Numbers: [12, 29, 55]
Generated Node #0,1: 14:[12, 29, 55] Operation: 91-36=55
Exploring Operation: 36-29=7, Resulting Numbers: [12, 91, 7]
Generated Node #0,2: 14:[12, 91, 7] Operation: 36-29=7
Exploring Operation: 36/12=3, Resulting Numbers: [29, 91, 3]
Generated Node #0,3: 14:[29, 91, 3] Operation: 36/12=3
Moving to Node #0,1
Current State: 14:[12, 29, 55], Operations: ['91-36=55']
Exploring Operation: 12+29=41, Resulting Numbers: [55, 41]
Generated Node #0,1,0: 14:[55, 41] Operation: 12+29=41
Exploring Operation: 55-12=43, Resulting Numbers: [29, 43]
Generated Node #0,1,1: 14:[29, 43] Operation: 55-12=43
Exploring Operation: 29-12=17, Resulting Numbers: [55, 17]
Generated Node #0,1,2: 14:[55, 17] Operation: 29-12=17
Exploring Operation: 55-29=26, Resulting Numbers: [12, 26]
Generated Node #0,1,3: 14:[12, 26] Operation: 55-29=26
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 14:[12, 26], Operations: ['91-36=55', '55-29=26']
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,14 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[12, 29, 91, 36], Operations: []
Exploring Operation: 91-36=55, Resulting Numbers: [12, 29, 55]
Generated Node #0,1: 14:[12, 29, 55] Operation: 91-36=55
Moving to Node #0,1
Current State: 14:[12, 29, 55], Operations: ['91-36=55']
Exploring Operation: 55-29=26, Resulting Numbers: [12, 26]
Generated Node #0,1,3: 14:[12, 26] Operation: 55-29=26
Moving to Node #0,1,3
Current State: 14:[12, 26], Operations: ['91-36=55', '55-29=26']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
45,
46,
3,
63
] | 67 | [
"46-45=1",
"3+63=66",
"1+66=67"
] | Current State: 67:[45, 46, 3, 63], Operations: []
Exploring Operation: 46-45=1, Resulting Numbers: [3, 63, 1]
Generated Node #2: [3, 63, 1] from Operation: 46-45=1
Current State: 67:[3, 63, 1], Operations: ['46-45=1']
Exploring Operation: 3+63=66, Resulting Numbers: [1, 66]
Generated Node #3: [1, 66] from Operation: 3+63=66
Current State: 67:[1, 66], Operations: ['46-45=1', '3+63=66']
Exploring Operation: 1+66=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[45, 46, 3, 63], Operations: []
Exploring Operation: 45+3=48, Resulting Numbers: [46, 63, 48]
Generated Node #0,0: 67:[46, 63, 48] Operation: 45+3=48
Moving to Node #0,0
Current State: 67:[46, 63, 48], Operations: ['45+3=48']
Exploring Operation: 46+48=94, Resulting Numbers: [63, 94]
Generated Node #0,0,0: 67:[63, 94] Operation: 46+48=94
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[63, 94], Operations: ['45+3=48', '46+48=94']
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
92,
90,
55,
31
] | 79 | [
"92-90=2",
"55*2=110",
"110-31=79"
] | Current State: 79:[92, 90, 55, 31], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [55, 31, 2]
Generated Node #2: [55, 31, 2] from Operation: 92-90=2
Current State: 79:[55, 31, 2], Operations: ['92-90=2']
Exploring Operation: 55*2=110, Resulting Numbers: [31, 110]
Generated Node #3: [31, 110] from Operation: 55*2=110
Current State: 79:[31, 110], Operations: ['92-90=2', '55*2=110']
Exploring Operation: 110-31=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[92, 90, 55, 31], Operations: []
Exploring Operation: 55+31=86, Resulting Numbers: [92, 90, 86]
Generated Node #0,0: 79:[92, 90, 86] Operation: 55+31=86
Exploring Operation: 92+31=123, Resulting Numbers: [90, 55, 123]
Generated Node #0,1: 79:[90, 55, 123] Operation: 92+31=123
Exploring Operation: 90-31=59, Resulting Numbers: [92, 55, 59]
Generated Node #0,2: 79:[92, 55, 59] Operation: 90-31=59
Exploring Operation: 92-31=61, Resulting Numbers: [90, 55, 61]
Generated Node #0,3: 79:[90, 55, 61] Operation: 92-31=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[92, 90, 86], Operations: ['55+31=86']
Exploring Operation: 92-86=6, Resulting Numbers: [90, 6]
Generated Node #0,0,0: 79:[90, 6] Operation: 92-86=6
Exploring Operation: 90-86=4, Resulting Numbers: [92, 4]
Generated Node #0,0,1: 79:[92, 4] Operation: 90-86=4
Exploring Operation: 92+90=182, Resulting Numbers: [86, 182]
Generated Node #0,0,2: 79:[86, 182] Operation: 92+90=182
Exploring Operation: 92-90=2, Resulting Numbers: [86, 2]
Generated Node #0,0,3: 79:[86, 2] Operation: 92-90=2
Moving to Node #0,0,0
Current State: 79:[90, 6], Operations: ['55+31=86', '92-86=6']
Exploring Operation: 90*6=540, Resulting Numbers: [540]
540,79 unequal: No Solution
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,79 unequal: No Solution
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[86, 2], Operations: ['55+31=86', '92-90=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 86*2=172, Resulting Numbers: [172]
172,79 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[92, 4], Operations: ['55+31=86', '90-86=4']
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 92*4=368, Resulting Numbers: [368]
368,79 unequal: No Solution
Exploring Operation: 92+4=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 92/4=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[86, 182], Operations: ['55+31=86', '92+90=182']
Exploring Operation: 86+182=268, Resulting Numbers: [268]
268,79 unequal: No Solution
Exploring Operation: 182-86=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 86*182=15652, Resulting Numbers: [15652]
15652,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 79:[90, 55, 61], Operations: ['92-31=61']
Exploring Operation: 55+61=116, Resulting Numbers: [90, 116]
Generated Node #0,3,0: 79:[90, 116] Operation: 55+61=116
Exploring Operation: 90-55=35, Resulting Numbers: [61, 35]
Generated Node #0,3,1: 79:[61, 35] Operation: 90-55=35
Exploring Operation: 90-61=29, Resulting Numbers: [55, 29]
Generated Node #0,3,2: 79:[55, 29] Operation: 90-61=29
Exploring Operation: 90+55=145, Resulting Numbers: [61, 145]
Generated Node #0,3,3: 79:[61, 145] Operation: 90+55=145
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 79:[90, 116], Operations: ['92-31=61', '55+61=116']
Exploring Operation: 116-90=26, Resulting Numbers: [26]
26,79 unequal: No Solution
Exploring Operation: 90+116=206, Resulting Numbers: [206]
206,79 unequal: No Solution
Exploring Operation: 90*116=10440, Resulting Numbers: [10440]
10440,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 79:[61, 35], Operations: ['92-31=61', '90-55=35']
Exploring Operation: 61+35=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,79 unequal: No Solution
Exploring Operation: 61*35=2135, Resulting Numbers: [2135]
2135,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 79:[55, 29], Operations: ['92-31=61', '90-61=29']
Exploring Operation: 55*29=1595, Resulting Numbers: [1595]
1595,79 unequal: No Solution
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,79 unequal: No Solution
Exploring Operation: 55+29=84, Resulting Numbers: [84]
84,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 79:[61, 145], Operations: ['92-31=61', '90+55=145']
Exploring Operation: 145-61=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 61*145=8845, Resulting Numbers: [8845]
8845,79 unequal: No Solution
Exploring Operation: 61+145=206, Resulting Numbers: [206]
206,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[92, 55, 59], Operations: ['90-31=59']
Exploring Operation: 92-55=37, Resulting Numbers: [59, 37]
Generated Node #0,2,0: 79:[59, 37] Operation: 92-55=37
Exploring Operation: 92+55=147, Resulting Numbers: [59, 147]
Generated Node #0,2,1: 79:[59, 147] Operation: 92+55=147
Exploring Operation: 55+59=114, Resulting Numbers: [92, 114]
Generated Node #0,2,2: 79:[92, 114] Operation: 55+59=114
Exploring Operation: 92-59=33, Resulting Numbers: [55, 33]
Generated Node #0,2,3: 79:[55, 33] Operation: 92-59=33
Moving to Node #0,2,2
Current State: 79:[92, 114], Operations: ['90-31=59', '55+59=114']
Exploring Operation: 114-92=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 92+114=206, Resulting Numbers: [206]
206,79 unequal: No Solution
Exploring Operation: 92*114=10488, Resulting Numbers: [10488]
10488,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[59, 37], Operations: ['90-31=59', '92-55=37']
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 59*37=2183, Resulting Numbers: [2183]
2183,79 unequal: No Solution
Exploring Operation: 59+37=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[55, 33], Operations: ['90-31=59', '92-59=33']
Exploring Operation: 55-33=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 55+33=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 55*33=1815, Resulting Numbers: [1815]
1815,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[59, 147], Operations: ['90-31=59', '92+55=147']
Exploring Operation: 59+147=206, Resulting Numbers: [206]
206,79 unequal: No Solution
Exploring Operation: 147-59=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 59*147=8673, Resulting Numbers: [8673]
8673,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[90, 55, 123], Operations: ['92+31=123']
Exploring Operation: 90+55=145, Resulting Numbers: [123, 145]
Generated Node #0,1,0: 79:[123, 145] Operation: 90+55=145
Exploring Operation: 123-55=68, Resulting Numbers: [90, 68]
Generated Node #0,1,1: 79:[90, 68] Operation: 123-55=68
Exploring Operation: 90-55=35, Resulting Numbers: [123, 35]
Generated Node #0,1,2: 79:[123, 35] Operation: 90-55=35
Exploring Operation: 123-90=33, Resulting Numbers: [55, 33]
Generated Node #0,1,3: 79:[55, 33] Operation: 123-90=33
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[90, 68], Operations: ['92+31=123', '123-55=68']
Exploring Operation: 90-68=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 90*68=6120, Resulting Numbers: [6120]
6120,79 unequal: No Solution
Exploring Operation: 90+68=158, Resulting Numbers: [158]
158,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 79:[55, 33], Operations: ['92+31=123', '123-90=33']
Exploring Operation: 55*33=1815, Resulting Numbers: [1815]
1815,79 unequal: No Solution
Exploring Operation: 55+33=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 55-33=22, Resulting Numbers: [22]
22,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[123, 35], Operations: ['92+31=123', '90-55=35']
Exploring Operation: 123-35=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 123*35=4305, Resulting Numbers: [4305]
4305,79 unequal: No Solution
Exploring Operation: 123+35=158, Resulting Numbers: [158]
158,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[123, 145], Operations: ['92+31=123', '90+55=145']
Exploring Operation: 123+145=268, Resulting Numbers: [268]
268,79 unequal: No Solution
Exploring Operation: 145-123=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 123*145=17835, Resulting Numbers: [17835]
17835,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
18,
81,
66,
50
] | 53 | [
"81-18=63",
"66+50=116",
"116-63=53"
] | Current State: 53:[18, 81, 66, 50], Operations: []
Exploring Operation: 81-18=63, Resulting Numbers: [66, 50, 63]
Generated Node #2: [66, 50, 63] from Operation: 81-18=63
Current State: 53:[66, 50, 63], Operations: ['81-18=63']
Exploring Operation: 66+50=116, Resulting Numbers: [63, 116]
Generated Node #3: [63, 116] from Operation: 66+50=116
Current State: 53:[63, 116], Operations: ['81-18=63', '66+50=116']
Exploring Operation: 116-63=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[18, 81, 66, 50], Operations: []
Exploring Operation: 66-18=48, Resulting Numbers: [81, 50, 48]
Generated Node #0,0: 53:[81, 50, 48] Operation: 66-18=48
Exploring Operation: 81-18=63, Resulting Numbers: [66, 50, 63]
Generated Node #0,1: 53:[66, 50, 63] Operation: 81-18=63
Moving to Node #0,1
Current State: 53:[66, 50, 63], Operations: ['81-18=63']
Exploring Operation: 66-50=16, Resulting Numbers: [63, 16]
Generated Node #0,1,0: 53:[63, 16] Operation: 66-50=16
Exploring Operation: 66-63=3, Resulting Numbers: [50, 3]
Generated Node #0,1,1: 53:[50, 3] Operation: 66-63=3
Moving to Node #0,0
Current State: 53:[81, 50, 48], Operations: ['66-18=48']
Exploring Operation: 81-50=31, Resulting Numbers: [48, 31]
Generated Node #0,0,0: 53:[48, 31] Operation: 81-50=31
Exploring Operation: 81-48=33, Resulting Numbers: [50, 33]
Generated Node #0,0,1: 53:[50, 33] Operation: 81-48=33
Moving to Node #0,0,1
Current State: 53:[50, 33], Operations: ['66-18=48', '81-48=33']
Exploring Operation: 50+33=83, Resulting Numbers: [83]
83,53 unequal: No Solution
Exploring Operation: 50-33=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[48, 31], Operations: ['66-18=48', '81-50=31']
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 48+31=79, Resulting Numbers: [79]
79,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[63, 16], Operations: ['81-18=63', '66-50=16']
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,53 unequal: No Solution
Exploring Operation: 63+16=79, Resulting Numbers: [79]
79,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[50, 3], Operations: ['81-18=63', '66-63=3']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,53 unequal: No Solution
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[18, 81, 66, 50], Operations: []
Exploring Operation: 81-18=63, Resulting Numbers: [66, 50, 63]
Generated Node #0,1: 53:[66, 50, 63] Operation: 81-18=63
Moving to Node #0,1
Current State: 53:[66, 50, 63], Operations: ['81-18=63']
Exploring Operation: 66-63=3, Resulting Numbers: [50, 3]
Generated Node #0,1,1: 53:[50, 3] Operation: 66-63=3
Moving to Node #0,1,1
Current State: 53:[50, 3], Operations: ['81-18=63', '66-63=3']
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 0.984375 | hs_2 | mult_heuristic |
[
30,
13,
51,
79
] | 45 | [
"30-13=17",
"79-51=28",
"17+28=45"
] | Current State: 45:[30, 13, 51, 79], Operations: []
Exploring Operation: 30-13=17, Resulting Numbers: [51, 79, 17]
Generated Node #2: [51, 79, 17] from Operation: 30-13=17
Current State: 45:[51, 79, 17], Operations: ['30-13=17']
Exploring Operation: 79-51=28, Resulting Numbers: [17, 28]
Generated Node #3: [17, 28] from Operation: 79-51=28
Current State: 45:[17, 28], Operations: ['30-13=17', '79-51=28']
Exploring Operation: 17+28=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[30, 13, 51, 79], Operations: []
Exploring Operation: 30-13=17, Resulting Numbers: [51, 79, 17]
Generated Node #0,0: 45:[51, 79, 17] Operation: 30-13=17
Exploring Operation: 79-51=28, Resulting Numbers: [30, 13, 28]
Generated Node #0,1: 45:[30, 13, 28] Operation: 79-51=28
Exploring Operation: 30+13=43, Resulting Numbers: [51, 79, 43]
Generated Node #0,2: 45:[51, 79, 43] Operation: 30+13=43
Exploring Operation: 79-30=49, Resulting Numbers: [13, 51, 49]
Generated Node #0,3: 45:[13, 51, 49] Operation: 79-30=49
Moving to Node #0,3
Current State: 45:[13, 51, 49], Operations: ['79-30=49']
Exploring Operation: 13+51=64, Resulting Numbers: [49, 64]
Generated Node #0,3,0: 45:[49, 64] Operation: 13+51=64
Exploring Operation: 51-49=2, Resulting Numbers: [13, 2]
Generated Node #0,3,1: 45:[13, 2] Operation: 51-49=2
Exploring Operation: 49-13=36, Resulting Numbers: [51, 36]
Generated Node #0,3,2: 45:[51, 36] Operation: 49-13=36
Exploring Operation: 51-13=38, Resulting Numbers: [49, 38]
Generated Node #0,3,3: 45:[49, 38] Operation: 51-13=38
Moving to Node #0,1
Current State: 45:[30, 13, 28], Operations: ['79-51=28']
Exploring Operation: 30-13=17, Resulting Numbers: [28, 17]
Generated Node #0,1,0: 45:[28, 17] Operation: 30-13=17
Exploring Operation: 30+28=58, Resulting Numbers: [13, 58]
Generated Node #0,1,1: 45:[13, 58] Operation: 30+28=58
Exploring Operation: 30+13=43, Resulting Numbers: [28, 43]
Generated Node #0,1,2: 45:[28, 43] Operation: 30+13=43
Exploring Operation: 30-28=2, Resulting Numbers: [13, 2]
Generated Node #0,1,3: 45:[13, 2] Operation: 30-28=2
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 45:[13, 2], Operations: ['79-51=28', '30-28=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,45 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 13-2=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,1,0
Current State: 45:[28, 17], Operations: ['79-51=28', '30-13=17']
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[30, 13, 51, 79], Operations: []
Exploring Operation: 79-51=28, Resulting Numbers: [30, 13, 28]
Generated Node #0,1: 45:[30, 13, 28] Operation: 79-51=28
Moving to Node #0,1
Current State: 45:[30, 13, 28], Operations: ['79-51=28']
Exploring Operation: 30-13=17, Resulting Numbers: [28, 17]
Generated Node #0,1,0: 45:[28, 17] Operation: 30-13=17
Moving to Node #0,1,0
Current State: 45:[28, 17], Operations: ['79-51=28', '30-13=17']
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
90,
92,
28,
1
] | 15 | [
"92-90=2",
"28/2=14",
"1+14=15"
] | Current State: 15:[90, 92, 28, 1], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [28, 1, 2]
Generated Node #2: [28, 1, 2] from Operation: 92-90=2
Current State: 15:[28, 1, 2], Operations: ['92-90=2']
Exploring Operation: 28/2=14, Resulting Numbers: [1, 14]
Generated Node #3: [1, 14] from Operation: 28/2=14
Current State: 15:[1, 14], Operations: ['92-90=2', '28/2=14']
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[90, 92, 28, 1], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [28, 1, 2]
Generated Node #0,0: 15:[28, 1, 2] Operation: 92-90=2
Exploring Operation: 92-1=91, Resulting Numbers: [90, 28, 91]
Generated Node #0,1: 15:[90, 28, 91] Operation: 92-1=91
Exploring Operation: 90-28=62, Resulting Numbers: [92, 1, 62]
Generated Node #0,2: 15:[92, 1, 62] Operation: 90-28=62
Exploring Operation: 92-28=64, Resulting Numbers: [90, 1, 64]
Generated Node #0,3: 15:[90, 1, 64] Operation: 92-28=64
Exploring Operation: 90-1=89, Resulting Numbers: [92, 28, 89]
Generated Node #0,4: 15:[92, 28, 89] Operation: 90-1=89
Moving to Node #0,0
Current State: 15:[28, 1, 2], Operations: ['92-90=2']
Exploring Operation: 28*1=28, Resulting Numbers: [2, 28]
Generated Node #0,0,0: 15:[2, 28] Operation: 28*1=28
Exploring Operation: 1+2=3, Resulting Numbers: [28, 3]
Generated Node #0,0,1: 15:[28, 3] Operation: 1+2=3
Exploring Operation: 28/2=14, Resulting Numbers: [1, 14]
Generated Node #0,0,2: 15:[1, 14] Operation: 28/2=14
Exploring Operation: 28-2=26, Resulting Numbers: [1, 26]
Generated Node #0,0,3: 15:[1, 26] Operation: 28-2=26
Exploring Operation: 28-1=27, Resulting Numbers: [2, 27]
Generated Node #0,0,4: 15:[2, 27] Operation: 28-1=27
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 15:[1, 14], Operations: ['92-90=2', '28/2=14']
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[90, 92, 28, 1], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [28, 1, 2]
Generated Node #0,0: 15:[28, 1, 2] Operation: 92-90=2
Moving to Node #0,0
Current State: 15:[28, 1, 2], Operations: ['92-90=2']
Exploring Operation: 28/2=14, Resulting Numbers: [1, 14]
Generated Node #0,0,2: 15:[1, 14] Operation: 28/2=14
Moving to Node #0,0,2
Current State: 15:[1, 14], Operations: ['92-90=2', '28/2=14']
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
54,
27,
56,
81
] | 55 | [
"54+27=81",
"81/81=1",
"56-1=55"
] | Current State: 55:[54, 27, 56, 81], Operations: []
Exploring Operation: 54+27=81, Resulting Numbers: [56, 81, 81]
Generated Node #2: [56, 81, 81] from Operation: 54+27=81
Current State: 55:[56, 81, 81], Operations: ['54+27=81']
Exploring Operation: 81/81=1, Resulting Numbers: [56, 1]
Generated Node #3: [56, 1] from Operation: 81/81=1
Current State: 55:[56, 1], Operations: ['54+27=81', '81/81=1']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[54, 27, 56, 81], Operations: []
Exploring Operation: 54/27=2, Resulting Numbers: [56, 81, 2]
Generated Node #0,0: 55:[56, 81, 2] Operation: 54/27=2
Exploring Operation: 81-56=25, Resulting Numbers: [54, 27, 25]
Generated Node #0,1: 55:[54, 27, 25] Operation: 81-56=25
Exploring Operation: 81/27=3, Resulting Numbers: [54, 56, 3]
Generated Node #0,2: 55:[54, 56, 3] Operation: 81/27=3
Exploring Operation: 81-27=54, Resulting Numbers: [54, 56, 54]
Generated Node #0,3: 55:[54, 56, 54] Operation: 81-27=54
Moving to Node #0,3
Current State: 55:[54, 56, 54], Operations: ['81-27=54']
Exploring Operation: 56-54=2, Resulting Numbers: [54, 2]
Generated Node #0,3,0: 55:[54, 2] Operation: 56-54=2
Exploring Operation: 56-54=2, Resulting Numbers: [54, 2]
Generated Node #0,3,1: 55:[54, 2] Operation: 56-54=2
Exploring Operation: 54-54=0, Resulting Numbers: [56, 0]
Generated Node #0,3,2: 55:[56, 0] Operation: 54-54=0
Exploring Operation: 54/54=1, Resulting Numbers: [56, 1]
Generated Node #0,3,3: 55:[56, 1] Operation: 54/54=1
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 55:[54, 2], Operations: ['81-27=54', '56-54=2']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 54*2=108, Resulting Numbers: [108]
108,55 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,55 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 55:[54, 2], Operations: ['81-27=54', '56-54=2']
Exploring Operation: 54*2=108, Resulting Numbers: [108]
108,55 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 55:[56, 1], Operations: ['81-27=54', '54/54=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[54, 27, 56, 81], Operations: []
Exploring Operation: 81-27=54, Resulting Numbers: [54, 56, 54]
Generated Node #0,3: 55:[54, 56, 54] Operation: 81-27=54
Moving to Node #0,3
Current State: 55:[54, 56, 54], Operations: ['81-27=54']
Exploring Operation: 54/54=1, Resulting Numbers: [56, 1]
Generated Node #0,3,3: 55:[56, 1] Operation: 54/54=1
Moving to Node #0,3,3
Current State: 55:[56, 1], Operations: ['81-27=54', '54/54=1']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
25,
56,
22,
11
] | 26 | [
"25-11=14",
"56/14=4",
"22+4=26"
] | Current State: 26:[25, 56, 22, 11], Operations: []
Exploring Operation: 25-11=14, Resulting Numbers: [56, 22, 14]
Generated Node #2: [56, 22, 14] from Operation: 25-11=14
Current State: 26:[56, 22, 14], Operations: ['25-11=14']
Exploring Operation: 56/14=4, Resulting Numbers: [22, 4]
Generated Node #3: [22, 4] from Operation: 56/14=4
Current State: 26:[22, 4], Operations: ['25-11=14', '56/14=4']
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[25, 56, 22, 11], Operations: []
Exploring Operation: 56-22=34, Resulting Numbers: [25, 11, 34]
Generated Node #0,0: 26:[25, 11, 34] Operation: 56-22=34
Exploring Operation: 56-11=45, Resulting Numbers: [25, 22, 45]
Generated Node #0,1: 26:[25, 22, 45] Operation: 56-11=45
Exploring Operation: 56-25=31, Resulting Numbers: [22, 11, 31]
Generated Node #0,2: 26:[22, 11, 31] Operation: 56-25=31
Exploring Operation: 25-22=3, Resulting Numbers: [56, 11, 3]
Generated Node #0,3: 26:[56, 11, 3] Operation: 25-22=3
Exploring Operation: 22/11=2, Resulting Numbers: [25, 56, 2]
Generated Node #0,4: 26:[25, 56, 2] Operation: 22/11=2
Moving to Node #0,0
Current State: 26:[25, 11, 34], Operations: ['56-22=34']
Exploring Operation: 11+34=45, Resulting Numbers: [25, 45]
Generated Node #0,0,0: 26:[25, 45] Operation: 11+34=45
Exploring Operation: 34-11=23, Resulting Numbers: [25, 23]
Generated Node #0,0,1: 26:[25, 23] Operation: 34-11=23
Exploring Operation: 25-11=14, Resulting Numbers: [34, 14]
Generated Node #0,0,2: 26:[34, 14] Operation: 25-11=14
Exploring Operation: 34-25=9, Resulting Numbers: [11, 9]
Generated Node #0,0,3: 26:[11, 9] Operation: 34-25=9
Exploring Operation: 25+11=36, Resulting Numbers: [34, 36]
Generated Node #0,0,4: 26:[34, 36] Operation: 25+11=36
Moving to Node #0,2
Current State: 26:[22, 11, 31], Operations: ['56-25=31']
Exploring Operation: 22+11=33, Resulting Numbers: [31, 33]
Generated Node #0,2,0: 26:[31, 33] Operation: 22+11=33
Exploring Operation: 31-22=9, Resulting Numbers: [11, 9]
Generated Node #0,2,1: 26:[11, 9] Operation: 31-22=9
Exploring Operation: 31-11=20, Resulting Numbers: [22, 20]
Generated Node #0,2,2: 26:[22, 20] Operation: 31-11=20
Exploring Operation: 22-11=11, Resulting Numbers: [31, 11]
Generated Node #0,2,3: 26:[31, 11] Operation: 22-11=11
Exploring Operation: 22/11=2, Resulting Numbers: [31, 2]
Generated Node #0,2,4: 26:[31, 2] Operation: 22/11=2
Moving to Node #0,1
Current State: 26:[25, 22, 45], Operations: ['56-11=45']
Exploring Operation: 22+45=67, Resulting Numbers: [25, 67]
Generated Node #0,1,0: 26:[25, 67] Operation: 22+45=67
Exploring Operation: 25+22=47, Resulting Numbers: [45, 47]
Generated Node #0,1,1: 26:[45, 47] Operation: 25+22=47
Exploring Operation: 45-25=20, Resulting Numbers: [22, 20]
Generated Node #0,1,2: 26:[22, 20] Operation: 45-25=20
Exploring Operation: 25-22=3, Resulting Numbers: [45, 3]
Generated Node #0,1,3: 26:[45, 3] Operation: 25-22=3
Exploring Operation: 45-22=23, Resulting Numbers: [25, 23]
Generated Node #0,1,4: 26:[25, 23] Operation: 45-22=23
Moving to Node #0,4
Current State: 26:[25, 56, 2], Operations: ['22/11=2']
Exploring Operation: 25-2=23, Resulting Numbers: [56, 23]
Generated Node #0,4,0: 26:[56, 23] Operation: 25-2=23
Exploring Operation: 56-25=31, Resulting Numbers: [2, 31]
Generated Node #0,4,1: 26:[2, 31] Operation: 56-25=31
Exploring Operation: 25+2=27, Resulting Numbers: [56, 27]
Generated Node #0,4,2: 26:[56, 27] Operation: 25+2=27
Exploring Operation: 56/2=28, Resulting Numbers: [25, 28]
Generated Node #0,4,3: 26:[25, 28] Operation: 56/2=28
Exploring Operation: 56-2=54, Resulting Numbers: [25, 54]
Generated Node #0,4,4: 26:[25, 54] Operation: 56-2=54
Moving to Node #0,3
Current State: 26:[56, 11, 3], Operations: ['25-22=3']
Exploring Operation: 56+3=59, Resulting Numbers: [11, 59]
Generated Node #0,3,0: 26:[11, 59] Operation: 56+3=59
Exploring Operation: 56-3=53, Resulting Numbers: [11, 53]
Generated Node #0,3,1: 26:[11, 53] Operation: 56-3=53
Exploring Operation: 56-11=45, Resulting Numbers: [3, 45]
Generated Node #0,3,2: 26:[3, 45] Operation: 56-11=45
Exploring Operation: 11+3=14, Resulting Numbers: [56, 14]
Generated Node #0,3,3: 26:[56, 14] Operation: 11+3=14
Exploring Operation: 11-3=8, Resulting Numbers: [56, 8]
Generated Node #0,3,4: 26:[56, 8] Operation: 11-3=8
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 26:[3, 45], Operations: ['25-22=3', '56-11=45']
Exploring Operation: 3*45=135, Resulting Numbers: [135]
135,26 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,26 unequal: No Solution
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 26:[11, 53], Operations: ['25-22=3', '56-3=53']
Exploring Operation: 11+53=64, Resulting Numbers: [64]
64,26 unequal: No Solution
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,26 unequal: No Solution
Exploring Operation: 11*53=583, Resulting Numbers: [583]
583,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 26:[56, 14], Operations: ['25-22=3', '11+3=14']
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,26 unequal: No Solution
Exploring Operation: 56/14=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 56*14=784, Resulting Numbers: [784]
784,26 unequal: No Solution
Exploring Operation: 56+14=70, Resulting Numbers: [70]
70,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 26:[11, 59], Operations: ['25-22=3', '56+3=59']
Exploring Operation: 11*59=649, Resulting Numbers: [649]
649,26 unequal: No Solution
Exploring Operation: 11+59=70, Resulting Numbers: [70]
70,26 unequal: No Solution
Exploring Operation: 59-11=48, Resulting Numbers: [48]
48,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 26:[56, 8], Operations: ['25-22=3', '11-3=8']
Exploring Operation: 56*8=448, Resulting Numbers: [448]
448,26 unequal: No Solution
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,26 unequal: No Solution
Exploring Operation: 56+8=64, Resulting Numbers: [64]
64,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,3
Current State: 26:[25, 28], Operations: ['22/11=2', '56/2=28']
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,26 unequal: No Solution
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 25*28=700, Resulting Numbers: [700]
700,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[25, 23], Operations: ['56-22=34', '34-11=23']
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 25*23=575, Resulting Numbers: [575]
575,26 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Moving to Node #0,1,4
Current State: 26:[25, 23], Operations: ['56-11=45', '45-22=23']
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 25*23=575, Resulting Numbers: [575]
575,26 unequal: No Solution
Moving to Node #0,2,4
Current State: 26:[31, 2], Operations: ['56-25=31', '22/11=2']
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,26 unequal: No Solution
Moving to Node #0,4,1
Current State: 26:[2, 31], Operations: ['22/11=2', '56-25=31']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,26 unequal: No Solution
Moving to Node #0,2,1
Current State: 26:[11, 9], Operations: ['56-25=31', '31-22=9']
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,26 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,26 unequal: No Solution
Moving to Node #0,0,3
Current State: 26:[11, 9], Operations: ['56-22=34', '34-25=9']
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,26 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,26 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Moving to Node #0,2,3
Current State: 26:[31, 11], Operations: ['56-25=31', '22-11=11']
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,26 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,26 unequal: No Solution
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[34, 14], Operations: ['56-22=34', '25-11=14']
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,26 unequal: No Solution
Exploring Operation: 34*14=476, Resulting Numbers: [476]
476,26 unequal: No Solution
Exploring Operation: 34+14=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[22, 20], Operations: ['56-11=45', '45-25=20']
Exploring Operation: 22*20=440, Resulting Numbers: [440]
440,26 unequal: No Solution
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[22, 20], Operations: ['56-25=31', '31-11=20']
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,26 unequal: No Solution
Exploring Operation: 22*20=440, Resulting Numbers: [440]
440,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[31, 33], Operations: ['56-25=31', '22+11=33']
Exploring Operation: 31*33=1023, Resulting Numbers: [1023]
1023,26 unequal: No Solution
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,26 unequal: No Solution
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Moving to Node #0,0,4
Current State: 26:[34, 36], Operations: ['56-22=34', '25+11=36']
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,26 unequal: No Solution
Exploring Operation: 34*36=1224, Resulting Numbers: [1224]
1224,26 unequal: No Solution
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Moving to Node #0,1,3
Current State: 26:[45, 3], Operations: ['56-11=45', '25-22=3']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,26 unequal: No Solution
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 45*3=135, Resulting Numbers: [135]
135,26 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[25, 45], Operations: ['56-22=34', '11+34=45']
Exploring Operation: 25+45=70, Resulting Numbers: [70]
70,26 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,26 unequal: No Solution
Exploring Operation: 25*45=1125, Resulting Numbers: [1125]
1125,26 unequal: No Solution
Moving to Node #0,4,4
Current State: 26:[25, 54], Operations: ['22/11=2', '56-2=54']
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Exploring Operation: 25*54=1350, Resulting Numbers: [1350]
1350,26 unequal: No Solution
Exploring Operation: 25+54=79, Resulting Numbers: [79]
79,26 unequal: No Solution
Moving to Node #0,4,2
Current State: 26:[56, 27], Operations: ['22/11=2', '25+2=27']
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,26 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Exploring Operation: 56*27=1512, Resulting Numbers: [1512]
1512,26 unequal: No Solution
Moving to Node #0,4,0
Current State: 26:[56, 23], Operations: ['22/11=2', '25-2=23']
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Exploring Operation: 56*23=1288, Resulting Numbers: [1288]
1288,26 unequal: No Solution
Exploring Operation: 56+23=79, Resulting Numbers: [79]
79,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[45, 47], Operations: ['56-11=45', '25+22=47']
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 45*47=2115, Resulting Numbers: [2115]
2115,26 unequal: No Solution
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[25, 67], Operations: ['56-11=45', '22+45=67']
Exploring Operation: 25*67=1675, Resulting Numbers: [1675]
1675,26 unequal: No Solution
Exploring Operation: 25+67=92, Resulting Numbers: [92]
92,26 unequal: No Solution
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,26 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
57,
16,
89,
86
] | 76 | [
"57+16=73",
"89-86=3",
"73+3=76"
] | Current State: 76:[57, 16, 89, 86], Operations: []
Exploring Operation: 57+16=73, Resulting Numbers: [89, 86, 73]
Generated Node #2: [89, 86, 73] from Operation: 57+16=73
Current State: 76:[89, 86, 73], Operations: ['57+16=73']
Exploring Operation: 89-86=3, Resulting Numbers: [73, 3]
Generated Node #3: [73, 3] from Operation: 89-86=3
Current State: 76:[73, 3], Operations: ['57+16=73', '89-86=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[57, 16, 89, 86], Operations: []
Exploring Operation: 89-57=32, Resulting Numbers: [16, 86, 32]
Generated Node #0,0: 76:[16, 86, 32] Operation: 89-57=32
Moving to Node #0,0
Current State: 76:[16, 86, 32], Operations: ['89-57=32']
Exploring Operation: 32/16=2, Resulting Numbers: [86, 2]
Generated Node #0,0,0: 76:[86, 2] Operation: 32/16=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[86, 2], Operations: ['89-57=32', '32/16=2']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,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 |
[
44,
32,
39,
44
] | 39 | [
"44-44=0",
"32*0=0",
"39+0=39"
] | Current State: 39:[44, 32, 39, 44], Operations: []
Exploring Operation: 44-44=0, Resulting Numbers: [32, 39, 0]
Generated Node #2: [32, 39, 0] from Operation: 44-44=0
Current State: 39:[32, 39, 0], Operations: ['44-44=0']
Exploring Operation: 32*0=0, Resulting Numbers: [39, 0]
Generated Node #3: [39, 0] from Operation: 32*0=0
Current State: 39:[39, 0], Operations: ['44-44=0', '32*0=0']
Exploring Operation: 39+0=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[44, 32, 39, 44], Operations: []
Exploring Operation: 44/44=1, Resulting Numbers: [32, 39, 1]
Generated Node #0,0: 39:[32, 39, 1] Operation: 44/44=1
Exploring Operation: 44-44=0, Resulting Numbers: [32, 39, 0]
Generated Node #0,1: 39:[32, 39, 0] Operation: 44-44=0
Exploring Operation: 44-32=12, Resulting Numbers: [44, 39, 12]
Generated Node #0,2: 39:[44, 39, 12] Operation: 44-32=12
Exploring Operation: 44-32=12, Resulting Numbers: [39, 44, 12]
Generated Node #0,3: 39:[39, 44, 12] Operation: 44-32=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[44, 39, 12], Operations: ['44-32=12']
Exploring Operation: 44-39=5, Resulting Numbers: [12, 5]
Generated Node #0,2,0: 39:[12, 5] Operation: 44-39=5
Exploring Operation: 44-12=32, Resulting Numbers: [39, 32]
Generated Node #0,2,1: 39:[39, 32] Operation: 44-12=32
Exploring Operation: 39+12=51, Resulting Numbers: [44, 51]
Generated Node #0,2,2: 39:[44, 51] Operation: 39+12=51
Exploring Operation: 44+12=56, Resulting Numbers: [39, 56]
Generated Node #0,2,3: 39:[39, 56] Operation: 44+12=56
Moving to Node #0,2,0
Current State: 39:[12, 5], Operations: ['44-32=12', '44-39=5']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[39, 32], Operations: ['44-32=12', '44-12=32']
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,39 unequal: No Solution
Exploring Operation: 39*32=1248, Resulting Numbers: [1248]
1248,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[39, 56], Operations: ['44-32=12', '44+12=56']
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 39+56=95, Resulting Numbers: [95]
95,39 unequal: No Solution
Exploring Operation: 39*56=2184, Resulting Numbers: [2184]
2184,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[44, 51], Operations: ['44-32=12', '39+12=51']
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 44+51=95, Resulting Numbers: [95]
95,39 unequal: No Solution
Exploring Operation: 44*51=2244, Resulting Numbers: [2244]
2244,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[39, 44, 12], Operations: ['44-32=12']
Exploring Operation: 39+12=51, Resulting Numbers: [44, 51]
Generated Node #0,3,0: 39:[44, 51] Operation: 39+12=51
Exploring Operation: 39-12=27, Resulting Numbers: [44, 27]
Generated Node #0,3,1: 39:[44, 27] Operation: 39-12=27
Exploring Operation: 44-12=32, Resulting Numbers: [39, 32]
Generated Node #0,3,2: 39:[39, 32] Operation: 44-12=32
Exploring Operation: 44-39=5, Resulting Numbers: [12, 5]
Generated Node #0,3,3: 39:[12, 5] Operation: 44-39=5
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 39:[12, 5], Operations: ['44-32=12', '44-39=5']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 39:[39, 32], Operations: ['44-32=12', '44-12=32']
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 39*32=1248, Resulting Numbers: [1248]
1248,39 unequal: No Solution
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 39:[44, 51], Operations: ['44-32=12', '39+12=51']
Exploring Operation: 44+51=95, Resulting Numbers: [95]
95,39 unequal: No Solution
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 44*51=2244, Resulting Numbers: [2244]
2244,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 39:[44, 27], Operations: ['44-32=12', '39-12=27']
Exploring Operation: 44*27=1188, Resulting Numbers: [1188]
1188,39 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 44+27=71, Resulting Numbers: [71]
71,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[32, 39, 1], Operations: ['44/44=1']
Exploring Operation: 32/1=32, Resulting Numbers: [39, 32]
Generated Node #0,0,0: 39:[39, 32] Operation: 32/1=32
Exploring Operation: 32+1=33, Resulting Numbers: [39, 33]
Generated Node #0,0,1: 39:[39, 33] Operation: 32+1=33
Exploring Operation: 32*1=32, Resulting Numbers: [39, 32]
Generated Node #0,0,2: 39:[39, 32] Operation: 32*1=32
Exploring Operation: 39-32=7, Resulting Numbers: [1, 7]
Generated Node #0,0,3: 39:[1, 7] Operation: 39-32=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 39:[39, 33], Operations: ['44/44=1', '32+1=33']
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,39 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 39:[1, 7], Operations: ['44/44=1', '39-32=7']
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 1+7=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[39, 32], Operations: ['44/44=1', '32/1=32']
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,39 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 39*32=1248, Resulting Numbers: [1248]
1248,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 39:[39, 32], Operations: ['44/44=1', '32*1=32']
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 39*32=1248, Resulting Numbers: [1248]
1248,39 unequal: No Solution
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[32, 39, 0], Operations: ['44-44=0']
Exploring Operation: 39-32=7, Resulting Numbers: [0, 7]
Generated Node #0,1,0: 39:[0, 7] Operation: 39-32=7
Exploring Operation: 32*0=0, Resulting Numbers: [39, 0]
Generated Node #0,1,1: 39:[39, 0] Operation: 32*0=0
Exploring Operation: 32-0=32, Resulting Numbers: [39, 32]
Generated Node #0,1,2: 39:[39, 32] Operation: 32-0=32
Exploring Operation: 32+0=32, Resulting Numbers: [39, 32]
Generated Node #0,1,3: 39:[39, 32] Operation: 32+0=32
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 39:[39, 0], Operations: ['44-44=0', '32*0=0']
Exploring Operation: 39-0=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[44, 32, 39, 44], Operations: []
Exploring Operation: 44-44=0, Resulting Numbers: [32, 39, 0]
Generated Node #0,1: 39:[32, 39, 0] Operation: 44-44=0
Moving to Node #0,1
Current State: 39:[32, 39, 0], Operations: ['44-44=0']
Exploring Operation: 32*0=0, Resulting Numbers: [39, 0]
Generated Node #0,1,1: 39:[39, 0] Operation: 32*0=0
Moving to Node #0,1,1
Current State: 39:[39, 0], Operations: ['44-44=0', '32*0=0']
Exploring Operation: 39-0=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.946181 | hs_4 | sum_heuristic |
[
73,
62,
80,
80
] | 73 | [
"80-80=0",
"62*0=0",
"73+0=73"
] | Current State: 73:[73, 62, 80, 80], Operations: []
Exploring Operation: 80-80=0, Resulting Numbers: [73, 62, 0]
Generated Node #2: [73, 62, 0] from Operation: 80-80=0
Current State: 73:[73, 62, 0], Operations: ['80-80=0']
Exploring Operation: 62*0=0, Resulting Numbers: [73, 0]
Generated Node #3: [73, 0] from Operation: 62*0=0
Current State: 73:[73, 0], Operations: ['80-80=0', '62*0=0']
Exploring Operation: 73+0=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[73, 62, 80, 80], Operations: []
Exploring Operation: 80-62=18, Resulting Numbers: [73, 80, 18]
Generated Node #0,0: 73:[73, 80, 18] Operation: 80-62=18
Exploring Operation: 80-62=18, Resulting Numbers: [73, 80, 18]
Generated Node #0,1: 73:[73, 80, 18] Operation: 80-62=18
Exploring Operation: 73+62=135, Resulting Numbers: [80, 80, 135]
Generated Node #0,2: 73:[80, 80, 135] Operation: 73+62=135
Moving to Node #0,0
Current State: 73:[73, 80, 18], Operations: ['80-62=18']
Exploring Operation: 80-18=62, Resulting Numbers: [73, 62]
Generated Node #0,0,0: 73:[73, 62] Operation: 80-18=62
Exploring Operation: 73+18=91, Resulting Numbers: [80, 91]
Generated Node #0,0,1: 73:[80, 91] Operation: 73+18=91
Exploring Operation: 73-18=55, Resulting Numbers: [80, 55]
Generated Node #0,0,2: 73:[80, 55] Operation: 73-18=55
Moving to Node #0,1
Current State: 73:[73, 80, 18], Operations: ['80-62=18']
Exploring Operation: 73-18=55, Resulting Numbers: [80, 55]
Generated Node #0,1,0: 73:[80, 55] Operation: 73-18=55
Exploring Operation: 73+18=91, Resulting Numbers: [80, 91]
Generated Node #0,1,1: 73:[80, 91] Operation: 73+18=91
Exploring Operation: 80-18=62, Resulting Numbers: [73, 62]
Generated Node #0,1,2: 73:[73, 62] Operation: 80-18=62
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[73, 62], Operations: ['80-62=18', '80-18=62']
Exploring Operation: 73+62=135, Resulting Numbers: [135]
135,73 unequal: No Solution
Exploring Operation: 73-62=11, Resulting Numbers: [11]
11,73 unequal: No Solution
Exploring Operation: 73*62=4526, Resulting Numbers: [4526]
4526,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[80, 55], Operations: ['80-62=18', '73-18=55']
Exploring Operation: 80+55=135, Resulting Numbers: [135]
135,73 unequal: No Solution
Exploring Operation: 80-55=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 80*55=4400, Resulting Numbers: [4400]
4400,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[80, 91], Operations: ['80-62=18', '73+18=91']
Exploring Operation: 80*91=7280, Resulting Numbers: [7280]
7280,73 unequal: No Solution
Exploring Operation: 91-80=11, Resulting Numbers: [11]
11,73 unequal: No Solution
Exploring Operation: 80+91=171, Resulting Numbers: [171]
171,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 73:[80, 80, 135], Operations: ['73+62=135']
Exploring Operation: 135-80=55, Resulting Numbers: [80, 55]
Generated Node #0,2,0: 73:[80, 55] Operation: 135-80=55
Exploring Operation: 135-80=55, Resulting Numbers: [80, 55]
Generated Node #0,2,1: 73:[80, 55] Operation: 135-80=55
Exploring Operation: 80/80=1, Resulting Numbers: [135, 1]
Generated Node #0,2,2: 73:[135, 1] Operation: 80/80=1
Moving to Node #0,0,0
Current State: 73:[73, 62], Operations: ['80-62=18', '80-18=62']
Exploring Operation: 73-62=11, Resulting Numbers: [11]
11,73 unequal: No Solution
Exploring Operation: 73*62=4526, Resulting Numbers: [4526]
4526,73 unequal: No Solution
Exploring Operation: 73+62=135, Resulting Numbers: [135]
135,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[80, 55], Operations: ['80-62=18', '73-18=55']
Exploring Operation: 80+55=135, Resulting Numbers: [135]
135,73 unequal: No Solution
Exploring Operation: 80*55=4400, Resulting Numbers: [4400]
4400,73 unequal: No Solution
Exploring Operation: 80-55=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[80, 91], Operations: ['80-62=18', '73+18=91']
Exploring Operation: 80+91=171, Resulting Numbers: [171]
171,73 unequal: No Solution
Exploring Operation: 80*91=7280, Resulting Numbers: [7280]
7280,73 unequal: No Solution
Exploring Operation: 91-80=11, Resulting Numbers: [11]
11,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[80, 55], Operations: ['73+62=135', '135-80=55']
Exploring Operation: 80-55=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 80+55=135, Resulting Numbers: [135]
135,73 unequal: No Solution
Exploring Operation: 80*55=4400, Resulting Numbers: [4400]
4400,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[80, 55], Operations: ['73+62=135', '135-80=55']
Exploring Operation: 80+55=135, Resulting Numbers: [135]
135,73 unequal: No Solution
Exploring Operation: 80*55=4400, Resulting Numbers: [4400]
4400,73 unequal: No Solution
Exploring Operation: 80-55=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[135, 1], Operations: ['73+62=135', '80/80=1']
Exploring Operation: 135/1=135, Resulting Numbers: [135]
135,73 unequal: No Solution
Exploring Operation: 135*1=135, Resulting Numbers: [135]
135,73 unequal: No Solution
Exploring Operation: 135-1=134, Resulting Numbers: [134]
134,73 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
98,
52,
50,
78
] | 59 | [
"52-50=2",
"78/2=39",
"98-39=59"
] | Current State: 59:[98, 52, 50, 78], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [98, 78, 2]
Generated Node #2: [98, 78, 2] from Operation: 52-50=2
Current State: 59:[98, 78, 2], Operations: ['52-50=2']
Exploring Operation: 78/2=39, Resulting Numbers: [98, 39]
Generated Node #3: [98, 39] from Operation: 78/2=39
Current State: 59:[98, 39], Operations: ['52-50=2', '78/2=39']
Exploring Operation: 98-39=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[98, 52, 50, 78], Operations: []
Exploring Operation: 98-52=46, Resulting Numbers: [50, 78, 46]
Generated Node #0,0: 59:[50, 78, 46] Operation: 98-52=46
Exploring Operation: 98-50=48, Resulting Numbers: [52, 78, 48]
Generated Node #0,1: 59:[52, 78, 48] Operation: 98-50=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[52, 78, 48], Operations: ['98-50=48']
Exploring Operation: 78-52=26, Resulting Numbers: [48, 26]
Generated Node #0,1,0: 59:[48, 26] Operation: 78-52=26
Exploring Operation: 78-48=30, Resulting Numbers: [52, 30]
Generated Node #0,1,1: 59:[52, 30] Operation: 78-48=30
Moving to Node #0,1,1
Current State: 59:[52, 30], Operations: ['98-50=48', '78-48=30']
Exploring Operation: 52+30=82, Resulting Numbers: [82]
82,59 unequal: No Solution
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[48, 26], Operations: ['98-50=48', '78-52=26']
Exploring Operation: 48+26=74, Resulting Numbers: [74]
74,59 unequal: No Solution
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[50, 78, 46], Operations: ['98-52=46']
Exploring Operation: 78-50=28, Resulting Numbers: [46, 28]
Generated Node #0,0,0: 59:[46, 28] Operation: 78-50=28
Exploring Operation: 78-46=32, Resulting Numbers: [50, 32]
Generated Node #0,0,1: 59:[50, 32] Operation: 78-46=32
Moving to Node #0,0,1
Current State: 59:[50, 32], Operations: ['98-52=46', '78-46=32']
Exploring Operation: 50+32=82, Resulting Numbers: [82]
82,59 unequal: No Solution
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[46, 28], Operations: ['98-52=46', '78-50=28']
Exploring Operation: 46+28=74, Resulting Numbers: [74]
74,59 unequal: No Solution
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
22,
57,
91,
84
] | 86 | [
"22+57=79",
"91-84=7",
"79+7=86"
] | Current State: 86:[22, 57, 91, 84], Operations: []
Exploring Operation: 22+57=79, Resulting Numbers: [91, 84, 79]
Generated Node #2: [91, 84, 79] from Operation: 22+57=79
Current State: 86:[91, 84, 79], Operations: ['22+57=79']
Exploring Operation: 91-84=7, Resulting Numbers: [79, 7]
Generated Node #3: [79, 7] from Operation: 91-84=7
Current State: 86:[79, 7], Operations: ['22+57=79', '91-84=7']
Exploring Operation: 79+7=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[22, 57, 91, 84], Operations: []
Exploring Operation: 22+57=79, Resulting Numbers: [91, 84, 79]
Generated Node #0,0: 86:[91, 84, 79] Operation: 22+57=79
Moving to Node #0,0
Current State: 86:[91, 84, 79], Operations: ['22+57=79']
Exploring Operation: 84-79=5, Resulting Numbers: [91, 5]
Generated Node #0,0,0: 86:[91, 5] Operation: 84-79=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[91, 5], Operations: ['22+57=79', '84-79=5']
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[22, 57, 91, 84], Operations: []
Exploring Operation: 22+57=79, Resulting Numbers: [91, 84, 79]
Generated Node #0,0: 86:[91, 84, 79] Operation: 22+57=79
Moving to Node #0,0
Current State: 86:[91, 84, 79], Operations: ['22+57=79']
Exploring Operation: 84-79=5, Resulting Numbers: [91, 5]
Generated Node #0,0,0: 86:[91, 5] Operation: 84-79=5
Moving to Node #0,0,0
Current State: 86:[91, 5], Operations: ['22+57=79', '84-79=5']
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
46,
31,
25,
62
] | 52 | [
"46-31=15",
"62-25=37",
"15+37=52"
] | Current State: 52:[46, 31, 25, 62], Operations: []
Exploring Operation: 46-31=15, Resulting Numbers: [25, 62, 15]
Generated Node #2: [25, 62, 15] from Operation: 46-31=15
Current State: 52:[25, 62, 15], Operations: ['46-31=15']
Exploring Operation: 62-25=37, Resulting Numbers: [15, 37]
Generated Node #3: [15, 37] from Operation: 62-25=37
Current State: 52:[15, 37], Operations: ['46-31=15', '62-25=37']
Exploring Operation: 15+37=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[46, 31, 25, 62], Operations: []
Exploring Operation: 62/31=2, Resulting Numbers: [46, 25, 2]
Generated Node #0,0: 52:[46, 25, 2] Operation: 62/31=2
Moving to Node #0,0
Current State: 52:[46, 25, 2], Operations: ['62/31=2']
Exploring Operation: 46/2=23, Resulting Numbers: [25, 23]
Generated Node #0,0,0: 52:[25, 23] Operation: 46/2=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[25, 23], Operations: ['62/31=2', '46/2=23']
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
82,
38,
38
] | 75 | [
"82-6=76",
"38/38=1",
"76-1=75"
] | Current State: 75:[6, 82, 38, 38], Operations: []
Exploring Operation: 82-6=76, Resulting Numbers: [38, 38, 76]
Generated Node #2: [38, 38, 76] from Operation: 82-6=76
Current State: 75:[38, 38, 76], Operations: ['82-6=76']
Exploring Operation: 38/38=1, Resulting Numbers: [76, 1]
Generated Node #3: [76, 1] from Operation: 38/38=1
Current State: 75:[76, 1], Operations: ['82-6=76', '38/38=1']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[6, 82, 38, 38], Operations: []
Exploring Operation: 82-6=76, Resulting Numbers: [38, 38, 76]
Generated Node #0,0: 75:[38, 38, 76] Operation: 82-6=76
Exploring Operation: 38-38=0, Resulting Numbers: [6, 82, 0]
Generated Node #0,1: 75:[6, 82, 0] Operation: 38-38=0
Exploring Operation: 38+38=76, Resulting Numbers: [6, 82, 76]
Generated Node #0,2: 75:[6, 82, 76] Operation: 38+38=76
Exploring Operation: 38/38=1, Resulting Numbers: [6, 82, 1]
Generated Node #0,3: 75:[6, 82, 1] Operation: 38/38=1
Moving to Node #0,2
Current State: 75:[6, 82, 76], Operations: ['38+38=76']
Exploring Operation: 82-6=76, Resulting Numbers: [76, 76]
Generated Node #0,2,0: 75:[76, 76] Operation: 82-6=76
Exploring Operation: 76-6=70, Resulting Numbers: [82, 70]
Generated Node #0,2,1: 75:[82, 70] Operation: 76-6=70
Exploring Operation: 6+82=88, Resulting Numbers: [76, 88]
Generated Node #0,2,2: 75:[76, 88] Operation: 6+82=88
Exploring Operation: 82-76=6, Resulting Numbers: [6, 6]
Generated Node #0,2,3: 75:[6, 6] Operation: 82-76=6
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 75:[76, 76], Operations: ['38+38=76', '82-6=76']
Exploring Operation: 76*76=5776, Resulting Numbers: [5776]
5776,75 unequal: No Solution
Exploring Operation: 76+76=152, Resulting Numbers: [152]
152,75 unequal: No Solution
Exploring Operation: 76/76=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 76-76=0, Resulting Numbers: [0]
0,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 75:[6, 6], Operations: ['38+38=76', '82-76=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,75 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,75 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 75:[82, 70], Operations: ['38+38=76', '76-6=70']
Exploring Operation: 82+70=152, Resulting Numbers: [152]
152,75 unequal: No Solution
Exploring Operation: 82-70=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Exploring Operation: 82*70=5740, Resulting Numbers: [5740]
5740,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 75:[76, 88], Operations: ['38+38=76', '6+82=88']
Exploring Operation: 76+88=164, Resulting Numbers: [164]
164,75 unequal: No Solution
Exploring Operation: 88-76=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Exploring Operation: 76*88=6688, Resulting Numbers: [6688]
6688,75 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: 75:[6, 82, 1], Operations: ['38/38=1']
Exploring Operation: 6-1=5, Resulting Numbers: [82, 5]
Generated Node #0,3,0: 75:[82, 5] Operation: 6-1=5
Exploring Operation: 6*1=6, Resulting Numbers: [82, 6]
Generated Node #0,3,1: 75:[82, 6] Operation: 6*1=6
Exploring Operation: 82-6=76, Resulting Numbers: [1, 76]
Generated Node #0,3,2: 75:[1, 76] Operation: 82-6=76
Exploring Operation: 82-1=81, Resulting Numbers: [6, 81]
Generated Node #0,3,3: 75:[6, 81] Operation: 82-1=81
Moving to Node #0,1
Current State: 75:[6, 82, 0], Operations: ['38-38=0']
Exploring Operation: 6+0=6, Resulting Numbers: [82, 6]
Generated Node #0,1,0: 75:[82, 6] Operation: 6+0=6
Exploring Operation: 82*0=0, Resulting Numbers: [6, 0]
Generated Node #0,1,1: 75:[6, 0] Operation: 82*0=0
Exploring Operation: 6-0=6, Resulting Numbers: [82, 6]
Generated Node #0,1,2: 75:[82, 6] Operation: 6-0=6
Exploring Operation: 82-6=76, Resulting Numbers: [0, 76]
Generated Node #0,1,3: 75:[0, 76] Operation: 82-6=76
Moving to Node #0,0
Current State: 75:[38, 38, 76], Operations: ['82-6=76']
Exploring Operation: 38+38=76, Resulting Numbers: [76, 76]
Generated Node #0,0,0: 75:[76, 76] Operation: 38+38=76
Exploring Operation: 38/38=1, Resulting Numbers: [76, 1]
Generated Node #0,0,1: 75:[76, 1] Operation: 38/38=1
Exploring Operation: 38-38=0, Resulting Numbers: [76, 0]
Generated Node #0,0,2: 75:[76, 0] Operation: 38-38=0
Exploring Operation: 76/38=2, Resulting Numbers: [38, 2]
Generated Node #0,0,3: 75:[38, 2] Operation: 76/38=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[76, 76], Operations: ['82-6=76', '38+38=76']
Exploring Operation: 76/76=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 76+76=152, Resulting Numbers: [152]
152,75 unequal: No Solution
Exploring Operation: 76-76=0, Resulting Numbers: [0]
0,75 unequal: No Solution
Exploring Operation: 76*76=5776, Resulting Numbers: [5776]
5776,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[76, 1], Operations: ['82-6=76', '38/38=1']
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[6, 82, 38, 38], Operations: []
Exploring Operation: 82-6=76, Resulting Numbers: [38, 38, 76]
Generated Node #0,0: 75:[38, 38, 76] Operation: 82-6=76
Moving to Node #0,0
Current State: 75:[38, 38, 76], Operations: ['82-6=76']
Exploring Operation: 38/38=1, Resulting Numbers: [76, 1]
Generated Node #0,0,1: 75:[76, 1] Operation: 38/38=1
Moving to Node #0,0,1
Current State: 75:[76, 1], Operations: ['82-6=76', '38/38=1']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_4 | mult_heuristic |
[
13,
72,
10,
5
] | 83 | [
"13+72=85",
"10/5=2",
"85-2=83"
] | Current State: 83:[13, 72, 10, 5], Operations: []
Exploring Operation: 13+72=85, Resulting Numbers: [10, 5, 85]
Generated Node #2: [10, 5, 85] from Operation: 13+72=85
Current State: 83:[10, 5, 85], Operations: ['13+72=85']
Exploring Operation: 10/5=2, Resulting Numbers: [85, 2]
Generated Node #3: [85, 2] from Operation: 10/5=2
Current State: 83:[85, 2], Operations: ['13+72=85', '10/5=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[13, 72, 10, 5], Operations: []
Exploring Operation: 13+5=18, Resulting Numbers: [72, 10, 18]
Generated Node #0,0: 83:[72, 10, 18] Operation: 13+5=18
Exploring Operation: 10*5=50, Resulting Numbers: [13, 72, 50]
Generated Node #0,1: 83:[13, 72, 50] Operation: 10*5=50
Exploring Operation: 13*5=65, Resulting Numbers: [72, 10, 65]
Generated Node #0,2: 83:[72, 10, 65] Operation: 13*5=65
Exploring Operation: 13*10=130, Resulting Numbers: [72, 5, 130]
Generated Node #0,3: 83:[72, 5, 130] Operation: 13*10=130
Exploring Operation: 13+10=23, Resulting Numbers: [72, 5, 23]
Generated Node #0,4: 83:[72, 5, 23] Operation: 13+10=23
Moving to Node #0,2
Current State: 83:[72, 10, 65], Operations: ['13*5=65']
Exploring Operation: 65-10=55, Resulting Numbers: [72, 55]
Generated Node #0,2,0: 83:[72, 55] Operation: 65-10=55
Exploring Operation: 72-10=62, Resulting Numbers: [65, 62]
Generated Node #0,2,1: 83:[65, 62] Operation: 72-10=62
Exploring Operation: 10+65=75, Resulting Numbers: [72, 75]
Generated Node #0,2,2: 83:[72, 75] Operation: 10+65=75
Exploring Operation: 72+65=137, Resulting Numbers: [10, 137]
Generated Node #0,2,3: 83:[10, 137] Operation: 72+65=137
Exploring Operation: 72+10=82, Resulting Numbers: [65, 82]
Generated Node #0,2,4: 83:[65, 82] Operation: 72+10=82
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[72, 75], Operations: ['13*5=65', '10+65=75']
Exploring Operation: 72*75=5400, Resulting Numbers: [5400]
5400,83 unequal: No Solution
Exploring Operation: 72+75=147, Resulting Numbers: [147]
147,83 unequal: No Solution
Exploring Operation: 75-72=3, Resulting Numbers: [3]
3,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 83:[65, 82], Operations: ['13*5=65', '72+10=82']
Exploring Operation: 82-65=17, Resulting Numbers: [17]
17,83 unequal: No Solution
Exploring Operation: 65*82=5330, Resulting Numbers: [5330]
5330,83 unequal: No Solution
Exploring Operation: 65+82=147, Resulting Numbers: [147]
147,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[72, 55], Operations: ['13*5=65', '65-10=55']
Exploring Operation: 72-55=17, Resulting Numbers: [17]
17,83 unequal: No Solution
Exploring Operation: 72*55=3960, Resulting Numbers: [3960]
3960,83 unequal: No Solution
Exploring Operation: 72+55=127, Resulting Numbers: [127]
127,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[65, 62], Operations: ['13*5=65', '72-10=62']
Exploring Operation: 65-62=3, Resulting Numbers: [3]
3,83 unequal: No Solution
Exploring Operation: 65*62=4030, Resulting Numbers: [4030]
4030,83 unequal: No Solution
Exploring Operation: 65+62=127, Resulting Numbers: [127]
127,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 83:[10, 137], Operations: ['13*5=65', '72+65=137']
Exploring Operation: 10+137=147, Resulting Numbers: [147]
147,83 unequal: No Solution
Exploring Operation: 10*137=1370, Resulting Numbers: [1370]
1370,83 unequal: No Solution
Exploring Operation: 137-10=127, Resulting Numbers: [127]
127,83 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: 83:[13, 72, 50], Operations: ['10*5=50']
Exploring Operation: 13+50=63, Resulting Numbers: [72, 63]
Generated Node #0,1,0: 83:[72, 63] Operation: 13+50=63
Exploring Operation: 13+72=85, Resulting Numbers: [50, 85]
Generated Node #0,1,1: 83:[50, 85] Operation: 13+72=85
Exploring Operation: 72-13=59, Resulting Numbers: [50, 59]
Generated Node #0,1,2: 83:[50, 59] Operation: 72-13=59
Exploring Operation: 72+50=122, Resulting Numbers: [13, 122]
Generated Node #0,1,3: 83:[13, 122] Operation: 72+50=122
Exploring Operation: 50-13=37, Resulting Numbers: [72, 37]
Generated Node #0,1,4: 83:[72, 37] Operation: 50-13=37
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[72, 63], Operations: ['10*5=50', '13+50=63']
Exploring Operation: 72+63=135, Resulting Numbers: [135]
135,83 unequal: No Solution
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 72*63=4536, Resulting Numbers: [4536]
4536,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[50, 85], Operations: ['10*5=50', '13+72=85']
Exploring Operation: 50+85=135, Resulting Numbers: [135]
135,83 unequal: No Solution
Exploring Operation: 85-50=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 50*85=4250, Resulting Numbers: [4250]
4250,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[50, 59], Operations: ['10*5=50', '72-13=59']
Exploring Operation: 50*59=2950, Resulting Numbers: [2950]
2950,83 unequal: No Solution
Exploring Operation: 59-50=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 50+59=109, Resulting Numbers: [109]
109,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 83:[72, 37], Operations: ['10*5=50', '50-13=37']
Exploring Operation: 72+37=109, Resulting Numbers: [109]
109,83 unequal: No Solution
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 72*37=2664, Resulting Numbers: [2664]
2664,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 83:[13, 122], Operations: ['10*5=50', '72+50=122']
Exploring Operation: 13*122=1586, Resulting Numbers: [1586]
1586,83 unequal: No Solution
Exploring Operation: 13+122=135, Resulting Numbers: [135]
135,83 unequal: No Solution
Exploring Operation: 122-13=109, Resulting Numbers: [109]
109,83 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: 83:[72, 5, 130], Operations: ['13*10=130']
Exploring Operation: 5+130=135, Resulting Numbers: [72, 135]
Generated Node #0,3,0: 83:[72, 135] Operation: 5+130=135
Exploring Operation: 72-5=67, Resulting Numbers: [130, 67]
Generated Node #0,3,1: 83:[130, 67] Operation: 72-5=67
Exploring Operation: 130/5=26, Resulting Numbers: [72, 26]
Generated Node #0,3,2: 83:[72, 26] Operation: 130/5=26
Exploring Operation: 130-5=125, Resulting Numbers: [72, 125]
Generated Node #0,3,3: 83:[72, 125] Operation: 130-5=125
Exploring Operation: 72+5=77, Resulting Numbers: [130, 77]
Generated Node #0,3,4: 83:[130, 77] Operation: 72+5=77
Moving to Node #0,0
Current State: 83:[72, 10, 18], Operations: ['13+5=18']
Exploring Operation: 18-10=8, Resulting Numbers: [72, 8]
Generated Node #0,0,0: 83:[72, 8] Operation: 18-10=8
Exploring Operation: 72-10=62, Resulting Numbers: [18, 62]
Generated Node #0,0,1: 83:[18, 62] Operation: 72-10=62
Exploring Operation: 72+10=82, Resulting Numbers: [18, 82]
Generated Node #0,0,2: 83:[18, 82] Operation: 72+10=82
Exploring Operation: 72+18=90, Resulting Numbers: [10, 90]
Generated Node #0,0,3: 83:[10, 90] Operation: 72+18=90
Exploring Operation: 10+18=28, Resulting Numbers: [72, 28]
Generated Node #0,0,4: 83:[72, 28] Operation: 10+18=28
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[18, 82], Operations: ['13+5=18', '72+10=82']
Exploring Operation: 18+82=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,83 unequal: No Solution
Exploring Operation: 18*82=1476, Resulting Numbers: [1476]
1476,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 83:[72, 28], Operations: ['13+5=18', '10+18=28']
Exploring Operation: 72+28=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 72-28=44, Resulting Numbers: [44]
44,83 unequal: No Solution
Exploring Operation: 72*28=2016, Resulting Numbers: [2016]
2016,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[10, 90], Operations: ['13+5=18', '72+18=90']
Exploring Operation: 90-10=80, Resulting Numbers: [80]
80,83 unequal: No Solution
Exploring Operation: 10*90=900, Resulting Numbers: [900]
900,83 unequal: No Solution
Exploring Operation: 10+90=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 90/10=9, Resulting Numbers: [9]
9,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[72, 8], Operations: ['13+5=18', '18-10=8']
Exploring Operation: 72*8=576, Resulting Numbers: [576]
576,83 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,83 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[18, 62], Operations: ['13+5=18', '72-10=62']
Exploring Operation: 18*62=1116, Resulting Numbers: [1116]
1116,83 unequal: No Solution
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,83 unequal: No Solution
Exploring Operation: 18+62=80, Resulting Numbers: [80]
80,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 83:[72, 5, 23], Operations: ['13+10=23']
Exploring Operation: 23-5=18, Resulting Numbers: [72, 18]
Generated Node #0,4,0: 83:[72, 18] Operation: 23-5=18
Exploring Operation: 5*23=115, Resulting Numbers: [72, 115]
Generated Node #0,4,1: 83:[72, 115] Operation: 5*23=115
Exploring Operation: 72-5=67, Resulting Numbers: [23, 67]
Generated Node #0,4,2: 83:[23, 67] Operation: 72-5=67
Exploring Operation: 72+5=77, Resulting Numbers: [23, 77]
Generated Node #0,4,3: 83:[23, 77] Operation: 72+5=77
Exploring Operation: 5+23=28, Resulting Numbers: [72, 28]
Generated Node #0,4,4: 83:[72, 28] Operation: 5+23=28
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 83:[72, 115], Operations: ['13+10=23', '5*23=115']
Exploring Operation: 72+115=187, Resulting Numbers: [187]
187,83 unequal: No Solution
Exploring Operation: 115-72=43, Resulting Numbers: [43]
43,83 unequal: No Solution
Exploring Operation: 72*115=8280, Resulting Numbers: [8280]
8280,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 83:[23, 77], Operations: ['13+10=23', '72+5=77']
Exploring Operation: 23+77=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 23*77=1771, Resulting Numbers: [1771]
1771,83 unequal: No Solution
Exploring Operation: 77-23=54, Resulting Numbers: [54]
54,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 83:[72, 28], Operations: ['13+10=23', '5+23=28']
Exploring Operation: 72*28=2016, Resulting Numbers: [2016]
2016,83 unequal: No Solution
Exploring Operation: 72-28=44, Resulting Numbers: [44]
44,83 unequal: No Solution
Exploring Operation: 72+28=100, Resulting Numbers: [100]
100,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 83:[72, 18], Operations: ['13+10=23', '23-5=18']
Exploring Operation: 72+18=90, Resulting Numbers: [90]
90,83 unequal: No Solution
Exploring Operation: 72*18=1296, Resulting Numbers: [1296]
1296,83 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 83:[23, 67], Operations: ['13+10=23', '72-5=67']
Exploring Operation: 23+67=90, Resulting Numbers: [90]
90,83 unequal: No Solution
Exploring Operation: 23*67=1541, Resulting Numbers: [1541]
1541,83 unequal: No Solution
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 83:[72, 125], Operations: ['13*10=130', '130-5=125']
Exploring Operation: 72*125=9000, Resulting Numbers: [9000]
9000,83 unequal: No Solution
Exploring Operation: 125-72=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Exploring Operation: 72+125=197, Resulting Numbers: [197]
197,83 unequal: No Solution
Moving to Node #0,3,4
Current State: 83:[130, 77], Operations: ['13*10=130', '72+5=77']
Exploring Operation: 130+77=207, Resulting Numbers: [207]
207,83 unequal: No Solution
Exploring Operation: 130-77=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Exploring Operation: 130*77=10010, Resulting Numbers: [10010]
10010,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[72, 135], Operations: ['13*10=130', '5+130=135']
Exploring Operation: 72+135=207, Resulting Numbers: [207]
207,83 unequal: No Solution
Exploring Operation: 135-72=63, Resulting Numbers: [63]
63,83 unequal: No Solution
Exploring Operation: 72*135=9720, Resulting Numbers: [9720]
9720,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[130, 67], Operations: ['13*10=130', '72-5=67']
Exploring Operation: 130+67=197, Resulting Numbers: [197]
197,83 unequal: No Solution
Exploring Operation: 130-67=63, Resulting Numbers: [63]
63,83 unequal: No Solution
Exploring Operation: 130*67=8710, Resulting Numbers: [8710]
8710,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[72, 26], Operations: ['13*10=130', '130/5=26']
Exploring Operation: 72*26=1872, Resulting Numbers: [1872]
1872,83 unequal: No Solution
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,83 unequal: No Solution
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,83 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
29,
8,
22,
89
] | 74 | [
"29+8=37",
"22+89=111",
"111-37=74"
] | Current State: 74:[29, 8, 22, 89], Operations: []
Exploring Operation: 29+8=37, Resulting Numbers: [22, 89, 37]
Generated Node #2: [22, 89, 37] from Operation: 29+8=37
Current State: 74:[22, 89, 37], Operations: ['29+8=37']
Exploring Operation: 22+89=111, Resulting Numbers: [37, 111]
Generated Node #3: [37, 111] from Operation: 22+89=111
Current State: 74:[37, 111], Operations: ['29+8=37', '22+89=111']
Exploring Operation: 111-37=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[29, 8, 22, 89], Operations: []
Exploring Operation: 89-22=67, Resulting Numbers: [29, 8, 67]
Generated Node #0,0: 74:[29, 8, 67] Operation: 89-22=67
Exploring Operation: 8+22=30, Resulting Numbers: [29, 89, 30]
Generated Node #0,1: 74:[29, 89, 30] Operation: 8+22=30
Exploring Operation: 29-22=7, Resulting Numbers: [8, 89, 7]
Generated Node #0,2: 74:[8, 89, 7] Operation: 29-22=7
Exploring Operation: 89-8=81, Resulting Numbers: [29, 22, 81]
Generated Node #0,3: 74:[29, 22, 81] Operation: 89-8=81
Exploring Operation: 29+8=37, Resulting Numbers: [22, 89, 37]
Generated Node #0,4: 74:[22, 89, 37] Operation: 29+8=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[29, 8, 67], Operations: ['89-22=67']
Exploring Operation: 29+8=37, Resulting Numbers: [67, 37]
Generated Node #0,0,0: 74:[67, 37] Operation: 29+8=37
Exploring Operation: 67-8=59, Resulting Numbers: [29, 59]
Generated Node #0,0,1: 74:[29, 59] Operation: 67-8=59
Exploring Operation: 29-8=21, Resulting Numbers: [67, 21]
Generated Node #0,0,2: 74:[67, 21] Operation: 29-8=21
Exploring Operation: 67-29=38, Resulting Numbers: [8, 38]
Generated Node #0,0,3: 74:[8, 38] Operation: 67-29=38
Exploring Operation: 8+67=75, Resulting Numbers: [29, 75]
Generated Node #0,0,4: 74:[29, 75] Operation: 8+67=75
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[67, 37], Operations: ['89-22=67', '29+8=37']
Exploring Operation: 67*37=2479, Resulting Numbers: [2479]
2479,74 unequal: No Solution
Exploring Operation: 67+37=104, Resulting Numbers: [104]
104,74 unequal: No Solution
Exploring Operation: 67-37=30, Resulting Numbers: [30]
30,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 74:[8, 38], Operations: ['89-22=67', '67-29=38']
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,74 unequal: No Solution
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,74 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 74:[29, 75], Operations: ['89-22=67', '8+67=75']
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,74 unequal: No Solution
Exploring Operation: 29*75=2175, Resulting Numbers: [2175]
2175,74 unequal: No Solution
Exploring Operation: 29+75=104, Resulting Numbers: [104]
104,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 74:[29, 59], Operations: ['89-22=67', '67-8=59']
Exploring Operation: 29+59=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Exploring Operation: 29*59=1711, Resulting Numbers: [1711]
1711,74 unequal: No Solution
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 74:[67, 21], Operations: ['89-22=67', '29-8=21']
Exploring Operation: 67*21=1407, Resulting Numbers: [1407]
1407,74 unequal: No Solution
Exploring Operation: 67-21=46, Resulting Numbers: [46]
46,74 unequal: No Solution
Exploring Operation: 67+21=88, Resulting Numbers: [88]
88,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[8, 89, 7], Operations: ['29-22=7']
Exploring Operation: 8+7=15, Resulting Numbers: [89, 15]
Generated Node #0,2,0: 74:[89, 15] Operation: 8+7=15
Exploring Operation: 8-7=1, Resulting Numbers: [89, 1]
Generated Node #0,2,1: 74:[89, 1] Operation: 8-7=1
Exploring Operation: 89-7=82, Resulting Numbers: [8, 82]
Generated Node #0,2,2: 74:[8, 82] Operation: 89-7=82
Exploring Operation: 89-8=81, Resulting Numbers: [7, 81]
Generated Node #0,2,3: 74:[7, 81] Operation: 89-8=81
Exploring Operation: 8+89=97, Resulting Numbers: [7, 97]
Generated Node #0,2,4: 74:[7, 97] Operation: 8+89=97
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 74:[7, 81], Operations: ['29-22=7', '89-8=81']
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[29, 8, 22, 89], Operations: []
Exploring Operation: 29-22=7, Resulting Numbers: [8, 89, 7]
Generated Node #0,2: 74:[8, 89, 7] Operation: 29-22=7
Moving to Node #0,2
Current State: 74:[8, 89, 7], Operations: ['29-22=7']
Exploring Operation: 89-8=81, Resulting Numbers: [7, 81]
Generated Node #0,2,3: 74:[7, 81] Operation: 89-8=81
Moving to Node #0,2,3
Current State: 74:[7, 81], Operations: ['29-22=7', '89-8=81']
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
[
89,
5,
38,
85
] | 18 | [
"89-85=4",
"5*4=20",
"38-20=18"
] | Current State: 18:[89, 5, 38, 85], Operations: []
Exploring Operation: 89-85=4, Resulting Numbers: [5, 38, 4]
Generated Node #2: [5, 38, 4] from Operation: 89-85=4
Current State: 18:[5, 38, 4], Operations: ['89-85=4']
Exploring Operation: 5*4=20, Resulting Numbers: [38, 20]
Generated Node #3: [38, 20] from Operation: 5*4=20
Current State: 18:[38, 20], Operations: ['89-85=4', '5*4=20']
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[89, 5, 38, 85], Operations: []
Exploring Operation: 89-85=4, Resulting Numbers: [5, 38, 4]
Generated Node #0,0: 18:[5, 38, 4] Operation: 89-85=4
Exploring Operation: 89-38=51, Resulting Numbers: [5, 85, 51]
Generated Node #0,1: 18:[5, 85, 51] Operation: 89-38=51
Exploring Operation: 85/5=17, Resulting Numbers: [89, 38, 17]
Generated Node #0,2: 18:[89, 38, 17] Operation: 85/5=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[5, 38, 4], Operations: ['89-85=4']
Exploring Operation: 5+4=9, Resulting Numbers: [38, 9]
Generated Node #0,0,0: 18:[38, 9] Operation: 5+4=9
Exploring Operation: 38-4=34, Resulting Numbers: [5, 34]
Generated Node #0,0,1: 18:[5, 34] Operation: 38-4=34
Exploring Operation: 38-5=33, Resulting Numbers: [4, 33]
Generated Node #0,0,2: 18:[4, 33] Operation: 38-5=33
Moving to Node #0,0,2
Current State: 18:[4, 33], Operations: ['89-85=4', '38-5=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,18 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,18 unequal: No Solution
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[5, 34], Operations: ['89-85=4', '38-4=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,18 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,18 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[38, 9], Operations: ['89-85=4', '5+4=9']
Exploring Operation: 38+9=47, Resulting Numbers: [47]
47,18 unequal: No Solution
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,18 unequal: No Solution
Exploring Operation: 38*9=342, Resulting Numbers: [342]
342,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[89, 38, 17], Operations: ['85/5=17']
Exploring Operation: 38-17=21, Resulting Numbers: [89, 21]
Generated Node #0,2,0: 18:[89, 21] Operation: 38-17=21
Exploring Operation: 89-17=72, Resulting Numbers: [38, 72]
Generated Node #0,2,1: 18:[38, 72] Operation: 89-17=72
Exploring Operation: 89-38=51, Resulting Numbers: [17, 51]
Generated Node #0,2,2: 18:[17, 51] Operation: 89-38=51
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 18:[17, 51], Operations: ['85/5=17', '89-38=51']
Exploring Operation: 17+51=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 18:[89, 21], Operations: ['85/5=17', '38-17=21']
Exploring Operation: 89*21=1869, Resulting Numbers: [1869]
1869,18 unequal: No Solution
Exploring Operation: 89+21=110, Resulting Numbers: [110]
110,18 unequal: No Solution
Exploring Operation: 89-21=68, Resulting Numbers: [68]
68,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 18:[38, 72], Operations: ['85/5=17', '89-17=72']
Exploring Operation: 38*72=2736, Resulting Numbers: [2736]
2736,18 unequal: No Solution
Exploring Operation: 72-38=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 38+72=110, Resulting Numbers: [110]
110,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[5, 85, 51], Operations: ['89-38=51']
Exploring Operation: 85-51=34, Resulting Numbers: [5, 34]
Generated Node #0,1,0: 18:[5, 34] Operation: 85-51=34
Exploring Operation: 85-5=80, Resulting Numbers: [51, 80]
Generated Node #0,1,1: 18:[51, 80] Operation: 85-5=80
Exploring Operation: 85/5=17, Resulting Numbers: [51, 17]
Generated Node #0,1,2: 18:[51, 17] Operation: 85/5=17
Moving to Node #0,1,0
Current State: 18:[5, 34], Operations: ['89-38=51', '85-51=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,18 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,18 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[51, 17], Operations: ['89-38=51', '85/5=17']
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[51, 80], Operations: ['89-38=51', '85-5=80']
Exploring Operation: 51+80=131, Resulting Numbers: [131]
131,18 unequal: No Solution
Exploring Operation: 51*80=4080, Resulting Numbers: [4080]
4080,18 unequal: No Solution
Exploring Operation: 80-51=29, Resulting Numbers: [29]
29,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
10,
77,
9,
43
] | 33 | [
"77-10=67",
"43-9=34",
"67-34=33"
] | Current State: 33:[10, 77, 9, 43], Operations: []
Exploring Operation: 77-10=67, Resulting Numbers: [9, 43, 67]
Generated Node #2: [9, 43, 67] from Operation: 77-10=67
Current State: 33:[9, 43, 67], Operations: ['77-10=67']
Exploring Operation: 43-9=34, Resulting Numbers: [67, 34]
Generated Node #3: [67, 34] from Operation: 43-9=34
Current State: 33:[67, 34], Operations: ['77-10=67', '43-9=34']
Exploring Operation: 67-34=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[10, 77, 9, 43], Operations: []
Exploring Operation: 77-43=34, Resulting Numbers: [10, 9, 34]
Generated Node #0,0: 33:[10, 9, 34] Operation: 77-43=34
Exploring Operation: 77-10=67, Resulting Numbers: [9, 43, 67]
Generated Node #0,1: 33:[9, 43, 67] Operation: 77-10=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[10, 9, 34], Operations: ['77-43=34']
Exploring Operation: 10-9=1, Resulting Numbers: [34, 1]
Generated Node #0,0,0: 33:[34, 1] Operation: 10-9=1
Exploring Operation: 10+9=19, Resulting Numbers: [34, 19]
Generated Node #0,0,1: 33:[34, 19] Operation: 10+9=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[34, 1], Operations: ['77-43=34', '10-9=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[10, 77, 9, 43], Operations: []
Exploring Operation: 77-43=34, Resulting Numbers: [10, 9, 34]
Generated Node #0,0: 33:[10, 9, 34] Operation: 77-43=34
Moving to Node #0,0
Current State: 33:[10, 9, 34], Operations: ['77-43=34']
Exploring Operation: 10-9=1, Resulting Numbers: [34, 1]
Generated Node #0,0,0: 33:[34, 1] Operation: 10-9=1
Moving to Node #0,0,0
Current State: 33:[34, 1], Operations: ['77-43=34', '10-9=1']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
1,
36,
87,
83
] | 12 | [
"87-1=86",
"86-83=3",
"36/3=12"
] | Current State: 12:[1, 36, 87, 83], Operations: []
Exploring Operation: 87-1=86, Resulting Numbers: [36, 83, 86]
Generated Node #2: [36, 83, 86] from Operation: 87-1=86
Current State: 12:[36, 83, 86], Operations: ['87-1=86']
Exploring Operation: 86-83=3, Resulting Numbers: [36, 3]
Generated Node #3: [36, 3] from Operation: 86-83=3
Current State: 12:[36, 3], Operations: ['87-1=86', '86-83=3']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[1, 36, 87, 83], Operations: []
Exploring Operation: 87-36=51, Resulting Numbers: [1, 83, 51]
Generated Node #0,0: 12:[1, 83, 51] Operation: 87-36=51
Exploring Operation: 87-83=4, Resulting Numbers: [1, 36, 4]
Generated Node #0,1: 12:[1, 36, 4] Operation: 87-83=4
Exploring Operation: 83-36=47, Resulting Numbers: [1, 87, 47]
Generated Node #0,2: 12:[1, 87, 47] Operation: 83-36=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[1, 36, 4], Operations: ['87-83=4']
Exploring Operation: 36-4=32, Resulting Numbers: [1, 32]
Generated Node #0,1,0: 12:[1, 32] Operation: 36-4=32
Exploring Operation: 36/4=9, Resulting Numbers: [1, 9]
Generated Node #0,1,1: 12:[1, 9] Operation: 36/4=9
Exploring Operation: 36-1=35, Resulting Numbers: [4, 35]
Generated Node #0,1,2: 12:[4, 35] Operation: 36-1=35
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 12:[1, 9], Operations: ['87-83=4', '36/4=9']
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,12 unequal: No Solution
No 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: 12:[1, 32], Operations: ['87-83=4', '36-4=32']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,12 unequal: No Solution
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,12 unequal: No Solution
No 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: 12:[4, 35], Operations: ['87-83=4', '36-1=35']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,12 unequal: No Solution
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,12 unequal: No Solution
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,12 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: 12:[1, 83, 51], Operations: ['87-36=51']
Exploring Operation: 83-51=32, Resulting Numbers: [1, 32]
Generated Node #0,0,0: 12:[1, 32] Operation: 83-51=32
Exploring Operation: 83-1=82, Resulting Numbers: [51, 82]
Generated Node #0,0,1: 12:[51, 82] Operation: 83-1=82
Exploring Operation: 51-1=50, Resulting Numbers: [83, 50]
Generated Node #0,0,2: 12:[83, 50] Operation: 51-1=50
Moving to Node #0,0,0
Current State: 12:[1, 32], Operations: ['87-36=51', '83-51=32']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,12 unequal: No Solution
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[51, 82], Operations: ['87-36=51', '83-1=82']
Exploring Operation: 51*82=4182, Resulting Numbers: [4182]
4182,12 unequal: No Solution
Exploring Operation: 82-51=31, Resulting Numbers: [31]
31,12 unequal: No Solution
Exploring Operation: 51+82=133, Resulting Numbers: [133]
133,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[83, 50], Operations: ['87-36=51', '51-1=50']
Exploring Operation: 83-50=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 83+50=133, Resulting Numbers: [133]
133,12 unequal: No Solution
Exploring Operation: 83*50=4150, Resulting Numbers: [4150]
4150,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[1, 87, 47], Operations: ['83-36=47']
Exploring Operation: 87-1=86, Resulting Numbers: [47, 86]
Generated Node #0,2,0: 12:[47, 86] Operation: 87-1=86
Exploring Operation: 47-1=46, Resulting Numbers: [87, 46]
Generated Node #0,2,1: 12:[87, 46] Operation: 47-1=46
Exploring Operation: 87-47=40, Resulting Numbers: [1, 40]
Generated Node #0,2,2: 12:[1, 40] Operation: 87-47=40
Moving to Node #0,2,2
Current State: 12:[1, 40], Operations: ['83-36=47', '87-47=40']
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,12 unequal: No Solution
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,12 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[47, 86], Operations: ['83-36=47', '87-1=86']
Exploring Operation: 86-47=39, Resulting Numbers: [39]
39,12 unequal: No Solution
Exploring Operation: 47*86=4042, Resulting Numbers: [4042]
4042,12 unequal: No Solution
Exploring Operation: 47+86=133, Resulting Numbers: [133]
133,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[87, 46], Operations: ['83-36=47', '47-1=46']
Exploring Operation: 87*46=4002, Resulting Numbers: [4002]
4002,12 unequal: No Solution
Exploring Operation: 87+46=133, Resulting Numbers: [133]
133,12 unequal: No Solution
Exploring Operation: 87-46=41, Resulting Numbers: [41]
41,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
34,
31,
50,
65
] | 45 | [
"34-31=3",
"65-50=15",
"3*15=45"
] | Current State: 45:[34, 31, 50, 65], Operations: []
Exploring Operation: 34-31=3, Resulting Numbers: [50, 65, 3]
Generated Node #2: [50, 65, 3] from Operation: 34-31=3
Current State: 45:[50, 65, 3], Operations: ['34-31=3']
Exploring Operation: 65-50=15, Resulting Numbers: [3, 15]
Generated Node #3: [3, 15] from Operation: 65-50=15
Current State: 45:[3, 15], Operations: ['34-31=3', '65-50=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[34, 31, 50, 65], Operations: []
Exploring Operation: 34-31=3, Resulting Numbers: [50, 65, 3]
Generated Node #0,0: 45:[50, 65, 3] Operation: 34-31=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[50, 65, 3], Operations: ['34-31=3']
Exploring Operation: 65-50=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 45:[3, 15] Operation: 65-50=15
Moving to Node #0,0,0
Current State: 45:[3, 15], Operations: ['34-31=3', '65-50=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[34, 31, 50, 65], Operations: []
Exploring Operation: 34-31=3, Resulting Numbers: [50, 65, 3]
Generated Node #0,0: 45:[50, 65, 3] Operation: 34-31=3
Moving to Node #0,0
Current State: 45:[50, 65, 3], Operations: ['34-31=3']
Exploring Operation: 65-50=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 45:[3, 15] Operation: 65-50=15
Moving to Node #0,0,0
Current State: 45:[3, 15], Operations: ['34-31=3', '65-50=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
74,
47,
68,
11
] | 79 | [
"74+47=121",
"121/11=11",
"68+11=79"
] | Current State: 79:[74, 47, 68, 11], Operations: []
Exploring Operation: 74+47=121, Resulting Numbers: [68, 11, 121]
Generated Node #2: [68, 11, 121] from Operation: 74+47=121
Current State: 79:[68, 11, 121], Operations: ['74+47=121']
Exploring Operation: 121/11=11, Resulting Numbers: [68, 11]
Generated Node #3: [68, 11] from Operation: 121/11=11
Current State: 79:[68, 11], Operations: ['74+47=121', '121/11=11']
Exploring Operation: 68+11=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[74, 47, 68, 11], Operations: []
Exploring Operation: 68+11=79, Resulting Numbers: [74, 47, 79]
Generated Node #0,0: 79:[74, 47, 79] Operation: 68+11=79
Exploring Operation: 47+11=58, Resulting Numbers: [74, 68, 58]
Generated Node #0,1: 79:[74, 68, 58] Operation: 47+11=58
Moving to Node #0,0
Current State: 79:[74, 47, 79], Operations: ['68+11=79']
Exploring Operation: 74-47=27, Resulting Numbers: [79, 27]
Generated Node #0,0,0: 79:[79, 27] Operation: 74-47=27
Exploring Operation: 74+47=121, Resulting Numbers: [79, 121]
Generated Node #0,0,1: 79:[79, 121] Operation: 74+47=121
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[79, 121], Operations: ['68+11=79', '74+47=121']
Exploring Operation: 121-79=42, Resulting Numbers: [42]
42,79 unequal: No Solution
Exploring Operation: 79+121=200, Resulting Numbers: [200]
200,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[79, 27], Operations: ['68+11=79', '74-47=27']
Exploring Operation: 79+27=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,79 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: 79:[74, 68, 58], Operations: ['47+11=58']
Exploring Operation: 74+58=132, Resulting Numbers: [68, 132]
Generated Node #0,1,0: 79:[68, 132] Operation: 74+58=132
Exploring Operation: 68+58=126, Resulting Numbers: [74, 126]
Generated Node #0,1,1: 79:[74, 126] Operation: 68+58=126
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[74, 126], Operations: ['47+11=58', '68+58=126']
Exploring Operation: 126-74=52, Resulting Numbers: [52]
52,79 unequal: No Solution
Exploring Operation: 74+126=200, Resulting Numbers: [200]
200,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[68, 132], Operations: ['47+11=58', '74+58=132']
Exploring Operation: 68+132=200, Resulting Numbers: [200]
200,79 unequal: No Solution
Exploring Operation: 132-68=64, Resulting Numbers: [64]
64,79 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 |
[
35,
39,
3,
30
] | 49 | [
"39+3=42",
"35*42=1470",
"1470/30=49"
] | Current State: 49:[35, 39, 3, 30], Operations: []
Exploring Operation: 39+3=42, Resulting Numbers: [35, 30, 42]
Generated Node #2: [35, 30, 42] from Operation: 39+3=42
Current State: 49:[35, 30, 42], Operations: ['39+3=42']
Exploring Operation: 35*42=1470, Resulting Numbers: [30, 1470]
Generated Node #3: [30, 1470] from Operation: 35*42=1470
Current State: 49:[30, 1470], Operations: ['39+3=42', '35*42=1470']
Exploring Operation: 1470/30=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[35, 39, 3, 30], Operations: []
Exploring Operation: 39-35=4, Resulting Numbers: [3, 30, 4]
Generated Node #0,0: 49:[3, 30, 4] Operation: 39-35=4
Exploring Operation: 35-30=5, Resulting Numbers: [39, 3, 5]
Generated Node #0,1: 49:[39, 3, 5] Operation: 35-30=5
Exploring Operation: 39-30=9, Resulting Numbers: [35, 3, 9]
Generated Node #0,2: 49:[35, 3, 9] Operation: 39-30=9
Exploring Operation: 30/3=10, Resulting Numbers: [35, 39, 10]
Generated Node #0,3: 49:[35, 39, 10] Operation: 30/3=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[39, 3, 5], Operations: ['35-30=5']
Exploring Operation: 39+5=44, Resulting Numbers: [3, 44]
Generated Node #0,1,0: 49:[3, 44] Operation: 39+5=44
Exploring Operation: 3+5=8, Resulting Numbers: [39, 8]
Generated Node #0,1,1: 49:[39, 8] Operation: 3+5=8
Exploring Operation: 39/3=13, Resulting Numbers: [5, 13]
Generated Node #0,1,2: 49:[5, 13] Operation: 39/3=13
Exploring Operation: 39+3=42, Resulting Numbers: [5, 42]
Generated Node #0,1,3: 49:[5, 42] Operation: 39+3=42
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 49:[5, 13], Operations: ['35-30=5', '39/3=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,49 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,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,1,0
Current State: 49:[3, 44], Operations: ['35-30=5', '39+5=44']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,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,1,3
Current State: 49:[5, 42], Operations: ['35-30=5', '39+3=42']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 5*42=210, Resulting Numbers: [210]
210,49 unequal: No Solution
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,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,1,1
Current State: 49:[39, 8], Operations: ['35-30=5', '3+5=8']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,49 unequal: No Solution
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 39*8=312, Resulting Numbers: [312]
312,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,2
Current State: 49:[35, 3, 9], Operations: ['39-30=9']
Exploring Operation: 9/3=3, Resulting Numbers: [35, 3]
Generated Node #0,2,0: 49:[35, 3] Operation: 9/3=3
Exploring Operation: 35+9=44, Resulting Numbers: [3, 44]
Generated Node #0,2,1: 49:[3, 44] Operation: 35+9=44
Exploring Operation: 9-3=6, Resulting Numbers: [35, 6]
Generated Node #0,2,2: 49:[35, 6] Operation: 9-3=6
Exploring Operation: 35+3=38, Resulting Numbers: [9, 38]
Generated Node #0,2,3: 49:[9, 38] Operation: 35+3=38
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 49:[3, 44], Operations: ['39-30=9', '35+9=44']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,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:[9, 38], Operations: ['39-30=9', '35+3=38']
Exploring Operation: 9+38=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 9*38=342, Resulting Numbers: [342]
342,49 unequal: No Solution
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,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:[35, 6], Operations: ['39-30=9', '9-3=6']
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,49 unequal: No Solution
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,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,0
Current State: 49:[35, 3], Operations: ['39-30=9', '9/3=3']
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,49 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,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:[3, 30, 4], Operations: ['39-35=4']
Exploring Operation: 30+4=34, Resulting Numbers: [3, 34]
Generated Node #0,0,0: 49:[3, 34] Operation: 30+4=34
Exploring Operation: 3+30=33, Resulting Numbers: [4, 33]
Generated Node #0,0,1: 49:[4, 33] Operation: 3+30=33
Exploring Operation: 30/3=10, Resulting Numbers: [4, 10]
Generated Node #0,0,2: 49:[4, 10] Operation: 30/3=10
Exploring Operation: 3+4=7, Resulting Numbers: [30, 7]
Generated Node #0,0,3: 49:[30, 7] Operation: 3+4=7
Moving to Node #0,0,2
Current State: 49:[4, 10], Operations: ['39-35=4', '30/3=10']
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
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[4, 33], Operations: ['39-35=4', '3+30=33']
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[3, 34], Operations: ['39-35=4', '30+4=34']
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,49 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,49 unequal: No Solution
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[30, 7], Operations: ['39-35=4', '3+4=7']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,49 unequal: No Solution
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 30*7=210, Resulting Numbers: [210]
210,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:[35, 39, 10], Operations: ['30/3=10']
Exploring Operation: 39+10=49, Resulting Numbers: [35, 49]
Generated Node #0,3,0: 49:[35, 49] Operation: 39+10=49
Exploring Operation: 39-35=4, Resulting Numbers: [10, 4]
Generated Node #0,3,1: 49:[10, 4] Operation: 39-35=4
Exploring Operation: 35+39=74, Resulting Numbers: [10, 74]
Generated Node #0,3,2: 49:[10, 74] Operation: 35+39=74
Exploring Operation: 35+10=45, Resulting Numbers: [39, 45]
Generated Node #0,3,3: 49:[39, 45] Operation: 35+10=45
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 49:[10, 4], Operations: ['30/3=10', '39-35=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,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,0
Current State: 49:[35, 49], Operations: ['30/3=10', '39+10=49']
Exploring Operation: 35+49=84, Resulting Numbers: [84]
84,49 unequal: No Solution
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 35*49=1715, Resulting Numbers: [1715]
1715,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:[39, 45], Operations: ['30/3=10', '35+10=45']
Exploring Operation: 39+45=84, Resulting Numbers: [84]
84,49 unequal: No Solution
Exploring Operation: 39*45=1755, Resulting Numbers: [1755]
1755,49 unequal: No Solution
Exploring Operation: 45-39=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,3,2
Current State: 49:[10, 74], Operations: ['30/3=10', '35+39=74']
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,49 unequal: No Solution
Exploring Operation: 10*74=740, Resulting Numbers: [740]
740,49 unequal: No Solution
Exploring Operation: 10+74=84, Resulting Numbers: [84]
84,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 |
[
32,
20,
79,
74
] | 47 | [
"32+20=52",
"79-74=5",
"52-5=47"
] | Current State: 47:[32, 20, 79, 74], Operations: []
Exploring Operation: 32+20=52, Resulting Numbers: [79, 74, 52]
Generated Node #2: [79, 74, 52] from Operation: 32+20=52
Current State: 47:[79, 74, 52], Operations: ['32+20=52']
Exploring Operation: 79-74=5, Resulting Numbers: [52, 5]
Generated Node #3: [52, 5] from Operation: 79-74=5
Current State: 47:[52, 5], Operations: ['32+20=52', '79-74=5']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[32, 20, 79, 74], Operations: []
Exploring Operation: 79-32=47, Resulting Numbers: [20, 74, 47]
Generated Node #0,0: 47:[20, 74, 47] Operation: 79-32=47
Moving to Node #0,0
Current State: 47:[20, 74, 47], Operations: ['79-32=47']
Exploring Operation: 74-20=54, Resulting Numbers: [47, 54]
Generated Node #0,0,0: 47:[47, 54] Operation: 74-20=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[47, 54], Operations: ['79-32=47', '74-20=54']
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,47 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 |
[
8,
63,
27,
25
] | 67 | [
"27-25=2",
"8/2=4",
"63+4=67"
] | Current State: 67:[8, 63, 27, 25], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [8, 63, 2]
Generated Node #2: [8, 63, 2] from Operation: 27-25=2
Current State: 67:[8, 63, 2], Operations: ['27-25=2']
Exploring Operation: 8/2=4, Resulting Numbers: [63, 4]
Generated Node #3: [63, 4] from Operation: 8/2=4
Current State: 67:[63, 4], Operations: ['27-25=2', '8/2=4']
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[8, 63, 27, 25], Operations: []
Exploring Operation: 8+25=33, Resulting Numbers: [63, 27, 33]
Generated Node #0,0: 67:[63, 27, 33] Operation: 8+25=33
Exploring Operation: 8+27=35, Resulting Numbers: [63, 25, 35]
Generated Node #0,1: 67:[63, 25, 35] Operation: 8+27=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[63, 27, 33], Operations: ['8+25=33']
Exploring Operation: 27+33=60, Resulting Numbers: [63, 60]
Generated Node #0,0,0: 67:[63, 60] Operation: 27+33=60
Exploring Operation: 63+27=90, Resulting Numbers: [33, 90]
Generated Node #0,0,1: 67:[33, 90] Operation: 63+27=90
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[63, 60], Operations: ['8+25=33', '27+33=60']
Exploring Operation: 63-60=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Exploring Operation: 63+60=123, Resulting Numbers: [123]
123,67 unequal: No Solution
No 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: 67:[33, 90], Operations: ['8+25=33', '63+27=90']
Exploring Operation: 90-33=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 33+90=123, Resulting Numbers: [123]
123,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[63, 25, 35], Operations: ['8+27=35']
Exploring Operation: 25+35=60, Resulting Numbers: [63, 60]
Generated Node #0,1,0: 67:[63, 60] Operation: 25+35=60
Exploring Operation: 63+25=88, Resulting Numbers: [35, 88]
Generated Node #0,1,1: 67:[35, 88] Operation: 63+25=88
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[63, 60], Operations: ['8+27=35', '25+35=60']
Exploring Operation: 63+60=123, Resulting Numbers: [123]
123,67 unequal: No Solution
Exploring Operation: 63-60=3, Resulting Numbers: [3]
3,67 unequal: No Solution
No 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: 67:[35, 88], Operations: ['8+27=35', '63+25=88']
Exploring Operation: 88-35=53, Resulting Numbers: [53]
53,67 unequal: No Solution
Exploring Operation: 35+88=123, Resulting Numbers: [123]
123,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
67,
31,
17,
17
] | 37 | [
"67-31=36",
"17/17=1",
"36+1=37"
] | Current State: 37:[67, 31, 17, 17], Operations: []
Exploring Operation: 67-31=36, Resulting Numbers: [17, 17, 36]
Generated Node #2: [17, 17, 36] from Operation: 67-31=36
Current State: 37:[17, 17, 36], Operations: ['67-31=36']
Exploring Operation: 17/17=1, Resulting Numbers: [36, 1]
Generated Node #3: [36, 1] from Operation: 17/17=1
Current State: 37:[36, 1], Operations: ['67-31=36', '17/17=1']
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[67, 31, 17, 17], Operations: []
Exploring Operation: 67-31=36, Resulting Numbers: [17, 17, 36]
Generated Node #0,0: 37:[17, 17, 36] Operation: 67-31=36
Exploring Operation: 17+17=34, Resulting Numbers: [67, 31, 34]
Generated Node #0,1: 37:[67, 31, 34] Operation: 17+17=34
Exploring Operation: 67-17=50, Resulting Numbers: [31, 17, 50]
Generated Node #0,2: 37:[31, 17, 50] Operation: 67-17=50
Exploring Operation: 67-17=50, Resulting Numbers: [31, 17, 50]
Generated Node #0,3: 37:[31, 17, 50] Operation: 67-17=50
Moving to Node #0,1
Current State: 37:[67, 31, 34], Operations: ['17+17=34']
Exploring Operation: 67-34=33, Resulting Numbers: [31, 33]
Generated Node #0,1,0: 37:[31, 33] Operation: 67-34=33
Exploring Operation: 67-31=36, Resulting Numbers: [34, 36]
Generated Node #0,1,1: 37:[34, 36] Operation: 67-31=36
Exploring Operation: 31+34=65, Resulting Numbers: [67, 65]
Generated Node #0,1,2: 37:[67, 65] Operation: 31+34=65
Exploring Operation: 67+31=98, Resulting Numbers: [34, 98]
Generated Node #0,1,3: 37:[34, 98] Operation: 67+31=98
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 37:[34, 36], Operations: ['17+17=34', '67-31=36']
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,37 unequal: No Solution
Exploring Operation: 34*36=1224, Resulting Numbers: [1224]
1224,37 unequal: No Solution
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,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,0
Current State: 37:[31, 33], Operations: ['17+17=34', '67-34=33']
Exploring Operation: 31*33=1023, Resulting Numbers: [1023]
1023,37 unequal: No Solution
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,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,2
Current State: 37:[67, 65], Operations: ['17+17=34', '31+34=65']
Exploring Operation: 67-65=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 67+65=132, Resulting Numbers: [132]
132,37 unequal: No Solution
Exploring Operation: 67*65=4355, Resulting Numbers: [4355]
4355,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,3
Current State: 37:[34, 98], Operations: ['17+17=34', '67+31=98']
Exploring Operation: 98-34=64, Resulting Numbers: [64]
64,37 unequal: No Solution
Exploring Operation: 34*98=3332, Resulting Numbers: [3332]
3332,37 unequal: No Solution
Exploring Operation: 34+98=132, Resulting Numbers: [132]
132,37 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: 37:[31, 17, 50], Operations: ['67-17=50']
Exploring Operation: 17+50=67, Resulting Numbers: [31, 67]
Generated Node #0,3,0: 37:[31, 67] Operation: 17+50=67
Exploring Operation: 31+17=48, Resulting Numbers: [50, 48]
Generated Node #0,3,1: 37:[50, 48] Operation: 31+17=48
Exploring Operation: 50-17=33, Resulting Numbers: [31, 33]
Generated Node #0,3,2: 37:[31, 33] Operation: 50-17=33
Exploring Operation: 31-17=14, Resulting Numbers: [50, 14]
Generated Node #0,3,3: 37:[50, 14] Operation: 31-17=14
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 37:[31, 33], Operations: ['67-17=50', '50-17=33']
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 31*33=1023, Resulting Numbers: [1023]
1023,37 unequal: No Solution
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 37:[50, 48], Operations: ['67-17=50', '31+17=48']
Exploring Operation: 50*48=2400, Resulting Numbers: [2400]
2400,37 unequal: No Solution
Exploring Operation: 50+48=98, Resulting Numbers: [98]
98,37 unequal: No Solution
Exploring Operation: 50-48=2, Resulting Numbers: [2]
2,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 37:[31, 67], Operations: ['67-17=50', '17+50=67']
Exploring Operation: 31+67=98, Resulting Numbers: [98]
98,37 unequal: No Solution
Exploring Operation: 31*67=2077, Resulting Numbers: [2077]
2077,37 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 37:[50, 14], Operations: ['67-17=50', '31-17=14']
Exploring Operation: 50+14=64, Resulting Numbers: [64]
64,37 unequal: No Solution
Exploring Operation: 50*14=700, Resulting Numbers: [700]
700,37 unequal: No Solution
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,37 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: 37:[31, 17, 50], Operations: ['67-17=50']
Exploring Operation: 31+17=48, Resulting Numbers: [50, 48]
Generated Node #0,2,0: 37:[50, 48] Operation: 31+17=48
Exploring Operation: 50-17=33, Resulting Numbers: [31, 33]
Generated Node #0,2,1: 37:[31, 33] Operation: 50-17=33
Exploring Operation: 17+50=67, Resulting Numbers: [31, 67]
Generated Node #0,2,2: 37:[31, 67] Operation: 17+50=67
Exploring Operation: 31-17=14, Resulting Numbers: [50, 14]
Generated Node #0,2,3: 37:[50, 14] Operation: 31-17=14
Moving to Node #0,0
Current State: 37:[17, 17, 36], Operations: ['67-31=36']
Exploring Operation: 17+17=34, Resulting Numbers: [36, 34]
Generated Node #0,0,0: 37:[36, 34] Operation: 17+17=34
Exploring Operation: 17+36=53, Resulting Numbers: [17, 53]
Generated Node #0,0,1: 37:[17, 53] Operation: 17+36=53
Exploring Operation: 17+36=53, Resulting Numbers: [17, 53]
Generated Node #0,0,2: 37:[17, 53] Operation: 17+36=53
Exploring Operation: 17/17=1, Resulting Numbers: [36, 1]
Generated Node #0,0,3: 37:[36, 1] Operation: 17/17=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[36, 34], Operations: ['67-31=36', '17+17=34']
Exploring Operation: 36*34=1224, Resulting Numbers: [1224]
1224,37 unequal: No Solution
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,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,0,1
Current State: 37:[17, 53], Operations: ['67-31=36', '17+36=53']
Exploring Operation: 17*53=901, Resulting Numbers: [901]
901,37 unequal: No Solution
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 17+53=70, Resulting Numbers: [70]
70,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,0,2
Current State: 37:[17, 53], Operations: ['67-31=36', '17+36=53']
Exploring Operation: 17*53=901, Resulting Numbers: [901]
901,37 unequal: No Solution
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 17+53=70, Resulting Numbers: [70]
70,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,0,3
Current State: 37:[36, 1], Operations: ['67-31=36', '17/17=1']
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[67, 31, 17, 17], Operations: []
Exploring Operation: 67-31=36, Resulting Numbers: [17, 17, 36]
Generated Node #0,0: 37:[17, 17, 36] Operation: 67-31=36
Moving to Node #0,0
Current State: 37:[17, 17, 36], Operations: ['67-31=36']
Exploring Operation: 17/17=1, Resulting Numbers: [36, 1]
Generated Node #0,0,3: 37:[36, 1] Operation: 17/17=1
Moving to Node #0,0,3
Current State: 37:[36, 1], Operations: ['67-31=36', '17/17=1']
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.949653 | hs_4 | sum_heuristic |
[
51,
11,
10,
2
] | 30 | [
"51-11=40",
"40/2=20",
"10+20=30"
] | Current State: 30:[51, 11, 10, 2], Operations: []
Exploring Operation: 51-11=40, Resulting Numbers: [10, 2, 40]
Generated Node #2: [10, 2, 40] from Operation: 51-11=40
Current State: 30:[10, 2, 40], Operations: ['51-11=40']
Exploring Operation: 40/2=20, Resulting Numbers: [10, 20]
Generated Node #3: [10, 20] from Operation: 40/2=20
Current State: 30:[10, 20], Operations: ['51-11=40', '40/2=20']
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[51, 11, 10, 2], Operations: []
Exploring Operation: 51-10=41, Resulting Numbers: [11, 2, 41]
Generated Node #0,0: 30:[11, 2, 41] Operation: 51-10=41
Exploring Operation: 51-11=40, Resulting Numbers: [10, 2, 40]
Generated Node #0,1: 30:[10, 2, 40] Operation: 51-11=40
Exploring Operation: 51-2=49, Resulting Numbers: [11, 10, 49]
Generated Node #0,2: 30:[11, 10, 49] Operation: 51-2=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[10, 2, 40], Operations: ['51-11=40']
Exploring Operation: 40/10=4, Resulting Numbers: [2, 4]
Generated Node #0,1,0: 30:[2, 4] Operation: 40/10=4
Exploring Operation: 40/2=20, Resulting Numbers: [10, 20]
Generated Node #0,1,1: 30:[10, 20] Operation: 40/2=20
Exploring Operation: 40-10=30, Resulting Numbers: [2, 30]
Generated Node #0,1,2: 30:[2, 30] Operation: 40-10=30
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 30:[2, 30], Operations: ['51-11=40', '40-10=30']
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,30 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,30 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 30:[2, 4], Operations: ['51-11=40', '40/10=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 30:[10, 20], Operations: ['51-11=40', '40/2=20']
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[51, 11, 10, 2], Operations: []
Exploring Operation: 51-11=40, Resulting Numbers: [10, 2, 40]
Generated Node #0,1: 30:[10, 2, 40] Operation: 51-11=40
Moving to Node #0,1
Current State: 30:[10, 2, 40], Operations: ['51-11=40']
Exploring Operation: 40/2=20, Resulting Numbers: [10, 20]
Generated Node #0,1,1: 30:[10, 20] Operation: 40/2=20
Moving to Node #0,1,1
Current State: 30:[10, 20], Operations: ['51-11=40', '40/2=20']
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
64,
34,
4,
30
] | 56 | [
"64-34=30",
"30-4=26",
"30+26=56"
] | Current State: 56:[64, 34, 4, 30], Operations: []
Exploring Operation: 64-34=30, Resulting Numbers: [4, 30, 30]
Generated Node #2: [4, 30, 30] from Operation: 64-34=30
Current State: 56:[4, 30, 30], Operations: ['64-34=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,56 equal: Goal Reached
Exploring Operation: 30+26=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[64, 34, 4, 30], Operations: []
Exploring Operation: 64-30=34, Resulting Numbers: [34, 4, 34]
Generated Node #0,0: 56:[34, 4, 34] Operation: 64-30=34
Exploring Operation: 34-30=4, Resulting Numbers: [64, 4, 4]
Generated Node #0,1: 56:[64, 4, 4] Operation: 34-30=4
Exploring Operation: 64-34=30, Resulting Numbers: [4, 30, 30]
Generated Node #0,2: 56:[4, 30, 30] Operation: 64-34=30
Exploring Operation: 64/4=16, Resulting Numbers: [34, 30, 16]
Generated Node #0,3: 56:[34, 30, 16] Operation: 64/4=16
Exploring Operation: 64-4=60, Resulting Numbers: [34, 30, 60]
Generated Node #0,4: 56:[34, 30, 60] Operation: 64-4=60
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[4, 30, 30], Operations: ['64-34=30']
Exploring Operation: 30-30=0, Resulting Numbers: [4, 0]
Generated Node #0,2,0: 56:[4, 0] Operation: 30-30=0
Exploring Operation: 30/30=1, Resulting Numbers: [4, 1]
Generated Node #0,2,1: 56:[4, 1] Operation: 30/30=1
Exploring Operation: 30-4=26, Resulting Numbers: [30, 26]
Generated Node #0,2,2: 56:[30, 26] Operation: 30-4=26
Exploring Operation: 30+30=60, Resulting Numbers: [4, 60]
Generated Node #0,2,3: 56:[4, 60] Operation: 30+30=60
Exploring Operation: 30-4=26, Resulting Numbers: [30, 26]
Generated Node #0,2,4: 56:[30, 26] Operation: 30-4=26
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 56:[4, 1], Operations: ['64-34=30', '30/30=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 56:[4, 0], Operations: ['64-34=30', '30-30=0']
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 56:[30, 26], Operations: ['64-34=30', '30-4=26']
Exploring Operation: 30*26=780, Resulting Numbers: [780]
780,56 unequal: No Solution
Exploring Operation: 30+26=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[64, 34, 4, 30], Operations: []
Exploring Operation: 64-34=30, Resulting Numbers: [4, 30, 30]
Generated Node #0,2: 56:[4, 30, 30] Operation: 64-34=30
Moving to Node #0,2
Current State: 56:[4, 30, 30], Operations: ['64-34=30']
Exploring Operation: 30-4=26, Resulting Numbers: [30, 26]
Generated Node #0,2,2: 56:[30, 26] Operation: 30-4=26
Moving to Node #0,2,2
Current State: 56:[30, 26], Operations: ['64-34=30', '30-4=26']
Exploring Operation: 30+26=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
29,
12,
82,
46
] | 41 | [
"29*82=2378",
"12+46=58",
"2378/58=41"
] | Current State: 41:[29, 12, 82, 46], Operations: []
Exploring Operation: 29*82=2378, Resulting Numbers: [12, 46, 2378]
Generated Node #2: [12, 46, 2378] from Operation: 29*82=2378
Current State: 41:[12, 46, 2378], Operations: ['29*82=2378']
Exploring Operation: 12+46=58, Resulting Numbers: [2378, 58]
Generated Node #3: [2378, 58] from Operation: 12+46=58
Current State: 41:[2378, 58], Operations: ['29*82=2378', '12+46=58']
Exploring Operation: 2378/58=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[29, 12, 82, 46], Operations: []
Exploring Operation: 82-29=53, Resulting Numbers: [12, 46, 53]
Generated Node #0,0: 41:[12, 46, 53] Operation: 82-29=53
Exploring Operation: 29+12=41, Resulting Numbers: [82, 46, 41]
Generated Node #0,1: 41:[82, 46, 41] Operation: 29+12=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[12, 46, 53], Operations: ['82-29=53']
Exploring Operation: 53-12=41, Resulting Numbers: [46, 41]
Generated Node #0,0,0: 41:[46, 41] Operation: 53-12=41
Exploring Operation: 46-12=34, Resulting Numbers: [53, 34]
Generated Node #0,0,1: 41:[53, 34] Operation: 46-12=34
Moving to Node #0,0,0
Current State: 41:[46, 41], Operations: ['82-29=53', '53-12=41']
Exploring Operation: 46+41=87, Resulting Numbers: [87]
87,41 unequal: No Solution
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[53, 34], Operations: ['82-29=53', '46-12=34']
Exploring Operation: 53-34=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Exploring Operation: 53+34=87, Resulting Numbers: [87]
87,41 unequal: No Solution
No 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:[82, 46, 41], Operations: ['29+12=41']
Exploring Operation: 82-41=41, Resulting Numbers: [46, 41]
Generated Node #0,1,0: 41:[46, 41] Operation: 82-41=41
Exploring Operation: 82-46=36, Resulting Numbers: [41, 36]
Generated Node #0,1,1: 41:[41, 36] Operation: 82-46=36
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[46, 41], Operations: ['29+12=41', '82-41=41']
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,41 unequal: No Solution
Exploring Operation: 46+41=87, Resulting Numbers: [87]
87,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,1
Current State: 41:[41, 36], Operations: ['29+12=41', '82-46=36']
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,41 unequal: No Solution
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,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 |
[
12,
27,
41,
38
] | 94 | [
"27-12=15",
"41+38=79",
"15+79=94"
] | Current State: 94:[12, 27, 41, 38], Operations: []
Exploring Operation: 27-12=15, Resulting Numbers: [41, 38, 15]
Generated Node #2: [41, 38, 15] from Operation: 27-12=15
Current State: 94:[41, 38, 15], Operations: ['27-12=15']
Exploring Operation: 41+38=79, Resulting Numbers: [15, 79]
Generated Node #3: [15, 79] from Operation: 41+38=79
Current State: 94:[15, 79], Operations: ['27-12=15', '41+38=79']
Exploring Operation: 15+79=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[12, 27, 41, 38], Operations: []
Exploring Operation: 12+27=39, Resulting Numbers: [41, 38, 39]
Generated Node #0,0: 94:[41, 38, 39] Operation: 12+27=39
Exploring Operation: 38-27=11, Resulting Numbers: [12, 41, 11]
Generated Node #0,1: 94:[12, 41, 11] Operation: 38-27=11
Moving to Node #0,0
Current State: 94:[41, 38, 39], Operations: ['12+27=39']
Exploring Operation: 39-38=1, Resulting Numbers: [41, 1]
Generated Node #0,0,0: 94:[41, 1] Operation: 39-38=1
Exploring Operation: 41-38=3, Resulting Numbers: [39, 3]
Generated Node #0,0,1: 94:[39, 3] Operation: 41-38=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[41, 1], Operations: ['12+27=39', '39-38=1']
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,94 unequal: No Solution
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[39, 3], Operations: ['12+27=39', '41-38=3']
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,94 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,94 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: 94:[12, 41, 11], Operations: ['38-27=11']
Exploring Operation: 12+41=53, Resulting Numbers: [11, 53]
Generated Node #0,1,0: 94:[11, 53] Operation: 12+41=53
Exploring Operation: 12-11=1, Resulting Numbers: [41, 1]
Generated Node #0,1,1: 94:[41, 1] Operation: 12-11=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[41, 1], Operations: ['38-27=11', '12-11=1']
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,94 unequal: No Solution
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[11, 53], Operations: ['38-27=11', '12+41=53']
Exploring Operation: 11+53=64, Resulting Numbers: [64]
64,94 unequal: No Solution
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
4,
4,
6,
56
] | 62 | [
"4-4=0",
"6+56=62",
"0+62=62"
] | Current State: 62:[4, 4, 6, 56], Operations: []
Exploring Operation: 4-4=0, Resulting Numbers: [6, 56, 0]
Generated Node #2: [6, 56, 0] from Operation: 4-4=0
Current State: 62:[6, 56, 0], Operations: ['4-4=0']
Exploring Operation: 6+56=62, Resulting Numbers: [0, 62]
Generated Node #3: [0, 62] from Operation: 6+56=62
Current State: 62:[0, 62], Operations: ['4-4=0', '6+56=62']
Exploring Operation: 0+62=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[4, 4, 6, 56], Operations: []
Exploring Operation: 6-4=2, Resulting Numbers: [4, 56, 2]
Generated Node #0,0: 62:[4, 56, 2] Operation: 6-4=2
Exploring Operation: 4+56=60, Resulting Numbers: [4, 6, 60]
Generated Node #0,1: 62:[4, 6, 60] Operation: 4+56=60
Exploring Operation: 6+56=62, Resulting Numbers: [4, 4, 62]
Generated Node #0,2: 62:[4, 4, 62] Operation: 6+56=62
Exploring Operation: 6-4=2, Resulting Numbers: [4, 56, 2]
Generated Node #0,3: 62:[4, 56, 2] Operation: 6-4=2
Moving to Node #0,2
Current State: 62:[4, 4, 62], Operations: ['6+56=62']
Exploring Operation: 4/4=1, Resulting Numbers: [62, 1]
Generated Node #0,2,0: 62:[62, 1] Operation: 4/4=1
Exploring Operation: 4+4=8, Resulting Numbers: [62, 8]
Generated Node #0,2,1: 62:[62, 8] Operation: 4+4=8
Exploring Operation: 4+62=66, Resulting Numbers: [4, 66]
Generated Node #0,2,2: 62:[4, 66] Operation: 4+62=66
Exploring Operation: 4-4=0, Resulting Numbers: [62, 0]
Generated Node #0,2,3: 62:[62, 0] Operation: 4-4=0
Moving to Node #0,1
Current State: 62:[4, 6, 60], Operations: ['4+56=60']
Exploring Operation: 4*6=24, Resulting Numbers: [60, 24]
Generated Node #0,1,0: 62:[60, 24] Operation: 4*6=24
Exploring Operation: 6-4=2, Resulting Numbers: [60, 2]
Generated Node #0,1,1: 62:[60, 2] Operation: 6-4=2
Exploring Operation: 4+60=64, Resulting Numbers: [6, 64]
Generated Node #0,1,2: 62:[6, 64] Operation: 4+60=64
Exploring Operation: 6+60=66, Resulting Numbers: [4, 66]
Generated Node #0,1,3: 62:[4, 66] Operation: 6+60=66
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[60, 2], Operations: ['4+56=60', '6-4=2']
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,62 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,62 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[4, 4, 6, 56], Operations: []
Exploring Operation: 4+56=60, Resulting Numbers: [4, 6, 60]
Generated Node #0,1: 62:[4, 6, 60] Operation: 4+56=60
Moving to Node #0,1
Current State: 62:[4, 6, 60], Operations: ['4+56=60']
Exploring Operation: 6-4=2, Resulting Numbers: [60, 2]
Generated Node #0,1,1: 62:[60, 2] Operation: 6-4=2
Moving to Node #0,1,1
Current State: 62:[60, 2], Operations: ['4+56=60', '6-4=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
47,
68,
72,
50
] | 70 | [
"72-47=25",
"50/25=2",
"68+2=70"
] | Current State: 70:[47, 68, 72, 50], Operations: []
Exploring Operation: 72-47=25, Resulting Numbers: [68, 50, 25]
Generated Node #2: [68, 50, 25] from Operation: 72-47=25
Current State: 70:[68, 50, 25], Operations: ['72-47=25']
Exploring Operation: 50/25=2, Resulting Numbers: [68, 2]
Generated Node #3: [68, 2] from Operation: 50/25=2
Current State: 70:[68, 2], Operations: ['72-47=25', '50/25=2']
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[47, 68, 72, 50], Operations: []
Exploring Operation: 68-47=21, Resulting Numbers: [72, 50, 21]
Generated Node #0,0: 70:[72, 50, 21] Operation: 68-47=21
Exploring Operation: 72-47=25, Resulting Numbers: [68, 50, 25]
Generated Node #0,1: 70:[68, 50, 25] Operation: 72-47=25
Exploring Operation: 68-50=18, Resulting Numbers: [47, 72, 18]
Generated Node #0,2: 70:[47, 72, 18] Operation: 68-50=18
Exploring Operation: 72-50=22, Resulting Numbers: [47, 68, 22]
Generated Node #0,3: 70:[47, 68, 22] Operation: 72-50=22
Exploring Operation: 50-47=3, Resulting Numbers: [68, 72, 3]
Generated Node #0,4: 70:[68, 72, 3] Operation: 50-47=3
Moving to Node #0,4
Current State: 70:[68, 72, 3], Operations: ['50-47=3']
Exploring Operation: 68-3=65, Resulting Numbers: [72, 65]
Generated Node #0,4,0: 70:[72, 65] Operation: 68-3=65
Exploring Operation: 72-3=69, Resulting Numbers: [68, 69]
Generated Node #0,4,1: 70:[68, 69] Operation: 72-3=69
Exploring Operation: 72+3=75, Resulting Numbers: [68, 75]
Generated Node #0,4,2: 70:[68, 75] Operation: 72+3=75
Exploring Operation: 72-68=4, Resulting Numbers: [3, 4]
Generated Node #0,4,3: 70:[3, 4] Operation: 72-68=4
Exploring Operation: 68+3=71, Resulting Numbers: [72, 71]
Generated Node #0,4,4: 70:[72, 71] Operation: 68+3=71
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 70:[3, 4], Operations: ['50-47=3', '72-68=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,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,4,1
Current State: 70:[68, 69], Operations: ['50-47=3', '72-3=69']
Exploring Operation: 68+69=137, Resulting Numbers: [137]
137,70 unequal: No Solution
Exploring Operation: 68*69=4692, Resulting Numbers: [4692]
4692,70 unequal: No Solution
Exploring Operation: 69-68=1, Resulting Numbers: [1]
1,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,4,4
Current State: 70:[72, 71], Operations: ['50-47=3', '68+3=71']
Exploring Operation: 72*71=5112, Resulting Numbers: [5112]
5112,70 unequal: No Solution
Exploring Operation: 72+71=143, Resulting Numbers: [143]
143,70 unequal: No Solution
Exploring Operation: 72-71=1, Resulting Numbers: [1]
1,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,4,0
Current State: 70:[72, 65], Operations: ['50-47=3', '68-3=65']
Exploring Operation: 72+65=137, Resulting Numbers: [137]
137,70 unequal: No Solution
Exploring Operation: 72*65=4680, Resulting Numbers: [4680]
4680,70 unequal: No Solution
Exploring Operation: 72-65=7, Resulting Numbers: [7]
7,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,4,2
Current State: 70:[68, 75], Operations: ['50-47=3', '72+3=75']
Exploring Operation: 75-68=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 68*75=5100, Resulting Numbers: [5100]
5100,70 unequal: No Solution
Exploring Operation: 68+75=143, Resulting Numbers: [143]
143,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:[47, 72, 18], Operations: ['68-50=18']
Exploring Operation: 72-47=25, Resulting Numbers: [18, 25]
Generated Node #0,2,0: 70:[18, 25] Operation: 72-47=25
Exploring Operation: 72/18=4, Resulting Numbers: [47, 4]
Generated Node #0,2,1: 70:[47, 4] Operation: 72/18=4
Exploring Operation: 72-18=54, Resulting Numbers: [47, 54]
Generated Node #0,2,2: 70:[47, 54] Operation: 72-18=54
Exploring Operation: 47+18=65, Resulting Numbers: [72, 65]
Generated Node #0,2,3: 70:[72, 65] Operation: 47+18=65
Exploring Operation: 47-18=29, Resulting Numbers: [72, 29]
Generated Node #0,2,4: 70:[72, 29] Operation: 47-18=29
Moving to Node #0,3
Current State: 70:[47, 68, 22], Operations: ['72-50=22']
Exploring Operation: 47-22=25, Resulting Numbers: [68, 25]
Generated Node #0,3,0: 70:[68, 25] Operation: 47-22=25
Exploring Operation: 47+22=69, Resulting Numbers: [68, 69]
Generated Node #0,3,1: 70:[68, 69] Operation: 47+22=69
Exploring Operation: 68+22=90, Resulting Numbers: [47, 90]
Generated Node #0,3,2: 70:[47, 90] Operation: 68+22=90
Exploring Operation: 68-22=46, Resulting Numbers: [47, 46]
Generated Node #0,3,3: 70:[47, 46] Operation: 68-22=46
Exploring Operation: 68-47=21, Resulting Numbers: [22, 21]
Generated Node #0,3,4: 70:[22, 21] Operation: 68-47=21
Moving to Node #0,0
Current State: 70:[72, 50, 21], Operations: ['68-47=21']
Exploring Operation: 50-21=29, Resulting Numbers: [72, 29]
Generated Node #0,0,0: 70:[72, 29] Operation: 50-21=29
Exploring Operation: 50+21=71, Resulting Numbers: [72, 71]
Generated Node #0,0,1: 70:[72, 71] Operation: 50+21=71
Exploring Operation: 72-50=22, Resulting Numbers: [21, 22]
Generated Node #0,0,2: 70:[21, 22] Operation: 72-50=22
Exploring Operation: 72+21=93, Resulting Numbers: [50, 93]
Generated Node #0,0,3: 70:[50, 93] Operation: 72+21=93
Exploring Operation: 72-21=51, Resulting Numbers: [50, 51]
Generated Node #0,0,4: 70:[50, 51] Operation: 72-21=51
Moving to Node #0,1
Current State: 70:[68, 50, 25], Operations: ['72-47=25']
Exploring Operation: 50+25=75, Resulting Numbers: [68, 75]
Generated Node #0,1,0: 70:[68, 75] Operation: 50+25=75
Exploring Operation: 50-25=25, Resulting Numbers: [68, 25]
Generated Node #0,1,1: 70:[68, 25] Operation: 50-25=25
Exploring Operation: 68-50=18, Resulting Numbers: [25, 18]
Generated Node #0,1,2: 70:[25, 18] Operation: 68-50=18
Exploring Operation: 68-25=43, Resulting Numbers: [50, 43]
Generated Node #0,1,3: 70:[50, 43] Operation: 68-25=43
Exploring Operation: 50/25=2, Resulting Numbers: [68, 2]
Generated Node #0,1,4: 70:[68, 2] Operation: 50/25=2
Moving to Node #0,1,4
Current State: 70:[68, 2], Operations: ['72-47=25', '50/25=2']
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[47, 68, 72, 50], Operations: []
Exploring Operation: 72-47=25, Resulting Numbers: [68, 50, 25]
Generated Node #0,1: 70:[68, 50, 25] Operation: 72-47=25
Moving to Node #0,1
Current State: 70:[68, 50, 25], Operations: ['72-47=25']
Exploring Operation: 50/25=2, Resulting Numbers: [68, 2]
Generated Node #0,1,4: 70:[68, 2] Operation: 50/25=2
Moving to Node #0,1,4
Current State: 70:[68, 2], Operations: ['72-47=25', '50/25=2']
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.955729 | hs_5 | sum_heuristic |
[
9,
65,
37,
14
] | 98 | [
"9*14=126",
"65-37=28",
"126-28=98"
] | Current State: 98:[9, 65, 37, 14], Operations: []
Exploring Operation: 9*14=126, Resulting Numbers: [65, 37, 126]
Generated Node #2: [65, 37, 126] from Operation: 9*14=126
Current State: 98:[65, 37, 126], Operations: ['9*14=126']
Exploring Operation: 65-37=28, Resulting Numbers: [126, 28]
Generated Node #3: [126, 28] from Operation: 65-37=28
Current State: 98:[126, 28], Operations: ['9*14=126', '65-37=28']
Exploring Operation: 126-28=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[9, 65, 37, 14], Operations: []
Exploring Operation: 65+37=102, Resulting Numbers: [9, 14, 102]
Generated Node #0,0: 98:[9, 14, 102] Operation: 65+37=102
Moving to Node #0,0
Current State: 98:[9, 14, 102], Operations: ['65+37=102']
Exploring Operation: 102-9=93, Resulting Numbers: [14, 93]
Generated Node #0,0,0: 98:[14, 93] Operation: 102-9=93
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[14, 93], Operations: ['65+37=102', '102-9=93']
Exploring Operation: 14+93=107, Resulting Numbers: [107]
107,98 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,
22,
19,
76
] | 54 | [
"76/19=4",
"22-4=18",
"3*18=54"
] | Current State: 54:[3, 22, 19, 76], Operations: []
Exploring Operation: 76/19=4, Resulting Numbers: [3, 22, 4]
Generated Node #2: [3, 22, 4] from Operation: 76/19=4
Current State: 54:[3, 22, 4], Operations: ['76/19=4']
Exploring Operation: 22-4=18, Resulting Numbers: [3, 18]
Generated Node #3: [3, 18] from Operation: 22-4=18
Current State: 54:[3, 18], Operations: ['76/19=4', '22-4=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[3, 22, 19, 76], Operations: []
Exploring Operation: 76-19=57, Resulting Numbers: [3, 22, 57]
Generated Node #0,0: 54:[3, 22, 57] Operation: 76-19=57
Exploring Operation: 22-19=3, Resulting Numbers: [3, 76, 3]
Generated Node #0,1: 54:[3, 76, 3] Operation: 22-19=3
Exploring Operation: 76/19=4, Resulting Numbers: [3, 22, 4]
Generated Node #0,2: 54:[3, 22, 4] Operation: 76/19=4
Exploring Operation: 22-3=19, Resulting Numbers: [19, 76, 19]
Generated Node #0,3: 54:[19, 76, 19] Operation: 22-3=19
Exploring Operation: 76-22=54, Resulting Numbers: [3, 19, 54]
Generated Node #0,4: 54:[3, 19, 54] Operation: 76-22=54
Moving to Node #0,4
Current State: 54:[3, 19, 54], Operations: ['76-22=54']
Exploring Operation: 3+19=22, Resulting Numbers: [54, 22]
Generated Node #0,4,0: 54:[54, 22] Operation: 3+19=22
Exploring Operation: 3*19=57, Resulting Numbers: [54, 57]
Generated Node #0,4,1: 54:[54, 57] Operation: 3*19=57
Exploring Operation: 54/3=18, Resulting Numbers: [19, 18]
Generated Node #0,4,2: 54:[19, 18] Operation: 54/3=18
Exploring Operation: 3+54=57, Resulting Numbers: [19, 57]
Generated Node #0,4,3: 54:[19, 57] Operation: 3+54=57
Exploring Operation: 19-3=16, Resulting Numbers: [54, 16]
Generated Node #0,4,4: 54:[54, 16] Operation: 19-3=16
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 54:[19, 18], Operations: ['76-22=54', '54/3=18']
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,54 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 54:[54, 16], Operations: ['76-22=54', '19-3=16']
Exploring Operation: 54*16=864, Resulting Numbers: [864]
864,54 unequal: No Solution
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,54 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 54:[54, 57], Operations: ['76-22=54', '3*19=57']
Exploring Operation: 54+57=111, Resulting Numbers: [111]
111,54 unequal: No Solution
Exploring Operation: 57-54=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 54*57=3078, Resulting Numbers: [3078]
3078,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 54:[54, 22], Operations: ['76-22=54', '3+19=22']
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 54*22=1188, Resulting Numbers: [1188]
1188,54 unequal: No Solution
Exploring Operation: 54+22=76, Resulting Numbers: [76]
76,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 54:[19, 57], Operations: ['76-22=54', '3+54=57']
Exploring Operation: 19*57=1083, Resulting Numbers: [1083]
1083,54 unequal: No Solution
Exploring Operation: 19+57=76, Resulting Numbers: [76]
76,54 unequal: No Solution
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,54 unequal: No Solution
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 54:[3, 22, 4], Operations: ['76/19=4']
Exploring Operation: 3+22=25, Resulting Numbers: [4, 25]
Generated Node #0,2,0: 54:[4, 25] Operation: 3+22=25
Exploring Operation: 22-3=19, Resulting Numbers: [4, 19]
Generated Node #0,2,1: 54:[4, 19] Operation: 22-3=19
Exploring Operation: 22-4=18, Resulting Numbers: [3, 18]
Generated Node #0,2,2: 54:[3, 18] Operation: 22-4=18
Exploring Operation: 22+4=26, Resulting Numbers: [3, 26]
Generated Node #0,2,3: 54:[3, 26] Operation: 22+4=26
Exploring Operation: 3+4=7, Resulting Numbers: [22, 7]
Generated Node #0,2,4: 54:[22, 7] Operation: 3+4=7
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[3, 18], Operations: ['76/19=4', '22-4=18']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[3, 22, 19, 76], Operations: []
Exploring Operation: 76/19=4, Resulting Numbers: [3, 22, 4]
Generated Node #0,2: 54:[3, 22, 4] Operation: 76/19=4
Moving to Node #0,2
Current State: 54:[3, 22, 4], Operations: ['76/19=4']
Exploring Operation: 22-4=18, Resulting Numbers: [3, 18]
Generated Node #0,2,2: 54:[3, 18] Operation: 22-4=18
Moving to Node #0,2,2
Current State: 54:[3, 18], Operations: ['76/19=4', '22-4=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
93,
99,
38,
63
] | 95 | [
"99-93=6",
"38+63=101",
"101-6=95"
] | Current State: 95:[93, 99, 38, 63], Operations: []
Exploring Operation: 99-93=6, Resulting Numbers: [38, 63, 6]
Generated Node #2: [38, 63, 6] from Operation: 99-93=6
Current State: 95:[38, 63, 6], Operations: ['99-93=6']
Exploring Operation: 38+63=101, Resulting Numbers: [6, 101]
Generated Node #3: [6, 101] from Operation: 38+63=101
Current State: 95:[6, 101], Operations: ['99-93=6', '38+63=101']
Exploring Operation: 101-6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[93, 99, 38, 63], Operations: []
Exploring Operation: 63-38=25, Resulting Numbers: [93, 99, 25]
Generated Node #0,0: 95:[93, 99, 25] Operation: 63-38=25
Exploring Operation: 93-63=30, Resulting Numbers: [99, 38, 30]
Generated Node #0,1: 95:[99, 38, 30] Operation: 93-63=30
Exploring Operation: 99-63=36, Resulting Numbers: [93, 38, 36]
Generated Node #0,2: 95:[93, 38, 36] Operation: 99-63=36
Exploring Operation: 38+63=101, Resulting Numbers: [93, 99, 101]
Generated Node #0,3: 95:[93, 99, 101] Operation: 38+63=101
Moving to Node #0,0
Current State: 95:[93, 99, 25], Operations: ['63-38=25']
Exploring Operation: 99-25=74, Resulting Numbers: [93, 74]
Generated Node #0,0,0: 95:[93, 74] Operation: 99-25=74
Exploring Operation: 93-25=68, Resulting Numbers: [99, 68]
Generated Node #0,0,1: 95:[99, 68] Operation: 93-25=68
Exploring Operation: 99-93=6, Resulting Numbers: [25, 6]
Generated Node #0,0,2: 95:[25, 6] Operation: 99-93=6
Exploring Operation: 93+25=118, Resulting Numbers: [99, 118]
Generated Node #0,0,3: 95:[99, 118] Operation: 93+25=118
Moving to Node #0,3
Current State: 95:[93, 99, 101], Operations: ['38+63=101']
Exploring Operation: 99-93=6, Resulting Numbers: [101, 6]
Generated Node #0,3,0: 95:[101, 6] Operation: 99-93=6
Exploring Operation: 101-99=2, Resulting Numbers: [93, 2]
Generated Node #0,3,1: 95:[93, 2] Operation: 101-99=2
Exploring Operation: 101-93=8, Resulting Numbers: [99, 8]
Generated Node #0,3,2: 95:[99, 8] Operation: 101-93=8
Exploring Operation: 93+99=192, Resulting Numbers: [101, 192]
Generated Node #0,3,3: 95:[101, 192] Operation: 93+99=192
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 95:[93, 2], Operations: ['38+63=101', '101-99=2']
Exploring Operation: 93*2=186, Resulting Numbers: [186]
186,95 unequal: No Solution
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,95 unequal: No Solution
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[93, 99, 38, 63], Operations: []
Exploring Operation: 38+63=101, Resulting Numbers: [93, 99, 101]
Generated Node #0,3: 95:[93, 99, 101] Operation: 38+63=101
Moving to Node #0,3
Current State: 95:[93, 99, 101], Operations: ['38+63=101']
Exploring Operation: 101-99=2, Resulting Numbers: [93, 2]
Generated Node #0,3,1: 95:[93, 2] Operation: 101-99=2
Moving to Node #0,3,1
Current State: 95:[93, 2], Operations: ['38+63=101', '101-99=2']
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
3,
41,
20,
19
] | 54 | [
"20+19=39",
"39/3=13",
"41+13=54"
] | Current State: 54:[3, 41, 20, 19], Operations: []
Exploring Operation: 20+19=39, Resulting Numbers: [3, 41, 39]
Generated Node #2: [3, 41, 39] from Operation: 20+19=39
Current State: 54:[3, 41, 39], Operations: ['20+19=39']
Exploring Operation: 39/3=13, Resulting Numbers: [41, 13]
Generated Node #3: [41, 13] from Operation: 39/3=13
Current State: 54:[41, 13], Operations: ['20+19=39', '39/3=13']
Exploring Operation: 41+13=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[3, 41, 20, 19], Operations: []
Exploring Operation: 41-20=21, Resulting Numbers: [3, 19, 21]
Generated Node #0,0: 54:[3, 19, 21] Operation: 41-20=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[3, 19, 21], Operations: ['41-20=21']
Exploring Operation: 21-19=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 54:[3, 2] Operation: 21-19=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[3, 2], Operations: ['41-20=21', '21-19=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
7,
13,
75,
84
] | 74 | [
"84/7=12",
"75-13=62",
"12+62=74"
] | Current State: 74:[7, 13, 75, 84], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [13, 75, 12]
Generated Node #2: [13, 75, 12] from Operation: 84/7=12
Current State: 74:[13, 75, 12], Operations: ['84/7=12']
Exploring Operation: 75-13=62, Resulting Numbers: [12, 62]
Generated Node #3: [12, 62] from Operation: 75-13=62
Current State: 74:[12, 62], Operations: ['84/7=12', '75-13=62']
Exploring Operation: 12+62=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[7, 13, 75, 84], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [13, 75, 12]
Generated Node #0,0: 74:[13, 75, 12] Operation: 84/7=12
Exploring Operation: 84-7=77, Resulting Numbers: [13, 75, 77]
Generated Node #0,1: 74:[13, 75, 77] Operation: 84-7=77
Exploring Operation: 84-13=71, Resulting Numbers: [7, 75, 71]
Generated Node #0,2: 74:[7, 75, 71] Operation: 84-13=71
Exploring Operation: 13-7=6, Resulting Numbers: [75, 84, 6]
Generated Node #0,3: 74:[75, 84, 6] Operation: 13-7=6
Moving to Node #0,2
Current State: 74:[7, 75, 71], Operations: ['84-13=71']
Exploring Operation: 75-7=68, Resulting Numbers: [71, 68]
Generated Node #0,2,0: 74:[71, 68] Operation: 75-7=68
Exploring Operation: 75-71=4, Resulting Numbers: [7, 4]
Generated Node #0,2,1: 74:[7, 4] Operation: 75-71=4
Exploring Operation: 7+75=82, Resulting Numbers: [71, 82]
Generated Node #0,2,2: 74:[71, 82] Operation: 7+75=82
Exploring Operation: 7+71=78, Resulting Numbers: [75, 78]
Generated Node #0,2,3: 74:[75, 78] Operation: 7+71=78
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 74:[75, 78], Operations: ['84-13=71', '7+71=78']
Exploring Operation: 75*78=5850, Resulting Numbers: [5850]
5850,74 unequal: No Solution
Exploring Operation: 78-75=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 75+78=153, Resulting Numbers: [153]
153,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 74:[7, 4], Operations: ['84-13=71', '75-71=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 74:[71, 68], Operations: ['84-13=71', '75-7=68']
Exploring Operation: 71*68=4828, Resulting Numbers: [4828]
4828,74 unequal: No Solution
Exploring Operation: 71-68=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 71+68=139, Resulting Numbers: [139]
139,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 74:[71, 82], Operations: ['84-13=71', '7+75=82']
Exploring Operation: 82-71=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 71*82=5822, Resulting Numbers: [5822]
5822,74 unequal: No Solution
Exploring Operation: 71+82=153, Resulting Numbers: [153]
153,74 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: 74:[75, 84, 6], Operations: ['13-7=6']
Exploring Operation: 84/6=14, Resulting Numbers: [75, 14]
Generated Node #0,3,0: 74:[75, 14] Operation: 84/6=14
Exploring Operation: 75-6=69, Resulting Numbers: [84, 69]
Generated Node #0,3,1: 74:[84, 69] Operation: 75-6=69
Exploring Operation: 84-6=78, Resulting Numbers: [75, 78]
Generated Node #0,3,2: 74:[75, 78] Operation: 84-6=78
Exploring Operation: 84-75=9, Resulting Numbers: [6, 9]
Generated Node #0,3,3: 74:[6, 9] Operation: 84-75=9
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 74:[75, 78], Operations: ['13-7=6', '84-6=78']
Exploring Operation: 75*78=5850, Resulting Numbers: [5850]
5850,74 unequal: No Solution
Exploring Operation: 78-75=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 75+78=153, Resulting Numbers: [153]
153,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 74:[6, 9], Operations: ['13-7=6', '84-75=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,74 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 74:[75, 14], Operations: ['13-7=6', '84/6=14']
Exploring Operation: 75+14=89, Resulting Numbers: [89]
89,74 unequal: No Solution
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,74 unequal: No Solution
Exploring Operation: 75*14=1050, Resulting Numbers: [1050]
1050,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 74:[84, 69], Operations: ['13-7=6', '75-6=69']
Exploring Operation: 84*69=5796, Resulting Numbers: [5796]
5796,74 unequal: No Solution
Exploring Operation: 84-69=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 84+69=153, Resulting Numbers: [153]
153,74 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: 74:[13, 75, 77], Operations: ['84-7=77']
Exploring Operation: 75-13=62, Resulting Numbers: [77, 62]
Generated Node #0,1,0: 74:[77, 62] Operation: 75-13=62
Exploring Operation: 77-75=2, Resulting Numbers: [13, 2]
Generated Node #0,1,1: 74:[13, 2] Operation: 77-75=2
Exploring Operation: 13+75=88, Resulting Numbers: [77, 88]
Generated Node #0,1,2: 74:[77, 88] Operation: 13+75=88
Exploring Operation: 77-13=64, Resulting Numbers: [75, 64]
Generated Node #0,1,3: 74:[75, 64] Operation: 77-13=64
Moving to Node #0,0
Current State: 74:[13, 75, 12], Operations: ['84/7=12']
Exploring Operation: 13-12=1, Resulting Numbers: [75, 1]
Generated Node #0,0,0: 74:[75, 1] Operation: 13-12=1
Exploring Operation: 75-13=62, Resulting Numbers: [12, 62]
Generated Node #0,0,1: 74:[12, 62] Operation: 75-13=62
Exploring Operation: 75-12=63, Resulting Numbers: [13, 63]
Generated Node #0,0,2: 74:[13, 63] Operation: 75-12=63
Exploring Operation: 13+12=25, Resulting Numbers: [75, 25]
Generated Node #0,0,3: 74:[75, 25] Operation: 13+12=25
Moving to Node #0,0,0
Current State: 74:[75, 1], Operations: ['84/7=12', '13-12=1']
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[7, 13, 75, 84], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [13, 75, 12]
Generated Node #0,0: 74:[13, 75, 12] Operation: 84/7=12
Moving to Node #0,0
Current State: 74:[13, 75, 12], Operations: ['84/7=12']
Exploring Operation: 13-12=1, Resulting Numbers: [75, 1]
Generated Node #0,0,0: 74:[75, 1] Operation: 13-12=1
Moving to Node #0,0,0
Current State: 74:[75, 1], Operations: ['84/7=12', '13-12=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.956597 | hs_4 | sum_heuristic |
[
85,
13,
59,
56
] | 17 | [
"85+13=98",
"59+56=115",
"115-98=17"
] | Current State: 17:[85, 13, 59, 56], Operations: []
Exploring Operation: 85+13=98, Resulting Numbers: [59, 56, 98]
Generated Node #2: [59, 56, 98] from Operation: 85+13=98
Current State: 17:[59, 56, 98], Operations: ['85+13=98']
Exploring Operation: 59+56=115, Resulting Numbers: [98, 115]
Generated Node #3: [98, 115] from Operation: 59+56=115
Current State: 17:[98, 115], Operations: ['85+13=98', '59+56=115']
Exploring Operation: 115-98=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[85, 13, 59, 56], Operations: []
Exploring Operation: 59-56=3, Resulting Numbers: [85, 13, 3]
Generated Node #0,0: 17:[85, 13, 3] Operation: 59-56=3
Exploring Operation: 85-59=26, Resulting Numbers: [13, 56, 26]
Generated Node #0,1: 17:[13, 56, 26] Operation: 85-59=26
Exploring Operation: 85-56=29, Resulting Numbers: [13, 59, 29]
Generated Node #0,2: 17:[13, 59, 29] Operation: 85-56=29
Exploring Operation: 85-13=72, Resulting Numbers: [59, 56, 72]
Generated Node #0,3: 17:[59, 56, 72] Operation: 85-13=72
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[13, 56, 26], Operations: ['85-59=26']
Exploring Operation: 26-13=13, Resulting Numbers: [56, 13]
Generated Node #0,1,0: 17:[56, 13] Operation: 26-13=13
Exploring Operation: 56-26=30, Resulting Numbers: [13, 30]
Generated Node #0,1,1: 17:[13, 30] Operation: 56-26=30
Exploring Operation: 56-13=43, Resulting Numbers: [26, 43]
Generated Node #0,1,2: 17:[26, 43] Operation: 56-13=43
Exploring Operation: 26/13=2, Resulting Numbers: [56, 2]
Generated Node #0,1,3: 17:[56, 2] Operation: 26/13=2
Moving to Node #0,1,1
Current State: 17:[13, 30], Operations: ['85-59=26', '56-26=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,17 unequal: No Solution
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,17 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[85, 13, 59, 56], Operations: []
Exploring Operation: 85-59=26, Resulting Numbers: [13, 56, 26]
Generated Node #0,1: 17:[13, 56, 26] Operation: 85-59=26
Moving to Node #0,1
Current State: 17:[13, 56, 26], Operations: ['85-59=26']
Exploring Operation: 56-26=30, Resulting Numbers: [13, 30]
Generated Node #0,1,1: 17:[13, 30] Operation: 56-26=30
Moving to Node #0,1,1
Current State: 17:[13, 30], Operations: ['85-59=26', '56-26=30']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
54,
11,
25,
4
] | 22 | [
"54-11=43",
"25-4=21",
"43-21=22"
] | Current State: 22:[54, 11, 25, 4], Operations: []
Exploring Operation: 54-11=43, Resulting Numbers: [25, 4, 43]
Generated Node #2: [25, 4, 43] from Operation: 54-11=43
Current State: 22:[25, 4, 43], Operations: ['54-11=43']
Exploring Operation: 25-4=21, Resulting Numbers: [43, 21]
Generated Node #3: [43, 21] from Operation: 25-4=21
Current State: 22:[43, 21], Operations: ['54-11=43', '25-4=21']
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[54, 11, 25, 4], Operations: []
Exploring Operation: 25-4=21, Resulting Numbers: [54, 11, 21]
Generated Node #0,0: 22:[54, 11, 21] Operation: 25-4=21
Exploring Operation: 25-11=14, Resulting Numbers: [54, 4, 14]
Generated Node #0,1: 22:[54, 4, 14] Operation: 25-11=14
Exploring Operation: 54-25=29, Resulting Numbers: [11, 4, 29]
Generated Node #0,2: 22:[11, 4, 29] Operation: 54-25=29
Exploring Operation: 54-4=50, Resulting Numbers: [11, 25, 50]
Generated Node #0,3: 22:[11, 25, 50] Operation: 54-4=50
Exploring Operation: 54-11=43, Resulting Numbers: [25, 4, 43]
Generated Node #0,4: 22:[25, 4, 43] Operation: 54-11=43
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[11, 4, 29], Operations: ['54-25=29']
Exploring Operation: 29-11=18, Resulting Numbers: [4, 18]
Generated Node #0,2,0: 22:[4, 18] Operation: 29-11=18
Exploring Operation: 29-4=25, Resulting Numbers: [11, 25]
Generated Node #0,2,1: 22:[11, 25] Operation: 29-4=25
Exploring Operation: 11-4=7, Resulting Numbers: [29, 7]
Generated Node #0,2,2: 22:[29, 7] Operation: 11-4=7
Exploring Operation: 4+29=33, Resulting Numbers: [11, 33]
Generated Node #0,2,3: 22:[11, 33] Operation: 4+29=33
Exploring Operation: 11+4=15, Resulting Numbers: [29, 15]
Generated Node #0,2,4: 22:[29, 15] Operation: 11+4=15
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 22:[11, 25], Operations: ['54-25=29', '29-4=25']
Exploring Operation: 11*25=275, Resulting Numbers: [275]
275,22 unequal: No Solution
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 22:[4, 18], Operations: ['54-25=29', '29-11=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,22 unequal: No Solution
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,22 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[54, 11, 25, 4], Operations: []
Exploring Operation: 54-25=29, Resulting Numbers: [11, 4, 29]
Generated Node #0,2: 22:[11, 4, 29] Operation: 54-25=29
Moving to Node #0,2
Current State: 22:[11, 4, 29], Operations: ['54-25=29']
Exploring Operation: 29-11=18, Resulting Numbers: [4, 18]
Generated Node #0,2,0: 22:[4, 18] Operation: 29-11=18
Moving to Node #0,2,0
Current State: 22:[4, 18], Operations: ['54-25=29', '29-11=18']
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
86,
42,
96,
95
] | 63 | [
"86+42=128",
"96+95=191",
"191-128=63"
] | Current State: 63:[86, 42, 96, 95], Operations: []
Exploring Operation: 86+42=128, Resulting Numbers: [96, 95, 128]
Generated Node #2: [96, 95, 128] from Operation: 86+42=128
Current State: 63:[96, 95, 128], Operations: ['86+42=128']
Exploring Operation: 96+95=191, Resulting Numbers: [128, 191]
Generated Node #3: [128, 191] from Operation: 96+95=191
Current State: 63:[128, 191], Operations: ['86+42=128', '96+95=191']
Exploring Operation: 191-128=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[86, 42, 96, 95], Operations: []
Exploring Operation: 95-86=9, Resulting Numbers: [42, 96, 9]
Generated Node #0,0: 63:[42, 96, 9] Operation: 95-86=9
Exploring Operation: 96-86=10, Resulting Numbers: [42, 95, 10]
Generated Node #0,1: 63:[42, 95, 10] Operation: 96-86=10
Exploring Operation: 96-95=1, Resulting Numbers: [86, 42, 1]
Generated Node #0,2: 63:[86, 42, 1] Operation: 96-95=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[86, 42, 1], Operations: ['96-95=1']
Exploring Operation: 42+1=43, Resulting Numbers: [86, 43]
Generated Node #0,2,0: 63:[86, 43] Operation: 42+1=43
Exploring Operation: 86-42=44, Resulting Numbers: [1, 44]
Generated Node #0,2,1: 63:[1, 44] Operation: 86-42=44
Exploring Operation: 86-1=85, Resulting Numbers: [42, 85]
Generated Node #0,2,2: 63:[42, 85] Operation: 86-1=85
Moving to Node #0,2,1
Current State: 63:[1, 44], Operations: ['96-95=1', '86-42=44']
Exploring Operation: 1+44=45, Resulting Numbers: [45]
45,63 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,63 unequal: No Solution
Exploring Operation: 1*44=44, Resulting Numbers: [44]
44,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[86, 43], Operations: ['96-95=1', '42+1=43']
Exploring Operation: 86+43=129, Resulting Numbers: [129]
129,63 unequal: No Solution
Exploring Operation: 86-43=43, Resulting Numbers: [43]
43,63 unequal: No Solution
Exploring Operation: 86/43=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[42, 85], Operations: ['96-95=1', '86-1=85']
Exploring Operation: 42*85=3570, Resulting Numbers: [3570]
3570,63 unequal: No Solution
Exploring Operation: 42+85=127, Resulting Numbers: [127]
127,63 unequal: No Solution
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[42, 96, 9], Operations: ['95-86=9']
Exploring Operation: 42-9=33, Resulting Numbers: [96, 33]
Generated Node #0,0,0: 63:[96, 33] Operation: 42-9=33
Exploring Operation: 96-42=54, Resulting Numbers: [9, 54]
Generated Node #0,0,1: 63:[9, 54] Operation: 96-42=54
Exploring Operation: 42+9=51, Resulting Numbers: [96, 51]
Generated Node #0,0,2: 63:[96, 51] Operation: 42+9=51
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 63:[9, 54], Operations: ['95-86=9', '96-42=54']
Exploring Operation: 9+54=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[86, 42, 96, 95], Operations: []
Exploring Operation: 95-86=9, Resulting Numbers: [42, 96, 9]
Generated Node #0,0: 63:[42, 96, 9] Operation: 95-86=9
Moving to Node #0,0
Current State: 63:[42, 96, 9], Operations: ['95-86=9']
Exploring Operation: 96-42=54, Resulting Numbers: [9, 54]
Generated Node #0,0,1: 63:[9, 54] Operation: 96-42=54
Moving to Node #0,0,1
Current State: 63:[9, 54], Operations: ['95-86=9', '96-42=54']
Exploring Operation: 9+54=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
18,
16,
33,
44
] | 79 | [
"18-16=2",
"33+44=77",
"2+77=79"
] | Current State: 79:[18, 16, 33, 44], Operations: []
Exploring Operation: 18-16=2, Resulting Numbers: [33, 44, 2]
Generated Node #2: [33, 44, 2] from Operation: 18-16=2
Current State: 79:[33, 44, 2], Operations: ['18-16=2']
Exploring Operation: 33+44=77, Resulting Numbers: [2, 77]
Generated Node #3: [2, 77] from Operation: 33+44=77
Current State: 79:[2, 77], Operations: ['18-16=2', '33+44=77']
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[18, 16, 33, 44], Operations: []
Exploring Operation: 18+16=34, Resulting Numbers: [33, 44, 34]
Generated Node #0,0: 79:[33, 44, 34] Operation: 18+16=34
Exploring Operation: 18+44=62, Resulting Numbers: [16, 33, 62]
Generated Node #0,1: 79:[16, 33, 62] Operation: 18+44=62
Exploring Operation: 16+33=49, Resulting Numbers: [18, 44, 49]
Generated Node #0,2: 79:[18, 44, 49] Operation: 16+33=49
Exploring Operation: 18+33=51, Resulting Numbers: [16, 44, 51]
Generated Node #0,3: 79:[16, 44, 51] Operation: 18+33=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[33, 44, 34], Operations: ['18+16=34']
Exploring Operation: 33+34=67, Resulting Numbers: [44, 67]
Generated Node #0,0,0: 79:[44, 67] Operation: 33+34=67
Exploring Operation: 44-33=11, Resulting Numbers: [34, 11]
Generated Node #0,0,1: 79:[34, 11] Operation: 44-33=11
Exploring Operation: 33+44=77, Resulting Numbers: [34, 77]
Generated Node #0,0,2: 79:[34, 77] Operation: 33+44=77
Exploring Operation: 44+34=78, Resulting Numbers: [33, 78]
Generated Node #0,0,3: 79:[33, 78] Operation: 44+34=78
Moving to Node #0,0,0
Current State: 79:[44, 67], Operations: ['18+16=34', '33+34=67']
Exploring Operation: 67-44=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Exploring Operation: 44*67=2948, Resulting Numbers: [2948]
2948,79 unequal: No Solution
Exploring Operation: 44+67=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[33, 78], Operations: ['18+16=34', '44+34=78']
Exploring Operation: 33*78=2574, Resulting Numbers: [2574]
2574,79 unequal: No Solution
Exploring Operation: 33+78=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[34, 77], Operations: ['18+16=34', '33+44=77']
Exploring Operation: 34*77=2618, Resulting Numbers: [2618]
2618,79 unequal: No Solution
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Exploring Operation: 34+77=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[34, 11], Operations: ['18+16=34', '44-33=11']
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,79 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[16, 33, 62], Operations: ['18+44=62']
Exploring Operation: 16+62=78, Resulting Numbers: [33, 78]
Generated Node #0,1,0: 79:[33, 78] Operation: 16+62=78
Exploring Operation: 33-16=17, Resulting Numbers: [62, 17]
Generated Node #0,1,1: 79:[62, 17] Operation: 33-16=17
Exploring Operation: 62-16=46, Resulting Numbers: [33, 46]
Generated Node #0,1,2: 79:[33, 46] Operation: 62-16=46
Exploring Operation: 16+33=49, Resulting Numbers: [62, 49]
Generated Node #0,1,3: 79:[62, 49] Operation: 16+33=49
Moving to Node #0,1,0
Current State: 79:[33, 78], Operations: ['18+44=62', '16+62=78']
Exploring Operation: 33+78=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 33*78=2574, Resulting Numbers: [2574]
2574,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[62, 49], Operations: ['18+44=62', '16+33=49']
Exploring Operation: 62+49=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Exploring Operation: 62*49=3038, Resulting Numbers: [3038]
3038,79 unequal: No Solution
Exploring Operation: 62-49=13, Resulting Numbers: [13]
13,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[33, 46], Operations: ['18+44=62', '62-16=46']
Exploring Operation: 33+46=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[18, 16, 33, 44], Operations: []
Exploring Operation: 18+44=62, Resulting Numbers: [16, 33, 62]
Generated Node #0,1: 79:[16, 33, 62] Operation: 18+44=62
Moving to Node #0,1
Current State: 79:[16, 33, 62], Operations: ['18+44=62']
Exploring Operation: 62-16=46, Resulting Numbers: [33, 46]
Generated Node #0,1,2: 79:[33, 46] Operation: 62-16=46
Moving to Node #0,1,2
Current State: 79:[33, 46], Operations: ['18+44=62', '62-16=46']
Exploring Operation: 33+46=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | sum_heuristic |
[
77,
51,
35,
3
] | 90 | [
"77+51=128",
"35+3=38",
"128-38=90"
] | Current State: 90:[77, 51, 35, 3], Operations: []
Exploring Operation: 77+51=128, Resulting Numbers: [35, 3, 128]
Generated Node #2: [35, 3, 128] from Operation: 77+51=128
Current State: 90:[35, 3, 128], Operations: ['77+51=128']
Exploring Operation: 35+3=38, Resulting Numbers: [128, 38]
Generated Node #3: [128, 38] from Operation: 35+3=38
Current State: 90:[128, 38], Operations: ['77+51=128', '35+3=38']
Exploring Operation: 128-38=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[77, 51, 35, 3], Operations: []
Exploring Operation: 77-35=42, Resulting Numbers: [51, 3, 42]
Generated Node #0,0: 90:[51, 3, 42] Operation: 77-35=42
Exploring Operation: 77-51=26, Resulting Numbers: [35, 3, 26]
Generated Node #0,1: 90:[35, 3, 26] Operation: 77-51=26
Exploring Operation: 51+35=86, Resulting Numbers: [77, 3, 86]
Generated Node #0,2: 90:[77, 3, 86] Operation: 51+35=86
Exploring Operation: 51-35=16, Resulting Numbers: [77, 3, 16]
Generated Node #0,3: 90:[77, 3, 16] Operation: 51-35=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[51, 3, 42], Operations: ['77-35=42']
Exploring Operation: 51/3=17, Resulting Numbers: [42, 17]
Generated Node #0,0,0: 90:[42, 17] Operation: 51/3=17
Exploring Operation: 51-42=9, Resulting Numbers: [3, 9]
Generated Node #0,0,1: 90:[3, 9] Operation: 51-42=9
Exploring Operation: 51+42=93, Resulting Numbers: [3, 93]
Generated Node #0,0,2: 90:[3, 93] Operation: 51+42=93
Exploring Operation: 51-3=48, Resulting Numbers: [42, 48]
Generated Node #0,0,3: 90:[42, 48] Operation: 51-3=48
Moving to Node #0,0,1
Current State: 90:[3, 9], Operations: ['77-35=42', '51-42=9']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,90 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[3, 93], Operations: ['77-35=42', '51+42=93']
Exploring Operation: 3+93=96, Resulting Numbers: [96]
96,90 unequal: No Solution
Exploring Operation: 3*93=279, Resulting Numbers: [279]
279,90 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[77, 51, 35, 3], Operations: []
Exploring Operation: 77-35=42, Resulting Numbers: [51, 3, 42]
Generated Node #0,0: 90:[51, 3, 42] Operation: 77-35=42
Moving to Node #0,0
Current State: 90:[51, 3, 42], Operations: ['77-35=42']
Exploring Operation: 51+42=93, Resulting Numbers: [3, 93]
Generated Node #0,0,2: 90:[3, 93] Operation: 51+42=93
Moving to Node #0,0,2
Current State: 90:[3, 93], Operations: ['77-35=42', '51+42=93']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
85,
17,
92,
96
] | 86 | [
"85+17=102",
"92+96=188",
"188-102=86"
] | Current State: 86:[85, 17, 92, 96], Operations: []
Exploring Operation: 85+17=102, Resulting Numbers: [92, 96, 102]
Generated Node #2: [92, 96, 102] from Operation: 85+17=102
Current State: 86:[92, 96, 102], Operations: ['85+17=102']
Exploring Operation: 92+96=188, Resulting Numbers: [102, 188]
Generated Node #3: [102, 188] from Operation: 92+96=188
Current State: 86:[102, 188], Operations: ['85+17=102', '92+96=188']
Exploring Operation: 188-102=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[85, 17, 92, 96], Operations: []
Exploring Operation: 96-17=79, Resulting Numbers: [85, 92, 79]
Generated Node #0,0: 86:[85, 92, 79] Operation: 96-17=79
Exploring Operation: 92-85=7, Resulting Numbers: [17, 96, 7]
Generated Node #0,1: 86:[17, 96, 7] Operation: 92-85=7
Exploring Operation: 92-17=75, Resulting Numbers: [85, 96, 75]
Generated Node #0,2: 86:[85, 96, 75] Operation: 92-17=75
Exploring Operation: 96-92=4, Resulting Numbers: [85, 17, 4]
Generated Node #0,3: 86:[85, 17, 4] Operation: 96-92=4
Exploring Operation: 85/17=5, Resulting Numbers: [92, 96, 5]
Generated Node #0,4: 86:[92, 96, 5] Operation: 85/17=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[85, 92, 79], Operations: ['96-17=79']
Exploring Operation: 92-79=13, Resulting Numbers: [85, 13]
Generated Node #0,0,0: 86:[85, 13] Operation: 92-79=13
Exploring Operation: 92-85=7, Resulting Numbers: [79, 7]
Generated Node #0,0,1: 86:[79, 7] Operation: 92-85=7
Exploring Operation: 85+79=164, Resulting Numbers: [92, 164]
Generated Node #0,0,2: 86:[92, 164] Operation: 85+79=164
Exploring Operation: 85-79=6, Resulting Numbers: [92, 6]
Generated Node #0,0,3: 86:[92, 6] Operation: 85-79=6
Exploring Operation: 92+79=171, Resulting Numbers: [85, 171]
Generated Node #0,0,4: 86:[85, 171] Operation: 92+79=171
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 86:[92, 6], Operations: ['96-17=79', '85-79=6']
Exploring Operation: 92*6=552, Resulting Numbers: [552]
552,86 unequal: No Solution
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[85, 17, 92, 96], Operations: []
Exploring Operation: 96-17=79, Resulting Numbers: [85, 92, 79]
Generated Node #0,0: 86:[85, 92, 79] Operation: 96-17=79
Moving to Node #0,0
Current State: 86:[85, 92, 79], Operations: ['96-17=79']
Exploring Operation: 85-79=6, Resulting Numbers: [92, 6]
Generated Node #0,0,3: 86:[92, 6] Operation: 85-79=6
Moving to Node #0,0,3
Current State: 86:[92, 6], Operations: ['96-17=79', '85-79=6']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
30,
50,
1,
1
] | 80 | [
"30+50=80",
"1*1=1",
"80*1=80"
] | Current State: 80:[30, 50, 1, 1], Operations: []
Exploring Operation: 30+50=80, Resulting Numbers: [1, 1, 80]
Generated Node #2: [1, 1, 80] from Operation: 30+50=80
Current State: 80:[1, 1, 80], Operations: ['30+50=80']
Exploring Operation: 1*1=1, Resulting Numbers: [80, 1]
Generated Node #3: [80, 1] from Operation: 1*1=1
Current State: 80:[80, 1], Operations: ['30+50=80', '1*1=1']
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[30, 50, 1, 1], Operations: []
Exploring Operation: 30+50=80, Resulting Numbers: [1, 1, 80]
Generated Node #0,0: 80:[1, 1, 80] Operation: 30+50=80
Exploring Operation: 30-1=29, Resulting Numbers: [50, 1, 29]
Generated Node #0,1: 80:[50, 1, 29] Operation: 30-1=29
Exploring Operation: 30+1=31, Resulting Numbers: [50, 1, 31]
Generated Node #0,2: 80:[50, 1, 31] Operation: 30+1=31
Exploring Operation: 30+1=31, Resulting Numbers: [50, 1, 31]
Generated Node #0,3: 80:[50, 1, 31] Operation: 30+1=31
Exploring Operation: 50-30=20, Resulting Numbers: [1, 1, 20]
Generated Node #0,4: 80:[1, 1, 20] Operation: 50-30=20
Moving to Node #0,0
Current State: 80:[1, 1, 80], Operations: ['30+50=80']
Exploring Operation: 1+1=2, Resulting Numbers: [80, 2]
Generated Node #0,0,0: 80:[80, 2] Operation: 1+1=2
Exploring Operation: 1*80=80, Resulting Numbers: [1, 80]
Generated Node #0,0,1: 80:[1, 80] Operation: 1*80=80
Exploring Operation: 1*1=1, Resulting Numbers: [80, 1]
Generated Node #0,0,2: 80:[80, 1] Operation: 1*1=1
Exploring Operation: 80/1=80, Resulting Numbers: [1, 80]
Generated Node #0,0,3: 80:[1, 80] Operation: 80/1=80
Exploring Operation: 1/1=1, Resulting Numbers: [80, 1]
Generated Node #0,0,4: 80:[80, 1] Operation: 1/1=1
Moving to Node #0,4
Current State: 80:[1, 1, 20], Operations: ['50-30=20']
Exploring Operation: 1/1=1, Resulting Numbers: [20, 1]
Generated Node #0,4,0: 80:[20, 1] Operation: 1/1=1
Exploring Operation: 1*20=20, Resulting Numbers: [1, 20]
Generated Node #0,4,1: 80:[1, 20] Operation: 1*20=20
Exploring Operation: 1+1=2, Resulting Numbers: [20, 2]
Generated Node #0,4,2: 80:[20, 2] Operation: 1+1=2
Exploring Operation: 1*1=1, Resulting Numbers: [20, 1]
Generated Node #0,4,3: 80:[20, 1] Operation: 1*1=1
Exploring Operation: 20/1=20, Resulting Numbers: [1, 20]
Generated Node #0,4,4: 80:[1, 20] Operation: 20/1=20
Moving to Node #0,1
Current State: 80:[50, 1, 29], Operations: ['30-1=29']
Exploring Operation: 29-1=28, Resulting Numbers: [50, 28]
Generated Node #0,1,0: 80:[50, 28] Operation: 29-1=28
Exploring Operation: 50-29=21, Resulting Numbers: [1, 21]
Generated Node #0,1,1: 80:[1, 21] Operation: 50-29=21
Exploring Operation: 50-1=49, Resulting Numbers: [29, 49]
Generated Node #0,1,2: 80:[29, 49] Operation: 50-1=49
Exploring Operation: 50+29=79, Resulting Numbers: [1, 79]
Generated Node #0,1,3: 80:[1, 79] Operation: 50+29=79
Exploring Operation: 50*1=50, Resulting Numbers: [29, 50]
Generated Node #0,1,4: 80:[29, 50] Operation: 50*1=50
Moving to Node #0,2
Current State: 80:[50, 1, 31], Operations: ['30+1=31']
Exploring Operation: 50*1=50, Resulting Numbers: [31, 50]
Generated Node #0,2,0: 80:[31, 50] Operation: 50*1=50
Exploring Operation: 50-1=49, Resulting Numbers: [31, 49]
Generated Node #0,2,1: 80:[31, 49] Operation: 50-1=49
Exploring Operation: 50-31=19, Resulting Numbers: [1, 19]
Generated Node #0,2,2: 80:[1, 19] Operation: 50-31=19
Exploring Operation: 50+31=81, Resulting Numbers: [1, 81]
Generated Node #0,2,3: 80:[1, 81] Operation: 50+31=81
Exploring Operation: 1+31=32, Resulting Numbers: [50, 32]
Generated Node #0,2,4: 80:[50, 32] Operation: 1+31=32
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 80:[1, 19], Operations: ['30+1=31', '50-31=19']
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,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,2,3
Current State: 80:[1, 81], Operations: ['30+1=31', '50+31=81']
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 1*81=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 1+81=82, Resulting Numbers: [82]
82,80 unequal: No Solution
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[30, 50, 1, 1], Operations: []
Exploring Operation: 30+1=31, Resulting Numbers: [50, 1, 31]
Generated Node #0,2: 80:[50, 1, 31] Operation: 30+1=31
Moving to Node #0,2
Current State: 80:[50, 1, 31], Operations: ['30+1=31']
Exploring Operation: 50+31=81, Resulting Numbers: [1, 81]
Generated Node #0,2,3: 80:[1, 81] Operation: 50+31=81
Moving to Node #0,2,3
Current State: 80:[1, 81], Operations: ['30+1=31', '50+31=81']
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
4,
23,
14,
25
] | 20 | [
"23-4=19",
"14+25=39",
"39-19=20"
] | Current State: 20:[4, 23, 14, 25], Operations: []
Exploring Operation: 23-4=19, Resulting Numbers: [14, 25, 19]
Generated Node #2: [14, 25, 19] from Operation: 23-4=19
Current State: 20:[14, 25, 19], Operations: ['23-4=19']
Exploring Operation: 14+25=39, Resulting Numbers: [19, 39]
Generated Node #3: [19, 39] from Operation: 14+25=39
Current State: 20:[19, 39], Operations: ['23-4=19', '14+25=39']
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[4, 23, 14, 25], Operations: []
Exploring Operation: 25-4=21, Resulting Numbers: [23, 14, 21]
Generated Node #0,0: 20:[23, 14, 21] Operation: 25-4=21
Exploring Operation: 14-4=10, Resulting Numbers: [23, 25, 10]
Generated Node #0,1: 20:[23, 25, 10] Operation: 14-4=10
Exploring Operation: 25-23=2, Resulting Numbers: [4, 14, 2]
Generated Node #0,2: 20:[4, 14, 2] Operation: 25-23=2
Exploring Operation: 25-14=11, Resulting Numbers: [4, 23, 11]
Generated Node #0,3: 20:[4, 23, 11] Operation: 25-14=11
Exploring Operation: 23-14=9, Resulting Numbers: [4, 25, 9]
Generated Node #0,4: 20:[4, 25, 9] Operation: 23-14=9
Moving to Node #0,2
Current State: 20:[4, 14, 2], Operations: ['25-23=2']
Exploring Operation: 4-2=2, Resulting Numbers: [14, 2]
Generated Node #0,2,0: 20:[14, 2] Operation: 4-2=2
Exploring Operation: 4+14=18, Resulting Numbers: [2, 18]
Generated Node #0,2,1: 20:[2, 18] Operation: 4+14=18
Exploring Operation: 14-2=12, Resulting Numbers: [4, 12]
Generated Node #0,2,2: 20:[4, 12] Operation: 14-2=12
Exploring Operation: 14-4=10, Resulting Numbers: [2, 10]
Generated Node #0,2,3: 20:[2, 10] Operation: 14-4=10
Exploring Operation: 14/2=7, Resulting Numbers: [4, 7]
Generated Node #0,2,4: 20:[4, 7] Operation: 14/2=7
Moving to Node #0,3
Current State: 20:[4, 23, 11], Operations: ['25-14=11']
Exploring Operation: 4+23=27, Resulting Numbers: [11, 27]
Generated Node #0,3,0: 20:[11, 27] Operation: 4+23=27
Exploring Operation: 4+11=15, Resulting Numbers: [23, 15]
Generated Node #0,3,1: 20:[23, 15] Operation: 4+11=15
Exploring Operation: 11-4=7, Resulting Numbers: [23, 7]
Generated Node #0,3,2: 20:[23, 7] Operation: 11-4=7
Exploring Operation: 23-11=12, Resulting Numbers: [4, 12]
Generated Node #0,3,3: 20:[4, 12] Operation: 23-11=12
Exploring Operation: 23-4=19, Resulting Numbers: [11, 19]
Generated Node #0,3,4: 20:[11, 19] Operation: 23-4=19
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 20:[4, 12], Operations: ['25-14=11', '23-11=12']
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,20 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 20:[11, 19], Operations: ['25-14=11', '23-4=19']
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 11*19=209, Resulting Numbers: [209]
209,20 unequal: No Solution
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 20:[23, 7], Operations: ['25-14=11', '11-4=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,20 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 20:[11, 27], Operations: ['25-14=11', '4+23=27']
Exploring Operation: 11*27=297, Resulting Numbers: [297]
297,20 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 20:[23, 15], Operations: ['25-14=11', '4+11=15']
Exploring Operation: 23*15=345, Resulting Numbers: [345]
345,20 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 20:[4, 25, 9], Operations: ['23-14=9']
Exploring Operation: 9-4=5, Resulting Numbers: [25, 5]
Generated Node #0,4,0: 20:[25, 5] Operation: 9-4=5
Exploring Operation: 4+9=13, Resulting Numbers: [25, 13]
Generated Node #0,4,1: 20:[25, 13] Operation: 4+9=13
Exploring Operation: 25-4=21, Resulting Numbers: [9, 21]
Generated Node #0,4,2: 20:[9, 21] Operation: 25-4=21
Exploring Operation: 25-9=16, Resulting Numbers: [4, 16]
Generated Node #0,4,3: 20:[4, 16] Operation: 25-9=16
Exploring Operation: 4+25=29, Resulting Numbers: [9, 29]
Generated Node #0,4,4: 20:[9, 29] Operation: 4+25=29
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 20:[9, 21], Operations: ['23-14=9', '25-4=21']
Exploring Operation: 9*21=189, Resulting Numbers: [189]
189,20 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 20:[4, 16], Operations: ['23-14=9', '25-9=16']
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,20 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[4, 23, 14, 25], Operations: []
Exploring Operation: 23-14=9, Resulting Numbers: [4, 25, 9]
Generated Node #0,4: 20:[4, 25, 9] Operation: 23-14=9
Moving to Node #0,4
Current State: 20:[4, 25, 9], Operations: ['23-14=9']
Exploring Operation: 25-9=16, Resulting Numbers: [4, 16]
Generated Node #0,4,3: 20:[4, 16] Operation: 25-9=16
Moving to Node #0,4,3
Current State: 20:[4, 16], Operations: ['23-14=9', '25-9=16']
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938 | hs_5 | mult_heuristic |
[
91,
82,
7,
13
] | 29 | [
"91-82=9",
"7+13=20",
"9+20=29"
] | Current State: 29:[91, 82, 7, 13], Operations: []
Exploring Operation: 91-82=9, Resulting Numbers: [7, 13, 9]
Generated Node #2: [7, 13, 9] from Operation: 91-82=9
Current State: 29:[7, 13, 9], Operations: ['91-82=9']
Exploring Operation: 7+13=20, Resulting Numbers: [9, 20]
Generated Node #3: [9, 20] from Operation: 7+13=20
Current State: 29:[9, 20], Operations: ['91-82=9', '7+13=20']
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[91, 82, 7, 13], Operations: []
Exploring Operation: 91-82=9, Resulting Numbers: [7, 13, 9]
Generated Node #0,0: 29:[7, 13, 9] Operation: 91-82=9
Moving to Node #0,0
Current State: 29:[7, 13, 9], Operations: ['91-82=9']
Exploring Operation: 7+13=20, Resulting Numbers: [9, 20]
Generated Node #0,0,0: 29:[9, 20] Operation: 7+13=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[9, 20], Operations: ['91-82=9', '7+13=20']
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[91, 82, 7, 13], Operations: []
Exploring Operation: 91-82=9, Resulting Numbers: [7, 13, 9]
Generated Node #0,0: 29:[7, 13, 9] Operation: 91-82=9
Moving to Node #0,0
Current State: 29:[7, 13, 9], Operations: ['91-82=9']
Exploring Operation: 7+13=20, Resulting Numbers: [9, 20]
Generated Node #0,0,0: 29:[9, 20] Operation: 7+13=20
Moving to Node #0,0,0
Current State: 29:[9, 20], Operations: ['91-82=9', '7+13=20']
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
9,
6,
63,
57
] | 31 | [
"6*57=342",
"342-63=279",
"279/9=31"
] | Current State: 31:[9, 6, 63, 57], Operations: []
Exploring Operation: 6*57=342, Resulting Numbers: [9, 63, 342]
Generated Node #2: [9, 63, 342] from Operation: 6*57=342
Current State: 31:[9, 63, 342], Operations: ['6*57=342']
Exploring Operation: 342-63=279, Resulting Numbers: [9, 279]
Generated Node #3: [9, 279] from Operation: 342-63=279
Current State: 31:[9, 279], Operations: ['6*57=342', '342-63=279']
Exploring Operation: 279/9=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[9, 6, 63, 57], Operations: []
Exploring Operation: 63-9=54, Resulting Numbers: [6, 57, 54]
Generated Node #0,0: 31:[6, 57, 54] Operation: 63-9=54
Exploring Operation: 9+6=15, Resulting Numbers: [63, 57, 15]
Generated Node #0,1: 31:[63, 57, 15] Operation: 9+6=15
Exploring Operation: 63-57=6, Resulting Numbers: [9, 6, 6]
Generated Node #0,2: 31:[9, 6, 6] Operation: 63-57=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[9, 6, 6], Operations: ['63-57=6']
Exploring Operation: 6*6=36, Resulting Numbers: [9, 36]
Generated Node #0,2,0: 31:[9, 36] Operation: 6*6=36
Exploring Operation: 9+6=15, Resulting Numbers: [6, 15]
Generated Node #0,2,1: 31:[6, 15] Operation: 9+6=15
Exploring Operation: 9+6=15, Resulting Numbers: [6, 15]
Generated Node #0,2,2: 31:[6, 15] Operation: 9+6=15
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 31:[9, 36], Operations: ['63-57=6', '6*6=36']
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,31 unequal: No Solution
No 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: 31:[6, 15], Operations: ['63-57=6', '9+6=15']
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,31 unequal: No Solution
No 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: 31:[6, 15], Operations: ['63-57=6', '9+6=15']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,31 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: 31:[6, 57, 54], Operations: ['63-9=54']
Exploring Operation: 54/6=9, Resulting Numbers: [57, 9]
Generated Node #0,0,0: 31:[57, 9] Operation: 54/6=9
Exploring Operation: 57-6=51, Resulting Numbers: [54, 51]
Generated Node #0,0,1: 31:[54, 51] Operation: 57-6=51
Exploring Operation: 54-6=48, Resulting Numbers: [57, 48]
Generated Node #0,0,2: 31:[57, 48] Operation: 54-6=48
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 31:[54, 51], Operations: ['63-9=54', '57-6=51']
Exploring Operation: 54+51=105, Resulting Numbers: [105]
105,31 unequal: No Solution
Exploring Operation: 54-51=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 54*51=2754, Resulting Numbers: [2754]
2754,31 unequal: No Solution
No 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: 31:[57, 48], Operations: ['63-9=54', '54-6=48']
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 57*48=2736, Resulting Numbers: [2736]
2736,31 unequal: No Solution
Exploring Operation: 57+48=105, Resulting Numbers: [105]
105,31 unequal: No Solution
No 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: 31:[57, 9], Operations: ['63-9=54', '54/6=9']
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,31 unequal: No Solution
Exploring Operation: 57+9=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 57*9=513, Resulting Numbers: [513]
513,31 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: 31:[63, 57, 15], Operations: ['9+6=15']
Exploring Operation: 63-57=6, Resulting Numbers: [15, 6]
Generated Node #0,1,0: 31:[15, 6] Operation: 63-57=6
Exploring Operation: 57-15=42, Resulting Numbers: [63, 42]
Generated Node #0,1,1: 31:[63, 42] Operation: 57-15=42
Exploring Operation: 63-15=48, Resulting Numbers: [57, 48]
Generated Node #0,1,2: 31:[57, 48] Operation: 63-15=48
Moving to Node #0,1,0
Current State: 31:[15, 6], Operations: ['9+6=15', '63-57=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,31 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[63, 42], Operations: ['9+6=15', '57-15=42']
Exploring Operation: 63-42=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 63*42=2646, Resulting Numbers: [2646]
2646,31 unequal: No Solution
Exploring Operation: 63+42=105, Resulting Numbers: [105]
105,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[57, 48], Operations: ['9+6=15', '63-15=48']
Exploring Operation: 57+48=105, Resulting Numbers: [105]
105,31 unequal: No Solution
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 57*48=2736, Resulting Numbers: [2736]
2736,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
81,
5,
23,
78
] | 54 | [
"81-78=3",
"23-5=18",
"3*18=54"
] | Current State: 54:[81, 5, 23, 78], Operations: []
Exploring Operation: 81-78=3, Resulting Numbers: [5, 23, 3]
Generated Node #2: [5, 23, 3] from Operation: 81-78=3
Current State: 54:[5, 23, 3], Operations: ['81-78=3']
Exploring Operation: 23-5=18, Resulting Numbers: [3, 18]
Generated Node #3: [3, 18] from Operation: 23-5=18
Current State: 54:[3, 18], Operations: ['81-78=3', '23-5=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[81, 5, 23, 78], Operations: []
Exploring Operation: 81-78=3, Resulting Numbers: [5, 23, 3]
Generated Node #0,0: 54:[5, 23, 3] Operation: 81-78=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[5, 23, 3], Operations: ['81-78=3']
Exploring Operation: 23-5=18, Resulting Numbers: [3, 18]
Generated Node #0,0,0: 54:[3, 18] Operation: 23-5=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[3, 18], Operations: ['81-78=3', '23-5=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[81, 5, 23, 78], Operations: []
Exploring Operation: 81-78=3, Resulting Numbers: [5, 23, 3]
Generated Node #0,0: 54:[5, 23, 3] Operation: 81-78=3
Moving to Node #0,0
Current State: 54:[5, 23, 3], Operations: ['81-78=3']
Exploring Operation: 23-5=18, Resulting Numbers: [3, 18]
Generated Node #0,0,0: 54:[3, 18] Operation: 23-5=18
Moving to Node #0,0,0
Current State: 54:[3, 18], Operations: ['81-78=3', '23-5=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
39,
35,
59,
55
] | 78 | [
"39+35=74",
"59-55=4",
"74+4=78"
] | Current State: 78:[39, 35, 59, 55], Operations: []
Exploring Operation: 39+35=74, Resulting Numbers: [59, 55, 74]
Generated Node #2: [59, 55, 74] from Operation: 39+35=74
Current State: 78:[59, 55, 74], Operations: ['39+35=74']
Exploring Operation: 59-55=4, Resulting Numbers: [74, 4]
Generated Node #3: [74, 4] from Operation: 59-55=4
Current State: 78:[74, 4], Operations: ['39+35=74', '59-55=4']
Exploring Operation: 74+4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[39, 35, 59, 55], Operations: []
Exploring Operation: 59-55=4, Resulting Numbers: [39, 35, 4]
Generated Node #0,0: 78:[39, 35, 4] Operation: 59-55=4
Exploring Operation: 59-35=24, Resulting Numbers: [39, 55, 24]
Generated Node #0,1: 78:[39, 55, 24] Operation: 59-35=24
Exploring Operation: 55-35=20, Resulting Numbers: [39, 59, 20]
Generated Node #0,2: 78:[39, 59, 20] Operation: 55-35=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[39, 35, 4], Operations: ['59-55=4']
Exploring Operation: 39-35=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 78:[4, 4] Operation: 39-35=4
Exploring Operation: 35+4=39, Resulting Numbers: [39, 39]
Generated Node #0,0,1: 78:[39, 39] Operation: 35+4=39
Exploring Operation: 39+35=74, Resulting Numbers: [4, 74]
Generated Node #0,0,2: 78:[4, 74] Operation: 39+35=74
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 78:[39, 39], Operations: ['59-55=4', '35+4=39']
Exploring Operation: 39+39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[39, 35, 59, 55], Operations: []
Exploring Operation: 59-55=4, Resulting Numbers: [39, 35, 4]
Generated Node #0,0: 78:[39, 35, 4] Operation: 59-55=4
Moving to Node #0,0
Current State: 78:[39, 35, 4], Operations: ['59-55=4']
Exploring Operation: 35+4=39, Resulting Numbers: [39, 39]
Generated Node #0,0,1: 78:[39, 39] Operation: 35+4=39
Moving to Node #0,0,1
Current State: 78:[39, 39], Operations: ['59-55=4', '35+4=39']
Exploring Operation: 39+39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
30,
47,
3,
9
] | 11 | [
"47-30=17",
"9-3=6",
"17-6=11"
] | Current State: 11:[30, 47, 3, 9], Operations: []
Exploring Operation: 47-30=17, Resulting Numbers: [3, 9, 17]
Generated Node #2: [3, 9, 17] from Operation: 47-30=17
Current State: 11:[3, 9, 17], Operations: ['47-30=17']
Exploring Operation: 9-3=6, Resulting Numbers: [17, 6]
Generated Node #3: [17, 6] from Operation: 9-3=6
Current State: 11:[17, 6], Operations: ['47-30=17', '9-3=6']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[30, 47, 3, 9], Operations: []
Exploring Operation: 30/3=10, Resulting Numbers: [47, 9, 10]
Generated Node #0,0: 11:[47, 9, 10] Operation: 30/3=10
Exploring Operation: 47-30=17, Resulting Numbers: [3, 9, 17]
Generated Node #0,1: 11:[3, 9, 17] Operation: 47-30=17
Moving to Node #0,1
Current State: 11:[3, 9, 17], Operations: ['47-30=17']
Exploring Operation: 3+9=12, Resulting Numbers: [17, 12]
Generated Node #0,1,0: 11:[17, 12] Operation: 3+9=12
Exploring Operation: 17-3=14, Resulting Numbers: [9, 14]
Generated Node #0,1,1: 11:[9, 14] Operation: 17-3=14
Moving to Node #0,0
Current State: 11:[47, 9, 10], Operations: ['30/3=10']
Exploring Operation: 47-10=37, Resulting Numbers: [9, 37]
Generated Node #0,0,0: 11:[9, 37] Operation: 47-10=37
Exploring Operation: 47-9=38, Resulting Numbers: [10, 38]
Generated Node #0,0,1: 11:[10, 38] Operation: 47-9=38
Moving to Node #0,1,1
Current State: 11:[9, 14], Operations: ['47-30=17', '17-3=14']
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[17, 12], Operations: ['47-30=17', '3+9=12']
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[10, 38], Operations: ['30/3=10', '47-9=38']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[9, 37], Operations: ['30/3=10', '47-10=37']
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,11 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
99,
53,
53,
70
] | 63 | [
"99-53=46",
"70-53=17",
"46+17=63"
] | Current State: 63:[99, 53, 53, 70], Operations: []
Exploring Operation: 99-53=46, Resulting Numbers: [70, 46]
Generated Node #2: [70, 46] from Operation: 99-53=46
Current State: 63:[70, 46], Operations: ['99-53=46']
Exploring Operation: 70-53=17, Resulting Numbers: [46, 17]
Generated Node #3: [46, 17] from Operation: 70-53=17
Current State: 63:[46, 17], Operations: ['99-53=46', '70-53=17']
Exploring Operation: 46+17=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[99, 53, 53, 70], Operations: []
Exploring Operation: 99-70=29, Resulting Numbers: [53, 53, 29]
Generated Node #0,0: 63:[53, 53, 29] Operation: 99-70=29
Exploring Operation: 53-53=0, Resulting Numbers: [99, 70, 0]
Generated Node #0,1: 63:[99, 70, 0] Operation: 53-53=0
Exploring Operation: 53/53=1, Resulting Numbers: [99, 70, 1]
Generated Node #0,2: 63:[99, 70, 1] Operation: 53/53=1
Exploring Operation: 99-53=46, Resulting Numbers: [53, 70, 46]
Generated Node #0,3: 63:[53, 70, 46] Operation: 99-53=46
Exploring Operation: 99-53=46, Resulting Numbers: [53, 70, 46]
Generated Node #0,4: 63:[53, 70, 46] Operation: 99-53=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[53, 53, 29], Operations: ['99-70=29']
Exploring Operation: 53-29=24, Resulting Numbers: [53, 24]
Generated Node #0,0,0: 63:[53, 24] Operation: 53-29=24
Exploring Operation: 53+29=82, Resulting Numbers: [53, 82]
Generated Node #0,0,1: 63:[53, 82] Operation: 53+29=82
Exploring Operation: 53-53=0, Resulting Numbers: [29, 0]
Generated Node #0,0,2: 63:[29, 0] Operation: 53-53=0
Exploring Operation: 53/53=1, Resulting Numbers: [29, 1]
Generated Node #0,0,3: 63:[29, 1] Operation: 53/53=1
Exploring Operation: 53-29=24, Resulting Numbers: [53, 24]
Generated Node #0,0,4: 63:[53, 24] Operation: 53-29=24
Moving to Node #0,0,3
Current State: 63:[29, 1], Operations: ['99-70=29', '53/53=1']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,63 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,63 unequal: No Solution
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[29, 0], Operations: ['99-70=29', '53-53=0']
Exploring Operation: 29+0=29, Resulting Numbers: [29]
29,63 unequal: No Solution
Exploring Operation: 29-0=29, Resulting Numbers: [29]
29,63 unequal: No Solution
Exploring Operation: 29*0=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[53, 24], Operations: ['99-70=29', '53-29=24']
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,63 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,63 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,63 unequal: No Solution
Moving to Node #0,0,4
Current State: 63:[53, 24], Operations: ['99-70=29', '53-29=24']
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,63 unequal: No Solution
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,63 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[53, 82], Operations: ['99-70=29', '53+29=82']
Exploring Operation: 53*82=4346, Resulting Numbers: [4346]
4346,63 unequal: No Solution
Exploring Operation: 82-53=29, Resulting Numbers: [29]
29,63 unequal: No Solution
Exploring Operation: 53+82=135, Resulting Numbers: [135]
135,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 63:[53, 70, 46], Operations: ['99-53=46']
Exploring Operation: 53+46=99, Resulting Numbers: [70, 99]
Generated Node #0,3,0: 63:[70, 99] Operation: 53+46=99
Exploring Operation: 53-46=7, Resulting Numbers: [70, 7]
Generated Node #0,3,1: 63:[70, 7] Operation: 53-46=7
Exploring Operation: 70+46=116, Resulting Numbers: [53, 116]
Generated Node #0,3,2: 63:[53, 116] Operation: 70+46=116
Exploring Operation: 70-46=24, Resulting Numbers: [53, 24]
Generated Node #0,3,3: 63:[53, 24] Operation: 70-46=24
Exploring Operation: 70-53=17, Resulting Numbers: [46, 17]
Generated Node #0,3,4: 63:[46, 17] Operation: 70-53=17
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 63:[70, 7], Operations: ['99-53=46', '53-46=7']
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,63 unequal: No Solution
Exploring Operation: 70*7=490, Resulting Numbers: [490]
490,63 unequal: No Solution
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[99, 53, 53, 70], Operations: []
Exploring Operation: 99-53=46, Resulting Numbers: [53, 70, 46]
Generated Node #0,3: 63:[53, 70, 46] Operation: 99-53=46
Moving to Node #0,3
Current State: 63:[53, 70, 46], Operations: ['99-53=46']
Exploring Operation: 53-46=7, Resulting Numbers: [70, 7]
Generated Node #0,3,1: 63:[70, 7] Operation: 53-46=7
Moving to Node #0,3,1
Current State: 63:[70, 7], Operations: ['99-53=46', '53-46=7']
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.966146 | hs_5 | sum_heuristic |
[
7,
39,
99,
2
] | 75 | [
"7*39=273",
"99*2=198",
"273-198=75"
] | Current State: 75:[7, 39, 99, 2], Operations: []
Exploring Operation: 7*39=273, Resulting Numbers: [99, 2, 273]
Generated Node #2: [99, 2, 273] from Operation: 7*39=273
Current State: 75:[99, 2, 273], Operations: ['7*39=273']
Exploring Operation: 99*2=198, Resulting Numbers: [273, 198]
Generated Node #3: [273, 198] from Operation: 99*2=198
Current State: 75:[273, 198], Operations: ['7*39=273', '99*2=198']
Exploring Operation: 273-198=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[7, 39, 99, 2], Operations: []
Exploring Operation: 7-2=5, Resulting Numbers: [39, 99, 5]
Generated Node #0,0: 75:[39, 99, 5] Operation: 7-2=5
Exploring Operation: 99-39=60, Resulting Numbers: [7, 2, 60]
Generated Node #0,1: 75:[7, 2, 60] Operation: 99-39=60
Exploring Operation: 39-7=32, Resulting Numbers: [99, 2, 32]
Generated Node #0,2: 75:[99, 2, 32] Operation: 39-7=32
Exploring Operation: 99-7=92, Resulting Numbers: [39, 2, 92]
Generated Node #0,3: 75:[39, 2, 92] Operation: 99-7=92
Exploring Operation: 39*2=78, Resulting Numbers: [7, 99, 78]
Generated Node #0,4: 75:[7, 99, 78] Operation: 39*2=78
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[7, 2, 60], Operations: ['99-39=60']
Exploring Operation: 2+60=62, Resulting Numbers: [7, 62]
Generated Node #0,1,0: 75:[7, 62] Operation: 2+60=62
Exploring Operation: 60/2=30, Resulting Numbers: [7, 30]
Generated Node #0,1,1: 75:[7, 30] Operation: 60/2=30
Exploring Operation: 7+60=67, Resulting Numbers: [2, 67]
Generated Node #0,1,2: 75:[2, 67] Operation: 7+60=67
Exploring Operation: 7-2=5, Resulting Numbers: [60, 5]
Generated Node #0,1,3: 75:[60, 5] Operation: 7-2=5
Exploring Operation: 7*2=14, Resulting Numbers: [60, 14]
Generated Node #0,1,4: 75:[60, 14] Operation: 7*2=14
Moving to Node #0,1,1
Current State: 75:[7, 30], Operations: ['99-39=60', '60/2=30']
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,75 unequal: No Solution
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,75 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[2, 67], Operations: ['99-39=60', '7+60=67']
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,75 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,75 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[7, 62], Operations: ['99-39=60', '2+60=62']
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Exploring Operation: 7+62=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 7*62=434, Resulting Numbers: [434]
434,75 unequal: No Solution
Moving to Node #0,1,3
Current State: 75:[60, 5], Operations: ['99-39=60', '7-2=5']
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Exploring Operation: 60*5=300, Resulting Numbers: [300]
300,75 unequal: No Solution
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,75 unequal: No Solution
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Moving to Node #0,1,4
Current State: 75:[60, 14], Operations: ['99-39=60', '7*2=14']
Exploring Operation: 60+14=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 60*14=840, Resulting Numbers: [840]
840,75 unequal: No Solution
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 75:[7, 99, 78], Operations: ['39*2=78']
Exploring Operation: 7+99=106, Resulting Numbers: [78, 106]
Generated Node #0,4,0: 75:[78, 106] Operation: 7+99=106
Exploring Operation: 78-7=71, Resulting Numbers: [99, 71]
Generated Node #0,4,1: 75:[99, 71] Operation: 78-7=71
Exploring Operation: 7+78=85, Resulting Numbers: [99, 85]
Generated Node #0,4,2: 75:[99, 85] Operation: 7+78=85
Exploring Operation: 99-78=21, Resulting Numbers: [7, 21]
Generated Node #0,4,3: 75:[7, 21] Operation: 99-78=21
Exploring Operation: 99-7=92, Resulting Numbers: [78, 92]
Generated Node #0,4,4: 75:[78, 92] Operation: 99-7=92
Moving to Node #0,4,3
Current State: 75:[7, 21], Operations: ['39*2=78', '99-78=21']
Exploring Operation: 7*21=147, Resulting Numbers: [147]
147,75 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Moving to Node #0,4,4
Current State: 75:[78, 92], Operations: ['39*2=78', '99-7=92']
Exploring Operation: 78*92=7176, Resulting Numbers: [7176]
7176,75 unequal: No Solution
Exploring Operation: 92-78=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 78+92=170, Resulting Numbers: [170]
170,75 unequal: No Solution
Moving to Node #0,4,1
Current State: 75:[99, 71], Operations: ['39*2=78', '78-7=71']
Exploring Operation: 99*71=7029, Resulting Numbers: [7029]
7029,75 unequal: No Solution
Exploring Operation: 99-71=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 99+71=170, Resulting Numbers: [170]
170,75 unequal: No Solution
Moving to Node #0,4,0
Current State: 75:[78, 106], Operations: ['39*2=78', '7+99=106']
Exploring Operation: 106-78=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 78*106=8268, Resulting Numbers: [8268]
8268,75 unequal: No Solution
Exploring Operation: 78+106=184, Resulting Numbers: [184]
184,75 unequal: No Solution
Moving to Node #0,4,2
Current State: 75:[99, 85], Operations: ['39*2=78', '7+78=85']
Exploring Operation: 99*85=8415, Resulting Numbers: [8415]
8415,75 unequal: No Solution
Exploring Operation: 99+85=184, Resulting Numbers: [184]
184,75 unequal: No Solution
Exploring Operation: 99-85=14, Resulting Numbers: [14]
14,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[99, 2, 32], Operations: ['39-7=32']
Exploring Operation: 32/2=16, Resulting Numbers: [99, 16]
Generated Node #0,2,0: 75:[99, 16] Operation: 32/2=16
Exploring Operation: 99-32=67, Resulting Numbers: [2, 67]
Generated Node #0,2,1: 75:[2, 67] Operation: 99-32=67
Exploring Operation: 32-2=30, Resulting Numbers: [99, 30]
Generated Node #0,2,2: 75:[99, 30] Operation: 32-2=30
Exploring Operation: 99+2=101, Resulting Numbers: [32, 101]
Generated Node #0,2,3: 75:[32, 101] Operation: 99+2=101
Exploring Operation: 99-2=97, Resulting Numbers: [32, 97]
Generated Node #0,2,4: 75:[32, 97] Operation: 99-2=97
Moving to Node #0,2,1
Current State: 75:[2, 67], Operations: ['39-7=32', '99-32=67']
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,75 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,75 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[99, 16], Operations: ['39-7=32', '32/2=16']
Exploring Operation: 99*16=1584, Resulting Numbers: [1584]
1584,75 unequal: No Solution
Exploring Operation: 99+16=115, Resulting Numbers: [115]
115,75 unequal: No Solution
Exploring Operation: 99-16=83, Resulting Numbers: [83]
83,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[99, 30], Operations: ['39-7=32', '32-2=30']
Exploring Operation: 99-30=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 99*30=2970, Resulting Numbers: [2970]
2970,75 unequal: No Solution
Exploring Operation: 99+30=129, Resulting Numbers: [129]
129,75 unequal: No Solution
Moving to Node #0,2,4
Current State: 75:[32, 97], Operations: ['39-7=32', '99-2=97']
Exploring Operation: 97-32=65, Resulting Numbers: [65]
65,75 unequal: No Solution
Exploring Operation: 32+97=129, Resulting Numbers: [129]
129,75 unequal: No Solution
Exploring Operation: 32*97=3104, Resulting Numbers: [3104]
3104,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[32, 101], Operations: ['39-7=32', '99+2=101']
Exploring Operation: 101-32=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 32*101=3232, Resulting Numbers: [3232]
3232,75 unequal: No Solution
Exploring Operation: 32+101=133, Resulting Numbers: [133]
133,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[39, 2, 92], Operations: ['99-7=92']
Exploring Operation: 39+2=41, Resulting Numbers: [92, 41]
Generated Node #0,3,0: 75:[92, 41] Operation: 39+2=41
Exploring Operation: 92-39=53, Resulting Numbers: [2, 53]
Generated Node #0,3,1: 75:[2, 53] Operation: 92-39=53
Exploring Operation: 39*2=78, Resulting Numbers: [92, 78]
Generated Node #0,3,2: 75:[92, 78] Operation: 39*2=78
Exploring Operation: 92-2=90, Resulting Numbers: [39, 90]
Generated Node #0,3,3: 75:[39, 90] Operation: 92-2=90
Exploring Operation: 39-2=37, Resulting Numbers: [92, 37]
Generated Node #0,3,4: 75:[92, 37] Operation: 39-2=37
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 75:[92, 78], Operations: ['99-7=92', '39*2=78']
Exploring Operation: 92+78=170, Resulting Numbers: [170]
170,75 unequal: No Solution
Exploring Operation: 92-78=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 92*78=7176, Resulting Numbers: [7176]
7176,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 75:[2, 53], Operations: ['99-7=92', '92-39=53']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,75 unequal: No Solution
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 75:[39, 90], Operations: ['99-7=92', '92-2=90']
Exploring Operation: 39*90=3510, Resulting Numbers: [3510]
3510,75 unequal: No Solution
Exploring Operation: 39+90=129, Resulting Numbers: [129]
129,75 unequal: No Solution
Exploring Operation: 90-39=51, Resulting Numbers: [51]
51,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 75:[92, 37], Operations: ['99-7=92', '39-2=37']
Exploring Operation: 92-37=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Exploring Operation: 92+37=129, Resulting Numbers: [129]
129,75 unequal: No Solution
Exploring Operation: 92*37=3404, Resulting Numbers: [3404]
3404,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 75:[92, 41], Operations: ['99-7=92', '39+2=41']
Exploring Operation: 92+41=133, Resulting Numbers: [133]
133,75 unequal: No Solution
Exploring Operation: 92*41=3772, Resulting Numbers: [3772]
3772,75 unequal: No Solution
Exploring Operation: 92-41=51, Resulting Numbers: [51]
51,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[39, 99, 5], Operations: ['7-2=5']
Exploring Operation: 99+5=104, Resulting Numbers: [39, 104]
Generated Node #0,0,0: 75:[39, 104] Operation: 99+5=104
Exploring Operation: 39-5=34, Resulting Numbers: [99, 34]
Generated Node #0,0,1: 75:[99, 34] Operation: 39-5=34
Exploring Operation: 39+5=44, Resulting Numbers: [99, 44]
Generated Node #0,0,2: 75:[99, 44] Operation: 39+5=44
Exploring Operation: 99-39=60, Resulting Numbers: [5, 60]
Generated Node #0,0,3: 75:[5, 60] Operation: 99-39=60
Exploring Operation: 99-5=94, Resulting Numbers: [39, 94]
Generated Node #0,0,4: 75:[39, 94] Operation: 99-5=94
Moving to Node #0,0,3
Current State: 75:[5, 60], Operations: ['7-2=5', '99-39=60']
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,75 unequal: No Solution
Exploring Operation: 5*60=300, Resulting Numbers: [300]
300,75 unequal: No Solution
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Moving to Node #0,0,4
Current State: 75:[39, 94], Operations: ['7-2=5', '99-5=94']
Exploring Operation: 39+94=133, Resulting Numbers: [133]
133,75 unequal: No Solution
Exploring Operation: 94-39=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Exploring Operation: 39*94=3666, Resulting Numbers: [3666]
3666,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[99, 34], Operations: ['7-2=5', '39-5=34']
Exploring Operation: 99-34=65, Resulting Numbers: [65]
65,75 unequal: No Solution
Exploring Operation: 99*34=3366, Resulting Numbers: [3366]
3366,75 unequal: No Solution
Exploring Operation: 99+34=133, Resulting Numbers: [133]
133,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[39, 104], Operations: ['7-2=5', '99+5=104']
Exploring Operation: 39*104=4056, Resulting Numbers: [4056]
4056,75 unequal: No Solution
Exploring Operation: 39+104=143, Resulting Numbers: [143]
143,75 unequal: No Solution
Exploring Operation: 104-39=65, Resulting Numbers: [65]
65,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[99, 44], Operations: ['7-2=5', '39+5=44']
Exploring Operation: 99*44=4356, Resulting Numbers: [4356]
4356,75 unequal: No Solution
Exploring Operation: 99+44=143, Resulting Numbers: [143]
143,75 unequal: No Solution
Exploring Operation: 99-44=55, Resulting Numbers: [55]
55,75 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 |
[
63,
3,
83,
29
] | 67 | [
"83-63=20",
"3*29=87",
"87-20=67"
] | Current State: 67:[63, 3, 83, 29], Operations: []
Exploring Operation: 83-63=20, Resulting Numbers: [3, 29, 20]
Generated Node #2: [3, 29, 20] from Operation: 83-63=20
Current State: 67:[3, 29, 20], Operations: ['83-63=20']
Exploring Operation: 3*29=87, Resulting Numbers: [20, 87]
Generated Node #3: [20, 87] from Operation: 3*29=87
Current State: 67:[20, 87], Operations: ['83-63=20', '3*29=87']
Exploring Operation: 87-20=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[63, 3, 83, 29], Operations: []
Exploring Operation: 63+3=66, Resulting Numbers: [83, 29, 66]
Generated Node #0,0: 67:[83, 29, 66] Operation: 63+3=66
Exploring Operation: 83-3=80, Resulting Numbers: [63, 29, 80]
Generated Node #0,1: 67:[63, 29, 80] Operation: 83-3=80
Exploring Operation: 3*29=87, Resulting Numbers: [63, 83, 87]
Generated Node #0,2: 67:[63, 83, 87] Operation: 3*29=87
Exploring Operation: 3+29=32, Resulting Numbers: [63, 83, 32]
Generated Node #0,3: 67:[63, 83, 32] Operation: 3+29=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[63, 83, 87], Operations: ['3*29=87']
Exploring Operation: 63+83=146, Resulting Numbers: [87, 146]
Generated Node #0,2,0: 67:[87, 146] Operation: 63+83=146
Exploring Operation: 87-83=4, Resulting Numbers: [63, 4]
Generated Node #0,2,1: 67:[63, 4] Operation: 87-83=4
Exploring Operation: 87-63=24, Resulting Numbers: [83, 24]
Generated Node #0,2,2: 67:[83, 24] Operation: 87-63=24
Exploring Operation: 83-63=20, Resulting Numbers: [87, 20]
Generated Node #0,2,3: 67:[87, 20] Operation: 83-63=20
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[83, 24], Operations: ['3*29=87', '87-63=24']
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,67 unequal: No Solution
Exploring Operation: 83+24=107, Resulting Numbers: [107]
107,67 unequal: No Solution
Exploring Operation: 83*24=1992, Resulting Numbers: [1992]
1992,67 unequal: No Solution
No 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: 67:[63, 4], Operations: ['3*29=87', '87-83=4']
Exploring Operation: 63*4=252, Resulting Numbers: [252]
252,67 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,67 unequal: No Solution
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[63, 3, 83, 29], Operations: []
Exploring Operation: 3*29=87, Resulting Numbers: [63, 83, 87]
Generated Node #0,2: 67:[63, 83, 87] Operation: 3*29=87
Moving to Node #0,2
Current State: 67:[63, 83, 87], Operations: ['3*29=87']
Exploring Operation: 87-83=4, Resulting Numbers: [63, 4]
Generated Node #0,2,1: 67:[63, 4] Operation: 87-83=4
Moving to Node #0,2,1
Current State: 67:[63, 4], Operations: ['3*29=87', '87-83=4']
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
36,
72,
80,
33
] | 45 | [
"72/36=2",
"80-33=47",
"47-2=45"
] | Current State: 45:[36, 72, 80, 33], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [80, 33, 2]
Generated Node #2: [80, 33, 2] from Operation: 72/36=2
Current State: 45:[80, 33, 2], Operations: ['72/36=2']
Exploring Operation: 80-33=47, Resulting Numbers: [2, 47]
Generated Node #3: [2, 47] from Operation: 80-33=47
Current State: 45:[2, 47], Operations: ['72/36=2', '80-33=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[36, 72, 80, 33], Operations: []
Exploring Operation: 80-36=44, Resulting Numbers: [72, 33, 44]
Generated Node #0,0: 45:[72, 33, 44] Operation: 80-36=44
Exploring Operation: 72/36=2, Resulting Numbers: [80, 33, 2]
Generated Node #0,1: 45:[80, 33, 2] Operation: 72/36=2
Exploring Operation: 80-33=47, Resulting Numbers: [36, 72, 47]
Generated Node #0,2: 45:[36, 72, 47] Operation: 80-33=47
Exploring Operation: 80-72=8, Resulting Numbers: [36, 33, 8]
Generated Node #0,3: 45:[36, 33, 8] Operation: 80-72=8
Start Sub Search at level 1: Moving to Node #0,3
Current State: 45:[36, 33, 8], Operations: ['80-72=8']
Exploring Operation: 36-33=3, Resulting Numbers: [8, 3]
Generated Node #0,3,0: 45:[8, 3] Operation: 36-33=3
Exploring Operation: 33+8=41, Resulting Numbers: [36, 41]
Generated Node #0,3,1: 45:[36, 41] Operation: 33+8=41
Exploring Operation: 36+8=44, Resulting Numbers: [33, 44]
Generated Node #0,3,2: 45:[33, 44] Operation: 36+8=44
Exploring Operation: 33-8=25, Resulting Numbers: [36, 25]
Generated Node #0,3,3: 45:[36, 25] Operation: 33-8=25
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 45:[8, 3], Operations: ['80-72=8', '36-33=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 45:[36, 41], Operations: ['80-72=8', '33+8=41']
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 36+41=77, Resulting Numbers: [77]
77,45 unequal: No Solution
Exploring Operation: 36*41=1476, Resulting Numbers: [1476]
1476,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 45:[33, 44], Operations: ['80-72=8', '36+8=44']
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 33*44=1452, Resulting Numbers: [1452]
1452,45 unequal: No Solution
Exploring Operation: 33+44=77, Resulting Numbers: [77]
77,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 45:[36, 25], Operations: ['80-72=8', '33-8=25']
Exploring Operation: 36+25=61, Resulting Numbers: [61]
61,45 unequal: No Solution
Exploring Operation: 36*25=900, Resulting Numbers: [900]
900,45 unequal: No Solution
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,45 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: 45:[36, 72, 47], Operations: ['80-33=47']
Exploring Operation: 72-47=25, Resulting Numbers: [36, 25]
Generated Node #0,2,0: 45:[36, 25] Operation: 72-47=25
Exploring Operation: 72-36=36, Resulting Numbers: [47, 36]
Generated Node #0,2,1: 45:[47, 36] Operation: 72-36=36
Exploring Operation: 72/36=2, Resulting Numbers: [47, 2]
Generated Node #0,2,2: 45:[47, 2] Operation: 72/36=2
Exploring Operation: 47-36=11, Resulting Numbers: [72, 11]
Generated Node #0,2,3: 45:[72, 11] Operation: 47-36=11
Moving to Node #0,2,2
Current State: 45:[47, 2], Operations: ['80-33=47', '72/36=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,45 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[36, 72, 80, 33], Operations: []
Exploring Operation: 80-33=47, Resulting Numbers: [36, 72, 47]
Generated Node #0,2: 45:[36, 72, 47] Operation: 80-33=47
Moving to Node #0,2
Current State: 45:[36, 72, 47], Operations: ['80-33=47']
Exploring Operation: 72/36=2, Resulting Numbers: [47, 2]
Generated Node #0,2,2: 45:[47, 2] Operation: 72/36=2
Moving to Node #0,2,2
Current State: 45:[47, 2], Operations: ['80-33=47', '72/36=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.