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 |
|---|---|---|---|---|---|---|---|---|
[
21,
6,
44,
60
] | 77 | [
"21+6=27",
"44+60=104",
"104-27=77"
] | Current State: 77:[21, 6, 44, 60], Operations: []
Exploring Operation: 21+6=27, Resulting Numbers: [44, 60, 27]
Generated Node #2: [44, 60, 27] from Operation: 21+6=27
Current State: 77:[44, 60, 27], Operations: ['21+6=27']
Exploring Operation: 44+60=104, Resulting Numbers: [27, 104]
Generated Node #3: [27, 104] from Operation: 44+60=104
Current State: 77:[27, 104], Operations: ['21+6=27', '44+60=104']
Exploring Operation: 104-27=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[21, 6, 44, 60], Operations: []
Exploring Operation: 60-44=16, Resulting Numbers: [21, 6, 16]
Generated Node #0,0: 77:[21, 6, 16] Operation: 60-44=16
Exploring Operation: 21+60=81, Resulting Numbers: [6, 44, 81]
Generated Node #0,1: 77:[6, 44, 81] Operation: 21+60=81
Exploring Operation: 44-21=23, Resulting Numbers: [6, 60, 23]
Generated Node #0,2: 77:[6, 60, 23] Operation: 44-21=23
Exploring Operation: 21+44=65, Resulting Numbers: [6, 60, 65]
Generated Node #0,3: 77:[6, 60, 65] Operation: 21+44=65
Exploring Operation: 44+60=104, Resulting Numbers: [21, 6, 104]
Generated Node #0,4: 77:[21, 6, 104] Operation: 44+60=104
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[21, 6, 16], Operations: ['60-44=16']
Exploring Operation: 6+16=22, Resulting Numbers: [21, 22]
Generated Node #0,0,0: 77:[21, 22] Operation: 6+16=22
Exploring Operation: 21-6=15, Resulting Numbers: [16, 15]
Generated Node #0,0,1: 77:[16, 15] Operation: 21-6=15
Exploring Operation: 21-16=5, Resulting Numbers: [6, 5]
Generated Node #0,0,2: 77:[6, 5] Operation: 21-16=5
Exploring Operation: 16-6=10, Resulting Numbers: [21, 10]
Generated Node #0,0,3: 77:[21, 10] Operation: 16-6=10
Exploring Operation: 21+6=27, Resulting Numbers: [16, 27]
Generated Node #0,0,4: 77:[16, 27] Operation: 21+6=27
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 77:[6, 5], Operations: ['60-44=16', '21-16=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,77 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,77 unequal: No Solution
No 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: 77:[16, 15], Operations: ['60-44=16', '21-6=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,77 unequal: No Solution
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,77 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,77 unequal: No Solution
No 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: 77:[21, 10], Operations: ['60-44=16', '16-6=10']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 21*10=210, Resulting Numbers: [210]
210,77 unequal: No Solution
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,77 unequal: No Solution
No 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: 77:[21, 22], Operations: ['60-44=16', '6+16=22']
Exploring Operation: 21*22=462, Resulting Numbers: [462]
462,77 unequal: No Solution
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,77 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,77 unequal: No Solution
No 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: 77:[16, 27], Operations: ['60-44=16', '21+6=27']
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,77 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,77 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: 77:[6, 60, 23], Operations: ['44-21=23']
Exploring Operation: 23-6=17, Resulting Numbers: [60, 17]
Generated Node #0,2,0: 77:[60, 17] Operation: 23-6=17
Exploring Operation: 60+23=83, Resulting Numbers: [6, 83]
Generated Node #0,2,1: 77:[6, 83] Operation: 60+23=83
Exploring Operation: 6+60=66, Resulting Numbers: [23, 66]
Generated Node #0,2,2: 77:[23, 66] Operation: 6+60=66
Exploring Operation: 60-23=37, Resulting Numbers: [6, 37]
Generated Node #0,2,3: 77:[6, 37] Operation: 60-23=37
Exploring Operation: 60/6=10, Resulting Numbers: [23, 10]
Generated Node #0,2,4: 77:[23, 10] Operation: 60/6=10
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 77:[6, 83], Operations: ['44-21=23', '60+23=83']
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[21, 6, 44, 60], Operations: []
Exploring Operation: 44-21=23, Resulting Numbers: [6, 60, 23]
Generated Node #0,2: 77:[6, 60, 23] Operation: 44-21=23
Moving to Node #0,2
Current State: 77:[6, 60, 23], Operations: ['44-21=23']
Exploring Operation: 60+23=83, Resulting Numbers: [6, 83]
Generated Node #0,2,1: 77:[6, 83] Operation: 60+23=83
Moving to Node #0,2,1
Current State: 77:[6, 83], Operations: ['44-21=23', '60+23=83']
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
[
29,
58,
55,
55
] | 81 | [
"58-29=29",
"55+55=110",
"110-29=81"
] | Current State: 81:[29, 58, 55, 55], Operations: []
Exploring Operation: 58-29=29, Resulting Numbers: [55, 55, 29]
Generated Node #2: [55, 55, 29] from Operation: 58-29=29
Current State: 81:[55, 55, 29], Operations: ['58-29=29']
Exploring Operation: 55+55=110, Resulting Numbers: [29, 110]
Generated Node #3: [29, 110] from Operation: 55+55=110
Current State: 81:[29, 110], Operations: ['58-29=29', '55+55=110']
Exploring Operation: 110-29=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[29, 58, 55, 55], Operations: []
Exploring Operation: 55/55=1, Resulting Numbers: [29, 58, 1]
Generated Node #0,0: 81:[29, 58, 1] Operation: 55/55=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[29, 58, 1], Operations: ['55/55=1']
Exploring Operation: 58/29=2, Resulting Numbers: [1, 2]
Generated Node #0,0,0: 81:[1, 2] Operation: 58/29=2
Moving to Node #0,0,0
Current State: 81:[1, 2], Operations: ['55/55=1', '58/29=2']
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
64,
70,
82,
75
] | 23 | [
"64+70=134",
"82+75=157",
"157-134=23"
] | Current State: 23:[64, 70, 82, 75], Operations: []
Exploring Operation: 64+70=134, Resulting Numbers: [82, 75, 134]
Generated Node #2: [82, 75, 134] from Operation: 64+70=134
Current State: 23:[82, 75, 134], Operations: ['64+70=134']
Exploring Operation: 82+75=157, Resulting Numbers: [134, 157]
Generated Node #3: [134, 157] from Operation: 82+75=157
Current State: 23:[134, 157], Operations: ['64+70=134', '82+75=157']
Exploring Operation: 157-134=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[64, 70, 82, 75], Operations: []
Exploring Operation: 75-70=5, Resulting Numbers: [64, 82, 5]
Generated Node #0,0: 23:[64, 82, 5] Operation: 75-70=5
Exploring Operation: 75-64=11, Resulting Numbers: [70, 82, 11]
Generated Node #0,1: 23:[70, 82, 11] Operation: 75-64=11
Exploring Operation: 82-64=18, Resulting Numbers: [70, 75, 18]
Generated Node #0,2: 23:[70, 75, 18] Operation: 82-64=18
Exploring Operation: 82-70=12, Resulting Numbers: [64, 75, 12]
Generated Node #0,3: 23:[64, 75, 12] Operation: 82-70=12
Exploring Operation: 82-75=7, Resulting Numbers: [64, 70, 7]
Generated Node #0,4: 23:[64, 70, 7] Operation: 82-75=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[70, 75, 18], Operations: ['82-64=18']
Exploring Operation: 70-18=52, Resulting Numbers: [75, 52]
Generated Node #0,2,0: 23:[75, 52] Operation: 70-18=52
Exploring Operation: 75-70=5, Resulting Numbers: [18, 5]
Generated Node #0,2,1: 23:[18, 5] Operation: 75-70=5
Exploring Operation: 75-18=57, Resulting Numbers: [70, 57]
Generated Node #0,2,2: 23:[70, 57] Operation: 75-18=57
Exploring Operation: 75+18=93, Resulting Numbers: [70, 93]
Generated Node #0,2,3: 23:[70, 93] Operation: 75+18=93
Exploring Operation: 70+18=88, Resulting Numbers: [75, 88]
Generated Node #0,2,4: 23:[75, 88] Operation: 70+18=88
Moving to Node #0,2,1
Current State: 23:[18, 5], Operations: ['82-64=18', '75-70=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[64, 70, 82, 75], Operations: []
Exploring Operation: 82-64=18, Resulting Numbers: [70, 75, 18]
Generated Node #0,2: 23:[70, 75, 18] Operation: 82-64=18
Moving to Node #0,2
Current State: 23:[70, 75, 18], Operations: ['82-64=18']
Exploring Operation: 75-70=5, Resulting Numbers: [18, 5]
Generated Node #0,2,1: 23:[18, 5] Operation: 75-70=5
Moving to Node #0,2,1
Current State: 23:[18, 5], Operations: ['82-64=18', '75-70=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
59,
39,
44,
45
] | 29 | [
"39*45=1755",
"1755-44=1711",
"1711/59=29"
] | Current State: 29:[59, 39, 44, 45], Operations: []
Exploring Operation: 39*45=1755, Resulting Numbers: [59, 44, 1755]
Generated Node #2: [59, 44, 1755] from Operation: 39*45=1755
Current State: 29:[59, 44, 1755], Operations: ['39*45=1755']
Exploring Operation: 1755-44=1711, Resulting Numbers: [59, 1711]
Generated Node #3: [59, 1711] from Operation: 1755-44=1711
Current State: 29:[59, 1711], Operations: ['39*45=1755', '1755-44=1711']
Exploring Operation: 1711/59=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[59, 39, 44, 45], Operations: []
Exploring Operation: 59-44=15, Resulting Numbers: [39, 45, 15]
Generated Node #0,0: 29:[39, 45, 15] Operation: 59-44=15
Exploring Operation: 59-39=20, Resulting Numbers: [44, 45, 20]
Generated Node #0,1: 29:[44, 45, 20] Operation: 59-39=20
Moving to Node #0,0
Current State: 29:[39, 45, 15], Operations: ['59-44=15']
Exploring Operation: 45-15=30, Resulting Numbers: [39, 30]
Generated Node #0,0,0: 29:[39, 30] Operation: 45-15=30
Exploring Operation: 39-15=24, Resulting Numbers: [45, 24]
Generated Node #0,0,1: 29:[45, 24] Operation: 39-15=24
Moving to Node #0,1
Current State: 29:[44, 45, 20], Operations: ['59-39=20']
Exploring Operation: 45-20=25, Resulting Numbers: [44, 25]
Generated Node #0,1,0: 29:[44, 25] Operation: 45-20=25
Exploring Operation: 44-20=24, Resulting Numbers: [45, 24]
Generated Node #0,1,1: 29:[45, 24] Operation: 44-20=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[44, 25], Operations: ['59-39=20', '45-20=25']
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,29 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[45, 24], Operations: ['59-39=20', '44-20=24']
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,29 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 29:[39, 30], Operations: ['59-44=15', '45-15=30']
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,29 unequal: No Solution
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[45, 24], Operations: ['59-44=15', '39-15=24']
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,29 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,29 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
3,
2,
89,
41
] | 57 | [
"2*41=82",
"89+82=171",
"171/3=57"
] | Current State: 57:[3, 2, 89, 41], Operations: []
Exploring Operation: 2*41=82, Resulting Numbers: [3, 89, 82]
Generated Node #2: [3, 89, 82] from Operation: 2*41=82
Current State: 57:[3, 89, 82], Operations: ['2*41=82']
Exploring Operation: 89+82=171, Resulting Numbers: [3, 171]
Generated Node #3: [3, 171] from Operation: 89+82=171
Current State: 57:[3, 171], Operations: ['2*41=82', '89+82=171']
Exploring Operation: 171/3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[3, 2, 89, 41], Operations: []
Exploring Operation: 89-3=86, Resulting Numbers: [2, 41, 86]
Generated Node #0,0: 57:[2, 41, 86] Operation: 89-3=86
Exploring Operation: 89-41=48, Resulting Numbers: [3, 2, 48]
Generated Node #0,1: 57:[3, 2, 48] Operation: 89-41=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[3, 2, 48], Operations: ['89-41=48']
Exploring Operation: 48/3=16, Resulting Numbers: [2, 16]
Generated Node #0,1,0: 57:[2, 16] Operation: 48/3=16
Exploring Operation: 48/2=24, Resulting Numbers: [3, 24]
Generated Node #0,1,1: 57:[3, 24] Operation: 48/2=24
Moving to Node #0,1,0
Current State: 57:[2, 16], Operations: ['89-41=48', '48/3=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[3, 24], Operations: ['89-41=48', '48/2=24']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[2, 41, 86], Operations: ['89-3=86']
Exploring Operation: 86-41=45, Resulting Numbers: [2, 45]
Generated Node #0,0,0: 57:[2, 45] Operation: 86-41=45
Exploring Operation: 86/2=43, Resulting Numbers: [41, 43]
Generated Node #0,0,1: 57:[41, 43] Operation: 86/2=43
Moving to Node #0,0,0
Current State: 57:[2, 45], Operations: ['89-3=86', '86-41=45']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[41, 43], Operations: ['89-3=86', '86/2=43']
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 41+43=84, Resulting Numbers: [84]
84,57 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 |
[
3,
75,
82,
33
] | 68 | [
"75-33=42",
"42/3=14",
"82-14=68"
] | Current State: 68:[3, 75, 82, 33], Operations: []
Exploring Operation: 75-33=42, Resulting Numbers: [3, 82, 42]
Generated Node #2: [3, 82, 42] from Operation: 75-33=42
Current State: 68:[3, 82, 42], Operations: ['75-33=42']
Exploring Operation: 42/3=14, Resulting Numbers: [82, 14]
Generated Node #3: [82, 14] from Operation: 42/3=14
Current State: 68:[82, 14], Operations: ['75-33=42', '42/3=14']
Exploring Operation: 82-14=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[3, 75, 82, 33], Operations: []
Exploring Operation: 82-3=79, Resulting Numbers: [75, 33, 79]
Generated Node #0,0: 68:[75, 33, 79] Operation: 82-3=79
Exploring Operation: 82-75=7, Resulting Numbers: [3, 33, 7]
Generated Node #0,1: 68:[3, 33, 7] Operation: 82-75=7
Exploring Operation: 75-3=72, Resulting Numbers: [82, 33, 72]
Generated Node #0,2: 68:[82, 33, 72] Operation: 75-3=72
Moving to Node #0,1
Current State: 68:[3, 33, 7], Operations: ['82-75=7']
Exploring Operation: 7-3=4, Resulting Numbers: [33, 4]
Generated Node #0,1,0: 68:[33, 4] Operation: 7-3=4
Exploring Operation: 3*7=21, Resulting Numbers: [33, 21]
Generated Node #0,1,1: 68:[33, 21] Operation: 3*7=21
Exploring Operation: 3+33=36, Resulting Numbers: [7, 36]
Generated Node #0,1,2: 68:[7, 36] Operation: 3+33=36
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[33, 4], Operations: ['82-75=7', '7-3=4']
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,68 unequal: No Solution
Exploring Operation: 33*4=132, Resulting Numbers: [132]
132,68 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[33, 21], Operations: ['82-75=7', '3*7=21']
Exploring Operation: 33+21=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Exploring Operation: 33*21=693, Resulting Numbers: [693]
693,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 68:[7, 36], Operations: ['82-75=7', '3+33=36']
Exploring Operation: 7*36=252, Resulting Numbers: [252]
252,68 unequal: No Solution
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,68 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: 68:[75, 33, 79], Operations: ['82-3=79']
Exploring Operation: 79-33=46, Resulting Numbers: [75, 46]
Generated Node #0,0,0: 68:[75, 46] Operation: 79-33=46
Exploring Operation: 75-33=42, Resulting Numbers: [79, 42]
Generated Node #0,0,1: 68:[79, 42] Operation: 75-33=42
Exploring Operation: 79-75=4, Resulting Numbers: [33, 4]
Generated Node #0,0,2: 68:[33, 4] Operation: 79-75=4
Moving to Node #0,2
Current State: 68:[82, 33, 72], Operations: ['75-3=72']
Exploring Operation: 82-72=10, Resulting Numbers: [33, 10]
Generated Node #0,2,0: 68:[33, 10] Operation: 82-72=10
Exploring Operation: 82-33=49, Resulting Numbers: [72, 49]
Generated Node #0,2,1: 68:[72, 49] Operation: 82-33=49
Exploring Operation: 72-33=39, Resulting Numbers: [82, 39]
Generated Node #0,2,2: 68:[82, 39] Operation: 72-33=39
Moving to Node #0,0,2
Current State: 68:[33, 4], Operations: ['82-3=79', '79-75=4']
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,68 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,68 unequal: No Solution
Exploring Operation: 33*4=132, Resulting Numbers: [132]
132,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[33, 10], Operations: ['75-3=72', '82-72=10']
Exploring Operation: 33*10=330, Resulting Numbers: [330]
330,68 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 33+10=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[79, 42], Operations: ['82-3=79', '75-33=42']
Exploring Operation: 79+42=121, Resulting Numbers: [121]
121,68 unequal: No Solution
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,68 unequal: No Solution
Exploring Operation: 79*42=3318, Resulting Numbers: [3318]
3318,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[82, 39], Operations: ['75-3=72', '72-33=39']
Exploring Operation: 82+39=121, Resulting Numbers: [121]
121,68 unequal: No Solution
Exploring Operation: 82-39=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 82*39=3198, Resulting Numbers: [3198]
3198,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[72, 49], Operations: ['75-3=72', '82-33=49']
Exploring Operation: 72+49=121, Resulting Numbers: [121]
121,68 unequal: No Solution
Exploring Operation: 72-49=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 72*49=3528, Resulting Numbers: [3528]
3528,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[75, 46], Operations: ['82-3=79', '79-33=46']
Exploring Operation: 75+46=121, Resulting Numbers: [121]
121,68 unequal: No Solution
Exploring Operation: 75*46=3450, Resulting Numbers: [3450]
3450,68 unequal: No Solution
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,68 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
73,
67,
56,
87
] | 63 | [
"87-73=14",
"56/14=4",
"67-4=63"
] | Current State: 63:[73, 67, 56, 87], Operations: []
Exploring Operation: 87-73=14, Resulting Numbers: [67, 56, 14]
Generated Node #2: [67, 56, 14] from Operation: 87-73=14
Current State: 63:[67, 56, 14], Operations: ['87-73=14']
Exploring Operation: 56/14=4, Resulting Numbers: [67, 4]
Generated Node #3: [67, 4] from Operation: 56/14=4
Current State: 63:[67, 4], Operations: ['87-73=14', '56/14=4']
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[73, 67, 56, 87], Operations: []
Exploring Operation: 87-67=20, Resulting Numbers: [73, 56, 20]
Generated Node #0,0: 63:[73, 56, 20] Operation: 87-67=20
Exploring Operation: 87-73=14, Resulting Numbers: [67, 56, 14]
Generated Node #0,1: 63:[67, 56, 14] Operation: 87-73=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[67, 56, 14], Operations: ['87-73=14']
Exploring Operation: 56/14=4, Resulting Numbers: [67, 4]
Generated Node #0,1,0: 63:[67, 4] Operation: 56/14=4
Exploring Operation: 67-56=11, Resulting Numbers: [14, 11]
Generated Node #0,1,1: 63:[14, 11] Operation: 67-56=11
Moving to Node #0,1,0
Current State: 63:[67, 4], Operations: ['87-73=14', '56/14=4']
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,63 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[73, 67, 56, 87], Operations: []
Exploring Operation: 87-73=14, Resulting Numbers: [67, 56, 14]
Generated Node #0,1: 63:[67, 56, 14] Operation: 87-73=14
Moving to Node #0,1
Current State: 63:[67, 56, 14], Operations: ['87-73=14']
Exploring Operation: 56/14=4, Resulting Numbers: [67, 4]
Generated Node #0,1,0: 63:[67, 4] Operation: 56/14=4
Moving to Node #0,1,0
Current State: 63:[67, 4], Operations: ['87-73=14', '56/14=4']
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
36,
56,
90,
15
] | 18 | [
"56-36=20",
"20-15=5",
"90/5=18"
] | Current State: 18:[36, 56, 90, 15], Operations: []
Exploring Operation: 56-36=20, Resulting Numbers: [90, 15, 20]
Generated Node #2: [90, 15, 20] from Operation: 56-36=20
Current State: 18:[90, 15, 20], Operations: ['56-36=20']
Exploring Operation: 20-15=5, Resulting Numbers: [90, 5]
Generated Node #3: [90, 5] from Operation: 20-15=5
Current State: 18:[90, 5], Operations: ['56-36=20', '20-15=5']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[36, 56, 90, 15], Operations: []
Exploring Operation: 56-36=20, Resulting Numbers: [90, 15, 20]
Generated Node #0,0: 18:[90, 15, 20] Operation: 56-36=20
Exploring Operation: 36-15=21, Resulting Numbers: [56, 90, 21]
Generated Node #0,1: 18:[56, 90, 21] Operation: 36-15=21
Exploring Operation: 90-36=54, Resulting Numbers: [56, 15, 54]
Generated Node #0,2: 18:[56, 15, 54] Operation: 90-36=54
Exploring Operation: 90-56=34, Resulting Numbers: [36, 15, 34]
Generated Node #0,3: 18:[36, 15, 34] Operation: 90-56=34
Exploring Operation: 90/15=6, Resulting Numbers: [36, 56, 6]
Generated Node #0,4: 18:[36, 56, 6] Operation: 90/15=6
Moving to Node #0,3
Current State: 18:[36, 15, 34], Operations: ['90-56=34']
Exploring Operation: 36-34=2, Resulting Numbers: [15, 2]
Generated Node #0,3,0: 18:[15, 2] Operation: 36-34=2
Exploring Operation: 36+15=51, Resulting Numbers: [34, 51]
Generated Node #0,3,1: 18:[34, 51] Operation: 36+15=51
Exploring Operation: 34-15=19, Resulting Numbers: [36, 19]
Generated Node #0,3,2: 18:[36, 19] Operation: 34-15=19
Exploring Operation: 36-15=21, Resulting Numbers: [34, 21]
Generated Node #0,3,3: 18:[34, 21] Operation: 36-15=21
Exploring Operation: 15+34=49, Resulting Numbers: [36, 49]
Generated Node #0,3,4: 18:[36, 49] Operation: 15+34=49
Moving to Node #0,4
Current State: 18:[36, 56, 6], Operations: ['90/15=6']
Exploring Operation: 36-6=30, Resulting Numbers: [56, 30]
Generated Node #0,4,0: 18:[56, 30] Operation: 36-6=30
Exploring Operation: 56-36=20, Resulting Numbers: [6, 20]
Generated Node #0,4,1: 18:[6, 20] Operation: 56-36=20
Exploring Operation: 36/6=6, Resulting Numbers: [56, 6]
Generated Node #0,4,2: 18:[56, 6] Operation: 36/6=6
Exploring Operation: 56-6=50, Resulting Numbers: [36, 50]
Generated Node #0,4,3: 18:[36, 50] Operation: 56-6=50
Exploring Operation: 36+6=42, Resulting Numbers: [56, 42]
Generated Node #0,4,4: 18:[56, 42] Operation: 36+6=42
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 18:[6, 20], Operations: ['90/15=6', '56-36=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 18:[56, 6], Operations: ['90/15=6', '36/6=6']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,18 unequal: No Solution
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 18:[56, 30], Operations: ['90/15=6', '36-6=30']
Exploring Operation: 56+30=86, Resulting Numbers: [86]
86,18 unequal: No Solution
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 56*30=1680, Resulting Numbers: [1680]
1680,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 18:[36, 50], Operations: ['90/15=6', '56-6=50']
Exploring Operation: 50-36=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Exploring Operation: 36*50=1800, Resulting Numbers: [1800]
1800,18 unequal: No Solution
Exploring Operation: 36+50=86, Resulting Numbers: [86]
86,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 18:[56, 42], Operations: ['90/15=6', '36+6=42']
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Exploring Operation: 56*42=2352, Resulting Numbers: [2352]
2352,18 unequal: No Solution
Exploring Operation: 56+42=98, Resulting Numbers: [98]
98,18 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: 18:[90, 15, 20], Operations: ['56-36=20']
Exploring Operation: 20-15=5, Resulting Numbers: [90, 5]
Generated Node #0,0,0: 18:[90, 5] Operation: 20-15=5
Exploring Operation: 90-20=70, Resulting Numbers: [15, 70]
Generated Node #0,0,1: 18:[15, 70] Operation: 90-20=70
Exploring Operation: 90-15=75, Resulting Numbers: [20, 75]
Generated Node #0,0,2: 18:[20, 75] Operation: 90-15=75
Exploring Operation: 90+15=105, Resulting Numbers: [20, 105]
Generated Node #0,0,3: 18:[20, 105] Operation: 90+15=105
Exploring Operation: 90/15=6, Resulting Numbers: [20, 6]
Generated Node #0,0,4: 18:[20, 6] Operation: 90/15=6
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 18:[20, 6], Operations: ['56-36=20', '90/15=6']
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,18 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[15, 70], Operations: ['56-36=20', '90-20=70']
Exploring Operation: 15+70=85, Resulting Numbers: [85]
85,18 unequal: No Solution
Exploring Operation: 70-15=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Exploring Operation: 15*70=1050, Resulting Numbers: [1050]
1050,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 18:[20, 75], Operations: ['56-36=20', '90-15=75']
Exploring Operation: 20*75=1500, Resulting Numbers: [1500]
1500,18 unequal: No Solution
Exploring Operation: 20+75=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Exploring Operation: 75-20=55, Resulting Numbers: [55]
55,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[90, 5], Operations: ['56-36=20', '20-15=5']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,18 unequal: No Solution
Exploring Operation: 90*5=450, Resulting Numbers: [450]
450,18 unequal: No Solution
Exploring Operation: 90+5=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[36, 56, 90, 15], Operations: []
Exploring Operation: 56-36=20, Resulting Numbers: [90, 15, 20]
Generated Node #0,0: 18:[90, 15, 20] Operation: 56-36=20
Moving to Node #0,0
Current State: 18:[90, 15, 20], Operations: ['56-36=20']
Exploring Operation: 20-15=5, Resulting Numbers: [90, 5]
Generated Node #0,0,0: 18:[90, 5] Operation: 20-15=5
Moving to Node #0,0,0
Current State: 18:[90, 5], Operations: ['56-36=20', '20-15=5']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.954861 | hs_5 | sum_heuristic |
[
17,
13,
85,
82
] | 74 | [
"85/17=5",
"82-13=69",
"5+69=74"
] | Current State: 74:[17, 13, 85, 82], Operations: []
Exploring Operation: 85/17=5, Resulting Numbers: [13, 82, 5]
Generated Node #2: [13, 82, 5] from Operation: 85/17=5
Current State: 74:[13, 82, 5], Operations: ['85/17=5']
Exploring Operation: 82-13=69, Resulting Numbers: [5, 69]
Generated Node #3: [5, 69] from Operation: 82-13=69
Current State: 74:[5, 69], Operations: ['85/17=5', '82-13=69']
Exploring Operation: 5+69=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[17, 13, 85, 82], Operations: []
Exploring Operation: 17-13=4, Resulting Numbers: [85, 82, 4]
Generated Node #0,0: 74:[85, 82, 4] Operation: 17-13=4
Exploring Operation: 85-17=68, Resulting Numbers: [13, 82, 68]
Generated Node #0,1: 74:[13, 82, 68] Operation: 85-17=68
Exploring Operation: 85-13=72, Resulting Numbers: [17, 82, 72]
Generated Node #0,2: 74:[17, 82, 72] Operation: 85-13=72
Exploring Operation: 85/17=5, Resulting Numbers: [13, 82, 5]
Generated Node #0,3: 74:[13, 82, 5] Operation: 85/17=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[85, 82, 4], Operations: ['17-13=4']
Exploring Operation: 85-82=3, Resulting Numbers: [4, 3]
Generated Node #0,0,0: 74:[4, 3] Operation: 85-82=3
Exploring Operation: 82-4=78, Resulting Numbers: [85, 78]
Generated Node #0,0,1: 74:[85, 78] Operation: 82-4=78
Exploring Operation: 85-4=81, Resulting Numbers: [82, 81]
Generated Node #0,0,2: 74:[82, 81] Operation: 85-4=81
Exploring Operation: 85+4=89, Resulting Numbers: [82, 89]
Generated Node #0,0,3: 74:[82, 89] Operation: 85+4=89
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[4, 3], Operations: ['17-13=4', '85-82=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 74:[85, 78], Operations: ['17-13=4', '82-4=78']
Exploring Operation: 85*78=6630, Resulting Numbers: [6630]
6630,74 unequal: No Solution
Exploring Operation: 85-78=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 85+78=163, Resulting Numbers: [163]
163,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 74:[82, 81], Operations: ['17-13=4', '85-4=81']
Exploring Operation: 82-81=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 82+81=163, Resulting Numbers: [163]
163,74 unequal: No Solution
Exploring Operation: 82*81=6642, Resulting Numbers: [6642]
6642,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 74:[82, 89], Operations: ['17-13=4', '85+4=89']
Exploring Operation: 89-82=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 82*89=7298, Resulting Numbers: [7298]
7298,74 unequal: No Solution
Exploring Operation: 82+89=171, Resulting Numbers: [171]
171,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[13, 82, 5], Operations: ['85/17=5']
Exploring Operation: 13-5=8, Resulting Numbers: [82, 8]
Generated Node #0,3,0: 74:[82, 8] Operation: 13-5=8
Exploring Operation: 13*5=65, Resulting Numbers: [82, 65]
Generated Node #0,3,1: 74:[82, 65] Operation: 13*5=65
Exploring Operation: 82-13=69, Resulting Numbers: [5, 69]
Generated Node #0,3,2: 74:[5, 69] Operation: 82-13=69
Exploring Operation: 82-5=77, Resulting Numbers: [13, 77]
Generated Node #0,3,3: 74:[13, 77] Operation: 82-5=77
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 74:[5, 69], Operations: ['85/17=5', '82-13=69']
Exploring Operation: 5+69=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[17, 13, 85, 82], Operations: []
Exploring Operation: 85/17=5, Resulting Numbers: [13, 82, 5]
Generated Node #0,3: 74:[13, 82, 5] Operation: 85/17=5
Moving to Node #0,3
Current State: 74:[13, 82, 5], Operations: ['85/17=5']
Exploring Operation: 82-13=69, Resulting Numbers: [5, 69]
Generated Node #0,3,2: 74:[5, 69] Operation: 82-13=69
Moving to Node #0,3,2
Current State: 74:[5, 69], Operations: ['85/17=5', '82-13=69']
Exploring Operation: 5+69=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
17,
71,
31,
75
] | 18 | [
"17+71=88",
"31+75=106",
"106-88=18"
] | Current State: 18:[17, 71, 31, 75], Operations: []
Exploring Operation: 17+71=88, Resulting Numbers: [31, 75, 88]
Generated Node #2: [31, 75, 88] from Operation: 17+71=88
Current State: 18:[31, 75, 88], Operations: ['17+71=88']
Exploring Operation: 31+75=106, Resulting Numbers: [88, 106]
Generated Node #3: [88, 106] from Operation: 31+75=106
Current State: 18:[88, 106], Operations: ['17+71=88', '31+75=106']
Exploring Operation: 106-88=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[17, 71, 31, 75], Operations: []
Exploring Operation: 75-31=44, Resulting Numbers: [17, 71, 44]
Generated Node #0,0: 18:[17, 71, 44] Operation: 75-31=44
Exploring Operation: 71-17=54, Resulting Numbers: [31, 75, 54]
Generated Node #0,1: 18:[31, 75, 54] Operation: 71-17=54
Exploring Operation: 75-71=4, Resulting Numbers: [17, 31, 4]
Generated Node #0,2: 18:[17, 31, 4] Operation: 75-71=4
Exploring Operation: 75-17=58, Resulting Numbers: [71, 31, 58]
Generated Node #0,3: 18:[71, 31, 58] Operation: 75-17=58
Exploring Operation: 71-31=40, Resulting Numbers: [17, 75, 40]
Generated Node #0,4: 18:[17, 75, 40] Operation: 71-31=40
Moving to Node #0,2
Current State: 18:[17, 31, 4], Operations: ['75-71=4']
Exploring Operation: 17+4=21, Resulting Numbers: [31, 21]
Generated Node #0,2,0: 18:[31, 21] Operation: 17+4=21
Exploring Operation: 31-4=27, Resulting Numbers: [17, 27]
Generated Node #0,2,1: 18:[17, 27] Operation: 31-4=27
Exploring Operation: 31-17=14, Resulting Numbers: [4, 14]
Generated Node #0,2,2: 18:[4, 14] Operation: 31-17=14
Exploring Operation: 31+4=35, Resulting Numbers: [17, 35]
Generated Node #0,2,3: 18:[17, 35] Operation: 31+4=35
Exploring Operation: 17-4=13, Resulting Numbers: [31, 13]
Generated Node #0,2,4: 18:[31, 13] Operation: 17-4=13
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 18:[4, 14], Operations: ['75-71=4', '31-17=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,18 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[17, 71, 31, 75], Operations: []
Exploring Operation: 75-71=4, Resulting Numbers: [17, 31, 4]
Generated Node #0,2: 18:[17, 31, 4] Operation: 75-71=4
Moving to Node #0,2
Current State: 18:[17, 31, 4], Operations: ['75-71=4']
Exploring Operation: 31-17=14, Resulting Numbers: [4, 14]
Generated Node #0,2,2: 18:[4, 14] Operation: 31-17=14
Moving to Node #0,2,2
Current State: 18:[4, 14], Operations: ['75-71=4', '31-17=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
51,
60,
94,
5
] | 98 | [
"60-51=9",
"94-5=89",
"9+89=98"
] | Current State: 98:[51, 60, 94, 5], Operations: []
Exploring Operation: 60-51=9, Resulting Numbers: [94, 5, 9]
Generated Node #2: [94, 5, 9] from Operation: 60-51=9
Current State: 98:[94, 5, 9], Operations: ['60-51=9']
Exploring Operation: 94-5=89, Resulting Numbers: [9, 89]
Generated Node #3: [9, 89] from Operation: 94-5=89
Current State: 98:[9, 89], Operations: ['60-51=9', '94-5=89']
Exploring Operation: 9+89=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[51, 60, 94, 5], Operations: []
Exploring Operation: 94+5=99, Resulting Numbers: [51, 60, 99]
Generated Node #0,0: 98:[51, 60, 99] Operation: 94+5=99
Exploring Operation: 60-51=9, Resulting Numbers: [94, 5, 9]
Generated Node #0,1: 98:[94, 5, 9] Operation: 60-51=9
Exploring Operation: 60-5=55, Resulting Numbers: [51, 94, 55]
Generated Node #0,2: 98:[51, 94, 55] Operation: 60-5=55
Exploring Operation: 51-5=46, Resulting Numbers: [60, 94, 46]
Generated Node #0,3: 98:[60, 94, 46] Operation: 51-5=46
Exploring Operation: 60/5=12, Resulting Numbers: [51, 94, 12]
Generated Node #0,4: 98:[51, 94, 12] Operation: 60/5=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[94, 5, 9], Operations: ['60-51=9']
Exploring Operation: 94+5=99, Resulting Numbers: [9, 99]
Generated Node #0,1,0: 98:[9, 99] Operation: 94+5=99
Exploring Operation: 9-5=4, Resulting Numbers: [94, 4]
Generated Node #0,1,1: 98:[94, 4] Operation: 9-5=4
Exploring Operation: 5+9=14, Resulting Numbers: [94, 14]
Generated Node #0,1,2: 98:[94, 14] Operation: 5+9=14
Exploring Operation: 94+9=103, Resulting Numbers: [5, 103]
Generated Node #0,1,3: 98:[5, 103] Operation: 94+9=103
Exploring Operation: 5*9=45, Resulting Numbers: [94, 45]
Generated Node #0,1,4: 98:[94, 45] Operation: 5*9=45
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[9, 99], Operations: ['60-51=9', '94+5=99']
Exploring Operation: 99-9=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Exploring Operation: 9+99=108, Resulting Numbers: [108]
108,98 unequal: No Solution
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 9*99=891, Resulting Numbers: [891]
891,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,2
Current State: 98:[94, 14], Operations: ['60-51=9', '5+9=14']
Exploring Operation: 94*14=1316, Resulting Numbers: [1316]
1316,98 unequal: No Solution
Exploring Operation: 94-14=80, Resulting Numbers: [80]
80,98 unequal: No Solution
Exploring Operation: 94+14=108, Resulting Numbers: [108]
108,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[94, 4], Operations: ['60-51=9', '9-5=4']
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Exploring Operation: 94*4=376, Resulting Numbers: [376]
376,98 unequal: No Solution
Exploring Operation: 94+4=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[51, 60, 94, 5], Operations: []
Exploring Operation: 60-51=9, Resulting Numbers: [94, 5, 9]
Generated Node #0,1: 98:[94, 5, 9] Operation: 60-51=9
Moving to Node #0,1
Current State: 98:[94, 5, 9], Operations: ['60-51=9']
Exploring Operation: 9-5=4, Resulting Numbers: [94, 4]
Generated Node #0,1,1: 98:[94, 4] Operation: 9-5=4
Moving to Node #0,1,1
Current State: 98:[94, 4], Operations: ['60-51=9', '9-5=4']
Exploring Operation: 94+4=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_5 | sum_heuristic |
[
38,
2,
51,
25
] | 25 | [
"38-25=13",
"2*13=26",
"51-26=25"
] | Current State: 25:[38, 2, 51, 25], Operations: []
Exploring Operation: 38-25=13, Resulting Numbers: [2, 51, 13]
Generated Node #2: [2, 51, 13] from Operation: 38-25=13
Current State: 25:[2, 51, 13], Operations: ['38-25=13']
Exploring Operation: 2*13=26, Resulting Numbers: [51, 26]
Generated Node #3: [51, 26] from Operation: 2*13=26
Current State: 25:[51, 26], Operations: ['38-25=13', '2*13=26']
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[38, 2, 51, 25], Operations: []
Exploring Operation: 51-38=13, Resulting Numbers: [2, 25, 13]
Generated Node #0,0: 25:[2, 25, 13] Operation: 51-38=13
Exploring Operation: 51-25=26, Resulting Numbers: [38, 2, 26]
Generated Node #0,1: 25:[38, 2, 26] Operation: 51-25=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[2, 25, 13], Operations: ['51-38=13']
Exploring Operation: 13-2=11, Resulting Numbers: [25, 11]
Generated Node #0,0,0: 25:[25, 11] Operation: 13-2=11
Exploring Operation: 2*13=26, Resulting Numbers: [25, 26]
Generated Node #0,0,1: 25:[25, 26] Operation: 2*13=26
Moving to Node #0,0,1
Current State: 25:[25, 26], Operations: ['51-38=13', '2*13=26']
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 25+26=51, Resulting Numbers: [51]
51,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[25, 11], Operations: ['51-38=13', '13-2=11']
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,25 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[38, 2, 26], Operations: ['51-25=26']
Exploring Operation: 38-26=12, Resulting Numbers: [2, 12]
Generated Node #0,1,0: 25:[2, 12] Operation: 38-26=12
Exploring Operation: 38/2=19, Resulting Numbers: [26, 19]
Generated Node #0,1,1: 25:[26, 19] Operation: 38/2=19
Moving to Node #0,1,1
Current State: 25:[26, 19], Operations: ['51-25=26', '38/2=19']
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[2, 12], Operations: ['51-25=26', '38-26=12']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,25 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 |
[
13,
52,
75,
54
] | 86 | [
"13+52=65",
"75-54=21",
"65+21=86"
] | Current State: 86:[13, 52, 75, 54], Operations: []
Exploring Operation: 13+52=65, Resulting Numbers: [75, 54, 65]
Generated Node #2: [75, 54, 65] from Operation: 13+52=65
Current State: 86:[75, 54, 65], Operations: ['13+52=65']
Exploring Operation: 75-54=21, Resulting Numbers: [65, 21]
Generated Node #3: [65, 21] from Operation: 75-54=21
Current State: 86:[65, 21], Operations: ['13+52=65', '75-54=21']
Exploring Operation: 65+21=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[13, 52, 75, 54], Operations: []
Exploring Operation: 54-13=41, Resulting Numbers: [52, 75, 41]
Generated Node #0,0: 86:[52, 75, 41] Operation: 54-13=41
Exploring Operation: 13+75=88, Resulting Numbers: [52, 54, 88]
Generated Node #0,1: 86:[52, 54, 88] Operation: 13+75=88
Exploring Operation: 54-52=2, Resulting Numbers: [13, 75, 2]
Generated Node #0,2: 86:[13, 75, 2] Operation: 54-52=2
Moving to Node #0,0
Current State: 86:[52, 75, 41], Operations: ['54-13=41']
Exploring Operation: 52+41=93, Resulting Numbers: [75, 93]
Generated Node #0,0,0: 86:[75, 93] Operation: 52+41=93
Exploring Operation: 52-41=11, Resulting Numbers: [75, 11]
Generated Node #0,0,1: 86:[75, 11] Operation: 52-41=11
Exploring Operation: 75-41=34, Resulting Numbers: [52, 34]
Generated Node #0,0,2: 86:[52, 34] Operation: 75-41=34
Moving to Node #0,1
Current State: 86:[52, 54, 88], Operations: ['13+75=88']
Exploring Operation: 54-52=2, Resulting Numbers: [88, 2]
Generated Node #0,1,0: 86:[88, 2] Operation: 54-52=2
Exploring Operation: 88-52=36, Resulting Numbers: [54, 36]
Generated Node #0,1,1: 86:[54, 36] Operation: 88-52=36
Exploring Operation: 88-54=34, Resulting Numbers: [52, 34]
Generated Node #0,1,2: 86:[52, 34] Operation: 88-54=34
Moving to Node #0,2
Current State: 86:[13, 75, 2], Operations: ['54-52=2']
Exploring Operation: 13+75=88, Resulting Numbers: [2, 88]
Generated Node #0,2,0: 86:[2, 88] Operation: 13+75=88
Exploring Operation: 75-13=62, Resulting Numbers: [2, 62]
Generated Node #0,2,1: 86:[2, 62] Operation: 75-13=62
Exploring Operation: 13-2=11, Resulting Numbers: [75, 11]
Generated Node #0,2,2: 86:[75, 11] Operation: 13-2=11
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[2, 88], Operations: ['54-52=2', '13+75=88']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[13, 52, 75, 54], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [13, 75, 2]
Generated Node #0,2: 86:[13, 75, 2] Operation: 54-52=2
Moving to Node #0,2
Current State: 86:[13, 75, 2], Operations: ['54-52=2']
Exploring Operation: 13+75=88, Resulting Numbers: [2, 88]
Generated Node #0,2,0: 86:[2, 88] Operation: 13+75=88
Moving to Node #0,2,0
Current State: 86:[2, 88], Operations: ['54-52=2', '13+75=88']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
29,
1,
32,
35
] | 70 | [
"29+1=30",
"32-30=2",
"35*2=70"
] | Current State: 70:[29, 1, 32, 35], Operations: []
Exploring Operation: 29+1=30, Resulting Numbers: [32, 35, 30]
Generated Node #2: [32, 35, 30] from Operation: 29+1=30
Current State: 70:[32, 35, 30], Operations: ['29+1=30']
Exploring Operation: 32-30=2, Resulting Numbers: [35, 2]
Generated Node #3: [35, 2] from Operation: 32-30=2
Current State: 70:[35, 2], Operations: ['29+1=30', '32-30=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[29, 1, 32, 35], Operations: []
Exploring Operation: 32-29=3, Resulting Numbers: [1, 35, 3]
Generated Node #0,0: 70:[1, 35, 3] Operation: 32-29=3
Exploring Operation: 35-29=6, Resulting Numbers: [1, 32, 6]
Generated Node #0,1: 70:[1, 32, 6] Operation: 35-29=6
Exploring Operation: 29+1=30, Resulting Numbers: [32, 35, 30]
Generated Node #0,2: 70:[32, 35, 30] Operation: 29+1=30
Exploring Operation: 1+32=33, Resulting Numbers: [29, 35, 33]
Generated Node #0,3: 70:[29, 35, 33] Operation: 1+32=33
Moving to Node #0,0
Current State: 70:[1, 35, 3], Operations: ['32-29=3']
Exploring Operation: 1*35=35, Resulting Numbers: [3, 35]
Generated Node #0,0,0: 70:[3, 35] Operation: 1*35=35
Exploring Operation: 1+3=4, Resulting Numbers: [35, 4]
Generated Node #0,0,1: 70:[35, 4] Operation: 1+3=4
Exploring Operation: 35/1=35, Resulting Numbers: [3, 35]
Generated Node #0,0,2: 70:[3, 35] Operation: 35/1=35
Exploring Operation: 3-1=2, Resulting Numbers: [35, 2]
Generated Node #0,0,3: 70:[35, 2] Operation: 3-1=2
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 70:[35, 2], Operations: ['32-29=3', '3-1=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[29, 1, 32, 35], Operations: []
Exploring Operation: 32-29=3, Resulting Numbers: [1, 35, 3]
Generated Node #0,0: 70:[1, 35, 3] Operation: 32-29=3
Moving to Node #0,0
Current State: 70:[1, 35, 3], Operations: ['32-29=3']
Exploring Operation: 3-1=2, Resulting Numbers: [35, 2]
Generated Node #0,0,3: 70:[35, 2] Operation: 3-1=2
Moving to Node #0,0,3
Current State: 70:[35, 2], Operations: ['32-29=3', '3-1=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
94,
12,
41,
98
] | 89 | [
"98-94=4",
"12*4=48",
"41+48=89"
] | Current State: 89:[94, 12, 41, 98], Operations: []
Exploring Operation: 98-94=4, Resulting Numbers: [12, 41, 4]
Generated Node #2: [12, 41, 4] from Operation: 98-94=4
Current State: 89:[12, 41, 4], Operations: ['98-94=4']
Exploring Operation: 12*4=48, Resulting Numbers: [41, 48]
Generated Node #3: [41, 48] from Operation: 12*4=48
Current State: 89:[41, 48], Operations: ['98-94=4', '12*4=48']
Exploring Operation: 41+48=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[94, 12, 41, 98], Operations: []
Exploring Operation: 12+41=53, Resulting Numbers: [94, 98, 53]
Generated Node #0,0: 89:[94, 98, 53] Operation: 12+41=53
Exploring Operation: 94+12=106, Resulting Numbers: [41, 98, 106]
Generated Node #0,1: 89:[41, 98, 106] Operation: 94+12=106
Exploring Operation: 94-12=82, Resulting Numbers: [41, 98, 82]
Generated Node #0,2: 89:[41, 98, 82] Operation: 94-12=82
Exploring Operation: 98-12=86, Resulting Numbers: [94, 41, 86]
Generated Node #0,3: 89:[94, 41, 86] Operation: 98-12=86
Moving to Node #0,0
Current State: 89:[94, 98, 53], Operations: ['12+41=53']
Exploring Operation: 94-53=41, Resulting Numbers: [98, 41]
Generated Node #0,0,0: 89:[98, 41] Operation: 94-53=41
Exploring Operation: 94+53=147, Resulting Numbers: [98, 147]
Generated Node #0,0,1: 89:[98, 147] Operation: 94+53=147
Exploring Operation: 98+53=151, Resulting Numbers: [94, 151]
Generated Node #0,0,2: 89:[94, 151] Operation: 98+53=151
Exploring Operation: 98-53=45, Resulting Numbers: [94, 45]
Generated Node #0,0,3: 89:[94, 45] Operation: 98-53=45
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 89:[94, 45], Operations: ['12+41=53', '98-53=45']
Exploring Operation: 94*45=4230, Resulting Numbers: [4230]
4230,89 unequal: No Solution
Exploring Operation: 94+45=139, Resulting Numbers: [139]
139,89 unequal: No Solution
Exploring Operation: 94-45=49, Resulting Numbers: [49]
49,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[98, 41], Operations: ['12+41=53', '94-53=41']
Exploring Operation: 98-41=57, Resulting Numbers: [57]
57,89 unequal: No Solution
Exploring Operation: 98+41=139, Resulting Numbers: [139]
139,89 unequal: No Solution
Exploring Operation: 98*41=4018, Resulting Numbers: [4018]
4018,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[98, 147], Operations: ['12+41=53', '94+53=147']
Exploring Operation: 98*147=14406, Resulting Numbers: [14406]
14406,89 unequal: No Solution
Exploring Operation: 98+147=245, Resulting Numbers: [245]
245,89 unequal: No Solution
Exploring Operation: 147-98=49, Resulting Numbers: [49]
49,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[94, 151], Operations: ['12+41=53', '98+53=151']
Exploring Operation: 151-94=57, Resulting Numbers: [57]
57,89 unequal: No Solution
Exploring Operation: 94*151=14194, Resulting Numbers: [14194]
14194,89 unequal: No Solution
Exploring Operation: 94+151=245, Resulting Numbers: [245]
245,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 89:[94, 41, 86], Operations: ['98-12=86']
Exploring Operation: 94-41=53, Resulting Numbers: [86, 53]
Generated Node #0,3,0: 89:[86, 53] Operation: 94-41=53
Exploring Operation: 94+41=135, Resulting Numbers: [86, 135]
Generated Node #0,3,1: 89:[86, 135] Operation: 94+41=135
Exploring Operation: 86-41=45, Resulting Numbers: [94, 45]
Generated Node #0,3,2: 89:[94, 45] Operation: 86-41=45
Exploring Operation: 41+86=127, Resulting Numbers: [94, 127]
Generated Node #0,3,3: 89:[94, 127] Operation: 41+86=127
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 89:[86, 53], Operations: ['98-12=86', '94-41=53']
Exploring Operation: 86*53=4558, Resulting Numbers: [4558]
4558,89 unequal: No Solution
Exploring Operation: 86-53=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Exploring Operation: 86+53=139, Resulting Numbers: [139]
139,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 89:[94, 127], Operations: ['98-12=86', '41+86=127']
Exploring Operation: 94*127=11938, Resulting Numbers: [11938]
11938,89 unequal: No Solution
Exploring Operation: 94+127=221, Resulting Numbers: [221]
221,89 unequal: No Solution
Exploring Operation: 127-94=33, Resulting Numbers: [33]
33,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 89:[86, 135], Operations: ['98-12=86', '94+41=135']
Exploring Operation: 135-86=49, Resulting Numbers: [49]
49,89 unequal: No Solution
Exploring Operation: 86*135=11610, Resulting Numbers: [11610]
11610,89 unequal: No Solution
Exploring Operation: 86+135=221, Resulting Numbers: [221]
221,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 89:[94, 45], Operations: ['98-12=86', '86-41=45']
Exploring Operation: 94+45=139, Resulting Numbers: [139]
139,89 unequal: No Solution
Exploring Operation: 94-45=49, Resulting Numbers: [49]
49,89 unequal: No Solution
Exploring Operation: 94*45=4230, Resulting Numbers: [4230]
4230,89 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: 89:[41, 98, 82], Operations: ['94-12=82']
Exploring Operation: 82-41=41, Resulting Numbers: [98, 41]
Generated Node #0,2,0: 89:[98, 41] Operation: 82-41=41
Exploring Operation: 41+98=139, Resulting Numbers: [82, 139]
Generated Node #0,2,1: 89:[82, 139] Operation: 41+98=139
Exploring Operation: 98-41=57, Resulting Numbers: [82, 57]
Generated Node #0,2,2: 89:[82, 57] Operation: 98-41=57
Exploring Operation: 41+82=123, Resulting Numbers: [98, 123]
Generated Node #0,2,3: 89:[98, 123] Operation: 41+82=123
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[82, 57], Operations: ['94-12=82', '98-41=57']
Exploring Operation: 82+57=139, Resulting Numbers: [139]
139,89 unequal: No Solution
Exploring Operation: 82-57=25, Resulting Numbers: [25]
25,89 unequal: No Solution
Exploring Operation: 82*57=4674, Resulting Numbers: [4674]
4674,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 89:[98, 123], Operations: ['94-12=82', '41+82=123']
Exploring Operation: 98+123=221, Resulting Numbers: [221]
221,89 unequal: No Solution
Exploring Operation: 98*123=12054, Resulting Numbers: [12054]
12054,89 unequal: No Solution
Exploring Operation: 123-98=25, Resulting Numbers: [25]
25,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[98, 41], Operations: ['94-12=82', '82-41=41']
Exploring Operation: 98+41=139, Resulting Numbers: [139]
139,89 unequal: No Solution
Exploring Operation: 98-41=57, Resulting Numbers: [57]
57,89 unequal: No Solution
Exploring Operation: 98*41=4018, Resulting Numbers: [4018]
4018,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[82, 139], Operations: ['94-12=82', '41+98=139']
Exploring Operation: 139-82=57, Resulting Numbers: [57]
57,89 unequal: No Solution
Exploring Operation: 82*139=11398, Resulting Numbers: [11398]
11398,89 unequal: No Solution
Exploring Operation: 82+139=221, Resulting Numbers: [221]
221,89 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: 89:[41, 98, 106], Operations: ['94+12=106']
Exploring Operation: 41+98=139, Resulting Numbers: [106, 139]
Generated Node #0,1,0: 89:[106, 139] Operation: 41+98=139
Exploring Operation: 41+106=147, Resulting Numbers: [98, 147]
Generated Node #0,1,1: 89:[98, 147] Operation: 41+106=147
Exploring Operation: 98-41=57, Resulting Numbers: [106, 57]
Generated Node #0,1,2: 89:[106, 57] Operation: 98-41=57
Exploring Operation: 106-41=65, Resulting Numbers: [98, 65]
Generated Node #0,1,3: 89:[98, 65] Operation: 106-41=65
Moving to Node #0,1,3
Current State: 89:[98, 65], Operations: ['94+12=106', '106-41=65']
Exploring Operation: 98-65=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Exploring Operation: 98*65=6370, Resulting Numbers: [6370]
6370,89 unequal: No Solution
Exploring Operation: 98+65=163, Resulting Numbers: [163]
163,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[106, 57], Operations: ['94+12=106', '98-41=57']
Exploring Operation: 106+57=163, Resulting Numbers: [163]
163,89 unequal: No Solution
Exploring Operation: 106-57=49, Resulting Numbers: [49]
49,89 unequal: No Solution
Exploring Operation: 106*57=6042, Resulting Numbers: [6042]
6042,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[98, 147], Operations: ['94+12=106', '41+106=147']
Exploring Operation: 98*147=14406, Resulting Numbers: [14406]
14406,89 unequal: No Solution
Exploring Operation: 147-98=49, Resulting Numbers: [49]
49,89 unequal: No Solution
Exploring Operation: 98+147=245, Resulting Numbers: [245]
245,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[106, 139], Operations: ['94+12=106', '41+98=139']
Exploring Operation: 139-106=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Exploring Operation: 106*139=14734, Resulting Numbers: [14734]
14734,89 unequal: No Solution
Exploring Operation: 106+139=245, Resulting Numbers: [245]
245,89 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
79,
5,
83,
89
] | 68 | [
"79-5=74",
"89-83=6",
"74-6=68"
] | Current State: 68:[79, 5, 83, 89], Operations: []
Exploring Operation: 79-5=74, Resulting Numbers: [83, 89, 74]
Generated Node #2: [83, 89, 74] from Operation: 79-5=74
Current State: 68:[83, 89, 74], Operations: ['79-5=74']
Exploring Operation: 89-83=6, Resulting Numbers: [74, 6]
Generated Node #3: [74, 6] from Operation: 89-83=6
Current State: 68:[74, 6], Operations: ['79-5=74', '89-83=6']
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[79, 5, 83, 89], Operations: []
Exploring Operation: 89-83=6, Resulting Numbers: [79, 5, 6]
Generated Node #0,0: 68:[79, 5, 6] Operation: 89-83=6
Exploring Operation: 79-5=74, Resulting Numbers: [83, 89, 74]
Generated Node #0,1: 68:[83, 89, 74] Operation: 79-5=74
Exploring Operation: 89-79=10, Resulting Numbers: [5, 83, 10]
Generated Node #0,2: 68:[5, 83, 10] Operation: 89-79=10
Exploring Operation: 83-79=4, Resulting Numbers: [5, 89, 4]
Generated Node #0,3: 68:[5, 89, 4] Operation: 83-79=4
Moving to Node #0,0
Current State: 68:[79, 5, 6], Operations: ['89-83=6']
Exploring Operation: 6-5=1, Resulting Numbers: [79, 1]
Generated Node #0,0,0: 68:[79, 1] Operation: 6-5=1
Exploring Operation: 79-5=74, Resulting Numbers: [6, 74]
Generated Node #0,0,1: 68:[6, 74] Operation: 79-5=74
Exploring Operation: 79-6=73, Resulting Numbers: [5, 73]
Generated Node #0,0,2: 68:[5, 73] Operation: 79-6=73
Exploring Operation: 5*6=30, Resulting Numbers: [79, 30]
Generated Node #0,0,3: 68:[79, 30] Operation: 5*6=30
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 68:[5, 73], Operations: ['89-83=6', '79-6=73']
Exploring Operation: 5+73=78, Resulting Numbers: [78]
78,68 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[79, 5, 83, 89], Operations: []
Exploring Operation: 89-83=6, Resulting Numbers: [79, 5, 6]
Generated Node #0,0: 68:[79, 5, 6] Operation: 89-83=6
Moving to Node #0,0
Current State: 68:[79, 5, 6], Operations: ['89-83=6']
Exploring Operation: 79-6=73, Resulting Numbers: [5, 73]
Generated Node #0,0,2: 68:[5, 73] Operation: 79-6=73
Moving to Node #0,0,2
Current State: 68:[5, 73], Operations: ['89-83=6', '79-6=73']
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
85,
3,
55,
84
] | 58 | [
"85-55=30",
"84/3=28",
"30+28=58"
] | Current State: 58:[85, 3, 55, 84], Operations: []
Exploring Operation: 85-55=30, Resulting Numbers: [3, 84, 30]
Generated Node #2: [3, 84, 30] from Operation: 85-55=30
Current State: 58:[3, 84, 30], Operations: ['85-55=30']
Exploring Operation: 84/3=28, Resulting Numbers: [30, 28]
Generated Node #3: [30, 28] from Operation: 84/3=28
Current State: 58:[30, 28], Operations: ['85-55=30', '84/3=28']
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[85, 3, 55, 84], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [3, 55, 1]
Generated Node #0,0: 58:[3, 55, 1] Operation: 85-84=1
Moving to Node #0,0
Current State: 58:[3, 55, 1], Operations: ['85-84=1']
Exploring Operation: 3+55=58, Resulting Numbers: [1, 58]
Generated Node #0,0,0: 58:[1, 58] Operation: 3+55=58
Moving to Node #0,0,0
Current State: 58:[1, 58], Operations: ['85-84=1', '3+55=58']
Exploring Operation: 1*58=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[85, 3, 55, 84], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [3, 55, 1]
Generated Node #0,0: 58:[3, 55, 1] Operation: 85-84=1
Moving to Node #0,0
Current State: 58:[3, 55, 1], Operations: ['85-84=1']
Exploring Operation: 3+55=58, Resulting Numbers: [1, 58]
Generated Node #0,0,0: 58:[1, 58] Operation: 3+55=58
Moving to Node #0,0,0
Current State: 58:[1, 58], Operations: ['85-84=1', '3+55=58']
Exploring Operation: 1*58=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
1,
55,
90,
86
] | 11 | [
"1+90=91",
"91-86=5",
"55/5=11"
] | Current State: 11:[1, 55, 90, 86], Operations: []
Exploring Operation: 1+90=91, Resulting Numbers: [55, 86, 91]
Generated Node #2: [55, 86, 91] from Operation: 1+90=91
Current State: 11:[55, 86, 91], Operations: ['1+90=91']
Exploring Operation: 91-86=5, Resulting Numbers: [55, 5]
Generated Node #3: [55, 5] from Operation: 91-86=5
Current State: 11:[55, 5], Operations: ['1+90=91', '91-86=5']
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[1, 55, 90, 86], Operations: []
Exploring Operation: 90-86=4, Resulting Numbers: [1, 55, 4]
Generated Node #0,0: 11:[1, 55, 4] Operation: 90-86=4
Exploring Operation: 90-55=35, Resulting Numbers: [1, 86, 35]
Generated Node #0,1: 11:[1, 86, 35] Operation: 90-55=35
Moving to Node #0,0
Current State: 11:[1, 55, 4], Operations: ['90-86=4']
Exploring Operation: 55-1=54, Resulting Numbers: [4, 54]
Generated Node #0,0,0: 11:[4, 54] Operation: 55-1=54
Exploring Operation: 1+4=5, Resulting Numbers: [55, 5]
Generated Node #0,0,1: 11:[55, 5] Operation: 1+4=5
Moving to Node #0,1
Current State: 11:[1, 86, 35], Operations: ['90-55=35']
Exploring Operation: 86-1=85, Resulting Numbers: [35, 85]
Generated Node #0,1,0: 11:[35, 85] Operation: 86-1=85
Exploring Operation: 86-35=51, Resulting Numbers: [1, 51]
Generated Node #0,1,1: 11:[1, 51] Operation: 86-35=51
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[1, 51], Operations: ['90-55=35', '86-35=51']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[35, 85], Operations: ['90-55=35', '86-1=85']
Exploring Operation: 85-35=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 35+85=120, Resulting Numbers: [120]
120,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 11:[4, 54], Operations: ['90-86=4', '55-1=54']
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 4+54=58, Resulting Numbers: [58]
58,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[55, 5], Operations: ['90-86=4', '1+4=5']
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[1, 55, 90, 86], Operations: []
Exploring Operation: 90-86=4, Resulting Numbers: [1, 55, 4]
Generated Node #0,0: 11:[1, 55, 4] Operation: 90-86=4
Moving to Node #0,0
Current State: 11:[1, 55, 4], Operations: ['90-86=4']
Exploring Operation: 1+4=5, Resulting Numbers: [55, 5]
Generated Node #0,0,1: 11:[55, 5] Operation: 1+4=5
Moving to Node #0,0,1
Current State: 11:[55, 5], Operations: ['90-86=4', '1+4=5']
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.985243 | hs_2 | sum_heuristic |
[
55,
14,
4,
31
] | 31 | [
"14*4=56",
"56-55=1",
"31*1=31"
] | Current State: 31:[55, 14, 4, 31], Operations: []
Exploring Operation: 14*4=56, Resulting Numbers: [55, 31, 56]
Generated Node #2: [55, 31, 56] from Operation: 14*4=56
Current State: 31:[55, 31, 56], Operations: ['14*4=56']
Exploring Operation: 56-55=1, Resulting Numbers: [31, 1]
Generated Node #3: [31, 1] from Operation: 56-55=1
Current State: 31:[31, 1], Operations: ['14*4=56', '56-55=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[55, 14, 4, 31], Operations: []
Exploring Operation: 55-14=41, Resulting Numbers: [4, 31, 41]
Generated Node #0,0: 31:[4, 31, 41] Operation: 55-14=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[4, 31, 41], Operations: ['55-14=41']
Exploring Operation: 41-4=37, Resulting Numbers: [31, 37]
Generated Node #0,0,0: 31:[31, 37] Operation: 41-4=37
Moving to Node #0,0,0
Current State: 31:[31, 37], Operations: ['55-14=41', '41-4=37']
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
43,
3,
41,
69
] | 75 | [
"43-41=2",
"3*2=6",
"69+6=75"
] | Current State: 75:[43, 3, 41, 69], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [3, 69, 2]
Generated Node #2: [3, 69, 2] from Operation: 43-41=2
Current State: 75:[3, 69, 2], Operations: ['43-41=2']
Exploring Operation: 3*2=6, Resulting Numbers: [69, 6]
Generated Node #3: [69, 6] from Operation: 3*2=6
Current State: 75:[69, 6], Operations: ['43-41=2', '3*2=6']
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[43, 3, 41, 69], Operations: []
Exploring Operation: 43+41=84, Resulting Numbers: [3, 69, 84]
Generated Node #0,0: 75:[3, 69, 84] Operation: 43+41=84
Exploring Operation: 43-41=2, Resulting Numbers: [3, 69, 2]
Generated Node #0,1: 75:[3, 69, 2] Operation: 43-41=2
Exploring Operation: 69-43=26, Resulting Numbers: [3, 41, 26]
Generated Node #0,2: 75:[3, 41, 26] Operation: 69-43=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[3, 69, 2], Operations: ['43-41=2']
Exploring Operation: 69/3=23, Resulting Numbers: [2, 23]
Generated Node #0,1,0: 75:[2, 23] Operation: 69/3=23
Exploring Operation: 69+2=71, Resulting Numbers: [3, 71]
Generated Node #0,1,1: 75:[3, 71] Operation: 69+2=71
Exploring Operation: 3+69=72, Resulting Numbers: [2, 72]
Generated Node #0,1,2: 75:[2, 72] Operation: 3+69=72
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[2, 23], Operations: ['43-41=2', '69/3=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[3, 71], Operations: ['43-41=2', '69+2=71']
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 3*71=213, Resulting Numbers: [213]
213,75 unequal: No Solution
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 75:[2, 72], Operations: ['43-41=2', '3+69=72']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,75 unequal: No Solution
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,75 unequal: No Solution
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[3, 69, 84], Operations: ['43+41=84']
Exploring Operation: 84-69=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 75:[3, 15] Operation: 84-69=15
Exploring Operation: 84/3=28, Resulting Numbers: [69, 28]
Generated Node #0,0,1: 75:[69, 28] Operation: 84/3=28
Exploring Operation: 69/3=23, Resulting Numbers: [84, 23]
Generated Node #0,0,2: 75:[84, 23] Operation: 69/3=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[3, 15], Operations: ['43+41=84', '84-69=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[69, 28], Operations: ['43+41=84', '84/3=28']
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,75 unequal: No Solution
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 69*28=1932, Resulting Numbers: [1932]
1932,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 75:[84, 23], Operations: ['43+41=84', '69/3=23']
Exploring Operation: 84+23=107, Resulting Numbers: [107]
107,75 unequal: No Solution
Exploring Operation: 84*23=1932, Resulting Numbers: [1932]
1932,75 unequal: No Solution
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[3, 41, 26], Operations: ['69-43=26']
Exploring Operation: 41+26=67, Resulting Numbers: [3, 67]
Generated Node #0,2,0: 75:[3, 67] Operation: 41+26=67
Exploring Operation: 41-3=38, Resulting Numbers: [26, 38]
Generated Node #0,2,1: 75:[26, 38] Operation: 41-3=38
Exploring Operation: 41-26=15, Resulting Numbers: [3, 15]
Generated Node #0,2,2: 75:[3, 15] Operation: 41-26=15
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 75:[3, 15], Operations: ['69-43=26', '41-26=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 75:[3, 67], Operations: ['69-43=26', '41+26=67']
Exploring Operation: 3*67=201, Resulting Numbers: [201]
201,75 unequal: No Solution
Exploring Operation: 3+67=70, Resulting Numbers: [70]
70,75 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 75:[26, 38], Operations: ['69-43=26', '41-3=38']
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,75 unequal: No Solution
Exploring Operation: 26*38=988, Resulting Numbers: [988]
988,75 unequal: No Solution
Exploring Operation: 26+38=64, Resulting Numbers: [64]
64,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
87,
90,
30,
28
] | 56 | [
"87-28=59",
"90/30=3",
"59-3=56"
] | Current State: 56:[87, 90, 30, 28], Operations: []
Exploring Operation: 87-28=59, Resulting Numbers: [90, 30, 59]
Generated Node #2: [90, 30, 59] from Operation: 87-28=59
Current State: 56:[90, 30, 59], Operations: ['87-28=59']
Exploring Operation: 90/30=3, Resulting Numbers: [59, 3]
Generated Node #3: [59, 3] from Operation: 90/30=3
Current State: 56:[59, 3], Operations: ['87-28=59', '90/30=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[87, 90, 30, 28], Operations: []
Exploring Operation: 90/30=3, Resulting Numbers: [87, 28, 3]
Generated Node #0,0: 56:[87, 28, 3] Operation: 90/30=3
Exploring Operation: 90-30=60, Resulting Numbers: [87, 28, 60]
Generated Node #0,1: 56:[87, 28, 60] Operation: 90-30=60
Exploring Operation: 87-30=57, Resulting Numbers: [90, 28, 57]
Generated Node #0,2: 56:[90, 28, 57] Operation: 87-30=57
Exploring Operation: 90-87=3, Resulting Numbers: [30, 28, 3]
Generated Node #0,3: 56:[30, 28, 3] Operation: 90-87=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 56:[30, 28, 3], Operations: ['90-87=3']
Exploring Operation: 30-3=27, Resulting Numbers: [28, 27]
Generated Node #0,3,0: 56:[28, 27] Operation: 30-3=27
Exploring Operation: 30-28=2, Resulting Numbers: [3, 2]
Generated Node #0,3,1: 56:[3, 2] Operation: 30-28=2
Exploring Operation: 30+28=58, Resulting Numbers: [3, 58]
Generated Node #0,3,2: 56:[3, 58] Operation: 30+28=58
Exploring Operation: 30/3=10, Resulting Numbers: [28, 10]
Generated Node #0,3,3: 56:[28, 10] Operation: 30/3=10
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 56:[28, 27], Operations: ['90-87=3', '30-3=27']
Exploring Operation: 28*27=756, Resulting Numbers: [756]
756,56 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 28+27=55, Resulting Numbers: [55]
55,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 56:[3, 2], Operations: ['90-87=3', '30-28=2']
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
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 56:[28, 10], Operations: ['90-87=3', '30/3=10']
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,56 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 56:[3, 58], Operations: ['90-87=3', '30+28=58']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[87, 28, 3], Operations: ['90/30=3']
Exploring Operation: 87/3=29, Resulting Numbers: [28, 29]
Generated Node #0,0,0: 56:[28, 29] Operation: 87/3=29
Exploring Operation: 87-28=59, Resulting Numbers: [3, 59]
Generated Node #0,0,1: 56:[3, 59] Operation: 87-28=59
Exploring Operation: 87-3=84, Resulting Numbers: [28, 84]
Generated Node #0,0,2: 56:[28, 84] Operation: 87-3=84
Exploring Operation: 87+3=90, Resulting Numbers: [28, 90]
Generated Node #0,0,3: 56:[28, 90] Operation: 87+3=90
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[28, 29], Operations: ['90/30=3', '87/3=29']
Exploring Operation: 28*29=812, Resulting Numbers: [812]
812,56 unequal: No Solution
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,56 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 56:[3, 59], Operations: ['90/30=3', '87-28=59']
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,56 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[87, 90, 30, 28], Operations: []
Exploring Operation: 90/30=3, Resulting Numbers: [87, 28, 3]
Generated Node #0,0: 56:[87, 28, 3] Operation: 90/30=3
Moving to Node #0,0
Current State: 56:[87, 28, 3], Operations: ['90/30=3']
Exploring Operation: 87-28=59, Resulting Numbers: [3, 59]
Generated Node #0,0,1: 56:[3, 59] Operation: 87-28=59
Moving to Node #0,0,1
Current State: 56:[3, 59], Operations: ['90/30=3', '87-28=59']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
91,
2,
16,
84
] | 61 | [
"91+16=107",
"2*84=168",
"168-107=61"
] | Current State: 61:[91, 2, 16, 84], Operations: []
Exploring Operation: 91+16=107, Resulting Numbers: [2, 84, 107]
Generated Node #2: [2, 84, 107] from Operation: 91+16=107
Current State: 61:[2, 84, 107], Operations: ['91+16=107']
Exploring Operation: 2*84=168, Resulting Numbers: [107, 168]
Generated Node #3: [107, 168] from Operation: 2*84=168
Current State: 61:[107, 168], Operations: ['91+16=107', '2*84=168']
Exploring Operation: 168-107=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[91, 2, 16, 84], Operations: []
Exploring Operation: 84/2=42, Resulting Numbers: [91, 16, 42]
Generated Node #0,0: 61:[91, 16, 42] Operation: 84/2=42
Exploring Operation: 2*16=32, Resulting Numbers: [91, 84, 32]
Generated Node #0,1: 61:[91, 84, 32] Operation: 2*16=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[91, 84, 32], Operations: ['2*16=32']
Exploring Operation: 84-32=52, Resulting Numbers: [91, 52]
Generated Node #0,1,0: 61:[91, 52] Operation: 84-32=52
Exploring Operation: 91-32=59, Resulting Numbers: [84, 59]
Generated Node #0,1,1: 61:[84, 59] Operation: 91-32=59
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[84, 59], Operations: ['2*16=32', '91-32=59']
Exploring Operation: 84-59=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Exploring Operation: 84+59=143, Resulting Numbers: [143]
143,61 unequal: No Solution
No 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: 61:[91, 52], Operations: ['2*16=32', '84-32=52']
Exploring Operation: 91-52=39, Resulting Numbers: [39]
39,61 unequal: No Solution
Exploring Operation: 91+52=143, Resulting Numbers: [143]
143,61 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: 61:[91, 16, 42], Operations: ['84/2=42']
Exploring Operation: 16+42=58, Resulting Numbers: [91, 58]
Generated Node #0,0,0: 61:[91, 58] Operation: 16+42=58
Exploring Operation: 91-16=75, Resulting Numbers: [42, 75]
Generated Node #0,0,1: 61:[42, 75] Operation: 91-16=75
Moving to Node #0,0,0
Current State: 61:[91, 58], Operations: ['84/2=42', '16+42=58']
Exploring Operation: 91+58=149, Resulting Numbers: [149]
149,61 unequal: No Solution
Exploring Operation: 91-58=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[42, 75], Operations: ['84/2=42', '91-16=75']
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 42+75=117, Resulting Numbers: [117]
117,61 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 |
[
84,
17,
8,
23
] | 82 | [
"84-17=67",
"23-8=15",
"67+15=82"
] | Current State: 82:[84, 17, 8, 23], Operations: []
Exploring Operation: 84-17=67, Resulting Numbers: [8, 23, 67]
Generated Node #2: [8, 23, 67] from Operation: 84-17=67
Current State: 82:[8, 23, 67], Operations: ['84-17=67']
Exploring Operation: 23-8=15, Resulting Numbers: [67, 15]
Generated Node #3: [67, 15] from Operation: 23-8=15
Current State: 82:[67, 15], Operations: ['84-17=67', '23-8=15']
Exploring Operation: 67+15=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[84, 17, 8, 23], Operations: []
Exploring Operation: 17+23=40, Resulting Numbers: [84, 8, 40]
Generated Node #0,0: 82:[84, 8, 40] Operation: 17+23=40
Moving to Node #0,0
Current State: 82:[84, 8, 40], Operations: ['17+23=40']
Exploring Operation: 40/8=5, Resulting Numbers: [84, 5]
Generated Node #0,0,0: 82:[84, 5] Operation: 40/8=5
Moving to Node #0,0,0
Current State: 82:[84, 5], Operations: ['17+23=40', '40/8=5']
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,82 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
75,
36,
51,
72
] | 12 | [
"75+36=111",
"51+72=123",
"123-111=12"
] | Current State: 12:[75, 36, 51, 72], Operations: []
Exploring Operation: 75+36=111, Resulting Numbers: [51, 72, 111]
Generated Node #2: [51, 72, 111] from Operation: 75+36=111
Current State: 12:[51, 72, 111], Operations: ['75+36=111']
Exploring Operation: 51+72=123, Resulting Numbers: [111, 123]
Generated Node #3: [111, 123] from Operation: 51+72=123
Current State: 12:[111, 123], Operations: ['75+36=111', '51+72=123']
Exploring Operation: 123-111=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[75, 36, 51, 72], Operations: []
Exploring Operation: 75-51=24, Resulting Numbers: [36, 72, 24]
Generated Node #0,0: 12:[36, 72, 24] Operation: 75-51=24
Exploring Operation: 75-72=3, Resulting Numbers: [36, 51, 3]
Generated Node #0,1: 12:[36, 51, 3] Operation: 75-72=3
Exploring Operation: 72-51=21, Resulting Numbers: [75, 36, 21]
Generated Node #0,2: 12:[75, 36, 21] Operation: 72-51=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[36, 51, 3], Operations: ['75-72=3']
Exploring Operation: 51/3=17, Resulting Numbers: [36, 17]
Generated Node #0,1,0: 12:[36, 17] Operation: 51/3=17
Exploring Operation: 51-36=15, Resulting Numbers: [3, 15]
Generated Node #0,1,1: 12:[3, 15] Operation: 51-36=15
Exploring Operation: 36/3=12, Resulting Numbers: [51, 12]
Generated Node #0,1,2: 12:[51, 12] Operation: 36/3=12
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 12:[3, 15], Operations: ['75-72=3', '51-36=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[75, 36, 51, 72], Operations: []
Exploring Operation: 75-72=3, Resulting Numbers: [36, 51, 3]
Generated Node #0,1: 12:[36, 51, 3] Operation: 75-72=3
Moving to Node #0,1
Current State: 12:[36, 51, 3], Operations: ['75-72=3']
Exploring Operation: 51-36=15, Resulting Numbers: [3, 15]
Generated Node #0,1,1: 12:[3, 15] Operation: 51-36=15
Moving to Node #0,1,1
Current State: 12:[3, 15], Operations: ['75-72=3', '51-36=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
3,
93,
50,
93
] | 36 | [
"3*50=150",
"93+93=186",
"186-150=36"
] | Current State: 36:[3, 93, 50, 93], Operations: []
Exploring Operation: 3*50=150, Resulting Numbers: [93, 93, 150]
Generated Node #2: [93, 93, 150] from Operation: 3*50=150
Current State: 36:[93, 93, 150], Operations: ['3*50=150']
Exploring Operation: 93+93=186, Resulting Numbers: [150, 186]
Generated Node #3: [150, 186] from Operation: 93+93=186
Current State: 36:[150, 186], Operations: ['3*50=150', '93+93=186']
Exploring Operation: 186-150=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[3, 93, 50, 93], Operations: []
Exploring Operation: 93-93=0, Resulting Numbers: [3, 50, 0]
Generated Node #0,0: 36:[3, 50, 0] Operation: 93-93=0
Exploring Operation: 93/93=1, Resulting Numbers: [3, 50, 1]
Generated Node #0,1: 36:[3, 50, 1] Operation: 93/93=1
Exploring Operation: 93-50=43, Resulting Numbers: [3, 93, 43]
Generated Node #0,2: 36:[3, 93, 43] Operation: 93-50=43
Exploring Operation: 93-50=43, Resulting Numbers: [3, 93, 43]
Generated Node #0,3: 36:[3, 93, 43] Operation: 93-50=43
Moving to Node #0,1
Current State: 36:[3, 50, 1], Operations: ['93/93=1']
Exploring Operation: 50-1=49, Resulting Numbers: [3, 49]
Generated Node #0,1,0: 36:[3, 49] Operation: 50-1=49
Exploring Operation: 50-3=47, Resulting Numbers: [1, 47]
Generated Node #0,1,1: 36:[1, 47] Operation: 50-3=47
Exploring Operation: 3+1=4, Resulting Numbers: [50, 4]
Generated Node #0,1,2: 36:[50, 4] Operation: 3+1=4
Exploring Operation: 3*1=3, Resulting Numbers: [50, 3]
Generated Node #0,1,3: 36:[50, 3] Operation: 3*1=3
Moving to Node #0,0
Current State: 36:[3, 50, 0], Operations: ['93-93=0']
Exploring Operation: 3-0=3, Resulting Numbers: [50, 3]
Generated Node #0,0,0: 36:[50, 3] Operation: 3-0=3
Exploring Operation: 50-3=47, Resulting Numbers: [0, 47]
Generated Node #0,0,1: 36:[0, 47] Operation: 50-3=47
Exploring Operation: 50*0=0, Resulting Numbers: [3, 0]
Generated Node #0,0,2: 36:[3, 0] Operation: 50*0=0
Exploring Operation: 3+0=3, Resulting Numbers: [50, 3]
Generated Node #0,0,3: 36:[50, 3] Operation: 3+0=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 36:[3, 0], Operations: ['93-93=0', '50*0=0']
Exploring Operation: 3*0=0, Resulting Numbers: [0]
0,36 unequal: No Solution
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 3+0=3, Resulting Numbers: [3]
3,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[0, 47], Operations: ['93-93=0', '50-3=47']
Exploring Operation: 47-0=47, Resulting Numbers: [47]
47,36 unequal: No Solution
Exploring Operation: 0+47=47, Resulting Numbers: [47]
47,36 unequal: No Solution
Exploring Operation: 0*47=0, Resulting Numbers: [0]
0,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[50, 3], Operations: ['93-93=0', '3-0=3']
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,36 unequal: No Solution
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 36:[50, 3], Operations: ['93-93=0', '3+0=3']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,36 unequal: No Solution
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,36 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: 36:[3, 93, 43], Operations: ['93-50=43']
Exploring Operation: 43-3=40, Resulting Numbers: [93, 40]
Generated Node #0,3,0: 36:[93, 40] Operation: 43-3=40
Exploring Operation: 93-43=50, Resulting Numbers: [3, 50]
Generated Node #0,3,1: 36:[3, 50] Operation: 93-43=50
Exploring Operation: 93/3=31, Resulting Numbers: [43, 31]
Generated Node #0,3,2: 36:[43, 31] Operation: 93/3=31
Exploring Operation: 93-3=90, Resulting Numbers: [43, 90]
Generated Node #0,3,3: 36:[43, 90] Operation: 93-3=90
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 36:[43, 31], Operations: ['93-50=43', '93/3=31']
Exploring Operation: 43+31=74, Resulting Numbers: [74]
74,36 unequal: No Solution
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 43*31=1333, Resulting Numbers: [1333]
1333,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,3,1
Current State: 36:[3, 50], Operations: ['93-50=43', '93-43=50']
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,36 unequal: No Solution
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,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,3,0
Current State: 36:[93, 40], Operations: ['93-50=43', '43-3=40']
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 93*40=3720, Resulting Numbers: [3720]
3720,36 unequal: No Solution
Exploring Operation: 93+40=133, Resulting Numbers: [133]
133,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,3,3
Current State: 36:[43, 90], Operations: ['93-50=43', '93-3=90']
Exploring Operation: 43*90=3870, Resulting Numbers: [3870]
3870,36 unequal: No Solution
Exploring Operation: 43+90=133, Resulting Numbers: [133]
133,36 unequal: No Solution
Exploring Operation: 90-43=47, Resulting Numbers: [47]
47,36 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: 36:[3, 93, 43], Operations: ['93-50=43']
Exploring Operation: 93-3=90, Resulting Numbers: [43, 90]
Generated Node #0,2,0: 36:[43, 90] Operation: 93-3=90
Exploring Operation: 43-3=40, Resulting Numbers: [93, 40]
Generated Node #0,2,1: 36:[93, 40] Operation: 43-3=40
Exploring Operation: 93/3=31, Resulting Numbers: [43, 31]
Generated Node #0,2,2: 36:[43, 31] Operation: 93/3=31
Exploring Operation: 93-43=50, Resulting Numbers: [3, 50]
Generated Node #0,2,3: 36:[3, 50] Operation: 93-43=50
Moving to Node #0,1,1
Current State: 36:[1, 47], Operations: ['93/93=1', '50-3=47']
Exploring Operation: 1*47=47, Resulting Numbers: [47]
47,36 unequal: No Solution
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,36 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 1+47=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[43, 31], Operations: ['93-50=43', '93/3=31']
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 43+31=74, Resulting Numbers: [74]
74,36 unequal: No Solution
Exploring Operation: 43*31=1333, Resulting Numbers: [1333]
1333,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[3, 49], Operations: ['93/93=1', '50-1=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,36 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[50, 4], Operations: ['93/93=1', '3+1=4']
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,36 unequal: No Solution
Exploring Operation: 50*4=200, Resulting Numbers: [200]
200,36 unequal: No Solution
Moving to Node #0,2,3
Current State: 36:[3, 50], Operations: ['93-50=43', '93-43=50']
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,36 unequal: No Solution
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,36 unequal: No Solution
Moving to Node #0,1,3
Current State: 36:[50, 3], Operations: ['93/93=1', '3*1=3']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,36 unequal: No Solution
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,36 unequal: No Solution
Moving to Node #0,2,0
Current State: 36:[43, 90], Operations: ['93-50=43', '93-3=90']
Exploring Operation: 43*90=3870, Resulting Numbers: [3870]
3870,36 unequal: No Solution
Exploring Operation: 43+90=133, Resulting Numbers: [133]
133,36 unequal: No Solution
Exploring Operation: 90-43=47, Resulting Numbers: [47]
47,36 unequal: No Solution
Moving to Node #0,2,1
Current State: 36:[93, 40], Operations: ['93-50=43', '43-3=40']
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 93+40=133, Resulting Numbers: [133]
133,36 unequal: No Solution
Exploring Operation: 93*40=3720, Resulting Numbers: [3720]
3720,36 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
31,
10,
51,
16
] | 56 | [
"31-10=21",
"51-16=35",
"21+35=56"
] | Current State: 56:[31, 10, 51, 16], Operations: []
Exploring Operation: 31-10=21, Resulting Numbers: [51, 16, 21]
Generated Node #2: [51, 16, 21] from Operation: 31-10=21
Current State: 56:[51, 16, 21], Operations: ['31-10=21']
Exploring Operation: 51-16=35, Resulting Numbers: [21, 35]
Generated Node #3: [21, 35] from Operation: 51-16=35
Current State: 56:[21, 35], Operations: ['31-10=21', '51-16=35']
Exploring Operation: 21+35=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[31, 10, 51, 16], Operations: []
Exploring Operation: 16-10=6, Resulting Numbers: [31, 51, 6]
Generated Node #0,0: 56:[31, 51, 6] Operation: 16-10=6
Exploring Operation: 31-16=15, Resulting Numbers: [10, 51, 15]
Generated Node #0,1: 56:[10, 51, 15] Operation: 31-16=15
Exploring Operation: 51-31=20, Resulting Numbers: [10, 16, 20]
Generated Node #0,2: 56:[10, 16, 20] Operation: 51-31=20
Moving to Node #0,1
Current State: 56:[10, 51, 15], Operations: ['31-16=15']
Exploring Operation: 15-10=5, Resulting Numbers: [51, 5]
Generated Node #0,1,0: 56:[51, 5] Operation: 15-10=5
Exploring Operation: 10+51=61, Resulting Numbers: [15, 61]
Generated Node #0,1,1: 56:[15, 61] Operation: 10+51=61
Exploring Operation: 10+15=25, Resulting Numbers: [51, 25]
Generated Node #0,1,2: 56:[51, 25] Operation: 10+15=25
Moving to Node #0,0
Current State: 56:[31, 51, 6], Operations: ['16-10=6']
Exploring Operation: 51-31=20, Resulting Numbers: [6, 20]
Generated Node #0,0,0: 56:[6, 20] Operation: 51-31=20
Exploring Operation: 51+6=57, Resulting Numbers: [31, 57]
Generated Node #0,0,1: 56:[31, 57] Operation: 51+6=57
Exploring Operation: 31-6=25, Resulting Numbers: [51, 25]
Generated Node #0,0,2: 56:[51, 25] Operation: 31-6=25
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[31, 57], Operations: ['16-10=6', '51+6=57']
Exploring Operation: 31+57=88, Resulting Numbers: [88]
88,56 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,56 unequal: No Solution
Exploring Operation: 31*57=1767, Resulting Numbers: [1767]
1767,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:[6, 20], Operations: ['16-10=6', '51-31=20']
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,56 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,56 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,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:[51, 25], Operations: ['16-10=6', '31-6=25']
Exploring Operation: 51*25=1275, Resulting Numbers: [1275]
1275,56 unequal: No Solution
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,56 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,56 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: 56:[10, 16, 20], Operations: ['51-31=20']
Exploring Operation: 20/10=2, Resulting Numbers: [16, 2]
Generated Node #0,2,0: 56:[16, 2] Operation: 20/10=2
Exploring Operation: 20-16=4, Resulting Numbers: [10, 4]
Generated Node #0,2,1: 56:[10, 4] Operation: 20-16=4
Exploring Operation: 10+20=30, Resulting Numbers: [16, 30]
Generated Node #0,2,2: 56:[16, 30] Operation: 10+20=30
Moving to Node #0,2,0
Current State: 56:[16, 2], Operations: ['51-31=20', '20/10=2']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Moving to Node #0,2,1
Current State: 56:[10, 4], Operations: ['51-31=20', '20-16=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,56 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,56 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[16, 30], Operations: ['51-31=20', '10+20=30']
Exploring Operation: 16*30=480, Resulting Numbers: [480]
480,56 unequal: No Solution
Exploring Operation: 16+30=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[51, 5], Operations: ['31-16=15', '15-10=5']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[31, 10, 51, 16], Operations: []
Exploring Operation: 31-16=15, Resulting Numbers: [10, 51, 15]
Generated Node #0,1: 56:[10, 51, 15] Operation: 31-16=15
Moving to Node #0,1
Current State: 56:[10, 51, 15], Operations: ['31-16=15']
Exploring Operation: 15-10=5, Resulting Numbers: [51, 5]
Generated Node #0,1,0: 56:[51, 5] Operation: 15-10=5
Moving to Node #0,1,0
Current State: 56:[51, 5], Operations: ['31-16=15', '15-10=5']
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.96875 | hs_3 | mult_heuristic |
[
66,
30,
47,
94
] | 98 | [
"66+30=96",
"94/47=2",
"96+2=98"
] | Current State: 98:[66, 30, 47, 94], Operations: []
Exploring Operation: 66+30=96, Resulting Numbers: [47, 94, 96]
Generated Node #2: [47, 94, 96] from Operation: 66+30=96
Current State: 98:[47, 94, 96], Operations: ['66+30=96']
Exploring Operation: 94/47=2, Resulting Numbers: [96, 2]
Generated Node #3: [96, 2] from Operation: 94/47=2
Current State: 98:[96, 2], Operations: ['66+30=96', '94/47=2']
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[66, 30, 47, 94], Operations: []
Exploring Operation: 66-30=36, Resulting Numbers: [47, 94, 36]
Generated Node #0,0: 98:[47, 94, 36] Operation: 66-30=36
Exploring Operation: 66-47=19, Resulting Numbers: [30, 94, 19]
Generated Node #0,1: 98:[30, 94, 19] Operation: 66-47=19
Exploring Operation: 47-30=17, Resulting Numbers: [66, 94, 17]
Generated Node #0,2: 98:[66, 94, 17] Operation: 47-30=17
Exploring Operation: 66+30=96, Resulting Numbers: [47, 94, 96]
Generated Node #0,3: 98:[47, 94, 96] Operation: 66+30=96
Moving to Node #0,3
Current State: 98:[47, 94, 96], Operations: ['66+30=96']
Exploring Operation: 96-47=49, Resulting Numbers: [94, 49]
Generated Node #0,3,0: 98:[94, 49] Operation: 96-47=49
Exploring Operation: 94/47=2, Resulting Numbers: [96, 2]
Generated Node #0,3,1: 98:[96, 2] Operation: 94/47=2
Exploring Operation: 94-47=47, Resulting Numbers: [96, 47]
Generated Node #0,3,2: 98:[96, 47] Operation: 94-47=47
Exploring Operation: 96-94=2, Resulting Numbers: [47, 2]
Generated Node #0,3,3: 98:[47, 2] Operation: 96-94=2
Moving to Node #0,0
Current State: 98:[47, 94, 36], Operations: ['66-30=36']
Exploring Operation: 94-36=58, Resulting Numbers: [47, 58]
Generated Node #0,0,0: 98:[47, 58] Operation: 94-36=58
Exploring Operation: 94/47=2, Resulting Numbers: [36, 2]
Generated Node #0,0,1: 98:[36, 2] Operation: 94/47=2
Exploring Operation: 94-47=47, Resulting Numbers: [36, 47]
Generated Node #0,0,2: 98:[36, 47] Operation: 94-47=47
Exploring Operation: 47-36=11, Resulting Numbers: [94, 11]
Generated Node #0,0,3: 98:[94, 11] Operation: 47-36=11
Moving to Node #0,2
Current State: 98:[66, 94, 17], Operations: ['47-30=17']
Exploring Operation: 66-17=49, Resulting Numbers: [94, 49]
Generated Node #0,2,0: 98:[94, 49] Operation: 66-17=49
Exploring Operation: 66+17=83, Resulting Numbers: [94, 83]
Generated Node #0,2,1: 98:[94, 83] Operation: 66+17=83
Exploring Operation: 94-66=28, Resulting Numbers: [17, 28]
Generated Node #0,2,2: 98:[17, 28] Operation: 94-66=28
Exploring Operation: 94+17=111, Resulting Numbers: [66, 111]
Generated Node #0,2,3: 98:[66, 111] Operation: 94+17=111
Moving to Node #0,1
Current State: 98:[30, 94, 19], Operations: ['66-47=19']
Exploring Operation: 30+19=49, Resulting Numbers: [94, 49]
Generated Node #0,1,0: 98:[94, 49] Operation: 30+19=49
Exploring Operation: 30+94=124, Resulting Numbers: [19, 124]
Generated Node #0,1,1: 98:[19, 124] Operation: 30+94=124
Exploring Operation: 94-30=64, Resulting Numbers: [19, 64]
Generated Node #0,1,2: 98:[19, 64] Operation: 94-30=64
Exploring Operation: 30-19=11, Resulting Numbers: [94, 11]
Generated Node #0,1,3: 98:[94, 11] Operation: 30-19=11
Moving to Node #0,3,1
Current State: 98:[96, 2], Operations: ['66+30=96', '94/47=2']
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,98 unequal: No Solution
Exploring Operation: 96*2=192, Resulting Numbers: [192]
192,98 unequal: No Solution
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[66, 30, 47, 94], Operations: []
Exploring Operation: 66+30=96, Resulting Numbers: [47, 94, 96]
Generated Node #0,3: 98:[47, 94, 96] Operation: 66+30=96
Moving to Node #0,3
Current State: 98:[47, 94, 96], Operations: ['66+30=96']
Exploring Operation: 94/47=2, Resulting Numbers: [96, 2]
Generated Node #0,3,1: 98:[96, 2] Operation: 94/47=2
Moving to Node #0,3,1
Current State: 98:[96, 2], Operations: ['66+30=96', '94/47=2']
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.975694 | hs_4 | mult_heuristic |
[
36,
99,
7,
20
] | 13 | [
"36-20=16",
"7*16=112",
"112-99=13"
] | Current State: 13:[36, 99, 7, 20], Operations: []
Exploring Operation: 36-20=16, Resulting Numbers: [99, 7, 16]
Generated Node #2: [99, 7, 16] from Operation: 36-20=16
Current State: 13:[99, 7, 16], Operations: ['36-20=16']
Exploring Operation: 7*16=112, Resulting Numbers: [99, 112]
Generated Node #3: [99, 112] from Operation: 7*16=112
Current State: 13:[99, 112], Operations: ['36-20=16', '7*16=112']
Exploring Operation: 112-99=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[36, 99, 7, 20], Operations: []
Exploring Operation: 99-36=63, Resulting Numbers: [7, 20, 63]
Generated Node #0,0: 13:[7, 20, 63] Operation: 99-36=63
Exploring Operation: 36-7=29, Resulting Numbers: [99, 20, 29]
Generated Node #0,1: 13:[99, 20, 29] Operation: 36-7=29
Exploring Operation: 36-20=16, Resulting Numbers: [99, 7, 16]
Generated Node #0,2: 13:[99, 7, 16] Operation: 36-20=16
Exploring Operation: 99-20=79, Resulting Numbers: [36, 7, 79]
Generated Node #0,3: 13:[36, 7, 79] Operation: 99-20=79
Moving to Node #0,0
Current State: 13:[7, 20, 63], Operations: ['99-36=63']
Exploring Operation: 63-7=56, Resulting Numbers: [20, 56]
Generated Node #0,0,0: 13:[20, 56] Operation: 63-7=56
Exploring Operation: 20-7=13, Resulting Numbers: [63, 13]
Generated Node #0,0,1: 13:[63, 13] Operation: 20-7=13
Exploring Operation: 63-20=43, Resulting Numbers: [7, 43]
Generated Node #0,0,2: 13:[7, 43] Operation: 63-20=43
Exploring Operation: 63/7=9, Resulting Numbers: [20, 9]
Generated Node #0,0,3: 13:[20, 9] Operation: 63/7=9
Moving to Node #0,3
Current State: 13:[36, 7, 79], Operations: ['99-20=79']
Exploring Operation: 36-7=29, Resulting Numbers: [79, 29]
Generated Node #0,3,0: 13:[79, 29] Operation: 36-7=29
Exploring Operation: 36+7=43, Resulting Numbers: [79, 43]
Generated Node #0,3,1: 13:[79, 43] Operation: 36+7=43
Exploring Operation: 79-7=72, Resulting Numbers: [36, 72]
Generated Node #0,3,2: 13:[36, 72] Operation: 79-7=72
Exploring Operation: 79-36=43, Resulting Numbers: [7, 43]
Generated Node #0,3,3: 13:[7, 43] Operation: 79-36=43
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 13:[7, 43], Operations: ['99-20=79', '79-36=43']
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,13 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 13:[79, 29], Operations: ['99-20=79', '36-7=29']
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 79+29=108, Resulting Numbers: [108]
108,13 unequal: No Solution
Exploring Operation: 79*29=2291, Resulting Numbers: [2291]
2291,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,2
Current State: 13:[36, 72], Operations: ['99-20=79', '79-7=72']
Exploring Operation: 36+72=108, Resulting Numbers: [108]
108,13 unequal: No Solution
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 72-36=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 36*72=2592, Resulting Numbers: [2592]
2592,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,1
Current State: 13:[79, 43], Operations: ['99-20=79', '36+7=43']
Exploring Operation: 79+43=122, Resulting Numbers: [122]
122,13 unequal: No Solution
Exploring Operation: 79-43=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 79*43=3397, Resulting Numbers: [3397]
3397,13 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: 13:[99, 7, 16], Operations: ['36-20=16']
Exploring Operation: 99-16=83, Resulting Numbers: [7, 83]
Generated Node #0,2,0: 13:[7, 83] Operation: 99-16=83
Exploring Operation: 99+7=106, Resulting Numbers: [16, 106]
Generated Node #0,2,1: 13:[16, 106] Operation: 99+7=106
Exploring Operation: 16-7=9, Resulting Numbers: [99, 9]
Generated Node #0,2,2: 13:[99, 9] Operation: 16-7=9
Exploring Operation: 99-7=92, Resulting Numbers: [16, 92]
Generated Node #0,2,3: 13:[16, 92] Operation: 99-7=92
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 13:[7, 83], Operations: ['36-20=16', '99-16=83']
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,13 unequal: No Solution
Exploring Operation: 7*83=581, Resulting Numbers: [581]
581,13 unequal: No Solution
Exploring Operation: 7+83=90, Resulting Numbers: [90]
90,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 13:[16, 92], Operations: ['36-20=16', '99-7=92']
Exploring Operation: 16+92=108, Resulting Numbers: [108]
108,13 unequal: No Solution
Exploring Operation: 16*92=1472, Resulting Numbers: [1472]
1472,13 unequal: No Solution
Exploring Operation: 92-16=76, Resulting Numbers: [76]
76,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 13:[99, 9], Operations: ['36-20=16', '16-7=9']
Exploring Operation: 99*9=891, Resulting Numbers: [891]
891,13 unequal: No Solution
Exploring Operation: 99-9=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 99+9=108, Resulting Numbers: [108]
108,13 unequal: No Solution
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 13:[16, 106], Operations: ['36-20=16', '99+7=106']
Exploring Operation: 16+106=122, Resulting Numbers: [122]
122,13 unequal: No Solution
Exploring Operation: 106-16=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 16*106=1696, Resulting Numbers: [1696]
1696,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 13:[99, 20, 29], Operations: ['36-7=29']
Exploring Operation: 99-20=79, Resulting Numbers: [29, 79]
Generated Node #0,1,0: 13:[29, 79] Operation: 99-20=79
Exploring Operation: 99-29=70, Resulting Numbers: [20, 70]
Generated Node #0,1,1: 13:[20, 70] Operation: 99-29=70
Exploring Operation: 29-20=9, Resulting Numbers: [99, 9]
Generated Node #0,1,2: 13:[99, 9] Operation: 29-20=9
Exploring Operation: 99+20=119, Resulting Numbers: [29, 119]
Generated Node #0,1,3: 13:[29, 119] Operation: 99+20=119
Moving to Node #0,0,3
Current State: 13:[20, 9], Operations: ['99-36=63', '63/7=9']
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,13 unequal: No Solution
Exploring Operation: 20*9=180, Resulting Numbers: [180]
180,13 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[7, 43], Operations: ['99-36=63', '63-20=43']
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,13 unequal: No Solution
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[20, 56], Operations: ['99-36=63', '63-7=56']
Exploring Operation: 20+56=76, Resulting Numbers: [76]
76,13 unequal: No Solution
Exploring Operation: 20*56=1120, Resulting Numbers: [1120]
1120,13 unequal: No Solution
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[63, 13], Operations: ['99-36=63', '20-7=13']
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 63*13=819, Resulting Numbers: [819]
819,13 unequal: No Solution
Exploring Operation: 63+13=76, Resulting Numbers: [76]
76,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[20, 70], Operations: ['36-7=29', '99-29=70']
Exploring Operation: 20+70=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 20*70=1400, Resulting Numbers: [1400]
1400,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[29, 79], Operations: ['36-7=29', '99-20=79']
Exploring Operation: 29+79=108, Resulting Numbers: [108]
108,13 unequal: No Solution
Exploring Operation: 29*79=2291, Resulting Numbers: [2291]
2291,13 unequal: No Solution
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Moving to Node #0,1,2
Current State: 13:[99, 9], Operations: ['36-7=29', '29-20=9']
Exploring Operation: 99+9=108, Resulting Numbers: [108]
108,13 unequal: No Solution
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 99-9=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 99*9=891, Resulting Numbers: [891]
891,13 unequal: No Solution
Moving to Node #0,1,3
Current State: 13:[29, 119], Operations: ['36-7=29', '99+20=119']
Exploring Operation: 119-29=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 29*119=3451, Resulting Numbers: [3451]
3451,13 unequal: No Solution
Exploring Operation: 29+119=148, Resulting Numbers: [148]
148,13 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
64,
18,
98,
74
] | 65 | [
"64+98=162",
"162/18=9",
"74-9=65"
] | Current State: 65:[64, 18, 98, 74], Operations: []
Exploring Operation: 64+98=162, Resulting Numbers: [18, 74, 162]
Generated Node #2: [18, 74, 162] from Operation: 64+98=162
Current State: 65:[18, 74, 162], Operations: ['64+98=162']
Exploring Operation: 162/18=9, Resulting Numbers: [74, 9]
Generated Node #3: [74, 9] from Operation: 162/18=9
Current State: 65:[74, 9], Operations: ['64+98=162', '162/18=9']
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[64, 18, 98, 74], Operations: []
Exploring Operation: 74-64=10, Resulting Numbers: [18, 98, 10]
Generated Node #0,0: 65:[18, 98, 10] Operation: 74-64=10
Exploring Operation: 74-18=56, Resulting Numbers: [64, 98, 56]
Generated Node #0,1: 65:[64, 98, 56] Operation: 74-18=56
Exploring Operation: 98-64=34, Resulting Numbers: [18, 74, 34]
Generated Node #0,2: 65:[18, 74, 34] Operation: 98-64=34
Exploring Operation: 98-18=80, Resulting Numbers: [64, 74, 80]
Generated Node #0,3: 65:[64, 74, 80] Operation: 98-18=80
Exploring Operation: 98-74=24, Resulting Numbers: [64, 18, 24]
Generated Node #0,4: 65:[64, 18, 24] Operation: 98-74=24
Start Sub Search at level 1: Moving to Node #0,4
Current State: 65:[64, 18, 24], Operations: ['98-74=24']
Exploring Operation: 24-18=6, Resulting Numbers: [64, 6]
Generated Node #0,4,0: 65:[64, 6] Operation: 24-18=6
Exploring Operation: 64+24=88, Resulting Numbers: [18, 88]
Generated Node #0,4,1: 65:[18, 88] Operation: 64+24=88
Exploring Operation: 18+24=42, Resulting Numbers: [64, 42]
Generated Node #0,4,2: 65:[64, 42] Operation: 18+24=42
Exploring Operation: 64+18=82, Resulting Numbers: [24, 82]
Generated Node #0,4,3: 65:[24, 82] Operation: 64+18=82
Exploring Operation: 64-18=46, Resulting Numbers: [24, 46]
Generated Node #0,4,4: 65:[24, 46] Operation: 64-18=46
Moving to Node #0,4,0
Current State: 65:[64, 6], Operations: ['98-74=24', '24-18=6']
Exploring Operation: 64*6=384, Resulting Numbers: [384]
384,65 unequal: No Solution
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
Moving to Node #0,4,2
Current State: 65:[64, 42], Operations: ['98-74=24', '18+24=42']
Exploring Operation: 64*42=2688, Resulting Numbers: [2688]
2688,65 unequal: No Solution
Exploring Operation: 64+42=106, Resulting Numbers: [106]
106,65 unequal: No Solution
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Moving to Node #0,4,1
Current State: 65:[18, 88], Operations: ['98-74=24', '64+24=88']
Exploring Operation: 88-18=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 18*88=1584, Resulting Numbers: [1584]
1584,65 unequal: No Solution
Exploring Operation: 18+88=106, Resulting Numbers: [106]
106,65 unequal: No Solution
Moving to Node #0,4,3
Current State: 65:[24, 82], Operations: ['98-74=24', '64+18=82']
Exploring Operation: 24*82=1968, Resulting Numbers: [1968]
1968,65 unequal: No Solution
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Exploring Operation: 24+82=106, Resulting Numbers: [106]
106,65 unequal: No Solution
Moving to Node #0,4,4
Current State: 65:[24, 46], Operations: ['98-74=24', '64-18=46']
Exploring Operation: 24+46=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 24*46=1104, Resulting Numbers: [1104]
1104,65 unequal: No Solution
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,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
Current State: 65:[64, 74, 80], Operations: ['98-18=80']
Exploring Operation: 74-64=10, Resulting Numbers: [80, 10]
Generated Node #0,3,0: 65:[80, 10] Operation: 74-64=10
Exploring Operation: 64+80=144, Resulting Numbers: [74, 144]
Generated Node #0,3,1: 65:[74, 144] Operation: 64+80=144
Exploring Operation: 64+74=138, Resulting Numbers: [80, 138]
Generated Node #0,3,2: 65:[80, 138] Operation: 64+74=138
Exploring Operation: 80-74=6, Resulting Numbers: [64, 6]
Generated Node #0,3,3: 65:[64, 6] Operation: 80-74=6
Exploring Operation: 80-64=16, Resulting Numbers: [74, 16]
Generated Node #0,3,4: 65:[74, 16] Operation: 80-64=16
Moving to Node #0,3,3
Current State: 65:[64, 6], Operations: ['98-18=80', '80-74=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
Moving to Node #0,3,4
Current State: 65:[74, 16], Operations: ['98-18=80', '80-64=16']
Exploring Operation: 74+16=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 74*16=1184, Resulting Numbers: [1184]
1184,65 unequal: No Solution
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Moving to Node #0,3,0
Current State: 65:[80, 10], Operations: ['98-18=80', '74-64=10']
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 80+10=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 80*10=800, Resulting Numbers: [800]
800,65 unequal: No Solution
Moving to Node #0,3,1
Current State: 65:[74, 144], Operations: ['98-18=80', '64+80=144']
Exploring Operation: 74*144=10656, Resulting Numbers: [10656]
10656,65 unequal: No Solution
Exploring Operation: 144-74=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 74+144=218, Resulting Numbers: [218]
218,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[80, 138], Operations: ['98-18=80', '64+74=138']
Exploring Operation: 80+138=218, Resulting Numbers: [218]
218,65 unequal: No Solution
Exploring Operation: 138-80=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Exploring Operation: 80*138=11040, Resulting Numbers: [11040]
11040,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
Current State: 65:[18, 74, 34], Operations: ['98-64=34']
Exploring Operation: 74-18=56, Resulting Numbers: [34, 56]
Generated Node #0,2,0: 65:[34, 56] Operation: 74-18=56
Exploring Operation: 74-34=40, Resulting Numbers: [18, 40]
Generated Node #0,2,1: 65:[18, 40] Operation: 74-34=40
Exploring Operation: 18+74=92, Resulting Numbers: [34, 92]
Generated Node #0,2,2: 65:[34, 92] Operation: 18+74=92
Exploring Operation: 34-18=16, Resulting Numbers: [74, 16]
Generated Node #0,2,3: 65:[74, 16] Operation: 34-18=16
Exploring Operation: 18+34=52, Resulting Numbers: [74, 52]
Generated Node #0,2,4: 65:[74, 52] Operation: 18+34=52
Moving to Node #0,2,3
Current State: 65:[74, 16], Operations: ['98-64=34', '34-18=16']
Exploring Operation: 74+16=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Exploring Operation: 74*16=1184, Resulting Numbers: [1184]
1184,65 unequal: No Solution
Moving to Node #0,2,4
Current State: 65:[74, 52], Operations: ['98-64=34', '18+34=52']
Exploring Operation: 74-52=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 74+52=126, Resulting Numbers: [126]
126,65 unequal: No Solution
Exploring Operation: 74*52=3848, Resulting Numbers: [3848]
3848,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[34, 56], Operations: ['98-64=34', '74-18=56']
Exploring Operation: 34+56=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 34*56=1904, Resulting Numbers: [1904]
1904,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[18, 40], Operations: ['98-64=34', '74-34=40']
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,65 unequal: No Solution
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[34, 92], Operations: ['98-64=34', '18+74=92']
Exploring Operation: 34*92=3128, Resulting Numbers: [3128]
3128,65 unequal: No Solution
Exploring Operation: 92-34=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Exploring Operation: 34+92=126, Resulting Numbers: [126]
126,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
Current State: 65:[18, 98, 10], Operations: ['74-64=10']
Exploring Operation: 98-18=80, Resulting Numbers: [10, 80]
Generated Node #0,0,0: 65:[10, 80] Operation: 98-18=80
Exploring Operation: 98-10=88, Resulting Numbers: [18, 88]
Generated Node #0,0,1: 65:[18, 88] Operation: 98-10=88
Exploring Operation: 18-10=8, Resulting Numbers: [98, 8]
Generated Node #0,0,2: 65:[98, 8] Operation: 18-10=8
Exploring Operation: 18+10=28, Resulting Numbers: [98, 28]
Generated Node #0,0,3: 65:[98, 28] Operation: 18+10=28
Exploring Operation: 98+10=108, Resulting Numbers: [18, 108]
Generated Node #0,0,4: 65:[18, 108] Operation: 98+10=108
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[10, 80], Operations: ['74-64=10', '98-18=80']
Exploring Operation: 10*80=800, Resulting Numbers: [800]
800,65 unequal: No Solution
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 10+80=90, Resulting Numbers: [90]
90,65 unequal: No Solution
No 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: 65:[18, 88], Operations: ['74-64=10', '98-10=88']
Exploring Operation: 18*88=1584, Resulting Numbers: [1584]
1584,65 unequal: No Solution
Exploring Operation: 88-18=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 18+88=106, Resulting Numbers: [106]
106,65 unequal: No Solution
No 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: 65:[98, 8], Operations: ['74-64=10', '18-10=8']
Exploring Operation: 98*8=784, Resulting Numbers: [784]
784,65 unequal: No Solution
Exploring Operation: 98-8=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 98+8=106, Resulting Numbers: [106]
106,65 unequal: No Solution
No 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: 65:[98, 28], Operations: ['74-64=10', '18+10=28']
Exploring Operation: 98*28=2744, Resulting Numbers: [2744]
2744,65 unequal: No Solution
Exploring Operation: 98+28=126, Resulting Numbers: [126]
126,65 unequal: No Solution
Exploring Operation: 98-28=70, Resulting Numbers: [70]
70,65 unequal: No Solution
No 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: 65:[18, 108], Operations: ['74-64=10', '98+10=108']
Exploring Operation: 108-18=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 18+108=126, Resulting Numbers: [126]
126,65 unequal: No Solution
Exploring Operation: 18*108=1944, Resulting Numbers: [1944]
1944,65 unequal: No Solution
Exploring Operation: 108/18=6, Resulting Numbers: [6]
6,65 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: 65:[64, 98, 56], Operations: ['74-18=56']
Exploring Operation: 98-64=34, Resulting Numbers: [56, 34]
Generated Node #0,1,0: 65:[56, 34] Operation: 98-64=34
Exploring Operation: 64+56=120, Resulting Numbers: [98, 120]
Generated Node #0,1,1: 65:[98, 120] Operation: 64+56=120
Exploring Operation: 98-56=42, Resulting Numbers: [64, 42]
Generated Node #0,1,2: 65:[64, 42] Operation: 98-56=42
Exploring Operation: 98+56=154, Resulting Numbers: [64, 154]
Generated Node #0,1,3: 65:[64, 154] Operation: 98+56=154
Exploring Operation: 64-56=8, Resulting Numbers: [98, 8]
Generated Node #0,1,4: 65:[98, 8] Operation: 64-56=8
Moving to Node #0,1,2
Current State: 65:[64, 42], Operations: ['74-18=56', '98-56=42']
Exploring Operation: 64+42=106, Resulting Numbers: [106]
106,65 unequal: No Solution
Exploring Operation: 64*42=2688, Resulting Numbers: [2688]
2688,65 unequal: No Solution
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[56, 34], Operations: ['74-18=56', '98-64=34']
Exploring Operation: 56+34=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 56*34=1904, Resulting Numbers: [1904]
1904,65 unequal: No Solution
Moving to Node #0,1,4
Current State: 65:[98, 8], Operations: ['74-18=56', '64-56=8']
Exploring Operation: 98-8=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 98*8=784, Resulting Numbers: [784]
784,65 unequal: No Solution
Exploring Operation: 98+8=106, Resulting Numbers: [106]
106,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[98, 120], Operations: ['74-18=56', '64+56=120']
Exploring Operation: 98*120=11760, Resulting Numbers: [11760]
11760,65 unequal: No Solution
Exploring Operation: 120-98=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 98+120=218, Resulting Numbers: [218]
218,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[64, 154], Operations: ['74-18=56', '98+56=154']
Exploring Operation: 64*154=9856, Resulting Numbers: [9856]
9856,65 unequal: No Solution
Exploring Operation: 154-64=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 64+154=218, Resulting Numbers: [218]
218,65 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 |
[
64,
44,
70,
98
] | 48 | [
"64-44=20",
"98-70=28",
"20+28=48"
] | Current State: 48:[64, 44, 70, 98], Operations: []
Exploring Operation: 64-44=20, Resulting Numbers: [70, 98, 20]
Generated Node #2: [70, 98, 20] from Operation: 64-44=20
Current State: 48:[70, 98, 20], Operations: ['64-44=20']
Exploring Operation: 98-70=28, Resulting Numbers: [20, 28]
Generated Node #3: [20, 28] from Operation: 98-70=28
Current State: 48:[20, 28], Operations: ['64-44=20', '98-70=28']
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[64, 44, 70, 98], Operations: []
Exploring Operation: 98-70=28, Resulting Numbers: [64, 44, 28]
Generated Node #0,0: 48:[64, 44, 28] Operation: 98-70=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[64, 44, 28], Operations: ['98-70=28']
Exploring Operation: 64-44=20, Resulting Numbers: [28, 20]
Generated Node #0,0,0: 48:[28, 20] Operation: 64-44=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[28, 20], Operations: ['98-70=28', '64-44=20']
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[64, 44, 70, 98], Operations: []
Exploring Operation: 98-70=28, Resulting Numbers: [64, 44, 28]
Generated Node #0,0: 48:[64, 44, 28] Operation: 98-70=28
Moving to Node #0,0
Current State: 48:[64, 44, 28], Operations: ['98-70=28']
Exploring Operation: 64-44=20, Resulting Numbers: [28, 20]
Generated Node #0,0,0: 48:[28, 20] Operation: 64-44=20
Moving to Node #0,0,0
Current State: 48:[28, 20], Operations: ['98-70=28', '64-44=20']
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
53,
19,
63,
9
] | 80 | [
"19*63=1197",
"1197/9=133",
"133-53=80"
] | Current State: 80:[53, 19, 63, 9], Operations: []
Exploring Operation: 19*63=1197, Resulting Numbers: [53, 9, 1197]
Generated Node #2: [53, 9, 1197] from Operation: 19*63=1197
Current State: 80:[53, 9, 1197], Operations: ['19*63=1197']
Exploring Operation: 1197/9=133, Resulting Numbers: [53, 133]
Generated Node #3: [53, 133] from Operation: 1197/9=133
Current State: 80:[53, 133], Operations: ['19*63=1197', '1197/9=133']
Exploring Operation: 133-53=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[53, 19, 63, 9], Operations: []
Exploring Operation: 63/9=7, Resulting Numbers: [53, 19, 7]
Generated Node #0,0: 80:[53, 19, 7] Operation: 63/9=7
Exploring Operation: 63-53=10, Resulting Numbers: [19, 9, 10]
Generated Node #0,1: 80:[19, 9, 10] Operation: 63-53=10
Exploring Operation: 19+63=82, Resulting Numbers: [53, 9, 82]
Generated Node #0,2: 80:[53, 9, 82] Operation: 19+63=82
Exploring Operation: 63-19=44, Resulting Numbers: [53, 9, 44]
Generated Node #0,3: 80:[53, 9, 44] Operation: 63-19=44
Exploring Operation: 53-9=44, Resulting Numbers: [19, 63, 44]
Generated Node #0,4: 80:[19, 63, 44] Operation: 53-9=44
Moving to Node #0,1
Current State: 80:[19, 9, 10], Operations: ['63-53=10']
Exploring Operation: 19+9=28, Resulting Numbers: [10, 28]
Generated Node #0,1,0: 80:[10, 28] Operation: 19+9=28
Exploring Operation: 19-9=10, Resulting Numbers: [10, 10]
Generated Node #0,1,1: 80:[10, 10] Operation: 19-9=10
Exploring Operation: 9+10=19, Resulting Numbers: [19, 19]
Generated Node #0,1,2: 80:[19, 19] Operation: 9+10=19
Exploring Operation: 10-9=1, Resulting Numbers: [19, 1]
Generated Node #0,1,3: 80:[19, 1] Operation: 10-9=1
Exploring Operation: 19-10=9, Resulting Numbers: [9, 9]
Generated Node #0,1,4: 80:[9, 9] Operation: 19-10=9
Moving to Node #0,0
Current State: 80:[53, 19, 7], Operations: ['63/9=7']
Exploring Operation: 19-7=12, Resulting Numbers: [53, 12]
Generated Node #0,0,0: 80:[53, 12] Operation: 19-7=12
Exploring Operation: 53-7=46, Resulting Numbers: [19, 46]
Generated Node #0,0,1: 80:[19, 46] Operation: 53-7=46
Exploring Operation: 53-19=34, Resulting Numbers: [7, 34]
Generated Node #0,0,2: 80:[7, 34] Operation: 53-19=34
Exploring Operation: 53+19=72, Resulting Numbers: [7, 72]
Generated Node #0,0,3: 80:[7, 72] Operation: 53+19=72
Exploring Operation: 19+7=26, Resulting Numbers: [53, 26]
Generated Node #0,0,4: 80:[53, 26] Operation: 19+7=26
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[19, 46], Operations: ['63/9=7', '53-7=46']
Exploring Operation: 19*46=874, Resulting Numbers: [874]
874,80 unequal: No Solution
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,80 unequal: No Solution
Exploring Operation: 19+46=65, Resulting Numbers: [65]
65,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 80:[7, 34], Operations: ['63/9=7', '53-19=34']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,80 unequal: No Solution
Exploring Operation: 7+34=41, Resulting Numbers: [41]
41,80 unequal: No Solution
Exploring Operation: 7*34=238, Resulting Numbers: [238]
238,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 80:[7, 72], Operations: ['63/9=7', '53+19=72']
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Exploring Operation: 7+72=79, Resulting Numbers: [79]
79,80 unequal: No Solution
Exploring Operation: 7*72=504, Resulting Numbers: [504]
504,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[53, 12], Operations: ['63/9=7', '19-7=12']
Exploring Operation: 53*12=636, Resulting Numbers: [636]
636,80 unequal: No Solution
Exploring Operation: 53-12=41, Resulting Numbers: [41]
41,80 unequal: No Solution
Exploring Operation: 53+12=65, Resulting Numbers: [65]
65,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 80:[53, 26], Operations: ['63/9=7', '19+7=26']
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,80 unequal: No Solution
Exploring Operation: 53*26=1378, Resulting Numbers: [1378]
1378,80 unequal: No Solution
Exploring Operation: 53+26=79, Resulting Numbers: [79]
79,80 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: 80:[53, 9, 82], Operations: ['19+63=82']
Exploring Operation: 82-9=73, Resulting Numbers: [53, 73]
Generated Node #0,2,0: 80:[53, 73] Operation: 82-9=73
Exploring Operation: 53-9=44, Resulting Numbers: [82, 44]
Generated Node #0,2,1: 80:[82, 44] Operation: 53-9=44
Exploring Operation: 53+9=62, Resulting Numbers: [82, 62]
Generated Node #0,2,2: 80:[82, 62] Operation: 53+9=62
Exploring Operation: 9+82=91, Resulting Numbers: [53, 91]
Generated Node #0,2,3: 80:[53, 91] Operation: 9+82=91
Exploring Operation: 82-53=29, Resulting Numbers: [9, 29]
Generated Node #0,2,4: 80:[9, 29] Operation: 82-53=29
Moving to Node #0,3
Current State: 80:[53, 9, 44], Operations: ['63-19=44']
Exploring Operation: 44-9=35, Resulting Numbers: [53, 35]
Generated Node #0,3,0: 80:[53, 35] Operation: 44-9=35
Exploring Operation: 53+9=62, Resulting Numbers: [44, 62]
Generated Node #0,3,1: 80:[44, 62] Operation: 53+9=62
Exploring Operation: 53-44=9, Resulting Numbers: [9, 9]
Generated Node #0,3,2: 80:[9, 9] Operation: 53-44=9
Exploring Operation: 53-9=44, Resulting Numbers: [44, 44]
Generated Node #0,3,3: 80:[44, 44] Operation: 53-9=44
Exploring Operation: 53+44=97, Resulting Numbers: [9, 97]
Generated Node #0,3,4: 80:[9, 97] Operation: 53+44=97
Moving to Node #0,4
Current State: 80:[19, 63, 44], Operations: ['53-9=44']
Exploring Operation: 63-19=44, Resulting Numbers: [44, 44]
Generated Node #0,4,0: 80:[44, 44] Operation: 63-19=44
Exploring Operation: 44-19=25, Resulting Numbers: [63, 25]
Generated Node #0,4,1: 80:[63, 25] Operation: 44-19=25
Exploring Operation: 19+63=82, Resulting Numbers: [44, 82]
Generated Node #0,4,2: 80:[44, 82] Operation: 19+63=82
Exploring Operation: 63+44=107, Resulting Numbers: [19, 107]
Generated Node #0,4,3: 80:[19, 107] Operation: 63+44=107
Exploring Operation: 63-44=19, Resulting Numbers: [19, 19]
Generated Node #0,4,4: 80:[19, 19] Operation: 63-44=19
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 80:[19, 19], Operations: ['53-9=44', '63-44=19']
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 19*19=361, Resulting Numbers: [361]
361,80 unequal: No Solution
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 80:[44, 82], Operations: ['53-9=44', '19+63=82']
Exploring Operation: 44*82=3608, Resulting Numbers: [3608]
3608,80 unequal: No Solution
Exploring Operation: 82-44=38, Resulting Numbers: [38]
38,80 unequal: No Solution
Exploring Operation: 44+82=126, Resulting Numbers: [126]
126,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 80:[44, 44], Operations: ['53-9=44', '63-19=44']
Exploring Operation: 44-44=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,80 unequal: No Solution
Exploring Operation: 44/44=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 44*44=1936, Resulting Numbers: [1936]
1936,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 80:[63, 25], Operations: ['53-9=44', '44-19=25']
Exploring Operation: 63+25=88, Resulting Numbers: [88]
88,80 unequal: No Solution
Exploring Operation: 63*25=1575, Resulting Numbers: [1575]
1575,80 unequal: No Solution
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 80:[19, 107], Operations: ['53-9=44', '63+44=107']
Exploring Operation: 19*107=2033, Resulting Numbers: [2033]
2033,80 unequal: No Solution
Exploring Operation: 107-19=88, Resulting Numbers: [88]
88,80 unequal: No Solution
Exploring Operation: 19+107=126, Resulting Numbers: [126]
126,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 80:[10, 10], Operations: ['63-53=10', '19-9=10']
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,80 unequal: No Solution
Moving to Node #0,1,3
Current State: 80:[19, 1], Operations: ['63-53=10', '10-9=1']
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[19, 19], Operations: ['63-53=10', '9+10=19']
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,80 unequal: No Solution
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 19*19=361, Resulting Numbers: [361]
361,80 unequal: No Solution
Moving to Node #0,3,2
Current State: 80:[9, 9], Operations: ['63-19=44', '53-44=9']
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Moving to Node #0,1,4
Current State: 80:[9, 9], Operations: ['63-53=10', '19-10=9']
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Moving to Node #0,2,1
Current State: 80:[82, 44], Operations: ['19+63=82', '53-9=44']
Exploring Operation: 82-44=38, Resulting Numbers: [38]
38,80 unequal: No Solution
Exploring Operation: 82*44=3608, Resulting Numbers: [3608]
3608,80 unequal: No Solution
Exploring Operation: 82+44=126, Resulting Numbers: [126]
126,80 unequal: No Solution
Moving to Node #0,3,3
Current State: 80:[44, 44], Operations: ['63-19=44', '53-9=44']
Exploring Operation: 44/44=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 44*44=1936, Resulting Numbers: [1936]
1936,80 unequal: No Solution
Exploring Operation: 44-44=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[10, 28], Operations: ['63-53=10', '19+9=28']
Exploring Operation: 10*28=280, Resulting Numbers: [280]
280,80 unequal: No Solution
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,80 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Moving to Node #0,2,4
Current State: 80:[9, 29], Operations: ['19+63=82', '82-53=29']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,80 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,80 unequal: No Solution
Moving to Node #0,3,4
Current State: 80:[9, 97], Operations: ['63-19=44', '53+44=97']
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,80 unequal: No Solution
Exploring Operation: 9*97=873, Resulting Numbers: [873]
873,80 unequal: No Solution
Exploring Operation: 9+97=106, Resulting Numbers: [106]
106,80 unequal: No Solution
Moving to Node #0,3,0
Current State: 80:[53, 35], Operations: ['63-19=44', '44-9=35']
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 53+35=88, Resulting Numbers: [88]
88,80 unequal: No Solution
Exploring Operation: 53*35=1855, Resulting Numbers: [1855]
1855,80 unequal: No Solution
Moving to Node #0,2,0
Current State: 80:[53, 73], Operations: ['19+63=82', '82-9=73']
Exploring Operation: 53*73=3869, Resulting Numbers: [3869]
3869,80 unequal: No Solution
Exploring Operation: 73-53=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 53+73=126, Resulting Numbers: [126]
126,80 unequal: No Solution
Moving to Node #0,2,2
Current State: 80:[82, 62], Operations: ['19+63=82', '53+9=62']
Exploring Operation: 82-62=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 82*62=5084, Resulting Numbers: [5084]
5084,80 unequal: No Solution
Exploring Operation: 82+62=144, Resulting Numbers: [144]
144,80 unequal: No Solution
Moving to Node #0,3,1
Current State: 80:[44, 62], Operations: ['63-19=44', '53+9=62']
Exploring Operation: 44+62=106, Resulting Numbers: [106]
106,80 unequal: No Solution
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 44*62=2728, Resulting Numbers: [2728]
2728,80 unequal: No Solution
Moving to Node #0,2,3
Current State: 80:[53, 91], Operations: ['19+63=82', '9+82=91']
Exploring Operation: 91-53=38, Resulting Numbers: [38]
38,80 unequal: No Solution
Exploring Operation: 53+91=144, Resulting Numbers: [144]
144,80 unequal: No Solution
Exploring Operation: 53*91=4823, Resulting Numbers: [4823]
4823,80 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
17,
64,
8,
84
] | 75 | [
"84-17=67",
"64/8=8",
"67+8=75"
] | Current State: 75:[17, 64, 8, 84], Operations: []
Exploring Operation: 84-17=67, Resulting Numbers: [64, 8, 67]
Generated Node #2: [64, 8, 67] from Operation: 84-17=67
Current State: 75:[64, 8, 67], Operations: ['84-17=67']
Exploring Operation: 64/8=8, Resulting Numbers: [67, 8]
Generated Node #3: [67, 8] from Operation: 64/8=8
Current State: 75:[67, 8], Operations: ['84-17=67', '64/8=8']
Exploring Operation: 67+8=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[17, 64, 8, 84], Operations: []
Exploring Operation: 84-64=20, Resulting Numbers: [17, 8, 20]
Generated Node #0,0: 75:[17, 8, 20] Operation: 84-64=20
Exploring Operation: 64/8=8, Resulting Numbers: [17, 84, 8]
Generated Node #0,1: 75:[17, 84, 8] Operation: 64/8=8
Exploring Operation: 64+8=72, Resulting Numbers: [17, 84, 72]
Generated Node #0,2: 75:[17, 84, 72] Operation: 64+8=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[17, 8, 20], Operations: ['84-64=20']
Exploring Operation: 17+8=25, Resulting Numbers: [20, 25]
Generated Node #0,0,0: 75:[20, 25] Operation: 17+8=25
Exploring Operation: 20-17=3, Resulting Numbers: [8, 3]
Generated Node #0,0,1: 75:[8, 3] Operation: 20-17=3
Exploring Operation: 8+20=28, Resulting Numbers: [17, 28]
Generated Node #0,0,2: 75:[17, 28] Operation: 8+20=28
Moving to Node #0,0,1
Current State: 75:[8, 3], Operations: ['84-64=20', '20-17=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[20, 25], Operations: ['84-64=20', '17+8=25']
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 20*25=500, Resulting Numbers: [500]
500,75 unequal: No Solution
Exploring Operation: 20+25=45, Resulting Numbers: [45]
45,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[17, 28], Operations: ['84-64=20', '8+20=28']
Exploring Operation: 17+28=45, Resulting Numbers: [45]
45,75 unequal: No Solution
Exploring Operation: 17*28=476, Resulting Numbers: [476]
476,75 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[17, 84, 8], Operations: ['64/8=8']
Exploring Operation: 84-8=76, Resulting Numbers: [17, 76]
Generated Node #0,1,0: 75:[17, 76] Operation: 84-8=76
Exploring Operation: 84-17=67, Resulting Numbers: [8, 67]
Generated Node #0,1,1: 75:[8, 67] Operation: 84-17=67
Exploring Operation: 17+8=25, Resulting Numbers: [84, 25]
Generated Node #0,1,2: 75:[84, 25] Operation: 17+8=25
Moving to Node #0,1,0
Current State: 75:[17, 76], Operations: ['64/8=8', '84-8=76']
Exploring Operation: 17*76=1292, Resulting Numbers: [1292]
1292,75 unequal: No Solution
Exploring Operation: 76-17=59, Resulting Numbers: [59]
59,75 unequal: No Solution
Exploring Operation: 17+76=93, Resulting Numbers: [93]
93,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[84, 25], Operations: ['64/8=8', '17+8=25']
Exploring Operation: 84*25=2100, Resulting Numbers: [2100]
2100,75 unequal: No Solution
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,75 unequal: No Solution
Exploring Operation: 84+25=109, Resulting Numbers: [109]
109,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[8, 67], Operations: ['64/8=8', '84-17=67']
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,75 unequal: No Solution
Exploring Operation: 8*67=536, Resulting Numbers: [536]
536,75 unequal: No Solution
Exploring Operation: 8+67=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[17, 64, 8, 84], Operations: []
Exploring Operation: 64/8=8, Resulting Numbers: [17, 84, 8]
Generated Node #0,1: 75:[17, 84, 8] Operation: 64/8=8
Moving to Node #0,1
Current State: 75:[17, 84, 8], Operations: ['64/8=8']
Exploring Operation: 84-17=67, Resulting Numbers: [8, 67]
Generated Node #0,1,1: 75:[8, 67] Operation: 84-17=67
Moving to Node #0,1,1
Current State: 75:[8, 67], Operations: ['64/8=8', '84-17=67']
Exploring Operation: 8+67=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_3 | sum_heuristic |
[
8,
33,
40,
6
] | 53 | [
"8-6=2",
"40/2=20",
"33+20=53"
] | Current State: 53:[8, 33, 40, 6], Operations: []
Exploring Operation: 8-6=2, Resulting Numbers: [33, 40, 2]
Generated Node #2: [33, 40, 2] from Operation: 8-6=2
Current State: 53:[33, 40, 2], Operations: ['8-6=2']
Exploring Operation: 40/2=20, Resulting Numbers: [33, 20]
Generated Node #3: [33, 20] from Operation: 40/2=20
Current State: 53:[33, 20], Operations: ['8-6=2', '40/2=20']
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[8, 33, 40, 6], Operations: []
Exploring Operation: 8*6=48, Resulting Numbers: [33, 40, 48]
Generated Node #0,0: 53:[33, 40, 48] Operation: 8*6=48
Exploring Operation: 8+33=41, Resulting Numbers: [40, 6, 41]
Generated Node #0,1: 53:[40, 6, 41] Operation: 8+33=41
Exploring Operation: 33+6=39, Resulting Numbers: [8, 40, 39]
Generated Node #0,2: 53:[8, 40, 39] Operation: 33+6=39
Exploring Operation: 8+6=14, Resulting Numbers: [33, 40, 14]
Generated Node #0,3: 53:[33, 40, 14] Operation: 8+6=14
Exploring Operation: 8+40=48, Resulting Numbers: [33, 6, 48]
Generated Node #0,4: 53:[33, 6, 48] Operation: 8+40=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[33, 40, 48], Operations: ['8*6=48']
Exploring Operation: 48-33=15, Resulting Numbers: [40, 15]
Generated Node #0,0,0: 53:[40, 15] Operation: 48-33=15
Exploring Operation: 33+40=73, Resulting Numbers: [48, 73]
Generated Node #0,0,1: 53:[48, 73] Operation: 33+40=73
Exploring Operation: 40-33=7, Resulting Numbers: [48, 7]
Generated Node #0,0,2: 53:[48, 7] Operation: 40-33=7
Exploring Operation: 33+48=81, Resulting Numbers: [40, 81]
Generated Node #0,0,3: 53:[40, 81] Operation: 33+48=81
Exploring Operation: 40+48=88, Resulting Numbers: [33, 88]
Generated Node #0,0,4: 53:[33, 88] Operation: 40+48=88
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[48, 73], Operations: ['8*6=48', '33+40=73']
Exploring Operation: 48+73=121, Resulting Numbers: [121]
121,53 unequal: No Solution
Exploring Operation: 48*73=3504, Resulting Numbers: [3504]
3504,53 unequal: No Solution
Exploring Operation: 73-48=25, Resulting Numbers: [25]
25,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 53:[40, 81], Operations: ['8*6=48', '33+48=81']
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Exploring Operation: 40+81=121, Resulting Numbers: [121]
121,53 unequal: No Solution
Exploring Operation: 40*81=3240, Resulting Numbers: [3240]
3240,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[40, 15], Operations: ['8*6=48', '48-33=15']
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,53 unequal: No Solution
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,53 unequal: No Solution
Exploring Operation: 40*15=600, Resulting Numbers: [600]
600,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 53:[48, 7], Operations: ['8*6=48', '40-33=7']
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,53 unequal: No Solution
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,53 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 53:[33, 88], Operations: ['8*6=48', '40+48=88']
Exploring Operation: 33*88=2904, Resulting Numbers: [2904]
2904,53 unequal: No Solution
Exploring Operation: 33+88=121, Resulting Numbers: [121]
121,53 unequal: No Solution
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[40, 6, 41], Operations: ['8+33=41']
Exploring Operation: 40-6=34, Resulting Numbers: [41, 34]
Generated Node #0,1,0: 53:[41, 34] Operation: 40-6=34
Exploring Operation: 6+41=47, Resulting Numbers: [40, 47]
Generated Node #0,1,1: 53:[40, 47] Operation: 6+41=47
Exploring Operation: 40+6=46, Resulting Numbers: [41, 46]
Generated Node #0,1,2: 53:[41, 46] Operation: 40+6=46
Exploring Operation: 41-6=35, Resulting Numbers: [40, 35]
Generated Node #0,1,3: 53:[40, 35] Operation: 41-6=35
Exploring Operation: 40+41=81, Resulting Numbers: [6, 81]
Generated Node #0,1,4: 53:[6, 81] Operation: 40+41=81
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[40, 47], Operations: ['8+33=41', '6+41=47']
Exploring Operation: 40+47=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 40*47=1880, Resulting Numbers: [1880]
1880,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 53:[41, 46], Operations: ['8+33=41', '40+6=46']
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 41+46=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 41*46=1886, Resulting Numbers: [1886]
1886,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[41, 34], Operations: ['8+33=41', '40-6=34']
Exploring Operation: 41*34=1394, Resulting Numbers: [1394]
1394,53 unequal: No Solution
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 41+34=75, Resulting Numbers: [75]
75,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 53:[40, 35], Operations: ['8+33=41', '41-6=35']
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 40*35=1400, Resulting Numbers: [1400]
1400,53 unequal: No Solution
Exploring Operation: 40+35=75, Resulting Numbers: [75]
75,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 53:[6, 81], Operations: ['8+33=41', '40+41=81']
Exploring Operation: 6+81=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 6*81=486, Resulting Numbers: [486]
486,53 unequal: No Solution
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[8, 40, 39], Operations: ['33+6=39']
Exploring Operation: 8+40=48, Resulting Numbers: [39, 48]
Generated Node #0,2,0: 53:[39, 48] Operation: 8+40=48
Exploring Operation: 8+39=47, Resulting Numbers: [40, 47]
Generated Node #0,2,1: 53:[40, 47] Operation: 8+39=47
Exploring Operation: 40-8=32, Resulting Numbers: [39, 32]
Generated Node #0,2,2: 53:[39, 32] Operation: 40-8=32
Exploring Operation: 40/8=5, Resulting Numbers: [39, 5]
Generated Node #0,2,3: 53:[39, 5] Operation: 40/8=5
Exploring Operation: 39-8=31, Resulting Numbers: [40, 31]
Generated Node #0,2,4: 53:[40, 31] Operation: 39-8=31
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 53:[39, 48], Operations: ['33+6=39', '8+40=48']
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,53 unequal: No Solution
Exploring Operation: 39*48=1872, Resulting Numbers: [1872]
1872,53 unequal: No Solution
Exploring Operation: 39+48=87, Resulting Numbers: [87]
87,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 53:[40, 47], Operations: ['33+6=39', '8+39=47']
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 40+47=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 40*47=1880, Resulting Numbers: [1880]
1880,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 53:[39, 32], Operations: ['33+6=39', '40-8=32']
Exploring Operation: 39*32=1248, Resulting Numbers: [1248]
1248,53 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 53:[40, 31], Operations: ['33+6=39', '39-8=31']
Exploring Operation: 40+31=71, Resulting Numbers: [71]
71,53 unequal: No Solution
Exploring Operation: 40*31=1240, Resulting Numbers: [1240]
1240,53 unequal: No Solution
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 53:[39, 5], Operations: ['33+6=39', '40/8=5']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,53 unequal: No Solution
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 53:[33, 40, 14], Operations: ['8+6=14']
Exploring Operation: 40+14=54, Resulting Numbers: [33, 54]
Generated Node #0,3,0: 53:[33, 54] Operation: 40+14=54
Exploring Operation: 33+14=47, Resulting Numbers: [40, 47]
Generated Node #0,3,1: 53:[40, 47] Operation: 33+14=47
Exploring Operation: 33-14=19, Resulting Numbers: [40, 19]
Generated Node #0,3,2: 53:[40, 19] Operation: 33-14=19
Exploring Operation: 40-14=26, Resulting Numbers: [33, 26]
Generated Node #0,3,3: 53:[33, 26] Operation: 40-14=26
Exploring Operation: 33+40=73, Resulting Numbers: [14, 73]
Generated Node #0,3,4: 53:[14, 73] Operation: 33+40=73
Moving to Node #0,3,1
Current State: 53:[40, 47], Operations: ['8+6=14', '33+14=47']
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 40*47=1880, Resulting Numbers: [1880]
1880,53 unequal: No Solution
Exploring Operation: 40+47=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[33, 54], Operations: ['8+6=14', '40+14=54']
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Exploring Operation: 33*54=1782, Resulting Numbers: [1782]
1782,53 unequal: No Solution
Exploring Operation: 33+54=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Moving to Node #0,3,2
Current State: 53:[40, 19], Operations: ['8+6=14', '33-14=19']
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Exploring Operation: 40+19=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Exploring Operation: 40*19=760, Resulting Numbers: [760]
760,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[33, 26], Operations: ['8+6=14', '40-14=26']
Exploring Operation: 33+26=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 33*26=858, Resulting Numbers: [858]
858,53 unequal: No Solution
Moving to Node #0,3,4
Current State: 53:[14, 73], Operations: ['8+6=14', '33+40=73']
Exploring Operation: 14+73=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 14*73=1022, Resulting Numbers: [1022]
1022,53 unequal: No Solution
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 53:[33, 6, 48], Operations: ['8+40=48']
Exploring Operation: 48/6=8, Resulting Numbers: [33, 8]
Generated Node #0,4,0: 53:[33, 8] Operation: 48/6=8
Exploring Operation: 6+48=54, Resulting Numbers: [33, 54]
Generated Node #0,4,1: 53:[33, 54] Operation: 6+48=54
Exploring Operation: 48-6=42, Resulting Numbers: [33, 42]
Generated Node #0,4,2: 53:[33, 42] Operation: 48-6=42
Exploring Operation: 33-6=27, Resulting Numbers: [48, 27]
Generated Node #0,4,3: 53:[48, 27] Operation: 33-6=27
Exploring Operation: 33+6=39, Resulting Numbers: [48, 39]
Generated Node #0,4,4: 53:[48, 39] Operation: 33+6=39
Moving to Node #0,4,4
Current State: 53:[48, 39], Operations: ['8+40=48', '33+6=39']
Exploring Operation: 48+39=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 48*39=1872, Resulting Numbers: [1872]
1872,53 unequal: No Solution
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,53 unequal: No Solution
Moving to Node #0,4,1
Current State: 53:[33, 54], Operations: ['8+40=48', '6+48=54']
Exploring Operation: 33*54=1782, Resulting Numbers: [1782]
1782,53 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Exploring Operation: 33+54=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Moving to Node #0,4,2
Current State: 53:[33, 42], Operations: ['8+40=48', '48-6=42']
Exploring Operation: 33+42=75, Resulting Numbers: [75]
75,53 unequal: No Solution
Exploring Operation: 33*42=1386, Resulting Numbers: [1386]
1386,53 unequal: No Solution
Exploring Operation: 42-33=9, Resulting Numbers: [9]
9,53 unequal: No Solution
Moving to Node #0,4,3
Current State: 53:[48, 27], Operations: ['8+40=48', '33-6=27']
Exploring Operation: 48*27=1296, Resulting Numbers: [1296]
1296,53 unequal: No Solution
Exploring Operation: 48+27=75, Resulting Numbers: [75]
75,53 unequal: No Solution
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Moving to Node #0,4,0
Current State: 53:[33, 8], Operations: ['8+40=48', '48/6=8']
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,53 unequal: No Solution
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,53 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 |
[
77,
37,
16,
22
] | 78 | [
"77-37=40",
"16+22=38",
"40+38=78"
] | Current State: 78:[77, 37, 16, 22], Operations: []
Exploring Operation: 77-37=40, Resulting Numbers: [16, 22, 40]
Generated Node #2: [16, 22, 40] from Operation: 77-37=40
Current State: 78:[16, 22, 40], Operations: ['77-37=40']
Exploring Operation: 16+22=38, Resulting Numbers: [40, 38]
Generated Node #3: [40, 38] from Operation: 16+22=38
Current State: 78:[40, 38], Operations: ['77-37=40', '16+22=38']
Exploring Operation: 40+38=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[77, 37, 16, 22], Operations: []
Exploring Operation: 37-22=15, Resulting Numbers: [77, 16, 15]
Generated Node #0,0: 78:[77, 16, 15] Operation: 37-22=15
Exploring Operation: 77-37=40, Resulting Numbers: [16, 22, 40]
Generated Node #0,1: 78:[16, 22, 40] Operation: 77-37=40
Exploring Operation: 22-16=6, Resulting Numbers: [77, 37, 6]
Generated Node #0,2: 78:[77, 37, 6] Operation: 22-16=6
Exploring Operation: 16+22=38, Resulting Numbers: [77, 37, 38]
Generated Node #0,3: 78:[77, 37, 38] Operation: 16+22=38
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[77, 37, 6], Operations: ['22-16=6']
Exploring Operation: 37+6=43, Resulting Numbers: [77, 43]
Generated Node #0,2,0: 78:[77, 43] Operation: 37+6=43
Exploring Operation: 77+6=83, Resulting Numbers: [37, 83]
Generated Node #0,2,1: 78:[37, 83] Operation: 77+6=83
Exploring Operation: 37-6=31, Resulting Numbers: [77, 31]
Generated Node #0,2,2: 78:[77, 31] Operation: 37-6=31
Exploring Operation: 77-37=40, Resulting Numbers: [6, 40]
Generated Node #0,2,3: 78:[6, 40] Operation: 77-37=40
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 78:[6, 40], Operations: ['22-16=6', '77-37=40']
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,78 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,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,0
Current State: 78:[77, 43], Operations: ['22-16=6', '37+6=43']
Exploring Operation: 77*43=3311, Resulting Numbers: [3311]
3311,78 unequal: No Solution
Exploring Operation: 77+43=120, Resulting Numbers: [120]
120,78 unequal: No Solution
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,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:[77, 31], Operations: ['22-16=6', '37-6=31']
Exploring Operation: 77+31=108, Resulting Numbers: [108]
108,78 unequal: No Solution
Exploring Operation: 77*31=2387, Resulting Numbers: [2387]
2387,78 unequal: No Solution
Exploring Operation: 77-31=46, Resulting Numbers: [46]
46,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:[37, 83], Operations: ['22-16=6', '77+6=83']
Exploring Operation: 37*83=3071, Resulting Numbers: [3071]
3071,78 unequal: No Solution
Exploring Operation: 83-37=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Exploring Operation: 37+83=120, Resulting Numbers: [120]
120,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,3
Current State: 78:[77, 37, 38], Operations: ['16+22=38']
Exploring Operation: 77-38=39, Resulting Numbers: [37, 39]
Generated Node #0,3,0: 78:[37, 39] Operation: 77-38=39
Exploring Operation: 38-37=1, Resulting Numbers: [77, 1]
Generated Node #0,3,1: 78:[77, 1] Operation: 38-37=1
Exploring Operation: 77-37=40, Resulting Numbers: [38, 40]
Generated Node #0,3,2: 78:[38, 40] Operation: 77-37=40
Exploring Operation: 37+38=75, Resulting Numbers: [77, 75]
Generated Node #0,3,3: 78:[77, 75] Operation: 37+38=75
Moving to Node #0,3,0
Current State: 78:[37, 39], Operations: ['16+22=38', '77-38=39']
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,78 unequal: No Solution
Exploring Operation: 37*39=1443, Resulting Numbers: [1443]
1443,78 unequal: No Solution
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Moving to Node #0,3,2
Current State: 78:[38, 40], Operations: ['16+22=38', '77-37=40']
Exploring Operation: 40-38=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[77, 37, 16, 22], Operations: []
Exploring Operation: 16+22=38, Resulting Numbers: [77, 37, 38]
Generated Node #0,3: 78:[77, 37, 38] Operation: 16+22=38
Moving to Node #0,3
Current State: 78:[77, 37, 38], Operations: ['16+22=38']
Exploring Operation: 77-37=40, Resulting Numbers: [38, 40]
Generated Node #0,3,2: 78:[38, 40] Operation: 77-37=40
Moving to Node #0,3,2
Current State: 78:[38, 40], Operations: ['16+22=38', '77-37=40']
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | mult_heuristic |
[
48,
7,
14,
42
] | 46 | [
"7+14=21",
"42/21=2",
"48-2=46"
] | Current State: 46:[48, 7, 14, 42], Operations: []
Exploring Operation: 7+14=21, Resulting Numbers: [48, 42, 21]
Generated Node #2: [48, 42, 21] from Operation: 7+14=21
Current State: 46:[48, 42, 21], Operations: ['7+14=21']
Exploring Operation: 42/21=2, Resulting Numbers: [48, 2]
Generated Node #3: [48, 2] from Operation: 42/21=2
Current State: 46:[48, 2], Operations: ['7+14=21', '42/21=2']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[48, 7, 14, 42], Operations: []
Exploring Operation: 14/7=2, Resulting Numbers: [48, 42, 2]
Generated Node #0,0: 46:[48, 42, 2] Operation: 14/7=2
Exploring Operation: 7+14=21, Resulting Numbers: [48, 42, 21]
Generated Node #0,1: 46:[48, 42, 21] Operation: 7+14=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[48, 42, 2], Operations: ['14/7=2']
Exploring Operation: 48-42=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 46:[2, 6] Operation: 48-42=6
Exploring Operation: 48-2=46, Resulting Numbers: [42, 46]
Generated Node #0,0,1: 46:[42, 46] Operation: 48-2=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[2, 6], Operations: ['14/7=2', '48-42=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 46:[42, 46], Operations: ['14/7=2', '48-2=46']
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[48, 42, 21], Operations: ['7+14=21']
Exploring Operation: 42/21=2, Resulting Numbers: [48, 2]
Generated Node #0,1,0: 46:[48, 2] Operation: 42/21=2
Exploring Operation: 42-21=21, Resulting Numbers: [48, 21]
Generated Node #0,1,1: 46:[48, 21] Operation: 42-21=21
Moving to Node #0,1,0
Current State: 46:[48, 2], Operations: ['7+14=21', '42/21=2']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[48, 7, 14, 42], Operations: []
Exploring Operation: 7+14=21, Resulting Numbers: [48, 42, 21]
Generated Node #0,1: 46:[48, 42, 21] Operation: 7+14=21
Moving to Node #0,1
Current State: 46:[48, 42, 21], Operations: ['7+14=21']
Exploring Operation: 42/21=2, Resulting Numbers: [48, 2]
Generated Node #0,1,0: 46:[48, 2] Operation: 42/21=2
Moving to Node #0,1,0
Current State: 46:[48, 2], Operations: ['7+14=21', '42/21=2']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
6,
2,
16,
89
] | 39 | [
"6+2=8",
"16*8=128",
"128-89=39"
] | Current State: 39:[6, 2, 16, 89], Operations: []
Exploring Operation: 6+2=8, Resulting Numbers: [16, 89, 8]
Generated Node #2: [16, 89, 8] from Operation: 6+2=8
Current State: 39:[16, 89, 8], Operations: ['6+2=8']
Exploring Operation: 16*8=128, Resulting Numbers: [89, 128]
Generated Node #3: [89, 128] from Operation: 16*8=128
Current State: 39:[89, 128], Operations: ['6+2=8', '16*8=128']
Exploring Operation: 128-89=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[6, 2, 16, 89], Operations: []
Exploring Operation: 6/2=3, Resulting Numbers: [16, 89, 3]
Generated Node #0,0: 39:[16, 89, 3] Operation: 6/2=3
Exploring Operation: 89-6=83, Resulting Numbers: [2, 16, 83]
Generated Node #0,1: 39:[2, 16, 83] Operation: 89-6=83
Exploring Operation: 6*2=12, Resulting Numbers: [16, 89, 12]
Generated Node #0,2: 39:[16, 89, 12] Operation: 6*2=12
Exploring Operation: 89-16=73, Resulting Numbers: [6, 2, 73]
Generated Node #0,3: 39:[6, 2, 73] Operation: 89-16=73
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[6, 2, 73], Operations: ['89-16=73']
Exploring Operation: 6/2=3, Resulting Numbers: [73, 3]
Generated Node #0,3,0: 39:[73, 3] Operation: 6/2=3
Exploring Operation: 73-6=67, Resulting Numbers: [2, 67]
Generated Node #0,3,1: 39:[2, 67] Operation: 73-6=67
Exploring Operation: 6*2=12, Resulting Numbers: [73, 12]
Generated Node #0,3,2: 39:[73, 12] Operation: 6*2=12
Exploring Operation: 6-2=4, Resulting Numbers: [73, 4]
Generated Node #0,3,3: 39:[73, 4] Operation: 6-2=4
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 39:[2, 67], Operations: ['89-16=73', '73-6=67']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,39 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,39 unequal: No Solution
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 39:[73, 3], Operations: ['89-16=73', '6/2=3']
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,39 unequal: No Solution
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 73*3=219, Resulting Numbers: [219]
219,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 39:[73, 12], Operations: ['89-16=73', '6*2=12']
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,39 unequal: No Solution
Exploring Operation: 73*12=876, Resulting Numbers: [876]
876,39 unequal: No Solution
Exploring Operation: 73+12=85, Resulting Numbers: [85]
85,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 39:[73, 4], Operations: ['89-16=73', '6-2=4']
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,39 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,39 unequal: No Solution
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[2, 16, 83], Operations: ['89-6=83']
Exploring Operation: 83-16=67, Resulting Numbers: [2, 67]
Generated Node #0,1,0: 39:[2, 67] Operation: 83-16=67
Exploring Operation: 83-2=81, Resulting Numbers: [16, 81]
Generated Node #0,1,1: 39:[16, 81] Operation: 83-2=81
Exploring Operation: 2+16=18, Resulting Numbers: [83, 18]
Generated Node #0,1,2: 39:[83, 18] Operation: 2+16=18
Exploring Operation: 16-2=14, Resulting Numbers: [83, 14]
Generated Node #0,1,3: 39:[83, 14] Operation: 16-2=14
Moving to Node #0,1,0
Current State: 39:[2, 67], Operations: ['89-6=83', '83-16=67']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,39 unequal: No Solution
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,39 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,39 unequal: No Solution
Moving to Node #0,1,3
Current State: 39:[83, 14], Operations: ['89-6=83', '16-2=14']
Exploring Operation: 83*14=1162, Resulting Numbers: [1162]
1162,39 unequal: No Solution
Exploring Operation: 83+14=97, Resulting Numbers: [97]
97,39 unequal: No Solution
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[16, 81], Operations: ['89-6=83', '83-2=81']
Exploring Operation: 16*81=1296, Resulting Numbers: [1296]
1296,39 unequal: No Solution
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,39 unequal: No Solution
Exploring Operation: 16+81=97, Resulting Numbers: [97]
97,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[83, 18], Operations: ['89-6=83', '2+16=18']
Exploring Operation: 83-18=65, Resulting Numbers: [65]
65,39 unequal: No Solution
Exploring Operation: 83+18=101, Resulting Numbers: [101]
101,39 unequal: No Solution
Exploring Operation: 83*18=1494, Resulting Numbers: [1494]
1494,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[16, 89, 3], Operations: ['6/2=3']
Exploring Operation: 16-3=13, Resulting Numbers: [89, 13]
Generated Node #0,0,0: 39:[89, 13] Operation: 16-3=13
Exploring Operation: 16+3=19, Resulting Numbers: [89, 19]
Generated Node #0,0,1: 39:[89, 19] Operation: 16+3=19
Exploring Operation: 89-16=73, Resulting Numbers: [3, 73]
Generated Node #0,0,2: 39:[3, 73] Operation: 89-16=73
Exploring Operation: 89-3=86, Resulting Numbers: [16, 86]
Generated Node #0,0,3: 39:[16, 86] Operation: 89-3=86
Moving to Node #0,0,2
Current State: 39:[3, 73], Operations: ['6/2=3', '89-16=73']
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,39 unequal: No Solution
Exploring Operation: 3*73=219, Resulting Numbers: [219]
219,39 unequal: No Solution
Exploring Operation: 3+73=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Moving to Node #0,0,3
Current State: 39:[16, 86], Operations: ['6/2=3', '89-3=86']
Exploring Operation: 16+86=102, Resulting Numbers: [102]
102,39 unequal: No Solution
Exploring Operation: 86-16=70, Resulting Numbers: [70]
70,39 unequal: No Solution
Exploring Operation: 16*86=1376, Resulting Numbers: [1376]
1376,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[89, 13], Operations: ['6/2=3', '16-3=13']
Exploring Operation: 89-13=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 89+13=102, Resulting Numbers: [102]
102,39 unequal: No Solution
Exploring Operation: 89*13=1157, Resulting Numbers: [1157]
1157,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[89, 19], Operations: ['6/2=3', '16+3=19']
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,39 unequal: No Solution
Exploring Operation: 89+19=108, Resulting Numbers: [108]
108,39 unequal: No Solution
Exploring Operation: 89*19=1691, Resulting Numbers: [1691]
1691,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[16, 89, 12], Operations: ['6*2=12']
Exploring Operation: 89-12=77, Resulting Numbers: [16, 77]
Generated Node #0,2,0: 39:[16, 77] Operation: 89-12=77
Exploring Operation: 16+12=28, Resulting Numbers: [89, 28]
Generated Node #0,2,1: 39:[89, 28] Operation: 16+12=28
Exploring Operation: 16-12=4, Resulting Numbers: [89, 4]
Generated Node #0,2,2: 39:[89, 4] Operation: 16-12=4
Exploring Operation: 89-16=73, Resulting Numbers: [12, 73]
Generated Node #0,2,3: 39:[12, 73] Operation: 89-16=73
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 39:[12, 73], Operations: ['6*2=12', '89-16=73']
Exploring Operation: 12*73=876, Resulting Numbers: [876]
876,39 unequal: No Solution
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,39 unequal: No Solution
Exploring Operation: 12+73=85, Resulting Numbers: [85]
85,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 39:[16, 77], Operations: ['6*2=12', '89-12=77']
Exploring Operation: 16*77=1232, Resulting Numbers: [1232]
1232,39 unequal: No Solution
Exploring Operation: 77-16=61, Resulting Numbers: [61]
61,39 unequal: No Solution
Exploring Operation: 16+77=93, Resulting Numbers: [93]
93,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 39:[89, 4], Operations: ['6*2=12', '16-12=4']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,39 unequal: No Solution
Exploring Operation: 89*4=356, Resulting Numbers: [356]
356,39 unequal: No Solution
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 39:[89, 28], Operations: ['6*2=12', '16+12=28']
Exploring Operation: 89*28=2492, Resulting Numbers: [2492]
2492,39 unequal: No Solution
Exploring Operation: 89-28=61, Resulting Numbers: [61]
61,39 unequal: No Solution
Exploring Operation: 89+28=117, Resulting Numbers: [117]
117,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
64,
2,
78,
70
] | 95 | [
"64+70=134",
"78/2=39",
"134-39=95"
] | Current State: 95:[64, 2, 78, 70], Operations: []
Exploring Operation: 64+70=134, Resulting Numbers: [2, 78, 134]
Generated Node #2: [2, 78, 134] from Operation: 64+70=134
Current State: 95:[2, 78, 134], Operations: ['64+70=134']
Exploring Operation: 78/2=39, Resulting Numbers: [134, 39]
Generated Node #3: [134, 39] from Operation: 78/2=39
Current State: 95:[134, 39], Operations: ['64+70=134', '78/2=39']
Exploring Operation: 134-39=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[64, 2, 78, 70], Operations: []
Exploring Operation: 70-64=6, Resulting Numbers: [2, 78, 6]
Generated Node #0,0: 95:[2, 78, 6] Operation: 70-64=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[2, 78, 6], Operations: ['70-64=6']
Exploring Operation: 78/6=13, Resulting Numbers: [2, 13]
Generated Node #0,0,0: 95:[2, 13] Operation: 78/6=13
Moving to Node #0,0,0
Current State: 95:[2, 13], Operations: ['70-64=6', '78/6=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,95 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 |
[
62,
28,
65,
5
] | 99 | [
"65-62=3",
"28+5=33",
"3*33=99"
] | Current State: 99:[62, 28, 65, 5], Operations: []
Exploring Operation: 65-62=3, Resulting Numbers: [28, 5, 3]
Generated Node #2: [28, 5, 3] from Operation: 65-62=3
Current State: 99:[28, 5, 3], Operations: ['65-62=3']
Exploring Operation: 28+5=33, Resulting Numbers: [3, 33]
Generated Node #3: [3, 33] from Operation: 28+5=33
Current State: 99:[3, 33], Operations: ['65-62=3', '28+5=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[62, 28, 65, 5], Operations: []
Exploring Operation: 62+65=127, Resulting Numbers: [28, 5, 127]
Generated Node #0,0: 99:[28, 5, 127] Operation: 62+65=127
Exploring Operation: 65-28=37, Resulting Numbers: [62, 5, 37]
Generated Node #0,1: 99:[62, 5, 37] Operation: 65-28=37
Exploring Operation: 62-28=34, Resulting Numbers: [65, 5, 34]
Generated Node #0,2: 99:[65, 5, 34] Operation: 62-28=34
Exploring Operation: 65-62=3, Resulting Numbers: [28, 5, 3]
Generated Node #0,3: 99:[28, 5, 3] Operation: 65-62=3
Moving to Node #0,3
Current State: 99:[28, 5, 3], Operations: ['65-62=3']
Exploring Operation: 28+3=31, Resulting Numbers: [5, 31]
Generated Node #0,3,0: 99:[5, 31] Operation: 28+3=31
Exploring Operation: 5+3=8, Resulting Numbers: [28, 8]
Generated Node #0,3,1: 99:[28, 8] Operation: 5+3=8
Exploring Operation: 5-3=2, Resulting Numbers: [28, 2]
Generated Node #0,3,2: 99:[28, 2] Operation: 5-3=2
Exploring Operation: 28+5=33, Resulting Numbers: [3, 33]
Generated Node #0,3,3: 99:[3, 33] Operation: 28+5=33
Moving to Node #0,1
Current State: 99:[62, 5, 37], Operations: ['65-28=37']
Exploring Operation: 62-37=25, Resulting Numbers: [5, 25]
Generated Node #0,1,0: 99:[5, 25] Operation: 62-37=25
Exploring Operation: 37-5=32, Resulting Numbers: [62, 32]
Generated Node #0,1,1: 99:[62, 32] Operation: 37-5=32
Exploring Operation: 62-5=57, Resulting Numbers: [37, 57]
Generated Node #0,1,2: 99:[37, 57] Operation: 62-5=57
Exploring Operation: 62+37=99, Resulting Numbers: [5, 99]
Generated Node #0,1,3: 99:[5, 99] Operation: 62+37=99
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 99:[5, 99], Operations: ['65-28=37', '62+37=99']
Exploring Operation: 5*99=495, Resulting Numbers: [495]
495,99 unequal: No Solution
Exploring Operation: 5+99=104, Resulting Numbers: [104]
104,99 unequal: No Solution
Exploring Operation: 99-5=94, Resulting Numbers: [94]
94,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[5, 25], Operations: ['65-28=37', '62-37=25']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,99 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Exploring Operation: 5*25=125, Resulting Numbers: [125]
125,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 99:[37, 57], Operations: ['65-28=37', '62-5=57']
Exploring Operation: 37*57=2109, Resulting Numbers: [2109]
2109,99 unequal: No Solution
Exploring Operation: 57-37=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Exploring Operation: 37+57=94, Resulting Numbers: [94]
94,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[62, 32], Operations: ['65-28=37', '37-5=32']
Exploring Operation: 62+32=94, Resulting Numbers: [94]
94,99 unequal: No Solution
Exploring Operation: 62*32=1984, Resulting Numbers: [1984]
1984,99 unequal: No Solution
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,99 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: 99:[28, 5, 127], Operations: ['62+65=127']
Exploring Operation: 28+5=33, Resulting Numbers: [127, 33]
Generated Node #0,0,0: 99:[127, 33] Operation: 28+5=33
Exploring Operation: 127-5=122, Resulting Numbers: [28, 122]
Generated Node #0,0,1: 99:[28, 122] Operation: 127-5=122
Exploring Operation: 28-5=23, Resulting Numbers: [127, 23]
Generated Node #0,0,2: 99:[127, 23] Operation: 28-5=23
Exploring Operation: 127-28=99, Resulting Numbers: [5, 99]
Generated Node #0,0,3: 99:[5, 99] Operation: 127-28=99
Moving to Node #0,2
Current State: 99:[65, 5, 34], Operations: ['62-28=34']
Exploring Operation: 65/5=13, Resulting Numbers: [34, 13]
Generated Node #0,2,0: 99:[34, 13] Operation: 65/5=13
Exploring Operation: 65-34=31, Resulting Numbers: [5, 31]
Generated Node #0,2,1: 99:[5, 31] Operation: 65-34=31
Exploring Operation: 65-5=60, Resulting Numbers: [34, 60]
Generated Node #0,2,2: 99:[34, 60] Operation: 65-5=60
Exploring Operation: 65+34=99, Resulting Numbers: [5, 99]
Generated Node #0,2,3: 99:[5, 99] Operation: 65+34=99
Moving to Node #0,3,3
Current State: 99:[3, 33], Operations: ['65-62=3', '28+5=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[62, 28, 65, 5], Operations: []
Exploring Operation: 65-62=3, Resulting Numbers: [28, 5, 3]
Generated Node #0,3: 99:[28, 5, 3] Operation: 65-62=3
Moving to Node #0,3
Current State: 99:[28, 5, 3], Operations: ['65-62=3']
Exploring Operation: 28+5=33, Resulting Numbers: [3, 33]
Generated Node #0,3,3: 99:[3, 33] Operation: 28+5=33
Moving to Node #0,3,3
Current State: 99:[3, 33], Operations: ['65-62=3', '28+5=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 0.967014 | hs_4 | sum_heuristic |
[
73,
60,
3,
98
] | 82 | [
"73-60=13",
"98-3=95",
"95-13=82"
] | Current State: 82:[73, 60, 3, 98], Operations: []
Exploring Operation: 73-60=13, Resulting Numbers: [3, 98, 13]
Generated Node #2: [3, 98, 13] from Operation: 73-60=13
Current State: 82:[3, 98, 13], Operations: ['73-60=13']
Exploring Operation: 98-3=95, Resulting Numbers: [13, 95]
Generated Node #3: [13, 95] from Operation: 98-3=95
Current State: 82:[13, 95], Operations: ['73-60=13', '98-3=95']
Exploring Operation: 95-13=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[73, 60, 3, 98], Operations: []
Exploring Operation: 98-60=38, Resulting Numbers: [73, 3, 38]
Generated Node #0,0: 82:[73, 3, 38] Operation: 98-60=38
Exploring Operation: 73-60=13, Resulting Numbers: [3, 98, 13]
Generated Node #0,1: 82:[3, 98, 13] Operation: 73-60=13
Exploring Operation: 73+3=76, Resulting Numbers: [60, 98, 76]
Generated Node #0,2: 82:[60, 98, 76] Operation: 73+3=76
Exploring Operation: 60-3=57, Resulting Numbers: [73, 98, 57]
Generated Node #0,3: 82:[73, 98, 57] Operation: 60-3=57
Exploring Operation: 98-73=25, Resulting Numbers: [60, 3, 25]
Generated Node #0,4: 82:[60, 3, 25] Operation: 98-73=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[73, 3, 38], Operations: ['98-60=38']
Exploring Operation: 73-3=70, Resulting Numbers: [38, 70]
Generated Node #0,0,0: 82:[38, 70] Operation: 73-3=70
Exploring Operation: 3+38=41, Resulting Numbers: [73, 41]
Generated Node #0,0,1: 82:[73, 41] Operation: 3+38=41
Exploring Operation: 73-38=35, Resulting Numbers: [3, 35]
Generated Node #0,0,2: 82:[3, 35] Operation: 73-38=35
Exploring Operation: 38-3=35, Resulting Numbers: [73, 35]
Generated Node #0,0,3: 82:[73, 35] Operation: 38-3=35
Exploring Operation: 73+3=76, Resulting Numbers: [38, 76]
Generated Node #0,0,4: 82:[38, 76] Operation: 73+3=76
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[3, 35], Operations: ['98-60=38', '73-38=35']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,82 unequal: No Solution
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,82 unequal: No Solution
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[73, 41], Operations: ['98-60=38', '3+38=41']
Exploring Operation: 73+41=114, Resulting Numbers: [114]
114,82 unequal: No Solution
Exploring Operation: 73-41=32, Resulting Numbers: [32]
32,82 unequal: No Solution
Exploring Operation: 73*41=2993, Resulting Numbers: [2993]
2993,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 82:[38, 76], Operations: ['98-60=38', '73+3=76']
Exploring Operation: 76-38=38, Resulting Numbers: [38]
38,82 unequal: No Solution
Exploring Operation: 76/38=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 38+76=114, Resulting Numbers: [114]
114,82 unequal: No Solution
Exploring Operation: 38*76=2888, Resulting Numbers: [2888]
2888,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[38, 70], Operations: ['98-60=38', '73-3=70']
Exploring Operation: 38+70=108, Resulting Numbers: [108]
108,82 unequal: No Solution
Exploring Operation: 38*70=2660, Resulting Numbers: [2660]
2660,82 unequal: No Solution
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 82:[73, 35], Operations: ['98-60=38', '38-3=35']
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,82 unequal: No Solution
Exploring Operation: 73*35=2555, Resulting Numbers: [2555]
2555,82 unequal: No Solution
Exploring Operation: 73+35=108, Resulting Numbers: [108]
108,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[3, 98, 13], Operations: ['73-60=13']
Exploring Operation: 13-3=10, Resulting Numbers: [98, 10]
Generated Node #0,1,0: 82:[98, 10] Operation: 13-3=10
Exploring Operation: 3+98=101, Resulting Numbers: [13, 101]
Generated Node #0,1,1: 82:[13, 101] Operation: 3+98=101
Exploring Operation: 3*13=39, Resulting Numbers: [98, 39]
Generated Node #0,1,2: 82:[98, 39] Operation: 3*13=39
Exploring Operation: 98-3=95, Resulting Numbers: [13, 95]
Generated Node #0,1,3: 82:[13, 95] Operation: 98-3=95
Exploring Operation: 98-13=85, Resulting Numbers: [3, 85]
Generated Node #0,1,4: 82:[3, 85] Operation: 98-13=85
Moving to Node #0,1,4
Current State: 82:[3, 85], Operations: ['73-60=13', '98-13=85']
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[73, 60, 3, 98], Operations: []
Exploring Operation: 73-60=13, Resulting Numbers: [3, 98, 13]
Generated Node #0,1: 82:[3, 98, 13] Operation: 73-60=13
Moving to Node #0,1
Current State: 82:[3, 98, 13], Operations: ['73-60=13']
Exploring Operation: 98-13=85, Resulting Numbers: [3, 85]
Generated Node #0,1,4: 82:[3, 85] Operation: 98-13=85
Moving to Node #0,1,4
Current State: 82:[3, 85], Operations: ['73-60=13', '98-13=85']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
79,
24,
36,
47
] | 48 | [
"79-47=32",
"36*32=1152",
"1152/24=48"
] | Current State: 48:[79, 24, 36, 47], Operations: []
Exploring Operation: 79-47=32, Resulting Numbers: [24, 36, 32]
Generated Node #2: [24, 36, 32] from Operation: 79-47=32
Current State: 48:[24, 36, 32], Operations: ['79-47=32']
Exploring Operation: 36*32=1152, Resulting Numbers: [24, 1152]
Generated Node #3: [24, 1152] from Operation: 36*32=1152
Current State: 48:[24, 1152], Operations: ['79-47=32', '36*32=1152']
Exploring Operation: 1152/24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[79, 24, 36, 47], Operations: []
Exploring Operation: 79-36=43, Resulting Numbers: [24, 47, 43]
Generated Node #0,0: 48:[24, 47, 43] Operation: 79-36=43
Exploring Operation: 79-24=55, Resulting Numbers: [36, 47, 55]
Generated Node #0,1: 48:[36, 47, 55] Operation: 79-24=55
Exploring Operation: 79-47=32, Resulting Numbers: [24, 36, 32]
Generated Node #0,2: 48:[24, 36, 32] Operation: 79-47=32
Moving to Node #0,0
Current State: 48:[24, 47, 43], Operations: ['79-36=43']
Exploring Operation: 47-24=23, Resulting Numbers: [43, 23]
Generated Node #0,0,0: 48:[43, 23] Operation: 47-24=23
Exploring Operation: 43-24=19, Resulting Numbers: [47, 19]
Generated Node #0,0,1: 48:[47, 19] Operation: 43-24=19
Exploring Operation: 47-43=4, Resulting Numbers: [24, 4]
Generated Node #0,0,2: 48:[24, 4] Operation: 47-43=4
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 48:[24, 4], Operations: ['79-36=43', '47-43=4']
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,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,1
Current State: 48:[47, 19], Operations: ['79-36=43', '43-24=19']
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 47+19=66, Resulting Numbers: [66]
66,48 unequal: No Solution
Exploring Operation: 47*19=893, Resulting Numbers: [893]
893,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,0
Current State: 48:[43, 23], Operations: ['79-36=43', '47-24=23']
Exploring Operation: 43+23=66, Resulting Numbers: [66]
66,48 unequal: No Solution
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 43*23=989, Resulting Numbers: [989]
989,48 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: 48:[36, 47, 55], Operations: ['79-24=55']
Exploring Operation: 47-36=11, Resulting Numbers: [55, 11]
Generated Node #0,1,0: 48:[55, 11] Operation: 47-36=11
Exploring Operation: 55-36=19, Resulting Numbers: [47, 19]
Generated Node #0,1,1: 48:[47, 19] Operation: 55-36=19
Exploring Operation: 55-47=8, Resulting Numbers: [36, 8]
Generated Node #0,1,2: 48:[36, 8] Operation: 55-47=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[47, 19], Operations: ['79-24=55', '55-36=19']
Exploring Operation: 47+19=66, Resulting Numbers: [66]
66,48 unequal: No Solution
Exploring Operation: 47*19=893, Resulting Numbers: [893]
893,48 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[55, 11], Operations: ['79-24=55', '47-36=11']
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,48 unequal: No Solution
Exploring Operation: 55+11=66, Resulting Numbers: [66]
66,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 48:[36, 8], Operations: ['79-24=55', '55-47=8']
Exploring Operation: 36*8=288, Resulting Numbers: [288]
288,48 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 36+8=44, Resulting Numbers: [44]
44,48 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: 48:[24, 36, 32], Operations: ['79-47=32']
Exploring Operation: 32-24=8, Resulting Numbers: [36, 8]
Generated Node #0,2,0: 48:[36, 8] Operation: 32-24=8
Exploring Operation: 36-24=12, Resulting Numbers: [32, 12]
Generated Node #0,2,1: 48:[32, 12] Operation: 36-24=12
Exploring Operation: 36-32=4, Resulting Numbers: [24, 4]
Generated Node #0,2,2: 48:[24, 4] Operation: 36-32=4
Moving to Node #0,2,2
Current State: 48:[24, 4], Operations: ['79-47=32', '36-32=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[32, 12], Operations: ['79-47=32', '36-24=12']
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,48 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[36, 8], Operations: ['79-47=32', '32-24=8']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 36+8=44, Resulting Numbers: [44]
44,48 unequal: No Solution
Exploring Operation: 36*8=288, Resulting Numbers: [288]
288,48 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
11,
63,
8,
19
] | 79 | [
"63-11=52",
"8+19=27",
"52+27=79"
] | Current State: 79:[11, 63, 8, 19], Operations: []
Exploring Operation: 63-11=52, Resulting Numbers: [8, 19, 52]
Generated Node #2: [8, 19, 52] from Operation: 63-11=52
Current State: 79:[8, 19, 52], Operations: ['63-11=52']
Exploring Operation: 8+19=27, Resulting Numbers: [52, 27]
Generated Node #3: [52, 27] from Operation: 8+19=27
Current State: 79:[52, 27], Operations: ['63-11=52', '8+19=27']
Exploring Operation: 52+27=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[11, 63, 8, 19], Operations: []
Exploring Operation: 11*8=88, Resulting Numbers: [63, 19, 88]
Generated Node #0,0: 79:[63, 19, 88] Operation: 11*8=88
Moving to Node #0,0
Current State: 79:[63, 19, 88], Operations: ['11*8=88']
Exploring Operation: 63+19=82, Resulting Numbers: [88, 82]
Generated Node #0,0,0: 79:[88, 82] Operation: 63+19=82
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[88, 82], Operations: ['11*8=88', '63+19=82']
Exploring Operation: 88-82=6, Resulting Numbers: [6]
6,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
81,
77,
14,
10
] | 46 | [
"81-77=4",
"14*4=56",
"56-10=46"
] | Current State: 46:[81, 77, 14, 10], Operations: []
Exploring Operation: 81-77=4, Resulting Numbers: [14, 10, 4]
Generated Node #2: [14, 10, 4] from Operation: 81-77=4
Current State: 46:[14, 10, 4], Operations: ['81-77=4']
Exploring Operation: 14*4=56, Resulting Numbers: [10, 56]
Generated Node #3: [10, 56] from Operation: 14*4=56
Current State: 46:[10, 56], Operations: ['81-77=4', '14*4=56']
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[81, 77, 14, 10], Operations: []
Exploring Operation: 77-14=63, Resulting Numbers: [81, 10, 63]
Generated Node #0,0: 46:[81, 10, 63] Operation: 77-14=63
Exploring Operation: 81-14=67, Resulting Numbers: [77, 10, 67]
Generated Node #0,1: 46:[77, 10, 67] Operation: 81-14=67
Exploring Operation: 81-77=4, Resulting Numbers: [14, 10, 4]
Generated Node #0,2: 46:[14, 10, 4] Operation: 81-77=4
Exploring Operation: 77-10=67, Resulting Numbers: [81, 14, 67]
Generated Node #0,3: 46:[81, 14, 67] Operation: 77-10=67
Exploring Operation: 81-10=71, Resulting Numbers: [77, 14, 71]
Generated Node #0,4: 46:[77, 14, 71] Operation: 81-10=71
Moving to Node #0,2
Current State: 46:[14, 10, 4], Operations: ['81-77=4']
Exploring Operation: 14+10=24, Resulting Numbers: [4, 24]
Generated Node #0,2,0: 46:[4, 24] Operation: 14+10=24
Exploring Operation: 14-10=4, Resulting Numbers: [4, 4]
Generated Node #0,2,1: 46:[4, 4] Operation: 14-10=4
Exploring Operation: 10-4=6, Resulting Numbers: [14, 6]
Generated Node #0,2,2: 46:[14, 6] Operation: 10-4=6
Exploring Operation: 14+4=18, Resulting Numbers: [10, 18]
Generated Node #0,2,3: 46:[10, 18] Operation: 14+4=18
Exploring Operation: 10*4=40, Resulting Numbers: [14, 40]
Generated Node #0,2,4: 46:[14, 40] Operation: 10*4=40
Moving to Node #0,1
Current State: 46:[77, 10, 67], Operations: ['81-14=67']
Exploring Operation: 77-10=67, Resulting Numbers: [67, 67]
Generated Node #0,1,0: 46:[67, 67] Operation: 77-10=67
Exploring Operation: 77+10=87, Resulting Numbers: [67, 87]
Generated Node #0,1,1: 46:[67, 87] Operation: 77+10=87
Exploring Operation: 67-10=57, Resulting Numbers: [77, 57]
Generated Node #0,1,2: 46:[77, 57] Operation: 67-10=57
Exploring Operation: 10+67=77, Resulting Numbers: [77, 77]
Generated Node #0,1,3: 46:[77, 77] Operation: 10+67=77
Exploring Operation: 77-67=10, Resulting Numbers: [10, 10]
Generated Node #0,1,4: 46:[10, 10] Operation: 77-67=10
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 46:[10, 10], Operations: ['81-14=67', '77-67=10']
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,46 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,46 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[67, 67], Operations: ['81-14=67', '77-10=67']
Exploring Operation: 67-67=0, Resulting Numbers: [0]
0,46 unequal: No Solution
Exploring Operation: 67/67=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 67+67=134, Resulting Numbers: [134]
134,46 unequal: No Solution
Exploring Operation: 67*67=4489, Resulting Numbers: [4489]
4489,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[77, 57], Operations: ['81-14=67', '67-10=57']
Exploring Operation: 77*57=4389, Resulting Numbers: [4389]
4389,46 unequal: No Solution
Exploring Operation: 77+57=134, Resulting Numbers: [134]
134,46 unequal: No Solution
Exploring Operation: 77-57=20, Resulting Numbers: [20]
20,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[67, 87], Operations: ['81-14=67', '77+10=87']
Exploring Operation: 67+87=154, Resulting Numbers: [154]
154,46 unequal: No Solution
Exploring Operation: 67*87=5829, Resulting Numbers: [5829]
5829,46 unequal: No Solution
Exploring Operation: 87-67=20, Resulting Numbers: [20]
20,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 46:[77, 77], Operations: ['81-14=67', '10+67=77']
Exploring Operation: 77+77=154, Resulting Numbers: [154]
154,46 unequal: No Solution
Exploring Operation: 77/77=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 77*77=5929, Resulting Numbers: [5929]
5929,46 unequal: No Solution
Exploring Operation: 77-77=0, Resulting Numbers: [0]
0,46 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: 46:[81, 10, 63], Operations: ['77-14=63']
Exploring Operation: 81-10=71, Resulting Numbers: [63, 71]
Generated Node #0,0,0: 46:[63, 71] Operation: 81-10=71
Exploring Operation: 10+63=73, Resulting Numbers: [81, 73]
Generated Node #0,0,1: 46:[81, 73] Operation: 10+63=73
Exploring Operation: 63-10=53, Resulting Numbers: [81, 53]
Generated Node #0,0,2: 46:[81, 53] Operation: 63-10=53
Exploring Operation: 81-63=18, Resulting Numbers: [10, 18]
Generated Node #0,0,3: 46:[10, 18] Operation: 81-63=18
Exploring Operation: 81+10=91, Resulting Numbers: [63, 91]
Generated Node #0,0,4: 46:[63, 91] Operation: 81+10=91
Moving to Node #0,3
Current State: 46:[81, 14, 67], Operations: ['77-10=67']
Exploring Operation: 81+14=95, Resulting Numbers: [67, 95]
Generated Node #0,3,0: 46:[67, 95] Operation: 81+14=95
Exploring Operation: 67-14=53, Resulting Numbers: [81, 53]
Generated Node #0,3,1: 46:[81, 53] Operation: 67-14=53
Exploring Operation: 81-67=14, Resulting Numbers: [14, 14]
Generated Node #0,3,2: 46:[14, 14] Operation: 81-67=14
Exploring Operation: 81-14=67, Resulting Numbers: [67, 67]
Generated Node #0,3,3: 46:[67, 67] Operation: 81-14=67
Exploring Operation: 14+67=81, Resulting Numbers: [81, 81]
Generated Node #0,3,4: 46:[81, 81] Operation: 14+67=81
Moving to Node #0,4
Current State: 46:[77, 14, 71], Operations: ['81-10=71']
Exploring Operation: 71-14=57, Resulting Numbers: [77, 57]
Generated Node #0,4,0: 46:[77, 57] Operation: 71-14=57
Exploring Operation: 14+71=85, Resulting Numbers: [77, 85]
Generated Node #0,4,1: 46:[77, 85] Operation: 14+71=85
Exploring Operation: 77-71=6, Resulting Numbers: [14, 6]
Generated Node #0,4,2: 46:[14, 6] Operation: 77-71=6
Exploring Operation: 77-14=63, Resulting Numbers: [71, 63]
Generated Node #0,4,3: 46:[71, 63] Operation: 77-14=63
Exploring Operation: 77+14=91, Resulting Numbers: [71, 91]
Generated Node #0,4,4: 46:[71, 91] Operation: 77+14=91
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 46:[14, 6], Operations: ['81-10=71', '77-71=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 46:[77, 57], Operations: ['81-10=71', '71-14=57']
Exploring Operation: 77-57=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 77*57=4389, Resulting Numbers: [4389]
4389,46 unequal: No Solution
Exploring Operation: 77+57=134, Resulting Numbers: [134]
134,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 46:[71, 63], Operations: ['81-10=71', '77-14=63']
Exploring Operation: 71-63=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 71*63=4473, Resulting Numbers: [4473]
4473,46 unequal: No Solution
Exploring Operation: 71+63=134, Resulting Numbers: [134]
134,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 46:[77, 85], Operations: ['81-10=71', '14+71=85']
Exploring Operation: 77+85=162, Resulting Numbers: [162]
162,46 unequal: No Solution
Exploring Operation: 77*85=6545, Resulting Numbers: [6545]
6545,46 unequal: No Solution
Exploring Operation: 85-77=8, Resulting Numbers: [8]
8,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 46:[71, 91], Operations: ['81-10=71', '77+14=91']
Exploring Operation: 91-71=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 71+91=162, Resulting Numbers: [162]
162,46 unequal: No Solution
Exploring Operation: 71*91=6461, Resulting Numbers: [6461]
6461,46 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: 46:[4, 24], Operations: ['81-77=4', '14+10=24']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[4, 4], Operations: ['81-77=4', '14-10=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,46 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[14, 6], Operations: ['81-77=4', '10-4=6']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Moving to Node #0,0,3
Current State: 46:[10, 18], Operations: ['77-14=63', '81-63=18']
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,46 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Moving to Node #0,2,3
Current State: 46:[10, 18], Operations: ['81-77=4', '14+4=18']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,46 unequal: No Solution
Moving to Node #0,2,4
Current State: 46:[14, 40], Operations: ['81-77=4', '10*4=40']
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,46 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,46 unequal: No Solution
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,46 unequal: No Solution
Moving to Node #0,3,2
Current State: 46:[14, 14], Operations: ['77-10=67', '81-67=14']
Exploring Operation: 14-14=0, Resulting Numbers: [0]
0,46 unequal: No Solution
Exploring Operation: 14/14=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 14+14=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 14*14=196, Resulting Numbers: [196]
196,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[63, 71], Operations: ['77-14=63', '81-10=71']
Exploring Operation: 63+71=134, Resulting Numbers: [134]
134,46 unequal: No Solution
Exploring Operation: 63*71=4473, Resulting Numbers: [4473]
4473,46 unequal: No Solution
Exploring Operation: 71-63=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Moving to Node #0,3,3
Current State: 46:[67, 67], Operations: ['77-10=67', '81-14=67']
Exploring Operation: 67*67=4489, Resulting Numbers: [4489]
4489,46 unequal: No Solution
Exploring Operation: 67/67=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 67-67=0, Resulting Numbers: [0]
0,46 unequal: No Solution
Exploring Operation: 67+67=134, Resulting Numbers: [134]
134,46 unequal: No Solution
Moving to Node #0,3,1
Current State: 46:[81, 53], Operations: ['77-10=67', '67-14=53']
Exploring Operation: 81*53=4293, Resulting Numbers: [4293]
4293,46 unequal: No Solution
Exploring Operation: 81+53=134, Resulting Numbers: [134]
134,46 unequal: No Solution
Exploring Operation: 81-53=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[81, 53], Operations: ['77-14=63', '63-10=53']
Exploring Operation: 81*53=4293, Resulting Numbers: [4293]
4293,46 unequal: No Solution
Exploring Operation: 81-53=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 81+53=134, Resulting Numbers: [134]
134,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[81, 73], Operations: ['77-14=63', '10+63=73']
Exploring Operation: 81+73=154, Resulting Numbers: [154]
154,46 unequal: No Solution
Exploring Operation: 81-73=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 81*73=5913, Resulting Numbers: [5913]
5913,46 unequal: No Solution
Moving to Node #0,0,4
Current State: 46:[63, 91], Operations: ['77-14=63', '81+10=91']
Exploring Operation: 91-63=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 63*91=5733, Resulting Numbers: [5733]
5733,46 unequal: No Solution
Exploring Operation: 63+91=154, Resulting Numbers: [154]
154,46 unequal: No Solution
Moving to Node #0,3,0
Current State: 46:[67, 95], Operations: ['77-10=67', '81+14=95']
Exploring Operation: 95-67=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 67+95=162, Resulting Numbers: [162]
162,46 unequal: No Solution
Exploring Operation: 67*95=6365, Resulting Numbers: [6365]
6365,46 unequal: No Solution
Moving to Node #0,3,4
Current State: 46:[81, 81], Operations: ['77-10=67', '14+67=81']
Exploring Operation: 81+81=162, Resulting Numbers: [162]
162,46 unequal: No Solution
Exploring Operation: 81-81=0, Resulting Numbers: [0]
0,46 unequal: No Solution
Exploring Operation: 81/81=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 81*81=6561, Resulting Numbers: [6561]
6561,46 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
43,
34,
80,
89
] | 86 | [
"43+34=77",
"89-80=9",
"77+9=86"
] | Current State: 86:[43, 34, 80, 89], Operations: []
Exploring Operation: 43+34=77, Resulting Numbers: [80, 89, 77]
Generated Node #2: [80, 89, 77] from Operation: 43+34=77
Current State: 86:[80, 89, 77], Operations: ['43+34=77']
Exploring Operation: 89-80=9, Resulting Numbers: [77, 9]
Generated Node #3: [77, 9] from Operation: 89-80=9
Current State: 86:[77, 9], Operations: ['43+34=77', '89-80=9']
Exploring Operation: 77+9=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[43, 34, 80, 89], Operations: []
Exploring Operation: 80-34=46, Resulting Numbers: [43, 89, 46]
Generated Node #0,0: 86:[43, 89, 46] Operation: 80-34=46
Exploring Operation: 43-34=9, Resulting Numbers: [80, 89, 9]
Generated Node #0,1: 86:[80, 89, 9] Operation: 43-34=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[43, 89, 46], Operations: ['80-34=46']
Exploring Operation: 46-43=3, Resulting Numbers: [89, 3]
Generated Node #0,0,0: 86:[89, 3] Operation: 46-43=3
Exploring Operation: 89-46=43, Resulting Numbers: [43, 43]
Generated Node #0,0,1: 86:[43, 43] Operation: 89-46=43
Moving to Node #0,0,1
Current State: 86:[43, 43], Operations: ['80-34=46', '89-46=43']
Exploring Operation: 43/43=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[43, 34, 80, 89], Operations: []
Exploring Operation: 80-34=46, Resulting Numbers: [43, 89, 46]
Generated Node #0,0: 86:[43, 89, 46] Operation: 80-34=46
Moving to Node #0,0
Current State: 86:[43, 89, 46], Operations: ['80-34=46']
Exploring Operation: 89-46=43, Resulting Numbers: [43, 43]
Generated Node #0,0,1: 86:[43, 43] Operation: 89-46=43
Moving to Node #0,0,1
Current State: 86:[43, 43], Operations: ['80-34=46', '89-46=43']
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
27,
80,
74,
2
] | 31 | [
"27+80=107",
"74+2=76",
"107-76=31"
] | Current State: 31:[27, 80, 74, 2], Operations: []
Exploring Operation: 27+80=107, Resulting Numbers: [74, 2, 107]
Generated Node #2: [74, 2, 107] from Operation: 27+80=107
Current State: 31:[74, 2, 107], Operations: ['27+80=107']
Exploring Operation: 74+2=76, Resulting Numbers: [107, 76]
Generated Node #3: [107, 76] from Operation: 74+2=76
Current State: 31:[107, 76], Operations: ['27+80=107', '74+2=76']
Exploring Operation: 107-76=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[27, 80, 74, 2], Operations: []
Exploring Operation: 80/2=40, Resulting Numbers: [27, 74, 40]
Generated Node #0,0: 31:[27, 74, 40] Operation: 80/2=40
Moving to Node #0,0
Current State: 31:[27, 74, 40], Operations: ['80/2=40']
Exploring Operation: 74-40=34, Resulting Numbers: [27, 34]
Generated Node #0,0,0: 31:[27, 34] Operation: 74-40=34
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[27, 34], Operations: ['80/2=40', '74-40=34']
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
37,
47,
88,
99
] | 21 | [
"47-37=10",
"99-88=11",
"10+11=21"
] | Current State: 21:[37, 47, 88, 99], Operations: []
Exploring Operation: 47-37=10, Resulting Numbers: [88, 99, 10]
Generated Node #2: [88, 99, 10] from Operation: 47-37=10
Current State: 21:[88, 99, 10], Operations: ['47-37=10']
Exploring Operation: 99-88=11, Resulting Numbers: [10, 11]
Generated Node #3: [10, 11] from Operation: 99-88=11
Current State: 21:[10, 11], Operations: ['47-37=10', '99-88=11']
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[37, 47, 88, 99], Operations: []
Exploring Operation: 99-88=11, Resulting Numbers: [37, 47, 11]
Generated Node #0,0: 21:[37, 47, 11] Operation: 99-88=11
Exploring Operation: 88-47=41, Resulting Numbers: [37, 99, 41]
Generated Node #0,1: 21:[37, 99, 41] Operation: 88-47=41
Moving to Node #0,0
Current State: 21:[37, 47, 11], Operations: ['99-88=11']
Exploring Operation: 47-37=10, Resulting Numbers: [11, 10]
Generated Node #0,0,0: 21:[11, 10] Operation: 47-37=10
Exploring Operation: 37-11=26, Resulting Numbers: [47, 26]
Generated Node #0,0,1: 21:[47, 26] Operation: 37-11=26
Moving to Node #0,1
Current State: 21:[37, 99, 41], Operations: ['88-47=41']
Exploring Operation: 99-37=62, Resulting Numbers: [41, 62]
Generated Node #0,1,0: 21:[41, 62] Operation: 99-37=62
Exploring Operation: 99-41=58, Resulting Numbers: [37, 58]
Generated Node #0,1,1: 21:[37, 58] Operation: 99-41=58
Moving to Node #0,0,0
Current State: 21:[11, 10], Operations: ['99-88=11', '47-37=10']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[37, 47, 88, 99], Operations: []
Exploring Operation: 99-88=11, Resulting Numbers: [37, 47, 11]
Generated Node #0,0: 21:[37, 47, 11] Operation: 99-88=11
Moving to Node #0,0
Current State: 21:[37, 47, 11], Operations: ['99-88=11']
Exploring Operation: 47-37=10, Resulting Numbers: [11, 10]
Generated Node #0,0,0: 21:[11, 10] Operation: 47-37=10
Moving to Node #0,0,0
Current State: 21:[11, 10], Operations: ['99-88=11', '47-37=10']
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
78,
31,
83,
46
] | 20 | [
"78+31=109",
"83+46=129",
"129-109=20"
] | Current State: 20:[78, 31, 83, 46], Operations: []
Exploring Operation: 78+31=109, Resulting Numbers: [83, 46, 109]
Generated Node #2: [83, 46, 109] from Operation: 78+31=109
Current State: 20:[83, 46, 109], Operations: ['78+31=109']
Exploring Operation: 83+46=129, Resulting Numbers: [109, 129]
Generated Node #3: [109, 129] from Operation: 83+46=129
Current State: 20:[109, 129], Operations: ['78+31=109', '83+46=129']
Exploring Operation: 129-109=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[78, 31, 83, 46], Operations: []
Exploring Operation: 83-78=5, Resulting Numbers: [31, 46, 5]
Generated Node #0,0: 20:[31, 46, 5] Operation: 83-78=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[31, 46, 5], Operations: ['83-78=5']
Exploring Operation: 46-31=15, Resulting Numbers: [5, 15]
Generated Node #0,0,0: 20:[5, 15] Operation: 46-31=15
Moving to Node #0,0,0
Current State: 20:[5, 15], Operations: ['83-78=5', '46-31=15']
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[78, 31, 83, 46], Operations: []
Exploring Operation: 83-78=5, Resulting Numbers: [31, 46, 5]
Generated Node #0,0: 20:[31, 46, 5] Operation: 83-78=5
Moving to Node #0,0
Current State: 20:[31, 46, 5], Operations: ['83-78=5']
Exploring Operation: 46-31=15, Resulting Numbers: [5, 15]
Generated Node #0,0,0: 20:[5, 15] Operation: 46-31=15
Moving to Node #0,0,0
Current State: 20:[5, 15], Operations: ['83-78=5', '46-31=15']
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
43,
28,
75,
75
] | 28 | [
"75-75=0",
"43*0=0",
"28+0=28"
] | Current State: 28:[43, 28, 75, 75], Operations: []
Exploring Operation: 75-75=0, Resulting Numbers: [43, 28, 0]
Generated Node #2: [43, 28, 0] from Operation: 75-75=0
Current State: 28:[43, 28, 0], Operations: ['75-75=0']
Exploring Operation: 43*0=0, Resulting Numbers: [28, 0]
Generated Node #3: [28, 0] from Operation: 43*0=0
Current State: 28:[28, 0], Operations: ['75-75=0', '43*0=0']
Exploring Operation: 28+0=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[43, 28, 75, 75], Operations: []
Exploring Operation: 75/75=1, Resulting Numbers: [43, 28, 1]
Generated Node #0,0: 28:[43, 28, 1] Operation: 75/75=1
Exploring Operation: 75-75=0, Resulting Numbers: [43, 28, 0]
Generated Node #0,1: 28:[43, 28, 0] Operation: 75-75=0
Moving to Node #0,0
Current State: 28:[43, 28, 1], Operations: ['75/75=1']
Exploring Operation: 43-1=42, Resulting Numbers: [28, 42]
Generated Node #0,0,0: 28:[28, 42] Operation: 43-1=42
Exploring Operation: 43-28=15, Resulting Numbers: [1, 15]
Generated Node #0,0,1: 28:[1, 15] Operation: 43-28=15
Moving to Node #0,1
Current State: 28:[43, 28, 0], Operations: ['75-75=0']
Exploring Operation: 43*0=0, Resulting Numbers: [28, 0]
Generated Node #0,1,0: 28:[28, 0] Operation: 43*0=0
Exploring Operation: 43-28=15, Resulting Numbers: [0, 15]
Generated Node #0,1,1: 28:[0, 15] Operation: 43-28=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[28, 0], Operations: ['75-75=0', '43*0=0']
Exploring Operation: 28-0=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[43, 28, 75, 75], Operations: []
Exploring Operation: 75-75=0, Resulting Numbers: [43, 28, 0]
Generated Node #0,1: 28:[43, 28, 0] Operation: 75-75=0
Moving to Node #0,1
Current State: 28:[43, 28, 0], Operations: ['75-75=0']
Exploring Operation: 43*0=0, Resulting Numbers: [28, 0]
Generated Node #0,1,0: 28:[28, 0] Operation: 43*0=0
Moving to Node #0,1,0
Current State: 28:[28, 0], Operations: ['75-75=0', '43*0=0']
Exploring Operation: 28-0=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
98,
25,
76,
25
] | 98 | [
"25-25=0",
"76*0=0",
"98+0=98"
] | Current State: 98:[98, 25, 76, 25], Operations: []
Exploring Operation: 25-25=0, Resulting Numbers: [98, 76, 0]
Generated Node #2: [98, 76, 0] from Operation: 25-25=0
Current State: 98:[98, 76, 0], Operations: ['25-25=0']
Exploring Operation: 76*0=0, Resulting Numbers: [98, 0]
Generated Node #3: [98, 0] from Operation: 76*0=0
Current State: 98:[98, 0], Operations: ['25-25=0', '76*0=0']
Exploring Operation: 98+0=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[98, 25, 76, 25], Operations: []
Exploring Operation: 76-25=51, Resulting Numbers: [98, 25, 51]
Generated Node #0,0: 98:[98, 25, 51] Operation: 76-25=51
Exploring Operation: 76-25=51, Resulting Numbers: [98, 25, 51]
Generated Node #0,1: 98:[98, 25, 51] Operation: 76-25=51
Moving to Node #0,0
Current State: 98:[98, 25, 51], Operations: ['76-25=51']
Exploring Operation: 51-25=26, Resulting Numbers: [98, 26]
Generated Node #0,0,0: 98:[98, 26] Operation: 51-25=26
Exploring Operation: 98-51=47, Resulting Numbers: [25, 47]
Generated Node #0,0,1: 98:[25, 47] Operation: 98-51=47
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[98, 26], Operations: ['76-25=51', '51-25=26']
Exploring Operation: 98-26=72, Resulting Numbers: [72]
72,98 unequal: No Solution
Exploring Operation: 98+26=124, Resulting Numbers: [124]
124,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:[25, 47], Operations: ['76-25=51', '98-51=47']
Exploring Operation: 25+47=72, Resulting Numbers: [72]
72,98 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 98:[98, 25, 51], Operations: ['76-25=51']
Exploring Operation: 98-51=47, Resulting Numbers: [25, 47]
Generated Node #0,1,0: 98:[25, 47] Operation: 98-51=47
Exploring Operation: 51-25=26, Resulting Numbers: [98, 26]
Generated Node #0,1,1: 98:[98, 26] Operation: 51-25=26
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[98, 26], Operations: ['76-25=51', '51-25=26']
Exploring Operation: 98+26=124, Resulting Numbers: [124]
124,98 unequal: No Solution
Exploring Operation: 98-26=72, Resulting Numbers: [72]
72,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,1,0
Current State: 98:[25, 47], Operations: ['76-25=51', '98-51=47']
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 25+47=72, Resulting Numbers: [72]
72,98 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 |
[
86,
27,
4,
33
] | 22 | [
"86-27=59",
"4+33=37",
"59-37=22"
] | Current State: 22:[86, 27, 4, 33], Operations: []
Exploring Operation: 86-27=59, Resulting Numbers: [4, 33, 59]
Generated Node #2: [4, 33, 59] from Operation: 86-27=59
Current State: 22:[4, 33, 59], Operations: ['86-27=59']
Exploring Operation: 4+33=37, Resulting Numbers: [59, 37]
Generated Node #3: [59, 37] from Operation: 4+33=37
Current State: 22:[59, 37], Operations: ['86-27=59', '4+33=37']
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[86, 27, 4, 33], Operations: []
Exploring Operation: 86-33=53, Resulting Numbers: [27, 4, 53]
Generated Node #0,0: 22:[27, 4, 53] Operation: 86-33=53
Exploring Operation: 86-27=59, Resulting Numbers: [4, 33, 59]
Generated Node #0,1: 22:[4, 33, 59] Operation: 86-27=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[27, 4, 53], Operations: ['86-33=53']
Exploring Operation: 53-27=26, Resulting Numbers: [4, 26]
Generated Node #0,0,0: 22:[4, 26] Operation: 53-27=26
Exploring Operation: 27-4=23, Resulting Numbers: [53, 23]
Generated Node #0,0,1: 22:[53, 23] Operation: 27-4=23
Moving to Node #0,0,0
Current State: 22:[4, 26], Operations: ['86-33=53', '53-27=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[86, 27, 4, 33], Operations: []
Exploring Operation: 86-33=53, Resulting Numbers: [27, 4, 53]
Generated Node #0,0: 22:[27, 4, 53] Operation: 86-33=53
Moving to Node #0,0
Current State: 22:[27, 4, 53], Operations: ['86-33=53']
Exploring Operation: 53-27=26, Resulting Numbers: [4, 26]
Generated Node #0,0,0: 22:[4, 26] Operation: 53-27=26
Moving to Node #0,0,0
Current State: 22:[4, 26], Operations: ['86-33=53', '53-27=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
47,
36,
31,
2
] | 96 | [
"47+31=78",
"36/2=18",
"78+18=96"
] | Current State: 96:[47, 36, 31, 2], Operations: []
Exploring Operation: 47+31=78, Resulting Numbers: [36, 2, 78]
Generated Node #2: [36, 2, 78] from Operation: 47+31=78
Current State: 96:[36, 2, 78], Operations: ['47+31=78']
Exploring Operation: 36/2=18, Resulting Numbers: [78, 18]
Generated Node #3: [78, 18] from Operation: 36/2=18
Current State: 96:[78, 18], Operations: ['47+31=78', '36/2=18']
Exploring Operation: 78+18=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[47, 36, 31, 2], Operations: []
Exploring Operation: 47-36=11, Resulting Numbers: [31, 2, 11]
Generated Node #0,0: 96:[31, 2, 11] Operation: 47-36=11
Moving to Node #0,0
Current State: 96:[31, 2, 11], Operations: ['47-36=11']
Exploring Operation: 31+2=33, Resulting Numbers: [11, 33]
Generated Node #0,0,0: 96:[11, 33] Operation: 31+2=33
Moving to Node #0,0,0
Current State: 96:[11, 33], Operations: ['47-36=11', '31+2=33']
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,96 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
56,
92,
22,
70
] | 57 | [
"92-22=70",
"70/70=1",
"56+1=57"
] | Current State: 57:[56, 92, 22, 70], Operations: []
Exploring Operation: 92-22=70, Resulting Numbers: [56, 70, 70]
Generated Node #2: [56, 70, 70] from Operation: 92-22=70
Current State: 57:[56, 70, 70], Operations: ['92-22=70']
Exploring Operation: 70/70=1, Resulting Numbers: [56, 1]
Generated Node #3: [56, 1] from Operation: 70/70=1
Current State: 57:[56, 1], Operations: ['92-22=70', '70/70=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[56, 92, 22, 70], Operations: []
Exploring Operation: 92-70=22, Resulting Numbers: [56, 22, 22]
Generated Node #0,0: 57:[56, 22, 22] Operation: 92-70=22
Moving to Node #0,0
Current State: 57:[56, 22, 22], Operations: ['92-70=22']
Exploring Operation: 22/22=1, Resulting Numbers: [56, 1]
Generated Node #0,0,0: 57:[56, 1] Operation: 22/22=1
Moving to Node #0,0,0
Current State: 57:[56, 1], Operations: ['92-70=22', '22/22=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[56, 92, 22, 70], Operations: []
Exploring Operation: 92-70=22, Resulting Numbers: [56, 22, 22]
Generated Node #0,0: 57:[56, 22, 22] Operation: 92-70=22
Moving to Node #0,0
Current State: 57:[56, 22, 22], Operations: ['92-70=22']
Exploring Operation: 22/22=1, Resulting Numbers: [56, 1]
Generated Node #0,0,0: 57:[56, 1] Operation: 22/22=1
Moving to Node #0,0,0
Current State: 57:[56, 1], Operations: ['92-70=22', '22/22=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
60,
75,
10,
61
] | 64 | [
"60+75=135",
"10+61=71",
"135-71=64"
] | Current State: 64:[60, 75, 10, 61], Operations: []
Exploring Operation: 60+75=135, Resulting Numbers: [10, 61, 135]
Generated Node #2: [10, 61, 135] from Operation: 60+75=135
Current State: 64:[10, 61, 135], Operations: ['60+75=135']
Exploring Operation: 10+61=71, Resulting Numbers: [135, 71]
Generated Node #3: [135, 71] from Operation: 10+61=71
Current State: 64:[135, 71], Operations: ['60+75=135', '10+61=71']
Exploring Operation: 135-71=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[60, 75, 10, 61], Operations: []
Exploring Operation: 75-60=15, Resulting Numbers: [10, 61, 15]
Generated Node #0,0: 64:[10, 61, 15] Operation: 75-60=15
Exploring Operation: 75-10=65, Resulting Numbers: [60, 61, 65]
Generated Node #0,1: 64:[60, 61, 65] Operation: 75-10=65
Exploring Operation: 61-60=1, Resulting Numbers: [75, 10, 1]
Generated Node #0,2: 64:[75, 10, 1] Operation: 61-60=1
Exploring Operation: 75-61=14, Resulting Numbers: [60, 10, 14]
Generated Node #0,3: 64:[60, 10, 14] Operation: 75-61=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[10, 61, 15], Operations: ['75-60=15']
Exploring Operation: 10+15=25, Resulting Numbers: [61, 25]
Generated Node #0,0,0: 64:[61, 25] Operation: 10+15=25
Exploring Operation: 10+61=71, Resulting Numbers: [15, 71]
Generated Node #0,0,1: 64:[15, 71] Operation: 10+61=71
Exploring Operation: 61-10=51, Resulting Numbers: [15, 51]
Generated Node #0,0,2: 64:[15, 51] Operation: 61-10=51
Exploring Operation: 15-10=5, Resulting Numbers: [61, 5]
Generated Node #0,0,3: 64:[61, 5] Operation: 15-10=5
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 64:[61, 5], Operations: ['75-60=15', '15-10=5']
Exploring Operation: 61+5=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 61*5=305, Resulting Numbers: [305]
305,64 unequal: No Solution
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[15, 71], Operations: ['75-60=15', '10+61=71']
Exploring Operation: 15*71=1065, Resulting Numbers: [1065]
1065,64 unequal: No Solution
Exploring Operation: 15+71=86, Resulting Numbers: [86]
86,64 unequal: No Solution
Exploring Operation: 71-15=56, Resulting Numbers: [56]
56,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[61, 25], Operations: ['75-60=15', '10+15=25']
Exploring Operation: 61*25=1525, Resulting Numbers: [1525]
1525,64 unequal: No Solution
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 61+25=86, Resulting Numbers: [86]
86,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 64:[15, 51], Operations: ['75-60=15', '61-10=51']
Exploring Operation: 15+51=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 15*51=765, Resulting Numbers: [765]
765,64 unequal: No Solution
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[60, 61, 65], Operations: ['75-10=65']
Exploring Operation: 61-60=1, Resulting Numbers: [65, 1]
Generated Node #0,1,0: 64:[65, 1] Operation: 61-60=1
Exploring Operation: 65-61=4, Resulting Numbers: [60, 4]
Generated Node #0,1,1: 64:[60, 4] Operation: 65-61=4
Exploring Operation: 60+61=121, Resulting Numbers: [65, 121]
Generated Node #0,1,2: 64:[65, 121] Operation: 60+61=121
Exploring Operation: 65-60=5, Resulting Numbers: [61, 5]
Generated Node #0,1,3: 64:[61, 5] Operation: 65-60=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 64:[65, 1], Operations: ['75-10=65', '61-60=1']
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[60, 75, 10, 61], Operations: []
Exploring Operation: 75-10=65, Resulting Numbers: [60, 61, 65]
Generated Node #0,1: 64:[60, 61, 65] Operation: 75-10=65
Moving to Node #0,1
Current State: 64:[60, 61, 65], Operations: ['75-10=65']
Exploring Operation: 61-60=1, Resulting Numbers: [65, 1]
Generated Node #0,1,0: 64:[65, 1] Operation: 61-60=1
Moving to Node #0,1,0
Current State: 64:[65, 1], Operations: ['75-10=65', '61-60=1']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
18,
91,
81,
18
] | 11 | [
"18/18=1",
"91-81=10",
"1+10=11"
] | Current State: 11:[18, 91, 81, 18], Operations: []
Exploring Operation: 18/18=1, Resulting Numbers: [91, 81, 1]
Generated Node #2: [91, 81, 1] from Operation: 18/18=1
Current State: 11:[91, 81, 1], Operations: ['18/18=1']
Exploring Operation: 91-81=10, Resulting Numbers: [1, 10]
Generated Node #3: [1, 10] from Operation: 91-81=10
Current State: 11:[1, 10], Operations: ['18/18=1', '91-81=10']
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[18, 91, 81, 18], Operations: []
Exploring Operation: 81-18=63, Resulting Numbers: [18, 91, 63]
Generated Node #0,0: 11:[18, 91, 63] Operation: 81-18=63
Exploring Operation: 91-18=73, Resulting Numbers: [18, 81, 73]
Generated Node #0,1: 11:[18, 81, 73] Operation: 91-18=73
Exploring Operation: 91-81=10, Resulting Numbers: [18, 18, 10]
Generated Node #0,2: 11:[18, 18, 10] Operation: 91-81=10
Exploring Operation: 81-18=63, Resulting Numbers: [91, 18, 63]
Generated Node #0,3: 11:[91, 18, 63] Operation: 81-18=63
Exploring Operation: 91-18=73, Resulting Numbers: [81, 18, 73]
Generated Node #0,4: 11:[81, 18, 73] Operation: 91-18=73
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[18, 18, 10], Operations: ['91-81=10']
Exploring Operation: 18-18=0, Resulting Numbers: [10, 0]
Generated Node #0,2,0: 11:[10, 0] Operation: 18-18=0
Exploring Operation: 18-10=8, Resulting Numbers: [18, 8]
Generated Node #0,2,1: 11:[18, 8] Operation: 18-10=8
Exploring Operation: 18/18=1, Resulting Numbers: [10, 1]
Generated Node #0,2,2: 11:[10, 1] Operation: 18/18=1
Exploring Operation: 18+10=28, Resulting Numbers: [18, 28]
Generated Node #0,2,3: 11:[18, 28] Operation: 18+10=28
Exploring Operation: 18-10=8, Resulting Numbers: [18, 8]
Generated Node #0,2,4: 11:[18, 8] Operation: 18-10=8
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 11:[18, 8], Operations: ['91-81=10', '18-10=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,11 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 11:[18, 8], Operations: ['91-81=10', '18-10=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 11:[10, 1], Operations: ['91-81=10', '18/18=1']
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[18, 91, 81, 18], Operations: []
Exploring Operation: 91-81=10, Resulting Numbers: [18, 18, 10]
Generated Node #0,2: 11:[18, 18, 10] Operation: 91-81=10
Moving to Node #0,2
Current State: 11:[18, 18, 10], Operations: ['91-81=10']
Exploring Operation: 18/18=1, Resulting Numbers: [10, 1]
Generated Node #0,2,2: 11:[10, 1] Operation: 18/18=1
Moving to Node #0,2,2
Current State: 11:[10, 1], Operations: ['91-81=10', '18/18=1']
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
91,
1,
42,
76
] | 56 | [
"91-1=90",
"76-42=34",
"90-34=56"
] | Current State: 56:[91, 1, 42, 76], Operations: []
Exploring Operation: 91-1=90, Resulting Numbers: [42, 76, 90]
Generated Node #2: [42, 76, 90] from Operation: 91-1=90
Current State: 56:[42, 76, 90], Operations: ['91-1=90']
Exploring Operation: 76-42=34, Resulting Numbers: [90, 34]
Generated Node #3: [90, 34] from Operation: 76-42=34
Current State: 56:[90, 34], Operations: ['91-1=90', '76-42=34']
Exploring Operation: 90-34=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[91, 1, 42, 76], Operations: []
Exploring Operation: 91-76=15, Resulting Numbers: [1, 42, 15]
Generated Node #0,0: 56:[1, 42, 15] Operation: 91-76=15
Moving to Node #0,0
Current State: 56:[1, 42, 15], Operations: ['91-76=15']
Exploring Operation: 42+15=57, Resulting Numbers: [1, 57]
Generated Node #0,0,0: 56:[1, 57] Operation: 42+15=57
Moving to Node #0,0,0
Current State: 56:[1, 57], Operations: ['91-76=15', '42+15=57']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[91, 1, 42, 76], Operations: []
Exploring Operation: 91-76=15, Resulting Numbers: [1, 42, 15]
Generated Node #0,0: 56:[1, 42, 15] Operation: 91-76=15
Moving to Node #0,0
Current State: 56:[1, 42, 15], Operations: ['91-76=15']
Exploring Operation: 42+15=57, Resulting Numbers: [1, 57]
Generated Node #0,0,0: 56:[1, 57] Operation: 42+15=57
Moving to Node #0,0,0
Current State: 56:[1, 57], Operations: ['91-76=15', '42+15=57']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
19,
49,
43,
45
] | 79 | [
"45-43=2",
"49*2=98",
"98-19=79"
] | Current State: 79:[19, 49, 43, 45], Operations: []
Exploring Operation: 45-43=2, Resulting Numbers: [19, 49, 2]
Generated Node #2: [19, 49, 2] from Operation: 45-43=2
Current State: 79:[19, 49, 2], Operations: ['45-43=2']
Exploring Operation: 49*2=98, Resulting Numbers: [19, 98]
Generated Node #3: [19, 98] from Operation: 49*2=98
Current State: 79:[19, 98], Operations: ['45-43=2', '49*2=98']
Exploring Operation: 98-19=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[19, 49, 43, 45], Operations: []
Exploring Operation: 19+49=68, Resulting Numbers: [43, 45, 68]
Generated Node #0,0: 79:[43, 45, 68] Operation: 19+49=68
Exploring Operation: 49+43=92, Resulting Numbers: [19, 45, 92]
Generated Node #0,1: 79:[19, 45, 92] Operation: 49+43=92
Exploring Operation: 43+45=88, Resulting Numbers: [19, 49, 88]
Generated Node #0,2: 79:[19, 49, 88] Operation: 43+45=88
Exploring Operation: 19+45=64, Resulting Numbers: [49, 43, 64]
Generated Node #0,3: 79:[49, 43, 64] Operation: 19+45=64
Exploring Operation: 19+43=62, Resulting Numbers: [49, 45, 62]
Generated Node #0,4: 79:[49, 45, 62] Operation: 19+43=62
Moving to Node #0,0
Current State: 79:[43, 45, 68], Operations: ['19+49=68']
Exploring Operation: 45-43=2, Resulting Numbers: [68, 2]
Generated Node #0,0,0: 79:[68, 2] Operation: 45-43=2
Exploring Operation: 43+45=88, Resulting Numbers: [68, 88]
Generated Node #0,0,1: 79:[68, 88] Operation: 43+45=88
Exploring Operation: 68-43=25, Resulting Numbers: [45, 25]
Generated Node #0,0,2: 79:[45, 25] Operation: 68-43=25
Exploring Operation: 45+68=113, Resulting Numbers: [43, 113]
Generated Node #0,0,3: 79:[43, 113] Operation: 45+68=113
Exploring Operation: 43+68=111, Resulting Numbers: [45, 111]
Generated Node #0,0,4: 79:[45, 111] Operation: 43+68=111
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[68, 88], Operations: ['19+49=68', '43+45=88']
Exploring Operation: 68*88=5984, Resulting Numbers: [5984]
5984,79 unequal: No Solution
Exploring Operation: 88-68=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Exploring Operation: 68+88=156, Resulting Numbers: [156]
156,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 79:[45, 111], Operations: ['19+49=68', '43+68=111']
Exploring Operation: 45+111=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 45*111=4995, Resulting Numbers: [4995]
4995,79 unequal: No Solution
Exploring Operation: 111-45=66, Resulting Numbers: [66]
66,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 79:[43, 113], Operations: ['19+49=68', '45+68=113']
Exploring Operation: 43*113=4859, Resulting Numbers: [4859]
4859,79 unequal: No Solution
Exploring Operation: 113-43=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 43+113=156, Resulting Numbers: [156]
156,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[68, 2], Operations: ['19+49=68', '45-43=2']
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,79 unequal: No Solution
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 68*2=136, Resulting Numbers: [136]
136,79 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[45, 25], Operations: ['19+49=68', '68-43=25']
Exploring Operation: 45+25=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Exploring Operation: 45*25=1125, Resulting Numbers: [1125]
1125,79 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: 79:[49, 45, 62], Operations: ['19+43=62']
Exploring Operation: 62-45=17, Resulting Numbers: [49, 17]
Generated Node #0,4,0: 79:[49, 17] Operation: 62-45=17
Exploring Operation: 49-45=4, Resulting Numbers: [62, 4]
Generated Node #0,4,1: 79:[62, 4] Operation: 49-45=4
Exploring Operation: 45+62=107, Resulting Numbers: [49, 107]
Generated Node #0,4,2: 79:[49, 107] Operation: 45+62=107
Exploring Operation: 49+62=111, Resulting Numbers: [45, 111]
Generated Node #0,4,3: 79:[45, 111] Operation: 49+62=111
Exploring Operation: 49+45=94, Resulting Numbers: [62, 94]
Generated Node #0,4,4: 79:[62, 94] Operation: 49+45=94
Moving to Node #0,3
Current State: 79:[49, 43, 64], Operations: ['19+45=64']
Exploring Operation: 49+64=113, Resulting Numbers: [43, 113]
Generated Node #0,3,0: 79:[43, 113] Operation: 49+64=113
Exploring Operation: 64-43=21, Resulting Numbers: [49, 21]
Generated Node #0,3,1: 79:[49, 21] Operation: 64-43=21
Exploring Operation: 49+43=92, Resulting Numbers: [64, 92]
Generated Node #0,3,2: 79:[64, 92] Operation: 49+43=92
Exploring Operation: 43+64=107, Resulting Numbers: [49, 107]
Generated Node #0,3,3: 79:[49, 107] Operation: 43+64=107
Exploring Operation: 49-43=6, Resulting Numbers: [64, 6]
Generated Node #0,3,4: 79:[64, 6] Operation: 49-43=6
Moving to Node #0,2
Current State: 79:[19, 49, 88], Operations: ['43+45=88']
Exploring Operation: 49-19=30, Resulting Numbers: [88, 30]
Generated Node #0,2,0: 79:[88, 30] Operation: 49-19=30
Exploring Operation: 19+88=107, Resulting Numbers: [49, 107]
Generated Node #0,2,1: 79:[49, 107] Operation: 19+88=107
Exploring Operation: 88-19=69, Resulting Numbers: [49, 69]
Generated Node #0,2,2: 79:[49, 69] Operation: 88-19=69
Exploring Operation: 19+49=68, Resulting Numbers: [88, 68]
Generated Node #0,2,3: 79:[88, 68] Operation: 19+49=68
Exploring Operation: 88-49=39, Resulting Numbers: [19, 39]
Generated Node #0,2,4: 79:[19, 39] Operation: 88-49=39
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 79:[88, 68], Operations: ['43+45=88', '19+49=68']
Exploring Operation: 88+68=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 88-68=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Exploring Operation: 88*68=5984, Resulting Numbers: [5984]
5984,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 79:[49, 69], Operations: ['43+45=88', '88-19=69']
Exploring Operation: 69-49=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Exploring Operation: 49+69=118, Resulting Numbers: [118]
118,79 unequal: No Solution
Exploring Operation: 49*69=3381, Resulting Numbers: [3381]
3381,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 79:[88, 30], Operations: ['43+45=88', '49-19=30']
Exploring Operation: 88*30=2640, Resulting Numbers: [2640]
2640,79 unequal: No Solution
Exploring Operation: 88+30=118, Resulting Numbers: [118]
118,79 unequal: No Solution
Exploring Operation: 88-30=58, Resulting Numbers: [58]
58,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 79:[49, 107], Operations: ['43+45=88', '19+88=107']
Exploring Operation: 49+107=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 49*107=5243, Resulting Numbers: [5243]
5243,79 unequal: No Solution
Exploring Operation: 107-49=58, Resulting Numbers: [58]
58,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 79:[19, 39], Operations: ['43+45=88', '88-49=39']
Exploring Operation: 19*39=741, Resulting Numbers: [741]
741,79 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Exploring Operation: 19+39=58, Resulting Numbers: [58]
58,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 79:[19, 45, 92], Operations: ['49+43=92']
Exploring Operation: 92-45=47, Resulting Numbers: [19, 47]
Generated Node #0,1,0: 79:[19, 47] Operation: 92-45=47
Exploring Operation: 92-19=73, Resulting Numbers: [45, 73]
Generated Node #0,1,1: 79:[45, 73] Operation: 92-19=73
Exploring Operation: 45-19=26, Resulting Numbers: [92, 26]
Generated Node #0,1,2: 79:[92, 26] Operation: 45-19=26
Exploring Operation: 19+45=64, Resulting Numbers: [92, 64]
Generated Node #0,1,3: 79:[92, 64] Operation: 19+45=64
Exploring Operation: 19+92=111, Resulting Numbers: [45, 111]
Generated Node #0,1,4: 79:[45, 111] Operation: 19+92=111
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 79:[92, 64], Operations: ['49+43=92', '19+45=64']
Exploring Operation: 92+64=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 92-64=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Exploring Operation: 92*64=5888, Resulting Numbers: [5888]
5888,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[45, 73], Operations: ['49+43=92', '92-19=73']
Exploring Operation: 45*73=3285, Resulting Numbers: [3285]
3285,79 unequal: No Solution
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Exploring Operation: 45+73=118, Resulting Numbers: [118]
118,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 79:[92, 26], Operations: ['49+43=92', '45-19=26']
Exploring Operation: 92*26=2392, Resulting Numbers: [2392]
2392,79 unequal: No Solution
Exploring Operation: 92-26=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Exploring Operation: 92+26=118, Resulting Numbers: [118]
118,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 79:[45, 111], Operations: ['49+43=92', '19+92=111']
Exploring Operation: 111-45=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Exploring Operation: 45*111=4995, Resulting Numbers: [4995]
4995,79 unequal: No Solution
Exploring Operation: 45+111=156, Resulting Numbers: [156]
156,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[19, 47], Operations: ['49+43=92', '92-45=47']
Exploring Operation: 19+47=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Exploring Operation: 19*47=893, Resulting Numbers: [893]
893,79 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 79:[64, 92], Operations: ['19+45=64', '49+43=92']
Exploring Operation: 92-64=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Exploring Operation: 64*92=5888, Resulting Numbers: [5888]
5888,79 unequal: No Solution
Exploring Operation: 64+92=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Moving to Node #0,4,4
Current State: 79:[62, 94], Operations: ['19+43=62', '49+45=94']
Exploring Operation: 62*94=5828, Resulting Numbers: [5828]
5828,79 unequal: No Solution
Exploring Operation: 94-62=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Exploring Operation: 62+94=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Moving to Node #0,3,3
Current State: 79:[49, 107], Operations: ['19+45=64', '43+64=107']
Exploring Operation: 107-49=58, Resulting Numbers: [58]
58,79 unequal: No Solution
Exploring Operation: 49+107=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 49*107=5243, Resulting Numbers: [5243]
5243,79 unequal: No Solution
Moving to Node #0,4,2
Current State: 79:[49, 107], Operations: ['19+43=62', '45+62=107']
Exploring Operation: 49+107=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 49*107=5243, Resulting Numbers: [5243]
5243,79 unequal: No Solution
Exploring Operation: 107-49=58, Resulting Numbers: [58]
58,79 unequal: No Solution
Moving to Node #0,4,3
Current State: 79:[45, 111], Operations: ['19+43=62', '49+62=111']
Exploring Operation: 45*111=4995, Resulting Numbers: [4995]
4995,79 unequal: No Solution
Exploring Operation: 45+111=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 111-45=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Moving to Node #0,3,0
Current State: 79:[43, 113], Operations: ['19+45=64', '49+64=113']
Exploring Operation: 43+113=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 113-43=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 43*113=4859, Resulting Numbers: [4859]
4859,79 unequal: No Solution
Moving to Node #0,3,1
Current State: 79:[49, 21], Operations: ['19+45=64', '64-43=21']
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Exploring Operation: 49+21=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 49*21=1029, Resulting Numbers: [1029]
1029,79 unequal: No Solution
Moving to Node #0,3,4
Current State: 79:[64, 6], Operations: ['19+45=64', '49-43=6']
Exploring Operation: 64+6=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,79 unequal: No Solution
Exploring Operation: 64*6=384, Resulting Numbers: [384]
384,79 unequal: No Solution
Moving to Node #0,4,0
Current State: 79:[49, 17], Operations: ['19+43=62', '62-45=17']
Exploring Operation: 49*17=833, Resulting Numbers: [833]
833,79 unequal: No Solution
Exploring Operation: 49+17=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Moving to Node #0,4,1
Current State: 79:[62, 4], Operations: ['19+43=62', '49-45=4']
Exploring Operation: 62*4=248, Resulting Numbers: [248]
248,79 unequal: No Solution
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,79 unequal: No Solution
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,79 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
73,
74,
58,
15
] | 44 | [
"74-73=1",
"58-15=43",
"1+43=44"
] | Current State: 44:[73, 74, 58, 15], Operations: []
Exploring Operation: 74-73=1, Resulting Numbers: [58, 15, 1]
Generated Node #2: [58, 15, 1] from Operation: 74-73=1
Current State: 44:[58, 15, 1], Operations: ['74-73=1']
Exploring Operation: 58-15=43, Resulting Numbers: [1, 43]
Generated Node #3: [1, 43] from Operation: 58-15=43
Current State: 44:[1, 43], Operations: ['74-73=1', '58-15=43']
Exploring Operation: 1+43=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[73, 74, 58, 15], Operations: []
Exploring Operation: 73-58=15, Resulting Numbers: [74, 15, 15]
Generated Node #0,0: 44:[74, 15, 15] Operation: 73-58=15
Exploring Operation: 73-15=58, Resulting Numbers: [74, 58, 58]
Generated Node #0,1: 44:[74, 58, 58] Operation: 73-15=58
Exploring Operation: 74-73=1, Resulting Numbers: [58, 15, 1]
Generated Node #0,2: 44:[58, 15, 1] Operation: 74-73=1
Exploring Operation: 74-58=16, Resulting Numbers: [73, 15, 16]
Generated Node #0,3: 44:[73, 15, 16] Operation: 74-58=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[58, 15, 1], Operations: ['74-73=1']
Exploring Operation: 58-1=57, Resulting Numbers: [15, 57]
Generated Node #0,2,0: 44:[15, 57] Operation: 58-1=57
Exploring Operation: 15-1=14, Resulting Numbers: [58, 14]
Generated Node #0,2,1: 44:[58, 14] Operation: 15-1=14
Exploring Operation: 58-15=43, Resulting Numbers: [1, 43]
Generated Node #0,2,2: 44:[1, 43] Operation: 58-15=43
Exploring Operation: 58*1=58, Resulting Numbers: [15, 58]
Generated Node #0,2,3: 44:[15, 58] Operation: 58*1=58
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 44:[1, 43], Operations: ['74-73=1', '58-15=43']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,44 unequal: No Solution
Exploring Operation: 1*43=43, Resulting Numbers: [43]
43,44 unequal: No Solution
Exploring Operation: 1+43=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[73, 74, 58, 15], Operations: []
Exploring Operation: 74-73=1, Resulting Numbers: [58, 15, 1]
Generated Node #0,2: 44:[58, 15, 1] Operation: 74-73=1
Moving to Node #0,2
Current State: 44:[58, 15, 1], Operations: ['74-73=1']
Exploring Operation: 58-15=43, Resulting Numbers: [1, 43]
Generated Node #0,2,2: 44:[1, 43] Operation: 58-15=43
Moving to Node #0,2,2
Current State: 44:[1, 43], Operations: ['74-73=1', '58-15=43']
Exploring Operation: 1+43=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
7,
58,
32,
71
] | 12 | [
"58-7=51",
"71-32=39",
"51-39=12"
] | Current State: 12:[7, 58, 32, 71], Operations: []
Exploring Operation: 58-7=51, Resulting Numbers: [32, 71, 51]
Generated Node #2: [32, 71, 51] from Operation: 58-7=51
Current State: 12:[32, 71, 51], Operations: ['58-7=51']
Exploring Operation: 71-32=39, Resulting Numbers: [51, 39]
Generated Node #3: [51, 39] from Operation: 71-32=39
Current State: 12:[51, 39], Operations: ['58-7=51', '71-32=39']
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[7, 58, 32, 71], Operations: []
Exploring Operation: 71-58=13, Resulting Numbers: [7, 32, 13]
Generated Node #0,0: 12:[7, 32, 13] Operation: 71-58=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[7, 32, 13], Operations: ['71-58=13']
Exploring Operation: 32-13=19, Resulting Numbers: [7, 19]
Generated Node #0,0,0: 12:[7, 19] Operation: 32-13=19
Moving to Node #0,0,0
Current State: 12:[7, 19], Operations: ['71-58=13', '32-13=19']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[7, 58, 32, 71], Operations: []
Exploring Operation: 71-58=13, Resulting Numbers: [7, 32, 13]
Generated Node #0,0: 12:[7, 32, 13] Operation: 71-58=13
Moving to Node #0,0
Current State: 12:[7, 32, 13], Operations: ['71-58=13']
Exploring Operation: 32-13=19, Resulting Numbers: [7, 19]
Generated Node #0,0,0: 12:[7, 19] Operation: 32-13=19
Moving to Node #0,0,0
Current State: 12:[7, 19], Operations: ['71-58=13', '32-13=19']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
84,
36,
93,
91
] | 87 | [
"93-84=9",
"36/9=4",
"91-4=87"
] | Current State: 87:[84, 36, 93, 91], Operations: []
Exploring Operation: 93-84=9, Resulting Numbers: [36, 91, 9]
Generated Node #2: [36, 91, 9] from Operation: 93-84=9
Current State: 87:[36, 91, 9], Operations: ['93-84=9']
Exploring Operation: 36/9=4, Resulting Numbers: [91, 4]
Generated Node #3: [91, 4] from Operation: 36/9=4
Current State: 87:[91, 4], Operations: ['93-84=9', '36/9=4']
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[84, 36, 93, 91], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [84, 36, 2]
Generated Node #0,0: 87:[84, 36, 2] Operation: 93-91=2
Moving to Node #0,0
Current State: 87:[84, 36, 2], Operations: ['93-91=2']
Exploring Operation: 84+2=86, Resulting Numbers: [36, 86]
Generated Node #0,0,0: 87:[36, 86] Operation: 84+2=86
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[36, 86], Operations: ['93-91=2', '84+2=86']
Exploring Operation: 86-36=50, Resulting Numbers: [50]
50,87 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 |
[
72,
71,
89,
4
] | 86 | [
"72-71=1",
"89-4=85",
"1+85=86"
] | Current State: 86:[72, 71, 89, 4], Operations: []
Exploring Operation: 72-71=1, Resulting Numbers: [89, 4, 1]
Generated Node #2: [89, 4, 1] from Operation: 72-71=1
Current State: 86:[89, 4, 1], Operations: ['72-71=1']
Exploring Operation: 89-4=85, Resulting Numbers: [1, 85]
Generated Node #3: [1, 85] from Operation: 89-4=85
Current State: 86:[1, 85], Operations: ['72-71=1', '89-4=85']
Exploring Operation: 1+85=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[72, 71, 89, 4], Operations: []
Exploring Operation: 72-71=1, Resulting Numbers: [89, 4, 1]
Generated Node #0,0: 86:[89, 4, 1] Operation: 72-71=1
Moving to Node #0,0
Current State: 86:[89, 4, 1], Operations: ['72-71=1']
Exploring Operation: 89-4=85, Resulting Numbers: [1, 85]
Generated Node #0,0,0: 86:[1, 85] Operation: 89-4=85
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[1, 85], Operations: ['72-71=1', '89-4=85']
Exploring Operation: 1+85=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[72, 71, 89, 4], Operations: []
Exploring Operation: 72-71=1, Resulting Numbers: [89, 4, 1]
Generated Node #0,0: 86:[89, 4, 1] Operation: 72-71=1
Moving to Node #0,0
Current State: 86:[89, 4, 1], Operations: ['72-71=1']
Exploring Operation: 89-4=85, Resulting Numbers: [1, 85]
Generated Node #0,0,0: 86:[1, 85] Operation: 89-4=85
Moving to Node #0,0,0
Current State: 86:[1, 85], Operations: ['72-71=1', '89-4=85']
Exploring Operation: 1+85=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
19,
24,
3,
8
] | 67 | [
"19+24=43",
"3*8=24",
"43+24=67"
] | Current State: 67:[19, 24, 3, 8], Operations: []
Exploring Operation: 19+24=43, Resulting Numbers: [3, 8, 43]
Generated Node #2: [3, 8, 43] from Operation: 19+24=43
Current State: 67:[3, 8, 43], Operations: ['19+24=43']
Exploring Operation: 3*8=24, Resulting Numbers: [43, 24]
Generated Node #3: [43, 24] from Operation: 3*8=24
Current State: 67:[43, 24], Operations: ['19+24=43', '3*8=24']
Exploring Operation: 43+24=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[19, 24, 3, 8], Operations: []
Exploring Operation: 3*8=24, Resulting Numbers: [19, 24, 24]
Generated Node #0,0: 67:[19, 24, 24] Operation: 3*8=24
Exploring Operation: 19*3=57, Resulting Numbers: [24, 8, 57]
Generated Node #0,1: 67:[24, 8, 57] Operation: 19*3=57
Exploring Operation: 24*3=72, Resulting Numbers: [19, 8, 72]
Generated Node #0,2: 67:[19, 8, 72] Operation: 24*3=72
Exploring Operation: 19+24=43, Resulting Numbers: [3, 8, 43]
Generated Node #0,3: 67:[3, 8, 43] Operation: 19+24=43
Moving to Node #0,1
Current State: 67:[24, 8, 57], Operations: ['19*3=57']
Exploring Operation: 24-8=16, Resulting Numbers: [57, 16]
Generated Node #0,1,0: 67:[57, 16] Operation: 24-8=16
Exploring Operation: 8+57=65, Resulting Numbers: [24, 65]
Generated Node #0,1,1: 67:[24, 65] Operation: 8+57=65
Exploring Operation: 24+8=32, Resulting Numbers: [57, 32]
Generated Node #0,1,2: 67:[57, 32] Operation: 24+8=32
Exploring Operation: 57-8=49, Resulting Numbers: [24, 49]
Generated Node #0,1,3: 67:[24, 49] Operation: 57-8=49
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[24, 65], Operations: ['19*3=57', '8+57=65']
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 24+65=89, Resulting Numbers: [89]
89,67 unequal: No Solution
Exploring Operation: 24*65=1560, Resulting Numbers: [1560]
1560,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,2
Current State: 67:[57, 32], Operations: ['19*3=57', '24+8=32']
Exploring Operation: 57+32=89, Resulting Numbers: [89]
89,67 unequal: No Solution
Exploring Operation: 57-32=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 57*32=1824, Resulting Numbers: [1824]
1824,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:[57, 16], Operations: ['19*3=57', '24-8=16']
Exploring Operation: 57+16=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 57-16=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 57*16=912, Resulting Numbers: [912]
912,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:[24, 49], Operations: ['19*3=57', '57-8=49']
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,67 unequal: No Solution
Exploring Operation: 49-24=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:[19, 8, 72], Operations: ['24*3=72']
Exploring Operation: 8+72=80, Resulting Numbers: [19, 80]
Generated Node #0,2,0: 67:[19, 80] Operation: 8+72=80
Exploring Operation: 72-8=64, Resulting Numbers: [19, 64]
Generated Node #0,2,1: 67:[19, 64] Operation: 72-8=64
Exploring Operation: 19-8=11, Resulting Numbers: [72, 11]
Generated Node #0,2,2: 67:[72, 11] Operation: 19-8=11
Exploring Operation: 19+8=27, Resulting Numbers: [72, 27]
Generated Node #0,2,3: 67:[72, 27] Operation: 19+8=27
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 67:[72, 27], Operations: ['24*3=72', '19+8=27']
Exploring Operation: 72+27=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 72*27=1944, Resulting Numbers: [1944]
1944,67 unequal: No Solution
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,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,1
Current State: 67:[19, 64], Operations: ['24*3=72', '72-8=64']
Exploring Operation: 19+64=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,67 unequal: No Solution
Exploring Operation: 19*64=1216, Resulting Numbers: [1216]
1216,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:[19, 80], Operations: ['24*3=72', '8+72=80']
Exploring Operation: 19+80=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 19*80=1520, Resulting Numbers: [1520]
1520,67 unequal: No Solution
Exploring Operation: 80-19=61, Resulting Numbers: [61]
61,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:[72, 11], Operations: ['24*3=72', '19-8=11']
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,67 unequal: No Solution
Exploring Operation: 72*11=792, Resulting Numbers: [792]
792,67 unequal: No Solution
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,67 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: 67:[19, 24, 24], Operations: ['3*8=24']
Exploring Operation: 24-19=5, Resulting Numbers: [24, 5]
Generated Node #0,0,0: 67:[24, 5] Operation: 24-19=5
Exploring Operation: 19+24=43, Resulting Numbers: [24, 43]
Generated Node #0,0,1: 67:[24, 43] Operation: 19+24=43
Exploring Operation: 19+24=43, Resulting Numbers: [24, 43]
Generated Node #0,0,2: 67:[24, 43] Operation: 19+24=43
Exploring Operation: 24+24=48, Resulting Numbers: [19, 48]
Generated Node #0,0,3: 67:[19, 48] Operation: 24+24=48
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[24, 43], Operations: ['3*8=24', '19+24=43']
Exploring Operation: 24*43=1032, Resulting Numbers: [1032]
1032,67 unequal: No Solution
Exploring Operation: 24+43=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[19, 24, 3, 8], Operations: []
Exploring Operation: 3*8=24, Resulting Numbers: [19, 24, 24]
Generated Node #0,0: 67:[19, 24, 24] Operation: 3*8=24
Moving to Node #0,0
Current State: 67:[19, 24, 24], Operations: ['3*8=24']
Exploring Operation: 19+24=43, Resulting Numbers: [24, 43]
Generated Node #0,0,1: 67:[24, 43] Operation: 19+24=43
Moving to Node #0,0,1
Current State: 67:[24, 43], Operations: ['3*8=24', '19+24=43']
Exploring Operation: 24+43=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_4 | mult_heuristic |
[
13,
65,
42,
87
] | 51 | [
"13+65=78",
"42+87=129",
"129-78=51"
] | Current State: 51:[13, 65, 42, 87], Operations: []
Exploring Operation: 13+65=78, Resulting Numbers: [42, 87, 78]
Generated Node #2: [42, 87, 78] from Operation: 13+65=78
Current State: 51:[42, 87, 78], Operations: ['13+65=78']
Exploring Operation: 42+87=129, Resulting Numbers: [78, 129]
Generated Node #3: [78, 129] from Operation: 42+87=129
Current State: 51:[78, 129], Operations: ['13+65=78', '42+87=129']
Exploring Operation: 129-78=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[13, 65, 42, 87], Operations: []
Exploring Operation: 87-42=45, Resulting Numbers: [13, 65, 45]
Generated Node #0,0: 51:[13, 65, 45] Operation: 87-42=45
Exploring Operation: 87-65=22, Resulting Numbers: [13, 42, 22]
Generated Node #0,1: 51:[13, 42, 22] Operation: 87-65=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[13, 42, 22], Operations: ['87-65=22']
Exploring Operation: 42-22=20, Resulting Numbers: [13, 20]
Generated Node #0,1,0: 51:[13, 20] Operation: 42-22=20
Exploring Operation: 13+42=55, Resulting Numbers: [22, 55]
Generated Node #0,1,1: 51:[22, 55] Operation: 13+42=55
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[13, 20], Operations: ['87-65=22', '42-22=20']
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,51 unequal: No Solution
No 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: 51:[22, 55], Operations: ['87-65=22', '13+42=55']
Exploring Operation: 22+55=77, Resulting Numbers: [77]
77,51 unequal: No Solution
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,51 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: 51:[13, 65, 45], Operations: ['87-42=45']
Exploring Operation: 65-13=52, Resulting Numbers: [45, 52]
Generated Node #0,0,0: 51:[45, 52] Operation: 65-13=52
Exploring Operation: 65-45=20, Resulting Numbers: [13, 20]
Generated Node #0,0,1: 51:[13, 20] Operation: 65-45=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[45, 52], Operations: ['87-42=45', '65-13=52']
Exploring Operation: 52-45=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 45+52=97, Resulting Numbers: [97]
97,51 unequal: No Solution
No 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: 51:[13, 20], Operations: ['87-42=45', '65-45=20']
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,51 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,51 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 |
[
2,
44,
38,
40
] | 74 | [
"2*40=80",
"44-38=6",
"80-6=74"
] | Current State: 74:[2, 44, 38, 40], Operations: []
Exploring Operation: 2*40=80, Resulting Numbers: [44, 38, 80]
Generated Node #2: [44, 38, 80] from Operation: 2*40=80
Current State: 74:[44, 38, 80], Operations: ['2*40=80']
Exploring Operation: 44-38=6, Resulting Numbers: [80, 6]
Generated Node #3: [80, 6] from Operation: 44-38=6
Current State: 74:[80, 6], Operations: ['2*40=80', '44-38=6']
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[2, 44, 38, 40], Operations: []
Exploring Operation: 44-40=4, Resulting Numbers: [2, 38, 4]
Generated Node #0,0: 74:[2, 38, 4] Operation: 44-40=4
Exploring Operation: 44-38=6, Resulting Numbers: [2, 40, 6]
Generated Node #0,1: 74:[2, 40, 6] Operation: 44-38=6
Exploring Operation: 40-38=2, Resulting Numbers: [2, 44, 2]
Generated Node #0,2: 74:[2, 44, 2] Operation: 40-38=2
Exploring Operation: 40-2=38, Resulting Numbers: [44, 38, 38]
Generated Node #0,3: 74:[44, 38, 38] Operation: 40-2=38
Exploring Operation: 44-2=42, Resulting Numbers: [38, 40, 42]
Generated Node #0,4: 74:[38, 40, 42] Operation: 44-2=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[2, 38, 4], Operations: ['44-40=4']
Exploring Operation: 38-4=34, Resulting Numbers: [2, 34]
Generated Node #0,0,0: 74:[2, 34] Operation: 38-4=34
Exploring Operation: 38-2=36, Resulting Numbers: [4, 36]
Generated Node #0,0,1: 74:[4, 36] Operation: 38-2=36
Exploring Operation: 4/2=2, Resulting Numbers: [38, 2]
Generated Node #0,0,2: 74:[38, 2] Operation: 4/2=2
Exploring Operation: 2*38=76, Resulting Numbers: [4, 76]
Generated Node #0,0,3: 74:[4, 76] Operation: 2*38=76
Exploring Operation: 4-2=2, Resulting Numbers: [38, 2]
Generated Node #0,0,4: 74:[38, 2] Operation: 4-2=2
Moving to Node #0,0,2
Current State: 74:[38, 2], Operations: ['44-40=4', '4/2=2']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Moving to Node #0,0,4
Current State: 74:[38, 2], Operations: ['44-40=4', '4-2=2']
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[2, 34], Operations: ['44-40=4', '38-4=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[4, 36], Operations: ['44-40=4', '38-2=36']
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 4*36=144, Resulting Numbers: [144]
144,74 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[4, 76], Operations: ['44-40=4', '2*38=76']
Exploring Operation: 4*76=304, Resulting Numbers: [304]
304,74 unequal: No Solution
Exploring Operation: 4+76=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,74 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[2, 40, 6], Operations: ['44-38=6']
Exploring Operation: 6-2=4, Resulting Numbers: [40, 4]
Generated Node #0,1,0: 74:[40, 4] Operation: 6-2=4
Exploring Operation: 40-2=38, Resulting Numbers: [6, 38]
Generated Node #0,1,1: 74:[6, 38] Operation: 40-2=38
Exploring Operation: 2+40=42, Resulting Numbers: [6, 42]
Generated Node #0,1,2: 74:[6, 42] Operation: 2+40=42
Exploring Operation: 6/2=3, Resulting Numbers: [40, 3]
Generated Node #0,1,3: 74:[40, 3] Operation: 6/2=3
Exploring Operation: 40-6=34, Resulting Numbers: [2, 34]
Generated Node #0,1,4: 74:[2, 34] Operation: 40-6=34
Moving to Node #0,1,4
Current State: 74:[2, 34], Operations: ['44-38=6', '40-6=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,74 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Moving to Node #0,1,3
Current State: 74:[40, 3], Operations: ['44-38=6', '6/2=3']
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,74 unequal: No Solution
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,74 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[40, 4], Operations: ['44-38=6', '6-2=4']
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,74 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[6, 38], Operations: ['44-38=6', '40-2=38']
Exploring Operation: 6*38=228, Resulting Numbers: [228]
228,74 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[6, 42], Operations: ['44-38=6', '2+40=42']
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 6*42=252, Resulting Numbers: [252]
252,74 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[2, 44, 2], Operations: ['40-38=2']
Exploring Operation: 44-2=42, Resulting Numbers: [2, 42]
Generated Node #0,2,0: 74:[2, 42] Operation: 44-2=42
Exploring Operation: 2+2=4, Resulting Numbers: [44, 4]
Generated Node #0,2,1: 74:[44, 4] Operation: 2+2=4
Exploring Operation: 2/2=1, Resulting Numbers: [44, 1]
Generated Node #0,2,2: 74:[44, 1] Operation: 2/2=1
Exploring Operation: 44-2=42, Resulting Numbers: [2, 42]
Generated Node #0,2,3: 74:[2, 42] Operation: 44-2=42
Exploring Operation: 2+44=46, Resulting Numbers: [2, 46]
Generated Node #0,2,4: 74:[2, 46] Operation: 2+44=46
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 74:[2, 42], Operations: ['40-38=2', '44-2=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 74:[2, 42], Operations: ['40-38=2', '44-2=42']
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 74:[44, 1], Operations: ['40-38=2', '2/2=1']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,74 unequal: No Solution
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 74:[44, 4], Operations: ['40-38=2', '2+2=4']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 44*4=176, Resulting Numbers: [176]
176,74 unequal: No Solution
Exploring Operation: 44+4=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 74:[2, 46], Operations: ['40-38=2', '2+44=46']
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,74 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[44, 38, 38], Operations: ['40-2=38']
Exploring Operation: 38/38=1, Resulting Numbers: [44, 1]
Generated Node #0,3,0: 74:[44, 1] Operation: 38/38=1
Exploring Operation: 44-38=6, Resulting Numbers: [38, 6]
Generated Node #0,3,1: 74:[38, 6] Operation: 44-38=6
Exploring Operation: 44+38=82, Resulting Numbers: [38, 82]
Generated Node #0,3,2: 74:[38, 82] Operation: 44+38=82
Exploring Operation: 44+38=82, Resulting Numbers: [38, 82]
Generated Node #0,3,3: 74:[38, 82] Operation: 44+38=82
Exploring Operation: 44-38=6, Resulting Numbers: [38, 6]
Generated Node #0,3,4: 74:[38, 6] Operation: 44-38=6
Moving to Node #0,3,1
Current State: 74:[38, 6], Operations: ['40-2=38', '44-38=6']
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,74 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Moving to Node #0,3,4
Current State: 74:[38, 6], Operations: ['40-2=38', '44-38=6']
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,74 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[44, 1], Operations: ['40-2=38', '38/38=1']
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[38, 82], Operations: ['40-2=38', '44+38=82']
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 38+82=120, Resulting Numbers: [120]
120,74 unequal: No Solution
Exploring Operation: 38*82=3116, Resulting Numbers: [3116]
3116,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[38, 82], Operations: ['40-2=38', '44+38=82']
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 38+82=120, Resulting Numbers: [120]
120,74 unequal: No Solution
Exploring Operation: 38*82=3116, Resulting Numbers: [3116]
3116,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 74:[38, 40, 42], Operations: ['44-2=42']
Exploring Operation: 38+42=80, Resulting Numbers: [40, 80]
Generated Node #0,4,0: 74:[40, 80] Operation: 38+42=80
Exploring Operation: 42-40=2, Resulting Numbers: [38, 2]
Generated Node #0,4,1: 74:[38, 2] Operation: 42-40=2
Exploring Operation: 42-38=4, Resulting Numbers: [40, 4]
Generated Node #0,4,2: 74:[40, 4] Operation: 42-38=4
Exploring Operation: 38+40=78, Resulting Numbers: [42, 78]
Generated Node #0,4,3: 74:[42, 78] Operation: 38+40=78
Exploring Operation: 40-38=2, Resulting Numbers: [42, 2]
Generated Node #0,4,4: 74:[42, 2] Operation: 40-38=2
Moving to Node #0,4,1
Current State: 74:[38, 2], Operations: ['44-2=42', '42-40=2']
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Moving to Node #0,4,4
Current State: 74:[42, 2], Operations: ['44-2=42', '40-38=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Moving to Node #0,4,2
Current State: 74:[40, 4], Operations: ['44-2=42', '42-38=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,74 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Moving to Node #0,4,0
Current State: 74:[40, 80], Operations: ['44-2=42', '38+42=80']
Exploring Operation: 80/40=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 40*80=3200, Resulting Numbers: [3200]
3200,74 unequal: No Solution
Exploring Operation: 80-40=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 40+80=120, Resulting Numbers: [120]
120,74 unequal: No Solution
Moving to Node #0,4,3
Current State: 74:[42, 78], Operations: ['44-2=42', '38+40=78']
Exploring Operation: 42*78=3276, Resulting Numbers: [3276]
3276,74 unequal: No Solution
Exploring Operation: 42+78=120, Resulting Numbers: [120]
120,74 unequal: No Solution
Exploring Operation: 78-42=36, Resulting Numbers: [36]
36,74 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 |
[
62,
78,
39,
55
] | 69 | [
"62*78=4836",
"4836/39=124",
"124-55=69"
] | Current State: 69:[62, 78, 39, 55], Operations: []
Exploring Operation: 62*78=4836, Resulting Numbers: [39, 55, 4836]
Generated Node #2: [39, 55, 4836] from Operation: 62*78=4836
Current State: 69:[39, 55, 4836], Operations: ['62*78=4836']
Exploring Operation: 4836/39=124, Resulting Numbers: [55, 124]
Generated Node #3: [55, 124] from Operation: 4836/39=124
Current State: 69:[55, 124], Operations: ['62*78=4836', '4836/39=124']
Exploring Operation: 124-55=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[62, 78, 39, 55], Operations: []
Exploring Operation: 78/39=2, Resulting Numbers: [62, 55, 2]
Generated Node #0,0: 69:[62, 55, 2] Operation: 78/39=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[62, 55, 2], Operations: ['78/39=2']
Exploring Operation: 62-55=7, Resulting Numbers: [2, 7]
Generated Node #0,0,0: 69:[2, 7] Operation: 62-55=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[2, 7], Operations: ['78/39=2', '62-55=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,69 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 |
[
27,
76,
3,
77
] | 84 | [
"76-27=49",
"77-49=28",
"3*28=84"
] | Current State: 84:[27, 76, 3, 77], Operations: []
Exploring Operation: 76-27=49, Resulting Numbers: [3, 77, 49]
Generated Node #2: [3, 77, 49] from Operation: 76-27=49
Current State: 84:[3, 77, 49], Operations: ['76-27=49']
Exploring Operation: 77-49=28, Resulting Numbers: [3, 28]
Generated Node #3: [3, 28] from Operation: 77-49=28
Current State: 84:[3, 28], Operations: ['76-27=49', '77-49=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[27, 76, 3, 77], Operations: []
Exploring Operation: 76+3=79, Resulting Numbers: [27, 77, 79]
Generated Node #0,0: 84:[27, 77, 79] Operation: 76+3=79
Exploring Operation: 77-76=1, Resulting Numbers: [27, 3, 1]
Generated Node #0,1: 84:[27, 3, 1] Operation: 77-76=1
Exploring Operation: 3+77=80, Resulting Numbers: [27, 76, 80]
Generated Node #0,2: 84:[27, 76, 80] Operation: 3+77=80
Moving to Node #0,1
Current State: 84:[27, 3, 1], Operations: ['77-76=1']
Exploring Operation: 27+1=28, Resulting Numbers: [3, 28]
Generated Node #0,1,0: 84:[3, 28] Operation: 27+1=28
Exploring Operation: 27/1=27, Resulting Numbers: [3, 27]
Generated Node #0,1,1: 84:[3, 27] Operation: 27/1=27
Exploring Operation: 27*1=27, Resulting Numbers: [3, 27]
Generated Node #0,1,2: 84:[3, 27] Operation: 27*1=27
Moving to Node #0,0
Current State: 84:[27, 77, 79], Operations: ['76+3=79']
Exploring Operation: 79-27=52, Resulting Numbers: [77, 52]
Generated Node #0,0,0: 84:[77, 52] Operation: 79-27=52
Exploring Operation: 77-27=50, Resulting Numbers: [79, 50]
Generated Node #0,0,1: 84:[79, 50] Operation: 77-27=50
Exploring Operation: 79-77=2, Resulting Numbers: [27, 2]
Generated Node #0,0,2: 84:[27, 2] Operation: 79-77=2
Moving to Node #0,2
Current State: 84:[27, 76, 80], Operations: ['3+77=80']
Exploring Operation: 76-27=49, Resulting Numbers: [80, 49]
Generated Node #0,2,0: 84:[80, 49] Operation: 76-27=49
Exploring Operation: 80-27=53, Resulting Numbers: [76, 53]
Generated Node #0,2,1: 84:[76, 53] Operation: 80-27=53
Exploring Operation: 80-76=4, Resulting Numbers: [27, 4]
Generated Node #0,2,2: 84:[27, 4] Operation: 80-76=4
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 84:[27, 4], Operations: ['3+77=80', '80-76=4']
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,84 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 84:[80, 49], Operations: ['3+77=80', '76-27=49']
Exploring Operation: 80*49=3920, Resulting Numbers: [3920]
3920,84 unequal: No Solution
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 80+49=129, Resulting Numbers: [129]
129,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 84:[76, 53], Operations: ['3+77=80', '80-27=53']
Exploring Operation: 76*53=4028, Resulting Numbers: [4028]
4028,84 unequal: No Solution
Exploring Operation: 76-53=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Exploring Operation: 76+53=129, Resulting Numbers: [129]
129,84 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: 84:[3, 28], Operations: ['77-76=1', '27+1=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[27, 76, 3, 77], Operations: []
Exploring Operation: 77-76=1, Resulting Numbers: [27, 3, 1]
Generated Node #0,1: 84:[27, 3, 1] Operation: 77-76=1
Moving to Node #0,1
Current State: 84:[27, 3, 1], Operations: ['77-76=1']
Exploring Operation: 27+1=28, Resulting Numbers: [3, 28]
Generated Node #0,1,0: 84:[3, 28] Operation: 27+1=28
Moving to Node #0,1,0
Current State: 84:[3, 28], Operations: ['77-76=1', '27+1=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.977431 | hs_3 | sum_heuristic |
[
8,
97,
13,
59
] | 96 | [
"97+59=156",
"8*156=1248",
"1248/13=96"
] | Current State: 96:[8, 97, 13, 59], Operations: []
Exploring Operation: 97+59=156, Resulting Numbers: [8, 13, 156]
Generated Node #2: [8, 13, 156] from Operation: 97+59=156
Current State: 96:[8, 13, 156], Operations: ['97+59=156']
Exploring Operation: 8*156=1248, Resulting Numbers: [13, 1248]
Generated Node #3: [13, 1248] from Operation: 8*156=1248
Current State: 96:[13, 1248], Operations: ['97+59=156', '8*156=1248']
Exploring Operation: 1248/13=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[8, 97, 13, 59], Operations: []
Exploring Operation: 59-13=46, Resulting Numbers: [8, 97, 46]
Generated Node #0,0: 96:[8, 97, 46] Operation: 59-13=46
Exploring Operation: 13-8=5, Resulting Numbers: [97, 59, 5]
Generated Node #0,1: 96:[97, 59, 5] Operation: 13-8=5
Exploring Operation: 97-59=38, Resulting Numbers: [8, 13, 38]
Generated Node #0,2: 96:[8, 13, 38] Operation: 97-59=38
Exploring Operation: 59-8=51, Resulting Numbers: [97, 13, 51]
Generated Node #0,3: 96:[97, 13, 51] Operation: 59-8=51
Exploring Operation: 8+13=21, Resulting Numbers: [97, 59, 21]
Generated Node #0,4: 96:[97, 59, 21] Operation: 8+13=21
Moving to Node #0,0
Current State: 96:[8, 97, 46], Operations: ['59-13=46']
Exploring Operation: 97-46=51, Resulting Numbers: [8, 51]
Generated Node #0,0,0: 96:[8, 51] Operation: 97-46=51
Exploring Operation: 46-8=38, Resulting Numbers: [97, 38]
Generated Node #0,0,1: 96:[97, 38] Operation: 46-8=38
Exploring Operation: 8+97=105, Resulting Numbers: [46, 105]
Generated Node #0,0,2: 96:[46, 105] Operation: 8+97=105
Exploring Operation: 8+46=54, Resulting Numbers: [97, 54]
Generated Node #0,0,3: 96:[97, 54] Operation: 8+46=54
Exploring Operation: 97-8=89, Resulting Numbers: [46, 89]
Generated Node #0,0,4: 96:[46, 89] Operation: 97-8=89
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[8, 51], Operations: ['59-13=46', '97-46=51']
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Exploring Operation: 8*51=408, Resulting Numbers: [408]
408,96 unequal: No Solution
Exploring Operation: 8+51=59, Resulting Numbers: [59]
59,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[97, 38], Operations: ['59-13=46', '46-8=38']
Exploring Operation: 97-38=59, Resulting Numbers: [59]
59,96 unequal: No Solution
Exploring Operation: 97*38=3686, Resulting Numbers: [3686]
3686,96 unequal: No Solution
Exploring Operation: 97+38=135, Resulting Numbers: [135]
135,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 96:[97, 54], Operations: ['59-13=46', '8+46=54']
Exploring Operation: 97*54=5238, Resulting Numbers: [5238]
5238,96 unequal: No Solution
Exploring Operation: 97-54=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Exploring Operation: 97+54=151, Resulting Numbers: [151]
151,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 96:[46, 89], Operations: ['59-13=46', '97-8=89']
Exploring Operation: 89-46=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Exploring Operation: 46*89=4094, Resulting Numbers: [4094]
4094,96 unequal: No Solution
Exploring Operation: 46+89=135, Resulting Numbers: [135]
135,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 96:[46, 105], Operations: ['59-13=46', '8+97=105']
Exploring Operation: 105-46=59, Resulting Numbers: [59]
59,96 unequal: No Solution
Exploring Operation: 46+105=151, Resulting Numbers: [151]
151,96 unequal: No Solution
Exploring Operation: 46*105=4830, Resulting Numbers: [4830]
4830,96 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: 96:[97, 13, 51], Operations: ['59-8=51']
Exploring Operation: 51-13=38, Resulting Numbers: [97, 38]
Generated Node #0,3,0: 96:[97, 38] Operation: 51-13=38
Exploring Operation: 97-13=84, Resulting Numbers: [51, 84]
Generated Node #0,3,1: 96:[51, 84] Operation: 97-13=84
Exploring Operation: 13+51=64, Resulting Numbers: [97, 64]
Generated Node #0,3,2: 96:[97, 64] Operation: 13+51=64
Exploring Operation: 97-51=46, Resulting Numbers: [13, 46]
Generated Node #0,3,3: 96:[13, 46] Operation: 97-51=46
Exploring Operation: 97+13=110, Resulting Numbers: [51, 110]
Generated Node #0,3,4: 96:[51, 110] Operation: 97+13=110
Moving to Node #0,2
Current State: 96:[8, 13, 38], Operations: ['97-59=38']
Exploring Operation: 8+38=46, Resulting Numbers: [13, 46]
Generated Node #0,2,0: 96:[13, 46] Operation: 8+38=46
Exploring Operation: 38-8=30, Resulting Numbers: [13, 30]
Generated Node #0,2,1: 96:[13, 30] Operation: 38-8=30
Exploring Operation: 13+38=51, Resulting Numbers: [8, 51]
Generated Node #0,2,2: 96:[8, 51] Operation: 13+38=51
Exploring Operation: 38-13=25, Resulting Numbers: [8, 25]
Generated Node #0,2,3: 96:[8, 25] Operation: 38-13=25
Exploring Operation: 13-8=5, Resulting Numbers: [38, 5]
Generated Node #0,2,4: 96:[38, 5] Operation: 13-8=5
Moving to Node #0,1
Current State: 96:[97, 59, 5], Operations: ['13-8=5']
Exploring Operation: 97-5=92, Resulting Numbers: [59, 92]
Generated Node #0,1,0: 96:[59, 92] Operation: 97-5=92
Exploring Operation: 59+5=64, Resulting Numbers: [97, 64]
Generated Node #0,1,1: 96:[97, 64] Operation: 59+5=64
Exploring Operation: 97+5=102, Resulting Numbers: [59, 102]
Generated Node #0,1,2: 96:[59, 102] Operation: 97+5=102
Exploring Operation: 97-59=38, Resulting Numbers: [5, 38]
Generated Node #0,1,3: 96:[5, 38] Operation: 97-59=38
Exploring Operation: 59-5=54, Resulting Numbers: [97, 54]
Generated Node #0,1,4: 96:[97, 54] Operation: 59-5=54
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 96:[5, 38], Operations: ['13-8=5', '97-59=38']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,96 unequal: No Solution
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 96:[97, 54], Operations: ['13-8=5', '59-5=54']
Exploring Operation: 97-54=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Exploring Operation: 97+54=151, Resulting Numbers: [151]
151,96 unequal: No Solution
Exploring Operation: 97*54=5238, Resulting Numbers: [5238]
5238,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[59, 92], Operations: ['13-8=5', '97-5=92']
Exploring Operation: 59+92=151, Resulting Numbers: [151]
151,96 unequal: No Solution
Exploring Operation: 92-59=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Exploring Operation: 59*92=5428, Resulting Numbers: [5428]
5428,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[97, 64], Operations: ['13-8=5', '59+5=64']
Exploring Operation: 97+64=161, Resulting Numbers: [161]
161,96 unequal: No Solution
Exploring Operation: 97-64=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Exploring Operation: 97*64=6208, Resulting Numbers: [6208]
6208,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 96:[59, 102], Operations: ['13-8=5', '97+5=102']
Exploring Operation: 59+102=161, Resulting Numbers: [161]
161,96 unequal: No Solution
Exploring Operation: 102-59=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Exploring Operation: 59*102=6018, Resulting Numbers: [6018]
6018,96 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: 96:[97, 59, 21], Operations: ['8+13=21']
Exploring Operation: 97+21=118, Resulting Numbers: [59, 118]
Generated Node #0,4,0: 96:[59, 118] Operation: 97+21=118
Exploring Operation: 59-21=38, Resulting Numbers: [97, 38]
Generated Node #0,4,1: 96:[97, 38] Operation: 59-21=38
Exploring Operation: 59+21=80, Resulting Numbers: [97, 80]
Generated Node #0,4,2: 96:[97, 80] Operation: 59+21=80
Exploring Operation: 97-21=76, Resulting Numbers: [59, 76]
Generated Node #0,4,3: 96:[59, 76] Operation: 97-21=76
Exploring Operation: 97-59=38, Resulting Numbers: [21, 38]
Generated Node #0,4,4: 96:[21, 38] Operation: 97-59=38
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 96:[97, 38], Operations: ['8+13=21', '59-21=38']
Exploring Operation: 97*38=3686, Resulting Numbers: [3686]
3686,96 unequal: No Solution
Exploring Operation: 97-38=59, Resulting Numbers: [59]
59,96 unequal: No Solution
Exploring Operation: 97+38=135, Resulting Numbers: [135]
135,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 96:[21, 38], Operations: ['8+13=21', '97-59=38']
Exploring Operation: 21*38=798, Resulting Numbers: [798]
798,96 unequal: No Solution
Exploring Operation: 21+38=59, Resulting Numbers: [59]
59,96 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 96:[97, 80], Operations: ['8+13=21', '59+21=80']
Exploring Operation: 97*80=7760, Resulting Numbers: [7760]
7760,96 unequal: No Solution
Exploring Operation: 97+80=177, Resulting Numbers: [177]
177,96 unequal: No Solution
Exploring Operation: 97-80=17, Resulting Numbers: [17]
17,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 96:[59, 76], Operations: ['8+13=21', '97-21=76']
Exploring Operation: 59+76=135, Resulting Numbers: [135]
135,96 unequal: No Solution
Exploring Operation: 59*76=4484, Resulting Numbers: [4484]
4484,96 unequal: No Solution
Exploring Operation: 76-59=17, Resulting Numbers: [17]
17,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 96:[59, 118], Operations: ['8+13=21', '97+21=118']
Exploring Operation: 118-59=59, Resulting Numbers: [59]
59,96 unequal: No Solution
Exploring Operation: 59+118=177, Resulting Numbers: [177]
177,96 unequal: No Solution
Exploring Operation: 118/59=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 59*118=6962, Resulting Numbers: [6962]
6962,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 96:[8, 25], Operations: ['97-59=38', '38-13=25']
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 8*25=200, Resulting Numbers: [200]
200,96 unequal: No Solution
Moving to Node #0,3,3
Current State: 96:[13, 46], Operations: ['59-8=51', '97-51=46']
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Exploring Operation: 13*46=598, Resulting Numbers: [598]
598,96 unequal: No Solution
Exploring Operation: 13+46=59, Resulting Numbers: [59]
59,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[13, 46], Operations: ['97-59=38', '8+38=46']
Exploring Operation: 13+46=59, Resulting Numbers: [59]
59,96 unequal: No Solution
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Exploring Operation: 13*46=598, Resulting Numbers: [598]
598,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[13, 30], Operations: ['97-59=38', '38-8=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,96 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[8, 51], Operations: ['97-59=38', '13+38=51']
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Exploring Operation: 8+51=59, Resulting Numbers: [59]
59,96 unequal: No Solution
Exploring Operation: 8*51=408, Resulting Numbers: [408]
408,96 unequal: No Solution
Moving to Node #0,3,0
Current State: 96:[97, 38], Operations: ['59-8=51', '51-13=38']
Exploring Operation: 97*38=3686, Resulting Numbers: [3686]
3686,96 unequal: No Solution
Exploring Operation: 97-38=59, Resulting Numbers: [59]
59,96 unequal: No Solution
Exploring Operation: 97+38=135, Resulting Numbers: [135]
135,96 unequal: No Solution
Moving to Node #0,2,4
Current State: 96:[38, 5], Operations: ['97-59=38', '13-8=5']
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Exploring Operation: 38*5=190, Resulting Numbers: [190]
190,96 unequal: No Solution
Moving to Node #0,3,1
Current State: 96:[51, 84], Operations: ['59-8=51', '97-13=84']
Exploring Operation: 84-51=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Exploring Operation: 51*84=4284, Resulting Numbers: [4284]
4284,96 unequal: No Solution
Exploring Operation: 51+84=135, Resulting Numbers: [135]
135,96 unequal: No Solution
Moving to Node #0,3,2
Current State: 96:[97, 64], Operations: ['59-8=51', '13+51=64']
Exploring Operation: 97*64=6208, Resulting Numbers: [6208]
6208,96 unequal: No Solution
Exploring Operation: 97-64=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Exploring Operation: 97+64=161, Resulting Numbers: [161]
161,96 unequal: No Solution
Moving to Node #0,3,4
Current State: 96:[51, 110], Operations: ['59-8=51', '97+13=110']
Exploring Operation: 51+110=161, Resulting Numbers: [161]
161,96 unequal: No Solution
Exploring Operation: 110-51=59, Resulting Numbers: [59]
59,96 unequal: No Solution
Exploring Operation: 51*110=5610, Resulting Numbers: [5610]
5610,96 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
95,
93,
94,
14
] | 66 | [
"95-93=2",
"14*2=28",
"94-28=66"
] | Current State: 66:[95, 93, 94, 14], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [94, 14, 2]
Generated Node #2: [94, 14, 2] from Operation: 95-93=2
Current State: 66:[94, 14, 2], Operations: ['95-93=2']
Exploring Operation: 14*2=28, Resulting Numbers: [94, 28]
Generated Node #3: [94, 28] from Operation: 14*2=28
Current State: 66:[94, 28], Operations: ['95-93=2', '14*2=28']
Exploring Operation: 94-28=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[95, 93, 94, 14], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [94, 14, 2]
Generated Node #0,0: 66:[94, 14, 2] Operation: 95-93=2
Exploring Operation: 93-14=79, Resulting Numbers: [95, 94, 79]
Generated Node #0,1: 66:[95, 94, 79] Operation: 93-14=79
Exploring Operation: 94-93=1, Resulting Numbers: [95, 14, 1]
Generated Node #0,2: 66:[95, 14, 1] Operation: 94-93=1
Exploring Operation: 95-14=81, Resulting Numbers: [93, 94, 81]
Generated Node #0,3: 66:[93, 94, 81] Operation: 95-14=81
Exploring Operation: 95-94=1, Resulting Numbers: [93, 14, 1]
Generated Node #0,4: 66:[93, 14, 1] Operation: 95-94=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[94, 14, 2], Operations: ['95-93=2']
Exploring Operation: 14/2=7, Resulting Numbers: [94, 7]
Generated Node #0,0,0: 66:[94, 7] Operation: 14/2=7
Exploring Operation: 94-2=92, Resulting Numbers: [14, 92]
Generated Node #0,0,1: 66:[14, 92] Operation: 94-2=92
Exploring Operation: 94/2=47, Resulting Numbers: [14, 47]
Generated Node #0,0,2: 66:[14, 47] Operation: 94/2=47
Exploring Operation: 94-14=80, Resulting Numbers: [2, 80]
Generated Node #0,0,3: 66:[2, 80] Operation: 94-14=80
Exploring Operation: 14-2=12, Resulting Numbers: [94, 12]
Generated Node #0,0,4: 66:[94, 12] Operation: 14-2=12
Moving to Node #0,0,3
Current State: 66:[2, 80], Operations: ['95-93=2', '94-14=80']
Exploring Operation: 2+80=82, Resulting Numbers: [82]
82,66 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Exploring Operation: 2*80=160, Resulting Numbers: [160]
160,66 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[14, 47], Operations: ['95-93=2', '94/2=47']
Exploring Operation: 14+47=61, Resulting Numbers: [61]
61,66 unequal: No Solution
Exploring Operation: 14*47=658, Resulting Numbers: [658]
658,66 unequal: No Solution
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[94, 7], Operations: ['95-93=2', '14/2=7']
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,66 unequal: No Solution
Exploring Operation: 94+7=101, Resulting Numbers: [101]
101,66 unequal: No Solution
Exploring Operation: 94*7=658, Resulting Numbers: [658]
658,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[14, 92], Operations: ['95-93=2', '94-2=92']
Exploring Operation: 92-14=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Exploring Operation: 14*92=1288, Resulting Numbers: [1288]
1288,66 unequal: No Solution
Exploring Operation: 14+92=106, Resulting Numbers: [106]
106,66 unequal: No Solution
Moving to Node #0,0,4
Current State: 66:[94, 12], Operations: ['95-93=2', '14-2=12']
Exploring Operation: 94*12=1128, Resulting Numbers: [1128]
1128,66 unequal: No Solution
Exploring Operation: 94-12=82, Resulting Numbers: [82]
82,66 unequal: No Solution
Exploring Operation: 94+12=106, Resulting Numbers: [106]
106,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
Current State: 66:[93, 14, 1], Operations: ['95-94=1']
Exploring Operation: 93/1=93, Resulting Numbers: [14, 93]
Generated Node #0,4,0: 66:[14, 93] Operation: 93/1=93
Exploring Operation: 93-1=92, Resulting Numbers: [14, 92]
Generated Node #0,4,1: 66:[14, 92] Operation: 93-1=92
Exploring Operation: 93-14=79, Resulting Numbers: [1, 79]
Generated Node #0,4,2: 66:[1, 79] Operation: 93-14=79
Exploring Operation: 93*1=93, Resulting Numbers: [14, 93]
Generated Node #0,4,3: 66:[14, 93] Operation: 93*1=93
Exploring Operation: 14-1=13, Resulting Numbers: [93, 13]
Generated Node #0,4,4: 66:[93, 13] Operation: 14-1=13
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 66:[1, 79], Operations: ['95-94=1', '93-14=79']
Exploring Operation: 1*79=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Exploring Operation: 1+79=80, Resulting Numbers: [80]
80,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 66:[14, 92], Operations: ['95-94=1', '93-1=92']
Exploring Operation: 14+92=106, Resulting Numbers: [106]
106,66 unequal: No Solution
Exploring Operation: 14*92=1288, Resulting Numbers: [1288]
1288,66 unequal: No Solution
Exploring Operation: 92-14=78, Resulting Numbers: [78]
78,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 66:[93, 13], Operations: ['95-94=1', '14-1=13']
Exploring Operation: 93*13=1209, Resulting Numbers: [1209]
1209,66 unequal: No Solution
Exploring Operation: 93+13=106, Resulting Numbers: [106]
106,66 unequal: No Solution
Exploring Operation: 93-13=80, Resulting Numbers: [80]
80,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 66:[14, 93], Operations: ['95-94=1', '93/1=93']
Exploring Operation: 14*93=1302, Resulting Numbers: [1302]
1302,66 unequal: No Solution
Exploring Operation: 93-14=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Exploring Operation: 14+93=107, Resulting Numbers: [107]
107,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 66:[14, 93], Operations: ['95-94=1', '93*1=93']
Exploring Operation: 14*93=1302, Resulting Numbers: [1302]
1302,66 unequal: No Solution
Exploring Operation: 93-14=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Exploring Operation: 14+93=107, Resulting Numbers: [107]
107,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[95, 14, 1], Operations: ['94-93=1']
Exploring Operation: 14-1=13, Resulting Numbers: [95, 13]
Generated Node #0,2,0: 66:[95, 13] Operation: 14-1=13
Exploring Operation: 95-14=81, Resulting Numbers: [1, 81]
Generated Node #0,2,1: 66:[1, 81] Operation: 95-14=81
Exploring Operation: 95-1=94, Resulting Numbers: [14, 94]
Generated Node #0,2,2: 66:[14, 94] Operation: 95-1=94
Exploring Operation: 95*1=95, Resulting Numbers: [14, 95]
Generated Node #0,2,3: 66:[14, 95] Operation: 95*1=95
Exploring Operation: 95/1=95, Resulting Numbers: [14, 95]
Generated Node #0,2,4: 66:[14, 95] Operation: 95/1=95
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 66:[1, 81], Operations: ['94-93=1', '95-14=81']
Exploring Operation: 1+81=82, Resulting Numbers: [82]
82,66 unequal: No Solution
Exploring Operation: 1*81=81, Resulting Numbers: [81]
81,66 unequal: No Solution
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,66 unequal: No Solution
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 66:[95, 13], Operations: ['94-93=1', '14-1=13']
Exploring Operation: 95-13=82, Resulting Numbers: [82]
82,66 unequal: No Solution
Exploring Operation: 95+13=108, Resulting Numbers: [108]
108,66 unequal: No Solution
Exploring Operation: 95*13=1235, Resulting Numbers: [1235]
1235,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 66:[14, 94], Operations: ['94-93=1', '95-1=94']
Exploring Operation: 94-14=80, Resulting Numbers: [80]
80,66 unequal: No Solution
Exploring Operation: 14*94=1316, Resulting Numbers: [1316]
1316,66 unequal: No Solution
Exploring Operation: 14+94=108, Resulting Numbers: [108]
108,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 66:[14, 95], Operations: ['94-93=1', '95*1=95']
Exploring Operation: 14*95=1330, Resulting Numbers: [1330]
1330,66 unequal: No Solution
Exploring Operation: 14+95=109, Resulting Numbers: [109]
109,66 unequal: No Solution
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 66:[14, 95], Operations: ['94-93=1', '95/1=95']
Exploring Operation: 14+95=109, Resulting Numbers: [109]
109,66 unequal: No Solution
Exploring Operation: 14*95=1330, Resulting Numbers: [1330]
1330,66 unequal: No Solution
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[95, 94, 79], Operations: ['93-14=79']
Exploring Operation: 95+94=189, Resulting Numbers: [79, 189]
Generated Node #0,1,0: 66:[79, 189] Operation: 95+94=189
Exploring Operation: 94-79=15, Resulting Numbers: [95, 15]
Generated Node #0,1,1: 66:[95, 15] Operation: 94-79=15
Exploring Operation: 95-79=16, Resulting Numbers: [94, 16]
Generated Node #0,1,2: 66:[94, 16] Operation: 95-79=16
Exploring Operation: 95-94=1, Resulting Numbers: [79, 1]
Generated Node #0,1,3: 66:[79, 1] Operation: 95-94=1
Exploring Operation: 95+79=174, Resulting Numbers: [94, 174]
Generated Node #0,1,4: 66:[94, 174] Operation: 95+79=174
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 66:[79, 1], Operations: ['93-14=79', '95-94=1']
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Exploring Operation: 79+1=80, Resulting Numbers: [80]
80,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[95, 15], Operations: ['93-14=79', '94-79=15']
Exploring Operation: 95-15=80, Resulting Numbers: [80]
80,66 unequal: No Solution
Exploring Operation: 95+15=110, Resulting Numbers: [110]
110,66 unequal: No Solution
Exploring Operation: 95*15=1425, Resulting Numbers: [1425]
1425,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 66:[94, 16], Operations: ['93-14=79', '95-79=16']
Exploring Operation: 94+16=110, Resulting Numbers: [110]
110,66 unequal: No Solution
Exploring Operation: 94*16=1504, Resulting Numbers: [1504]
1504,66 unequal: No Solution
Exploring Operation: 94-16=78, Resulting Numbers: [78]
78,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[79, 189], Operations: ['93-14=79', '95+94=189']
Exploring Operation: 79*189=14931, Resulting Numbers: [14931]
14931,66 unequal: No Solution
Exploring Operation: 79+189=268, Resulting Numbers: [268]
268,66 unequal: No Solution
Exploring Operation: 189-79=110, Resulting Numbers: [110]
110,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 66:[94, 174], Operations: ['93-14=79', '95+79=174']
Exploring Operation: 94*174=16356, Resulting Numbers: [16356]
16356,66 unequal: No Solution
Exploring Operation: 174-94=80, Resulting Numbers: [80]
80,66 unequal: No Solution
Exploring Operation: 94+174=268, Resulting Numbers: [268]
268,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 66:[93, 94, 81], Operations: ['95-14=81']
Exploring Operation: 93+94=187, Resulting Numbers: [81, 187]
Generated Node #0,3,0: 66:[81, 187] Operation: 93+94=187
Exploring Operation: 94-81=13, Resulting Numbers: [93, 13]
Generated Node #0,3,1: 66:[93, 13] Operation: 94-81=13
Exploring Operation: 93+81=174, Resulting Numbers: [94, 174]
Generated Node #0,3,2: 66:[94, 174] Operation: 93+81=174
Exploring Operation: 94-93=1, Resulting Numbers: [81, 1]
Generated Node #0,3,3: 66:[81, 1] Operation: 94-93=1
Exploring Operation: 93-81=12, Resulting Numbers: [94, 12]
Generated Node #0,3,4: 66:[94, 12] Operation: 93-81=12
Moving to Node #0,3,3
Current State: 66:[81, 1], Operations: ['95-14=81', '94-93=1']
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,66 unequal: No Solution
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,66 unequal: No Solution
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,66 unequal: No Solution
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,66 unequal: No Solution
Moving to Node #0,3,4
Current State: 66:[94, 12], Operations: ['95-14=81', '93-81=12']
Exploring Operation: 94-12=82, Resulting Numbers: [82]
82,66 unequal: No Solution
Exploring Operation: 94*12=1128, Resulting Numbers: [1128]
1128,66 unequal: No Solution
Exploring Operation: 94+12=106, Resulting Numbers: [106]
106,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[93, 13], Operations: ['95-14=81', '94-81=13']
Exploring Operation: 93+13=106, Resulting Numbers: [106]
106,66 unequal: No Solution
Exploring Operation: 93*13=1209, Resulting Numbers: [1209]
1209,66 unequal: No Solution
Exploring Operation: 93-13=80, Resulting Numbers: [80]
80,66 unequal: No Solution
Moving to Node #0,3,0
Current State: 66:[81, 187], Operations: ['95-14=81', '93+94=187']
Exploring Operation: 81*187=15147, Resulting Numbers: [15147]
15147,66 unequal: No Solution
Exploring Operation: 187-81=106, Resulting Numbers: [106]
106,66 unequal: No Solution
Exploring Operation: 81+187=268, Resulting Numbers: [268]
268,66 unequal: No Solution
Moving to Node #0,3,2
Current State: 66:[94, 174], Operations: ['95-14=81', '93+81=174']
Exploring Operation: 174-94=80, Resulting Numbers: [80]
80,66 unequal: No Solution
Exploring Operation: 94+174=268, Resulting Numbers: [268]
268,66 unequal: No Solution
Exploring Operation: 94*174=16356, Resulting Numbers: [16356]
16356,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
19,
3,
29,
70
] | 19 | [
"19+3=22",
"70-29=41",
"41-22=19"
] | Current State: 19:[19, 3, 29, 70], Operations: []
Exploring Operation: 19+3=22, Resulting Numbers: [29, 70, 22]
Generated Node #2: [29, 70, 22] from Operation: 19+3=22
Current State: 19:[29, 70, 22], Operations: ['19+3=22']
Exploring Operation: 70-29=41, Resulting Numbers: [22, 41]
Generated Node #3: [22, 41] from Operation: 70-29=41
Current State: 19:[22, 41], Operations: ['19+3=22', '70-29=41']
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[19, 3, 29, 70], Operations: []
Exploring Operation: 70-29=41, Resulting Numbers: [19, 3, 41]
Generated Node #0,0: 19:[19, 3, 41] Operation: 70-29=41
Moving to Node #0,0
Current State: 19:[19, 3, 41], Operations: ['70-29=41']
Exploring Operation: 41-19=22, Resulting Numbers: [3, 22]
Generated Node #0,0,0: 19:[3, 22] Operation: 41-19=22
Moving to Node #0,0,0
Current State: 19:[3, 22], Operations: ['70-29=41', '41-19=22']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[19, 3, 29, 70], Operations: []
Exploring Operation: 70-29=41, Resulting Numbers: [19, 3, 41]
Generated Node #0,0: 19:[19, 3, 41] Operation: 70-29=41
Moving to Node #0,0
Current State: 19:[19, 3, 41], Operations: ['70-29=41']
Exploring Operation: 41-19=22, Resulting Numbers: [3, 22]
Generated Node #0,0,0: 19:[3, 22] Operation: 41-19=22
Moving to Node #0,0,0
Current State: 19:[3, 22], Operations: ['70-29=41', '41-19=22']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
8,
19,
76,
23
] | 88 | [
"19-8=11",
"76+23=99",
"99-11=88"
] | Current State: 88:[8, 19, 76, 23], Operations: []
Exploring Operation: 19-8=11, Resulting Numbers: [76, 23, 11]
Generated Node #2: [76, 23, 11] from Operation: 19-8=11
Current State: 88:[76, 23, 11], Operations: ['19-8=11']
Exploring Operation: 76+23=99, Resulting Numbers: [11, 99]
Generated Node #3: [11, 99] from Operation: 76+23=99
Current State: 88:[11, 99], Operations: ['19-8=11', '76+23=99']
Exploring Operation: 99-11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[8, 19, 76, 23], Operations: []
Exploring Operation: 23-19=4, Resulting Numbers: [8, 76, 4]
Generated Node #0,0: 88:[8, 76, 4] Operation: 23-19=4
Exploring Operation: 8+76=84, Resulting Numbers: [19, 23, 84]
Generated Node #0,1: 88:[19, 23, 84] Operation: 8+76=84
Exploring Operation: 19+76=95, Resulting Numbers: [8, 23, 95]
Generated Node #0,2: 88:[8, 23, 95] Operation: 19+76=95
Exploring Operation: 76/19=4, Resulting Numbers: [8, 23, 4]
Generated Node #0,3: 88:[8, 23, 4] Operation: 76/19=4
Moving to Node #0,3
Current State: 88:[8, 23, 4], Operations: ['76/19=4']
Exploring Operation: 8/4=2, Resulting Numbers: [23, 2]
Generated Node #0,3,0: 88:[23, 2] Operation: 8/4=2
Exploring Operation: 8+4=12, Resulting Numbers: [23, 12]
Generated Node #0,3,1: 88:[23, 12] Operation: 8+4=12
Exploring Operation: 23-4=19, Resulting Numbers: [8, 19]
Generated Node #0,3,2: 88:[8, 19] Operation: 23-4=19
Exploring Operation: 8-4=4, Resulting Numbers: [23, 4]
Generated Node #0,3,3: 88:[23, 4] Operation: 8-4=4
Moving to Node #0,2
Current State: 88:[8, 23, 95], Operations: ['19+76=95']
Exploring Operation: 8+23=31, Resulting Numbers: [95, 31]
Generated Node #0,2,0: 88:[95, 31] Operation: 8+23=31
Exploring Operation: 23-8=15, Resulting Numbers: [95, 15]
Generated Node #0,2,1: 88:[95, 15] Operation: 23-8=15
Exploring Operation: 8+95=103, Resulting Numbers: [23, 103]
Generated Node #0,2,2: 88:[23, 103] Operation: 8+95=103
Exploring Operation: 95-8=87, Resulting Numbers: [23, 87]
Generated Node #0,2,3: 88:[23, 87] Operation: 95-8=87
Moving to Node #0,1
Current State: 88:[19, 23, 84], Operations: ['8+76=84']
Exploring Operation: 84-23=61, Resulting Numbers: [19, 61]
Generated Node #0,1,0: 88:[19, 61] Operation: 84-23=61
Exploring Operation: 19+23=42, Resulting Numbers: [84, 42]
Generated Node #0,1,1: 88:[84, 42] Operation: 19+23=42
Exploring Operation: 23-19=4, Resulting Numbers: [84, 4]
Generated Node #0,1,2: 88:[84, 4] Operation: 23-19=4
Exploring Operation: 19+84=103, Resulting Numbers: [23, 103]
Generated Node #0,1,3: 88:[23, 103] Operation: 19+84=103
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 88:[84, 4], Operations: ['8+76=84', '23-19=4']
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Exploring Operation: 84+4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[8, 19, 76, 23], Operations: []
Exploring Operation: 8+76=84, Resulting Numbers: [19, 23, 84]
Generated Node #0,1: 88:[19, 23, 84] Operation: 8+76=84
Moving to Node #0,1
Current State: 88:[19, 23, 84], Operations: ['8+76=84']
Exploring Operation: 23-19=4, Resulting Numbers: [84, 4]
Generated Node #0,1,2: 88:[84, 4] Operation: 23-19=4
Moving to Node #0,1,2
Current State: 88:[84, 4], Operations: ['8+76=84', '23-19=4']
Exploring Operation: 84+4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | sum_heuristic |
[
52,
67,
89,
75
] | 25 | [
"52*75=3900",
"67+89=156",
"3900/156=25"
] | Current State: 25:[52, 67, 89, 75], Operations: []
Exploring Operation: 52*75=3900, Resulting Numbers: [67, 89, 3900]
Generated Node #2: [67, 89, 3900] from Operation: 52*75=3900
Current State: 25:[67, 89, 3900], Operations: ['52*75=3900']
Exploring Operation: 67+89=156, Resulting Numbers: [3900, 156]
Generated Node #3: [3900, 156] from Operation: 67+89=156
Current State: 25:[3900, 156], Operations: ['52*75=3900', '67+89=156']
Exploring Operation: 3900/156=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[52, 67, 89, 75], Operations: []
Exploring Operation: 89-75=14, Resulting Numbers: [52, 67, 14]
Generated Node #0,0: 25:[52, 67, 14] Operation: 89-75=14
Moving to Node #0,0
Current State: 25:[52, 67, 14], Operations: ['89-75=14']
Exploring Operation: 67-52=15, Resulting Numbers: [14, 15]
Generated Node #0,0,0: 25:[14, 15] Operation: 67-52=15
Moving to Node #0,0,0
Current State: 25:[14, 15], Operations: ['89-75=14', '67-52=15']
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,25 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
42,
38,
75,
92
] | 87 | [
"42+38=80",
"75+92=167",
"167-80=87"
] | Current State: 87:[42, 38, 75, 92], Operations: []
Exploring Operation: 42+38=80, Resulting Numbers: [75, 92, 80]
Generated Node #2: [75, 92, 80] from Operation: 42+38=80
Current State: 87:[75, 92, 80], Operations: ['42+38=80']
Exploring Operation: 75+92=167, Resulting Numbers: [80, 167]
Generated Node #3: [80, 167] from Operation: 75+92=167
Current State: 87:[80, 167], Operations: ['42+38=80', '75+92=167']
Exploring Operation: 167-80=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[42, 38, 75, 92], Operations: []
Exploring Operation: 42-38=4, Resulting Numbers: [75, 92, 4]
Generated Node #0,0: 87:[75, 92, 4] Operation: 42-38=4
Exploring Operation: 75-42=33, Resulting Numbers: [38, 92, 33]
Generated Node #0,1: 87:[38, 92, 33] Operation: 75-42=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[75, 92, 4], Operations: ['42-38=4']
Exploring Operation: 92-75=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 87:[4, 17] Operation: 92-75=17
Exploring Operation: 75+4=79, Resulting Numbers: [92, 79]
Generated Node #0,0,1: 87:[92, 79] Operation: 75+4=79
Moving to Node #0,0,0
Current State: 87:[4, 17], Operations: ['42-38=4', '92-75=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[92, 79], Operations: ['42-38=4', '75+4=79']
Exploring Operation: 92+79=171, Resulting Numbers: [171]
171,87 unequal: No Solution
Exploring Operation: 92-79=13, Resulting Numbers: [13]
13,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[38, 92, 33], Operations: ['75-42=33']
Exploring Operation: 38+33=71, Resulting Numbers: [92, 71]
Generated Node #0,1,0: 87:[92, 71] Operation: 38+33=71
Exploring Operation: 38-33=5, Resulting Numbers: [92, 5]
Generated Node #0,1,1: 87:[92, 5] Operation: 38-33=5
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 87:[92, 5], Operations: ['75-42=33', '38-33=5']
Exploring Operation: 92+5=97, Resulting Numbers: [97]
97,87 unequal: No Solution
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[42, 38, 75, 92], Operations: []
Exploring Operation: 75-42=33, Resulting Numbers: [38, 92, 33]
Generated Node #0,1: 87:[38, 92, 33] Operation: 75-42=33
Moving to Node #0,1
Current State: 87:[38, 92, 33], Operations: ['75-42=33']
Exploring Operation: 38-33=5, Resulting Numbers: [92, 5]
Generated Node #0,1,1: 87:[92, 5] Operation: 38-33=5
Moving to Node #0,1,1
Current State: 87:[92, 5], Operations: ['75-42=33', '38-33=5']
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
87,
86,
76,
13
] | 57 | [
"87-76=11",
"13*11=143",
"143-86=57"
] | Current State: 57:[87, 86, 76, 13], Operations: []
Exploring Operation: 87-76=11, Resulting Numbers: [86, 13, 11]
Generated Node #2: [86, 13, 11] from Operation: 87-76=11
Current State: 57:[86, 13, 11], Operations: ['87-76=11']
Exploring Operation: 13*11=143, Resulting Numbers: [86, 143]
Generated Node #3: [86, 143] from Operation: 13*11=143
Current State: 57:[86, 143], Operations: ['87-76=11', '13*11=143']
Exploring Operation: 143-86=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[87, 86, 76, 13], Operations: []
Exploring Operation: 87-76=11, Resulting Numbers: [86, 13, 11]
Generated Node #0,0: 57:[86, 13, 11] Operation: 87-76=11
Exploring Operation: 87-86=1, Resulting Numbers: [76, 13, 1]
Generated Node #0,1: 57:[76, 13, 1] Operation: 87-86=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[76, 13, 1], Operations: ['87-86=1']
Exploring Operation: 76-13=63, Resulting Numbers: [1, 63]
Generated Node #0,1,0: 57:[1, 63] Operation: 76-13=63
Exploring Operation: 76-1=75, Resulting Numbers: [13, 75]
Generated Node #0,1,1: 57:[13, 75] Operation: 76-1=75
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[1, 63], Operations: ['87-86=1', '76-13=63']
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,57 unequal: No Solution
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[13, 75], Operations: ['87-86=1', '76-1=75']
Exploring Operation: 13+75=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 75-13=62, Resulting Numbers: [62]
62,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[86, 13, 11], Operations: ['87-76=11']
Exploring Operation: 86-13=73, Resulting Numbers: [11, 73]
Generated Node #0,0,0: 57:[11, 73] Operation: 86-13=73
Exploring Operation: 86-11=75, Resulting Numbers: [13, 75]
Generated Node #0,0,1: 57:[13, 75] Operation: 86-11=75
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[11, 73], Operations: ['87-76=11', '86-13=73']
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,57 unequal: No Solution
Exploring Operation: 11+73=84, Resulting Numbers: [84]
84,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[13, 75], Operations: ['87-76=11', '86-11=75']
Exploring Operation: 75-13=62, Resulting Numbers: [62]
62,57 unequal: No Solution
Exploring Operation: 13+75=88, Resulting Numbers: [88]
88,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
32,
47,
16,
48
] | 52 | [
"32+48=80",
"80/16=5",
"47+5=52"
] | Current State: 52:[32, 47, 16, 48], Operations: []
Exploring Operation: 32+48=80, Resulting Numbers: [47, 16, 80]
Generated Node #2: [47, 16, 80] from Operation: 32+48=80
Current State: 52:[47, 16, 80], Operations: ['32+48=80']
Exploring Operation: 80/16=5, Resulting Numbers: [47, 5]
Generated Node #3: [47, 5] from Operation: 80/16=5
Current State: 52:[47, 5], Operations: ['32+48=80', '80/16=5']
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[32, 47, 16, 48], Operations: []
Exploring Operation: 47-32=15, Resulting Numbers: [16, 48, 15]
Generated Node #0,0: 52:[16, 48, 15] Operation: 47-32=15
Exploring Operation: 32/16=2, Resulting Numbers: [47, 48, 2]
Generated Node #0,1: 52:[47, 48, 2] Operation: 32/16=2
Exploring Operation: 48-47=1, Resulting Numbers: [32, 16, 1]
Generated Node #0,2: 52:[32, 16, 1] Operation: 48-47=1
Moving to Node #0,0
Current State: 52:[16, 48, 15], Operations: ['47-32=15']
Exploring Operation: 48-16=32, Resulting Numbers: [15, 32]
Generated Node #0,0,0: 52:[15, 32] Operation: 48-16=32
Exploring Operation: 16-15=1, Resulting Numbers: [48, 1]
Generated Node #0,0,1: 52:[48, 1] Operation: 16-15=1
Exploring Operation: 48/16=3, Resulting Numbers: [15, 3]
Generated Node #0,0,2: 52:[15, 3] Operation: 48/16=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[15, 3], Operations: ['47-32=15', '48/16=3']
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,52 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,52 unequal: No Solution
No 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: 52:[48, 1], Operations: ['47-32=15', '16-15=1']
Exploring Operation: 48+1=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,52 unequal: No Solution
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,52 unequal: No Solution
No 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: 52:[15, 32], Operations: ['47-32=15', '48-16=32']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 15*32=480, Resulting Numbers: [480]
480,52 unequal: No Solution
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,52 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: 52:[47, 48, 2], Operations: ['32/16=2']
Exploring Operation: 48+2=50, Resulting Numbers: [47, 50]
Generated Node #0,1,0: 52:[47, 50] Operation: 48+2=50
Exploring Operation: 48-47=1, Resulting Numbers: [2, 1]
Generated Node #0,1,1: 52:[2, 1] Operation: 48-47=1
Exploring Operation: 47+2=49, Resulting Numbers: [48, 49]
Generated Node #0,1,2: 52:[48, 49] Operation: 47+2=49
Moving to Node #0,2
Current State: 52:[32, 16, 1], Operations: ['48-47=1']
Exploring Operation: 32+16=48, Resulting Numbers: [1, 48]
Generated Node #0,2,0: 52:[1, 48] Operation: 32+16=48
Exploring Operation: 32-16=16, Resulting Numbers: [1, 16]
Generated Node #0,2,1: 52:[1, 16] Operation: 32-16=16
Exploring Operation: 32/16=2, Resulting Numbers: [1, 2]
Generated Node #0,2,2: 52:[1, 2] Operation: 32/16=2
Moving to Node #0,1,1
Current State: 52:[2, 1], Operations: ['32/16=2', '48-47=1']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[1, 2], Operations: ['48-47=1', '32/16=2']
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[1, 16], Operations: ['48-47=1', '32-16=16']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[1, 48], Operations: ['48-47=1', '32+16=48']
Exploring Operation: 1*48=48, Resulting Numbers: [48]
48,52 unequal: No Solution
Exploring Operation: 1+48=49, Resulting Numbers: [49]
49,52 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[47, 50], Operations: ['32/16=2', '48+2=50']
Exploring Operation: 50-47=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 47+50=97, Resulting Numbers: [97]
97,52 unequal: No Solution
Exploring Operation: 47*50=2350, Resulting Numbers: [2350]
2350,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[48, 49], Operations: ['32/16=2', '47+2=49']
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 48+49=97, Resulting Numbers: [97]
97,52 unequal: No Solution
Exploring Operation: 48*49=2352, Resulting Numbers: [2352]
2352,52 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
5,
43,
9,
2
] | 15 | [
"5+43=48",
"48/2=24",
"24-9=15"
] | Current State: 15:[5, 43, 9, 2], Operations: []
Exploring Operation: 5+43=48, Resulting Numbers: [9, 2, 48]
Generated Node #2: [9, 2, 48] from Operation: 5+43=48
Current State: 15:[9, 2, 48], Operations: ['5+43=48']
Exploring Operation: 48/2=24, Resulting Numbers: [9, 24]
Generated Node #3: [9, 24] from Operation: 48/2=24
Current State: 15:[9, 24], Operations: ['5+43=48', '48/2=24']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[5, 43, 9, 2], Operations: []
Exploring Operation: 5+9=14, Resulting Numbers: [43, 2, 14]
Generated Node #0,0: 15:[43, 2, 14] Operation: 5+9=14
Exploring Operation: 43-9=34, Resulting Numbers: [5, 2, 34]
Generated Node #0,1: 15:[5, 2, 34] Operation: 43-9=34
Exploring Operation: 43-5=38, Resulting Numbers: [9, 2, 38]
Generated Node #0,2: 15:[9, 2, 38] Operation: 43-5=38
Exploring Operation: 9-5=4, Resulting Numbers: [43, 2, 4]
Generated Node #0,3: 15:[43, 2, 4] Operation: 9-5=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[5, 2, 34], Operations: ['43-9=34']
Exploring Operation: 34/2=17, Resulting Numbers: [5, 17]
Generated Node #0,1,0: 15:[5, 17] Operation: 34/2=17
Exploring Operation: 34-5=29, Resulting Numbers: [2, 29]
Generated Node #0,1,1: 15:[2, 29] Operation: 34-5=29
Exploring Operation: 5-2=3, Resulting Numbers: [34, 3]
Generated Node #0,1,2: 15:[34, 3] Operation: 5-2=3
Exploring Operation: 34-2=32, Resulting Numbers: [5, 32]
Generated Node #0,1,3: 15:[5, 32] Operation: 34-2=32
Moving to Node #0,1,0
Current State: 15:[5, 17], Operations: ['43-9=34', '34/2=17']
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,15 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[2, 29], Operations: ['43-9=34', '34-5=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,15 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Moving to Node #0,1,3
Current State: 15:[5, 32], Operations: ['43-9=34', '34-2=32']
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,15 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,15 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[34, 3], Operations: ['43-9=34', '5-2=3']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,15 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[9, 2, 38], Operations: ['43-5=38']
Exploring Operation: 38-2=36, Resulting Numbers: [9, 36]
Generated Node #0,2,0: 15:[9, 36] Operation: 38-2=36
Exploring Operation: 38-9=29, Resulting Numbers: [2, 29]
Generated Node #0,2,1: 15:[2, 29] Operation: 38-9=29
Exploring Operation: 9-2=7, Resulting Numbers: [38, 7]
Generated Node #0,2,2: 15:[38, 7] Operation: 9-2=7
Exploring Operation: 38/2=19, Resulting Numbers: [9, 19]
Generated Node #0,2,3: 15:[9, 19] Operation: 38/2=19
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 15:[9, 19], Operations: ['43-5=38', '38/2=19']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,15 unequal: No Solution
No 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: 15:[2, 29], Operations: ['43-5=38', '38-9=29']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,15 unequal: No Solution
No 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: 15:[9, 36], Operations: ['43-5=38', '38-2=36']
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,15 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 9*36=324, Resulting Numbers: [324]
324,15 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,15 unequal: No Solution
No 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: 15:[38, 7], Operations: ['43-5=38', '9-2=7']
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,15 unequal: No Solution
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,15 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,15 unequal: No Solution
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: 15:[43, 2, 14], Operations: ['5+9=14']
Exploring Operation: 14/2=7, Resulting Numbers: [43, 7]
Generated Node #0,0,0: 15:[43, 7] Operation: 14/2=7
Exploring Operation: 2+14=16, Resulting Numbers: [43, 16]
Generated Node #0,0,1: 15:[43, 16] Operation: 2+14=16
Exploring Operation: 43-14=29, Resulting Numbers: [2, 29]
Generated Node #0,0,2: 15:[2, 29] Operation: 43-14=29
Exploring Operation: 43-2=41, Resulting Numbers: [14, 41]
Generated Node #0,0,3: 15:[14, 41] Operation: 43-2=41
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 15:[2, 29], Operations: ['5+9=14', '43-14=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,15 unequal: No Solution
No 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: 15:[14, 41], Operations: ['5+9=14', '43-2=41']
Exploring Operation: 14*41=574, Resulting Numbers: [574]
574,15 unequal: No Solution
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 14+41=55, Resulting Numbers: [55]
55,15 unequal: No Solution
No 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: 15:[43, 16], Operations: ['5+9=14', '2+14=16']
Exploring Operation: 43*16=688, Resulting Numbers: [688]
688,15 unequal: No Solution
Exploring Operation: 43+16=59, Resulting Numbers: [59]
59,15 unequal: No Solution
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,15 unequal: No Solution
No 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: 15:[43, 7], Operations: ['5+9=14', '14/2=7']
Exploring Operation: 43*7=301, Resulting Numbers: [301]
301,15 unequal: No Solution
Exploring Operation: 43+7=50, Resulting Numbers: [50]
50,15 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,15 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: 15:[43, 2, 4], Operations: ['9-5=4']
Exploring Operation: 4-2=2, Resulting Numbers: [43, 2]
Generated Node #0,3,0: 15:[43, 2] Operation: 4-2=2
Exploring Operation: 2+4=6, Resulting Numbers: [43, 6]
Generated Node #0,3,1: 15:[43, 6] Operation: 2+4=6
Exploring Operation: 43-4=39, Resulting Numbers: [2, 39]
Generated Node #0,3,2: 15:[2, 39] Operation: 43-4=39
Exploring Operation: 43-2=41, Resulting Numbers: [4, 41]
Generated Node #0,3,3: 15:[4, 41] Operation: 43-2=41
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 15:[2, 39], Operations: ['9-5=4', '43-4=39']
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,15 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,15 unequal: No Solution
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,15 unequal: No Solution
No 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: 15:[4, 41], Operations: ['9-5=4', '43-2=41']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,15 unequal: No Solution
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,15 unequal: No Solution
Exploring Operation: 4*41=164, Resulting Numbers: [164]
164,15 unequal: No Solution
No 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: 15:[43, 2], Operations: ['9-5=4', '4-2=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,15 unequal: No Solution
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,15 unequal: No Solution
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,15 unequal: No Solution
No 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: 15:[43, 6], Operations: ['9-5=4', '2+4=6']
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,15 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,15 unequal: No Solution
Exploring Operation: 43*6=258, Resulting Numbers: [258]
258,15 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 |
[
64,
79,
35,
59
] | 49 | [
"64+79=143",
"35+59=94",
"143-94=49"
] | Current State: 49:[64, 79, 35, 59], Operations: []
Exploring Operation: 64+79=143, Resulting Numbers: [35, 59, 143]
Generated Node #2: [35, 59, 143] from Operation: 64+79=143
Current State: 49:[35, 59, 143], Operations: ['64+79=143']
Exploring Operation: 35+59=94, Resulting Numbers: [143, 94]
Generated Node #3: [143, 94] from Operation: 35+59=94
Current State: 49:[143, 94], Operations: ['64+79=143', '35+59=94']
Exploring Operation: 143-94=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[64, 79, 35, 59], Operations: []
Exploring Operation: 79-64=15, Resulting Numbers: [35, 59, 15]
Generated Node #0,0: 49:[35, 59, 15] Operation: 79-64=15
Exploring Operation: 79-35=44, Resulting Numbers: [64, 59, 44]
Generated Node #0,1: 49:[64, 59, 44] Operation: 79-35=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[64, 59, 44], Operations: ['79-35=44']
Exploring Operation: 64-44=20, Resulting Numbers: [59, 20]
Generated Node #0,1,0: 49:[59, 20] Operation: 64-44=20
Exploring Operation: 64-59=5, Resulting Numbers: [44, 5]
Generated Node #0,1,1: 49:[44, 5] Operation: 64-59=5
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 49:[44, 5], Operations: ['79-35=44', '64-59=5']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[64, 79, 35, 59], Operations: []
Exploring Operation: 79-35=44, Resulting Numbers: [64, 59, 44]
Generated Node #0,1: 49:[64, 59, 44] Operation: 79-35=44
Moving to Node #0,1
Current State: 49:[64, 59, 44], Operations: ['79-35=44']
Exploring Operation: 64-59=5, Resulting Numbers: [44, 5]
Generated Node #0,1,1: 49:[44, 5] Operation: 64-59=5
Moving to Node #0,1,1
Current State: 49:[44, 5], Operations: ['79-35=44', '64-59=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
29,
63,
30,
40
] | 82 | [
"29+63=92",
"40-30=10",
"92-10=82"
] | Current State: 82:[29, 63, 30, 40], Operations: []
Exploring Operation: 29+63=92, Resulting Numbers: [30, 40, 92]
Generated Node #2: [30, 40, 92] from Operation: 29+63=92
Current State: 82:[30, 40, 92], Operations: ['29+63=92']
Exploring Operation: 40-30=10, Resulting Numbers: [92, 10]
Generated Node #3: [92, 10] from Operation: 40-30=10
Current State: 82:[92, 10], Operations: ['29+63=92', '40-30=10']
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[29, 63, 30, 40], Operations: []
Exploring Operation: 63-29=34, Resulting Numbers: [30, 40, 34]
Generated Node #0,0: 82:[30, 40, 34] Operation: 63-29=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[30, 40, 34], Operations: ['63-29=34']
Exploring Operation: 34-30=4, Resulting Numbers: [40, 4]
Generated Node #0,0,0: 82:[40, 4] Operation: 34-30=4
Moving to Node #0,0,0
Current State: 82:[40, 4], Operations: ['63-29=34', '34-30=4']
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,82 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,
45,
31,
98
] | 15 | [
"98-5=93",
"45*31=1395",
"1395/93=15"
] | Current State: 15:[5, 45, 31, 98], Operations: []
Exploring Operation: 98-5=93, Resulting Numbers: [45, 31, 93]
Generated Node #2: [45, 31, 93] from Operation: 98-5=93
Current State: 15:[45, 31, 93], Operations: ['98-5=93']
Exploring Operation: 45*31=1395, Resulting Numbers: [93, 1395]
Generated Node #3: [93, 1395] from Operation: 45*31=1395
Current State: 15:[93, 1395], Operations: ['98-5=93', '45*31=1395']
Exploring Operation: 1395/93=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[5, 45, 31, 98], Operations: []
Exploring Operation: 45-31=14, Resulting Numbers: [5, 98, 14]
Generated Node #0,0: 15:[5, 98, 14] Operation: 45-31=14
Exploring Operation: 98-31=67, Resulting Numbers: [5, 45, 67]
Generated Node #0,1: 15:[5, 45, 67] Operation: 98-31=67
Exploring Operation: 98-45=53, Resulting Numbers: [5, 31, 53]
Generated Node #0,2: 15:[5, 31, 53] Operation: 98-45=53
Moving to Node #0,2
Current State: 15:[5, 31, 53], Operations: ['98-45=53']
Exploring Operation: 31-5=26, Resulting Numbers: [53, 26]
Generated Node #0,2,0: 15:[53, 26] Operation: 31-5=26
Exploring Operation: 53-31=22, Resulting Numbers: [5, 22]
Generated Node #0,2,1: 15:[5, 22] Operation: 53-31=22
Exploring Operation: 53-5=48, Resulting Numbers: [31, 48]
Generated Node #0,2,2: 15:[31, 48] Operation: 53-5=48
Moving to Node #0,1
Current State: 15:[5, 45, 67], Operations: ['98-31=67']
Exploring Operation: 45-5=40, Resulting Numbers: [67, 40]
Generated Node #0,1,0: 15:[67, 40] Operation: 45-5=40
Exploring Operation: 45/5=9, Resulting Numbers: [67, 9]
Generated Node #0,1,1: 15:[67, 9] Operation: 45/5=9
Exploring Operation: 67-45=22, Resulting Numbers: [5, 22]
Generated Node #0,1,2: 15:[5, 22] Operation: 67-45=22
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 15:[5, 22], Operations: ['98-31=67', '67-45=22']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,15 unequal: No Solution
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 15:[67, 9], Operations: ['98-31=67', '45/5=9']
Exploring Operation: 67+9=76, Resulting Numbers: [76]
76,15 unequal: No Solution
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,15 unequal: No Solution
Exploring Operation: 67*9=603, Resulting Numbers: [603]
603,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 15:[67, 40], Operations: ['98-31=67', '45-5=40']
Exploring Operation: 67*40=2680, Resulting Numbers: [2680]
2680,15 unequal: No Solution
Exploring Operation: 67+40=107, Resulting Numbers: [107]
107,15 unequal: No Solution
Exploring Operation: 67-40=27, Resulting Numbers: [27]
27,15 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: 15:[5, 98, 14], Operations: ['45-31=14']
Exploring Operation: 98-5=93, Resulting Numbers: [14, 93]
Generated Node #0,0,0: 15:[14, 93] Operation: 98-5=93
Exploring Operation: 98-14=84, Resulting Numbers: [5, 84]
Generated Node #0,0,1: 15:[5, 84] Operation: 98-14=84
Exploring Operation: 98/14=7, Resulting Numbers: [5, 7]
Generated Node #0,0,2: 15:[5, 7] Operation: 98/14=7
Moving to Node #0,0,2
Current State: 15:[5, 7], Operations: ['45-31=14', '98/14=7']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,15 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[5, 22], Operations: ['98-45=53', '53-31=22']
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,15 unequal: No Solution
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,15 unequal: No Solution
Moving to Node #0,2,2
Current State: 15:[31, 48], Operations: ['98-45=53', '53-5=48']
Exploring Operation: 31*48=1488, Resulting Numbers: [1488]
1488,15 unequal: No Solution
Exploring Operation: 31+48=79, Resulting Numbers: [79]
79,15 unequal: No Solution
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[53, 26], Operations: ['98-45=53', '31-5=26']
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 53*26=1378, Resulting Numbers: [1378]
1378,15 unequal: No Solution
Exploring Operation: 53+26=79, Resulting Numbers: [79]
79,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[5, 84], Operations: ['45-31=14', '98-14=84']
Exploring Operation: 5+84=89, Resulting Numbers: [89]
89,15 unequal: No Solution
Exploring Operation: 5*84=420, Resulting Numbers: [420]
420,15 unequal: No Solution
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[14, 93], Operations: ['45-31=14', '98-5=93']
Exploring Operation: 93-14=79, Resulting Numbers: [79]
79,15 unequal: No Solution
Exploring Operation: 14*93=1302, Resulting Numbers: [1302]
1302,15 unequal: No Solution
Exploring Operation: 14+93=107, Resulting Numbers: [107]
107,15 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
44,
77,
11,
75
] | 53 | [
"77-44=33",
"11+75=86",
"86-33=53"
] | Current State: 53:[44, 77, 11, 75], Operations: []
Exploring Operation: 77-44=33, Resulting Numbers: [11, 75, 33]
Generated Node #2: [11, 75, 33] from Operation: 77-44=33
Current State: 53:[11, 75, 33], Operations: ['77-44=33']
Exploring Operation: 11+75=86, Resulting Numbers: [33, 86]
Generated Node #3: [33, 86] from Operation: 11+75=86
Current State: 53:[33, 86], Operations: ['77-44=33', '11+75=86']
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[44, 77, 11, 75], Operations: []
Exploring Operation: 44+11=55, Resulting Numbers: [77, 75, 55]
Generated Node #0,0: 53:[77, 75, 55] Operation: 44+11=55
Exploring Operation: 77+11=88, Resulting Numbers: [44, 75, 88]
Generated Node #0,1: 53:[44, 75, 88] Operation: 77+11=88
Exploring Operation: 75-11=64, Resulting Numbers: [44, 77, 64]
Generated Node #0,2: 53:[44, 77, 64] Operation: 75-11=64
Exploring Operation: 44-11=33, Resulting Numbers: [77, 75, 33]
Generated Node #0,3: 53:[77, 75, 33] Operation: 44-11=33
Exploring Operation: 77-11=66, Resulting Numbers: [44, 75, 66]
Generated Node #0,4: 53:[44, 75, 66] Operation: 77-11=66
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[44, 77, 64], Operations: ['75-11=64']
Exploring Operation: 64-44=20, Resulting Numbers: [77, 20]
Generated Node #0,2,0: 53:[77, 20] Operation: 64-44=20
Exploring Operation: 44+64=108, Resulting Numbers: [77, 108]
Generated Node #0,2,1: 53:[77, 108] Operation: 44+64=108
Exploring Operation: 44+77=121, Resulting Numbers: [64, 121]
Generated Node #0,2,2: 53:[64, 121] Operation: 44+77=121
Exploring Operation: 77-64=13, Resulting Numbers: [44, 13]
Generated Node #0,2,3: 53:[44, 13] Operation: 77-64=13
Exploring Operation: 77-44=33, Resulting Numbers: [64, 33]
Generated Node #0,2,4: 53:[64, 33] Operation: 77-44=33
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 53:[64, 33], Operations: ['75-11=64', '77-44=33']
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,53 unequal: No Solution
Exploring Operation: 64*33=2112, Resulting Numbers: [2112]
2112,53 unequal: No Solution
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 53:[44, 13], Operations: ['75-11=64', '77-64=13']
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,53 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,53 unequal: No Solution
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 53:[77, 20], Operations: ['75-11=64', '64-44=20']
Exploring Operation: 77*20=1540, Resulting Numbers: [1540]
1540,53 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,53 unequal: No Solution
Exploring Operation: 77+20=97, Resulting Numbers: [97]
97,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 53:[77, 108], Operations: ['75-11=64', '44+64=108']
Exploring Operation: 77*108=8316, Resulting Numbers: [8316]
8316,53 unequal: No Solution
Exploring Operation: 77+108=185, Resulting Numbers: [185]
185,53 unequal: No Solution
Exploring Operation: 108-77=31, Resulting Numbers: [31]
31,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 53:[64, 121], Operations: ['75-11=64', '44+77=121']
Exploring Operation: 64+121=185, Resulting Numbers: [185]
185,53 unequal: No Solution
Exploring Operation: 121-64=57, Resulting Numbers: [57]
57,53 unequal: No Solution
Exploring Operation: 64*121=7744, Resulting Numbers: [7744]
7744,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 53:[44, 75, 66], Operations: ['77-11=66']
Exploring Operation: 44+75=119, Resulting Numbers: [66, 119]
Generated Node #0,4,0: 53:[66, 119] Operation: 44+75=119
Exploring Operation: 66-44=22, Resulting Numbers: [75, 22]
Generated Node #0,4,1: 53:[75, 22] Operation: 66-44=22
Exploring Operation: 44+66=110, Resulting Numbers: [75, 110]
Generated Node #0,4,2: 53:[75, 110] Operation: 44+66=110
Exploring Operation: 75-66=9, Resulting Numbers: [44, 9]
Generated Node #0,4,3: 53:[44, 9] Operation: 75-66=9
Exploring Operation: 75-44=31, Resulting Numbers: [66, 31]
Generated Node #0,4,4: 53:[66, 31] Operation: 75-44=31
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 53:[66, 31], Operations: ['77-11=66', '75-44=31']
Exploring Operation: 66+31=97, Resulting Numbers: [97]
97,53 unequal: No Solution
Exploring Operation: 66*31=2046, Resulting Numbers: [2046]
2046,53 unequal: No Solution
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 53:[75, 22], Operations: ['77-11=66', '66-44=22']
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[44, 77, 11, 75], Operations: []
Exploring Operation: 77-11=66, Resulting Numbers: [44, 75, 66]
Generated Node #0,4: 53:[44, 75, 66] Operation: 77-11=66
Moving to Node #0,4
Current State: 53:[44, 75, 66], Operations: ['77-11=66']
Exploring Operation: 66-44=22, Resulting Numbers: [75, 22]
Generated Node #0,4,1: 53:[75, 22] Operation: 66-44=22
Moving to Node #0,4,1
Current State: 53:[75, 22], Operations: ['77-11=66', '66-44=22']
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
32,
25,
70,
66
] | 35 | [
"32+66=98",
"25*98=2450",
"2450/70=35"
] | Current State: 35:[32, 25, 70, 66], Operations: []
Exploring Operation: 32+66=98, Resulting Numbers: [25, 70, 98]
Generated Node #2: [25, 70, 98] from Operation: 32+66=98
Current State: 35:[25, 70, 98], Operations: ['32+66=98']
Exploring Operation: 25*98=2450, Resulting Numbers: [70, 2450]
Generated Node #3: [70, 2450] from Operation: 25*98=2450
Current State: 35:[70, 2450], Operations: ['32+66=98', '25*98=2450']
Exploring Operation: 2450/70=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[32, 25, 70, 66], Operations: []
Exploring Operation: 70-66=4, Resulting Numbers: [32, 25, 4]
Generated Node #0,0: 35:[32, 25, 4] Operation: 70-66=4
Moving to Node #0,0
Current State: 35:[32, 25, 4], Operations: ['70-66=4']
Exploring Operation: 32-25=7, Resulting Numbers: [4, 7]
Generated Node #0,0,0: 35:[4, 7] Operation: 32-25=7
Moving to Node #0,0,0
Current State: 35:[4, 7], Operations: ['70-66=4', '32-25=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,35 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
5,
61,
25,
30
] | 36 | [
"25/5=5",
"61-30=31",
"5+31=36"
] | Current State: 36:[5, 61, 25, 30], Operations: []
Exploring Operation: 25/5=5, Resulting Numbers: [61, 30, 5]
Generated Node #2: [61, 30, 5] from Operation: 25/5=5
Current State: 36:[61, 30, 5], Operations: ['25/5=5']
Exploring Operation: 61-30=31, Resulting Numbers: [5, 31]
Generated Node #3: [5, 31] from Operation: 61-30=31
Current State: 36:[5, 31], Operations: ['25/5=5', '61-30=31']
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[5, 61, 25, 30], Operations: []
Exploring Operation: 30-25=5, Resulting Numbers: [5, 61, 5]
Generated Node #0,0: 36:[5, 61, 5] Operation: 30-25=5
Exploring Operation: 25/5=5, Resulting Numbers: [61, 30, 5]
Generated Node #0,1: 36:[61, 30, 5] Operation: 25/5=5
Exploring Operation: 61-25=36, Resulting Numbers: [5, 30, 36]
Generated Node #0,2: 36:[5, 30, 36] Operation: 61-25=36
Exploring Operation: 61-30=31, Resulting Numbers: [5, 25, 31]
Generated Node #0,3: 36:[5, 25, 31] Operation: 61-30=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[5, 30, 36], Operations: ['61-25=36']
Exploring Operation: 36-30=6, Resulting Numbers: [5, 6]
Generated Node #0,2,0: 36:[5, 6] Operation: 36-30=6
Exploring Operation: 5+30=35, Resulting Numbers: [36, 35]
Generated Node #0,2,1: 36:[36, 35] Operation: 5+30=35
Exploring Operation: 30/5=6, Resulting Numbers: [36, 6]
Generated Node #0,2,2: 36:[36, 6] Operation: 30/5=6
Exploring Operation: 30-5=25, Resulting Numbers: [36, 25]
Generated Node #0,2,3: 36:[36, 25] Operation: 30-5=25
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 36:[36, 6], Operations: ['61-25=36', '30/5=6']
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,36 unequal: No Solution
Exploring Operation: 36*6=216, Resulting Numbers: [216]
216,36 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 36:[5, 6], Operations: ['61-25=36', '36-30=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[36, 35], Operations: ['61-25=36', '5+30=35']
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,36 unequal: No Solution
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 36*35=1260, Resulting Numbers: [1260]
1260,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 36:[36, 25], Operations: ['61-25=36', '30-5=25']
Exploring Operation: 36*25=900, Resulting Numbers: [900]
900,36 unequal: No Solution
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 36+25=61, Resulting Numbers: [61]
61,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[5, 25, 31], Operations: ['61-30=31']
Exploring Operation: 5+31=36, Resulting Numbers: [25, 36]
Generated Node #0,3,0: 36:[25, 36] Operation: 5+31=36
Exploring Operation: 31-25=6, Resulting Numbers: [5, 6]
Generated Node #0,3,1: 36:[5, 6] Operation: 31-25=6
Exploring Operation: 25-5=20, Resulting Numbers: [31, 20]
Generated Node #0,3,2: 36:[31, 20] Operation: 25-5=20
Exploring Operation: 25/5=5, Resulting Numbers: [31, 5]
Generated Node #0,3,3: 36:[31, 5] Operation: 25/5=5
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 36:[5, 6], Operations: ['61-30=31', '31-25=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 36:[31, 5], Operations: ['61-30=31', '25/5=5']
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[5, 61, 25, 30], Operations: []
Exploring Operation: 61-30=31, Resulting Numbers: [5, 25, 31]
Generated Node #0,3: 36:[5, 25, 31] Operation: 61-30=31
Moving to Node #0,3
Current State: 36:[5, 25, 31], Operations: ['61-30=31']
Exploring Operation: 25/5=5, Resulting Numbers: [31, 5]
Generated Node #0,3,3: 36:[31, 5] Operation: 25/5=5
Moving to Node #0,3,3
Current State: 36:[31, 5], Operations: ['61-30=31', '25/5=5']
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.971354 | hs_4 | mult_heuristic |
[
11,
90,
48,
41
] | 13 | [
"48-41=7",
"11*7=77",
"90-77=13"
] | Current State: 13:[11, 90, 48, 41], Operations: []
Exploring Operation: 48-41=7, Resulting Numbers: [11, 90, 7]
Generated Node #2: [11, 90, 7] from Operation: 48-41=7
Current State: 13:[11, 90, 7], Operations: ['48-41=7']
Exploring Operation: 11*7=77, Resulting Numbers: [90, 77]
Generated Node #3: [90, 77] from Operation: 11*7=77
Current State: 13:[90, 77], Operations: ['48-41=7', '11*7=77']
Exploring Operation: 90-77=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[11, 90, 48, 41], Operations: []
Exploring Operation: 48-41=7, Resulting Numbers: [11, 90, 7]
Generated Node #0,0: 13:[11, 90, 7] Operation: 48-41=7
Exploring Operation: 90-41=49, Resulting Numbers: [11, 48, 49]
Generated Node #0,1: 13:[11, 48, 49] Operation: 90-41=49
Exploring Operation: 90-11=79, Resulting Numbers: [48, 41, 79]
Generated Node #0,2: 13:[48, 41, 79] Operation: 90-11=79
Exploring Operation: 48-11=37, Resulting Numbers: [90, 41, 37]
Generated Node #0,3: 13:[90, 41, 37] Operation: 48-11=37
Exploring Operation: 90-48=42, Resulting Numbers: [11, 41, 42]
Generated Node #0,4: 13:[11, 41, 42] Operation: 90-48=42
Moving to Node #0,4
Current State: 13:[11, 41, 42], Operations: ['90-48=42']
Exploring Operation: 41-11=30, Resulting Numbers: [42, 30]
Generated Node #0,4,0: 13:[42, 30] Operation: 41-11=30
Exploring Operation: 11+42=53, Resulting Numbers: [41, 53]
Generated Node #0,4,1: 13:[41, 53] Operation: 11+42=53
Exploring Operation: 42-41=1, Resulting Numbers: [11, 1]
Generated Node #0,4,2: 13:[11, 1] Operation: 42-41=1
Exploring Operation: 42-11=31, Resulting Numbers: [41, 31]
Generated Node #0,4,3: 13:[41, 31] Operation: 42-11=31
Exploring Operation: 11+41=52, Resulting Numbers: [42, 52]
Generated Node #0,4,4: 13:[42, 52] Operation: 11+41=52
Moving to Node #0,1
Current State: 13:[11, 48, 49], Operations: ['90-41=49']
Exploring Operation: 48-11=37, Resulting Numbers: [49, 37]
Generated Node #0,1,0: 13:[49, 37] Operation: 48-11=37
Exploring Operation: 49-11=38, Resulting Numbers: [48, 38]
Generated Node #0,1,1: 13:[48, 38] Operation: 49-11=38
Exploring Operation: 49-48=1, Resulting Numbers: [11, 1]
Generated Node #0,1,2: 13:[11, 1] Operation: 49-48=1
Exploring Operation: 11+48=59, Resulting Numbers: [49, 59]
Generated Node #0,1,3: 13:[49, 59] Operation: 11+48=59
Exploring Operation: 11+49=60, Resulting Numbers: [48, 60]
Generated Node #0,1,4: 13:[48, 60] Operation: 11+49=60
Moving to Node #0,0
Current State: 13:[11, 90, 7], Operations: ['48-41=7']
Exploring Operation: 90+7=97, Resulting Numbers: [11, 97]
Generated Node #0,0,0: 13:[11, 97] Operation: 90+7=97
Exploring Operation: 90-7=83, Resulting Numbers: [11, 83]
Generated Node #0,0,1: 13:[11, 83] Operation: 90-7=83
Exploring Operation: 90-11=79, Resulting Numbers: [7, 79]
Generated Node #0,0,2: 13:[7, 79] Operation: 90-11=79
Exploring Operation: 11+7=18, Resulting Numbers: [90, 18]
Generated Node #0,0,3: 13:[90, 18] Operation: 11+7=18
Exploring Operation: 11-7=4, Resulting Numbers: [90, 4]
Generated Node #0,0,4: 13:[90, 4] Operation: 11-7=4
Moving to Node #0,2
Current State: 13:[48, 41, 79], Operations: ['90-11=79']
Exploring Operation: 48-41=7, Resulting Numbers: [79, 7]
Generated Node #0,2,0: 13:[79, 7] Operation: 48-41=7
Exploring Operation: 79-48=31, Resulting Numbers: [41, 31]
Generated Node #0,2,1: 13:[41, 31] Operation: 79-48=31
Exploring Operation: 48+41=89, Resulting Numbers: [79, 89]
Generated Node #0,2,2: 13:[79, 89] Operation: 48+41=89
Exploring Operation: 48+79=127, Resulting Numbers: [41, 127]
Generated Node #0,2,3: 13:[41, 127] Operation: 48+79=127
Exploring Operation: 79-41=38, Resulting Numbers: [48, 38]
Generated Node #0,2,4: 13:[48, 38] Operation: 79-41=38
Moving to Node #0,3
Current State: 13:[90, 41, 37], Operations: ['48-11=37']
Exploring Operation: 90+41=131, Resulting Numbers: [37, 131]
Generated Node #0,3,0: 13:[37, 131] Operation: 90+41=131
Exploring Operation: 41-37=4, Resulting Numbers: [90, 4]
Generated Node #0,3,1: 13:[90, 4] Operation: 41-37=4
Exploring Operation: 90-37=53, Resulting Numbers: [41, 53]
Generated Node #0,3,2: 13:[41, 53] Operation: 90-37=53
Exploring Operation: 90-41=49, Resulting Numbers: [37, 49]
Generated Node #0,3,3: 13:[37, 49] Operation: 90-41=49
Exploring Operation: 90+37=127, Resulting Numbers: [41, 127]
Generated Node #0,3,4: 13:[41, 127] Operation: 90+37=127
Moving to Node #0,4,2
Current State: 13:[11, 1], Operations: ['90-48=42', '42-41=1']
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Moving to Node #0,1,2
Current State: 13:[11, 1], Operations: ['90-41=49', '49-48=1']
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Moving to Node #0,4,3
Current State: 13:[41, 31], Operations: ['90-48=42', '42-11=31']
Exploring Operation: 41*31=1271, Resulting Numbers: [1271]
1271,13 unequal: No Solution
Exploring Operation: 41+31=72, Resulting Numbers: [72]
72,13 unequal: No Solution
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Moving to Node #0,4,0
Current State: 13:[42, 30], Operations: ['90-48=42', '41-11=30']
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,13 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 42*30=1260, Resulting Numbers: [1260]
1260,13 unequal: No Solution
Moving to Node #0,2,1
Current State: 13:[41, 31], Operations: ['90-11=79', '79-48=31']
Exploring Operation: 41*31=1271, Resulting Numbers: [1271]
1271,13 unequal: No Solution
Exploring Operation: 41+31=72, Resulting Numbers: [72]
72,13 unequal: No Solution
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[49, 37], Operations: ['90-41=49', '48-11=37']
Exploring Operation: 49+37=86, Resulting Numbers: [86]
86,13 unequal: No Solution
Exploring Operation: 49*37=1813, Resulting Numbers: [1813]
1813,13 unequal: No Solution
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Moving to Node #0,3,3
Current State: 13:[37, 49], Operations: ['48-11=37', '90-41=49']
Exploring Operation: 37*49=1813, Resulting Numbers: [1813]
1813,13 unequal: No Solution
Exploring Operation: 37+49=86, Resulting Numbers: [86]
86,13 unequal: No Solution
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[48, 38], Operations: ['90-41=49', '49-11=38']
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,13 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 48*38=1824, Resulting Numbers: [1824]
1824,13 unequal: No Solution
Moving to Node #0,2,4
Current State: 13:[48, 38], Operations: ['90-11=79', '79-41=38']
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,13 unequal: No Solution
Exploring Operation: 48*38=1824, Resulting Numbers: [1824]
1824,13 unequal: No Solution
Moving to Node #0,3,2
Current State: 13:[41, 53], Operations: ['48-11=37', '90-37=53']
Exploring Operation: 41+53=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 41*53=2173, Resulting Numbers: [2173]
2173,13 unequal: No Solution
Exploring Operation: 53-41=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Moving to Node #0,4,4
Current State: 13:[42, 52], Operations: ['90-48=42', '11+41=52']
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 42*52=2184, Resulting Numbers: [2184]
2184,13 unequal: No Solution
Exploring Operation: 42+52=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Moving to Node #0,4,1
Current State: 13:[41, 53], Operations: ['90-48=42', '11+42=53']
Exploring Operation: 53-41=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 41*53=2173, Resulting Numbers: [2173]
2173,13 unequal: No Solution
Exploring Operation: 41+53=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[7, 79], Operations: ['48-41=7', '90-11=79']
Exploring Operation: 7*79=553, Resulting Numbers: [553]
553,13 unequal: No Solution
Exploring Operation: 79-7=72, Resulting Numbers: [72]
72,13 unequal: No Solution
Exploring Operation: 7+79=86, Resulting Numbers: [86]
86,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[11, 83], Operations: ['48-41=7', '90-7=83']
Exploring Operation: 83-11=72, Resulting Numbers: [72]
72,13 unequal: No Solution
Exploring Operation: 11+83=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 11*83=913, Resulting Numbers: [913]
913,13 unequal: No Solution
Moving to Node #0,2,0
Current State: 13:[79, 7], Operations: ['90-11=79', '48-41=7']
Exploring Operation: 79*7=553, Resulting Numbers: [553]
553,13 unequal: No Solution
Exploring Operation: 79-7=72, Resulting Numbers: [72]
72,13 unequal: No Solution
Exploring Operation: 79+7=86, Resulting Numbers: [86]
86,13 unequal: No Solution
Moving to Node #0,0,3
Current State: 13:[90, 18], Operations: ['48-41=7', '11+7=18']
Exploring Operation: 90*18=1620, Resulting Numbers: [1620]
1620,13 unequal: No Solution
Exploring Operation: 90+18=108, Resulting Numbers: [108]
108,13 unequal: No Solution
Exploring Operation: 90/18=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 90-18=72, Resulting Numbers: [72]
72,13 unequal: No Solution
Moving to Node #0,1,4
Current State: 13:[48, 60], Operations: ['90-41=49', '11+49=60']
Exploring Operation: 48*60=2880, Resulting Numbers: [2880]
2880,13 unequal: No Solution
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 48+60=108, Resulting Numbers: [108]
108,13 unequal: No Solution
Moving to Node #0,1,3
Current State: 13:[49, 59], Operations: ['90-41=49', '11+48=59']
Exploring Operation: 49+59=108, Resulting Numbers: [108]
108,13 unequal: No Solution
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 49*59=2891, Resulting Numbers: [2891]
2891,13 unequal: No Solution
Moving to Node #0,0,4
Current State: 13:[90, 4], Operations: ['48-41=7', '11-7=4']
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,13 unequal: No Solution
Exploring Operation: 90*4=360, Resulting Numbers: [360]
360,13 unequal: No Solution
Moving to Node #0,3,1
Current State: 13:[90, 4], Operations: ['48-11=37', '41-37=4']
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 90*4=360, Resulting Numbers: [360]
360,13 unequal: No Solution
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[11, 97], Operations: ['48-41=7', '90+7=97']
Exploring Operation: 11+97=108, Resulting Numbers: [108]
108,13 unequal: No Solution
Exploring Operation: 11*97=1067, Resulting Numbers: [1067]
1067,13 unequal: No Solution
Exploring Operation: 97-11=86, Resulting Numbers: [86]
86,13 unequal: No Solution
Moving to Node #0,3,4
Current State: 13:[41, 127], Operations: ['48-11=37', '90+37=127']
Exploring Operation: 127-41=86, Resulting Numbers: [86]
86,13 unequal: No Solution
Exploring Operation: 41+127=168, Resulting Numbers: [168]
168,13 unequal: No Solution
Exploring Operation: 41*127=5207, Resulting Numbers: [5207]
5207,13 unequal: No Solution
Moving to Node #0,3,0
Current State: 13:[37, 131], Operations: ['48-11=37', '90+41=131']
Exploring Operation: 37*131=4847, Resulting Numbers: [4847]
4847,13 unequal: No Solution
Exploring Operation: 37+131=168, Resulting Numbers: [168]
168,13 unequal: No Solution
Exploring Operation: 131-37=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[79, 89], Operations: ['90-11=79', '48+41=89']
Exploring Operation: 79*89=7031, Resulting Numbers: [7031]
7031,13 unequal: No Solution
Exploring Operation: 79+89=168, Resulting Numbers: [168]
168,13 unequal: No Solution
Exploring Operation: 89-79=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Moving to Node #0,2,3
Current State: 13:[41, 127], Operations: ['90-11=79', '48+79=127']
Exploring Operation: 127-41=86, Resulting Numbers: [86]
86,13 unequal: No Solution
Exploring Operation: 41+127=168, Resulting Numbers: [168]
168,13 unequal: No Solution
Exploring Operation: 41*127=5207, Resulting Numbers: [5207]
5207,13 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
44,
23,
35,
9
] | 47 | [
"44-23=21",
"35-9=26",
"21+26=47"
] | Current State: 47:[44, 23, 35, 9], Operations: []
Exploring Operation: 44-23=21, Resulting Numbers: [35, 9, 21]
Generated Node #2: [35, 9, 21] from Operation: 44-23=21
Current State: 47:[35, 9, 21], Operations: ['44-23=21']
Exploring Operation: 35-9=26, Resulting Numbers: [21, 26]
Generated Node #3: [21, 26] from Operation: 35-9=26
Current State: 47:[21, 26], Operations: ['44-23=21', '35-9=26']
Exploring Operation: 21+26=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[44, 23, 35, 9], Operations: []
Exploring Operation: 44+9=53, Resulting Numbers: [23, 35, 53]
Generated Node #0,0: 47:[23, 35, 53] Operation: 44+9=53
Exploring Operation: 35+9=44, Resulting Numbers: [44, 23, 44]
Generated Node #0,1: 47:[44, 23, 44] Operation: 35+9=44
Exploring Operation: 23+9=32, Resulting Numbers: [44, 35, 32]
Generated Node #0,2: 47:[44, 35, 32] Operation: 23+9=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[44, 23, 44], Operations: ['35+9=44']
Exploring Operation: 44+23=67, Resulting Numbers: [44, 67]
Generated Node #0,1,0: 47:[44, 67] Operation: 44+23=67
Exploring Operation: 23+44=67, Resulting Numbers: [44, 67]
Generated Node #0,1,1: 47:[44, 67] Operation: 23+44=67
Exploring Operation: 44-23=21, Resulting Numbers: [44, 21]
Generated Node #0,1,2: 47:[44, 21] Operation: 44-23=21
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[44, 67], Operations: ['35+9=44', '44+23=67']
Exploring Operation: 44+67=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 44*67=2948, Resulting Numbers: [2948]
2948,47 unequal: No Solution
Exploring Operation: 67-44=23, Resulting Numbers: [23]
23,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[44, 67], Operations: ['35+9=44', '23+44=67']
Exploring Operation: 44*67=2948, Resulting Numbers: [2948]
2948,47 unequal: No Solution
Exploring Operation: 67-44=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 44+67=111, Resulting Numbers: [111]
111,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[44, 21], Operations: ['35+9=44', '44-23=21']
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 44*21=924, Resulting Numbers: [924]
924,47 unequal: No Solution
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[44, 35, 32], Operations: ['23+9=32']
Exploring Operation: 35+32=67, Resulting Numbers: [44, 67]
Generated Node #0,2,0: 47:[44, 67] Operation: 35+32=67
Exploring Operation: 44+35=79, Resulting Numbers: [32, 79]
Generated Node #0,2,1: 47:[32, 79] Operation: 44+35=79
Exploring Operation: 44+32=76, Resulting Numbers: [35, 76]
Generated Node #0,2,2: 47:[35, 76] Operation: 44+32=76
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 47:[44, 67], Operations: ['23+9=32', '35+32=67']
Exploring Operation: 67-44=23, Resulting Numbers: [23]
23,47 unequal: No Solution
Exploring Operation: 44+67=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 44*67=2948, Resulting Numbers: [2948]
2948,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 47:[35, 76], Operations: ['23+9=32', '44+32=76']
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 35+76=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 35*76=2660, Resulting Numbers: [2660]
2660,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 47:[32, 79], Operations: ['23+9=32', '44+35=79']
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[44, 23, 35, 9], Operations: []
Exploring Operation: 23+9=32, Resulting Numbers: [44, 35, 32]
Generated Node #0,2: 47:[44, 35, 32] Operation: 23+9=32
Moving to Node #0,2
Current State: 47:[44, 35, 32], Operations: ['23+9=32']
Exploring Operation: 44+35=79, Resulting Numbers: [32, 79]
Generated Node #0,2,1: 47:[32, 79] Operation: 44+35=79
Moving to Node #0,2,1
Current State: 47:[32, 79], Operations: ['23+9=32', '44+35=79']
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_3 | mult_heuristic |
[
47,
28,
43,
50
] | 82 | [
"47+28=75",
"50-43=7",
"75+7=82"
] | Current State: 82:[47, 28, 43, 50], Operations: []
Exploring Operation: 47+28=75, Resulting Numbers: [43, 50, 75]
Generated Node #2: [43, 50, 75] from Operation: 47+28=75
Current State: 82:[43, 50, 75], Operations: ['47+28=75']
Exploring Operation: 50-43=7, Resulting Numbers: [75, 7]
Generated Node #3: [75, 7] from Operation: 50-43=7
Current State: 82:[75, 7], Operations: ['47+28=75', '50-43=7']
Exploring Operation: 75+7=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[47, 28, 43, 50], Operations: []
Exploring Operation: 50-47=3, Resulting Numbers: [28, 43, 3]
Generated Node #0,0: 82:[28, 43, 3] Operation: 50-47=3
Exploring Operation: 47+28=75, Resulting Numbers: [43, 50, 75]
Generated Node #0,1: 82:[43, 50, 75] Operation: 47+28=75
Exploring Operation: 28+50=78, Resulting Numbers: [47, 43, 78]
Generated Node #0,2: 82:[47, 43, 78] Operation: 28+50=78
Moving to Node #0,2
Current State: 82:[47, 43, 78], Operations: ['28+50=78']
Exploring Operation: 78-47=31, Resulting Numbers: [43, 31]
Generated Node #0,2,0: 82:[43, 31] Operation: 78-47=31
Exploring Operation: 47-43=4, Resulting Numbers: [78, 4]
Generated Node #0,2,1: 82:[78, 4] Operation: 47-43=4
Exploring Operation: 47+43=90, Resulting Numbers: [78, 90]
Generated Node #0,2,2: 82:[78, 90] Operation: 47+43=90
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 82:[78, 4], Operations: ['28+50=78', '47-43=4']
Exploring Operation: 78+4=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[47, 28, 43, 50], Operations: []
Exploring Operation: 28+50=78, Resulting Numbers: [47, 43, 78]
Generated Node #0,2: 82:[47, 43, 78] Operation: 28+50=78
Moving to Node #0,2
Current State: 82:[47, 43, 78], Operations: ['28+50=78']
Exploring Operation: 47-43=4, Resulting Numbers: [78, 4]
Generated Node #0,2,1: 82:[78, 4] Operation: 47-43=4
Moving to Node #0,2,1
Current State: 82:[78, 4], Operations: ['28+50=78', '47-43=4']
Exploring Operation: 78+4=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
88,
99,
64,
19
] | 53 | [
"99*64=6336",
"6336/88=72",
"72-19=53"
] | Current State: 53:[88, 99, 64, 19], Operations: []
Exploring Operation: 99*64=6336, Resulting Numbers: [88, 19, 6336]
Generated Node #2: [88, 19, 6336] from Operation: 99*64=6336
Current State: 53:[88, 19, 6336], Operations: ['99*64=6336']
Exploring Operation: 6336/88=72, Resulting Numbers: [19, 72]
Generated Node #3: [19, 72] from Operation: 6336/88=72
Current State: 53:[19, 72], Operations: ['99*64=6336', '6336/88=72']
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[88, 99, 64, 19], Operations: []
Exploring Operation: 88-19=69, Resulting Numbers: [99, 64, 69]
Generated Node #0,0: 53:[99, 64, 69] Operation: 88-19=69
Moving to Node #0,0
Current State: 53:[99, 64, 69], Operations: ['88-19=69']
Exploring Operation: 99-64=35, Resulting Numbers: [69, 35]
Generated Node #0,0,0: 53:[69, 35] Operation: 99-64=35
Moving to Node #0,0,0
Current State: 53:[69, 35], Operations: ['88-19=69', '99-64=35']
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,53 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
69,
56,
94,
71
] | 53 | [
"94-71=23",
"69/23=3",
"56-3=53"
] | Current State: 53:[69, 56, 94, 71], Operations: []
Exploring Operation: 94-71=23, Resulting Numbers: [69, 56, 23]
Generated Node #2: [69, 56, 23] from Operation: 94-71=23
Current State: 53:[69, 56, 23], Operations: ['94-71=23']
Exploring Operation: 69/23=3, Resulting Numbers: [56, 3]
Generated Node #3: [56, 3] from Operation: 69/23=3
Current State: 53:[56, 3], Operations: ['94-71=23', '69/23=3']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[69, 56, 94, 71], Operations: []
Exploring Operation: 94-69=25, Resulting Numbers: [56, 71, 25]
Generated Node #0,0: 53:[56, 71, 25] Operation: 94-69=25
Exploring Operation: 94-56=38, Resulting Numbers: [69, 71, 38]
Generated Node #0,1: 53:[69, 71, 38] Operation: 94-56=38
Exploring Operation: 94-71=23, Resulting Numbers: [69, 56, 23]
Generated Node #0,2: 53:[69, 56, 23] Operation: 94-71=23
Exploring Operation: 71-69=2, Resulting Numbers: [56, 94, 2]
Generated Node #0,3: 53:[56, 94, 2] Operation: 71-69=2
Exploring Operation: 71-56=15, Resulting Numbers: [69, 94, 15]
Generated Node #0,4: 53:[69, 94, 15] Operation: 71-56=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[56, 71, 25], Operations: ['94-69=25']
Exploring Operation: 71-25=46, Resulting Numbers: [56, 46]
Generated Node #0,0,0: 53:[56, 46] Operation: 71-25=46
Exploring Operation: 56-25=31, Resulting Numbers: [71, 31]
Generated Node #0,0,1: 53:[71, 31] Operation: 56-25=31
Exploring Operation: 71+25=96, Resulting Numbers: [56, 96]
Generated Node #0,0,2: 53:[56, 96] Operation: 71+25=96
Exploring Operation: 56+25=81, Resulting Numbers: [71, 81]
Generated Node #0,0,3: 53:[71, 81] Operation: 56+25=81
Exploring Operation: 71-56=15, Resulting Numbers: [25, 15]
Generated Node #0,0,4: 53:[25, 15] Operation: 71-56=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[56, 46], Operations: ['94-69=25', '71-25=46']
Exploring Operation: 56*46=2576, Resulting Numbers: [2576]
2576,53 unequal: No Solution
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 56+46=102, Resulting Numbers: [102]
102,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[71, 31], Operations: ['94-69=25', '56-25=31']
Exploring Operation: 71+31=102, Resulting Numbers: [102]
102,53 unequal: No Solution
Exploring Operation: 71*31=2201, Resulting Numbers: [2201]
2201,53 unequal: No Solution
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 53:[56, 96], Operations: ['94-69=25', '71+25=96']
Exploring Operation: 96-56=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 56+96=152, Resulting Numbers: [152]
152,53 unequal: No Solution
Exploring Operation: 56*96=5376, Resulting Numbers: [5376]
5376,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 53:[71, 81], Operations: ['94-69=25', '56+25=81']
Exploring Operation: 71*81=5751, Resulting Numbers: [5751]
5751,53 unequal: No Solution
Exploring Operation: 81-71=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 71+81=152, Resulting Numbers: [152]
152,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 53:[25, 15], Operations: ['94-69=25', '71-56=15']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 25*15=375, Resulting Numbers: [375]
375,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[69, 71, 38], Operations: ['94-56=38']
Exploring Operation: 71+38=109, Resulting Numbers: [69, 109]
Generated Node #0,1,0: 53:[69, 109] Operation: 71+38=109
Exploring Operation: 71-38=33, Resulting Numbers: [69, 33]
Generated Node #0,1,1: 53:[69, 33] Operation: 71-38=33
Exploring Operation: 71-69=2, Resulting Numbers: [38, 2]
Generated Node #0,1,2: 53:[38, 2] Operation: 71-69=2
Exploring Operation: 69+38=107, Resulting Numbers: [71, 107]
Generated Node #0,1,3: 53:[71, 107] Operation: 69+38=107
Exploring Operation: 69-38=31, Resulting Numbers: [71, 31]
Generated Node #0,1,4: 53:[71, 31] Operation: 69-38=31
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[69, 33], Operations: ['94-56=38', '71-38=33']
Exploring Operation: 69+33=102, Resulting Numbers: [102]
102,53 unequal: No Solution
Exploring Operation: 69*33=2277, Resulting Numbers: [2277]
2277,53 unequal: No Solution
Exploring Operation: 69-33=36, Resulting Numbers: [36]
36,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 53:[71, 31], Operations: ['94-56=38', '69-38=31']
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 71*31=2201, Resulting Numbers: [2201]
2201,53 unequal: No Solution
Exploring Operation: 71+31=102, Resulting Numbers: [102]
102,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 53:[38, 2], Operations: ['94-56=38', '71-69=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,53 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[69, 109], Operations: ['94-56=38', '71+38=109']
Exploring Operation: 69*109=7521, Resulting Numbers: [7521]
7521,53 unequal: No Solution
Exploring Operation: 69+109=178, Resulting Numbers: [178]
178,53 unequal: No Solution
Exploring Operation: 109-69=40, Resulting Numbers: [40]
40,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 53:[71, 107], Operations: ['94-56=38', '69+38=107']
Exploring Operation: 107-71=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 71*107=7597, Resulting Numbers: [7597]
7597,53 unequal: No Solution
Exploring Operation: 71+107=178, Resulting Numbers: [178]
178,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[69, 56, 23], Operations: ['94-71=23']
Exploring Operation: 69-23=46, Resulting Numbers: [56, 46]
Generated Node #0,2,0: 53:[56, 46] Operation: 69-23=46
Exploring Operation: 56+23=79, Resulting Numbers: [69, 79]
Generated Node #0,2,1: 53:[69, 79] Operation: 56+23=79
Exploring Operation: 69+23=92, Resulting Numbers: [56, 92]
Generated Node #0,2,2: 53:[56, 92] Operation: 69+23=92
Exploring Operation: 69/23=3, Resulting Numbers: [56, 3]
Generated Node #0,2,3: 53:[56, 3] Operation: 69/23=3
Exploring Operation: 56-23=33, Resulting Numbers: [69, 33]
Generated Node #0,2,4: 53:[69, 33] Operation: 56-23=33
Moving to Node #0,2,0
Current State: 53:[56, 46], Operations: ['94-71=23', '69-23=46']
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 56+46=102, Resulting Numbers: [102]
102,53 unequal: No Solution
Exploring Operation: 56*46=2576, Resulting Numbers: [2576]
2576,53 unequal: No Solution
Moving to Node #0,2,4
Current State: 53:[69, 33], Operations: ['94-71=23', '56-23=33']
Exploring Operation: 69*33=2277, Resulting Numbers: [2277]
2277,53 unequal: No Solution
Exploring Operation: 69+33=102, Resulting Numbers: [102]
102,53 unequal: No Solution
Exploring Operation: 69-33=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[69, 79], Operations: ['94-71=23', '56+23=79']
Exploring Operation: 79-69=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 69*79=5451, Resulting Numbers: [5451]
5451,53 unequal: No Solution
Exploring Operation: 69+79=148, Resulting Numbers: [148]
148,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[56, 92], Operations: ['94-71=23', '69+23=92']
Exploring Operation: 56+92=148, Resulting Numbers: [148]
148,53 unequal: No Solution
Exploring Operation: 92-56=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 56*92=5152, Resulting Numbers: [5152]
5152,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[56, 3], Operations: ['94-71=23', '69/23=3']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[69, 56, 94, 71], Operations: []
Exploring Operation: 94-71=23, Resulting Numbers: [69, 56, 23]
Generated Node #0,2: 53:[69, 56, 23] Operation: 94-71=23
Moving to Node #0,2
Current State: 53:[69, 56, 23], Operations: ['94-71=23']
Exploring Operation: 69/23=3, Resulting Numbers: [56, 3]
Generated Node #0,2,3: 53:[56, 3] Operation: 69/23=3
Moving to Node #0,2,3
Current State: 53:[56, 3], Operations: ['94-71=23', '69/23=3']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.940972 | hs_5 | mult_heuristic |
[
85,
7,
39,
4
] | 57 | [
"85+7=92",
"39-4=35",
"92-35=57"
] | Current State: 57:[85, 7, 39, 4], Operations: []
Exploring Operation: 85+7=92, Resulting Numbers: [39, 4, 92]
Generated Node #2: [39, 4, 92] from Operation: 85+7=92
Current State: 57:[39, 4, 92], Operations: ['85+7=92']
Exploring Operation: 39-4=35, Resulting Numbers: [92, 35]
Generated Node #3: [92, 35] from Operation: 39-4=35
Current State: 57:[92, 35], Operations: ['85+7=92', '39-4=35']
Exploring Operation: 92-35=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[85, 7, 39, 4], Operations: []
Exploring Operation: 85-39=46, Resulting Numbers: [7, 4, 46]
Generated Node #0,0: 57:[7, 4, 46] Operation: 85-39=46
Moving to Node #0,0
Current State: 57:[7, 4, 46], Operations: ['85-39=46']
Exploring Operation: 7+46=53, Resulting Numbers: [4, 53]
Generated Node #0,0,0: 57:[4, 53] Operation: 7+46=53
Moving to Node #0,0,0
Current State: 57:[4, 53], Operations: ['85-39=46', '7+46=53']
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[85, 7, 39, 4], Operations: []
Exploring Operation: 85-39=46, Resulting Numbers: [7, 4, 46]
Generated Node #0,0: 57:[7, 4, 46] Operation: 85-39=46
Moving to Node #0,0
Current State: 57:[7, 4, 46], Operations: ['85-39=46']
Exploring Operation: 7+46=53, Resulting Numbers: [4, 53]
Generated Node #0,0,0: 57:[4, 53] Operation: 7+46=53
Moving to Node #0,0,0
Current State: 57:[4, 53], Operations: ['85-39=46', '7+46=53']
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
42,
50,
60,
36
] | 52 | [
"60-42=18",
"36/18=2",
"50+2=52"
] | Current State: 52:[42, 50, 60, 36], Operations: []
Exploring Operation: 60-42=18, Resulting Numbers: [50, 36, 18]
Generated Node #2: [50, 36, 18] from Operation: 60-42=18
Current State: 52:[50, 36, 18], Operations: ['60-42=18']
Exploring Operation: 36/18=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 36/18=2
Current State: 52:[50, 2], Operations: ['60-42=18', '36/18=2']
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[42, 50, 60, 36], Operations: []
Exploring Operation: 50-36=14, Resulting Numbers: [42, 60, 14]
Generated Node #0,0: 52:[42, 60, 14] Operation: 50-36=14
Exploring Operation: 60-42=18, Resulting Numbers: [50, 36, 18]
Generated Node #0,1: 52:[50, 36, 18] Operation: 60-42=18
Exploring Operation: 60-36=24, Resulting Numbers: [42, 50, 24]
Generated Node #0,2: 52:[42, 50, 24] Operation: 60-36=24
Exploring Operation: 50-42=8, Resulting Numbers: [60, 36, 8]
Generated Node #0,3: 52:[60, 36, 8] Operation: 50-42=8
Exploring Operation: 42-36=6, Resulting Numbers: [50, 60, 6]
Generated Node #0,4: 52:[50, 60, 6] Operation: 42-36=6
Moving to Node #0,4
Current State: 52:[50, 60, 6], Operations: ['42-36=6']
Exploring Operation: 50+6=56, Resulting Numbers: [60, 56]
Generated Node #0,4,0: 52:[60, 56] Operation: 50+6=56
Exploring Operation: 60-50=10, Resulting Numbers: [6, 10]
Generated Node #0,4,1: 52:[6, 10] Operation: 60-50=10
Exploring Operation: 50-6=44, Resulting Numbers: [60, 44]
Generated Node #0,4,2: 52:[60, 44] Operation: 50-6=44
Exploring Operation: 60/6=10, Resulting Numbers: [50, 10]
Generated Node #0,4,3: 52:[50, 10] Operation: 60/6=10
Exploring Operation: 60-6=54, Resulting Numbers: [50, 54]
Generated Node #0,4,4: 52:[50, 54] Operation: 60-6=54
Moving to Node #0,2
Current State: 52:[42, 50, 24], Operations: ['60-36=24']
Exploring Operation: 42+24=66, Resulting Numbers: [50, 66]
Generated Node #0,2,0: 52:[50, 66] Operation: 42+24=66
Exploring Operation: 50-42=8, Resulting Numbers: [24, 8]
Generated Node #0,2,1: 52:[24, 8] Operation: 50-42=8
Exploring Operation: 42-24=18, Resulting Numbers: [50, 18]
Generated Node #0,2,2: 52:[50, 18] Operation: 42-24=18
Exploring Operation: 50-24=26, Resulting Numbers: [42, 26]
Generated Node #0,2,3: 52:[42, 26] Operation: 50-24=26
Exploring Operation: 50+24=74, Resulting Numbers: [42, 74]
Generated Node #0,2,4: 52:[42, 74] Operation: 50+24=74
Moving to Node #0,1
Current State: 52:[50, 36, 18], Operations: ['60-42=18']
Exploring Operation: 36+18=54, Resulting Numbers: [50, 54]
Generated Node #0,1,0: 52:[50, 54] Operation: 36+18=54
Exploring Operation: 36-18=18, Resulting Numbers: [50, 18]
Generated Node #0,1,1: 52:[50, 18] Operation: 36-18=18
Exploring Operation: 50-18=32, Resulting Numbers: [36, 32]
Generated Node #0,1,2: 52:[36, 32] Operation: 50-18=32
Exploring Operation: 36/18=2, Resulting Numbers: [50, 2]
Generated Node #0,1,3: 52:[50, 2] Operation: 36/18=2
Exploring Operation: 50-36=14, Resulting Numbers: [18, 14]
Generated Node #0,1,4: 52:[18, 14] Operation: 50-36=14
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 52:[50, 2], Operations: ['60-42=18', '36/18=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,52 unequal: No Solution
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[42, 50, 60, 36], Operations: []
Exploring Operation: 60-42=18, Resulting Numbers: [50, 36, 18]
Generated Node #0,1: 52:[50, 36, 18] Operation: 60-42=18
Moving to Node #0,1
Current State: 52:[50, 36, 18], Operations: ['60-42=18']
Exploring Operation: 36/18=2, Resulting Numbers: [50, 2]
Generated Node #0,1,3: 52:[50, 2] Operation: 36/18=2
Moving to Node #0,1,3
Current State: 52:[50, 2], Operations: ['60-42=18', '36/18=2']
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | mult_heuristic |
[
14,
2,
22,
6
] | 35 | [
"14/2=7",
"22+6=28",
"7+28=35"
] | Current State: 35:[14, 2, 22, 6], Operations: []
Exploring Operation: 14/2=7, Resulting Numbers: [22, 6, 7]
Generated Node #2: [22, 6, 7] from Operation: 14/2=7
Current State: 35:[22, 6, 7], Operations: ['14/2=7']
Exploring Operation: 22+6=28, Resulting Numbers: [7, 28]
Generated Node #3: [7, 28] from Operation: 22+6=28
Current State: 35:[7, 28], Operations: ['14/2=7', '22+6=28']
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[14, 2, 22, 6], Operations: []
Exploring Operation: 22-14=8, Resulting Numbers: [2, 6, 8]
Generated Node #0,0: 35:[2, 6, 8] Operation: 22-14=8
Exploring Operation: 14+22=36, Resulting Numbers: [2, 6, 36]
Generated Node #0,1: 35:[2, 6, 36] Operation: 14+22=36
Exploring Operation: 22/2=11, Resulting Numbers: [14, 6, 11]
Generated Node #0,2: 35:[14, 6, 11] Operation: 22/2=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[2, 6, 8], Operations: ['22-14=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6, 6]
Generated Node #0,0,0: 35:[6, 6] Operation: 8-2=6
Exploring Operation: 6-2=4, Resulting Numbers: [8, 4]
Generated Node #0,0,1: 35:[8, 4] Operation: 6-2=4
Exploring Operation: 2+6=8, Resulting Numbers: [8, 8]
Generated Node #0,0,2: 35:[8, 8] Operation: 2+6=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[6, 6], Operations: ['22-14=8', '8-2=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,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,0,1
Current State: 35:[8, 4], Operations: ['22-14=8', '6-2=4']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,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,0,2
Current State: 35:[8, 8], Operations: ['22-14=8', '2+6=8']
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,35 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,35 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,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,1
Current State: 35:[2, 6, 36], Operations: ['14+22=36']
Exploring Operation: 36-2=34, Resulting Numbers: [6, 34]
Generated Node #0,1,0: 35:[6, 34] Operation: 36-2=34
Exploring Operation: 6-2=4, Resulting Numbers: [36, 4]
Generated Node #0,1,1: 35:[36, 4] Operation: 6-2=4
Exploring Operation: 2+6=8, Resulting Numbers: [36, 8]
Generated Node #0,1,2: 35:[36, 8] Operation: 2+6=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 35:[6, 34], Operations: ['14+22=36', '36-2=34']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,35 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,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,1,1
Current State: 35:[36, 4], Operations: ['14+22=36', '6-2=4']
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,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,1,2
Current State: 35:[36, 8], Operations: ['14+22=36', '2+6=8']
Exploring Operation: 36+8=44, Resulting Numbers: [44]
44,35 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 36*8=288, Resulting Numbers: [288]
288,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,2
Current State: 35:[14, 6, 11], Operations: ['22/2=11']
Exploring Operation: 14-6=8, Resulting Numbers: [11, 8]
Generated Node #0,2,0: 35:[11, 8] Operation: 14-6=8
Exploring Operation: 11-6=5, Resulting Numbers: [14, 5]
Generated Node #0,2,1: 35:[14, 5] Operation: 11-6=5
Exploring Operation: 14-11=3, Resulting Numbers: [6, 3]
Generated Node #0,2,2: 35:[6, 3] Operation: 14-11=3
Moving to Node #0,2,2
Current State: 35:[6, 3], Operations: ['22/2=11', '14-11=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[11, 8], Operations: ['22/2=11', '14-6=8']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[14, 5], Operations: ['22/2=11', '11-6=5']
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,35 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
84,
47,
76,
56
] | 17 | [
"84-47=37",
"76-56=20",
"37-20=17"
] | Current State: 17:[84, 47, 76, 56], Operations: []
Exploring Operation: 84-47=37, Resulting Numbers: [76, 56, 37]
Generated Node #2: [76, 56, 37] from Operation: 84-47=37
Current State: 17:[76, 56, 37], Operations: ['84-47=37']
Exploring Operation: 76-56=20, Resulting Numbers: [37, 20]
Generated Node #3: [37, 20] from Operation: 76-56=20
Current State: 17:[37, 20], Operations: ['84-47=37', '76-56=20']
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[84, 47, 76, 56], Operations: []
Exploring Operation: 84-56=28, Resulting Numbers: [47, 76, 28]
Generated Node #0,0: 17:[47, 76, 28] Operation: 84-56=28
Exploring Operation: 84-76=8, Resulting Numbers: [47, 56, 8]
Generated Node #0,1: 17:[47, 56, 8] Operation: 84-76=8
Exploring Operation: 76-56=20, Resulting Numbers: [84, 47, 20]
Generated Node #0,2: 17:[84, 47, 20] Operation: 76-56=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[47, 56, 8], Operations: ['84-76=8']
Exploring Operation: 56-47=9, Resulting Numbers: [8, 9]
Generated Node #0,1,0: 17:[8, 9] Operation: 56-47=9
Exploring Operation: 56/8=7, Resulting Numbers: [47, 7]
Generated Node #0,1,1: 17:[47, 7] Operation: 56/8=7
Exploring Operation: 47-8=39, Resulting Numbers: [56, 39]
Generated Node #0,1,2: 17:[56, 39] Operation: 47-8=39
Moving to Node #0,1,0
Current State: 17:[8, 9], Operations: ['84-76=8', '56-47=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,17 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[84, 47, 76, 56], Operations: []
Exploring Operation: 84-76=8, Resulting Numbers: [47, 56, 8]
Generated Node #0,1: 17:[47, 56, 8] Operation: 84-76=8
Moving to Node #0,1
Current State: 17:[47, 56, 8], Operations: ['84-76=8']
Exploring Operation: 56-47=9, Resulting Numbers: [8, 9]
Generated Node #0,1,0: 17:[8, 9] Operation: 56-47=9
Moving to Node #0,1,0
Current State: 17:[8, 9], Operations: ['84-76=8', '56-47=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
29,
37,
82,
56
] | 72 | [
"29+37=66",
"82+56=138",
"138-66=72"
] | Current State: 72:[29, 37, 82, 56], Operations: []
Exploring Operation: 29+37=66, Resulting Numbers: [82, 56, 66]
Generated Node #2: [82, 56, 66] from Operation: 29+37=66
Current State: 72:[82, 56, 66], Operations: ['29+37=66']
Exploring Operation: 82+56=138, Resulting Numbers: [66, 138]
Generated Node #3: [66, 138] from Operation: 82+56=138
Current State: 72:[66, 138], Operations: ['29+37=66', '82+56=138']
Exploring Operation: 138-66=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[29, 37, 82, 56], Operations: []
Exploring Operation: 56-29=27, Resulting Numbers: [37, 82, 27]
Generated Node #0,0: 72:[37, 82, 27] Operation: 56-29=27
Exploring Operation: 56-37=19, Resulting Numbers: [29, 82, 19]
Generated Node #0,1: 72:[29, 82, 19] Operation: 56-37=19
Exploring Operation: 82-56=26, Resulting Numbers: [29, 37, 26]
Generated Node #0,2: 72:[29, 37, 26] Operation: 82-56=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[29, 37, 26], Operations: ['82-56=26']
Exploring Operation: 37-29=8, Resulting Numbers: [26, 8]
Generated Node #0,2,0: 72:[26, 8] Operation: 37-29=8
Exploring Operation: 29-26=3, Resulting Numbers: [37, 3]
Generated Node #0,2,1: 72:[37, 3] Operation: 29-26=3
Exploring Operation: 37-26=11, Resulting Numbers: [29, 11]
Generated Node #0,2,2: 72:[29, 11] Operation: 37-26=11
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 72:[37, 3], Operations: ['82-56=26', '29-26=3']
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,72 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,72 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,72 unequal: No Solution
No 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: 72:[26, 8], Operations: ['82-56=26', '37-29=8']
Exploring Operation: 26*8=208, Resulting Numbers: [208]
208,72 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,72 unequal: No Solution
No 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: 72:[29, 11], Operations: ['82-56=26', '37-26=11']
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 29*11=319, Resulting Numbers: [319]
319,72 unequal: No Solution
Exploring Operation: 29+11=40, Resulting Numbers: [40]
40,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[37, 82, 27], Operations: ['56-29=27']
Exploring Operation: 82-37=45, Resulting Numbers: [27, 45]
Generated Node #0,0,0: 72:[27, 45] Operation: 82-37=45
Exploring Operation: 37-27=10, Resulting Numbers: [82, 10]
Generated Node #0,0,1: 72:[82, 10] Operation: 37-27=10
Exploring Operation: 37+27=64, Resulting Numbers: [82, 64]
Generated Node #0,0,2: 72:[82, 64] Operation: 37+27=64
Moving to Node #0,0,1
Current State: 72:[82, 10], Operations: ['56-29=27', '37-27=10']
Exploring Operation: 82+10=92, Resulting Numbers: [92]
92,72 unequal: No Solution
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[29, 37, 82, 56], Operations: []
Exploring Operation: 56-29=27, Resulting Numbers: [37, 82, 27]
Generated Node #0,0: 72:[37, 82, 27] Operation: 56-29=27
Moving to Node #0,0
Current State: 72:[37, 82, 27], Operations: ['56-29=27']
Exploring Operation: 37-27=10, Resulting Numbers: [82, 10]
Generated Node #0,0,1: 72:[82, 10] Operation: 37-27=10
Moving to Node #0,0,1
Current State: 72:[82, 10], Operations: ['56-29=27', '37-27=10']
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
93,
77,
96,
27
] | 53 | [
"93-77=16",
"96-27=69",
"69-16=53"
] | Current State: 53:[93, 77, 96, 27], Operations: []
Exploring Operation: 93-77=16, Resulting Numbers: [96, 27, 16]
Generated Node #2: [96, 27, 16] from Operation: 93-77=16
Current State: 53:[96, 27, 16], Operations: ['93-77=16']
Exploring Operation: 96-27=69, Resulting Numbers: [16, 69]
Generated Node #3: [16, 69] from Operation: 96-27=69
Current State: 53:[16, 69], Operations: ['93-77=16', '96-27=69']
Exploring Operation: 69-16=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[93, 77, 96, 27], Operations: []
Exploring Operation: 93-27=66, Resulting Numbers: [77, 96, 66]
Generated Node #0,0: 53:[77, 96, 66] Operation: 93-27=66
Exploring Operation: 96-27=69, Resulting Numbers: [93, 77, 69]
Generated Node #0,1: 53:[93, 77, 69] Operation: 96-27=69
Moving to Node #0,0
Current State: 53:[77, 96, 66], Operations: ['93-27=66']
Exploring Operation: 96-66=30, Resulting Numbers: [77, 30]
Generated Node #0,0,0: 53:[77, 30] Operation: 96-66=30
Exploring Operation: 96-77=19, Resulting Numbers: [66, 19]
Generated Node #0,0,1: 53:[66, 19] Operation: 96-77=19
Moving to Node #0,1
Current State: 53:[93, 77, 69], Operations: ['96-27=69']
Exploring Operation: 93-77=16, Resulting Numbers: [69, 16]
Generated Node #0,1,0: 53:[69, 16] Operation: 93-77=16
Exploring Operation: 93-69=24, Resulting Numbers: [77, 24]
Generated Node #0,1,1: 53:[77, 24] Operation: 93-69=24
Moving to Node #0,0,0
Current State: 53:[77, 30], Operations: ['93-27=66', '96-66=30']
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,53 unequal: No Solution
Exploring Operation: 77+30=107, Resulting Numbers: [107]
107,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[66, 19], Operations: ['93-27=66', '96-77=19']
Exploring Operation: 66+19=85, Resulting Numbers: [85]
85,53 unequal: No Solution
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[77, 24], Operations: ['96-27=69', '93-69=24']
Exploring Operation: 77+24=101, Resulting Numbers: [101]
101,53 unequal: No Solution
Exploring Operation: 77-24=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[93, 77, 96, 27], Operations: []
Exploring Operation: 96-27=69, Resulting Numbers: [93, 77, 69]
Generated Node #0,1: 53:[93, 77, 69] Operation: 96-27=69
Moving to Node #0,1
Current State: 53:[93, 77, 69], Operations: ['96-27=69']
Exploring Operation: 93-69=24, Resulting Numbers: [77, 24]
Generated Node #0,1,1: 53:[77, 24] Operation: 93-69=24
Moving to Node #0,1,1
Current State: 53:[77, 24], Operations: ['96-27=69', '93-69=24']
Exploring Operation: 77-24=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
71,
8,
76,
40
] | 43 | [
"71+8=79",
"76-40=36",
"79-36=43"
] | Current State: 43:[71, 8, 76, 40], Operations: []
Exploring Operation: 71+8=79, Resulting Numbers: [76, 40, 79]
Generated Node #2: [76, 40, 79] from Operation: 71+8=79
Current State: 43:[76, 40, 79], Operations: ['71+8=79']
Exploring Operation: 76-40=36, Resulting Numbers: [79, 36]
Generated Node #3: [79, 36] from Operation: 76-40=36
Current State: 43:[79, 36], Operations: ['71+8=79', '76-40=36']
Exploring Operation: 79-36=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[71, 8, 76, 40], Operations: []
Exploring Operation: 76-8=68, Resulting Numbers: [71, 40, 68]
Generated Node #0,0: 43:[71, 40, 68] Operation: 76-8=68
Exploring Operation: 8+40=48, Resulting Numbers: [71, 76, 48]
Generated Node #0,1: 43:[71, 76, 48] Operation: 8+40=48
Exploring Operation: 71+8=79, Resulting Numbers: [76, 40, 79]
Generated Node #0,2: 43:[76, 40, 79] Operation: 71+8=79
Exploring Operation: 71-8=63, Resulting Numbers: [76, 40, 63]
Generated Node #0,3: 43:[76, 40, 63] Operation: 71-8=63
Exploring Operation: 76-40=36, Resulting Numbers: [71, 8, 36]
Generated Node #0,4: 43:[71, 8, 36] Operation: 76-40=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[71, 40, 68], Operations: ['76-8=68']
Exploring Operation: 40+68=108, Resulting Numbers: [71, 108]
Generated Node #0,0,0: 43:[71, 108] Operation: 40+68=108
Exploring Operation: 71-68=3, Resulting Numbers: [40, 3]
Generated Node #0,0,1: 43:[40, 3] Operation: 71-68=3
Exploring Operation: 68-40=28, Resulting Numbers: [71, 28]
Generated Node #0,0,2: 43:[71, 28] Operation: 68-40=28
Exploring Operation: 71+40=111, Resulting Numbers: [68, 111]
Generated Node #0,0,3: 43:[68, 111] Operation: 71+40=111
Exploring Operation: 71-40=31, Resulting Numbers: [68, 31]
Generated Node #0,0,4: 43:[68, 31] Operation: 71-40=31
Moving to Node #0,0,4
Current State: 43:[68, 31], Operations: ['76-8=68', '71-40=31']
Exploring Operation: 68*31=2108, Resulting Numbers: [2108]
2108,43 unequal: No Solution
Exploring Operation: 68+31=99, Resulting Numbers: [99]
99,43 unequal: No Solution
Exploring Operation: 68-31=37, Resulting Numbers: [37]
37,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[71, 28], Operations: ['76-8=68', '68-40=28']
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[71, 8, 76, 40], Operations: []
Exploring Operation: 76-8=68, Resulting Numbers: [71, 40, 68]
Generated Node #0,0: 43:[71, 40, 68] Operation: 76-8=68
Moving to Node #0,0
Current State: 43:[71, 40, 68], Operations: ['76-8=68']
Exploring Operation: 68-40=28, Resulting Numbers: [71, 28]
Generated Node #0,0,2: 43:[71, 28] Operation: 68-40=28
Moving to Node #0,0,2
Current State: 43:[71, 28], Operations: ['76-8=68', '68-40=28']
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
4,
95,
20,
75
] | 44 | [
"4+95=99",
"75-20=55",
"99-55=44"
] | Current State: 44:[4, 95, 20, 75], Operations: []
Exploring Operation: 4+95=99, Resulting Numbers: [20, 75, 99]
Generated Node #2: [20, 75, 99] from Operation: 4+95=99
Current State: 44:[20, 75, 99], Operations: ['4+95=99']
Exploring Operation: 75-20=55, Resulting Numbers: [99, 55]
Generated Node #3: [99, 55] from Operation: 75-20=55
Current State: 44:[99, 55], Operations: ['4+95=99', '75-20=55']
Exploring Operation: 99-55=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[4, 95, 20, 75], Operations: []
Exploring Operation: 95-20=75, Resulting Numbers: [4, 75, 75]
Generated Node #0,0: 44:[4, 75, 75] Operation: 95-20=75
Exploring Operation: 95-75=20, Resulting Numbers: [4, 20, 20]
Generated Node #0,1: 44:[4, 20, 20] Operation: 95-75=20
Exploring Operation: 75-20=55, Resulting Numbers: [4, 95, 55]
Generated Node #0,2: 44:[4, 95, 55] Operation: 75-20=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[4, 20, 20], Operations: ['95-75=20']
Exploring Operation: 20/4=5, Resulting Numbers: [20, 5]
Generated Node #0,1,0: 44:[20, 5] Operation: 20/4=5
Exploring Operation: 20-20=0, Resulting Numbers: [4, 0]
Generated Node #0,1,1: 44:[4, 0] Operation: 20-20=0
Exploring Operation: 20/20=1, Resulting Numbers: [4, 1]
Generated Node #0,1,2: 44:[4, 1] Operation: 20/20=1
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 44:[4, 1], Operations: ['95-75=20', '20/20=1']
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,44 unequal: No Solution
No 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: 44:[4, 0], Operations: ['95-75=20', '20-20=0']
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,44 unequal: No Solution
No 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: 44:[20, 5], Operations: ['95-75=20', '20/4=5']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,44 unequal: No Solution
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,44 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: 44:[4, 75, 75], Operations: ['95-20=75']
Exploring Operation: 75-4=71, Resulting Numbers: [75, 71]
Generated Node #0,0,0: 44:[75, 71] Operation: 75-4=71
Exploring Operation: 75-75=0, Resulting Numbers: [4, 0]
Generated Node #0,0,1: 44:[4, 0] Operation: 75-75=0
Exploring Operation: 75/75=1, Resulting Numbers: [4, 1]
Generated Node #0,0,2: 44:[4, 1] Operation: 75/75=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 44:[4, 1], Operations: ['95-20=75', '75/75=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,44 unequal: No Solution
No 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: 44:[4, 0], Operations: ['95-20=75', '75-75=0']
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,44 unequal: No Solution
No 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: 44:[75, 71], Operations: ['95-20=75', '75-4=71']
Exploring Operation: 75+71=146, Resulting Numbers: [146]
146,44 unequal: No Solution
Exploring Operation: 75-71=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 75*71=5325, Resulting Numbers: [5325]
5325,44 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: 44:[4, 95, 55], Operations: ['75-20=55']
Exploring Operation: 95-4=91, Resulting Numbers: [55, 91]
Generated Node #0,2,0: 44:[55, 91] Operation: 95-4=91
Exploring Operation: 55-4=51, Resulting Numbers: [95, 51]
Generated Node #0,2,1: 44:[95, 51] Operation: 55-4=51
Exploring Operation: 95-55=40, Resulting Numbers: [4, 40]
Generated Node #0,2,2: 44:[4, 40] Operation: 95-55=40
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 44:[4, 40], Operations: ['75-20=55', '95-55=40']
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[4, 95, 20, 75], Operations: []
Exploring Operation: 75-20=55, Resulting Numbers: [4, 95, 55]
Generated Node #0,2: 44:[4, 95, 55] Operation: 75-20=55
Moving to Node #0,2
Current State: 44:[4, 95, 55], Operations: ['75-20=55']
Exploring Operation: 95-55=40, Resulting Numbers: [4, 40]
Generated Node #0,2,2: 44:[4, 40] Operation: 95-55=40
Moving to Node #0,2,2
Current State: 44:[4, 40], Operations: ['75-20=55', '95-55=40']
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_3 | sum_heuristic |
[
86,
43,
86,
58
] | 60 | [
"86-43=43",
"86/43=2",
"58+2=60"
] | Current State: 60:[86, 43, 86, 58], Operations: []
Exploring Operation: 86-43=43, Resulting Numbers: [58, 43]
Generated Node #2: [58, 43] from Operation: 86-43=43
Current State: 60:[58, 43], Operations: ['86-43=43']
Exploring Operation: 86/43=2, Resulting Numbers: [58, 2]
Generated Node #3: [58, 2] from Operation: 86/43=2
Current State: 60:[58, 2], Operations: ['86-43=43', '86/43=2']
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[86, 43, 86, 58], Operations: []
Exploring Operation: 86/86=1, Resulting Numbers: [43, 58, 1]
Generated Node #0,0: 60:[43, 58, 1] Operation: 86/86=1
Moving to Node #0,0
Current State: 60:[43, 58, 1], Operations: ['86/86=1']
Exploring Operation: 58-43=15, Resulting Numbers: [1, 15]
Generated Node #0,0,0: 60:[1, 15] Operation: 58-43=15
Moving to Node #0,0,0
Current State: 60:[1, 15], Operations: ['86/86=1', '58-43=15']
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,60 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
70,
68,
72,
2
] | 73 | [
"70-68=2",
"2/2=1",
"72+1=73"
] | Current State: 73:[70, 68, 72, 2], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [72, 2, 2]
Generated Node #2: [72, 2, 2] from Operation: 70-68=2
Current State: 73:[72, 2, 2], Operations: ['70-68=2']
Exploring Operation: 2/2=1, Resulting Numbers: [72, 1]
Generated Node #3: [72, 1] from Operation: 2/2=1
Current State: 73:[72, 1], Operations: ['70-68=2', '2/2=1']
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[70, 68, 72, 2], Operations: []
Exploring Operation: 68+2=70, Resulting Numbers: [70, 72, 70]
Generated Node #0,0: 73:[70, 72, 70] Operation: 68+2=70
Exploring Operation: 70+2=72, Resulting Numbers: [68, 72, 72]
Generated Node #0,1: 73:[68, 72, 72] Operation: 70+2=72
Moving to Node #0,0
Current State: 73:[70, 72, 70], Operations: ['68+2=70']
Exploring Operation: 70+72=142, Resulting Numbers: [70, 142]
Generated Node #0,0,0: 73:[70, 142] Operation: 70+72=142
Exploring Operation: 70+70=140, Resulting Numbers: [72, 140]
Generated Node #0,0,1: 73:[72, 140] Operation: 70+70=140
Moving to Node #0,1
Current State: 73:[68, 72, 72], Operations: ['70+2=72']
Exploring Operation: 68+72=140, Resulting Numbers: [72, 140]
Generated Node #0,1,0: 73:[72, 140] Operation: 68+72=140
Exploring Operation: 68+72=140, Resulting Numbers: [72, 140]
Generated Node #0,1,1: 73:[72, 140] Operation: 68+72=140
Moving to Node #0,0,1
Current State: 73:[72, 140], Operations: ['68+2=70', '70+70=140']
Exploring Operation: 140-72=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Exploring Operation: 72+140=212, Resulting Numbers: [212]
212,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[72, 140], Operations: ['70+2=72', '68+72=140']
Exploring Operation: 140-72=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Exploring Operation: 72+140=212, Resulting Numbers: [212]
212,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[72, 140], Operations: ['70+2=72', '68+72=140']
Exploring Operation: 140-72=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Exploring Operation: 72+140=212, Resulting Numbers: [212]
212,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[70, 142], Operations: ['68+2=70', '70+72=142']
Exploring Operation: 70+142=212, Resulting Numbers: [212]
212,73 unequal: No Solution
Exploring Operation: 142-70=72, Resulting Numbers: [72]
72,73 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
15,
46,
61,
4
] | 27 | [
"15+61=76",
"76/4=19",
"46-19=27"
] | Current State: 27:[15, 46, 61, 4], Operations: []
Exploring Operation: 15+61=76, Resulting Numbers: [46, 4, 76]
Generated Node #2: [46, 4, 76] from Operation: 15+61=76
Current State: 27:[46, 4, 76], Operations: ['15+61=76']
Exploring Operation: 76/4=19, Resulting Numbers: [46, 19]
Generated Node #3: [46, 19] from Operation: 76/4=19
Current State: 27:[46, 19], Operations: ['15+61=76', '76/4=19']
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[15, 46, 61, 4], Operations: []
Exploring Operation: 61-46=15, Resulting Numbers: [15, 4, 15]
Generated Node #0,0: 27:[15, 4, 15] Operation: 61-46=15
Moving to Node #0,0
Current State: 27:[15, 4, 15], Operations: ['61-46=15']
Exploring Operation: 15/15=1, Resulting Numbers: [4, 1]
Generated Node #0,0,0: 27:[4, 1] Operation: 15/15=1
Moving to Node #0,0,0
Current State: 27:[4, 1], Operations: ['61-46=15', '15/15=1']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,27 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
51,
50,
2,
69
] | 59 | [
"69-51=18",
"18/2=9",
"50+9=59"
] | Current State: 59:[51, 50, 2, 69], Operations: []
Exploring Operation: 69-51=18, Resulting Numbers: [50, 2, 18]
Generated Node #2: [50, 2, 18] from Operation: 69-51=18
Current State: 59:[50, 2, 18], Operations: ['69-51=18']
Exploring Operation: 18/2=9, Resulting Numbers: [50, 9]
Generated Node #3: [50, 9] from Operation: 18/2=9
Current State: 59:[50, 9], Operations: ['69-51=18', '18/2=9']
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[51, 50, 2, 69], Operations: []
Exploring Operation: 50+2=52, Resulting Numbers: [51, 69, 52]
Generated Node #0,0: 59:[51, 69, 52] Operation: 50+2=52
Exploring Operation: 51-2=49, Resulting Numbers: [50, 69, 49]
Generated Node #0,1: 59:[50, 69, 49] Operation: 51-2=49
Exploring Operation: 51+2=53, Resulting Numbers: [50, 69, 53]
Generated Node #0,2: 59:[50, 69, 53] Operation: 51+2=53
Exploring Operation: 50-2=48, Resulting Numbers: [51, 69, 48]
Generated Node #0,3: 59:[51, 69, 48] Operation: 50-2=48
Exploring Operation: 69-2=67, Resulting Numbers: [51, 50, 67]
Generated Node #0,4: 59:[51, 50, 67] Operation: 69-2=67
Moving to Node #0,0
Current State: 59:[51, 69, 52], Operations: ['50+2=52']
Exploring Operation: 69-52=17, Resulting Numbers: [51, 17]
Generated Node #0,0,0: 59:[51, 17] Operation: 69-52=17
Exploring Operation: 52-51=1, Resulting Numbers: [69, 1]
Generated Node #0,0,1: 59:[69, 1] Operation: 52-51=1
Exploring Operation: 51+69=120, Resulting Numbers: [52, 120]
Generated Node #0,0,2: 59:[52, 120] Operation: 51+69=120
Exploring Operation: 69-51=18, Resulting Numbers: [52, 18]
Generated Node #0,0,3: 59:[52, 18] Operation: 69-51=18
Exploring Operation: 51+52=103, Resulting Numbers: [69, 103]
Generated Node #0,0,4: 59:[69, 103] Operation: 51+52=103
Moving to Node #0,4
Current State: 59:[51, 50, 67], Operations: ['69-2=67']
Exploring Operation: 51+50=101, Resulting Numbers: [67, 101]
Generated Node #0,4,0: 59:[67, 101] Operation: 51+50=101
Exploring Operation: 67-50=17, Resulting Numbers: [51, 17]
Generated Node #0,4,1: 59:[51, 17] Operation: 67-50=17
Exploring Operation: 51-50=1, Resulting Numbers: [67, 1]
Generated Node #0,4,2: 59:[67, 1] Operation: 51-50=1
Exploring Operation: 67-51=16, Resulting Numbers: [50, 16]
Generated Node #0,4,3: 59:[50, 16] Operation: 67-51=16
Exploring Operation: 50+67=117, Resulting Numbers: [51, 117]
Generated Node #0,4,4: 59:[51, 117] Operation: 50+67=117
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 59:[67, 101], Operations: ['69-2=67', '51+50=101']
Exploring Operation: 67+101=168, Resulting Numbers: [168]
168,59 unequal: No Solution
Exploring Operation: 67*101=6767, Resulting Numbers: [6767]
6767,59 unequal: No Solution
Exploring Operation: 101-67=34, Resulting Numbers: [34]
34,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:[51, 17], Operations: ['69-2=67', '67-50=17']
Exploring Operation: 51*17=867, Resulting Numbers: [867]
867,59 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,59 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,59 unequal: No Solution
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,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:[50, 16], Operations: ['69-2=67', '67-51=16']
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,59 unequal: No Solution
Exploring Operation: 50*16=800, Resulting Numbers: [800]
800,59 unequal: No Solution
Exploring Operation: 50+16=66, Resulting Numbers: [66]
66,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:[67, 1], Operations: ['69-2=67', '51-50=1']
Exploring Operation: 67+1=68, Resulting Numbers: [68]
68,59 unequal: No Solution
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Exploring Operation: 67/1=67, Resulting Numbers: [67]
67,59 unequal: No Solution
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,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,4
Current State: 59:[51, 117], Operations: ['69-2=67', '50+67=117']
Exploring Operation: 51+117=168, Resulting Numbers: [168]
168,59 unequal: No Solution
Exploring Operation: 51*117=5967, Resulting Numbers: [5967]
5967,59 unequal: No Solution
Exploring Operation: 117-51=66, Resulting Numbers: [66]
66,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:[50, 69, 53], Operations: ['51+2=53']
Exploring Operation: 50+69=119, Resulting Numbers: [53, 119]
Generated Node #0,2,0: 59:[53, 119] Operation: 50+69=119
Exploring Operation: 69-50=19, Resulting Numbers: [53, 19]
Generated Node #0,2,1: 59:[53, 19] Operation: 69-50=19
Exploring Operation: 50+53=103, Resulting Numbers: [69, 103]
Generated Node #0,2,2: 59:[69, 103] Operation: 50+53=103
Exploring Operation: 69-53=16, Resulting Numbers: [50, 16]
Generated Node #0,2,3: 59:[50, 16] Operation: 69-53=16
Exploring Operation: 53-50=3, Resulting Numbers: [69, 3]
Generated Node #0,2,4: 59:[69, 3] Operation: 53-50=3
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 59:[53, 19], Operations: ['51+2=53', '69-50=19']
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,59 unequal: No Solution
Exploring Operation: 53*19=1007, Resulting Numbers: [1007]
1007,59 unequal: No Solution
Exploring Operation: 53+19=72, Resulting Numbers: [72]
72,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 59:[50, 16], Operations: ['51+2=53', '69-53=16']
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,59 unequal: No Solution
Exploring Operation: 50*16=800, Resulting Numbers: [800]
800,59 unequal: No Solution
Exploring Operation: 50+16=66, Resulting Numbers: [66]
66,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 59:[69, 103], Operations: ['51+2=53', '50+53=103']
Exploring Operation: 103-69=34, Resulting Numbers: [34]
34,59 unequal: No Solution
Exploring Operation: 69*103=7107, Resulting Numbers: [7107]
7107,59 unequal: No Solution
Exploring Operation: 69+103=172, Resulting Numbers: [172]
172,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[53, 119], Operations: ['51+2=53', '50+69=119']
Exploring Operation: 53+119=172, Resulting Numbers: [172]
172,59 unequal: No Solution
Exploring Operation: 53*119=6307, Resulting Numbers: [6307]
6307,59 unequal: No Solution
Exploring Operation: 119-53=66, Resulting Numbers: [66]
66,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,4
Current State: 59:[69, 3], Operations: ['51+2=53', '53-50=3']
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,59 unequal: No Solution
Exploring Operation: 69*3=207, Resulting Numbers: [207]
207,59 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 59:[50, 69, 49], Operations: ['51-2=49']
Exploring Operation: 69-49=20, Resulting Numbers: [50, 20]
Generated Node #0,1,0: 59:[50, 20] Operation: 69-49=20
Exploring Operation: 50+49=99, Resulting Numbers: [69, 99]
Generated Node #0,1,1: 59:[69, 99] Operation: 50+49=99
Exploring Operation: 50-49=1, Resulting Numbers: [69, 1]
Generated Node #0,1,2: 59:[69, 1] Operation: 50-49=1
Exploring Operation: 69-50=19, Resulting Numbers: [49, 19]
Generated Node #0,1,3: 59:[49, 19] Operation: 69-50=19
Exploring Operation: 69+49=118, Resulting Numbers: [50, 118]
Generated Node #0,1,4: 59:[50, 118] Operation: 69+49=118
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[50, 20], Operations: ['51-2=49', '69-49=20']
Exploring Operation: 50*20=1000, Resulting Numbers: [1000]
1000,59 unequal: No Solution
Exploring Operation: 50+20=70, Resulting Numbers: [70]
70,59 unequal: No Solution
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[69, 99], Operations: ['51-2=49', '50+49=99']
Exploring Operation: 99-69=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Exploring Operation: 69+99=168, Resulting Numbers: [168]
168,59 unequal: No Solution
Exploring Operation: 69*99=6831, Resulting Numbers: [6831]
6831,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:[49, 19], Operations: ['51-2=49', '69-50=19']
Exploring Operation: 49*19=931, Resulting Numbers: [931]
931,59 unequal: No Solution
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Exploring Operation: 49+19=68, Resulting Numbers: [68]
68,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:[69, 1], Operations: ['51-2=49', '50-49=1']
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,59 unequal: No Solution
Exploring Operation: 69/1=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 69+1=70, Resulting Numbers: [70]
70,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,4
Current State: 59:[50, 118], Operations: ['51-2=49', '69+49=118']
Exploring Operation: 50*118=5900, Resulting Numbers: [5900]
5900,59 unequal: No Solution
Exploring Operation: 50+118=168, Resulting Numbers: [168]
168,59 unequal: No Solution
Exploring Operation: 118-50=68, Resulting Numbers: [68]
68,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:[51, 69, 48], Operations: ['50-2=48']
Exploring Operation: 51+48=99, Resulting Numbers: [69, 99]
Generated Node #0,3,0: 59:[69, 99] Operation: 51+48=99
Exploring Operation: 69-48=21, Resulting Numbers: [51, 21]
Generated Node #0,3,1: 59:[51, 21] Operation: 69-48=21
Exploring Operation: 51-48=3, Resulting Numbers: [69, 3]
Generated Node #0,3,2: 59:[69, 3] Operation: 51-48=3
Exploring Operation: 69-51=18, Resulting Numbers: [48, 18]
Generated Node #0,3,3: 59:[48, 18] Operation: 69-51=18
Exploring Operation: 69+48=117, Resulting Numbers: [51, 117]
Generated Node #0,3,4: 59:[51, 117] Operation: 69+48=117
Moving to Node #0,3,1
Current State: 59:[51, 21], Operations: ['50-2=48', '69-48=21']
Exploring Operation: 51+21=72, Resulting Numbers: [72]
72,59 unequal: No Solution
Exploring Operation: 51*21=1071, Resulting Numbers: [1071]
1071,59 unequal: No Solution
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[52, 18], Operations: ['50+2=52', '69-51=18']
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,59 unequal: No Solution
Exploring Operation: 52+18=70, Resulting Numbers: [70]
70,59 unequal: No Solution
Exploring Operation: 52*18=936, Resulting Numbers: [936]
936,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[69, 99], Operations: ['50-2=48', '51+48=99']
Exploring Operation: 69*99=6831, Resulting Numbers: [6831]
6831,59 unequal: No Solution
Exploring Operation: 69+99=168, Resulting Numbers: [168]
168,59 unequal: No Solution
Exploring Operation: 99-69=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[51, 17], Operations: ['50+2=52', '69-52=17']
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,59 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,59 unequal: No Solution
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,59 unequal: No Solution
Exploring Operation: 51*17=867, Resulting Numbers: [867]
867,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[48, 18], Operations: ['50-2=48', '69-51=18']
Exploring Operation: 48*18=864, Resulting Numbers: [864]
864,59 unequal: No Solution
Exploring Operation: 48+18=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Moving to Node #0,0,4
Current State: 59:[69, 103], Operations: ['50+2=52', '51+52=103']
Exploring Operation: 103-69=34, Resulting Numbers: [34]
34,59 unequal: No Solution
Exploring Operation: 69*103=7107, Resulting Numbers: [7107]
7107,59 unequal: No Solution
Exploring Operation: 69+103=172, Resulting Numbers: [172]
172,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[69, 3], Operations: ['50-2=48', '51-48=3']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Exploring Operation: 69*3=207, Resulting Numbers: [207]
207,59 unequal: No Solution
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,59 unequal: No Solution
Moving to Node #0,3,4
Current State: 59:[51, 117], Operations: ['50-2=48', '69+48=117']
Exploring Operation: 51+117=168, Resulting Numbers: [168]
168,59 unequal: No Solution
Exploring Operation: 51*117=5967, Resulting Numbers: [5967]
5967,59 unequal: No Solution
Exploring Operation: 117-51=66, Resulting Numbers: [66]
66,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[69, 1], Operations: ['50+2=52', '52-51=1']
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 69+1=70, Resulting Numbers: [70]
70,59 unequal: No Solution
Exploring Operation: 69/1=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[52, 120], Operations: ['50+2=52', '51+69=120']
Exploring Operation: 120-52=68, Resulting Numbers: [68]
68,59 unequal: No Solution
Exploring Operation: 52+120=172, Resulting Numbers: [172]
172,59 unequal: No Solution
Exploring Operation: 52*120=6240, Resulting Numbers: [6240]
6240,59 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
84,
5,
14,
39
] | 23 | [
"84-39=45",
"45/5=9",
"14+9=23"
] | Current State: 23:[84, 5, 14, 39], Operations: []
Exploring Operation: 84-39=45, Resulting Numbers: [5, 14, 45]
Generated Node #2: [5, 14, 45] from Operation: 84-39=45
Current State: 23:[5, 14, 45], Operations: ['84-39=45']
Exploring Operation: 45/5=9, Resulting Numbers: [14, 9]
Generated Node #3: [14, 9] from Operation: 45/5=9
Current State: 23:[14, 9], Operations: ['84-39=45', '45/5=9']
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[84, 5, 14, 39], Operations: []
Exploring Operation: 84-39=45, Resulting Numbers: [5, 14, 45]
Generated Node #0,0: 23:[5, 14, 45] Operation: 84-39=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[5, 14, 45], Operations: ['84-39=45']
Exploring Operation: 45/5=9, Resulting Numbers: [14, 9]
Generated Node #0,0,0: 23:[14, 9] Operation: 45/5=9
Moving to Node #0,0,0
Current State: 23:[14, 9], Operations: ['84-39=45', '45/5=9']
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[84, 5, 14, 39], Operations: []
Exploring Operation: 84-39=45, Resulting Numbers: [5, 14, 45]
Generated Node #0,0: 23:[5, 14, 45] Operation: 84-39=45
Moving to Node #0,0
Current State: 23:[5, 14, 45], Operations: ['84-39=45']
Exploring Operation: 45/5=9, Resulting Numbers: [14, 9]
Generated Node #0,0,0: 23:[14, 9] Operation: 45/5=9
Moving to Node #0,0,0
Current State: 23:[14, 9], Operations: ['84-39=45', '45/5=9']
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
99,
23,
12,
26
] | 45 | [
"26-23=3",
"99/3=33",
"12+33=45"
] | Current State: 45:[99, 23, 12, 26], Operations: []
Exploring Operation: 26-23=3, Resulting Numbers: [99, 12, 3]
Generated Node #2: [99, 12, 3] from Operation: 26-23=3
Current State: 45:[99, 12, 3], Operations: ['26-23=3']
Exploring Operation: 99/3=33, Resulting Numbers: [12, 33]
Generated Node #3: [12, 33] from Operation: 99/3=33
Current State: 45:[12, 33], Operations: ['26-23=3', '99/3=33']
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[99, 23, 12, 26], Operations: []
Exploring Operation: 99-26=73, Resulting Numbers: [23, 12, 73]
Generated Node #0,0: 45:[23, 12, 73] Operation: 99-26=73
Moving to Node #0,0
Current State: 45:[23, 12, 73], Operations: ['99-26=73']
Exploring Operation: 73-23=50, Resulting Numbers: [12, 50]
Generated Node #0,0,0: 45:[12, 50] Operation: 73-23=50
Moving to Node #0,0,0
Current State: 45:[12, 50], Operations: ['99-26=73', '73-23=50']
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,45 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
5,
72,
8,
15
] | 37 | [
"15-8=7",
"5*7=35",
"72-35=37"
] | Current State: 37:[5, 72, 8, 15], Operations: []
Exploring Operation: 15-8=7, Resulting Numbers: [5, 72, 7]
Generated Node #2: [5, 72, 7] from Operation: 15-8=7
Current State: 37:[5, 72, 7], Operations: ['15-8=7']
Exploring Operation: 5*7=35, Resulting Numbers: [72, 35]
Generated Node #3: [72, 35] from Operation: 5*7=35
Current State: 37:[72, 35], Operations: ['15-8=7', '5*7=35']
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[5, 72, 8, 15], Operations: []
Exploring Operation: 72-5=67, Resulting Numbers: [8, 15, 67]
Generated Node #0,0: 37:[8, 15, 67] Operation: 72-5=67
Exploring Operation: 5*8=40, Resulting Numbers: [72, 15, 40]
Generated Node #0,1: 37:[72, 15, 40] Operation: 5*8=40
Exploring Operation: 5+8=13, Resulting Numbers: [72, 15, 13]
Generated Node #0,2: 37:[72, 15, 13] Operation: 5+8=13
Moving to Node #0,1
Current State: 37:[72, 15, 40], Operations: ['5*8=40']
Exploring Operation: 72-15=57, Resulting Numbers: [40, 57]
Generated Node #0,1,0: 37:[40, 57] Operation: 72-15=57
Exploring Operation: 72-40=32, Resulting Numbers: [15, 32]
Generated Node #0,1,1: 37:[15, 32] Operation: 72-40=32
Exploring Operation: 40-15=25, Resulting Numbers: [72, 25]
Generated Node #0,1,2: 37:[72, 25] Operation: 40-15=25
Moving to Node #0,0
Current State: 37:[8, 15, 67], Operations: ['72-5=67']
Exploring Operation: 67-8=59, Resulting Numbers: [15, 59]
Generated Node #0,0,0: 37:[15, 59] Operation: 67-8=59
Exploring Operation: 67-15=52, Resulting Numbers: [8, 52]
Generated Node #0,0,1: 37:[8, 52] Operation: 67-15=52
Exploring Operation: 8+15=23, Resulting Numbers: [67, 23]
Generated Node #0,0,2: 37:[67, 23] Operation: 8+15=23
Moving to Node #0,2
Current State: 37:[72, 15, 13], Operations: ['5+8=13']
Exploring Operation: 72-13=59, Resulting Numbers: [15, 59]
Generated Node #0,2,0: 37:[15, 59] Operation: 72-13=59
Exploring Operation: 72-15=57, Resulting Numbers: [13, 57]
Generated Node #0,2,1: 37:[13, 57] Operation: 72-15=57
Exploring Operation: 15+13=28, Resulting Numbers: [72, 28]
Generated Node #0,2,2: 37:[72, 28] Operation: 15+13=28
Moving to Node #0,1,0
Current State: 37:[40, 57], Operations: ['5*8=40', '72-15=57']
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 40*57=2280, Resulting Numbers: [2280]
2280,37 unequal: No Solution
Exploring Operation: 40+57=97, Resulting Numbers: [97]
97,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[15, 32], Operations: ['5*8=40', '72-40=32']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 15*32=480, Resulting Numbers: [480]
480,37 unequal: No Solution
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[67, 23], Operations: ['72-5=67', '8+15=23']
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 67+23=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Exploring Operation: 67*23=1541, Resulting Numbers: [1541]
1541,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[15, 59], Operations: ['5+8=13', '72-13=59']
Exploring Operation: 15+59=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 15*59=885, Resulting Numbers: [885]
885,37 unequal: No Solution
Exploring Operation: 59-15=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[13, 57], Operations: ['5+8=13', '72-15=57']
Exploring Operation: 13+57=70, Resulting Numbers: [70]
70,37 unequal: No Solution
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 13*57=741, Resulting Numbers: [741]
741,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[8, 52], Operations: ['72-5=67', '67-15=52']
Exploring Operation: 8*52=416, Resulting Numbers: [416]
416,37 unequal: No Solution
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 8+52=60, Resulting Numbers: [60]
60,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[15, 59], Operations: ['72-5=67', '67-8=59']
Exploring Operation: 15*59=885, Resulting Numbers: [885]
885,37 unequal: No Solution
Exploring Operation: 15+59=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 59-15=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[72, 28], Operations: ['5+8=13', '15+13=28']
Exploring Operation: 72+28=100, Resulting Numbers: [100]
100,37 unequal: No Solution
Exploring Operation: 72-28=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 72*28=2016, Resulting Numbers: [2016]
2016,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[72, 25], Operations: ['5*8=40', '40-15=25']
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 72+25=97, Resulting Numbers: [97]
97,37 unequal: No Solution
Exploring Operation: 72*25=1800, Resulting Numbers: [1800]
1800,37 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
85,
47,
11,
2
] | 51 | [
"85-47=38",
"11+2=13",
"38+13=51"
] | Current State: 51:[85, 47, 11, 2], Operations: []
Exploring Operation: 85-47=38, Resulting Numbers: [11, 2, 38]
Generated Node #2: [11, 2, 38] from Operation: 85-47=38
Current State: 51:[11, 2, 38], Operations: ['85-47=38']
Exploring Operation: 11+2=13, Resulting Numbers: [38, 13]
Generated Node #3: [38, 13] from Operation: 11+2=13
Current State: 51:[38, 13], Operations: ['85-47=38', '11+2=13']
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[85, 47, 11, 2], Operations: []
Exploring Operation: 85-2=83, Resulting Numbers: [47, 11, 83]
Generated Node #0,0: 51:[47, 11, 83] Operation: 85-2=83
Exploring Operation: 85-11=74, Resulting Numbers: [47, 2, 74]
Generated Node #0,1: 51:[47, 2, 74] Operation: 85-11=74
Exploring Operation: 85-47=38, Resulting Numbers: [11, 2, 38]
Generated Node #0,2: 51:[11, 2, 38] Operation: 85-47=38
Exploring Operation: 47+11=58, Resulting Numbers: [85, 2, 58]
Generated Node #0,3: 51:[85, 2, 58] Operation: 47+11=58
Moving to Node #0,2
Current State: 51:[11, 2, 38], Operations: ['85-47=38']
Exploring Operation: 38-11=27, Resulting Numbers: [2, 27]
Generated Node #0,2,0: 51:[2, 27] Operation: 38-11=27
Exploring Operation: 11+38=49, Resulting Numbers: [2, 49]
Generated Node #0,2,1: 51:[2, 49] Operation: 11+38=49
Exploring Operation: 11+2=13, Resulting Numbers: [38, 13]
Generated Node #0,2,2: 51:[38, 13] Operation: 11+2=13
Exploring Operation: 38/2=19, Resulting Numbers: [11, 19]
Generated Node #0,2,3: 51:[11, 19] Operation: 38/2=19
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 51:[2, 49], Operations: ['85-47=38', '11+38=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,51 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[85, 47, 11, 2], Operations: []
Exploring Operation: 85-47=38, Resulting Numbers: [11, 2, 38]
Generated Node #0,2: 51:[11, 2, 38] Operation: 85-47=38
Moving to Node #0,2
Current State: 51:[11, 2, 38], Operations: ['85-47=38']
Exploring Operation: 11+38=49, Resulting Numbers: [2, 49]
Generated Node #0,2,1: 51:[2, 49] Operation: 11+38=49
Moving to Node #0,2,1
Current State: 51:[2, 49], Operations: ['85-47=38', '11+38=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.