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 |
|---|---|---|---|---|---|---|---|---|
[
13,
60,
24,
86
] | 11 | [
"13+60=73",
"86-24=62",
"73-62=11"
] | Current State: 11:[13, 60, 24, 86], Operations: []
Exploring Operation: 13+60=73, Resulting Numbers: [24, 86, 73]
Generated Node #2: [24, 86, 73] from Operation: 13+60=73
Current State: 11:[24, 86, 73], Operations: ['13+60=73']
Exploring Operation: 86-24=62, Resulting Numbers: [73, 62]
Generated Node #3: [73, 62] from Operation: 86-24=62
Current State: 11:[73, 62], Operations: ['13+60=73', '86-24=62']
Exploring Operation: 73-62=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[13, 60, 24, 86], Operations: []
Exploring Operation: 86-24=62, Resulting Numbers: [13, 60, 62]
Generated Node #0,0: 11:[13, 60, 62] Operation: 86-24=62
Exploring Operation: 86-60=26, Resulting Numbers: [13, 24, 26]
Generated Node #0,1: 11:[13, 24, 26] Operation: 86-60=26
Exploring Operation: 60-13=47, Resulting Numbers: [24, 86, 47]
Generated Node #0,2: 11:[24, 86, 47] Operation: 60-13=47
Exploring Operation: 60-24=36, Resulting Numbers: [13, 86, 36]
Generated Node #0,3: 11:[13, 86, 36] Operation: 60-24=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[13, 24, 26], Operations: ['86-60=26']
Exploring Operation: 24-13=11, Resulting Numbers: [26, 11]
Generated Node #0,1,0: 11:[26, 11] Operation: 24-13=11
Exploring Operation: 26/13=2, Resulting Numbers: [24, 2]
Generated Node #0,1,1: 11:[24, 2] Operation: 26/13=2
Exploring Operation: 26-13=13, Resulting Numbers: [24, 13]
Generated Node #0,1,2: 11:[24, 13] Operation: 26-13=13
Exploring Operation: 26-24=2, Resulting Numbers: [13, 2]
Generated Node #0,1,3: 11:[13, 2] Operation: 26-24=2
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 11:[13, 2], Operations: ['86-60=26', '26-24=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[13, 60, 24, 86], Operations: []
Exploring Operation: 86-60=26, Resulting Numbers: [13, 24, 26]
Generated Node #0,1: 11:[13, 24, 26] Operation: 86-60=26
Moving to Node #0,1
Current State: 11:[13, 24, 26], Operations: ['86-60=26']
Exploring Operation: 26-24=2, Resulting Numbers: [13, 2]
Generated Node #0,1,3: 11:[13, 2] Operation: 26-24=2
Moving to Node #0,1,3
Current State: 11:[13, 2], Operations: ['86-60=26', '26-24=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
91,
52,
13,
32
] | 20 | [
"91-52=39",
"32-13=19",
"39-19=20"
] | Current State: 20:[91, 52, 13, 32], Operations: []
Exploring Operation: 91-52=39, Resulting Numbers: [13, 32, 39]
Generated Node #2: [13, 32, 39] from Operation: 91-52=39
Current State: 20:[13, 32, 39], Operations: ['91-52=39']
Exploring Operation: 32-13=19, Resulting Numbers: [39, 19]
Generated Node #3: [39, 19] from Operation: 32-13=19
Current State: 20:[39, 19], Operations: ['91-52=39', '32-13=19']
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[91, 52, 13, 32], Operations: []
Exploring Operation: 91-32=59, Resulting Numbers: [52, 13, 59]
Generated Node #0,0: 20:[52, 13, 59] Operation: 91-32=59
Exploring Operation: 91-52=39, Resulting Numbers: [13, 32, 39]
Generated Node #0,1: 20:[13, 32, 39] Operation: 91-52=39
Exploring Operation: 91/13=7, Resulting Numbers: [52, 32, 7]
Generated Node #0,2: 20:[52, 32, 7] Operation: 91/13=7
Exploring Operation: 52-32=20, Resulting Numbers: [91, 13, 20]
Generated Node #0,3: 20:[91, 13, 20] Operation: 52-32=20
Moving to Node #0,1
Current State: 20:[13, 32, 39], Operations: ['91-52=39']
Exploring Operation: 39-32=7, Resulting Numbers: [13, 7]
Generated Node #0,1,0: 20:[13, 7] Operation: 39-32=7
Exploring Operation: 39/13=3, Resulting Numbers: [32, 3]
Generated Node #0,1,1: 20:[32, 3] Operation: 39/13=3
Exploring Operation: 39-13=26, Resulting Numbers: [32, 26]
Generated Node #0,1,2: 20:[32, 26] Operation: 39-13=26
Exploring Operation: 32-13=19, Resulting Numbers: [39, 19]
Generated Node #0,1,3: 20:[39, 19] Operation: 32-13=19
Moving to Node #0,2
Current State: 20:[52, 32, 7], Operations: ['91/13=7']
Exploring Operation: 32-7=25, Resulting Numbers: [52, 25]
Generated Node #0,2,0: 20:[52, 25] Operation: 32-7=25
Exploring Operation: 52-7=45, Resulting Numbers: [32, 45]
Generated Node #0,2,1: 20:[32, 45] Operation: 52-7=45
Exploring Operation: 52-32=20, Resulting Numbers: [7, 20]
Generated Node #0,2,2: 20:[7, 20] Operation: 52-32=20
Exploring Operation: 52+7=59, Resulting Numbers: [32, 59]
Generated Node #0,2,3: 20:[32, 59] Operation: 52+7=59
Moving to Node #0,3
Current State: 20:[91, 13, 20], Operations: ['52-32=20']
Exploring Operation: 91/13=7, Resulting Numbers: [20, 7]
Generated Node #0,3,0: 20:[20, 7] Operation: 91/13=7
Exploring Operation: 91-13=78, Resulting Numbers: [20, 78]
Generated Node #0,3,1: 20:[20, 78] Operation: 91-13=78
Exploring Operation: 20-13=7, Resulting Numbers: [91, 7]
Generated Node #0,3,2: 20:[91, 7] Operation: 20-13=7
Exploring Operation: 91-20=71, Resulting Numbers: [13, 71]
Generated Node #0,3,3: 20:[13, 71] Operation: 91-20=71
Moving to Node #0,0
Current State: 20:[52, 13, 59], Operations: ['91-32=59']
Exploring Operation: 52/13=4, Resulting Numbers: [59, 4]
Generated Node #0,0,0: 20:[59, 4] Operation: 52/13=4
Exploring Operation: 59-13=46, Resulting Numbers: [52, 46]
Generated Node #0,0,1: 20:[52, 46] Operation: 59-13=46
Exploring Operation: 59-52=7, Resulting Numbers: [13, 7]
Generated Node #0,0,2: 20:[13, 7] Operation: 59-52=7
Exploring Operation: 52-13=39, Resulting Numbers: [59, 39]
Generated Node #0,0,3: 20:[59, 39] Operation: 52-13=39
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[13, 7], Operations: ['91-32=59', '59-52=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,20 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[91, 52, 13, 32], Operations: []
Exploring Operation: 91-32=59, Resulting Numbers: [52, 13, 59]
Generated Node #0,0: 20:[52, 13, 59] Operation: 91-32=59
Moving to Node #0,0
Current State: 20:[52, 13, 59], Operations: ['91-32=59']
Exploring Operation: 59-52=7, Resulting Numbers: [13, 7]
Generated Node #0,0,2: 20:[13, 7] Operation: 59-52=7
Moving to Node #0,0,2
Current State: 20:[13, 7], Operations: ['91-32=59', '59-52=7']
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_4 | mult_heuristic |
[
86,
9,
40,
94
] | 32 | [
"94-86=8",
"9*8=72",
"72-40=32"
] | Current State: 32:[86, 9, 40, 94], Operations: []
Exploring Operation: 94-86=8, Resulting Numbers: [9, 40, 8]
Generated Node #2: [9, 40, 8] from Operation: 94-86=8
Current State: 32:[9, 40, 8], Operations: ['94-86=8']
Exploring Operation: 9*8=72, Resulting Numbers: [40, 72]
Generated Node #3: [40, 72] from Operation: 9*8=72
Current State: 32:[40, 72], Operations: ['94-86=8', '9*8=72']
Exploring Operation: 72-40=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[86, 9, 40, 94], Operations: []
Exploring Operation: 86-9=77, Resulting Numbers: [40, 94, 77]
Generated Node #0,0: 32:[40, 94, 77] Operation: 86-9=77
Exploring Operation: 86-40=46, Resulting Numbers: [9, 94, 46]
Generated Node #0,1: 32:[9, 94, 46] Operation: 86-40=46
Exploring Operation: 94-40=54, Resulting Numbers: [86, 9, 54]
Generated Node #0,2: 32:[86, 9, 54] Operation: 94-40=54
Exploring Operation: 94-86=8, Resulting Numbers: [9, 40, 8]
Generated Node #0,3: 32:[9, 40, 8] Operation: 94-86=8
Moving to Node #0,3
Current State: 32:[9, 40, 8], Operations: ['94-86=8']
Exploring Operation: 9+8=17, Resulting Numbers: [40, 17]
Generated Node #0,3,0: 32:[40, 17] Operation: 9+8=17
Exploring Operation: 40-8=32, Resulting Numbers: [9, 32]
Generated Node #0,3,1: 32:[9, 32] Operation: 40-8=32
Exploring Operation: 40-9=31, Resulting Numbers: [8, 31]
Generated Node #0,3,2: 32:[8, 31] Operation: 40-9=31
Exploring Operation: 40/8=5, Resulting Numbers: [9, 5]
Generated Node #0,3,3: 32:[9, 5] Operation: 40/8=5
Moving to Node #0,2
Current State: 32:[86, 9, 54], Operations: ['94-40=54']
Exploring Operation: 54/9=6, Resulting Numbers: [86, 6]
Generated Node #0,2,0: 32:[86, 6] Operation: 54/9=6
Exploring Operation: 54-9=45, Resulting Numbers: [86, 45]
Generated Node #0,2,1: 32:[86, 45] Operation: 54-9=45
Exploring Operation: 86-9=77, Resulting Numbers: [54, 77]
Generated Node #0,2,2: 32:[54, 77] Operation: 86-9=77
Exploring Operation: 86-54=32, Resulting Numbers: [9, 32]
Generated Node #0,2,3: 32:[9, 32] Operation: 86-54=32
Moving to Node #0,1
Current State: 32:[9, 94, 46], Operations: ['86-40=46']
Exploring Operation: 46-9=37, Resulting Numbers: [94, 37]
Generated Node #0,1,0: 32:[94, 37] Operation: 46-9=37
Exploring Operation: 9+94=103, Resulting Numbers: [46, 103]
Generated Node #0,1,1: 32:[46, 103] Operation: 9+94=103
Exploring Operation: 94-46=48, Resulting Numbers: [9, 48]
Generated Node #0,1,2: 32:[9, 48] Operation: 94-46=48
Exploring Operation: 94-9=85, Resulting Numbers: [46, 85]
Generated Node #0,1,3: 32:[46, 85] Operation: 94-9=85
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 32:[9, 48], Operations: ['86-40=46', '94-46=48']
Exploring Operation: 9*48=432, Resulting Numbers: [432]
432,32 unequal: No Solution
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 32:[94, 37], Operations: ['86-40=46', '46-9=37']
Exploring Operation: 94-37=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 94+37=131, Resulting Numbers: [131]
131,32 unequal: No Solution
Exploring Operation: 94*37=3478, Resulting Numbers: [3478]
3478,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 32:[46, 85], Operations: ['86-40=46', '94-9=85']
Exploring Operation: 46+85=131, Resulting Numbers: [131]
131,32 unequal: No Solution
Exploring Operation: 85-46=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 46*85=3910, Resulting Numbers: [3910]
3910,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[46, 103], Operations: ['86-40=46', '9+94=103']
Exploring Operation: 103-46=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 46+103=149, Resulting Numbers: [149]
149,32 unequal: No Solution
Exploring Operation: 46*103=4738, Resulting Numbers: [4738]
4738,32 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: 32:[40, 94, 77], Operations: ['86-9=77']
Exploring Operation: 77-40=37, Resulting Numbers: [94, 37]
Generated Node #0,0,0: 32:[94, 37] Operation: 77-40=37
Exploring Operation: 94-77=17, Resulting Numbers: [40, 17]
Generated Node #0,0,1: 32:[40, 17] Operation: 94-77=17
Exploring Operation: 40+94=134, Resulting Numbers: [77, 134]
Generated Node #0,0,2: 32:[77, 134] Operation: 40+94=134
Exploring Operation: 94-40=54, Resulting Numbers: [77, 54]
Generated Node #0,0,3: 32:[77, 54] Operation: 94-40=54
Moving to Node #0,3,1
Current State: 32:[9, 32], Operations: ['94-86=8', '40-8=32']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 9*32=288, Resulting Numbers: [288]
288,32 unequal: No Solution
Exploring Operation: 9+32=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Moving to Node #0,3,2
Current State: 32:[8, 31], Operations: ['94-86=8', '40-9=31']
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,32 unequal: No Solution
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Moving to Node #0,2,3
Current State: 32:[9, 32], Operations: ['94-40=54', '86-54=32']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 9+32=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Exploring Operation: 9*32=288, Resulting Numbers: [288]
288,32 unequal: No Solution
Moving to Node #0,3,3
Current State: 32:[9, 5], Operations: ['94-86=8', '40/8=5']
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,32 unequal: No Solution
Moving to Node #0,3,0
Current State: 32:[40, 17], Operations: ['94-86=8', '9+8=17']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 40*17=680, Resulting Numbers: [680]
680,32 unequal: No Solution
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[40, 17], Operations: ['86-9=77', '94-77=17']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 40*17=680, Resulting Numbers: [680]
680,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[86, 6], Operations: ['94-40=54', '54/9=6']
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,32 unequal: No Solution
Exploring Operation: 86+6=92, Resulting Numbers: [92]
92,32 unequal: No Solution
Exploring Operation: 86*6=516, Resulting Numbers: [516]
516,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[94, 37], Operations: ['86-9=77', '77-40=37']
Exploring Operation: 94+37=131, Resulting Numbers: [131]
131,32 unequal: No Solution
Exploring Operation: 94-37=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 94*37=3478, Resulting Numbers: [3478]
3478,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[86, 45], Operations: ['94-40=54', '54-9=45']
Exploring Operation: 86-45=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Exploring Operation: 86+45=131, Resulting Numbers: [131]
131,32 unequal: No Solution
Exploring Operation: 86*45=3870, Resulting Numbers: [3870]
3870,32 unequal: No Solution
Moving to Node #0,0,3
Current State: 32:[77, 54], Operations: ['86-9=77', '94-40=54']
Exploring Operation: 77*54=4158, Resulting Numbers: [4158]
4158,32 unequal: No Solution
Exploring Operation: 77+54=131, Resulting Numbers: [131]
131,32 unequal: No Solution
Exploring Operation: 77-54=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[54, 77], Operations: ['94-40=54', '86-9=77']
Exploring Operation: 54*77=4158, Resulting Numbers: [4158]
4158,32 unequal: No Solution
Exploring Operation: 54+77=131, Resulting Numbers: [131]
131,32 unequal: No Solution
Exploring Operation: 77-54=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[77, 134], Operations: ['86-9=77', '40+94=134']
Exploring Operation: 77+134=211, Resulting Numbers: [211]
211,32 unequal: No Solution
Exploring Operation: 77*134=10318, Resulting Numbers: [10318]
10318,32 unequal: No Solution
Exploring Operation: 134-77=57, Resulting Numbers: [57]
57,32 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
47,
46,
23,
82
] | 58 | [
"47-46=1",
"82-23=59",
"59-1=58"
] | Current State: 58:[47, 46, 23, 82], Operations: []
Exploring Operation: 47-46=1, Resulting Numbers: [23, 82, 1]
Generated Node #2: [23, 82, 1] from Operation: 47-46=1
Current State: 58:[23, 82, 1], Operations: ['47-46=1']
Exploring Operation: 82-23=59, Resulting Numbers: [1, 59]
Generated Node #3: [1, 59] from Operation: 82-23=59
Current State: 58:[1, 59], Operations: ['47-46=1', '82-23=59']
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[47, 46, 23, 82], Operations: []
Exploring Operation: 82-47=35, Resulting Numbers: [46, 23, 35]
Generated Node #0,0: 58:[46, 23, 35] Operation: 82-47=35
Exploring Operation: 82-46=36, Resulting Numbers: [47, 23, 36]
Generated Node #0,1: 58:[47, 23, 36] Operation: 82-46=36
Moving to Node #0,0
Current State: 58:[46, 23, 35], Operations: ['82-47=35']
Exploring Operation: 46/23=2, Resulting Numbers: [35, 2]
Generated Node #0,0,0: 58:[35, 2] Operation: 46/23=2
Exploring Operation: 46-23=23, Resulting Numbers: [35, 23]
Generated Node #0,0,1: 58:[35, 23] Operation: 46-23=23
Moving to Node #0,1
Current State: 58:[47, 23, 36], Operations: ['82-46=36']
Exploring Operation: 23+36=59, Resulting Numbers: [47, 59]
Generated Node #0,1,0: 58:[47, 59] Operation: 23+36=59
Exploring Operation: 47-23=24, Resulting Numbers: [36, 24]
Generated Node #0,1,1: 58:[36, 24] Operation: 47-23=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[47, 59], Operations: ['82-46=36', '23+36=59']
Exploring Operation: 47+59=106, Resulting Numbers: [106]
106,58 unequal: No Solution
Exploring Operation: 59-47=12, Resulting Numbers: [12]
12,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[36, 24], Operations: ['82-46=36', '47-23=24']
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,58 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 58:[35, 2], Operations: ['82-47=35', '46/23=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[35, 23], Operations: ['82-47=35', '46-23=23']
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,58 unequal: No Solution
Exploring Operation: 35+23=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[47, 46, 23, 82], Operations: []
Exploring Operation: 82-47=35, Resulting Numbers: [46, 23, 35]
Generated Node #0,0: 58:[46, 23, 35] Operation: 82-47=35
Moving to Node #0,0
Current State: 58:[46, 23, 35], Operations: ['82-47=35']
Exploring Operation: 46-23=23, Resulting Numbers: [35, 23]
Generated Node #0,0,1: 58:[35, 23] Operation: 46-23=23
Moving to Node #0,0,1
Current State: 58:[35, 23], Operations: ['82-47=35', '46-23=23']
Exploring Operation: 35+23=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.984375 | hs_2 | sum_heuristic |
[
56,
18,
6,
97
] | 53 | [
"56-18=38",
"97-6=91",
"91-38=53"
] | Current State: 53:[56, 18, 6, 97], Operations: []
Exploring Operation: 56-18=38, Resulting Numbers: [6, 97, 38]
Generated Node #2: [6, 97, 38] from Operation: 56-18=38
Current State: 53:[6, 97, 38], Operations: ['56-18=38']
Exploring Operation: 97-6=91, Resulting Numbers: [38, 91]
Generated Node #3: [38, 91] from Operation: 97-6=91
Current State: 53:[38, 91], Operations: ['56-18=38', '97-6=91']
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[56, 18, 6, 97], Operations: []
Exploring Operation: 97-18=79, Resulting Numbers: [56, 6, 79]
Generated Node #0,0: 53:[56, 6, 79] Operation: 97-18=79
Exploring Operation: 18+6=24, Resulting Numbers: [56, 97, 24]
Generated Node #0,1: 53:[56, 97, 24] Operation: 18+6=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[56, 6, 79], Operations: ['97-18=79']
Exploring Operation: 79-6=73, Resulting Numbers: [56, 73]
Generated Node #0,0,0: 53:[56, 73] Operation: 79-6=73
Exploring Operation: 56-6=50, Resulting Numbers: [79, 50]
Generated Node #0,0,1: 53:[79, 50] Operation: 56-6=50
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[56, 73], Operations: ['97-18=79', '79-6=73']
Exploring Operation: 73-56=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 56+73=129, Resulting Numbers: [129]
129,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[79, 50], Operations: ['97-18=79', '56-6=50']
Exploring Operation: 79+50=129, Resulting Numbers: [129]
129,53 unequal: No Solution
Exploring Operation: 79-50=29, Resulting Numbers: [29]
29,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[56, 97, 24], Operations: ['18+6=24']
Exploring Operation: 97-24=73, Resulting Numbers: [56, 73]
Generated Node #0,1,0: 53:[56, 73] Operation: 97-24=73
Exploring Operation: 97-56=41, Resulting Numbers: [24, 41]
Generated Node #0,1,1: 53:[24, 41] Operation: 97-56=41
Moving to Node #0,1,0
Current State: 53:[56, 73], Operations: ['18+6=24', '97-24=73']
Exploring Operation: 56+73=129, Resulting Numbers: [129]
129,53 unequal: No Solution
Exploring Operation: 73-56=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[24, 41], Operations: ['18+6=24', '97-56=41']
Exploring Operation: 41-24=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 24+41=65, Resulting Numbers: [65]
65,53 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 |
[
70,
96,
70,
14
] | 83 | [
"70/70=1",
"96-14=82",
"1+82=83"
] | Current State: 83:[70, 96, 70, 14], Operations: []
Exploring Operation: 70/70=1, Resulting Numbers: [96, 14, 1]
Generated Node #2: [96, 14, 1] from Operation: 70/70=1
Current State: 83:[96, 14, 1], Operations: ['70/70=1']
Exploring Operation: 96-14=82, Resulting Numbers: [1, 82]
Generated Node #3: [1, 82] from Operation: 96-14=82
Current State: 83:[1, 82], Operations: ['70/70=1', '96-14=82']
Exploring Operation: 1+82=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[70, 96, 70, 14], Operations: []
Exploring Operation: 96+14=110, Resulting Numbers: [70, 70, 110]
Generated Node #0,0: 83:[70, 70, 110] Operation: 96+14=110
Exploring Operation: 70+14=84, Resulting Numbers: [70, 96, 84]
Generated Node #0,1: 83:[70, 96, 84] Operation: 70+14=84
Exploring Operation: 96-14=82, Resulting Numbers: [70, 70, 82]
Generated Node #0,2: 83:[70, 70, 82] Operation: 96-14=82
Exploring Operation: 70+14=84, Resulting Numbers: [96, 70, 84]
Generated Node #0,3: 83:[96, 70, 84] Operation: 70+14=84
Exploring Operation: 70-14=56, Resulting Numbers: [96, 70, 56]
Generated Node #0,4: 83:[96, 70, 56] Operation: 70-14=56
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[70, 96, 84], Operations: ['70+14=84']
Exploring Operation: 96-70=26, Resulting Numbers: [84, 26]
Generated Node #0,1,0: 83:[84, 26] Operation: 96-70=26
Exploring Operation: 96-84=12, Resulting Numbers: [70, 12]
Generated Node #0,1,1: 83:[70, 12] Operation: 96-84=12
Exploring Operation: 70+84=154, Resulting Numbers: [96, 154]
Generated Node #0,1,2: 83:[96, 154] Operation: 70+84=154
Exploring Operation: 84-70=14, Resulting Numbers: [96, 14]
Generated Node #0,1,3: 83:[96, 14] Operation: 84-70=14
Exploring Operation: 70+96=166, Resulting Numbers: [84, 166]
Generated Node #0,1,4: 83:[84, 166] Operation: 70+96=166
Moving to Node #0,1,0
Current State: 83:[84, 26], Operations: ['70+14=84', '96-70=26']
Exploring Operation: 84+26=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Exploring Operation: 84*26=2184, Resulting Numbers: [2184]
2184,83 unequal: No Solution
Exploring Operation: 84-26=58, Resulting Numbers: [58]
58,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[96, 14], Operations: ['70+14=84', '84-70=14']
Exploring Operation: 96-14=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 96*14=1344, Resulting Numbers: [1344]
1344,83 unequal: No Solution
Exploring Operation: 96+14=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[70, 12], Operations: ['70+14=84', '96-84=12']
Exploring Operation: 70*12=840, Resulting Numbers: [840]
840,83 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,83 unequal: No Solution
Exploring Operation: 70+12=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[96, 154], Operations: ['70+14=84', '70+84=154']
Exploring Operation: 96+154=250, Resulting Numbers: [250]
250,83 unequal: No Solution
Exploring Operation: 96*154=14784, Resulting Numbers: [14784]
14784,83 unequal: No Solution
Exploring Operation: 154-96=58, Resulting Numbers: [58]
58,83 unequal: No Solution
Moving to Node #0,1,4
Current State: 83:[84, 166], Operations: ['70+14=84', '70+96=166']
Exploring Operation: 166-84=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 84+166=250, Resulting Numbers: [250]
250,83 unequal: No Solution
Exploring Operation: 84*166=13944, Resulting Numbers: [13944]
13944,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[70, 70, 82], Operations: ['96-14=82']
Exploring Operation: 70+82=152, Resulting Numbers: [70, 152]
Generated Node #0,2,0: 83:[70, 152] Operation: 70+82=152
Exploring Operation: 70+82=152, Resulting Numbers: [70, 152]
Generated Node #0,2,1: 83:[70, 152] Operation: 70+82=152
Exploring Operation: 70-70=0, Resulting Numbers: [82, 0]
Generated Node #0,2,2: 83:[82, 0] Operation: 70-70=0
Exploring Operation: 70/70=1, Resulting Numbers: [82, 1]
Generated Node #0,2,3: 83:[82, 1] Operation: 70/70=1
Exploring Operation: 70+70=140, Resulting Numbers: [82, 140]
Generated Node #0,2,4: 83:[82, 140] Operation: 70+70=140
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 83:[82, 140], Operations: ['96-14=82', '70+70=140']
Exploring Operation: 82*140=11480, Resulting Numbers: [11480]
11480,83 unequal: No Solution
Exploring Operation: 140-82=58, Resulting Numbers: [58]
58,83 unequal: No Solution
Exploring Operation: 82+140=222, Resulting Numbers: [222]
222,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 83:[70, 152], Operations: ['96-14=82', '70+82=152']
Exploring Operation: 70*152=10640, Resulting Numbers: [10640]
10640,83 unequal: No Solution
Exploring Operation: 70+152=222, Resulting Numbers: [222]
222,83 unequal: No Solution
Exploring Operation: 152-70=82, Resulting Numbers: [82]
82,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 83:[70, 152], Operations: ['96-14=82', '70+82=152']
Exploring Operation: 70*152=10640, Resulting Numbers: [10640]
10640,83 unequal: No Solution
Exploring Operation: 152-70=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 70+152=222, Resulting Numbers: [222]
222,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 83:[82, 1], Operations: ['96-14=82', '70/70=1']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[70, 96, 70, 14], Operations: []
Exploring Operation: 96-14=82, Resulting Numbers: [70, 70, 82]
Generated Node #0,2: 83:[70, 70, 82] Operation: 96-14=82
Moving to Node #0,2
Current State: 83:[70, 70, 82], Operations: ['96-14=82']
Exploring Operation: 70/70=1, Resulting Numbers: [82, 1]
Generated Node #0,2,3: 83:[82, 1] Operation: 70/70=1
Moving to Node #0,2,3
Current State: 83:[82, 1], Operations: ['96-14=82', '70/70=1']
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.960069 | hs_5 | sum_heuristic |
[
96,
65,
13,
86
] | 50 | [
"96-86=10",
"65/13=5",
"10*5=50"
] | Current State: 50:[96, 65, 13, 86], Operations: []
Exploring Operation: 96-86=10, Resulting Numbers: [65, 13, 10]
Generated Node #2: [65, 13, 10] from Operation: 96-86=10
Current State: 50:[65, 13, 10], Operations: ['96-86=10']
Exploring Operation: 65/13=5, Resulting Numbers: [10, 5]
Generated Node #3: [10, 5] from Operation: 65/13=5
Current State: 50:[10, 5], Operations: ['96-86=10', '65/13=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[96, 65, 13, 86], Operations: []
Exploring Operation: 96-13=83, Resulting Numbers: [65, 86, 83]
Generated Node #0,0: 50:[65, 86, 83] Operation: 96-13=83
Exploring Operation: 96-86=10, Resulting Numbers: [65, 13, 10]
Generated Node #0,1: 50:[65, 13, 10] Operation: 96-86=10
Exploring Operation: 96-65=31, Resulting Numbers: [13, 86, 31]
Generated Node #0,2: 50:[13, 86, 31] Operation: 96-65=31
Exploring Operation: 65/13=5, Resulting Numbers: [96, 86, 5]
Generated Node #0,3: 50:[96, 86, 5] Operation: 65/13=5
Exploring Operation: 86-65=21, Resulting Numbers: [96, 13, 21]
Generated Node #0,4: 50:[96, 13, 21] Operation: 86-65=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[65, 13, 10], Operations: ['96-86=10']
Exploring Operation: 13-10=3, Resulting Numbers: [65, 3]
Generated Node #0,1,0: 50:[65, 3] Operation: 13-10=3
Exploring Operation: 65-10=55, Resulting Numbers: [13, 55]
Generated Node #0,1,1: 50:[13, 55] Operation: 65-10=55
Exploring Operation: 13+10=23, Resulting Numbers: [65, 23]
Generated Node #0,1,2: 50:[65, 23] Operation: 13+10=23
Exploring Operation: 65/13=5, Resulting Numbers: [10, 5]
Generated Node #0,1,3: 50:[10, 5] Operation: 65/13=5
Exploring Operation: 65-13=52, Resulting Numbers: [10, 52]
Generated Node #0,1,4: 50:[10, 52] Operation: 65-13=52
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 50:[10, 5], Operations: ['96-86=10', '65/13=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[96, 65, 13, 86], Operations: []
Exploring Operation: 96-86=10, Resulting Numbers: [65, 13, 10]
Generated Node #0,1: 50:[65, 13, 10] Operation: 96-86=10
Moving to Node #0,1
Current State: 50:[65, 13, 10], Operations: ['96-86=10']
Exploring Operation: 65/13=5, Resulting Numbers: [10, 5]
Generated Node #0,1,3: 50:[10, 5] Operation: 65/13=5
Moving to Node #0,1,3
Current State: 50:[10, 5], Operations: ['96-86=10', '65/13=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
67,
81,
3,
62
] | 83 | [
"67+81=148",
"3+62=65",
"148-65=83"
] | Current State: 83:[67, 81, 3, 62], Operations: []
Exploring Operation: 67+81=148, Resulting Numbers: [3, 62, 148]
Generated Node #2: [3, 62, 148] from Operation: 67+81=148
Current State: 83:[3, 62, 148], Operations: ['67+81=148']
Exploring Operation: 3+62=65, Resulting Numbers: [148, 65]
Generated Node #3: [148, 65] from Operation: 3+62=65
Current State: 83:[148, 65], Operations: ['67+81=148', '3+62=65']
Exploring Operation: 148-65=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[67, 81, 3, 62], Operations: []
Exploring Operation: 67+3=70, Resulting Numbers: [81, 62, 70]
Generated Node #0,0: 83:[81, 62, 70] Operation: 67+3=70
Exploring Operation: 3+62=65, Resulting Numbers: [67, 81, 65]
Generated Node #0,1: 83:[67, 81, 65] Operation: 3+62=65
Exploring Operation: 81+3=84, Resulting Numbers: [67, 62, 84]
Generated Node #0,2: 83:[67, 62, 84] Operation: 81+3=84
Moving to Node #0,0
Current State: 83:[81, 62, 70], Operations: ['67+3=70']
Exploring Operation: 62+70=132, Resulting Numbers: [81, 132]
Generated Node #0,0,0: 83:[81, 132] Operation: 62+70=132
Exploring Operation: 81-62=19, Resulting Numbers: [70, 19]
Generated Node #0,0,1: 83:[70, 19] Operation: 81-62=19
Exploring Operation: 81+62=143, Resulting Numbers: [70, 143]
Generated Node #0,0,2: 83:[70, 143] Operation: 81+62=143
Moving to Node #0,1
Current State: 83:[67, 81, 65], Operations: ['3+62=65']
Exploring Operation: 67+81=148, Resulting Numbers: [65, 148]
Generated Node #0,1,0: 83:[65, 148] Operation: 67+81=148
Exploring Operation: 81+65=146, Resulting Numbers: [67, 146]
Generated Node #0,1,1: 83:[67, 146] Operation: 81+65=146
Exploring Operation: 67+65=132, Resulting Numbers: [81, 132]
Generated Node #0,1,2: 83:[81, 132] Operation: 67+65=132
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[81, 132], Operations: ['3+62=65', '67+65=132']
Exploring Operation: 81*132=10692, Resulting Numbers: [10692]
10692,83 unequal: No Solution
Exploring Operation: 81+132=213, Resulting Numbers: [213]
213,83 unequal: No Solution
Exploring Operation: 132-81=51, Resulting Numbers: [51]
51,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:[67, 146], Operations: ['3+62=65', '81+65=146']
Exploring Operation: 67*146=9782, Resulting Numbers: [9782]
9782,83 unequal: No Solution
Exploring Operation: 67+146=213, Resulting Numbers: [213]
213,83 unequal: No Solution
Exploring Operation: 146-67=79, Resulting Numbers: [79]
79,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,0
Current State: 83:[65, 148], Operations: ['3+62=65', '67+81=148']
Exploring Operation: 65*148=9620, Resulting Numbers: [9620]
9620,83 unequal: No Solution
Exploring Operation: 148-65=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[67, 81, 3, 62], Operations: []
Exploring Operation: 3+62=65, Resulting Numbers: [67, 81, 65]
Generated Node #0,1: 83:[67, 81, 65] Operation: 3+62=65
Moving to Node #0,1
Current State: 83:[67, 81, 65], Operations: ['3+62=65']
Exploring Operation: 67+81=148, Resulting Numbers: [65, 148]
Generated Node #0,1,0: 83:[65, 148] Operation: 67+81=148
Moving to Node #0,1,0
Current State: 83:[65, 148], Operations: ['3+62=65', '67+81=148']
Exploring Operation: 148-65=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_3 | mult_heuristic |
[
8,
58,
6,
9
] | 63 | [
"8+58=66",
"9-6=3",
"66-3=63"
] | Current State: 63:[8, 58, 6, 9], Operations: []
Exploring Operation: 8+58=66, Resulting Numbers: [6, 9, 66]
Generated Node #2: [6, 9, 66] from Operation: 8+58=66
Current State: 63:[6, 9, 66], Operations: ['8+58=66']
Exploring Operation: 9-6=3, Resulting Numbers: [66, 3]
Generated Node #3: [66, 3] from Operation: 9-6=3
Current State: 63:[66, 3], Operations: ['8+58=66', '9-6=3']
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[8, 58, 6, 9], Operations: []
Exploring Operation: 8-6=2, Resulting Numbers: [58, 9, 2]
Generated Node #0,0: 63:[58, 9, 2] Operation: 8-6=2
Exploring Operation: 58+6=64, Resulting Numbers: [8, 9, 64]
Generated Node #0,1: 63:[8, 9, 64] Operation: 58+6=64
Exploring Operation: 8+58=66, Resulting Numbers: [6, 9, 66]
Generated Node #0,2: 63:[6, 9, 66] Operation: 8+58=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[8, 9, 64], Operations: ['58+6=64']
Exploring Operation: 8+9=17, Resulting Numbers: [64, 17]
Generated Node #0,1,0: 63:[64, 17] Operation: 8+9=17
Exploring Operation: 9-8=1, Resulting Numbers: [64, 1]
Generated Node #0,1,1: 63:[64, 1] Operation: 9-8=1
Exploring Operation: 64/8=8, Resulting Numbers: [9, 8]
Generated Node #0,1,2: 63:[9, 8] Operation: 64/8=8
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 63:[9, 8], Operations: ['58+6=64', '64/8=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,63 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 63:[64, 1], Operations: ['58+6=64', '9-8=1']
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[8, 58, 6, 9], Operations: []
Exploring Operation: 58+6=64, Resulting Numbers: [8, 9, 64]
Generated Node #0,1: 63:[8, 9, 64] Operation: 58+6=64
Moving to Node #0,1
Current State: 63:[8, 9, 64], Operations: ['58+6=64']
Exploring Operation: 9-8=1, Resulting Numbers: [64, 1]
Generated Node #0,1,1: 63:[64, 1] Operation: 9-8=1
Moving to Node #0,1,1
Current State: 63:[64, 1], Operations: ['58+6=64', '9-8=1']
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
94,
75,
30,
17
] | 73 | [
"30+17=47",
"94/47=2",
"75-2=73"
] | Current State: 73:[94, 75, 30, 17], Operations: []
Exploring Operation: 30+17=47, Resulting Numbers: [94, 75, 47]
Generated Node #2: [94, 75, 47] from Operation: 30+17=47
Current State: 73:[94, 75, 47], Operations: ['30+17=47']
Exploring Operation: 94/47=2, Resulting Numbers: [75, 2]
Generated Node #3: [75, 2] from Operation: 94/47=2
Current State: 73:[75, 2], Operations: ['30+17=47', '94/47=2']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[94, 75, 30, 17], Operations: []
Exploring Operation: 75-17=58, Resulting Numbers: [94, 30, 58]
Generated Node #0,0: 73:[94, 30, 58] Operation: 75-17=58
Exploring Operation: 94-17=77, Resulting Numbers: [75, 30, 77]
Generated Node #0,1: 73:[75, 30, 77] Operation: 94-17=77
Exploring Operation: 94-30=64, Resulting Numbers: [75, 17, 64]
Generated Node #0,2: 73:[75, 17, 64] Operation: 94-30=64
Exploring Operation: 30+17=47, Resulting Numbers: [94, 75, 47]
Generated Node #0,3: 73:[94, 75, 47] Operation: 30+17=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[75, 30, 77], Operations: ['94-17=77']
Exploring Operation: 75+30=105, Resulting Numbers: [77, 105]
Generated Node #0,1,0: 73:[77, 105] Operation: 75+30=105
Exploring Operation: 30+77=107, Resulting Numbers: [75, 107]
Generated Node #0,1,1: 73:[75, 107] Operation: 30+77=107
Exploring Operation: 77-30=47, Resulting Numbers: [75, 47]
Generated Node #0,1,2: 73:[75, 47] Operation: 77-30=47
Exploring Operation: 75-30=45, Resulting Numbers: [77, 45]
Generated Node #0,1,3: 73:[77, 45] Operation: 75-30=45
Moving to Node #0,1,2
Current State: 73:[75, 47], Operations: ['94-17=77', '77-30=47']
Exploring Operation: 75+47=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 75-47=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Exploring Operation: 75*47=3525, Resulting Numbers: [3525]
3525,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[77, 45], Operations: ['94-17=77', '75-30=45']
Exploring Operation: 77+45=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 77-45=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 77*45=3465, Resulting Numbers: [3465]
3465,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[75, 107], Operations: ['94-17=77', '30+77=107']
Exploring Operation: 107-75=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 75+107=182, Resulting Numbers: [182]
182,73 unequal: No Solution
Exploring Operation: 75*107=8025, Resulting Numbers: [8025]
8025,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[77, 105], Operations: ['94-17=77', '75+30=105']
Exploring Operation: 77+105=182, Resulting Numbers: [182]
182,73 unequal: No Solution
Exploring Operation: 105-77=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Exploring Operation: 77*105=8085, Resulting Numbers: [8085]
8085,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 73:[94, 75, 47], Operations: ['30+17=47']
Exploring Operation: 94+47=141, Resulting Numbers: [75, 141]
Generated Node #0,3,0: 73:[75, 141] Operation: 94+47=141
Exploring Operation: 75+47=122, Resulting Numbers: [94, 122]
Generated Node #0,3,1: 73:[94, 122] Operation: 75+47=122
Exploring Operation: 94-47=47, Resulting Numbers: [75, 47]
Generated Node #0,3,2: 73:[75, 47] Operation: 94-47=47
Exploring Operation: 75-47=28, Resulting Numbers: [94, 28]
Generated Node #0,3,3: 73:[94, 28] Operation: 75-47=28
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 73:[75, 47], Operations: ['30+17=47', '94-47=47']
Exploring Operation: 75*47=3525, Resulting Numbers: [3525]
3525,73 unequal: No Solution
Exploring Operation: 75-47=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Exploring Operation: 75+47=122, Resulting Numbers: [122]
122,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:[94, 28], Operations: ['30+17=47', '75-47=28']
Exploring Operation: 94+28=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 94-28=66, Resulting Numbers: [66]
66,73 unequal: No Solution
Exploring Operation: 94*28=2632, Resulting Numbers: [2632]
2632,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:[75, 141], Operations: ['30+17=47', '94+47=141']
Exploring Operation: 75*141=10575, Resulting Numbers: [10575]
10575,73 unequal: No Solution
Exploring Operation: 141-75=66, Resulting Numbers: [66]
66,73 unequal: No Solution
Exploring Operation: 75+141=216, Resulting Numbers: [216]
216,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,1
Current State: 73:[94, 122], Operations: ['30+17=47', '75+47=122']
Exploring Operation: 122-94=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Exploring Operation: 94*122=11468, Resulting Numbers: [11468]
11468,73 unequal: No Solution
Exploring Operation: 94+122=216, Resulting Numbers: [216]
216,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:[75, 17, 64], Operations: ['94-30=64']
Exploring Operation: 75-17=58, Resulting Numbers: [64, 58]
Generated Node #0,2,0: 73:[64, 58] Operation: 75-17=58
Exploring Operation: 17+64=81, Resulting Numbers: [75, 81]
Generated Node #0,2,1: 73:[75, 81] Operation: 17+64=81
Exploring Operation: 75+17=92, Resulting Numbers: [64, 92]
Generated Node #0,2,2: 73:[64, 92] Operation: 75+17=92
Exploring Operation: 64-17=47, Resulting Numbers: [75, 47]
Generated Node #0,2,3: 73:[75, 47] Operation: 64-17=47
Moving to Node #0,2,1
Current State: 73:[75, 81], Operations: ['94-30=64', '17+64=81']
Exploring Operation: 81-75=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Exploring Operation: 75+81=156, Resulting Numbers: [156]
156,73 unequal: No Solution
Exploring Operation: 75*81=6075, Resulting Numbers: [6075]
6075,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[64, 58], Operations: ['94-30=64', '75-17=58']
Exploring Operation: 64-58=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Exploring Operation: 64*58=3712, Resulting Numbers: [3712]
3712,73 unequal: No Solution
Exploring Operation: 64+58=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[75, 47], Operations: ['94-30=64', '64-17=47']
Exploring Operation: 75*47=3525, Resulting Numbers: [3525]
3525,73 unequal: No Solution
Exploring Operation: 75+47=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 75-47=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[64, 92], Operations: ['94-30=64', '75+17=92']
Exploring Operation: 64*92=5888, Resulting Numbers: [5888]
5888,73 unequal: No Solution
Exploring Operation: 92-64=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Exploring Operation: 64+92=156, Resulting Numbers: [156]
156,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[94, 30, 58], Operations: ['75-17=58']
Exploring Operation: 94-30=64, Resulting Numbers: [58, 64]
Generated Node #0,0,0: 73:[58, 64] Operation: 94-30=64
Exploring Operation: 30+58=88, Resulting Numbers: [94, 88]
Generated Node #0,0,1: 73:[94, 88] Operation: 30+58=88
Exploring Operation: 94+30=124, Resulting Numbers: [58, 124]
Generated Node #0,0,2: 73:[58, 124] Operation: 94+30=124
Exploring Operation: 58-30=28, Resulting Numbers: [94, 28]
Generated Node #0,0,3: 73:[94, 28] Operation: 58-30=28
Moving to Node #0,0,0
Current State: 73:[58, 64], Operations: ['75-17=58', '94-30=64']
Exploring Operation: 58+64=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 58*64=3712, Resulting Numbers: [3712]
3712,73 unequal: No Solution
Exploring Operation: 64-58=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[94, 88], Operations: ['75-17=58', '30+58=88']
Exploring Operation: 94-88=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Exploring Operation: 94*88=8272, Resulting Numbers: [8272]
8272,73 unequal: No Solution
Exploring Operation: 94+88=182, Resulting Numbers: [182]
182,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[94, 28], Operations: ['75-17=58', '58-30=28']
Exploring Operation: 94*28=2632, Resulting Numbers: [2632]
2632,73 unequal: No Solution
Exploring Operation: 94+28=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 94-28=66, Resulting Numbers: [66]
66,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[58, 124], Operations: ['75-17=58', '94+30=124']
Exploring Operation: 124-58=66, Resulting Numbers: [66]
66,73 unequal: No Solution
Exploring Operation: 58*124=7192, Resulting Numbers: [7192]
7192,73 unequal: No Solution
Exploring Operation: 58+124=182, Resulting Numbers: [182]
182,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
81,
97,
68,
14
] | 96 | [
"81+97=178",
"68+14=82",
"178-82=96"
] | Current State: 96:[81, 97, 68, 14], Operations: []
Exploring Operation: 81+97=178, Resulting Numbers: [68, 14, 178]
Generated Node #2: [68, 14, 178] from Operation: 81+97=178
Current State: 96:[68, 14, 178], Operations: ['81+97=178']
Exploring Operation: 68+14=82, Resulting Numbers: [178, 82]
Generated Node #3: [178, 82] from Operation: 68+14=82
Current State: 96:[178, 82], Operations: ['81+97=178', '68+14=82']
Exploring Operation: 178-82=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[81, 97, 68, 14], Operations: []
Exploring Operation: 81-68=13, Resulting Numbers: [97, 14, 13]
Generated Node #0,0: 96:[97, 14, 13] Operation: 81-68=13
Moving to Node #0,0
Current State: 96:[97, 14, 13], Operations: ['81-68=13']
Exploring Operation: 14-13=1, Resulting Numbers: [97, 1]
Generated Node #0,0,0: 96:[97, 1] Operation: 14-13=1
Moving to Node #0,0,0
Current State: 96:[97, 1], Operations: ['81-68=13', '14-13=1']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[81, 97, 68, 14], Operations: []
Exploring Operation: 81-68=13, Resulting Numbers: [97, 14, 13]
Generated Node #0,0: 96:[97, 14, 13] Operation: 81-68=13
Moving to Node #0,0
Current State: 96:[97, 14, 13], Operations: ['81-68=13']
Exploring Operation: 14-13=1, Resulting Numbers: [97, 1]
Generated Node #0,0,0: 96:[97, 1] Operation: 14-13=1
Moving to Node #0,0,0
Current State: 96:[97, 1], Operations: ['81-68=13', '14-13=1']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
38,
44,
71,
82
] | 66 | [
"44-38=6",
"82-71=11",
"6*11=66"
] | Current State: 66:[38, 44, 71, 82], Operations: []
Exploring Operation: 44-38=6, Resulting Numbers: [71, 82, 6]
Generated Node #2: [71, 82, 6] from Operation: 44-38=6
Current State: 66:[71, 82, 6], Operations: ['44-38=6']
Exploring Operation: 82-71=11, Resulting Numbers: [6, 11]
Generated Node #3: [6, 11] from Operation: 82-71=11
Current State: 66:[6, 11], Operations: ['44-38=6', '82-71=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[38, 44, 71, 82], Operations: []
Exploring Operation: 82-44=38, Resulting Numbers: [38, 71, 38]
Generated Node #0,0: 66:[38, 71, 38] Operation: 82-44=38
Moving to Node #0,0
Current State: 66:[38, 71, 38], Operations: ['82-44=38']
Exploring Operation: 71-38=33, Resulting Numbers: [38, 33]
Generated Node #0,0,0: 66:[38, 33] Operation: 71-38=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[38, 33], Operations: ['82-44=38', '71-38=33']
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,66 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 |
[
56,
44,
76,
2
] | 48 | [
"56+44=100",
"100-76=24",
"2*24=48"
] | Current State: 48:[56, 44, 76, 2], Operations: []
Exploring Operation: 56+44=100, Resulting Numbers: [76, 2, 100]
Generated Node #2: [76, 2, 100] from Operation: 56+44=100
Current State: 48:[76, 2, 100], Operations: ['56+44=100']
Exploring Operation: 100-76=24, Resulting Numbers: [2, 24]
Generated Node #3: [2, 24] from Operation: 100-76=24
Current State: 48:[2, 24], Operations: ['56+44=100', '100-76=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[56, 44, 76, 2], Operations: []
Exploring Operation: 76-44=32, Resulting Numbers: [56, 2, 32]
Generated Node #0,0: 48:[56, 2, 32] Operation: 76-44=32
Exploring Operation: 76-56=20, Resulting Numbers: [44, 2, 20]
Generated Node #0,1: 48:[44, 2, 20] Operation: 76-56=20
Moving to Node #0,1
Current State: 48:[44, 2, 20], Operations: ['76-56=20']
Exploring Operation: 44-20=24, Resulting Numbers: [2, 24]
Generated Node #0,1,0: 48:[2, 24] Operation: 44-20=24
Exploring Operation: 44+2=46, Resulting Numbers: [20, 46]
Generated Node #0,1,1: 48:[20, 46] Operation: 44+2=46
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[2, 24], Operations: ['76-56=20', '44-20=24']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[56, 44, 76, 2], Operations: []
Exploring Operation: 76-56=20, Resulting Numbers: [44, 2, 20]
Generated Node #0,1: 48:[44, 2, 20] Operation: 76-56=20
Moving to Node #0,1
Current State: 48:[44, 2, 20], Operations: ['76-56=20']
Exploring Operation: 44-20=24, Resulting Numbers: [2, 24]
Generated Node #0,1,0: 48:[2, 24] Operation: 44-20=24
Moving to Node #0,1,0
Current State: 48:[2, 24], Operations: ['76-56=20', '44-20=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
89,
80,
4,
62
] | 67 | [
"89-80=9",
"62-4=58",
"9+58=67"
] | Current State: 67:[89, 80, 4, 62], Operations: []
Exploring Operation: 89-80=9, Resulting Numbers: [4, 62, 9]
Generated Node #2: [4, 62, 9] from Operation: 89-80=9
Current State: 67:[4, 62, 9], Operations: ['89-80=9']
Exploring Operation: 62-4=58, Resulting Numbers: [9, 58]
Generated Node #3: [9, 58] from Operation: 62-4=58
Current State: 67:[9, 58], Operations: ['89-80=9', '62-4=58']
Exploring Operation: 9+58=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[89, 80, 4, 62], Operations: []
Exploring Operation: 89-4=85, Resulting Numbers: [80, 62, 85]
Generated Node #0,0: 67:[80, 62, 85] Operation: 89-4=85
Moving to Node #0,0
Current State: 67:[80, 62, 85], Operations: ['89-4=85']
Exploring Operation: 85-62=23, Resulting Numbers: [80, 23]
Generated Node #0,0,0: 67:[80, 23] Operation: 85-62=23
Moving to Node #0,0,0
Current State: 67:[80, 23], Operations: ['89-4=85', '85-62=23']
Exploring Operation: 80-23=57, Resulting Numbers: [57]
57,67 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
86,
71,
16,
1
] | 30 | [
"86-71=15",
"16-1=15",
"15+15=30"
] | Current State: 30:[86, 71, 16, 1], Operations: []
Exploring Operation: 86-71=15, Resulting Numbers: [16, 1, 15]
Generated Node #2: [16, 1, 15] from Operation: 86-71=15
Current State: 30:[16, 1, 15], Operations: ['86-71=15']
Exploring Operation: 16-1=15, Resulting Numbers: [15, 15]
Generated Node #3: [15, 15] from Operation: 16-1=15
Current State: 30:[15, 15], Operations: ['86-71=15', '16-1=15']
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[86, 71, 16, 1], Operations: []
Exploring Operation: 86-71=15, Resulting Numbers: [16, 1, 15]
Generated Node #0,0: 30:[16, 1, 15] Operation: 86-71=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[16, 1, 15], Operations: ['86-71=15']
Exploring Operation: 16-1=15, Resulting Numbers: [15, 15]
Generated Node #0,0,0: 30:[15, 15] Operation: 16-1=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[15, 15], Operations: ['86-71=15', '16-1=15']
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[86, 71, 16, 1], Operations: []
Exploring Operation: 86-71=15, Resulting Numbers: [16, 1, 15]
Generated Node #0,0: 30:[16, 1, 15] Operation: 86-71=15
Moving to Node #0,0
Current State: 30:[16, 1, 15], Operations: ['86-71=15']
Exploring Operation: 16-1=15, Resulting Numbers: [15, 15]
Generated Node #0,0,0: 30:[15, 15] Operation: 16-1=15
Moving to Node #0,0,0
Current State: 30:[15, 15], Operations: ['86-71=15', '16-1=15']
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
49,
13,
49,
39
] | 27 | [
"49/49=1",
"39-13=26",
"1+26=27"
] | Current State: 27:[49, 13, 49, 39], Operations: []
Exploring Operation: 49/49=1, Resulting Numbers: [13, 39, 1]
Generated Node #2: [13, 39, 1] from Operation: 49/49=1
Current State: 27:[13, 39, 1], Operations: ['49/49=1']
Exploring Operation: 39-13=26, Resulting Numbers: [1, 26]
Generated Node #3: [1, 26] from Operation: 39-13=26
Current State: 27:[1, 26], Operations: ['49/49=1', '39-13=26']
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[49, 13, 49, 39], Operations: []
Exploring Operation: 49-13=36, Resulting Numbers: [49, 39, 36]
Generated Node #0,0: 27:[49, 39, 36] Operation: 49-13=36
Exploring Operation: 49-39=10, Resulting Numbers: [49, 13, 10]
Generated Node #0,1: 27:[49, 13, 10] Operation: 49-39=10
Exploring Operation: 49-39=10, Resulting Numbers: [13, 49, 10]
Generated Node #0,2: 27:[13, 49, 10] Operation: 49-39=10
Exploring Operation: 49-49=0, Resulting Numbers: [13, 39, 0]
Generated Node #0,3: 27:[13, 39, 0] Operation: 49-49=0
Exploring Operation: 49/49=1, Resulting Numbers: [13, 39, 1]
Generated Node #0,4: 27:[13, 39, 1] Operation: 49/49=1
Moving to Node #0,4
Current State: 27:[13, 39, 1], Operations: ['49/49=1']
Exploring Operation: 13*1=13, Resulting Numbers: [39, 13]
Generated Node #0,4,0: 27:[39, 13] Operation: 13*1=13
Exploring Operation: 39-13=26, Resulting Numbers: [1, 26]
Generated Node #0,4,1: 27:[1, 26] Operation: 39-13=26
Exploring Operation: 39/13=3, Resulting Numbers: [1, 3]
Generated Node #0,4,2: 27:[1, 3] Operation: 39/13=3
Exploring Operation: 39-1=38, Resulting Numbers: [13, 38]
Generated Node #0,4,3: 27:[13, 38] Operation: 39-1=38
Exploring Operation: 13-1=12, Resulting Numbers: [39, 12]
Generated Node #0,4,4: 27:[39, 12] Operation: 13-1=12
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 27:[1, 3], Operations: ['49/49=1', '39/13=3']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 27:[1, 26], Operations: ['49/49=1', '39-13=26']
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[49, 13, 49, 39], Operations: []
Exploring Operation: 49/49=1, Resulting Numbers: [13, 39, 1]
Generated Node #0,4: 27:[13, 39, 1] Operation: 49/49=1
Moving to Node #0,4
Current State: 27:[13, 39, 1], Operations: ['49/49=1']
Exploring Operation: 39-13=26, Resulting Numbers: [1, 26]
Generated Node #0,4,1: 27:[1, 26] Operation: 39-13=26
Moving to Node #0,4,1
Current State: 27:[1, 26], Operations: ['49/49=1', '39-13=26']
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
94,
79,
41,
35
] | 91 | [
"94-79=15",
"41+35=76",
"15+76=91"
] | Current State: 91:[94, 79, 41, 35], Operations: []
Exploring Operation: 94-79=15, Resulting Numbers: [41, 35, 15]
Generated Node #2: [41, 35, 15] from Operation: 94-79=15
Current State: 91:[41, 35, 15], Operations: ['94-79=15']
Exploring Operation: 41+35=76, Resulting Numbers: [15, 76]
Generated Node #3: [15, 76] from Operation: 41+35=76
Current State: 91:[15, 76], Operations: ['94-79=15', '41+35=76']
Exploring Operation: 15+76=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[94, 79, 41, 35], Operations: []
Exploring Operation: 41-35=6, Resulting Numbers: [94, 79, 6]
Generated Node #0,0: 91:[94, 79, 6] Operation: 41-35=6
Moving to Node #0,0
Current State: 91:[94, 79, 6], Operations: ['41-35=6']
Exploring Operation: 94-79=15, Resulting Numbers: [6, 15]
Generated Node #0,0,0: 91:[6, 15] Operation: 94-79=15
Moving to Node #0,0,0
Current State: 91:[6, 15], Operations: ['41-35=6', '94-79=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,91 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
25,
72,
52,
72
] | 52 | [
"72-72=0",
"25*0=0",
"52+0=52"
] | Current State: 52:[25, 72, 52, 72], Operations: []
Exploring Operation: 72-72=0, Resulting Numbers: [25, 52, 0]
Generated Node #2: [25, 52, 0] from Operation: 72-72=0
Current State: 52:[25, 52, 0], Operations: ['72-72=0']
Exploring Operation: 25*0=0, Resulting Numbers: [52, 0]
Generated Node #3: [52, 0] from Operation: 25*0=0
Current State: 52:[52, 0], Operations: ['72-72=0', '25*0=0']
Exploring Operation: 52+0=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[25, 72, 52, 72], Operations: []
Exploring Operation: 72-72=0, Resulting Numbers: [25, 52, 0]
Generated Node #0,0: 52:[25, 52, 0] Operation: 72-72=0
Exploring Operation: 72/72=1, Resulting Numbers: [25, 52, 1]
Generated Node #0,1: 52:[25, 52, 1] Operation: 72/72=1
Exploring Operation: 72-25=47, Resulting Numbers: [72, 52, 47]
Generated Node #0,2: 52:[72, 52, 47] Operation: 72-25=47
Exploring Operation: 72-25=47, Resulting Numbers: [52, 72, 47]
Generated Node #0,3: 52:[52, 72, 47] Operation: 72-25=47
Moving to Node #0,1
Current State: 52:[25, 52, 1], Operations: ['72/72=1']
Exploring Operation: 25/1=25, Resulting Numbers: [52, 25]
Generated Node #0,1,0: 52:[52, 25] Operation: 25/1=25
Exploring Operation: 52*1=52, Resulting Numbers: [25, 52]
Generated Node #0,1,1: 52:[25, 52] Operation: 52*1=52
Exploring Operation: 25+1=26, Resulting Numbers: [52, 26]
Generated Node #0,1,2: 52:[52, 26] Operation: 25+1=26
Exploring Operation: 25*1=25, Resulting Numbers: [52, 25]
Generated Node #0,1,3: 52:[52, 25] Operation: 25*1=25
Moving to Node #0,0
Current State: 52:[25, 52, 0], Operations: ['72-72=0']
Exploring Operation: 52-0=52, Resulting Numbers: [25, 52]
Generated Node #0,0,0: 52:[25, 52] Operation: 52-0=52
Exploring Operation: 52+0=52, Resulting Numbers: [25, 52]
Generated Node #0,0,1: 52:[25, 52] Operation: 52+0=52
Exploring Operation: 25+0=25, Resulting Numbers: [52, 25]
Generated Node #0,0,2: 52:[52, 25] Operation: 25+0=25
Exploring Operation: 25-0=25, Resulting Numbers: [52, 25]
Generated Node #0,0,3: 52:[52, 25] Operation: 25-0=25
Moving to Node #0,3
Current State: 52:[52, 72, 47], Operations: ['72-25=47']
Exploring Operation: 52+47=99, Resulting Numbers: [72, 99]
Generated Node #0,3,0: 52:[72, 99] Operation: 52+47=99
Exploring Operation: 72-47=25, Resulting Numbers: [52, 25]
Generated Node #0,3,1: 52:[52, 25] Operation: 72-47=25
Exploring Operation: 72-52=20, Resulting Numbers: [47, 20]
Generated Node #0,3,2: 52:[47, 20] Operation: 72-52=20
Exploring Operation: 52-47=5, Resulting Numbers: [72, 5]
Generated Node #0,3,3: 52:[72, 5] Operation: 52-47=5
Moving to Node #0,2
Current State: 52:[72, 52, 47], Operations: ['72-25=47']
Exploring Operation: 72+47=119, Resulting Numbers: [52, 119]
Generated Node #0,2,0: 52:[52, 119] Operation: 72+47=119
Exploring Operation: 72-47=25, Resulting Numbers: [52, 25]
Generated Node #0,2,1: 52:[52, 25] Operation: 72-47=25
Exploring Operation: 72-52=20, Resulting Numbers: [47, 20]
Generated Node #0,2,2: 52:[47, 20] Operation: 72-52=20
Exploring Operation: 52-47=5, Resulting Numbers: [72, 5]
Generated Node #0,2,3: 52:[72, 5] Operation: 52-47=5
Moving to Node #0,1,2
Current State: 52:[52, 26], Operations: ['72/72=1', '25+1=26']
Exploring Operation: 52+26=78, Resulting Numbers: [78]
78,52 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 52*26=1352, Resulting Numbers: [1352]
1352,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[25, 52], Operations: ['72/72=1', '52*1=52']
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 25+52=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 25*52=1300, Resulting Numbers: [1300]
1300,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[52, 25], Operations: ['72-72=0', '25+0=25']
Exploring Operation: 52*25=1300, Resulting Numbers: [1300]
1300,52 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[25, 52], Operations: ['72-72=0', '52+0=52']
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 25+52=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 25*52=1300, Resulting Numbers: [1300]
1300,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[52, 25], Operations: ['72-25=47', '72-47=25']
Exploring Operation: 52*25=1300, Resulting Numbers: [1300]
1300,52 unequal: No Solution
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[52, 25], Operations: ['72/72=1', '25/1=25']
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 52*25=1300, Resulting Numbers: [1300]
1300,52 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[25, 52], Operations: ['72-72=0', '52-0=52']
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 25+52=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 25*52=1300, Resulting Numbers: [1300]
1300,52 unequal: No Solution
Moving to Node #0,1,3
Current State: 52:[52, 25], Operations: ['72/72=1', '25*1=25']
Exploring Operation: 52*25=1300, Resulting Numbers: [1300]
1300,52 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[52, 25], Operations: ['72-25=47', '72-47=25']
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 52*25=1300, Resulting Numbers: [1300]
1300,52 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Moving to Node #0,0,3
Current State: 52:[52, 25], Operations: ['72-72=0', '25-0=25']
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 52*25=1300, Resulting Numbers: [1300]
1300,52 unequal: No Solution
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[47, 20], Operations: ['72-25=47', '72-52=20']
Exploring Operation: 47*20=940, Resulting Numbers: [940]
940,52 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 47+20=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[47, 20], Operations: ['72-25=47', '72-52=20']
Exploring Operation: 47*20=940, Resulting Numbers: [940]
940,52 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 47+20=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Moving to Node #0,2,3
Current State: 52:[72, 5], Operations: ['72-25=47', '52-47=5']
Exploring Operation: 72*5=360, Resulting Numbers: [360]
360,52 unequal: No Solution
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 72+5=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[72, 5], Operations: ['72-25=47', '52-47=5']
Exploring Operation: 72+5=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Exploring Operation: 72*5=360, Resulting Numbers: [360]
360,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[52, 119], Operations: ['72-25=47', '72+47=119']
Exploring Operation: 52+119=171, Resulting Numbers: [171]
171,52 unequal: No Solution
Exploring Operation: 52*119=6188, Resulting Numbers: [6188]
6188,52 unequal: No Solution
Exploring Operation: 119-52=67, Resulting Numbers: [67]
67,52 unequal: No Solution
Moving to Node #0,3,0
Current State: 52:[72, 99], Operations: ['72-25=47', '52+47=99']
Exploring Operation: 99-72=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 72+99=171, Resulting Numbers: [171]
171,52 unequal: No Solution
Exploring Operation: 72*99=7128, Resulting Numbers: [7128]
7128,52 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
3,
13,
35,
62
] | 17 | [
"13-3=10",
"62-35=27",
"27-10=17"
] | Current State: 17:[3, 13, 35, 62], Operations: []
Exploring Operation: 13-3=10, Resulting Numbers: [35, 62, 10]
Generated Node #2: [35, 62, 10] from Operation: 13-3=10
Current State: 17:[35, 62, 10], Operations: ['13-3=10']
Exploring Operation: 62-35=27, Resulting Numbers: [10, 27]
Generated Node #3: [10, 27] from Operation: 62-35=27
Current State: 17:[10, 27], Operations: ['13-3=10', '62-35=27']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[3, 13, 35, 62], Operations: []
Exploring Operation: 35-3=32, Resulting Numbers: [13, 62, 32]
Generated Node #0,0: 17:[13, 62, 32] Operation: 35-3=32
Exploring Operation: 62-35=27, Resulting Numbers: [3, 13, 27]
Generated Node #0,1: 17:[3, 13, 27] Operation: 62-35=27
Exploring Operation: 3+13=16, Resulting Numbers: [35, 62, 16]
Generated Node #0,2: 17:[35, 62, 16] Operation: 3+13=16
Moving to Node #0,1
Current State: 17:[3, 13, 27], Operations: ['62-35=27']
Exploring Operation: 3+13=16, Resulting Numbers: [27, 16]
Generated Node #0,1,0: 17:[27, 16] Operation: 3+13=16
Exploring Operation: 27/3=9, Resulting Numbers: [13, 9]
Generated Node #0,1,1: 17:[13, 9] Operation: 27/3=9
Exploring Operation: 27-3=24, Resulting Numbers: [13, 24]
Generated Node #0,1,2: 17:[13, 24] Operation: 27-3=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[27, 16], Operations: ['62-35=27', '3+13=16']
Exploring Operation: 27*16=432, Resulting Numbers: [432]
432,17 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,17 unequal: No Solution
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 17:[13, 24], Operations: ['62-35=27', '27-3=24']
Exploring Operation: 13+24=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,17 unequal: No Solution
Exploring Operation: 13*24=312, Resulting Numbers: [312]
312,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 17:[13, 9], Operations: ['62-35=27', '27/3=9']
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,17 unequal: No Solution
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,17 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 17:[13, 62, 32], Operations: ['35-3=32']
Exploring Operation: 62-13=49, Resulting Numbers: [32, 49]
Generated Node #0,0,0: 17:[32, 49] Operation: 62-13=49
Exploring Operation: 32-13=19, Resulting Numbers: [62, 19]
Generated Node #0,0,1: 17:[62, 19] Operation: 32-13=19
Exploring Operation: 62-32=30, Resulting Numbers: [13, 30]
Generated Node #0,0,2: 17:[13, 30] Operation: 62-32=30
Moving to Node #0,2
Current State: 17:[35, 62, 16], Operations: ['3+13=16']
Exploring Operation: 62-35=27, Resulting Numbers: [16, 27]
Generated Node #0,2,0: 17:[16, 27] Operation: 62-35=27
Exploring Operation: 62-16=46, Resulting Numbers: [35, 46]
Generated Node #0,2,1: 17:[35, 46] Operation: 62-16=46
Exploring Operation: 35-16=19, Resulting Numbers: [62, 19]
Generated Node #0,2,2: 17:[62, 19] Operation: 35-16=19
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 17:[16, 27], Operations: ['3+13=16', '62-35=27']
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,17 unequal: No Solution
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,17 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[35, 46], Operations: ['3+13=16', '62-16=46']
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,17 unequal: No Solution
Exploring Operation: 35*46=1610, Resulting Numbers: [1610]
1610,17 unequal: No Solution
Exploring Operation: 35+46=81, Resulting Numbers: [81]
81,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 17:[62, 19], Operations: ['3+13=16', '35-16=19']
Exploring Operation: 62-19=43, Resulting Numbers: [43]
43,17 unequal: No Solution
Exploring Operation: 62*19=1178, Resulting Numbers: [1178]
1178,17 unequal: No Solution
Exploring Operation: 62+19=81, Resulting Numbers: [81]
81,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 17:[13, 30], Operations: ['35-3=32', '62-32=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,17 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[3, 13, 35, 62], Operations: []
Exploring Operation: 35-3=32, Resulting Numbers: [13, 62, 32]
Generated Node #0,0: 17:[13, 62, 32] Operation: 35-3=32
Moving to Node #0,0
Current State: 17:[13, 62, 32], Operations: ['35-3=32']
Exploring Operation: 62-32=30, Resulting Numbers: [13, 30]
Generated Node #0,0,2: 17:[13, 30] Operation: 62-32=30
Moving to Node #0,0,2
Current State: 17:[13, 30], Operations: ['35-3=32', '62-32=30']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 0.96875 | hs_3 | mult_heuristic |
[
30,
98,
33,
9
] | 95 | [
"33-30=3",
"9/3=3",
"98-3=95"
] | Current State: 95:[30, 98, 33, 9], Operations: []
Exploring Operation: 33-30=3, Resulting Numbers: [98, 9, 3]
Generated Node #2: [98, 9, 3] from Operation: 33-30=3
Current State: 95:[98, 9, 3], Operations: ['33-30=3']
Exploring Operation: 9/3=3, Resulting Numbers: [98, 3]
Generated Node #3: [98, 3] from Operation: 9/3=3
Current State: 95:[98, 3], Operations: ['33-30=3', '9/3=3']
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[30, 98, 33, 9], Operations: []
Exploring Operation: 33-30=3, Resulting Numbers: [98, 9, 3]
Generated Node #0,0: 95:[98, 9, 3] Operation: 33-30=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[98, 9, 3], Operations: ['33-30=3']
Exploring Operation: 98-3=95, Resulting Numbers: [9, 95]
Generated Node #0,0,0: 95:[9, 95] Operation: 98-3=95
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[9, 95], Operations: ['33-30=3', '98-3=95']
Exploring Operation: 9+95=104, Resulting Numbers: [104]
104,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
68,
63,
31,
14
] | 85 | [
"68-63=5",
"31-14=17",
"5*17=85"
] | Current State: 85:[68, 63, 31, 14], Operations: []
Exploring Operation: 68-63=5, Resulting Numbers: [31, 14, 5]
Generated Node #2: [31, 14, 5] from Operation: 68-63=5
Current State: 85:[31, 14, 5], Operations: ['68-63=5']
Exploring Operation: 31-14=17, Resulting Numbers: [5, 17]
Generated Node #3: [5, 17] from Operation: 31-14=17
Current State: 85:[5, 17], Operations: ['68-63=5', '31-14=17']
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[68, 63, 31, 14], Operations: []
Exploring Operation: 68-63=5, Resulting Numbers: [31, 14, 5]
Generated Node #0,0: 85:[31, 14, 5] Operation: 68-63=5
Exploring Operation: 63+31=94, Resulting Numbers: [68, 14, 94]
Generated Node #0,1: 85:[68, 14, 94] Operation: 63+31=94
Exploring Operation: 63-31=32, Resulting Numbers: [68, 14, 32]
Generated Node #0,2: 85:[68, 14, 32] Operation: 63-31=32
Moving to Node #0,0
Current State: 85:[31, 14, 5], Operations: ['68-63=5']
Exploring Operation: 14+5=19, Resulting Numbers: [31, 19]
Generated Node #0,0,0: 85:[31, 19] Operation: 14+5=19
Exploring Operation: 31-14=17, Resulting Numbers: [5, 17]
Generated Node #0,0,1: 85:[5, 17] Operation: 31-14=17
Exploring Operation: 31-5=26, Resulting Numbers: [14, 26]
Generated Node #0,0,2: 85:[14, 26] Operation: 31-5=26
Moving to Node #0,1
Current State: 85:[68, 14, 94], Operations: ['63+31=94']
Exploring Operation: 94-68=26, Resulting Numbers: [14, 26]
Generated Node #0,1,0: 85:[14, 26] Operation: 94-68=26
Exploring Operation: 68+14=82, Resulting Numbers: [94, 82]
Generated Node #0,1,1: 85:[94, 82] Operation: 68+14=82
Exploring Operation: 94-14=80, Resulting Numbers: [68, 80]
Generated Node #0,1,2: 85:[68, 80] Operation: 94-14=80
Moving to Node #0,2
Current State: 85:[68, 14, 32], Operations: ['63-31=32']
Exploring Operation: 68+14=82, Resulting Numbers: [32, 82]
Generated Node #0,2,0: 85:[32, 82] Operation: 68+14=82
Exploring Operation: 32-14=18, Resulting Numbers: [68, 18]
Generated Node #0,2,1: 85:[68, 18] Operation: 32-14=18
Exploring Operation: 68+32=100, Resulting Numbers: [14, 100]
Generated Node #0,2,2: 85:[14, 100] Operation: 68+32=100
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[32, 82], Operations: ['63-31=32', '68+14=82']
Exploring Operation: 32*82=2624, Resulting Numbers: [2624]
2624,85 unequal: No Solution
Exploring Operation: 32+82=114, Resulting Numbers: [114]
114,85 unequal: No Solution
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[68, 18], Operations: ['63-31=32', '32-14=18']
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,85 unequal: No Solution
Exploring Operation: 68*18=1224, Resulting Numbers: [1224]
1224,85 unequal: No Solution
Exploring Operation: 68+18=86, Resulting Numbers: [86]
86,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 85:[14, 100], Operations: ['63-31=32', '68+32=100']
Exploring Operation: 14*100=1400, Resulting Numbers: [1400]
1400,85 unequal: No Solution
Exploring Operation: 100-14=86, Resulting Numbers: [86]
86,85 unequal: No Solution
Exploring Operation: 14+100=114, Resulting Numbers: [114]
114,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 85:[5, 17], Operations: ['68-63=5', '31-14=17']
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[68, 63, 31, 14], Operations: []
Exploring Operation: 68-63=5, Resulting Numbers: [31, 14, 5]
Generated Node #0,0: 85:[31, 14, 5] Operation: 68-63=5
Moving to Node #0,0
Current State: 85:[31, 14, 5], Operations: ['68-63=5']
Exploring Operation: 31-14=17, Resulting Numbers: [5, 17]
Generated Node #0,0,1: 85:[5, 17] Operation: 31-14=17
Moving to Node #0,0,1
Current State: 85:[5, 17], Operations: ['68-63=5', '31-14=17']
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
[
22,
28,
39,
3
] | 57 | [
"28-22=6",
"3*6=18",
"39+18=57"
] | Current State: 57:[22, 28, 39, 3], Operations: []
Exploring Operation: 28-22=6, Resulting Numbers: [39, 3, 6]
Generated Node #2: [39, 3, 6] from Operation: 28-22=6
Current State: 57:[39, 3, 6], Operations: ['28-22=6']
Exploring Operation: 3*6=18, Resulting Numbers: [39, 18]
Generated Node #3: [39, 18] from Operation: 3*6=18
Current State: 57:[39, 18], Operations: ['28-22=6', '3*6=18']
Exploring Operation: 39+18=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[22, 28, 39, 3], Operations: []
Exploring Operation: 28+39=67, Resulting Numbers: [22, 3, 67]
Generated Node #0,0: 57:[22, 3, 67] Operation: 28+39=67
Exploring Operation: 22+39=61, Resulting Numbers: [28, 3, 61]
Generated Node #0,1: 57:[28, 3, 61] Operation: 22+39=61
Exploring Operation: 39/3=13, Resulting Numbers: [22, 28, 13]
Generated Node #0,2: 57:[22, 28, 13] Operation: 39/3=13
Exploring Operation: 39-22=17, Resulting Numbers: [28, 3, 17]
Generated Node #0,3: 57:[28, 3, 17] Operation: 39-22=17
Exploring Operation: 39-28=11, Resulting Numbers: [22, 3, 11]
Generated Node #0,4: 57:[22, 3, 11] Operation: 39-28=11
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[28, 3, 17], Operations: ['39-22=17']
Exploring Operation: 28+17=45, Resulting Numbers: [3, 45]
Generated Node #0,3,0: 57:[3, 45] Operation: 28+17=45
Exploring Operation: 3+17=20, Resulting Numbers: [28, 20]
Generated Node #0,3,1: 57:[28, 20] Operation: 3+17=20
Exploring Operation: 28+3=31, Resulting Numbers: [17, 31]
Generated Node #0,3,2: 57:[17, 31] Operation: 28+3=31
Exploring Operation: 28-17=11, Resulting Numbers: [3, 11]
Generated Node #0,3,3: 57:[3, 11] Operation: 28-17=11
Exploring Operation: 28-3=25, Resulting Numbers: [17, 25]
Generated Node #0,3,4: 57:[17, 25] Operation: 28-3=25
Moving to Node #0,3,3
Current State: 57:[3, 11], Operations: ['39-22=17', '28-17=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Moving to Node #0,3,4
Current State: 57:[17, 25], Operations: ['39-22=17', '28-3=25']
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,57 unequal: No Solution
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Moving to Node #0,3,1
Current State: 57:[28, 20], Operations: ['39-22=17', '3+17=20']
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,57 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 28*20=560, Resulting Numbers: [560]
560,57 unequal: No Solution
Moving to Node #0,3,0
Current State: 57:[3, 45], Operations: ['39-22=17', '28+17=45']
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,57 unequal: No Solution
Exploring Operation: 3*45=135, Resulting Numbers: [135]
135,57 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Moving to Node #0,3,2
Current State: 57:[17, 31], Operations: ['39-22=17', '28+3=31']
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 17*31=527, Resulting Numbers: [527]
527,57 unequal: No Solution
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 57:[22, 3, 11], Operations: ['39-28=11']
Exploring Operation: 22-11=11, Resulting Numbers: [3, 11]
Generated Node #0,4,0: 57:[3, 11] Operation: 22-11=11
Exploring Operation: 3+11=14, Resulting Numbers: [22, 14]
Generated Node #0,4,1: 57:[22, 14] Operation: 3+11=14
Exploring Operation: 22/11=2, Resulting Numbers: [3, 2]
Generated Node #0,4,2: 57:[3, 2] Operation: 22/11=2
Exploring Operation: 22-3=19, Resulting Numbers: [11, 19]
Generated Node #0,4,3: 57:[11, 19] Operation: 22-3=19
Exploring Operation: 11-3=8, Resulting Numbers: [22, 8]
Generated Node #0,4,4: 57:[22, 8] Operation: 11-3=8
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 57:[3, 2], Operations: ['39-28=11', '22/11=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 57:[3, 11], Operations: ['39-28=11', '22-11=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 57:[22, 14], Operations: ['39-28=11', '3+11=14']
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,57 unequal: No Solution
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 57:[11, 19], Operations: ['39-28=11', '22-3=19']
Exploring Operation: 11*19=209, Resulting Numbers: [209]
209,57 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 57:[22, 8], Operations: ['39-28=11', '11-3=8']
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,57 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[22, 3, 67], Operations: ['28+39=67']
Exploring Operation: 22-3=19, Resulting Numbers: [67, 19]
Generated Node #0,0,0: 57:[67, 19] Operation: 22-3=19
Exploring Operation: 22+3=25, Resulting Numbers: [67, 25]
Generated Node #0,0,1: 57:[67, 25] Operation: 22+3=25
Exploring Operation: 67-22=45, Resulting Numbers: [3, 45]
Generated Node #0,0,2: 57:[3, 45] Operation: 67-22=45
Exploring Operation: 67-3=64, Resulting Numbers: [22, 64]
Generated Node #0,0,3: 57:[22, 64] Operation: 67-3=64
Exploring Operation: 3+67=70, Resulting Numbers: [22, 70]
Generated Node #0,0,4: 57:[22, 70] Operation: 3+67=70
Moving to Node #0,0,0
Current State: 57:[67, 19], Operations: ['28+39=67', '22-3=19']
Exploring Operation: 67*19=1273, Resulting Numbers: [1273]
1273,57 unequal: No Solution
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,57 unequal: No Solution
Exploring Operation: 67+19=86, Resulting Numbers: [86]
86,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[22, 64], Operations: ['28+39=67', '67-3=64']
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 22+64=86, Resulting Numbers: [86]
86,57 unequal: No Solution
Exploring Operation: 22*64=1408, Resulting Numbers: [1408]
1408,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[3, 45], Operations: ['28+39=67', '67-22=45']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,57 unequal: No Solution
Exploring Operation: 3*45=135, Resulting Numbers: [135]
135,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[67, 25], Operations: ['28+39=67', '22+3=25']
Exploring Operation: 67+25=92, Resulting Numbers: [92]
92,57 unequal: No Solution
Exploring Operation: 67*25=1675, Resulting Numbers: [1675]
1675,57 unequal: No Solution
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Moving to Node #0,0,4
Current State: 57:[22, 70], Operations: ['28+39=67', '3+67=70']
Exploring Operation: 70-22=48, Resulting Numbers: [48]
48,57 unequal: No Solution
Exploring Operation: 22*70=1540, Resulting Numbers: [1540]
1540,57 unequal: No Solution
Exploring Operation: 22+70=92, Resulting Numbers: [92]
92,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[28, 3, 61], Operations: ['22+39=61']
Exploring Operation: 3+61=64, Resulting Numbers: [28, 64]
Generated Node #0,1,0: 57:[28, 64] Operation: 3+61=64
Exploring Operation: 28+3=31, Resulting Numbers: [61, 31]
Generated Node #0,1,1: 57:[61, 31] Operation: 28+3=31
Exploring Operation: 28-3=25, Resulting Numbers: [61, 25]
Generated Node #0,1,2: 57:[61, 25] Operation: 28-3=25
Exploring Operation: 61-28=33, Resulting Numbers: [3, 33]
Generated Node #0,1,3: 57:[3, 33] Operation: 61-28=33
Exploring Operation: 61-3=58, Resulting Numbers: [28, 58]
Generated Node #0,1,4: 57:[28, 58] Operation: 61-3=58
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[61, 25], Operations: ['22+39=61', '28-3=25']
Exploring Operation: 61+25=86, Resulting Numbers: [86]
86,57 unequal: No Solution
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Exploring Operation: 61*25=1525, Resulting Numbers: [1525]
1525,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 57:[28, 58], Operations: ['22+39=61', '61-3=58']
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,57 unequal: No Solution
Exploring Operation: 28+58=86, Resulting Numbers: [86]
86,57 unequal: No Solution
Exploring Operation: 28*58=1624, Resulting Numbers: [1624]
1624,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 57:[3, 33], Operations: ['22+39=61', '61-28=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,57 unequal: No Solution
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,57 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[28, 64], Operations: ['22+39=61', '3+61=64']
Exploring Operation: 28+64=92, Resulting Numbers: [92]
92,57 unequal: No Solution
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Exploring Operation: 28*64=1792, Resulting Numbers: [1792]
1792,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[61, 31], Operations: ['22+39=61', '28+3=31']
Exploring Operation: 61*31=1891, Resulting Numbers: [1891]
1891,57 unequal: No Solution
Exploring Operation: 61+31=92, Resulting Numbers: [92]
92,57 unequal: No Solution
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[22, 28, 13], Operations: ['39/3=13']
Exploring Operation: 22-13=9, Resulting Numbers: [28, 9]
Generated Node #0,2,0: 57:[28, 9] Operation: 22-13=9
Exploring Operation: 28-13=15, Resulting Numbers: [22, 15]
Generated Node #0,2,1: 57:[22, 15] Operation: 28-13=15
Exploring Operation: 28-22=6, Resulting Numbers: [13, 6]
Generated Node #0,2,2: 57:[13, 6] Operation: 28-22=6
Exploring Operation: 22+28=50, Resulting Numbers: [13, 50]
Generated Node #0,2,3: 57:[13, 50] Operation: 22+28=50
Exploring Operation: 28+13=41, Resulting Numbers: [22, 41]
Generated Node #0,2,4: 57:[22, 41] Operation: 28+13=41
Moving to Node #0,2,1
Current State: 57:[22, 15], Operations: ['39/3=13', '28-13=15']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 22*15=330, Resulting Numbers: [330]
330,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[13, 6], Operations: ['39/3=13', '28-22=6']
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,57 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[13, 50], Operations: ['39/3=13', '22+28=50']
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 13*50=650, Resulting Numbers: [650]
650,57 unequal: No Solution
Exploring Operation: 13+50=63, Resulting Numbers: [63]
63,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[28, 9], Operations: ['39/3=13', '22-13=9']
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,57 unequal: No Solution
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,57 unequal: No Solution
Moving to Node #0,2,4
Current State: 57:[22, 41], Operations: ['39/3=13', '28+13=41']
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,57 unequal: No Solution
Exploring Operation: 22*41=902, Resulting Numbers: [902]
902,57 unequal: No Solution
Exploring Operation: 22+41=63, Resulting Numbers: [63]
63,57 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 |
[
47,
32,
53,
2
] | 58 | [
"53-47=6",
"32*2=64",
"64-6=58"
] | Current State: 58:[47, 32, 53, 2], Operations: []
Exploring Operation: 53-47=6, Resulting Numbers: [32, 2, 6]
Generated Node #2: [32, 2, 6] from Operation: 53-47=6
Current State: 58:[32, 2, 6], Operations: ['53-47=6']
Exploring Operation: 32*2=64, Resulting Numbers: [6, 64]
Generated Node #3: [6, 64] from Operation: 32*2=64
Current State: 58:[6, 64], Operations: ['53-47=6', '32*2=64']
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[47, 32, 53, 2], Operations: []
Exploring Operation: 53-47=6, Resulting Numbers: [32, 2, 6]
Generated Node #0,0: 58:[32, 2, 6] Operation: 53-47=6
Exploring Operation: 53+2=55, Resulting Numbers: [47, 32, 55]
Generated Node #0,1: 58:[47, 32, 55] Operation: 53+2=55
Exploring Operation: 47+2=49, Resulting Numbers: [32, 53, 49]
Generated Node #0,2: 58:[32, 53, 49] Operation: 47+2=49
Exploring Operation: 32-2=30, Resulting Numbers: [47, 53, 30]
Generated Node #0,3: 58:[47, 53, 30] Operation: 32-2=30
Moving to Node #0,0
Current State: 58:[32, 2, 6], Operations: ['53-47=6']
Exploring Operation: 6-2=4, Resulting Numbers: [32, 4]
Generated Node #0,0,0: 58:[32, 4] Operation: 6-2=4
Exploring Operation: 6/2=3, Resulting Numbers: [32, 3]
Generated Node #0,0,1: 58:[32, 3] Operation: 6/2=3
Exploring Operation: 32-6=26, Resulting Numbers: [2, 26]
Generated Node #0,0,2: 58:[2, 26] Operation: 32-6=26
Exploring Operation: 32-2=30, Resulting Numbers: [6, 30]
Generated Node #0,0,3: 58:[6, 30] Operation: 32-2=30
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 58:[2, 26], Operations: ['53-47=6', '32-6=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,58 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[32, 3], Operations: ['53-47=6', '6/2=3']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,58 unequal: No Solution
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[32, 4], Operations: ['53-47=6', '6-2=4']
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,58 unequal: No Solution
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 32*4=128, Resulting Numbers: [128]
128,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 58:[6, 30], Operations: ['53-47=6', '32-2=30']
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 6*30=180, Resulting Numbers: [180]
180,58 unequal: No Solution
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,58 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: 58:[32, 53, 49], Operations: ['47+2=49']
Exploring Operation: 53-32=21, Resulting Numbers: [49, 21]
Generated Node #0,2,0: 58:[49, 21] Operation: 53-32=21
Exploring Operation: 49-32=17, Resulting Numbers: [53, 17]
Generated Node #0,2,1: 58:[53, 17] Operation: 49-32=17
Exploring Operation: 32+49=81, Resulting Numbers: [53, 81]
Generated Node #0,2,2: 58:[53, 81] Operation: 32+49=81
Exploring Operation: 53-49=4, Resulting Numbers: [32, 4]
Generated Node #0,2,3: 58:[32, 4] Operation: 53-49=4
Moving to Node #0,1
Current State: 58:[47, 32, 55], Operations: ['53+2=55']
Exploring Operation: 47-32=15, Resulting Numbers: [55, 15]
Generated Node #0,1,0: 58:[55, 15] Operation: 47-32=15
Exploring Operation: 55-47=8, Resulting Numbers: [32, 8]
Generated Node #0,1,1: 58:[32, 8] Operation: 55-47=8
Exploring Operation: 55-32=23, Resulting Numbers: [47, 23]
Generated Node #0,1,2: 58:[47, 23] Operation: 55-32=23
Exploring Operation: 47+32=79, Resulting Numbers: [55, 79]
Generated Node #0,1,3: 58:[55, 79] Operation: 47+32=79
Moving to Node #0,3
Current State: 58:[47, 53, 30], Operations: ['32-2=30']
Exploring Operation: 53-30=23, Resulting Numbers: [47, 23]
Generated Node #0,3,0: 58:[47, 23] Operation: 53-30=23
Exploring Operation: 53-47=6, Resulting Numbers: [30, 6]
Generated Node #0,3,1: 58:[30, 6] Operation: 53-47=6
Exploring Operation: 47+30=77, Resulting Numbers: [53, 77]
Generated Node #0,3,2: 58:[53, 77] Operation: 47+30=77
Exploring Operation: 47-30=17, Resulting Numbers: [53, 17]
Generated Node #0,3,3: 58:[53, 17] Operation: 47-30=17
Moving to Node #0,2,3
Current State: 58:[32, 4], Operations: ['47+2=49', '53-49=4']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 32*4=128, Resulting Numbers: [128]
128,58 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,58 unequal: No Solution
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Moving to Node #0,3,1
Current State: 58:[30, 6], Operations: ['32-2=30', '53-47=6']
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 30*6=180, Resulting Numbers: [180]
180,58 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[32, 8], Operations: ['53+2=55', '55-47=8']
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 32*8=256, Resulting Numbers: [256]
256,58 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[55, 15], Operations: ['53+2=55', '47-32=15']
Exploring Operation: 55*15=825, Resulting Numbers: [825]
825,58 unequal: No Solution
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[47, 23], Operations: ['53+2=55', '55-32=23']
Exploring Operation: 47+23=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 47*23=1081, Resulting Numbers: [1081]
1081,58 unequal: No Solution
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Moving to Node #0,3,3
Current State: 58:[53, 17], Operations: ['32-2=30', '47-30=17']
Exploring Operation: 53*17=901, Resulting Numbers: [901]
901,58 unequal: No Solution
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 53+17=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[53, 17], Operations: ['47+2=49', '49-32=17']
Exploring Operation: 53+17=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 53*17=901, Resulting Numbers: [901]
901,58 unequal: No Solution
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Moving to Node #0,2,0
Current State: 58:[49, 21], Operations: ['47+2=49', '53-32=21']
Exploring Operation: 49*21=1029, Resulting Numbers: [1029]
1029,58 unequal: No Solution
Exploring Operation: 49+21=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Moving to Node #0,3,0
Current State: 58:[47, 23], Operations: ['32-2=30', '53-30=23']
Exploring Operation: 47*23=1081, Resulting Numbers: [1081]
1081,58 unequal: No Solution
Exploring Operation: 47+23=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Moving to Node #0,3,2
Current State: 58:[53, 77], Operations: ['32-2=30', '47+30=77']
Exploring Operation: 53*77=4081, Resulting Numbers: [4081]
4081,58 unequal: No Solution
Exploring Operation: 53+77=130, Resulting Numbers: [130]
130,58 unequal: No Solution
Exploring Operation: 77-53=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Moving to Node #0,1,3
Current State: 58:[55, 79], Operations: ['53+2=55', '47+32=79']
Exploring Operation: 55*79=4345, Resulting Numbers: [4345]
4345,58 unequal: No Solution
Exploring Operation: 55+79=134, Resulting Numbers: [134]
134,58 unequal: No Solution
Exploring Operation: 79-55=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[53, 81], Operations: ['47+2=49', '32+49=81']
Exploring Operation: 53+81=134, Resulting Numbers: [134]
134,58 unequal: No Solution
Exploring Operation: 53*81=4293, Resulting Numbers: [4293]
4293,58 unequal: No Solution
Exploring Operation: 81-53=28, Resulting Numbers: [28]
28,58 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
9,
8,
95,
27
] | 51 | [
"9+8=17",
"95-27=68",
"68-17=51"
] | Current State: 51:[9, 8, 95, 27], Operations: []
Exploring Operation: 9+8=17, Resulting Numbers: [95, 27, 17]
Generated Node #2: [95, 27, 17] from Operation: 9+8=17
Current State: 51:[95, 27, 17], Operations: ['9+8=17']
Exploring Operation: 95-27=68, Resulting Numbers: [17, 68]
Generated Node #3: [17, 68] from Operation: 95-27=68
Current State: 51:[17, 68], Operations: ['9+8=17', '95-27=68']
Exploring Operation: 68-17=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[9, 8, 95, 27], Operations: []
Exploring Operation: 27/9=3, Resulting Numbers: [8, 95, 3]
Generated Node #0,0: 51:[8, 95, 3] Operation: 27/9=3
Exploring Operation: 95-27=68, Resulting Numbers: [9, 8, 68]
Generated Node #0,1: 51:[9, 8, 68] Operation: 95-27=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[9, 8, 68], Operations: ['95-27=68']
Exploring Operation: 68-9=59, Resulting Numbers: [8, 59]
Generated Node #0,1,0: 51:[8, 59] Operation: 68-9=59
Exploring Operation: 68-8=60, Resulting Numbers: [9, 60]
Generated Node #0,1,1: 51:[9, 60] Operation: 68-8=60
Moving to Node #0,1,0
Current State: 51:[8, 59], Operations: ['95-27=68', '68-9=59']
Exploring Operation: 8+59=67, Resulting Numbers: [67]
67,51 unequal: No Solution
Exploring Operation: 59-8=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[9, 8, 95, 27], Operations: []
Exploring Operation: 95-27=68, Resulting Numbers: [9, 8, 68]
Generated Node #0,1: 51:[9, 8, 68] Operation: 95-27=68
Moving to Node #0,1
Current State: 51:[9, 8, 68], Operations: ['95-27=68']
Exploring Operation: 68-9=59, Resulting Numbers: [8, 59]
Generated Node #0,1,0: 51:[8, 59] Operation: 68-9=59
Moving to Node #0,1,0
Current State: 51:[8, 59], Operations: ['95-27=68', '68-9=59']
Exploring Operation: 59-8=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
42,
73,
36,
33
] | 93 | [
"73-42=31",
"36-33=3",
"31*3=93"
] | Current State: 93:[42, 73, 36, 33], Operations: []
Exploring Operation: 73-42=31, Resulting Numbers: [36, 33, 31]
Generated Node #2: [36, 33, 31] from Operation: 73-42=31
Current State: 93:[36, 33, 31], Operations: ['73-42=31']
Exploring Operation: 36-33=3, Resulting Numbers: [31, 3]
Generated Node #3: [31, 3] from Operation: 36-33=3
Current State: 93:[31, 3], Operations: ['73-42=31', '36-33=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[42, 73, 36, 33], Operations: []
Exploring Operation: 73-42=31, Resulting Numbers: [36, 33, 31]
Generated Node #0,0: 93:[36, 33, 31] Operation: 73-42=31
Exploring Operation: 73-36=37, Resulting Numbers: [42, 33, 37]
Generated Node #0,1: 93:[42, 33, 37] Operation: 73-36=37
Exploring Operation: 42-36=6, Resulting Numbers: [73, 33, 6]
Generated Node #0,2: 93:[73, 33, 6] Operation: 42-36=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[36, 33, 31], Operations: ['73-42=31']
Exploring Operation: 36-33=3, Resulting Numbers: [31, 3]
Generated Node #0,0,0: 93:[31, 3] Operation: 36-33=3
Exploring Operation: 36-31=5, Resulting Numbers: [33, 5]
Generated Node #0,0,1: 93:[33, 5] Operation: 36-31=5
Exploring Operation: 33-31=2, Resulting Numbers: [36, 2]
Generated Node #0,0,2: 93:[36, 2] Operation: 33-31=2
Moving to Node #0,0,0
Current State: 93:[31, 3], Operations: ['73-42=31', '36-33=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[42, 73, 36, 33], Operations: []
Exploring Operation: 73-42=31, Resulting Numbers: [36, 33, 31]
Generated Node #0,0: 93:[36, 33, 31] Operation: 73-42=31
Moving to Node #0,0
Current State: 93:[36, 33, 31], Operations: ['73-42=31']
Exploring Operation: 36-33=3, Resulting Numbers: [31, 3]
Generated Node #0,0,0: 93:[31, 3] Operation: 36-33=3
Moving to Node #0,0,0
Current State: 93:[31, 3], Operations: ['73-42=31', '36-33=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
96,
7,
64,
27
] | 83 | [
"64+27=91",
"91/7=13",
"96-13=83"
] | Current State: 83:[96, 7, 64, 27], Operations: []
Exploring Operation: 64+27=91, Resulting Numbers: [96, 7, 91]
Generated Node #2: [96, 7, 91] from Operation: 64+27=91
Current State: 83:[96, 7, 91], Operations: ['64+27=91']
Exploring Operation: 91/7=13, Resulting Numbers: [96, 13]
Generated Node #3: [96, 13] from Operation: 91/7=13
Current State: 83:[96, 13], Operations: ['64+27=91', '91/7=13']
Exploring Operation: 96-13=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[96, 7, 64, 27], Operations: []
Exploring Operation: 64-7=57, Resulting Numbers: [96, 27, 57]
Generated Node #0,0: 83:[96, 27, 57] Operation: 64-7=57
Exploring Operation: 96+7=103, Resulting Numbers: [64, 27, 103]
Generated Node #0,1: 83:[64, 27, 103] Operation: 96+7=103
Exploring Operation: 7+27=34, Resulting Numbers: [96, 64, 34]
Generated Node #0,2: 83:[96, 64, 34] Operation: 7+27=34
Exploring Operation: 7+64=71, Resulting Numbers: [96, 27, 71]
Generated Node #0,3: 83:[96, 27, 71] Operation: 7+64=71
Exploring Operation: 96-7=89, Resulting Numbers: [64, 27, 89]
Generated Node #0,4: 83:[64, 27, 89] Operation: 96-7=89
Moving to Node #0,2
Current State: 83:[96, 64, 34], Operations: ['7+27=34']
Exploring Operation: 96-64=32, Resulting Numbers: [34, 32]
Generated Node #0,2,0: 83:[34, 32] Operation: 96-64=32
Exploring Operation: 64-34=30, Resulting Numbers: [96, 30]
Generated Node #0,2,1: 83:[96, 30] Operation: 64-34=30
Exploring Operation: 96-34=62, Resulting Numbers: [64, 62]
Generated Node #0,2,2: 83:[64, 62] Operation: 96-34=62
Exploring Operation: 64+34=98, Resulting Numbers: [96, 98]
Generated Node #0,2,3: 83:[96, 98] Operation: 64+34=98
Exploring Operation: 96+34=130, Resulting Numbers: [64, 130]
Generated Node #0,2,4: 83:[64, 130] Operation: 96+34=130
Moving to Node #0,4
Current State: 83:[64, 27, 89], Operations: ['96-7=89']
Exploring Operation: 64-27=37, Resulting Numbers: [89, 37]
Generated Node #0,4,0: 83:[89, 37] Operation: 64-27=37
Exploring Operation: 27+89=116, Resulting Numbers: [64, 116]
Generated Node #0,4,1: 83:[64, 116] Operation: 27+89=116
Exploring Operation: 64+27=91, Resulting Numbers: [89, 91]
Generated Node #0,4,2: 83:[89, 91] Operation: 64+27=91
Exploring Operation: 89-64=25, Resulting Numbers: [27, 25]
Generated Node #0,4,3: 83:[27, 25] Operation: 89-64=25
Exploring Operation: 89-27=62, Resulting Numbers: [64, 62]
Generated Node #0,4,4: 83:[64, 62] Operation: 89-27=62
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 83:[89, 91], Operations: ['96-7=89', '64+27=91']
Exploring Operation: 91-89=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 89+91=180, Resulting Numbers: [180]
180,83 unequal: No Solution
Exploring Operation: 89*91=8099, Resulting Numbers: [8099]
8099,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:[64, 62], Operations: ['96-7=89', '89-27=62']
Exploring Operation: 64+62=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 64-62=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 64*62=3968, Resulting Numbers: [3968]
3968,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:[89, 37], Operations: ['96-7=89', '64-27=37']
Exploring Operation: 89-37=52, Resulting Numbers: [52]
52,83 unequal: No Solution
Exploring Operation: 89+37=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 89*37=3293, Resulting Numbers: [3293]
3293,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,1
Current State: 83:[64, 116], Operations: ['96-7=89', '27+89=116']
Exploring Operation: 64+116=180, Resulting Numbers: [180]
180,83 unequal: No Solution
Exploring Operation: 64*116=7424, Resulting Numbers: [7424]
7424,83 unequal: No Solution
Exploring Operation: 116-64=52, Resulting Numbers: [52]
52,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:[27, 25], Operations: ['96-7=89', '89-64=25']
Exploring Operation: 27*25=675, Resulting Numbers: [675]
675,83 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,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:[96, 27, 71], Operations: ['7+64=71']
Exploring Operation: 96+27=123, Resulting Numbers: [71, 123]
Generated Node #0,3,0: 83:[71, 123] Operation: 96+27=123
Exploring Operation: 71-27=44, Resulting Numbers: [96, 44]
Generated Node #0,3,1: 83:[96, 44] Operation: 71-27=44
Exploring Operation: 96-27=69, Resulting Numbers: [71, 69]
Generated Node #0,3,2: 83:[71, 69] Operation: 96-27=69
Exploring Operation: 96-71=25, Resulting Numbers: [27, 25]
Generated Node #0,3,3: 83:[27, 25] Operation: 96-71=25
Exploring Operation: 27+71=98, Resulting Numbers: [96, 98]
Generated Node #0,3,4: 83:[96, 98] Operation: 27+71=98
Moving to Node #0,0
Current State: 83:[96, 27, 57], Operations: ['64-7=57']
Exploring Operation: 96-27=69, Resulting Numbers: [57, 69]
Generated Node #0,0,0: 83:[57, 69] Operation: 96-27=69
Exploring Operation: 96-57=39, Resulting Numbers: [27, 39]
Generated Node #0,0,1: 83:[27, 39] Operation: 96-57=39
Exploring Operation: 27+57=84, Resulting Numbers: [96, 84]
Generated Node #0,0,2: 83:[96, 84] Operation: 27+57=84
Exploring Operation: 57-27=30, Resulting Numbers: [96, 30]
Generated Node #0,0,3: 83:[96, 30] Operation: 57-27=30
Exploring Operation: 96+27=123, Resulting Numbers: [57, 123]
Generated Node #0,0,4: 83:[57, 123] Operation: 96+27=123
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[96, 84], Operations: ['64-7=57', '27+57=84']
Exploring Operation: 96*84=8064, Resulting Numbers: [8064]
8064,83 unequal: No Solution
Exploring Operation: 96-84=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 96+84=180, Resulting Numbers: [180]
180,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:[57, 69], Operations: ['64-7=57', '96-27=69']
Exploring Operation: 57*69=3933, Resulting Numbers: [3933]
3933,83 unequal: No Solution
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 57+69=126, Resulting Numbers: [126]
126,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:[96, 30], Operations: ['64-7=57', '57-27=30']
Exploring Operation: 96*30=2880, Resulting Numbers: [2880]
2880,83 unequal: No Solution
Exploring Operation: 96+30=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 96-30=66, Resulting Numbers: [66]
66,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:[57, 123], Operations: ['64-7=57', '96+27=123']
Exploring Operation: 57*123=7011, Resulting Numbers: [7011]
7011,83 unequal: No Solution
Exploring Operation: 57+123=180, Resulting Numbers: [180]
180,83 unequal: No Solution
Exploring Operation: 123-57=66, Resulting Numbers: [66]
66,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:[27, 39], Operations: ['64-7=57', '96-57=39']
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 27*39=1053, Resulting Numbers: [1053]
1053,83 unequal: No Solution
Exploring Operation: 27+39=66, Resulting Numbers: [66]
66,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:[64, 27, 103], Operations: ['96+7=103']
Exploring Operation: 27+103=130, Resulting Numbers: [64, 130]
Generated Node #0,1,0: 83:[64, 130] Operation: 27+103=130
Exploring Operation: 103-27=76, Resulting Numbers: [64, 76]
Generated Node #0,1,1: 83:[64, 76] Operation: 103-27=76
Exploring Operation: 64-27=37, Resulting Numbers: [103, 37]
Generated Node #0,1,2: 83:[103, 37] Operation: 64-27=37
Exploring Operation: 103-64=39, Resulting Numbers: [27, 39]
Generated Node #0,1,3: 83:[27, 39] Operation: 103-64=39
Exploring Operation: 64+27=91, Resulting Numbers: [103, 91]
Generated Node #0,1,4: 83:[103, 91] Operation: 64+27=91
Moving to Node #0,3,2
Current State: 83:[71, 69], Operations: ['7+64=71', '96-27=69']
Exploring Operation: 71*69=4899, Resulting Numbers: [4899]
4899,83 unequal: No Solution
Exploring Operation: 71+69=140, Resulting Numbers: [140]
140,83 unequal: No Solution
Exploring Operation: 71-69=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[64, 76], Operations: ['96+7=103', '103-27=76']
Exploring Operation: 64+76=140, Resulting Numbers: [140]
140,83 unequal: No Solution
Exploring Operation: 76-64=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 64*76=4864, Resulting Numbers: [4864]
4864,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[96, 98], Operations: ['7+27=34', '64+34=98']
Exploring Operation: 98-96=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 96*98=9408, Resulting Numbers: [9408]
9408,83 unequal: No Solution
Exploring Operation: 96+98=194, Resulting Numbers: [194]
194,83 unequal: No Solution
Moving to Node #0,3,4
Current State: 83:[96, 98], Operations: ['7+64=71', '27+71=98']
Exploring Operation: 96+98=194, Resulting Numbers: [194]
194,83 unequal: No Solution
Exploring Operation: 98-96=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 96*98=9408, Resulting Numbers: [9408]
9408,83 unequal: No Solution
Moving to Node #0,1,4
Current State: 83:[103, 91], Operations: ['96+7=103', '64+27=91']
Exploring Operation: 103+91=194, Resulting Numbers: [194]
194,83 unequal: No Solution
Exploring Operation: 103*91=9373, Resulting Numbers: [9373]
9373,83 unequal: No Solution
Exploring Operation: 103-91=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[64, 62], Operations: ['7+27=34', '96-34=62']
Exploring Operation: 64+62=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 64*62=3968, Resulting Numbers: [3968]
3968,83 unequal: No Solution
Exploring Operation: 64-62=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[71, 123], Operations: ['7+64=71', '96+27=123']
Exploring Operation: 123-71=52, Resulting Numbers: [52]
52,83 unequal: No Solution
Exploring Operation: 71+123=194, Resulting Numbers: [194]
194,83 unequal: No Solution
Exploring Operation: 71*123=8733, Resulting Numbers: [8733]
8733,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[96, 44], Operations: ['7+64=71', '71-27=44']
Exploring Operation: 96-44=52, Resulting Numbers: [52]
52,83 unequal: No Solution
Exploring Operation: 96+44=140, Resulting Numbers: [140]
140,83 unequal: No Solution
Exploring Operation: 96*44=4224, Resulting Numbers: [4224]
4224,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[103, 37], Operations: ['96+7=103', '64-27=37']
Exploring Operation: 103+37=140, Resulting Numbers: [140]
140,83 unequal: No Solution
Exploring Operation: 103*37=3811, Resulting Numbers: [3811]
3811,83 unequal: No Solution
Exploring Operation: 103-37=66, Resulting Numbers: [66]
66,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[64, 130], Operations: ['96+7=103', '27+103=130']
Exploring Operation: 64*130=8320, Resulting Numbers: [8320]
8320,83 unequal: No Solution
Exploring Operation: 64+130=194, Resulting Numbers: [194]
194,83 unequal: No Solution
Exploring Operation: 130-64=66, Resulting Numbers: [66]
66,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[96, 30], Operations: ['7+27=34', '64-34=30']
Exploring Operation: 96+30=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 96*30=2880, Resulting Numbers: [2880]
2880,83 unequal: No Solution
Exploring Operation: 96-30=66, Resulting Numbers: [66]
66,83 unequal: No Solution
Moving to Node #0,2,4
Current State: 83:[64, 130], Operations: ['7+27=34', '96+34=130']
Exploring Operation: 130-64=66, Resulting Numbers: [66]
66,83 unequal: No Solution
Exploring Operation: 64+130=194, Resulting Numbers: [194]
194,83 unequal: No Solution
Exploring Operation: 64*130=8320, Resulting Numbers: [8320]
8320,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[27, 39], Operations: ['96+7=103', '103-64=39']
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 27+39=66, Resulting Numbers: [66]
66,83 unequal: No Solution
Exploring Operation: 27*39=1053, Resulting Numbers: [1053]
1053,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[34, 32], Operations: ['7+27=34', '96-64=32']
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 34+32=66, Resulting Numbers: [66]
66,83 unequal: No Solution
Exploring Operation: 34*32=1088, Resulting Numbers: [1088]
1088,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[27, 25], Operations: ['7+64=71', '96-71=25']
Exploring Operation: 27*25=675, Resulting Numbers: [675]
675,83 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,83 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
70,
50,
58,
60
] | 56 | [
"70+50=120",
"120/60=2",
"58-2=56"
] | Current State: 56:[70, 50, 58, 60], Operations: []
Exploring Operation: 70+50=120, Resulting Numbers: [58, 60, 120]
Generated Node #2: [58, 60, 120] from Operation: 70+50=120
Current State: 56:[58, 60, 120], Operations: ['70+50=120']
Exploring Operation: 120/60=2, Resulting Numbers: [58, 2]
Generated Node #3: [58, 2] from Operation: 120/60=2
Current State: 56:[58, 2], Operations: ['70+50=120', '120/60=2']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[70, 50, 58, 60], Operations: []
Exploring Operation: 70-50=20, Resulting Numbers: [58, 60, 20]
Generated Node #0,0: 56:[58, 60, 20] Operation: 70-50=20
Exploring Operation: 70-58=12, Resulting Numbers: [50, 60, 12]
Generated Node #0,1: 56:[50, 60, 12] Operation: 70-58=12
Exploring Operation: 70-60=10, Resulting Numbers: [50, 58, 10]
Generated Node #0,2: 56:[50, 58, 10] Operation: 70-60=10
Moving to Node #0,2
Current State: 56:[50, 58, 10], Operations: ['70-60=10']
Exploring Operation: 58-50=8, Resulting Numbers: [10, 8]
Generated Node #0,2,0: 56:[10, 8] Operation: 58-50=8
Exploring Operation: 50+10=60, Resulting Numbers: [58, 60]
Generated Node #0,2,1: 56:[58, 60] Operation: 50+10=60
Exploring Operation: 50/10=5, Resulting Numbers: [58, 5]
Generated Node #0,2,2: 56:[58, 5] Operation: 50/10=5
Moving to Node #0,0
Current State: 56:[58, 60, 20], Operations: ['70-50=20']
Exploring Operation: 60-58=2, Resulting Numbers: [20, 2]
Generated Node #0,0,0: 56:[20, 2] Operation: 60-58=2
Exploring Operation: 60/20=3, Resulting Numbers: [58, 3]
Generated Node #0,0,1: 56:[58, 3] Operation: 60/20=3
Exploring Operation: 58-20=38, Resulting Numbers: [60, 38]
Generated Node #0,0,2: 56:[60, 38] Operation: 58-20=38
Moving to Node #0,1
Current State: 56:[50, 60, 12], Operations: ['70-58=12']
Exploring Operation: 50+12=62, Resulting Numbers: [60, 62]
Generated Node #0,1,0: 56:[60, 62] Operation: 50+12=62
Exploring Operation: 60/12=5, Resulting Numbers: [50, 5]
Generated Node #0,1,1: 56:[50, 5] Operation: 60/12=5
Exploring Operation: 60-50=10, Resulting Numbers: [12, 10]
Generated Node #0,1,2: 56:[12, 10] Operation: 60-50=10
Moving to Node #0,2,0
Current State: 56:[10, 8], Operations: ['70-60=10', '58-50=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,56 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[58, 5], Operations: ['70-60=10', '50/10=5']
Exploring Operation: 58*5=290, Resulting Numbers: [290]
290,56 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,56 unequal: No Solution
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[58, 3], Operations: ['70-50=20', '60/20=3']
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,56 unequal: No Solution
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[12, 10], Operations: ['70-58=12', '60-50=10']
Exploring Operation: 12*10=120, Resulting Numbers: [120]
120,56 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Moving to Node #0,2,1
Current State: 56:[58, 60], Operations: ['70-60=10', '50+10=60']
Exploring Operation: 58*60=3480, Resulting Numbers: [3480]
3480,56 unequal: No Solution
Exploring Operation: 58+60=118, Resulting Numbers: [118]
118,56 unequal: No Solution
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[20, 2], Operations: ['70-50=20', '60-58=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[50, 5], Operations: ['70-58=12', '60/12=5']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[60, 62], Operations: ['70-58=12', '50+12=62']
Exploring Operation: 60+62=122, Resulting Numbers: [122]
122,56 unequal: No Solution
Exploring Operation: 60*62=3720, Resulting Numbers: [3720]
3720,56 unequal: No Solution
Exploring Operation: 62-60=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[60, 38], Operations: ['70-50=20', '58-20=38']
Exploring Operation: 60-38=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 60+38=98, Resulting Numbers: [98]
98,56 unequal: No Solution
Exploring Operation: 60*38=2280, Resulting Numbers: [2280]
2280,56 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
1,
84,
43,
30
] | 32 | [
"43-1=42",
"84/42=2",
"30+2=32"
] | Current State: 32:[1, 84, 43, 30], Operations: []
Exploring Operation: 43-1=42, Resulting Numbers: [84, 30, 42]
Generated Node #2: [84, 30, 42] from Operation: 43-1=42
Current State: 32:[84, 30, 42], Operations: ['43-1=42']
Exploring Operation: 84/42=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 84/42=2
Current State: 32:[30, 2], Operations: ['43-1=42', '84/42=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[1, 84, 43, 30], Operations: []
Exploring Operation: 84-30=54, Resulting Numbers: [1, 43, 54]
Generated Node #0,0: 32:[1, 43, 54] Operation: 84-30=54
Exploring Operation: 84-1=83, Resulting Numbers: [43, 30, 83]
Generated Node #0,1: 32:[43, 30, 83] Operation: 84-1=83
Exploring Operation: 43-30=13, Resulting Numbers: [1, 84, 13]
Generated Node #0,2: 32:[1, 84, 13] Operation: 43-30=13
Exploring Operation: 43-1=42, Resulting Numbers: [84, 30, 42]
Generated Node #0,3: 32:[84, 30, 42] Operation: 43-1=42
Exploring Operation: 84-43=41, Resulting Numbers: [1, 30, 41]
Generated Node #0,4: 32:[1, 30, 41] Operation: 84-43=41
Moving to Node #0,4
Current State: 32:[1, 30, 41], Operations: ['84-43=41']
Exploring Operation: 30/1=30, Resulting Numbers: [41, 30]
Generated Node #0,4,0: 32:[41, 30] Operation: 30/1=30
Exploring Operation: 1*30=30, Resulting Numbers: [41, 30]
Generated Node #0,4,1: 32:[41, 30] Operation: 1*30=30
Exploring Operation: 41-30=11, Resulting Numbers: [1, 11]
Generated Node #0,4,2: 32:[1, 11] Operation: 41-30=11
Exploring Operation: 41-1=40, Resulting Numbers: [30, 40]
Generated Node #0,4,3: 32:[30, 40] Operation: 41-1=40
Exploring Operation: 1+30=31, Resulting Numbers: [41, 31]
Generated Node #0,4,4: 32:[41, 31] Operation: 1+30=31
Moving to Node #0,0
Current State: 32:[1, 43, 54], Operations: ['84-30=54']
Exploring Operation: 1*43=43, Resulting Numbers: [54, 43]
Generated Node #0,0,0: 32:[54, 43] Operation: 1*43=43
Exploring Operation: 54-1=53, Resulting Numbers: [43, 53]
Generated Node #0,0,1: 32:[43, 53] Operation: 54-1=53
Exploring Operation: 54-43=11, Resulting Numbers: [1, 11]
Generated Node #0,0,2: 32:[1, 11] Operation: 54-43=11
Exploring Operation: 43/1=43, Resulting Numbers: [54, 43]
Generated Node #0,0,3: 32:[54, 43] Operation: 43/1=43
Exploring Operation: 43-1=42, Resulting Numbers: [54, 42]
Generated Node #0,0,4: 32:[54, 42] Operation: 43-1=42
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 32:[1, 11], Operations: ['84-30=54', '54-43=11']
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[43, 53], Operations: ['84-30=54', '54-1=53']
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 43*53=2279, Resulting Numbers: [2279]
2279,32 unequal: No Solution
Exploring Operation: 43+53=96, Resulting Numbers: [96]
96,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 32:[54, 42], Operations: ['84-30=54', '43-1=42']
Exploring Operation: 54+42=96, Resulting Numbers: [96]
96,32 unequal: No Solution
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 54*42=2268, Resulting Numbers: [2268]
2268,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[54, 43], Operations: ['84-30=54', '1*43=43']
Exploring Operation: 54*43=2322, Resulting Numbers: [2322]
2322,32 unequal: No Solution
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 54+43=97, Resulting Numbers: [97]
97,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 32:[54, 43], Operations: ['84-30=54', '43/1=43']
Exploring Operation: 54+43=97, Resulting Numbers: [97]
97,32 unequal: No Solution
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 54*43=2322, Resulting Numbers: [2322]
2322,32 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: 32:[1, 84, 13], Operations: ['43-30=13']
Exploring Operation: 1*84=84, Resulting Numbers: [13, 84]
Generated Node #0,2,0: 32:[13, 84] Operation: 1*84=84
Exploring Operation: 84/1=84, Resulting Numbers: [13, 84]
Generated Node #0,2,1: 32:[13, 84] Operation: 84/1=84
Exploring Operation: 1+13=14, Resulting Numbers: [84, 14]
Generated Node #0,2,2: 32:[84, 14] Operation: 1+13=14
Exploring Operation: 84-13=71, Resulting Numbers: [1, 71]
Generated Node #0,2,3: 32:[1, 71] Operation: 84-13=71
Exploring Operation: 84-1=83, Resulting Numbers: [13, 83]
Generated Node #0,2,4: 32:[13, 83] Operation: 84-1=83
Moving to Node #0,1
Current State: 32:[43, 30, 83], Operations: ['84-1=83']
Exploring Operation: 30+83=113, Resulting Numbers: [43, 113]
Generated Node #0,1,0: 32:[43, 113] Operation: 30+83=113
Exploring Operation: 83-43=40, Resulting Numbers: [30, 40]
Generated Node #0,1,1: 32:[30, 40] Operation: 83-43=40
Exploring Operation: 43-30=13, Resulting Numbers: [83, 13]
Generated Node #0,1,2: 32:[83, 13] Operation: 43-30=13
Exploring Operation: 43+30=73, Resulting Numbers: [83, 73]
Generated Node #0,1,3: 32:[83, 73] Operation: 43+30=73
Exploring Operation: 83-30=53, Resulting Numbers: [43, 53]
Generated Node #0,1,4: 32:[43, 53] Operation: 83-30=53
Moving to Node #0,3
Current State: 32:[84, 30, 42], Operations: ['43-1=42']
Exploring Operation: 84+30=114, Resulting Numbers: [42, 114]
Generated Node #0,3,0: 32:[42, 114] Operation: 84+30=114
Exploring Operation: 84-42=42, Resulting Numbers: [30, 42]
Generated Node #0,3,1: 32:[30, 42] Operation: 84-42=42
Exploring Operation: 84-30=54, Resulting Numbers: [42, 54]
Generated Node #0,3,2: 32:[42, 54] Operation: 84-30=54
Exploring Operation: 42-30=12, Resulting Numbers: [84, 12]
Generated Node #0,3,3: 32:[84, 12] Operation: 42-30=12
Exploring Operation: 84/42=2, Resulting Numbers: [30, 2]
Generated Node #0,3,4: 32:[30, 2] Operation: 84/42=2
Moving to Node #0,3,4
Current State: 32:[30, 2], Operations: ['43-1=42', '84/42=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[1, 84, 43, 30], Operations: []
Exploring Operation: 43-1=42, Resulting Numbers: [84, 30, 42]
Generated Node #0,3: 32:[84, 30, 42] Operation: 43-1=42
Moving to Node #0,3
Current State: 32:[84, 30, 42], Operations: ['43-1=42']
Exploring Operation: 84/42=2, Resulting Numbers: [30, 2]
Generated Node #0,3,4: 32:[30, 2] Operation: 84/42=2
Moving to Node #0,3,4
Current State: 32:[30, 2], Operations: ['43-1=42', '84/42=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.953993 | hs_5 | mult_heuristic |
[
15,
82,
49,
10
] | 38 | [
"15+82=97",
"49+10=59",
"97-59=38"
] | Current State: 38:[15, 82, 49, 10], Operations: []
Exploring Operation: 15+82=97, Resulting Numbers: [49, 10, 97]
Generated Node #2: [49, 10, 97] from Operation: 15+82=97
Current State: 38:[49, 10, 97], Operations: ['15+82=97']
Exploring Operation: 49+10=59, Resulting Numbers: [97, 59]
Generated Node #3: [97, 59] from Operation: 49+10=59
Current State: 38:[97, 59], Operations: ['15+82=97', '49+10=59']
Exploring Operation: 97-59=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[15, 82, 49, 10], Operations: []
Exploring Operation: 82-49=33, Resulting Numbers: [15, 10, 33]
Generated Node #0,0: 38:[15, 10, 33] Operation: 82-49=33
Exploring Operation: 82-15=67, Resulting Numbers: [49, 10, 67]
Generated Node #0,1: 38:[49, 10, 67] Operation: 82-15=67
Moving to Node #0,0
Current State: 38:[15, 10, 33], Operations: ['82-49=33']
Exploring Operation: 33-10=23, Resulting Numbers: [15, 23]
Generated Node #0,0,0: 38:[15, 23] Operation: 33-10=23
Exploring Operation: 15-10=5, Resulting Numbers: [33, 5]
Generated Node #0,0,1: 38:[33, 5] Operation: 15-10=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[15, 23], Operations: ['82-49=33', '33-10=23']
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,38 unequal: No Solution
Exploring Operation: 15+23=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[15, 82, 49, 10], Operations: []
Exploring Operation: 82-49=33, Resulting Numbers: [15, 10, 33]
Generated Node #0,0: 38:[15, 10, 33] Operation: 82-49=33
Moving to Node #0,0
Current State: 38:[15, 10, 33], Operations: ['82-49=33']
Exploring Operation: 33-10=23, Resulting Numbers: [15, 23]
Generated Node #0,0,0: 38:[15, 23] Operation: 33-10=23
Moving to Node #0,0,0
Current State: 38:[15, 23], Operations: ['82-49=33', '33-10=23']
Exploring Operation: 15+23=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
77,
39,
78,
16
] | 22 | [
"77+39=116",
"78+16=94",
"116-94=22"
] | Current State: 22:[77, 39, 78, 16], Operations: []
Exploring Operation: 77+39=116, Resulting Numbers: [78, 16, 116]
Generated Node #2: [78, 16, 116] from Operation: 77+39=116
Current State: 22:[78, 16, 116], Operations: ['77+39=116']
Exploring Operation: 78+16=94, Resulting Numbers: [116, 94]
Generated Node #3: [116, 94] from Operation: 78+16=94
Current State: 22:[116, 94], Operations: ['77+39=116', '78+16=94']
Exploring Operation: 116-94=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[77, 39, 78, 16], Operations: []
Exploring Operation: 78/39=2, Resulting Numbers: [77, 16, 2]
Generated Node #0,0: 22:[77, 16, 2] Operation: 78/39=2
Exploring Operation: 77-39=38, Resulting Numbers: [78, 16, 38]
Generated Node #0,1: 22:[78, 16, 38] Operation: 77-39=38
Exploring Operation: 78-39=39, Resulting Numbers: [77, 16, 39]
Generated Node #0,2: 22:[77, 16, 39] Operation: 78-39=39
Exploring Operation: 78-77=1, Resulting Numbers: [39, 16, 1]
Generated Node #0,3: 22:[39, 16, 1] Operation: 78-77=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 22:[39, 16, 1], Operations: ['78-77=1']
Exploring Operation: 16-1=15, Resulting Numbers: [39, 15]
Generated Node #0,3,0: 22:[39, 15] Operation: 16-1=15
Exploring Operation: 39-1=38, Resulting Numbers: [16, 38]
Generated Node #0,3,1: 22:[16, 38] Operation: 39-1=38
Exploring Operation: 39*1=39, Resulting Numbers: [16, 39]
Generated Node #0,3,2: 22:[16, 39] Operation: 39*1=39
Exploring Operation: 39-16=23, Resulting Numbers: [1, 23]
Generated Node #0,3,3: 22:[1, 23] Operation: 39-16=23
Moving to Node #0,3,3
Current State: 22:[1, 23], Operations: ['78-77=1', '39-16=23']
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 1*23=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[77, 39, 78, 16], Operations: []
Exploring Operation: 78-77=1, Resulting Numbers: [39, 16, 1]
Generated Node #0,3: 22:[39, 16, 1] Operation: 78-77=1
Moving to Node #0,3
Current State: 22:[39, 16, 1], Operations: ['78-77=1']
Exploring Operation: 39-16=23, Resulting Numbers: [1, 23]
Generated Node #0,3,3: 22:[1, 23] Operation: 39-16=23
Moving to Node #0,3,3
Current State: 22:[1, 23], Operations: ['78-77=1', '39-16=23']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
64,
12,
22,
32
] | 62 | [
"64-12=52",
"32-22=10",
"52+10=62"
] | Current State: 62:[64, 12, 22, 32], Operations: []
Exploring Operation: 64-12=52, Resulting Numbers: [22, 32, 52]
Generated Node #2: [22, 32, 52] from Operation: 64-12=52
Current State: 62:[22, 32, 52], Operations: ['64-12=52']
Exploring Operation: 32-22=10, Resulting Numbers: [52, 10]
Generated Node #3: [52, 10] from Operation: 32-22=10
Current State: 62:[52, 10], Operations: ['64-12=52', '32-22=10']
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[64, 12, 22, 32], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [12, 22, 2]
Generated Node #0,0: 62:[12, 22, 2] Operation: 64/32=2
Exploring Operation: 12+22=34, Resulting Numbers: [64, 32, 34]
Generated Node #0,1: 62:[64, 32, 34] Operation: 12+22=34
Exploring Operation: 22-12=10, Resulting Numbers: [64, 32, 10]
Generated Node #0,2: 62:[64, 32, 10] Operation: 22-12=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[64, 32, 34], Operations: ['12+22=34']
Exploring Operation: 64-34=30, Resulting Numbers: [32, 30]
Generated Node #0,1,0: 62:[32, 30] Operation: 64-34=30
Exploring Operation: 34-32=2, Resulting Numbers: [64, 2]
Generated Node #0,1,1: 62:[64, 2] Operation: 34-32=2
Exploring Operation: 64/32=2, Resulting Numbers: [34, 2]
Generated Node #0,1,2: 62:[34, 2] Operation: 64/32=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 62:[32, 30], Operations: ['12+22=34', '64-34=30']
Exploring Operation: 32*30=960, Resulting Numbers: [960]
960,62 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[64, 12, 22, 32], Operations: []
Exploring Operation: 12+22=34, Resulting Numbers: [64, 32, 34]
Generated Node #0,1: 62:[64, 32, 34] Operation: 12+22=34
Moving to Node #0,1
Current State: 62:[64, 32, 34], Operations: ['12+22=34']
Exploring Operation: 64-34=30, Resulting Numbers: [32, 30]
Generated Node #0,1,0: 62:[32, 30] Operation: 64-34=30
Moving to Node #0,1,0
Current State: 62:[32, 30], Operations: ['12+22=34', '64-34=30']
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
3,
18,
51,
72
] | 27 | [
"18/3=6",
"72-51=21",
"6+21=27"
] | Current State: 27:[3, 18, 51, 72], Operations: []
Exploring Operation: 18/3=6, Resulting Numbers: [51, 72, 6]
Generated Node #2: [51, 72, 6] from Operation: 18/3=6
Current State: 27:[51, 72, 6], Operations: ['18/3=6']
Exploring Operation: 72-51=21, Resulting Numbers: [6, 21]
Generated Node #3: [6, 21] from Operation: 72-51=21
Current State: 27:[6, 21], Operations: ['18/3=6', '72-51=21']
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[3, 18, 51, 72], Operations: []
Exploring Operation: 72/18=4, Resulting Numbers: [3, 51, 4]
Generated Node #0,0: 27:[3, 51, 4] Operation: 72/18=4
Exploring Operation: 72/3=24, Resulting Numbers: [18, 51, 24]
Generated Node #0,1: 27:[18, 51, 24] Operation: 72/3=24
Exploring Operation: 72-51=21, Resulting Numbers: [3, 18, 21]
Generated Node #0,2: 27:[3, 18, 21] Operation: 72-51=21
Moving to Node #0,2
Current State: 27:[3, 18, 21], Operations: ['72-51=21']
Exploring Operation: 21/3=7, Resulting Numbers: [18, 7]
Generated Node #0,2,0: 27:[18, 7] Operation: 21/3=7
Exploring Operation: 21-18=3, Resulting Numbers: [3, 3]
Generated Node #0,2,1: 27:[3, 3] Operation: 21-18=3
Exploring Operation: 18/3=6, Resulting Numbers: [21, 6]
Generated Node #0,2,2: 27:[21, 6] Operation: 18/3=6
Moving to Node #0,0
Current State: 27:[3, 51, 4], Operations: ['72/18=4']
Exploring Operation: 51/3=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 27:[4, 17] Operation: 51/3=17
Exploring Operation: 51-3=48, Resulting Numbers: [4, 48]
Generated Node #0,0,1: 27:[4, 48] Operation: 51-3=48
Exploring Operation: 51-4=47, Resulting Numbers: [3, 47]
Generated Node #0,0,2: 27:[3, 47] Operation: 51-4=47
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[4, 17], Operations: ['72/18=4', '51/3=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 27:[3, 47], Operations: ['72/18=4', '51-4=47']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,27 unequal: No Solution
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[4, 48], Operations: ['72/18=4', '51-3=48']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 27:[18, 51, 24], Operations: ['72/3=24']
Exploring Operation: 24-18=6, Resulting Numbers: [51, 6]
Generated Node #0,1,0: 27:[51, 6] Operation: 24-18=6
Exploring Operation: 51-18=33, Resulting Numbers: [24, 33]
Generated Node #0,1,1: 27:[24, 33] Operation: 51-18=33
Exploring Operation: 51-24=27, Resulting Numbers: [18, 27]
Generated Node #0,1,2: 27:[18, 27] Operation: 51-24=27
Moving to Node #0,2,1
Current State: 27:[3, 3], Operations: ['72-51=21', '21-18=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[21, 6], Operations: ['72-51=21', '18/3=6']
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[3, 18, 51, 72], Operations: []
Exploring Operation: 72-51=21, Resulting Numbers: [3, 18, 21]
Generated Node #0,2: 27:[3, 18, 21] Operation: 72-51=21
Moving to Node #0,2
Current State: 27:[3, 18, 21], Operations: ['72-51=21']
Exploring Operation: 18/3=6, Resulting Numbers: [21, 6]
Generated Node #0,2,2: 27:[21, 6] Operation: 18/3=6
Moving to Node #0,2,2
Current State: 27:[21, 6], Operations: ['72-51=21', '18/3=6']
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.974826 | hs_3 | sum_heuristic |
[
79,
3,
29,
27
] | 85 | [
"29-27=2",
"3*2=6",
"79+6=85"
] | Current State: 85:[79, 3, 29, 27], Operations: []
Exploring Operation: 29-27=2, Resulting Numbers: [79, 3, 2]
Generated Node #2: [79, 3, 2] from Operation: 29-27=2
Current State: 85:[79, 3, 2], Operations: ['29-27=2']
Exploring Operation: 3*2=6, Resulting Numbers: [79, 6]
Generated Node #3: [79, 6] from Operation: 3*2=6
Current State: 85:[79, 6], Operations: ['29-27=2', '3*2=6']
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[79, 3, 29, 27], Operations: []
Exploring Operation: 29-27=2, Resulting Numbers: [79, 3, 2]
Generated Node #0,0: 85:[79, 3, 2] Operation: 29-27=2
Moving to Node #0,0
Current State: 85:[79, 3, 2], Operations: ['29-27=2']
Exploring Operation: 79+3=82, Resulting Numbers: [2, 82]
Generated Node #0,0,0: 85:[2, 82] Operation: 79+3=82
Moving to Node #0,0,0
Current State: 85:[2, 82], Operations: ['29-27=2', '79+3=82']
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,85 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
51,
70,
40,
67
] | 57 | [
"70-67=3",
"51/3=17",
"40+17=57"
] | Current State: 57:[51, 70, 40, 67], Operations: []
Exploring Operation: 70-67=3, Resulting Numbers: [51, 40, 3]
Generated Node #2: [51, 40, 3] from Operation: 70-67=3
Current State: 57:[51, 40, 3], Operations: ['70-67=3']
Exploring Operation: 51/3=17, Resulting Numbers: [40, 17]
Generated Node #3: [40, 17] from Operation: 51/3=17
Current State: 57:[40, 17], Operations: ['70-67=3', '51/3=17']
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[51, 70, 40, 67], Operations: []
Exploring Operation: 70-51=19, Resulting Numbers: [40, 67, 19]
Generated Node #0,0: 57:[40, 67, 19] Operation: 70-51=19
Exploring Operation: 70-67=3, Resulting Numbers: [51, 40, 3]
Generated Node #0,1: 57:[51, 40, 3] Operation: 70-67=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[51, 40, 3], Operations: ['70-67=3']
Exploring Operation: 51/3=17, Resulting Numbers: [40, 17]
Generated Node #0,1,0: 57:[40, 17] Operation: 51/3=17
Exploring Operation: 51-40=11, Resulting Numbers: [3, 11]
Generated Node #0,1,1: 57:[3, 11] Operation: 51-40=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[3, 11], Operations: ['70-67=3', '51-40=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[40, 17], Operations: ['70-67=3', '51/3=17']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[51, 70, 40, 67], Operations: []
Exploring Operation: 70-67=3, Resulting Numbers: [51, 40, 3]
Generated Node #0,1: 57:[51, 40, 3] Operation: 70-67=3
Moving to Node #0,1
Current State: 57:[51, 40, 3], Operations: ['70-67=3']
Exploring Operation: 51/3=17, Resulting Numbers: [40, 17]
Generated Node #0,1,0: 57:[40, 17] Operation: 51/3=17
Moving to Node #0,1,0
Current State: 57:[40, 17], Operations: ['70-67=3', '51/3=17']
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
34,
80,
14,
85
] | 81 | [
"34-14=20",
"80/20=4",
"85-4=81"
] | Current State: 81:[34, 80, 14, 85], Operations: []
Exploring Operation: 34-14=20, Resulting Numbers: [80, 85, 20]
Generated Node #2: [80, 85, 20] from Operation: 34-14=20
Current State: 81:[80, 85, 20], Operations: ['34-14=20']
Exploring Operation: 80/20=4, Resulting Numbers: [85, 4]
Generated Node #3: [85, 4] from Operation: 80/20=4
Current State: 81:[85, 4], Operations: ['34-14=20', '80/20=4']
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[34, 80, 14, 85], Operations: []
Exploring Operation: 80+14=94, Resulting Numbers: [34, 85, 94]
Generated Node #0,0: 81:[34, 85, 94] Operation: 80+14=94
Exploring Operation: 85-80=5, Resulting Numbers: [34, 14, 5]
Generated Node #0,1: 81:[34, 14, 5] Operation: 85-80=5
Exploring Operation: 34-14=20, Resulting Numbers: [80, 85, 20]
Generated Node #0,2: 81:[80, 85, 20] Operation: 34-14=20
Exploring Operation: 85-14=71, Resulting Numbers: [34, 80, 71]
Generated Node #0,3: 81:[34, 80, 71] Operation: 85-14=71
Exploring Operation: 34+14=48, Resulting Numbers: [80, 85, 48]
Generated Node #0,4: 81:[80, 85, 48] Operation: 34+14=48
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[80, 85, 20], Operations: ['34-14=20']
Exploring Operation: 85-80=5, Resulting Numbers: [20, 5]
Generated Node #0,2,0: 81:[20, 5] Operation: 85-80=5
Exploring Operation: 80/20=4, Resulting Numbers: [85, 4]
Generated Node #0,2,1: 81:[85, 4] Operation: 80/20=4
Exploring Operation: 80+20=100, Resulting Numbers: [85, 100]
Generated Node #0,2,2: 81:[85, 100] Operation: 80+20=100
Exploring Operation: 85-20=65, Resulting Numbers: [80, 65]
Generated Node #0,2,3: 81:[80, 65] Operation: 85-20=65
Exploring Operation: 80-20=60, Resulting Numbers: [85, 60]
Generated Node #0,2,4: 81:[85, 60] Operation: 80-20=60
Moving to Node #0,2,1
Current State: 81:[85, 4], Operations: ['34-14=20', '80/20=4']
Exploring Operation: 85+4=89, Resulting Numbers: [89]
89,81 unequal: No Solution
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[34, 80, 14, 85], Operations: []
Exploring Operation: 34-14=20, Resulting Numbers: [80, 85, 20]
Generated Node #0,2: 81:[80, 85, 20] Operation: 34-14=20
Moving to Node #0,2
Current State: 81:[80, 85, 20], Operations: ['34-14=20']
Exploring Operation: 80/20=4, Resulting Numbers: [85, 4]
Generated Node #0,2,1: 81:[85, 4] Operation: 80/20=4
Moving to Node #0,2,1
Current State: 81:[85, 4], Operations: ['34-14=20', '80/20=4']
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
9,
79,
61,
20
] | 18 | [
"79-61=18",
"18/9=2",
"20-2=18"
] | Current State: 18:[9, 79, 61, 20], Operations: []
Exploring Operation: 79-61=18, Resulting Numbers: [9, 20, 18]
Generated Node #2: [9, 20, 18] from Operation: 79-61=18
Current State: 18:[9, 20, 18], Operations: ['79-61=18']
Exploring Operation: 18/9=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 18/9=2
Current State: 18:[20, 2], Operations: ['79-61=18', '18/9=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[9, 79, 61, 20], Operations: []
Exploring Operation: 61-20=41, Resulting Numbers: [9, 79, 41]
Generated Node #0,0: 18:[9, 79, 41] Operation: 61-20=41
Exploring Operation: 79-20=59, Resulting Numbers: [9, 61, 59]
Generated Node #0,1: 18:[9, 61, 59] Operation: 79-20=59
Exploring Operation: 79-61=18, Resulting Numbers: [9, 20, 18]
Generated Node #0,2: 18:[9, 20, 18] Operation: 79-61=18
Moving to Node #0,2
Current State: 18:[9, 20, 18], Operations: ['79-61=18']
Exploring Operation: 20-9=11, Resulting Numbers: [18, 11]
Generated Node #0,2,0: 18:[18, 11] Operation: 20-9=11
Exploring Operation: 20-18=2, Resulting Numbers: [9, 2]
Generated Node #0,2,1: 18:[9, 2] Operation: 20-18=2
Exploring Operation: 18-9=9, Resulting Numbers: [20, 9]
Generated Node #0,2,2: 18:[20, 9] Operation: 18-9=9
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 18:[9, 2], Operations: ['79-61=18', '20-18=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[9, 79, 61, 20], Operations: []
Exploring Operation: 79-61=18, Resulting Numbers: [9, 20, 18]
Generated Node #0,2: 18:[9, 20, 18] Operation: 79-61=18
Moving to Node #0,2
Current State: 18:[9, 20, 18], Operations: ['79-61=18']
Exploring Operation: 20-18=2, Resulting Numbers: [9, 2]
Generated Node #0,2,1: 18:[9, 2] Operation: 20-18=2
Moving to Node #0,2,1
Current State: 18:[9, 2], Operations: ['79-61=18', '20-18=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
1,
17,
30,
89
] | 51 | [
"1+89=90",
"17*90=1530",
"1530/30=51"
] | Current State: 51:[1, 17, 30, 89], Operations: []
Exploring Operation: 1+89=90, Resulting Numbers: [17, 30, 90]
Generated Node #2: [17, 30, 90] from Operation: 1+89=90
Current State: 51:[17, 30, 90], Operations: ['1+89=90']
Exploring Operation: 17*90=1530, Resulting Numbers: [30, 1530]
Generated Node #3: [30, 1530] from Operation: 17*90=1530
Current State: 51:[30, 1530], Operations: ['1+89=90', '17*90=1530']
Exploring Operation: 1530/30=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[1, 17, 30, 89], Operations: []
Exploring Operation: 89-17=72, Resulting Numbers: [1, 30, 72]
Generated Node #0,0: 51:[1, 30, 72] Operation: 89-17=72
Exploring Operation: 17+30=47, Resulting Numbers: [1, 89, 47]
Generated Node #0,1: 51:[1, 89, 47] Operation: 17+30=47
Exploring Operation: 89-30=59, Resulting Numbers: [1, 17, 59]
Generated Node #0,2: 51:[1, 17, 59] Operation: 89-30=59
Moving to Node #0,2
Current State: 51:[1, 17, 59], Operations: ['89-30=59']
Exploring Operation: 1*17=17, Resulting Numbers: [59, 17]
Generated Node #0,2,0: 51:[59, 17] Operation: 1*17=17
Exploring Operation: 17/1=17, Resulting Numbers: [59, 17]
Generated Node #0,2,1: 51:[59, 17] Operation: 17/1=17
Exploring Operation: 59-1=58, Resulting Numbers: [17, 58]
Generated Node #0,2,2: 51:[17, 58] Operation: 59-1=58
Moving to Node #0,0
Current State: 51:[1, 30, 72], Operations: ['89-17=72']
Exploring Operation: 30-1=29, Resulting Numbers: [72, 29]
Generated Node #0,0,0: 51:[72, 29] Operation: 30-1=29
Exploring Operation: 72-1=71, Resulting Numbers: [30, 71]
Generated Node #0,0,1: 51:[30, 71] Operation: 72-1=71
Exploring Operation: 72-30=42, Resulting Numbers: [1, 42]
Generated Node #0,0,2: 51:[1, 42] Operation: 72-30=42
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[1, 42], Operations: ['89-17=72', '72-30=42']
Exploring Operation: 1+42=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,51 unequal: No Solution
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[72, 29], Operations: ['89-17=72', '30-1=29']
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 72*29=2088, Resulting Numbers: [2088]
2088,51 unequal: No Solution
Exploring Operation: 72+29=101, Resulting Numbers: [101]
101,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[30, 71], Operations: ['89-17=72', '72-1=71']
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 30*71=2130, Resulting Numbers: [2130]
2130,51 unequal: No Solution
Exploring Operation: 30+71=101, Resulting Numbers: [101]
101,51 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: 51:[1, 89, 47], Operations: ['17+30=47']
Exploring Operation: 89-1=88, Resulting Numbers: [47, 88]
Generated Node #0,1,0: 51:[47, 88] Operation: 89-1=88
Exploring Operation: 89-47=42, Resulting Numbers: [1, 42]
Generated Node #0,1,1: 51:[1, 42] Operation: 89-47=42
Exploring Operation: 1+47=48, Resulting Numbers: [89, 48]
Generated Node #0,1,2: 51:[89, 48] Operation: 1+47=48
Moving to Node #0,2,2
Current State: 51:[17, 58], Operations: ['89-30=59', '59-1=58']
Exploring Operation: 17+58=75, Resulting Numbers: [75]
75,51 unequal: No Solution
Exploring Operation: 17*58=986, Resulting Numbers: [986]
986,51 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[59, 17], Operations: ['89-30=59', '17/1=17']
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,51 unequal: No Solution
Exploring Operation: 59*17=1003, Resulting Numbers: [1003]
1003,51 unequal: No Solution
Exploring Operation: 59+17=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[59, 17], Operations: ['89-30=59', '1*17=17']
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,51 unequal: No Solution
Exploring Operation: 59+17=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Exploring Operation: 59*17=1003, Resulting Numbers: [1003]
1003,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[1, 42], Operations: ['17+30=47', '89-47=42']
Exploring Operation: 1+42=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,51 unequal: No Solution
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[47, 88], Operations: ['17+30=47', '89-1=88']
Exploring Operation: 47+88=135, Resulting Numbers: [135]
135,51 unequal: No Solution
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 47*88=4136, Resulting Numbers: [4136]
4136,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[89, 48], Operations: ['17+30=47', '1+47=48']
Exploring Operation: 89+48=137, Resulting Numbers: [137]
137,51 unequal: No Solution
Exploring Operation: 89-48=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 89*48=4272, Resulting Numbers: [4272]
4272,51 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
49,
18,
47,
94
] | 85 | [
"49-47=2",
"18/2=9",
"94-9=85"
] | Current State: 85:[49, 18, 47, 94], Operations: []
Exploring Operation: 49-47=2, Resulting Numbers: [18, 94, 2]
Generated Node #2: [18, 94, 2] from Operation: 49-47=2
Current State: 85:[18, 94, 2], Operations: ['49-47=2']
Exploring Operation: 18/2=9, Resulting Numbers: [94, 9]
Generated Node #3: [94, 9] from Operation: 18/2=9
Current State: 85:[94, 9], Operations: ['49-47=2', '18/2=9']
Exploring Operation: 94-9=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[49, 18, 47, 94], Operations: []
Exploring Operation: 49+47=96, Resulting Numbers: [18, 94, 96]
Generated Node #0,0: 85:[18, 94, 96] Operation: 49+47=96
Exploring Operation: 49-47=2, Resulting Numbers: [18, 94, 2]
Generated Node #0,1: 85:[18, 94, 2] Operation: 49-47=2
Exploring Operation: 94/47=2, Resulting Numbers: [49, 18, 2]
Generated Node #0,2: 85:[49, 18, 2] Operation: 94/47=2
Moving to Node #0,1
Current State: 85:[18, 94, 2], Operations: ['49-47=2']
Exploring Operation: 18-2=16, Resulting Numbers: [94, 16]
Generated Node #0,1,0: 85:[94, 16] Operation: 18-2=16
Exploring Operation: 94-2=92, Resulting Numbers: [18, 92]
Generated Node #0,1,1: 85:[18, 92] Operation: 94-2=92
Exploring Operation: 94-18=76, Resulting Numbers: [2, 76]
Generated Node #0,1,2: 85:[2, 76] Operation: 94-18=76
Moving to Node #0,0
Current State: 85:[18, 94, 96], Operations: ['49+47=96']
Exploring Operation: 96-18=78, Resulting Numbers: [94, 78]
Generated Node #0,0,0: 85:[94, 78] Operation: 96-18=78
Exploring Operation: 96-94=2, Resulting Numbers: [18, 2]
Generated Node #0,0,1: 85:[18, 2] Operation: 96-94=2
Exploring Operation: 94-18=76, Resulting Numbers: [96, 76]
Generated Node #0,0,2: 85:[96, 76] Operation: 94-18=76
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[18, 2], Operations: ['49+47=96', '96-94=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[94, 78], Operations: ['49+47=96', '96-18=78']
Exploring Operation: 94+78=172, Resulting Numbers: [172]
172,85 unequal: No Solution
Exploring Operation: 94*78=7332, Resulting Numbers: [7332]
7332,85 unequal: No Solution
Exploring Operation: 94-78=16, Resulting Numbers: [16]
16,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 85:[96, 76], Operations: ['49+47=96', '94-18=76']
Exploring Operation: 96*76=7296, Resulting Numbers: [7296]
7296,85 unequal: No Solution
Exploring Operation: 96-76=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 96+76=172, Resulting Numbers: [172]
172,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 85:[49, 18, 2], Operations: ['94/47=2']
Exploring Operation: 49*2=98, Resulting Numbers: [18, 98]
Generated Node #0,2,0: 85:[18, 98] Operation: 49*2=98
Exploring Operation: 49+18=67, Resulting Numbers: [2, 67]
Generated Node #0,2,1: 85:[2, 67] Operation: 49+18=67
Exploring Operation: 49-18=31, Resulting Numbers: [2, 31]
Generated Node #0,2,2: 85:[2, 31] Operation: 49-18=31
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[18, 98], Operations: ['94/47=2', '49*2=98']
Exploring Operation: 98-18=80, Resulting Numbers: [80]
80,85 unequal: No Solution
Exploring Operation: 18*98=1764, Resulting Numbers: [1764]
1764,85 unequal: No Solution
Exploring Operation: 18+98=116, Resulting Numbers: [116]
116,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 85:[2, 31], Operations: ['94/47=2', '49-18=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[2, 67], Operations: ['94/47=2', '49+18=67']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,85 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 85:[18, 92], Operations: ['49-47=2', '94-2=92']
Exploring Operation: 18*92=1656, Resulting Numbers: [1656]
1656,85 unequal: No Solution
Exploring Operation: 18+92=110, Resulting Numbers: [110]
110,85 unequal: No Solution
Exploring Operation: 92-18=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[94, 16], Operations: ['49-47=2', '18-2=16']
Exploring Operation: 94-16=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 94+16=110, Resulting Numbers: [110]
110,85 unequal: No Solution
Exploring Operation: 94*16=1504, Resulting Numbers: [1504]
1504,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[2, 76], Operations: ['49-47=2', '94-18=76']
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,85 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
19,
76,
3,
84
] | 85 | [
"76-19=57",
"84/3=28",
"57+28=85"
] | Current State: 85:[19, 76, 3, 84], Operations: []
Exploring Operation: 76-19=57, Resulting Numbers: [3, 84, 57]
Generated Node #2: [3, 84, 57] from Operation: 76-19=57
Current State: 85:[3, 84, 57], Operations: ['76-19=57']
Exploring Operation: 84/3=28, Resulting Numbers: [57, 28]
Generated Node #3: [57, 28] from Operation: 84/3=28
Current State: 85:[57, 28], Operations: ['76-19=57', '84/3=28']
Exploring Operation: 57+28=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[19, 76, 3, 84], Operations: []
Exploring Operation: 19+76=95, Resulting Numbers: [3, 84, 95]
Generated Node #0,0: 85:[3, 84, 95] Operation: 19+76=95
Exploring Operation: 84-76=8, Resulting Numbers: [19, 3, 8]
Generated Node #0,1: 85:[19, 3, 8] Operation: 84-76=8
Exploring Operation: 76+3=79, Resulting Numbers: [19, 84, 79]
Generated Node #0,2: 85:[19, 84, 79] Operation: 76+3=79
Exploring Operation: 76/19=4, Resulting Numbers: [3, 84, 4]
Generated Node #0,3: 85:[3, 84, 4] Operation: 76/19=4
Exploring Operation: 19-3=16, Resulting Numbers: [76, 84, 16]
Generated Node #0,4: 85:[76, 84, 16] Operation: 19-3=16
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[3, 84, 4], Operations: ['76/19=4']
Exploring Operation: 84+4=88, Resulting Numbers: [3, 88]
Generated Node #0,3,0: 85:[3, 88] Operation: 84+4=88
Exploring Operation: 3+84=87, Resulting Numbers: [4, 87]
Generated Node #0,3,1: 85:[4, 87] Operation: 3+84=87
Exploring Operation: 4-3=1, Resulting Numbers: [84, 1]
Generated Node #0,3,2: 85:[84, 1] Operation: 4-3=1
Exploring Operation: 84-3=81, Resulting Numbers: [4, 81]
Generated Node #0,3,3: 85:[4, 81] Operation: 84-3=81
Exploring Operation: 3+4=7, Resulting Numbers: [84, 7]
Generated Node #0,3,4: 85:[84, 7] Operation: 3+4=7
Moving to Node #0,3,1
Current State: 85:[4, 87], Operations: ['76/19=4', '3+84=87']
Exploring Operation: 4*87=348, Resulting Numbers: [348]
348,85 unequal: No Solution
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,85 unequal: No Solution
Exploring Operation: 4+87=91, Resulting Numbers: [91]
91,85 unequal: No Solution
Moving to Node #0,3,4
Current State: 85:[84, 7], Operations: ['76/19=4', '3+4=7']
Exploring Operation: 84*7=588, Resulting Numbers: [588]
588,85 unequal: No Solution
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,85 unequal: No Solution
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Moving to Node #0,3,0
Current State: 85:[3, 88], Operations: ['76/19=4', '84+4=88']
Exploring Operation: 3+88=91, Resulting Numbers: [91]
91,85 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[19, 76, 3, 84], Operations: []
Exploring Operation: 76/19=4, Resulting Numbers: [3, 84, 4]
Generated Node #0,3: 85:[3, 84, 4] Operation: 76/19=4
Moving to Node #0,3
Current State: 85:[3, 84, 4], Operations: ['76/19=4']
Exploring Operation: 84+4=88, Resulting Numbers: [3, 88]
Generated Node #0,3,0: 85:[3, 88] Operation: 84+4=88
Moving to Node #0,3,0
Current State: 85:[3, 88], Operations: ['76/19=4', '84+4=88']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
55,
22,
78,
20
] | 19 | [
"55+22=77",
"78-20=58",
"77-58=19"
] | Current State: 19:[55, 22, 78, 20], Operations: []
Exploring Operation: 55+22=77, Resulting Numbers: [78, 20, 77]
Generated Node #2: [78, 20, 77] from Operation: 55+22=77
Current State: 19:[78, 20, 77], Operations: ['55+22=77']
Exploring Operation: 78-20=58, Resulting Numbers: [77, 58]
Generated Node #3: [77, 58] from Operation: 78-20=58
Current State: 19:[77, 58], Operations: ['55+22=77', '78-20=58']
Exploring Operation: 77-58=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[55, 22, 78, 20], Operations: []
Exploring Operation: 55-22=33, Resulting Numbers: [78, 20, 33]
Generated Node #0,0: 19:[78, 20, 33] Operation: 55-22=33
Exploring Operation: 78-55=23, Resulting Numbers: [22, 20, 23]
Generated Node #0,1: 19:[22, 20, 23] Operation: 78-55=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[22, 20, 23], Operations: ['78-55=23']
Exploring Operation: 23-22=1, Resulting Numbers: [20, 1]
Generated Node #0,1,0: 19:[20, 1] Operation: 23-22=1
Exploring Operation: 23-20=3, Resulting Numbers: [22, 3]
Generated Node #0,1,1: 19:[22, 3] Operation: 23-20=3
Moving to Node #0,1,0
Current State: 19:[20, 1], Operations: ['78-55=23', '23-22=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[55, 22, 78, 20], Operations: []
Exploring Operation: 78-55=23, Resulting Numbers: [22, 20, 23]
Generated Node #0,1: 19:[22, 20, 23] Operation: 78-55=23
Moving to Node #0,1
Current State: 19:[22, 20, 23], Operations: ['78-55=23']
Exploring Operation: 23-22=1, Resulting Numbers: [20, 1]
Generated Node #0,1,0: 19:[20, 1] Operation: 23-22=1
Moving to Node #0,1,0
Current State: 19:[20, 1], Operations: ['78-55=23', '23-22=1']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
81,
19,
15,
5
] | 19 | [
"81-5=76",
"19-15=4",
"76/4=19"
] | Current State: 19:[81, 19, 15, 5], Operations: []
Exploring Operation: 81-5=76, Resulting Numbers: [19, 15, 76]
Generated Node #2: [19, 15, 76] from Operation: 81-5=76
Current State: 19:[19, 15, 76], Operations: ['81-5=76']
Exploring Operation: 19-15=4, Resulting Numbers: [76, 4]
Generated Node #3: [76, 4] from Operation: 19-15=4
Current State: 19:[76, 4], Operations: ['81-5=76', '19-15=4']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[81, 19, 15, 5], Operations: []
Exploring Operation: 81-5=76, Resulting Numbers: [19, 15, 76]
Generated Node #0,0: 19:[19, 15, 76] Operation: 81-5=76
Exploring Operation: 81-19=62, Resulting Numbers: [15, 5, 62]
Generated Node #0,1: 19:[15, 5, 62] Operation: 81-19=62
Exploring Operation: 81-15=66, Resulting Numbers: [19, 5, 66]
Generated Node #0,2: 19:[19, 5, 66] Operation: 81-15=66
Exploring Operation: 15+5=20, Resulting Numbers: [81, 19, 20]
Generated Node #0,3: 19:[81, 19, 20] Operation: 15+5=20
Moving to Node #0,0
Current State: 19:[19, 15, 76], Operations: ['81-5=76']
Exploring Operation: 76-15=61, Resulting Numbers: [19, 61]
Generated Node #0,0,0: 19:[19, 61] Operation: 76-15=61
Exploring Operation: 76-19=57, Resulting Numbers: [15, 57]
Generated Node #0,0,1: 19:[15, 57] Operation: 76-19=57
Exploring Operation: 76/19=4, Resulting Numbers: [15, 4]
Generated Node #0,0,2: 19:[15, 4] Operation: 76/19=4
Exploring Operation: 19+15=34, Resulting Numbers: [76, 34]
Generated Node #0,0,3: 19:[76, 34] Operation: 19+15=34
Moving to Node #0,2
Current State: 19:[19, 5, 66], Operations: ['81-15=66']
Exploring Operation: 19+5=24, Resulting Numbers: [66, 24]
Generated Node #0,2,0: 19:[66, 24] Operation: 19+5=24
Exploring Operation: 19-5=14, Resulting Numbers: [66, 14]
Generated Node #0,2,1: 19:[66, 14] Operation: 19-5=14
Exploring Operation: 66-5=61, Resulting Numbers: [19, 61]
Generated Node #0,2,2: 19:[19, 61] Operation: 66-5=61
Exploring Operation: 66-19=47, Resulting Numbers: [5, 47]
Generated Node #0,2,3: 19:[5, 47] Operation: 66-19=47
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 19:[19, 61], Operations: ['81-15=66', '66-5=61']
Exploring Operation: 19+61=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 19*61=1159, Resulting Numbers: [1159]
1159,19 unequal: No Solution
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 19:[5, 47], Operations: ['81-15=66', '66-19=47']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 19:[66, 24], Operations: ['81-15=66', '19+5=24']
Exploring Operation: 66+24=90, Resulting Numbers: [90]
90,19 unequal: No Solution
Exploring Operation: 66*24=1584, Resulting Numbers: [1584]
1584,19 unequal: No Solution
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[66, 14], Operations: ['81-15=66', '19-5=14']
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 66*14=924, Resulting Numbers: [924]
924,19 unequal: No Solution
Exploring Operation: 66+14=80, Resulting Numbers: [80]
80,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 19:[15, 5, 62], Operations: ['81-19=62']
Exploring Operation: 15-5=10, Resulting Numbers: [62, 10]
Generated Node #0,1,0: 19:[62, 10] Operation: 15-5=10
Exploring Operation: 15+5=20, Resulting Numbers: [62, 20]
Generated Node #0,1,1: 19:[62, 20] Operation: 15+5=20
Exploring Operation: 62-5=57, Resulting Numbers: [15, 57]
Generated Node #0,1,2: 19:[15, 57] Operation: 62-5=57
Exploring Operation: 62-15=47, Resulting Numbers: [5, 47]
Generated Node #0,1,3: 19:[5, 47] Operation: 62-15=47
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 19:[15, 57], Operations: ['81-19=62', '62-5=57']
Exploring Operation: 15+57=72, Resulting Numbers: [72]
72,19 unequal: No Solution
Exploring Operation: 15*57=855, Resulting Numbers: [855]
855,19 unequal: No Solution
Exploring Operation: 57-15=42, Resulting Numbers: [42]
42,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 19:[5, 47], Operations: ['81-19=62', '62-15=47']
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,19 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[62, 20], Operations: ['81-19=62', '15+5=20']
Exploring Operation: 62*20=1240, Resulting Numbers: [1240]
1240,19 unequal: No Solution
Exploring Operation: 62+20=82, Resulting Numbers: [82]
82,19 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[62, 10], Operations: ['81-19=62', '15-5=10']
Exploring Operation: 62*10=620, Resulting Numbers: [620]
620,19 unequal: No Solution
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 62+10=72, Resulting Numbers: [72]
72,19 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: 19:[81, 19, 20], Operations: ['15+5=20']
Exploring Operation: 81-20=61, Resulting Numbers: [19, 61]
Generated Node #0,3,0: 19:[19, 61] Operation: 81-20=61
Exploring Operation: 81+19=100, Resulting Numbers: [20, 100]
Generated Node #0,3,1: 19:[20, 100] Operation: 81+19=100
Exploring Operation: 20-19=1, Resulting Numbers: [81, 1]
Generated Node #0,3,2: 19:[81, 1] Operation: 20-19=1
Exploring Operation: 81-19=62, Resulting Numbers: [20, 62]
Generated Node #0,3,3: 19:[20, 62] Operation: 81-19=62
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 19:[19, 61], Operations: ['15+5=20', '81-20=61']
Exploring Operation: 19*61=1159, Resulting Numbers: [1159]
1159,19 unequal: No Solution
Exploring Operation: 19+61=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 19:[20, 62], Operations: ['15+5=20', '81-19=62']
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 20+62=82, Resulting Numbers: [82]
82,19 unequal: No Solution
Exploring Operation: 20*62=1240, Resulting Numbers: [1240]
1240,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 19:[81, 1], Operations: ['15+5=20', '20-19=1']
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,19 unequal: No Solution
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,19 unequal: No Solution
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 19:[20, 100], Operations: ['15+5=20', '81+19=100']
Exploring Operation: 100-20=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 20+100=120, Resulting Numbers: [120]
120,19 unequal: No Solution
Exploring Operation: 20*100=2000, Resulting Numbers: [2000]
2000,19 unequal: No Solution
Exploring Operation: 100/20=5, Resulting Numbers: [5]
5,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 19:[15, 4], Operations: ['81-5=76', '76/19=4']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[81, 19, 15, 5], Operations: []
Exploring Operation: 81-5=76, Resulting Numbers: [19, 15, 76]
Generated Node #0,0: 19:[19, 15, 76] Operation: 81-5=76
Moving to Node #0,0
Current State: 19:[19, 15, 76], Operations: ['81-5=76']
Exploring Operation: 76/19=4, Resulting Numbers: [15, 4]
Generated Node #0,0,2: 19:[15, 4] Operation: 76/19=4
Moving to Node #0,0,2
Current State: 19:[15, 4], Operations: ['81-5=76', '76/19=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 0.943576 | hs_4 | mult_heuristic |
[
20,
83,
11,
30
] | 22 | [
"83-20=63",
"11+30=41",
"63-41=22"
] | Current State: 22:[20, 83, 11, 30], Operations: []
Exploring Operation: 83-20=63, Resulting Numbers: [11, 30, 63]
Generated Node #2: [11, 30, 63] from Operation: 83-20=63
Current State: 22:[11, 30, 63], Operations: ['83-20=63']
Exploring Operation: 11+30=41, Resulting Numbers: [63, 41]
Generated Node #3: [63, 41] from Operation: 11+30=41
Current State: 22:[63, 41], Operations: ['83-20=63', '11+30=41']
Exploring Operation: 63-41=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[20, 83, 11, 30], Operations: []
Exploring Operation: 83-20=63, Resulting Numbers: [11, 30, 63]
Generated Node #0,0: 22:[11, 30, 63] Operation: 83-20=63
Exploring Operation: 83-30=53, Resulting Numbers: [20, 11, 53]
Generated Node #0,1: 22:[20, 11, 53] Operation: 83-30=53
Exploring Operation: 83-11=72, Resulting Numbers: [20, 30, 72]
Generated Node #0,2: 22:[20, 30, 72] Operation: 83-11=72
Moving to Node #0,1
Current State: 22:[20, 11, 53], Operations: ['83-30=53']
Exploring Operation: 20-11=9, Resulting Numbers: [53, 9]
Generated Node #0,1,0: 22:[53, 9] Operation: 20-11=9
Exploring Operation: 53-11=42, Resulting Numbers: [20, 42]
Generated Node #0,1,1: 22:[20, 42] Operation: 53-11=42
Exploring Operation: 53-20=33, Resulting Numbers: [11, 33]
Generated Node #0,1,2: 22:[11, 33] Operation: 53-20=33
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 22:[11, 33], Operations: ['83-30=53', '53-20=33']
Exploring Operation: 11+33=44, Resulting Numbers: [44]
44,22 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[20, 83, 11, 30], Operations: []
Exploring Operation: 83-30=53, Resulting Numbers: [20, 11, 53]
Generated Node #0,1: 22:[20, 11, 53] Operation: 83-30=53
Moving to Node #0,1
Current State: 22:[20, 11, 53], Operations: ['83-30=53']
Exploring Operation: 53-20=33, Resulting Numbers: [11, 33]
Generated Node #0,1,2: 22:[11, 33] Operation: 53-20=33
Moving to Node #0,1,2
Current State: 22:[11, 33], Operations: ['83-30=53', '53-20=33']
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
80,
93,
25,
22
] | 49 | [
"25-22=3",
"93/3=31",
"80-31=49"
] | Current State: 49:[80, 93, 25, 22], Operations: []
Exploring Operation: 25-22=3, Resulting Numbers: [80, 93, 3]
Generated Node #2: [80, 93, 3] from Operation: 25-22=3
Current State: 49:[80, 93, 3], Operations: ['25-22=3']
Exploring Operation: 93/3=31, Resulting Numbers: [80, 31]
Generated Node #3: [80, 31] from Operation: 93/3=31
Current State: 49:[80, 31], Operations: ['25-22=3', '93/3=31']
Exploring Operation: 80-31=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[80, 93, 25, 22], Operations: []
Exploring Operation: 93-80=13, Resulting Numbers: [25, 22, 13]
Generated Node #0,0: 49:[25, 22, 13] Operation: 93-80=13
Moving to Node #0,0
Current State: 49:[25, 22, 13], Operations: ['93-80=13']
Exploring Operation: 25+22=47, Resulting Numbers: [13, 47]
Generated Node #0,0,0: 49:[13, 47] Operation: 25+22=47
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[13, 47], Operations: ['93-80=13', '25+22=47']
Exploring Operation: 13+47=60, Resulting Numbers: [60]
60,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
67,
36,
87,
3
] | 46 | [
"67+87=154",
"36*3=108",
"154-108=46"
] | Current State: 46:[67, 36, 87, 3], Operations: []
Exploring Operation: 67+87=154, Resulting Numbers: [36, 3, 154]
Generated Node #2: [36, 3, 154] from Operation: 67+87=154
Current State: 46:[36, 3, 154], Operations: ['67+87=154']
Exploring Operation: 36*3=108, Resulting Numbers: [154, 108]
Generated Node #3: [154, 108] from Operation: 36*3=108
Current State: 46:[154, 108], Operations: ['67+87=154', '36*3=108']
Exploring Operation: 154-108=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[67, 36, 87, 3], Operations: []
Exploring Operation: 87-67=20, Resulting Numbers: [36, 3, 20]
Generated Node #0,0: 46:[36, 3, 20] Operation: 87-67=20
Moving to Node #0,0
Current State: 46:[36, 3, 20], Operations: ['87-67=20']
Exploring Operation: 36-20=16, Resulting Numbers: [3, 16]
Generated Node #0,0,0: 46:[3, 16] Operation: 36-20=16
Moving to Node #0,0,0
Current State: 46:[3, 16], Operations: ['87-67=20', '36-20=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,46 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
80,
39,
25,
4
] | 84 | [
"80/4=20",
"39+25=64",
"20+64=84"
] | Current State: 84:[80, 39, 25, 4], Operations: []
Exploring Operation: 80/4=20, Resulting Numbers: [39, 25, 20]
Generated Node #2: [39, 25, 20] from Operation: 80/4=20
Current State: 84:[39, 25, 20], Operations: ['80/4=20']
Exploring Operation: 39+25=64, Resulting Numbers: [20, 64]
Generated Node #3: [20, 64] from Operation: 39+25=64
Current State: 84:[20, 64], Operations: ['80/4=20', '39+25=64']
Exploring Operation: 20+64=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[80, 39, 25, 4], Operations: []
Exploring Operation: 80/4=20, Resulting Numbers: [39, 25, 20]
Generated Node #0,0: 84:[39, 25, 20] Operation: 80/4=20
Exploring Operation: 39-25=14, Resulting Numbers: [80, 4, 14]
Generated Node #0,1: 84:[80, 4, 14] Operation: 39-25=14
Exploring Operation: 80-39=41, Resulting Numbers: [25, 4, 41]
Generated Node #0,2: 84:[25, 4, 41] Operation: 80-39=41
Exploring Operation: 80+4=84, Resulting Numbers: [39, 25, 84]
Generated Node #0,3: 84:[39, 25, 84] Operation: 80+4=84
Moving to Node #0,1
Current State: 84:[80, 4, 14], Operations: ['39-25=14']
Exploring Operation: 80/4=20, Resulting Numbers: [14, 20]
Generated Node #0,1,0: 84:[14, 20] Operation: 80/4=20
Exploring Operation: 14-4=10, Resulting Numbers: [80, 10]
Generated Node #0,1,1: 84:[80, 10] Operation: 14-4=10
Exploring Operation: 4+14=18, Resulting Numbers: [80, 18]
Generated Node #0,1,2: 84:[80, 18] Operation: 4+14=18
Exploring Operation: 80+4=84, Resulting Numbers: [14, 84]
Generated Node #0,1,3: 84:[14, 84] Operation: 80+4=84
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 84:[14, 84], Operations: ['39-25=14', '80+4=84']
Exploring Operation: 84/14=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 14*84=1176, Resulting Numbers: [1176]
1176,84 unequal: No Solution
Exploring Operation: 14+84=98, Resulting Numbers: [98]
98,84 unequal: No Solution
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[14, 20], Operations: ['39-25=14', '80/4=20']
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,84 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 14*20=280, Resulting Numbers: [280]
280,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[80, 10], Operations: ['39-25=14', '14-4=10']
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,84 unequal: No Solution
Exploring Operation: 80+10=90, Resulting Numbers: [90]
90,84 unequal: No Solution
Exploring Operation: 80*10=800, Resulting Numbers: [800]
800,84 unequal: No Solution
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 84:[80, 18], Operations: ['39-25=14', '4+14=18']
Exploring Operation: 80+18=98, Resulting Numbers: [98]
98,84 unequal: No Solution
Exploring Operation: 80*18=1440, Resulting Numbers: [1440]
1440,84 unequal: No Solution
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,84 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: 84:[25, 4, 41], Operations: ['80-39=41']
Exploring Operation: 4+41=45, Resulting Numbers: [25, 45]
Generated Node #0,2,0: 84:[25, 45] Operation: 4+41=45
Exploring Operation: 25+4=29, Resulting Numbers: [41, 29]
Generated Node #0,2,1: 84:[41, 29] Operation: 25+4=29
Exploring Operation: 41-25=16, Resulting Numbers: [4, 16]
Generated Node #0,2,2: 84:[4, 16] Operation: 41-25=16
Exploring Operation: 25-4=21, Resulting Numbers: [41, 21]
Generated Node #0,2,3: 84:[41, 21] Operation: 25-4=21
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 84:[41, 21], Operations: ['80-39=41', '25-4=21']
Exploring Operation: 41+21=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 41*21=861, Resulting Numbers: [861]
861,84 unequal: No Solution
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 84:[41, 29], Operations: ['80-39=41', '25+4=29']
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 41+29=70, Resulting Numbers: [70]
70,84 unequal: No Solution
Exploring Operation: 41*29=1189, Resulting Numbers: [1189]
1189,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 84:[4, 16], Operations: ['80-39=41', '41-25=16']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 84:[25, 45], Operations: ['80-39=41', '4+41=45']
Exploring Operation: 25+45=70, Resulting Numbers: [70]
70,84 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 25*45=1125, Resulting Numbers: [1125]
1125,84 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: 84:[39, 25, 84], Operations: ['80+4=84']
Exploring Operation: 39-25=14, Resulting Numbers: [84, 14]
Generated Node #0,3,0: 84:[84, 14] Operation: 39-25=14
Exploring Operation: 84-25=59, Resulting Numbers: [39, 59]
Generated Node #0,3,1: 84:[39, 59] Operation: 84-25=59
Exploring Operation: 39+25=64, Resulting Numbers: [84, 64]
Generated Node #0,3,2: 84:[84, 64] Operation: 39+25=64
Exploring Operation: 84-39=45, Resulting Numbers: [25, 45]
Generated Node #0,3,3: 84:[25, 45] Operation: 84-39=45
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 84:[84, 14], Operations: ['80+4=84', '39-25=14']
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,84 unequal: No Solution
Exploring Operation: 84*14=1176, Resulting Numbers: [1176]
1176,84 unequal: No Solution
Exploring Operation: 84/14=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 84+14=98, Resulting Numbers: [98]
98,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 84:[25, 45], Operations: ['80+4=84', '84-39=45']
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 25+45=70, Resulting Numbers: [70]
70,84 unequal: No Solution
Exploring Operation: 25*45=1125, Resulting Numbers: [1125]
1125,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 84:[39, 59], Operations: ['80+4=84', '84-25=59']
Exploring Operation: 39+59=98, Resulting Numbers: [98]
98,84 unequal: No Solution
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 39*59=2301, Resulting Numbers: [2301]
2301,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 84:[84, 64], Operations: ['80+4=84', '39+25=64']
Exploring Operation: 84+64=148, Resulting Numbers: [148]
148,84 unequal: No Solution
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 84*64=5376, Resulting Numbers: [5376]
5376,84 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: 84:[39, 25, 20], Operations: ['80/4=20']
Exploring Operation: 25-20=5, Resulting Numbers: [39, 5]
Generated Node #0,0,0: 84:[39, 5] Operation: 25-20=5
Exploring Operation: 39-20=19, Resulting Numbers: [25, 19]
Generated Node #0,0,1: 84:[25, 19] Operation: 39-20=19
Exploring Operation: 39-25=14, Resulting Numbers: [20, 14]
Generated Node #0,0,2: 84:[20, 14] Operation: 39-25=14
Exploring Operation: 25+20=45, Resulting Numbers: [39, 45]
Generated Node #0,0,3: 84:[39, 45] Operation: 25+20=45
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 84:[20, 14], Operations: ['80/4=20', '39-25=14']
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,84 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[39, 5], Operations: ['80/4=20', '25-20=5']
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,84 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[25, 19], Operations: ['80/4=20', '39-20=19']
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,84 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 84:[39, 45], Operations: ['80/4=20', '25+20=45']
Exploring Operation: 39*45=1755, Resulting Numbers: [1755]
1755,84 unequal: No Solution
Exploring Operation: 39+45=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[80, 39, 25, 4], Operations: []
Exploring Operation: 80/4=20, Resulting Numbers: [39, 25, 20]
Generated Node #0,0: 84:[39, 25, 20] Operation: 80/4=20
Moving to Node #0,0
Current State: 84:[39, 25, 20], Operations: ['80/4=20']
Exploring Operation: 25+20=45, Resulting Numbers: [39, 45]
Generated Node #0,0,3: 84:[39, 45] Operation: 25+20=45
Moving to Node #0,0,3
Current State: 84:[39, 45], Operations: ['80/4=20', '25+20=45']
Exploring Operation: 39+45=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.934896 | hs_4 | sum_heuristic |
[
12,
44,
14,
3
] | 50 | [
"14-12=2",
"3*2=6",
"44+6=50"
] | Current State: 50:[12, 44, 14, 3], Operations: []
Exploring Operation: 14-12=2, Resulting Numbers: [44, 3, 2]
Generated Node #2: [44, 3, 2] from Operation: 14-12=2
Current State: 50:[44, 3, 2], Operations: ['14-12=2']
Exploring Operation: 3*2=6, Resulting Numbers: [44, 6]
Generated Node #3: [44, 6] from Operation: 3*2=6
Current State: 50:[44, 6], Operations: ['14-12=2', '3*2=6']
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[12, 44, 14, 3], Operations: []
Exploring Operation: 12+14=26, Resulting Numbers: [44, 3, 26]
Generated Node #0,0: 50:[44, 3, 26] Operation: 12+14=26
Exploring Operation: 44-14=30, Resulting Numbers: [12, 3, 30]
Generated Node #0,1: 50:[12, 3, 30] Operation: 44-14=30
Exploring Operation: 14-12=2, Resulting Numbers: [44, 3, 2]
Generated Node #0,2: 50:[44, 3, 2] Operation: 14-12=2
Exploring Operation: 44+3=47, Resulting Numbers: [12, 14, 47]
Generated Node #0,3: 50:[12, 14, 47] Operation: 44+3=47
Exploring Operation: 14-3=11, Resulting Numbers: [12, 44, 11]
Generated Node #0,4: 50:[12, 44, 11] Operation: 14-3=11
Moving to Node #0,2
Current State: 50:[44, 3, 2], Operations: ['14-12=2']
Exploring Operation: 44/2=22, Resulting Numbers: [3, 22]
Generated Node #0,2,0: 50:[3, 22] Operation: 44/2=22
Exploring Operation: 44+2=46, Resulting Numbers: [3, 46]
Generated Node #0,2,1: 50:[3, 46] Operation: 44+2=46
Exploring Operation: 44+3=47, Resulting Numbers: [2, 47]
Generated Node #0,2,2: 50:[2, 47] Operation: 44+3=47
Exploring Operation: 3+2=5, Resulting Numbers: [44, 5]
Generated Node #0,2,3: 50:[44, 5] Operation: 3+2=5
Exploring Operation: 3*2=6, Resulting Numbers: [44, 6]
Generated Node #0,2,4: 50:[44, 6] Operation: 3*2=6
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 50:[2, 47], Operations: ['14-12=2', '44+3=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,50 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,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,0
Current State: 50:[3, 22], Operations: ['14-12=2', '44/2=22']
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,50 unequal: No Solution
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,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,1
Current State: 50:[3, 46], Operations: ['14-12=2', '44+2=46']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,50 unequal: No Solution
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,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,3
Current State: 50:[44, 5], Operations: ['14-12=2', '3+2=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,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,4
Current State: 50:[44, 6], Operations: ['14-12=2', '3*2=6']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,50 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,50 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[12, 44, 14, 3], Operations: []
Exploring Operation: 14-12=2, Resulting Numbers: [44, 3, 2]
Generated Node #0,2: 50:[44, 3, 2] Operation: 14-12=2
Moving to Node #0,2
Current State: 50:[44, 3, 2], Operations: ['14-12=2']
Exploring Operation: 3*2=6, Resulting Numbers: [44, 6]
Generated Node #0,2,4: 50:[44, 6] Operation: 3*2=6
Moving to Node #0,2,4
Current State: 50:[44, 6], Operations: ['14-12=2', '3*2=6']
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_5 | sum_heuristic |
[
95,
69,
99,
97
] | 24 | [
"95-69=26",
"99-97=2",
"26-2=24"
] | Current State: 24:[95, 69, 99, 97], Operations: []
Exploring Operation: 95-69=26, Resulting Numbers: [99, 97, 26]
Generated Node #2: [99, 97, 26] from Operation: 95-69=26
Current State: 24:[99, 97, 26], Operations: ['95-69=26']
Exploring Operation: 99-97=2, Resulting Numbers: [26, 2]
Generated Node #3: [26, 2] from Operation: 99-97=2
Current State: 24:[26, 2], Operations: ['95-69=26', '99-97=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[95, 69, 99, 97], Operations: []
Exploring Operation: 99-97=2, Resulting Numbers: [95, 69, 2]
Generated Node #0,0: 24:[95, 69, 2] Operation: 99-97=2
Exploring Operation: 95-69=26, Resulting Numbers: [99, 97, 26]
Generated Node #0,1: 24:[99, 97, 26] Operation: 95-69=26
Exploring Operation: 97-95=2, Resulting Numbers: [69, 99, 2]
Generated Node #0,2: 24:[69, 99, 2] Operation: 97-95=2
Exploring Operation: 99-95=4, Resulting Numbers: [69, 97, 4]
Generated Node #0,3: 24:[69, 97, 4] Operation: 99-95=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[95, 69, 2], Operations: ['99-97=2']
Exploring Operation: 69-2=67, Resulting Numbers: [95, 67]
Generated Node #0,0,0: 24:[95, 67] Operation: 69-2=67
Exploring Operation: 95-2=93, Resulting Numbers: [69, 93]
Generated Node #0,0,1: 24:[69, 93] Operation: 95-2=93
Exploring Operation: 95+2=97, Resulting Numbers: [69, 97]
Generated Node #0,0,2: 24:[69, 97] Operation: 95+2=97
Exploring Operation: 95-69=26, Resulting Numbers: [2, 26]
Generated Node #0,0,3: 24:[2, 26] Operation: 95-69=26
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 24:[2, 26], Operations: ['99-97=2', '95-69=26']
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,24 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[95, 69, 99, 97], Operations: []
Exploring Operation: 99-97=2, Resulting Numbers: [95, 69, 2]
Generated Node #0,0: 24:[95, 69, 2] Operation: 99-97=2
Moving to Node #0,0
Current State: 24:[95, 69, 2], Operations: ['99-97=2']
Exploring Operation: 95-69=26, Resulting Numbers: [2, 26]
Generated Node #0,0,3: 24:[2, 26] Operation: 95-69=26
Moving to Node #0,0,3
Current State: 24:[2, 26], Operations: ['99-97=2', '95-69=26']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
67,
3,
14,
82
] | 70 | [
"82-67=15",
"15/3=5",
"14*5=70"
] | Current State: 70:[67, 3, 14, 82], Operations: []
Exploring Operation: 82-67=15, Resulting Numbers: [3, 14, 15]
Generated Node #2: [3, 14, 15] from Operation: 82-67=15
Current State: 70:[3, 14, 15], Operations: ['82-67=15']
Exploring Operation: 15/3=5, Resulting Numbers: [14, 5]
Generated Node #3: [14, 5] from Operation: 15/3=5
Current State: 70:[14, 5], Operations: ['82-67=15', '15/3=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[67, 3, 14, 82], Operations: []
Exploring Operation: 82-67=15, Resulting Numbers: [3, 14, 15]
Generated Node #0,0: 70:[3, 14, 15] Operation: 82-67=15
Exploring Operation: 82-14=68, Resulting Numbers: [67, 3, 68]
Generated Node #0,1: 70:[67, 3, 68] Operation: 82-14=68
Exploring Operation: 67+3=70, Resulting Numbers: [14, 82, 70]
Generated Node #0,2: 70:[14, 82, 70] Operation: 67+3=70
Exploring Operation: 82-3=79, Resulting Numbers: [67, 14, 79]
Generated Node #0,3: 70:[67, 14, 79] Operation: 82-3=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[3, 14, 15], Operations: ['82-67=15']
Exploring Operation: 15/3=5, Resulting Numbers: [14, 5]
Generated Node #0,0,0: 70:[14, 5] Operation: 15/3=5
Exploring Operation: 15-14=1, Resulting Numbers: [3, 1]
Generated Node #0,0,1: 70:[3, 1] Operation: 15-14=1
Exploring Operation: 15-3=12, Resulting Numbers: [14, 12]
Generated Node #0,0,2: 70:[14, 12] Operation: 15-3=12
Exploring Operation: 14-3=11, Resulting Numbers: [15, 11]
Generated Node #0,0,3: 70:[15, 11] Operation: 14-3=11
Moving to Node #0,0,0
Current State: 70:[14, 5], Operations: ['82-67=15', '15/3=5']
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[67, 3, 14, 82], Operations: []
Exploring Operation: 82-67=15, Resulting Numbers: [3, 14, 15]
Generated Node #0,0: 70:[3, 14, 15] Operation: 82-67=15
Moving to Node #0,0
Current State: 70:[3, 14, 15], Operations: ['82-67=15']
Exploring Operation: 15/3=5, Resulting Numbers: [14, 5]
Generated Node #0,0,0: 70:[14, 5] Operation: 15/3=5
Moving to Node #0,0,0
Current State: 70:[14, 5], Operations: ['82-67=15', '15/3=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
97,
1,
17,
35
] | 95 | [
"35-1=34",
"34/17=2",
"97-2=95"
] | Current State: 95:[97, 1, 17, 35], Operations: []
Exploring Operation: 35-1=34, Resulting Numbers: [97, 17, 34]
Generated Node #2: [97, 17, 34] from Operation: 35-1=34
Current State: 95:[97, 17, 34], Operations: ['35-1=34']
Exploring Operation: 34/17=2, Resulting Numbers: [97, 2]
Generated Node #3: [97, 2] from Operation: 34/17=2
Current State: 95:[97, 2], Operations: ['35-1=34', '34/17=2']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[97, 1, 17, 35], Operations: []
Exploring Operation: 97-1=96, Resulting Numbers: [17, 35, 96]
Generated Node #0,0: 95:[17, 35, 96] Operation: 97-1=96
Exploring Operation: 35-17=18, Resulting Numbers: [97, 1, 18]
Generated Node #0,1: 95:[97, 1, 18] Operation: 35-17=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[97, 1, 18], Operations: ['35-17=18']
Exploring Operation: 1+18=19, Resulting Numbers: [97, 19]
Generated Node #0,1,0: 95:[97, 19] Operation: 1+18=19
Exploring Operation: 97-1=96, Resulting Numbers: [18, 96]
Generated Node #0,1,1: 95:[18, 96] Operation: 97-1=96
Moving to Node #0,1,0
Current State: 95:[97, 19], Operations: ['35-17=18', '1+18=19']
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,95 unequal: No Solution
Exploring Operation: 97+19=116, Resulting Numbers: [116]
116,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[18, 96], Operations: ['35-17=18', '97-1=96']
Exploring Operation: 96-18=78, Resulting Numbers: [78]
78,95 unequal: No Solution
Exploring Operation: 18+96=114, Resulting Numbers: [114]
114,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[17, 35, 96], Operations: ['97-1=96']
Exploring Operation: 35-17=18, Resulting Numbers: [96, 18]
Generated Node #0,0,0: 95:[96, 18] Operation: 35-17=18
Exploring Operation: 96-17=79, Resulting Numbers: [35, 79]
Generated Node #0,0,1: 95:[35, 79] Operation: 96-17=79
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[96, 18], Operations: ['97-1=96', '35-17=18']
Exploring Operation: 96+18=114, Resulting Numbers: [114]
114,95 unequal: No Solution
Exploring Operation: 96-18=78, Resulting Numbers: [78]
78,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[35, 79], Operations: ['97-1=96', '96-17=79']
Exploring Operation: 79-35=44, Resulting Numbers: [44]
44,95 unequal: No Solution
Exploring Operation: 35+79=114, Resulting Numbers: [114]
114,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
43,
99,
94,
21
] | 27 | [
"43+99=142",
"94+21=115",
"142-115=27"
] | Current State: 27:[43, 99, 94, 21], Operations: []
Exploring Operation: 43+99=142, Resulting Numbers: [94, 21, 142]
Generated Node #2: [94, 21, 142] from Operation: 43+99=142
Current State: 27:[94, 21, 142], Operations: ['43+99=142']
Exploring Operation: 94+21=115, Resulting Numbers: [142, 115]
Generated Node #3: [142, 115] from Operation: 94+21=115
Current State: 27:[142, 115], Operations: ['43+99=142', '94+21=115']
Exploring Operation: 142-115=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[43, 99, 94, 21], Operations: []
Exploring Operation: 99-43=56, Resulting Numbers: [94, 21, 56]
Generated Node #0,0: 27:[94, 21, 56] Operation: 99-43=56
Exploring Operation: 99-94=5, Resulting Numbers: [43, 21, 5]
Generated Node #0,1: 27:[43, 21, 5] Operation: 99-94=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[43, 21, 5], Operations: ['99-94=5']
Exploring Operation: 43-5=38, Resulting Numbers: [21, 38]
Generated Node #0,1,0: 27:[21, 38] Operation: 43-5=38
Exploring Operation: 43-21=22, Resulting Numbers: [5, 22]
Generated Node #0,1,1: 27:[5, 22] Operation: 43-21=22
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[5, 22], Operations: ['99-94=5', '43-21=22']
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[43, 99, 94, 21], Operations: []
Exploring Operation: 99-94=5, Resulting Numbers: [43, 21, 5]
Generated Node #0,1: 27:[43, 21, 5] Operation: 99-94=5
Moving to Node #0,1
Current State: 27:[43, 21, 5], Operations: ['99-94=5']
Exploring Operation: 43-21=22, Resulting Numbers: [5, 22]
Generated Node #0,1,1: 27:[5, 22] Operation: 43-21=22
Moving to Node #0,1,1
Current State: 27:[5, 22], Operations: ['99-94=5', '43-21=22']
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
98,
6,
62,
44
] | 38 | [
"98-62=36",
"36/6=6",
"44-6=38"
] | Current State: 38:[98, 6, 62, 44], Operations: []
Exploring Operation: 98-62=36, Resulting Numbers: [6, 44, 36]
Generated Node #2: [6, 44, 36] from Operation: 98-62=36
Current State: 38:[6, 44, 36], Operations: ['98-62=36']
Exploring Operation: 36/6=6, Resulting Numbers: [44, 6]
Generated Node #3: [44, 6] from Operation: 36/6=6
Current State: 38:[44, 6], Operations: ['98-62=36', '36/6=6']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[98, 6, 62, 44], Operations: []
Exploring Operation: 98-62=36, Resulting Numbers: [6, 44, 36]
Generated Node #0,0: 38:[6, 44, 36] Operation: 98-62=36
Exploring Operation: 98-44=54, Resulting Numbers: [6, 62, 54]
Generated Node #0,1: 38:[6, 62, 54] Operation: 98-44=54
Moving to Node #0,0
Current State: 38:[6, 44, 36], Operations: ['98-62=36']
Exploring Operation: 6+36=42, Resulting Numbers: [44, 42]
Generated Node #0,0,0: 38:[44, 42] Operation: 6+36=42
Exploring Operation: 44-6=38, Resulting Numbers: [36, 38]
Generated Node #0,0,1: 38:[36, 38] Operation: 44-6=38
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[36, 38], Operations: ['98-62=36', '44-6=38']
Exploring Operation: 36+38=74, Resulting Numbers: [74]
74,38 unequal: No Solution
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,38 unequal: No Solution
No 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: 38:[44, 42], Operations: ['98-62=36', '6+36=42']
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,38 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: 38:[6, 62, 54], Operations: ['98-44=54']
Exploring Operation: 62-54=8, Resulting Numbers: [6, 8]
Generated Node #0,1,0: 38:[6, 8] Operation: 62-54=8
Exploring Operation: 54/6=9, Resulting Numbers: [62, 9]
Generated Node #0,1,1: 38:[62, 9] Operation: 54/6=9
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 38:[6, 8], Operations: ['98-44=54', '62-54=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,38 unequal: No Solution
No 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: 38:[62, 9], Operations: ['98-44=54', '54/6=9']
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,38 unequal: No Solution
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,38 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 |
[
6,
27,
6,
13
] | 90 | [
"27-13=14",
"6*14=84",
"6+84=90"
] | Current State: 90:[6, 27, 6, 13], Operations: []
Exploring Operation: 27-13=14, Resulting Numbers: [6, 6, 14]
Generated Node #2: [6, 6, 14] from Operation: 27-13=14
Current State: 90:[6, 6, 14], Operations: ['27-13=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,90 equal: Goal Reached
Exploring Operation: 6+84=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[6, 27, 6, 13], Operations: []
Exploring Operation: 27-13=14, Resulting Numbers: [6, 6, 14]
Generated Node #0,0: 90:[6, 6, 14] Operation: 27-13=14
Moving to Node #0,0
Current State: 90:[6, 6, 14], Operations: ['27-13=14']
Exploring Operation: 14-6=8, Resulting Numbers: [6, 8]
Generated Node #0,0,0: 90:[6, 8] Operation: 14-6=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[6, 8], Operations: ['27-13=14', '14-6=8']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,90 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 |
[
95,
7,
97,
66
] | 80 | [
"97-95=2",
"7*2=14",
"66+14=80"
] | Current State: 80:[95, 7, 97, 66], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [7, 66, 2]
Generated Node #2: [7, 66, 2] from Operation: 97-95=2
Current State: 80:[7, 66, 2], Operations: ['97-95=2']
Exploring Operation: 7*2=14, Resulting Numbers: [66, 14]
Generated Node #3: [66, 14] from Operation: 7*2=14
Current State: 80:[66, 14], Operations: ['97-95=2', '7*2=14']
Exploring Operation: 66+14=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[95, 7, 97, 66], Operations: []
Exploring Operation: 97-66=31, Resulting Numbers: [95, 7, 31]
Generated Node #0,0: 80:[95, 7, 31] Operation: 97-66=31
Exploring Operation: 97-95=2, Resulting Numbers: [7, 66, 2]
Generated Node #0,1: 80:[7, 66, 2] Operation: 97-95=2
Moving to Node #0,1
Current State: 80:[7, 66, 2], Operations: ['97-95=2']
Exploring Operation: 66/2=33, Resulting Numbers: [7, 33]
Generated Node #0,1,0: 80:[7, 33] Operation: 66/2=33
Exploring Operation: 7+66=73, Resulting Numbers: [2, 73]
Generated Node #0,1,1: 80:[2, 73] Operation: 7+66=73
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[2, 73], Operations: ['97-95=2', '7+66=73']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[7, 33], Operations: ['97-95=2', '66/2=33']
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,80 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: 80:[95, 7, 31], Operations: ['97-66=31']
Exploring Operation: 95-7=88, Resulting Numbers: [31, 88]
Generated Node #0,0,0: 80:[31, 88] Operation: 95-7=88
Exploring Operation: 95-31=64, Resulting Numbers: [7, 64]
Generated Node #0,0,1: 80:[7, 64] Operation: 95-31=64
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[31, 88], Operations: ['97-66=31', '95-7=88']
Exploring Operation: 88-31=57, Resulting Numbers: [57]
57,80 unequal: No Solution
Exploring Operation: 31+88=119, Resulting Numbers: [119]
119,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,0,1
Current State: 80:[7, 64], Operations: ['97-66=31', '95-31=64']
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,80 unequal: No Solution
Exploring Operation: 7+64=71, Resulting Numbers: [71]
71,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
16,
96,
81,
27
] | 18 | [
"96/16=6",
"81+27=108",
"108/6=18"
] | Current State: 18:[16, 96, 81, 27], Operations: []
Exploring Operation: 96/16=6, Resulting Numbers: [81, 27, 6]
Generated Node #2: [81, 27, 6] from Operation: 96/16=6
Current State: 18:[81, 27, 6], Operations: ['96/16=6']
Exploring Operation: 81+27=108, Resulting Numbers: [6, 108]
Generated Node #3: [6, 108] from Operation: 81+27=108
Current State: 18:[6, 108], Operations: ['96/16=6', '81+27=108']
Exploring Operation: 108/6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[16, 96, 81, 27], Operations: []
Exploring Operation: 96-81=15, Resulting Numbers: [16, 27, 15]
Generated Node #0,0: 18:[16, 27, 15] Operation: 96-81=15
Exploring Operation: 96/16=6, Resulting Numbers: [81, 27, 6]
Generated Node #0,1: 18:[81, 27, 6] Operation: 96/16=6
Moving to Node #0,0
Current State: 18:[16, 27, 15], Operations: ['96-81=15']
Exploring Operation: 27-16=11, Resulting Numbers: [15, 11]
Generated Node #0,0,0: 18:[15, 11] Operation: 27-16=11
Exploring Operation: 27-15=12, Resulting Numbers: [16, 12]
Generated Node #0,0,1: 18:[16, 12] Operation: 27-15=12
Moving to Node #0,1
Current State: 18:[81, 27, 6], Operations: ['96/16=6']
Exploring Operation: 81/27=3, Resulting Numbers: [6, 3]
Generated Node #0,1,0: 18:[6, 3] Operation: 81/27=3
Exploring Operation: 81-27=54, Resulting Numbers: [6, 54]
Generated Node #0,1,1: 18:[6, 54] Operation: 81-27=54
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[6, 3], Operations: ['96/16=6', '81/27=3']
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[16, 96, 81, 27], Operations: []
Exploring Operation: 96/16=6, Resulting Numbers: [81, 27, 6]
Generated Node #0,1: 18:[81, 27, 6] Operation: 96/16=6
Moving to Node #0,1
Current State: 18:[81, 27, 6], Operations: ['96/16=6']
Exploring Operation: 81/27=3, Resulting Numbers: [6, 3]
Generated Node #0,1,0: 18:[6, 3] Operation: 81/27=3
Moving to Node #0,1,0
Current State: 18:[6, 3], Operations: ['96/16=6', '81/27=3']
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
6,
28,
7,
11
] | 68 | [
"6+11=17",
"28/7=4",
"17*4=68"
] | Current State: 68:[6, 28, 7, 11], Operations: []
Exploring Operation: 6+11=17, Resulting Numbers: [28, 7, 17]
Generated Node #2: [28, 7, 17] from Operation: 6+11=17
Current State: 68:[28, 7, 17], Operations: ['6+11=17']
Exploring Operation: 28/7=4, Resulting Numbers: [17, 4]
Generated Node #3: [17, 4] from Operation: 28/7=4
Current State: 68:[17, 4], Operations: ['6+11=17', '28/7=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[6, 28, 7, 11], Operations: []
Exploring Operation: 28-11=17, Resulting Numbers: [6, 7, 17]
Generated Node #0,0: 68:[6, 7, 17] Operation: 28-11=17
Moving to Node #0,0
Current State: 68:[6, 7, 17], Operations: ['28-11=17']
Exploring Operation: 7-6=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 68:[17, 1] Operation: 7-6=1
Moving to Node #0,0,0
Current State: 68:[17, 1], Operations: ['28-11=17', '7-6=1']
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,68 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
48,
91,
22,
24
] | 47 | [
"48*22=1056",
"1056/24=44",
"91-44=47"
] | Current State: 47:[48, 91, 22, 24], Operations: []
Exploring Operation: 48*22=1056, Resulting Numbers: [91, 24, 1056]
Generated Node #2: [91, 24, 1056] from Operation: 48*22=1056
Current State: 47:[91, 24, 1056], Operations: ['48*22=1056']
Exploring Operation: 1056/24=44, Resulting Numbers: [91, 44]
Generated Node #3: [91, 44] from Operation: 1056/24=44
Current State: 47:[91, 44], Operations: ['48*22=1056', '1056/24=44']
Exploring Operation: 91-44=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[48, 91, 22, 24], Operations: []
Exploring Operation: 91-24=67, Resulting Numbers: [48, 22, 67]
Generated Node #0,0: 47:[48, 22, 67] Operation: 91-24=67
Exploring Operation: 91-22=69, Resulting Numbers: [48, 24, 69]
Generated Node #0,1: 47:[48, 24, 69] Operation: 91-22=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[48, 22, 67], Operations: ['91-24=67']
Exploring Operation: 67-22=45, Resulting Numbers: [48, 45]
Generated Node #0,0,0: 47:[48, 45] Operation: 67-22=45
Exploring Operation: 48-22=26, Resulting Numbers: [67, 26]
Generated Node #0,0,1: 47:[67, 26] Operation: 48-22=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[48, 45], Operations: ['91-24=67', '67-22=45']
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 48+45=93, Resulting Numbers: [93]
93,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[67, 26], Operations: ['91-24=67', '48-22=26']
Exploring Operation: 67-26=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 67+26=93, Resulting Numbers: [93]
93,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[48, 24, 69], Operations: ['91-22=69']
Exploring Operation: 48-24=24, Resulting Numbers: [69, 24]
Generated Node #0,1,0: 47:[69, 24] Operation: 48-24=24
Exploring Operation: 69-24=45, Resulting Numbers: [48, 45]
Generated Node #0,1,1: 47:[48, 45] Operation: 69-24=45
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[48, 45], Operations: ['91-22=69', '69-24=45']
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 48+45=93, Resulting Numbers: [93]
93,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[69, 24], Operations: ['91-22=69', '48-24=24']
Exploring Operation: 69+24=93, Resulting Numbers: [93]
93,47 unequal: No Solution
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
66,
4,
14,
50
] | 55 | [
"66+4=70",
"70/14=5",
"50+5=55"
] | Current State: 55:[66, 4, 14, 50], Operations: []
Exploring Operation: 66+4=70, Resulting Numbers: [14, 50, 70]
Generated Node #2: [14, 50, 70] from Operation: 66+4=70
Current State: 55:[14, 50, 70], Operations: ['66+4=70']
Exploring Operation: 70/14=5, Resulting Numbers: [50, 5]
Generated Node #3: [50, 5] from Operation: 70/14=5
Current State: 55:[50, 5], Operations: ['66+4=70', '70/14=5']
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[66, 4, 14, 50], Operations: []
Exploring Operation: 66-14=52, Resulting Numbers: [4, 50, 52]
Generated Node #0,0: 55:[4, 50, 52] Operation: 66-14=52
Exploring Operation: 66-50=16, Resulting Numbers: [4, 14, 16]
Generated Node #0,1: 55:[4, 14, 16] Operation: 66-50=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[4, 50, 52], Operations: ['66-14=52']
Exploring Operation: 4+50=54, Resulting Numbers: [52, 54]
Generated Node #0,0,0: 55:[52, 54] Operation: 4+50=54
Exploring Operation: 52-50=2, Resulting Numbers: [4, 2]
Generated Node #0,0,1: 55:[4, 2] Operation: 52-50=2
Moving to Node #0,0,0
Current State: 55:[52, 54], Operations: ['66-14=52', '4+50=54']
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 52+54=106, Resulting Numbers: [106]
106,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[4, 2], Operations: ['66-14=52', '52-50=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,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,1
Current State: 55:[4, 14, 16], Operations: ['66-50=16']
Exploring Operation: 16-4=12, Resulting Numbers: [14, 12]
Generated Node #0,1,0: 55:[14, 12] Operation: 16-4=12
Exploring Operation: 16/4=4, Resulting Numbers: [14, 4]
Generated Node #0,1,1: 55:[14, 4] Operation: 16/4=4
Moving to Node #0,1,0
Current State: 55:[14, 12], Operations: ['66-50=16', '16-4=12']
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[14, 4], Operations: ['66-50=16', '16/4=4']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,55 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 |
[
51,
6,
87,
14
] | 32 | [
"51*14=714",
"714/6=119",
"119-87=32"
] | Current State: 32:[51, 6, 87, 14], Operations: []
Exploring Operation: 51*14=714, Resulting Numbers: [6, 87, 714]
Generated Node #2: [6, 87, 714] from Operation: 51*14=714
Current State: 32:[6, 87, 714], Operations: ['51*14=714']
Exploring Operation: 714/6=119, Resulting Numbers: [87, 119]
Generated Node #3: [87, 119] from Operation: 714/6=119
Current State: 32:[87, 119], Operations: ['51*14=714', '714/6=119']
Exploring Operation: 119-87=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[51, 6, 87, 14], Operations: []
Exploring Operation: 51-6=45, Resulting Numbers: [87, 14, 45]
Generated Node #0,0: 32:[87, 14, 45] Operation: 51-6=45
Exploring Operation: 87-51=36, Resulting Numbers: [6, 14, 36]
Generated Node #0,1: 32:[6, 14, 36] Operation: 87-51=36
Exploring Operation: 87-14=73, Resulting Numbers: [51, 6, 73]
Generated Node #0,2: 32:[51, 6, 73] Operation: 87-14=73
Exploring Operation: 51-14=37, Resulting Numbers: [6, 87, 37]
Generated Node #0,3: 32:[6, 87, 37] Operation: 51-14=37
Moving to Node #0,1
Current State: 32:[6, 14, 36], Operations: ['87-51=36']
Exploring Operation: 36/6=6, Resulting Numbers: [14, 6]
Generated Node #0,1,0: 32:[14, 6] Operation: 36/6=6
Exploring Operation: 14-6=8, Resulting Numbers: [36, 8]
Generated Node #0,1,1: 32:[36, 8] Operation: 14-6=8
Exploring Operation: 36-6=30, Resulting Numbers: [14, 30]
Generated Node #0,1,2: 32:[14, 30] Operation: 36-6=30
Exploring Operation: 6+14=20, Resulting Numbers: [36, 20]
Generated Node #0,1,3: 32:[36, 20] Operation: 6+14=20
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 32:[14, 6], Operations: ['87-51=36', '36/6=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,32 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[36, 8], Operations: ['87-51=36', '14-6=8']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 36+8=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 36*8=288, Resulting Numbers: [288]
288,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 32:[14, 30], Operations: ['87-51=36', '36-6=30']
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,32 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 32:[36, 20], Operations: ['87-51=36', '6+14=20']
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,32 unequal: No Solution
Exploring Operation: 36*20=720, Resulting Numbers: [720]
720,32 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: 32:[6, 87, 37], Operations: ['51-14=37']
Exploring Operation: 37-6=31, Resulting Numbers: [87, 31]
Generated Node #0,3,0: 32:[87, 31] Operation: 37-6=31
Exploring Operation: 87-6=81, Resulting Numbers: [37, 81]
Generated Node #0,3,1: 32:[37, 81] Operation: 87-6=81
Exploring Operation: 87-37=50, Resulting Numbers: [6, 50]
Generated Node #0,3,2: 32:[6, 50] Operation: 87-37=50
Exploring Operation: 6+87=93, Resulting Numbers: [37, 93]
Generated Node #0,3,3: 32:[37, 93] Operation: 6+87=93
Moving to Node #0,2
Current State: 32:[51, 6, 73], Operations: ['87-14=73']
Exploring Operation: 51-6=45, Resulting Numbers: [73, 45]
Generated Node #0,2,0: 32:[73, 45] Operation: 51-6=45
Exploring Operation: 73-51=22, Resulting Numbers: [6, 22]
Generated Node #0,2,1: 32:[6, 22] Operation: 73-51=22
Exploring Operation: 51+6=57, Resulting Numbers: [73, 57]
Generated Node #0,2,2: 32:[73, 57] Operation: 51+6=57
Exploring Operation: 73-6=67, Resulting Numbers: [51, 67]
Generated Node #0,2,3: 32:[51, 67] Operation: 73-6=67
Moving to Node #0,0
Current State: 32:[87, 14, 45], Operations: ['51-6=45']
Exploring Operation: 45-14=31, Resulting Numbers: [87, 31]
Generated Node #0,0,0: 32:[87, 31] Operation: 45-14=31
Exploring Operation: 87+14=101, Resulting Numbers: [45, 101]
Generated Node #0,0,1: 32:[45, 101] Operation: 87+14=101
Exploring Operation: 87-45=42, Resulting Numbers: [14, 42]
Generated Node #0,0,2: 32:[14, 42] Operation: 87-45=42
Exploring Operation: 87-14=73, Resulting Numbers: [45, 73]
Generated Node #0,0,3: 32:[45, 73] Operation: 87-14=73
Moving to Node #0,2,1
Current State: 32:[6, 22], Operations: ['87-14=73', '73-51=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[14, 42], Operations: ['51-6=45', '87-45=42']
Exploring Operation: 14*42=588, Resulting Numbers: [588]
588,32 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 14+42=56, Resulting Numbers: [56]
56,32 unequal: No Solution
Moving to Node #0,3,2
Current State: 32:[6, 50], Operations: ['51-14=37', '87-37=50']
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,32 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[73, 45], Operations: ['87-14=73', '51-6=45']
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 73*45=3285, Resulting Numbers: [3285]
3285,32 unequal: No Solution
Exploring Operation: 73+45=118, Resulting Numbers: [118]
118,32 unequal: No Solution
Moving to Node #0,2,3
Current State: 32:[51, 67], Operations: ['87-14=73', '73-6=67']
Exploring Operation: 51*67=3417, Resulting Numbers: [3417]
3417,32 unequal: No Solution
Exploring Operation: 67-51=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 51+67=118, Resulting Numbers: [118]
118,32 unequal: No Solution
Moving to Node #0,3,1
Current State: 32:[37, 81], Operations: ['51-14=37', '87-6=81']
Exploring Operation: 37+81=118, Resulting Numbers: [118]
118,32 unequal: No Solution
Exploring Operation: 81-37=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 37*81=2997, Resulting Numbers: [2997]
2997,32 unequal: No Solution
Moving to Node #0,0,3
Current State: 32:[45, 73], Operations: ['51-6=45', '87-14=73']
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 45+73=118, Resulting Numbers: [118]
118,32 unequal: No Solution
Exploring Operation: 45*73=3285, Resulting Numbers: [3285]
3285,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[87, 31], Operations: ['51-6=45', '45-14=31']
Exploring Operation: 87+31=118, Resulting Numbers: [118]
118,32 unequal: No Solution
Exploring Operation: 87*31=2697, Resulting Numbers: [2697]
2697,32 unequal: No Solution
Exploring Operation: 87-31=56, Resulting Numbers: [56]
56,32 unequal: No Solution
Moving to Node #0,3,0
Current State: 32:[87, 31], Operations: ['51-14=37', '37-6=31']
Exploring Operation: 87*31=2697, Resulting Numbers: [2697]
2697,32 unequal: No Solution
Exploring Operation: 87+31=118, Resulting Numbers: [118]
118,32 unequal: No Solution
Exploring Operation: 87-31=56, Resulting Numbers: [56]
56,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[73, 57], Operations: ['87-14=73', '51+6=57']
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 73*57=4161, Resulting Numbers: [4161]
4161,32 unequal: No Solution
Exploring Operation: 73+57=130, Resulting Numbers: [130]
130,32 unequal: No Solution
Moving to Node #0,3,3
Current State: 32:[37, 93], Operations: ['51-14=37', '6+87=93']
Exploring Operation: 37+93=130, Resulting Numbers: [130]
130,32 unequal: No Solution
Exploring Operation: 93-37=56, Resulting Numbers: [56]
56,32 unequal: No Solution
Exploring Operation: 37*93=3441, Resulting Numbers: [3441]
3441,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[45, 101], Operations: ['51-6=45', '87+14=101']
Exploring Operation: 45*101=4545, Resulting Numbers: [4545]
4545,32 unequal: No Solution
Exploring Operation: 45+101=146, Resulting Numbers: [146]
146,32 unequal: No Solution
Exploring Operation: 101-45=56, Resulting Numbers: [56]
56,32 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
96,
3,
53,
48
] | 53 | [
"96/48=2",
"3-2=1",
"53*1=53"
] | Current State: 53:[96, 3, 53, 48], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [3, 53, 2]
Generated Node #2: [3, 53, 2] from Operation: 96/48=2
Current State: 53:[3, 53, 2], Operations: ['96/48=2']
Exploring Operation: 3-2=1, Resulting Numbers: [53, 1]
Generated Node #3: [53, 1] from Operation: 3-2=1
Current State: 53:[53, 1], Operations: ['96/48=2', '3-2=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[96, 3, 53, 48], Operations: []
Exploring Operation: 96-3=93, Resulting Numbers: [53, 48, 93]
Generated Node #0,0: 53:[53, 48, 93] Operation: 96-3=93
Exploring Operation: 96/3=32, Resulting Numbers: [53, 48, 32]
Generated Node #0,1: 53:[53, 48, 32] Operation: 96/3=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[53, 48, 32], Operations: ['96/3=32']
Exploring Operation: 48+32=80, Resulting Numbers: [53, 80]
Generated Node #0,1,0: 53:[53, 80] Operation: 48+32=80
Exploring Operation: 53+32=85, Resulting Numbers: [48, 85]
Generated Node #0,1,1: 53:[48, 85] Operation: 53+32=85
Moving to Node #0,1,0
Current State: 53:[53, 80], Operations: ['96/3=32', '48+32=80']
Exploring Operation: 53+80=133, Resulting Numbers: [133]
133,53 unequal: No Solution
Exploring Operation: 80-53=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[48, 85], Operations: ['96/3=32', '53+32=85']
Exploring Operation: 48+85=133, Resulting Numbers: [133]
133,53 unequal: No Solution
Exploring Operation: 85-48=37, Resulting Numbers: [37]
37,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[53, 48, 93], Operations: ['96-3=93']
Exploring Operation: 93-53=40, Resulting Numbers: [48, 40]
Generated Node #0,0,0: 53:[48, 40] Operation: 93-53=40
Exploring Operation: 93-48=45, Resulting Numbers: [53, 45]
Generated Node #0,0,1: 53:[53, 45] Operation: 93-48=45
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[53, 45], Operations: ['96-3=93', '93-48=45']
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,53 unequal: No Solution
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[48, 40], Operations: ['96-3=93', '93-53=40']
Exploring Operation: 48-40=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 48+40=88, Resulting Numbers: [88]
88,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
40,
25,
5,
75
] | 95 | [
"40-25=15",
"5+75=80",
"15+80=95"
] | Current State: 95:[40, 25, 5, 75], Operations: []
Exploring Operation: 40-25=15, Resulting Numbers: [5, 75, 15]
Generated Node #2: [5, 75, 15] from Operation: 40-25=15
Current State: 95:[5, 75, 15], Operations: ['40-25=15']
Exploring Operation: 5+75=80, Resulting Numbers: [15, 80]
Generated Node #3: [15, 80] from Operation: 5+75=80
Current State: 95:[15, 80], Operations: ['40-25=15', '5+75=80']
Exploring Operation: 15+80=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[40, 25, 5, 75], Operations: []
Exploring Operation: 75-40=35, Resulting Numbers: [25, 5, 35]
Generated Node #0,0: 95:[25, 5, 35] Operation: 75-40=35
Moving to Node #0,0
Current State: 95:[25, 5, 35], Operations: ['75-40=35']
Exploring Operation: 35-25=10, Resulting Numbers: [5, 10]
Generated Node #0,0,0: 95:[5, 10] Operation: 35-25=10
Moving to Node #0,0,0
Current State: 95:[5, 10], Operations: ['75-40=35', '35-25=10']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,95 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
19,
69,
46,
83
] | 13 | [
"69-19=50",
"83-46=37",
"50-37=13"
] | Current State: 13:[19, 69, 46, 83], Operations: []
Exploring Operation: 69-19=50, Resulting Numbers: [46, 83, 50]
Generated Node #2: [46, 83, 50] from Operation: 69-19=50
Current State: 13:[46, 83, 50], Operations: ['69-19=50']
Exploring Operation: 83-46=37, Resulting Numbers: [50, 37]
Generated Node #3: [50, 37] from Operation: 83-46=37
Current State: 13:[50, 37], Operations: ['69-19=50', '83-46=37']
Exploring Operation: 50-37=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[19, 69, 46, 83], Operations: []
Exploring Operation: 83-69=14, Resulting Numbers: [19, 46, 14]
Generated Node #0,0: 13:[19, 46, 14] Operation: 83-69=14
Moving to Node #0,0
Current State: 13:[19, 46, 14], Operations: ['83-69=14']
Exploring Operation: 46-19=27, Resulting Numbers: [14, 27]
Generated Node #0,0,0: 13:[14, 27] Operation: 46-19=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[14, 27], Operations: ['83-69=14', '46-19=27']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[19, 69, 46, 83], Operations: []
Exploring Operation: 83-69=14, Resulting Numbers: [19, 46, 14]
Generated Node #0,0: 13:[19, 46, 14] Operation: 83-69=14
Moving to Node #0,0
Current State: 13:[19, 46, 14], Operations: ['83-69=14']
Exploring Operation: 46-19=27, Resulting Numbers: [14, 27]
Generated Node #0,0,0: 13:[14, 27] Operation: 46-19=27
Moving to Node #0,0,0
Current State: 13:[14, 27], Operations: ['83-69=14', '46-19=27']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
77,
32,
65,
55
] | 55 | [
"77-32=45",
"65-55=10",
"45+10=55"
] | Current State: 55:[77, 32, 65, 55], Operations: []
Exploring Operation: 77-32=45, Resulting Numbers: [65, 55, 45]
Generated Node #2: [65, 55, 45] from Operation: 77-32=45
Current State: 55:[65, 55, 45], Operations: ['77-32=45']
Exploring Operation: 65-55=10, Resulting Numbers: [45, 10]
Generated Node #3: [45, 10] from Operation: 65-55=10
Current State: 55:[45, 10], Operations: ['77-32=45', '65-55=10']
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[77, 32, 65, 55], Operations: []
Exploring Operation: 77-65=12, Resulting Numbers: [32, 55, 12]
Generated Node #0,0: 55:[32, 55, 12] Operation: 77-65=12
Exploring Operation: 77-32=45, Resulting Numbers: [65, 55, 45]
Generated Node #0,1: 55:[65, 55, 45] Operation: 77-32=45
Exploring Operation: 77-55=22, Resulting Numbers: [32, 65, 22]
Generated Node #0,2: 55:[32, 65, 22] Operation: 77-55=22
Moving to Node #0,1
Current State: 55:[65, 55, 45], Operations: ['77-32=45']
Exploring Operation: 65-55=10, Resulting Numbers: [45, 10]
Generated Node #0,1,0: 55:[45, 10] Operation: 65-55=10
Exploring Operation: 65-45=20, Resulting Numbers: [55, 20]
Generated Node #0,1,1: 55:[55, 20] Operation: 65-45=20
Exploring Operation: 55-45=10, Resulting Numbers: [65, 10]
Generated Node #0,1,2: 55:[65, 10] Operation: 55-45=10
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[55, 20], Operations: ['77-32=45', '65-45=20']
Exploring Operation: 55+20=75, Resulting Numbers: [75]
75,55 unequal: No Solution
Exploring Operation: 55*20=1100, Resulting Numbers: [1100]
1100,55 unequal: No Solution
Exploring Operation: 55-20=35, Resulting Numbers: [35]
35,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,1,0
Current State: 55:[45, 10], Operations: ['77-32=45', '65-55=10']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,55 unequal: No Solution
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[77, 32, 65, 55], Operations: []
Exploring Operation: 77-32=45, Resulting Numbers: [65, 55, 45]
Generated Node #0,1: 55:[65, 55, 45] Operation: 77-32=45
Moving to Node #0,1
Current State: 55:[65, 55, 45], Operations: ['77-32=45']
Exploring Operation: 65-55=10, Resulting Numbers: [45, 10]
Generated Node #0,1,0: 55:[45, 10] Operation: 65-55=10
Moving to Node #0,1,0
Current State: 55:[45, 10], Operations: ['77-32=45', '65-55=10']
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
76,
67,
71,
8
] | 21 | [
"76+8=84",
"71-67=4",
"84/4=21"
] | Current State: 21:[76, 67, 71, 8], Operations: []
Exploring Operation: 76+8=84, Resulting Numbers: [67, 71, 84]
Generated Node #2: [67, 71, 84] from Operation: 76+8=84
Current State: 21:[67, 71, 84], Operations: ['76+8=84']
Exploring Operation: 71-67=4, Resulting Numbers: [84, 4]
Generated Node #3: [84, 4] from Operation: 71-67=4
Current State: 21:[84, 4], Operations: ['76+8=84', '71-67=4']
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[76, 67, 71, 8], Operations: []
Exploring Operation: 71-67=4, Resulting Numbers: [76, 8, 4]
Generated Node #0,0: 21:[76, 8, 4] Operation: 71-67=4
Exploring Operation: 76-67=9, Resulting Numbers: [71, 8, 9]
Generated Node #0,1: 21:[71, 8, 9] Operation: 76-67=9
Exploring Operation: 76-71=5, Resulting Numbers: [67, 8, 5]
Generated Node #0,2: 21:[67, 8, 5] Operation: 76-71=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[67, 8, 5], Operations: ['76-71=5']
Exploring Operation: 8-5=3, Resulting Numbers: [67, 3]
Generated Node #0,2,0: 21:[67, 3] Operation: 8-5=3
Exploring Operation: 67-5=62, Resulting Numbers: [8, 62]
Generated Node #0,2,1: 21:[8, 62] Operation: 67-5=62
Exploring Operation: 67-8=59, Resulting Numbers: [5, 59]
Generated Node #0,2,2: 21:[5, 59] Operation: 67-8=59
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 21:[5, 59], Operations: ['76-71=5', '67-8=59']
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,21 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 5*59=295, Resulting Numbers: [295]
295,21 unequal: No Solution
No 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: 21:[8, 62], Operations: ['76-71=5', '67-5=62']
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 8*62=496, Resulting Numbers: [496]
496,21 unequal: No Solution
Exploring Operation: 8+62=70, Resulting Numbers: [70]
70,21 unequal: No Solution
No 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: 21:[67, 3], Operations: ['76-71=5', '8-5=3']
Exploring Operation: 67*3=201, Resulting Numbers: [201]
201,21 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,21 unequal: No Solution
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,21 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: 21:[71, 8, 9], Operations: ['76-67=9']
Exploring Operation: 71-9=62, Resulting Numbers: [8, 62]
Generated Node #0,1,0: 21:[8, 62] Operation: 71-9=62
Exploring Operation: 9-8=1, Resulting Numbers: [71, 1]
Generated Node #0,1,1: 21:[71, 1] Operation: 9-8=1
Exploring Operation: 71-8=63, Resulting Numbers: [9, 63]
Generated Node #0,1,2: 21:[9, 63] Operation: 71-8=63
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[8, 62], Operations: ['76-67=9', '71-9=62']
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 8+62=70, Resulting Numbers: [70]
70,21 unequal: No Solution
Exploring Operation: 8*62=496, Resulting Numbers: [496]
496,21 unequal: No Solution
No 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: 21:[9, 63], Operations: ['76-67=9', '71-8=63']
Exploring Operation: 9+63=72, Resulting Numbers: [72]
72,21 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,21 unequal: No Solution
No 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: 21:[71, 1], Operations: ['76-67=9', '9-8=1']
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,21 unequal: No Solution
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,21 unequal: No Solution
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,21 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: 21:[76, 8, 4], Operations: ['71-67=4']
Exploring Operation: 76/4=19, Resulting Numbers: [8, 19]
Generated Node #0,0,0: 21:[8, 19] Operation: 76/4=19
Exploring Operation: 76-4=72, Resulting Numbers: [8, 72]
Generated Node #0,0,1: 21:[8, 72] Operation: 76-4=72
Exploring Operation: 76-8=68, Resulting Numbers: [4, 68]
Generated Node #0,0,2: 21:[4, 68] Operation: 76-8=68
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[8, 19], Operations: ['71-67=4', '76/4=19']
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,21 unequal: No Solution
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,21 unequal: No Solution
No 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: 21:[4, 68], Operations: ['71-67=4', '76-8=68']
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,21 unequal: No Solution
Exploring Operation: 4+68=72, Resulting Numbers: [72]
72,21 unequal: No Solution
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,21 unequal: No Solution
No 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: 21:[8, 72], Operations: ['71-67=4', '76-4=72']
Exploring Operation: 8+72=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,21 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,21 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 |
[
57,
24,
44,
49
] | 41 | [
"57-49=8",
"24/8=3",
"44-3=41"
] | Current State: 41:[57, 24, 44, 49], Operations: []
Exploring Operation: 57-49=8, Resulting Numbers: [24, 44, 8]
Generated Node #2: [24, 44, 8] from Operation: 57-49=8
Current State: 41:[24, 44, 8], Operations: ['57-49=8']
Exploring Operation: 24/8=3, Resulting Numbers: [44, 3]
Generated Node #3: [44, 3] from Operation: 24/8=3
Current State: 41:[44, 3], Operations: ['57-49=8', '24/8=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[57, 24, 44, 49], Operations: []
Exploring Operation: 57-24=33, Resulting Numbers: [44, 49, 33]
Generated Node #0,0: 41:[44, 49, 33] Operation: 57-24=33
Exploring Operation: 57+24=81, Resulting Numbers: [44, 49, 81]
Generated Node #0,1: 41:[44, 49, 81] Operation: 57+24=81
Exploring Operation: 44-24=20, Resulting Numbers: [57, 49, 20]
Generated Node #0,2: 41:[57, 49, 20] Operation: 44-24=20
Exploring Operation: 49-24=25, Resulting Numbers: [57, 44, 25]
Generated Node #0,3: 41:[57, 44, 25] Operation: 49-24=25
Moving to Node #0,0
Current State: 41:[44, 49, 33], Operations: ['57-24=33']
Exploring Operation: 49-33=16, Resulting Numbers: [44, 16]
Generated Node #0,0,0: 41:[44, 16] Operation: 49-33=16
Exploring Operation: 44-33=11, Resulting Numbers: [49, 11]
Generated Node #0,0,1: 41:[49, 11] Operation: 44-33=11
Exploring Operation: 44+33=77, Resulting Numbers: [49, 77]
Generated Node #0,0,2: 41:[49, 77] Operation: 44+33=77
Exploring Operation: 49-44=5, Resulting Numbers: [33, 5]
Generated Node #0,0,3: 41:[33, 5] Operation: 49-44=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[44, 16], Operations: ['57-24=33', '49-33=16']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 44*16=704, Resulting Numbers: [704]
704,41 unequal: No Solution
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,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,1
Current State: 41:[49, 11], Operations: ['57-24=33', '44-33=11']
Exploring Operation: 49+11=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,41 unequal: No Solution
Exploring Operation: 49*11=539, Resulting Numbers: [539]
539,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,2
Current State: 41:[49, 77], Operations: ['57-24=33', '44+33=77']
Exploring Operation: 49+77=126, Resulting Numbers: [126]
126,41 unequal: No Solution
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 49*77=3773, Resulting Numbers: [3773]
3773,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,3
Current State: 41:[33, 5], Operations: ['57-24=33', '49-44=5']
Exploring Operation: 33*5=165, Resulting Numbers: [165]
165,41 unequal: No Solution
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,41 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,41 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: 41:[57, 44, 25], Operations: ['49-24=25']
Exploring Operation: 57-44=13, Resulting Numbers: [25, 13]
Generated Node #0,3,0: 41:[25, 13] Operation: 57-44=13
Exploring Operation: 44-25=19, Resulting Numbers: [57, 19]
Generated Node #0,3,1: 41:[57, 19] Operation: 44-25=19
Exploring Operation: 57+25=82, Resulting Numbers: [44, 82]
Generated Node #0,3,2: 41:[44, 82] Operation: 57+25=82
Exploring Operation: 57-25=32, Resulting Numbers: [44, 32]
Generated Node #0,3,3: 41:[44, 32] Operation: 57-25=32
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 41:[44, 32], Operations: ['49-24=25', '57-25=32']
Exploring Operation: 44*32=1408, Resulting Numbers: [1408]
1408,41 unequal: No Solution
Exploring Operation: 44+32=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,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,3,1
Current State: 41:[57, 19], Operations: ['49-24=25', '44-25=19']
Exploring Operation: 57+19=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 57*19=1083, Resulting Numbers: [1083]
1083,41 unequal: No Solution
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,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,3,0
Current State: 41:[25, 13], Operations: ['49-24=25', '57-44=13']
Exploring Operation: 25+13=38, Resulting Numbers: [38]
38,41 unequal: No Solution
Exploring Operation: 25*13=325, Resulting Numbers: [325]
325,41 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,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,3,2
Current State: 41:[44, 82], Operations: ['49-24=25', '57+25=82']
Exploring Operation: 44*82=3608, Resulting Numbers: [3608]
3608,41 unequal: No Solution
Exploring Operation: 82-44=38, Resulting Numbers: [38]
38,41 unequal: No Solution
Exploring Operation: 44+82=126, Resulting Numbers: [126]
126,41 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: 41:[57, 49, 20], Operations: ['44-24=20']
Exploring Operation: 49+20=69, Resulting Numbers: [57, 69]
Generated Node #0,2,0: 41:[57, 69] Operation: 49+20=69
Exploring Operation: 57+20=77, Resulting Numbers: [49, 77]
Generated Node #0,2,1: 41:[49, 77] Operation: 57+20=77
Exploring Operation: 57-20=37, Resulting Numbers: [49, 37]
Generated Node #0,2,2: 41:[49, 37] Operation: 57-20=37
Exploring Operation: 49-20=29, Resulting Numbers: [57, 29]
Generated Node #0,2,3: 41:[57, 29] Operation: 49-20=29
Moving to Node #0,1
Current State: 41:[44, 49, 81], Operations: ['57+24=81']
Exploring Operation: 44+49=93, Resulting Numbers: [81, 93]
Generated Node #0,1,0: 41:[81, 93] Operation: 44+49=93
Exploring Operation: 81-44=37, Resulting Numbers: [49, 37]
Generated Node #0,1,1: 41:[49, 37] Operation: 81-44=37
Exploring Operation: 81-49=32, Resulting Numbers: [44, 32]
Generated Node #0,1,2: 41:[44, 32] Operation: 81-49=32
Exploring Operation: 49-44=5, Resulting Numbers: [81, 5]
Generated Node #0,1,3: 41:[81, 5] Operation: 49-44=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[49, 37], Operations: ['57+24=81', '81-44=37']
Exploring Operation: 49+37=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 49*37=1813, Resulting Numbers: [1813]
1813,41 unequal: No Solution
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,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,2
Current State: 41:[44, 32], Operations: ['57+24=81', '81-49=32']
Exploring Operation: 44+32=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Exploring Operation: 44*32=1408, Resulting Numbers: [1408]
1408,41 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,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,3
Current State: 41:[81, 5], Operations: ['57+24=81', '49-44=5']
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,41 unequal: No Solution
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,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,0
Current State: 41:[81, 93], Operations: ['57+24=81', '44+49=93']
Exploring Operation: 93-81=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 81+93=174, Resulting Numbers: [174]
174,41 unequal: No Solution
Exploring Operation: 81*93=7533, Resulting Numbers: [7533]
7533,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 41:[49, 37], Operations: ['44-24=20', '57-20=37']
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 49*37=1813, Resulting Numbers: [1813]
1813,41 unequal: No Solution
Exploring Operation: 49+37=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[57, 29], Operations: ['44-24=20', '49-20=29']
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 57*29=1653, Resulting Numbers: [1653]
1653,41 unequal: No Solution
Exploring Operation: 57+29=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[49, 77], Operations: ['44-24=20', '57+20=77']
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Exploring Operation: 49+77=126, Resulting Numbers: [126]
126,41 unequal: No Solution
Exploring Operation: 49*77=3773, Resulting Numbers: [3773]
3773,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[57, 69], Operations: ['44-24=20', '49+20=69']
Exploring Operation: 57*69=3933, Resulting Numbers: [3933]
3933,41 unequal: No Solution
Exploring Operation: 57+69=126, Resulting Numbers: [126]
126,41 unequal: No Solution
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,41 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
40,
44,
29,
19
] | 47 | [
"44-40=4",
"19*4=76",
"76-29=47"
] | Current State: 47:[40, 44, 29, 19], Operations: []
Exploring Operation: 44-40=4, Resulting Numbers: [29, 19, 4]
Generated Node #2: [29, 19, 4] from Operation: 44-40=4
Current State: 47:[29, 19, 4], Operations: ['44-40=4']
Exploring Operation: 19*4=76, Resulting Numbers: [29, 76]
Generated Node #3: [29, 76] from Operation: 19*4=76
Current State: 47:[29, 76], Operations: ['44-40=4', '19*4=76']
Exploring Operation: 76-29=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[40, 44, 29, 19], Operations: []
Exploring Operation: 40-19=21, Resulting Numbers: [44, 29, 21]
Generated Node #0,0: 47:[44, 29, 21] Operation: 40-19=21
Exploring Operation: 29+19=48, Resulting Numbers: [40, 44, 48]
Generated Node #0,1: 47:[40, 44, 48] Operation: 29+19=48
Exploring Operation: 40+19=59, Resulting Numbers: [44, 29, 59]
Generated Node #0,2: 47:[44, 29, 59] Operation: 40+19=59
Exploring Operation: 44+19=63, Resulting Numbers: [40, 29, 63]
Generated Node #0,3: 47:[40, 29, 63] Operation: 44+19=63
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[40, 44, 48], Operations: ['29+19=48']
Exploring Operation: 40+48=88, Resulting Numbers: [44, 88]
Generated Node #0,1,0: 47:[44, 88] Operation: 40+48=88
Exploring Operation: 40+44=84, Resulting Numbers: [48, 84]
Generated Node #0,1,1: 47:[48, 84] Operation: 40+44=84
Exploring Operation: 44-40=4, Resulting Numbers: [48, 4]
Generated Node #0,1,2: 47:[48, 4] Operation: 44-40=4
Exploring Operation: 48-40=8, Resulting Numbers: [44, 8]
Generated Node #0,1,3: 47:[44, 8] Operation: 48-40=8
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[48, 84], Operations: ['29+19=48', '40+44=84']
Exploring Operation: 84-48=36, Resulting Numbers: [36]
36,47 unequal: No Solution
Exploring Operation: 48*84=4032, Resulting Numbers: [4032]
4032,47 unequal: No Solution
Exploring Operation: 48+84=132, Resulting Numbers: [132]
132,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 47:[44, 8], Operations: ['29+19=48', '48-40=8']
Exploring Operation: 44+8=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 44*8=352, Resulting Numbers: [352]
352,47 unequal: No Solution
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[44, 88], Operations: ['29+19=48', '40+48=88']
Exploring Operation: 44*88=3872, Resulting Numbers: [3872]
3872,47 unequal: No Solution
Exploring Operation: 88/44=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 44+88=132, Resulting Numbers: [132]
132,47 unequal: No Solution
Exploring Operation: 88-44=44, Resulting Numbers: [44]
44,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[48, 4], Operations: ['29+19=48', '44-40=4']
Exploring Operation: 48+4=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 48*4=192, Resulting Numbers: [192]
192,47 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,47 unequal: No Solution
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[44, 29, 59], Operations: ['40+19=59']
Exploring Operation: 44+29=73, Resulting Numbers: [59, 73]
Generated Node #0,2,0: 47:[59, 73] Operation: 44+29=73
Exploring Operation: 29+59=88, Resulting Numbers: [44, 88]
Generated Node #0,2,1: 47:[44, 88] Operation: 29+59=88
Exploring Operation: 59-29=30, Resulting Numbers: [44, 30]
Generated Node #0,2,2: 47:[44, 30] Operation: 59-29=30
Exploring Operation: 44-29=15, Resulting Numbers: [59, 15]
Generated Node #0,2,3: 47:[59, 15] Operation: 44-29=15
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 47:[44, 30], Operations: ['40+19=59', '59-29=30']
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,47 unequal: No Solution
Exploring Operation: 44*30=1320, Resulting Numbers: [1320]
1320,47 unequal: No Solution
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 47:[59, 73], Operations: ['40+19=59', '44+29=73']
Exploring Operation: 59+73=132, Resulting Numbers: [132]
132,47 unequal: No Solution
Exploring Operation: 59*73=4307, Resulting Numbers: [4307]
4307,47 unequal: No Solution
Exploring Operation: 73-59=14, Resulting Numbers: [14]
14,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 47:[44, 88], Operations: ['40+19=59', '29+59=88']
Exploring Operation: 44*88=3872, Resulting Numbers: [3872]
3872,47 unequal: No Solution
Exploring Operation: 88-44=44, Resulting Numbers: [44]
44,47 unequal: No Solution
Exploring Operation: 88/44=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 44+88=132, Resulting Numbers: [132]
132,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 47:[59, 15], Operations: ['40+19=59', '44-29=15']
Exploring Operation: 59*15=885, Resulting Numbers: [885]
885,47 unequal: No Solution
Exploring Operation: 59-15=44, Resulting Numbers: [44]
44,47 unequal: No Solution
Exploring Operation: 59+15=74, Resulting Numbers: [74]
74,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[40, 29, 63], Operations: ['44+19=63']
Exploring Operation: 63-40=23, Resulting Numbers: [29, 23]
Generated Node #0,3,0: 47:[29, 23] Operation: 63-40=23
Exploring Operation: 40+29=69, Resulting Numbers: [63, 69]
Generated Node #0,3,1: 47:[63, 69] Operation: 40+29=69
Exploring Operation: 63-29=34, Resulting Numbers: [40, 34]
Generated Node #0,3,2: 47:[40, 34] Operation: 63-29=34
Exploring Operation: 40-29=11, Resulting Numbers: [63, 11]
Generated Node #0,3,3: 47:[63, 11] Operation: 40-29=11
Moving to Node #0,3,2
Current State: 47:[40, 34], Operations: ['44+19=63', '63-29=34']
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 40*34=1360, Resulting Numbers: [1360]
1360,47 unequal: No Solution
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[63, 69], Operations: ['44+19=63', '40+29=69']
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 63+69=132, Resulting Numbers: [132]
132,47 unequal: No Solution
Exploring Operation: 63*69=4347, Resulting Numbers: [4347]
4347,47 unequal: No Solution
Moving to Node #0,3,0
Current State: 47:[29, 23], Operations: ['44+19=63', '63-40=23']
Exploring Operation: 29*23=667, Resulting Numbers: [667]
667,47 unequal: No Solution
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[63, 11], Operations: ['44+19=63', '40-29=11']
Exploring Operation: 63+11=74, Resulting Numbers: [74]
74,47 unequal: No Solution
Exploring Operation: 63*11=693, Resulting Numbers: [693]
693,47 unequal: No Solution
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[44, 29, 21], Operations: ['40-19=21']
Exploring Operation: 44+21=65, Resulting Numbers: [29, 65]
Generated Node #0,0,0: 47:[29, 65] Operation: 44+21=65
Exploring Operation: 44-21=23, Resulting Numbers: [29, 23]
Generated Node #0,0,1: 47:[29, 23] Operation: 44-21=23
Exploring Operation: 29-21=8, Resulting Numbers: [44, 8]
Generated Node #0,0,2: 47:[44, 8] Operation: 29-21=8
Exploring Operation: 29+21=50, Resulting Numbers: [44, 50]
Generated Node #0,0,3: 47:[44, 50] Operation: 29+21=50
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 47:[44, 50], Operations: ['40-19=21', '29+21=50']
Exploring Operation: 44+50=94, Resulting Numbers: [94]
94,47 unequal: No Solution
Exploring Operation: 50-44=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 44*50=2200, Resulting Numbers: [2200]
2200,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[29, 65], Operations: ['40-19=21', '44+21=65']
Exploring Operation: 29+65=94, Resulting Numbers: [94]
94,47 unequal: No Solution
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,47 unequal: No Solution
Exploring Operation: 29*65=1885, Resulting Numbers: [1885]
1885,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[29, 23], Operations: ['40-19=21', '44-21=23']
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 29*23=667, Resulting Numbers: [667]
667,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[44, 8], Operations: ['40-19=21', '29-21=8']
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,47 unequal: No Solution
Exploring Operation: 44*8=352, Resulting Numbers: [352]
352,47 unequal: No Solution
Exploring Operation: 44+8=52, Resulting Numbers: [52]
52,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
35,
8,
45,
37
] | 43 | [
"45-35=10",
"8*10=80",
"80-37=43"
] | Current State: 43:[35, 8, 45, 37], Operations: []
Exploring Operation: 45-35=10, Resulting Numbers: [8, 37, 10]
Generated Node #2: [8, 37, 10] from Operation: 45-35=10
Current State: 43:[8, 37, 10], Operations: ['45-35=10']
Exploring Operation: 8*10=80, Resulting Numbers: [37, 80]
Generated Node #3: [37, 80] from Operation: 8*10=80
Current State: 43:[37, 80], Operations: ['45-35=10', '8*10=80']
Exploring Operation: 80-37=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[35, 8, 45, 37], Operations: []
Exploring Operation: 8+37=45, Resulting Numbers: [35, 45, 45]
Generated Node #0,0: 43:[35, 45, 45] Operation: 8+37=45
Exploring Operation: 35+8=43, Resulting Numbers: [45, 37, 43]
Generated Node #0,1: 43:[45, 37, 43] Operation: 35+8=43
Moving to Node #0,1
Current State: 43:[45, 37, 43], Operations: ['35+8=43']
Exploring Operation: 45+37=82, Resulting Numbers: [43, 82]
Generated Node #0,1,0: 43:[43, 82] Operation: 45+37=82
Exploring Operation: 45-37=8, Resulting Numbers: [43, 8]
Generated Node #0,1,1: 43:[43, 8] Operation: 45-37=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[43, 8], Operations: ['35+8=43', '45-37=8']
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Exploring Operation: 43+8=51, Resulting Numbers: [51]
51,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[43, 82], Operations: ['35+8=43', '45+37=82']
Exploring Operation: 43+82=125, Resulting Numbers: [125]
125,43 unequal: No Solution
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,43 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: 43:[35, 45, 45], Operations: ['8+37=45']
Exploring Operation: 45-35=10, Resulting Numbers: [45, 10]
Generated Node #0,0,0: 43:[45, 10] Operation: 45-35=10
Exploring Operation: 45-35=10, Resulting Numbers: [45, 10]
Generated Node #0,0,1: 43:[45, 10] Operation: 45-35=10
Moving to Node #0,0,0
Current State: 43:[45, 10], Operations: ['8+37=45', '45-35=10']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[45, 10], Operations: ['8+37=45', '45-35=10']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,43 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
57,
48,
97,
74
] | 82 | [
"57+48=105",
"97-74=23",
"105-23=82"
] | Current State: 82:[57, 48, 97, 74], Operations: []
Exploring Operation: 57+48=105, Resulting Numbers: [97, 74, 105]
Generated Node #2: [97, 74, 105] from Operation: 57+48=105
Current State: 82:[97, 74, 105], Operations: ['57+48=105']
Exploring Operation: 97-74=23, Resulting Numbers: [105, 23]
Generated Node #3: [105, 23] from Operation: 97-74=23
Current State: 82:[105, 23], Operations: ['57+48=105', '97-74=23']
Exploring Operation: 105-23=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[57, 48, 97, 74], Operations: []
Exploring Operation: 97-57=40, Resulting Numbers: [48, 74, 40]
Generated Node #0,0: 82:[48, 74, 40] Operation: 97-57=40
Exploring Operation: 74-57=17, Resulting Numbers: [48, 97, 17]
Generated Node #0,1: 82:[48, 97, 17] Operation: 74-57=17
Exploring Operation: 57-48=9, Resulting Numbers: [97, 74, 9]
Generated Node #0,2: 82:[97, 74, 9] Operation: 57-48=9
Exploring Operation: 97-48=49, Resulting Numbers: [57, 74, 49]
Generated Node #0,3: 82:[57, 74, 49] Operation: 97-48=49
Moving to Node #0,0
Current State: 82:[48, 74, 40], Operations: ['97-57=40']
Exploring Operation: 48-40=8, Resulting Numbers: [74, 8]
Generated Node #0,0,0: 82:[74, 8] Operation: 48-40=8
Exploring Operation: 74-48=26, Resulting Numbers: [40, 26]
Generated Node #0,0,1: 82:[40, 26] Operation: 74-48=26
Exploring Operation: 48+40=88, Resulting Numbers: [74, 88]
Generated Node #0,0,2: 82:[74, 88] Operation: 48+40=88
Exploring Operation: 74-40=34, Resulting Numbers: [48, 34]
Generated Node #0,0,3: 82:[48, 34] Operation: 74-40=34
Moving to Node #0,2
Current State: 82:[97, 74, 9], Operations: ['57-48=9']
Exploring Operation: 97-74=23, Resulting Numbers: [9, 23]
Generated Node #0,2,0: 82:[9, 23] Operation: 97-74=23
Exploring Operation: 74+9=83, Resulting Numbers: [97, 83]
Generated Node #0,2,1: 82:[97, 83] Operation: 74+9=83
Exploring Operation: 97-9=88, Resulting Numbers: [74, 88]
Generated Node #0,2,2: 82:[74, 88] Operation: 97-9=88
Exploring Operation: 97+9=106, Resulting Numbers: [74, 106]
Generated Node #0,2,3: 82:[74, 106] Operation: 97+9=106
Moving to Node #0,3
Current State: 82:[57, 74, 49], Operations: ['97-48=49']
Exploring Operation: 74-57=17, Resulting Numbers: [49, 17]
Generated Node #0,3,0: 82:[49, 17] Operation: 74-57=17
Exploring Operation: 74-49=25, Resulting Numbers: [57, 25]
Generated Node #0,3,1: 82:[57, 25] Operation: 74-49=25
Exploring Operation: 57-49=8, Resulting Numbers: [74, 8]
Generated Node #0,3,2: 82:[74, 8] Operation: 57-49=8
Exploring Operation: 57+49=106, Resulting Numbers: [74, 106]
Generated Node #0,3,3: 82:[74, 106] Operation: 57+49=106
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 82:[74, 8], Operations: ['97-48=49', '57-49=8']
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,82 unequal: No Solution
Exploring Operation: 74*8=592, Resulting Numbers: [592]
592,82 unequal: No Solution
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[57, 48, 97, 74], Operations: []
Exploring Operation: 97-48=49, Resulting Numbers: [57, 74, 49]
Generated Node #0,3: 82:[57, 74, 49] Operation: 97-48=49
Moving to Node #0,3
Current State: 82:[57, 74, 49], Operations: ['97-48=49']
Exploring Operation: 57-49=8, Resulting Numbers: [74, 8]
Generated Node #0,3,2: 82:[74, 8] Operation: 57-49=8
Moving to Node #0,3,2
Current State: 82:[74, 8], Operations: ['97-48=49', '57-49=8']
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | mult_heuristic |
[
3,
39,
39,
5
] | 12 | [
"39/39=1",
"5-1=4",
"3*4=12"
] | Current State: 12:[3, 39, 39, 5], Operations: []
Exploring Operation: 39/39=1, Resulting Numbers: [3, 5, 1]
Generated Node #2: [3, 5, 1] from Operation: 39/39=1
Current State: 12:[3, 5, 1], Operations: ['39/39=1']
Exploring Operation: 5-1=4, Resulting Numbers: [3, 4]
Generated Node #3: [3, 4] from Operation: 5-1=4
Current State: 12:[3, 4], Operations: ['39/39=1', '5-1=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[3, 39, 39, 5], Operations: []
Exploring Operation: 39-39=0, Resulting Numbers: [3, 5, 0]
Generated Node #0,0: 12:[3, 5, 0] Operation: 39-39=0
Exploring Operation: 39/3=13, Resulting Numbers: [39, 5, 13]
Generated Node #0,1: 12:[39, 5, 13] Operation: 39/3=13
Exploring Operation: 39-5=34, Resulting Numbers: [3, 39, 34]
Generated Node #0,2: 12:[3, 39, 34] Operation: 39-5=34
Exploring Operation: 39/3=13, Resulting Numbers: [39, 5, 13]
Generated Node #0,3: 12:[39, 5, 13] Operation: 39/3=13
Exploring Operation: 39/39=1, Resulting Numbers: [3, 5, 1]
Generated Node #0,4: 12:[3, 5, 1] Operation: 39/39=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 12:[3, 5, 1], Operations: ['39/39=1']
Exploring Operation: 3*1=3, Resulting Numbers: [5, 3]
Generated Node #0,4,0: 12:[5, 3] Operation: 3*1=3
Exploring Operation: 5+1=6, Resulting Numbers: [3, 6]
Generated Node #0,4,1: 12:[3, 6] Operation: 5+1=6
Exploring Operation: 3+1=4, Resulting Numbers: [5, 4]
Generated Node #0,4,2: 12:[5, 4] Operation: 3+1=4
Exploring Operation: 5-3=2, Resulting Numbers: [1, 2]
Generated Node #0,4,3: 12:[1, 2] Operation: 5-3=2
Exploring Operation: 5-1=4, Resulting Numbers: [3, 4]
Generated Node #0,4,4: 12:[3, 4] Operation: 5-1=4
Moving to Node #0,4,1
Current State: 12:[3, 6], Operations: ['39/39=1', '5+1=6']
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Moving to Node #0,4,4
Current State: 12:[3, 4], Operations: ['39/39=1', '5-1=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[3, 39, 39, 5], Operations: []
Exploring Operation: 39/39=1, Resulting Numbers: [3, 5, 1]
Generated Node #0,4: 12:[3, 5, 1] Operation: 39/39=1
Moving to Node #0,4
Current State: 12:[3, 5, 1], Operations: ['39/39=1']
Exploring Operation: 5-1=4, Resulting Numbers: [3, 4]
Generated Node #0,4,4: 12:[3, 4] Operation: 5-1=4
Moving to Node #0,4,4
Current State: 12:[3, 4], Operations: ['39/39=1', '5-1=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
94,
32,
39,
37
] | 90 | [
"94*37=3478",
"32+3478=3510",
"3510/39=90"
] | Current State: 90:[94, 32, 39, 37], Operations: []
Exploring Operation: 94*37=3478, Resulting Numbers: [32, 39, 3478]
Generated Node #2: [32, 39, 3478] from Operation: 94*37=3478
Current State: 90:[32, 39, 3478], Operations: ['94*37=3478']
Exploring Operation: 32+3478=3510, Resulting Numbers: [39, 3510]
Generated Node #3: [39, 3510] from Operation: 32+3478=3510
Current State: 90:[39, 3510], Operations: ['94*37=3478', '32+3478=3510']
Exploring Operation: 3510/39=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[94, 32, 39, 37], Operations: []
Exploring Operation: 37-32=5, Resulting Numbers: [94, 39, 5]
Generated Node #0,0: 90:[94, 39, 5] Operation: 37-32=5
Exploring Operation: 39-37=2, Resulting Numbers: [94, 32, 2]
Generated Node #0,1: 90:[94, 32, 2] Operation: 39-37=2
Exploring Operation: 39-32=7, Resulting Numbers: [94, 37, 7]
Generated Node #0,2: 90:[94, 37, 7] Operation: 39-32=7
Exploring Operation: 94-37=57, Resulting Numbers: [32, 39, 57]
Generated Node #0,3: 90:[32, 39, 57] Operation: 94-37=57
Exploring Operation: 94-39=55, Resulting Numbers: [32, 37, 55]
Generated Node #0,4: 90:[32, 37, 55] Operation: 94-39=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[94, 32, 2], Operations: ['39-37=2']
Exploring Operation: 94-2=92, Resulting Numbers: [32, 92]
Generated Node #0,1,0: 90:[32, 92] Operation: 94-2=92
Exploring Operation: 94+2=96, Resulting Numbers: [32, 96]
Generated Node #0,1,1: 90:[32, 96] Operation: 94+2=96
Exploring Operation: 32-2=30, Resulting Numbers: [94, 30]
Generated Node #0,1,2: 90:[94, 30] Operation: 32-2=30
Exploring Operation: 32/2=16, Resulting Numbers: [94, 16]
Generated Node #0,1,3: 90:[94, 16] Operation: 32/2=16
Exploring Operation: 94/2=47, Resulting Numbers: [32, 47]
Generated Node #0,1,4: 90:[32, 47] Operation: 94/2=47
Moving to Node #0,1,0
Current State: 90:[32, 92], Operations: ['39-37=2', '94-2=92']
Exploring Operation: 32+92=124, Resulting Numbers: [124]
124,90 unequal: No Solution
Exploring Operation: 32*92=2944, Resulting Numbers: [2944]
2944,90 unequal: No Solution
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,90 unequal: No Solution
Moving to Node #0,1,4
Current State: 90:[32, 47], Operations: ['39-37=2', '94/2=47']
Exploring Operation: 32+47=79, Resulting Numbers: [79]
79,90 unequal: No Solution
Exploring Operation: 32*47=1504, Resulting Numbers: [1504]
1504,90 unequal: No Solution
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[94, 30], Operations: ['39-37=2', '32-2=30']
Exploring Operation: 94-30=64, Resulting Numbers: [64]
64,90 unequal: No Solution
Exploring Operation: 94*30=2820, Resulting Numbers: [2820]
2820,90 unequal: No Solution
Exploring Operation: 94+30=124, Resulting Numbers: [124]
124,90 unequal: No Solution
Moving to Node #0,1,3
Current State: 90:[94, 16], Operations: ['39-37=2', '32/2=16']
Exploring Operation: 94-16=78, Resulting Numbers: [78]
78,90 unequal: No Solution
Exploring Operation: 94*16=1504, Resulting Numbers: [1504]
1504,90 unequal: No Solution
Exploring Operation: 94+16=110, Resulting Numbers: [110]
110,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[32, 96], Operations: ['39-37=2', '94+2=96']
Exploring Operation: 96-32=64, Resulting Numbers: [64]
64,90 unequal: No Solution
Exploring Operation: 32+96=128, Resulting Numbers: [128]
128,90 unequal: No Solution
Exploring Operation: 32*96=3072, Resulting Numbers: [3072]
3072,90 unequal: No Solution
Exploring Operation: 96/32=3, Resulting Numbers: [3]
3,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[94, 39, 5], Operations: ['37-32=5']
Exploring Operation: 94+5=99, Resulting Numbers: [39, 99]
Generated Node #0,0,0: 90:[39, 99] Operation: 94+5=99
Exploring Operation: 39+5=44, Resulting Numbers: [94, 44]
Generated Node #0,0,1: 90:[94, 44] Operation: 39+5=44
Exploring Operation: 39-5=34, Resulting Numbers: [94, 34]
Generated Node #0,0,2: 90:[94, 34] Operation: 39-5=34
Exploring Operation: 94-39=55, Resulting Numbers: [5, 55]
Generated Node #0,0,3: 90:[5, 55] Operation: 94-39=55
Exploring Operation: 94-5=89, Resulting Numbers: [39, 89]
Generated Node #0,0,4: 90:[39, 89] Operation: 94-5=89
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[94, 44], Operations: ['37-32=5', '39+5=44']
Exploring Operation: 94*44=4136, Resulting Numbers: [4136]
4136,90 unequal: No Solution
Exploring Operation: 94+44=138, Resulting Numbers: [138]
138,90 unequal: No Solution
Exploring Operation: 94-44=50, Resulting Numbers: [50]
50,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,4
Current State: 90:[39, 89], Operations: ['37-32=5', '94-5=89']
Exploring Operation: 39+89=128, Resulting Numbers: [128]
128,90 unequal: No Solution
Exploring Operation: 39*89=3471, Resulting Numbers: [3471]
3471,90 unequal: No Solution
Exploring Operation: 89-39=50, Resulting Numbers: [50]
50,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:[94, 34], Operations: ['37-32=5', '39-5=34']
Exploring Operation: 94-34=60, Resulting Numbers: [60]
60,90 unequal: No Solution
Exploring Operation: 94*34=3196, Resulting Numbers: [3196]
3196,90 unequal: No Solution
Exploring Operation: 94+34=128, Resulting Numbers: [128]
128,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 90:[5, 55], Operations: ['37-32=5', '94-39=55']
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 5+55=60, Resulting Numbers: [60]
60,90 unequal: No Solution
Exploring Operation: 5*55=275, Resulting Numbers: [275]
275,90 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,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:[39, 99], Operations: ['37-32=5', '94+5=99']
Exploring Operation: 39+99=138, Resulting Numbers: [138]
138,90 unequal: No Solution
Exploring Operation: 39*99=3861, Resulting Numbers: [3861]
3861,90 unequal: No Solution
Exploring Operation: 99-39=60, Resulting Numbers: [60]
60,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[94, 37, 7], Operations: ['39-32=7']
Exploring Operation: 94+7=101, Resulting Numbers: [37, 101]
Generated Node #0,2,0: 90:[37, 101] Operation: 94+7=101
Exploring Operation: 37+7=44, Resulting Numbers: [94, 44]
Generated Node #0,2,1: 90:[94, 44] Operation: 37+7=44
Exploring Operation: 37-7=30, Resulting Numbers: [94, 30]
Generated Node #0,2,2: 90:[94, 30] Operation: 37-7=30
Exploring Operation: 94-37=57, Resulting Numbers: [7, 57]
Generated Node #0,2,3: 90:[7, 57] Operation: 94-37=57
Exploring Operation: 94-7=87, Resulting Numbers: [37, 87]
Generated Node #0,2,4: 90:[37, 87] Operation: 94-7=87
Moving to Node #0,2,2
Current State: 90:[94, 30], Operations: ['39-32=7', '37-7=30']
Exploring Operation: 94+30=124, Resulting Numbers: [124]
124,90 unequal: No Solution
Exploring Operation: 94-30=64, Resulting Numbers: [64]
64,90 unequal: No Solution
Exploring Operation: 94*30=2820, Resulting Numbers: [2820]
2820,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[94, 44], Operations: ['39-32=7', '37+7=44']
Exploring Operation: 94-44=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 94*44=4136, Resulting Numbers: [4136]
4136,90 unequal: No Solution
Exploring Operation: 94+44=138, Resulting Numbers: [138]
138,90 unequal: No Solution
Moving to Node #0,2,4
Current State: 90:[37, 87], Operations: ['39-32=7', '94-7=87']
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 37+87=124, Resulting Numbers: [124]
124,90 unequal: No Solution
Exploring Operation: 37*87=3219, Resulting Numbers: [3219]
3219,90 unequal: No Solution
Moving to Node #0,2,3
Current State: 90:[7, 57], Operations: ['39-32=7', '94-37=57']
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 7+57=64, Resulting Numbers: [64]
64,90 unequal: No Solution
Exploring Operation: 7*57=399, Resulting Numbers: [399]
399,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[37, 101], Operations: ['39-32=7', '94+7=101']
Exploring Operation: 37*101=3737, Resulting Numbers: [3737]
3737,90 unequal: No Solution
Exploring Operation: 101-37=64, Resulting Numbers: [64]
64,90 unequal: No Solution
Exploring Operation: 37+101=138, Resulting Numbers: [138]
138,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
Current State: 90:[32, 37, 55], Operations: ['94-39=55']
Exploring Operation: 55-37=18, Resulting Numbers: [32, 18]
Generated Node #0,4,0: 90:[32, 18] Operation: 55-37=18
Exploring Operation: 37-32=5, Resulting Numbers: [55, 5]
Generated Node #0,4,1: 90:[55, 5] Operation: 37-32=5
Exploring Operation: 32+55=87, Resulting Numbers: [37, 87]
Generated Node #0,4,2: 90:[37, 87] Operation: 32+55=87
Exploring Operation: 37+55=92, Resulting Numbers: [32, 92]
Generated Node #0,4,3: 90:[32, 92] Operation: 37+55=92
Exploring Operation: 55-32=23, Resulting Numbers: [37, 23]
Generated Node #0,4,4: 90:[37, 23] Operation: 55-32=23
Moving to Node #0,4,0
Current State: 90:[32, 18], Operations: ['94-39=55', '55-37=18']
Exploring Operation: 32*18=576, Resulting Numbers: [576]
576,90 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Moving to Node #0,4,3
Current State: 90:[32, 92], Operations: ['94-39=55', '37+55=92']
Exploring Operation: 32+92=124, Resulting Numbers: [124]
124,90 unequal: No Solution
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,90 unequal: No Solution
Exploring Operation: 32*92=2944, Resulting Numbers: [2944]
2944,90 unequal: No Solution
Moving to Node #0,4,1
Current State: 90:[55, 5], Operations: ['94-39=55', '37-32=5']
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,90 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 55*5=275, Resulting Numbers: [275]
275,90 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Moving to Node #0,4,2
Current State: 90:[37, 87], Operations: ['94-39=55', '32+55=87']
Exploring Operation: 37+87=124, Resulting Numbers: [124]
124,90 unequal: No Solution
Exploring Operation: 37*87=3219, Resulting Numbers: [3219]
3219,90 unequal: No Solution
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Moving to Node #0,4,4
Current State: 90:[37, 23], Operations: ['94-39=55', '55-32=23']
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 37+23=60, Resulting Numbers: [60]
60,90 unequal: No Solution
Exploring Operation: 37*23=851, Resulting Numbers: [851]
851,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[32, 39, 57], Operations: ['94-37=57']
Exploring Operation: 57-39=18, Resulting Numbers: [32, 18]
Generated Node #0,3,0: 90:[32, 18] Operation: 57-39=18
Exploring Operation: 57-32=25, Resulting Numbers: [39, 25]
Generated Node #0,3,1: 90:[39, 25] Operation: 57-32=25
Exploring Operation: 39+57=96, Resulting Numbers: [32, 96]
Generated Node #0,3,2: 90:[32, 96] Operation: 39+57=96
Exploring Operation: 39-32=7, Resulting Numbers: [57, 7]
Generated Node #0,3,3: 90:[57, 7] Operation: 39-32=7
Exploring Operation: 32+57=89, Resulting Numbers: [39, 89]
Generated Node #0,3,4: 90:[39, 89] Operation: 32+57=89
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 90:[32, 18], Operations: ['94-37=57', '57-39=18']
Exploring Operation: 32*18=576, Resulting Numbers: [576]
576,90 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 90:[39, 89], Operations: ['94-37=57', '32+57=89']
Exploring Operation: 39+89=128, Resulting Numbers: [128]
128,90 unequal: No Solution
Exploring Operation: 39*89=3471, Resulting Numbers: [3471]
3471,90 unequal: No Solution
Exploring Operation: 89-39=50, Resulting Numbers: [50]
50,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 90:[32, 96], Operations: ['94-37=57', '39+57=96']
Exploring Operation: 96/32=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 96-32=64, Resulting Numbers: [64]
64,90 unequal: No Solution
Exploring Operation: 32+96=128, Resulting Numbers: [128]
128,90 unequal: No Solution
Exploring Operation: 32*96=3072, Resulting Numbers: [3072]
3072,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 90:[39, 25], Operations: ['94-37=57', '57-32=25']
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,90 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 90:[57, 7], Operations: ['94-37=57', '39-32=7']
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 57+7=64, Resulting Numbers: [64]
64,90 unequal: No Solution
Exploring Operation: 57*7=399, Resulting Numbers: [399]
399,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
26,
7,
11,
53
] | 75 | [
"26+7=33",
"53-11=42",
"33+42=75"
] | Current State: 75:[26, 7, 11, 53], Operations: []
Exploring Operation: 26+7=33, Resulting Numbers: [11, 53, 33]
Generated Node #2: [11, 53, 33] from Operation: 26+7=33
Current State: 75:[11, 53, 33], Operations: ['26+7=33']
Exploring Operation: 53-11=42, Resulting Numbers: [33, 42]
Generated Node #3: [33, 42] from Operation: 53-11=42
Current State: 75:[33, 42], Operations: ['26+7=33', '53-11=42']
Exploring Operation: 33+42=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[26, 7, 11, 53], Operations: []
Exploring Operation: 26+53=79, Resulting Numbers: [7, 11, 79]
Generated Node #0,0: 75:[7, 11, 79] Operation: 26+53=79
Exploring Operation: 11+53=64, Resulting Numbers: [26, 7, 64]
Generated Node #0,1: 75:[26, 7, 64] Operation: 11+53=64
Exploring Operation: 53-26=27, Resulting Numbers: [7, 11, 27]
Generated Node #0,2: 75:[7, 11, 27] Operation: 53-26=27
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[7, 11, 27], Operations: ['53-26=27']
Exploring Operation: 27-11=16, Resulting Numbers: [7, 16]
Generated Node #0,2,0: 75:[7, 16] Operation: 27-11=16
Exploring Operation: 7*11=77, Resulting Numbers: [27, 77]
Generated Node #0,2,1: 75:[27, 77] Operation: 7*11=77
Exploring Operation: 11-7=4, Resulting Numbers: [27, 4]
Generated Node #0,2,2: 75:[27, 4] Operation: 11-7=4
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 75:[7, 16], Operations: ['53-26=27', '27-11=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,75 unequal: No Solution
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,75 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 75:[27, 4], Operations: ['53-26=27', '11-7=4']
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,75 unequal: No Solution
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 75:[27, 77], Operations: ['53-26=27', '7*11=77']
Exploring Operation: 27+77=104, Resulting Numbers: [104]
104,75 unequal: No Solution
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,75 unequal: No Solution
Exploring Operation: 27*77=2079, Resulting Numbers: [2079]
2079,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:[7, 11, 79], Operations: ['26+53=79']
Exploring Operation: 7+11=18, Resulting Numbers: [79, 18]
Generated Node #0,0,0: 75:[79, 18] Operation: 7+11=18
Exploring Operation: 11-7=4, Resulting Numbers: [79, 4]
Generated Node #0,0,1: 75:[79, 4] Operation: 11-7=4
Exploring Operation: 7*11=77, Resulting Numbers: [79, 77]
Generated Node #0,0,2: 75:[79, 77] Operation: 7*11=77
Moving to Node #0,0,1
Current State: 75:[79, 4], Operations: ['26+53=79', '11-7=4']
Exploring Operation: 79*4=316, Resulting Numbers: [316]
316,75 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[26, 7, 11, 53], Operations: []
Exploring Operation: 26+53=79, Resulting Numbers: [7, 11, 79]
Generated Node #0,0: 75:[7, 11, 79] Operation: 26+53=79
Moving to Node #0,0
Current State: 75:[7, 11, 79], Operations: ['26+53=79']
Exploring Operation: 11-7=4, Resulting Numbers: [79, 4]
Generated Node #0,0,1: 75:[79, 4] Operation: 11-7=4
Moving to Node #0,0,1
Current State: 75:[79, 4], Operations: ['26+53=79', '11-7=4']
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
56,
15,
6,
72
] | 40 | [
"72-56=16",
"15*16=240",
"240/6=40"
] | Current State: 40:[56, 15, 6, 72], Operations: []
Exploring Operation: 72-56=16, Resulting Numbers: [15, 6, 16]
Generated Node #2: [15, 6, 16] from Operation: 72-56=16
Current State: 40:[15, 6, 16], Operations: ['72-56=16']
Exploring Operation: 15*16=240, Resulting Numbers: [6, 240]
Generated Node #3: [6, 240] from Operation: 15*16=240
Current State: 40:[6, 240], Operations: ['72-56=16', '15*16=240']
Exploring Operation: 240/6=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[56, 15, 6, 72], Operations: []
Exploring Operation: 72-56=16, Resulting Numbers: [15, 6, 16]
Generated Node #0,0: 40:[15, 6, 16] Operation: 72-56=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[15, 6, 16], Operations: ['72-56=16']
Exploring Operation: 16-15=1, Resulting Numbers: [6, 1]
Generated Node #0,0,0: 40:[6, 1] Operation: 16-15=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[6, 1], Operations: ['72-56=16', '16-15=1']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
94,
47,
37,
13
] | 36 | [
"47-37=10",
"13*10=130",
"130-94=36"
] | Current State: 36:[94, 47, 37, 13], Operations: []
Exploring Operation: 47-37=10, Resulting Numbers: [94, 13, 10]
Generated Node #2: [94, 13, 10] from Operation: 47-37=10
Current State: 36:[94, 13, 10], Operations: ['47-37=10']
Exploring Operation: 13*10=130, Resulting Numbers: [94, 130]
Generated Node #3: [94, 130] from Operation: 13*10=130
Current State: 36:[94, 130], Operations: ['47-37=10', '13*10=130']
Exploring Operation: 130-94=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[94, 47, 37, 13], Operations: []
Exploring Operation: 94/47=2, Resulting Numbers: [37, 13, 2]
Generated Node #0,0: 36:[37, 13, 2] Operation: 94/47=2
Exploring Operation: 94-37=57, Resulting Numbers: [47, 13, 57]
Generated Node #0,1: 36:[47, 13, 57] Operation: 94-37=57
Exploring Operation: 94-47=47, Resulting Numbers: [37, 13, 47]
Generated Node #0,2: 36:[37, 13, 47] Operation: 94-47=47
Exploring Operation: 94-13=81, Resulting Numbers: [47, 37, 81]
Generated Node #0,3: 36:[47, 37, 81] Operation: 94-13=81
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[37, 13, 2], Operations: ['94/47=2']
Exploring Operation: 37-2=35, Resulting Numbers: [13, 35]
Generated Node #0,0,0: 36:[13, 35] Operation: 37-2=35
Exploring Operation: 13+2=15, Resulting Numbers: [37, 15]
Generated Node #0,0,1: 36:[37, 15] Operation: 13+2=15
Exploring Operation: 13-2=11, Resulting Numbers: [37, 11]
Generated Node #0,0,2: 36:[37, 11] Operation: 13-2=11
Exploring Operation: 37+2=39, Resulting Numbers: [13, 39]
Generated Node #0,0,3: 36:[13, 39] Operation: 37+2=39
Moving to Node #0,0,0
Current State: 36:[13, 35], Operations: ['94/47=2', '37-2=35']
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,36 unequal: No Solution
Exploring Operation: 13+35=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 13*35=455, Resulting Numbers: [455]
455,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[37, 11], Operations: ['94/47=2', '13-2=11']
Exploring Operation: 37+11=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 37*11=407, Resulting Numbers: [407]
407,36 unequal: No Solution
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Moving to Node #0,0,3
Current State: 36:[13, 39], Operations: ['94/47=2', '37+2=39']
Exploring Operation: 13+39=52, Resulting Numbers: [52]
52,36 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 13*39=507, Resulting Numbers: [507]
507,36 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[37, 15], Operations: ['94/47=2', '13+2=15']
Exploring Operation: 37-15=22, Resulting Numbers: [22]
22,36 unequal: No Solution
Exploring Operation: 37*15=555, Resulting Numbers: [555]
555,36 unequal: No Solution
Exploring Operation: 37+15=52, Resulting Numbers: [52]
52,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[37, 13, 47], Operations: ['94-47=47']
Exploring Operation: 37+13=50, Resulting Numbers: [47, 50]
Generated Node #0,2,0: 36:[47, 50] Operation: 37+13=50
Exploring Operation: 47-37=10, Resulting Numbers: [13, 10]
Generated Node #0,2,1: 36:[13, 10] Operation: 47-37=10
Exploring Operation: 47-13=34, Resulting Numbers: [37, 34]
Generated Node #0,2,2: 36:[37, 34] Operation: 47-13=34
Exploring Operation: 37-13=24, Resulting Numbers: [47, 24]
Generated Node #0,2,3: 36:[47, 24] Operation: 37-13=24
Moving to Node #0,2,1
Current State: 36:[13, 10], Operations: ['94-47=47', '47-37=10']
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,36 unequal: No Solution
Exploring Operation: 13*10=130, Resulting Numbers: [130]
130,36 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[37, 34], Operations: ['94-47=47', '47-13=34']
Exploring Operation: 37+34=71, Resulting Numbers: [71]
71,36 unequal: No Solution
Exploring Operation: 37*34=1258, Resulting Numbers: [1258]
1258,36 unequal: No Solution
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Moving to Node #0,2,3
Current State: 36:[47, 24], Operations: ['94-47=47', '37-13=24']
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,36 unequal: No Solution
Exploring Operation: 47+24=71, Resulting Numbers: [71]
71,36 unequal: No Solution
Exploring Operation: 47*24=1128, Resulting Numbers: [1128]
1128,36 unequal: No Solution
Moving to Node #0,2,0
Current State: 36:[47, 50], Operations: ['94-47=47', '37+13=50']
Exploring Operation: 50-47=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 47*50=2350, Resulting Numbers: [2350]
2350,36 unequal: No Solution
Exploring Operation: 47+50=97, Resulting Numbers: [97]
97,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[47, 13, 57], Operations: ['94-37=57']
Exploring Operation: 47-13=34, Resulting Numbers: [57, 34]
Generated Node #0,1,0: 36:[57, 34] Operation: 47-13=34
Exploring Operation: 57-47=10, Resulting Numbers: [13, 10]
Generated Node #0,1,1: 36:[13, 10] Operation: 57-47=10
Exploring Operation: 47+13=60, Resulting Numbers: [57, 60]
Generated Node #0,1,2: 36:[57, 60] Operation: 47+13=60
Exploring Operation: 57-13=44, Resulting Numbers: [47, 44]
Generated Node #0,1,3: 36:[47, 44] Operation: 57-13=44
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 36:[13, 10], Operations: ['94-37=57', '57-47=10']
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,36 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 13*10=130, Resulting Numbers: [130]
130,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 36:[47, 44], Operations: ['94-37=57', '57-13=44']
Exploring Operation: 47+44=91, Resulting Numbers: [91]
91,36 unequal: No Solution
Exploring Operation: 47-44=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 47*44=2068, Resulting Numbers: [2068]
2068,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[57, 34], Operations: ['94-37=57', '47-13=34']
Exploring Operation: 57-34=23, Resulting Numbers: [23]
23,36 unequal: No Solution
Exploring Operation: 57*34=1938, Resulting Numbers: [1938]
1938,36 unequal: No Solution
Exploring Operation: 57+34=91, Resulting Numbers: [91]
91,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 36:[57, 60], Operations: ['94-37=57', '47+13=60']
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 57*60=3420, Resulting Numbers: [3420]
3420,36 unequal: No Solution
Exploring Operation: 57+60=117, Resulting Numbers: [117]
117,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[47, 37, 81], Operations: ['94-13=81']
Exploring Operation: 81-47=34, Resulting Numbers: [37, 34]
Generated Node #0,3,0: 36:[37, 34] Operation: 81-47=34
Exploring Operation: 47+37=84, Resulting Numbers: [81, 84]
Generated Node #0,3,1: 36:[81, 84] Operation: 47+37=84
Exploring Operation: 47-37=10, Resulting Numbers: [81, 10]
Generated Node #0,3,2: 36:[81, 10] Operation: 47-37=10
Exploring Operation: 81-37=44, Resulting Numbers: [47, 44]
Generated Node #0,3,3: 36:[47, 44] Operation: 81-37=44
Moving to Node #0,3,0
Current State: 36:[37, 34], Operations: ['94-13=81', '81-47=34']
Exploring Operation: 37*34=1258, Resulting Numbers: [1258]
1258,36 unequal: No Solution
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 37+34=71, Resulting Numbers: [71]
71,36 unequal: No Solution
Moving to Node #0,3,3
Current State: 36:[47, 44], Operations: ['94-13=81', '81-37=44']
Exploring Operation: 47*44=2068, Resulting Numbers: [2068]
2068,36 unequal: No Solution
Exploring Operation: 47-44=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 47+44=91, Resulting Numbers: [91]
91,36 unequal: No Solution
Moving to Node #0,3,2
Current State: 36:[81, 10], Operations: ['94-13=81', '47-37=10']
Exploring Operation: 81-10=71, Resulting Numbers: [71]
71,36 unequal: No Solution
Exploring Operation: 81+10=91, Resulting Numbers: [91]
91,36 unequal: No Solution
Exploring Operation: 81*10=810, Resulting Numbers: [810]
810,36 unequal: No Solution
Moving to Node #0,3,1
Current State: 36:[81, 84], Operations: ['94-13=81', '47+37=84']
Exploring Operation: 81*84=6804, Resulting Numbers: [6804]
6804,36 unequal: No Solution
Exploring Operation: 81+84=165, Resulting Numbers: [165]
165,36 unequal: No Solution
Exploring Operation: 84-81=3, Resulting Numbers: [3]
3,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
5,
94,
74,
46
] | 31 | [
"94-5=89",
"74+46=120",
"120-89=31"
] | Current State: 31:[5, 94, 74, 46], Operations: []
Exploring Operation: 94-5=89, Resulting Numbers: [74, 46, 89]
Generated Node #2: [74, 46, 89] from Operation: 94-5=89
Current State: 31:[74, 46, 89], Operations: ['94-5=89']
Exploring Operation: 74+46=120, Resulting Numbers: [89, 120]
Generated Node #3: [89, 120] from Operation: 74+46=120
Current State: 31:[89, 120], Operations: ['94-5=89', '74+46=120']
Exploring Operation: 120-89=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[5, 94, 74, 46], Operations: []
Exploring Operation: 94-74=20, Resulting Numbers: [5, 46, 20]
Generated Node #0,0: 31:[5, 46, 20] Operation: 94-74=20
Exploring Operation: 94-46=48, Resulting Numbers: [5, 74, 48]
Generated Node #0,1: 31:[5, 74, 48] Operation: 94-46=48
Moving to Node #0,0
Current State: 31:[5, 46, 20], Operations: ['94-74=20']
Exploring Operation: 5+20=25, Resulting Numbers: [46, 25]
Generated Node #0,0,0: 31:[46, 25] Operation: 5+20=25
Exploring Operation: 46-5=41, Resulting Numbers: [20, 41]
Generated Node #0,0,1: 31:[20, 41] Operation: 46-5=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[46, 25], Operations: ['94-74=20', '5+20=25']
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,31 unequal: No Solution
No 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: 31:[20, 41], Operations: ['94-74=20', '46-5=41']
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 20+41=61, Resulting Numbers: [61]
61,31 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: 31:[5, 74, 48], Operations: ['94-46=48']
Exploring Operation: 74-5=69, Resulting Numbers: [48, 69]
Generated Node #0,1,0: 31:[48, 69] Operation: 74-5=69
Exploring Operation: 74-48=26, Resulting Numbers: [5, 26]
Generated Node #0,1,1: 31:[5, 26] Operation: 74-48=26
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[5, 26], Operations: ['94-46=48', '74-48=26']
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[5, 94, 74, 46], Operations: []
Exploring Operation: 94-46=48, Resulting Numbers: [5, 74, 48]
Generated Node #0,1: 31:[5, 74, 48] Operation: 94-46=48
Moving to Node #0,1
Current State: 31:[5, 74, 48], Operations: ['94-46=48']
Exploring Operation: 74-48=26, Resulting Numbers: [5, 26]
Generated Node #0,1,1: 31:[5, 26] Operation: 74-48=26
Moving to Node #0,1,1
Current State: 31:[5, 26], Operations: ['94-46=48', '74-48=26']
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
64,
4,
80,
32
] | 72 | [
"64*4=256",
"256/32=8",
"80-8=72"
] | Current State: 72:[64, 4, 80, 32], Operations: []
Exploring Operation: 64*4=256, Resulting Numbers: [80, 32, 256]
Generated Node #2: [80, 32, 256] from Operation: 64*4=256
Current State: 72:[80, 32, 256], Operations: ['64*4=256']
Exploring Operation: 256/32=8, Resulting Numbers: [80, 8]
Generated Node #3: [80, 8] from Operation: 256/32=8
Current State: 72:[80, 8], Operations: ['64*4=256', '256/32=8']
Exploring Operation: 80-8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[64, 4, 80, 32], Operations: []
Exploring Operation: 64/4=16, Resulting Numbers: [80, 32, 16]
Generated Node #0,0: 72:[80, 32, 16] Operation: 64/4=16
Exploring Operation: 64-32=32, Resulting Numbers: [4, 80, 32]
Generated Node #0,1: 72:[4, 80, 32] Operation: 64-32=32
Exploring Operation: 64/32=2, Resulting Numbers: [4, 80, 2]
Generated Node #0,2: 72:[4, 80, 2] Operation: 64/32=2
Exploring Operation: 80-64=16, Resulting Numbers: [4, 32, 16]
Generated Node #0,3: 72:[4, 32, 16] Operation: 80-64=16
Moving to Node #0,3
Current State: 72:[4, 32, 16], Operations: ['80-64=16']
Exploring Operation: 32/16=2, Resulting Numbers: [4, 2]
Generated Node #0,3,0: 72:[4, 2] Operation: 32/16=2
Exploring Operation: 32-16=16, Resulting Numbers: [4, 16]
Generated Node #0,3,1: 72:[4, 16] Operation: 32-16=16
Exploring Operation: 4+32=36, Resulting Numbers: [16, 36]
Generated Node #0,3,2: 72:[16, 36] Operation: 4+32=36
Exploring Operation: 32/4=8, Resulting Numbers: [16, 8]
Generated Node #0,3,3: 72:[16, 8] Operation: 32/4=8
Moving to Node #0,2
Current State: 72:[4, 80, 2], Operations: ['64/32=2']
Exploring Operation: 80/2=40, Resulting Numbers: [4, 40]
Generated Node #0,2,0: 72:[4, 40] Operation: 80/2=40
Exploring Operation: 80-2=78, Resulting Numbers: [4, 78]
Generated Node #0,2,1: 72:[4, 78] Operation: 80-2=78
Exploring Operation: 80-4=76, Resulting Numbers: [2, 76]
Generated Node #0,2,2: 72:[2, 76] Operation: 80-4=76
Exploring Operation: 80/4=20, Resulting Numbers: [2, 20]
Generated Node #0,2,3: 72:[2, 20] Operation: 80/4=20
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 72:[2, 20], Operations: ['64/32=2', '80/4=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,72 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 72:[4, 40], Operations: ['64/32=2', '80/2=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 72:[2, 76], Operations: ['64/32=2', '80-4=76']
Exploring Operation: 2*76=152, Resulting Numbers: [152]
152,72 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,72 unequal: No Solution
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,72 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 72:[4, 78], Operations: ['64/32=2', '80-2=78']
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,72 unequal: No Solution
Exploring Operation: 4+78=82, Resulting Numbers: [82]
82,72 unequal: No Solution
Exploring Operation: 4*78=312, Resulting Numbers: [312]
312,72 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: 72:[4, 80, 32], Operations: ['64-32=32']
Exploring Operation: 32/4=8, Resulting Numbers: [80, 8]
Generated Node #0,1,0: 72:[80, 8] Operation: 32/4=8
Exploring Operation: 4+32=36, Resulting Numbers: [80, 36]
Generated Node #0,1,1: 72:[80, 36] Operation: 4+32=36
Exploring Operation: 80-4=76, Resulting Numbers: [32, 76]
Generated Node #0,1,2: 72:[32, 76] Operation: 80-4=76
Exploring Operation: 80/4=20, Resulting Numbers: [32, 20]
Generated Node #0,1,3: 72:[32, 20] Operation: 80/4=20
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 72:[32, 20], Operations: ['64-32=32', '80/4=20']
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 32*20=640, Resulting Numbers: [640]
640,72 unequal: No Solution
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[80, 8], Operations: ['64-32=32', '32/4=8']
Exploring Operation: 80*8=640, Resulting Numbers: [640]
640,72 unequal: No Solution
Exploring Operation: 80/8=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 80+8=88, Resulting Numbers: [88]
88,72 unequal: No Solution
Exploring Operation: 80-8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[64, 4, 80, 32], Operations: []
Exploring Operation: 64-32=32, Resulting Numbers: [4, 80, 32]
Generated Node #0,1: 72:[4, 80, 32] Operation: 64-32=32
Moving to Node #0,1
Current State: 72:[4, 80, 32], Operations: ['64-32=32']
Exploring Operation: 32/4=8, Resulting Numbers: [80, 8]
Generated Node #0,1,0: 72:[80, 8] Operation: 32/4=8
Moving to Node #0,1,0
Current State: 72:[80, 8], Operations: ['64-32=32', '32/4=8']
Exploring Operation: 80-8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_4 | sum_heuristic |
[
97,
76,
27,
4
] | 51 | [
"97-27=70",
"76/4=19",
"70-19=51"
] | Current State: 51:[97, 76, 27, 4], Operations: []
Exploring Operation: 97-27=70, Resulting Numbers: [76, 4, 70]
Generated Node #2: [76, 4, 70] from Operation: 97-27=70
Current State: 51:[76, 4, 70], Operations: ['97-27=70']
Exploring Operation: 76/4=19, Resulting Numbers: [70, 19]
Generated Node #3: [70, 19] from Operation: 76/4=19
Current State: 51:[70, 19], Operations: ['97-27=70', '76/4=19']
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[97, 76, 27, 4], Operations: []
Exploring Operation: 76/4=19, Resulting Numbers: [97, 27, 19]
Generated Node #0,0: 51:[97, 27, 19] Operation: 76/4=19
Exploring Operation: 97-76=21, Resulting Numbers: [27, 4, 21]
Generated Node #0,1: 51:[27, 4, 21] Operation: 97-76=21
Exploring Operation: 97-27=70, Resulting Numbers: [76, 4, 70]
Generated Node #0,2: 51:[76, 4, 70] Operation: 97-27=70
Exploring Operation: 97-4=93, Resulting Numbers: [76, 27, 93]
Generated Node #0,3: 51:[76, 27, 93] Operation: 97-4=93
Exploring Operation: 76-27=49, Resulting Numbers: [97, 4, 49]
Generated Node #0,4: 51:[97, 4, 49] Operation: 76-27=49
Moving to Node #0,1
Current State: 51:[27, 4, 21], Operations: ['97-76=21']
Exploring Operation: 27-21=6, Resulting Numbers: [4, 6]
Generated Node #0,1,0: 51:[4, 6] Operation: 27-21=6
Exploring Operation: 21-4=17, Resulting Numbers: [27, 17]
Generated Node #0,1,1: 51:[27, 17] Operation: 21-4=17
Exploring Operation: 27+4=31, Resulting Numbers: [21, 31]
Generated Node #0,1,2: 51:[21, 31] Operation: 27+4=31
Exploring Operation: 27-4=23, Resulting Numbers: [21, 23]
Generated Node #0,1,3: 51:[21, 23] Operation: 27-4=23
Exploring Operation: 27+21=48, Resulting Numbers: [4, 48]
Generated Node #0,1,4: 51:[4, 48] Operation: 27+21=48
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[4, 6], Operations: ['97-76=21', '27-21=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 51:[4, 48], Operations: ['97-76=21', '27+21=48']
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 4*48=192, Resulting Numbers: [192]
192,51 unequal: No Solution
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[27, 17], Operations: ['97-76=21', '21-4=17']
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,51 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 51:[21, 23], Operations: ['97-76=21', '27-4=23']
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,51 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[21, 31], Operations: ['97-76=21', '27+4=31']
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 21+31=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 21*31=651, Resulting Numbers: [651]
651,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 51:[76, 4, 70], Operations: ['97-27=70']
Exploring Operation: 76-70=6, Resulting Numbers: [4, 6]
Generated Node #0,2,0: 51:[4, 6] Operation: 76-70=6
Exploring Operation: 76+4=80, Resulting Numbers: [70, 80]
Generated Node #0,2,1: 51:[70, 80] Operation: 76+4=80
Exploring Operation: 70-4=66, Resulting Numbers: [76, 66]
Generated Node #0,2,2: 51:[76, 66] Operation: 70-4=66
Exploring Operation: 76-4=72, Resulting Numbers: [70, 72]
Generated Node #0,2,3: 51:[70, 72] Operation: 76-4=72
Exploring Operation: 76/4=19, Resulting Numbers: [70, 19]
Generated Node #0,2,4: 51:[70, 19] Operation: 76/4=19
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 51:[4, 6], Operations: ['97-27=70', '76-70=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,51 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 51:[70, 19], Operations: ['97-27=70', '76/4=19']
Exploring Operation: 70+19=89, Resulting Numbers: [89]
89,51 unequal: No Solution
Exploring Operation: 70*19=1330, Resulting Numbers: [1330]
1330,51 unequal: No Solution
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[97, 76, 27, 4], Operations: []
Exploring Operation: 97-27=70, Resulting Numbers: [76, 4, 70]
Generated Node #0,2: 51:[76, 4, 70] Operation: 97-27=70
Moving to Node #0,2
Current State: 51:[76, 4, 70], Operations: ['97-27=70']
Exploring Operation: 76/4=19, Resulting Numbers: [70, 19]
Generated Node #0,2,4: 51:[70, 19] Operation: 76/4=19
Moving to Node #0,2,4
Current State: 51:[70, 19], Operations: ['97-27=70', '76/4=19']
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
43,
84,
8,
31
] | 56 | [
"43-31=12",
"84*8=672",
"672/12=56"
] | Current State: 56:[43, 84, 8, 31], Operations: []
Exploring Operation: 43-31=12, Resulting Numbers: [84, 8, 12]
Generated Node #2: [84, 8, 12] from Operation: 43-31=12
Current State: 56:[84, 8, 12], Operations: ['43-31=12']
Exploring Operation: 84*8=672, Resulting Numbers: [12, 672]
Generated Node #3: [12, 672] from Operation: 84*8=672
Current State: 56:[12, 672], Operations: ['43-31=12', '84*8=672']
Exploring Operation: 672/12=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[43, 84, 8, 31], Operations: []
Exploring Operation: 84-31=53, Resulting Numbers: [43, 8, 53]
Generated Node #0,0: 56:[43, 8, 53] Operation: 84-31=53
Exploring Operation: 84-43=41, Resulting Numbers: [8, 31, 41]
Generated Node #0,1: 56:[8, 31, 41] Operation: 84-43=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[43, 8, 53], Operations: ['84-31=53']
Exploring Operation: 43+8=51, Resulting Numbers: [53, 51]
Generated Node #0,0,0: 56:[53, 51] Operation: 43+8=51
Exploring Operation: 53-43=10, Resulting Numbers: [8, 10]
Generated Node #0,0,1: 56:[8, 10] Operation: 53-43=10
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 56:[8, 10], Operations: ['84-31=53', '53-43=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[53, 51], Operations: ['84-31=53', '43+8=51']
Exploring Operation: 53+51=104, Resulting Numbers: [104]
104,56 unequal: No Solution
Exploring Operation: 53-51=2, Resulting Numbers: [2]
2,56 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: 56:[8, 31, 41], Operations: ['84-43=41']
Exploring Operation: 41-8=33, Resulting Numbers: [31, 33]
Generated Node #0,1,0: 56:[31, 33] Operation: 41-8=33
Exploring Operation: 41-31=10, Resulting Numbers: [8, 10]
Generated Node #0,1,1: 56:[8, 10] Operation: 41-31=10
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[8, 10], Operations: ['84-43=41', '41-31=10']
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,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,1,0
Current State: 56:[31, 33], Operations: ['84-43=41', '41-8=33']
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,56 unequal: No Solution
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,56 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 |
[
34,
93,
36,
24
] | 71 | [
"93-34=59",
"36-24=12",
"59+12=71"
] | Current State: 71:[34, 93, 36, 24], Operations: []
Exploring Operation: 93-34=59, Resulting Numbers: [36, 24, 59]
Generated Node #2: [36, 24, 59] from Operation: 93-34=59
Current State: 71:[36, 24, 59], Operations: ['93-34=59']
Exploring Operation: 36-24=12, Resulting Numbers: [59, 12]
Generated Node #3: [59, 12] from Operation: 36-24=12
Current State: 71:[59, 12], Operations: ['93-34=59', '36-24=12']
Exploring Operation: 59+12=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[34, 93, 36, 24], Operations: []
Exploring Operation: 34+36=70, Resulting Numbers: [93, 24, 70]
Generated Node #0,0: 71:[93, 24, 70] Operation: 34+36=70
Exploring Operation: 34+24=58, Resulting Numbers: [93, 36, 58]
Generated Node #0,1: 71:[93, 36, 58] Operation: 34+24=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[93, 24, 70], Operations: ['34+36=70']
Exploring Operation: 93-24=69, Resulting Numbers: [70, 69]
Generated Node #0,0,0: 71:[70, 69] Operation: 93-24=69
Exploring Operation: 24+70=94, Resulting Numbers: [93, 94]
Generated Node #0,0,1: 71:[93, 94] Operation: 24+70=94
Moving to Node #0,0,0
Current State: 71:[70, 69], Operations: ['34+36=70', '93-24=69']
Exploring Operation: 70+69=139, Resulting Numbers: [139]
139,71 unequal: No Solution
Exploring Operation: 70-69=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[93, 94], Operations: ['34+36=70', '24+70=94']
Exploring Operation: 94-93=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 93+94=187, Resulting Numbers: [187]
187,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[93, 36, 58], Operations: ['34+24=58']
Exploring Operation: 36+58=94, Resulting Numbers: [93, 94]
Generated Node #0,1,0: 71:[93, 94] Operation: 36+58=94
Exploring Operation: 93-36=57, Resulting Numbers: [58, 57]
Generated Node #0,1,1: 71:[58, 57] Operation: 93-36=57
Moving to Node #0,1,1
Current State: 71:[58, 57], Operations: ['34+24=58', '93-36=57']
Exploring Operation: 58-57=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 58+57=115, Resulting Numbers: [115]
115,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[93, 94], Operations: ['34+24=58', '36+58=94']
Exploring Operation: 94-93=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 93+94=187, Resulting Numbers: [187]
187,71 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 |
[
46,
17,
86,
59
] | 90 | [
"46+17=63",
"86-59=27",
"63+27=90"
] | Current State: 90:[46, 17, 86, 59], Operations: []
Exploring Operation: 46+17=63, Resulting Numbers: [86, 59, 63]
Generated Node #2: [86, 59, 63] from Operation: 46+17=63
Current State: 90:[86, 59, 63], Operations: ['46+17=63']
Exploring Operation: 86-59=27, Resulting Numbers: [63, 27]
Generated Node #3: [63, 27] from Operation: 86-59=27
Current State: 90:[63, 27], Operations: ['46+17=63', '86-59=27']
Exploring Operation: 63+27=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[46, 17, 86, 59], Operations: []
Exploring Operation: 59-46=13, Resulting Numbers: [17, 86, 13]
Generated Node #0,0: 90:[17, 86, 13] Operation: 59-46=13
Exploring Operation: 59-17=42, Resulting Numbers: [46, 86, 42]
Generated Node #0,1: 90:[46, 86, 42] Operation: 59-17=42
Exploring Operation: 86-59=27, Resulting Numbers: [46, 17, 27]
Generated Node #0,2: 90:[46, 17, 27] Operation: 86-59=27
Exploring Operation: 46-17=29, Resulting Numbers: [86, 59, 29]
Generated Node #0,3: 90:[86, 59, 29] Operation: 46-17=29
Moving to Node #0,2
Current State: 90:[46, 17, 27], Operations: ['86-59=27']
Exploring Operation: 46-17=29, Resulting Numbers: [27, 29]
Generated Node #0,2,0: 90:[27, 29] Operation: 46-17=29
Exploring Operation: 17+27=44, Resulting Numbers: [46, 44]
Generated Node #0,2,1: 90:[46, 44] Operation: 17+27=44
Exploring Operation: 46-27=19, Resulting Numbers: [17, 19]
Generated Node #0,2,2: 90:[17, 19] Operation: 46-27=19
Exploring Operation: 27-17=10, Resulting Numbers: [46, 10]
Generated Node #0,2,3: 90:[46, 10] Operation: 27-17=10
Moving to Node #0,0
Current State: 90:[17, 86, 13], Operations: ['59-46=13']
Exploring Operation: 17+86=103, Resulting Numbers: [13, 103]
Generated Node #0,0,0: 90:[13, 103] Operation: 17+86=103
Exploring Operation: 17+13=30, Resulting Numbers: [86, 30]
Generated Node #0,0,1: 90:[86, 30] Operation: 17+13=30
Exploring Operation: 86+13=99, Resulting Numbers: [17, 99]
Generated Node #0,0,2: 90:[17, 99] Operation: 86+13=99
Exploring Operation: 17-13=4, Resulting Numbers: [86, 4]
Generated Node #0,0,3: 90:[86, 4] Operation: 17-13=4
Moving to Node #0,1
Current State: 90:[46, 86, 42], Operations: ['59-17=42']
Exploring Operation: 86-46=40, Resulting Numbers: [42, 40]
Generated Node #0,1,0: 90:[42, 40] Operation: 86-46=40
Exploring Operation: 86-42=44, Resulting Numbers: [46, 44]
Generated Node #0,1,1: 90:[46, 44] Operation: 86-42=44
Exploring Operation: 46+42=88, Resulting Numbers: [86, 88]
Generated Node #0,1,2: 90:[86, 88] Operation: 46+42=88
Exploring Operation: 46-42=4, Resulting Numbers: [86, 4]
Generated Node #0,1,3: 90:[86, 4] Operation: 46-42=4
Moving to Node #0,3
Current State: 90:[86, 59, 29], Operations: ['46-17=29']
Exploring Operation: 86-29=57, Resulting Numbers: [59, 57]
Generated Node #0,3,0: 90:[59, 57] Operation: 86-29=57
Exploring Operation: 86-59=27, Resulting Numbers: [29, 27]
Generated Node #0,3,1: 90:[29, 27] Operation: 86-59=27
Exploring Operation: 59+29=88, Resulting Numbers: [86, 88]
Generated Node #0,3,2: 90:[86, 88] Operation: 59+29=88
Exploring Operation: 59-29=30, Resulting Numbers: [86, 30]
Generated Node #0,3,3: 90:[86, 30] Operation: 59-29=30
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 90:[29, 27], Operations: ['46-17=29', '86-59=27']
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,90 unequal: No Solution
Exploring Operation: 29*27=783, Resulting Numbers: [783]
783,90 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 90:[86, 30], Operations: ['46-17=29', '59-29=30']
Exploring Operation: 86+30=116, Resulting Numbers: [116]
116,90 unequal: No Solution
Exploring Operation: 86*30=2580, Resulting Numbers: [2580]
2580,90 unequal: No Solution
Exploring Operation: 86-30=56, Resulting Numbers: [56]
56,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 90:[86, 88], Operations: ['46-17=29', '59+29=88']
Exploring Operation: 86+88=174, Resulting Numbers: [174]
174,90 unequal: No Solution
Exploring Operation: 86*88=7568, Resulting Numbers: [7568]
7568,90 unequal: No Solution
Exploring Operation: 88-86=2, Resulting Numbers: [2]
2,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 90:[59, 57], Operations: ['46-17=29', '86-29=57']
Exploring Operation: 59+57=116, Resulting Numbers: [116]
116,90 unequal: No Solution
Exploring Operation: 59-57=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 59*57=3363, Resulting Numbers: [3363]
3363,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 90:[46, 10], Operations: ['86-59=27', '27-17=10']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,90 unequal: No Solution
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[17, 19], Operations: ['86-59=27', '46-27=19']
Exploring Operation: 17*19=323, Resulting Numbers: [323]
323,90 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[46, 44], Operations: ['86-59=27', '17+27=44']
Exploring Operation: 46*44=2024, Resulting Numbers: [2024]
2024,90 unequal: No Solution
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 46+44=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[46, 17, 86, 59], Operations: []
Exploring Operation: 86-59=27, Resulting Numbers: [46, 17, 27]
Generated Node #0,2: 90:[46, 17, 27] Operation: 86-59=27
Moving to Node #0,2
Current State: 90:[46, 17, 27], Operations: ['86-59=27']
Exploring Operation: 17+27=44, Resulting Numbers: [46, 44]
Generated Node #0,2,1: 90:[46, 44] Operation: 17+27=44
Moving to Node #0,2,1
Current State: 90:[46, 44], Operations: ['86-59=27', '17+27=44']
Exploring Operation: 46+44=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.960938 | hs_4 | sum_heuristic |
[
24,
26,
84,
3
] | 30 | [
"26-24=2",
"84/3=28",
"2+28=30"
] | Current State: 30:[24, 26, 84, 3], Operations: []
Exploring Operation: 26-24=2, Resulting Numbers: [84, 3, 2]
Generated Node #2: [84, 3, 2] from Operation: 26-24=2
Current State: 30:[84, 3, 2], Operations: ['26-24=2']
Exploring Operation: 84/3=28, Resulting Numbers: [2, 28]
Generated Node #3: [2, 28] from Operation: 84/3=28
Current State: 30:[2, 28], Operations: ['26-24=2', '84/3=28']
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[24, 26, 84, 3], Operations: []
Exploring Operation: 84/3=28, Resulting Numbers: [24, 26, 28]
Generated Node #0,0: 30:[24, 26, 28] Operation: 84/3=28
Exploring Operation: 84-26=58, Resulting Numbers: [24, 3, 58]
Generated Node #0,1: 30:[24, 3, 58] Operation: 84-26=58
Exploring Operation: 84-24=60, Resulting Numbers: [26, 3, 60]
Generated Node #0,2: 30:[26, 3, 60] Operation: 84-24=60
Moving to Node #0,0
Current State: 30:[24, 26, 28], Operations: ['84/3=28']
Exploring Operation: 26-24=2, Resulting Numbers: [28, 2]
Generated Node #0,0,0: 30:[28, 2] Operation: 26-24=2
Exploring Operation: 28-24=4, Resulting Numbers: [26, 4]
Generated Node #0,0,1: 30:[26, 4] Operation: 28-24=4
Exploring Operation: 28-26=2, Resulting Numbers: [24, 2]
Generated Node #0,0,2: 30:[24, 2] Operation: 28-26=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[28, 2], Operations: ['84/3=28', '26-24=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[24, 26, 84, 3], Operations: []
Exploring Operation: 84/3=28, Resulting Numbers: [24, 26, 28]
Generated Node #0,0: 30:[24, 26, 28] Operation: 84/3=28
Moving to Node #0,0
Current State: 30:[24, 26, 28], Operations: ['84/3=28']
Exploring Operation: 26-24=2, Resulting Numbers: [28, 2]
Generated Node #0,0,0: 30:[28, 2] Operation: 26-24=2
Moving to Node #0,0,0
Current State: 30:[28, 2], Operations: ['84/3=28', '26-24=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
68,
12,
35,
48
] | 67 | [
"68+12=80",
"48-35=13",
"80-13=67"
] | Current State: 67:[68, 12, 35, 48], Operations: []
Exploring Operation: 68+12=80, Resulting Numbers: [35, 48, 80]
Generated Node #2: [35, 48, 80] from Operation: 68+12=80
Current State: 67:[35, 48, 80], Operations: ['68+12=80']
Exploring Operation: 48-35=13, Resulting Numbers: [80, 13]
Generated Node #3: [80, 13] from Operation: 48-35=13
Current State: 67:[80, 13], Operations: ['68+12=80', '48-35=13']
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[68, 12, 35, 48], Operations: []
Exploring Operation: 12+35=47, Resulting Numbers: [68, 48, 47]
Generated Node #0,0: 67:[68, 48, 47] Operation: 12+35=47
Exploring Operation: 12+48=60, Resulting Numbers: [68, 35, 60]
Generated Node #0,1: 67:[68, 35, 60] Operation: 12+48=60
Exploring Operation: 68-12=56, Resulting Numbers: [35, 48, 56]
Generated Node #0,2: 67:[35, 48, 56] Operation: 68-12=56
Exploring Operation: 35-12=23, Resulting Numbers: [68, 48, 23]
Generated Node #0,3: 67:[68, 48, 23] Operation: 35-12=23
Exploring Operation: 68+12=80, Resulting Numbers: [35, 48, 80]
Generated Node #0,4: 67:[35, 48, 80] Operation: 68+12=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[68, 48, 47], Operations: ['12+35=47']
Exploring Operation: 68+47=115, Resulting Numbers: [48, 115]
Generated Node #0,0,0: 67:[48, 115] Operation: 68+47=115
Exploring Operation: 48+47=95, Resulting Numbers: [68, 95]
Generated Node #0,0,1: 67:[68, 95] Operation: 48+47=95
Exploring Operation: 48-47=1, Resulting Numbers: [68, 1]
Generated Node #0,0,2: 67:[68, 1] Operation: 48-47=1
Exploring Operation: 68-47=21, Resulting Numbers: [48, 21]
Generated Node #0,0,3: 67:[48, 21] Operation: 68-47=21
Exploring Operation: 68-48=20, Resulting Numbers: [47, 20]
Generated Node #0,0,4: 67:[47, 20] Operation: 68-48=20
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[68, 95], Operations: ['12+35=47', '48+47=95']
Exploring Operation: 68+95=163, Resulting Numbers: [163]
163,67 unequal: No Solution
Exploring Operation: 68*95=6460, Resulting Numbers: [6460]
6460,67 unequal: No Solution
Exploring Operation: 95-68=27, Resulting Numbers: [27]
27,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,3
Current State: 67:[48, 21], Operations: ['12+35=47', '68-47=21']
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,67 unequal: No Solution
Exploring Operation: 48*21=1008, Resulting Numbers: [1008]
1008,67 unequal: No Solution
Exploring Operation: 48+21=69, Resulting Numbers: [69]
69,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,0
Current State: 67:[48, 115], Operations: ['12+35=47', '68+47=115']
Exploring Operation: 48*115=5520, Resulting Numbers: [5520]
5520,67 unequal: No Solution
Exploring Operation: 48+115=163, Resulting Numbers: [163]
163,67 unequal: No Solution
Exploring Operation: 115-48=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[68, 12, 35, 48], Operations: []
Exploring Operation: 12+35=47, Resulting Numbers: [68, 48, 47]
Generated Node #0,0: 67:[68, 48, 47] Operation: 12+35=47
Moving to Node #0,0
Current State: 67:[68, 48, 47], Operations: ['12+35=47']
Exploring Operation: 68+47=115, Resulting Numbers: [48, 115]
Generated Node #0,0,0: 67:[48, 115] Operation: 68+47=115
Moving to Node #0,0,0
Current State: 67:[48, 115], Operations: ['12+35=47', '68+47=115']
Exploring Operation: 115-48=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
12,
21,
16,
83
] | 88 | [
"12*16=192",
"21+83=104",
"192-104=88"
] | Current State: 88:[12, 21, 16, 83], Operations: []
Exploring Operation: 12*16=192, Resulting Numbers: [21, 83, 192]
Generated Node #2: [21, 83, 192] from Operation: 12*16=192
Current State: 88:[21, 83, 192], Operations: ['12*16=192']
Exploring Operation: 21+83=104, Resulting Numbers: [192, 104]
Generated Node #3: [192, 104] from Operation: 21+83=104
Current State: 88:[192, 104], Operations: ['12*16=192', '21+83=104']
Exploring Operation: 192-104=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[12, 21, 16, 83], Operations: []
Exploring Operation: 21-12=9, Resulting Numbers: [16, 83, 9]
Generated Node #0,0: 88:[16, 83, 9] Operation: 21-12=9
Exploring Operation: 16-12=4, Resulting Numbers: [21, 83, 4]
Generated Node #0,1: 88:[21, 83, 4] Operation: 16-12=4
Exploring Operation: 21-16=5, Resulting Numbers: [12, 83, 5]
Generated Node #0,2: 88:[12, 83, 5] Operation: 21-16=5
Exploring Operation: 12+16=28, Resulting Numbers: [21, 83, 28]
Generated Node #0,3: 88:[21, 83, 28] Operation: 12+16=28
Exploring Operation: 12+83=95, Resulting Numbers: [21, 16, 95]
Generated Node #0,4: 88:[21, 16, 95] Operation: 12+83=95
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[21, 83, 4], Operations: ['16-12=4']
Exploring Operation: 21-4=17, Resulting Numbers: [83, 17]
Generated Node #0,1,0: 88:[83, 17] Operation: 21-4=17
Exploring Operation: 83-4=79, Resulting Numbers: [21, 79]
Generated Node #0,1,1: 88:[21, 79] Operation: 83-4=79
Exploring Operation: 83+4=87, Resulting Numbers: [21, 87]
Generated Node #0,1,2: 88:[21, 87] Operation: 83+4=87
Exploring Operation: 21+4=25, Resulting Numbers: [83, 25]
Generated Node #0,1,3: 88:[83, 25] Operation: 21+4=25
Exploring Operation: 21*4=84, Resulting Numbers: [83, 84]
Generated Node #0,1,4: 88:[83, 84] Operation: 21*4=84
Moving to Node #0,1,2
Current State: 88:[21, 87], Operations: ['16-12=4', '83+4=87']
Exploring Operation: 87-21=66, Resulting Numbers: [66]
66,88 unequal: No Solution
Exploring Operation: 21*87=1827, Resulting Numbers: [1827]
1827,88 unequal: No Solution
Exploring Operation: 21+87=108, Resulting Numbers: [108]
108,88 unequal: No Solution
Moving to Node #0,1,3
Current State: 88:[83, 25], Operations: ['16-12=4', '21+4=25']
Exploring Operation: 83*25=2075, Resulting Numbers: [2075]
2075,88 unequal: No Solution
Exploring Operation: 83-25=58, Resulting Numbers: [58]
58,88 unequal: No Solution
Exploring Operation: 83+25=108, Resulting Numbers: [108]
108,88 unequal: No Solution
Moving to Node #0,1,4
Current State: 88:[83, 84], Operations: ['16-12=4', '21*4=84']
Exploring Operation: 83*84=6972, Resulting Numbers: [6972]
6972,88 unequal: No Solution
Exploring Operation: 84-83=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 83+84=167, Resulting Numbers: [167]
167,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[83, 17], Operations: ['16-12=4', '21-4=17']
Exploring Operation: 83*17=1411, Resulting Numbers: [1411]
1411,88 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,88 unequal: No Solution
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[21, 79], Operations: ['16-12=4', '83-4=79']
Exploring Operation: 21+79=100, Resulting Numbers: [100]
100,88 unequal: No Solution
Exploring Operation: 21*79=1659, Resulting Numbers: [1659]
1659,88 unequal: No Solution
Exploring Operation: 79-21=58, Resulting Numbers: [58]
58,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[12, 83, 5], Operations: ['21-16=5']
Exploring Operation: 83+5=88, Resulting Numbers: [12, 88]
Generated Node #0,2,0: 88:[12, 88] Operation: 83+5=88
Exploring Operation: 83-5=78, Resulting Numbers: [12, 78]
Generated Node #0,2,1: 88:[12, 78] Operation: 83-5=78
Exploring Operation: 12+5=17, Resulting Numbers: [83, 17]
Generated Node #0,2,2: 88:[83, 17] Operation: 12+5=17
Exploring Operation: 12+83=95, Resulting Numbers: [5, 95]
Generated Node #0,2,3: 88:[5, 95] Operation: 12+83=95
Exploring Operation: 12-5=7, Resulting Numbers: [83, 7]
Generated Node #0,2,4: 88:[83, 7] Operation: 12-5=7
Moving to Node #0,2,0
Current State: 88:[12, 88], Operations: ['21-16=5', '83+5=88']
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,88 unequal: No Solution
Exploring Operation: 12*88=1056, Resulting Numbers: [1056]
1056,88 unequal: No Solution
Exploring Operation: 12+88=100, Resulting Numbers: [100]
100,88 unequal: No Solution
Moving to Node #0,2,4
Current State: 88:[83, 7], Operations: ['21-16=5', '12-5=7']
Exploring Operation: 83*7=581, Resulting Numbers: [581]
581,88 unequal: No Solution
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,88 unequal: No Solution
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,88 unequal: No Solution
Moving to Node #0,2,3
Current State: 88:[5, 95], Operations: ['21-16=5', '12+83=95']
Exploring Operation: 5+95=100, Resulting Numbers: [100]
100,88 unequal: No Solution
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,88 unequal: No Solution
Exploring Operation: 5*95=475, Resulting Numbers: [475]
475,88 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[83, 17], Operations: ['21-16=5', '12+5=17']
Exploring Operation: 83*17=1411, Resulting Numbers: [1411]
1411,88 unequal: No Solution
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,88 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[12, 78], Operations: ['21-16=5', '83-5=78']
Exploring Operation: 12+78=90, Resulting Numbers: [90]
90,88 unequal: No Solution
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,88 unequal: No Solution
Exploring Operation: 12*78=936, Resulting Numbers: [936]
936,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
Current State: 88:[16, 83, 9], Operations: ['21-12=9']
Exploring Operation: 16-9=7, Resulting Numbers: [83, 7]
Generated Node #0,0,0: 88:[83, 7] Operation: 16-9=7
Exploring Operation: 83+9=92, Resulting Numbers: [16, 92]
Generated Node #0,0,1: 88:[16, 92] Operation: 83+9=92
Exploring Operation: 83-9=74, Resulting Numbers: [16, 74]
Generated Node #0,0,2: 88:[16, 74] Operation: 83-9=74
Exploring Operation: 16+9=25, Resulting Numbers: [83, 25]
Generated Node #0,0,3: 88:[83, 25] Operation: 16+9=25
Exploring Operation: 16+83=99, Resulting Numbers: [9, 99]
Generated Node #0,0,4: 88:[9, 99] Operation: 16+83=99
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[83, 7], Operations: ['21-12=9', '16-9=7']
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,88 unequal: No Solution
Exploring Operation: 83*7=581, Resulting Numbers: [581]
581,88 unequal: No Solution
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 88:[83, 25], Operations: ['21-12=9', '16+9=25']
Exploring Operation: 83+25=108, Resulting Numbers: [108]
108,88 unequal: No Solution
Exploring Operation: 83-25=58, Resulting Numbers: [58]
58,88 unequal: No Solution
Exploring Operation: 83*25=2075, Resulting Numbers: [2075]
2075,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[16, 92], Operations: ['21-12=9', '83+9=92']
Exploring Operation: 92-16=76, Resulting Numbers: [76]
76,88 unequal: No Solution
Exploring Operation: 16*92=1472, Resulting Numbers: [1472]
1472,88 unequal: No Solution
Exploring Operation: 16+92=108, Resulting Numbers: [108]
108,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 88:[9, 99], Operations: ['21-12=9', '16+83=99']
Exploring Operation: 99-9=90, Resulting Numbers: [90]
90,88 unequal: No Solution
Exploring Operation: 9*99=891, Resulting Numbers: [891]
891,88 unequal: No Solution
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 9+99=108, Resulting Numbers: [108]
108,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 88:[16, 74], Operations: ['21-12=9', '83-9=74']
Exploring Operation: 16+74=90, Resulting Numbers: [90]
90,88 unequal: No Solution
Exploring Operation: 16*74=1184, Resulting Numbers: [1184]
1184,88 unequal: No Solution
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 88:[21, 83, 28], Operations: ['12+16=28']
Exploring Operation: 83-28=55, Resulting Numbers: [21, 55]
Generated Node #0,3,0: 88:[21, 55] Operation: 83-28=55
Exploring Operation: 83-21=62, Resulting Numbers: [28, 62]
Generated Node #0,3,1: 88:[28, 62] Operation: 83-21=62
Exploring Operation: 21+28=49, Resulting Numbers: [83, 49]
Generated Node #0,3,2: 88:[83, 49] Operation: 21+28=49
Exploring Operation: 28-21=7, Resulting Numbers: [83, 7]
Generated Node #0,3,3: 88:[83, 7] Operation: 28-21=7
Exploring Operation: 21+83=104, Resulting Numbers: [28, 104]
Generated Node #0,3,4: 88:[28, 104] Operation: 21+83=104
Moving to Node #0,3,3
Current State: 88:[83, 7], Operations: ['12+16=28', '28-21=7']
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,88 unequal: No Solution
Exploring Operation: 83*7=581, Resulting Numbers: [581]
581,88 unequal: No Solution
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,88 unequal: No Solution
Moving to Node #0,3,2
Current State: 88:[83, 49], Operations: ['12+16=28', '21+28=49']
Exploring Operation: 83+49=132, Resulting Numbers: [132]
132,88 unequal: No Solution
Exploring Operation: 83-49=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 83*49=4067, Resulting Numbers: [4067]
4067,88 unequal: No Solution
Moving to Node #0,3,0
Current State: 88:[21, 55], Operations: ['12+16=28', '83-28=55']
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 21*55=1155, Resulting Numbers: [1155]
1155,88 unequal: No Solution
Exploring Operation: 21+55=76, Resulting Numbers: [76]
76,88 unequal: No Solution
Moving to Node #0,3,4
Current State: 88:[28, 104], Operations: ['12+16=28', '21+83=104']
Exploring Operation: 28+104=132, Resulting Numbers: [132]
132,88 unequal: No Solution
Exploring Operation: 104-28=76, Resulting Numbers: [76]
76,88 unequal: No Solution
Exploring Operation: 28*104=2912, Resulting Numbers: [2912]
2912,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[28, 62], Operations: ['12+16=28', '83-21=62']
Exploring Operation: 28*62=1736, Resulting Numbers: [1736]
1736,88 unequal: No Solution
Exploring Operation: 28+62=90, Resulting Numbers: [90]
90,88 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,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,4
Current State: 88:[21, 16, 95], Operations: ['12+83=95']
Exploring Operation: 21+16=37, Resulting Numbers: [95, 37]
Generated Node #0,4,0: 88:[95, 37] Operation: 21+16=37
Exploring Operation: 16+95=111, Resulting Numbers: [21, 111]
Generated Node #0,4,1: 88:[21, 111] Operation: 16+95=111
Exploring Operation: 95-16=79, Resulting Numbers: [21, 79]
Generated Node #0,4,2: 88:[21, 79] Operation: 95-16=79
Exploring Operation: 21-16=5, Resulting Numbers: [95, 5]
Generated Node #0,4,3: 88:[95, 5] Operation: 21-16=5
Exploring Operation: 95-21=74, Resulting Numbers: [16, 74]
Generated Node #0,4,4: 88:[16, 74] Operation: 95-21=74
Moving to Node #0,4,3
Current State: 88:[95, 5], Operations: ['12+83=95', '21-16=5']
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,88 unequal: No Solution
Exploring Operation: 95*5=475, Resulting Numbers: [475]
475,88 unequal: No Solution
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,88 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,88 unequal: No Solution
Moving to Node #0,4,2
Current State: 88:[21, 79], Operations: ['12+83=95', '95-16=79']
Exploring Operation: 79-21=58, Resulting Numbers: [58]
58,88 unequal: No Solution
Exploring Operation: 21+79=100, Resulting Numbers: [100]
100,88 unequal: No Solution
Exploring Operation: 21*79=1659, Resulting Numbers: [1659]
1659,88 unequal: No Solution
Moving to Node #0,4,0
Current State: 88:[95, 37], Operations: ['12+83=95', '21+16=37']
Exploring Operation: 95*37=3515, Resulting Numbers: [3515]
3515,88 unequal: No Solution
Exploring Operation: 95-37=58, Resulting Numbers: [58]
58,88 unequal: No Solution
Exploring Operation: 95+37=132, Resulting Numbers: [132]
132,88 unequal: No Solution
Moving to Node #0,4,4
Current State: 88:[16, 74], Operations: ['12+83=95', '95-21=74']
Exploring Operation: 16*74=1184, Resulting Numbers: [1184]
1184,88 unequal: No Solution
Exploring Operation: 16+74=90, Resulting Numbers: [90]
90,88 unequal: No Solution
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,88 unequal: No Solution
Moving to Node #0,4,1
Current State: 88:[21, 111], Operations: ['12+83=95', '16+95=111']
Exploring Operation: 21+111=132, Resulting Numbers: [132]
132,88 unequal: No Solution
Exploring Operation: 111-21=90, Resulting Numbers: [90]
90,88 unequal: No Solution
Exploring Operation: 21*111=2331, Resulting Numbers: [2331]
2331,88 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 |
[
19,
42,
38,
36
] | 13 | [
"19+42=61",
"38+36=74",
"74-61=13"
] | Current State: 13:[19, 42, 38, 36], Operations: []
Exploring Operation: 19+42=61, Resulting Numbers: [38, 36, 61]
Generated Node #2: [38, 36, 61] from Operation: 19+42=61
Current State: 13:[38, 36, 61], Operations: ['19+42=61']
Exploring Operation: 38+36=74, Resulting Numbers: [61, 74]
Generated Node #3: [61, 74] from Operation: 38+36=74
Current State: 13:[61, 74], Operations: ['19+42=61', '38+36=74']
Exploring Operation: 74-61=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[19, 42, 38, 36], Operations: []
Exploring Operation: 38-19=19, Resulting Numbers: [42, 36, 19]
Generated Node #0,0: 13:[42, 36, 19] Operation: 38-19=19
Exploring Operation: 38-36=2, Resulting Numbers: [19, 42, 2]
Generated Node #0,1: 13:[19, 42, 2] Operation: 38-36=2
Exploring Operation: 42-38=4, Resulting Numbers: [19, 36, 4]
Generated Node #0,2: 13:[19, 36, 4] Operation: 42-38=4
Exploring Operation: 42-19=23, Resulting Numbers: [38, 36, 23]
Generated Node #0,3: 13:[38, 36, 23] Operation: 42-19=23
Exploring Operation: 42-36=6, Resulting Numbers: [19, 38, 6]
Generated Node #0,4: 13:[19, 38, 6] Operation: 42-36=6
Moving to Node #0,2
Current State: 13:[19, 36, 4], Operations: ['42-38=4']
Exploring Operation: 19+4=23, Resulting Numbers: [36, 23]
Generated Node #0,2,0: 13:[36, 23] Operation: 19+4=23
Exploring Operation: 36-4=32, Resulting Numbers: [19, 32]
Generated Node #0,2,1: 13:[19, 32] Operation: 36-4=32
Exploring Operation: 19-4=15, Resulting Numbers: [36, 15]
Generated Node #0,2,2: 13:[36, 15] Operation: 19-4=15
Exploring Operation: 36/4=9, Resulting Numbers: [19, 9]
Generated Node #0,2,3: 13:[19, 9] Operation: 36/4=9
Exploring Operation: 36-19=17, Resulting Numbers: [4, 17]
Generated Node #0,2,4: 13:[4, 17] Operation: 36-19=17
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 13:[19, 9], Operations: ['42-38=4', '36/4=9']
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,13 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 13:[4, 17], Operations: ['42-38=4', '36-19=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,13 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[19, 42, 38, 36], Operations: []
Exploring Operation: 42-38=4, Resulting Numbers: [19, 36, 4]
Generated Node #0,2: 13:[19, 36, 4] Operation: 42-38=4
Moving to Node #0,2
Current State: 13:[19, 36, 4], Operations: ['42-38=4']
Exploring Operation: 36-19=17, Resulting Numbers: [4, 17]
Generated Node #0,2,4: 13:[4, 17] Operation: 36-19=17
Moving to Node #0,2,4
Current State: 13:[4, 17], Operations: ['42-38=4', '36-19=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
60,
52,
58,
94
] | 21 | [
"60-58=2",
"94-52=42",
"42/2=21"
] | Current State: 21:[60, 52, 58, 94], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [52, 94, 2]
Generated Node #2: [52, 94, 2] from Operation: 60-58=2
Current State: 21:[52, 94, 2], Operations: ['60-58=2']
Exploring Operation: 94-52=42, Resulting Numbers: [2, 42]
Generated Node #3: [2, 42] from Operation: 94-52=42
Current State: 21:[2, 42], Operations: ['60-58=2', '94-52=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[60, 52, 58, 94], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [52, 94, 2]
Generated Node #0,0: 21:[52, 94, 2] Operation: 60-58=2
Exploring Operation: 94-58=36, Resulting Numbers: [60, 52, 36]
Generated Node #0,1: 21:[60, 52, 36] Operation: 94-58=36
Exploring Operation: 94-52=42, Resulting Numbers: [60, 58, 42]
Generated Node #0,2: 21:[60, 58, 42] Operation: 94-52=42
Exploring Operation: 60-52=8, Resulting Numbers: [58, 94, 8]
Generated Node #0,3: 21:[58, 94, 8] Operation: 60-52=8
Exploring Operation: 94-60=34, Resulting Numbers: [52, 58, 34]
Generated Node #0,4: 21:[52, 58, 34] Operation: 94-60=34
Moving to Node #0,4
Current State: 21:[52, 58, 34], Operations: ['94-60=34']
Exploring Operation: 58-52=6, Resulting Numbers: [34, 6]
Generated Node #0,4,0: 21:[34, 6] Operation: 58-52=6
Exploring Operation: 52+58=110, Resulting Numbers: [34, 110]
Generated Node #0,4,1: 21:[34, 110] Operation: 52+58=110
Exploring Operation: 52+34=86, Resulting Numbers: [58, 86]
Generated Node #0,4,2: 21:[58, 86] Operation: 52+34=86
Exploring Operation: 52-34=18, Resulting Numbers: [58, 18]
Generated Node #0,4,3: 21:[58, 18] Operation: 52-34=18
Exploring Operation: 58-34=24, Resulting Numbers: [52, 24]
Generated Node #0,4,4: 21:[52, 24] Operation: 58-34=24
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 21:[34, 6], Operations: ['94-60=34', '58-52=6']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,21 unequal: No Solution
Exploring Operation: 34*6=204, Resulting Numbers: [204]
204,21 unequal: No Solution
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 21:[52, 24], Operations: ['94-60=34', '58-34=24']
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,21 unequal: No Solution
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 21:[58, 18], Operations: ['94-60=34', '52-34=18']
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,21 unequal: No Solution
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 21:[34, 110], Operations: ['94-60=34', '52+58=110']
Exploring Operation: 110-34=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 34*110=3740, Resulting Numbers: [3740]
3740,21 unequal: No Solution
Exploring Operation: 34+110=144, Resulting Numbers: [144]
144,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 21:[58, 86], Operations: ['94-60=34', '52+34=86']
Exploring Operation: 58*86=4988, Resulting Numbers: [4988]
4988,21 unequal: No Solution
Exploring Operation: 86-58=28, Resulting Numbers: [28]
28,21 unequal: No Solution
Exploring Operation: 58+86=144, Resulting Numbers: [144]
144,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 21:[60, 52, 36], Operations: ['94-58=36']
Exploring Operation: 60-52=8, Resulting Numbers: [36, 8]
Generated Node #0,1,0: 21:[36, 8] Operation: 60-52=8
Exploring Operation: 60+36=96, Resulting Numbers: [52, 96]
Generated Node #0,1,1: 21:[52, 96] Operation: 60+36=96
Exploring Operation: 52-36=16, Resulting Numbers: [60, 16]
Generated Node #0,1,2: 21:[60, 16] Operation: 52-36=16
Exploring Operation: 60-36=24, Resulting Numbers: [52, 24]
Generated Node #0,1,3: 21:[52, 24] Operation: 60-36=24
Exploring Operation: 60+52=112, Resulting Numbers: [36, 112]
Generated Node #0,1,4: 21:[36, 112] Operation: 60+52=112
Moving to Node #0,2
Current State: 21:[60, 58, 42], Operations: ['94-52=42']
Exploring Operation: 60+58=118, Resulting Numbers: [42, 118]
Generated Node #0,2,0: 21:[42, 118] Operation: 60+58=118
Exploring Operation: 60+42=102, Resulting Numbers: [58, 102]
Generated Node #0,2,1: 21:[58, 102] Operation: 60+42=102
Exploring Operation: 60-42=18, Resulting Numbers: [58, 18]
Generated Node #0,2,2: 21:[58, 18] Operation: 60-42=18
Exploring Operation: 60-58=2, Resulting Numbers: [42, 2]
Generated Node #0,2,3: 21:[42, 2] Operation: 60-58=2
Exploring Operation: 58-42=16, Resulting Numbers: [60, 16]
Generated Node #0,2,4: 21:[60, 16] Operation: 58-42=16
Moving to Node #0,0
Current State: 21:[52, 94, 2], Operations: ['60-58=2']
Exploring Operation: 52/2=26, Resulting Numbers: [94, 26]
Generated Node #0,0,0: 21:[94, 26] Operation: 52/2=26
Exploring Operation: 94-52=42, Resulting Numbers: [2, 42]
Generated Node #0,0,1: 21:[2, 42] Operation: 94-52=42
Exploring Operation: 52-2=50, Resulting Numbers: [94, 50]
Generated Node #0,0,2: 21:[94, 50] Operation: 52-2=50
Exploring Operation: 94/2=47, Resulting Numbers: [52, 47]
Generated Node #0,0,3: 21:[52, 47] Operation: 94/2=47
Exploring Operation: 94-2=92, Resulting Numbers: [52, 92]
Generated Node #0,0,4: 21:[52, 92] Operation: 94-2=92
Moving to Node #0,3
Current State: 21:[58, 94, 8], Operations: ['60-52=8']
Exploring Operation: 94-58=36, Resulting Numbers: [8, 36]
Generated Node #0,3,0: 21:[8, 36] Operation: 94-58=36
Exploring Operation: 94-8=86, Resulting Numbers: [58, 86]
Generated Node #0,3,1: 21:[58, 86] Operation: 94-8=86
Exploring Operation: 94+8=102, Resulting Numbers: [58, 102]
Generated Node #0,3,2: 21:[58, 102] Operation: 94+8=102
Exploring Operation: 58-8=50, Resulting Numbers: [94, 50]
Generated Node #0,3,3: 21:[94, 50] Operation: 58-8=50
Exploring Operation: 58+8=66, Resulting Numbers: [94, 66]
Generated Node #0,3,4: 21:[94, 66] Operation: 58+8=66
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 21:[8, 36], Operations: ['60-52=8', '94-58=36']
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,21 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 21:[58, 86], Operations: ['60-52=8', '94-8=86']
Exploring Operation: 58+86=144, Resulting Numbers: [144]
144,21 unequal: No Solution
Exploring Operation: 86-58=28, Resulting Numbers: [28]
28,21 unequal: No Solution
Exploring Operation: 58*86=4988, Resulting Numbers: [4988]
4988,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 21:[94, 50], Operations: ['60-52=8', '58-8=50']
Exploring Operation: 94*50=4700, Resulting Numbers: [4700]
4700,21 unequal: No Solution
Exploring Operation: 94-50=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 94+50=144, Resulting Numbers: [144]
144,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 21:[58, 102], Operations: ['60-52=8', '94+8=102']
Exploring Operation: 102-58=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 58+102=160, Resulting Numbers: [160]
160,21 unequal: No Solution
Exploring Operation: 58*102=5916, Resulting Numbers: [5916]
5916,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 21:[94, 66], Operations: ['60-52=8', '58+8=66']
Exploring Operation: 94+66=160, Resulting Numbers: [160]
160,21 unequal: No Solution
Exploring Operation: 94-66=28, Resulting Numbers: [28]
28,21 unequal: No Solution
Exploring Operation: 94*66=6204, Resulting Numbers: [6204]
6204,21 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: 21:[36, 8], Operations: ['94-58=36', '60-52=8']
Exploring Operation: 36+8=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 36*8=288, Resulting Numbers: [288]
288,21 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,21 unequal: No Solution
Moving to Node #0,2,3
Current State: 21:[42, 2], Operations: ['94-52=42', '60-58=2']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,21 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[60, 52, 58, 94], Operations: []
Exploring Operation: 94-52=42, Resulting Numbers: [60, 58, 42]
Generated Node #0,2: 21:[60, 58, 42] Operation: 94-52=42
Moving to Node #0,2
Current State: 21:[60, 58, 42], Operations: ['94-52=42']
Exploring Operation: 60-58=2, Resulting Numbers: [42, 2]
Generated Node #0,2,3: 21:[42, 2] Operation: 60-58=2
Moving to Node #0,2,3
Current State: 21:[42, 2], Operations: ['94-52=42', '60-58=2']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 0.938368 | hs_5 | sum_heuristic |
[
12,
4,
94,
10
] | 45 | [
"12-10=2",
"94-4=90",
"90/2=45"
] | Current State: 45:[12, 4, 94, 10], Operations: []
Exploring Operation: 12-10=2, Resulting Numbers: [4, 94, 2]
Generated Node #2: [4, 94, 2] from Operation: 12-10=2
Current State: 45:[4, 94, 2], Operations: ['12-10=2']
Exploring Operation: 94-4=90, Resulting Numbers: [2, 90]
Generated Node #3: [2, 90] from Operation: 94-4=90
Current State: 45:[2, 90], Operations: ['12-10=2', '94-4=90']
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[12, 4, 94, 10], Operations: []
Exploring Operation: 94-12=82, Resulting Numbers: [4, 10, 82]
Generated Node #0,0: 45:[4, 10, 82] Operation: 94-12=82
Exploring Operation: 94-10=84, Resulting Numbers: [12, 4, 84]
Generated Node #0,1: 45:[12, 4, 84] Operation: 94-10=84
Moving to Node #0,0
Current State: 45:[4, 10, 82], Operations: ['94-12=82']
Exploring Operation: 82-10=72, Resulting Numbers: [4, 72]
Generated Node #0,0,0: 45:[4, 72] Operation: 82-10=72
Exploring Operation: 82-4=78, Resulting Numbers: [10, 78]
Generated Node #0,0,1: 45:[10, 78] Operation: 82-4=78
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[4, 72], Operations: ['94-12=82', '82-10=72']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,45 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 45:[10, 78], Operations: ['94-12=82', '82-4=78']
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,45 unequal: No Solution
Exploring Operation: 10+78=88, Resulting Numbers: [88]
88,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 45:[12, 4, 84], Operations: ['94-10=84']
Exploring Operation: 84/12=7, Resulting Numbers: [4, 7]
Generated Node #0,1,0: 45:[4, 7] Operation: 84/12=7
Exploring Operation: 84/4=21, Resulting Numbers: [12, 21]
Generated Node #0,1,1: 45:[12, 21] Operation: 84/4=21
Moving to Node #0,1,0
Current State: 45:[4, 7], Operations: ['94-10=84', '84/12=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[12, 21], Operations: ['94-10=84', '84/4=21']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,45 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
96,
61,
52,
37
] | 48 | [
"61-37=24",
"96/24=4",
"52-4=48"
] | Current State: 48:[96, 61, 52, 37], Operations: []
Exploring Operation: 61-37=24, Resulting Numbers: [96, 52, 24]
Generated Node #2: [96, 52, 24] from Operation: 61-37=24
Current State: 48:[96, 52, 24], Operations: ['61-37=24']
Exploring Operation: 96/24=4, Resulting Numbers: [52, 4]
Generated Node #3: [52, 4] from Operation: 96/24=4
Current State: 48:[52, 4], Operations: ['61-37=24', '96/24=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[96, 61, 52, 37], Operations: []
Exploring Operation: 61-37=24, Resulting Numbers: [96, 52, 24]
Generated Node #0,0: 48:[96, 52, 24] Operation: 61-37=24
Exploring Operation: 96-52=44, Resulting Numbers: [61, 37, 44]
Generated Node #0,1: 48:[61, 37, 44] Operation: 96-52=44
Exploring Operation: 96-37=59, Resulting Numbers: [61, 52, 59]
Generated Node #0,2: 48:[61, 52, 59] Operation: 96-37=59
Exploring Operation: 96-61=35, Resulting Numbers: [52, 37, 35]
Generated Node #0,3: 48:[52, 37, 35] Operation: 96-61=35
Exploring Operation: 61-52=9, Resulting Numbers: [96, 37, 9]
Generated Node #0,4: 48:[96, 37, 9] Operation: 61-52=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 48:[52, 37, 35], Operations: ['96-61=35']
Exploring Operation: 52-37=15, Resulting Numbers: [35, 15]
Generated Node #0,3,0: 48:[35, 15] Operation: 52-37=15
Exploring Operation: 52+35=87, Resulting Numbers: [37, 87]
Generated Node #0,3,1: 48:[37, 87] Operation: 52+35=87
Exploring Operation: 37+35=72, Resulting Numbers: [52, 72]
Generated Node #0,3,2: 48:[52, 72] Operation: 37+35=72
Exploring Operation: 37-35=2, Resulting Numbers: [52, 2]
Generated Node #0,3,3: 48:[52, 2] Operation: 37-35=2
Exploring Operation: 52-35=17, Resulting Numbers: [37, 17]
Generated Node #0,3,4: 48:[37, 17] Operation: 52-35=17
Moving to Node #0,3,3
Current State: 48:[52, 2], Operations: ['96-61=35', '37-35=2']
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,48 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,48 unequal: No Solution
Exploring Operation: 52*2=104, Resulting Numbers: [104]
104,48 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Moving to Node #0,3,4
Current State: 48:[37, 17], Operations: ['96-61=35', '52-35=17']
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,48 unequal: No Solution
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,48 unequal: No Solution
Moving to Node #0,3,0
Current State: 48:[35, 15], Operations: ['96-61=35', '52-37=15']
Exploring Operation: 35+15=50, Resulting Numbers: [50]
50,48 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 35*15=525, Resulting Numbers: [525]
525,48 unequal: No Solution
Moving to Node #0,3,2
Current State: 48:[52, 72], Operations: ['96-61=35', '37+35=72']
Exploring Operation: 52+72=124, Resulting Numbers: [124]
124,48 unequal: No Solution
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 52*72=3744, Resulting Numbers: [3744]
3744,48 unequal: No Solution
Moving to Node #0,3,1
Current State: 48:[37, 87], Operations: ['96-61=35', '52+35=87']
Exploring Operation: 37+87=124, Resulting Numbers: [124]
124,48 unequal: No Solution
Exploring Operation: 37*87=3219, Resulting Numbers: [3219]
3219,48 unequal: No Solution
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[61, 37, 44], Operations: ['96-52=44']
Exploring Operation: 61-44=17, Resulting Numbers: [37, 17]
Generated Node #0,1,0: 48:[37, 17] Operation: 61-44=17
Exploring Operation: 61+37=98, Resulting Numbers: [44, 98]
Generated Node #0,1,1: 48:[44, 98] Operation: 61+37=98
Exploring Operation: 61-37=24, Resulting Numbers: [44, 24]
Generated Node #0,1,2: 48:[44, 24] Operation: 61-37=24
Exploring Operation: 44-37=7, Resulting Numbers: [61, 7]
Generated Node #0,1,3: 48:[61, 7] Operation: 44-37=7
Exploring Operation: 37+44=81, Resulting Numbers: [61, 81]
Generated Node #0,1,4: 48:[61, 81] Operation: 37+44=81
Moving to Node #0,1,2
Current State: 48:[44, 24], Operations: ['96-52=44', '61-37=24']
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Exploring Operation: 44*24=1056, Resulting Numbers: [1056]
1056,48 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Moving to Node #0,1,0
Current State: 48:[37, 17], Operations: ['96-52=44', '61-44=17']
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,48 unequal: No Solution
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,48 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Moving to Node #0,1,3
Current State: 48:[61, 7], Operations: ['96-52=44', '44-37=7']
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,48 unequal: No Solution
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,48 unequal: No Solution
Moving to Node #0,1,4
Current State: 48:[61, 81], Operations: ['96-52=44', '37+44=81']
Exploring Operation: 61+81=142, Resulting Numbers: [142]
142,48 unequal: No Solution
Exploring Operation: 81-61=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 61*81=4941, Resulting Numbers: [4941]
4941,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[44, 98], Operations: ['96-52=44', '61+37=98']
Exploring Operation: 44+98=142, Resulting Numbers: [142]
142,48 unequal: No Solution
Exploring Operation: 98-44=54, Resulting Numbers: [54]
54,48 unequal: No Solution
Exploring Operation: 44*98=4312, Resulting Numbers: [4312]
4312,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[61, 52, 59], Operations: ['96-37=59']
Exploring Operation: 59-52=7, Resulting Numbers: [61, 7]
Generated Node #0,2,0: 48:[61, 7] Operation: 59-52=7
Exploring Operation: 61+59=120, Resulting Numbers: [52, 120]
Generated Node #0,2,1: 48:[52, 120] Operation: 61+59=120
Exploring Operation: 61-52=9, Resulting Numbers: [59, 9]
Generated Node #0,2,2: 48:[59, 9] Operation: 61-52=9
Exploring Operation: 61-59=2, Resulting Numbers: [52, 2]
Generated Node #0,2,3: 48:[52, 2] Operation: 61-59=2
Exploring Operation: 61+52=113, Resulting Numbers: [59, 113]
Generated Node #0,2,4: 48:[59, 113] Operation: 61+52=113
Moving to Node #0,2,3
Current State: 48:[52, 2], Operations: ['96-37=59', '61-59=2']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,48 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,48 unequal: No Solution
Exploring Operation: 52*2=104, Resulting Numbers: [104]
104,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[59, 9], Operations: ['96-37=59', '61-52=9']
Exploring Operation: 59*9=531, Resulting Numbers: [531]
531,48 unequal: No Solution
Exploring Operation: 59+9=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[61, 7], Operations: ['96-37=59', '59-52=7']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,48 unequal: No Solution
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,48 unequal: No Solution
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[52, 120], Operations: ['96-37=59', '61+59=120']
Exploring Operation: 52+120=172, Resulting Numbers: [172]
172,48 unequal: No Solution
Exploring Operation: 52*120=6240, Resulting Numbers: [6240]
6240,48 unequal: No Solution
Exploring Operation: 120-52=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Moving to Node #0,2,4
Current State: 48:[59, 113], Operations: ['96-37=59', '61+52=113']
Exploring Operation: 59+113=172, Resulting Numbers: [172]
172,48 unequal: No Solution
Exploring Operation: 59*113=6667, Resulting Numbers: [6667]
6667,48 unequal: No Solution
Exploring Operation: 113-59=54, Resulting Numbers: [54]
54,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[96, 52, 24], Operations: ['61-37=24']
Exploring Operation: 96-52=44, Resulting Numbers: [24, 44]
Generated Node #0,0,0: 48:[24, 44] Operation: 96-52=44
Exploring Operation: 96/24=4, Resulting Numbers: [52, 4]
Generated Node #0,0,1: 48:[52, 4] Operation: 96/24=4
Exploring Operation: 96-24=72, Resulting Numbers: [52, 72]
Generated Node #0,0,2: 48:[52, 72] Operation: 96-24=72
Exploring Operation: 52-24=28, Resulting Numbers: [96, 28]
Generated Node #0,0,3: 48:[96, 28] Operation: 52-24=28
Exploring Operation: 96+24=120, Resulting Numbers: [52, 120]
Generated Node #0,0,4: 48:[52, 120] Operation: 96+24=120
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[24, 44], Operations: ['61-37=24', '96-52=44']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 24*44=1056, Resulting Numbers: [1056]
1056,48 unequal: No Solution
Exploring Operation: 24+44=68, Resulting Numbers: [68]
68,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 48:[52, 4], Operations: ['61-37=24', '96/24=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[96, 61, 52, 37], Operations: []
Exploring Operation: 61-37=24, Resulting Numbers: [96, 52, 24]
Generated Node #0,0: 48:[96, 52, 24] Operation: 61-37=24
Moving to Node #0,0
Current State: 48:[96, 52, 24], Operations: ['61-37=24']
Exploring Operation: 96/24=4, Resulting Numbers: [52, 4]
Generated Node #0,0,1: 48:[52, 4] Operation: 96/24=4
Moving to Node #0,0,1
Current State: 48:[52, 4], Operations: ['61-37=24', '96/24=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.930556 | hs_5 | sum_heuristic |
[
4,
81,
84,
67
] | 58 | [
"81+84=165",
"67+165=232",
"232/4=58"
] | Current State: 58:[4, 81, 84, 67], Operations: []
Exploring Operation: 81+84=165, Resulting Numbers: [4, 67, 165]
Generated Node #2: [4, 67, 165] from Operation: 81+84=165
Current State: 58:[4, 67, 165], Operations: ['81+84=165']
Exploring Operation: 67+165=232, Resulting Numbers: [4, 232]
Generated Node #3: [4, 232] from Operation: 67+165=232
Current State: 58:[4, 232], Operations: ['81+84=165', '67+165=232']
Exploring Operation: 232/4=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[4, 81, 84, 67], Operations: []
Exploring Operation: 84-81=3, Resulting Numbers: [4, 67, 3]
Generated Node #0,0: 58:[4, 67, 3] Operation: 84-81=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[4, 67, 3], Operations: ['84-81=3']
Exploring Operation: 67-4=63, Resulting Numbers: [3, 63]
Generated Node #0,0,0: 58:[3, 63] Operation: 67-4=63
Moving to Node #0,0,0
Current State: 58:[3, 63], Operations: ['84-81=3', '67-4=63']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,58 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 |
[
65,
12,
12,
30
] | 71 | [
"65-12=53",
"30-12=18",
"53+18=71"
] | Current State: 71:[65, 12, 12, 30], Operations: []
Exploring Operation: 65-12=53, Resulting Numbers: [30, 53]
Generated Node #2: [30, 53] from Operation: 65-12=53
Current State: 71:[30, 53], Operations: ['65-12=53']
Exploring Operation: 30-12=18, Resulting Numbers: [53, 18]
Generated Node #3: [53, 18] from Operation: 30-12=18
Current State: 71:[53, 18], Operations: ['65-12=53', '30-12=18']
Exploring Operation: 53+18=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[65, 12, 12, 30], Operations: []
Exploring Operation: 12+30=42, Resulting Numbers: [65, 12, 42]
Generated Node #0,0: 71:[65, 12, 42] Operation: 12+30=42
Exploring Operation: 12+12=24, Resulting Numbers: [65, 30, 24]
Generated Node #0,1: 71:[65, 30, 24] Operation: 12+12=24
Moving to Node #0,0
Current State: 71:[65, 12, 42], Operations: ['12+30=42']
Exploring Operation: 12+42=54, Resulting Numbers: [65, 54]
Generated Node #0,0,0: 71:[65, 54] Operation: 12+42=54
Exploring Operation: 65+12=77, Resulting Numbers: [42, 77]
Generated Node #0,0,1: 71:[42, 77] Operation: 65+12=77
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[65, 54], Operations: ['12+30=42', '12+42=54']
Exploring Operation: 65-54=11, Resulting Numbers: [11]
11,71 unequal: No Solution
Exploring Operation: 65+54=119, Resulting Numbers: [119]
119,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[42, 77], Operations: ['12+30=42', '65+12=77']
Exploring Operation: 42+77=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Exploring Operation: 77-42=35, Resulting Numbers: [35]
35,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 71:[65, 30, 24], Operations: ['12+12=24']
Exploring Operation: 65+24=89, Resulting Numbers: [30, 89]
Generated Node #0,1,0: 71:[30, 89] Operation: 65+24=89
Exploring Operation: 30+24=54, Resulting Numbers: [65, 54]
Generated Node #0,1,1: 71:[65, 54] Operation: 30+24=54
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[65, 54], Operations: ['12+12=24', '30+24=54']
Exploring Operation: 65+54=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Exploring Operation: 65-54=11, Resulting Numbers: [11]
11,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[30, 89], Operations: ['12+12=24', '65+24=89']
Exploring Operation: 30+89=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Exploring Operation: 89-30=59, Resulting Numbers: [59]
59,71 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 |
[
71,
79,
3,
65
] | 13 | [
"79-71=8",
"8-3=5",
"65/5=13"
] | Current State: 13:[71, 79, 3, 65], Operations: []
Exploring Operation: 79-71=8, Resulting Numbers: [3, 65, 8]
Generated Node #2: [3, 65, 8] from Operation: 79-71=8
Current State: 13:[3, 65, 8], Operations: ['79-71=8']
Exploring Operation: 8-3=5, Resulting Numbers: [65, 5]
Generated Node #3: [65, 5] from Operation: 8-3=5
Current State: 13:[65, 5], Operations: ['79-71=8', '8-3=5']
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[71, 79, 3, 65], Operations: []
Exploring Operation: 79-65=14, Resulting Numbers: [71, 3, 14]
Generated Node #0,0: 13:[71, 3, 14] Operation: 79-65=14
Exploring Operation: 71-65=6, Resulting Numbers: [79, 3, 6]
Generated Node #0,1: 13:[79, 3, 6] Operation: 71-65=6
Exploring Operation: 79-71=8, Resulting Numbers: [3, 65, 8]
Generated Node #0,2: 13:[3, 65, 8] Operation: 79-71=8
Moving to Node #0,2
Current State: 13:[3, 65, 8], Operations: ['79-71=8']
Exploring Operation: 65-3=62, Resulting Numbers: [8, 62]
Generated Node #0,2,0: 13:[8, 62] Operation: 65-3=62
Exploring Operation: 3+8=11, Resulting Numbers: [65, 11]
Generated Node #0,2,1: 13:[65, 11] Operation: 3+8=11
Exploring Operation: 65-8=57, Resulting Numbers: [3, 57]
Generated Node #0,2,2: 13:[3, 57] Operation: 65-8=57
Moving to Node #0,0
Current State: 13:[71, 3, 14], Operations: ['79-65=14']
Exploring Operation: 71-14=57, Resulting Numbers: [3, 57]
Generated Node #0,0,0: 13:[3, 57] Operation: 71-14=57
Exploring Operation: 71-3=68, Resulting Numbers: [14, 68]
Generated Node #0,0,1: 13:[14, 68] Operation: 71-3=68
Exploring Operation: 14-3=11, Resulting Numbers: [71, 11]
Generated Node #0,0,2: 13:[71, 11] Operation: 14-3=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[3, 57], Operations: ['79-65=14', '71-14=57']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 13:[14, 68], Operations: ['79-65=14', '71-3=68']
Exploring Operation: 14*68=952, Resulting Numbers: [952]
952,13 unequal: No Solution
Exploring Operation: 14+68=82, Resulting Numbers: [82]
82,13 unequal: No Solution
Exploring Operation: 68-14=54, Resulting Numbers: [54]
54,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 13:[71, 11], Operations: ['79-65=14', '14-3=11']
Exploring Operation: 71+11=82, Resulting Numbers: [82]
82,13 unequal: No Solution
Exploring Operation: 71*11=781, Resulting Numbers: [781]
781,13 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,13 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: 13:[79, 3, 6], Operations: ['71-65=6']
Exploring Operation: 79-6=73, Resulting Numbers: [3, 73]
Generated Node #0,1,0: 13:[3, 73] Operation: 79-6=73
Exploring Operation: 3+6=9, Resulting Numbers: [79, 9]
Generated Node #0,1,1: 13:[79, 9] Operation: 3+6=9
Exploring Operation: 79-3=76, Resulting Numbers: [6, 76]
Generated Node #0,1,2: 13:[6, 76] Operation: 79-3=76
Moving to Node #0,2,0
Current State: 13:[8, 62], Operations: ['79-71=8', '65-3=62']
Exploring Operation: 8+62=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 8*62=496, Resulting Numbers: [496]
496,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[3, 57], Operations: ['79-71=8', '65-8=57']
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Moving to Node #0,2,1
Current State: 13:[65, 11], Operations: ['79-71=8', '3+8=11']
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 65+11=76, Resulting Numbers: [76]
76,13 unequal: No Solution
Exploring Operation: 65*11=715, Resulting Numbers: [715]
715,13 unequal: No Solution
Moving to Node #0,1,2
Current State: 13:[6, 76], Operations: ['71-65=6', '79-3=76']
Exploring Operation: 6*76=456, Resulting Numbers: [456]
456,13 unequal: No Solution
Exploring Operation: 6+76=82, Resulting Numbers: [82]
82,13 unequal: No Solution
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[3, 73], Operations: ['71-65=6', '79-6=73']
Exploring Operation: 3+73=76, Resulting Numbers: [76]
76,13 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Exploring Operation: 3*73=219, Resulting Numbers: [219]
219,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[79, 9], Operations: ['71-65=6', '3+6=9']
Exploring Operation: 79*9=711, Resulting Numbers: [711]
711,13 unequal: No Solution
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Exploring Operation: 79+9=88, Resulting Numbers: [88]
88,13 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
80,
63,
52,
7
] | 20 | [
"63-52=11",
"11-7=4",
"80/4=20"
] | Current State: 20:[80, 63, 52, 7], Operations: []
Exploring Operation: 63-52=11, Resulting Numbers: [80, 7, 11]
Generated Node #2: [80, 7, 11] from Operation: 63-52=11
Current State: 20:[80, 7, 11], Operations: ['63-52=11']
Exploring Operation: 11-7=4, Resulting Numbers: [80, 4]
Generated Node #3: [80, 4] from Operation: 11-7=4
Current State: 20:[80, 4], Operations: ['63-52=11', '11-7=4']
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[80, 63, 52, 7], Operations: []
Exploring Operation: 80-52=28, Resulting Numbers: [63, 7, 28]
Generated Node #0,0: 20:[63, 7, 28] Operation: 80-52=28
Exploring Operation: 80-63=17, Resulting Numbers: [52, 7, 17]
Generated Node #0,1: 20:[52, 7, 17] Operation: 80-63=17
Moving to Node #0,1
Current State: 20:[52, 7, 17], Operations: ['80-63=17']
Exploring Operation: 52-17=35, Resulting Numbers: [7, 35]
Generated Node #0,1,0: 20:[7, 35] Operation: 52-17=35
Exploring Operation: 52-7=45, Resulting Numbers: [17, 45]
Generated Node #0,1,1: 20:[17, 45] Operation: 52-7=45
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[7, 35], Operations: ['80-63=17', '52-17=35']
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,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:[17, 45], Operations: ['80-63=17', '52-7=45']
Exploring Operation: 17+45=62, Resulting Numbers: [62]
62,20 unequal: No Solution
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,20 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: 20:[63, 7, 28], Operations: ['80-52=28']
Exploring Operation: 63-28=35, Resulting Numbers: [7, 35]
Generated Node #0,0,0: 20:[7, 35] Operation: 63-28=35
Exploring Operation: 63/7=9, Resulting Numbers: [28, 9]
Generated Node #0,0,1: 20:[28, 9] Operation: 63/7=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[28, 9], Operations: ['80-52=28', '63/7=9']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,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:[7, 35], Operations: ['80-52=28', '63-28=35']
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,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 | mult_heuristic |
[
54,
34,
54,
59
] | 59 | [
"54-54=0",
"34*0=0",
"59+0=59"
] | Current State: 59:[54, 34, 54, 59], Operations: []
Exploring Operation: 54-54=0, Resulting Numbers: [34, 59, 0]
Generated Node #2: [34, 59, 0] from Operation: 54-54=0
Current State: 59:[34, 59, 0], Operations: ['54-54=0']
Exploring Operation: 34*0=0, Resulting Numbers: [59, 0]
Generated Node #3: [59, 0] from Operation: 34*0=0
Current State: 59:[59, 0], Operations: ['54-54=0', '34*0=0']
Exploring Operation: 59+0=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[54, 34, 54, 59], Operations: []
Exploring Operation: 34+54=88, Resulting Numbers: [54, 59, 88]
Generated Node #0,0: 59:[54, 59, 88] Operation: 34+54=88
Exploring Operation: 54+34=88, Resulting Numbers: [54, 59, 88]
Generated Node #0,1: 59:[54, 59, 88] Operation: 54+34=88
Moving to Node #0,0
Current State: 59:[54, 59, 88], Operations: ['34+54=88']
Exploring Operation: 88-59=29, Resulting Numbers: [54, 29]
Generated Node #0,0,0: 59:[54, 29] Operation: 88-59=29
Exploring Operation: 88-54=34, Resulting Numbers: [59, 34]
Generated Node #0,0,1: 59:[59, 34] Operation: 88-54=34
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[59, 34], Operations: ['34+54=88', '88-54=34']
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Exploring Operation: 59+34=93, Resulting Numbers: [93]
93,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,0
Current State: 59:[54, 29], Operations: ['34+54=88', '88-59=29']
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Exploring Operation: 54+29=83, Resulting Numbers: [83]
83,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 59:[54, 59, 88], Operations: ['54+34=88']
Exploring Operation: 88-59=29, Resulting Numbers: [54, 29]
Generated Node #0,1,0: 59:[54, 29] Operation: 88-59=29
Exploring Operation: 88-54=34, Resulting Numbers: [59, 34]
Generated Node #0,1,1: 59:[59, 34] Operation: 88-54=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[59, 34], Operations: ['54+34=88', '88-54=34']
Exploring Operation: 59+34=93, Resulting Numbers: [93]
93,59 unequal: No Solution
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[54, 29], Operations: ['54+34=88', '88-59=29']
Exploring Operation: 54+29=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
46,
11,
65,
84
] | 92 | [
"46+11=57",
"65+84=149",
"149-57=92"
] | Current State: 92:[46, 11, 65, 84], Operations: []
Exploring Operation: 46+11=57, Resulting Numbers: [65, 84, 57]
Generated Node #2: [65, 84, 57] from Operation: 46+11=57
Current State: 92:[65, 84, 57], Operations: ['46+11=57']
Exploring Operation: 65+84=149, Resulting Numbers: [57, 149]
Generated Node #3: [57, 149] from Operation: 65+84=149
Current State: 92:[57, 149], Operations: ['46+11=57', '65+84=149']
Exploring Operation: 149-57=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[46, 11, 65, 84], Operations: []
Exploring Operation: 65-46=19, Resulting Numbers: [11, 84, 19]
Generated Node #0,0: 92:[11, 84, 19] Operation: 65-46=19
Exploring Operation: 84-65=19, Resulting Numbers: [46, 11, 19]
Generated Node #0,1: 92:[46, 11, 19] Operation: 84-65=19
Exploring Operation: 65-11=54, Resulting Numbers: [46, 84, 54]
Generated Node #0,2: 92:[46, 84, 54] Operation: 65-11=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[46, 11, 19], Operations: ['84-65=19']
Exploring Operation: 19-11=8, Resulting Numbers: [46, 8]
Generated Node #0,1,0: 92:[46, 8] Operation: 19-11=8
Exploring Operation: 46-19=27, Resulting Numbers: [11, 27]
Generated Node #0,1,1: 92:[11, 27] Operation: 46-19=27
Exploring Operation: 11+19=30, Resulting Numbers: [46, 30]
Generated Node #0,1,2: 92:[46, 30] Operation: 11+19=30
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[46, 8], Operations: ['84-65=19', '19-11=8']
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,92 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 92:[46, 30], Operations: ['84-65=19', '11+19=30']
Exploring Operation: 46*30=1380, Resulting Numbers: [1380]
1380,92 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 46+30=76, Resulting Numbers: [76]
76,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[11, 27], Operations: ['84-65=19', '46-19=27']
Exploring Operation: 11*27=297, Resulting Numbers: [297]
297,92 unequal: No Solution
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,92 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,92 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: 92:[46, 84, 54], Operations: ['65-11=54']
Exploring Operation: 84-54=30, Resulting Numbers: [46, 30]
Generated Node #0,2,0: 92:[46, 30] Operation: 84-54=30
Exploring Operation: 84-46=38, Resulting Numbers: [54, 38]
Generated Node #0,2,1: 92:[54, 38] Operation: 84-46=38
Exploring Operation: 54-46=8, Resulting Numbers: [84, 8]
Generated Node #0,2,2: 92:[84, 8] Operation: 54-46=8
Moving to Node #0,2,0
Current State: 92:[46, 30], Operations: ['65-11=54', '84-54=30']
Exploring Operation: 46*30=1380, Resulting Numbers: [1380]
1380,92 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 46+30=76, Resulting Numbers: [76]
76,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[84, 8], Operations: ['65-11=54', '54-46=8']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,92 unequal: No Solution
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[46, 11, 65, 84], Operations: []
Exploring Operation: 65-11=54, Resulting Numbers: [46, 84, 54]
Generated Node #0,2: 92:[46, 84, 54] Operation: 65-11=54
Moving to Node #0,2
Current State: 92:[46, 84, 54], Operations: ['65-11=54']
Exploring Operation: 54-46=8, Resulting Numbers: [84, 8]
Generated Node #0,2,2: 92:[84, 8] Operation: 54-46=8
Moving to Node #0,2,2
Current State: 92:[84, 8], Operations: ['65-11=54', '54-46=8']
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | sum_heuristic |
[
96,
89,
22,
68
] | 53 | [
"96-89=7",
"68-22=46",
"7+46=53"
] | Current State: 53:[96, 89, 22, 68], Operations: []
Exploring Operation: 96-89=7, Resulting Numbers: [22, 68, 7]
Generated Node #2: [22, 68, 7] from Operation: 96-89=7
Current State: 53:[22, 68, 7], Operations: ['96-89=7']
Exploring Operation: 68-22=46, Resulting Numbers: [7, 46]
Generated Node #3: [7, 46] from Operation: 68-22=46
Current State: 53:[7, 46], Operations: ['96-89=7', '68-22=46']
Exploring Operation: 7+46=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[96, 89, 22, 68], Operations: []
Exploring Operation: 96-22=74, Resulting Numbers: [89, 68, 74]
Generated Node #0,0: 53:[89, 68, 74] Operation: 96-22=74
Exploring Operation: 89-22=67, Resulting Numbers: [96, 68, 67]
Generated Node #0,1: 53:[96, 68, 67] Operation: 89-22=67
Exploring Operation: 96-89=7, Resulting Numbers: [22, 68, 7]
Generated Node #0,2: 53:[22, 68, 7] Operation: 96-89=7
Exploring Operation: 68-22=46, Resulting Numbers: [96, 89, 46]
Generated Node #0,3: 53:[96, 89, 46] Operation: 68-22=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[89, 68, 74], Operations: ['96-22=74']
Exploring Operation: 89-68=21, Resulting Numbers: [74, 21]
Generated Node #0,0,0: 53:[74, 21] Operation: 89-68=21
Exploring Operation: 89-74=15, Resulting Numbers: [68, 15]
Generated Node #0,0,1: 53:[68, 15] Operation: 89-74=15
Exploring Operation: 74-68=6, Resulting Numbers: [89, 6]
Generated Node #0,0,2: 53:[89, 6] Operation: 74-68=6
Exploring Operation: 89+68=157, Resulting Numbers: [74, 157]
Generated Node #0,0,3: 53:[74, 157] Operation: 89+68=157
Moving to Node #0,0,0
Current State: 53:[74, 21], Operations: ['96-22=74', '89-68=21']
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[96, 89, 22, 68], Operations: []
Exploring Operation: 96-22=74, Resulting Numbers: [89, 68, 74]
Generated Node #0,0: 53:[89, 68, 74] Operation: 96-22=74
Moving to Node #0,0
Current State: 53:[89, 68, 74], Operations: ['96-22=74']
Exploring Operation: 89-68=21, Resulting Numbers: [74, 21]
Generated Node #0,0,0: 53:[74, 21] Operation: 89-68=21
Moving to Node #0,0,0
Current State: 53:[74, 21], Operations: ['96-22=74', '89-68=21']
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
80,
90,
75,
3
] | 21 | [
"80-75=5",
"90/5=18",
"3+18=21"
] | Current State: 21:[80, 90, 75, 3], Operations: []
Exploring Operation: 80-75=5, Resulting Numbers: [90, 3, 5]
Generated Node #2: [90, 3, 5] from Operation: 80-75=5
Current State: 21:[90, 3, 5], Operations: ['80-75=5']
Exploring Operation: 90/5=18, Resulting Numbers: [3, 18]
Generated Node #3: [3, 18] from Operation: 90/5=18
Current State: 21:[3, 18], Operations: ['80-75=5', '90/5=18']
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[80, 90, 75, 3], Operations: []
Exploring Operation: 90-75=15, Resulting Numbers: [80, 3, 15]
Generated Node #0,0: 21:[80, 3, 15] Operation: 90-75=15
Exploring Operation: 90-80=10, Resulting Numbers: [75, 3, 10]
Generated Node #0,1: 21:[75, 3, 10] Operation: 90-80=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[75, 3, 10], Operations: ['90-80=10']
Exploring Operation: 75-10=65, Resulting Numbers: [3, 65]
Generated Node #0,1,0: 21:[3, 65] Operation: 75-10=65
Exploring Operation: 75/3=25, Resulting Numbers: [10, 25]
Generated Node #0,1,1: 21:[10, 25] Operation: 75/3=25
Moving to Node #0,1,1
Current State: 21:[10, 25], Operations: ['90-80=10', '75/3=25']
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[3, 65], Operations: ['90-80=10', '75-10=65']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,21 unequal: No Solution
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[80, 3, 15], Operations: ['90-75=15']
Exploring Operation: 80-15=65, Resulting Numbers: [3, 65]
Generated Node #0,0,0: 21:[3, 65] Operation: 80-15=65
Exploring Operation: 15/3=5, Resulting Numbers: [80, 5]
Generated Node #0,0,1: 21:[80, 5] Operation: 15/3=5
Moving to Node #0,0,0
Current State: 21:[3, 65], Operations: ['90-75=15', '80-15=65']
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,21 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[80, 5], Operations: ['90-75=15', '15/3=5']
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
27,
84,
27,
2
] | 86 | [
"27+84=111",
"27-2=25",
"111-25=86"
] | Current State: 86:[27, 84, 27, 2], Operations: []
Exploring Operation: 27+84=111, Resulting Numbers: [2, 111]
Generated Node #2: [2, 111] from Operation: 27+84=111
Current State: 86:[2, 111], Operations: ['27+84=111']
Exploring Operation: 27-2=25, Resulting Numbers: [111, 25]
Generated Node #3: [111, 25] from Operation: 27-2=25
Current State: 86:[111, 25], Operations: ['27+84=111', '27-2=25']
Exploring Operation: 111-25=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[27, 84, 27, 2], Operations: []
Exploring Operation: 27+27=54, Resulting Numbers: [84, 2, 54]
Generated Node #0,0: 86:[84, 2, 54] Operation: 27+27=54
Exploring Operation: 27*2=54, Resulting Numbers: [84, 27, 54]
Generated Node #0,1: 86:[84, 27, 54] Operation: 27*2=54
Exploring Operation: 27-27=0, Resulting Numbers: [84, 2, 0]
Generated Node #0,2: 86:[84, 2, 0] Operation: 27-27=0
Exploring Operation: 27/27=1, Resulting Numbers: [84, 2, 1]
Generated Node #0,3: 86:[84, 2, 1] Operation: 27/27=1
Moving to Node #0,3
Current State: 86:[84, 2, 1], Operations: ['27/27=1']
Exploring Operation: 84/2=42, Resulting Numbers: [1, 42]
Generated Node #0,3,0: 86:[1, 42] Operation: 84/2=42
Exploring Operation: 84+2=86, Resulting Numbers: [1, 86]
Generated Node #0,3,1: 86:[1, 86] Operation: 84+2=86
Exploring Operation: 84*1=84, Resulting Numbers: [2, 84]
Generated Node #0,3,2: 86:[2, 84] Operation: 84*1=84
Exploring Operation: 84+1=85, Resulting Numbers: [2, 85]
Generated Node #0,3,3: 86:[2, 85] Operation: 84+1=85
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 86:[1, 86], Operations: ['27/27=1', '84+2=86']
Exploring Operation: 1+86=87, Resulting Numbers: [87]
87,86 unequal: No Solution
Exploring Operation: 1*86=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[27, 84, 27, 2], Operations: []
Exploring Operation: 27/27=1, Resulting Numbers: [84, 2, 1]
Generated Node #0,3: 86:[84, 2, 1] Operation: 27/27=1
Moving to Node #0,3
Current State: 86:[84, 2, 1], Operations: ['27/27=1']
Exploring Operation: 84+2=86, Resulting Numbers: [1, 86]
Generated Node #0,3,1: 86:[1, 86] Operation: 84+2=86
Moving to Node #0,3,1
Current State: 86:[1, 86], Operations: ['27/27=1', '84+2=86']
Exploring Operation: 1*86=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
73,
22,
82,
75
] | 88 | [
"73+22=95",
"82-75=7",
"95-7=88"
] | Current State: 88:[73, 22, 82, 75], Operations: []
Exploring Operation: 73+22=95, Resulting Numbers: [82, 75, 95]
Generated Node #2: [82, 75, 95] from Operation: 73+22=95
Current State: 88:[82, 75, 95], Operations: ['73+22=95']
Exploring Operation: 82-75=7, Resulting Numbers: [95, 7]
Generated Node #3: [95, 7] from Operation: 82-75=7
Current State: 88:[95, 7], Operations: ['73+22=95', '82-75=7']
Exploring Operation: 95-7=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[73, 22, 82, 75], Operations: []
Exploring Operation: 75-73=2, Resulting Numbers: [22, 82, 2]
Generated Node #0,0: 88:[22, 82, 2] Operation: 75-73=2
Moving to Node #0,0
Current State: 88:[22, 82, 2], Operations: ['75-73=2']
Exploring Operation: 82/2=41, Resulting Numbers: [22, 41]
Generated Node #0,0,0: 88:[22, 41] Operation: 82/2=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[22, 41], Operations: ['75-73=2', '82/2=41']
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,88 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 |
[
58,
8,
6,
32
] | 23 | [
"58+32=90",
"90/6=15",
"8+15=23"
] | Current State: 23:[58, 8, 6, 32], Operations: []
Exploring Operation: 58+32=90, Resulting Numbers: [8, 6, 90]
Generated Node #2: [8, 6, 90] from Operation: 58+32=90
Current State: 23:[8, 6, 90], Operations: ['58+32=90']
Exploring Operation: 90/6=15, Resulting Numbers: [8, 15]
Generated Node #3: [8, 15] from Operation: 90/6=15
Current State: 23:[8, 15], Operations: ['58+32=90', '90/6=15']
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[58, 8, 6, 32], Operations: []
Exploring Operation: 58-6=52, Resulting Numbers: [8, 32, 52]
Generated Node #0,0: 23:[8, 32, 52] Operation: 58-6=52
Exploring Operation: 58-32=26, Resulting Numbers: [8, 6, 26]
Generated Node #0,1: 23:[8, 6, 26] Operation: 58-32=26
Exploring Operation: 8+6=14, Resulting Numbers: [58, 32, 14]
Generated Node #0,2: 23:[58, 32, 14] Operation: 8+6=14
Exploring Operation: 58-8=50, Resulting Numbers: [6, 32, 50]
Generated Node #0,3: 23:[6, 32, 50] Operation: 58-8=50
Moving to Node #0,1
Current State: 23:[8, 6, 26], Operations: ['58-32=26']
Exploring Operation: 26-6=20, Resulting Numbers: [8, 20]
Generated Node #0,1,0: 23:[8, 20] Operation: 26-6=20
Exploring Operation: 26-8=18, Resulting Numbers: [6, 18]
Generated Node #0,1,1: 23:[6, 18] Operation: 26-8=18
Exploring Operation: 8+6=14, Resulting Numbers: [26, 14]
Generated Node #0,1,2: 23:[26, 14] Operation: 8+6=14
Exploring Operation: 8-6=2, Resulting Numbers: [26, 2]
Generated Node #0,1,3: 23:[26, 2] Operation: 8-6=2
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[26, 14], Operations: ['58-32=26', '8+6=14']
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 26+14=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 26*14=364, Resulting Numbers: [364]
364,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[8, 20], Operations: ['58-32=26', '26-6=20']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[6, 18], Operations: ['58-32=26', '26-8=18']
Exploring Operation: 6*18=108, Resulting Numbers: [108]
108,23 unequal: No Solution
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 23:[26, 2], Operations: ['58-32=26', '8-6=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,23 unequal: No Solution
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,23 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,23 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: 23:[58, 32, 14], Operations: ['8+6=14']
Exploring Operation: 32-14=18, Resulting Numbers: [58, 18]
Generated Node #0,2,0: 23:[58, 18] Operation: 32-14=18
Exploring Operation: 58-14=44, Resulting Numbers: [32, 44]
Generated Node #0,2,1: 23:[32, 44] Operation: 58-14=44
Exploring Operation: 58+14=72, Resulting Numbers: [32, 72]
Generated Node #0,2,2: 23:[32, 72] Operation: 58+14=72
Exploring Operation: 58-32=26, Resulting Numbers: [14, 26]
Generated Node #0,2,3: 23:[14, 26] Operation: 58-32=26
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 23:[14, 26], Operations: ['8+6=14', '58-32=26']
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 14*26=364, Resulting Numbers: [364]
364,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,2,1
Current State: 23:[32, 44], Operations: ['8+6=14', '58-14=44']
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 32*44=1408, Resulting Numbers: [1408]
1408,23 unequal: No Solution
Exploring Operation: 32+44=76, Resulting Numbers: [76]
76,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,2,0
Current State: 23:[58, 18], Operations: ['8+6=14', '32-14=18']
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,23 unequal: No Solution
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,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,2,2
Current State: 23:[32, 72], Operations: ['8+6=14', '58+14=72']
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 32+72=104, Resulting Numbers: [104]
104,23 unequal: No Solution
Exploring Operation: 32*72=2304, Resulting Numbers: [2304]
2304,23 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: 23:[8, 32, 52], Operations: ['58-6=52']
Exploring Operation: 52-8=44, Resulting Numbers: [32, 44]
Generated Node #0,0,0: 23:[32, 44] Operation: 52-8=44
Exploring Operation: 8+32=40, Resulting Numbers: [52, 40]
Generated Node #0,0,1: 23:[52, 40] Operation: 8+32=40
Exploring Operation: 52-32=20, Resulting Numbers: [8, 20]
Generated Node #0,0,2: 23:[8, 20] Operation: 52-32=20
Exploring Operation: 32-8=24, Resulting Numbers: [52, 24]
Generated Node #0,0,3: 23:[52, 24] Operation: 32-8=24
Moving to Node #0,3
Current State: 23:[6, 32, 50], Operations: ['58-8=50']
Exploring Operation: 32-6=26, Resulting Numbers: [50, 26]
Generated Node #0,3,0: 23:[50, 26] Operation: 32-6=26
Exploring Operation: 50-6=44, Resulting Numbers: [32, 44]
Generated Node #0,3,1: 23:[32, 44] Operation: 50-6=44
Exploring Operation: 50-32=18, Resulting Numbers: [6, 18]
Generated Node #0,3,2: 23:[6, 18] Operation: 50-32=18
Exploring Operation: 6+32=38, Resulting Numbers: [50, 38]
Generated Node #0,3,3: 23:[50, 38] Operation: 6+32=38
Moving to Node #0,0,2
Current State: 23:[8, 20], Operations: ['58-6=52', '52-32=20']
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,23 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[6, 18], Operations: ['58-8=50', '50-32=18']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 6*18=108, Resulting Numbers: [108]
108,23 unequal: No Solution
Moving to Node #0,0,3
Current State: 23:[52, 24], Operations: ['58-6=52', '32-8=24']
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,23 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[50, 26], Operations: ['58-8=50', '32-6=26']
Exploring Operation: 50*26=1300, Resulting Numbers: [1300]
1300,23 unequal: No Solution
Exploring Operation: 50+26=76, Resulting Numbers: [76]
76,23 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Moving to Node #0,3,1
Current State: 23:[32, 44], Operations: ['58-8=50', '50-6=44']
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 32+44=76, Resulting Numbers: [76]
76,23 unequal: No Solution
Exploring Operation: 32*44=1408, Resulting Numbers: [1408]
1408,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[32, 44], Operations: ['58-6=52', '52-8=44']
Exploring Operation: 32*44=1408, Resulting Numbers: [1408]
1408,23 unequal: No Solution
Exploring Operation: 32+44=76, Resulting Numbers: [76]
76,23 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[50, 38], Operations: ['58-8=50', '6+32=38']
Exploring Operation: 50+38=88, Resulting Numbers: [88]
88,23 unequal: No Solution
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 50*38=1900, Resulting Numbers: [1900]
1900,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[52, 40], Operations: ['58-6=52', '8+32=40']
Exploring Operation: 52+40=92, Resulting Numbers: [92]
92,23 unequal: No Solution
Exploring Operation: 52-40=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 52*40=2080, Resulting Numbers: [2080]
2080,23 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
72,
81,
50,
73
] | 59 | [
"81-73=8",
"72/8=9",
"50+9=59"
] | Current State: 59:[72, 81, 50, 73], Operations: []
Exploring Operation: 81-73=8, Resulting Numbers: [72, 50, 8]
Generated Node #2: [72, 50, 8] from Operation: 81-73=8
Current State: 59:[72, 50, 8], Operations: ['81-73=8']
Exploring Operation: 72/8=9, Resulting Numbers: [50, 9]
Generated Node #3: [50, 9] from Operation: 72/8=9
Current State: 59:[50, 9], Operations: ['81-73=8', '72/8=9']
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[72, 81, 50, 73], Operations: []
Exploring Operation: 72-50=22, Resulting Numbers: [81, 73, 22]
Generated Node #0,0: 59:[81, 73, 22] Operation: 72-50=22
Exploring Operation: 73-50=23, Resulting Numbers: [72, 81, 23]
Generated Node #0,1: 59:[72, 81, 23] Operation: 73-50=23
Exploring Operation: 81-72=9, Resulting Numbers: [50, 73, 9]
Generated Node #0,2: 59:[50, 73, 9] Operation: 81-72=9
Exploring Operation: 81-50=31, Resulting Numbers: [72, 73, 31]
Generated Node #0,3: 59:[72, 73, 31] Operation: 81-50=31
Moving to Node #0,3
Current State: 59:[72, 73, 31], Operations: ['81-50=31']
Exploring Operation: 73-31=42, Resulting Numbers: [72, 42]
Generated Node #0,3,0: 59:[72, 42] Operation: 73-31=42
Exploring Operation: 72-31=41, Resulting Numbers: [73, 41]
Generated Node #0,3,1: 59:[73, 41] Operation: 72-31=41
Exploring Operation: 72+31=103, Resulting Numbers: [73, 103]
Generated Node #0,3,2: 59:[73, 103] Operation: 72+31=103
Exploring Operation: 73+31=104, Resulting Numbers: [72, 104]
Generated Node #0,3,3: 59:[72, 104] Operation: 73+31=104
Moving to Node #0,1
Current State: 59:[72, 81, 23], Operations: ['73-50=23']
Exploring Operation: 72-23=49, Resulting Numbers: [81, 49]
Generated Node #0,1,0: 59:[81, 49] Operation: 72-23=49
Exploring Operation: 81+23=104, Resulting Numbers: [72, 104]
Generated Node #0,1,1: 59:[72, 104] Operation: 81+23=104
Exploring Operation: 81-23=58, Resulting Numbers: [72, 58]
Generated Node #0,1,2: 59:[72, 58] Operation: 81-23=58
Exploring Operation: 72+23=95, Resulting Numbers: [81, 95]
Generated Node #0,1,3: 59:[81, 95] Operation: 72+23=95
Moving to Node #0,2
Current State: 59:[50, 73, 9], Operations: ['81-72=9']
Exploring Operation: 50-9=41, Resulting Numbers: [73, 41]
Generated Node #0,2,0: 59:[73, 41] Operation: 50-9=41
Exploring Operation: 73-9=64, Resulting Numbers: [50, 64]
Generated Node #0,2,1: 59:[50, 64] Operation: 73-9=64
Exploring Operation: 50+9=59, Resulting Numbers: [73, 59]
Generated Node #0,2,2: 59:[73, 59] Operation: 50+9=59
Exploring Operation: 73+9=82, Resulting Numbers: [50, 82]
Generated Node #0,2,3: 59:[50, 82] Operation: 73+9=82
Moving to Node #0,0
Current State: 59:[81, 73, 22], Operations: ['72-50=22']
Exploring Operation: 81-22=59, Resulting Numbers: [73, 59]
Generated Node #0,0,0: 59:[73, 59] Operation: 81-22=59
Exploring Operation: 81+22=103, Resulting Numbers: [73, 103]
Generated Node #0,0,1: 59:[73, 103] Operation: 81+22=103
Exploring Operation: 73-22=51, Resulting Numbers: [81, 51]
Generated Node #0,0,2: 59:[81, 51] Operation: 73-22=51
Exploring Operation: 73+22=95, Resulting Numbers: [81, 95]
Generated Node #0,0,3: 59:[81, 95] Operation: 73+22=95
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[73, 59], Operations: ['72-50=22', '81-22=59']
Exploring Operation: 73*59=4307, Resulting Numbers: [4307]
4307,59 unequal: No Solution
Exploring Operation: 73+59=132, Resulting Numbers: [132]
132,59 unequal: No Solution
Exploring Operation: 73-59=14, Resulting Numbers: [14]
14,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,2
Current State: 59:[81, 51], Operations: ['72-50=22', '73-22=51']
Exploring Operation: 81+51=132, Resulting Numbers: [132]
132,59 unequal: No Solution
Exploring Operation: 81-51=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Exploring Operation: 81*51=4131, Resulting Numbers: [4131]
4131,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,1
Current State: 59:[73, 103], Operations: ['72-50=22', '81+22=103']
Exploring Operation: 73+103=176, Resulting Numbers: [176]
176,59 unequal: No Solution
Exploring Operation: 73*103=7519, Resulting Numbers: [7519]
7519,59 unequal: No Solution
Exploring Operation: 103-73=30, Resulting Numbers: [30]
30,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,3
Current State: 59:[81, 95], Operations: ['72-50=22', '73+22=95']
Exploring Operation: 81*95=7695, Resulting Numbers: [7695]
7695,59 unequal: No Solution
Exploring Operation: 95-81=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 81+95=176, Resulting Numbers: [176]
176,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 59:[72, 58], Operations: ['73-50=23', '81-23=58']
Exploring Operation: 72+58=130, Resulting Numbers: [130]
130,59 unequal: No Solution
Exploring Operation: 72*58=4176, Resulting Numbers: [4176]
4176,59 unequal: No Solution
Exploring Operation: 72-58=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[50, 64], Operations: ['81-72=9', '73-9=64']
Exploring Operation: 50+64=114, Resulting Numbers: [114]
114,59 unequal: No Solution
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 50*64=3200, Resulting Numbers: [3200]
3200,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[73, 59], Operations: ['81-72=9', '50+9=59']
Exploring Operation: 73*59=4307, Resulting Numbers: [4307]
4307,59 unequal: No Solution
Exploring Operation: 73+59=132, Resulting Numbers: [132]
132,59 unequal: No Solution
Exploring Operation: 73-59=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[72, 42], Operations: ['81-50=31', '73-31=42']
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Exploring Operation: 72+42=114, Resulting Numbers: [114]
114,59 unequal: No Solution
Exploring Operation: 72*42=3024, Resulting Numbers: [3024]
3024,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[81, 49], Operations: ['73-50=23', '72-23=49']
Exploring Operation: 81+49=130, Resulting Numbers: [130]
130,59 unequal: No Solution
Exploring Operation: 81*49=3969, Resulting Numbers: [3969]
3969,59 unequal: No Solution
Exploring Operation: 81-49=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[50, 82], Operations: ['81-72=9', '73+9=82']
Exploring Operation: 50+82=132, Resulting Numbers: [132]
132,59 unequal: No Solution
Exploring Operation: 82-50=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 50*82=4100, Resulting Numbers: [4100]
4100,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[73, 41], Operations: ['81-72=9', '50-9=41']
Exploring Operation: 73+41=114, Resulting Numbers: [114]
114,59 unequal: No Solution
Exploring Operation: 73*41=2993, Resulting Numbers: [2993]
2993,59 unequal: No Solution
Exploring Operation: 73-41=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[73, 41], Operations: ['81-50=31', '72-31=41']
Exploring Operation: 73+41=114, Resulting Numbers: [114]
114,59 unequal: No Solution
Exploring Operation: 73-41=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 73*41=2993, Resulting Numbers: [2993]
2993,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[72, 104], Operations: ['73-50=23', '81+23=104']
Exploring Operation: 72+104=176, Resulting Numbers: [176]
176,59 unequal: No Solution
Exploring Operation: 72*104=7488, Resulting Numbers: [7488]
7488,59 unequal: No Solution
Exploring Operation: 104-72=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[73, 103], Operations: ['81-50=31', '72+31=103']
Exploring Operation: 73*103=7519, Resulting Numbers: [7519]
7519,59 unequal: No Solution
Exploring Operation: 103-73=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Exploring Operation: 73+103=176, Resulting Numbers: [176]
176,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[81, 95], Operations: ['73-50=23', '72+23=95']
Exploring Operation: 95-81=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 81+95=176, Resulting Numbers: [176]
176,59 unequal: No Solution
Exploring Operation: 81*95=7695, Resulting Numbers: [7695]
7695,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[72, 104], Operations: ['81-50=31', '73+31=104']
Exploring Operation: 72*104=7488, Resulting Numbers: [7488]
7488,59 unequal: No Solution
Exploring Operation: 104-72=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 72+104=176, Resulting Numbers: [176]
176,59 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
54,
48,
12,
74
] | 16 | [
"54+48=102",
"12+74=86",
"102-86=16"
] | Current State: 16:[54, 48, 12, 74], Operations: []
Exploring Operation: 54+48=102, Resulting Numbers: [12, 74, 102]
Generated Node #2: [12, 74, 102] from Operation: 54+48=102
Current State: 16:[12, 74, 102], Operations: ['54+48=102']
Exploring Operation: 12+74=86, Resulting Numbers: [102, 86]
Generated Node #3: [102, 86] from Operation: 12+74=86
Current State: 16:[102, 86], Operations: ['54+48=102', '12+74=86']
Exploring Operation: 102-86=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[54, 48, 12, 74], Operations: []
Exploring Operation: 54-12=42, Resulting Numbers: [48, 74, 42]
Generated Node #0,0: 16:[48, 74, 42] Operation: 54-12=42
Exploring Operation: 48/12=4, Resulting Numbers: [54, 74, 4]
Generated Node #0,1: 16:[54, 74, 4] Operation: 48/12=4
Exploring Operation: 74-48=26, Resulting Numbers: [54, 12, 26]
Generated Node #0,2: 16:[54, 12, 26] Operation: 74-48=26
Exploring Operation: 74-54=20, Resulting Numbers: [48, 12, 20]
Generated Node #0,3: 16:[48, 12, 20] Operation: 74-54=20
Exploring Operation: 54-48=6, Resulting Numbers: [12, 74, 6]
Generated Node #0,4: 16:[12, 74, 6] Operation: 54-48=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 16:[48, 12, 20], Operations: ['74-54=20']
Exploring Operation: 20-12=8, Resulting Numbers: [48, 8]
Generated Node #0,3,0: 16:[48, 8] Operation: 20-12=8
Exploring Operation: 48-20=28, Resulting Numbers: [12, 28]
Generated Node #0,3,1: 16:[12, 28] Operation: 48-20=28
Exploring Operation: 48/12=4, Resulting Numbers: [20, 4]
Generated Node #0,3,2: 16:[20, 4] Operation: 48/12=4
Exploring Operation: 48-12=36, Resulting Numbers: [20, 36]
Generated Node #0,3,3: 16:[20, 36] Operation: 48-12=36
Exploring Operation: 48+12=60, Resulting Numbers: [20, 60]
Generated Node #0,3,4: 16:[20, 60] Operation: 48+12=60
Moving to Node #0,3,2
Current State: 16:[20, 4], Operations: ['74-54=20', '48/12=4']
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,16 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[54, 48, 12, 74], Operations: []
Exploring Operation: 74-54=20, Resulting Numbers: [48, 12, 20]
Generated Node #0,3: 16:[48, 12, 20] Operation: 74-54=20
Moving to Node #0,3
Current State: 16:[48, 12, 20], Operations: ['74-54=20']
Exploring Operation: 48/12=4, Resulting Numbers: [20, 4]
Generated Node #0,3,2: 16:[20, 4] Operation: 48/12=4
Moving to Node #0,3,2
Current State: 16:[20, 4], Operations: ['74-54=20', '48/12=4']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
3,
80,
23,
99
] | 70 | [
"99/3=33",
"80+23=103",
"103-33=70"
] | Current State: 70:[3, 80, 23, 99], Operations: []
Exploring Operation: 99/3=33, Resulting Numbers: [80, 23, 33]
Generated Node #2: [80, 23, 33] from Operation: 99/3=33
Current State: 70:[80, 23, 33], Operations: ['99/3=33']
Exploring Operation: 80+23=103, Resulting Numbers: [33, 103]
Generated Node #3: [33, 103] from Operation: 80+23=103
Current State: 70:[33, 103], Operations: ['99/3=33', '80+23=103']
Exploring Operation: 103-33=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[3, 80, 23, 99], Operations: []
Exploring Operation: 99-80=19, Resulting Numbers: [3, 23, 19]
Generated Node #0,0: 70:[3, 23, 19] Operation: 99-80=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[3, 23, 19], Operations: ['99-80=19']
Exploring Operation: 23-19=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 70:[3, 4] Operation: 23-19=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[3, 4], Operations: ['99-80=19', '23-19=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
2,
99,
35
] | 41 | [
"6-2=4",
"35*4=140",
"140-99=41"
] | Current State: 41:[6, 2, 99, 35], Operations: []
Exploring Operation: 6-2=4, Resulting Numbers: [99, 35, 4]
Generated Node #2: [99, 35, 4] from Operation: 6-2=4
Current State: 41:[99, 35, 4], Operations: ['6-2=4']
Exploring Operation: 35*4=140, Resulting Numbers: [99, 140]
Generated Node #3: [99, 140] from Operation: 35*4=140
Current State: 41:[99, 140], Operations: ['6-2=4', '35*4=140']
Exploring Operation: 140-99=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[6, 2, 99, 35], Operations: []
Exploring Operation: 99-6=93, Resulting Numbers: [2, 35, 93]
Generated Node #0,0: 41:[2, 35, 93] Operation: 99-6=93
Exploring Operation: 6+35=41, Resulting Numbers: [2, 99, 41]
Generated Node #0,1: 41:[2, 99, 41] Operation: 6+35=41
Exploring Operation: 6*2=12, Resulting Numbers: [99, 35, 12]
Generated Node #0,2: 41:[99, 35, 12] Operation: 6*2=12
Exploring Operation: 6+2=8, Resulting Numbers: [99, 35, 8]
Generated Node #0,3: 41:[99, 35, 8] Operation: 6+2=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[99, 35, 12], Operations: ['6*2=12']
Exploring Operation: 99-12=87, Resulting Numbers: [35, 87]
Generated Node #0,2,0: 41:[35, 87] Operation: 99-12=87
Exploring Operation: 99-35=64, Resulting Numbers: [12, 64]
Generated Node #0,2,1: 41:[12, 64] Operation: 99-35=64
Exploring Operation: 99+12=111, Resulting Numbers: [35, 111]
Generated Node #0,2,2: 41:[35, 111] Operation: 99+12=111
Exploring Operation: 35+12=47, Resulting Numbers: [99, 47]
Generated Node #0,2,3: 41:[99, 47] Operation: 35+12=47
Moving to Node #0,2,0
Current State: 41:[35, 87], Operations: ['6*2=12', '99-12=87']
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 35*87=3045, Resulting Numbers: [3045]
3045,41 unequal: No Solution
Exploring Operation: 35+87=122, Resulting Numbers: [122]
122,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[12, 64], Operations: ['6*2=12', '99-35=64']
Exploring Operation: 12+64=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Exploring Operation: 12*64=768, Resulting Numbers: [768]
768,41 unequal: No Solution
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[99, 47], Operations: ['6*2=12', '35+12=47']
Exploring Operation: 99*47=4653, Resulting Numbers: [4653]
4653,41 unequal: No Solution
Exploring Operation: 99-47=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 99+47=146, Resulting Numbers: [146]
146,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[35, 111], Operations: ['6*2=12', '99+12=111']
Exploring Operation: 35*111=3885, Resulting Numbers: [3885]
3885,41 unequal: No Solution
Exploring Operation: 35+111=146, Resulting Numbers: [146]
146,41 unequal: No Solution
Exploring Operation: 111-35=76, Resulting Numbers: [76]
76,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
Current State: 41:[2, 35, 93], Operations: ['99-6=93']
Exploring Operation: 35-2=33, Resulting Numbers: [93, 33]
Generated Node #0,0,0: 41:[93, 33] Operation: 35-2=33
Exploring Operation: 93-2=91, Resulting Numbers: [35, 91]
Generated Node #0,0,1: 41:[35, 91] Operation: 93-2=91
Exploring Operation: 93-35=58, Resulting Numbers: [2, 58]
Generated Node #0,0,2: 41:[2, 58] Operation: 93-35=58
Exploring Operation: 2+35=37, Resulting Numbers: [93, 37]
Generated Node #0,0,3: 41:[93, 37] Operation: 2+35=37
Moving to Node #0,0,1
Current State: 41:[35, 91], Operations: ['99-6=93', '93-2=91']
Exploring Operation: 91-35=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 35+91=126, Resulting Numbers: [126]
126,41 unequal: No Solution
Exploring Operation: 35*91=3185, Resulting Numbers: [3185]
3185,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[93, 37], Operations: ['99-6=93', '2+35=37']
Exploring Operation: 93*37=3441, Resulting Numbers: [3441]
3441,41 unequal: No Solution
Exploring Operation: 93-37=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 93+37=130, Resulting Numbers: [130]
130,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[2, 58], Operations: ['99-6=93', '93-35=58']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 2*58=116, Resulting Numbers: [116]
116,41 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[93, 33], Operations: ['99-6=93', '35-2=33']
Exploring Operation: 93-33=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Exploring Operation: 93+33=126, Resulting Numbers: [126]
126,41 unequal: No Solution
Exploring Operation: 93*33=3069, Resulting Numbers: [3069]
3069,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:[2, 99, 41], Operations: ['6+35=41']
Exploring Operation: 2+41=43, Resulting Numbers: [99, 43]
Generated Node #0,1,0: 41:[99, 43] Operation: 2+41=43
Exploring Operation: 99-2=97, Resulting Numbers: [41, 97]
Generated Node #0,1,1: 41:[41, 97] Operation: 99-2=97
Exploring Operation: 99-41=58, Resulting Numbers: [2, 58]
Generated Node #0,1,2: 41:[2, 58] Operation: 99-41=58
Exploring Operation: 2+99=101, Resulting Numbers: [41, 101]
Generated Node #0,1,3: 41:[41, 101] Operation: 2+99=101
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[41, 97], Operations: ['6+35=41', '99-2=97']
Exploring Operation: 41*97=3977, Resulting Numbers: [3977]
3977,41 unequal: No Solution
Exploring Operation: 41+97=138, Resulting Numbers: [138]
138,41 unequal: No Solution
Exploring Operation: 97-41=56, Resulting Numbers: [56]
56,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:[2, 58], Operations: ['6+35=41', '99-41=58']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,41 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Exploring Operation: 2*58=116, Resulting Numbers: [116]
116,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:[99, 43], Operations: ['6+35=41', '2+41=43']
Exploring Operation: 99+43=142, Resulting Numbers: [142]
142,41 unequal: No Solution
Exploring Operation: 99*43=4257, Resulting Numbers: [4257]
4257,41 unequal: No Solution
Exploring Operation: 99-43=56, Resulting Numbers: [56]
56,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:[41, 101], Operations: ['6+35=41', '2+99=101']
Exploring Operation: 41+101=142, Resulting Numbers: [142]
142,41 unequal: No Solution
Exploring Operation: 101-41=60, Resulting Numbers: [60]
60,41 unequal: No Solution
Exploring Operation: 41*101=4141, Resulting Numbers: [4141]
4141,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:[99, 35, 8], Operations: ['6+2=8']
Exploring Operation: 35+8=43, Resulting Numbers: [99, 43]
Generated Node #0,3,0: 41:[99, 43] Operation: 35+8=43
Exploring Operation: 99+8=107, Resulting Numbers: [35, 107]
Generated Node #0,3,1: 41:[35, 107] Operation: 99+8=107
Exploring Operation: 99-35=64, Resulting Numbers: [8, 64]
Generated Node #0,3,2: 41:[8, 64] Operation: 99-35=64
Exploring Operation: 99-8=91, Resulting Numbers: [35, 91]
Generated Node #0,3,3: 41:[35, 91] Operation: 99-8=91
Moving to Node #0,3,2
Current State: 41:[8, 64], Operations: ['6+2=8', '99-35=64']
Exploring Operation: 8*64=512, Resulting Numbers: [512]
512,41 unequal: No Solution
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,41 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 8+64=72, Resulting Numbers: [72]
72,41 unequal: No Solution
Moving to Node #0,3,3
Current State: 41:[35, 91], Operations: ['6+2=8', '99-8=91']
Exploring Operation: 35*91=3185, Resulting Numbers: [3185]
3185,41 unequal: No Solution
Exploring Operation: 91-35=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 35+91=126, Resulting Numbers: [126]
126,41 unequal: No Solution
Moving to Node #0,3,0
Current State: 41:[99, 43], Operations: ['6+2=8', '35+8=43']
Exploring Operation: 99*43=4257, Resulting Numbers: [4257]
4257,41 unequal: No Solution
Exploring Operation: 99-43=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 99+43=142, Resulting Numbers: [142]
142,41 unequal: No Solution
Moving to Node #0,3,1
Current State: 41:[35, 107], Operations: ['6+2=8', '99+8=107']
Exploring Operation: 35+107=142, Resulting Numbers: [142]
142,41 unequal: No Solution
Exploring Operation: 107-35=72, Resulting Numbers: [72]
72,41 unequal: No Solution
Exploring Operation: 35*107=3745, Resulting Numbers: [3745]
3745,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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.