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 |
|---|---|---|---|---|---|---|---|---|
[
32,
57,
4,
28
] | 23 | [
"32+57=89",
"4*28=112",
"112-89=23"
] | Current State: 23:[32, 57, 4, 28], Operations: []
Exploring Operation: 32+57=89, Resulting Numbers: [4, 28, 89]
Generated Node #2: [4, 28, 89] from Operation: 32+57=89
Current State: 23:[4, 28, 89], Operations: ['32+57=89']
Exploring Operation: 4*28=112, Resulting Numbers: [89, 112]
Generated Node #3: [89, 112] from Operation: 4*28=112
Current State: 23:[89, 112], Operations: ['32+57=89', '4*28=112']
Exploring Operation: 112-89=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[32, 57, 4, 28], Operations: []
Exploring Operation: 57-32=25, Resulting Numbers: [4, 28, 25]
Generated Node #0,0: 23:[4, 28, 25] Operation: 57-32=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[4, 28, 25], Operations: ['57-32=25']
Exploring Operation: 28-4=24, Resulting Numbers: [25, 24]
Generated Node #0,0,0: 23:[25, 24] Operation: 28-4=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[25, 24], Operations: ['57-32=25', '28-4=24']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
19,
32,
15,
13
] | 15 | [
"32-19=13",
"15+13=28",
"28-13=15"
] | Current State: 15:[19, 32, 15, 13], Operations: []
Exploring Operation: 32-19=13, Resulting Numbers: [15, 13, 13]
Generated Node #2: [15, 13, 13] from Operation: 32-19=13
Current State: 15:[15, 13, 13], Operations: ['32-19=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,15 equal: Goal Reached
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[19, 32, 15, 13], Operations: []
Exploring Operation: 19-15=4, Resulting Numbers: [32, 13, 4]
Generated Node #0,0: 15:[32, 13, 4] Operation: 19-15=4
Exploring Operation: 32-15=17, Resulting Numbers: [19, 13, 17]
Generated Node #0,1: 15:[19, 13, 17] Operation: 32-15=17
Exploring Operation: 19-13=6, Resulting Numbers: [32, 15, 6]
Generated Node #0,2: 15:[32, 15, 6] Operation: 19-13=6
Exploring Operation: 32-19=13, Resulting Numbers: [15, 13, 13]
Generated Node #0,3: 15:[15, 13, 13] Operation: 32-19=13
Exploring Operation: 32-13=19, Resulting Numbers: [19, 15, 19]
Generated Node #0,4: 15:[19, 15, 19] Operation: 32-13=19
Moving to Node #0,3
Current State: 15:[15, 13, 13], Operations: ['32-19=13']
Exploring Operation: 13-13=0, Resulting Numbers: [15, 0]
Generated Node #0,3,0: 15:[15, 0] Operation: 13-13=0
Exploring Operation: 15-13=2, Resulting Numbers: [13, 2]
Generated Node #0,3,1: 15:[13, 2] Operation: 15-13=2
Exploring Operation: 15-13=2, Resulting Numbers: [13, 2]
Generated Node #0,3,2: 15:[13, 2] Operation: 15-13=2
Exploring Operation: 13/13=1, Resulting Numbers: [15, 1]
Generated Node #0,3,3: 15:[15, 1] Operation: 13/13=1
Exploring Operation: 13+13=26, Resulting Numbers: [15, 26]
Generated Node #0,3,4: 15:[15, 26] Operation: 13+13=26
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 15:[15, 1], Operations: ['32-19=13', '13/13=1']
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[19, 32, 15, 13], Operations: []
Exploring Operation: 32-19=13, Resulting Numbers: [15, 13, 13]
Generated Node #0,3: 15:[15, 13, 13] Operation: 32-19=13
Moving to Node #0,3
Current State: 15:[15, 13, 13], Operations: ['32-19=13']
Exploring Operation: 13/13=1, Resulting Numbers: [15, 1]
Generated Node #0,3,3: 15:[15, 1] Operation: 13/13=1
Moving to Node #0,3,3
Current State: 15:[15, 1], Operations: ['32-19=13', '13/13=1']
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
3,
45,
89,
39
] | 86 | [
"45-3=42",
"89+39=128",
"128-42=86"
] | Current State: 86:[3, 45, 89, 39], Operations: []
Exploring Operation: 45-3=42, Resulting Numbers: [89, 39, 42]
Generated Node #2: [89, 39, 42] from Operation: 45-3=42
Current State: 86:[89, 39, 42], Operations: ['45-3=42']
Exploring Operation: 89+39=128, Resulting Numbers: [42, 128]
Generated Node #3: [42, 128] from Operation: 89+39=128
Current State: 86:[42, 128], Operations: ['45-3=42', '89+39=128']
Exploring Operation: 128-42=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[3, 45, 89, 39], Operations: []
Exploring Operation: 89-45=44, Resulting Numbers: [3, 39, 44]
Generated Node #0,0: 86:[3, 39, 44] Operation: 89-45=44
Exploring Operation: 45+39=84, Resulting Numbers: [3, 89, 84]
Generated Node #0,1: 86:[3, 89, 84] Operation: 45+39=84
Exploring Operation: 45-3=42, Resulting Numbers: [89, 39, 42]
Generated Node #0,2: 86:[89, 39, 42] Operation: 45-3=42
Exploring Operation: 89-3=86, Resulting Numbers: [45, 39, 86]
Generated Node #0,3: 86:[45, 39, 86] Operation: 89-3=86
Exploring Operation: 3+39=42, Resulting Numbers: [45, 89, 42]
Generated Node #0,4: 86:[45, 89, 42] Operation: 3+39=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[3, 39, 44], Operations: ['89-45=44']
Exploring Operation: 39-3=36, Resulting Numbers: [44, 36]
Generated Node #0,0,0: 86:[44, 36] Operation: 39-3=36
Exploring Operation: 3+39=42, Resulting Numbers: [44, 42]
Generated Node #0,0,1: 86:[44, 42] Operation: 3+39=42
Exploring Operation: 39+44=83, Resulting Numbers: [3, 83]
Generated Node #0,0,2: 86:[3, 83] Operation: 39+44=83
Exploring Operation: 44-3=41, Resulting Numbers: [39, 41]
Generated Node #0,0,3: 86:[39, 41] Operation: 44-3=41
Exploring Operation: 44-39=5, Resulting Numbers: [3, 5]
Generated Node #0,0,4: 86:[3, 5] Operation: 44-39=5
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[44, 42], Operations: ['89-45=44', '3+39=42']
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 44*42=1848, Resulting Numbers: [1848]
1848,86 unequal: No Solution
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[3, 45, 89, 39], Operations: []
Exploring Operation: 89-45=44, Resulting Numbers: [3, 39, 44]
Generated Node #0,0: 86:[3, 39, 44] Operation: 89-45=44
Moving to Node #0,0
Current State: 86:[3, 39, 44], Operations: ['89-45=44']
Exploring Operation: 3+39=42, Resulting Numbers: [44, 42]
Generated Node #0,0,1: 86:[44, 42] Operation: 3+39=42
Moving to Node #0,0,1
Current State: 86:[44, 42], Operations: ['89-45=44', '3+39=42']
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
64,
4,
12,
2
] | 65 | [
"64-2=62",
"12/4=3",
"62+3=65"
] | Current State: 65:[64, 4, 12, 2], Operations: []
Exploring Operation: 64-2=62, Resulting Numbers: [4, 12, 62]
Generated Node #2: [4, 12, 62] from Operation: 64-2=62
Current State: 65:[4, 12, 62], Operations: ['64-2=62']
Exploring Operation: 12/4=3, Resulting Numbers: [62, 3]
Generated Node #3: [62, 3] from Operation: 12/4=3
Current State: 65:[62, 3], Operations: ['64-2=62', '12/4=3']
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[64, 4, 12, 2], Operations: []
Exploring Operation: 4+2=6, Resulting Numbers: [64, 12, 6]
Generated Node #0,0: 65:[64, 12, 6] Operation: 4+2=6
Exploring Operation: 12+2=14, Resulting Numbers: [64, 4, 14]
Generated Node #0,1: 65:[64, 4, 14] Operation: 12+2=14
Exploring Operation: 64-2=62, Resulting Numbers: [4, 12, 62]
Generated Node #0,2: 65:[4, 12, 62] Operation: 64-2=62
Exploring Operation: 64+2=66, Resulting Numbers: [4, 12, 66]
Generated Node #0,3: 65:[4, 12, 66] Operation: 64+2=66
Exploring Operation: 12/2=6, Resulting Numbers: [64, 4, 6]
Generated Node #0,4: 65:[64, 4, 6] Operation: 12/2=6
Moving to Node #0,0
Current State: 65:[64, 12, 6], Operations: ['4+2=6']
Exploring Operation: 64+6=70, Resulting Numbers: [12, 70]
Generated Node #0,0,0: 65:[12, 70] Operation: 64+6=70
Exploring Operation: 12-6=6, Resulting Numbers: [64, 6]
Generated Node #0,0,1: 65:[64, 6] Operation: 12-6=6
Exploring Operation: 12/6=2, Resulting Numbers: [64, 2]
Generated Node #0,0,2: 65:[64, 2] Operation: 12/6=2
Exploring Operation: 64-6=58, Resulting Numbers: [12, 58]
Generated Node #0,0,3: 65:[12, 58] Operation: 64-6=58
Exploring Operation: 12+6=18, Resulting Numbers: [64, 18]
Generated Node #0,0,4: 65:[64, 18] Operation: 12+6=18
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[64, 6], Operations: ['4+2=6', '12-6=6']
Exploring Operation: 64+6=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Exploring Operation: 64*6=384, Resulting Numbers: [384]
384,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 65:[64, 2], Operations: ['4+2=6', '12/6=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,65 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,65 unequal: No Solution
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,65 unequal: No Solution
Exploring Operation: 64*2=128, Resulting Numbers: [128]
128,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[12, 70], Operations: ['4+2=6', '64+6=70']
Exploring Operation: 12+70=82, Resulting Numbers: [82]
82,65 unequal: No Solution
Exploring Operation: 12*70=840, Resulting Numbers: [840]
840,65 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 65:[64, 18], Operations: ['4+2=6', '12+6=18']
Exploring Operation: 64*18=1152, Resulting Numbers: [1152]
1152,65 unequal: No Solution
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,65 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 65:[12, 58], Operations: ['4+2=6', '64-6=58']
Exploring Operation: 12*58=696, Resulting Numbers: [696]
696,65 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 12+58=70, Resulting Numbers: [70]
70,65 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: 65:[4, 12, 66], Operations: ['64+2=66']
Exploring Operation: 12/4=3, Resulting Numbers: [66, 3]
Generated Node #0,3,0: 65:[66, 3] Operation: 12/4=3
Exploring Operation: 4+66=70, Resulting Numbers: [12, 70]
Generated Node #0,3,1: 65:[12, 70] Operation: 4+66=70
Exploring Operation: 4+12=16, Resulting Numbers: [66, 16]
Generated Node #0,3,2: 65:[66, 16] Operation: 4+12=16
Exploring Operation: 12-4=8, Resulting Numbers: [66, 8]
Generated Node #0,3,3: 65:[66, 8] Operation: 12-4=8
Exploring Operation: 66-4=62, Resulting Numbers: [12, 62]
Generated Node #0,3,4: 65:[12, 62] Operation: 66-4=62
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 65:[66, 3], Operations: ['64+2=66', '12/4=3']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 66+3=69, Resulting Numbers: [69]
69,65 unequal: No Solution
Exploring Operation: 66*3=198, Resulting Numbers: [198]
198,65 unequal: No Solution
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 65:[66, 16], Operations: ['64+2=66', '4+12=16']
Exploring Operation: 66+16=82, Resulting Numbers: [82]
82,65 unequal: No Solution
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,65 unequal: No Solution
Exploring Operation: 66*16=1056, Resulting Numbers: [1056]
1056,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 65:[66, 8], Operations: ['64+2=66', '12-4=8']
Exploring Operation: 66*8=528, Resulting Numbers: [528]
528,65 unequal: No Solution
Exploring Operation: 66+8=74, Resulting Numbers: [74]
74,65 unequal: No Solution
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 65:[12, 62], Operations: ['64+2=66', '66-4=62']
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,65 unequal: No Solution
Exploring Operation: 12*62=744, Resulting Numbers: [744]
744,65 unequal: No Solution
Exploring Operation: 12+62=74, Resulting Numbers: [74]
74,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 65:[12, 70], Operations: ['64+2=66', '4+66=70']
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Exploring Operation: 12+70=82, Resulting Numbers: [82]
82,65 unequal: No Solution
Exploring Operation: 12*70=840, Resulting Numbers: [840]
840,65 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: 65:[64, 4, 14], Operations: ['12+2=14']
Exploring Operation: 4+14=18, Resulting Numbers: [64, 18]
Generated Node #0,1,0: 65:[64, 18] Operation: 4+14=18
Exploring Operation: 64+4=68, Resulting Numbers: [14, 68]
Generated Node #0,1,1: 65:[14, 68] Operation: 64+4=68
Exploring Operation: 64-4=60, Resulting Numbers: [14, 60]
Generated Node #0,1,2: 65:[14, 60] Operation: 64-4=60
Exploring Operation: 14-4=10, Resulting Numbers: [64, 10]
Generated Node #0,1,3: 65:[64, 10] Operation: 14-4=10
Exploring Operation: 64/4=16, Resulting Numbers: [14, 16]
Generated Node #0,1,4: 65:[14, 16] Operation: 64/4=16
Moving to Node #0,4
Current State: 65:[64, 4, 6], Operations: ['12/2=6']
Exploring Operation: 64+4=68, Resulting Numbers: [6, 68]
Generated Node #0,4,0: 65:[6, 68] Operation: 64+4=68
Exploring Operation: 64/4=16, Resulting Numbers: [6, 16]
Generated Node #0,4,1: 65:[6, 16] Operation: 64/4=16
Exploring Operation: 6-4=2, Resulting Numbers: [64, 2]
Generated Node #0,4,2: 65:[64, 2] Operation: 6-4=2
Exploring Operation: 4+6=10, Resulting Numbers: [64, 10]
Generated Node #0,4,3: 65:[64, 10] Operation: 4+6=10
Exploring Operation: 64-4=60, Resulting Numbers: [6, 60]
Generated Node #0,4,4: 65:[6, 60] Operation: 64-4=60
Moving to Node #0,2
Current State: 65:[4, 12, 62], Operations: ['64-2=62']
Exploring Operation: 4+62=66, Resulting Numbers: [12, 66]
Generated Node #0,2,0: 65:[12, 66] Operation: 4+62=66
Exploring Operation: 62-4=58, Resulting Numbers: [12, 58]
Generated Node #0,2,1: 65:[12, 58] Operation: 62-4=58
Exploring Operation: 12-4=8, Resulting Numbers: [62, 8]
Generated Node #0,2,2: 65:[62, 8] Operation: 12-4=8
Exploring Operation: 12/4=3, Resulting Numbers: [62, 3]
Generated Node #0,2,3: 65:[62, 3] Operation: 12/4=3
Exploring Operation: 4+12=16, Resulting Numbers: [62, 16]
Generated Node #0,2,4: 65:[62, 16] Operation: 4+12=16
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 65:[12, 66], Operations: ['64-2=62', '4+62=66']
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 12+66=78, Resulting Numbers: [78]
78,65 unequal: No Solution
Exploring Operation: 12*66=792, Resulting Numbers: [792]
792,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 65:[62, 3], Operations: ['64-2=62', '12/4=3']
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,65 unequal: No Solution
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[64, 4, 12, 2], Operations: []
Exploring Operation: 64-2=62, Resulting Numbers: [4, 12, 62]
Generated Node #0,2: 65:[4, 12, 62] Operation: 64-2=62
Moving to Node #0,2
Current State: 65:[4, 12, 62], Operations: ['64-2=62']
Exploring Operation: 12/4=3, Resulting Numbers: [62, 3]
Generated Node #0,2,3: 65:[62, 3] Operation: 12/4=3
Moving to Node #0,2,3
Current State: 65:[62, 3], Operations: ['64-2=62', '12/4=3']
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.938368 | hs_5 | mult_heuristic |
[
28,
45,
84,
49
] | 91 | [
"84/28=3",
"45+49=94",
"94-3=91"
] | Current State: 91:[28, 45, 84, 49], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [45, 49, 3]
Generated Node #2: [45, 49, 3] from Operation: 84/28=3
Current State: 91:[45, 49, 3], Operations: ['84/28=3']
Exploring Operation: 45+49=94, Resulting Numbers: [3, 94]
Generated Node #3: [3, 94] from Operation: 45+49=94
Current State: 91:[3, 94], Operations: ['84/28=3', '45+49=94']
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[28, 45, 84, 49], Operations: []
Exploring Operation: 45+49=94, Resulting Numbers: [28, 84, 94]
Generated Node #0,0: 91:[28, 84, 94] Operation: 45+49=94
Exploring Operation: 49-45=4, Resulting Numbers: [28, 84, 4]
Generated Node #0,1: 91:[28, 84, 4] Operation: 49-45=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[28, 84, 94], Operations: ['45+49=94']
Exploring Operation: 94-84=10, Resulting Numbers: [28, 10]
Generated Node #0,0,0: 91:[28, 10] Operation: 94-84=10
Exploring Operation: 84/28=3, Resulting Numbers: [94, 3]
Generated Node #0,0,1: 91:[94, 3] Operation: 84/28=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[94, 3], Operations: ['45+49=94', '84/28=3']
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,91 unequal: No Solution
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[28, 45, 84, 49], Operations: []
Exploring Operation: 45+49=94, Resulting Numbers: [28, 84, 94]
Generated Node #0,0: 91:[28, 84, 94] Operation: 45+49=94
Moving to Node #0,0
Current State: 91:[28, 84, 94], Operations: ['45+49=94']
Exploring Operation: 84/28=3, Resulting Numbers: [94, 3]
Generated Node #0,0,1: 91:[94, 3] Operation: 84/28=3
Moving to Node #0,0,1
Current State: 91:[94, 3], Operations: ['45+49=94', '84/28=3']
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
51,
31,
4,
27
] | 88 | [
"51-31=20",
"4*27=108",
"108-20=88"
] | Current State: 88:[51, 31, 4, 27], Operations: []
Exploring Operation: 51-31=20, Resulting Numbers: [4, 27, 20]
Generated Node #2: [4, 27, 20] from Operation: 51-31=20
Current State: 88:[4, 27, 20], Operations: ['51-31=20']
Exploring Operation: 4*27=108, Resulting Numbers: [20, 108]
Generated Node #3: [20, 108] from Operation: 4*27=108
Current State: 88:[20, 108], Operations: ['51-31=20', '4*27=108']
Exploring Operation: 108-20=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[51, 31, 4, 27], Operations: []
Exploring Operation: 51-4=47, Resulting Numbers: [31, 27, 47]
Generated Node #0,0: 88:[31, 27, 47] Operation: 51-4=47
Exploring Operation: 51-31=20, Resulting Numbers: [4, 27, 20]
Generated Node #0,1: 88:[4, 27, 20] Operation: 51-31=20
Exploring Operation: 31-27=4, Resulting Numbers: [51, 4, 4]
Generated Node #0,2: 88:[51, 4, 4] Operation: 31-27=4
Exploring Operation: 51-27=24, Resulting Numbers: [31, 4, 24]
Generated Node #0,3: 88:[31, 4, 24] Operation: 51-27=24
Exploring Operation: 51+31=82, Resulting Numbers: [4, 27, 82]
Generated Node #0,4: 88:[4, 27, 82] Operation: 51+31=82
Moving to Node #0,1
Current State: 88:[4, 27, 20], Operations: ['51-31=20']
Exploring Operation: 27+20=47, Resulting Numbers: [4, 47]
Generated Node #0,1,0: 88:[4, 47] Operation: 27+20=47
Exploring Operation: 20/4=5, Resulting Numbers: [27, 5]
Generated Node #0,1,1: 88:[27, 5] Operation: 20/4=5
Exploring Operation: 4+20=24, Resulting Numbers: [27, 24]
Generated Node #0,1,2: 88:[27, 24] Operation: 4+20=24
Exploring Operation: 27-4=23, Resulting Numbers: [20, 23]
Generated Node #0,1,3: 88:[20, 23] Operation: 27-4=23
Exploring Operation: 27-20=7, Resulting Numbers: [4, 7]
Generated Node #0,1,4: 88:[4, 7] Operation: 27-20=7
Moving to Node #0,2
Current State: 88:[51, 4, 4], Operations: ['31-27=4']
Exploring Operation: 51-4=47, Resulting Numbers: [4, 47]
Generated Node #0,2,0: 88:[4, 47] Operation: 51-4=47
Exploring Operation: 4-4=0, Resulting Numbers: [51, 0]
Generated Node #0,2,1: 88:[51, 0] Operation: 4-4=0
Exploring Operation: 4/4=1, Resulting Numbers: [51, 1]
Generated Node #0,2,2: 88:[51, 1] Operation: 4/4=1
Exploring Operation: 4+4=8, Resulting Numbers: [51, 8]
Generated Node #0,2,3: 88:[51, 8] Operation: 4+4=8
Exploring Operation: 51-4=47, Resulting Numbers: [4, 47]
Generated Node #0,2,4: 88:[4, 47] Operation: 51-4=47
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[4, 47], Operations: ['31-27=4', '51-4=47']
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,88 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,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,4
Current State: 88:[4, 47], Operations: ['31-27=4', '51-4=47']
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,88 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,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,3
Current State: 88:[51, 8], Operations: ['31-27=4', '4+4=8']
Exploring Operation: 51+8=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 51*8=408, Resulting Numbers: [408]
408,88 unequal: No Solution
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,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,2
Current State: 88:[51, 1], Operations: ['31-27=4', '4/4=1']
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,88 unequal: No Solution
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,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,1
Current State: 88:[51, 0], Operations: ['31-27=4', '4-4=0']
Exploring Operation: 51+0=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 51*0=0, Resulting Numbers: [0]
0,88 unequal: No Solution
Exploring Operation: 51-0=51, Resulting Numbers: [51]
51,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 88:[31, 4, 24], Operations: ['51-27=24']
Exploring Operation: 24-4=20, Resulting Numbers: [31, 20]
Generated Node #0,3,0: 88:[31, 20] Operation: 24-4=20
Exploring Operation: 31+24=55, Resulting Numbers: [4, 55]
Generated Node #0,3,1: 88:[4, 55] Operation: 31+24=55
Exploring Operation: 31-24=7, Resulting Numbers: [4, 7]
Generated Node #0,3,2: 88:[4, 7] Operation: 31-24=7
Exploring Operation: 31+4=35, Resulting Numbers: [24, 35]
Generated Node #0,3,3: 88:[24, 35] Operation: 31+4=35
Exploring Operation: 31-4=27, Resulting Numbers: [24, 27]
Generated Node #0,3,4: 88:[24, 27] Operation: 31-4=27
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 88:[4, 7], Operations: ['51-27=24', '31-24=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,88 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 88:[24, 27], Operations: ['51-27=24', '31-4=27']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 24*27=648, Resulting Numbers: [648]
648,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 88:[31, 20], Operations: ['51-27=24', '24-4=20']
Exploring Operation: 31*20=620, Resulting Numbers: [620]
620,88 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 31+20=51, Resulting Numbers: [51]
51,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 88:[4, 55], Operations: ['51-27=24', '31+24=55']
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 4*55=220, Resulting Numbers: [220]
220,88 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 88:[24, 35], Operations: ['51-27=24', '31+4=35']
Exploring Operation: 24+35=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 24*35=840, Resulting Numbers: [840]
840,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 88:[4, 27, 82], Operations: ['51+31=82']
Exploring Operation: 4+82=86, Resulting Numbers: [27, 86]
Generated Node #0,4,0: 88:[27, 86] Operation: 4+82=86
Exploring Operation: 27-4=23, Resulting Numbers: [82, 23]
Generated Node #0,4,1: 88:[82, 23] Operation: 27-4=23
Exploring Operation: 82-27=55, Resulting Numbers: [4, 55]
Generated Node #0,4,2: 88:[4, 55] Operation: 82-27=55
Exploring Operation: 82-4=78, Resulting Numbers: [27, 78]
Generated Node #0,4,3: 88:[27, 78] Operation: 82-4=78
Exploring Operation: 4+27=31, Resulting Numbers: [82, 31]
Generated Node #0,4,4: 88:[82, 31] Operation: 4+27=31
Moving to Node #0,0
Current State: 88:[31, 27, 47], Operations: ['51-4=47']
Exploring Operation: 31+47=78, Resulting Numbers: [27, 78]
Generated Node #0,0,0: 88:[27, 78] Operation: 31+47=78
Exploring Operation: 47-31=16, Resulting Numbers: [27, 16]
Generated Node #0,0,1: 88:[27, 16] Operation: 47-31=16
Exploring Operation: 47-27=20, Resulting Numbers: [31, 20]
Generated Node #0,0,2: 88:[31, 20] Operation: 47-27=20
Exploring Operation: 31-27=4, Resulting Numbers: [47, 4]
Generated Node #0,0,3: 88:[47, 4] Operation: 31-27=4
Exploring Operation: 31+27=58, Resulting Numbers: [47, 58]
Generated Node #0,0,4: 88:[47, 58] Operation: 31+27=58
Moving to Node #0,1,4
Current State: 88:[4, 7], Operations: ['51-31=20', '27-20=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,88 unequal: No Solution
Moving to Node #0,1,3
Current State: 88:[20, 23], Operations: ['51-31=20', '27-4=23']
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 20+23=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 20*23=460, Resulting Numbers: [460]
460,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[4, 47], Operations: ['51-31=20', '27+20=47']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,88 unequal: No Solution
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[47, 4], Operations: ['51-4=47', '31-27=4']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 47*4=188, Resulting Numbers: [188]
188,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[27, 5], Operations: ['51-31=20', '20/4=5']
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,88 unequal: No Solution
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,88 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,88 unequal: No Solution
Moving to Node #0,4,1
Current State: 88:[82, 23], Operations: ['51+31=82', '27-4=23']
Exploring Operation: 82+23=105, Resulting Numbers: [105]
105,88 unequal: No Solution
Exploring Operation: 82*23=1886, Resulting Numbers: [1886]
1886,88 unequal: No Solution
Exploring Operation: 82-23=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Moving to Node #0,4,0
Current State: 88:[27, 86], Operations: ['51+31=82', '4+82=86']
Exploring Operation: 27+86=113, Resulting Numbers: [113]
113,88 unequal: No Solution
Exploring Operation: 86-27=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 27*86=2322, Resulting Numbers: [2322]
2322,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[27, 24], Operations: ['51-31=20', '4+20=24']
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,88 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[27, 16], Operations: ['51-4=47', '47-31=16']
Exploring Operation: 27*16=432, Resulting Numbers: [432]
432,88 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Moving to Node #0,4,2
Current State: 88:[4, 55], Operations: ['51+31=82', '82-27=55']
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 4*55=220, Resulting Numbers: [220]
220,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[31, 20], Operations: ['51-4=47', '47-27=20']
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 31+20=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 31*20=620, Resulting Numbers: [620]
620,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[27, 78], Operations: ['51-4=47', '31+47=78']
Exploring Operation: 27*78=2106, Resulting Numbers: [2106]
2106,88 unequal: No Solution
Exploring Operation: 78-27=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 27+78=105, Resulting Numbers: [105]
105,88 unequal: No Solution
Moving to Node #0,4,3
Current State: 88:[27, 78], Operations: ['51+31=82', '82-4=78']
Exploring Operation: 27*78=2106, Resulting Numbers: [2106]
2106,88 unequal: No Solution
Exploring Operation: 78-27=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 27+78=105, Resulting Numbers: [105]
105,88 unequal: No Solution
Moving to Node #0,4,4
Current State: 88:[82, 31], Operations: ['51+31=82', '4+27=31']
Exploring Operation: 82*31=2542, Resulting Numbers: [2542]
2542,88 unequal: No Solution
Exploring Operation: 82-31=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 82+31=113, Resulting Numbers: [113]
113,88 unequal: No Solution
Moving to Node #0,0,4
Current State: 88:[47, 58], Operations: ['51-4=47', '31+27=58']
Exploring Operation: 47*58=2726, Resulting Numbers: [2726]
2726,88 unequal: No Solution
Exploring Operation: 47+58=105, Resulting Numbers: [105]
105,88 unequal: No Solution
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,88 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
22,
83,
58,
67
] | 64 | [
"83-22=61",
"58+67=125",
"125-61=64"
] | Current State: 64:[22, 83, 58, 67], Operations: []
Exploring Operation: 83-22=61, Resulting Numbers: [58, 67, 61]
Generated Node #2: [58, 67, 61] from Operation: 83-22=61
Current State: 64:[58, 67, 61], Operations: ['83-22=61']
Exploring Operation: 58+67=125, Resulting Numbers: [61, 125]
Generated Node #3: [61, 125] from Operation: 58+67=125
Current State: 64:[61, 125], Operations: ['83-22=61', '58+67=125']
Exploring Operation: 125-61=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[22, 83, 58, 67], Operations: []
Exploring Operation: 83-67=16, Resulting Numbers: [22, 58, 16]
Generated Node #0,0: 64:[22, 58, 16] Operation: 83-67=16
Exploring Operation: 83-22=61, Resulting Numbers: [58, 67, 61]
Generated Node #0,1: 64:[58, 67, 61] Operation: 83-22=61
Moving to Node #0,0
Current State: 64:[22, 58, 16], Operations: ['83-67=16']
Exploring Operation: 22-16=6, Resulting Numbers: [58, 6]
Generated Node #0,0,0: 64:[58, 6] Operation: 22-16=6
Exploring Operation: 58-22=36, Resulting Numbers: [16, 36]
Generated Node #0,0,1: 64:[16, 36] Operation: 58-22=36
Moving to Node #0,1
Current State: 64:[58, 67, 61], Operations: ['83-22=61']
Exploring Operation: 67-58=9, Resulting Numbers: [61, 9]
Generated Node #0,1,0: 64:[61, 9] Operation: 67-58=9
Exploring Operation: 61-58=3, Resulting Numbers: [67, 3]
Generated Node #0,1,1: 64:[67, 3] Operation: 61-58=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[61, 9], Operations: ['83-22=61', '67-58=9']
Exploring Operation: 61+9=70, Resulting Numbers: [70]
70,64 unequal: No Solution
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[67, 3], Operations: ['83-22=61', '61-58=3']
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,64 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[22, 83, 58, 67], Operations: []
Exploring Operation: 83-22=61, Resulting Numbers: [58, 67, 61]
Generated Node #0,1: 64:[58, 67, 61] Operation: 83-22=61
Moving to Node #0,1
Current State: 64:[58, 67, 61], Operations: ['83-22=61']
Exploring Operation: 61-58=3, Resulting Numbers: [67, 3]
Generated Node #0,1,1: 64:[67, 3] Operation: 61-58=3
Moving to Node #0,1,1
Current State: 64:[67, 3], Operations: ['83-22=61', '61-58=3']
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_2 | mult_heuristic |
[
32,
7,
74,
19
] | 91 | [
"74-32=42",
"7*19=133",
"133-42=91"
] | Current State: 91:[32, 7, 74, 19], Operations: []
Exploring Operation: 74-32=42, Resulting Numbers: [7, 19, 42]
Generated Node #2: [7, 19, 42] from Operation: 74-32=42
Current State: 91:[7, 19, 42], Operations: ['74-32=42']
Exploring Operation: 7*19=133, Resulting Numbers: [42, 133]
Generated Node #3: [42, 133] from Operation: 7*19=133
Current State: 91:[42, 133], Operations: ['74-32=42', '7*19=133']
Exploring Operation: 133-42=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[32, 7, 74, 19], Operations: []
Exploring Operation: 32+74=106, Resulting Numbers: [7, 19, 106]
Generated Node #0,0: 91:[7, 19, 106] Operation: 32+74=106
Exploring Operation: 32-19=13, Resulting Numbers: [7, 74, 13]
Generated Node #0,1: 91:[7, 74, 13] Operation: 32-19=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[7, 74, 13], Operations: ['32-19=13']
Exploring Operation: 7+74=81, Resulting Numbers: [13, 81]
Generated Node #0,1,0: 91:[13, 81] Operation: 7+74=81
Exploring Operation: 74+13=87, Resulting Numbers: [7, 87]
Generated Node #0,1,1: 91:[7, 87] Operation: 74+13=87
Moving to Node #0,1,1
Current State: 91:[7, 87], Operations: ['32-19=13', '74+13=87']
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,91 unequal: No Solution
Exploring Operation: 7+87=94, Resulting Numbers: [94]
94,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[13, 81], Operations: ['32-19=13', '7+74=81']
Exploring Operation: 13+81=94, Resulting Numbers: [94]
94,91 unequal: No Solution
Exploring Operation: 81-13=68, Resulting Numbers: [68]
68,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[7, 19, 106], Operations: ['32+74=106']
Exploring Operation: 106-7=99, Resulting Numbers: [19, 99]
Generated Node #0,0,0: 91:[19, 99] Operation: 106-7=99
Exploring Operation: 106-19=87, Resulting Numbers: [7, 87]
Generated Node #0,0,1: 91:[7, 87] Operation: 106-19=87
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[7, 87], Operations: ['32+74=106', '106-19=87']
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,91 unequal: No Solution
Exploring Operation: 7+87=94, Resulting Numbers: [94]
94,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[19, 99], Operations: ['32+74=106', '106-7=99']
Exploring Operation: 99-19=80, Resulting Numbers: [80]
80,91 unequal: No Solution
Exploring Operation: 19+99=118, Resulting Numbers: [118]
118,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
42,
46,
61,
21
] | 36 | [
"46-42=4",
"61-21=40",
"40-4=36"
] | Current State: 36:[42, 46, 61, 21], Operations: []
Exploring Operation: 46-42=4, Resulting Numbers: [61, 21, 4]
Generated Node #2: [61, 21, 4] from Operation: 46-42=4
Current State: 36:[61, 21, 4], Operations: ['46-42=4']
Exploring Operation: 61-21=40, Resulting Numbers: [4, 40]
Generated Node #3: [4, 40] from Operation: 61-21=40
Current State: 36:[4, 40], Operations: ['46-42=4', '61-21=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[42, 46, 61, 21], Operations: []
Exploring Operation: 61-21=40, Resulting Numbers: [42, 46, 40]
Generated Node #0,0: 36:[42, 46, 40] Operation: 61-21=40
Exploring Operation: 46-42=4, Resulting Numbers: [61, 21, 4]
Generated Node #0,1: 36:[61, 21, 4] Operation: 46-42=4
Exploring Operation: 61-42=19, Resulting Numbers: [46, 21, 19]
Generated Node #0,2: 36:[46, 21, 19] Operation: 61-42=19
Exploring Operation: 61-46=15, Resulting Numbers: [42, 21, 15]
Generated Node #0,3: 36:[42, 21, 15] Operation: 61-46=15
Exploring Operation: 42/21=2, Resulting Numbers: [46, 61, 2]
Generated Node #0,4: 36:[46, 61, 2] Operation: 42/21=2
Moving to Node #0,3
Current State: 36:[42, 21, 15], Operations: ['61-46=15']
Exploring Operation: 42-21=21, Resulting Numbers: [15, 21]
Generated Node #0,3,0: 36:[15, 21] Operation: 42-21=21
Exploring Operation: 42/21=2, Resulting Numbers: [15, 2]
Generated Node #0,3,1: 36:[15, 2] Operation: 42/21=2
Exploring Operation: 21+15=36, Resulting Numbers: [42, 36]
Generated Node #0,3,2: 36:[42, 36] Operation: 21+15=36
Exploring Operation: 42-15=27, Resulting Numbers: [21, 27]
Generated Node #0,3,3: 36:[21, 27] Operation: 42-15=27
Exploring Operation: 21-15=6, Resulting Numbers: [42, 6]
Generated Node #0,3,4: 36:[42, 6] Operation: 21-15=6
Moving to Node #0,2
Current State: 36:[46, 21, 19], Operations: ['61-42=19']
Exploring Operation: 46+21=67, Resulting Numbers: [19, 67]
Generated Node #0,2,0: 36:[19, 67] Operation: 46+21=67
Exploring Operation: 21+19=40, Resulting Numbers: [46, 40]
Generated Node #0,2,1: 36:[46, 40] Operation: 21+19=40
Exploring Operation: 21-19=2, Resulting Numbers: [46, 2]
Generated Node #0,2,2: 36:[46, 2] Operation: 21-19=2
Exploring Operation: 46-19=27, Resulting Numbers: [21, 27]
Generated Node #0,2,3: 36:[21, 27] Operation: 46-19=27
Exploring Operation: 46-21=25, Resulting Numbers: [19, 25]
Generated Node #0,2,4: 36:[19, 25] Operation: 46-21=25
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 36:[19, 25], Operations: ['61-42=19', '46-21=25']
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 19*25=475, Resulting Numbers: [475]
475,36 unequal: No Solution
Exploring Operation: 19+25=44, Resulting Numbers: [44]
44,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,2
Current State: 36:[46, 2], Operations: ['61-42=19', '21-19=2']
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,36 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,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,3
Current State: 36:[21, 27], Operations: ['61-42=19', '46-19=27']
Exploring Operation: 21+27=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 21*27=567, Resulting Numbers: [567]
567,36 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,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,1
Current State: 36:[46, 40], Operations: ['61-42=19', '21+19=40']
Exploring Operation: 46*40=1840, Resulting Numbers: [1840]
1840,36 unequal: No Solution
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 46+40=86, Resulting Numbers: [86]
86,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,0
Current State: 36:[19, 67], Operations: ['61-42=19', '46+21=67']
Exploring Operation: 19+67=86, Resulting Numbers: [86]
86,36 unequal: No Solution
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 19*67=1273, Resulting Numbers: [1273]
1273,36 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: 36:[42, 46, 40], Operations: ['61-21=40']
Exploring Operation: 46-40=6, Resulting Numbers: [42, 6]
Generated Node #0,0,0: 36:[42, 6] Operation: 46-40=6
Exploring Operation: 42+40=82, Resulting Numbers: [46, 82]
Generated Node #0,0,1: 36:[46, 82] Operation: 42+40=82
Exploring Operation: 42+46=88, Resulting Numbers: [40, 88]
Generated Node #0,0,2: 36:[40, 88] Operation: 42+46=88
Exploring Operation: 42-40=2, Resulting Numbers: [46, 2]
Generated Node #0,0,3: 36:[46, 2] Operation: 42-40=2
Exploring Operation: 46-42=4, Resulting Numbers: [40, 4]
Generated Node #0,0,4: 36:[40, 4] Operation: 46-42=4
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 36:[40, 4], Operations: ['61-21=40', '46-42=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[42, 46, 61, 21], Operations: []
Exploring Operation: 61-21=40, Resulting Numbers: [42, 46, 40]
Generated Node #0,0: 36:[42, 46, 40] Operation: 61-21=40
Moving to Node #0,0
Current State: 36:[42, 46, 40], Operations: ['61-21=40']
Exploring Operation: 46-42=4, Resulting Numbers: [40, 4]
Generated Node #0,0,4: 36:[40, 4] Operation: 46-42=4
Moving to Node #0,0,4
Current State: 36:[40, 4], Operations: ['61-21=40', '46-42=4']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | sum_heuristic |
[
96,
21,
20,
47
] | 50 | [
"96+21=117",
"20+47=67",
"117-67=50"
] | Current State: 50:[96, 21, 20, 47], Operations: []
Exploring Operation: 96+21=117, Resulting Numbers: [20, 47, 117]
Generated Node #2: [20, 47, 117] from Operation: 96+21=117
Current State: 50:[20, 47, 117], Operations: ['96+21=117']
Exploring Operation: 20+47=67, Resulting Numbers: [117, 67]
Generated Node #3: [117, 67] from Operation: 20+47=67
Current State: 50:[117, 67], Operations: ['96+21=117', '20+47=67']
Exploring Operation: 117-67=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[96, 21, 20, 47], Operations: []
Exploring Operation: 96-20=76, Resulting Numbers: [21, 47, 76]
Generated Node #0,0: 50:[21, 47, 76] Operation: 96-20=76
Exploring Operation: 96-47=49, Resulting Numbers: [21, 20, 49]
Generated Node #0,1: 50:[21, 20, 49] Operation: 96-47=49
Exploring Operation: 21-20=1, Resulting Numbers: [96, 47, 1]
Generated Node #0,2: 50:[96, 47, 1] Operation: 21-20=1
Exploring Operation: 96-21=75, Resulting Numbers: [20, 47, 75]
Generated Node #0,3: 50:[20, 47, 75] Operation: 96-21=75
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[21, 20, 49], Operations: ['96-47=49']
Exploring Operation: 49-21=28, Resulting Numbers: [20, 28]
Generated Node #0,1,0: 50:[20, 28] Operation: 49-21=28
Exploring Operation: 21-20=1, Resulting Numbers: [49, 1]
Generated Node #0,1,1: 50:[49, 1] Operation: 21-20=1
Exploring Operation: 21+20=41, Resulting Numbers: [49, 41]
Generated Node #0,1,2: 50:[49, 41] Operation: 21+20=41
Exploring Operation: 49-20=29, Resulting Numbers: [21, 29]
Generated Node #0,1,3: 50:[21, 29] Operation: 49-20=29
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 50:[49, 1], Operations: ['96-47=49', '21-20=1']
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[96, 21, 20, 47], Operations: []
Exploring Operation: 96-47=49, Resulting Numbers: [21, 20, 49]
Generated Node #0,1: 50:[21, 20, 49] Operation: 96-47=49
Moving to Node #0,1
Current State: 50:[21, 20, 49], Operations: ['96-47=49']
Exploring Operation: 21-20=1, Resulting Numbers: [49, 1]
Generated Node #0,1,1: 50:[49, 1] Operation: 21-20=1
Moving to Node #0,1,1
Current State: 50:[49, 1], Operations: ['96-47=49', '21-20=1']
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
55,
9,
80,
84
] | 68 | [
"55+9=64",
"84-80=4",
"64+4=68"
] | Current State: 68:[55, 9, 80, 84], Operations: []
Exploring Operation: 55+9=64, Resulting Numbers: [80, 84, 64]
Generated Node #2: [80, 84, 64] from Operation: 55+9=64
Current State: 68:[80, 84, 64], Operations: ['55+9=64']
Exploring Operation: 84-80=4, Resulting Numbers: [64, 4]
Generated Node #3: [64, 4] from Operation: 84-80=4
Current State: 68:[64, 4], Operations: ['55+9=64', '84-80=4']
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[55, 9, 80, 84], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [55, 9, 4]
Generated Node #0,0: 68:[55, 9, 4] Operation: 84-80=4
Exploring Operation: 55+9=64, Resulting Numbers: [80, 84, 64]
Generated Node #0,1: 68:[80, 84, 64] Operation: 55+9=64
Exploring Operation: 84-55=29, Resulting Numbers: [9, 80, 29]
Generated Node #0,2: 68:[9, 80, 29] Operation: 84-55=29
Exploring Operation: 80-55=25, Resulting Numbers: [9, 84, 25]
Generated Node #0,3: 68:[9, 84, 25] Operation: 80-55=25
Moving to Node #0,0
Current State: 68:[55, 9, 4], Operations: ['84-80=4']
Exploring Operation: 9-4=5, Resulting Numbers: [55, 5]
Generated Node #0,0,0: 68:[55, 5] Operation: 9-4=5
Exploring Operation: 55-9=46, Resulting Numbers: [4, 46]
Generated Node #0,0,1: 68:[4, 46] Operation: 55-9=46
Exploring Operation: 55+4=59, Resulting Numbers: [9, 59]
Generated Node #0,0,2: 68:[9, 59] Operation: 55+4=59
Exploring Operation: 55+9=64, Resulting Numbers: [4, 64]
Generated Node #0,0,3: 68:[4, 64] Operation: 55+9=64
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 68:[4, 64], Operations: ['84-80=4', '55+9=64']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[55, 9, 80, 84], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [55, 9, 4]
Generated Node #0,0: 68:[55, 9, 4] Operation: 84-80=4
Moving to Node #0,0
Current State: 68:[55, 9, 4], Operations: ['84-80=4']
Exploring Operation: 55+9=64, Resulting Numbers: [4, 64]
Generated Node #0,0,3: 68:[4, 64] Operation: 55+9=64
Moving to Node #0,0,3
Current State: 68:[4, 64], Operations: ['84-80=4', '55+9=64']
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
76,
9,
31,
62
] | 83 | [
"76+9=85",
"62/31=2",
"85-2=83"
] | Current State: 83:[76, 9, 31, 62], Operations: []
Exploring Operation: 76+9=85, Resulting Numbers: [31, 62, 85]
Generated Node #2: [31, 62, 85] from Operation: 76+9=85
Current State: 83:[31, 62, 85], Operations: ['76+9=85']
Exploring Operation: 62/31=2, Resulting Numbers: [85, 2]
Generated Node #3: [85, 2] from Operation: 62/31=2
Current State: 83:[85, 2], Operations: ['76+9=85', '62/31=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[76, 9, 31, 62], Operations: []
Exploring Operation: 9+62=71, Resulting Numbers: [76, 31, 71]
Generated Node #0,0: 83:[76, 31, 71] Operation: 9+62=71
Exploring Operation: 9+31=40, Resulting Numbers: [76, 62, 40]
Generated Node #0,1: 83:[76, 62, 40] Operation: 9+31=40
Moving to Node #0,0
Current State: 83:[76, 31, 71], Operations: ['9+62=71']
Exploring Operation: 31+71=102, Resulting Numbers: [76, 102]
Generated Node #0,0,0: 83:[76, 102] Operation: 31+71=102
Exploring Operation: 76+31=107, Resulting Numbers: [71, 107]
Generated Node #0,0,1: 83:[71, 107] Operation: 76+31=107
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[76, 102], Operations: ['9+62=71', '31+71=102']
Exploring Operation: 76+102=178, Resulting Numbers: [178]
178,83 unequal: No Solution
Exploring Operation: 102-76=26, Resulting Numbers: [26]
26,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:[71, 107], Operations: ['9+62=71', '76+31=107']
Exploring Operation: 107-71=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 71+107=178, Resulting Numbers: [178]
178,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:[76, 62, 40], Operations: ['9+31=40']
Exploring Operation: 62+40=102, Resulting Numbers: [76, 102]
Generated Node #0,1,0: 83:[76, 102] Operation: 62+40=102
Exploring Operation: 76+40=116, Resulting Numbers: [62, 116]
Generated Node #0,1,1: 83:[62, 116] Operation: 76+40=116
Moving to Node #0,1,0
Current State: 83:[76, 102], Operations: ['9+31=40', '62+40=102']
Exploring Operation: 76+102=178, Resulting Numbers: [178]
178,83 unequal: No Solution
Exploring Operation: 102-76=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[62, 116], Operations: ['9+31=40', '76+40=116']
Exploring Operation: 116-62=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 62+116=178, Resulting Numbers: [178]
178,83 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
24,
39,
2,
89
] | 98 | [
"24*2=48",
"89-39=50",
"48+50=98"
] | Current State: 98:[24, 39, 2, 89], Operations: []
Exploring Operation: 24*2=48, Resulting Numbers: [39, 89, 48]
Generated Node #2: [39, 89, 48] from Operation: 24*2=48
Current State: 98:[39, 89, 48], Operations: ['24*2=48']
Exploring Operation: 89-39=50, Resulting Numbers: [48, 50]
Generated Node #3: [48, 50] from Operation: 89-39=50
Current State: 98:[48, 50], Operations: ['24*2=48', '89-39=50']
Exploring Operation: 48+50=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[24, 39, 2, 89], Operations: []
Exploring Operation: 24/2=12, Resulting Numbers: [39, 89, 12]
Generated Node #0,0: 98:[39, 89, 12] Operation: 24/2=12
Exploring Operation: 89-39=50, Resulting Numbers: [24, 2, 50]
Generated Node #0,1: 98:[24, 2, 50] Operation: 89-39=50
Exploring Operation: 39-24=15, Resulting Numbers: [2, 89, 15]
Generated Node #0,2: 98:[2, 89, 15] Operation: 39-24=15
Exploring Operation: 24*2=48, Resulting Numbers: [39, 89, 48]
Generated Node #0,3: 98:[39, 89, 48] Operation: 24*2=48
Exploring Operation: 24+39=63, Resulting Numbers: [2, 89, 63]
Generated Node #0,4: 98:[2, 89, 63] Operation: 24+39=63
Moving to Node #0,2
Current State: 98:[2, 89, 15], Operations: ['39-24=15']
Exploring Operation: 2+15=17, Resulting Numbers: [89, 17]
Generated Node #0,2,0: 98:[89, 17] Operation: 2+15=17
Exploring Operation: 89+15=104, Resulting Numbers: [2, 104]
Generated Node #0,2,1: 98:[2, 104] Operation: 89+15=104
Exploring Operation: 89-2=87, Resulting Numbers: [15, 87]
Generated Node #0,2,2: 98:[15, 87] Operation: 89-2=87
Exploring Operation: 15-2=13, Resulting Numbers: [89, 13]
Generated Node #0,2,3: 98:[89, 13] Operation: 15-2=13
Exploring Operation: 2+89=91, Resulting Numbers: [15, 91]
Generated Node #0,2,4: 98:[15, 91] Operation: 2+89=91
Moving to Node #0,1
Current State: 98:[24, 2, 50], Operations: ['89-39=50']
Exploring Operation: 50-24=26, Resulting Numbers: [2, 26]
Generated Node #0,1,0: 98:[2, 26] Operation: 50-24=26
Exploring Operation: 50-2=48, Resulting Numbers: [24, 48]
Generated Node #0,1,1: 98:[24, 48] Operation: 50-2=48
Exploring Operation: 24/2=12, Resulting Numbers: [50, 12]
Generated Node #0,1,2: 98:[50, 12] Operation: 24/2=12
Exploring Operation: 24*2=48, Resulting Numbers: [50, 48]
Generated Node #0,1,3: 98:[50, 48] Operation: 24*2=48
Exploring Operation: 24-2=22, Resulting Numbers: [50, 22]
Generated Node #0,1,4: 98:[50, 22] Operation: 24-2=22
Moving to Node #0,3
Current State: 98:[39, 89, 48], Operations: ['24*2=48']
Exploring Operation: 39+89=128, Resulting Numbers: [48, 128]
Generated Node #0,3,0: 98:[48, 128] Operation: 39+89=128
Exploring Operation: 48-39=9, Resulting Numbers: [89, 9]
Generated Node #0,3,1: 98:[89, 9] Operation: 48-39=9
Exploring Operation: 39+48=87, Resulting Numbers: [89, 87]
Generated Node #0,3,2: 98:[89, 87] Operation: 39+48=87
Exploring Operation: 89-39=50, Resulting Numbers: [48, 50]
Generated Node #0,3,3: 98:[48, 50] Operation: 89-39=50
Exploring Operation: 89-48=41, Resulting Numbers: [39, 41]
Generated Node #0,3,4: 98:[39, 41] Operation: 89-48=41
Moving to Node #0,0
Current State: 98:[39, 89, 12], Operations: ['24/2=12']
Exploring Operation: 89-39=50, Resulting Numbers: [12, 50]
Generated Node #0,0,0: 98:[12, 50] Operation: 89-39=50
Exploring Operation: 39+12=51, Resulting Numbers: [89, 51]
Generated Node #0,0,1: 98:[89, 51] Operation: 39+12=51
Exploring Operation: 89-12=77, Resulting Numbers: [39, 77]
Generated Node #0,0,2: 98:[39, 77] Operation: 89-12=77
Exploring Operation: 89+12=101, Resulting Numbers: [39, 101]
Generated Node #0,0,3: 98:[39, 101] Operation: 89+12=101
Exploring Operation: 39-12=27, Resulting Numbers: [89, 27]
Generated Node #0,0,4: 98:[89, 27] Operation: 39-12=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[12, 50], Operations: ['24/2=12', '89-39=50']
Exploring Operation: 12*50=600, Resulting Numbers: [600]
600,98 unequal: No Solution
Exploring Operation: 12+50=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[89, 51], Operations: ['24/2=12', '39+12=51']
Exploring Operation: 89-51=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Exploring Operation: 89+51=140, Resulting Numbers: [140]
140,98 unequal: No Solution
Exploring Operation: 89*51=4539, Resulting Numbers: [4539]
4539,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 98:[39, 101], Operations: ['24/2=12', '89+12=101']
Exploring Operation: 39+101=140, Resulting Numbers: [140]
140,98 unequal: No Solution
Exploring Operation: 101-39=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Exploring Operation: 39*101=3939, Resulting Numbers: [3939]
3939,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 98:[89, 27], Operations: ['24/2=12', '39-12=27']
Exploring Operation: 89*27=2403, Resulting Numbers: [2403]
2403,98 unequal: No Solution
Exploring Operation: 89-27=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Exploring Operation: 89+27=116, Resulting Numbers: [116]
116,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 98:[39, 77], Operations: ['24/2=12', '89-12=77']
Exploring Operation: 39+77=116, Resulting Numbers: [116]
116,98 unequal: No Solution
Exploring Operation: 39*77=3003, Resulting Numbers: [3003]
3003,98 unequal: No Solution
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 98:[2, 89, 63], Operations: ['24+39=63']
Exploring Operation: 89-2=87, Resulting Numbers: [63, 87]
Generated Node #0,4,0: 98:[63, 87] Operation: 89-2=87
Exploring Operation: 63-2=61, Resulting Numbers: [89, 61]
Generated Node #0,4,1: 98:[89, 61] Operation: 63-2=61
Exploring Operation: 2+63=65, Resulting Numbers: [89, 65]
Generated Node #0,4,2: 98:[89, 65] Operation: 2+63=65
Exploring Operation: 89-63=26, Resulting Numbers: [2, 26]
Generated Node #0,4,3: 98:[2, 26] Operation: 89-63=26
Exploring Operation: 2+89=91, Resulting Numbers: [63, 91]
Generated Node #0,4,4: 98:[63, 91] Operation: 2+89=91
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 98:[2, 26], Operations: ['24+39=63', '89-63=26']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,98 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,98 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,98 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 98:[89, 61], Operations: ['24+39=63', '63-2=61']
Exploring Operation: 89-61=28, Resulting Numbers: [28]
28,98 unequal: No Solution
Exploring Operation: 89+61=150, Resulting Numbers: [150]
150,98 unequal: No Solution
Exploring Operation: 89*61=5429, Resulting Numbers: [5429]
5429,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 98:[63, 91], Operations: ['24+39=63', '2+89=91']
Exploring Operation: 91-63=28, Resulting Numbers: [28]
28,98 unequal: No Solution
Exploring Operation: 63+91=154, Resulting Numbers: [154]
154,98 unequal: No Solution
Exploring Operation: 63*91=5733, Resulting Numbers: [5733]
5733,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 98:[63, 87], Operations: ['24+39=63', '89-2=87']
Exploring Operation: 63*87=5481, Resulting Numbers: [5481]
5481,98 unequal: No Solution
Exploring Operation: 63+87=150, Resulting Numbers: [150]
150,98 unequal: No Solution
Exploring Operation: 87-63=24, Resulting Numbers: [24]
24,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 98:[89, 65], Operations: ['24+39=63', '2+63=65']
Exploring Operation: 89*65=5785, Resulting Numbers: [5785]
5785,98 unequal: No Solution
Exploring Operation: 89-65=24, Resulting Numbers: [24]
24,98 unequal: No Solution
Exploring Operation: 89+65=154, Resulting Numbers: [154]
154,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 98:[50, 48], Operations: ['89-39=50', '24*2=48']
Exploring Operation: 50-48=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 50+48=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[24, 39, 2, 89], Operations: []
Exploring Operation: 89-39=50, Resulting Numbers: [24, 2, 50]
Generated Node #0,1: 98:[24, 2, 50] Operation: 89-39=50
Moving to Node #0,1
Current State: 98:[24, 2, 50], Operations: ['89-39=50']
Exploring Operation: 24*2=48, Resulting Numbers: [50, 48]
Generated Node #0,1,3: 98:[50, 48] Operation: 24*2=48
Moving to Node #0,1,3
Current State: 98:[50, 48], Operations: ['89-39=50', '24*2=48']
Exploring Operation: 50+48=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.94184 | hs_5 | sum_heuristic |
[
90,
37,
61,
77
] | 11 | [
"90+37=127",
"61+77=138",
"138-127=11"
] | Current State: 11:[90, 37, 61, 77], Operations: []
Exploring Operation: 90+37=127, Resulting Numbers: [61, 77, 127]
Generated Node #2: [61, 77, 127] from Operation: 90+37=127
Current State: 11:[61, 77, 127], Operations: ['90+37=127']
Exploring Operation: 61+77=138, Resulting Numbers: [127, 138]
Generated Node #3: [127, 138] from Operation: 61+77=138
Current State: 11:[127, 138], Operations: ['90+37=127', '61+77=138']
Exploring Operation: 138-127=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[90, 37, 61, 77], Operations: []
Exploring Operation: 90-61=29, Resulting Numbers: [37, 77, 29]
Generated Node #0,0: 11:[37, 77, 29] Operation: 90-61=29
Exploring Operation: 90-77=13, Resulting Numbers: [37, 61, 13]
Generated Node #0,1: 11:[37, 61, 13] Operation: 90-77=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[37, 61, 13], Operations: ['90-77=13']
Exploring Operation: 37-13=24, Resulting Numbers: [61, 24]
Generated Node #0,1,0: 11:[61, 24] Operation: 37-13=24
Exploring Operation: 61-37=24, Resulting Numbers: [13, 24]
Generated Node #0,1,1: 11:[13, 24] Operation: 61-37=24
Moving to Node #0,1,1
Current State: 11:[13, 24], Operations: ['90-77=13', '61-37=24']
Exploring Operation: 13+24=37, Resulting Numbers: [37]
37,11 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[90, 37, 61, 77], Operations: []
Exploring Operation: 90-77=13, Resulting Numbers: [37, 61, 13]
Generated Node #0,1: 11:[37, 61, 13] Operation: 90-77=13
Moving to Node #0,1
Current State: 11:[37, 61, 13], Operations: ['90-77=13']
Exploring Operation: 61-37=24, Resulting Numbers: [13, 24]
Generated Node #0,1,1: 11:[13, 24] Operation: 61-37=24
Moving to Node #0,1,1
Current State: 11:[13, 24], Operations: ['90-77=13', '61-37=24']
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
5,
15,
19,
78
] | 32 | [
"5*19=95",
"78-15=63",
"95-63=32"
] | Current State: 32:[5, 15, 19, 78], Operations: []
Exploring Operation: 5*19=95, Resulting Numbers: [15, 78, 95]
Generated Node #2: [15, 78, 95] from Operation: 5*19=95
Current State: 32:[15, 78, 95], Operations: ['5*19=95']
Exploring Operation: 78-15=63, Resulting Numbers: [95, 63]
Generated Node #3: [95, 63] from Operation: 78-15=63
Current State: 32:[95, 63], Operations: ['5*19=95', '78-15=63']
Exploring Operation: 95-63=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[5, 15, 19, 78], Operations: []
Exploring Operation: 78-19=59, Resulting Numbers: [5, 15, 59]
Generated Node #0,0: 32:[5, 15, 59] Operation: 78-19=59
Exploring Operation: 19-15=4, Resulting Numbers: [5, 78, 4]
Generated Node #0,1: 32:[5, 78, 4] Operation: 19-15=4
Exploring Operation: 19-5=14, Resulting Numbers: [15, 78, 14]
Generated Node #0,2: 32:[15, 78, 14] Operation: 19-5=14
Exploring Operation: 78-15=63, Resulting Numbers: [5, 19, 63]
Generated Node #0,3: 32:[5, 19, 63] Operation: 78-15=63
Exploring Operation: 78-5=73, Resulting Numbers: [15, 19, 73]
Generated Node #0,4: 32:[15, 19, 73] Operation: 78-5=73
Moving to Node #0,0
Current State: 32:[5, 15, 59], Operations: ['78-19=59']
Exploring Operation: 15/5=3, Resulting Numbers: [59, 3]
Generated Node #0,0,0: 32:[59, 3] Operation: 15/5=3
Exploring Operation: 59-5=54, Resulting Numbers: [15, 54]
Generated Node #0,0,1: 32:[15, 54] Operation: 59-5=54
Exploring Operation: 59-15=44, Resulting Numbers: [5, 44]
Generated Node #0,0,2: 32:[5, 44] Operation: 59-15=44
Exploring Operation: 15-5=10, Resulting Numbers: [59, 10]
Generated Node #0,0,3: 32:[59, 10] Operation: 15-5=10
Exploring Operation: 5+15=20, Resulting Numbers: [59, 20]
Generated Node #0,0,4: 32:[59, 20] Operation: 5+15=20
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 32:[5, 44], Operations: ['78-19=59', '59-15=44']
Exploring Operation: 5+44=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 5*44=220, Resulting Numbers: [220]
220,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:[15, 54], Operations: ['78-19=59', '59-5=54']
Exploring Operation: 15*54=810, Resulting Numbers: [810]
810,32 unequal: No Solution
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 15+54=69, Resulting Numbers: [69]
69,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:[59, 3], Operations: ['78-19=59', '15/5=3']
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,32 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,32 unequal: No Solution
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,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:[59, 10], Operations: ['78-19=59', '15-5=10']
Exploring Operation: 59*10=590, Resulting Numbers: [590]
590,32 unequal: No Solution
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 59+10=69, Resulting Numbers: [69]
69,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:[59, 20], Operations: ['78-19=59', '5+15=20']
Exploring Operation: 59+20=79, Resulting Numbers: [79]
79,32 unequal: No Solution
Exploring Operation: 59-20=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 59*20=1180, Resulting Numbers: [1180]
1180,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:[5, 19, 63], Operations: ['78-15=63']
Exploring Operation: 63-5=58, Resulting Numbers: [19, 58]
Generated Node #0,3,0: 32:[19, 58] Operation: 63-5=58
Exploring Operation: 19-5=14, Resulting Numbers: [63, 14]
Generated Node #0,3,1: 32:[63, 14] Operation: 19-5=14
Exploring Operation: 63-19=44, Resulting Numbers: [5, 44]
Generated Node #0,3,2: 32:[5, 44] Operation: 63-19=44
Exploring Operation: 5+63=68, Resulting Numbers: [19, 68]
Generated Node #0,3,3: 32:[19, 68] Operation: 5+63=68
Exploring Operation: 5+19=24, Resulting Numbers: [63, 24]
Generated Node #0,3,4: 32:[63, 24] Operation: 5+19=24
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 32:[5, 44], Operations: ['78-15=63', '63-19=44']
Exploring Operation: 5+44=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 5*44=220, Resulting Numbers: [220]
220,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,3,0
Current State: 32:[19, 58], Operations: ['78-15=63', '63-5=58']
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 19*58=1102, Resulting Numbers: [1102]
1102,32 unequal: No Solution
Exploring Operation: 19+58=77, Resulting Numbers: [77]
77,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,3,1
Current State: 32:[63, 14], Operations: ['78-15=63', '19-5=14']
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 63*14=882, Resulting Numbers: [882]
882,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,3,3
Current State: 32:[19, 68], Operations: ['78-15=63', '5+63=68']
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 19+68=87, Resulting Numbers: [87]
87,32 unequal: No Solution
Exploring Operation: 19*68=1292, Resulting Numbers: [1292]
1292,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,3,4
Current State: 32:[63, 24], Operations: ['78-15=63', '5+19=24']
Exploring Operation: 63-24=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 63+24=87, Resulting Numbers: [87]
87,32 unequal: No Solution
Exploring Operation: 63*24=1512, Resulting Numbers: [1512]
1512,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 32:[15, 19, 73], Operations: ['78-5=73']
Exploring Operation: 15+19=34, Resulting Numbers: [73, 34]
Generated Node #0,4,0: 32:[73, 34] Operation: 15+19=34
Exploring Operation: 15+73=88, Resulting Numbers: [19, 88]
Generated Node #0,4,1: 32:[19, 88] Operation: 15+73=88
Exploring Operation: 19-15=4, Resulting Numbers: [73, 4]
Generated Node #0,4,2: 32:[73, 4] Operation: 19-15=4
Exploring Operation: 73-19=54, Resulting Numbers: [15, 54]
Generated Node #0,4,3: 32:[15, 54] Operation: 73-19=54
Exploring Operation: 73-15=58, Resulting Numbers: [19, 58]
Generated Node #0,4,4: 32:[19, 58] Operation: 73-15=58
Moving to Node #0,1
Current State: 32:[5, 78, 4], Operations: ['19-15=4']
Exploring Operation: 78-5=73, Resulting Numbers: [4, 73]
Generated Node #0,1,0: 32:[4, 73] Operation: 78-5=73
Exploring Operation: 5*4=20, Resulting Numbers: [78, 20]
Generated Node #0,1,1: 32:[78, 20] Operation: 5*4=20
Exploring Operation: 5-4=1, Resulting Numbers: [78, 1]
Generated Node #0,1,2: 32:[78, 1] Operation: 5-4=1
Exploring Operation: 5+4=9, Resulting Numbers: [78, 9]
Generated Node #0,1,3: 32:[78, 9] Operation: 5+4=9
Exploring Operation: 78-4=74, Resulting Numbers: [5, 74]
Generated Node #0,1,4: 32:[5, 74] Operation: 78-4=74
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 32:[4, 73], Operations: ['19-15=4', '78-5=73']
Exploring Operation: 4+73=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 4*73=292, Resulting Numbers: [292]
292,32 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,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,4
Current State: 32:[5, 74], Operations: ['19-15=4', '78-4=74']
Exploring Operation: 5+74=79, Resulting Numbers: [79]
79,32 unequal: No Solution
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,32 unequal: No Solution
Exploring Operation: 5*74=370, Resulting Numbers: [370]
370,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:[78, 1], Operations: ['19-15=4', '5-4=1']
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Exploring Operation: 78*1=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,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:[78, 9], Operations: ['19-15=4', '5+4=9']
Exploring Operation: 78*9=702, Resulting Numbers: [702]
702,32 unequal: No Solution
Exploring Operation: 78+9=87, Resulting Numbers: [87]
87,32 unequal: No Solution
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,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:[78, 20], Operations: ['19-15=4', '5*4=20']
Exploring Operation: 78*20=1560, Resulting Numbers: [1560]
1560,32 unequal: No Solution
Exploring Operation: 78+20=98, Resulting Numbers: [98]
98,32 unequal: No Solution
Exploring Operation: 78-20=58, Resulting Numbers: [58]
58,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:[15, 78, 14], Operations: ['19-5=14']
Exploring Operation: 78-14=64, Resulting Numbers: [15, 64]
Generated Node #0,2,0: 32:[15, 64] Operation: 78-14=64
Exploring Operation: 78+14=92, Resulting Numbers: [15, 92]
Generated Node #0,2,1: 32:[15, 92] Operation: 78+14=92
Exploring Operation: 15-14=1, Resulting Numbers: [78, 1]
Generated Node #0,2,2: 32:[78, 1] Operation: 15-14=1
Exploring Operation: 15+14=29, Resulting Numbers: [78, 29]
Generated Node #0,2,3: 32:[78, 29] Operation: 15+14=29
Exploring Operation: 78-15=63, Resulting Numbers: [14, 63]
Generated Node #0,2,4: 32:[14, 63] Operation: 78-15=63
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 32:[15, 64], Operations: ['19-5=14', '78-14=64']
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 15*64=960, Resulting Numbers: [960]
960,32 unequal: No Solution
Exploring Operation: 15+64=79, Resulting Numbers: [79]
79,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 32:[14, 63], Operations: ['19-5=14', '78-15=63']
Exploring Operation: 14*63=882, Resulting Numbers: [882]
882,32 unequal: No Solution
Exploring Operation: 14+63=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 32:[78, 1], Operations: ['19-5=14', '15-14=1']
Exploring Operation: 78*1=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,32 unequal: No Solution
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 32:[78, 29], Operations: ['19-5=14', '15+14=29']
Exploring Operation: 78+29=107, Resulting Numbers: [107]
107,32 unequal: No Solution
Exploring Operation: 78*29=2262, Resulting Numbers: [2262]
2262,32 unequal: No Solution
Exploring Operation: 78-29=49, Resulting Numbers: [49]
49,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 32:[15, 92], Operations: ['19-5=14', '78+14=92']
Exploring Operation: 15+92=107, Resulting Numbers: [107]
107,32 unequal: No Solution
Exploring Operation: 92-15=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 15*92=1380, Resulting Numbers: [1380]
1380,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,3
Current State: 32:[15, 54], Operations: ['78-5=73', '73-19=54']
Exploring Operation: 15*54=810, Resulting Numbers: [810]
810,32 unequal: No Solution
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 15+54=69, Resulting Numbers: [69]
69,32 unequal: No Solution
Moving to Node #0,4,4
Current State: 32:[19, 58], Operations: ['78-5=73', '73-15=58']
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 19*58=1102, Resulting Numbers: [1102]
1102,32 unequal: No Solution
Exploring Operation: 19+58=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Moving to Node #0,4,2
Current State: 32:[73, 4], Operations: ['78-5=73', '19-15=4']
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,32 unequal: No Solution
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,32 unequal: No Solution
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,32 unequal: No Solution
Moving to Node #0,4,0
Current State: 32:[73, 34], Operations: ['78-5=73', '15+19=34']
Exploring Operation: 73*34=2482, Resulting Numbers: [2482]
2482,32 unequal: No Solution
Exploring Operation: 73+34=107, Resulting Numbers: [107]
107,32 unequal: No Solution
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Moving to Node #0,4,1
Current State: 32:[19, 88], Operations: ['78-5=73', '15+73=88']
Exploring Operation: 19+88=107, Resulting Numbers: [107]
107,32 unequal: No Solution
Exploring Operation: 19*88=1672, Resulting Numbers: [1672]
1672,32 unequal: No Solution
Exploring Operation: 88-19=69, Resulting Numbers: [69]
69,32 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
85,
18,
17,
55
] | 81 | [
"17+55=72",
"72/18=4",
"85-4=81"
] | Current State: 81:[85, 18, 17, 55], Operations: []
Exploring Operation: 17+55=72, Resulting Numbers: [85, 18, 72]
Generated Node #2: [85, 18, 72] from Operation: 17+55=72
Current State: 81:[85, 18, 72], Operations: ['17+55=72']
Exploring Operation: 72/18=4, Resulting Numbers: [85, 4]
Generated Node #3: [85, 4] from Operation: 72/18=4
Current State: 81:[85, 4], Operations: ['17+55=72', '72/18=4']
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[85, 18, 17, 55], Operations: []
Exploring Operation: 85-55=30, Resulting Numbers: [18, 17, 30]
Generated Node #0,0: 81:[18, 17, 30] Operation: 85-55=30
Exploring Operation: 18+55=73, Resulting Numbers: [85, 17, 73]
Generated Node #0,1: 81:[85, 17, 73] Operation: 18+55=73
Moving to Node #0,0
Current State: 81:[18, 17, 30], Operations: ['85-55=30']
Exploring Operation: 18+17=35, Resulting Numbers: [30, 35]
Generated Node #0,0,0: 81:[30, 35] Operation: 18+17=35
Exploring Operation: 18-17=1, Resulting Numbers: [30, 1]
Generated Node #0,0,1: 81:[30, 1] Operation: 18-17=1
Moving to Node #0,1
Current State: 81:[85, 17, 73], Operations: ['18+55=73']
Exploring Operation: 85/17=5, Resulting Numbers: [73, 5]
Generated Node #0,1,0: 81:[73, 5] Operation: 85/17=5
Exploring Operation: 85-73=12, Resulting Numbers: [17, 12]
Generated Node #0,1,1: 81:[17, 12] Operation: 85-73=12
Moving to Node #0,0,1
Current State: 81:[30, 1], Operations: ['85-55=30', '18-17=1']
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[73, 5], Operations: ['18+55=73', '85/17=5']
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,81 unequal: No Solution
Exploring Operation: 73+5=78, Resulting Numbers: [78]
78,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[30, 35], Operations: ['85-55=30', '18+17=35']
Exploring Operation: 30+35=65, Resulting Numbers: [65]
65,81 unequal: No Solution
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[17, 12], Operations: ['18+55=73', '85-73=12']
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,81 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
40,
35,
5,
44
] | 33 | [
"35-5=30",
"44*30=1320",
"1320/40=33"
] | Current State: 33:[40, 35, 5, 44], Operations: []
Exploring Operation: 35-5=30, Resulting Numbers: [40, 44, 30]
Generated Node #2: [40, 44, 30] from Operation: 35-5=30
Current State: 33:[40, 44, 30], Operations: ['35-5=30']
Exploring Operation: 44*30=1320, Resulting Numbers: [40, 1320]
Generated Node #3: [40, 1320] from Operation: 44*30=1320
Current State: 33:[40, 1320], Operations: ['35-5=30', '44*30=1320']
Exploring Operation: 1320/40=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[40, 35, 5, 44], Operations: []
Exploring Operation: 40-5=35, Resulting Numbers: [35, 44, 35]
Generated Node #0,0: 33:[35, 44, 35] Operation: 40-5=35
Exploring Operation: 44-40=4, Resulting Numbers: [35, 5, 4]
Generated Node #0,1: 33:[35, 5, 4] Operation: 44-40=4
Exploring Operation: 44-35=9, Resulting Numbers: [40, 5, 9]
Generated Node #0,2: 33:[40, 5, 9] Operation: 44-35=9
Exploring Operation: 40-35=5, Resulting Numbers: [5, 44, 5]
Generated Node #0,3: 33:[5, 44, 5] Operation: 40-35=5
Moving to Node #0,1
Current State: 33:[35, 5, 4], Operations: ['44-40=4']
Exploring Operation: 5-4=1, Resulting Numbers: [35, 1]
Generated Node #0,1,0: 33:[35, 1] Operation: 5-4=1
Exploring Operation: 5+4=9, Resulting Numbers: [35, 9]
Generated Node #0,1,1: 33:[35, 9] Operation: 5+4=9
Exploring Operation: 35-5=30, Resulting Numbers: [4, 30]
Generated Node #0,1,2: 33:[4, 30] Operation: 35-5=30
Exploring Operation: 35-4=31, Resulting Numbers: [5, 31]
Generated Node #0,1,3: 33:[5, 31] Operation: 35-4=31
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 33:[35, 1], Operations: ['44-40=4', '5-4=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[35, 9], Operations: ['44-40=4', '5+4=9']
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 35*9=315, Resulting Numbers: [315]
315,33 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 33:[4, 30], Operations: ['44-40=4', '35-5=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 33:[5, 31], Operations: ['44-40=4', '35-4=31']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,33 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: 33:[40, 5, 9], Operations: ['44-35=9']
Exploring Operation: 40-5=35, Resulting Numbers: [9, 35]
Generated Node #0,2,0: 33:[9, 35] Operation: 40-5=35
Exploring Operation: 40-9=31, Resulting Numbers: [5, 31]
Generated Node #0,2,1: 33:[5, 31] Operation: 40-9=31
Exploring Operation: 9-5=4, Resulting Numbers: [40, 4]
Generated Node #0,2,2: 33:[40, 4] Operation: 9-5=4
Exploring Operation: 40/5=8, Resulting Numbers: [9, 8]
Generated Node #0,2,3: 33:[9, 8] Operation: 40/5=8
Moving to Node #0,3
Current State: 33:[5, 44, 5], Operations: ['40-35=5']
Exploring Operation: 5+5=10, Resulting Numbers: [44, 10]
Generated Node #0,3,0: 33:[44, 10] Operation: 5+5=10
Exploring Operation: 44-5=39, Resulting Numbers: [5, 39]
Generated Node #0,3,1: 33:[5, 39] Operation: 44-5=39
Exploring Operation: 5/5=1, Resulting Numbers: [44, 1]
Generated Node #0,3,2: 33:[44, 1] Operation: 5/5=1
Exploring Operation: 44-5=39, Resulting Numbers: [5, 39]
Generated Node #0,3,3: 33:[5, 39] Operation: 44-5=39
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 33:[5, 39], Operations: ['40-35=5', '44-5=39']
Exploring Operation: 5*39=195, Resulting Numbers: [195]
195,33 unequal: No Solution
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 33:[5, 39], Operations: ['40-35=5', '44-5=39']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 5*39=195, Resulting Numbers: [195]
195,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 33:[44, 10], Operations: ['40-35=5', '5+5=10']
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,33 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 33:[44, 1], Operations: ['40-35=5', '5/5=1']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 33:[35, 44, 35], Operations: ['40-5=35']
Exploring Operation: 35-35=0, Resulting Numbers: [44, 0]
Generated Node #0,0,0: 33:[44, 0] Operation: 35-35=0
Exploring Operation: 35/35=1, Resulting Numbers: [44, 1]
Generated Node #0,0,1: 33:[44, 1] Operation: 35/35=1
Exploring Operation: 44-35=9, Resulting Numbers: [35, 9]
Generated Node #0,0,2: 33:[35, 9] Operation: 44-35=9
Exploring Operation: 44-35=9, Resulting Numbers: [35, 9]
Generated Node #0,0,3: 33:[35, 9] Operation: 44-35=9
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 33:[35, 9], Operations: ['40-5=35', '44-35=9']
Exploring Operation: 35*9=315, Resulting Numbers: [315]
315,33 unequal: No Solution
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 33:[35, 9], Operations: ['40-5=35', '44-35=9']
Exploring Operation: 35*9=315, Resulting Numbers: [315]
315,33 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[44, 1], Operations: ['40-5=35', '35/35=1']
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[44, 0], Operations: ['40-5=35', '35-35=0']
Exploring Operation: 44+0=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 44-0=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 44*0=0, Resulting Numbers: [0]
0,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 33:[9, 35], Operations: ['44-35=9', '40-5=35']
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[5, 31], Operations: ['44-35=9', '40-9=31']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,33 unequal: No Solution
Moving to Node #0,2,3
Current State: 33:[9, 8], Operations: ['44-35=9', '40/5=8']
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[40, 4], Operations: ['44-35=9', '9-5=4']
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,33 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,33 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
2,
24,
94,
46
] | 59 | [
"24+46=70",
"70/2=35",
"94-35=59"
] | Current State: 59:[2, 24, 94, 46], Operations: []
Exploring Operation: 24+46=70, Resulting Numbers: [2, 94, 70]
Generated Node #2: [2, 94, 70] from Operation: 24+46=70
Current State: 59:[2, 94, 70], Operations: ['24+46=70']
Exploring Operation: 70/2=35, Resulting Numbers: [94, 35]
Generated Node #3: [94, 35] from Operation: 70/2=35
Current State: 59:[94, 35], Operations: ['24+46=70', '70/2=35']
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[2, 24, 94, 46], Operations: []
Exploring Operation: 2*24=48, Resulting Numbers: [94, 46, 48]
Generated Node #0,0: 59:[94, 46, 48] Operation: 2*24=48
Exploring Operation: 2+24=26, Resulting Numbers: [94, 46, 26]
Generated Node #0,1: 59:[94, 46, 26] Operation: 2+24=26
Exploring Operation: 94-2=92, Resulting Numbers: [24, 46, 92]
Generated Node #0,2: 59:[24, 46, 92] Operation: 94-2=92
Exploring Operation: 94/2=47, Resulting Numbers: [24, 46, 47]
Generated Node #0,3: 59:[24, 46, 47] Operation: 94/2=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[94, 46, 48], Operations: ['2*24=48']
Exploring Operation: 94-48=46, Resulting Numbers: [46, 46]
Generated Node #0,0,0: 59:[46, 46] Operation: 94-48=46
Exploring Operation: 94+46=140, Resulting Numbers: [48, 140]
Generated Node #0,0,1: 59:[48, 140] Operation: 94+46=140
Exploring Operation: 94-46=48, Resulting Numbers: [48, 48]
Generated Node #0,0,2: 59:[48, 48] Operation: 94-46=48
Exploring Operation: 46+48=94, Resulting Numbers: [94, 94]
Generated Node #0,0,3: 59:[94, 94] Operation: 46+48=94
Moving to Node #0,0,2
Current State: 59:[48, 48], Operations: ['2*24=48', '94-46=48']
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,59 unequal: No Solution
Exploring Operation: 48*48=2304, Resulting Numbers: [2304]
2304,59 unequal: No Solution
Exploring Operation: 48-48=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Exploring Operation: 48/48=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[46, 46], Operations: ['2*24=48', '94-48=46']
Exploring Operation: 46/46=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 46*46=2116, Resulting Numbers: [2116]
2116,59 unequal: No Solution
Exploring Operation: 46+46=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 46-46=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[94, 94], Operations: ['2*24=48', '46+48=94']
Exploring Operation: 94-94=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Exploring Operation: 94/94=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 94+94=188, Resulting Numbers: [188]
188,59 unequal: No Solution
Exploring Operation: 94*94=8836, Resulting Numbers: [8836]
8836,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[48, 140], Operations: ['2*24=48', '94+46=140']
Exploring Operation: 48+140=188, Resulting Numbers: [188]
188,59 unequal: No Solution
Exploring Operation: 48*140=6720, Resulting Numbers: [6720]
6720,59 unequal: No Solution
Exploring Operation: 140-48=92, Resulting Numbers: [92]
92,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 59:[24, 46, 47], Operations: ['94/2=47']
Exploring Operation: 47-24=23, Resulting Numbers: [46, 23]
Generated Node #0,3,0: 59:[46, 23] Operation: 47-24=23
Exploring Operation: 46-24=22, Resulting Numbers: [47, 22]
Generated Node #0,3,1: 59:[47, 22] Operation: 46-24=22
Exploring Operation: 24+46=70, Resulting Numbers: [47, 70]
Generated Node #0,3,2: 59:[47, 70] Operation: 24+46=70
Exploring Operation: 24+47=71, Resulting Numbers: [46, 71]
Generated Node #0,3,3: 59:[46, 71] Operation: 24+47=71
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 59:[47, 70], Operations: ['94/2=47', '24+46=70']
Exploring Operation: 47*70=3290, Resulting Numbers: [3290]
3290,59 unequal: No Solution
Exploring Operation: 47+70=117, Resulting Numbers: [117]
117,59 unequal: No Solution
Exploring Operation: 70-47=23, Resulting Numbers: [23]
23,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 59:[46, 71], Operations: ['94/2=47', '24+47=71']
Exploring Operation: 46*71=3266, Resulting Numbers: [3266]
3266,59 unequal: No Solution
Exploring Operation: 71-46=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Exploring Operation: 46+71=117, Resulting Numbers: [117]
117,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 59:[46, 23], Operations: ['94/2=47', '47-24=23']
Exploring Operation: 46*23=1058, Resulting Numbers: [1058]
1058,59 unequal: No Solution
Exploring Operation: 46+23=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 59:[47, 22], Operations: ['94/2=47', '46-24=22']
Exploring Operation: 47+22=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Exploring Operation: 47*22=1034, Resulting Numbers: [1034]
1034,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[94, 46, 26], Operations: ['2+24=26']
Exploring Operation: 46+26=72, Resulting Numbers: [94, 72]
Generated Node #0,1,0: 59:[94, 72] Operation: 46+26=72
Exploring Operation: 94-26=68, Resulting Numbers: [46, 68]
Generated Node #0,1,1: 59:[46, 68] Operation: 94-26=68
Exploring Operation: 94+26=120, Resulting Numbers: [46, 120]
Generated Node #0,1,2: 59:[46, 120] Operation: 94+26=120
Exploring Operation: 94-46=48, Resulting Numbers: [26, 48]
Generated Node #0,1,3: 59:[26, 48] Operation: 94-46=48
Moving to Node #0,1,1
Current State: 59:[46, 68], Operations: ['2+24=26', '94-26=68']
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 46*68=3128, Resulting Numbers: [3128]
3128,59 unequal: No Solution
Exploring Operation: 46+68=114, Resulting Numbers: [114]
114,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[26, 48], Operations: ['2+24=26', '94-46=48']
Exploring Operation: 26*48=1248, Resulting Numbers: [1248]
1248,59 unequal: No Solution
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 26+48=74, Resulting Numbers: [74]
74,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[94, 72], Operations: ['2+24=26', '46+26=72']
Exploring Operation: 94-72=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 94+72=166, Resulting Numbers: [166]
166,59 unequal: No Solution
Exploring Operation: 94*72=6768, Resulting Numbers: [6768]
6768,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[46, 120], Operations: ['2+24=26', '94+26=120']
Exploring Operation: 46+120=166, Resulting Numbers: [166]
166,59 unequal: No Solution
Exploring Operation: 120-46=74, Resulting Numbers: [74]
74,59 unequal: No Solution
Exploring Operation: 46*120=5520, Resulting Numbers: [5520]
5520,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[24, 46, 92], Operations: ['94-2=92']
Exploring Operation: 92-46=46, Resulting Numbers: [24, 46]
Generated Node #0,2,0: 59:[24, 46] Operation: 92-46=46
Exploring Operation: 24+46=70, Resulting Numbers: [92, 70]
Generated Node #0,2,1: 59:[92, 70] Operation: 24+46=70
Exploring Operation: 92-24=68, Resulting Numbers: [46, 68]
Generated Node #0,2,2: 59:[46, 68] Operation: 92-24=68
Exploring Operation: 46-24=22, Resulting Numbers: [92, 22]
Generated Node #0,2,3: 59:[92, 22] Operation: 46-24=22
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 59:[46, 68], Operations: ['94-2=92', '92-24=68']
Exploring Operation: 46+68=114, Resulting Numbers: [114]
114,59 unequal: No Solution
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 46*68=3128, Resulting Numbers: [3128]
3128,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 59:[92, 70], Operations: ['94-2=92', '24+46=70']
Exploring Operation: 92+70=162, Resulting Numbers: [162]
162,59 unequal: No Solution
Exploring Operation: 92-70=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 92*70=6440, Resulting Numbers: [6440]
6440,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 59:[24, 46], Operations: ['94-2=92', '92-46=46']
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 24+46=70, Resulting Numbers: [70]
70,59 unequal: No Solution
Exploring Operation: 24*46=1104, Resulting Numbers: [1104]
1104,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 59:[92, 22], Operations: ['94-2=92', '46-24=22']
Exploring Operation: 92+22=114, Resulting Numbers: [114]
114,59 unequal: No Solution
Exploring Operation: 92-22=70, Resulting Numbers: [70]
70,59 unequal: No Solution
Exploring Operation: 92*22=2024, Resulting Numbers: [2024]
2024,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
14,
19,
47,
93
] | 28 | [
"19-14=5",
"47+93=140",
"140/5=28"
] | Current State: 28:[14, 19, 47, 93], Operations: []
Exploring Operation: 19-14=5, Resulting Numbers: [47, 93, 5]
Generated Node #2: [47, 93, 5] from Operation: 19-14=5
Current State: 28:[47, 93, 5], Operations: ['19-14=5']
Exploring Operation: 47+93=140, Resulting Numbers: [5, 140]
Generated Node #3: [5, 140] from Operation: 47+93=140
Current State: 28:[5, 140], Operations: ['19-14=5', '47+93=140']
Exploring Operation: 140/5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[14, 19, 47, 93], Operations: []
Exploring Operation: 93-47=46, Resulting Numbers: [14, 19, 46]
Generated Node #0,0: 28:[14, 19, 46] Operation: 93-47=46
Exploring Operation: 47-19=28, Resulting Numbers: [14, 93, 28]
Generated Node #0,1: 28:[14, 93, 28] Operation: 47-19=28
Exploring Operation: 47-14=33, Resulting Numbers: [19, 93, 33]
Generated Node #0,2: 28:[19, 93, 33] Operation: 47-14=33
Exploring Operation: 93-19=74, Resulting Numbers: [14, 47, 74]
Generated Node #0,3: 28:[14, 47, 74] Operation: 93-19=74
Exploring Operation: 93-14=79, Resulting Numbers: [19, 47, 79]
Generated Node #0,4: 28:[19, 47, 79] Operation: 93-14=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[14, 19, 46], Operations: ['93-47=46']
Exploring Operation: 14+46=60, Resulting Numbers: [19, 60]
Generated Node #0,0,0: 28:[19, 60] Operation: 14+46=60
Exploring Operation: 46-14=32, Resulting Numbers: [19, 32]
Generated Node #0,0,1: 28:[19, 32] Operation: 46-14=32
Exploring Operation: 19-14=5, Resulting Numbers: [46, 5]
Generated Node #0,0,2: 28:[46, 5] Operation: 19-14=5
Exploring Operation: 46-19=27, Resulting Numbers: [14, 27]
Generated Node #0,0,3: 28:[14, 27] Operation: 46-19=27
Exploring Operation: 14+19=33, Resulting Numbers: [46, 33]
Generated Node #0,0,4: 28:[46, 33] Operation: 14+19=33
Moving to Node #0,0,3
Current State: 28:[14, 27], Operations: ['93-47=46', '46-19=27']
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,28 unequal: No Solution
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,28 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[19, 32], Operations: ['93-47=46', '46-14=32']
Exploring Operation: 19+32=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 19*32=608, Resulting Numbers: [608]
608,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[46, 5], Operations: ['93-47=46', '19-14=5']
Exploring Operation: 46*5=230, Resulting Numbers: [230]
230,28 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,28 unequal: No Solution
Exploring Operation: 46+5=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Moving to Node #0,0,4
Current State: 28:[46, 33], Operations: ['93-47=46', '14+19=33']
Exploring Operation: 46*33=1518, Resulting Numbers: [1518]
1518,28 unequal: No Solution
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 46+33=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[19, 60], Operations: ['93-47=46', '14+46=60']
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,28 unequal: No Solution
Exploring Operation: 19+60=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Exploring Operation: 19*60=1140, Resulting Numbers: [1140]
1140,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[14, 93, 28], Operations: ['47-19=28']
Exploring Operation: 28-14=14, Resulting Numbers: [93, 14]
Generated Node #0,1,0: 28:[93, 14] Operation: 28-14=14
Exploring Operation: 93-28=65, Resulting Numbers: [14, 65]
Generated Node #0,1,1: 28:[14, 65] Operation: 93-28=65
Exploring Operation: 93-14=79, Resulting Numbers: [28, 79]
Generated Node #0,1,2: 28:[28, 79] Operation: 93-14=79
Exploring Operation: 14+93=107, Resulting Numbers: [28, 107]
Generated Node #0,1,3: 28:[28, 107] Operation: 14+93=107
Exploring Operation: 28/14=2, Resulting Numbers: [93, 2]
Generated Node #0,1,4: 28:[93, 2] Operation: 28/14=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 28:[14, 65], Operations: ['47-19=28', '93-28=65']
Exploring Operation: 14*65=910, Resulting Numbers: [910]
910,28 unequal: No Solution
Exploring Operation: 14+65=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 28:[28, 79], Operations: ['47-19=28', '93-14=79']
Exploring Operation: 28*79=2212, Resulting Numbers: [2212]
2212,28 unequal: No Solution
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Exploring Operation: 28+79=107, Resulting Numbers: [107]
107,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 28:[93, 14], Operations: ['47-19=28', '28-14=14']
Exploring Operation: 93-14=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Exploring Operation: 93*14=1302, Resulting Numbers: [1302]
1302,28 unequal: No Solution
Exploring Operation: 93+14=107, Resulting Numbers: [107]
107,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 28:[93, 2], Operations: ['47-19=28', '28/14=2']
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,28 unequal: No Solution
Exploring Operation: 93*2=186, Resulting Numbers: [186]
186,28 unequal: No Solution
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 28:[28, 107], Operations: ['47-19=28', '14+93=107']
Exploring Operation: 28*107=2996, Resulting Numbers: [2996]
2996,28 unequal: No Solution
Exploring Operation: 107-28=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Exploring Operation: 28+107=135, Resulting Numbers: [135]
135,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 28:[14, 47, 74], Operations: ['93-19=74']
Exploring Operation: 14+74=88, Resulting Numbers: [47, 88]
Generated Node #0,3,0: 28:[47, 88] Operation: 14+74=88
Exploring Operation: 47-14=33, Resulting Numbers: [74, 33]
Generated Node #0,3,1: 28:[74, 33] Operation: 47-14=33
Exploring Operation: 74-47=27, Resulting Numbers: [14, 27]
Generated Node #0,3,2: 28:[14, 27] Operation: 74-47=27
Exploring Operation: 14+47=61, Resulting Numbers: [74, 61]
Generated Node #0,3,3: 28:[74, 61] Operation: 14+47=61
Exploring Operation: 74-14=60, Resulting Numbers: [47, 60]
Generated Node #0,3,4: 28:[47, 60] Operation: 74-14=60
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 28:[14, 27], Operations: ['93-19=74', '74-47=27']
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,28 unequal: No Solution
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,28 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 28:[74, 33], Operations: ['93-19=74', '47-14=33']
Exploring Operation: 74*33=2442, Resulting Numbers: [2442]
2442,28 unequal: No Solution
Exploring Operation: 74+33=107, Resulting Numbers: [107]
107,28 unequal: No Solution
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 28:[47, 60], Operations: ['93-19=74', '74-14=60']
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 47+60=107, Resulting Numbers: [107]
107,28 unequal: No Solution
Exploring Operation: 47*60=2820, Resulting Numbers: [2820]
2820,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 28:[47, 88], Operations: ['93-19=74', '14+74=88']
Exploring Operation: 47+88=135, Resulting Numbers: [135]
135,28 unequal: No Solution
Exploring Operation: 47*88=4136, Resulting Numbers: [4136]
4136,28 unequal: No Solution
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 28:[74, 61], Operations: ['93-19=74', '14+47=61']
Exploring Operation: 74*61=4514, Resulting Numbers: [4514]
4514,28 unequal: No Solution
Exploring Operation: 74+61=135, Resulting Numbers: [135]
135,28 unequal: No Solution
Exploring Operation: 74-61=13, Resulting Numbers: [13]
13,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[19, 93, 33], Operations: ['47-14=33']
Exploring Operation: 19+33=52, Resulting Numbers: [93, 52]
Generated Node #0,2,0: 28:[93, 52] Operation: 19+33=52
Exploring Operation: 33-19=14, Resulting Numbers: [93, 14]
Generated Node #0,2,1: 28:[93, 14] Operation: 33-19=14
Exploring Operation: 19+93=112, Resulting Numbers: [33, 112]
Generated Node #0,2,2: 28:[33, 112] Operation: 19+93=112
Exploring Operation: 93-19=74, Resulting Numbers: [33, 74]
Generated Node #0,2,3: 28:[33, 74] Operation: 93-19=74
Exploring Operation: 93-33=60, Resulting Numbers: [19, 60]
Generated Node #0,2,4: 28:[19, 60] Operation: 93-33=60
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 28:[19, 60], Operations: ['47-14=33', '93-33=60']
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,28 unequal: No Solution
Exploring Operation: 19*60=1140, Resulting Numbers: [1140]
1140,28 unequal: No Solution
Exploring Operation: 19+60=79, Resulting Numbers: [79]
79,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 28:[33, 74], Operations: ['47-14=33', '93-19=74']
Exploring Operation: 33+74=107, Resulting Numbers: [107]
107,28 unequal: No Solution
Exploring Operation: 33*74=2442, Resulting Numbers: [2442]
2442,28 unequal: No Solution
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 28:[93, 14], Operations: ['47-14=33', '33-19=14']
Exploring Operation: 93+14=107, Resulting Numbers: [107]
107,28 unequal: No Solution
Exploring Operation: 93-14=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Exploring Operation: 93*14=1302, Resulting Numbers: [1302]
1302,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 28:[93, 52], Operations: ['47-14=33', '19+33=52']
Exploring Operation: 93*52=4836, Resulting Numbers: [4836]
4836,28 unequal: No Solution
Exploring Operation: 93+52=145, Resulting Numbers: [145]
145,28 unequal: No Solution
Exploring Operation: 93-52=41, Resulting Numbers: [41]
41,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 28:[33, 112], Operations: ['47-14=33', '19+93=112']
Exploring Operation: 33+112=145, Resulting Numbers: [145]
145,28 unequal: No Solution
Exploring Operation: 112-33=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Exploring Operation: 33*112=3696, Resulting Numbers: [3696]
3696,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 28:[19, 47, 79], Operations: ['93-14=79']
Exploring Operation: 79-47=32, Resulting Numbers: [19, 32]
Generated Node #0,4,0: 28:[19, 32] Operation: 79-47=32
Exploring Operation: 19+47=66, Resulting Numbers: [79, 66]
Generated Node #0,4,1: 28:[79, 66] Operation: 19+47=66
Exploring Operation: 79-19=60, Resulting Numbers: [47, 60]
Generated Node #0,4,2: 28:[47, 60] Operation: 79-19=60
Exploring Operation: 47-19=28, Resulting Numbers: [79, 28]
Generated Node #0,4,3: 28:[79, 28] Operation: 47-19=28
Exploring Operation: 19+79=98, Resulting Numbers: [47, 98]
Generated Node #0,4,4: 28:[47, 98] Operation: 19+79=98
Moving to Node #0,4,0
Current State: 28:[19, 32], Operations: ['93-14=79', '79-47=32']
Exploring Operation: 19+32=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 19*32=608, Resulting Numbers: [608]
608,28 unequal: No Solution
Moving to Node #0,4,3
Current State: 28:[79, 28], Operations: ['93-14=79', '47-19=28']
Exploring Operation: 79*28=2212, Resulting Numbers: [2212]
2212,28 unequal: No Solution
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Exploring Operation: 79+28=107, Resulting Numbers: [107]
107,28 unequal: No Solution
Moving to Node #0,4,2
Current State: 28:[47, 60], Operations: ['93-14=79', '79-19=60']
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 47+60=107, Resulting Numbers: [107]
107,28 unequal: No Solution
Exploring Operation: 47*60=2820, Resulting Numbers: [2820]
2820,28 unequal: No Solution
Moving to Node #0,4,1
Current State: 28:[79, 66], Operations: ['93-14=79', '19+47=66']
Exploring Operation: 79+66=145, Resulting Numbers: [145]
145,28 unequal: No Solution
Exploring Operation: 79*66=5214, Resulting Numbers: [5214]
5214,28 unequal: No Solution
Exploring Operation: 79-66=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Moving to Node #0,4,4
Current State: 28:[47, 98], Operations: ['93-14=79', '19+79=98']
Exploring Operation: 47+98=145, Resulting Numbers: [145]
145,28 unequal: No Solution
Exploring Operation: 98-47=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Exploring Operation: 47*98=4606, Resulting Numbers: [4606]
4606,28 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 |
[
93,
69,
38,
69
] | 56 | [
"93-38=55",
"69/69=1",
"55+1=56"
] | Current State: 56:[93, 69, 38, 69], Operations: []
Exploring Operation: 93-38=55, Resulting Numbers: [69, 69, 55]
Generated Node #2: [69, 69, 55] from Operation: 93-38=55
Current State: 56:[69, 69, 55], Operations: ['93-38=55']
Exploring Operation: 69/69=1, Resulting Numbers: [55, 1]
Generated Node #3: [55, 1] from Operation: 69/69=1
Current State: 56:[55, 1], Operations: ['93-38=55', '69/69=1']
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[93, 69, 38, 69], Operations: []
Exploring Operation: 93-69=24, Resulting Numbers: [69, 38, 24]
Generated Node #0,0: 56:[69, 38, 24] Operation: 93-69=24
Exploring Operation: 69/69=1, Resulting Numbers: [93, 38, 1]
Generated Node #0,1: 56:[93, 38, 1] Operation: 69/69=1
Exploring Operation: 93-69=24, Resulting Numbers: [38, 69, 24]
Generated Node #0,2: 56:[38, 69, 24] Operation: 93-69=24
Exploring Operation: 93-38=55, Resulting Numbers: [69, 69, 55]
Generated Node #0,3: 56:[69, 69, 55] Operation: 93-38=55
Moving to Node #0,0
Current State: 56:[69, 38, 24], Operations: ['93-69=24']
Exploring Operation: 38+24=62, Resulting Numbers: [69, 62]
Generated Node #0,0,0: 56:[69, 62] Operation: 38+24=62
Exploring Operation: 69-24=45, Resulting Numbers: [38, 45]
Generated Node #0,0,1: 56:[38, 45] Operation: 69-24=45
Exploring Operation: 38-24=14, Resulting Numbers: [69, 14]
Generated Node #0,0,2: 56:[69, 14] Operation: 38-24=14
Exploring Operation: 69-38=31, Resulting Numbers: [24, 31]
Generated Node #0,0,3: 56:[24, 31] Operation: 69-38=31
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 56:[24, 31], Operations: ['93-69=24', '69-38=31']
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 24*31=744, Resulting Numbers: [744]
744,56 unequal: No Solution
Exploring Operation: 24+31=55, Resulting Numbers: [55]
55,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 56:[69, 14], Operations: ['93-69=24', '38-24=14']
Exploring Operation: 69*14=966, Resulting Numbers: [966]
966,56 unequal: No Solution
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Exploring Operation: 69+14=83, Resulting Numbers: [83]
83,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[69, 62], Operations: ['93-69=24', '38+24=62']
Exploring Operation: 69-62=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 69*62=4278, Resulting Numbers: [4278]
4278,56 unequal: No Solution
Exploring Operation: 69+62=131, Resulting Numbers: [131]
131,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[38, 45], Operations: ['93-69=24', '69-24=45']
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 38*45=1710, Resulting Numbers: [1710]
1710,56 unequal: No Solution
Exploring Operation: 38+45=83, Resulting Numbers: [83]
83,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 56:[69, 69, 55], Operations: ['93-38=55']
Exploring Operation: 69-69=0, Resulting Numbers: [55, 0]
Generated Node #0,3,0: 56:[55, 0] Operation: 69-69=0
Exploring Operation: 69/69=1, Resulting Numbers: [55, 1]
Generated Node #0,3,1: 56:[55, 1] Operation: 69/69=1
Exploring Operation: 69-55=14, Resulting Numbers: [69, 14]
Generated Node #0,3,2: 56:[69, 14] Operation: 69-55=14
Exploring Operation: 69-55=14, Resulting Numbers: [69, 14]
Generated Node #0,3,3: 56:[69, 14] Operation: 69-55=14
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 56:[55, 1], Operations: ['93-38=55', '69/69=1']
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[93, 69, 38, 69], Operations: []
Exploring Operation: 93-38=55, Resulting Numbers: [69, 69, 55]
Generated Node #0,3: 56:[69, 69, 55] Operation: 93-38=55
Moving to Node #0,3
Current State: 56:[69, 69, 55], Operations: ['93-38=55']
Exploring Operation: 69/69=1, Resulting Numbers: [55, 1]
Generated Node #0,3,1: 56:[55, 1] Operation: 69/69=1
Moving to Node #0,3,1
Current State: 56:[55, 1], Operations: ['93-38=55', '69/69=1']
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
91,
65,
62,
32
] | 42 | [
"62-32=30",
"91*30=2730",
"2730/65=42"
] | Current State: 42:[91, 65, 62, 32], Operations: []
Exploring Operation: 62-32=30, Resulting Numbers: [91, 65, 30]
Generated Node #2: [91, 65, 30] from Operation: 62-32=30
Current State: 42:[91, 65, 30], Operations: ['62-32=30']
Exploring Operation: 91*30=2730, Resulting Numbers: [65, 2730]
Generated Node #3: [65, 2730] from Operation: 91*30=2730
Current State: 42:[65, 2730], Operations: ['62-32=30', '91*30=2730']
Exploring Operation: 2730/65=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[91, 65, 62, 32], Operations: []
Exploring Operation: 91-62=29, Resulting Numbers: [65, 32, 29]
Generated Node #0,0: 42:[65, 32, 29] Operation: 91-62=29
Exploring Operation: 91-32=59, Resulting Numbers: [65, 62, 59]
Generated Node #0,1: 42:[65, 62, 59] Operation: 91-32=59
Exploring Operation: 65-62=3, Resulting Numbers: [91, 32, 3]
Generated Node #0,2: 42:[91, 32, 3] Operation: 65-62=3
Exploring Operation: 91-65=26, Resulting Numbers: [62, 32, 26]
Generated Node #0,3: 42:[62, 32, 26] Operation: 91-65=26
Start Sub Search at level 1: Moving to Node #0,3
Current State: 42:[62, 32, 26], Operations: ['91-65=26']
Exploring Operation: 62-26=36, Resulting Numbers: [32, 36]
Generated Node #0,3,0: 42:[32, 36] Operation: 62-26=36
Exploring Operation: 32-26=6, Resulting Numbers: [62, 6]
Generated Node #0,3,1: 42:[62, 6] Operation: 32-26=6
Exploring Operation: 62-32=30, Resulting Numbers: [26, 30]
Generated Node #0,3,2: 42:[26, 30] Operation: 62-32=30
Exploring Operation: 32+26=58, Resulting Numbers: [62, 58]
Generated Node #0,3,3: 42:[62, 58] Operation: 32+26=58
Moving to Node #0,3,2
Current State: 42:[26, 30], Operations: ['91-65=26', '62-32=30']
Exploring Operation: 26*30=780, Resulting Numbers: [780]
780,42 unequal: No Solution
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Moving to Node #0,3,0
Current State: 42:[32, 36], Operations: ['91-65=26', '62-26=36']
Exploring Operation: 32*36=1152, Resulting Numbers: [1152]
1152,42 unequal: No Solution
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,42 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Moving to Node #0,3,1
Current State: 42:[62, 6], Operations: ['91-65=26', '32-26=6']
Exploring Operation: 62*6=372, Resulting Numbers: [372]
372,42 unequal: No Solution
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,42 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Moving to Node #0,3,3
Current State: 42:[62, 58], Operations: ['91-65=26', '32+26=58']
Exploring Operation: 62*58=3596, Resulting Numbers: [3596]
3596,42 unequal: No Solution
Exploring Operation: 62-58=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 62+58=120, Resulting Numbers: [120]
120,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[65, 32, 29], Operations: ['91-62=29']
Exploring Operation: 65-29=36, Resulting Numbers: [32, 36]
Generated Node #0,0,0: 42:[32, 36] Operation: 65-29=36
Exploring Operation: 32+29=61, Resulting Numbers: [65, 61]
Generated Node #0,0,1: 42:[65, 61] Operation: 32+29=61
Exploring Operation: 65-32=33, Resulting Numbers: [29, 33]
Generated Node #0,0,2: 42:[29, 33] Operation: 65-32=33
Exploring Operation: 32-29=3, Resulting Numbers: [65, 3]
Generated Node #0,0,3: 42:[65, 3] Operation: 32-29=3
Moving to Node #0,0,0
Current State: 42:[32, 36], Operations: ['91-62=29', '65-29=36']
Exploring Operation: 32*36=1152, Resulting Numbers: [1152]
1152,42 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[29, 33], Operations: ['91-62=29', '65-32=33']
Exploring Operation: 29*33=957, Resulting Numbers: [957]
957,42 unequal: No Solution
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,42 unequal: No Solution
Moving to Node #0,0,3
Current State: 42:[65, 3], Operations: ['91-62=29', '32-29=3']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,42 unequal: No Solution
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,42 unequal: No Solution
Exploring Operation: 65*3=195, Resulting Numbers: [195]
195,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[65, 61], Operations: ['91-62=29', '32+29=61']
Exploring Operation: 65+61=126, Resulting Numbers: [126]
126,42 unequal: No Solution
Exploring Operation: 65-61=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 65*61=3965, Resulting Numbers: [3965]
3965,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[91, 32, 3], Operations: ['65-62=3']
Exploring Operation: 91-32=59, Resulting Numbers: [3, 59]
Generated Node #0,2,0: 42:[3, 59] Operation: 91-32=59
Exploring Operation: 32+3=35, Resulting Numbers: [91, 35]
Generated Node #0,2,1: 42:[91, 35] Operation: 32+3=35
Exploring Operation: 91-3=88, Resulting Numbers: [32, 88]
Generated Node #0,2,2: 42:[32, 88] Operation: 91-3=88
Exploring Operation: 32-3=29, Resulting Numbers: [91, 29]
Generated Node #0,2,3: 42:[91, 29] Operation: 32-3=29
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 42:[3, 59], Operations: ['65-62=3', '91-32=59']
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,42 unequal: No Solution
Exploring Operation: 3*59=177, Resulting Numbers: [177]
177,42 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,42 unequal: No Solution
No 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: 42:[91, 35], Operations: ['65-62=3', '32+3=35']
Exploring Operation: 91+35=126, Resulting Numbers: [126]
126,42 unequal: No Solution
Exploring Operation: 91-35=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 91*35=3185, Resulting Numbers: [3185]
3185,42 unequal: No Solution
No 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: 42:[32, 88], Operations: ['65-62=3', '91-3=88']
Exploring Operation: 32+88=120, Resulting Numbers: [120]
120,42 unequal: No Solution
Exploring Operation: 32*88=2816, Resulting Numbers: [2816]
2816,42 unequal: No Solution
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,42 unequal: No Solution
No 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: 42:[91, 29], Operations: ['65-62=3', '32-3=29']
Exploring Operation: 91*29=2639, Resulting Numbers: [2639]
2639,42 unequal: No Solution
Exploring Operation: 91-29=62, Resulting Numbers: [62]
62,42 unequal: No Solution
Exploring Operation: 91+29=120, Resulting Numbers: [120]
120,42 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: 42:[65, 62, 59], Operations: ['91-32=59']
Exploring Operation: 65-62=3, Resulting Numbers: [59, 3]
Generated Node #0,1,0: 42:[59, 3] Operation: 65-62=3
Exploring Operation: 62-59=3, Resulting Numbers: [65, 3]
Generated Node #0,1,1: 42:[65, 3] Operation: 62-59=3
Exploring Operation: 65+62=127, Resulting Numbers: [59, 127]
Generated Node #0,1,2: 42:[59, 127] Operation: 65+62=127
Exploring Operation: 65-59=6, Resulting Numbers: [62, 6]
Generated Node #0,1,3: 42:[62, 6] Operation: 65-59=6
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 42:[59, 3], Operations: ['91-32=59', '65-62=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,42 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,42 unequal: No Solution
No 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: 42:[62, 6], Operations: ['91-32=59', '65-59=6']
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,42 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 62*6=372, Resulting Numbers: [372]
372,42 unequal: No Solution
No 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: 42:[65, 3], Operations: ['91-32=59', '62-59=3']
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,42 unequal: No Solution
Exploring Operation: 65*3=195, Resulting Numbers: [195]
195,42 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,42 unequal: No Solution
No 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: 42:[59, 127], Operations: ['91-32=59', '65+62=127']
Exploring Operation: 59+127=186, Resulting Numbers: [186]
186,42 unequal: No Solution
Exploring Operation: 127-59=68, Resulting Numbers: [68]
68,42 unequal: No Solution
Exploring Operation: 59*127=7493, Resulting Numbers: [7493]
7493,42 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 |
[
42,
65,
72,
41
] | 47 | [
"72-65=7",
"42/7=6",
"41+6=47"
] | Current State: 47:[42, 65, 72, 41], Operations: []
Exploring Operation: 72-65=7, Resulting Numbers: [42, 41, 7]
Generated Node #2: [42, 41, 7] from Operation: 72-65=7
Current State: 47:[42, 41, 7], Operations: ['72-65=7']
Exploring Operation: 42/7=6, Resulting Numbers: [41, 6]
Generated Node #3: [41, 6] from Operation: 42/7=6
Current State: 47:[41, 6], Operations: ['72-65=7', '42/7=6']
Exploring Operation: 41+6=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[42, 65, 72, 41], Operations: []
Exploring Operation: 72-41=31, Resulting Numbers: [42, 65, 31]
Generated Node #0,0: 47:[42, 65, 31] Operation: 72-41=31
Moving to Node #0,0
Current State: 47:[42, 65, 31], Operations: ['72-41=31']
Exploring Operation: 65-31=34, Resulting Numbers: [42, 34]
Generated Node #0,0,0: 47:[42, 34] Operation: 65-31=34
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[42, 34], Operations: ['72-41=31', '65-31=34']
Exploring Operation: 42+34=76, Resulting Numbers: [76]
76,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
4,
84,
74,
53
] | 42 | [
"84/4=21",
"74-53=21",
"21+21=42"
] | Current State: 42:[4, 84, 74, 53], Operations: []
Exploring Operation: 84/4=21, Resulting Numbers: [74, 53, 21]
Generated Node #2: [74, 53, 21] from Operation: 84/4=21
Current State: 42:[74, 53, 21], Operations: ['84/4=21']
Exploring Operation: 74-53=21, Resulting Numbers: [21, 21]
Generated Node #3: [21, 21] from Operation: 74-53=21
Current State: 42:[21, 21], Operations: ['84/4=21', '74-53=21']
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[4, 84, 74, 53], Operations: []
Exploring Operation: 84-74=10, Resulting Numbers: [4, 53, 10]
Generated Node #0,0: 42:[4, 53, 10] Operation: 84-74=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[4, 53, 10], Operations: ['84-74=10']
Exploring Operation: 53-10=43, Resulting Numbers: [4, 43]
Generated Node #0,0,0: 42:[4, 43] Operation: 53-10=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[4, 43], Operations: ['84-74=10', '53-10=43']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,42 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 |
[
4,
85,
69,
79
] | 34 | [
"4*85=340",
"79-69=10",
"340/10=34"
] | Current State: 34:[4, 85, 69, 79], Operations: []
Exploring Operation: 4*85=340, Resulting Numbers: [69, 79, 340]
Generated Node #2: [69, 79, 340] from Operation: 4*85=340
Current State: 34:[69, 79, 340], Operations: ['4*85=340']
Exploring Operation: 79-69=10, Resulting Numbers: [340, 10]
Generated Node #3: [340, 10] from Operation: 79-69=10
Current State: 34:[340, 10], Operations: ['4*85=340', '79-69=10']
Exploring Operation: 340/10=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[4, 85, 69, 79], Operations: []
Exploring Operation: 85-69=16, Resulting Numbers: [4, 79, 16]
Generated Node #0,0: 34:[4, 79, 16] Operation: 85-69=16
Exploring Operation: 85-79=6, Resulting Numbers: [4, 69, 6]
Generated Node #0,1: 34:[4, 69, 6] Operation: 85-79=6
Moving to Node #0,1
Current State: 34:[4, 69, 6], Operations: ['85-79=6']
Exploring Operation: 69-6=63, Resulting Numbers: [4, 63]
Generated Node #0,1,0: 34:[4, 63] Operation: 69-6=63
Exploring Operation: 69-4=65, Resulting Numbers: [6, 65]
Generated Node #0,1,1: 34:[6, 65] Operation: 69-4=65
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[4, 63], Operations: ['85-79=6', '69-6=63']
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,34 unequal: No Solution
No 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: 34:[6, 65], Operations: ['85-79=6', '69-4=65']
Exploring Operation: 6+65=71, Resulting Numbers: [71]
71,34 unequal: No Solution
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,34 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: 34:[4, 79, 16], Operations: ['85-69=16']
Exploring Operation: 79-16=63, Resulting Numbers: [4, 63]
Generated Node #0,0,0: 34:[4, 63] Operation: 79-16=63
Exploring Operation: 79-4=75, Resulting Numbers: [16, 75]
Generated Node #0,0,1: 34:[16, 75] Operation: 79-4=75
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[4, 63], Operations: ['85-69=16', '79-16=63']
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,34 unequal: No Solution
No 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: 34:[16, 75], Operations: ['85-69=16', '79-4=75']
Exploring Operation: 16+75=91, Resulting Numbers: [91]
91,34 unequal: No Solution
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,34 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 |
[
53,
40,
51,
15
] | 35 | [
"53-51=2",
"40/2=20",
"15+20=35"
] | Current State: 35:[53, 40, 51, 15], Operations: []
Exploring Operation: 53-51=2, Resulting Numbers: [40, 15, 2]
Generated Node #2: [40, 15, 2] from Operation: 53-51=2
Current State: 35:[40, 15, 2], Operations: ['53-51=2']
Exploring Operation: 40/2=20, Resulting Numbers: [15, 20]
Generated Node #3: [15, 20] from Operation: 40/2=20
Current State: 35:[15, 20], Operations: ['53-51=2', '40/2=20']
Exploring Operation: 15+20=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[53, 40, 51, 15], Operations: []
Exploring Operation: 53-15=38, Resulting Numbers: [40, 51, 38]
Generated Node #0,0: 35:[40, 51, 38] Operation: 53-15=38
Exploring Operation: 53-51=2, Resulting Numbers: [40, 15, 2]
Generated Node #0,1: 35:[40, 15, 2] Operation: 53-51=2
Moving to Node #0,1
Current State: 35:[40, 15, 2], Operations: ['53-51=2']
Exploring Operation: 40-2=38, Resulting Numbers: [15, 38]
Generated Node #0,1,0: 35:[15, 38] Operation: 40-2=38
Exploring Operation: 15*2=30, Resulting Numbers: [40, 30]
Generated Node #0,1,1: 35:[40, 30] Operation: 15*2=30
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[40, 30], Operations: ['53-51=2', '15*2=30']
Exploring Operation: 40+30=70, Resulting Numbers: [70]
70,35 unequal: No Solution
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[15, 38], Operations: ['53-51=2', '40-2=38']
Exploring Operation: 15+38=53, Resulting Numbers: [53]
53,35 unequal: No Solution
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 35:[40, 51, 38], Operations: ['53-15=38']
Exploring Operation: 51-38=13, Resulting Numbers: [40, 13]
Generated Node #0,0,0: 35:[40, 13] Operation: 51-38=13
Exploring Operation: 51-40=11, Resulting Numbers: [38, 11]
Generated Node #0,0,1: 35:[38, 11] Operation: 51-40=11
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[38, 11], Operations: ['53-15=38', '51-40=11']
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,35 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[40, 13], Operations: ['53-15=38', '51-38=13']
Exploring Operation: 40+13=53, Resulting Numbers: [53]
53,35 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
4,
82,
41,
75
] | 29 | [
"82-41=41",
"75+41=116",
"116/4=29"
] | Current State: 29:[4, 82, 41, 75], Operations: []
Exploring Operation: 82-41=41, Resulting Numbers: [4, 75, 41]
Generated Node #2: [4, 75, 41] from Operation: 82-41=41
Current State: 29:[4, 75, 41], Operations: ['82-41=41']
Exploring Operation: 75+41=116, Resulting Numbers: [4, 116]
Generated Node #3: [4, 116] from Operation: 75+41=116
Current State: 29:[4, 116], Operations: ['82-41=41', '75+41=116']
Exploring Operation: 116/4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[4, 82, 41, 75], Operations: []
Exploring Operation: 82-41=41, Resulting Numbers: [4, 75, 41]
Generated Node #0,0: 29:[4, 75, 41] Operation: 82-41=41
Exploring Operation: 75-41=34, Resulting Numbers: [4, 82, 34]
Generated Node #0,1: 29:[4, 82, 34] Operation: 75-41=34
Exploring Operation: 82-75=7, Resulting Numbers: [4, 41, 7]
Generated Node #0,2: 29:[4, 41, 7] Operation: 82-75=7
Exploring Operation: 82-4=78, Resulting Numbers: [41, 75, 78]
Generated Node #0,3: 29:[41, 75, 78] Operation: 82-4=78
Exploring Operation: 82/41=2, Resulting Numbers: [4, 75, 2]
Generated Node #0,4: 29:[4, 75, 2] Operation: 82/41=2
Moving to Node #0,2
Current State: 29:[4, 41, 7], Operations: ['82-75=7']
Exploring Operation: 4+41=45, Resulting Numbers: [7, 45]
Generated Node #0,2,0: 29:[7, 45] Operation: 4+41=45
Exploring Operation: 41-4=37, Resulting Numbers: [7, 37]
Generated Node #0,2,1: 29:[7, 37] Operation: 41-4=37
Exploring Operation: 4+7=11, Resulting Numbers: [41, 11]
Generated Node #0,2,2: 29:[41, 11] Operation: 4+7=11
Exploring Operation: 41-7=34, Resulting Numbers: [4, 34]
Generated Node #0,2,3: 29:[4, 34] Operation: 41-7=34
Exploring Operation: 4*7=28, Resulting Numbers: [41, 28]
Generated Node #0,2,4: 29:[41, 28] Operation: 4*7=28
Moving to Node #0,1
Current State: 29:[4, 82, 34], Operations: ['75-41=34']
Exploring Operation: 82-4=78, Resulting Numbers: [34, 78]
Generated Node #0,1,0: 29:[34, 78] Operation: 82-4=78
Exploring Operation: 4+82=86, Resulting Numbers: [34, 86]
Generated Node #0,1,1: 29:[34, 86] Operation: 4+82=86
Exploring Operation: 82-34=48, Resulting Numbers: [4, 48]
Generated Node #0,1,2: 29:[4, 48] Operation: 82-34=48
Exploring Operation: 4+34=38, Resulting Numbers: [82, 38]
Generated Node #0,1,3: 29:[82, 38] Operation: 4+34=38
Exploring Operation: 34-4=30, Resulting Numbers: [82, 30]
Generated Node #0,1,4: 29:[82, 30] Operation: 34-4=30
Moving to Node #0,0
Current State: 29:[4, 75, 41], Operations: ['82-41=41']
Exploring Operation: 41-4=37, Resulting Numbers: [75, 37]
Generated Node #0,0,0: 29:[75, 37] Operation: 41-4=37
Exploring Operation: 75-41=34, Resulting Numbers: [4, 34]
Generated Node #0,0,1: 29:[4, 34] Operation: 75-41=34
Exploring Operation: 4+75=79, Resulting Numbers: [41, 79]
Generated Node #0,0,2: 29:[41, 79] Operation: 4+75=79
Exploring Operation: 4+41=45, Resulting Numbers: [75, 45]
Generated Node #0,0,3: 29:[75, 45] Operation: 4+41=45
Exploring Operation: 75-4=71, Resulting Numbers: [41, 71]
Generated Node #0,0,4: 29:[41, 71] Operation: 75-4=71
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[4, 34], Operations: ['82-41=41', '75-41=34']
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,29 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[75, 37], Operations: ['82-41=41', '41-4=37']
Exploring Operation: 75*37=2775, Resulting Numbers: [2775]
2775,29 unequal: No Solution
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 75+37=112, Resulting Numbers: [112]
112,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 29:[41, 71], Operations: ['82-41=41', '75-4=71']
Exploring Operation: 41+71=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 71-41=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 41*71=2911, Resulting Numbers: [2911]
2911,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[41, 79], Operations: ['82-41=41', '4+75=79']
Exploring Operation: 41*79=3239, Resulting Numbers: [3239]
3239,29 unequal: No Solution
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 41+79=120, Resulting Numbers: [120]
120,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 29:[75, 45], Operations: ['82-41=41', '4+41=45']
Exploring Operation: 75-45=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 75*45=3375, Resulting Numbers: [3375]
3375,29 unequal: No Solution
Exploring Operation: 75+45=120, Resulting Numbers: [120]
120,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 29:[4, 75, 2], Operations: ['82/41=2']
Exploring Operation: 4-2=2, Resulting Numbers: [75, 2]
Generated Node #0,4,0: 29:[75, 2] Operation: 4-2=2
Exploring Operation: 75-2=73, Resulting Numbers: [4, 73]
Generated Node #0,4,1: 29:[4, 73] Operation: 75-2=73
Exploring Operation: 4*2=8, Resulting Numbers: [75, 8]
Generated Node #0,4,2: 29:[75, 8] Operation: 4*2=8
Exploring Operation: 75-4=71, Resulting Numbers: [2, 71]
Generated Node #0,4,3: 29:[2, 71] Operation: 75-4=71
Exploring Operation: 4+2=6, Resulting Numbers: [75, 6]
Generated Node #0,4,4: 29:[75, 6] Operation: 4+2=6
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 29:[75, 8], Operations: ['82/41=2', '4*2=8']
Exploring Operation: 75*8=600, Resulting Numbers: [600]
600,29 unequal: No Solution
Exploring Operation: 75+8=83, Resulting Numbers: [83]
83,29 unequal: No Solution
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 29:[4, 73], Operations: ['82/41=2', '75-2=73']
Exploring Operation: 4+73=77, Resulting Numbers: [77]
77,29 unequal: No Solution
Exploring Operation: 4*73=292, Resulting Numbers: [292]
292,29 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 29:[2, 71], Operations: ['82/41=2', '75-4=71']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,29 unequal: No Solution
Exploring Operation: 2+71=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Exploring Operation: 2*71=142, Resulting Numbers: [142]
142,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 29:[75, 6], Operations: ['82/41=2', '4+2=6']
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,29 unequal: No Solution
Exploring Operation: 75+6=81, Resulting Numbers: [81]
81,29 unequal: No Solution
Exploring Operation: 75*6=450, Resulting Numbers: [450]
450,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 29:[75, 2], Operations: ['82/41=2', '4-2=2']
Exploring Operation: 75*2=150, Resulting Numbers: [150]
150,29 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,29 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: 29:[41, 75, 78], Operations: ['82-4=78']
Exploring Operation: 41+78=119, Resulting Numbers: [75, 119]
Generated Node #0,3,0: 29:[75, 119] Operation: 41+78=119
Exploring Operation: 78-75=3, Resulting Numbers: [41, 3]
Generated Node #0,3,1: 29:[41, 3] Operation: 78-75=3
Exploring Operation: 78-41=37, Resulting Numbers: [75, 37]
Generated Node #0,3,2: 29:[75, 37] Operation: 78-41=37
Exploring Operation: 41+75=116, Resulting Numbers: [78, 116]
Generated Node #0,3,3: 29:[78, 116] Operation: 41+75=116
Exploring Operation: 75-41=34, Resulting Numbers: [78, 34]
Generated Node #0,3,4: 29:[78, 34] Operation: 75-41=34
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 29:[41, 3], Operations: ['82-4=78', '78-75=3']
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,29 unequal: No Solution
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 29:[75, 37], Operations: ['82-4=78', '78-41=37']
Exploring Operation: 75+37=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 75*37=2775, Resulting Numbers: [2775]
2775,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 29:[78, 34], Operations: ['82-4=78', '75-41=34']
Exploring Operation: 78*34=2652, Resulting Numbers: [2652]
2652,29 unequal: No Solution
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 78+34=112, Resulting Numbers: [112]
112,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 29:[75, 119], Operations: ['82-4=78', '41+78=119']
Exploring Operation: 75+119=194, Resulting Numbers: [194]
194,29 unequal: No Solution
Exploring Operation: 75*119=8925, Resulting Numbers: [8925]
8925,29 unequal: No Solution
Exploring Operation: 119-75=44, Resulting Numbers: [44]
44,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 29:[78, 116], Operations: ['82-4=78', '41+75=116']
Exploring Operation: 78*116=9048, Resulting Numbers: [9048]
9048,29 unequal: No Solution
Exploring Operation: 78+116=194, Resulting Numbers: [194]
194,29 unequal: No Solution
Exploring Operation: 116-78=38, Resulting Numbers: [38]
38,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,4
Current State: 29:[41, 28], Operations: ['82-75=7', '4*7=28']
Exploring Operation: 41+28=69, Resulting Numbers: [69]
69,29 unequal: No Solution
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 41*28=1148, Resulting Numbers: [1148]
1148,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[41, 11], Operations: ['82-75=7', '4+7=11']
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 41*11=451, Resulting Numbers: [451]
451,29 unequal: No Solution
Exploring Operation: 41+11=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[7, 37], Operations: ['82-75=7', '41-4=37']
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 7*37=259, Resulting Numbers: [259]
259,29 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[4, 34], Operations: ['82-75=7', '41-7=34']
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,29 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[7, 45], Operations: ['82-75=7', '4+41=45']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[4, 48], Operations: ['75-41=34', '82-34=48']
Exploring Operation: 4*48=192, Resulting Numbers: [192]
192,29 unequal: No Solution
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Moving to Node #0,1,4
Current State: 29:[82, 30], Operations: ['75-41=34', '34-4=30']
Exploring Operation: 82+30=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 82*30=2460, Resulting Numbers: [2460]
2460,29 unequal: No Solution
Exploring Operation: 82-30=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[34, 78], Operations: ['75-41=34', '82-4=78']
Exploring Operation: 34*78=2652, Resulting Numbers: [2652]
2652,29 unequal: No Solution
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 34+78=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[34, 86], Operations: ['75-41=34', '4+82=86']
Exploring Operation: 34+86=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 34*86=2924, Resulting Numbers: [2924]
2924,29 unequal: No Solution
Exploring Operation: 86-34=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[82, 38], Operations: ['75-41=34', '4+34=38']
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 82*38=3116, Resulting Numbers: [3116]
3116,29 unequal: No Solution
Exploring Operation: 82+38=120, Resulting Numbers: [120]
120,29 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
3,
69,
65,
92
] | 39 | [
"69-3=66",
"92-65=27",
"66-27=39"
] | Current State: 39:[3, 69, 65, 92], Operations: []
Exploring Operation: 69-3=66, Resulting Numbers: [65, 92, 66]
Generated Node #2: [65, 92, 66] from Operation: 69-3=66
Current State: 39:[65, 92, 66], Operations: ['69-3=66']
Exploring Operation: 92-65=27, Resulting Numbers: [66, 27]
Generated Node #3: [66, 27] from Operation: 92-65=27
Current State: 39:[66, 27], Operations: ['69-3=66', '92-65=27']
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[3, 69, 65, 92], Operations: []
Exploring Operation: 69-65=4, Resulting Numbers: [3, 92, 4]
Generated Node #0,0: 39:[3, 92, 4] Operation: 69-65=4
Exploring Operation: 92-69=23, Resulting Numbers: [3, 65, 23]
Generated Node #0,1: 39:[3, 65, 23] Operation: 92-69=23
Exploring Operation: 92-65=27, Resulting Numbers: [3, 69, 27]
Generated Node #0,2: 39:[3, 69, 27] Operation: 92-65=27
Moving to Node #0,1
Current State: 39:[3, 65, 23], Operations: ['92-69=23']
Exploring Operation: 65-3=62, Resulting Numbers: [23, 62]
Generated Node #0,1,0: 39:[23, 62] Operation: 65-3=62
Exploring Operation: 65-23=42, Resulting Numbers: [3, 42]
Generated Node #0,1,1: 39:[3, 42] Operation: 65-23=42
Exploring Operation: 23-3=20, Resulting Numbers: [65, 20]
Generated Node #0,1,2: 39:[65, 20] Operation: 23-3=20
Moving to Node #0,2
Current State: 39:[3, 69, 27], Operations: ['92-65=27']
Exploring Operation: 69-27=42, Resulting Numbers: [3, 42]
Generated Node #0,2,0: 39:[3, 42] Operation: 69-27=42
Exploring Operation: 69/3=23, Resulting Numbers: [27, 23]
Generated Node #0,2,1: 39:[27, 23] Operation: 69/3=23
Exploring Operation: 27/3=9, Resulting Numbers: [69, 9]
Generated Node #0,2,2: 39:[69, 9] Operation: 27/3=9
Moving to Node #0,0
Current State: 39:[3, 92, 4], Operations: ['69-65=4']
Exploring Operation: 92-4=88, Resulting Numbers: [3, 88]
Generated Node #0,0,0: 39:[3, 88] Operation: 92-4=88
Exploring Operation: 92-3=89, Resulting Numbers: [4, 89]
Generated Node #0,0,1: 39:[4, 89] Operation: 92-3=89
Exploring Operation: 92/4=23, Resulting Numbers: [3, 23]
Generated Node #0,0,2: 39:[3, 23] Operation: 92/4=23
Moving to Node #0,1,1
Current State: 39:[3, 42], Operations: ['92-69=23', '65-23=42']
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[3, 69, 65, 92], Operations: []
Exploring Operation: 92-69=23, Resulting Numbers: [3, 65, 23]
Generated Node #0,1: 39:[3, 65, 23] Operation: 92-69=23
Moving to Node #0,1
Current State: 39:[3, 65, 23], Operations: ['92-69=23']
Exploring Operation: 65-23=42, Resulting Numbers: [3, 42]
Generated Node #0,1,1: 39:[3, 42] Operation: 65-23=42
Moving to Node #0,1,1
Current State: 39:[3, 42], Operations: ['92-69=23', '65-23=42']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.984375 | hs_3 | mult_heuristic |
[
48,
78,
88,
78
] | 41 | [
"88-48=40",
"78/78=1",
"40+1=41"
] | Current State: 41:[48, 78, 88, 78], Operations: []
Exploring Operation: 88-48=40, Resulting Numbers: [78, 78, 40]
Generated Node #2: [78, 78, 40] from Operation: 88-48=40
Current State: 41:[78, 78, 40], Operations: ['88-48=40']
Exploring Operation: 78/78=1, Resulting Numbers: [40, 1]
Generated Node #3: [40, 1] from Operation: 78/78=1
Current State: 41:[40, 1], Operations: ['88-48=40', '78/78=1']
Exploring Operation: 40+1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[48, 78, 88, 78], Operations: []
Exploring Operation: 88-48=40, Resulting Numbers: [78, 78, 40]
Generated Node #0,0: 41:[78, 78, 40] Operation: 88-48=40
Exploring Operation: 88-78=10, Resulting Numbers: [48, 78, 10]
Generated Node #0,1: 41:[48, 78, 10] Operation: 88-78=10
Exploring Operation: 88-78=10, Resulting Numbers: [48, 78, 10]
Generated Node #0,2: 41:[48, 78, 10] Operation: 88-78=10
Moving to Node #0,0
Current State: 41:[78, 78, 40], Operations: ['88-48=40']
Exploring Operation: 78-40=38, Resulting Numbers: [78, 38]
Generated Node #0,0,0: 41:[78, 38] Operation: 78-40=38
Exploring Operation: 78-40=38, Resulting Numbers: [78, 38]
Generated Node #0,0,1: 41:[78, 38] Operation: 78-40=38
Exploring Operation: 78/78=1, Resulting Numbers: [40, 1]
Generated Node #0,0,2: 41:[40, 1] Operation: 78/78=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[78, 38], Operations: ['88-48=40', '78-40=38']
Exploring Operation: 78*38=2964, Resulting Numbers: [2964]
2964,41 unequal: No Solution
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 78+38=116, Resulting Numbers: [116]
116,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:[78, 38], Operations: ['88-48=40', '78-40=38']
Exploring Operation: 78*38=2964, Resulting Numbers: [2964]
2964,41 unequal: No Solution
Exploring Operation: 78+38=116, Resulting Numbers: [116]
116,41 unequal: No Solution
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,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:[40, 1], Operations: ['88-48=40', '78/78=1']
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 40+1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[48, 78, 88, 78], Operations: []
Exploring Operation: 88-48=40, Resulting Numbers: [78, 78, 40]
Generated Node #0,0: 41:[78, 78, 40] Operation: 88-48=40
Moving to Node #0,0
Current State: 41:[78, 78, 40], Operations: ['88-48=40']
Exploring Operation: 78/78=1, Resulting Numbers: [40, 1]
Generated Node #0,0,2: 41:[40, 1] Operation: 78/78=1
Moving to Node #0,0,2
Current State: 41:[40, 1], Operations: ['88-48=40', '78/78=1']
Exploring Operation: 40+1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
23,
20,
75,
11
] | 89 | [
"23-20=3",
"75+11=86",
"3+86=89"
] | Current State: 89:[23, 20, 75, 11], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [75, 11, 3]
Generated Node #2: [75, 11, 3] from Operation: 23-20=3
Current State: 89:[75, 11, 3], Operations: ['23-20=3']
Exploring Operation: 75+11=86, Resulting Numbers: [3, 86]
Generated Node #3: [3, 86] from Operation: 75+11=86
Current State: 89:[3, 86], Operations: ['23-20=3', '75+11=86']
Exploring Operation: 3+86=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[23, 20, 75, 11], Operations: []
Exploring Operation: 23+20=43, Resulting Numbers: [75, 11, 43]
Generated Node #0,0: 89:[75, 11, 43] Operation: 23+20=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[75, 11, 43], Operations: ['23+20=43']
Exploring Operation: 75+11=86, Resulting Numbers: [43, 86]
Generated Node #0,0,0: 89:[43, 86] Operation: 75+11=86
Moving to Node #0,0,0
Current State: 89:[43, 86], Operations: ['23+20=43', '75+11=86']
Exploring Operation: 43+86=129, Resulting Numbers: [129]
129,89 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 |
[
5,
23,
23,
32
] | 92 | [
"5+23=28",
"32-28=4",
"23*4=92"
] | Current State: 92:[5, 23, 23, 32], Operations: []
Exploring Operation: 5+23=28, Resulting Numbers: [32, 28]
Generated Node #2: [32, 28] from Operation: 5+23=28
Current State: 92:[32, 28], Operations: ['5+23=28']
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,92 equal: Goal Reached
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[5, 23, 23, 32], Operations: []
Exploring Operation: 32-23=9, Resulting Numbers: [5, 23, 9]
Generated Node #0,0: 92:[5, 23, 9] Operation: 32-23=9
Exploring Operation: 32-23=9, Resulting Numbers: [5, 23, 9]
Generated Node #0,1: 92:[5, 23, 9] Operation: 32-23=9
Exploring Operation: 32-5=27, Resulting Numbers: [23, 23, 27]
Generated Node #0,2: 92:[23, 23, 27] Operation: 32-5=27
Exploring Operation: 5+32=37, Resulting Numbers: [23, 23, 37]
Generated Node #0,3: 92:[23, 23, 37] Operation: 5+32=37
Exploring Operation: 23+23=46, Resulting Numbers: [5, 32, 46]
Generated Node #0,4: 92:[5, 32, 46] Operation: 23+23=46
Moving to Node #0,2
Current State: 92:[23, 23, 27], Operations: ['32-5=27']
Exploring Operation: 27-23=4, Resulting Numbers: [23, 4]
Generated Node #0,2,0: 92:[23, 4] Operation: 27-23=4
Exploring Operation: 27-23=4, Resulting Numbers: [23, 4]
Generated Node #0,2,1: 92:[23, 4] Operation: 27-23=4
Exploring Operation: 23+27=50, Resulting Numbers: [23, 50]
Generated Node #0,2,2: 92:[23, 50] Operation: 23+27=50
Exploring Operation: 23+23=46, Resulting Numbers: [27, 46]
Generated Node #0,2,3: 92:[27, 46] Operation: 23+23=46
Exploring Operation: 23+27=50, Resulting Numbers: [23, 50]
Generated Node #0,2,4: 92:[23, 50] Operation: 23+27=50
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[23, 4], Operations: ['32-5=27', '27-23=4']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[5, 23, 23, 32], Operations: []
Exploring Operation: 32-5=27, Resulting Numbers: [23, 23, 27]
Generated Node #0,2: 92:[23, 23, 27] Operation: 32-5=27
Moving to Node #0,2
Current State: 92:[23, 23, 27], Operations: ['32-5=27']
Exploring Operation: 27-23=4, Resulting Numbers: [23, 4]
Generated Node #0,2,0: 92:[23, 4] Operation: 27-23=4
Moving to Node #0,2,0
Current State: 92:[23, 4], Operations: ['32-5=27', '27-23=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
34,
90,
27,
39
] | 37 | [
"90+27=117",
"117/39=3",
"34+3=37"
] | Current State: 37:[34, 90, 27, 39], Operations: []
Exploring Operation: 90+27=117, Resulting Numbers: [34, 39, 117]
Generated Node #2: [34, 39, 117] from Operation: 90+27=117
Current State: 37:[34, 39, 117], Operations: ['90+27=117']
Exploring Operation: 117/39=3, Resulting Numbers: [34, 3]
Generated Node #3: [34, 3] from Operation: 117/39=3
Current State: 37:[34, 3], Operations: ['90+27=117', '117/39=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[34, 90, 27, 39], Operations: []
Exploring Operation: 90-34=56, Resulting Numbers: [27, 39, 56]
Generated Node #0,0: 37:[27, 39, 56] Operation: 90-34=56
Exploring Operation: 90-27=63, Resulting Numbers: [34, 39, 63]
Generated Node #0,1: 37:[34, 39, 63] Operation: 90-27=63
Exploring Operation: 34+27=61, Resulting Numbers: [90, 39, 61]
Generated Node #0,2: 37:[90, 39, 61] Operation: 34+27=61
Exploring Operation: 39-27=12, Resulting Numbers: [34, 90, 12]
Generated Node #0,3: 37:[34, 90, 12] Operation: 39-27=12
Exploring Operation: 90-39=51, Resulting Numbers: [34, 27, 51]
Generated Node #0,4: 37:[34, 27, 51] Operation: 90-39=51
Moving to Node #0,4
Current State: 37:[34, 27, 51], Operations: ['90-39=51']
Exploring Operation: 34-27=7, Resulting Numbers: [51, 7]
Generated Node #0,4,0: 37:[51, 7] Operation: 34-27=7
Exploring Operation: 51-27=24, Resulting Numbers: [34, 24]
Generated Node #0,4,1: 37:[34, 24] Operation: 51-27=24
Exploring Operation: 27+51=78, Resulting Numbers: [34, 78]
Generated Node #0,4,2: 37:[34, 78] Operation: 27+51=78
Exploring Operation: 51-34=17, Resulting Numbers: [27, 17]
Generated Node #0,4,3: 37:[27, 17] Operation: 51-34=17
Exploring Operation: 34+27=61, Resulting Numbers: [51, 61]
Generated Node #0,4,4: 37:[51, 61] Operation: 34+27=61
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 37:[34, 24], Operations: ['90-39=51', '51-27=24']
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 34*24=816, Resulting Numbers: [816]
816,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 37:[27, 17], Operations: ['90-39=51', '51-34=17']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,37 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 37:[51, 61], Operations: ['90-39=51', '34+27=61']
Exploring Operation: 51*61=3111, Resulting Numbers: [3111]
3111,37 unequal: No Solution
Exploring Operation: 51+61=112, Resulting Numbers: [112]
112,37 unequal: No Solution
Exploring Operation: 61-51=10, Resulting Numbers: [10]
10,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 37:[51, 7], Operations: ['90-39=51', '34-27=7']
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 51*7=357, Resulting Numbers: [357]
357,37 unequal: No Solution
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 37:[34, 78], Operations: ['90-39=51', '27+51=78']
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 34+78=112, Resulting Numbers: [112]
112,37 unequal: No Solution
Exploring Operation: 34*78=2652, Resulting Numbers: [2652]
2652,37 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: 37:[34, 39, 63], Operations: ['90-27=63']
Exploring Operation: 39-34=5, Resulting Numbers: [63, 5]
Generated Node #0,1,0: 37:[63, 5] Operation: 39-34=5
Exploring Operation: 34+39=73, Resulting Numbers: [63, 73]
Generated Node #0,1,1: 37:[63, 73] Operation: 34+39=73
Exploring Operation: 63-39=24, Resulting Numbers: [34, 24]
Generated Node #0,1,2: 37:[34, 24] Operation: 63-39=24
Exploring Operation: 63-34=29, Resulting Numbers: [39, 29]
Generated Node #0,1,3: 37:[39, 29] Operation: 63-34=29
Exploring Operation: 34+63=97, Resulting Numbers: [39, 97]
Generated Node #0,1,4: 37:[39, 97] Operation: 34+63=97
Moving to Node #0,0
Current State: 37:[27, 39, 56], Operations: ['90-34=56']
Exploring Operation: 39-27=12, Resulting Numbers: [56, 12]
Generated Node #0,0,0: 37:[56, 12] Operation: 39-27=12
Exploring Operation: 56-39=17, Resulting Numbers: [27, 17]
Generated Node #0,0,1: 37:[27, 17] Operation: 56-39=17
Exploring Operation: 27+39=66, Resulting Numbers: [56, 66]
Generated Node #0,0,2: 37:[56, 66] Operation: 27+39=66
Exploring Operation: 27+56=83, Resulting Numbers: [39, 83]
Generated Node #0,0,3: 37:[39, 83] Operation: 27+56=83
Exploring Operation: 56-27=29, Resulting Numbers: [39, 29]
Generated Node #0,0,4: 37:[39, 29] Operation: 56-27=29
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 37:[39, 29], Operations: ['90-34=56', '56-27=29']
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 39*29=1131, Resulting Numbers: [1131]
1131,37 unequal: No Solution
Exploring Operation: 39+29=68, Resulting Numbers: [68]
68,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[27, 17], Operations: ['90-34=56', '56-39=17']
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[56, 12], Operations: ['90-34=56', '39-27=12']
Exploring Operation: 56*12=672, Resulting Numbers: [672]
672,37 unequal: No Solution
Exploring Operation: 56+12=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 37:[56, 66], Operations: ['90-34=56', '27+39=66']
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 56*66=3696, Resulting Numbers: [3696]
3696,37 unequal: No Solution
Exploring Operation: 56+66=122, Resulting Numbers: [122]
122,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 37:[39, 83], Operations: ['90-34=56', '27+56=83']
Exploring Operation: 39+83=122, Resulting Numbers: [122]
122,37 unequal: No Solution
Exploring Operation: 39*83=3237, Resulting Numbers: [3237]
3237,37 unequal: No Solution
Exploring Operation: 83-39=44, Resulting Numbers: [44]
44,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 37:[90, 39, 61], Operations: ['34+27=61']
Exploring Operation: 90+61=151, Resulting Numbers: [39, 151]
Generated Node #0,2,0: 37:[39, 151] Operation: 90+61=151
Exploring Operation: 90-61=29, Resulting Numbers: [39, 29]
Generated Node #0,2,1: 37:[39, 29] Operation: 90-61=29
Exploring Operation: 61-39=22, Resulting Numbers: [90, 22]
Generated Node #0,2,2: 37:[90, 22] Operation: 61-39=22
Exploring Operation: 90+39=129, Resulting Numbers: [61, 129]
Generated Node #0,2,3: 37:[61, 129] Operation: 90+39=129
Exploring Operation: 90-39=51, Resulting Numbers: [61, 51]
Generated Node #0,2,4: 37:[61, 51] Operation: 90-39=51
Moving to Node #0,3
Current State: 37:[34, 90, 12], Operations: ['39-27=12']
Exploring Operation: 90+12=102, Resulting Numbers: [34, 102]
Generated Node #0,3,0: 37:[34, 102] Operation: 90+12=102
Exploring Operation: 90-12=78, Resulting Numbers: [34, 78]
Generated Node #0,3,1: 37:[34, 78] Operation: 90-12=78
Exploring Operation: 34+12=46, Resulting Numbers: [90, 46]
Generated Node #0,3,2: 37:[90, 46] Operation: 34+12=46
Exploring Operation: 34-12=22, Resulting Numbers: [90, 22]
Generated Node #0,3,3: 37:[90, 22] Operation: 34-12=22
Exploring Operation: 90-34=56, Resulting Numbers: [12, 56]
Generated Node #0,3,4: 37:[12, 56] Operation: 90-34=56
Moving to Node #0,1,3
Current State: 37:[39, 29], Operations: ['90-27=63', '63-34=29']
Exploring Operation: 39+29=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 39*29=1131, Resulting Numbers: [1131]
1131,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[39, 29], Operations: ['34+27=61', '90-61=29']
Exploring Operation: 39*29=1131, Resulting Numbers: [1131]
1131,37 unequal: No Solution
Exploring Operation: 39+29=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[34, 24], Operations: ['90-27=63', '63-39=24']
Exploring Operation: 34*24=816, Resulting Numbers: [816]
816,37 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Moving to Node #0,2,4
Current State: 37:[61, 51], Operations: ['34+27=61', '90-39=51']
Exploring Operation: 61-51=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 61+51=112, Resulting Numbers: [112]
112,37 unequal: No Solution
Exploring Operation: 61*51=3111, Resulting Numbers: [3111]
3111,37 unequal: No Solution
Moving to Node #0,3,4
Current State: 37:[12, 56], Operations: ['39-27=12', '90-34=56']
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Exploring Operation: 12*56=672, Resulting Numbers: [672]
672,37 unequal: No Solution
Moving to Node #0,3,1
Current State: 37:[34, 78], Operations: ['39-27=12', '90-12=78']
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 34+78=112, Resulting Numbers: [112]
112,37 unequal: No Solution
Exploring Operation: 34*78=2652, Resulting Numbers: [2652]
2652,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[63, 5], Operations: ['90-27=63', '39-34=5']
Exploring Operation: 63*5=315, Resulting Numbers: [315]
315,37 unequal: No Solution
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Moving to Node #0,3,2
Current State: 37:[90, 46], Operations: ['39-27=12', '34+12=46']
Exploring Operation: 90*46=4140, Resulting Numbers: [4140]
4140,37 unequal: No Solution
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 90+46=136, Resulting Numbers: [136]
136,37 unequal: No Solution
Moving to Node #0,1,4
Current State: 37:[39, 97], Operations: ['90-27=63', '34+63=97']
Exploring Operation: 39*97=3783, Resulting Numbers: [3783]
3783,37 unequal: No Solution
Exploring Operation: 39+97=136, Resulting Numbers: [136]
136,37 unequal: No Solution
Exploring Operation: 97-39=58, Resulting Numbers: [58]
58,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[63, 73], Operations: ['90-27=63', '34+39=73']
Exploring Operation: 63*73=4599, Resulting Numbers: [4599]
4599,37 unequal: No Solution
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 63+73=136, Resulting Numbers: [136]
136,37 unequal: No Solution
Moving to Node #0,3,0
Current State: 37:[34, 102], Operations: ['39-27=12', '90+12=102']
Exploring Operation: 102/34=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 102-34=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Exploring Operation: 34*102=3468, Resulting Numbers: [3468]
3468,37 unequal: No Solution
Exploring Operation: 34+102=136, Resulting Numbers: [136]
136,37 unequal: No Solution
Moving to Node #0,3,3
Current State: 37:[90, 22], Operations: ['39-27=12', '34-12=22']
Exploring Operation: 90*22=1980, Resulting Numbers: [1980]
1980,37 unequal: No Solution
Exploring Operation: 90+22=112, Resulting Numbers: [112]
112,37 unequal: No Solution
Exploring Operation: 90-22=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[90, 22], Operations: ['34+27=61', '61-39=22']
Exploring Operation: 90-22=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Exploring Operation: 90*22=1980, Resulting Numbers: [1980]
1980,37 unequal: No Solution
Exploring Operation: 90+22=112, Resulting Numbers: [112]
112,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[39, 151], Operations: ['34+27=61', '90+61=151']
Exploring Operation: 39+151=190, Resulting Numbers: [190]
190,37 unequal: No Solution
Exploring Operation: 39*151=5889, Resulting Numbers: [5889]
5889,37 unequal: No Solution
Exploring Operation: 151-39=112, Resulting Numbers: [112]
112,37 unequal: No Solution
Moving to Node #0,2,3
Current State: 37:[61, 129], Operations: ['34+27=61', '90+39=129']
Exploring Operation: 61+129=190, Resulting Numbers: [190]
190,37 unequal: No Solution
Exploring Operation: 129-61=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Exploring Operation: 61*129=7869, Resulting Numbers: [7869]
7869,37 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
71,
5,
1,
62
] | 48 | [
"71-1=70",
"70/5=14",
"62-14=48"
] | Current State: 48:[71, 5, 1, 62], Operations: []
Exploring Operation: 71-1=70, Resulting Numbers: [5, 62, 70]
Generated Node #2: [5, 62, 70] from Operation: 71-1=70
Current State: 48:[5, 62, 70], Operations: ['71-1=70']
Exploring Operation: 70/5=14, Resulting Numbers: [62, 14]
Generated Node #3: [62, 14] from Operation: 70/5=14
Current State: 48:[62, 14], Operations: ['71-1=70', '70/5=14']
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[71, 5, 1, 62], Operations: []
Exploring Operation: 71-5=66, Resulting Numbers: [1, 62, 66]
Generated Node #0,0: 48:[1, 62, 66] Operation: 71-5=66
Exploring Operation: 71-62=9, Resulting Numbers: [5, 1, 9]
Generated Node #0,1: 48:[5, 1, 9] Operation: 71-62=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[5, 1, 9], Operations: ['71-62=9']
Exploring Operation: 5-1=4, Resulting Numbers: [9, 4]
Generated Node #0,1,0: 48:[9, 4] Operation: 5-1=4
Exploring Operation: 5+1=6, Resulting Numbers: [9, 6]
Generated Node #0,1,1: 48:[9, 6] Operation: 5+1=6
Moving to Node #0,1,0
Current State: 48:[9, 4], Operations: ['71-62=9', '5-1=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[9, 6], Operations: ['71-62=9', '5+1=6']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,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:[1, 62, 66], Operations: ['71-5=66']
Exploring Operation: 62-1=61, Resulting Numbers: [66, 61]
Generated Node #0,0,0: 48:[66, 61] Operation: 62-1=61
Exploring Operation: 66-62=4, Resulting Numbers: [1, 4]
Generated Node #0,0,1: 48:[1, 4] Operation: 66-62=4
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 48:[1, 4], Operations: ['71-5=66', '66-62=4']
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,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,0
Current State: 48:[66, 61], Operations: ['71-5=66', '62-1=61']
Exploring Operation: 66+61=127, Resulting Numbers: [127]
127,48 unequal: No Solution
Exploring Operation: 66-61=5, Resulting Numbers: [5]
5,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
88,
65,
46,
8
] | 100 | [
"88/8=11",
"65+46=111",
"111-11=100"
] | Current State: 100:[88, 65, 46, 8], Operations: []
Exploring Operation: 88/8=11, Resulting Numbers: [65, 46, 11]
Generated Node #2: [65, 46, 11] from Operation: 88/8=11
Current State: 100:[65, 46, 11], Operations: ['88/8=11']
Exploring Operation: 65+46=111, Resulting Numbers: [11, 111]
Generated Node #3: [11, 111] from Operation: 65+46=111
Current State: 100:[11, 111], Operations: ['88/8=11', '65+46=111']
Exploring Operation: 111-11=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[88, 65, 46, 8], Operations: []
Exploring Operation: 65-46=19, Resulting Numbers: [88, 8, 19]
Generated Node #0,0: 100:[88, 8, 19] Operation: 65-46=19
Exploring Operation: 88/8=11, Resulting Numbers: [65, 46, 11]
Generated Node #0,1: 100:[65, 46, 11] Operation: 88/8=11
Exploring Operation: 88-65=23, Resulting Numbers: [46, 8, 23]
Generated Node #0,2: 100:[46, 8, 23] Operation: 88-65=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[46, 8, 23], Operations: ['88-65=23']
Exploring Operation: 46/23=2, Resulting Numbers: [8, 2]
Generated Node #0,2,0: 100:[8, 2] Operation: 46/23=2
Exploring Operation: 46+8=54, Resulting Numbers: [23, 54]
Generated Node #0,2,1: 100:[23, 54] Operation: 46+8=54
Exploring Operation: 46-23=23, Resulting Numbers: [8, 23]
Generated Node #0,2,2: 100:[8, 23] Operation: 46-23=23
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 100:[8, 2], Operations: ['88-65=23', '46/23=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 100:[8, 23], Operations: ['88-65=23', '46-23=23']
Exploring Operation: 8*23=184, Resulting Numbers: [184]
184,100 unequal: No Solution
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,100 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 100:[23, 54], Operations: ['88-65=23', '46+8=54']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,100 unequal: No Solution
Exploring Operation: 23+54=77, Resulting Numbers: [77]
77,100 unequal: No Solution
Exploring Operation: 23*54=1242, Resulting Numbers: [1242]
1242,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[88, 8, 19], Operations: ['65-46=19']
Exploring Operation: 88/8=11, Resulting Numbers: [19, 11]
Generated Node #0,0,0: 100:[19, 11] Operation: 88/8=11
Exploring Operation: 88+19=107, Resulting Numbers: [8, 107]
Generated Node #0,0,1: 100:[8, 107] Operation: 88+19=107
Exploring Operation: 88+8=96, Resulting Numbers: [19, 96]
Generated Node #0,0,2: 100:[19, 96] Operation: 88+8=96
Moving to Node #0,0,0
Current State: 100:[19, 11], Operations: ['65-46=19', '88/8=11']
Exploring Operation: 19*11=209, Resulting Numbers: [209]
209,100 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[19, 96], Operations: ['65-46=19', '88+8=96']
Exploring Operation: 19*96=1824, Resulting Numbers: [1824]
1824,100 unequal: No Solution
Exploring Operation: 96-19=77, Resulting Numbers: [77]
77,100 unequal: No Solution
Exploring Operation: 19+96=115, Resulting Numbers: [115]
115,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[8, 107], Operations: ['65-46=19', '88+19=107']
Exploring Operation: 8*107=856, Resulting Numbers: [856]
856,100 unequal: No Solution
Exploring Operation: 8+107=115, Resulting Numbers: [115]
115,100 unequal: No Solution
Exploring Operation: 107-8=99, Resulting Numbers: [99]
99,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[65, 46, 11], Operations: ['88/8=11']
Exploring Operation: 65+46=111, Resulting Numbers: [11, 111]
Generated Node #0,1,0: 100:[11, 111] Operation: 65+46=111
Exploring Operation: 65-11=54, Resulting Numbers: [46, 54]
Generated Node #0,1,1: 100:[46, 54] Operation: 65-11=54
Exploring Operation: 65-46=19, Resulting Numbers: [11, 19]
Generated Node #0,1,2: 100:[11, 19] Operation: 65-46=19
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 100:[11, 19], Operations: ['88/8=11', '65-46=19']
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 11*19=209, Resulting Numbers: [209]
209,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 100:[46, 54], Operations: ['88/8=11', '65-11=54']
Exploring Operation: 46*54=2484, Resulting Numbers: [2484]
2484,100 unequal: No Solution
Exploring Operation: 46+54=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[88, 65, 46, 8], Operations: []
Exploring Operation: 88/8=11, Resulting Numbers: [65, 46, 11]
Generated Node #0,1: 100:[65, 46, 11] Operation: 88/8=11
Moving to Node #0,1
Current State: 100:[65, 46, 11], Operations: ['88/8=11']
Exploring Operation: 65-11=54, Resulting Numbers: [46, 54]
Generated Node #0,1,1: 100:[46, 54] Operation: 65-11=54
Moving to Node #0,1,1
Current State: 100:[46, 54], Operations: ['88/8=11', '65-11=54']
Exploring Operation: 46+54=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.966146 | hs_3 | mult_heuristic |
[
28,
49,
54,
57
] | 35 | [
"57-54=3",
"28*3=84",
"84-49=35"
] | Current State: 35:[28, 49, 54, 57], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [28, 49, 3]
Generated Node #2: [28, 49, 3] from Operation: 57-54=3
Current State: 35:[28, 49, 3], Operations: ['57-54=3']
Exploring Operation: 28*3=84, Resulting Numbers: [49, 84]
Generated Node #3: [49, 84] from Operation: 28*3=84
Current State: 35:[49, 84], Operations: ['57-54=3', '28*3=84']
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[28, 49, 54, 57], Operations: []
Exploring Operation: 54-49=5, Resulting Numbers: [28, 57, 5]
Generated Node #0,0: 35:[28, 57, 5] Operation: 54-49=5
Exploring Operation: 57-54=3, Resulting Numbers: [28, 49, 3]
Generated Node #0,1: 35:[28, 49, 3] Operation: 57-54=3
Exploring Operation: 57-28=29, Resulting Numbers: [49, 54, 29]
Generated Node #0,2: 35:[49, 54, 29] Operation: 57-28=29
Exploring Operation: 54-28=26, Resulting Numbers: [49, 57, 26]
Generated Node #0,3: 35:[49, 57, 26] Operation: 54-28=26
Exploring Operation: 57-49=8, Resulting Numbers: [28, 54, 8]
Generated Node #0,4: 35:[28, 54, 8] Operation: 57-49=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[28, 49, 3], Operations: ['57-54=3']
Exploring Operation: 49+3=52, Resulting Numbers: [28, 52]
Generated Node #0,1,0: 35:[28, 52] Operation: 49+3=52
Exploring Operation: 49-28=21, Resulting Numbers: [3, 21]
Generated Node #0,1,1: 35:[3, 21] Operation: 49-28=21
Exploring Operation: 49-3=46, Resulting Numbers: [28, 46]
Generated Node #0,1,2: 35:[28, 46] Operation: 49-3=46
Exploring Operation: 28-3=25, Resulting Numbers: [49, 25]
Generated Node #0,1,3: 35:[49, 25] Operation: 28-3=25
Exploring Operation: 28+3=31, Resulting Numbers: [49, 31]
Generated Node #0,1,4: 35:[49, 31] Operation: 28+3=31
Moving to Node #0,1,1
Current State: 35:[3, 21], Operations: ['57-54=3', '49-28=21']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Moving to Node #0,1,4
Current State: 35:[49, 31], Operations: ['57-54=3', '28+3=31']
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 49*31=1519, Resulting Numbers: [1519]
1519,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[28, 46], Operations: ['57-54=3', '49-3=46']
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 28*46=1288, Resulting Numbers: [1288]
1288,35 unequal: No Solution
Exploring Operation: 28+46=74, Resulting Numbers: [74]
74,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[28, 52], Operations: ['57-54=3', '49+3=52']
Exploring Operation: 28*52=1456, Resulting Numbers: [1456]
1456,35 unequal: No Solution
Exploring Operation: 28+52=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[49, 25], Operations: ['57-54=3', '28-3=25']
Exploring Operation: 49*25=1225, Resulting Numbers: [1225]
1225,35 unequal: No Solution
Exploring Operation: 49+25=74, Resulting Numbers: [74]
74,35 unequal: No Solution
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 35:[28, 54, 8], Operations: ['57-49=8']
Exploring Operation: 54-28=26, Resulting Numbers: [8, 26]
Generated Node #0,4,0: 35:[8, 26] Operation: 54-28=26
Exploring Operation: 28-8=20, Resulting Numbers: [54, 20]
Generated Node #0,4,1: 35:[54, 20] Operation: 28-8=20
Exploring Operation: 54+8=62, Resulting Numbers: [28, 62]
Generated Node #0,4,2: 35:[28, 62] Operation: 54+8=62
Exploring Operation: 28+8=36, Resulting Numbers: [54, 36]
Generated Node #0,4,3: 35:[54, 36] Operation: 28+8=36
Exploring Operation: 54-8=46, Resulting Numbers: [28, 46]
Generated Node #0,4,4: 35:[28, 46] Operation: 54-8=46
Moving to Node #0,4,0
Current State: 35:[8, 26], Operations: ['57-49=8', '54-28=26']
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,35 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Moving to Node #0,4,4
Current State: 35:[28, 46], Operations: ['57-49=8', '54-8=46']
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 28+46=74, Resulting Numbers: [74]
74,35 unequal: No Solution
Exploring Operation: 28*46=1288, Resulting Numbers: [1288]
1288,35 unequal: No Solution
Moving to Node #0,4,3
Current State: 35:[54, 36], Operations: ['57-49=8', '28+8=36']
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 54+36=90, Resulting Numbers: [90]
90,35 unequal: No Solution
Exploring Operation: 54*36=1944, Resulting Numbers: [1944]
1944,35 unequal: No Solution
Moving to Node #0,4,1
Current State: 35:[54, 20], Operations: ['57-49=8', '28-8=20']
Exploring Operation: 54+20=74, Resulting Numbers: [74]
74,35 unequal: No Solution
Exploring Operation: 54*20=1080, Resulting Numbers: [1080]
1080,35 unequal: No Solution
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Moving to Node #0,4,2
Current State: 35:[28, 62], Operations: ['57-49=8', '54+8=62']
Exploring Operation: 28*62=1736, Resulting Numbers: [1736]
1736,35 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 28+62=90, Resulting Numbers: [90]
90,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[28, 57, 5], Operations: ['54-49=5']
Exploring Operation: 28-5=23, Resulting Numbers: [57, 23]
Generated Node #0,0,0: 35:[57, 23] Operation: 28-5=23
Exploring Operation: 57+5=62, Resulting Numbers: [28, 62]
Generated Node #0,0,1: 35:[28, 62] Operation: 57+5=62
Exploring Operation: 28+5=33, Resulting Numbers: [57, 33]
Generated Node #0,0,2: 35:[57, 33] Operation: 28+5=33
Exploring Operation: 57-28=29, Resulting Numbers: [5, 29]
Generated Node #0,0,3: 35:[5, 29] Operation: 57-28=29
Exploring Operation: 57-5=52, Resulting Numbers: [28, 52]
Generated Node #0,0,4: 35:[28, 52] Operation: 57-5=52
Moving to Node #0,0,3
Current State: 35:[5, 29], Operations: ['54-49=5', '57-28=29']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,35 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Moving to Node #0,0,4
Current State: 35:[28, 52], Operations: ['54-49=5', '57-5=52']
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 28+52=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 28*52=1456, Resulting Numbers: [1456]
1456,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[57, 33], Operations: ['54-49=5', '28+5=33']
Exploring Operation: 57*33=1881, Resulting Numbers: [1881]
1881,35 unequal: No Solution
Exploring Operation: 57+33=90, Resulting Numbers: [90]
90,35 unequal: No Solution
Exploring Operation: 57-33=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[57, 23], Operations: ['54-49=5', '28-5=23']
Exploring Operation: 57*23=1311, Resulting Numbers: [1311]
1311,35 unequal: No Solution
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 57+23=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[28, 62], Operations: ['54-49=5', '57+5=62']
Exploring Operation: 28+62=90, Resulting Numbers: [90]
90,35 unequal: No Solution
Exploring Operation: 28*62=1736, Resulting Numbers: [1736]
1736,35 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[49, 54, 29], Operations: ['57-28=29']
Exploring Operation: 54+29=83, Resulting Numbers: [49, 83]
Generated Node #0,2,0: 35:[49, 83] Operation: 54+29=83
Exploring Operation: 54-49=5, Resulting Numbers: [29, 5]
Generated Node #0,2,1: 35:[29, 5] Operation: 54-49=5
Exploring Operation: 54-29=25, Resulting Numbers: [49, 25]
Generated Node #0,2,2: 35:[49, 25] Operation: 54-29=25
Exploring Operation: 49-29=20, Resulting Numbers: [54, 20]
Generated Node #0,2,3: 35:[54, 20] Operation: 49-29=20
Exploring Operation: 49+29=78, Resulting Numbers: [54, 78]
Generated Node #0,2,4: 35:[54, 78] Operation: 49+29=78
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 35:[29, 5], Operations: ['57-28=29', '54-49=5']
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,35 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 35:[49, 25], Operations: ['57-28=29', '54-29=25']
Exploring Operation: 49*25=1225, Resulting Numbers: [1225]
1225,35 unequal: No Solution
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 49+25=74, Resulting Numbers: [74]
74,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 35:[54, 20], Operations: ['57-28=29', '49-29=20']
Exploring Operation: 54*20=1080, Resulting Numbers: [1080]
1080,35 unequal: No Solution
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 54+20=74, Resulting Numbers: [74]
74,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 35:[49, 83], Operations: ['57-28=29', '54+29=83']
Exploring Operation: 49+83=132, Resulting Numbers: [132]
132,35 unequal: No Solution
Exploring Operation: 49*83=4067, Resulting Numbers: [4067]
4067,35 unequal: No Solution
Exploring Operation: 83-49=34, Resulting Numbers: [34]
34,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 35:[54, 78], Operations: ['57-28=29', '49+29=78']
Exploring Operation: 54+78=132, Resulting Numbers: [132]
132,35 unequal: No Solution
Exploring Operation: 54*78=4212, Resulting Numbers: [4212]
4212,35 unequal: No Solution
Exploring Operation: 78-54=24, Resulting Numbers: [24]
24,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[49, 57, 26], Operations: ['54-28=26']
Exploring Operation: 49-26=23, Resulting Numbers: [57, 23]
Generated Node #0,3,0: 35:[57, 23] Operation: 49-26=23
Exploring Operation: 57+26=83, Resulting Numbers: [49, 83]
Generated Node #0,3,1: 35:[49, 83] Operation: 57+26=83
Exploring Operation: 57-49=8, Resulting Numbers: [26, 8]
Generated Node #0,3,2: 35:[26, 8] Operation: 57-49=8
Exploring Operation: 57-26=31, Resulting Numbers: [49, 31]
Generated Node #0,3,3: 35:[49, 31] Operation: 57-26=31
Exploring Operation: 49+26=75, Resulting Numbers: [57, 75]
Generated Node #0,3,4: 35:[57, 75] Operation: 49+26=75
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 35:[26, 8], Operations: ['54-28=26', '57-49=8']
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 26*8=208, Resulting Numbers: [208]
208,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 35:[49, 31], Operations: ['54-28=26', '57-26=31']
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 49*31=1519, Resulting Numbers: [1519]
1519,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 35:[57, 23], Operations: ['54-28=26', '49-26=23']
Exploring Operation: 57*23=1311, Resulting Numbers: [1311]
1311,35 unequal: No Solution
Exploring Operation: 57+23=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 35:[49, 83], Operations: ['54-28=26', '57+26=83']
Exploring Operation: 49+83=132, Resulting Numbers: [132]
132,35 unequal: No Solution
Exploring Operation: 49*83=4067, Resulting Numbers: [4067]
4067,35 unequal: No Solution
Exploring Operation: 83-49=34, Resulting Numbers: [34]
34,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 35:[57, 75], Operations: ['54-28=26', '49+26=75']
Exploring Operation: 75-57=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 57*75=4275, Resulting Numbers: [4275]
4275,35 unequal: No Solution
Exploring Operation: 57+75=132, Resulting Numbers: [132]
132,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
39,
13,
50,
3
] | 56 | [
"39/13=3",
"50+3=53",
"3+53=56"
] | Current State: 56:[39, 13, 50, 3], Operations: []
Exploring Operation: 39/13=3, Resulting Numbers: [50, 3, 3]
Generated Node #2: [50, 3, 3] from Operation: 39/13=3
Current State: 56:[50, 3, 3], Operations: ['39/13=3']
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,56 equal: Goal Reached
Exploring Operation: 3+53=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[39, 13, 50, 3], Operations: []
Exploring Operation: 39-13=26, Resulting Numbers: [50, 3, 26]
Generated Node #0,0: 56:[50, 3, 26] Operation: 39-13=26
Exploring Operation: 39/3=13, Resulting Numbers: [13, 50, 13]
Generated Node #0,1: 56:[13, 50, 13] Operation: 39/3=13
Exploring Operation: 39+13=52, Resulting Numbers: [50, 3, 52]
Generated Node #0,2: 56:[50, 3, 52] Operation: 39+13=52
Exploring Operation: 50-39=11, Resulting Numbers: [13, 3, 11]
Generated Node #0,3: 56:[13, 3, 11] Operation: 50-39=11
Exploring Operation: 39/13=3, Resulting Numbers: [50, 3, 3]
Generated Node #0,4: 56:[50, 3, 3] Operation: 39/13=3
Moving to Node #0,3
Current State: 56:[13, 3, 11], Operations: ['50-39=11']
Exploring Operation: 13+3=16, Resulting Numbers: [11, 16]
Generated Node #0,3,0: 56:[11, 16] Operation: 13+3=16
Exploring Operation: 13-11=2, Resulting Numbers: [3, 2]
Generated Node #0,3,1: 56:[3, 2] Operation: 13-11=2
Exploring Operation: 3+11=14, Resulting Numbers: [13, 14]
Generated Node #0,3,2: 56:[13, 14] Operation: 3+11=14
Exploring Operation: 13-3=10, Resulting Numbers: [11, 10]
Generated Node #0,3,3: 56:[11, 10] Operation: 13-3=10
Exploring Operation: 11-3=8, Resulting Numbers: [13, 8]
Generated Node #0,3,4: 56:[13, 8] Operation: 11-3=8
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 56:[3, 2], Operations: ['50-39=11', '13-11=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,56 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 56:[13, 14], Operations: ['50-39=11', '3+11=14']
Exploring Operation: 13*14=182, Resulting Numbers: [182]
182,56 unequal: No Solution
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 56:[13, 8], Operations: ['50-39=11', '11-3=8']
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,56 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 56:[11, 16], Operations: ['50-39=11', '13+3=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 56:[11, 10], Operations: ['50-39=11', '13-3=10']
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,56 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 56:[50, 3, 3], Operations: ['39/13=3']
Exploring Operation: 3/3=1, Resulting Numbers: [50, 1]
Generated Node #0,4,0: 56:[50, 1] Operation: 3/3=1
Exploring Operation: 3+3=6, Resulting Numbers: [50, 6]
Generated Node #0,4,1: 56:[50, 6] Operation: 3+3=6
Exploring Operation: 50+3=53, Resulting Numbers: [3, 53]
Generated Node #0,4,2: 56:[3, 53] Operation: 50+3=53
Exploring Operation: 50+3=53, Resulting Numbers: [3, 53]
Generated Node #0,4,3: 56:[3, 53] Operation: 50+3=53
Exploring Operation: 3*3=9, Resulting Numbers: [50, 9]
Generated Node #0,4,4: 56:[50, 9] Operation: 3*3=9
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 56:[3, 53], Operations: ['39/13=3', '50+3=53']
Exploring Operation: 3*53=159, Resulting Numbers: [159]
159,56 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,56 unequal: No Solution
Exploring Operation: 3+53=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[39, 13, 50, 3], Operations: []
Exploring Operation: 39/13=3, Resulting Numbers: [50, 3, 3]
Generated Node #0,4: 56:[50, 3, 3] Operation: 39/13=3
Moving to Node #0,4
Current State: 56:[50, 3, 3], Operations: ['39/13=3']
Exploring Operation: 50+3=53, Resulting Numbers: [3, 53]
Generated Node #0,4,2: 56:[3, 53] Operation: 50+3=53
Moving to Node #0,4,2
Current State: 56:[3, 53], Operations: ['39/13=3', '50+3=53']
Exploring Operation: 3+53=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
71,
73,
60,
11
] | 19 | [
"73-71=2",
"60/2=30",
"30-11=19"
] | Current State: 19:[71, 73, 60, 11], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [60, 11, 2]
Generated Node #2: [60, 11, 2] from Operation: 73-71=2
Current State: 19:[60, 11, 2], Operations: ['73-71=2']
Exploring Operation: 60/2=30, Resulting Numbers: [11, 30]
Generated Node #3: [11, 30] from Operation: 60/2=30
Current State: 19:[11, 30], Operations: ['73-71=2', '60/2=30']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[71, 73, 60, 11], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [60, 11, 2]
Generated Node #0,0: 19:[60, 11, 2] Operation: 73-71=2
Moving to Node #0,0
Current State: 19:[60, 11, 2], Operations: ['73-71=2']
Exploring Operation: 60/2=30, Resulting Numbers: [11, 30]
Generated Node #0,0,0: 19:[11, 30] Operation: 60/2=30
Moving to Node #0,0,0
Current State: 19:[11, 30], Operations: ['73-71=2', '60/2=30']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[71, 73, 60, 11], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [60, 11, 2]
Generated Node #0,0: 19:[60, 11, 2] Operation: 73-71=2
Moving to Node #0,0
Current State: 19:[60, 11, 2], Operations: ['73-71=2']
Exploring Operation: 60/2=30, Resulting Numbers: [11, 30]
Generated Node #0,0,0: 19:[11, 30] Operation: 60/2=30
Moving to Node #0,0,0
Current State: 19:[11, 30], Operations: ['73-71=2', '60/2=30']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
35,
51,
63,
58
] | 11 | [
"51-35=16",
"63-58=5",
"16-5=11"
] | Current State: 11:[35, 51, 63, 58], Operations: []
Exploring Operation: 51-35=16, Resulting Numbers: [63, 58, 16]
Generated Node #2: [63, 58, 16] from Operation: 51-35=16
Current State: 11:[63, 58, 16], Operations: ['51-35=16']
Exploring Operation: 63-58=5, Resulting Numbers: [16, 5]
Generated Node #3: [16, 5] from Operation: 63-58=5
Current State: 11:[16, 5], Operations: ['51-35=16', '63-58=5']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[35, 51, 63, 58], Operations: []
Exploring Operation: 63-51=12, Resulting Numbers: [35, 58, 12]
Generated Node #0,0: 11:[35, 58, 12] Operation: 63-51=12
Exploring Operation: 58-51=7, Resulting Numbers: [35, 63, 7]
Generated Node #0,1: 11:[35, 63, 7] Operation: 58-51=7
Exploring Operation: 63-58=5, Resulting Numbers: [35, 51, 5]
Generated Node #0,2: 11:[35, 51, 5] Operation: 63-58=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[35, 51, 5], Operations: ['63-58=5']
Exploring Operation: 35-5=30, Resulting Numbers: [51, 30]
Generated Node #0,2,0: 11:[51, 30] Operation: 35-5=30
Exploring Operation: 51-35=16, Resulting Numbers: [5, 16]
Generated Node #0,2,1: 11:[5, 16] Operation: 51-35=16
Exploring Operation: 35/5=7, Resulting Numbers: [51, 7]
Generated Node #0,2,2: 11:[51, 7] Operation: 35/5=7
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 11:[5, 16], Operations: ['63-58=5', '51-35=16']
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,11 unequal: No Solution
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[35, 51, 63, 58], Operations: []
Exploring Operation: 63-58=5, Resulting Numbers: [35, 51, 5]
Generated Node #0,2: 11:[35, 51, 5] Operation: 63-58=5
Moving to Node #0,2
Current State: 11:[35, 51, 5], Operations: ['63-58=5']
Exploring Operation: 51-35=16, Resulting Numbers: [5, 16]
Generated Node #0,2,1: 11:[5, 16] Operation: 51-35=16
Moving to Node #0,2,1
Current State: 11:[5, 16], Operations: ['63-58=5', '51-35=16']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
9,
34,
34,
2
] | 50 | [
"9*2=18",
"34+34=68",
"68-18=50"
] | Current State: 50:[9, 34, 34, 2], Operations: []
Exploring Operation: 9*2=18, Resulting Numbers: [34, 34, 18]
Generated Node #2: [34, 34, 18] from Operation: 9*2=18
Current State: 50:[34, 34, 18], Operations: ['9*2=18']
Exploring Operation: 34+34=68, Resulting Numbers: [18, 68]
Generated Node #3: [18, 68] from Operation: 34+34=68
Current State: 50:[18, 68], Operations: ['9*2=18', '34+34=68']
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[9, 34, 34, 2], Operations: []
Exploring Operation: 34-34=0, Resulting Numbers: [9, 2, 0]
Generated Node #0,0: 50:[9, 2, 0] Operation: 34-34=0
Exploring Operation: 34/34=1, Resulting Numbers: [9, 2, 1]
Generated Node #0,1: 50:[9, 2, 1] Operation: 34/34=1
Moving to Node #0,1
Current State: 50:[9, 2, 1], Operations: ['34/34=1']
Exploring Operation: 9+1=10, Resulting Numbers: [2, 10]
Generated Node #0,1,0: 50:[2, 10] Operation: 9+1=10
Exploring Operation: 9*1=9, Resulting Numbers: [2, 9]
Generated Node #0,1,1: 50:[2, 9] Operation: 9*1=9
Moving to Node #0,0
Current State: 50:[9, 2, 0], Operations: ['34-34=0']
Exploring Operation: 9-0=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 50:[2, 9] Operation: 9-0=9
Exploring Operation: 9+0=9, Resulting Numbers: [2, 9]
Generated Node #0,0,1: 50:[2, 9] Operation: 9+0=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[2, 9], Operations: ['34-34=0', '9-0=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[2, 9], Operations: ['34-34=0', '9+0=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,50 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: 50:[2, 10], Operations: ['34/34=1', '9+1=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[2, 9], Operations: ['34/34=1', '9*1=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,50 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
9,
77,
33,
83
] | 62 | [
"9*77=693",
"693/33=21",
"83-21=62"
] | Current State: 62:[9, 77, 33, 83], Operations: []
Exploring Operation: 9*77=693, Resulting Numbers: [33, 83, 693]
Generated Node #2: [33, 83, 693] from Operation: 9*77=693
Current State: 62:[33, 83, 693], Operations: ['9*77=693']
Exploring Operation: 693/33=21, Resulting Numbers: [83, 21]
Generated Node #3: [83, 21] from Operation: 693/33=21
Current State: 62:[83, 21], Operations: ['9*77=693', '693/33=21']
Exploring Operation: 83-21=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[9, 77, 33, 83], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [9, 33, 6]
Generated Node #0,0: 62:[9, 33, 6] Operation: 83-77=6
Moving to Node #0,0
Current State: 62:[9, 33, 6], Operations: ['83-77=6']
Exploring Operation: 9-6=3, Resulting Numbers: [33, 3]
Generated Node #0,0,0: 62:[33, 3] Operation: 9-6=3
Moving to Node #0,0,0
Current State: 62:[33, 3], Operations: ['83-77=6', '9-6=3']
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,62 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
38,
15,
14,
32
] | 70 | [
"38+32=70",
"15-14=1",
"70*1=70"
] | Current State: 70:[38, 15, 14, 32], Operations: []
Exploring Operation: 38+32=70, Resulting Numbers: [15, 14, 70]
Generated Node #2: [15, 14, 70] from Operation: 38+32=70
Current State: 70:[15, 14, 70], Operations: ['38+32=70']
Exploring Operation: 15-14=1, Resulting Numbers: [70, 1]
Generated Node #3: [70, 1] from Operation: 15-14=1
Current State: 70:[70, 1], Operations: ['38+32=70', '15-14=1']
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[38, 15, 14, 32], Operations: []
Exploring Operation: 38-32=6, Resulting Numbers: [15, 14, 6]
Generated Node #0,0: 70:[15, 14, 6] Operation: 38-32=6
Exploring Operation: 15-14=1, Resulting Numbers: [38, 32, 1]
Generated Node #0,1: 70:[38, 32, 1] Operation: 15-14=1
Exploring Operation: 38+32=70, Resulting Numbers: [15, 14, 70]
Generated Node #0,2: 70:[15, 14, 70] Operation: 38+32=70
Exploring Operation: 32-14=18, Resulting Numbers: [38, 15, 18]
Generated Node #0,3: 70:[38, 15, 18] Operation: 32-14=18
Exploring Operation: 32-15=17, Resulting Numbers: [38, 14, 17]
Generated Node #0,4: 70:[38, 14, 17] Operation: 32-15=17
Moving to Node #0,2
Current State: 70:[15, 14, 70], Operations: ['38+32=70']
Exploring Operation: 70/14=5, Resulting Numbers: [15, 5]
Generated Node #0,2,0: 70:[15, 5] Operation: 70/14=5
Exploring Operation: 15+70=85, Resulting Numbers: [14, 85]
Generated Node #0,2,1: 70:[14, 85] Operation: 15+70=85
Exploring Operation: 70-15=55, Resulting Numbers: [14, 55]
Generated Node #0,2,2: 70:[14, 55] Operation: 70-15=55
Exploring Operation: 15+14=29, Resulting Numbers: [70, 29]
Generated Node #0,2,3: 70:[70, 29] Operation: 15+14=29
Exploring Operation: 15-14=1, Resulting Numbers: [70, 1]
Generated Node #0,2,4: 70:[70, 1] Operation: 15-14=1
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[15, 5], Operations: ['38+32=70', '70/14=5']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 70:[70, 1], Operations: ['38+32=70', '15-14=1']
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,70 unequal: No Solution
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[38, 15, 14, 32], Operations: []
Exploring Operation: 38+32=70, Resulting Numbers: [15, 14, 70]
Generated Node #0,2: 70:[15, 14, 70] Operation: 38+32=70
Moving to Node #0,2
Current State: 70:[15, 14, 70], Operations: ['38+32=70']
Exploring Operation: 15-14=1, Resulting Numbers: [70, 1]
Generated Node #0,2,4: 70:[70, 1] Operation: 15-14=1
Moving to Node #0,2,4
Current State: 70:[70, 1], Operations: ['38+32=70', '15-14=1']
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
3,
27,
59,
24
] | 76 | [
"27+24=51",
"51/3=17",
"59+17=76"
] | Current State: 76:[3, 27, 59, 24], Operations: []
Exploring Operation: 27+24=51, Resulting Numbers: [3, 59, 51]
Generated Node #2: [3, 59, 51] from Operation: 27+24=51
Current State: 76:[3, 59, 51], Operations: ['27+24=51']
Exploring Operation: 51/3=17, Resulting Numbers: [59, 17]
Generated Node #3: [59, 17] from Operation: 51/3=17
Current State: 76:[59, 17], Operations: ['27+24=51', '51/3=17']
Exploring Operation: 59+17=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[3, 27, 59, 24], Operations: []
Exploring Operation: 59-27=32, Resulting Numbers: [3, 24, 32]
Generated Node #0,0: 76:[3, 24, 32] Operation: 59-27=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[3, 24, 32], Operations: ['59-27=32']
Exploring Operation: 32-24=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 76:[3, 8] Operation: 32-24=8
Moving to Node #0,0,0
Current State: 76:[3, 8], Operations: ['59-27=32', '32-24=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
45,
64,
67,
34
] | 49 | [
"67-64=3",
"45/3=15",
"34+15=49"
] | Current State: 49:[45, 64, 67, 34], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [45, 34, 3]
Generated Node #2: [45, 34, 3] from Operation: 67-64=3
Current State: 49:[45, 34, 3], Operations: ['67-64=3']
Exploring Operation: 45/3=15, Resulting Numbers: [34, 15]
Generated Node #3: [34, 15] from Operation: 45/3=15
Current State: 49:[34, 15], Operations: ['67-64=3', '45/3=15']
Exploring Operation: 34+15=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[45, 64, 67, 34], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [45, 34, 3]
Generated Node #0,0: 49:[45, 34, 3] Operation: 67-64=3
Exploring Operation: 45-34=11, Resulting Numbers: [64, 67, 11]
Generated Node #0,1: 49:[64, 67, 11] Operation: 45-34=11
Exploring Operation: 64-45=19, Resulting Numbers: [67, 34, 19]
Generated Node #0,2: 49:[67, 34, 19] Operation: 64-45=19
Exploring Operation: 64-34=30, Resulting Numbers: [45, 67, 30]
Generated Node #0,3: 49:[45, 67, 30] Operation: 64-34=30
Exploring Operation: 67-34=33, Resulting Numbers: [45, 64, 33]
Generated Node #0,4: 49:[45, 64, 33] Operation: 67-34=33
Moving to Node #0,0
Current State: 49:[45, 34, 3], Operations: ['67-64=3']
Exploring Operation: 45-3=42, Resulting Numbers: [34, 42]
Generated Node #0,0,0: 49:[34, 42] Operation: 45-3=42
Exploring Operation: 45-34=11, Resulting Numbers: [3, 11]
Generated Node #0,0,1: 49:[3, 11] Operation: 45-34=11
Exploring Operation: 34+3=37, Resulting Numbers: [45, 37]
Generated Node #0,0,2: 49:[45, 37] Operation: 34+3=37
Exploring Operation: 34-3=31, Resulting Numbers: [45, 31]
Generated Node #0,0,3: 49:[45, 31] Operation: 34-3=31
Exploring Operation: 45+3=48, Resulting Numbers: [34, 48]
Generated Node #0,0,4: 49:[34, 48] Operation: 45+3=48
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[3, 11], Operations: ['67-64=3', '45-34=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,49 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[45, 37], Operations: ['67-64=3', '34+3=37']
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 45*37=1665, Resulting Numbers: [1665]
1665,49 unequal: No Solution
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 49:[34, 48], Operations: ['67-64=3', '45+3=48']
Exploring Operation: 34+48=82, Resulting Numbers: [82]
82,49 unequal: No Solution
Exploring Operation: 34*48=1632, Resulting Numbers: [1632]
1632,49 unequal: No Solution
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[34, 42], Operations: ['67-64=3', '45-3=42']
Exploring Operation: 34+42=76, Resulting Numbers: [76]
76,49 unequal: No Solution
Exploring Operation: 42-34=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 34*42=1428, Resulting Numbers: [1428]
1428,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 49:[45, 31], Operations: ['67-64=3', '34-3=31']
Exploring Operation: 45*31=1395, Resulting Numbers: [1395]
1395,49 unequal: No Solution
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,49 unequal: No Solution
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 49:[45, 64, 33], Operations: ['67-34=33']
Exploring Operation: 64+33=97, Resulting Numbers: [45, 97]
Generated Node #0,4,0: 49:[45, 97] Operation: 64+33=97
Exploring Operation: 64-33=31, Resulting Numbers: [45, 31]
Generated Node #0,4,1: 49:[45, 31] Operation: 64-33=31
Exploring Operation: 64-45=19, Resulting Numbers: [33, 19]
Generated Node #0,4,2: 49:[33, 19] Operation: 64-45=19
Exploring Operation: 45+33=78, Resulting Numbers: [64, 78]
Generated Node #0,4,3: 49:[64, 78] Operation: 45+33=78
Exploring Operation: 45-33=12, Resulting Numbers: [64, 12]
Generated Node #0,4,4: 49:[64, 12] Operation: 45-33=12
Moving to Node #0,1
Current State: 49:[64, 67, 11], Operations: ['45-34=11']
Exploring Operation: 67-11=56, Resulting Numbers: [64, 56]
Generated Node #0,1,0: 49:[64, 56] Operation: 67-11=56
Exploring Operation: 64+11=75, Resulting Numbers: [67, 75]
Generated Node #0,1,1: 49:[67, 75] Operation: 64+11=75
Exploring Operation: 67-64=3, Resulting Numbers: [11, 3]
Generated Node #0,1,2: 49:[11, 3] Operation: 67-64=3
Exploring Operation: 67+11=78, Resulting Numbers: [64, 78]
Generated Node #0,1,3: 49:[64, 78] Operation: 67+11=78
Exploring Operation: 64-11=53, Resulting Numbers: [67, 53]
Generated Node #0,1,4: 49:[67, 53] Operation: 64-11=53
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 49:[11, 3], Operations: ['45-34=11', '67-64=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,49 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[64, 56], Operations: ['45-34=11', '67-11=56']
Exploring Operation: 64+56=120, Resulting Numbers: [120]
120,49 unequal: No Solution
Exploring Operation: 64-56=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 64*56=3584, Resulting Numbers: [3584]
3584,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 49:[67, 53], Operations: ['45-34=11', '64-11=53']
Exploring Operation: 67*53=3551, Resulting Numbers: [3551]
3551,49 unequal: No Solution
Exploring Operation: 67-53=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 67+53=120, Resulting Numbers: [120]
120,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[67, 75], Operations: ['45-34=11', '64+11=75']
Exploring Operation: 67+75=142, Resulting Numbers: [142]
142,49 unequal: No Solution
Exploring Operation: 75-67=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 67*75=5025, Resulting Numbers: [5025]
5025,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 49:[64, 78], Operations: ['45-34=11', '67+11=78']
Exploring Operation: 78-64=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 64+78=142, Resulting Numbers: [142]
142,49 unequal: No Solution
Exploring Operation: 64*78=4992, Resulting Numbers: [4992]
4992,49 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: 49:[45, 67, 30], Operations: ['64-34=30']
Exploring Operation: 67-45=22, Resulting Numbers: [30, 22]
Generated Node #0,3,0: 49:[30, 22] Operation: 67-45=22
Exploring Operation: 67-30=37, Resulting Numbers: [45, 37]
Generated Node #0,3,1: 49:[45, 37] Operation: 67-30=37
Exploring Operation: 45+30=75, Resulting Numbers: [67, 75]
Generated Node #0,3,2: 49:[67, 75] Operation: 45+30=75
Exploring Operation: 67+30=97, Resulting Numbers: [45, 97]
Generated Node #0,3,3: 49:[45, 97] Operation: 67+30=97
Exploring Operation: 45-30=15, Resulting Numbers: [67, 15]
Generated Node #0,3,4: 49:[67, 15] Operation: 45-30=15
Moving to Node #0,2
Current State: 49:[67, 34, 19], Operations: ['64-45=19']
Exploring Operation: 34+19=53, Resulting Numbers: [67, 53]
Generated Node #0,2,0: 49:[67, 53] Operation: 34+19=53
Exploring Operation: 67+19=86, Resulting Numbers: [34, 86]
Generated Node #0,2,1: 49:[34, 86] Operation: 67+19=86
Exploring Operation: 67-34=33, Resulting Numbers: [19, 33]
Generated Node #0,2,2: 49:[19, 33] Operation: 67-34=33
Exploring Operation: 34-19=15, Resulting Numbers: [67, 15]
Generated Node #0,2,3: 49:[67, 15] Operation: 34-19=15
Exploring Operation: 67-19=48, Resulting Numbers: [34, 48]
Generated Node #0,2,4: 49:[34, 48] Operation: 67-19=48
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 49:[34, 48], Operations: ['64-45=19', '67-19=48']
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 34+48=82, Resulting Numbers: [82]
82,49 unequal: No Solution
Exploring Operation: 34*48=1632, Resulting Numbers: [1632]
1632,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[67, 53], Operations: ['64-45=19', '34+19=53']
Exploring Operation: 67-53=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 67+53=120, Resulting Numbers: [120]
120,49 unequal: No Solution
Exploring Operation: 67*53=3551, Resulting Numbers: [3551]
3551,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 49:[67, 15], Operations: ['64-45=19', '34-19=15']
Exploring Operation: 67*15=1005, Resulting Numbers: [1005]
1005,49 unequal: No Solution
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 67+15=82, Resulting Numbers: [82]
82,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[19, 33], Operations: ['64-45=19', '67-34=33']
Exploring Operation: 19*33=627, Resulting Numbers: [627]
627,49 unequal: No Solution
Exploring Operation: 19+33=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[34, 86], Operations: ['64-45=19', '67+19=86']
Exploring Operation: 34*86=2924, Resulting Numbers: [2924]
2924,49 unequal: No Solution
Exploring Operation: 34+86=120, Resulting Numbers: [120]
120,49 unequal: No Solution
Exploring Operation: 86-34=52, Resulting Numbers: [52]
52,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 49:[45, 37], Operations: ['64-34=30', '67-30=37']
Exploring Operation: 45*37=1665, Resulting Numbers: [1665]
1665,49 unequal: No Solution
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,49 unequal: No Solution
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Moving to Node #0,4,4
Current State: 49:[64, 12], Operations: ['67-34=33', '45-33=12']
Exploring Operation: 64+12=76, Resulting Numbers: [76]
76,49 unequal: No Solution
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 64*12=768, Resulting Numbers: [768]
768,49 unequal: No Solution
Moving to Node #0,4,1
Current State: 49:[45, 31], Operations: ['67-34=33', '64-33=31']
Exploring Operation: 45*31=1395, Resulting Numbers: [1395]
1395,49 unequal: No Solution
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,49 unequal: No Solution
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Moving to Node #0,3,4
Current State: 49:[67, 15], Operations: ['64-34=30', '45-30=15']
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 67+15=82, Resulting Numbers: [82]
82,49 unequal: No Solution
Exploring Operation: 67*15=1005, Resulting Numbers: [1005]
1005,49 unequal: No Solution
Moving to Node #0,4,2
Current State: 49:[33, 19], Operations: ['67-34=33', '64-45=19']
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,49 unequal: No Solution
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Moving to Node #0,3,0
Current State: 49:[30, 22], Operations: ['64-34=30', '67-45=22']
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 30+22=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 30*22=660, Resulting Numbers: [660]
660,49 unequal: No Solution
Moving to Node #0,3,2
Current State: 49:[67, 75], Operations: ['64-34=30', '45+30=75']
Exploring Operation: 67*75=5025, Resulting Numbers: [5025]
5025,49 unequal: No Solution
Exploring Operation: 75-67=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 67+75=142, Resulting Numbers: [142]
142,49 unequal: No Solution
Moving to Node #0,4,3
Current State: 49:[64, 78], Operations: ['67-34=33', '45+33=78']
Exploring Operation: 64*78=4992, Resulting Numbers: [4992]
4992,49 unequal: No Solution
Exploring Operation: 64+78=142, Resulting Numbers: [142]
142,49 unequal: No Solution
Exploring Operation: 78-64=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Moving to Node #0,3,3
Current State: 49:[45, 97], Operations: ['64-34=30', '67+30=97']
Exploring Operation: 45*97=4365, Resulting Numbers: [4365]
4365,49 unequal: No Solution
Exploring Operation: 45+97=142, Resulting Numbers: [142]
142,49 unequal: No Solution
Exploring Operation: 97-45=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Moving to Node #0,4,0
Current State: 49:[45, 97], Operations: ['67-34=33', '64+33=97']
Exploring Operation: 97-45=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 45*97=4365, Resulting Numbers: [4365]
4365,49 unequal: No Solution
Exploring Operation: 45+97=142, Resulting Numbers: [142]
142,49 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
73,
94,
25,
23
] | 76 | [
"94-25=69",
"69/23=3",
"73+3=76"
] | Current State: 76:[73, 94, 25, 23], Operations: []
Exploring Operation: 94-25=69, Resulting Numbers: [73, 23, 69]
Generated Node #2: [73, 23, 69] from Operation: 94-25=69
Current State: 76:[73, 23, 69], Operations: ['94-25=69']
Exploring Operation: 69/23=3, Resulting Numbers: [73, 3]
Generated Node #3: [73, 3] from Operation: 69/23=3
Current State: 76:[73, 3], Operations: ['94-25=69', '69/23=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[73, 94, 25, 23], Operations: []
Exploring Operation: 94-25=69, Resulting Numbers: [73, 23, 69]
Generated Node #0,0: 76:[73, 23, 69] Operation: 94-25=69
Exploring Operation: 94-23=71, Resulting Numbers: [73, 25, 71]
Generated Node #0,1: 76:[73, 25, 71] Operation: 94-23=71
Exploring Operation: 25+23=48, Resulting Numbers: [73, 94, 48]
Generated Node #0,2: 76:[73, 94, 48] Operation: 25+23=48
Exploring Operation: 25-23=2, Resulting Numbers: [73, 94, 2]
Generated Node #0,3: 76:[73, 94, 2] Operation: 25-23=2
Exploring Operation: 94-73=21, Resulting Numbers: [25, 23, 21]
Generated Node #0,4: 76:[25, 23, 21] Operation: 94-73=21
Start Sub Search at level 1: Moving to Node #0,4
Current State: 76:[25, 23, 21], Operations: ['94-73=21']
Exploring Operation: 25+23=48, Resulting Numbers: [21, 48]
Generated Node #0,4,0: 76:[21, 48] Operation: 25+23=48
Exploring Operation: 25+21=46, Resulting Numbers: [23, 46]
Generated Node #0,4,1: 76:[23, 46] Operation: 25+21=46
Exploring Operation: 23-21=2, Resulting Numbers: [25, 2]
Generated Node #0,4,2: 76:[25, 2] Operation: 23-21=2
Exploring Operation: 25-21=4, Resulting Numbers: [23, 4]
Generated Node #0,4,3: 76:[23, 4] Operation: 25-21=4
Exploring Operation: 25-23=2, Resulting Numbers: [21, 2]
Generated Node #0,4,4: 76:[21, 2] Operation: 25-23=2
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 76:[21, 2], Operations: ['94-73=21', '25-23=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 76:[23, 4], Operations: ['94-73=21', '25-21=4']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,76 unequal: No Solution
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 76:[25, 2], Operations: ['94-73=21', '23-21=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 76:[21, 48], Operations: ['94-73=21', '25+23=48']
Exploring Operation: 21*48=1008, Resulting Numbers: [1008]
1008,76 unequal: No Solution
Exploring Operation: 21+48=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 76:[23, 46], Operations: ['94-73=21', '25+21=46']
Exploring Operation: 23*46=1058, Resulting Numbers: [1058]
1058,76 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 23+46=69, Resulting Numbers: [69]
69,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[73, 23, 69], Operations: ['94-25=69']
Exploring Operation: 73-23=50, Resulting Numbers: [69, 50]
Generated Node #0,0,0: 76:[69, 50] Operation: 73-23=50
Exploring Operation: 73-69=4, Resulting Numbers: [23, 4]
Generated Node #0,0,1: 76:[23, 4] Operation: 73-69=4
Exploring Operation: 23+69=92, Resulting Numbers: [73, 92]
Generated Node #0,0,2: 76:[73, 92] Operation: 23+69=92
Exploring Operation: 69-23=46, Resulting Numbers: [73, 46]
Generated Node #0,0,3: 76:[73, 46] Operation: 69-23=46
Exploring Operation: 69/23=3, Resulting Numbers: [73, 3]
Generated Node #0,0,4: 76:[73, 3] Operation: 69/23=3
Moving to Node #0,0,1
Current State: 76:[23, 4], Operations: ['94-25=69', '73-69=4']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,76 unequal: No Solution
Moving to Node #0,0,4
Current State: 76:[73, 3], Operations: ['94-25=69', '69/23=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[73, 94, 25, 23], Operations: []
Exploring Operation: 94-25=69, Resulting Numbers: [73, 23, 69]
Generated Node #0,0: 76:[73, 23, 69] Operation: 94-25=69
Moving to Node #0,0
Current State: 76:[73, 23, 69], Operations: ['94-25=69']
Exploring Operation: 69/23=3, Resulting Numbers: [73, 3]
Generated Node #0,0,4: 76:[73, 3] Operation: 69/23=3
Moving to Node #0,0,4
Current State: 76:[73, 3], Operations: ['94-25=69', '69/23=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | mult_heuristic |
[
14,
30,
70,
25
] | 19 | [
"14*30=420",
"420/70=6",
"25-6=19"
] | Current State: 19:[14, 30, 70, 25], Operations: []
Exploring Operation: 14*30=420, Resulting Numbers: [70, 25, 420]
Generated Node #2: [70, 25, 420] from Operation: 14*30=420
Current State: 19:[70, 25, 420], Operations: ['14*30=420']
Exploring Operation: 420/70=6, Resulting Numbers: [25, 6]
Generated Node #3: [25, 6] from Operation: 420/70=6
Current State: 19:[25, 6], Operations: ['14*30=420', '420/70=6']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[14, 30, 70, 25], Operations: []
Exploring Operation: 70-14=56, Resulting Numbers: [30, 25, 56]
Generated Node #0,0: 19:[30, 25, 56] Operation: 70-14=56
Exploring Operation: 70-30=40, Resulting Numbers: [14, 25, 40]
Generated Node #0,1: 19:[14, 25, 40] Operation: 70-30=40
Exploring Operation: 70-25=45, Resulting Numbers: [14, 30, 45]
Generated Node #0,2: 19:[14, 30, 45] Operation: 70-25=45
Exploring Operation: 70/14=5, Resulting Numbers: [30, 25, 5]
Generated Node #0,3: 19:[30, 25, 5] Operation: 70/14=5
Moving to Node #0,3
Current State: 19:[30, 25, 5], Operations: ['70/14=5']
Exploring Operation: 25-5=20, Resulting Numbers: [30, 20]
Generated Node #0,3,0: 19:[30, 20] Operation: 25-5=20
Exploring Operation: 30-5=25, Resulting Numbers: [25, 25]
Generated Node #0,3,1: 19:[25, 25] Operation: 30-5=25
Exploring Operation: 30/5=6, Resulting Numbers: [25, 6]
Generated Node #0,3,2: 19:[25, 6] Operation: 30/5=6
Exploring Operation: 30+5=35, Resulting Numbers: [25, 35]
Generated Node #0,3,3: 19:[25, 35] Operation: 30+5=35
Moving to Node #0,1
Current State: 19:[14, 25, 40], Operations: ['70-30=40']
Exploring Operation: 40-14=26, Resulting Numbers: [25, 26]
Generated Node #0,1,0: 19:[25, 26] Operation: 40-14=26
Exploring Operation: 40-25=15, Resulting Numbers: [14, 15]
Generated Node #0,1,1: 19:[14, 15] Operation: 40-25=15
Exploring Operation: 25-14=11, Resulting Numbers: [40, 11]
Generated Node #0,1,2: 19:[40, 11] Operation: 25-14=11
Exploring Operation: 14+25=39, Resulting Numbers: [40, 39]
Generated Node #0,1,3: 19:[40, 39] Operation: 14+25=39
Moving to Node #0,2
Current State: 19:[14, 30, 45], Operations: ['70-25=45']
Exploring Operation: 14+30=44, Resulting Numbers: [45, 44]
Generated Node #0,2,0: 19:[45, 44] Operation: 14+30=44
Exploring Operation: 30-14=16, Resulting Numbers: [45, 16]
Generated Node #0,2,1: 19:[45, 16] Operation: 30-14=16
Exploring Operation: 45-30=15, Resulting Numbers: [14, 15]
Generated Node #0,2,2: 19:[14, 15] Operation: 45-30=15
Exploring Operation: 45-14=31, Resulting Numbers: [30, 31]
Generated Node #0,2,3: 19:[30, 31] Operation: 45-14=31
Moving to Node #0,0
Current State: 19:[30, 25, 56], Operations: ['70-14=56']
Exploring Operation: 56-25=31, Resulting Numbers: [30, 31]
Generated Node #0,0,0: 19:[30, 31] Operation: 56-25=31
Exploring Operation: 30-25=5, Resulting Numbers: [56, 5]
Generated Node #0,0,1: 19:[56, 5] Operation: 30-25=5
Exploring Operation: 30+25=55, Resulting Numbers: [56, 55]
Generated Node #0,0,2: 19:[56, 55] Operation: 30+25=55
Exploring Operation: 56-30=26, Resulting Numbers: [25, 26]
Generated Node #0,0,3: 19:[25, 26] Operation: 56-30=26
Moving to Node #0,1,1
Current State: 19:[14, 15], Operations: ['70-30=40', '40-25=15']
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,19 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[14, 15], Operations: ['70-25=45', '45-30=15']
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,19 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Moving to Node #0,3,1
Current State: 19:[25, 25], Operations: ['70/14=5', '30-5=25']
Exploring Operation: 25+25=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 25-25=0, Resulting Numbers: [0]
0,19 unequal: No Solution
Exploring Operation: 25*25=625, Resulting Numbers: [625]
625,19 unequal: No Solution
Exploring Operation: 25/25=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Moving to Node #0,3,0
Current State: 19:[30, 20], Operations: ['70/14=5', '25-5=20']
Exploring Operation: 30+20=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 30*20=600, Resulting Numbers: [600]
600,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[25, 26], Operations: ['70-30=40', '40-14=26']
Exploring Operation: 25+26=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 25*26=650, Resulting Numbers: [650]
650,19 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Moving to Node #0,0,3
Current State: 19:[25, 26], Operations: ['70-14=56', '56-30=26']
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 25+26=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 25*26=650, Resulting Numbers: [650]
650,19 unequal: No Solution
Moving to Node #0,3,2
Current State: 19:[25, 6], Operations: ['70/14=5', '30/5=6']
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,19 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[14, 30, 70, 25], Operations: []
Exploring Operation: 70/14=5, Resulting Numbers: [30, 25, 5]
Generated Node #0,3: 19:[30, 25, 5] Operation: 70/14=5
Moving to Node #0,3
Current State: 19:[30, 25, 5], Operations: ['70/14=5']
Exploring Operation: 30/5=6, Resulting Numbers: [25, 6]
Generated Node #0,3,2: 19:[25, 6] Operation: 30/5=6
Moving to Node #0,3,2
Current State: 19:[25, 6], Operations: ['70/14=5', '30/5=6']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 0.960938 | hs_4 | sum_heuristic |
[
64,
49,
46,
59
] | 11 | [
"64+46=110",
"59-49=10",
"110/10=11"
] | Current State: 11:[64, 49, 46, 59], Operations: []
Exploring Operation: 64+46=110, Resulting Numbers: [49, 59, 110]
Generated Node #2: [49, 59, 110] from Operation: 64+46=110
Current State: 11:[49, 59, 110], Operations: ['64+46=110']
Exploring Operation: 59-49=10, Resulting Numbers: [110, 10]
Generated Node #3: [110, 10] from Operation: 59-49=10
Current State: 11:[110, 10], Operations: ['64+46=110', '59-49=10']
Exploring Operation: 110/10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[64, 49, 46, 59], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [49, 46, 5]
Generated Node #0,0: 11:[49, 46, 5] Operation: 64-59=5
Moving to Node #0,0
Current State: 11:[49, 46, 5], Operations: ['64-59=5']
Exploring Operation: 49-46=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 11:[5, 3] Operation: 49-46=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[5, 3], Operations: ['64-59=5', '49-46=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
97,
97,
80,
7
] | 22 | [
"97-80=17",
"7*17=119",
"119-97=22"
] | Current State: 22:[97, 97, 80, 7], Operations: []
Exploring Operation: 97-80=17, Resulting Numbers: [7, 17]
Generated Node #2: [7, 17] from Operation: 97-80=17
Current State: 22:[7, 17], Operations: ['97-80=17']
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,22 equal: Goal Reached
Exploring Operation: 119-97=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[97, 97, 80, 7], Operations: []
Exploring Operation: 97/97=1, Resulting Numbers: [80, 7, 1]
Generated Node #0,0: 22:[80, 7, 1] Operation: 97/97=1
Exploring Operation: 97-97=0, Resulting Numbers: [80, 7, 0]
Generated Node #0,1: 22:[80, 7, 0] Operation: 97-97=0
Exploring Operation: 97-80=17, Resulting Numbers: [97, 7, 17]
Generated Node #0,2: 22:[97, 7, 17] Operation: 97-80=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[80, 7, 1], Operations: ['97/97=1']
Exploring Operation: 80-7=73, Resulting Numbers: [1, 73]
Generated Node #0,0,0: 22:[1, 73] Operation: 80-7=73
Exploring Operation: 7+1=8, Resulting Numbers: [80, 8]
Generated Node #0,0,1: 22:[80, 8] Operation: 7+1=8
Exploring Operation: 80-1=79, Resulting Numbers: [7, 79]
Generated Node #0,0,2: 22:[7, 79] Operation: 80-1=79
Moving to Node #0,0,0
Current State: 22:[1, 73], Operations: ['97/97=1', '80-7=73']
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,22 unequal: No Solution
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,22 unequal: No Solution
Exploring Operation: 1*73=73, Resulting Numbers: [73]
73,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[80, 8], Operations: ['97/97=1', '7+1=8']
Exploring Operation: 80-8=72, Resulting Numbers: [72]
72,22 unequal: No Solution
Exploring Operation: 80+8=88, Resulting Numbers: [88]
88,22 unequal: No Solution
Exploring Operation: 80/8=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[7, 79], Operations: ['97/97=1', '80-1=79']
Exploring Operation: 79-7=72, Resulting Numbers: [72]
72,22 unequal: No Solution
Exploring Operation: 7*79=553, Resulting Numbers: [553]
553,22 unequal: No Solution
Exploring Operation: 7+79=86, Resulting Numbers: [86]
86,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[80, 7, 0], Operations: ['97-97=0']
Exploring Operation: 7*0=0, Resulting Numbers: [80, 0]
Generated Node #0,1,0: 22:[80, 0] Operation: 7*0=0
Exploring Operation: 80-7=73, Resulting Numbers: [0, 73]
Generated Node #0,1,1: 22:[0, 73] Operation: 80-7=73
Exploring Operation: 80*0=0, Resulting Numbers: [7, 0]
Generated Node #0,1,2: 22:[7, 0] Operation: 80*0=0
Moving to Node #0,1,2
Current State: 22:[7, 0], Operations: ['97-97=0', '80*0=0']
Exploring Operation: 7-0=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Exploring Operation: 7*0=0, Resulting Numbers: [0]
0,22 unequal: No Solution
Exploring Operation: 7+0=7, Resulting Numbers: [7]
7,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[0, 73], Operations: ['97-97=0', '80-7=73']
Exploring Operation: 0+73=73, Resulting Numbers: [73]
73,22 unequal: No Solution
Exploring Operation: 73-0=73, Resulting Numbers: [73]
73,22 unequal: No Solution
Exploring Operation: 0*73=0, Resulting Numbers: [0]
0,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[80, 0], Operations: ['97-97=0', '7*0=0']
Exploring Operation: 80*0=0, Resulting Numbers: [0]
0,22 unequal: No Solution
Exploring Operation: 80-0=80, Resulting Numbers: [80]
80,22 unequal: No Solution
Exploring Operation: 80+0=80, Resulting Numbers: [80]
80,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[97, 7, 17], Operations: ['97-80=17']
Exploring Operation: 97-17=80, Resulting Numbers: [7, 80]
Generated Node #0,2,0: 22:[7, 80] Operation: 97-17=80
Exploring Operation: 97-7=90, Resulting Numbers: [17, 90]
Generated Node #0,2,1: 22:[17, 90] Operation: 97-7=90
Exploring Operation: 17-7=10, Resulting Numbers: [97, 10]
Generated Node #0,2,2: 22:[97, 10] Operation: 17-7=10
Moving to Node #0,2,0
Current State: 22:[7, 80], Operations: ['97-80=17', '97-17=80']
Exploring Operation: 7+80=87, Resulting Numbers: [87]
87,22 unequal: No Solution
Exploring Operation: 7*80=560, Resulting Numbers: [560]
560,22 unequal: No Solution
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[17, 90], Operations: ['97-80=17', '97-7=90']
Exploring Operation: 17*90=1530, Resulting Numbers: [1530]
1530,22 unequal: No Solution
Exploring Operation: 90-17=73, Resulting Numbers: [73]
73,22 unequal: No Solution
Exploring Operation: 17+90=107, Resulting Numbers: [107]
107,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[97, 10], Operations: ['97-80=17', '17-7=10']
Exploring Operation: 97*10=970, Resulting Numbers: [970]
970,22 unequal: No Solution
Exploring Operation: 97-10=87, Resulting Numbers: [87]
87,22 unequal: No Solution
Exploring Operation: 97+10=107, Resulting Numbers: [107]
107,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
54,
31,
50,
45
] | 30 | [
"54*45=2430",
"31+50=81",
"2430/81=30"
] | Current State: 30:[54, 31, 50, 45], Operations: []
Exploring Operation: 54*45=2430, Resulting Numbers: [31, 50, 2430]
Generated Node #2: [31, 50, 2430] from Operation: 54*45=2430
Current State: 30:[31, 50, 2430], Operations: ['54*45=2430']
Exploring Operation: 31+50=81, Resulting Numbers: [2430, 81]
Generated Node #3: [2430, 81] from Operation: 31+50=81
Current State: 30:[2430, 81], Operations: ['54*45=2430', '31+50=81']
Exploring Operation: 2430/81=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[54, 31, 50, 45], Operations: []
Exploring Operation: 54-31=23, Resulting Numbers: [50, 45, 23]
Generated Node #0,0: 30:[50, 45, 23] Operation: 54-31=23
Exploring Operation: 50-45=5, Resulting Numbers: [54, 31, 5]
Generated Node #0,1: 30:[54, 31, 5] Operation: 50-45=5
Exploring Operation: 54-45=9, Resulting Numbers: [31, 50, 9]
Generated Node #0,2: 30:[31, 50, 9] Operation: 54-45=9
Exploring Operation: 54-50=4, Resulting Numbers: [31, 45, 4]
Generated Node #0,3: 30:[31, 45, 4] Operation: 54-50=4
Moving to Node #0,3
Current State: 30:[31, 45, 4], Operations: ['54-50=4']
Exploring Operation: 31+4=35, Resulting Numbers: [45, 35]
Generated Node #0,3,0: 30:[45, 35] Operation: 31+4=35
Exploring Operation: 45-31=14, Resulting Numbers: [4, 14]
Generated Node #0,3,1: 30:[4, 14] Operation: 45-31=14
Exploring Operation: 31-4=27, Resulting Numbers: [45, 27]
Generated Node #0,3,2: 30:[45, 27] Operation: 31-4=27
Exploring Operation: 45-4=41, Resulting Numbers: [31, 41]
Generated Node #0,3,3: 30:[31, 41] Operation: 45-4=41
Moving to Node #0,2
Current State: 30:[31, 50, 9], Operations: ['54-45=9']
Exploring Operation: 50-31=19, Resulting Numbers: [9, 19]
Generated Node #0,2,0: 30:[9, 19] Operation: 50-31=19
Exploring Operation: 31-9=22, Resulting Numbers: [50, 22]
Generated Node #0,2,1: 30:[50, 22] Operation: 31-9=22
Exploring Operation: 31+9=40, Resulting Numbers: [50, 40]
Generated Node #0,2,2: 30:[50, 40] Operation: 31+9=40
Exploring Operation: 50-9=41, Resulting Numbers: [31, 41]
Generated Node #0,2,3: 30:[31, 41] Operation: 50-9=41
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 30:[9, 19], Operations: ['54-45=9', '50-31=19']
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,30 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 30:[31, 41], Operations: ['54-45=9', '50-9=41']
Exploring Operation: 31+41=72, Resulting Numbers: [72]
72,30 unequal: No Solution
Exploring Operation: 31*41=1271, Resulting Numbers: [1271]
1271,30 unequal: No Solution
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[50, 22], Operations: ['54-45=9', '31-9=22']
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,30 unequal: No Solution
Exploring Operation: 50+22=72, Resulting Numbers: [72]
72,30 unequal: No Solution
Exploring Operation: 50*22=1100, Resulting Numbers: [1100]
1100,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 30:[50, 40], Operations: ['54-45=9', '31+9=40']
Exploring Operation: 50*40=2000, Resulting Numbers: [2000]
2000,30 unequal: No Solution
Exploring Operation: 50+40=90, Resulting Numbers: [90]
90,30 unequal: No Solution
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 30:[54, 31, 5], Operations: ['50-45=5']
Exploring Operation: 54+5=59, Resulting Numbers: [31, 59]
Generated Node #0,1,0: 30:[31, 59] Operation: 54+5=59
Exploring Operation: 31-5=26, Resulting Numbers: [54, 26]
Generated Node #0,1,1: 30:[54, 26] Operation: 31-5=26
Exploring Operation: 54-5=49, Resulting Numbers: [31, 49]
Generated Node #0,1,2: 30:[31, 49] Operation: 54-5=49
Exploring Operation: 54-31=23, Resulting Numbers: [5, 23]
Generated Node #0,1,3: 30:[5, 23] Operation: 54-31=23
Moving to Node #0,0
Current State: 30:[50, 45, 23], Operations: ['54-31=23']
Exploring Operation: 50-23=27, Resulting Numbers: [45, 27]
Generated Node #0,0,0: 30:[45, 27] Operation: 50-23=27
Exploring Operation: 50+23=73, Resulting Numbers: [45, 73]
Generated Node #0,0,1: 30:[45, 73] Operation: 50+23=73
Exploring Operation: 45-23=22, Resulting Numbers: [50, 22]
Generated Node #0,0,2: 30:[50, 22] Operation: 45-23=22
Exploring Operation: 50-45=5, Resulting Numbers: [23, 5]
Generated Node #0,0,3: 30:[23, 5] Operation: 50-45=5
Moving to Node #0,3,1
Current State: 30:[4, 14], Operations: ['54-50=4', '45-31=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,30 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Moving to Node #0,1,3
Current State: 30:[5, 23], Operations: ['50-45=5', '54-31=23']
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,30 unequal: No Solution
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,30 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Moving to Node #0,0,3
Current State: 30:[23, 5], Operations: ['54-31=23', '50-45=5']
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,30 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,30 unequal: No Solution
Moving to Node #0,3,3
Current State: 30:[31, 41], Operations: ['54-50=4', '45-4=41']
Exploring Operation: 31*41=1271, Resulting Numbers: [1271]
1271,30 unequal: No Solution
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 31+41=72, Resulting Numbers: [72]
72,30 unequal: No Solution
Moving to Node #0,3,2
Current State: 30:[45, 27], Operations: ['54-50=4', '31-4=27']
Exploring Operation: 45+27=72, Resulting Numbers: [72]
72,30 unequal: No Solution
Exploring Operation: 45*27=1215, Resulting Numbers: [1215]
1215,30 unequal: No Solution
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[45, 27], Operations: ['54-31=23', '50-23=27']
Exploring Operation: 45+27=72, Resulting Numbers: [72]
72,30 unequal: No Solution
Exploring Operation: 45*27=1215, Resulting Numbers: [1215]
1215,30 unequal: No Solution
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Moving to Node #0,1,2
Current State: 30:[31, 49], Operations: ['50-45=5', '54-5=49']
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,30 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Exploring Operation: 31*49=1519, Resulting Numbers: [1519]
1519,30 unequal: No Solution
Moving to Node #0,3,0
Current State: 30:[45, 35], Operations: ['54-50=4', '31+4=35']
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 45+35=80, Resulting Numbers: [80]
80,30 unequal: No Solution
Exploring Operation: 45*35=1575, Resulting Numbers: [1575]
1575,30 unequal: No Solution
Moving to Node #0,0,2
Current State: 30:[50, 22], Operations: ['54-31=23', '45-23=22']
Exploring Operation: 50*22=1100, Resulting Numbers: [1100]
1100,30 unequal: No Solution
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,30 unequal: No Solution
Exploring Operation: 50+22=72, Resulting Numbers: [72]
72,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[54, 26], Operations: ['50-45=5', '31-5=26']
Exploring Operation: 54*26=1404, Resulting Numbers: [1404]
1404,30 unequal: No Solution
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,30 unequal: No Solution
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[31, 59], Operations: ['50-45=5', '54+5=59']
Exploring Operation: 31+59=90, Resulting Numbers: [90]
90,30 unequal: No Solution
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,30 unequal: No Solution
Exploring Operation: 31*59=1829, Resulting Numbers: [1829]
1829,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[45, 73], Operations: ['54-31=23', '50+23=73']
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,30 unequal: No Solution
Exploring Operation: 45*73=3285, Resulting Numbers: [3285]
3285,30 unequal: No Solution
Exploring Operation: 45+73=118, Resulting Numbers: [118]
118,30 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
16,
41,
47,
99
] | 89 | [
"16+41=57",
"47+99=146",
"146-57=89"
] | Current State: 89:[16, 41, 47, 99], Operations: []
Exploring Operation: 16+41=57, Resulting Numbers: [47, 99, 57]
Generated Node #2: [47, 99, 57] from Operation: 16+41=57
Current State: 89:[47, 99, 57], Operations: ['16+41=57']
Exploring Operation: 47+99=146, Resulting Numbers: [57, 146]
Generated Node #3: [57, 146] from Operation: 47+99=146
Current State: 89:[57, 146], Operations: ['16+41=57', '47+99=146']
Exploring Operation: 146-57=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[16, 41, 47, 99], Operations: []
Exploring Operation: 16+41=57, Resulting Numbers: [47, 99, 57]
Generated Node #0,0: 89:[47, 99, 57] Operation: 16+41=57
Exploring Operation: 16+47=63, Resulting Numbers: [41, 99, 63]
Generated Node #0,1: 89:[41, 99, 63] Operation: 16+47=63
Exploring Operation: 41+47=88, Resulting Numbers: [16, 99, 88]
Generated Node #0,2: 89:[16, 99, 88] Operation: 41+47=88
Exploring Operation: 99-16=83, Resulting Numbers: [41, 47, 83]
Generated Node #0,3: 89:[41, 47, 83] Operation: 99-16=83
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[47, 99, 57], Operations: ['16+41=57']
Exploring Operation: 99-47=52, Resulting Numbers: [57, 52]
Generated Node #0,0,0: 89:[57, 52] Operation: 99-47=52
Exploring Operation: 47+99=146, Resulting Numbers: [57, 146]
Generated Node #0,0,1: 89:[57, 146] Operation: 47+99=146
Exploring Operation: 47+57=104, Resulting Numbers: [99, 104]
Generated Node #0,0,2: 89:[99, 104] Operation: 47+57=104
Exploring Operation: 57-47=10, Resulting Numbers: [99, 10]
Generated Node #0,0,3: 89:[99, 10] Operation: 57-47=10
Moving to Node #0,0,2
Current State: 89:[99, 104], Operations: ['16+41=57', '47+57=104']
Exploring Operation: 99*104=10296, Resulting Numbers: [10296]
10296,89 unequal: No Solution
Exploring Operation: 99+104=203, Resulting Numbers: [203]
203,89 unequal: No Solution
Exploring Operation: 104-99=5, Resulting Numbers: [5]
5,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[57, 52], Operations: ['16+41=57', '99-47=52']
Exploring Operation: 57*52=2964, Resulting Numbers: [2964]
2964,89 unequal: No Solution
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,89 unequal: No Solution
Exploring Operation: 57+52=109, Resulting Numbers: [109]
109,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[99, 10], Operations: ['16+41=57', '57-47=10']
Exploring Operation: 99+10=109, Resulting Numbers: [109]
109,89 unequal: No Solution
Exploring Operation: 99-10=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[16, 41, 47, 99], Operations: []
Exploring Operation: 16+41=57, Resulting Numbers: [47, 99, 57]
Generated Node #0,0: 89:[47, 99, 57] Operation: 16+41=57
Moving to Node #0,0
Current State: 89:[47, 99, 57], Operations: ['16+41=57']
Exploring Operation: 57-47=10, Resulting Numbers: [99, 10]
Generated Node #0,0,3: 89:[99, 10] Operation: 57-47=10
Moving to Node #0,0,3
Current State: 89:[99, 10], Operations: ['16+41=57', '57-47=10']
Exploring Operation: 99-10=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
97,
76,
3,
66
] | 67 | [
"76-66=10",
"3*10=30",
"97-30=67"
] | Current State: 67:[97, 76, 3, 66], Operations: []
Exploring Operation: 76-66=10, Resulting Numbers: [97, 3, 10]
Generated Node #2: [97, 3, 10] from Operation: 76-66=10
Current State: 67:[97, 3, 10], Operations: ['76-66=10']
Exploring Operation: 3*10=30, Resulting Numbers: [97, 30]
Generated Node #3: [97, 30] from Operation: 3*10=30
Current State: 67:[97, 30], Operations: ['76-66=10', '3*10=30']
Exploring Operation: 97-30=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[97, 76, 3, 66], Operations: []
Exploring Operation: 97-3=94, Resulting Numbers: [76, 66, 94]
Generated Node #0,0: 67:[76, 66, 94] Operation: 97-3=94
Moving to Node #0,0
Current State: 67:[76, 66, 94], Operations: ['97-3=94']
Exploring Operation: 94-66=28, Resulting Numbers: [76, 28]
Generated Node #0,0,0: 67:[76, 28] Operation: 94-66=28
Moving to Node #0,0,0
Current State: 67:[76, 28], Operations: ['97-3=94', '94-66=28']
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,67 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
3,
13,
83,
98
] | 32 | [
"98-83=15",
"3*15=45",
"45-13=32"
] | Current State: 32:[3, 13, 83, 98], Operations: []
Exploring Operation: 98-83=15, Resulting Numbers: [3, 13, 15]
Generated Node #2: [3, 13, 15] from Operation: 98-83=15
Current State: 32:[3, 13, 15], Operations: ['98-83=15']
Exploring Operation: 3*15=45, Resulting Numbers: [13, 45]
Generated Node #3: [13, 45] from Operation: 3*15=45
Current State: 32:[13, 45], Operations: ['98-83=15', '3*15=45']
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[3, 13, 83, 98], Operations: []
Exploring Operation: 83-3=80, Resulting Numbers: [13, 98, 80]
Generated Node #0,0: 32:[13, 98, 80] Operation: 83-3=80
Exploring Operation: 3+13=16, Resulting Numbers: [83, 98, 16]
Generated Node #0,1: 32:[83, 98, 16] Operation: 3+13=16
Exploring Operation: 83-13=70, Resulting Numbers: [3, 98, 70]
Generated Node #0,2: 32:[3, 98, 70] Operation: 83-13=70
Exploring Operation: 98-83=15, Resulting Numbers: [3, 13, 15]
Generated Node #0,3: 32:[3, 13, 15] Operation: 98-83=15
Exploring Operation: 98-13=85, Resulting Numbers: [3, 83, 85]
Generated Node #0,4: 32:[3, 83, 85] Operation: 98-13=85
Moving to Node #0,3
Current State: 32:[3, 13, 15], Operations: ['98-83=15']
Exploring Operation: 15/3=5, Resulting Numbers: [13, 5]
Generated Node #0,3,0: 32:[13, 5] Operation: 15/3=5
Exploring Operation: 15-13=2, Resulting Numbers: [3, 2]
Generated Node #0,3,1: 32:[3, 2] Operation: 15-13=2
Exploring Operation: 3+15=18, Resulting Numbers: [13, 18]
Generated Node #0,3,2: 32:[13, 18] Operation: 3+15=18
Exploring Operation: 3+13=16, Resulting Numbers: [15, 16]
Generated Node #0,3,3: 32:[15, 16] Operation: 3+13=16
Exploring Operation: 13-3=10, Resulting Numbers: [15, 10]
Generated Node #0,3,4: 32:[15, 10] Operation: 13-3=10
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 32:[3, 2], Operations: ['98-83=15', '15-13=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,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,3,3
Current State: 32:[15, 16], Operations: ['98-83=15', '3+13=16']
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,32 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,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,3,4
Current State: 32:[15, 10], Operations: ['98-83=15', '13-3=10']
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,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,3,0
Current State: 32:[13, 5], Operations: ['98-83=15', '15/3=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,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,3,2
Current State: 32:[13, 18], Operations: ['98-83=15', '3+15=18']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,32 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 32:[3, 83, 85], Operations: ['98-13=85']
Exploring Operation: 85-83=2, Resulting Numbers: [3, 2]
Generated Node #0,4,0: 32:[3, 2] Operation: 85-83=2
Exploring Operation: 83-3=80, Resulting Numbers: [85, 80]
Generated Node #0,4,1: 32:[85, 80] Operation: 83-3=80
Exploring Operation: 3+83=86, Resulting Numbers: [85, 86]
Generated Node #0,4,2: 32:[85, 86] Operation: 3+83=86
Exploring Operation: 85-3=82, Resulting Numbers: [83, 82]
Generated Node #0,4,3: 32:[83, 82] Operation: 85-3=82
Exploring Operation: 3+85=88, Resulting Numbers: [83, 88]
Generated Node #0,4,4: 32:[83, 88] Operation: 3+85=88
Moving to Node #0,2
Current State: 32:[3, 98, 70], Operations: ['83-13=70']
Exploring Operation: 70-3=67, Resulting Numbers: [98, 67]
Generated Node #0,2,0: 32:[98, 67] Operation: 70-3=67
Exploring Operation: 3+70=73, Resulting Numbers: [98, 73]
Generated Node #0,2,1: 32:[98, 73] Operation: 3+70=73
Exploring Operation: 98-3=95, Resulting Numbers: [70, 95]
Generated Node #0,2,2: 32:[70, 95] Operation: 98-3=95
Exploring Operation: 98-70=28, Resulting Numbers: [3, 28]
Generated Node #0,2,3: 32:[3, 28] Operation: 98-70=28
Exploring Operation: 3+98=101, Resulting Numbers: [70, 101]
Generated Node #0,2,4: 32:[70, 101] Operation: 3+98=101
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 32:[3, 28], Operations: ['83-13=70', '98-70=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,32 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 32:[98, 67], Operations: ['83-13=70', '70-3=67']
Exploring Operation: 98*67=6566, Resulting Numbers: [6566]
6566,32 unequal: No Solution
Exploring Operation: 98-67=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 98+67=165, Resulting Numbers: [165]
165,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 32:[70, 95], Operations: ['83-13=70', '98-3=95']
Exploring Operation: 70+95=165, Resulting Numbers: [165]
165,32 unequal: No Solution
Exploring Operation: 70*95=6650, Resulting Numbers: [6650]
6650,32 unequal: No Solution
Exploring Operation: 95-70=25, Resulting Numbers: [25]
25,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 32:[98, 73], Operations: ['83-13=70', '3+70=73']
Exploring Operation: 98*73=7154, Resulting Numbers: [7154]
7154,32 unequal: No Solution
Exploring Operation: 98+73=171, Resulting Numbers: [171]
171,32 unequal: No Solution
Exploring Operation: 98-73=25, Resulting Numbers: [25]
25,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 32:[70, 101], Operations: ['83-13=70', '3+98=101']
Exploring Operation: 101-70=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 70*101=7070, Resulting Numbers: [7070]
7070,32 unequal: No Solution
Exploring Operation: 70+101=171, Resulting Numbers: [171]
171,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:[13, 98, 80], Operations: ['83-3=80']
Exploring Operation: 13+98=111, Resulting Numbers: [80, 111]
Generated Node #0,0,0: 32:[80, 111] Operation: 13+98=111
Exploring Operation: 80-13=67, Resulting Numbers: [98, 67]
Generated Node #0,0,1: 32:[98, 67] Operation: 80-13=67
Exploring Operation: 98-13=85, Resulting Numbers: [80, 85]
Generated Node #0,0,2: 32:[80, 85] Operation: 98-13=85
Exploring Operation: 13+80=93, Resulting Numbers: [98, 93]
Generated Node #0,0,3: 32:[98, 93] Operation: 13+80=93
Exploring Operation: 98-80=18, Resulting Numbers: [13, 18]
Generated Node #0,0,4: 32:[13, 18] Operation: 98-80=18
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 32:[13, 18], Operations: ['83-3=80', '98-80=18']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,32 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,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:[98, 67], Operations: ['83-3=80', '80-13=67']
Exploring Operation: 98+67=165, Resulting Numbers: [165]
165,32 unequal: No Solution
Exploring Operation: 98-67=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 98*67=6566, Resulting Numbers: [6566]
6566,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,2
Current State: 32:[80, 85], Operations: ['83-3=80', '98-13=85']
Exploring Operation: 80*85=6800, Resulting Numbers: [6800]
6800,32 unequal: No Solution
Exploring Operation: 85-80=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 80+85=165, Resulting Numbers: [165]
165,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:[80, 111], Operations: ['83-3=80', '13+98=111']
Exploring Operation: 80*111=8880, Resulting Numbers: [8880]
8880,32 unequal: No Solution
Exploring Operation: 111-80=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 80+111=191, Resulting Numbers: [191]
191,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:[98, 93], Operations: ['83-3=80', '13+80=93']
Exploring Operation: 98+93=191, Resulting Numbers: [191]
191,32 unequal: No Solution
Exploring Operation: 98-93=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 98*93=9114, Resulting Numbers: [9114]
9114,32 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: 32:[83, 98, 16], Operations: ['3+13=16']
Exploring Operation: 83+16=99, Resulting Numbers: [98, 99]
Generated Node #0,1,0: 32:[98, 99] Operation: 83+16=99
Exploring Operation: 98+16=114, Resulting Numbers: [83, 114]
Generated Node #0,1,1: 32:[83, 114] Operation: 98+16=114
Exploring Operation: 83-16=67, Resulting Numbers: [98, 67]
Generated Node #0,1,2: 32:[98, 67] Operation: 83-16=67
Exploring Operation: 98-83=15, Resulting Numbers: [16, 15]
Generated Node #0,1,3: 32:[16, 15] Operation: 98-83=15
Exploring Operation: 98-16=82, Resulting Numbers: [83, 82]
Generated Node #0,1,4: 32:[83, 82] Operation: 98-16=82
Moving to Node #0,4,0
Current State: 32:[3, 2], Operations: ['98-13=85', '85-83=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Moving to Node #0,1,3
Current State: 32:[16, 15], Operations: ['3+13=16', '98-83=15']
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,32 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[98, 67], Operations: ['3+13=16', '83-16=67']
Exploring Operation: 98-67=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 98*67=6566, Resulting Numbers: [6566]
6566,32 unequal: No Solution
Exploring Operation: 98+67=165, Resulting Numbers: [165]
165,32 unequal: No Solution
Moving to Node #0,4,3
Current State: 32:[83, 82], Operations: ['98-13=85', '85-3=82']
Exploring Operation: 83+82=165, Resulting Numbers: [165]
165,32 unequal: No Solution
Exploring Operation: 83*82=6806, Resulting Numbers: [6806]
6806,32 unequal: No Solution
Exploring Operation: 83-82=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Moving to Node #0,4,1
Current State: 32:[85, 80], Operations: ['98-13=85', '83-3=80']
Exploring Operation: 85-80=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 85+80=165, Resulting Numbers: [165]
165,32 unequal: No Solution
Exploring Operation: 85*80=6800, Resulting Numbers: [6800]
6800,32 unequal: No Solution
Moving to Node #0,1,4
Current State: 32:[83, 82], Operations: ['3+13=16', '98-16=82']
Exploring Operation: 83-82=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Exploring Operation: 83*82=6806, Resulting Numbers: [6806]
6806,32 unequal: No Solution
Exploring Operation: 83+82=165, Resulting Numbers: [165]
165,32 unequal: No Solution
Moving to Node #0,4,2
Current State: 32:[85, 86], Operations: ['98-13=85', '3+83=86']
Exploring Operation: 86-85=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Exploring Operation: 85+86=171, Resulting Numbers: [171]
171,32 unequal: No Solution
Exploring Operation: 85*86=7310, Resulting Numbers: [7310]
7310,32 unequal: No Solution
Moving to Node #0,4,4
Current State: 32:[83, 88], Operations: ['98-13=85', '3+85=88']
Exploring Operation: 83*88=7304, Resulting Numbers: [7304]
7304,32 unequal: No Solution
Exploring Operation: 83+88=171, Resulting Numbers: [171]
171,32 unequal: No Solution
Exploring Operation: 88-83=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[83, 114], Operations: ['3+13=16', '98+16=114']
Exploring Operation: 83*114=9462, Resulting Numbers: [9462]
9462,32 unequal: No Solution
Exploring Operation: 114-83=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 83+114=197, Resulting Numbers: [197]
197,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[98, 99], Operations: ['3+13=16', '83+16=99']
Exploring Operation: 98+99=197, Resulting Numbers: [197]
197,32 unequal: No Solution
Exploring Operation: 98*99=9702, Resulting Numbers: [9702]
9702,32 unequal: No Solution
Exploring Operation: 99-98=1, Resulting Numbers: [1]
1,32 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
75,
56,
34,
38
] | 68 | [
"75-56=19",
"34*38=1292",
"1292/19=68"
] | Current State: 68:[75, 56, 34, 38], Operations: []
Exploring Operation: 75-56=19, Resulting Numbers: [34, 38, 19]
Generated Node #2: [34, 38, 19] from Operation: 75-56=19
Current State: 68:[34, 38, 19], Operations: ['75-56=19']
Exploring Operation: 34*38=1292, Resulting Numbers: [19, 1292]
Generated Node #3: [19, 1292] from Operation: 34*38=1292
Current State: 68:[19, 1292], Operations: ['75-56=19', '34*38=1292']
Exploring Operation: 1292/19=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[75, 56, 34, 38], Operations: []
Exploring Operation: 56-38=18, Resulting Numbers: [75, 34, 18]
Generated Node #0,0: 68:[75, 34, 18] Operation: 56-38=18
Exploring Operation: 75-56=19, Resulting Numbers: [34, 38, 19]
Generated Node #0,1: 68:[34, 38, 19] Operation: 75-56=19
Exploring Operation: 75-38=37, Resulting Numbers: [56, 34, 37]
Generated Node #0,2: 68:[56, 34, 37] Operation: 75-38=37
Exploring Operation: 56-34=22, Resulting Numbers: [75, 38, 22]
Generated Node #0,3: 68:[75, 38, 22] Operation: 56-34=22
Moving to Node #0,1
Current State: 68:[34, 38, 19], Operations: ['75-56=19']
Exploring Operation: 38-34=4, Resulting Numbers: [19, 4]
Generated Node #0,1,0: 68:[19, 4] Operation: 38-34=4
Exploring Operation: 34+38=72, Resulting Numbers: [19, 72]
Generated Node #0,1,1: 68:[19, 72] Operation: 34+38=72
Exploring Operation: 38-19=19, Resulting Numbers: [34, 19]
Generated Node #0,1,2: 68:[34, 19] Operation: 38-19=19
Exploring Operation: 38/19=2, Resulting Numbers: [34, 2]
Generated Node #0,1,3: 68:[34, 2] Operation: 38/19=2
Moving to Node #0,0
Current State: 68:[75, 34, 18], Operations: ['56-38=18']
Exploring Operation: 34-18=16, Resulting Numbers: [75, 16]
Generated Node #0,0,0: 68:[75, 16] Operation: 34-18=16
Exploring Operation: 75-34=41, Resulting Numbers: [18, 41]
Generated Node #0,0,1: 68:[18, 41] Operation: 75-34=41
Exploring Operation: 34+18=52, Resulting Numbers: [75, 52]
Generated Node #0,0,2: 68:[75, 52] Operation: 34+18=52
Exploring Operation: 75-18=57, Resulting Numbers: [34, 57]
Generated Node #0,0,3: 68:[34, 57] Operation: 75-18=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[75, 16], Operations: ['56-38=18', '34-18=16']
Exploring Operation: 75*16=1200, Resulting Numbers: [1200]
1200,68 unequal: No Solution
Exploring Operation: 75+16=91, Resulting Numbers: [91]
91,68 unequal: No Solution
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[18, 41], Operations: ['56-38=18', '75-34=41']
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 18+41=59, Resulting Numbers: [59]
59,68 unequal: No Solution
Exploring Operation: 18*41=738, Resulting Numbers: [738]
738,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 68:[34, 57], Operations: ['56-38=18', '75-18=57']
Exploring Operation: 57-34=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 34+57=91, Resulting Numbers: [91]
91,68 unequal: No Solution
Exploring Operation: 34*57=1938, Resulting Numbers: [1938]
1938,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 68:[75, 52], Operations: ['56-38=18', '34+18=52']
Exploring Operation: 75+52=127, Resulting Numbers: [127]
127,68 unequal: No Solution
Exploring Operation: 75-52=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 75*52=3900, Resulting Numbers: [3900]
3900,68 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: 68:[56, 34, 37], Operations: ['75-38=37']
Exploring Operation: 56-34=22, Resulting Numbers: [37, 22]
Generated Node #0,2,0: 68:[37, 22] Operation: 56-34=22
Exploring Operation: 37-34=3, Resulting Numbers: [56, 3]
Generated Node #0,2,1: 68:[56, 3] Operation: 37-34=3
Exploring Operation: 56-37=19, Resulting Numbers: [34, 19]
Generated Node #0,2,2: 68:[34, 19] Operation: 56-37=19
Exploring Operation: 34+37=71, Resulting Numbers: [56, 71]
Generated Node #0,2,3: 68:[56, 71] Operation: 34+37=71
Moving to Node #0,3
Current State: 68:[75, 38, 22], Operations: ['56-34=22']
Exploring Operation: 75-38=37, Resulting Numbers: [22, 37]
Generated Node #0,3,0: 68:[22, 37] Operation: 75-38=37
Exploring Operation: 38+22=60, Resulting Numbers: [75, 60]
Generated Node #0,3,1: 68:[75, 60] Operation: 38+22=60
Exploring Operation: 75-22=53, Resulting Numbers: [38, 53]
Generated Node #0,3,2: 68:[38, 53] Operation: 75-22=53
Exploring Operation: 38-22=16, Resulting Numbers: [75, 16]
Generated Node #0,3,3: 68:[75, 16] Operation: 38-22=16
Moving to Node #0,1,3
Current State: 68:[34, 2], Operations: ['75-56=19', '38/19=2']
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[75, 56, 34, 38], Operations: []
Exploring Operation: 75-56=19, Resulting Numbers: [34, 38, 19]
Generated Node #0,1: 68:[34, 38, 19] Operation: 75-56=19
Moving to Node #0,1
Current State: 68:[34, 38, 19], Operations: ['75-56=19']
Exploring Operation: 38/19=2, Resulting Numbers: [34, 2]
Generated Node #0,1,3: 68:[34, 2] Operation: 38/19=2
Moving to Node #0,1,3
Current State: 68:[34, 2], Operations: ['75-56=19', '38/19=2']
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.967014 | hs_4 | mult_heuristic |
[
43,
82,
56,
25
] | 43 | [
"82-56=26",
"26-25=1",
"43*1=43"
] | Current State: 43:[43, 82, 56, 25], Operations: []
Exploring Operation: 82-56=26, Resulting Numbers: [43, 25, 26]
Generated Node #2: [43, 25, 26] from Operation: 82-56=26
Current State: 43:[43, 25, 26], Operations: ['82-56=26']
Exploring Operation: 26-25=1, Resulting Numbers: [43, 1]
Generated Node #3: [43, 1] from Operation: 26-25=1
Current State: 43:[43, 1], Operations: ['82-56=26', '26-25=1']
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[43, 82, 56, 25], Operations: []
Exploring Operation: 82-43=39, Resulting Numbers: [56, 25, 39]
Generated Node #0,0: 43:[56, 25, 39] Operation: 82-43=39
Exploring Operation: 82-25=57, Resulting Numbers: [43, 56, 57]
Generated Node #0,1: 43:[43, 56, 57] Operation: 82-25=57
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[43, 56, 57], Operations: ['82-25=57']
Exploring Operation: 57-43=14, Resulting Numbers: [56, 14]
Generated Node #0,1,0: 43:[56, 14] Operation: 57-43=14
Exploring Operation: 57-56=1, Resulting Numbers: [43, 1]
Generated Node #0,1,1: 43:[43, 1] Operation: 57-56=1
Moving to Node #0,1,0
Current State: 43:[56, 14], Operations: ['82-25=57', '57-43=14']
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Exploring Operation: 56+14=70, Resulting Numbers: [70]
70,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[43, 1], Operations: ['82-25=57', '57-56=1']
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[43, 82, 56, 25], Operations: []
Exploring Operation: 82-25=57, Resulting Numbers: [43, 56, 57]
Generated Node #0,1: 43:[43, 56, 57] Operation: 82-25=57
Moving to Node #0,1
Current State: 43:[43, 56, 57], Operations: ['82-25=57']
Exploring Operation: 57-56=1, Resulting Numbers: [43, 1]
Generated Node #0,1,1: 43:[43, 1] Operation: 57-56=1
Moving to Node #0,1,1
Current State: 43:[43, 1], Operations: ['82-25=57', '57-56=1']
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
63,
61,
35,
15
] | 88 | [
"63*15=945",
"945/35=27",
"61+27=88"
] | Current State: 88:[63, 61, 35, 15], Operations: []
Exploring Operation: 63*15=945, Resulting Numbers: [61, 35, 945]
Generated Node #2: [61, 35, 945] from Operation: 63*15=945
Current State: 88:[61, 35, 945], Operations: ['63*15=945']
Exploring Operation: 945/35=27, Resulting Numbers: [61, 27]
Generated Node #3: [61, 27] from Operation: 945/35=27
Current State: 88:[61, 27], Operations: ['63*15=945', '945/35=27']
Exploring Operation: 61+27=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[63, 61, 35, 15], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [35, 15, 2]
Generated Node #0,0: 88:[35, 15, 2] Operation: 63-61=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[35, 15, 2], Operations: ['63-61=2']
Exploring Operation: 35-15=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 88:[2, 20] Operation: 35-15=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[2, 20], Operations: ['63-61=2', '35-15=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
19,
14,
17,
33
] | 90 | [
"17-14=3",
"19*3=57",
"33+57=90"
] | Current State: 90:[19, 14, 17, 33], Operations: []
Exploring Operation: 17-14=3, Resulting Numbers: [19, 33, 3]
Generated Node #2: [19, 33, 3] from Operation: 17-14=3
Current State: 90:[19, 33, 3], Operations: ['17-14=3']
Exploring Operation: 19*3=57, Resulting Numbers: [33, 57]
Generated Node #3: [33, 57] from Operation: 19*3=57
Current State: 90:[33, 57], Operations: ['17-14=3', '19*3=57']
Exploring Operation: 33+57=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[19, 14, 17, 33], Operations: []
Exploring Operation: 33-17=16, Resulting Numbers: [19, 14, 16]
Generated Node #0,0: 90:[19, 14, 16] Operation: 33-17=16
Exploring Operation: 33-14=19, Resulting Numbers: [19, 17, 19]
Generated Node #0,1: 90:[19, 17, 19] Operation: 33-14=19
Exploring Operation: 33-19=14, Resulting Numbers: [14, 17, 14]
Generated Node #0,2: 90:[14, 17, 14] Operation: 33-19=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[19, 14, 16], Operations: ['33-17=16']
Exploring Operation: 19-16=3, Resulting Numbers: [14, 3]
Generated Node #0,0,0: 90:[14, 3] Operation: 19-16=3
Exploring Operation: 19-14=5, Resulting Numbers: [16, 5]
Generated Node #0,0,1: 90:[16, 5] Operation: 19-14=5
Exploring Operation: 14+16=30, Resulting Numbers: [19, 30]
Generated Node #0,0,2: 90:[19, 30] Operation: 14+16=30
Moving to Node #0,0,0
Current State: 90:[14, 3], Operations: ['33-17=16', '19-16=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,90 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[16, 5], Operations: ['33-17=16', '19-14=5']
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,90 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[19, 30], Operations: ['33-17=16', '14+16=30']
Exploring Operation: 19*30=570, Resulting Numbers: [570]
570,90 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 19+30=49, Resulting Numbers: [49]
49,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,1
Current State: 90:[19, 17, 19], Operations: ['33-14=19']
Exploring Operation: 19/19=1, Resulting Numbers: [17, 1]
Generated Node #0,1,0: 90:[17, 1] Operation: 19/19=1
Exploring Operation: 19-17=2, Resulting Numbers: [19, 2]
Generated Node #0,1,1: 90:[19, 2] Operation: 19-17=2
Exploring Operation: 19-17=2, Resulting Numbers: [19, 2]
Generated Node #0,1,2: 90:[19, 2] Operation: 19-17=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 90:[19, 2], Operations: ['33-14=19', '19-17=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 90:[19, 2], Operations: ['33-14=19', '19-17=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[17, 1], Operations: ['33-14=19', '19/19=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,90 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,90 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,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:[14, 17, 14], Operations: ['33-19=14']
Exploring Operation: 14+17=31, Resulting Numbers: [14, 31]
Generated Node #0,2,0: 90:[14, 31] Operation: 14+17=31
Exploring Operation: 17-14=3, Resulting Numbers: [14, 3]
Generated Node #0,2,1: 90:[14, 3] Operation: 17-14=3
Exploring Operation: 17-14=3, Resulting Numbers: [14, 3]
Generated Node #0,2,2: 90:[14, 3] Operation: 17-14=3
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 90:[14, 3], Operations: ['33-19=14', '17-14=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,90 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,90 unequal: No Solution
Exploring Operation: 14-3=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,2,2
Current State: 90:[14, 3], Operations: ['33-19=14', '17-14=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,90 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 90:[14, 31], Operations: ['33-19=14', '14+17=31']
Exploring Operation: 14+31=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 14*31=434, Resulting Numbers: [434]
434,90 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
44,
65,
92,
61
] | 84 | [
"65-61=4",
"44*4=176",
"176-92=84"
] | Current State: 84:[44, 65, 92, 61], Operations: []
Exploring Operation: 65-61=4, Resulting Numbers: [44, 92, 4]
Generated Node #2: [44, 92, 4] from Operation: 65-61=4
Current State: 84:[44, 92, 4], Operations: ['65-61=4']
Exploring Operation: 44*4=176, Resulting Numbers: [92, 176]
Generated Node #3: [92, 176] from Operation: 44*4=176
Current State: 84:[92, 176], Operations: ['65-61=4', '44*4=176']
Exploring Operation: 176-92=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[44, 65, 92, 61], Operations: []
Exploring Operation: 92-65=27, Resulting Numbers: [44, 61, 27]
Generated Node #0,0: 84:[44, 61, 27] Operation: 92-65=27
Exploring Operation: 92-61=31, Resulting Numbers: [44, 65, 31]
Generated Node #0,1: 84:[44, 65, 31] Operation: 92-61=31
Exploring Operation: 65-61=4, Resulting Numbers: [44, 92, 4]
Generated Node #0,2: 84:[44, 92, 4] Operation: 65-61=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[44, 92, 4], Operations: ['65-61=4']
Exploring Operation: 92-44=48, Resulting Numbers: [4, 48]
Generated Node #0,2,0: 84:[4, 48] Operation: 92-44=48
Exploring Operation: 92/4=23, Resulting Numbers: [44, 23]
Generated Node #0,2,1: 84:[44, 23] Operation: 92/4=23
Exploring Operation: 92-4=88, Resulting Numbers: [44, 88]
Generated Node #0,2,2: 84:[44, 88] Operation: 92-4=88
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 84:[44, 23], Operations: ['65-61=4', '92/4=23']
Exploring Operation: 44+23=67, Resulting Numbers: [67]
67,84 unequal: No Solution
Exploring Operation: 44*23=1012, Resulting Numbers: [1012]
1012,84 unequal: No Solution
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,84 unequal: No Solution
No 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: 84:[4, 48], Operations: ['65-61=4', '92-44=48']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,84 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,84 unequal: No Solution
No 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: 84:[44, 88], Operations: ['65-61=4', '92-4=88']
Exploring Operation: 88/44=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 44+88=132, Resulting Numbers: [132]
132,84 unequal: No Solution
Exploring Operation: 88-44=44, Resulting Numbers: [44]
44,84 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: 84:[44, 61, 27], Operations: ['92-65=27']
Exploring Operation: 61-27=34, Resulting Numbers: [44, 34]
Generated Node #0,0,0: 84:[44, 34] Operation: 61-27=34
Exploring Operation: 61+27=88, Resulting Numbers: [44, 88]
Generated Node #0,0,1: 84:[44, 88] Operation: 61+27=88
Exploring Operation: 61-44=17, Resulting Numbers: [27, 17]
Generated Node #0,0,2: 84:[27, 17] Operation: 61-44=17
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 84:[27, 17], Operations: ['92-65=27', '61-44=17']
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,84 unequal: No Solution
No 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: 84:[44, 88], Operations: ['92-65=27', '61+27=88']
Exploring Operation: 88/44=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 44+88=132, Resulting Numbers: [132]
132,84 unequal: No Solution
Exploring Operation: 88-44=44, Resulting Numbers: [44]
44,84 unequal: No Solution
No 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: 84:[44, 34], Operations: ['92-65=27', '61-27=34']
Exploring Operation: 44+34=78, Resulting Numbers: [78]
78,84 unequal: No Solution
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Exploring Operation: 44*34=1496, Resulting Numbers: [1496]
1496,84 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: 84:[44, 65, 31], Operations: ['92-61=31']
Exploring Operation: 65-44=21, Resulting Numbers: [31, 21]
Generated Node #0,1,0: 84:[31, 21] Operation: 65-44=21
Exploring Operation: 65-31=34, Resulting Numbers: [44, 34]
Generated Node #0,1,1: 84:[44, 34] Operation: 65-31=34
Exploring Operation: 65+31=96, Resulting Numbers: [44, 96]
Generated Node #0,1,2: 84:[44, 96] Operation: 65+31=96
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 84:[31, 21], Operations: ['92-61=31', '65-44=21']
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Exploring Operation: 31+21=52, Resulting Numbers: [52]
52,84 unequal: No Solution
Exploring Operation: 31*21=651, Resulting Numbers: [651]
651,84 unequal: No Solution
No 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: 84:[44, 34], Operations: ['92-61=31', '65-31=34']
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Exploring Operation: 44*34=1496, Resulting Numbers: [1496]
1496,84 unequal: No Solution
Exploring Operation: 44+34=78, Resulting Numbers: [78]
78,84 unequal: No Solution
No 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: 84:[44, 96], Operations: ['92-61=31', '65+31=96']
Exploring Operation: 96-44=52, Resulting Numbers: [52]
52,84 unequal: No Solution
Exploring Operation: 44+96=140, Resulting Numbers: [140]
140,84 unequal: No Solution
Exploring Operation: 44*96=4224, Resulting Numbers: [4224]
4224,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
29,
72,
8,
99
] | 10 | [
"29+72=101",
"99-8=91",
"101-91=10"
] | Current State: 10:[29, 72, 8, 99], Operations: []
Exploring Operation: 29+72=101, Resulting Numbers: [8, 99, 101]
Generated Node #2: [8, 99, 101] from Operation: 29+72=101
Current State: 10:[8, 99, 101], Operations: ['29+72=101']
Exploring Operation: 99-8=91, Resulting Numbers: [101, 91]
Generated Node #3: [101, 91] from Operation: 99-8=91
Current State: 10:[101, 91], Operations: ['29+72=101', '99-8=91']
Exploring Operation: 101-91=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[29, 72, 8, 99], Operations: []
Exploring Operation: 99-72=27, Resulting Numbers: [29, 8, 27]
Generated Node #0,0: 10:[29, 8, 27] Operation: 99-72=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[29, 8, 27], Operations: ['99-72=27']
Exploring Operation: 29-27=2, Resulting Numbers: [8, 2]
Generated Node #0,0,0: 10:[8, 2] Operation: 29-27=2
Moving to Node #0,0,0
Current State: 10:[8, 2], Operations: ['99-72=27', '29-27=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[29, 72, 8, 99], Operations: []
Exploring Operation: 99-72=27, Resulting Numbers: [29, 8, 27]
Generated Node #0,0: 10:[29, 8, 27] Operation: 99-72=27
Moving to Node #0,0
Current State: 10:[29, 8, 27], Operations: ['99-72=27']
Exploring Operation: 29-27=2, Resulting Numbers: [8, 2]
Generated Node #0,0,0: 10:[8, 2] Operation: 29-27=2
Moving to Node #0,0,0
Current State: 10:[8, 2], Operations: ['99-72=27', '29-27=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
38,
87,
54,
40
] | 93 | [
"87*40=3480",
"54+3480=3534",
"3534/38=93"
] | Current State: 93:[38, 87, 54, 40], Operations: []
Exploring Operation: 87*40=3480, Resulting Numbers: [38, 54, 3480]
Generated Node #2: [38, 54, 3480] from Operation: 87*40=3480
Current State: 93:[38, 54, 3480], Operations: ['87*40=3480']
Exploring Operation: 54+3480=3534, Resulting Numbers: [38, 3534]
Generated Node #3: [38, 3534] from Operation: 54+3480=3534
Current State: 93:[38, 3534], Operations: ['87*40=3480', '54+3480=3534']
Exploring Operation: 3534/38=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[38, 87, 54, 40], Operations: []
Exploring Operation: 38+54=92, Resulting Numbers: [87, 40, 92]
Generated Node #0,0: 93:[87, 40, 92] Operation: 38+54=92
Exploring Operation: 54+40=94, Resulting Numbers: [38, 87, 94]
Generated Node #0,1: 93:[38, 87, 94] Operation: 54+40=94
Exploring Operation: 54-40=14, Resulting Numbers: [38, 87, 14]
Generated Node #0,2: 93:[38, 87, 14] Operation: 54-40=14
Exploring Operation: 87-54=33, Resulting Numbers: [38, 40, 33]
Generated Node #0,3: 93:[38, 40, 33] Operation: 87-54=33
Moving to Node #0,1
Current State: 93:[38, 87, 94], Operations: ['54+40=94']
Exploring Operation: 38+87=125, Resulting Numbers: [94, 125]
Generated Node #0,1,0: 93:[94, 125] Operation: 38+87=125
Exploring Operation: 94-87=7, Resulting Numbers: [38, 7]
Generated Node #0,1,1: 93:[38, 7] Operation: 94-87=7
Exploring Operation: 94-38=56, Resulting Numbers: [87, 56]
Generated Node #0,1,2: 93:[87, 56] Operation: 94-38=56
Exploring Operation: 87-38=49, Resulting Numbers: [94, 49]
Generated Node #0,1,3: 93:[94, 49] Operation: 87-38=49
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[38, 7], Operations: ['54+40=94', '94-87=7']
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,93 unequal: No Solution
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,93 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 93:[94, 49], Operations: ['54+40=94', '87-38=49']
Exploring Operation: 94*49=4606, Resulting Numbers: [4606]
4606,93 unequal: No Solution
Exploring Operation: 94-49=45, Resulting Numbers: [45]
45,93 unequal: No Solution
Exploring Operation: 94+49=143, Resulting Numbers: [143]
143,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[87, 56], Operations: ['54+40=94', '94-38=56']
Exploring Operation: 87*56=4872, Resulting Numbers: [4872]
4872,93 unequal: No Solution
Exploring Operation: 87+56=143, Resulting Numbers: [143]
143,93 unequal: No Solution
Exploring Operation: 87-56=31, Resulting Numbers: [31]
31,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[94, 125], Operations: ['54+40=94', '38+87=125']
Exploring Operation: 94+125=219, Resulting Numbers: [219]
219,93 unequal: No Solution
Exploring Operation: 125-94=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 94*125=11750, Resulting Numbers: [11750]
11750,93 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: 93:[87, 40, 92], Operations: ['38+54=92']
Exploring Operation: 87-40=47, Resulting Numbers: [92, 47]
Generated Node #0,0,0: 93:[92, 47] Operation: 87-40=47
Exploring Operation: 92-87=5, Resulting Numbers: [40, 5]
Generated Node #0,0,1: 93:[40, 5] Operation: 92-87=5
Exploring Operation: 87+40=127, Resulting Numbers: [92, 127]
Generated Node #0,0,2: 93:[92, 127] Operation: 87+40=127
Exploring Operation: 92-40=52, Resulting Numbers: [87, 52]
Generated Node #0,0,3: 93:[87, 52] Operation: 92-40=52
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[40, 5], Operations: ['38+54=92', '92-87=5']
Exploring Operation: 40*5=200, Resulting Numbers: [200]
200,93 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[92, 47], Operations: ['38+54=92', '87-40=47']
Exploring Operation: 92-47=45, Resulting Numbers: [45]
45,93 unequal: No Solution
Exploring Operation: 92+47=139, Resulting Numbers: [139]
139,93 unequal: No Solution
Exploring Operation: 92*47=4324, Resulting Numbers: [4324]
4324,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 93:[87, 52], Operations: ['38+54=92', '92-40=52']
Exploring Operation: 87+52=139, Resulting Numbers: [139]
139,93 unequal: No Solution
Exploring Operation: 87*52=4524, Resulting Numbers: [4524]
4524,93 unequal: No Solution
Exploring Operation: 87-52=35, Resulting Numbers: [35]
35,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[92, 127], Operations: ['38+54=92', '87+40=127']
Exploring Operation: 92+127=219, Resulting Numbers: [219]
219,93 unequal: No Solution
Exploring Operation: 127-92=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Exploring Operation: 92*127=11684, Resulting Numbers: [11684]
11684,93 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: 93:[38, 40, 33], Operations: ['87-54=33']
Exploring Operation: 38-33=5, Resulting Numbers: [40, 5]
Generated Node #0,3,0: 93:[40, 5] Operation: 38-33=5
Exploring Operation: 38+40=78, Resulting Numbers: [33, 78]
Generated Node #0,3,1: 93:[33, 78] Operation: 38+40=78
Exploring Operation: 40-33=7, Resulting Numbers: [38, 7]
Generated Node #0,3,2: 93:[38, 7] Operation: 40-33=7
Exploring Operation: 40-38=2, Resulting Numbers: [33, 2]
Generated Node #0,3,3: 93:[33, 2] Operation: 40-38=2
Moving to Node #0,2
Current State: 93:[38, 87, 14], Operations: ['54-40=14']
Exploring Operation: 87-14=73, Resulting Numbers: [38, 73]
Generated Node #0,2,0: 93:[38, 73] Operation: 87-14=73
Exploring Operation: 38-14=24, Resulting Numbers: [87, 24]
Generated Node #0,2,1: 93:[87, 24] Operation: 38-14=24
Exploring Operation: 38+14=52, Resulting Numbers: [87, 52]
Generated Node #0,2,2: 93:[87, 52] Operation: 38+14=52
Exploring Operation: 87+14=101, Resulting Numbers: [38, 101]
Generated Node #0,2,3: 93:[38, 101] Operation: 87+14=101
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[87, 24], Operations: ['54-40=14', '38-14=24']
Exploring Operation: 87+24=111, Resulting Numbers: [111]
111,93 unequal: No Solution
Exploring Operation: 87*24=2088, Resulting Numbers: [2088]
2088,93 unequal: No Solution
Exploring Operation: 87-24=63, Resulting Numbers: [63]
63,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 93:[38, 101], Operations: ['54-40=14', '87+14=101']
Exploring Operation: 38*101=3838, Resulting Numbers: [3838]
3838,93 unequal: No Solution
Exploring Operation: 101-38=63, Resulting Numbers: [63]
63,93 unequal: No Solution
Exploring Operation: 38+101=139, Resulting Numbers: [139]
139,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[38, 73], Operations: ['54-40=14', '87-14=73']
Exploring Operation: 38+73=111, Resulting Numbers: [111]
111,93 unequal: No Solution
Exploring Operation: 38*73=2774, Resulting Numbers: [2774]
2774,93 unequal: No Solution
Exploring Operation: 73-38=35, Resulting Numbers: [35]
35,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[87, 52], Operations: ['54-40=14', '38+14=52']
Exploring Operation: 87+52=139, Resulting Numbers: [139]
139,93 unequal: No Solution
Exploring Operation: 87*52=4524, Resulting Numbers: [4524]
4524,93 unequal: No Solution
Exploring Operation: 87-52=35, Resulting Numbers: [35]
35,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 93:[33, 2], Operations: ['87-54=33', '40-38=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,93 unequal: No Solution
Moving to Node #0,3,2
Current State: 93:[38, 7], Operations: ['87-54=33', '40-33=7']
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,93 unequal: No Solution
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,93 unequal: No Solution
Moving to Node #0,3,0
Current State: 93:[40, 5], Operations: ['87-54=33', '38-33=5']
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,93 unequal: No Solution
Exploring Operation: 40*5=200, Resulting Numbers: [200]
200,93 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Moving to Node #0,3,1
Current State: 93:[33, 78], Operations: ['87-54=33', '38+40=78']
Exploring Operation: 33*78=2574, Resulting Numbers: [2574]
2574,93 unequal: No Solution
Exploring Operation: 33+78=111, Resulting Numbers: [111]
111,93 unequal: No Solution
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,93 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
63,
23,
20,
6
] | 10 | [
"63-23=40",
"20+40=60",
"60/6=10"
] | Current State: 10:[63, 23, 20, 6], Operations: []
Exploring Operation: 63-23=40, Resulting Numbers: [20, 6, 40]
Generated Node #2: [20, 6, 40] from Operation: 63-23=40
Current State: 10:[20, 6, 40], Operations: ['63-23=40']
Exploring Operation: 20+40=60, Resulting Numbers: [6, 60]
Generated Node #3: [6, 60] from Operation: 20+40=60
Current State: 10:[6, 60], Operations: ['63-23=40', '20+40=60']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[63, 23, 20, 6], Operations: []
Exploring Operation: 63-23=40, Resulting Numbers: [20, 6, 40]
Generated Node #0,0: 10:[20, 6, 40] Operation: 63-23=40
Exploring Operation: 63-20=43, Resulting Numbers: [23, 6, 43]
Generated Node #0,1: 10:[23, 6, 43] Operation: 63-20=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[20, 6, 40], Operations: ['63-23=40']
Exploring Operation: 40-20=20, Resulting Numbers: [6, 20]
Generated Node #0,0,0: 10:[6, 20] Operation: 40-20=20
Exploring Operation: 40/20=2, Resulting Numbers: [6, 2]
Generated Node #0,0,1: 10:[6, 2] Operation: 40/20=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 10:[6, 2], Operations: ['63-23=40', '40/20=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[6, 20], Operations: ['63-23=40', '40-20=20']
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[23, 6, 43], Operations: ['63-20=43']
Exploring Operation: 43-23=20, Resulting Numbers: [6, 20]
Generated Node #0,1,0: 10:[6, 20] Operation: 43-23=20
Exploring Operation: 23-6=17, Resulting Numbers: [43, 17]
Generated Node #0,1,1: 10:[43, 17] Operation: 23-6=17
Moving to Node #0,1,0
Current State: 10:[6, 20], Operations: ['63-20=43', '43-23=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[43, 17], Operations: ['63-20=43', '23-6=17']
Exploring Operation: 43+17=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
60,
21,
26,
4
] | 51 | [
"60+21=81",
"26+4=30",
"81-30=51"
] | Current State: 51:[60, 21, 26, 4], Operations: []
Exploring Operation: 60+21=81, Resulting Numbers: [26, 4, 81]
Generated Node #2: [26, 4, 81] from Operation: 60+21=81
Current State: 51:[26, 4, 81], Operations: ['60+21=81']
Exploring Operation: 26+4=30, Resulting Numbers: [81, 30]
Generated Node #3: [81, 30] from Operation: 26+4=30
Current State: 51:[81, 30], Operations: ['60+21=81', '26+4=30']
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[60, 21, 26, 4], Operations: []
Exploring Operation: 26-21=5, Resulting Numbers: [60, 4, 5]
Generated Node #0,0: 51:[60, 4, 5] Operation: 26-21=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[60, 4, 5], Operations: ['26-21=5']
Exploring Operation: 60/4=15, Resulting Numbers: [5, 15]
Generated Node #0,0,0: 51:[5, 15] Operation: 60/4=15
Moving to Node #0,0,0
Current State: 51:[5, 15], Operations: ['26-21=5', '60/4=15']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
32,
19,
59,
21
] | 67 | [
"32-19=13",
"59+21=80",
"80-13=67"
] | Current State: 67:[32, 19, 59, 21], Operations: []
Exploring Operation: 32-19=13, Resulting Numbers: [59, 21, 13]
Generated Node #2: [59, 21, 13] from Operation: 32-19=13
Current State: 67:[59, 21, 13], Operations: ['32-19=13']
Exploring Operation: 59+21=80, Resulting Numbers: [13, 80]
Generated Node #3: [13, 80] from Operation: 59+21=80
Current State: 67:[13, 80], Operations: ['32-19=13', '59+21=80']
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[32, 19, 59, 21], Operations: []
Exploring Operation: 19+21=40, Resulting Numbers: [32, 59, 40]
Generated Node #0,0: 67:[32, 59, 40] Operation: 19+21=40
Exploring Operation: 19+59=78, Resulting Numbers: [32, 21, 78]
Generated Node #0,1: 67:[32, 21, 78] Operation: 19+59=78
Exploring Operation: 32+19=51, Resulting Numbers: [59, 21, 51]
Generated Node #0,2: 67:[59, 21, 51] Operation: 32+19=51
Exploring Operation: 32+21=53, Resulting Numbers: [19, 59, 53]
Generated Node #0,3: 67:[19, 59, 53] Operation: 32+21=53
Moving to Node #0,0
Current State: 67:[32, 59, 40], Operations: ['19+21=40']
Exploring Operation: 59-32=27, Resulting Numbers: [40, 27]
Generated Node #0,0,0: 67:[40, 27] Operation: 59-32=27
Exploring Operation: 32+40=72, Resulting Numbers: [59, 72]
Generated Node #0,0,1: 67:[59, 72] Operation: 32+40=72
Exploring Operation: 40-32=8, Resulting Numbers: [59, 8]
Generated Node #0,0,2: 67:[59, 8] Operation: 40-32=8
Exploring Operation: 32+59=91, Resulting Numbers: [40, 91]
Generated Node #0,0,3: 67:[40, 91] Operation: 32+59=91
Moving to Node #0,3
Current State: 67:[19, 59, 53], Operations: ['32+21=53']
Exploring Operation: 19+59=78, Resulting Numbers: [53, 78]
Generated Node #0,3,0: 67:[53, 78] Operation: 19+59=78
Exploring Operation: 59-19=40, Resulting Numbers: [53, 40]
Generated Node #0,3,1: 67:[53, 40] Operation: 59-19=40
Exploring Operation: 53-19=34, Resulting Numbers: [59, 34]
Generated Node #0,3,2: 67:[59, 34] Operation: 53-19=34
Exploring Operation: 19+53=72, Resulting Numbers: [59, 72]
Generated Node #0,3,3: 67:[59, 72] Operation: 19+53=72
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 67:[59, 72], Operations: ['32+21=53', '19+53=72']
Exploring Operation: 72-59=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Exploring Operation: 59+72=131, Resulting Numbers: [131]
131,67 unequal: No Solution
Exploring Operation: 59*72=4248, Resulting Numbers: [4248]
4248,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 67:[53, 78], Operations: ['32+21=53', '19+59=78']
Exploring Operation: 53*78=4134, Resulting Numbers: [4134]
4134,67 unequal: No Solution
Exploring Operation: 78-53=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 53+78=131, Resulting Numbers: [131]
131,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 67:[53, 40], Operations: ['32+21=53', '59-19=40']
Exploring Operation: 53+40=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 53-40=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Exploring Operation: 53*40=2120, Resulting Numbers: [2120]
2120,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 67:[59, 34], Operations: ['32+21=53', '53-19=34']
Exploring Operation: 59*34=2006, Resulting Numbers: [2006]
2006,67 unequal: No Solution
Exploring Operation: 59+34=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 67:[59, 21, 51], Operations: ['32+19=51']
Exploring Operation: 59-21=38, Resulting Numbers: [51, 38]
Generated Node #0,2,0: 67:[51, 38] Operation: 59-21=38
Exploring Operation: 21+51=72, Resulting Numbers: [59, 72]
Generated Node #0,2,1: 67:[59, 72] Operation: 21+51=72
Exploring Operation: 51-21=30, Resulting Numbers: [59, 30]
Generated Node #0,2,2: 67:[59, 30] Operation: 51-21=30
Exploring Operation: 59+21=80, Resulting Numbers: [51, 80]
Generated Node #0,2,3: 67:[51, 80] Operation: 59+21=80
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[59, 72], Operations: ['32+19=51', '21+51=72']
Exploring Operation: 59+72=131, Resulting Numbers: [131]
131,67 unequal: No Solution
Exploring Operation: 72-59=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Exploring Operation: 59*72=4248, Resulting Numbers: [4248]
4248,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 67:[51, 80], Operations: ['32+19=51', '59+21=80']
Exploring Operation: 51+80=131, Resulting Numbers: [131]
131,67 unequal: No Solution
Exploring Operation: 80-51=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 51*80=4080, Resulting Numbers: [4080]
4080,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[51, 38], Operations: ['32+19=51', '59-21=38']
Exploring Operation: 51+38=89, Resulting Numbers: [89]
89,67 unequal: No Solution
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,67 unequal: No Solution
Exploring Operation: 51*38=1938, Resulting Numbers: [1938]
1938,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[59, 30], Operations: ['32+19=51', '51-21=30']
Exploring Operation: 59+30=89, Resulting Numbers: [89]
89,67 unequal: No Solution
Exploring Operation: 59*30=1770, Resulting Numbers: [1770]
1770,67 unequal: No Solution
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,67 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: 67:[32, 21, 78], Operations: ['19+59=78']
Exploring Operation: 32-21=11, Resulting Numbers: [78, 11]
Generated Node #0,1,0: 67:[78, 11] Operation: 32-21=11
Exploring Operation: 78-32=46, Resulting Numbers: [21, 46]
Generated Node #0,1,1: 67:[21, 46] Operation: 78-32=46
Exploring Operation: 32+21=53, Resulting Numbers: [78, 53]
Generated Node #0,1,2: 67:[78, 53] Operation: 32+21=53
Exploring Operation: 78-21=57, Resulting Numbers: [32, 57]
Generated Node #0,1,3: 67:[32, 57] Operation: 78-21=57
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 67:[78, 53], Operations: ['19+59=78', '32+21=53']
Exploring Operation: 78-53=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 78+53=131, Resulting Numbers: [131]
131,67 unequal: No Solution
Exploring Operation: 78*53=4134, Resulting Numbers: [4134]
4134,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 67:[32, 57], Operations: ['19+59=78', '78-21=57']
Exploring Operation: 57-32=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 32*57=1824, Resulting Numbers: [1824]
1824,67 unequal: No Solution
Exploring Operation: 32+57=89, Resulting Numbers: [89]
89,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[78, 11], Operations: ['19+59=78', '32-21=11']
Exploring Operation: 78*11=858, Resulting Numbers: [858]
858,67 unequal: No Solution
Exploring Operation: 78-11=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[32, 19, 59, 21], Operations: []
Exploring Operation: 19+59=78, Resulting Numbers: [32, 21, 78]
Generated Node #0,1: 67:[32, 21, 78] Operation: 19+59=78
Moving to Node #0,1
Current State: 67:[32, 21, 78], Operations: ['19+59=78']
Exploring Operation: 32-21=11, Resulting Numbers: [78, 11]
Generated Node #0,1,0: 67:[78, 11] Operation: 32-21=11
Moving to Node #0,1,0
Current State: 67:[78, 11], Operations: ['19+59=78', '32-21=11']
Exploring Operation: 78-11=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.951389 | hs_4 | mult_heuristic |
[
39,
25,
71,
44
] | 59 | [
"39*44=1716",
"25*71=1775",
"1775-1716=59"
] | Current State: 59:[39, 25, 71, 44], Operations: []
Exploring Operation: 39*44=1716, Resulting Numbers: [25, 71, 1716]
Generated Node #2: [25, 71, 1716] from Operation: 39*44=1716
Current State: 59:[25, 71, 1716], Operations: ['39*44=1716']
Exploring Operation: 25*71=1775, Resulting Numbers: [1716, 1775]
Generated Node #3: [1716, 1775] from Operation: 25*71=1775
Current State: 59:[1716, 1775], Operations: ['39*44=1716', '25*71=1775']
Exploring Operation: 1775-1716=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[39, 25, 71, 44], Operations: []
Exploring Operation: 71-25=46, Resulting Numbers: [39, 44, 46]
Generated Node #0,0: 59:[39, 44, 46] Operation: 71-25=46
Exploring Operation: 39+25=64, Resulting Numbers: [71, 44, 64]
Generated Node #0,1: 59:[71, 44, 64] Operation: 39+25=64
Exploring Operation: 25+44=69, Resulting Numbers: [39, 71, 69]
Generated Node #0,2: 59:[39, 71, 69] Operation: 25+44=69
Exploring Operation: 39-25=14, Resulting Numbers: [71, 44, 14]
Generated Node #0,3: 59:[71, 44, 14] Operation: 39-25=14
Exploring Operation: 39+44=83, Resulting Numbers: [25, 71, 83]
Generated Node #0,4: 59:[25, 71, 83] Operation: 39+44=83
Moving to Node #0,1
Current State: 59:[71, 44, 64], Operations: ['39+25=64']
Exploring Operation: 71-64=7, Resulting Numbers: [44, 7]
Generated Node #0,1,0: 59:[44, 7] Operation: 71-64=7
Exploring Operation: 64-44=20, Resulting Numbers: [71, 20]
Generated Node #0,1,1: 59:[71, 20] Operation: 64-44=20
Exploring Operation: 71+44=115, Resulting Numbers: [64, 115]
Generated Node #0,1,2: 59:[64, 115] Operation: 71+44=115
Exploring Operation: 44+64=108, Resulting Numbers: [71, 108]
Generated Node #0,1,3: 59:[71, 108] Operation: 44+64=108
Exploring Operation: 71-44=27, Resulting Numbers: [64, 27]
Generated Node #0,1,4: 59:[64, 27] Operation: 71-44=27
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 59:[64, 27], Operations: ['39+25=64', '71-44=27']
Exploring Operation: 64*27=1728, Resulting Numbers: [1728]
1728,59 unequal: No Solution
Exploring Operation: 64+27=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,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,1
Current State: 59:[71, 20], Operations: ['39+25=64', '64-44=20']
Exploring Operation: 71-20=51, Resulting Numbers: [51]
51,59 unequal: No Solution
Exploring Operation: 71*20=1420, Resulting Numbers: [1420]
1420,59 unequal: No Solution
Exploring Operation: 71+20=91, Resulting Numbers: [91]
91,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,2
Current State: 59:[64, 115], Operations: ['39+25=64', '71+44=115']
Exploring Operation: 115-64=51, Resulting Numbers: [51]
51,59 unequal: No Solution
Exploring Operation: 64+115=179, Resulting Numbers: [179]
179,59 unequal: No Solution
Exploring Operation: 64*115=7360, Resulting Numbers: [7360]
7360,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,3
Current State: 59:[71, 108], Operations: ['39+25=64', '44+64=108']
Exploring Operation: 71+108=179, Resulting Numbers: [179]
179,59 unequal: No Solution
Exploring Operation: 71*108=7668, Resulting Numbers: [7668]
7668,59 unequal: No Solution
Exploring Operation: 108-71=37, Resulting Numbers: [37]
37,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:[44, 7], Operations: ['39+25=64', '71-64=7']
Exploring Operation: 44*7=308, Resulting Numbers: [308]
308,59 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,59 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: 59:[39, 71, 69], Operations: ['25+44=69']
Exploring Operation: 71-39=32, Resulting Numbers: [69, 32]
Generated Node #0,2,0: 59:[69, 32] Operation: 71-39=32
Exploring Operation: 39+69=108, Resulting Numbers: [71, 108]
Generated Node #0,2,1: 59:[71, 108] Operation: 39+69=108
Exploring Operation: 71-69=2, Resulting Numbers: [39, 2]
Generated Node #0,2,2: 59:[39, 2] Operation: 71-69=2
Exploring Operation: 39+71=110, Resulting Numbers: [69, 110]
Generated Node #0,2,3: 59:[69, 110] Operation: 39+71=110
Exploring Operation: 69-39=30, Resulting Numbers: [71, 30]
Generated Node #0,2,4: 59:[71, 30] Operation: 69-39=30
Moving to Node #0,0
Current State: 59:[39, 44, 46], Operations: ['71-25=46']
Exploring Operation: 39+44=83, Resulting Numbers: [46, 83]
Generated Node #0,0,0: 59:[46, 83] Operation: 39+44=83
Exploring Operation: 46-39=7, Resulting Numbers: [44, 7]
Generated Node #0,0,1: 59:[44, 7] Operation: 46-39=7
Exploring Operation: 39+46=85, Resulting Numbers: [44, 85]
Generated Node #0,0,2: 59:[44, 85] Operation: 39+46=85
Exploring Operation: 44-39=5, Resulting Numbers: [46, 5]
Generated Node #0,0,3: 59:[46, 5] Operation: 44-39=5
Exploring Operation: 44+46=90, Resulting Numbers: [39, 90]
Generated Node #0,0,4: 59:[39, 90] Operation: 44+46=90
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[46, 83], Operations: ['71-25=46', '39+44=83']
Exploring Operation: 46+83=129, Resulting Numbers: [129]
129,59 unequal: No Solution
Exploring Operation: 46*83=3818, Resulting Numbers: [3818]
3818,59 unequal: No Solution
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,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:[44, 85], Operations: ['71-25=46', '39+46=85']
Exploring Operation: 85-44=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 44*85=3740, Resulting Numbers: [3740]
3740,59 unequal: No Solution
Exploring Operation: 44+85=129, Resulting Numbers: [129]
129,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,4
Current State: 59:[39, 90], Operations: ['71-25=46', '44+46=90']
Exploring Operation: 90-39=51, Resulting Numbers: [51]
51,59 unequal: No Solution
Exploring Operation: 39+90=129, Resulting Numbers: [129]
129,59 unequal: No Solution
Exploring Operation: 39*90=3510, Resulting Numbers: [3510]
3510,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:[44, 7], Operations: ['71-25=46', '46-39=7']
Exploring Operation: 44*7=308, Resulting Numbers: [308]
308,59 unequal: No Solution
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,59 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,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:[46, 5], Operations: ['71-25=46', '44-39=5']
Exploring Operation: 46*5=230, Resulting Numbers: [230]
230,59 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 46+5=51, Resulting Numbers: [51]
51,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 59:[25, 71, 83], Operations: ['39+44=83']
Exploring Operation: 25+71=96, Resulting Numbers: [83, 96]
Generated Node #0,4,0: 59:[83, 96] Operation: 25+71=96
Exploring Operation: 25+83=108, Resulting Numbers: [71, 108]
Generated Node #0,4,1: 59:[71, 108] Operation: 25+83=108
Exploring Operation: 83-71=12, Resulting Numbers: [25, 12]
Generated Node #0,4,2: 59:[25, 12] Operation: 83-71=12
Exploring Operation: 71-25=46, Resulting Numbers: [83, 46]
Generated Node #0,4,3: 59:[83, 46] Operation: 71-25=46
Exploring Operation: 83-25=58, Resulting Numbers: [71, 58]
Generated Node #0,4,4: 59:[71, 58] Operation: 83-25=58
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 59:[71, 58], Operations: ['39+44=83', '83-25=58']
Exploring Operation: 71+58=129, Resulting Numbers: [129]
129,59 unequal: No Solution
Exploring Operation: 71*58=4118, Resulting Numbers: [4118]
4118,59 unequal: No Solution
Exploring Operation: 71-58=13, Resulting Numbers: [13]
13,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,4,3
Current State: 59:[83, 46], Operations: ['39+44=83', '71-25=46']
Exploring Operation: 83*46=3818, Resulting Numbers: [3818]
3818,59 unequal: No Solution
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 83+46=129, Resulting Numbers: [129]
129,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,4,0
Current State: 59:[83, 96], Operations: ['39+44=83', '25+71=96']
Exploring Operation: 83*96=7968, Resulting Numbers: [7968]
7968,59 unequal: No Solution
Exploring Operation: 96-83=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Exploring Operation: 83+96=179, Resulting Numbers: [179]
179,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,4,1
Current State: 59:[71, 108], Operations: ['39+44=83', '25+83=108']
Exploring Operation: 108-71=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 71+108=179, Resulting Numbers: [179]
179,59 unequal: No Solution
Exploring Operation: 71*108=7668, Resulting Numbers: [7668]
7668,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,4,2
Current State: 59:[25, 12], Operations: ['39+44=83', '83-71=12']
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Exploring Operation: 25*12=300, Resulting Numbers: [300]
300,59 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: 59:[71, 44, 14], Operations: ['39-25=14']
Exploring Operation: 44-14=30, Resulting Numbers: [71, 30]
Generated Node #0,3,0: 59:[71, 30] Operation: 44-14=30
Exploring Operation: 71+14=85, Resulting Numbers: [44, 85]
Generated Node #0,3,1: 59:[44, 85] Operation: 71+14=85
Exploring Operation: 71-44=27, Resulting Numbers: [14, 27]
Generated Node #0,3,2: 59:[14, 27] Operation: 71-44=27
Exploring Operation: 71-14=57, Resulting Numbers: [44, 57]
Generated Node #0,3,3: 59:[44, 57] Operation: 71-14=57
Exploring Operation: 44+14=58, Resulting Numbers: [71, 58]
Generated Node #0,3,4: 59:[71, 58] Operation: 44+14=58
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 59:[71, 58], Operations: ['39-25=14', '44+14=58']
Exploring Operation: 71-58=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Exploring Operation: 71+58=129, Resulting Numbers: [129]
129,59 unequal: No Solution
Exploring Operation: 71*58=4118, Resulting Numbers: [4118]
4118,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 59:[44, 57], Operations: ['39-25=14', '71-14=57']
Exploring Operation: 44+57=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 44*57=2508, Resulting Numbers: [2508]
2508,59 unequal: No Solution
Exploring Operation: 57-44=13, Resulting Numbers: [13]
13,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 59:[71, 30], Operations: ['39-25=14', '44-14=30']
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 71*30=2130, Resulting Numbers: [2130]
2130,59 unequal: No Solution
Exploring Operation: 71+30=101, Resulting Numbers: [101]
101,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 59:[44, 85], Operations: ['39-25=14', '71+14=85']
Exploring Operation: 44*85=3740, Resulting Numbers: [3740]
3740,59 unequal: No Solution
Exploring Operation: 85-44=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 44+85=129, Resulting Numbers: [129]
129,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 59:[14, 27], Operations: ['39-25=14', '71-44=27']
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,59 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 59:[69, 32], Operations: ['25+44=69', '71-39=32']
Exploring Operation: 69-32=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 69*32=2208, Resulting Numbers: [2208]
2208,59 unequal: No Solution
Exploring Operation: 69+32=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Moving to Node #0,2,4
Current State: 59:[71, 30], Operations: ['25+44=69', '69-39=30']
Exploring Operation: 71+30=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 71*30=2130, Resulting Numbers: [2130]
2130,59 unequal: No Solution
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[71, 108], Operations: ['25+44=69', '39+69=108']
Exploring Operation: 71*108=7668, Resulting Numbers: [7668]
7668,59 unequal: No Solution
Exploring Operation: 71+108=179, Resulting Numbers: [179]
179,59 unequal: No Solution
Exploring Operation: 108-71=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[69, 110], Operations: ['25+44=69', '39+71=110']
Exploring Operation: 69*110=7590, Resulting Numbers: [7590]
7590,59 unequal: No Solution
Exploring Operation: 69+110=179, Resulting Numbers: [179]
179,59 unequal: No Solution
Exploring Operation: 110-69=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[39, 2], Operations: ['25+44=69', '71-69=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,59 unequal: No Solution
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,59 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
28,
33,
27,
55
] | 88 | [
"28-27=1",
"33+55=88",
"1*88=88"
] | Current State: 88:[28, 33, 27, 55], Operations: []
Exploring Operation: 28-27=1, Resulting Numbers: [33, 55, 1]
Generated Node #2: [33, 55, 1] from Operation: 28-27=1
Current State: 88:[33, 55, 1], Operations: ['28-27=1']
Exploring Operation: 33+55=88, Resulting Numbers: [1, 88]
Generated Node #3: [1, 88] from Operation: 33+55=88
Current State: 88:[1, 88], Operations: ['28-27=1', '33+55=88']
Exploring Operation: 1*88=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[28, 33, 27, 55], Operations: []
Exploring Operation: 55-33=22, Resulting Numbers: [28, 27, 22]
Generated Node #0,0: 88:[28, 27, 22] Operation: 55-33=22
Exploring Operation: 33-28=5, Resulting Numbers: [27, 55, 5]
Generated Node #0,1: 88:[27, 55, 5] Operation: 33-28=5
Exploring Operation: 33-27=6, Resulting Numbers: [28, 55, 6]
Generated Node #0,2: 88:[28, 55, 6] Operation: 33-27=6
Exploring Operation: 33+55=88, Resulting Numbers: [28, 27, 88]
Generated Node #0,3: 88:[28, 27, 88] Operation: 33+55=88
Moving to Node #0,0
Current State: 88:[28, 27, 22], Operations: ['55-33=22']
Exploring Operation: 28+27=55, Resulting Numbers: [22, 55]
Generated Node #0,0,0: 88:[22, 55] Operation: 28+27=55
Exploring Operation: 28-22=6, Resulting Numbers: [27, 6]
Generated Node #0,0,1: 88:[27, 6] Operation: 28-22=6
Exploring Operation: 28-27=1, Resulting Numbers: [22, 1]
Generated Node #0,0,2: 88:[22, 1] Operation: 28-27=1
Exploring Operation: 27-22=5, Resulting Numbers: [28, 5]
Generated Node #0,0,3: 88:[28, 5] Operation: 27-22=5
Moving to Node #0,3
Current State: 88:[28, 27, 88], Operations: ['33+55=88']
Exploring Operation: 88-27=61, Resulting Numbers: [28, 61]
Generated Node #0,3,0: 88:[28, 61] Operation: 88-27=61
Exploring Operation: 88-28=60, Resulting Numbers: [27, 60]
Generated Node #0,3,1: 88:[27, 60] Operation: 88-28=60
Exploring Operation: 28+27=55, Resulting Numbers: [88, 55]
Generated Node #0,3,2: 88:[88, 55] Operation: 28+27=55
Exploring Operation: 28-27=1, Resulting Numbers: [88, 1]
Generated Node #0,3,3: 88:[88, 1] Operation: 28-27=1
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 88:[88, 1], Operations: ['33+55=88', '28-27=1']
Exploring Operation: 88+1=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 88*1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[28, 33, 27, 55], Operations: []
Exploring Operation: 33+55=88, Resulting Numbers: [28, 27, 88]
Generated Node #0,3: 88:[28, 27, 88] Operation: 33+55=88
Moving to Node #0,3
Current State: 88:[28, 27, 88], Operations: ['33+55=88']
Exploring Operation: 28-27=1, Resulting Numbers: [88, 1]
Generated Node #0,3,3: 88:[88, 1] Operation: 28-27=1
Moving to Node #0,3,3
Current State: 88:[88, 1], Operations: ['33+55=88', '28-27=1']
Exploring Operation: 88*1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
58,
2,
1,
41
] | 71 | [
"58/2=29",
"1+41=42",
"29+42=71"
] | Current State: 71:[58, 2, 1, 41], Operations: []
Exploring Operation: 58/2=29, Resulting Numbers: [1, 41, 29]
Generated Node #2: [1, 41, 29] from Operation: 58/2=29
Current State: 71:[1, 41, 29], Operations: ['58/2=29']
Exploring Operation: 1+41=42, Resulting Numbers: [29, 42]
Generated Node #3: [29, 42] from Operation: 1+41=42
Current State: 71:[29, 42], Operations: ['58/2=29', '1+41=42']
Exploring Operation: 29+42=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[58, 2, 1, 41], Operations: []
Exploring Operation: 2*41=82, Resulting Numbers: [58, 1, 82]
Generated Node #0,0: 71:[58, 1, 82] Operation: 2*41=82
Exploring Operation: 2+1=3, Resulting Numbers: [58, 41, 3]
Generated Node #0,1: 71:[58, 41, 3] Operation: 2+1=3
Exploring Operation: 58+2=60, Resulting Numbers: [1, 41, 60]
Generated Node #0,2: 71:[1, 41, 60] Operation: 58+2=60
Exploring Operation: 58+1=59, Resulting Numbers: [2, 41, 59]
Generated Node #0,3: 71:[2, 41, 59] Operation: 58+1=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[58, 1, 82], Operations: ['2*41=82']
Exploring Operation: 58+1=59, Resulting Numbers: [82, 59]
Generated Node #0,0,0: 71:[82, 59] Operation: 58+1=59
Exploring Operation: 82-1=81, Resulting Numbers: [58, 81]
Generated Node #0,0,1: 71:[58, 81] Operation: 82-1=81
Exploring Operation: 58/1=58, Resulting Numbers: [82, 58]
Generated Node #0,0,2: 71:[82, 58] Operation: 58/1=58
Exploring Operation: 58*1=58, Resulting Numbers: [82, 58]
Generated Node #0,0,3: 71:[82, 58] Operation: 58*1=58
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[82, 59], Operations: ['2*41=82', '58+1=59']
Exploring Operation: 82*59=4838, Resulting Numbers: [4838]
4838,71 unequal: No Solution
Exploring Operation: 82+59=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Exploring Operation: 82-59=23, Resulting Numbers: [23]
23,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[58, 81], Operations: ['2*41=82', '82-1=81']
Exploring Operation: 58*81=4698, Resulting Numbers: [4698]
4698,71 unequal: No Solution
Exploring Operation: 58+81=139, Resulting Numbers: [139]
139,71 unequal: No Solution
Exploring Operation: 81-58=23, Resulting Numbers: [23]
23,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[82, 58], Operations: ['2*41=82', '58/1=58']
Exploring Operation: 82*58=4756, Resulting Numbers: [4756]
4756,71 unequal: No Solution
Exploring Operation: 82-58=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Exploring Operation: 82+58=140, Resulting Numbers: [140]
140,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 71:[82, 58], Operations: ['2*41=82', '58*1=58']
Exploring Operation: 82*58=4756, Resulting Numbers: [4756]
4756,71 unequal: No Solution
Exploring Operation: 82-58=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Exploring Operation: 82+58=140, Resulting Numbers: [140]
140,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[58, 41, 3], Operations: ['2+1=3']
Exploring Operation: 58+3=61, Resulting Numbers: [41, 61]
Generated Node #0,1,0: 71:[41, 61] Operation: 58+3=61
Exploring Operation: 41+3=44, Resulting Numbers: [58, 44]
Generated Node #0,1,1: 71:[58, 44] Operation: 41+3=44
Exploring Operation: 58-3=55, Resulting Numbers: [41, 55]
Generated Node #0,1,2: 71:[41, 55] Operation: 58-3=55
Exploring Operation: 41-3=38, Resulting Numbers: [58, 38]
Generated Node #0,1,3: 71:[58, 38] Operation: 41-3=38
Moving to Node #0,1,0
Current State: 71:[41, 61], Operations: ['2+1=3', '58+3=61']
Exploring Operation: 41+61=102, Resulting Numbers: [102]
102,71 unequal: No Solution
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 41*61=2501, Resulting Numbers: [2501]
2501,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[58, 44], Operations: ['2+1=3', '41+3=44']
Exploring Operation: 58*44=2552, Resulting Numbers: [2552]
2552,71 unequal: No Solution
Exploring Operation: 58+44=102, Resulting Numbers: [102]
102,71 unequal: No Solution
Exploring Operation: 58-44=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[58, 38], Operations: ['2+1=3', '41-3=38']
Exploring Operation: 58-38=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 58+38=96, Resulting Numbers: [96]
96,71 unequal: No Solution
Exploring Operation: 58*38=2204, Resulting Numbers: [2204]
2204,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[41, 55], Operations: ['2+1=3', '58-3=55']
Exploring Operation: 55-41=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Exploring Operation: 41+55=96, Resulting Numbers: [96]
96,71 unequal: No Solution
Exploring Operation: 41*55=2255, Resulting Numbers: [2255]
2255,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[1, 41, 60], Operations: ['58+2=60']
Exploring Operation: 41/1=41, Resulting Numbers: [60, 41]
Generated Node #0,2,0: 71:[60, 41] Operation: 41/1=41
Exploring Operation: 1*41=41, Resulting Numbers: [60, 41]
Generated Node #0,2,1: 71:[60, 41] Operation: 1*41=41
Exploring Operation: 1+41=42, Resulting Numbers: [60, 42]
Generated Node #0,2,2: 71:[60, 42] Operation: 1+41=42
Exploring Operation: 1+60=61, Resulting Numbers: [41, 61]
Generated Node #0,2,3: 71:[41, 61] Operation: 1+60=61
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[60, 42], Operations: ['58+2=60', '1+41=42']
Exploring Operation: 60*42=2520, Resulting Numbers: [2520]
2520,71 unequal: No Solution
Exploring Operation: 60+42=102, Resulting Numbers: [102]
102,71 unequal: No Solution
Exploring Operation: 60-42=18, Resulting Numbers: [18]
18,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 71:[41, 61], Operations: ['58+2=60', '1+60=61']
Exploring Operation: 41+61=102, Resulting Numbers: [102]
102,71 unequal: No Solution
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 41*61=2501, Resulting Numbers: [2501]
2501,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[60, 41], Operations: ['58+2=60', '41/1=41']
Exploring Operation: 60*41=2460, Resulting Numbers: [2460]
2460,71 unequal: No Solution
Exploring Operation: 60+41=101, Resulting Numbers: [101]
101,71 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[60, 41], Operations: ['58+2=60', '1*41=41']
Exploring Operation: 60*41=2460, Resulting Numbers: [2460]
2460,71 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 60+41=101, Resulting Numbers: [101]
101,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[2, 41, 59], Operations: ['58+1=59']
Exploring Operation: 41-2=39, Resulting Numbers: [59, 39]
Generated Node #0,3,0: 71:[59, 39] Operation: 41-2=39
Exploring Operation: 2+41=43, Resulting Numbers: [59, 43]
Generated Node #0,3,1: 71:[59, 43] Operation: 2+41=43
Exploring Operation: 2+59=61, Resulting Numbers: [41, 61]
Generated Node #0,3,2: 71:[41, 61] Operation: 2+59=61
Exploring Operation: 2*41=82, Resulting Numbers: [59, 82]
Generated Node #0,3,3: 71:[59, 82] Operation: 2*41=82
Moving to Node #0,3,3
Current State: 71:[59, 82], Operations: ['58+1=59', '2*41=82']
Exploring Operation: 59+82=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Exploring Operation: 59*82=4838, Resulting Numbers: [4838]
4838,71 unequal: No Solution
Exploring Operation: 82-59=23, Resulting Numbers: [23]
23,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[41, 61], Operations: ['58+1=59', '2+59=61']
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 41+61=102, Resulting Numbers: [102]
102,71 unequal: No Solution
Exploring Operation: 41*61=2501, Resulting Numbers: [2501]
2501,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[59, 43], Operations: ['58+1=59', '2+41=43']
Exploring Operation: 59+43=102, Resulting Numbers: [102]
102,71 unequal: No Solution
Exploring Operation: 59-43=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 59*43=2537, Resulting Numbers: [2537]
2537,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[59, 39], Operations: ['58+1=59', '41-2=39']
Exploring Operation: 59+39=98, Resulting Numbers: [98]
98,71 unequal: No Solution
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 59*39=2301, Resulting Numbers: [2301]
2301,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
77,
35,
21,
3
] | 94 | [
"77+35=112",
"21-3=18",
"112-18=94"
] | Current State: 94:[77, 35, 21, 3], Operations: []
Exploring Operation: 77+35=112, Resulting Numbers: [21, 3, 112]
Generated Node #2: [21, 3, 112] from Operation: 77+35=112
Current State: 94:[21, 3, 112], Operations: ['77+35=112']
Exploring Operation: 21-3=18, Resulting Numbers: [112, 18]
Generated Node #3: [112, 18] from Operation: 21-3=18
Current State: 94:[112, 18], Operations: ['77+35=112', '21-3=18']
Exploring Operation: 112-18=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[77, 35, 21, 3], Operations: []
Exploring Operation: 77+21=98, Resulting Numbers: [35, 3, 98]
Generated Node #0,0: 94:[35, 3, 98] Operation: 77+21=98
Exploring Operation: 77-21=56, Resulting Numbers: [35, 3, 56]
Generated Node #0,1: 94:[35, 3, 56] Operation: 77-21=56
Exploring Operation: 77-35=42, Resulting Numbers: [21, 3, 42]
Generated Node #0,2: 94:[21, 3, 42] Operation: 77-35=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[35, 3, 98], Operations: ['77+21=98']
Exploring Operation: 35*3=105, Resulting Numbers: [98, 105]
Generated Node #0,0,0: 94:[98, 105] Operation: 35*3=105
Exploring Operation: 35+3=38, Resulting Numbers: [98, 38]
Generated Node #0,0,1: 94:[98, 38] Operation: 35+3=38
Exploring Operation: 98-3=95, Resulting Numbers: [35, 95]
Generated Node #0,0,2: 94:[35, 95] Operation: 98-3=95
Moving to Node #0,0,1
Current State: 94:[98, 38], Operations: ['77+21=98', '35+3=38']
Exploring Operation: 98-38=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Exploring Operation: 98*38=3724, Resulting Numbers: [3724]
3724,94 unequal: No Solution
Exploring Operation: 98+38=136, Resulting Numbers: [136]
136,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[35, 95], Operations: ['77+21=98', '98-3=95']
Exploring Operation: 95-35=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Exploring Operation: 35+95=130, Resulting Numbers: [130]
130,94 unequal: No Solution
Exploring Operation: 35*95=3325, Resulting Numbers: [3325]
3325,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[98, 105], Operations: ['77+21=98', '35*3=105']
Exploring Operation: 98+105=203, Resulting Numbers: [203]
203,94 unequal: No Solution
Exploring Operation: 105-98=7, Resulting Numbers: [7]
7,94 unequal: No Solution
Exploring Operation: 98*105=10290, Resulting Numbers: [10290]
10290,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[35, 3, 56], Operations: ['77-21=56']
Exploring Operation: 56-3=53, Resulting Numbers: [35, 53]
Generated Node #0,1,0: 94:[35, 53] Operation: 56-3=53
Exploring Operation: 35+56=91, Resulting Numbers: [3, 91]
Generated Node #0,1,1: 94:[3, 91] Operation: 35+56=91
Exploring Operation: 35+3=38, Resulting Numbers: [56, 38]
Generated Node #0,1,2: 94:[56, 38] Operation: 35+3=38
Moving to Node #0,1,1
Current State: 94:[3, 91], Operations: ['77-21=56', '35+56=91']
Exploring Operation: 3+91=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[77, 35, 21, 3], Operations: []
Exploring Operation: 77-21=56, Resulting Numbers: [35, 3, 56]
Generated Node #0,1: 94:[35, 3, 56] Operation: 77-21=56
Moving to Node #0,1
Current State: 94:[35, 3, 56], Operations: ['77-21=56']
Exploring Operation: 35+56=91, Resulting Numbers: [3, 91]
Generated Node #0,1,1: 94:[3, 91] Operation: 35+56=91
Moving to Node #0,1,1
Current State: 94:[3, 91], Operations: ['77-21=56', '35+56=91']
Exploring Operation: 3+91=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
19,
21,
13,
21
] | 68 | [
"21-19=2",
"13+21=34",
"2*34=68"
] | Current State: 68:[19, 21, 13, 21], Operations: []
Exploring Operation: 21-19=2, Resulting Numbers: [13, 2]
Generated Node #2: [13, 2] from Operation: 21-19=2
Current State: 68:[13, 2], Operations: ['21-19=2']
Exploring Operation: 13+21=34, Resulting Numbers: [2, 34]
Generated Node #3: [2, 34] from Operation: 13+21=34
Current State: 68:[2, 34], Operations: ['21-19=2', '13+21=34']
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[19, 21, 13, 21], Operations: []
Exploring Operation: 21+13=34, Resulting Numbers: [19, 21, 34]
Generated Node #0,0: 68:[19, 21, 34] Operation: 21+13=34
Exploring Operation: 21/21=1, Resulting Numbers: [19, 13, 1]
Generated Node #0,1: 68:[19, 13, 1] Operation: 21/21=1
Exploring Operation: 21-19=2, Resulting Numbers: [13, 21, 2]
Generated Node #0,2: 68:[13, 21, 2] Operation: 21-19=2
Exploring Operation: 13+21=34, Resulting Numbers: [19, 21, 34]
Generated Node #0,3: 68:[19, 21, 34] Operation: 13+21=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[19, 21, 34], Operations: ['21+13=34']
Exploring Operation: 34-21=13, Resulting Numbers: [19, 13]
Generated Node #0,0,0: 68:[19, 13] Operation: 34-21=13
Exploring Operation: 19+21=40, Resulting Numbers: [34, 40]
Generated Node #0,0,1: 68:[34, 40] Operation: 19+21=40
Exploring Operation: 21-19=2, Resulting Numbers: [34, 2]
Generated Node #0,0,2: 68:[34, 2] Operation: 21-19=2
Exploring Operation: 34-19=15, Resulting Numbers: [21, 15]
Generated Node #0,0,3: 68:[21, 15] Operation: 34-19=15
Moving to Node #0,0,2
Current State: 68:[34, 2], Operations: ['21+13=34', '21-19=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[19, 21, 13, 21], Operations: []
Exploring Operation: 21+13=34, Resulting Numbers: [19, 21, 34]
Generated Node #0,0: 68:[19, 21, 34] Operation: 21+13=34
Moving to Node #0,0
Current State: 68:[19, 21, 34], Operations: ['21+13=34']
Exploring Operation: 21-19=2, Resulting Numbers: [34, 2]
Generated Node #0,0,2: 68:[34, 2] Operation: 21-19=2
Moving to Node #0,0,2
Current State: 68:[34, 2], Operations: ['21+13=34', '21-19=2']
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
21,
84,
90,
14
] | 41 | [
"84-21=63",
"90+14=104",
"104-63=41"
] | Current State: 41:[21, 84, 90, 14], Operations: []
Exploring Operation: 84-21=63, Resulting Numbers: [90, 14, 63]
Generated Node #2: [90, 14, 63] from Operation: 84-21=63
Current State: 41:[90, 14, 63], Operations: ['84-21=63']
Exploring Operation: 90+14=104, Resulting Numbers: [63, 104]
Generated Node #3: [63, 104] from Operation: 90+14=104
Current State: 41:[63, 104], Operations: ['84-21=63', '90+14=104']
Exploring Operation: 104-63=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[21, 84, 90, 14], Operations: []
Exploring Operation: 90-84=6, Resulting Numbers: [21, 14, 6]
Generated Node #0,0: 41:[21, 14, 6] Operation: 90-84=6
Exploring Operation: 84-21=63, Resulting Numbers: [90, 14, 63]
Generated Node #0,1: 41:[90, 14, 63] Operation: 84-21=63
Exploring Operation: 90-21=69, Resulting Numbers: [84, 14, 69]
Generated Node #0,2: 41:[84, 14, 69] Operation: 90-21=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[21, 14, 6], Operations: ['90-84=6']
Exploring Operation: 21+6=27, Resulting Numbers: [14, 27]
Generated Node #0,0,0: 41:[14, 27] Operation: 21+6=27
Exploring Operation: 14+6=20, Resulting Numbers: [21, 20]
Generated Node #0,0,1: 41:[21, 20] Operation: 14+6=20
Exploring Operation: 21+14=35, Resulting Numbers: [6, 35]
Generated Node #0,0,2: 41:[6, 35] Operation: 21+14=35
Moving to Node #0,0,0
Current State: 41:[14, 27], Operations: ['90-84=6', '21+6=27']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,41 unequal: No Solution
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[21, 84, 90, 14], Operations: []
Exploring Operation: 90-84=6, Resulting Numbers: [21, 14, 6]
Generated Node #0,0: 41:[21, 14, 6] Operation: 90-84=6
Moving to Node #0,0
Current State: 41:[21, 14, 6], Operations: ['90-84=6']
Exploring Operation: 21+6=27, Resulting Numbers: [14, 27]
Generated Node #0,0,0: 41:[14, 27] Operation: 21+6=27
Moving to Node #0,0,0
Current State: 41:[14, 27], Operations: ['90-84=6', '21+6=27']
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
75,
97,
68,
7
] | 86 | [
"97-75=22",
"7*22=154",
"154-68=86"
] | Current State: 86:[75, 97, 68, 7], Operations: []
Exploring Operation: 97-75=22, Resulting Numbers: [68, 7, 22]
Generated Node #2: [68, 7, 22] from Operation: 97-75=22
Current State: 86:[68, 7, 22], Operations: ['97-75=22']
Exploring Operation: 7*22=154, Resulting Numbers: [68, 154]
Generated Node #3: [68, 154] from Operation: 7*22=154
Current State: 86:[68, 154], Operations: ['97-75=22', '7*22=154']
Exploring Operation: 154-68=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[75, 97, 68, 7], Operations: []
Exploring Operation: 75+7=82, Resulting Numbers: [97, 68, 82]
Generated Node #0,0: 86:[97, 68, 82] Operation: 75+7=82
Exploring Operation: 68+7=75, Resulting Numbers: [75, 97, 75]
Generated Node #0,1: 86:[75, 97, 75] Operation: 68+7=75
Exploring Operation: 97-68=29, Resulting Numbers: [75, 7, 29]
Generated Node #0,2: 86:[75, 7, 29] Operation: 97-68=29
Exploring Operation: 75-68=7, Resulting Numbers: [97, 7, 7]
Generated Node #0,3: 86:[97, 7, 7] Operation: 75-68=7
Exploring Operation: 97-7=90, Resulting Numbers: [75, 68, 90]
Generated Node #0,4: 86:[75, 68, 90] Operation: 97-7=90
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[97, 7, 7], Operations: ['75-68=7']
Exploring Operation: 97-7=90, Resulting Numbers: [7, 90]
Generated Node #0,3,0: 86:[7, 90] Operation: 97-7=90
Exploring Operation: 7*7=49, Resulting Numbers: [97, 49]
Generated Node #0,3,1: 86:[97, 49] Operation: 7*7=49
Exploring Operation: 97-7=90, Resulting Numbers: [7, 90]
Generated Node #0,3,2: 86:[7, 90] Operation: 97-7=90
Exploring Operation: 7/7=1, Resulting Numbers: [97, 1]
Generated Node #0,3,3: 86:[97, 1] Operation: 7/7=1
Exploring Operation: 7-7=0, Resulting Numbers: [97, 0]
Generated Node #0,3,4: 86:[97, 0] Operation: 7-7=0
Moving to Node #0,3,0
Current State: 86:[7, 90], Operations: ['75-68=7', '97-7=90']
Exploring Operation: 7*90=630, Resulting Numbers: [630]
630,86 unequal: No Solution
Exploring Operation: 90-7=83, Resulting Numbers: [83]
83,86 unequal: No Solution
Exploring Operation: 7+90=97, Resulting Numbers: [97]
97,86 unequal: No Solution
Moving to Node #0,3,2
Current State: 86:[7, 90], Operations: ['75-68=7', '97-7=90']
Exploring Operation: 7*90=630, Resulting Numbers: [630]
630,86 unequal: No Solution
Exploring Operation: 90-7=83, Resulting Numbers: [83]
83,86 unequal: No Solution
Exploring Operation: 7+90=97, Resulting Numbers: [97]
97,86 unequal: No Solution
Moving to Node #0,3,3
Current State: 86:[97, 1], Operations: ['75-68=7', '7/7=1']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,86 unequal: No Solution
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,86 unequal: No Solution
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,86 unequal: No Solution
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,86 unequal: No Solution
Moving to Node #0,3,4
Current State: 86:[97, 0], Operations: ['75-68=7', '7-7=0']
Exploring Operation: 97+0=97, Resulting Numbers: [97]
97,86 unequal: No Solution
Exploring Operation: 97*0=0, Resulting Numbers: [0]
0,86 unequal: No Solution
Exploring Operation: 97-0=97, Resulting Numbers: [97]
97,86 unequal: No Solution
Moving to Node #0,3,1
Current State: 86:[97, 49], Operations: ['75-68=7', '7*7=49']
Exploring Operation: 97*49=4753, Resulting Numbers: [4753]
4753,86 unequal: No Solution
Exploring Operation: 97+49=146, Resulting Numbers: [146]
146,86 unequal: No Solution
Exploring Operation: 97-49=48, Resulting Numbers: [48]
48,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[75, 7, 29], Operations: ['97-68=29']
Exploring Operation: 7+29=36, Resulting Numbers: [75, 36]
Generated Node #0,2,0: 86:[75, 36] Operation: 7+29=36
Exploring Operation: 75-29=46, Resulting Numbers: [7, 46]
Generated Node #0,2,1: 86:[7, 46] Operation: 75-29=46
Exploring Operation: 75+29=104, Resulting Numbers: [7, 104]
Generated Node #0,2,2: 86:[7, 104] Operation: 75+29=104
Exploring Operation: 29-7=22, Resulting Numbers: [75, 22]
Generated Node #0,2,3: 86:[75, 22] Operation: 29-7=22
Exploring Operation: 75+7=82, Resulting Numbers: [29, 82]
Generated Node #0,2,4: 86:[29, 82] Operation: 75+7=82
Moving to Node #0,2,1
Current State: 86:[7, 46], Operations: ['97-68=29', '75-29=46']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 7*46=322, Resulting Numbers: [322]
322,86 unequal: No Solution
Exploring Operation: 7+46=53, Resulting Numbers: [53]
53,86 unequal: No Solution
Moving to Node #0,2,4
Current State: 86:[29, 82], Operations: ['97-68=29', '75+7=82']
Exploring Operation: 29*82=2378, Resulting Numbers: [2378]
2378,86 unequal: No Solution
Exploring Operation: 29+82=111, Resulting Numbers: [111]
111,86 unequal: No Solution
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[75, 36], Operations: ['97-68=29', '7+29=36']
Exploring Operation: 75*36=2700, Resulting Numbers: [2700]
2700,86 unequal: No Solution
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 75+36=111, Resulting Numbers: [111]
111,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[7, 104], Operations: ['97-68=29', '75+29=104']
Exploring Operation: 7*104=728, Resulting Numbers: [728]
728,86 unequal: No Solution
Exploring Operation: 7+104=111, Resulting Numbers: [111]
111,86 unequal: No Solution
Exploring Operation: 104-7=97, Resulting Numbers: [97]
97,86 unequal: No Solution
Moving to Node #0,2,3
Current State: 86:[75, 22], Operations: ['97-68=29', '29-7=22']
Exploring Operation: 75*22=1650, Resulting Numbers: [1650]
1650,86 unequal: No Solution
Exploring Operation: 75+22=97, Resulting Numbers: [97]
97,86 unequal: No Solution
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[97, 68, 82], Operations: ['75+7=82']
Exploring Operation: 97+68=165, Resulting Numbers: [82, 165]
Generated Node #0,0,0: 86:[82, 165] Operation: 97+68=165
Exploring Operation: 68+82=150, Resulting Numbers: [97, 150]
Generated Node #0,0,1: 86:[97, 150] Operation: 68+82=150
Exploring Operation: 82-68=14, Resulting Numbers: [97, 14]
Generated Node #0,0,2: 86:[97, 14] Operation: 82-68=14
Exploring Operation: 97-68=29, Resulting Numbers: [82, 29]
Generated Node #0,0,3: 86:[82, 29] Operation: 97-68=29
Exploring Operation: 97-82=15, Resulting Numbers: [68, 15]
Generated Node #0,0,4: 86:[68, 15] Operation: 97-82=15
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 86:[82, 29], Operations: ['75+7=82', '97-68=29']
Exploring Operation: 82*29=2378, Resulting Numbers: [2378]
2378,86 unequal: No Solution
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,86 unequal: No Solution
Exploring Operation: 82+29=111, Resulting Numbers: [111]
111,86 unequal: No Solution
No 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: 86:[97, 14], Operations: ['75+7=82', '82-68=14']
Exploring Operation: 97+14=111, Resulting Numbers: [111]
111,86 unequal: No Solution
Exploring Operation: 97*14=1358, Resulting Numbers: [1358]
1358,86 unequal: No Solution
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,86 unequal: No Solution
No 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: 86:[68, 15], Operations: ['75+7=82', '97-82=15']
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,86 unequal: No Solution
Exploring Operation: 68+15=83, Resulting Numbers: [83]
83,86 unequal: No Solution
Exploring Operation: 68*15=1020, Resulting Numbers: [1020]
1020,86 unequal: No Solution
No 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: 86:[97, 150], Operations: ['75+7=82', '68+82=150']
Exploring Operation: 97*150=14550, Resulting Numbers: [14550]
14550,86 unequal: No Solution
Exploring Operation: 97+150=247, Resulting Numbers: [247]
247,86 unequal: No Solution
Exploring Operation: 150-97=53, Resulting Numbers: [53]
53,86 unequal: No Solution
No 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: 86:[82, 165], Operations: ['75+7=82', '97+68=165']
Exploring Operation: 165-82=83, Resulting Numbers: [83]
83,86 unequal: No Solution
Exploring Operation: 82+165=247, Resulting Numbers: [247]
247,86 unequal: No Solution
Exploring Operation: 82*165=13530, Resulting Numbers: [13530]
13530,86 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: 86:[75, 97, 75], Operations: ['68+7=75']
Exploring Operation: 75+75=150, Resulting Numbers: [97, 150]
Generated Node #0,1,0: 86:[97, 150] Operation: 75+75=150
Exploring Operation: 75-75=0, Resulting Numbers: [97, 0]
Generated Node #0,1,1: 86:[97, 0] Operation: 75-75=0
Exploring Operation: 97-75=22, Resulting Numbers: [75, 22]
Generated Node #0,1,2: 86:[75, 22] Operation: 97-75=22
Exploring Operation: 97-75=22, Resulting Numbers: [75, 22]
Generated Node #0,1,3: 86:[75, 22] Operation: 97-75=22
Exploring Operation: 75/75=1, Resulting Numbers: [97, 1]
Generated Node #0,1,4: 86:[97, 1] Operation: 75/75=1
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 86:[97, 1], Operations: ['68+7=75', '75/75=1']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,86 unequal: No Solution
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,86 unequal: No Solution
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,86 unequal: No Solution
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,86 unequal: No Solution
No 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: 86:[97, 0], Operations: ['68+7=75', '75-75=0']
Exploring Operation: 97+0=97, Resulting Numbers: [97]
97,86 unequal: No Solution
Exploring Operation: 97-0=97, Resulting Numbers: [97]
97,86 unequal: No Solution
Exploring Operation: 97*0=0, Resulting Numbers: [0]
0,86 unequal: No Solution
No 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: 86:[75, 22], Operations: ['68+7=75', '97-75=22']
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,86 unequal: No Solution
Exploring Operation: 75+22=97, Resulting Numbers: [97]
97,86 unequal: No Solution
Exploring Operation: 75*22=1650, Resulting Numbers: [1650]
1650,86 unequal: No Solution
No 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: 86:[75, 22], Operations: ['68+7=75', '97-75=22']
Exploring Operation: 75*22=1650, Resulting Numbers: [1650]
1650,86 unequal: No Solution
Exploring Operation: 75+22=97, Resulting Numbers: [97]
97,86 unequal: No Solution
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,86 unequal: No Solution
No 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: 86:[97, 150], Operations: ['68+7=75', '75+75=150']
Exploring Operation: 97+150=247, Resulting Numbers: [247]
247,86 unequal: No Solution
Exploring Operation: 150-97=53, Resulting Numbers: [53]
53,86 unequal: No Solution
Exploring Operation: 97*150=14550, Resulting Numbers: [14550]
14550,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 86:[75, 68, 90], Operations: ['97-7=90']
Exploring Operation: 68+90=158, Resulting Numbers: [75, 158]
Generated Node #0,4,0: 86:[75, 158] Operation: 68+90=158
Exploring Operation: 90-75=15, Resulting Numbers: [68, 15]
Generated Node #0,4,1: 86:[68, 15] Operation: 90-75=15
Exploring Operation: 75+68=143, Resulting Numbers: [90, 143]
Generated Node #0,4,2: 86:[90, 143] Operation: 75+68=143
Exploring Operation: 90-68=22, Resulting Numbers: [75, 22]
Generated Node #0,4,3: 86:[75, 22] Operation: 90-68=22
Exploring Operation: 75-68=7, Resulting Numbers: [90, 7]
Generated Node #0,4,4: 86:[90, 7] Operation: 75-68=7
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 86:[90, 7], Operations: ['97-7=90', '75-68=7']
Exploring Operation: 90*7=630, Resulting Numbers: [630]
630,86 unequal: No Solution
Exploring Operation: 90+7=97, Resulting Numbers: [97]
97,86 unequal: No Solution
Exploring Operation: 90-7=83, Resulting Numbers: [83]
83,86 unequal: No Solution
No 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: 86:[68, 15], Operations: ['97-7=90', '90-75=15']
Exploring Operation: 68*15=1020, Resulting Numbers: [1020]
1020,86 unequal: No Solution
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,86 unequal: No Solution
Exploring Operation: 68+15=83, Resulting Numbers: [83]
83,86 unequal: No Solution
No 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: 86:[75, 22], Operations: ['97-7=90', '90-68=22']
Exploring Operation: 75*22=1650, Resulting Numbers: [1650]
1650,86 unequal: No Solution
Exploring Operation: 75+22=97, Resulting Numbers: [97]
97,86 unequal: No Solution
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 86:[90, 143], Operations: ['97-7=90', '75+68=143']
Exploring Operation: 143-90=53, Resulting Numbers: [53]
53,86 unequal: No Solution
Exploring Operation: 90+143=233, Resulting Numbers: [233]
233,86 unequal: No Solution
Exploring Operation: 90*143=12870, Resulting Numbers: [12870]
12870,86 unequal: No Solution
No 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: 86:[75, 158], Operations: ['97-7=90', '68+90=158']
Exploring Operation: 158-75=83, Resulting Numbers: [83]
83,86 unequal: No Solution
Exploring Operation: 75+158=233, Resulting Numbers: [233]
233,86 unequal: No Solution
Exploring Operation: 75*158=11850, Resulting Numbers: [11850]
11850,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
11,
20,
3,
63
] | 14 | [
"11+63=74",
"20*3=60",
"74-60=14"
] | Current State: 14:[11, 20, 3, 63], Operations: []
Exploring Operation: 11+63=74, Resulting Numbers: [20, 3, 74]
Generated Node #2: [20, 3, 74] from Operation: 11+63=74
Current State: 14:[20, 3, 74], Operations: ['11+63=74']
Exploring Operation: 20*3=60, Resulting Numbers: [74, 60]
Generated Node #3: [74, 60] from Operation: 20*3=60
Current State: 14:[74, 60], Operations: ['11+63=74', '20*3=60']
Exploring Operation: 74-60=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[11, 20, 3, 63], Operations: []
Exploring Operation: 63-20=43, Resulting Numbers: [11, 3, 43]
Generated Node #0,0: 14:[11, 3, 43] Operation: 63-20=43
Exploring Operation: 63/3=21, Resulting Numbers: [11, 20, 21]
Generated Node #0,1: 14:[11, 20, 21] Operation: 63/3=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[11, 20, 21], Operations: ['63/3=21']
Exploring Operation: 21-20=1, Resulting Numbers: [11, 1]
Generated Node #0,1,0: 14:[11, 1] Operation: 21-20=1
Exploring Operation: 20-11=9, Resulting Numbers: [21, 9]
Generated Node #0,1,1: 14:[21, 9] Operation: 20-11=9
Moving to Node #0,1,0
Current State: 14:[11, 1], Operations: ['63/3=21', '21-20=1']
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[21, 9], Operations: ['63/3=21', '20-11=9']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[11, 3, 43], Operations: ['63-20=43']
Exploring Operation: 43-11=32, Resulting Numbers: [3, 32]
Generated Node #0,0,0: 14:[3, 32] Operation: 43-11=32
Exploring Operation: 11+3=14, Resulting Numbers: [43, 14]
Generated Node #0,0,1: 14:[43, 14] Operation: 11+3=14
Moving to Node #0,0,0
Current State: 14:[3, 32], Operations: ['63-20=43', '43-11=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[43, 14], Operations: ['63-20=43', '11+3=14']
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 43+14=57, Resulting Numbers: [57]
57,14 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 |
[
30,
52,
53,
56
] | 66 | [
"52-30=22",
"56-53=3",
"22*3=66"
] | Current State: 66:[30, 52, 53, 56], Operations: []
Exploring Operation: 52-30=22, Resulting Numbers: [53, 56, 22]
Generated Node #2: [53, 56, 22] from Operation: 52-30=22
Current State: 66:[53, 56, 22], Operations: ['52-30=22']
Exploring Operation: 56-53=3, Resulting Numbers: [22, 3]
Generated Node #3: [22, 3] from Operation: 56-53=3
Current State: 66:[22, 3], Operations: ['52-30=22', '56-53=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[30, 52, 53, 56], Operations: []
Exploring Operation: 56-53=3, Resulting Numbers: [30, 52, 3]
Generated Node #0,0: 66:[30, 52, 3] Operation: 56-53=3
Exploring Operation: 56-52=4, Resulting Numbers: [30, 53, 4]
Generated Node #0,1: 66:[30, 53, 4] Operation: 56-52=4
Exploring Operation: 52-30=22, Resulting Numbers: [53, 56, 22]
Generated Node #0,2: 66:[53, 56, 22] Operation: 52-30=22
Exploring Operation: 53-30=23, Resulting Numbers: [52, 56, 23]
Generated Node #0,3: 66:[52, 56, 23] Operation: 53-30=23
Exploring Operation: 53-52=1, Resulting Numbers: [30, 56, 1]
Generated Node #0,4: 66:[30, 56, 1] Operation: 53-52=1
Moving to Node #0,4
Current State: 66:[30, 56, 1], Operations: ['53-52=1']
Exploring Operation: 56-30=26, Resulting Numbers: [1, 26]
Generated Node #0,4,0: 66:[1, 26] Operation: 56-30=26
Exploring Operation: 56+1=57, Resulting Numbers: [30, 57]
Generated Node #0,4,1: 66:[30, 57] Operation: 56+1=57
Exploring Operation: 30+1=31, Resulting Numbers: [56, 31]
Generated Node #0,4,2: 66:[56, 31] Operation: 30+1=31
Exploring Operation: 30/1=30, Resulting Numbers: [56, 30]
Generated Node #0,4,3: 66:[56, 30] Operation: 30/1=30
Exploring Operation: 30*1=30, Resulting Numbers: [56, 30]
Generated Node #0,4,4: 66:[56, 30] Operation: 30*1=30
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 66:[1, 26], Operations: ['53-52=1', '56-30=26']
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,66 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Exploring Operation: 1*26=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 66:[30, 57], Operations: ['53-52=1', '56+1=57']
Exploring Operation: 30*57=1710, Resulting Numbers: [1710]
1710,66 unequal: No Solution
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,66 unequal: No Solution
Exploring Operation: 30+57=87, Resulting Numbers: [87]
87,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 66:[56, 31], Operations: ['53-52=1', '30+1=31']
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Exploring Operation: 56*31=1736, Resulting Numbers: [1736]
1736,66 unequal: No Solution
Exploring Operation: 56+31=87, Resulting Numbers: [87]
87,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 66:[56, 30], Operations: ['53-52=1', '30/1=30']
Exploring Operation: 56*30=1680, Resulting Numbers: [1680]
1680,66 unequal: No Solution
Exploring Operation: 56+30=86, Resulting Numbers: [86]
86,66 unequal: No Solution
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 66:[56, 30], Operations: ['53-52=1', '30*1=30']
Exploring Operation: 56+30=86, Resulting Numbers: [86]
86,66 unequal: No Solution
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 56*30=1680, Resulting Numbers: [1680]
1680,66 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: 66:[30, 53, 4], Operations: ['56-52=4']
Exploring Operation: 30+53=83, Resulting Numbers: [4, 83]
Generated Node #0,1,0: 66:[4, 83] Operation: 30+53=83
Exploring Operation: 53+4=57, Resulting Numbers: [30, 57]
Generated Node #0,1,1: 66:[30, 57] Operation: 53+4=57
Exploring Operation: 53-30=23, Resulting Numbers: [4, 23]
Generated Node #0,1,2: 66:[4, 23] Operation: 53-30=23
Exploring Operation: 30+4=34, Resulting Numbers: [53, 34]
Generated Node #0,1,3: 66:[53, 34] Operation: 30+4=34
Exploring Operation: 30-4=26, Resulting Numbers: [53, 26]
Generated Node #0,1,4: 66:[53, 26] Operation: 30-4=26
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[4, 23], Operations: ['56-52=4', '53-30=23']
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,66 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[30, 57], Operations: ['56-52=4', '53+4=57']
Exploring Operation: 30+57=87, Resulting Numbers: [87]
87,66 unequal: No Solution
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,66 unequal: No Solution
Exploring Operation: 30*57=1710, Resulting Numbers: [1710]
1710,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 66:[53, 34], Operations: ['56-52=4', '30+4=34']
Exploring Operation: 53-34=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 53*34=1802, Resulting Numbers: [1802]
1802,66 unequal: No Solution
Exploring Operation: 53+34=87, Resulting Numbers: [87]
87,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 66:[53, 26], Operations: ['56-52=4', '30-4=26']
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,66 unequal: No Solution
Exploring Operation: 53*26=1378, Resulting Numbers: [1378]
1378,66 unequal: No Solution
Exploring Operation: 53+26=79, Resulting Numbers: [79]
79,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[4, 83], Operations: ['56-52=4', '30+53=83']
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Exploring Operation: 4+83=87, Resulting Numbers: [87]
87,66 unequal: No Solution
Exploring Operation: 4*83=332, Resulting Numbers: [332]
332,66 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: 66:[30, 52, 3], Operations: ['56-53=3']
Exploring Operation: 30+52=82, Resulting Numbers: [3, 82]
Generated Node #0,0,0: 66:[3, 82] Operation: 30+52=82
Exploring Operation: 30+3=33, Resulting Numbers: [52, 33]
Generated Node #0,0,1: 66:[52, 33] Operation: 30+3=33
Exploring Operation: 30/3=10, Resulting Numbers: [52, 10]
Generated Node #0,0,2: 66:[52, 10] Operation: 30/3=10
Exploring Operation: 52+3=55, Resulting Numbers: [30, 55]
Generated Node #0,0,3: 66:[30, 55] Operation: 52+3=55
Exploring Operation: 52-30=22, Resulting Numbers: [3, 22]
Generated Node #0,0,4: 66:[3, 22] Operation: 52-30=22
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 66:[3, 22], Operations: ['56-53=3', '52-30=22']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[30, 52, 53, 56], Operations: []
Exploring Operation: 56-53=3, Resulting Numbers: [30, 52, 3]
Generated Node #0,0: 66:[30, 52, 3] Operation: 56-53=3
Moving to Node #0,0
Current State: 66:[30, 52, 3], Operations: ['56-53=3']
Exploring Operation: 52-30=22, Resulting Numbers: [3, 22]
Generated Node #0,0,4: 66:[3, 22] Operation: 52-30=22
Moving to Node #0,0,4
Current State: 66:[3, 22], Operations: ['56-53=3', '52-30=22']
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.950521 | hs_5 | mult_heuristic |
[
57,
75,
49,
62
] | 59 | [
"75+49=124",
"124/62=2",
"57+2=59"
] | Current State: 59:[57, 75, 49, 62], Operations: []
Exploring Operation: 75+49=124, Resulting Numbers: [57, 62, 124]
Generated Node #2: [57, 62, 124] from Operation: 75+49=124
Current State: 59:[57, 62, 124], Operations: ['75+49=124']
Exploring Operation: 124/62=2, Resulting Numbers: [57, 2]
Generated Node #3: [57, 2] from Operation: 124/62=2
Current State: 59:[57, 2], Operations: ['75+49=124', '124/62=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[57, 75, 49, 62], Operations: []
Exploring Operation: 75-49=26, Resulting Numbers: [57, 62, 26]
Generated Node #0,0: 59:[57, 62, 26] Operation: 75-49=26
Exploring Operation: 75-57=18, Resulting Numbers: [49, 62, 18]
Generated Node #0,1: 59:[49, 62, 18] Operation: 75-57=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[57, 62, 26], Operations: ['75-49=26']
Exploring Operation: 57+26=83, Resulting Numbers: [62, 83]
Generated Node #0,0,0: 59:[62, 83] Operation: 57+26=83
Exploring Operation: 62-26=36, Resulting Numbers: [57, 36]
Generated Node #0,0,1: 59:[57, 36] Operation: 62-26=36
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[57, 36], Operations: ['75-49=26', '62-26=36']
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,59 unequal: No Solution
Exploring Operation: 57+36=93, Resulting Numbers: [93]
93,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[62, 83], Operations: ['75-49=26', '57+26=83']
Exploring Operation: 83-62=21, Resulting Numbers: [21]
21,59 unequal: No Solution
Exploring Operation: 62+83=145, Resulting Numbers: [145]
145,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[49, 62, 18], Operations: ['75-57=18']
Exploring Operation: 62-18=44, Resulting Numbers: [49, 44]
Generated Node #0,1,0: 59:[49, 44] Operation: 62-18=44
Exploring Operation: 49+18=67, Resulting Numbers: [62, 67]
Generated Node #0,1,1: 59:[62, 67] Operation: 49+18=67
Moving to Node #0,1,1
Current State: 59:[62, 67], Operations: ['75-57=18', '49+18=67']
Exploring Operation: 62+67=129, Resulting Numbers: [129]
129,59 unequal: No Solution
Exploring Operation: 67-62=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[49, 44], Operations: ['75-57=18', '62-18=44']
Exploring Operation: 49-44=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 49+44=93, Resulting Numbers: [93]
93,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 |
[
24,
11,
36,
57
] | 56 | [
"24+11=35",
"57-36=21",
"35+21=56"
] | Current State: 56:[24, 11, 36, 57], Operations: []
Exploring Operation: 24+11=35, Resulting Numbers: [36, 57, 35]
Generated Node #2: [36, 57, 35] from Operation: 24+11=35
Current State: 56:[36, 57, 35], Operations: ['24+11=35']
Exploring Operation: 57-36=21, Resulting Numbers: [35, 21]
Generated Node #3: [35, 21] from Operation: 57-36=21
Current State: 56:[35, 21], Operations: ['24+11=35', '57-36=21']
Exploring Operation: 35+21=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[24, 11, 36, 57], Operations: []
Exploring Operation: 36-24=12, Resulting Numbers: [11, 57, 12]
Generated Node #0,0: 56:[11, 57, 12] Operation: 36-24=12
Exploring Operation: 24-11=13, Resulting Numbers: [36, 57, 13]
Generated Node #0,1: 56:[36, 57, 13] Operation: 24-11=13
Exploring Operation: 36-11=25, Resulting Numbers: [24, 57, 25]
Generated Node #0,2: 56:[24, 57, 25] Operation: 36-11=25
Exploring Operation: 24+36=60, Resulting Numbers: [11, 57, 60]
Generated Node #0,3: 56:[11, 57, 60] Operation: 24+36=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[11, 57, 12], Operations: ['36-24=12']
Exploring Operation: 12-11=1, Resulting Numbers: [57, 1]
Generated Node #0,0,0: 56:[57, 1] Operation: 12-11=1
Exploring Operation: 57-11=46, Resulting Numbers: [12, 46]
Generated Node #0,0,1: 56:[12, 46] Operation: 57-11=46
Exploring Operation: 11+12=23, Resulting Numbers: [57, 23]
Generated Node #0,0,2: 56:[57, 23] Operation: 11+12=23
Exploring Operation: 11+57=68, Resulting Numbers: [12, 68]
Generated Node #0,0,3: 56:[12, 68] Operation: 11+57=68
Moving to Node #0,0,0
Current State: 56:[57, 1], Operations: ['36-24=12', '12-11=1']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[24, 11, 36, 57], Operations: []
Exploring Operation: 36-24=12, Resulting Numbers: [11, 57, 12]
Generated Node #0,0: 56:[11, 57, 12] Operation: 36-24=12
Moving to Node #0,0
Current State: 56:[11, 57, 12], Operations: ['36-24=12']
Exploring Operation: 12-11=1, Resulting Numbers: [57, 1]
Generated Node #0,0,0: 56:[57, 1] Operation: 12-11=1
Moving to Node #0,0,0
Current State: 56:[57, 1], Operations: ['36-24=12', '12-11=1']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
16,
59,
47,
12
] | 15 | [
"59-47=12",
"12/12=1",
"16-1=15"
] | Current State: 15:[16, 59, 47, 12], Operations: []
Exploring Operation: 59-47=12, Resulting Numbers: [16, 12, 12]
Generated Node #2: [16, 12, 12] from Operation: 59-47=12
Current State: 15:[16, 12, 12], Operations: ['59-47=12']
Exploring Operation: 12/12=1, Resulting Numbers: [16, 1]
Generated Node #3: [16, 1] from Operation: 12/12=1
Current State: 15:[16, 1], Operations: ['59-47=12', '12/12=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[16, 59, 47, 12], Operations: []
Exploring Operation: 47-16=31, Resulting Numbers: [59, 12, 31]
Generated Node #0,0: 15:[59, 12, 31] Operation: 47-16=31
Exploring Operation: 59-47=12, Resulting Numbers: [16, 12, 12]
Generated Node #0,1: 15:[16, 12, 12] Operation: 59-47=12
Exploring Operation: 59-16=43, Resulting Numbers: [47, 12, 43]
Generated Node #0,2: 15:[47, 12, 43] Operation: 59-16=43
Exploring Operation: 59-12=47, Resulting Numbers: [16, 47, 47]
Generated Node #0,3: 15:[16, 47, 47] Operation: 59-12=47
Moving to Node #0,1
Current State: 15:[16, 12, 12], Operations: ['59-47=12']
Exploring Operation: 12-12=0, Resulting Numbers: [16, 0]
Generated Node #0,1,0: 15:[16, 0] Operation: 12-12=0
Exploring Operation: 12/12=1, Resulting Numbers: [16, 1]
Generated Node #0,1,1: 15:[16, 1] Operation: 12/12=1
Exploring Operation: 16-12=4, Resulting Numbers: [12, 4]
Generated Node #0,1,2: 15:[12, 4] Operation: 16-12=4
Exploring Operation: 16-12=4, Resulting Numbers: [12, 4]
Generated Node #0,1,3: 15:[12, 4] Operation: 16-12=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 15:[16, 1], Operations: ['59-47=12', '12/12=1']
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,15 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[16, 59, 47, 12], Operations: []
Exploring Operation: 59-47=12, Resulting Numbers: [16, 12, 12]
Generated Node #0,1: 15:[16, 12, 12] Operation: 59-47=12
Moving to Node #0,1
Current State: 15:[16, 12, 12], Operations: ['59-47=12']
Exploring Operation: 12/12=1, Resulting Numbers: [16, 1]
Generated Node #0,1,1: 15:[16, 1] Operation: 12/12=1
Moving to Node #0,1,1
Current State: 15:[16, 1], Operations: ['59-47=12', '12/12=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
75,
74,
33,
25
] | 85 | [
"75/25=3",
"33/3=11",
"74+11=85"
] | Current State: 85:[75, 74, 33, 25], Operations: []
Exploring Operation: 75/25=3, Resulting Numbers: [74, 33, 3]
Generated Node #2: [74, 33, 3] from Operation: 75/25=3
Current State: 85:[74, 33, 3], Operations: ['75/25=3']
Exploring Operation: 33/3=11, Resulting Numbers: [74, 11]
Generated Node #3: [74, 11] from Operation: 33/3=11
Current State: 85:[74, 11], Operations: ['75/25=3', '33/3=11']
Exploring Operation: 74+11=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[75, 74, 33, 25], Operations: []
Exploring Operation: 33-25=8, Resulting Numbers: [75, 74, 8]
Generated Node #0,0: 85:[75, 74, 8] Operation: 33-25=8
Exploring Operation: 74+25=99, Resulting Numbers: [75, 33, 99]
Generated Node #0,1: 85:[75, 33, 99] Operation: 74+25=99
Exploring Operation: 75/25=3, Resulting Numbers: [74, 33, 3]
Generated Node #0,2: 85:[74, 33, 3] Operation: 75/25=3
Exploring Operation: 75-74=1, Resulting Numbers: [33, 25, 1]
Generated Node #0,3: 85:[33, 25, 1] Operation: 75-74=1
Exploring Operation: 74+33=107, Resulting Numbers: [75, 25, 107]
Generated Node #0,4: 85:[75, 25, 107] Operation: 74+33=107
Moving to Node #0,0
Current State: 85:[75, 74, 8], Operations: ['33-25=8']
Exploring Operation: 75+8=83, Resulting Numbers: [74, 83]
Generated Node #0,0,0: 85:[74, 83] Operation: 75+8=83
Exploring Operation: 74+8=82, Resulting Numbers: [75, 82]
Generated Node #0,0,1: 85:[75, 82] Operation: 74+8=82
Exploring Operation: 75-8=67, Resulting Numbers: [74, 67]
Generated Node #0,0,2: 85:[74, 67] Operation: 75-8=67
Exploring Operation: 75-74=1, Resulting Numbers: [8, 1]
Generated Node #0,0,3: 85:[8, 1] Operation: 75-74=1
Exploring Operation: 74-8=66, Resulting Numbers: [75, 66]
Generated Node #0,0,4: 85:[75, 66] Operation: 74-8=66
Moving to Node #0,3
Current State: 85:[33, 25, 1], Operations: ['75-74=1']
Exploring Operation: 33/1=33, Resulting Numbers: [25, 33]
Generated Node #0,3,0: 85:[25, 33] Operation: 33/1=33
Exploring Operation: 33-1=32, Resulting Numbers: [25, 32]
Generated Node #0,3,1: 85:[25, 32] Operation: 33-1=32
Exploring Operation: 33*1=33, Resulting Numbers: [25, 33]
Generated Node #0,3,2: 85:[25, 33] Operation: 33*1=33
Exploring Operation: 25-1=24, Resulting Numbers: [33, 24]
Generated Node #0,3,3: 85:[33, 24] Operation: 25-1=24
Exploring Operation: 33-25=8, Resulting Numbers: [1, 8]
Generated Node #0,3,4: 85:[1, 8] Operation: 33-25=8
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 85:[1, 8], Operations: ['75-74=1', '33-25=8']
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,85 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 85:[25, 32], Operations: ['75-74=1', '33-1=32']
Exploring Operation: 25+32=57, Resulting Numbers: [57]
57,85 unequal: No Solution
Exploring Operation: 25*32=800, Resulting Numbers: [800]
800,85 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 85:[33, 24], Operations: ['75-74=1', '25-1=24']
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,85 unequal: No Solution
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 85:[25, 33], Operations: ['75-74=1', '33/1=33']
Exploring Operation: 25+33=58, Resulting Numbers: [58]
58,85 unequal: No Solution
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 25*33=825, Resulting Numbers: [825]
825,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 85:[25, 33], Operations: ['75-74=1', '33*1=33']
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 25+33=58, Resulting Numbers: [58]
58,85 unequal: No Solution
Exploring Operation: 25*33=825, Resulting Numbers: [825]
825,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:[74, 33, 3], Operations: ['75/25=3']
Exploring Operation: 33/3=11, Resulting Numbers: [74, 11]
Generated Node #0,2,0: 85:[74, 11] Operation: 33/3=11
Exploring Operation: 33-3=30, Resulting Numbers: [74, 30]
Generated Node #0,2,1: 85:[74, 30] Operation: 33-3=30
Exploring Operation: 33*3=99, Resulting Numbers: [74, 99]
Generated Node #0,2,2: 85:[74, 99] Operation: 33*3=99
Exploring Operation: 74+33=107, Resulting Numbers: [3, 107]
Generated Node #0,2,3: 85:[3, 107] Operation: 74+33=107
Exploring Operation: 74+3=77, Resulting Numbers: [33, 77]
Generated Node #0,2,4: 85:[33, 77] Operation: 74+3=77
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[74, 11], Operations: ['75/25=3', '33/3=11']
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Exploring Operation: 74+11=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[75, 74, 33, 25], Operations: []
Exploring Operation: 75/25=3, Resulting Numbers: [74, 33, 3]
Generated Node #0,2: 85:[74, 33, 3] Operation: 75/25=3
Moving to Node #0,2
Current State: 85:[74, 33, 3], Operations: ['75/25=3']
Exploring Operation: 33/3=11, Resulting Numbers: [74, 11]
Generated Node #0,2,0: 85:[74, 11] Operation: 33/3=11
Moving to Node #0,2,0
Current State: 85:[74, 11], Operations: ['75/25=3', '33/3=11']
Exploring Operation: 74+11=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | mult_heuristic |
[
9,
2,
30,
74
] | 93 | [
"9+2=11",
"30+74=104",
"104-11=93"
] | Current State: 93:[9, 2, 30, 74], Operations: []
Exploring Operation: 9+2=11, Resulting Numbers: [30, 74, 11]
Generated Node #2: [30, 74, 11] from Operation: 9+2=11
Current State: 93:[30, 74, 11], Operations: ['9+2=11']
Exploring Operation: 30+74=104, Resulting Numbers: [11, 104]
Generated Node #3: [11, 104] from Operation: 30+74=104
Current State: 93:[11, 104], Operations: ['9+2=11', '30+74=104']
Exploring Operation: 104-11=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[9, 2, 30, 74], Operations: []
Exploring Operation: 9+74=83, Resulting Numbers: [2, 30, 83]
Generated Node #0,0: 93:[2, 30, 83] Operation: 9+74=83
Exploring Operation: 74-30=44, Resulting Numbers: [9, 2, 44]
Generated Node #0,1: 93:[9, 2, 44] Operation: 74-30=44
Exploring Operation: 9-2=7, Resulting Numbers: [30, 74, 7]
Generated Node #0,2: 93:[30, 74, 7] Operation: 9-2=7
Exploring Operation: 30+74=104, Resulting Numbers: [9, 2, 104]
Generated Node #0,3: 93:[9, 2, 104] Operation: 30+74=104
Exploring Operation: 74/2=37, Resulting Numbers: [9, 30, 37]
Generated Node #0,4: 93:[9, 30, 37] Operation: 74/2=37
Moving to Node #0,0
Current State: 93:[2, 30, 83], Operations: ['9+74=83']
Exploring Operation: 2+30=32, Resulting Numbers: [83, 32]
Generated Node #0,0,0: 93:[83, 32] Operation: 2+30=32
Exploring Operation: 30+83=113, Resulting Numbers: [2, 113]
Generated Node #0,0,1: 93:[2, 113] Operation: 30+83=113
Exploring Operation: 2+83=85, Resulting Numbers: [30, 85]
Generated Node #0,0,2: 93:[30, 85] Operation: 2+83=85
Exploring Operation: 83-2=81, Resulting Numbers: [30, 81]
Generated Node #0,0,3: 93:[30, 81] Operation: 83-2=81
Exploring Operation: 30-2=28, Resulting Numbers: [83, 28]
Generated Node #0,0,4: 93:[83, 28] Operation: 30-2=28
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[30, 85], Operations: ['9+74=83', '2+83=85']
Exploring Operation: 85-30=55, Resulting Numbers: [55]
55,93 unequal: No Solution
Exploring Operation: 30+85=115, Resulting Numbers: [115]
115,93 unequal: No Solution
Exploring Operation: 30*85=2550, Resulting Numbers: [2550]
2550,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[83, 32], Operations: ['9+74=83', '2+30=32']
Exploring Operation: 83+32=115, Resulting Numbers: [115]
115,93 unequal: No Solution
Exploring Operation: 83*32=2656, Resulting Numbers: [2656]
2656,93 unequal: No Solution
Exploring Operation: 83-32=51, Resulting Numbers: [51]
51,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 93:[30, 81], Operations: ['9+74=83', '83-2=81']
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 30*81=2430, Resulting Numbers: [2430]
2430,93 unequal: No Solution
Exploring Operation: 30+81=111, Resulting Numbers: [111]
111,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 93:[83, 28], Operations: ['9+74=83', '30-2=28']
Exploring Operation: 83*28=2324, Resulting Numbers: [2324]
2324,93 unequal: No Solution
Exploring Operation: 83-28=55, Resulting Numbers: [55]
55,93 unequal: No Solution
Exploring Operation: 83+28=111, Resulting Numbers: [111]
111,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[2, 113], Operations: ['9+74=83', '30+83=113']
Exploring Operation: 2*113=226, Resulting Numbers: [226]
226,93 unequal: No Solution
Exploring Operation: 113-2=111, Resulting Numbers: [111]
111,93 unequal: No Solution
Exploring Operation: 2+113=115, Resulting Numbers: [115]
115,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 93:[9, 30, 37], Operations: ['74/2=37']
Exploring Operation: 37-30=7, Resulting Numbers: [9, 7]
Generated Node #0,4,0: 93:[9, 7] Operation: 37-30=7
Exploring Operation: 9+30=39, Resulting Numbers: [37, 39]
Generated Node #0,4,1: 93:[37, 39] Operation: 9+30=39
Exploring Operation: 37-9=28, Resulting Numbers: [30, 28]
Generated Node #0,4,2: 93:[30, 28] Operation: 37-9=28
Exploring Operation: 9+37=46, Resulting Numbers: [30, 46]
Generated Node #0,4,3: 93:[30, 46] Operation: 9+37=46
Exploring Operation: 30-9=21, Resulting Numbers: [37, 21]
Generated Node #0,4,4: 93:[37, 21] Operation: 30-9=21
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 93:[30, 28], Operations: ['74/2=37', '37-9=28']
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,93 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 93:[9, 7], Operations: ['74/2=37', '37-30=7']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,93 unequal: No Solution
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 93:[37, 39], Operations: ['74/2=37', '9+30=39']
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,93 unequal: No Solution
Exploring Operation: 37*39=1443, Resulting Numbers: [1443]
1443,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 93:[30, 46], Operations: ['74/2=37', '9+37=46']
Exploring Operation: 30*46=1380, Resulting Numbers: [1380]
1380,93 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,93 unequal: No Solution
Exploring Operation: 30+46=76, Resulting Numbers: [76]
76,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 93:[37, 21], Operations: ['74/2=37', '30-9=21']
Exploring Operation: 37*21=777, Resulting Numbers: [777]
777,93 unequal: No Solution
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,93 unequal: No Solution
Exploring Operation: 37+21=58, Resulting Numbers: [58]
58,93 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: 93:[9, 2, 104], Operations: ['30+74=104']
Exploring Operation: 2+104=106, Resulting Numbers: [9, 106]
Generated Node #0,3,0: 93:[9, 106] Operation: 2+104=106
Exploring Operation: 9+2=11, Resulting Numbers: [104, 11]
Generated Node #0,3,1: 93:[104, 11] Operation: 9+2=11
Exploring Operation: 9-2=7, Resulting Numbers: [104, 7]
Generated Node #0,3,2: 93:[104, 7] Operation: 9-2=7
Exploring Operation: 104-2=102, Resulting Numbers: [9, 102]
Generated Node #0,3,3: 93:[9, 102] Operation: 104-2=102
Exploring Operation: 104-9=95, Resulting Numbers: [2, 95]
Generated Node #0,3,4: 93:[2, 95] Operation: 104-9=95
Moving to Node #0,1
Current State: 93:[9, 2, 44], Operations: ['74-30=44']
Exploring Operation: 44-9=35, Resulting Numbers: [2, 35]
Generated Node #0,1,0: 93:[2, 35] Operation: 44-9=35
Exploring Operation: 9-2=7, Resulting Numbers: [44, 7]
Generated Node #0,1,1: 93:[44, 7] Operation: 9-2=7
Exploring Operation: 2*44=88, Resulting Numbers: [9, 88]
Generated Node #0,1,2: 93:[9, 88] Operation: 2*44=88
Exploring Operation: 44-2=42, Resulting Numbers: [9, 42]
Generated Node #0,1,3: 93:[9, 42] Operation: 44-2=42
Exploring Operation: 44/2=22, Resulting Numbers: [9, 22]
Generated Node #0,1,4: 93:[9, 22] Operation: 44/2=22
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[2, 35], Operations: ['74-30=44', '44-9=35']
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,93 unequal: No Solution
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,93 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[9, 88], Operations: ['74-30=44', '2*44=88']
Exploring Operation: 9+88=97, Resulting Numbers: [97]
97,93 unequal: No Solution
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,93 unequal: No Solution
Exploring Operation: 9*88=792, Resulting Numbers: [792]
792,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 93:[9, 22], Operations: ['74-30=44', '44/2=22']
Exploring Operation: 9*22=198, Resulting Numbers: [198]
198,93 unequal: No Solution
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[44, 7], Operations: ['74-30=44', '9-2=7']
Exploring Operation: 44*7=308, Resulting Numbers: [308]
308,93 unequal: No Solution
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 93:[9, 42], Operations: ['74-30=44', '44-2=42']
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,93 unequal: No Solution
Exploring Operation: 9*42=378, Resulting Numbers: [378]
378,93 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: 93:[30, 74, 7], Operations: ['9-2=7']
Exploring Operation: 30-7=23, Resulting Numbers: [74, 23]
Generated Node #0,2,0: 93:[74, 23] Operation: 30-7=23
Exploring Operation: 74-30=44, Resulting Numbers: [7, 44]
Generated Node #0,2,1: 93:[7, 44] Operation: 74-30=44
Exploring Operation: 30+74=104, Resulting Numbers: [7, 104]
Generated Node #0,2,2: 93:[7, 104] Operation: 30+74=104
Exploring Operation: 30+7=37, Resulting Numbers: [74, 37]
Generated Node #0,2,3: 93:[74, 37] Operation: 30+7=37
Exploring Operation: 74+7=81, Resulting Numbers: [30, 81]
Generated Node #0,2,4: 93:[30, 81] Operation: 74+7=81
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 93:[30, 81], Operations: ['9-2=7', '74+7=81']
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 30+81=111, Resulting Numbers: [111]
111,93 unequal: No Solution
Exploring Operation: 30*81=2430, Resulting Numbers: [2430]
2430,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[7, 104], Operations: ['9-2=7', '30+74=104']
Exploring Operation: 7+104=111, Resulting Numbers: [111]
111,93 unequal: No Solution
Exploring Operation: 7*104=728, Resulting Numbers: [728]
728,93 unequal: No Solution
Exploring Operation: 104-7=97, Resulting Numbers: [97]
97,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[7, 44], Operations: ['9-2=7', '74-30=44']
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,93 unequal: No Solution
Exploring Operation: 7*44=308, Resulting Numbers: [308]
308,93 unequal: No Solution
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 93:[74, 37], Operations: ['9-2=7', '30+7=37']
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 74+37=111, Resulting Numbers: [111]
111,93 unequal: No Solution
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,93 unequal: No Solution
Exploring Operation: 74*37=2738, Resulting Numbers: [2738]
2738,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[74, 23], Operations: ['9-2=7', '30-7=23']
Exploring Operation: 74-23=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 74*23=1702, Resulting Numbers: [1702]
1702,93 unequal: No Solution
Exploring Operation: 74+23=97, Resulting Numbers: [97]
97,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,4
Current State: 93:[2, 95], Operations: ['30+74=104', '104-9=95']
Exploring Operation: 2*95=190, Resulting Numbers: [190]
190,93 unequal: No Solution
Exploring Operation: 2+95=97, Resulting Numbers: [97]
97,93 unequal: No Solution
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[9, 2, 30, 74], Operations: []
Exploring Operation: 30+74=104, Resulting Numbers: [9, 2, 104]
Generated Node #0,3: 93:[9, 2, 104] Operation: 30+74=104
Moving to Node #0,3
Current State: 93:[9, 2, 104], Operations: ['30+74=104']
Exploring Operation: 104-9=95, Resulting Numbers: [2, 95]
Generated Node #0,3,4: 93:[2, 95] Operation: 104-9=95
Moving to Node #0,3,4
Current State: 93:[2, 95], Operations: ['30+74=104', '104-9=95']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.914931 | hs_5 | sum_heuristic |
[
38,
16,
8,
21
] | 35 | [
"38-16=22",
"21-8=13",
"22+13=35"
] | Current State: 35:[38, 16, 8, 21], Operations: []
Exploring Operation: 38-16=22, Resulting Numbers: [8, 21, 22]
Generated Node #2: [8, 21, 22] from Operation: 38-16=22
Current State: 35:[8, 21, 22], Operations: ['38-16=22']
Exploring Operation: 21-8=13, Resulting Numbers: [22, 13]
Generated Node #3: [22, 13] from Operation: 21-8=13
Current State: 35:[22, 13], Operations: ['38-16=22', '21-8=13']
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[38, 16, 8, 21], Operations: []
Exploring Operation: 16+21=37, Resulting Numbers: [38, 8, 37]
Generated Node #0,0: 35:[38, 8, 37] Operation: 16+21=37
Exploring Operation: 21-8=13, Resulting Numbers: [38, 16, 13]
Generated Node #0,1: 35:[38, 16, 13] Operation: 21-8=13
Exploring Operation: 8+21=29, Resulting Numbers: [38, 16, 29]
Generated Node #0,2: 35:[38, 16, 29] Operation: 8+21=29
Exploring Operation: 16-8=8, Resulting Numbers: [38, 21, 8]
Generated Node #0,3: 35:[38, 21, 8] Operation: 16-8=8
Exploring Operation: 21-16=5, Resulting Numbers: [38, 8, 5]
Generated Node #0,4: 35:[38, 8, 5] Operation: 21-16=5
Moving to Node #0,4
Current State: 35:[38, 8, 5], Operations: ['21-16=5']
Exploring Operation: 8-5=3, Resulting Numbers: [38, 3]
Generated Node #0,4,0: 35:[38, 3] Operation: 8-5=3
Exploring Operation: 38+5=43, Resulting Numbers: [8, 43]
Generated Node #0,4,1: 35:[8, 43] Operation: 38+5=43
Exploring Operation: 38-8=30, Resulting Numbers: [5, 30]
Generated Node #0,4,2: 35:[5, 30] Operation: 38-8=30
Exploring Operation: 38-5=33, Resulting Numbers: [8, 33]
Generated Node #0,4,3: 35:[8, 33] Operation: 38-5=33
Exploring Operation: 8*5=40, Resulting Numbers: [38, 40]
Generated Node #0,4,4: 35:[38, 40] Operation: 8*5=40
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 35:[8, 33], Operations: ['21-16=5', '38-5=33']
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,35 unequal: No Solution
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 35:[38, 3], Operations: ['21-16=5', '8-5=3']
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 38*3=114, Resulting Numbers: [114]
114,35 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[38, 16, 8, 21], Operations: []
Exploring Operation: 21-16=5, Resulting Numbers: [38, 8, 5]
Generated Node #0,4: 35:[38, 8, 5] Operation: 21-16=5
Moving to Node #0,4
Current State: 35:[38, 8, 5], Operations: ['21-16=5']
Exploring Operation: 8-5=3, Resulting Numbers: [38, 3]
Generated Node #0,4,0: 35:[38, 3] Operation: 8-5=3
Moving to Node #0,4,0
Current State: 35:[38, 3], Operations: ['21-16=5', '8-5=3']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
63,
82,
7,
86
] | 14 | [
"63-7=56",
"86-82=4",
"56/4=14"
] | Current State: 14:[63, 82, 7, 86], Operations: []
Exploring Operation: 63-7=56, Resulting Numbers: [82, 86, 56]
Generated Node #2: [82, 86, 56] from Operation: 63-7=56
Current State: 14:[82, 86, 56], Operations: ['63-7=56']
Exploring Operation: 86-82=4, Resulting Numbers: [56, 4]
Generated Node #3: [56, 4] from Operation: 86-82=4
Current State: 14:[56, 4], Operations: ['63-7=56', '86-82=4']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[63, 82, 7, 86], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [7, 86, 19]
Generated Node #0,0: 14:[7, 86, 19] Operation: 82-63=19
Exploring Operation: 86-82=4, Resulting Numbers: [63, 7, 4]
Generated Node #0,1: 14:[63, 7, 4] Operation: 86-82=4
Moving to Node #0,1
Current State: 14:[63, 7, 4], Operations: ['86-82=4']
Exploring Operation: 63/7=9, Resulting Numbers: [4, 9]
Generated Node #0,1,0: 14:[4, 9] Operation: 63/7=9
Exploring Operation: 63-7=56, Resulting Numbers: [4, 56]
Generated Node #0,1,1: 14:[4, 56] Operation: 63-7=56
Moving to Node #0,0
Current State: 14:[7, 86, 19], Operations: ['82-63=19']
Exploring Operation: 86-7=79, Resulting Numbers: [19, 79]
Generated Node #0,0,0: 14:[19, 79] Operation: 86-7=79
Exploring Operation: 86-19=67, Resulting Numbers: [7, 67]
Generated Node #0,0,1: 14:[7, 67] Operation: 86-19=67
Moving to Node #0,1,0
Current State: 14:[4, 9], Operations: ['86-82=4', '63/7=9']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,14 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[4, 56], Operations: ['86-82=4', '63-7=56']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,14 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[63, 82, 7, 86], Operations: []
Exploring Operation: 86-82=4, Resulting Numbers: [63, 7, 4]
Generated Node #0,1: 14:[63, 7, 4] Operation: 86-82=4
Moving to Node #0,1
Current State: 14:[63, 7, 4], Operations: ['86-82=4']
Exploring Operation: 63-7=56, Resulting Numbers: [4, 56]
Generated Node #0,1,1: 14:[4, 56] Operation: 63-7=56
Moving to Node #0,1,1
Current State: 14:[4, 56], Operations: ['86-82=4', '63-7=56']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.987847 | hs_2 | mult_heuristic |
[
25,
84,
93,
68
] | 34 | [
"84-25=59",
"93-68=25",
"59-25=34"
] | Current State: 34:[25, 84, 93, 68], Operations: []
Exploring Operation: 84-25=59, Resulting Numbers: [93, 68, 59]
Generated Node #2: [93, 68, 59] from Operation: 84-25=59
Current State: 34:[93, 68, 59], Operations: ['84-25=59']
Exploring Operation: 93-68=25, Resulting Numbers: [59, 25]
Generated Node #3: [59, 25] from Operation: 93-68=25
Current State: 34:[59, 25], Operations: ['84-25=59', '93-68=25']
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[25, 84, 93, 68], Operations: []
Exploring Operation: 93-84=9, Resulting Numbers: [25, 68, 9]
Generated Node #0,0: 34:[25, 68, 9] Operation: 93-84=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[25, 68, 9], Operations: ['93-84=9']
Exploring Operation: 68-25=43, Resulting Numbers: [9, 43]
Generated Node #0,0,0: 34:[9, 43] Operation: 68-25=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[9, 43], Operations: ['93-84=9', '68-25=43']
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[25, 84, 93, 68], Operations: []
Exploring Operation: 93-84=9, Resulting Numbers: [25, 68, 9]
Generated Node #0,0: 34:[25, 68, 9] Operation: 93-84=9
Moving to Node #0,0
Current State: 34:[25, 68, 9], Operations: ['93-84=9']
Exploring Operation: 68-25=43, Resulting Numbers: [9, 43]
Generated Node #0,0,0: 34:[9, 43] Operation: 68-25=43
Moving to Node #0,0,0
Current State: 34:[9, 43], Operations: ['93-84=9', '68-25=43']
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
47,
17,
26,
85
] | 83 | [
"85/17=5",
"26*5=130",
"130-47=83"
] | Current State: 83:[47, 17, 26, 85], Operations: []
Exploring Operation: 85/17=5, Resulting Numbers: [47, 26, 5]
Generated Node #2: [47, 26, 5] from Operation: 85/17=5
Current State: 83:[47, 26, 5], Operations: ['85/17=5']
Exploring Operation: 26*5=130, Resulting Numbers: [47, 130]
Generated Node #3: [47, 130] from Operation: 26*5=130
Current State: 83:[47, 130], Operations: ['85/17=5', '26*5=130']
Exploring Operation: 130-47=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[47, 17, 26, 85], Operations: []
Exploring Operation: 17+26=43, Resulting Numbers: [47, 85, 43]
Generated Node #0,0: 83:[47, 85, 43] Operation: 17+26=43
Exploring Operation: 47+26=73, Resulting Numbers: [17, 85, 73]
Generated Node #0,1: 83:[17, 85, 73] Operation: 47+26=73
Exploring Operation: 47+17=64, Resulting Numbers: [26, 85, 64]
Generated Node #0,2: 83:[26, 85, 64] Operation: 47+17=64
Moving to Node #0,0
Current State: 83:[47, 85, 43], Operations: ['17+26=43']
Exploring Operation: 85-43=42, Resulting Numbers: [47, 42]
Generated Node #0,0,0: 83:[47, 42] Operation: 85-43=42
Exploring Operation: 47-43=4, Resulting Numbers: [85, 4]
Generated Node #0,0,1: 83:[85, 4] Operation: 47-43=4
Exploring Operation: 47+43=90, Resulting Numbers: [85, 90]
Generated Node #0,0,2: 83:[85, 90] Operation: 47+43=90
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[85, 90], Operations: ['17+26=43', '47+43=90']
Exploring Operation: 85*90=7650, Resulting Numbers: [7650]
7650,83 unequal: No Solution
Exploring Operation: 85+90=175, Resulting Numbers: [175]
175,83 unequal: No Solution
Exploring Operation: 90-85=5, Resulting Numbers: [5]
5,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:[47, 42], Operations: ['17+26=43', '85-43=42']
Exploring Operation: 47+42=89, Resulting Numbers: [89]
89,83 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Exploring Operation: 47*42=1974, Resulting Numbers: [1974]
1974,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:[85, 4], Operations: ['17+26=43', '47-43=4']
Exploring Operation: 85+4=89, Resulting Numbers: [89]
89,83 unequal: No Solution
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,83 unequal: No Solution
Exploring Operation: 85*4=340, Resulting Numbers: [340]
340,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:[17, 85, 73], Operations: ['47+26=73']
Exploring Operation: 17+73=90, Resulting Numbers: [85, 90]
Generated Node #0,1,0: 83:[85, 90] Operation: 17+73=90
Exploring Operation: 17+85=102, Resulting Numbers: [73, 102]
Generated Node #0,1,1: 83:[73, 102] Operation: 17+85=102
Exploring Operation: 85-17=68, Resulting Numbers: [73, 68]
Generated Node #0,1,2: 83:[73, 68] Operation: 85-17=68
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[85, 90], Operations: ['47+26=73', '17+73=90']
Exploring Operation: 85*90=7650, Resulting Numbers: [7650]
7650,83 unequal: No Solution
Exploring Operation: 90-85=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Exploring Operation: 85+90=175, Resulting Numbers: [175]
175,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[73, 68], Operations: ['47+26=73', '85-17=68']
Exploring Operation: 73-68=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Exploring Operation: 73*68=4964, Resulting Numbers: [4964]
4964,83 unequal: No Solution
Exploring Operation: 73+68=141, Resulting Numbers: [141]
141,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[73, 102], Operations: ['47+26=73', '17+85=102']
Exploring Operation: 73+102=175, Resulting Numbers: [175]
175,83 unequal: No Solution
Exploring Operation: 102-73=29, Resulting Numbers: [29]
29,83 unequal: No Solution
Exploring Operation: 73*102=7446, Resulting Numbers: [7446]
7446,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 83:[26, 85, 64], Operations: ['47+17=64']
Exploring Operation: 26+85=111, Resulting Numbers: [64, 111]
Generated Node #0,2,0: 83:[64, 111] Operation: 26+85=111
Exploring Operation: 26+64=90, Resulting Numbers: [85, 90]
Generated Node #0,2,1: 83:[85, 90] Operation: 26+64=90
Exploring Operation: 85-26=59, Resulting Numbers: [64, 59]
Generated Node #0,2,2: 83:[64, 59] Operation: 85-26=59
Moving to Node #0,2,1
Current State: 83:[85, 90], Operations: ['47+17=64', '26+64=90']
Exploring Operation: 85*90=7650, Resulting Numbers: [7650]
7650,83 unequal: No Solution
Exploring Operation: 85+90=175, Resulting Numbers: [175]
175,83 unequal: No Solution
Exploring Operation: 90-85=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[64, 59], Operations: ['47+17=64', '85-26=59']
Exploring Operation: 64-59=5, Resulting Numbers: [5]
5,83 unequal: No Solution
Exploring Operation: 64+59=123, Resulting Numbers: [123]
123,83 unequal: No Solution
Exploring Operation: 64*59=3776, Resulting Numbers: [3776]
3776,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[64, 111], Operations: ['47+17=64', '26+85=111']
Exploring Operation: 64+111=175, Resulting Numbers: [175]
175,83 unequal: No Solution
Exploring Operation: 111-64=47, Resulting Numbers: [47]
47,83 unequal: No Solution
Exploring Operation: 64*111=7104, Resulting Numbers: [7104]
7104,83 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
90,
3,
5,
82
] | 55 | [
"90+3=93",
"93-82=11",
"5*11=55"
] | Current State: 55:[90, 3, 5, 82], Operations: []
Exploring Operation: 90+3=93, Resulting Numbers: [5, 82, 93]
Generated Node #2: [5, 82, 93] from Operation: 90+3=93
Current State: 55:[5, 82, 93], Operations: ['90+3=93']
Exploring Operation: 93-82=11, Resulting Numbers: [5, 11]
Generated Node #3: [5, 11] from Operation: 93-82=11
Current State: 55:[5, 11], Operations: ['90+3=93', '93-82=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[90, 3, 5, 82], Operations: []
Exploring Operation: 90-3=87, Resulting Numbers: [5, 82, 87]
Generated Node #0,0: 55:[5, 82, 87] Operation: 90-3=87
Exploring Operation: 90/5=18, Resulting Numbers: [3, 82, 18]
Generated Node #0,1: 55:[3, 82, 18] Operation: 90/5=18
Exploring Operation: 90/3=30, Resulting Numbers: [5, 82, 30]
Generated Node #0,2: 55:[5, 82, 30] Operation: 90/3=30
Exploring Operation: 90-5=85, Resulting Numbers: [3, 82, 85]
Generated Node #0,3: 55:[3, 82, 85] Operation: 90-5=85
Exploring Operation: 90-82=8, Resulting Numbers: [3, 5, 8]
Generated Node #0,4: 55:[3, 5, 8] Operation: 90-82=8
Moving to Node #0,4
Current State: 55:[3, 5, 8], Operations: ['90-82=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3, 3]
Generated Node #0,4,0: 55:[3, 3] Operation: 8-5=3
Exploring Operation: 5+8=13, Resulting Numbers: [3, 13]
Generated Node #0,4,1: 55:[3, 13] Operation: 5+8=13
Exploring Operation: 3+8=11, Resulting Numbers: [5, 11]
Generated Node #0,4,2: 55:[5, 11] Operation: 3+8=11
Exploring Operation: 3+5=8, Resulting Numbers: [8, 8]
Generated Node #0,4,3: 55:[8, 8] Operation: 3+5=8
Exploring Operation: 8-3=5, Resulting Numbers: [5, 5]
Generated Node #0,4,4: 55:[5, 5] Operation: 8-3=5
Moving to Node #0,1
Current State: 55:[3, 82, 18], Operations: ['90/5=18']
Exploring Operation: 3*18=54, Resulting Numbers: [82, 54]
Generated Node #0,1,0: 55:[82, 54] Operation: 3*18=54
Exploring Operation: 82-3=79, Resulting Numbers: [18, 79]
Generated Node #0,1,1: 55:[18, 79] Operation: 82-3=79
Exploring Operation: 18/3=6, Resulting Numbers: [82, 6]
Generated Node #0,1,2: 55:[82, 6] Operation: 18/3=6
Exploring Operation: 82-18=64, Resulting Numbers: [3, 64]
Generated Node #0,1,3: 55:[3, 64] Operation: 82-18=64
Exploring Operation: 18-3=15, Resulting Numbers: [82, 15]
Generated Node #0,1,4: 55:[82, 15] Operation: 18-3=15
Moving to Node #0,2
Current State: 55:[5, 82, 30], Operations: ['90/3=30']
Exploring Operation: 82-5=77, Resulting Numbers: [30, 77]
Generated Node #0,2,0: 55:[30, 77] Operation: 82-5=77
Exploring Operation: 5+30=35, Resulting Numbers: [82, 35]
Generated Node #0,2,1: 55:[82, 35] Operation: 5+30=35
Exploring Operation: 82-30=52, Resulting Numbers: [5, 52]
Generated Node #0,2,2: 55:[5, 52] Operation: 82-30=52
Exploring Operation: 30/5=6, Resulting Numbers: [82, 6]
Generated Node #0,2,3: 55:[82, 6] Operation: 30/5=6
Exploring Operation: 30-5=25, Resulting Numbers: [82, 25]
Generated Node #0,2,4: 55:[82, 25] Operation: 30-5=25
Moving to Node #0,0
Current State: 55:[5, 82, 87], Operations: ['90-3=87']
Exploring Operation: 5+87=92, Resulting Numbers: [82, 92]
Generated Node #0,0,0: 55:[82, 92] Operation: 5+87=92
Exploring Operation: 87-5=82, Resulting Numbers: [82, 82]
Generated Node #0,0,1: 55:[82, 82] Operation: 87-5=82
Exploring Operation: 87-82=5, Resulting Numbers: [5, 5]
Generated Node #0,0,2: 55:[5, 5] Operation: 87-82=5
Exploring Operation: 5+82=87, Resulting Numbers: [87, 87]
Generated Node #0,0,3: 55:[87, 87] Operation: 5+82=87
Exploring Operation: 82-5=77, Resulting Numbers: [87, 77]
Generated Node #0,0,4: 55:[87, 77] Operation: 82-5=77
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 55:[5, 5], Operations: ['90-3=87', '87-82=5']
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,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,0,1
Current State: 55:[82, 82], Operations: ['90-3=87', '87-5=82']
Exploring Operation: 82*82=6724, Resulting Numbers: [6724]
6724,55 unequal: No Solution
Exploring Operation: 82/82=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 82-82=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 82+82=164, Resulting Numbers: [164]
164,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,0,4
Current State: 55:[87, 77], Operations: ['90-3=87', '82-5=77']
Exploring Operation: 87*77=6699, Resulting Numbers: [6699]
6699,55 unequal: No Solution
Exploring Operation: 87-77=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 87+77=164, Resulting Numbers: [164]
164,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,0,0
Current State: 55:[82, 92], Operations: ['90-3=87', '5+87=92']
Exploring Operation: 82*92=7544, Resulting Numbers: [7544]
7544,55 unequal: No Solution
Exploring Operation: 82+92=174, Resulting Numbers: [174]
174,55 unequal: No Solution
Exploring Operation: 92-82=10, Resulting Numbers: [10]
10,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,0,3
Current State: 55:[87, 87], Operations: ['90-3=87', '5+82=87']
Exploring Operation: 87-87=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 87+87=174, Resulting Numbers: [174]
174,55 unequal: No Solution
Exploring Operation: 87*87=7569, Resulting Numbers: [7569]
7569,55 unequal: No Solution
Exploring Operation: 87/87=1, Resulting Numbers: [1]
1,55 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: 55:[3, 82, 85], Operations: ['90-5=85']
Exploring Operation: 3+82=85, Resulting Numbers: [85, 85]
Generated Node #0,3,0: 55:[85, 85] Operation: 3+82=85
Exploring Operation: 3+85=88, Resulting Numbers: [82, 88]
Generated Node #0,3,1: 55:[82, 88] Operation: 3+85=88
Exploring Operation: 82-3=79, Resulting Numbers: [85, 79]
Generated Node #0,3,2: 55:[85, 79] Operation: 82-3=79
Exploring Operation: 85-3=82, Resulting Numbers: [82, 82]
Generated Node #0,3,3: 55:[82, 82] Operation: 85-3=82
Exploring Operation: 85-82=3, Resulting Numbers: [3, 3]
Generated Node #0,3,4: 55:[3, 3] Operation: 85-82=3
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 55:[3, 3], Operations: ['90-5=85', '85-82=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 55:[85, 79], Operations: ['90-5=85', '82-3=79']
Exploring Operation: 85+79=164, Resulting Numbers: [164]
164,55 unequal: No Solution
Exploring Operation: 85-79=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 85*79=6715, Resulting Numbers: [6715]
6715,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 55:[82, 82], Operations: ['90-5=85', '85-3=82']
Exploring Operation: 82/82=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 82*82=6724, Resulting Numbers: [6724]
6724,55 unequal: No Solution
Exploring Operation: 82-82=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 82+82=164, Resulting Numbers: [164]
164,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 55:[85, 85], Operations: ['90-5=85', '3+82=85']
Exploring Operation: 85*85=7225, Resulting Numbers: [7225]
7225,55 unequal: No Solution
Exploring Operation: 85/85=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 85-85=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 85+85=170, Resulting Numbers: [170]
170,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 55:[82, 88], Operations: ['90-5=85', '3+85=88']
Exploring Operation: 88-82=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 82*88=7216, Resulting Numbers: [7216]
7216,55 unequal: No Solution
Exploring Operation: 82+88=170, Resulting Numbers: [170]
170,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,2
Current State: 55:[5, 11], Operations: ['90-82=8', '3+8=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[90, 3, 5, 82], Operations: []
Exploring Operation: 90-82=8, Resulting Numbers: [3, 5, 8]
Generated Node #0,4: 55:[3, 5, 8] Operation: 90-82=8
Moving to Node #0,4
Current State: 55:[3, 5, 8], Operations: ['90-82=8']
Exploring Operation: 3+8=11, Resulting Numbers: [5, 11]
Generated Node #0,4,2: 55:[5, 11] Operation: 3+8=11
Moving to Node #0,4,2
Current State: 55:[5, 11], Operations: ['90-82=8', '3+8=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 0.936632 | hs_5 | mult_heuristic |
[
63,
61,
38,
67
] | 58 | [
"63-61=2",
"67-38=29",
"2*29=58"
] | Current State: 58:[63, 61, 38, 67], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [38, 67, 2]
Generated Node #2: [38, 67, 2] from Operation: 63-61=2
Current State: 58:[38, 67, 2], Operations: ['63-61=2']
Exploring Operation: 67-38=29, Resulting Numbers: [2, 29]
Generated Node #3: [2, 29] from Operation: 67-38=29
Current State: 58:[2, 29], Operations: ['63-61=2', '67-38=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[63, 61, 38, 67], Operations: []
Exploring Operation: 63-38=25, Resulting Numbers: [61, 67, 25]
Generated Node #0,0: 58:[61, 67, 25] Operation: 63-38=25
Exploring Operation: 67-63=4, Resulting Numbers: [61, 38, 4]
Generated Node #0,1: 58:[61, 38, 4] Operation: 67-63=4
Exploring Operation: 63-61=2, Resulting Numbers: [38, 67, 2]
Generated Node #0,2: 58:[38, 67, 2] Operation: 63-61=2
Exploring Operation: 67-38=29, Resulting Numbers: [63, 61, 29]
Generated Node #0,3: 58:[63, 61, 29] Operation: 67-38=29
Exploring Operation: 67-61=6, Resulting Numbers: [63, 38, 6]
Generated Node #0,4: 58:[63, 38, 6] Operation: 67-61=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 58:[63, 61, 29], Operations: ['67-38=29']
Exploring Operation: 61-29=32, Resulting Numbers: [63, 32]
Generated Node #0,3,0: 58:[63, 32] Operation: 61-29=32
Exploring Operation: 63-61=2, Resulting Numbers: [29, 2]
Generated Node #0,3,1: 58:[29, 2] Operation: 63-61=2
Exploring Operation: 63+29=92, Resulting Numbers: [61, 92]
Generated Node #0,3,2: 58:[61, 92] Operation: 63+29=92
Exploring Operation: 63-29=34, Resulting Numbers: [61, 34]
Generated Node #0,3,3: 58:[61, 34] Operation: 63-29=34
Exploring Operation: 61+29=90, Resulting Numbers: [63, 90]
Generated Node #0,3,4: 58:[63, 90] Operation: 61+29=90
Moving to Node #0,3,1
Current State: 58:[29, 2], Operations: ['67-38=29', '63-61=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,58 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[63, 61, 38, 67], Operations: []
Exploring Operation: 67-38=29, Resulting Numbers: [63, 61, 29]
Generated Node #0,3: 58:[63, 61, 29] Operation: 67-38=29
Moving to Node #0,3
Current State: 58:[63, 61, 29], Operations: ['67-38=29']
Exploring Operation: 63-61=2, Resulting Numbers: [29, 2]
Generated Node #0,3,1: 58:[29, 2] Operation: 63-61=2
Moving to Node #0,3,1
Current State: 58:[29, 2], Operations: ['67-38=29', '63-61=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
74,
31,
29,
26
] | 98 | [
"74-31=43",
"29+26=55",
"43+55=98"
] | Current State: 98:[74, 31, 29, 26], Operations: []
Exploring Operation: 74-31=43, Resulting Numbers: [29, 26, 43]
Generated Node #2: [29, 26, 43] from Operation: 74-31=43
Current State: 98:[29, 26, 43], Operations: ['74-31=43']
Exploring Operation: 29+26=55, Resulting Numbers: [43, 55]
Generated Node #3: [43, 55] from Operation: 29+26=55
Current State: 98:[43, 55], Operations: ['74-31=43', '29+26=55']
Exploring Operation: 43+55=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[74, 31, 29, 26], Operations: []
Exploring Operation: 74-29=45, Resulting Numbers: [31, 26, 45]
Generated Node #0,0: 98:[31, 26, 45] Operation: 74-29=45
Exploring Operation: 74-31=43, Resulting Numbers: [29, 26, 43]
Generated Node #0,1: 98:[29, 26, 43] Operation: 74-31=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[31, 26, 45], Operations: ['74-29=45']
Exploring Operation: 31-26=5, Resulting Numbers: [45, 5]
Generated Node #0,0,0: 98:[45, 5] Operation: 31-26=5
Exploring Operation: 31+26=57, Resulting Numbers: [45, 57]
Generated Node #0,0,1: 98:[45, 57] Operation: 31+26=57
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[45, 5], Operations: ['74-29=45', '31-26=5']
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,98 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[45, 57], Operations: ['74-29=45', '31+26=57']
Exploring Operation: 45+57=102, Resulting Numbers: [102]
102,98 unequal: No Solution
Exploring Operation: 57-45=12, Resulting Numbers: [12]
12,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[29, 26, 43], Operations: ['74-31=43']
Exploring Operation: 29+26=55, Resulting Numbers: [43, 55]
Generated Node #0,1,0: 98:[43, 55] Operation: 29+26=55
Exploring Operation: 29-26=3, Resulting Numbers: [43, 3]
Generated Node #0,1,1: 98:[43, 3] Operation: 29-26=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[43, 3], Operations: ['74-31=43', '29-26=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[43, 55], Operations: ['74-31=43', '29+26=55']
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 43+55=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[74, 31, 29, 26], Operations: []
Exploring Operation: 74-31=43, Resulting Numbers: [29, 26, 43]
Generated Node #0,1: 98:[29, 26, 43] Operation: 74-31=43
Moving to Node #0,1
Current State: 98:[29, 26, 43], Operations: ['74-31=43']
Exploring Operation: 29+26=55, Resulting Numbers: [43, 55]
Generated Node #0,1,0: 98:[43, 55] Operation: 29+26=55
Moving to Node #0,1,0
Current State: 98:[43, 55], Operations: ['74-31=43', '29+26=55']
Exploring Operation: 43+55=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
16,
93,
21,
61
] | 19 | [
"93-61=32",
"32/16=2",
"21-2=19"
] | Current State: 19:[16, 93, 21, 61], Operations: []
Exploring Operation: 93-61=32, Resulting Numbers: [16, 21, 32]
Generated Node #2: [16, 21, 32] from Operation: 93-61=32
Current State: 19:[16, 21, 32], Operations: ['93-61=32']
Exploring Operation: 32/16=2, Resulting Numbers: [21, 2]
Generated Node #3: [21, 2] from Operation: 32/16=2
Current State: 19:[21, 2], Operations: ['93-61=32', '32/16=2']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[16, 93, 21, 61], Operations: []
Exploring Operation: 93-61=32, Resulting Numbers: [16, 21, 32]
Generated Node #0,0: 19:[16, 21, 32] Operation: 93-61=32
Exploring Operation: 93-21=72, Resulting Numbers: [16, 61, 72]
Generated Node #0,1: 19:[16, 61, 72] Operation: 93-21=72
Moving to Node #0,0
Current State: 19:[16, 21, 32], Operations: ['93-61=32']
Exploring Operation: 32-21=11, Resulting Numbers: [16, 11]
Generated Node #0,0,0: 19:[16, 11] Operation: 32-21=11
Exploring Operation: 32-16=16, Resulting Numbers: [21, 16]
Generated Node #0,0,1: 19:[21, 16] Operation: 32-16=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[21, 16], Operations: ['93-61=32', '32-16=16']
Exploring Operation: 21+16=37, Resulting Numbers: [37]
37,19 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[16, 11], Operations: ['93-61=32', '32-21=11']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,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:[16, 61, 72], Operations: ['93-21=72']
Exploring Operation: 72-61=11, Resulting Numbers: [16, 11]
Generated Node #0,1,0: 19:[16, 11] Operation: 72-61=11
Exploring Operation: 61-16=45, Resulting Numbers: [72, 45]
Generated Node #0,1,1: 19:[72, 45] Operation: 61-16=45
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[16, 11], Operations: ['93-21=72', '72-61=11']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,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:[72, 45], Operations: ['93-21=72', '61-16=45']
Exploring Operation: 72-45=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 72+45=117, Resulting Numbers: [117]
117,19 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 |
[
71,
23,
10,
67
] | 60 | [
"71+67=138",
"138/23=6",
"10*6=60"
] | Current State: 60:[71, 23, 10, 67], Operations: []
Exploring Operation: 71+67=138, Resulting Numbers: [23, 10, 138]
Generated Node #2: [23, 10, 138] from Operation: 71+67=138
Current State: 60:[23, 10, 138], Operations: ['71+67=138']
Exploring Operation: 138/23=6, Resulting Numbers: [10, 6]
Generated Node #3: [10, 6] from Operation: 138/23=6
Current State: 60:[10, 6], Operations: ['71+67=138', '138/23=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[71, 23, 10, 67], Operations: []
Exploring Operation: 71-23=48, Resulting Numbers: [10, 67, 48]
Generated Node #0,0: 60:[10, 67, 48] Operation: 71-23=48
Exploring Operation: 71-67=4, Resulting Numbers: [23, 10, 4]
Generated Node #0,1: 60:[23, 10, 4] Operation: 71-67=4
Exploring Operation: 23-10=13, Resulting Numbers: [71, 67, 13]
Generated Node #0,2: 60:[71, 67, 13] Operation: 23-10=13
Exploring Operation: 67-10=57, Resulting Numbers: [71, 23, 57]
Generated Node #0,3: 60:[71, 23, 57] Operation: 67-10=57
Exploring Operation: 71-10=61, Resulting Numbers: [23, 67, 61]
Generated Node #0,4: 60:[23, 67, 61] Operation: 71-10=61
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[23, 10, 4], Operations: ['71-67=4']
Exploring Operation: 23-4=19, Resulting Numbers: [10, 19]
Generated Node #0,1,0: 60:[10, 19] Operation: 23-4=19
Exploring Operation: 23+4=27, Resulting Numbers: [10, 27]
Generated Node #0,1,1: 60:[10, 27] Operation: 23+4=27
Exploring Operation: 23+10=33, Resulting Numbers: [4, 33]
Generated Node #0,1,2: 60:[4, 33] Operation: 23+10=33
Exploring Operation: 10-4=6, Resulting Numbers: [23, 6]
Generated Node #0,1,3: 60:[23, 6] Operation: 10-4=6
Exploring Operation: 23-10=13, Resulting Numbers: [4, 13]
Generated Node #0,1,4: 60:[4, 13] Operation: 23-10=13
Moving to Node #0,1,0
Current State: 60:[10, 19], Operations: ['71-67=4', '23-4=19']
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,60 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Moving to Node #0,1,4
Current State: 60:[4, 13], Operations: ['71-67=4', '23-10=13']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[10, 27], Operations: ['71-67=4', '23+4=27']
Exploring Operation: 10*27=270, Resulting Numbers: [270]
270,60 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 10+27=37, Resulting Numbers: [37]
37,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[4, 33], Operations: ['71-67=4', '23+10=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,60 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,60 unequal: No Solution
Moving to Node #0,1,3
Current State: 60:[23, 6], Operations: ['71-67=4', '10-4=6']
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,60 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 60:[23, 67, 61], Operations: ['71-10=61']
Exploring Operation: 23+67=90, Resulting Numbers: [61, 90]
Generated Node #0,4,0: 60:[61, 90] Operation: 23+67=90
Exploring Operation: 61-23=38, Resulting Numbers: [67, 38]
Generated Node #0,4,1: 60:[67, 38] Operation: 61-23=38
Exploring Operation: 23+61=84, Resulting Numbers: [67, 84]
Generated Node #0,4,2: 60:[67, 84] Operation: 23+61=84
Exploring Operation: 67-61=6, Resulting Numbers: [23, 6]
Generated Node #0,4,3: 60:[23, 6] Operation: 67-61=6
Exploring Operation: 67-23=44, Resulting Numbers: [61, 44]
Generated Node #0,4,4: 60:[61, 44] Operation: 67-23=44
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 60:[23, 6], Operations: ['71-10=61', '67-61=6']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 60:[67, 38], Operations: ['71-10=61', '61-23=38']
Exploring Operation: 67+38=105, Resulting Numbers: [105]
105,60 unequal: No Solution
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 67*38=2546, Resulting Numbers: [2546]
2546,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 60:[61, 44], Operations: ['71-10=61', '67-23=44']
Exploring Operation: 61+44=105, Resulting Numbers: [105]
105,60 unequal: No Solution
Exploring Operation: 61*44=2684, Resulting Numbers: [2684]
2684,60 unequal: No Solution
Exploring Operation: 61-44=17, Resulting Numbers: [17]
17,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 60:[61, 90], Operations: ['71-10=61', '23+67=90']
Exploring Operation: 61+90=151, Resulting Numbers: [151]
151,60 unequal: No Solution
Exploring Operation: 90-61=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 61*90=5490, Resulting Numbers: [5490]
5490,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 60:[67, 84], Operations: ['71-10=61', '23+61=84']
Exploring Operation: 67+84=151, Resulting Numbers: [151]
151,60 unequal: No Solution
Exploring Operation: 67*84=5628, Resulting Numbers: [5628]
5628,60 unequal: No Solution
Exploring Operation: 84-67=17, Resulting Numbers: [17]
17,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[71, 23, 57], Operations: ['67-10=57']
Exploring Operation: 57-23=34, Resulting Numbers: [71, 34]
Generated Node #0,3,0: 60:[71, 34] Operation: 57-23=34
Exploring Operation: 71-57=14, Resulting Numbers: [23, 14]
Generated Node #0,3,1: 60:[23, 14] Operation: 71-57=14
Exploring Operation: 23+57=80, Resulting Numbers: [71, 80]
Generated Node #0,3,2: 60:[71, 80] Operation: 23+57=80
Exploring Operation: 71+23=94, Resulting Numbers: [57, 94]
Generated Node #0,3,3: 60:[57, 94] Operation: 71+23=94
Exploring Operation: 71-23=48, Resulting Numbers: [57, 48]
Generated Node #0,3,4: 60:[57, 48] Operation: 71-23=48
Moving to Node #0,3,1
Current State: 60:[23, 14], Operations: ['67-10=57', '71-57=14']
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,60 unequal: No Solution
Exploring Operation: 23*14=322, Resulting Numbers: [322]
322,60 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Moving to Node #0,3,4
Current State: 60:[57, 48], Operations: ['67-10=57', '71-23=48']
Exploring Operation: 57*48=2736, Resulting Numbers: [2736]
2736,60 unequal: No Solution
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 57+48=105, Resulting Numbers: [105]
105,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[71, 34], Operations: ['67-10=57', '57-23=34']
Exploring Operation: 71*34=2414, Resulting Numbers: [2414]
2414,60 unequal: No Solution
Exploring Operation: 71-34=37, Resulting Numbers: [37]
37,60 unequal: No Solution
Exploring Operation: 71+34=105, Resulting Numbers: [105]
105,60 unequal: No Solution
Moving to Node #0,3,2
Current State: 60:[71, 80], Operations: ['67-10=57', '23+57=80']
Exploring Operation: 71*80=5680, Resulting Numbers: [5680]
5680,60 unequal: No Solution
Exploring Operation: 80-71=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 71+80=151, Resulting Numbers: [151]
151,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[57, 94], Operations: ['67-10=57', '71+23=94']
Exploring Operation: 57+94=151, Resulting Numbers: [151]
151,60 unequal: No Solution
Exploring Operation: 94-57=37, Resulting Numbers: [37]
37,60 unequal: No Solution
Exploring Operation: 57*94=5358, Resulting Numbers: [5358]
5358,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[10, 67, 48], Operations: ['71-23=48']
Exploring Operation: 10+48=58, Resulting Numbers: [67, 58]
Generated Node #0,0,0: 60:[67, 58] Operation: 10+48=58
Exploring Operation: 67-48=19, Resulting Numbers: [10, 19]
Generated Node #0,0,1: 60:[10, 19] Operation: 67-48=19
Exploring Operation: 48-10=38, Resulting Numbers: [67, 38]
Generated Node #0,0,2: 60:[67, 38] Operation: 48-10=38
Exploring Operation: 67-10=57, Resulting Numbers: [48, 57]
Generated Node #0,0,3: 60:[48, 57] Operation: 67-10=57
Exploring Operation: 10+67=77, Resulting Numbers: [48, 77]
Generated Node #0,0,4: 60:[48, 77] Operation: 10+67=77
Moving to Node #0,0,1
Current State: 60:[10, 19], Operations: ['71-23=48', '67-48=19']
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,60 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[67, 58], Operations: ['71-23=48', '10+48=58']
Exploring Operation: 67-58=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 67+58=125, Resulting Numbers: [125]
125,60 unequal: No Solution
Exploring Operation: 67*58=3886, Resulting Numbers: [3886]
3886,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[67, 38], Operations: ['71-23=48', '48-10=38']
Exploring Operation: 67*38=2546, Resulting Numbers: [2546]
2546,60 unequal: No Solution
Exploring Operation: 67+38=105, Resulting Numbers: [105]
105,60 unequal: No Solution
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[48, 57], Operations: ['71-23=48', '67-10=57']
Exploring Operation: 48*57=2736, Resulting Numbers: [2736]
2736,60 unequal: No Solution
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 48+57=105, Resulting Numbers: [105]
105,60 unequal: No Solution
Moving to Node #0,0,4
Current State: 60:[48, 77], Operations: ['71-23=48', '10+67=77']
Exploring Operation: 48+77=125, Resulting Numbers: [125]
125,60 unequal: No Solution
Exploring Operation: 48*77=3696, Resulting Numbers: [3696]
3696,60 unequal: No Solution
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[71, 67, 13], Operations: ['23-10=13']
Exploring Operation: 71-67=4, Resulting Numbers: [13, 4]
Generated Node #0,2,0: 60:[13, 4] Operation: 71-67=4
Exploring Operation: 71+13=84, Resulting Numbers: [67, 84]
Generated Node #0,2,1: 60:[67, 84] Operation: 71+13=84
Exploring Operation: 67-13=54, Resulting Numbers: [71, 54]
Generated Node #0,2,2: 60:[71, 54] Operation: 67-13=54
Exploring Operation: 67+13=80, Resulting Numbers: [71, 80]
Generated Node #0,2,3: 60:[71, 80] Operation: 67+13=80
Exploring Operation: 71-13=58, Resulting Numbers: [67, 58]
Generated Node #0,2,4: 60:[67, 58] Operation: 71-13=58
Moving to Node #0,2,0
Current State: 60:[13, 4], Operations: ['23-10=13', '71-67=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,60 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Moving to Node #0,2,4
Current State: 60:[67, 58], Operations: ['23-10=13', '71-13=58']
Exploring Operation: 67-58=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 67+58=125, Resulting Numbers: [125]
125,60 unequal: No Solution
Exploring Operation: 67*58=3886, Resulting Numbers: [3886]
3886,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[71, 54], Operations: ['23-10=13', '67-13=54']
Exploring Operation: 71*54=3834, Resulting Numbers: [3834]
3834,60 unequal: No Solution
Exploring Operation: 71+54=125, Resulting Numbers: [125]
125,60 unequal: No Solution
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[67, 84], Operations: ['23-10=13', '71+13=84']
Exploring Operation: 84-67=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 67+84=151, Resulting Numbers: [151]
151,60 unequal: No Solution
Exploring Operation: 67*84=5628, Resulting Numbers: [5628]
5628,60 unequal: No Solution
Moving to Node #0,2,3
Current State: 60:[71, 80], Operations: ['23-10=13', '67+13=80']
Exploring Operation: 71*80=5680, Resulting Numbers: [5680]
5680,60 unequal: No Solution
Exploring Operation: 71+80=151, Resulting Numbers: [151]
151,60 unequal: No Solution
Exploring Operation: 80-71=9, Resulting Numbers: [9]
9,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
47,
61,
26,
65
] | 53 | [
"61-47=14",
"65-26=39",
"14+39=53"
] | Current State: 53:[47, 61, 26, 65], Operations: []
Exploring Operation: 61-47=14, Resulting Numbers: [26, 65, 14]
Generated Node #2: [26, 65, 14] from Operation: 61-47=14
Current State: 53:[26, 65, 14], Operations: ['61-47=14']
Exploring Operation: 65-26=39, Resulting Numbers: [14, 39]
Generated Node #3: [14, 39] from Operation: 65-26=39
Current State: 53:[14, 39], Operations: ['61-47=14', '65-26=39']
Exploring Operation: 14+39=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[47, 61, 26, 65], Operations: []
Exploring Operation: 61+26=87, Resulting Numbers: [47, 65, 87]
Generated Node #0,0: 53:[47, 65, 87] Operation: 61+26=87
Exploring Operation: 61-26=35, Resulting Numbers: [47, 65, 35]
Generated Node #0,1: 53:[47, 65, 35] Operation: 61-26=35
Exploring Operation: 47-26=21, Resulting Numbers: [61, 65, 21]
Generated Node #0,2: 53:[61, 65, 21] Operation: 47-26=21
Exploring Operation: 47+26=73, Resulting Numbers: [61, 65, 73]
Generated Node #0,3: 53:[61, 65, 73] Operation: 47+26=73
Exploring Operation: 65-26=39, Resulting Numbers: [47, 61, 39]
Generated Node #0,4: 53:[47, 61, 39] Operation: 65-26=39
Start Sub Search at level 1: Moving to Node #0,4
Current State: 53:[47, 61, 39], Operations: ['65-26=39']
Exploring Operation: 61+39=100, Resulting Numbers: [47, 100]
Generated Node #0,4,0: 53:[47, 100] Operation: 61+39=100
Exploring Operation: 47-39=8, Resulting Numbers: [61, 8]
Generated Node #0,4,1: 53:[61, 8] Operation: 47-39=8
Exploring Operation: 47+39=86, Resulting Numbers: [61, 86]
Generated Node #0,4,2: 53:[61, 86] Operation: 47+39=86
Exploring Operation: 61-47=14, Resulting Numbers: [39, 14]
Generated Node #0,4,3: 53:[39, 14] Operation: 61-47=14
Exploring Operation: 61-39=22, Resulting Numbers: [47, 22]
Generated Node #0,4,4: 53:[47, 22] Operation: 61-39=22
Moving to Node #0,4,4
Current State: 53:[47, 22], Operations: ['65-26=39', '61-39=22']
Exploring Operation: 47*22=1034, Resulting Numbers: [1034]
1034,53 unequal: No Solution
Exploring Operation: 47+22=69, Resulting Numbers: [69]
69,53 unequal: No Solution
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,53 unequal: No Solution
Moving to Node #0,4,2
Current State: 53:[61, 86], Operations: ['65-26=39', '47+39=86']
Exploring Operation: 61+86=147, Resulting Numbers: [147]
147,53 unequal: No Solution
Exploring Operation: 86-61=25, Resulting Numbers: [25]
25,53 unequal: No Solution
Exploring Operation: 61*86=5246, Resulting Numbers: [5246]
5246,53 unequal: No Solution
Moving to Node #0,4,0
Current State: 53:[47, 100], Operations: ['65-26=39', '61+39=100']
Exploring Operation: 100-47=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[47, 61, 26, 65], Operations: []
Exploring Operation: 65-26=39, Resulting Numbers: [47, 61, 39]
Generated Node #0,4: 53:[47, 61, 39] Operation: 65-26=39
Moving to Node #0,4
Current State: 53:[47, 61, 39], Operations: ['65-26=39']
Exploring Operation: 61+39=100, Resulting Numbers: [47, 100]
Generated Node #0,4,0: 53:[47, 100] Operation: 61+39=100
Moving to Node #0,4,0
Current State: 53:[47, 100], Operations: ['65-26=39', '61+39=100']
Exploring Operation: 100-47=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
9,
15,
47,
37
] | 78 | [
"15-9=6",
"47+37=84",
"84-6=78"
] | Current State: 78:[9, 15, 47, 37], Operations: []
Exploring Operation: 15-9=6, Resulting Numbers: [47, 37, 6]
Generated Node #2: [47, 37, 6] from Operation: 15-9=6
Current State: 78:[47, 37, 6], Operations: ['15-9=6']
Exploring Operation: 47+37=84, Resulting Numbers: [6, 84]
Generated Node #3: [6, 84] from Operation: 47+37=84
Current State: 78:[6, 84], Operations: ['15-9=6', '47+37=84']
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[9, 15, 47, 37], Operations: []
Exploring Operation: 47-9=38, Resulting Numbers: [15, 37, 38]
Generated Node #0,0: 78:[15, 37, 38] Operation: 47-9=38
Exploring Operation: 15-9=6, Resulting Numbers: [47, 37, 6]
Generated Node #0,1: 78:[47, 37, 6] Operation: 15-9=6
Exploring Operation: 47-37=10, Resulting Numbers: [9, 15, 10]
Generated Node #0,2: 78:[9, 15, 10] Operation: 47-37=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[15, 37, 38], Operations: ['47-9=38']
Exploring Operation: 38-15=23, Resulting Numbers: [37, 23]
Generated Node #0,0,0: 78:[37, 23] Operation: 38-15=23
Exploring Operation: 37-15=22, Resulting Numbers: [38, 22]
Generated Node #0,0,1: 78:[38, 22] Operation: 37-15=22
Exploring Operation: 38-37=1, Resulting Numbers: [15, 1]
Generated Node #0,0,2: 78:[15, 1] Operation: 38-37=1
Moving to Node #0,0,2
Current State: 78:[15, 1], Operations: ['47-9=38', '38-37=1']
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,78 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,78 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[37, 23], Operations: ['47-9=38', '38-15=23']
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Exploring Operation: 37*23=851, Resulting Numbers: [851]
851,78 unequal: No Solution
Exploring Operation: 37+23=60, Resulting Numbers: [60]
60,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[38, 22], Operations: ['47-9=38', '37-15=22']
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,78 unequal: No Solution
Exploring Operation: 38*22=836, Resulting Numbers: [836]
836,78 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[9, 15, 10], Operations: ['47-37=10']
Exploring Operation: 15-9=6, Resulting Numbers: [10, 6]
Generated Node #0,2,0: 78:[10, 6] Operation: 15-9=6
Exploring Operation: 15+10=25, Resulting Numbers: [9, 25]
Generated Node #0,2,1: 78:[9, 25] Operation: 15+10=25
Exploring Operation: 10-9=1, Resulting Numbers: [15, 1]
Generated Node #0,2,2: 78:[15, 1] Operation: 10-9=1
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 78:[10, 6], Operations: ['47-37=10', '15-9=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,78 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 78:[15, 1], Operations: ['47-37=10', '10-9=1']
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,78 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 78:[9, 25], Operations: ['47-37=10', '15+10=25']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 9*25=225, Resulting Numbers: [225]
225,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[47, 37, 6], Operations: ['15-9=6']
Exploring Operation: 47-6=41, Resulting Numbers: [37, 41]
Generated Node #0,1,0: 78:[37, 41] Operation: 47-6=41
Exploring Operation: 47+37=84, Resulting Numbers: [6, 84]
Generated Node #0,1,1: 78:[6, 84] Operation: 47+37=84
Exploring Operation: 47-37=10, Resulting Numbers: [6, 10]
Generated Node #0,1,2: 78:[6, 10] Operation: 47-37=10
Moving to Node #0,1,2
Current State: 78:[6, 10], Operations: ['15-9=6', '47-37=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,78 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Moving to Node #0,1,0
Current State: 78:[37, 41], Operations: ['15-9=6', '47-6=41']
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[9, 15, 47, 37], Operations: []
Exploring Operation: 15-9=6, Resulting Numbers: [47, 37, 6]
Generated Node #0,1: 78:[47, 37, 6] Operation: 15-9=6
Moving to Node #0,1
Current State: 78:[47, 37, 6], Operations: ['15-9=6']
Exploring Operation: 47-6=41, Resulting Numbers: [37, 41]
Generated Node #0,1,0: 78:[37, 41] Operation: 47-6=41
Moving to Node #0,1,0
Current State: 78:[37, 41], Operations: ['15-9=6', '47-6=41']
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_3 | sum_heuristic |
[
45,
98,
87,
40
] | 74 | [
"98-45=53",
"87+40=127",
"127-53=74"
] | Current State: 74:[45, 98, 87, 40], Operations: []
Exploring Operation: 98-45=53, Resulting Numbers: [87, 40, 53]
Generated Node #2: [87, 40, 53] from Operation: 98-45=53
Current State: 74:[87, 40, 53], Operations: ['98-45=53']
Exploring Operation: 87+40=127, Resulting Numbers: [53, 127]
Generated Node #3: [53, 127] from Operation: 87+40=127
Current State: 74:[53, 127], Operations: ['98-45=53', '87+40=127']
Exploring Operation: 127-53=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[45, 98, 87, 40], Operations: []
Exploring Operation: 87-45=42, Resulting Numbers: [98, 40, 42]
Generated Node #0,0: 74:[98, 40, 42] Operation: 87-45=42
Exploring Operation: 98-45=53, Resulting Numbers: [87, 40, 53]
Generated Node #0,1: 74:[87, 40, 53] Operation: 98-45=53
Exploring Operation: 98-40=58, Resulting Numbers: [45, 87, 58]
Generated Node #0,2: 74:[45, 87, 58] Operation: 98-40=58
Exploring Operation: 98-87=11, Resulting Numbers: [45, 40, 11]
Generated Node #0,3: 74:[45, 40, 11] Operation: 98-87=11
Exploring Operation: 45-40=5, Resulting Numbers: [98, 87, 5]
Generated Node #0,4: 74:[98, 87, 5] Operation: 45-40=5
Moving to Node #0,3
Current State: 74:[45, 40, 11], Operations: ['98-87=11']
Exploring Operation: 45+11=56, Resulting Numbers: [40, 56]
Generated Node #0,3,0: 74:[40, 56] Operation: 45+11=56
Exploring Operation: 40-11=29, Resulting Numbers: [45, 29]
Generated Node #0,3,1: 74:[45, 29] Operation: 40-11=29
Exploring Operation: 45+40=85, Resulting Numbers: [11, 85]
Generated Node #0,3,2: 74:[11, 85] Operation: 45+40=85
Exploring Operation: 45-40=5, Resulting Numbers: [11, 5]
Generated Node #0,3,3: 74:[11, 5] Operation: 45-40=5
Exploring Operation: 45-11=34, Resulting Numbers: [40, 34]
Generated Node #0,3,4: 74:[40, 34] Operation: 45-11=34
Moving to Node #0,1
Current State: 74:[87, 40, 53], Operations: ['98-45=53']
Exploring Operation: 87+40=127, Resulting Numbers: [53, 127]
Generated Node #0,1,0: 74:[53, 127] Operation: 87+40=127
Exploring Operation: 53-40=13, Resulting Numbers: [87, 13]
Generated Node #0,1,1: 74:[87, 13] Operation: 53-40=13
Exploring Operation: 40+53=93, Resulting Numbers: [87, 93]
Generated Node #0,1,2: 74:[87, 93] Operation: 40+53=93
Exploring Operation: 87-53=34, Resulting Numbers: [40, 34]
Generated Node #0,1,3: 74:[40, 34] Operation: 87-53=34
Exploring Operation: 87-40=47, Resulting Numbers: [53, 47]
Generated Node #0,1,4: 74:[53, 47] Operation: 87-40=47
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 74:[40, 34], Operations: ['98-45=53', '87-53=34']
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 40*34=1360, Resulting Numbers: [1360]
1360,74 unequal: No Solution
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[45, 98, 87, 40], Operations: []
Exploring Operation: 98-45=53, Resulting Numbers: [87, 40, 53]
Generated Node #0,1: 74:[87, 40, 53] Operation: 98-45=53
Moving to Node #0,1
Current State: 74:[87, 40, 53], Operations: ['98-45=53']
Exploring Operation: 87-53=34, Resulting Numbers: [40, 34]
Generated Node #0,1,3: 74:[40, 34] Operation: 87-53=34
Moving to Node #0,1,3
Current State: 74:[40, 34], Operations: ['98-45=53', '87-53=34']
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
34,
50,
32,
1
] | 50 | [
"34-32=2",
"2-1=1",
"50*1=50"
] | Current State: 50:[34, 50, 32, 1], Operations: []
Exploring Operation: 34-32=2, Resulting Numbers: [50, 1, 2]
Generated Node #2: [50, 1, 2] from Operation: 34-32=2
Current State: 50:[50, 1, 2], Operations: ['34-32=2']
Exploring Operation: 2-1=1, Resulting Numbers: [50, 1]
Generated Node #3: [50, 1] from Operation: 2-1=1
Current State: 50:[50, 1], Operations: ['34-32=2', '2-1=1']
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[34, 50, 32, 1], Operations: []
Exploring Operation: 34-32=2, Resulting Numbers: [50, 1, 2]
Generated Node #0,0: 50:[50, 1, 2] Operation: 34-32=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[50, 1, 2], Operations: ['34-32=2']
Exploring Operation: 50*1=50, Resulting Numbers: [2, 50]
Generated Node #0,0,0: 50:[2, 50] Operation: 50*1=50
Moving to Node #0,0,0
Current State: 50:[2, 50], Operations: ['34-32=2', '50*1=50']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
10,
30,
20,
53
] | 68 | [
"10*30=300",
"300/20=15",
"53+15=68"
] | Current State: 68:[10, 30, 20, 53], Operations: []
Exploring Operation: 10*30=300, Resulting Numbers: [20, 53, 300]
Generated Node #2: [20, 53, 300] from Operation: 10*30=300
Current State: 68:[20, 53, 300], Operations: ['10*30=300']
Exploring Operation: 300/20=15, Resulting Numbers: [53, 15]
Generated Node #3: [53, 15] from Operation: 300/20=15
Current State: 68:[53, 15], Operations: ['10*30=300', '300/20=15']
Exploring Operation: 53+15=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[10, 30, 20, 53], Operations: []
Exploring Operation: 20+53=73, Resulting Numbers: [10, 30, 73]
Generated Node #0,0: 68:[10, 30, 73] Operation: 20+53=73
Exploring Operation: 53-20=33, Resulting Numbers: [10, 30, 33]
Generated Node #0,1: 68:[10, 30, 33] Operation: 53-20=33
Exploring Operation: 10+53=63, Resulting Numbers: [30, 20, 63]
Generated Node #0,2: 68:[30, 20, 63] Operation: 10+53=63
Exploring Operation: 53-10=43, Resulting Numbers: [30, 20, 43]
Generated Node #0,3: 68:[30, 20, 43] Operation: 53-10=43
Exploring Operation: 53-30=23, Resulting Numbers: [10, 20, 23]
Generated Node #0,4: 68:[10, 20, 23] Operation: 53-30=23
Moving to Node #0,1
Current State: 68:[10, 30, 33], Operations: ['53-20=33']
Exploring Operation: 30/10=3, Resulting Numbers: [33, 3]
Generated Node #0,1,0: 68:[33, 3] Operation: 30/10=3
Exploring Operation: 30-10=20, Resulting Numbers: [33, 20]
Generated Node #0,1,1: 68:[33, 20] Operation: 30-10=20
Exploring Operation: 33-30=3, Resulting Numbers: [10, 3]
Generated Node #0,1,2: 68:[10, 3] Operation: 33-30=3
Exploring Operation: 10+30=40, Resulting Numbers: [33, 40]
Generated Node #0,1,3: 68:[33, 40] Operation: 10+30=40
Exploring Operation: 33-10=23, Resulting Numbers: [30, 23]
Generated Node #0,1,4: 68:[30, 23] Operation: 33-10=23
Moving to Node #0,2
Current State: 68:[30, 20, 63], Operations: ['10+53=63']
Exploring Operation: 30+20=50, Resulting Numbers: [63, 50]
Generated Node #0,2,0: 68:[63, 50] Operation: 30+20=50
Exploring Operation: 63-20=43, Resulting Numbers: [30, 43]
Generated Node #0,2,1: 68:[30, 43] Operation: 63-20=43
Exploring Operation: 30-20=10, Resulting Numbers: [63, 10]
Generated Node #0,2,2: 68:[63, 10] Operation: 30-20=10
Exploring Operation: 20+63=83, Resulting Numbers: [30, 83]
Generated Node #0,2,3: 68:[30, 83] Operation: 20+63=83
Exploring Operation: 63-30=33, Resulting Numbers: [20, 33]
Generated Node #0,2,4: 68:[20, 33] Operation: 63-30=33
Moving to Node #0,0
Current State: 68:[10, 30, 73], Operations: ['20+53=73']
Exploring Operation: 30-10=20, Resulting Numbers: [73, 20]
Generated Node #0,0,0: 68:[73, 20] Operation: 30-10=20
Exploring Operation: 30/10=3, Resulting Numbers: [73, 3]
Generated Node #0,0,1: 68:[73, 3] Operation: 30/10=3
Exploring Operation: 73-10=63, Resulting Numbers: [30, 63]
Generated Node #0,0,2: 68:[30, 63] Operation: 73-10=63
Exploring Operation: 10+30=40, Resulting Numbers: [73, 40]
Generated Node #0,0,3: 68:[73, 40] Operation: 10+30=40
Exploring Operation: 73-30=43, Resulting Numbers: [10, 43]
Generated Node #0,0,4: 68:[10, 43] Operation: 73-30=43
Moving to Node #0,4
Current State: 68:[10, 20, 23], Operations: ['53-30=23']
Exploring Operation: 23-10=13, Resulting Numbers: [20, 13]
Generated Node #0,4,0: 68:[20, 13] Operation: 23-10=13
Exploring Operation: 20/10=2, Resulting Numbers: [23, 2]
Generated Node #0,4,1: 68:[23, 2] Operation: 20/10=2
Exploring Operation: 23-20=3, Resulting Numbers: [10, 3]
Generated Node #0,4,2: 68:[10, 3] Operation: 23-20=3
Exploring Operation: 10+23=33, Resulting Numbers: [20, 33]
Generated Node #0,4,3: 68:[20, 33] Operation: 10+23=33
Exploring Operation: 10+20=30, Resulting Numbers: [23, 30]
Generated Node #0,4,4: 68:[23, 30] Operation: 10+20=30
Moving to Node #0,3
Current State: 68:[30, 20, 43], Operations: ['53-10=43']
Exploring Operation: 20+43=63, Resulting Numbers: [30, 63]
Generated Node #0,3,0: 68:[30, 63] Operation: 20+43=63
Exploring Operation: 30+43=73, Resulting Numbers: [20, 73]
Generated Node #0,3,1: 68:[20, 73] Operation: 30+43=73
Exploring Operation: 30-20=10, Resulting Numbers: [43, 10]
Generated Node #0,3,2: 68:[43, 10] Operation: 30-20=10
Exploring Operation: 43-20=23, Resulting Numbers: [30, 23]
Generated Node #0,3,3: 68:[30, 23] Operation: 43-20=23
Exploring Operation: 43-30=13, Resulting Numbers: [20, 13]
Generated Node #0,3,4: 68:[20, 13] Operation: 43-30=13
Moving to Node #0,1,0
Current State: 68:[33, 3], Operations: ['53-20=33', '30/10=3']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,68 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Moving to Node #0,2,4
Current State: 68:[20, 33], Operations: ['10+53=63', '63-30=33']
Exploring Operation: 20*33=660, Resulting Numbers: [660]
660,68 unequal: No Solution
Exploring Operation: 20+33=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[33, 20], Operations: ['53-20=33', '30-10=20']
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 33*20=660, Resulting Numbers: [660]
660,68 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Moving to Node #0,4,3
Current State: 68:[20, 33], Operations: ['53-30=23', '10+23=33']
Exploring Operation: 20*33=660, Resulting Numbers: [660]
660,68 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 20+33=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[73, 3], Operations: ['20+53=73', '30/10=3']
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Exploring Operation: 73*3=219, Resulting Numbers: [219]
219,68 unequal: No Solution
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Moving to Node #0,4,1
Current State: 68:[23, 2], Operations: ['53-30=23', '20/10=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,68 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,68 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[10, 3], Operations: ['53-20=33', '33-30=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Moving to Node #0,3,4
Current State: 68:[20, 13], Operations: ['53-10=43', '43-30=13']
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,68 unequal: No Solution
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Moving to Node #0,4,0
Current State: 68:[20, 13], Operations: ['53-30=23', '23-10=13']
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,68 unequal: No Solution
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Moving to Node #0,4,2
Current State: 68:[10, 3], Operations: ['53-30=23', '23-20=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Moving to Node #0,1,3
Current State: 68:[33, 40], Operations: ['53-20=33', '10+30=40']
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 33*40=1320, Resulting Numbers: [1320]
1320,68 unequal: No Solution
Exploring Operation: 33+40=73, Resulting Numbers: [73]
73,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[73, 20], Operations: ['20+53=73', '30-10=20']
Exploring Operation: 73*20=1460, Resulting Numbers: [1460]
1460,68 unequal: No Solution
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 73+20=93, Resulting Numbers: [93]
93,68 unequal: No Solution
Moving to Node #0,3,1
Current State: 68:[20, 73], Operations: ['53-10=43', '30+43=73']
Exploring Operation: 20*73=1460, Resulting Numbers: [1460]
1460,68 unequal: No Solution
Exploring Operation: 20+73=93, Resulting Numbers: [93]
93,68 unequal: No Solution
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[30, 63], Operations: ['20+53=73', '73-10=63']
Exploring Operation: 30*63=1890, Resulting Numbers: [1890]
1890,68 unequal: No Solution
Exploring Operation: 30+63=93, Resulting Numbers: [93]
93,68 unequal: No Solution
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Moving to Node #0,3,0
Current State: 68:[30, 63], Operations: ['53-10=43', '20+43=63']
Exploring Operation: 30+63=93, Resulting Numbers: [93]
93,68 unequal: No Solution
Exploring Operation: 30*63=1890, Resulting Numbers: [1890]
1890,68 unequal: No Solution
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Moving to Node #0,3,3
Current State: 68:[30, 23], Operations: ['53-10=43', '43-20=23']
Exploring Operation: 30+23=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 30*23=690, Resulting Numbers: [690]
690,68 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Moving to Node #0,4,4
Current State: 68:[23, 30], Operations: ['53-30=23', '10+20=30']
Exploring Operation: 23*30=690, Resulting Numbers: [690]
690,68 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 23+30=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Moving to Node #0,1,4
Current State: 68:[30, 23], Operations: ['53-20=33', '33-10=23']
Exploring Operation: 30+23=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 30*23=690, Resulting Numbers: [690]
690,68 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[63, 10], Operations: ['10+53=63', '30-20=10']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,68 unequal: No Solution
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,68 unequal: No Solution
Moving to Node #0,0,3
Current State: 68:[73, 40], Operations: ['20+53=73', '10+30=40']
Exploring Operation: 73*40=2920, Resulting Numbers: [2920]
2920,68 unequal: No Solution
Exploring Operation: 73-40=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 73+40=113, Resulting Numbers: [113]
113,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[30, 43], Operations: ['10+53=63', '63-20=43']
Exploring Operation: 30+43=73, Resulting Numbers: [73]
73,68 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 30*43=1290, Resulting Numbers: [1290]
1290,68 unequal: No Solution
Moving to Node #0,0,4
Current State: 68:[10, 43], Operations: ['20+53=73', '73-30=43']
Exploring Operation: 10+43=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 10*43=430, Resulting Numbers: [430]
430,68 unequal: No Solution
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Moving to Node #0,3,2
Current State: 68:[43, 10], Operations: ['53-10=43', '30-20=10']
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 43+10=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 43*10=430, Resulting Numbers: [430]
430,68 unequal: No Solution
Moving to Node #0,2,3
Current State: 68:[30, 83], Operations: ['10+53=63', '20+63=83']
Exploring Operation: 30+83=113, Resulting Numbers: [113]
113,68 unequal: No Solution
Exploring Operation: 30*83=2490, Resulting Numbers: [2490]
2490,68 unequal: No Solution
Exploring Operation: 83-30=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[63, 50], Operations: ['10+53=63', '30+20=50']
Exploring Operation: 63*50=3150, Resulting Numbers: [3150]
3150,68 unequal: No Solution
Exploring Operation: 63+50=113, Resulting Numbers: [113]
113,68 unequal: No Solution
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,68 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
34,
95,
16,
97
] | 20 | [
"95-34=61",
"97-16=81",
"81-61=20"
] | Current State: 20:[34, 95, 16, 97], Operations: []
Exploring Operation: 95-34=61, Resulting Numbers: [16, 97, 61]
Generated Node #2: [16, 97, 61] from Operation: 95-34=61
Current State: 20:[16, 97, 61], Operations: ['95-34=61']
Exploring Operation: 97-16=81, Resulting Numbers: [61, 81]
Generated Node #3: [61, 81] from Operation: 97-16=81
Current State: 20:[61, 81], Operations: ['95-34=61', '97-16=81']
Exploring Operation: 81-61=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[34, 95, 16, 97], Operations: []
Exploring Operation: 95-34=61, Resulting Numbers: [16, 97, 61]
Generated Node #0,0: 20:[16, 97, 61] Operation: 95-34=61
Exploring Operation: 97-95=2, Resulting Numbers: [34, 16, 2]
Generated Node #0,1: 20:[34, 16, 2] Operation: 97-95=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[34, 16, 2], Operations: ['97-95=2']
Exploring Operation: 34/2=17, Resulting Numbers: [16, 17]
Generated Node #0,1,0: 20:[16, 17] Operation: 34/2=17
Exploring Operation: 34-16=18, Resulting Numbers: [2, 18]
Generated Node #0,1,1: 20:[2, 18] Operation: 34-16=18
Moving to Node #0,1,1
Current State: 20:[2, 18], Operations: ['97-95=2', '34-16=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[34, 95, 16, 97], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [34, 16, 2]
Generated Node #0,1: 20:[34, 16, 2] Operation: 97-95=2
Moving to Node #0,1
Current State: 20:[34, 16, 2], Operations: ['97-95=2']
Exploring Operation: 34-16=18, Resulting Numbers: [2, 18]
Generated Node #0,1,1: 20:[2, 18] Operation: 34-16=18
Moving to Node #0,1,1
Current State: 20:[2, 18], Operations: ['97-95=2', '34-16=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
66,
18,
6,
32
] | 74 | [
"66-18=48",
"32-6=26",
"48+26=74"
] | Current State: 74:[66, 18, 6, 32], Operations: []
Exploring Operation: 66-18=48, Resulting Numbers: [6, 32, 48]
Generated Node #2: [6, 32, 48] from Operation: 66-18=48
Current State: 74:[6, 32, 48], Operations: ['66-18=48']
Exploring Operation: 32-6=26, Resulting Numbers: [48, 26]
Generated Node #3: [48, 26] from Operation: 32-6=26
Current State: 74:[48, 26], Operations: ['66-18=48', '32-6=26']
Exploring Operation: 48+26=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[66, 18, 6, 32], Operations: []
Exploring Operation: 18/6=3, Resulting Numbers: [66, 32, 3]
Generated Node #0,0: 74:[66, 32, 3] Operation: 18/6=3
Moving to Node #0,0
Current State: 74:[66, 32, 3], Operations: ['18/6=3']
Exploring Operation: 66-32=34, Resulting Numbers: [3, 34]
Generated Node #0,0,0: 74:[3, 34] Operation: 66-32=34
Moving to Node #0,0,0
Current State: 74:[3, 34], Operations: ['18/6=3', '66-32=34']
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,74 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
84,
33,
99,
33
] | 17 | [
"84-33=51",
"99/33=3",
"51/3=17"
] | Current State: 17:[84, 33, 99, 33], Operations: []
Exploring Operation: 84-33=51, Resulting Numbers: [99, 51]
Generated Node #2: [99, 51] from Operation: 84-33=51
Current State: 17:[99, 51], Operations: ['84-33=51']
Exploring Operation: 99/33=3, Resulting Numbers: [51, 3]
Generated Node #3: [51, 3] from Operation: 99/33=3
Current State: 17:[51, 3], Operations: ['84-33=51', '99/33=3']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[84, 33, 99, 33], Operations: []
Exploring Operation: 99/33=3, Resulting Numbers: [84, 33, 3]
Generated Node #0,0: 17:[84, 33, 3] Operation: 99/33=3
Exploring Operation: 84-33=51, Resulting Numbers: [33, 99, 51]
Generated Node #0,1: 17:[33, 99, 51] Operation: 84-33=51
Exploring Operation: 99/33=3, Resulting Numbers: [84, 33, 3]
Generated Node #0,2: 17:[84, 33, 3] Operation: 99/33=3
Exploring Operation: 99-84=15, Resulting Numbers: [33, 33, 15]
Generated Node #0,3: 17:[33, 33, 15] Operation: 99-84=15
Exploring Operation: 84-33=51, Resulting Numbers: [99, 33, 51]
Generated Node #0,4: 17:[99, 33, 51] Operation: 84-33=51
Start Sub Search at level 1: Moving to Node #0,3
Current State: 17:[33, 33, 15], Operations: ['99-84=15']
Exploring Operation: 33/33=1, Resulting Numbers: [15, 1]
Generated Node #0,3,0: 17:[15, 1] Operation: 33/33=1
Exploring Operation: 33-15=18, Resulting Numbers: [33, 18]
Generated Node #0,3,1: 17:[33, 18] Operation: 33-15=18
Exploring Operation: 33+15=48, Resulting Numbers: [33, 48]
Generated Node #0,3,2: 17:[33, 48] Operation: 33+15=48
Exploring Operation: 33-15=18, Resulting Numbers: [33, 18]
Generated Node #0,3,3: 17:[33, 18] Operation: 33-15=18
Exploring Operation: 33-33=0, Resulting Numbers: [15, 0]
Generated Node #0,3,4: 17:[15, 0] Operation: 33-33=0
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 17:[33, 18], Operations: ['99-84=15', '33-15=18']
Exploring Operation: 33+18=51, Resulting Numbers: [51]
51,17 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 33*18=594, Resulting Numbers: [594]
594,17 unequal: No Solution
No 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: 17:[33, 18], Operations: ['99-84=15', '33-15=18']
Exploring Operation: 33+18=51, Resulting Numbers: [51]
51,17 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 33*18=594, Resulting Numbers: [594]
594,17 unequal: No Solution
No 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: 17:[15, 1], Operations: ['99-84=15', '33/33=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,17 unequal: No Solution
No 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: 17:[15, 0], Operations: ['99-84=15', '33-33=0']
Exploring Operation: 15-0=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 15+0=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 15*0=0, Resulting Numbers: [0]
0,17 unequal: No Solution
No 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: 17:[33, 48], Operations: ['99-84=15', '33+15=48']
Exploring Operation: 33+48=81, Resulting Numbers: [81]
81,17 unequal: No Solution
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 33*48=1584, Resulting Numbers: [1584]
1584,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[84, 33, 3], Operations: ['99/33=3']
Exploring Operation: 33/3=11, Resulting Numbers: [84, 11]
Generated Node #0,0,0: 17:[84, 11] Operation: 33/3=11
Exploring Operation: 84-3=81, Resulting Numbers: [33, 81]
Generated Node #0,0,1: 17:[33, 81] Operation: 84-3=81
Exploring Operation: 84/3=28, Resulting Numbers: [33, 28]
Generated Node #0,0,2: 17:[33, 28] Operation: 84/3=28
Exploring Operation: 33-3=30, Resulting Numbers: [84, 30]
Generated Node #0,0,3: 17:[84, 30] Operation: 33-3=30
Exploring Operation: 84-33=51, Resulting Numbers: [3, 51]
Generated Node #0,0,4: 17:[3, 51] Operation: 84-33=51
Moving to Node #0,0,2
Current State: 17:[33, 28], Operations: ['99/33=3', '84/3=28']
Exploring Operation: 33*28=924, Resulting Numbers: [924]
924,17 unequal: No Solution
Exploring Operation: 33+28=61, Resulting Numbers: [61]
61,17 unequal: No Solution
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Moving to Node #0,0,4
Current State: 17:[3, 51], Operations: ['99/33=3', '84-33=51']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[84, 33, 99, 33], Operations: []
Exploring Operation: 99/33=3, Resulting Numbers: [84, 33, 3]
Generated Node #0,0: 17:[84, 33, 3] Operation: 99/33=3
Moving to Node #0,0
Current State: 17:[84, 33, 3], Operations: ['99/33=3']
Exploring Operation: 84-33=51, Resulting Numbers: [3, 51]
Generated Node #0,0,4: 17:[3, 51] Operation: 84-33=51
Moving to Node #0,0,4
Current State: 17:[3, 51], Operations: ['99/33=3', '84-33=51']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | sum_heuristic |
[
6,
1,
40,
8
] | 25 | [
"6+1=7",
"40-8=32",
"32-7=25"
] | Current State: 25:[6, 1, 40, 8], Operations: []
Exploring Operation: 6+1=7, Resulting Numbers: [40, 8, 7]
Generated Node #2: [40, 8, 7] from Operation: 6+1=7
Current State: 25:[40, 8, 7], Operations: ['6+1=7']
Exploring Operation: 40-8=32, Resulting Numbers: [7, 32]
Generated Node #3: [7, 32] from Operation: 40-8=32
Current State: 25:[7, 32], Operations: ['6+1=7', '40-8=32']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[6, 1, 40, 8], Operations: []
Exploring Operation: 40-6=34, Resulting Numbers: [1, 8, 34]
Generated Node #0,0: 25:[1, 8, 34] Operation: 40-6=34
Exploring Operation: 40/8=5, Resulting Numbers: [6, 1, 5]
Generated Node #0,1: 25:[6, 1, 5] Operation: 40/8=5
Exploring Operation: 40-8=32, Resulting Numbers: [6, 1, 32]
Generated Node #0,2: 25:[6, 1, 32] Operation: 40-8=32
Moving to Node #0,1
Current State: 25:[6, 1, 5], Operations: ['40/8=5']
Exploring Operation: 6*1=6, Resulting Numbers: [5, 6]
Generated Node #0,1,0: 25:[5, 6] Operation: 6*1=6
Exploring Operation: 6-1=5, Resulting Numbers: [5, 5]
Generated Node #0,1,1: 25:[5, 5] Operation: 6-1=5
Exploring Operation: 6/1=6, Resulting Numbers: [5, 6]
Generated Node #0,1,2: 25:[5, 6] Operation: 6/1=6
Moving to Node #0,2
Current State: 25:[6, 1, 32], Operations: ['40-8=32']
Exploring Operation: 6-1=5, Resulting Numbers: [32, 5]
Generated Node #0,2,0: 25:[32, 5] Operation: 6-1=5
Exploring Operation: 32-1=31, Resulting Numbers: [6, 31]
Generated Node #0,2,1: 25:[6, 31] Operation: 32-1=31
Exploring Operation: 32-6=26, Resulting Numbers: [1, 26]
Generated Node #0,2,2: 25:[1, 26] Operation: 32-6=26
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 25:[1, 26], Operations: ['40-8=32', '32-6=26']
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[6, 1, 40, 8], Operations: []
Exploring Operation: 40-8=32, Resulting Numbers: [6, 1, 32]
Generated Node #0,2: 25:[6, 1, 32] Operation: 40-8=32
Moving to Node #0,2
Current State: 25:[6, 1, 32], Operations: ['40-8=32']
Exploring Operation: 32-6=26, Resulting Numbers: [1, 26]
Generated Node #0,2,2: 25:[1, 26] Operation: 32-6=26
Moving to Node #0,2,2
Current State: 25:[1, 26], Operations: ['40-8=32', '32-6=26']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
1,
71,
78,
86
] | 94 | [
"71-1=70",
"78+86=164",
"164-70=94"
] | Current State: 94:[1, 71, 78, 86], Operations: []
Exploring Operation: 71-1=70, Resulting Numbers: [78, 86, 70]
Generated Node #2: [78, 86, 70] from Operation: 71-1=70
Current State: 94:[78, 86, 70], Operations: ['71-1=70']
Exploring Operation: 78+86=164, Resulting Numbers: [70, 164]
Generated Node #3: [70, 164] from Operation: 78+86=164
Current State: 94:[70, 164], Operations: ['71-1=70', '78+86=164']
Exploring Operation: 164-70=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[1, 71, 78, 86], Operations: []
Exploring Operation: 78-71=7, Resulting Numbers: [1, 86, 7]
Generated Node #0,0: 94:[1, 86, 7] Operation: 78-71=7
Exploring Operation: 86-71=15, Resulting Numbers: [1, 78, 15]
Generated Node #0,1: 94:[1, 78, 15] Operation: 86-71=15
Moving to Node #0,0
Current State: 94:[1, 86, 7], Operations: ['78-71=7']
Exploring Operation: 86+7=93, Resulting Numbers: [1, 93]
Generated Node #0,0,0: 94:[1, 93] Operation: 86+7=93
Exploring Operation: 1+86=87, Resulting Numbers: [7, 87]
Generated Node #0,0,1: 94:[7, 87] Operation: 1+86=87
Moving to Node #0,1
Current State: 94:[1, 78, 15], Operations: ['86-71=15']
Exploring Operation: 78+15=93, Resulting Numbers: [1, 93]
Generated Node #0,1,0: 94:[1, 93] Operation: 78+15=93
Exploring Operation: 78-15=63, Resulting Numbers: [1, 63]
Generated Node #0,1,1: 94:[1, 63] Operation: 78-15=63
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[1, 93], Operations: ['86-71=15', '78+15=93']
Exploring Operation: 1*93=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 1+93=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[1, 71, 78, 86], Operations: []
Exploring Operation: 86-71=15, Resulting Numbers: [1, 78, 15]
Generated Node #0,1: 94:[1, 78, 15] Operation: 86-71=15
Moving to Node #0,1
Current State: 94:[1, 78, 15], Operations: ['86-71=15']
Exploring Operation: 78+15=93, Resulting Numbers: [1, 93]
Generated Node #0,1,0: 94:[1, 93] Operation: 78+15=93
Moving to Node #0,1,0
Current State: 94:[1, 93], Operations: ['86-71=15', '78+15=93']
Exploring Operation: 1+93=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
37,
70,
72,
25
] | 13 | [
"72-70=2",
"25*2=50",
"50-37=13"
] | Current State: 13:[37, 70, 72, 25], Operations: []
Exploring Operation: 72-70=2, Resulting Numbers: [37, 25, 2]
Generated Node #2: [37, 25, 2] from Operation: 72-70=2
Current State: 13:[37, 25, 2], Operations: ['72-70=2']
Exploring Operation: 25*2=50, Resulting Numbers: [37, 50]
Generated Node #3: [37, 50] from Operation: 25*2=50
Current State: 13:[37, 50], Operations: ['72-70=2', '25*2=50']
Exploring Operation: 50-37=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[37, 70, 72, 25], Operations: []
Exploring Operation: 72-70=2, Resulting Numbers: [37, 25, 2]
Generated Node #0,0: 13:[37, 25, 2] Operation: 72-70=2
Exploring Operation: 70-37=33, Resulting Numbers: [72, 25, 33]
Generated Node #0,1: 13:[72, 25, 33] Operation: 70-37=33
Exploring Operation: 72-37=35, Resulting Numbers: [70, 25, 35]
Generated Node #0,2: 13:[70, 25, 35] Operation: 72-37=35
Exploring Operation: 72-25=47, Resulting Numbers: [37, 70, 47]
Generated Node #0,3: 13:[37, 70, 47] Operation: 72-25=47
Exploring Operation: 70-25=45, Resulting Numbers: [37, 72, 45]
Generated Node #0,4: 13:[37, 72, 45] Operation: 70-25=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[37, 25, 2], Operations: ['72-70=2']
Exploring Operation: 37-25=12, Resulting Numbers: [2, 12]
Generated Node #0,0,0: 13:[2, 12] Operation: 37-25=12
Exploring Operation: 37+2=39, Resulting Numbers: [25, 39]
Generated Node #0,0,1: 13:[25, 39] Operation: 37+2=39
Exploring Operation: 25+2=27, Resulting Numbers: [37, 27]
Generated Node #0,0,2: 13:[37, 27] Operation: 25+2=27
Exploring Operation: 25-2=23, Resulting Numbers: [37, 23]
Generated Node #0,0,3: 13:[37, 23] Operation: 25-2=23
Exploring Operation: 37-2=35, Resulting Numbers: [25, 35]
Generated Node #0,0,4: 13:[25, 35] Operation: 37-2=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[2, 12], Operations: ['72-70=2', '37-25=12']
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 13:[37, 23], Operations: ['72-70=2', '25-2=23']
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 37*23=851, Resulting Numbers: [851]
851,13 unequal: No Solution
Exploring Operation: 37+23=60, Resulting Numbers: [60]
60,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 13:[25, 35], Operations: ['72-70=2', '37-2=35']
Exploring Operation: 25*35=875, Resulting Numbers: [875]
875,13 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[25, 39], Operations: ['72-70=2', '37+2=39']
Exploring Operation: 25+39=64, Resulting Numbers: [64]
64,13 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 25*39=975, Resulting Numbers: [975]
975,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 13:[37, 27], Operations: ['72-70=2', '25+2=27']
Exploring Operation: 37*27=999, Resulting Numbers: [999]
999,13 unequal: No Solution
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,13 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[72, 25, 33], Operations: ['70-37=33']
Exploring Operation: 72+33=105, Resulting Numbers: [25, 105]
Generated Node #0,1,0: 13:[25, 105] Operation: 72+33=105
Exploring Operation: 33-25=8, Resulting Numbers: [72, 8]
Generated Node #0,1,1: 13:[72, 8] Operation: 33-25=8
Exploring Operation: 72+25=97, Resulting Numbers: [33, 97]
Generated Node #0,1,2: 13:[33, 97] Operation: 72+25=97
Exploring Operation: 72-25=47, Resulting Numbers: [33, 47]
Generated Node #0,1,3: 13:[33, 47] Operation: 72-25=47
Exploring Operation: 72-33=39, Resulting Numbers: [25, 39]
Generated Node #0,1,4: 13:[25, 39] Operation: 72-33=39
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 13:[25, 39], Operations: ['70-37=33', '72-33=39']
Exploring Operation: 25*39=975, Resulting Numbers: [975]
975,13 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 25+39=64, Resulting Numbers: [64]
64,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 13:[33, 47], Operations: ['70-37=33', '72-25=47']
Exploring Operation: 33*47=1551, Resulting Numbers: [1551]
1551,13 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 33+47=80, Resulting Numbers: [80]
80,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[72, 8], Operations: ['70-37=33', '33-25=8']
Exploring Operation: 72*8=576, Resulting Numbers: [576]
576,13 unequal: No Solution
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[25, 105], Operations: ['70-37=33', '72+33=105']
Exploring Operation: 105-25=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 25+105=130, Resulting Numbers: [130]
130,13 unequal: No Solution
Exploring Operation: 25*105=2625, Resulting Numbers: [2625]
2625,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 13:[33, 97], Operations: ['70-37=33', '72+25=97']
Exploring Operation: 97-33=64, Resulting Numbers: [64]
64,13 unequal: No Solution
Exploring Operation: 33+97=130, Resulting Numbers: [130]
130,13 unequal: No Solution
Exploring Operation: 33*97=3201, Resulting Numbers: [3201]
3201,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[70, 25, 35], Operations: ['72-37=35']
Exploring Operation: 35-25=10, Resulting Numbers: [70, 10]
Generated Node #0,2,0: 13:[70, 10] Operation: 35-25=10
Exploring Operation: 70+25=95, Resulting Numbers: [35, 95]
Generated Node #0,2,1: 13:[35, 95] Operation: 70+25=95
Exploring Operation: 70-25=45, Resulting Numbers: [35, 45]
Generated Node #0,2,2: 13:[35, 45] Operation: 70-25=45
Exploring Operation: 70/35=2, Resulting Numbers: [25, 2]
Generated Node #0,2,3: 13:[25, 2] Operation: 70/35=2
Exploring Operation: 70-35=35, Resulting Numbers: [25, 35]
Generated Node #0,2,4: 13:[25, 35] Operation: 70-35=35
Moving to Node #0,2,3
Current State: 13:[25, 2], Operations: ['72-37=35', '70/35=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,13 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Moving to Node #0,2,4
Current State: 13:[25, 35], Operations: ['72-37=35', '70-35=35']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 25*35=875, Resulting Numbers: [875]
875,13 unequal: No Solution
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[35, 45], Operations: ['72-37=35', '70-25=45']
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 35+45=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 35*45=1575, Resulting Numbers: [1575]
1575,13 unequal: No Solution
Moving to Node #0,2,0
Current State: 13:[70, 10], Operations: ['72-37=35', '35-25=10']
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 70+10=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 70*10=700, Resulting Numbers: [700]
700,13 unequal: No Solution
Moving to Node #0,2,1
Current State: 13:[35, 95], Operations: ['72-37=35', '70+25=95']
Exploring Operation: 95-35=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 35*95=3325, Resulting Numbers: [3325]
3325,13 unequal: No Solution
Exploring Operation: 35+95=130, Resulting Numbers: [130]
130,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,3
Current State: 13:[37, 70, 47], Operations: ['72-25=47']
Exploring Operation: 37+47=84, Resulting Numbers: [70, 84]
Generated Node #0,3,0: 13:[70, 84] Operation: 37+47=84
Exploring Operation: 37+70=107, Resulting Numbers: [47, 107]
Generated Node #0,3,1: 13:[47, 107] Operation: 37+70=107
Exploring Operation: 70-47=23, Resulting Numbers: [37, 23]
Generated Node #0,3,2: 13:[37, 23] Operation: 70-47=23
Exploring Operation: 47-37=10, Resulting Numbers: [70, 10]
Generated Node #0,3,3: 13:[70, 10] Operation: 47-37=10
Exploring Operation: 70-37=33, Resulting Numbers: [47, 33]
Generated Node #0,3,4: 13:[47, 33] Operation: 70-37=33
Moving to Node #0,3,2
Current State: 13:[37, 23], Operations: ['72-25=47', '70-47=23']
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 37*23=851, Resulting Numbers: [851]
851,13 unequal: No Solution
Exploring Operation: 37+23=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Moving to Node #0,3,4
Current State: 13:[47, 33], Operations: ['72-25=47', '70-37=33']
Exploring Operation: 47+33=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 47*33=1551, Resulting Numbers: [1551]
1551,13 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Moving to Node #0,3,3
Current State: 13:[70, 10], Operations: ['72-25=47', '47-37=10']
Exploring Operation: 70*10=700, Resulting Numbers: [700]
700,13 unequal: No Solution
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 70+10=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Moving to Node #0,3,0
Current State: 13:[70, 84], Operations: ['72-25=47', '37+47=84']
Exploring Operation: 84-70=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 70*84=5880, Resulting Numbers: [5880]
5880,13 unequal: No Solution
Exploring Operation: 70+84=154, Resulting Numbers: [154]
154,13 unequal: No Solution
Moving to Node #0,3,1
Current State: 13:[47, 107], Operations: ['72-25=47', '37+70=107']
Exploring Operation: 47*107=5029, Resulting Numbers: [5029]
5029,13 unequal: No Solution
Exploring Operation: 107-47=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 47+107=154, Resulting Numbers: [154]
154,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,4
Current State: 13:[37, 72, 45], Operations: ['70-25=45']
Exploring Operation: 37+72=109, Resulting Numbers: [45, 109]
Generated Node #0,4,0: 13:[45, 109] Operation: 37+72=109
Exploring Operation: 72-37=35, Resulting Numbers: [45, 35]
Generated Node #0,4,1: 13:[45, 35] Operation: 72-37=35
Exploring Operation: 37+45=82, Resulting Numbers: [72, 82]
Generated Node #0,4,2: 13:[72, 82] Operation: 37+45=82
Exploring Operation: 72-45=27, Resulting Numbers: [37, 27]
Generated Node #0,4,3: 13:[37, 27] Operation: 72-45=27
Exploring Operation: 45-37=8, Resulting Numbers: [72, 8]
Generated Node #0,4,4: 13:[72, 8] Operation: 45-37=8
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 13:[37, 27], Operations: ['70-25=45', '72-45=27']
Exploring Operation: 37*27=999, Resulting Numbers: [999]
999,13 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 13:[45, 35], Operations: ['70-25=45', '72-37=35']
Exploring Operation: 45+35=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 45*35=1575, Resulting Numbers: [1575]
1575,13 unequal: No Solution
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 13:[72, 8], Operations: ['70-25=45', '45-37=8']
Exploring Operation: 72*8=576, Resulting Numbers: [576]
576,13 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 13:[45, 109], Operations: ['70-25=45', '37+72=109']
Exploring Operation: 109-45=64, Resulting Numbers: [64]
64,13 unequal: No Solution
Exploring Operation: 45+109=154, Resulting Numbers: [154]
154,13 unequal: No Solution
Exploring Operation: 45*109=4905, Resulting Numbers: [4905]
4905,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 13:[72, 82], Operations: ['70-25=45', '37+45=82']
Exploring Operation: 72*82=5904, Resulting Numbers: [5904]
5904,13 unequal: No Solution
Exploring Operation: 82-72=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 72+82=154, Resulting Numbers: [154]
154,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
54,
63,
83,
81
] | 72 | [
"83-81=2",
"63*2=126",
"126-54=72"
] | Current State: 72:[54, 63, 83, 81], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [54, 63, 2]
Generated Node #2: [54, 63, 2] from Operation: 83-81=2
Current State: 72:[54, 63, 2], Operations: ['83-81=2']
Exploring Operation: 63*2=126, Resulting Numbers: [54, 126]
Generated Node #3: [54, 126] from Operation: 63*2=126
Current State: 72:[54, 126], Operations: ['83-81=2', '63*2=126']
Exploring Operation: 126-54=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[54, 63, 83, 81], Operations: []
Exploring Operation: 63-54=9, Resulting Numbers: [83, 81, 9]
Generated Node #0,0: 72:[83, 81, 9] Operation: 63-54=9
Moving to Node #0,0
Current State: 72:[83, 81, 9], Operations: ['63-54=9']
Exploring Operation: 83-81=2, Resulting Numbers: [9, 2]
Generated Node #0,0,0: 72:[9, 2] Operation: 83-81=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[9, 2], Operations: ['63-54=9', '83-81=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
57,
60,
16,
13
] | 61 | [
"60-57=3",
"16*3=48",
"13+48=61"
] | Current State: 61:[57, 60, 16, 13], Operations: []
Exploring Operation: 60-57=3, Resulting Numbers: [16, 13, 3]
Generated Node #2: [16, 13, 3] from Operation: 60-57=3
Current State: 61:[16, 13, 3], Operations: ['60-57=3']
Exploring Operation: 16*3=48, Resulting Numbers: [13, 48]
Generated Node #3: [13, 48] from Operation: 16*3=48
Current State: 61:[13, 48], Operations: ['60-57=3', '16*3=48']
Exploring Operation: 13+48=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[57, 60, 16, 13], Operations: []
Exploring Operation: 57-13=44, Resulting Numbers: [60, 16, 44]
Generated Node #0,0: 61:[60, 16, 44] Operation: 57-13=44
Exploring Operation: 60+13=73, Resulting Numbers: [57, 16, 73]
Generated Node #0,1: 61:[57, 16, 73] Operation: 60+13=73
Exploring Operation: 57+16=73, Resulting Numbers: [60, 13, 73]
Generated Node #0,2: 61:[60, 13, 73] Operation: 57+16=73
Exploring Operation: 57+13=70, Resulting Numbers: [60, 16, 70]
Generated Node #0,3: 61:[60, 16, 70] Operation: 57+13=70
Exploring Operation: 16+13=29, Resulting Numbers: [57, 60, 29]
Generated Node #0,4: 61:[57, 60, 29] Operation: 16+13=29
Moving to Node #0,4
Current State: 61:[57, 60, 29], Operations: ['16+13=29']
Exploring Operation: 57+29=86, Resulting Numbers: [60, 86]
Generated Node #0,4,0: 61:[60, 86] Operation: 57+29=86
Exploring Operation: 60+29=89, Resulting Numbers: [57, 89]
Generated Node #0,4,1: 61:[57, 89] Operation: 60+29=89
Exploring Operation: 60-29=31, Resulting Numbers: [57, 31]
Generated Node #0,4,2: 61:[57, 31] Operation: 60-29=31
Exploring Operation: 57+60=117, Resulting Numbers: [29, 117]
Generated Node #0,4,3: 61:[29, 117] Operation: 57+60=117
Exploring Operation: 57-29=28, Resulting Numbers: [60, 28]
Generated Node #0,4,4: 61:[60, 28] Operation: 57-29=28
Moving to Node #0,3
Current State: 61:[60, 16, 70], Operations: ['57+13=70']
Exploring Operation: 60-16=44, Resulting Numbers: [70, 44]
Generated Node #0,3,0: 61:[70, 44] Operation: 60-16=44
Exploring Operation: 70-60=10, Resulting Numbers: [16, 10]
Generated Node #0,3,1: 61:[16, 10] Operation: 70-60=10
Exploring Operation: 16+70=86, Resulting Numbers: [60, 86]
Generated Node #0,3,2: 61:[60, 86] Operation: 16+70=86
Exploring Operation: 70-16=54, Resulting Numbers: [60, 54]
Generated Node #0,3,3: 61:[60, 54] Operation: 70-16=54
Exploring Operation: 60+16=76, Resulting Numbers: [70, 76]
Generated Node #0,3,4: 61:[70, 76] Operation: 60+16=76
Moving to Node #0,1
Current State: 61:[57, 16, 73], Operations: ['60+13=73']
Exploring Operation: 57+16=73, Resulting Numbers: [73, 73]
Generated Node #0,1,0: 61:[73, 73] Operation: 57+16=73
Exploring Operation: 16+73=89, Resulting Numbers: [57, 89]
Generated Node #0,1,1: 61:[57, 89] Operation: 16+73=89
Exploring Operation: 73-16=57, Resulting Numbers: [57, 57]
Generated Node #0,1,2: 61:[57, 57] Operation: 73-16=57
Exploring Operation: 73-57=16, Resulting Numbers: [16, 16]
Generated Node #0,1,3: 61:[16, 16] Operation: 73-57=16
Exploring Operation: 57-16=41, Resulting Numbers: [73, 41]
Generated Node #0,1,4: 61:[73, 41] Operation: 57-16=41
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[57, 57], Operations: ['60+13=73', '73-16=57']
Exploring Operation: 57+57=114, Resulting Numbers: [114]
114,61 unequal: No Solution
Exploring Operation: 57-57=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Exploring Operation: 57/57=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 57*57=3249, Resulting Numbers: [3249]
3249,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[73, 73], Operations: ['60+13=73', '57+16=73']
Exploring Operation: 73*73=5329, Resulting Numbers: [5329]
5329,61 unequal: No Solution
Exploring Operation: 73-73=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Exploring Operation: 73+73=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 73/73=1, Resulting Numbers: [1]
1,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[57, 89], Operations: ['60+13=73', '16+73=89']
Exploring Operation: 57*89=5073, Resulting Numbers: [5073]
5073,61 unequal: No Solution
Exploring Operation: 57+89=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 89-57=32, Resulting Numbers: [32]
32,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 61:[73, 41], Operations: ['60+13=73', '57-16=41']
Exploring Operation: 73+41=114, Resulting Numbers: [114]
114,61 unequal: No Solution
Exploring Operation: 73*41=2993, Resulting Numbers: [2993]
2993,61 unequal: No Solution
Exploring Operation: 73-41=32, Resulting Numbers: [32]
32,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 61:[16, 16], Operations: ['60+13=73', '73-57=16']
Exploring Operation: 16/16=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 16*16=256, Resulting Numbers: [256]
256,61 unequal: No Solution
Exploring Operation: 16+16=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 16-16=0, Resulting Numbers: [0]
0,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 61:[60, 13, 73], Operations: ['57+16=73']
Exploring Operation: 73-13=60, Resulting Numbers: [60, 60]
Generated Node #0,2,0: 61:[60, 60] Operation: 73-13=60
Exploring Operation: 13+73=86, Resulting Numbers: [60, 86]
Generated Node #0,2,1: 61:[60, 86] Operation: 13+73=86
Exploring Operation: 60+13=73, Resulting Numbers: [73, 73]
Generated Node #0,2,2: 61:[73, 73] Operation: 60+13=73
Exploring Operation: 73-60=13, Resulting Numbers: [13, 13]
Generated Node #0,2,3: 61:[13, 13] Operation: 73-60=13
Exploring Operation: 60-13=47, Resulting Numbers: [73, 47]
Generated Node #0,2,4: 61:[73, 47] Operation: 60-13=47
Moving to Node #0,0
Current State: 61:[60, 16, 44], Operations: ['57-13=44']
Exploring Operation: 16+44=60, Resulting Numbers: [60, 60]
Generated Node #0,0,0: 61:[60, 60] Operation: 16+44=60
Exploring Operation: 60+44=104, Resulting Numbers: [16, 104]
Generated Node #0,0,1: 61:[16, 104] Operation: 60+44=104
Exploring Operation: 60+16=76, Resulting Numbers: [44, 76]
Generated Node #0,0,2: 61:[44, 76] Operation: 60+16=76
Exploring Operation: 44-16=28, Resulting Numbers: [60, 28]
Generated Node #0,0,3: 61:[60, 28] Operation: 44-16=28
Exploring Operation: 60-16=44, Resulting Numbers: [44, 44]
Generated Node #0,0,4: 61:[44, 44] Operation: 60-16=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[60, 60], Operations: ['57-13=44', '16+44=60']
Exploring Operation: 60*60=3600, Resulting Numbers: [3600]
3600,61 unequal: No Solution
Exploring Operation: 60-60=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Exploring Operation: 60/60=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 60+60=120, Resulting Numbers: [120]
120,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[44, 76], Operations: ['57-13=44', '60+16=76']
Exploring Operation: 44+76=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 44*76=3344, Resulting Numbers: [3344]
3344,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 61:[60, 28], Operations: ['57-13=44', '44-16=28']
Exploring Operation: 60*28=1680, Resulting Numbers: [1680]
1680,61 unequal: No Solution
Exploring Operation: 60+28=88, Resulting Numbers: [88]
88,61 unequal: No Solution
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 61:[44, 44], Operations: ['57-13=44', '60-16=44']
Exploring Operation: 44/44=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 44-44=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,61 unequal: No Solution
Exploring Operation: 44*44=1936, Resulting Numbers: [1936]
1936,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[16, 104], Operations: ['57-13=44', '60+44=104']
Exploring Operation: 16*104=1664, Resulting Numbers: [1664]
1664,61 unequal: No Solution
Exploring Operation: 16+104=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 104-16=88, Resulting Numbers: [88]
88,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 61:[60, 60], Operations: ['57+16=73', '73-13=60']
Exploring Operation: 60+60=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 60/60=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 60-60=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Exploring Operation: 60*60=3600, Resulting Numbers: [3600]
3600,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[60, 54], Operations: ['57+13=70', '70-16=54']
Exploring Operation: 60*54=3240, Resulting Numbers: [3240]
3240,61 unequal: No Solution
Exploring Operation: 60+54=114, Resulting Numbers: [114]
114,61 unequal: No Solution
Exploring Operation: 60-54=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Moving to Node #0,3,4
Current State: 61:[70, 76], Operations: ['57+13=70', '60+16=76']
Exploring Operation: 70+76=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 76-70=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 70*76=5320, Resulting Numbers: [5320]
5320,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[73, 73], Operations: ['57+16=73', '60+13=73']
Exploring Operation: 73*73=5329, Resulting Numbers: [5329]
5329,61 unequal: No Solution
Exploring Operation: 73/73=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 73+73=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 73-73=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Moving to Node #0,4,0
Current State: 61:[60, 86], Operations: ['16+13=29', '57+29=86']
Exploring Operation: 86-60=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Exploring Operation: 60*86=5160, Resulting Numbers: [5160]
5160,61 unequal: No Solution
Exploring Operation: 60+86=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Moving to Node #0,2,4
Current State: 61:[73, 47], Operations: ['57+16=73', '60-13=47']
Exploring Operation: 73+47=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 73-47=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Exploring Operation: 73*47=3431, Resulting Numbers: [3431]
3431,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[60, 86], Operations: ['57+16=73', '13+73=86']
Exploring Operation: 60*86=5160, Resulting Numbers: [5160]
5160,61 unequal: No Solution
Exploring Operation: 60+86=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 86-60=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[70, 44], Operations: ['57+13=70', '60-16=44']
Exploring Operation: 70+44=114, Resulting Numbers: [114]
114,61 unequal: No Solution
Exploring Operation: 70-44=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Exploring Operation: 70*44=3080, Resulting Numbers: [3080]
3080,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[60, 86], Operations: ['57+13=70', '16+70=86']
Exploring Operation: 60*86=5160, Resulting Numbers: [5160]
5160,61 unequal: No Solution
Exploring Operation: 60+86=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 86-60=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Moving to Node #0,4,1
Current State: 61:[57, 89], Operations: ['16+13=29', '60+29=89']
Exploring Operation: 57+89=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 89-57=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 57*89=5073, Resulting Numbers: [5073]
5073,61 unequal: No Solution
Moving to Node #0,4,2
Current State: 61:[57, 31], Operations: ['16+13=29', '60-29=31']
Exploring Operation: 57+31=88, Resulting Numbers: [88]
88,61 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Exploring Operation: 57*31=1767, Resulting Numbers: [1767]
1767,61 unequal: No Solution
Moving to Node #0,4,4
Current State: 61:[60, 28], Operations: ['16+13=29', '57-29=28']
Exploring Operation: 60*28=1680, Resulting Numbers: [1680]
1680,61 unequal: No Solution
Exploring Operation: 60+28=88, Resulting Numbers: [88]
88,61 unequal: No Solution
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Moving to Node #0,4,3
Current State: 61:[29, 117], Operations: ['16+13=29', '57+60=117']
Exploring Operation: 117-29=88, Resulting Numbers: [88]
88,61 unequal: No Solution
Exploring Operation: 29*117=3393, Resulting Numbers: [3393]
3393,61 unequal: No Solution
Exploring Operation: 29+117=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[16, 10], Operations: ['57+13=70', '70-60=10']
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,61 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Moving to Node #0,2,3
Current State: 61:[13, 13], Operations: ['57+16=73', '73-60=13']
Exploring Operation: 13*13=169, Resulting Numbers: [169]
169,61 unequal: No Solution
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,61 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
11,
86,
84,
76
] | 98 | [
"86-84=2",
"11*2=22",
"76+22=98"
] | Current State: 98:[11, 86, 84, 76], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [11, 76, 2]
Generated Node #2: [11, 76, 2] from Operation: 86-84=2
Current State: 98:[11, 76, 2], Operations: ['86-84=2']
Exploring Operation: 11*2=22, Resulting Numbers: [76, 22]
Generated Node #3: [76, 22] from Operation: 11*2=22
Current State: 98:[76, 22], Operations: ['86-84=2', '11*2=22']
Exploring Operation: 76+22=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[11, 86, 84, 76], Operations: []
Exploring Operation: 84-76=8, Resulting Numbers: [11, 86, 8]
Generated Node #0,0: 98:[11, 86, 8] Operation: 84-76=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[11, 86, 8], Operations: ['84-76=8']
Exploring Operation: 11+86=97, Resulting Numbers: [8, 97]
Generated Node #0,0,0: 98:[8, 97] Operation: 11+86=97
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[8, 97], Operations: ['84-76=8', '11+86=97']
Exploring Operation: 8+97=105, Resulting Numbers: [105]
105,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
56,
9,
51,
98
] | 84 | [
"56+9=65",
"51+98=149",
"149-65=84"
] | Current State: 84:[56, 9, 51, 98], Operations: []
Exploring Operation: 56+9=65, Resulting Numbers: [51, 98, 65]
Generated Node #2: [51, 98, 65] from Operation: 56+9=65
Current State: 84:[51, 98, 65], Operations: ['56+9=65']
Exploring Operation: 51+98=149, Resulting Numbers: [65, 149]
Generated Node #3: [65, 149] from Operation: 51+98=149
Current State: 84:[65, 149], Operations: ['56+9=65', '51+98=149']
Exploring Operation: 149-65=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[56, 9, 51, 98], Operations: []
Exploring Operation: 56-51=5, Resulting Numbers: [9, 98, 5]
Generated Node #0,0: 84:[9, 98, 5] Operation: 56-51=5
Exploring Operation: 98-56=42, Resulting Numbers: [9, 51, 42]
Generated Node #0,1: 84:[9, 51, 42] Operation: 98-56=42
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[9, 51, 42], Operations: ['98-56=42']
Exploring Operation: 51-42=9, Resulting Numbers: [9, 9]
Generated Node #0,1,0: 84:[9, 9] Operation: 51-42=9
Exploring Operation: 51-9=42, Resulting Numbers: [42, 42]
Generated Node #0,1,1: 84:[42, 42] Operation: 51-9=42
Moving to Node #0,1,1
Current State: 84:[42, 42], Operations: ['98-56=42', '51-9=42']
Exploring Operation: 42/42=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 42+42=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[56, 9, 51, 98], Operations: []
Exploring Operation: 98-56=42, Resulting Numbers: [9, 51, 42]
Generated Node #0,1: 84:[9, 51, 42] Operation: 98-56=42
Moving to Node #0,1
Current State: 84:[9, 51, 42], Operations: ['98-56=42']
Exploring Operation: 51-9=42, Resulting Numbers: [42, 42]
Generated Node #0,1,1: 84:[42, 42] Operation: 51-9=42
Moving to Node #0,1,1
Current State: 84:[42, 42], Operations: ['98-56=42', '51-9=42']
Exploring Operation: 42+42=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
60,
74,
43,
9
] | 82 | [
"60+74=134",
"43+9=52",
"134-52=82"
] | Current State: 82:[60, 74, 43, 9], Operations: []
Exploring Operation: 60+74=134, Resulting Numbers: [43, 9, 134]
Generated Node #2: [43, 9, 134] from Operation: 60+74=134
Current State: 82:[43, 9, 134], Operations: ['60+74=134']
Exploring Operation: 43+9=52, Resulting Numbers: [134, 52]
Generated Node #3: [134, 52] from Operation: 43+9=52
Current State: 82:[134, 52], Operations: ['60+74=134', '43+9=52']
Exploring Operation: 134-52=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[60, 74, 43, 9], Operations: []
Exploring Operation: 74-60=14, Resulting Numbers: [43, 9, 14]
Generated Node #0,0: 82:[43, 9, 14] Operation: 74-60=14
Exploring Operation: 60-9=51, Resulting Numbers: [74, 43, 51]
Generated Node #0,1: 82:[74, 43, 51] Operation: 60-9=51
Moving to Node #0,1
Current State: 82:[74, 43, 51], Operations: ['60-9=51']
Exploring Operation: 74-43=31, Resulting Numbers: [51, 31]
Generated Node #0,1,0: 82:[51, 31] Operation: 74-43=31
Exploring Operation: 51-43=8, Resulting Numbers: [74, 8]
Generated Node #0,1,1: 82:[74, 8] Operation: 51-43=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 82:[74, 8], Operations: ['60-9=51', '51-43=8']
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,82 unequal: No Solution
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[60, 74, 43, 9], Operations: []
Exploring Operation: 60-9=51, Resulting Numbers: [74, 43, 51]
Generated Node #0,1: 82:[74, 43, 51] Operation: 60-9=51
Moving to Node #0,1
Current State: 82:[74, 43, 51], Operations: ['60-9=51']
Exploring Operation: 51-43=8, Resulting Numbers: [74, 8]
Generated Node #0,1,1: 82:[74, 8] Operation: 51-43=8
Moving to Node #0,1,1
Current State: 82:[74, 8], Operations: ['60-9=51', '51-43=8']
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
79,
37,
4,
27
] | 56 | [
"79+37=116",
"116/4=29",
"27+29=56"
] | Current State: 56:[79, 37, 4, 27], Operations: []
Exploring Operation: 79+37=116, Resulting Numbers: [4, 27, 116]
Generated Node #2: [4, 27, 116] from Operation: 79+37=116
Current State: 56:[4, 27, 116], Operations: ['79+37=116']
Exploring Operation: 116/4=29, Resulting Numbers: [27, 29]
Generated Node #3: [27, 29] from Operation: 116/4=29
Current State: 56:[27, 29], Operations: ['79+37=116', '116/4=29']
Exploring Operation: 27+29=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[79, 37, 4, 27], Operations: []
Exploring Operation: 79-27=52, Resulting Numbers: [37, 4, 52]
Generated Node #0,0: 56:[37, 4, 52] Operation: 79-27=52
Exploring Operation: 79-37=42, Resulting Numbers: [4, 27, 42]
Generated Node #0,1: 56:[4, 27, 42] Operation: 79-37=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[37, 4, 52], Operations: ['79-27=52']
Exploring Operation: 37-4=33, Resulting Numbers: [52, 33]
Generated Node #0,0,0: 56:[52, 33] Operation: 37-4=33
Exploring Operation: 52-37=15, Resulting Numbers: [4, 15]
Generated Node #0,0,1: 56:[4, 15] Operation: 52-37=15
Moving to Node #0,0,1
Current State: 56:[4, 15], Operations: ['79-27=52', '52-37=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[52, 33], Operations: ['79-27=52', '37-4=33']
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 52+33=85, Resulting Numbers: [85]
85,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[4, 27, 42], Operations: ['79-37=42']
Exploring Operation: 4+42=46, Resulting Numbers: [27, 46]
Generated Node #0,1,0: 56:[27, 46] Operation: 4+42=46
Exploring Operation: 42-27=15, Resulting Numbers: [4, 15]
Generated Node #0,1,1: 56:[4, 15] Operation: 42-27=15
Moving to Node #0,1,1
Current State: 56:[4, 15], Operations: ['79-37=42', '42-27=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[27, 46], Operations: ['79-37=42', '4+42=46']
Exploring Operation: 27+46=73, Resulting Numbers: [73]
73,56 unequal: No Solution
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,56 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.