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 |
|---|---|---|---|---|---|---|---|---|
[
19,
33,
13,
38
] | 53 | [
"19*38=722",
"722-33=689",
"689/13=53"
] | Current State: 53:[19, 33, 13, 38], Operations: []
Exploring Operation: 19*38=722, Resulting Numbers: [33, 13, 722]
Generated Node #2: [33, 13, 722] from Operation: 19*38=722
Current State: 53:[33, 13, 722], Operations: ['19*38=722']
Exploring Operation: 722-33=689, Resulting Numbers: [13, 689]
Generated Node #3: [13, 689] from Operation: 722-33=689
Current State: 53:[13, 689], Operations: ['19*38=722', '722-33=689']
Exploring Operation: 689/13=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[19, 33, 13, 38], Operations: []
Exploring Operation: 19+33=52, Resulting Numbers: [13, 38, 52]
Generated Node #0,0: 53:[13, 38, 52] Operation: 19+33=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[13, 38, 52], Operations: ['19+33=52']
Exploring Operation: 13+38=51, Resulting Numbers: [52, 51]
Generated Node #0,0,0: 53:[52, 51] Operation: 13+38=51
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[52, 51], Operations: ['19+33=52', '13+38=51']
Exploring Operation: 52+51=103, Resulting Numbers: [103]
103,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
92,
71,
55,
3
] | 62 | [
"92-71=21",
"21/3=7",
"55+7=62"
] | Current State: 62:[92, 71, 55, 3], Operations: []
Exploring Operation: 92-71=21, Resulting Numbers: [55, 3, 21]
Generated Node #2: [55, 3, 21] from Operation: 92-71=21
Current State: 62:[55, 3, 21], Operations: ['92-71=21']
Exploring Operation: 21/3=7, Resulting Numbers: [55, 7]
Generated Node #3: [55, 7] from Operation: 21/3=7
Current State: 62:[55, 7], Operations: ['92-71=21', '21/3=7']
Exploring Operation: 55+7=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[92, 71, 55, 3], Operations: []
Exploring Operation: 71-3=68, Resulting Numbers: [92, 55, 68]
Generated Node #0,0: 62:[92, 55, 68] Operation: 71-3=68
Exploring Operation: 92-55=37, Resulting Numbers: [71, 3, 37]
Generated Node #0,1: 62:[71, 3, 37] Operation: 92-55=37
Exploring Operation: 92-3=89, Resulting Numbers: [71, 55, 89]
Generated Node #0,2: 62:[71, 55, 89] Operation: 92-3=89
Exploring Operation: 92-71=21, Resulting Numbers: [55, 3, 21]
Generated Node #0,3: 62:[55, 3, 21] Operation: 92-71=21
Moving to Node #0,1
Current State: 62:[71, 3, 37], Operations: ['92-55=37']
Exploring Operation: 37-3=34, Resulting Numbers: [71, 34]
Generated Node #0,1,0: 62:[71, 34] Operation: 37-3=34
Exploring Operation: 71-3=68, Resulting Numbers: [37, 68]
Generated Node #0,1,1: 62:[37, 68] Operation: 71-3=68
Exploring Operation: 71-37=34, Resulting Numbers: [3, 34]
Generated Node #0,1,2: 62:[3, 34] Operation: 71-37=34
Exploring Operation: 71+3=74, Resulting Numbers: [37, 74]
Generated Node #0,1,3: 62:[37, 74] Operation: 71+3=74
Moving to Node #0,3
Current State: 62:[55, 3, 21], Operations: ['92-71=21']
Exploring Operation: 3*21=63, Resulting Numbers: [55, 63]
Generated Node #0,3,0: 62:[55, 63] Operation: 3*21=63
Exploring Operation: 55+3=58, Resulting Numbers: [21, 58]
Generated Node #0,3,1: 62:[21, 58] Operation: 55+3=58
Exploring Operation: 55-21=34, Resulting Numbers: [3, 34]
Generated Node #0,3,2: 62:[3, 34] Operation: 55-21=34
Exploring Operation: 21/3=7, Resulting Numbers: [55, 7]
Generated Node #0,3,3: 62:[55, 7] Operation: 21/3=7
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 62:[3, 34], Operations: ['92-71=21', '55-21=34']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,62 unequal: No Solution
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 62:[55, 63], Operations: ['92-71=21', '3*21=63']
Exploring Operation: 55+63=118, Resulting Numbers: [118]
118,62 unequal: No Solution
Exploring Operation: 63-55=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 55*63=3465, Resulting Numbers: [3465]
3465,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 62:[55, 7], Operations: ['92-71=21', '21/3=7']
Exploring Operation: 55*7=385, Resulting Numbers: [385]
385,62 unequal: No Solution
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,62 unequal: No Solution
Exploring Operation: 55+7=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[92, 71, 55, 3], Operations: []
Exploring Operation: 92-71=21, Resulting Numbers: [55, 3, 21]
Generated Node #0,3: 62:[55, 3, 21] Operation: 92-71=21
Moving to Node #0,3
Current State: 62:[55, 3, 21], Operations: ['92-71=21']
Exploring Operation: 21/3=7, Resulting Numbers: [55, 7]
Generated Node #0,3,3: 62:[55, 7] Operation: 21/3=7
Moving to Node #0,3,3
Current State: 62:[55, 7], Operations: ['92-71=21', '21/3=7']
Exploring Operation: 55+7=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | sum_heuristic |
[
11,
40,
6,
97
] | 58 | [
"11+97=108",
"108/6=18",
"40+18=58"
] | Current State: 58:[11, 40, 6, 97], Operations: []
Exploring Operation: 11+97=108, Resulting Numbers: [40, 6, 108]
Generated Node #2: [40, 6, 108] from Operation: 11+97=108
Current State: 58:[40, 6, 108], Operations: ['11+97=108']
Exploring Operation: 108/6=18, Resulting Numbers: [40, 18]
Generated Node #3: [40, 18] from Operation: 108/6=18
Current State: 58:[40, 18], Operations: ['11+97=108', '108/6=18']
Exploring Operation: 40+18=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[11, 40, 6, 97], Operations: []
Exploring Operation: 40-11=29, Resulting Numbers: [6, 97, 29]
Generated Node #0,0: 58:[6, 97, 29] Operation: 40-11=29
Exploring Operation: 97-40=57, Resulting Numbers: [11, 6, 57]
Generated Node #0,1: 58:[11, 6, 57] Operation: 97-40=57
Exploring Operation: 97-11=86, Resulting Numbers: [40, 6, 86]
Generated Node #0,2: 58:[40, 6, 86] Operation: 97-11=86
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[11, 6, 57], Operations: ['97-40=57']
Exploring Operation: 11-6=5, Resulting Numbers: [57, 5]
Generated Node #0,1,0: 58:[57, 5] Operation: 11-6=5
Exploring Operation: 11+6=17, Resulting Numbers: [57, 17]
Generated Node #0,1,1: 58:[57, 17] Operation: 11+6=17
Exploring Operation: 11*6=66, Resulting Numbers: [57, 66]
Generated Node #0,1,2: 58:[57, 66] Operation: 11*6=66
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 58:[57, 5], Operations: ['97-40=57', '11-6=5']
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,58 unequal: No Solution
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,58 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 58:[57, 66], Operations: ['97-40=57', '11*6=66']
Exploring Operation: 57+66=123, Resulting Numbers: [123]
123,58 unequal: No Solution
Exploring Operation: 66-57=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 57*66=3762, Resulting Numbers: [3762]
3762,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[57, 17], Operations: ['97-40=57', '11+6=17']
Exploring Operation: 57*17=969, Resulting Numbers: [969]
969,58 unequal: No Solution
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 57+17=74, Resulting Numbers: [74]
74,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[6, 97, 29], Operations: ['40-11=29']
Exploring Operation: 97-6=91, Resulting Numbers: [29, 91]
Generated Node #0,0,0: 58:[29, 91] Operation: 97-6=91
Exploring Operation: 6+97=103, Resulting Numbers: [29, 103]
Generated Node #0,0,1: 58:[29, 103] Operation: 6+97=103
Exploring Operation: 97-29=68, Resulting Numbers: [6, 68]
Generated Node #0,0,2: 58:[6, 68] Operation: 97-29=68
Moving to Node #0,0,2
Current State: 58:[6, 68], Operations: ['40-11=29', '97-29=68']
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,58 unequal: No Solution
Exploring Operation: 6+68=74, Resulting Numbers: [74]
74,58 unequal: No Solution
Exploring Operation: 6*68=408, Resulting Numbers: [408]
408,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[29, 91], Operations: ['40-11=29', '97-6=91']
Exploring Operation: 29+91=120, Resulting Numbers: [120]
120,58 unequal: No Solution
Exploring Operation: 29*91=2639, Resulting Numbers: [2639]
2639,58 unequal: No Solution
Exploring Operation: 91-29=62, Resulting Numbers: [62]
62,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[29, 103], Operations: ['40-11=29', '6+97=103']
Exploring Operation: 29+103=132, Resulting Numbers: [132]
132,58 unequal: No Solution
Exploring Operation: 29*103=2987, Resulting Numbers: [2987]
2987,58 unequal: No Solution
Exploring Operation: 103-29=74, Resulting Numbers: [74]
74,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[40, 6, 86], Operations: ['97-11=86']
Exploring Operation: 40-6=34, Resulting Numbers: [86, 34]
Generated Node #0,2,0: 58:[86, 34] Operation: 40-6=34
Exploring Operation: 86-6=80, Resulting Numbers: [40, 80]
Generated Node #0,2,1: 58:[40, 80] Operation: 86-6=80
Exploring Operation: 86-40=46, Resulting Numbers: [6, 46]
Generated Node #0,2,2: 58:[6, 46] Operation: 86-40=46
Moving to Node #0,2,2
Current State: 58:[6, 46], Operations: ['97-11=86', '86-40=46']
Exploring Operation: 6*46=276, Resulting Numbers: [276]
276,58 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,58 unequal: No Solution
Moving to Node #0,2,0
Current State: 58:[86, 34], Operations: ['97-11=86', '40-6=34']
Exploring Operation: 86+34=120, Resulting Numbers: [120]
120,58 unequal: No Solution
Exploring Operation: 86*34=2924, Resulting Numbers: [2924]
2924,58 unequal: No Solution
Exploring Operation: 86-34=52, Resulting Numbers: [52]
52,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[40, 80], Operations: ['97-11=86', '86-6=80']
Exploring Operation: 40+80=120, Resulting Numbers: [120]
120,58 unequal: No Solution
Exploring Operation: 80/40=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 80-40=40, Resulting Numbers: [40]
40,58 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 |
[
66,
2,
7,
77
] | 53 | [
"66-2=64",
"77/7=11",
"64-11=53"
] | Current State: 53:[66, 2, 7, 77], Operations: []
Exploring Operation: 66-2=64, Resulting Numbers: [7, 77, 64]
Generated Node #2: [7, 77, 64] from Operation: 66-2=64
Current State: 53:[7, 77, 64], Operations: ['66-2=64']
Exploring Operation: 77/7=11, Resulting Numbers: [64, 11]
Generated Node #3: [64, 11] from Operation: 77/7=11
Current State: 53:[64, 11], Operations: ['66-2=64', '77/7=11']
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[66, 2, 7, 77], Operations: []
Exploring Operation: 2*7=14, Resulting Numbers: [66, 77, 14]
Generated Node #0,0: 53:[66, 77, 14] Operation: 2*7=14
Exploring Operation: 66-2=64, Resulting Numbers: [7, 77, 64]
Generated Node #0,1: 53:[7, 77, 64] Operation: 66-2=64
Moving to Node #0,0
Current State: 53:[66, 77, 14], Operations: ['2*7=14']
Exploring Operation: 66-14=52, Resulting Numbers: [77, 52]
Generated Node #0,0,0: 53:[77, 52] Operation: 66-14=52
Exploring Operation: 77-14=63, Resulting Numbers: [66, 63]
Generated Node #0,0,1: 53:[66, 63] Operation: 77-14=63
Moving to Node #0,1
Current State: 53:[7, 77, 64], Operations: ['66-2=64']
Exploring Operation: 77-7=70, Resulting Numbers: [64, 70]
Generated Node #0,1,0: 53:[64, 70] Operation: 77-7=70
Exploring Operation: 64-7=57, Resulting Numbers: [77, 57]
Generated Node #0,1,1: 53:[77, 57] Operation: 64-7=57
Moving to Node #0,0,1
Current State: 53:[66, 63], Operations: ['2*7=14', '77-14=63']
Exploring Operation: 66-63=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 66+63=129, Resulting Numbers: [129]
129,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[77, 52], Operations: ['2*7=14', '66-14=52']
Exploring Operation: 77+52=129, Resulting Numbers: [129]
129,53 unequal: No Solution
Exploring Operation: 77-52=25, Resulting Numbers: [25]
25,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[77, 57], Operations: ['66-2=64', '64-7=57']
Exploring Operation: 77-57=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 77+57=134, Resulting Numbers: [134]
134,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[64, 70], Operations: ['66-2=64', '77-7=70']
Exploring Operation: 70-64=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 64+70=134, Resulting Numbers: [134]
134,53 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
9,
17,
63,
18
] | 91 | [
"9+17=26",
"63*26=1638",
"1638/18=91"
] | Current State: 91:[9, 17, 63, 18], Operations: []
Exploring Operation: 9+17=26, Resulting Numbers: [63, 18, 26]
Generated Node #2: [63, 18, 26] from Operation: 9+17=26
Current State: 91:[63, 18, 26], Operations: ['9+17=26']
Exploring Operation: 63*26=1638, Resulting Numbers: [18, 1638]
Generated Node #3: [18, 1638] from Operation: 63*26=1638
Current State: 91:[18, 1638], Operations: ['9+17=26', '63*26=1638']
Exploring Operation: 1638/18=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[9, 17, 63, 18], Operations: []
Exploring Operation: 63+18=81, Resulting Numbers: [9, 17, 81]
Generated Node #0,0: 91:[9, 17, 81] Operation: 63+18=81
Exploring Operation: 17+63=80, Resulting Numbers: [9, 18, 80]
Generated Node #0,1: 91:[9, 18, 80] Operation: 17+63=80
Exploring Operation: 63/9=7, Resulting Numbers: [17, 18, 7]
Generated Node #0,2: 91:[17, 18, 7] Operation: 63/9=7
Moving to Node #0,2
Current State: 91:[17, 18, 7], Operations: ['63/9=7']
Exploring Operation: 17-7=10, Resulting Numbers: [18, 10]
Generated Node #0,2,0: 91:[18, 10] Operation: 17-7=10
Exploring Operation: 18-7=11, Resulting Numbers: [17, 11]
Generated Node #0,2,1: 91:[17, 11] Operation: 18-7=11
Exploring Operation: 18-17=1, Resulting Numbers: [7, 1]
Generated Node #0,2,2: 91:[7, 1] Operation: 18-17=1
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[17, 11], Operations: ['63/9=7', '18-7=11']
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[7, 1], Operations: ['63/9=7', '18-17=1']
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[18, 10], Operations: ['63/9=7', '17-7=10']
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,91 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: 91:[9, 17, 81], Operations: ['63+18=81']
Exploring Operation: 17+81=98, Resulting Numbers: [9, 98]
Generated Node #0,0,0: 91:[9, 98] Operation: 17+81=98
Exploring Operation: 9+81=90, Resulting Numbers: [17, 90]
Generated Node #0,0,1: 91:[17, 90] Operation: 9+81=90
Exploring Operation: 81/9=9, Resulting Numbers: [17, 9]
Generated Node #0,0,2: 91:[17, 9] Operation: 81/9=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[17, 90], Operations: ['63+18=81', '9+81=90']
Exploring Operation: 17*90=1530, Resulting Numbers: [1530]
1530,91 unequal: No Solution
Exploring Operation: 17+90=107, Resulting Numbers: [107]
107,91 unequal: No Solution
Exploring Operation: 90-17=73, Resulting Numbers: [73]
73,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 91:[17, 9], Operations: ['63+18=81', '81/9=9']
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,91 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[9, 98], Operations: ['63+18=81', '17+81=98']
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 9*98=882, Resulting Numbers: [882]
882,91 unequal: No Solution
Exploring Operation: 9+98=107, Resulting Numbers: [107]
107,91 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: 91:[9, 18, 80], Operations: ['17+63=80']
Exploring Operation: 18+80=98, Resulting Numbers: [9, 98]
Generated Node #0,1,0: 91:[9, 98] Operation: 18+80=98
Exploring Operation: 18-9=9, Resulting Numbers: [80, 9]
Generated Node #0,1,1: 91:[80, 9] Operation: 18-9=9
Exploring Operation: 9+80=89, Resulting Numbers: [18, 89]
Generated Node #0,1,2: 91:[18, 89] Operation: 9+80=89
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[18, 89], Operations: ['17+63=80', '9+80=89']
Exploring Operation: 18*89=1602, Resulting Numbers: [1602]
1602,91 unequal: No Solution
Exploring Operation: 89-18=71, Resulting Numbers: [71]
71,91 unequal: No Solution
Exploring Operation: 18+89=107, Resulting Numbers: [107]
107,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[9, 98], Operations: ['17+63=80', '18+80=98']
Exploring Operation: 9*98=882, Resulting Numbers: [882]
882,91 unequal: No Solution
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 9+98=107, Resulting Numbers: [107]
107,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[80, 9], Operations: ['17+63=80', '18-9=9']
Exploring Operation: 80*9=720, Resulting Numbers: [720]
720,91 unequal: No Solution
Exploring Operation: 80-9=71, Resulting Numbers: [71]
71,91 unequal: No Solution
Exploring Operation: 80+9=89, Resulting Numbers: [89]
89,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
91,
92,
80,
44
] | 23 | [
"91-80=11",
"92*11=1012",
"1012/44=23"
] | Current State: 23:[91, 92, 80, 44], Operations: []
Exploring Operation: 91-80=11, Resulting Numbers: [92, 44, 11]
Generated Node #2: [92, 44, 11] from Operation: 91-80=11
Current State: 23:[92, 44, 11], Operations: ['91-80=11']
Exploring Operation: 92*11=1012, Resulting Numbers: [44, 1012]
Generated Node #3: [44, 1012] from Operation: 92*11=1012
Current State: 23:[44, 1012], Operations: ['91-80=11', '92*11=1012']
Exploring Operation: 1012/44=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[91, 92, 80, 44], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [91, 44, 12]
Generated Node #0,0: 23:[91, 44, 12] Operation: 92-80=12
Exploring Operation: 92-91=1, Resulting Numbers: [80, 44, 1]
Generated Node #0,1: 23:[80, 44, 1] Operation: 92-91=1
Exploring Operation: 91-44=47, Resulting Numbers: [92, 80, 47]
Generated Node #0,2: 23:[92, 80, 47] Operation: 91-44=47
Exploring Operation: 92-44=48, Resulting Numbers: [91, 80, 48]
Generated Node #0,3: 23:[91, 80, 48] Operation: 92-44=48
Exploring Operation: 91-80=11, Resulting Numbers: [92, 44, 11]
Generated Node #0,4: 23:[92, 44, 11] Operation: 91-80=11
Moving to Node #0,0
Current State: 23:[91, 44, 12], Operations: ['92-80=12']
Exploring Operation: 91-44=47, Resulting Numbers: [12, 47]
Generated Node #0,0,0: 23:[12, 47] Operation: 91-44=47
Exploring Operation: 91-12=79, Resulting Numbers: [44, 79]
Generated Node #0,0,1: 23:[44, 79] Operation: 91-12=79
Exploring Operation: 91+12=103, Resulting Numbers: [44, 103]
Generated Node #0,0,2: 23:[44, 103] Operation: 91+12=103
Exploring Operation: 44+12=56, Resulting Numbers: [91, 56]
Generated Node #0,0,3: 23:[91, 56] Operation: 44+12=56
Exploring Operation: 44-12=32, Resulting Numbers: [91, 32]
Generated Node #0,0,4: 23:[91, 32] Operation: 44-12=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[12, 47], Operations: ['92-80=12', '91-44=47']
Exploring Operation: 12+47=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 12*47=564, Resulting Numbers: [564]
564,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[44, 79], Operations: ['92-80=12', '91-12=79']
Exploring Operation: 79-44=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 44+79=123, Resulting Numbers: [123]
123,23 unequal: No Solution
Exploring Operation: 44*79=3476, Resulting Numbers: [3476]
3476,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 23:[91, 32], Operations: ['92-80=12', '44-12=32']
Exploring Operation: 91+32=123, Resulting Numbers: [123]
123,23 unequal: No Solution
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 91*32=2912, Resulting Numbers: [2912]
2912,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 23:[44, 103], Operations: ['92-80=12', '91+12=103']
Exploring Operation: 103-44=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 44+103=147, Resulting Numbers: [147]
147,23 unequal: No Solution
Exploring Operation: 44*103=4532, Resulting Numbers: [4532]
4532,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 23:[91, 56], Operations: ['92-80=12', '44+12=56']
Exploring Operation: 91*56=5096, Resulting Numbers: [5096]
5096,23 unequal: No Solution
Exploring Operation: 91-56=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 91+56=147, Resulting Numbers: [147]
147,23 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: 23:[80, 44, 1], Operations: ['92-91=1']
Exploring Operation: 80-1=79, Resulting Numbers: [44, 79]
Generated Node #0,1,0: 23:[44, 79] Operation: 80-1=79
Exploring Operation: 80-44=36, Resulting Numbers: [1, 36]
Generated Node #0,1,1: 23:[1, 36] Operation: 80-44=36
Exploring Operation: 80*1=80, Resulting Numbers: [44, 80]
Generated Node #0,1,2: 23:[44, 80] Operation: 80*1=80
Exploring Operation: 80/1=80, Resulting Numbers: [44, 80]
Generated Node #0,1,3: 23:[44, 80] Operation: 80/1=80
Exploring Operation: 44-1=43, Resulting Numbers: [80, 43]
Generated Node #0,1,4: 23:[80, 43] Operation: 44-1=43
Moving to Node #0,4
Current State: 23:[92, 44, 11], Operations: ['91-80=11']
Exploring Operation: 92-11=81, Resulting Numbers: [44, 81]
Generated Node #0,4,0: 23:[44, 81] Operation: 92-11=81
Exploring Operation: 44-11=33, Resulting Numbers: [92, 33]
Generated Node #0,4,1: 23:[92, 33] Operation: 44-11=33
Exploring Operation: 92-44=48, Resulting Numbers: [11, 48]
Generated Node #0,4,2: 23:[11, 48] Operation: 92-44=48
Exploring Operation: 92+11=103, Resulting Numbers: [44, 103]
Generated Node #0,4,3: 23:[44, 103] Operation: 92+11=103
Exploring Operation: 44/11=4, Resulting Numbers: [92, 4]
Generated Node #0,4,4: 23:[92, 4] Operation: 44/11=4
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 23:[11, 48], Operations: ['91-80=11', '92-44=48']
Exploring Operation: 11*48=528, Resulting Numbers: [528]
528,23 unequal: No Solution
Exploring Operation: 11+48=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 23:[44, 81], Operations: ['91-80=11', '92-11=81']
Exploring Operation: 44*81=3564, Resulting Numbers: [3564]
3564,23 unequal: No Solution
Exploring Operation: 81-44=37, Resulting Numbers: [37]
37,23 unequal: No Solution
Exploring Operation: 44+81=125, Resulting Numbers: [125]
125,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 23:[92, 33], Operations: ['91-80=11', '44-11=33']
Exploring Operation: 92*33=3036, Resulting Numbers: [3036]
3036,23 unequal: No Solution
Exploring Operation: 92-33=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Exploring Operation: 92+33=125, Resulting Numbers: [125]
125,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 23:[92, 4], Operations: ['91-80=11', '44/11=4']
Exploring Operation: 92/4=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[91, 92, 80, 44], Operations: []
Exploring Operation: 91-80=11, Resulting Numbers: [92, 44, 11]
Generated Node #0,4: 23:[92, 44, 11] Operation: 91-80=11
Moving to Node #0,4
Current State: 23:[92, 44, 11], Operations: ['91-80=11']
Exploring Operation: 44/11=4, Resulting Numbers: [92, 4]
Generated Node #0,4,4: 23:[92, 4] Operation: 44/11=4
Moving to Node #0,4,4
Current State: 23:[92, 4], Operations: ['91-80=11', '44/11=4']
Exploring Operation: 92/4=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.957465 | hs_5 | sum_heuristic |
[
75,
32,
45,
50
] | 48 | [
"75-32=43",
"50-45=5",
"43+5=48"
] | Current State: 48:[75, 32, 45, 50], Operations: []
Exploring Operation: 75-32=43, Resulting Numbers: [45, 50, 43]
Generated Node #2: [45, 50, 43] from Operation: 75-32=43
Current State: 48:[45, 50, 43], Operations: ['75-32=43']
Exploring Operation: 50-45=5, Resulting Numbers: [43, 5]
Generated Node #3: [43, 5] from Operation: 50-45=5
Current State: 48:[43, 5], Operations: ['75-32=43', '50-45=5']
Exploring Operation: 43+5=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[75, 32, 45, 50], Operations: []
Exploring Operation: 75-32=43, Resulting Numbers: [45, 50, 43]
Generated Node #0,0: 48:[45, 50, 43] Operation: 75-32=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[45, 50, 43], Operations: ['75-32=43']
Exploring Operation: 45-43=2, Resulting Numbers: [50, 2]
Generated Node #0,0,0: 48:[50, 2] Operation: 45-43=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[50, 2], Operations: ['75-32=43', '45-43=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[75, 32, 45, 50], Operations: []
Exploring Operation: 75-32=43, Resulting Numbers: [45, 50, 43]
Generated Node #0,0: 48:[45, 50, 43] Operation: 75-32=43
Moving to Node #0,0
Current State: 48:[45, 50, 43], Operations: ['75-32=43']
Exploring Operation: 45-43=2, Resulting Numbers: [50, 2]
Generated Node #0,0,0: 48:[50, 2] Operation: 45-43=2
Moving to Node #0,0,0
Current State: 48:[50, 2], Operations: ['75-32=43', '45-43=2']
Exploring Operation: 50-2=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 |
[
41,
43,
61,
63
] | 40 | [
"41+43=84",
"61+63=124",
"124-84=40"
] | Current State: 40:[41, 43, 61, 63], Operations: []
Exploring Operation: 41+43=84, Resulting Numbers: [61, 63, 84]
Generated Node #2: [61, 63, 84] from Operation: 41+43=84
Current State: 40:[61, 63, 84], Operations: ['41+43=84']
Exploring Operation: 61+63=124, Resulting Numbers: [84, 124]
Generated Node #3: [84, 124] from Operation: 61+63=124
Current State: 40:[84, 124], Operations: ['41+43=84', '61+63=124']
Exploring Operation: 124-84=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[41, 43, 61, 63], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [41, 43, 2]
Generated Node #0,0: 40:[41, 43, 2] Operation: 63-61=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[41, 43, 2], Operations: ['63-61=2']
Exploring Operation: 43-41=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 40:[2, 2] Operation: 43-41=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[2, 2], Operations: ['63-61=2', '43-41=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
43,
99,
25,
4
] | 98 | [
"43*4=172",
"99-25=74",
"172-74=98"
] | Current State: 98:[43, 99, 25, 4], Operations: []
Exploring Operation: 43*4=172, Resulting Numbers: [99, 25, 172]
Generated Node #2: [99, 25, 172] from Operation: 43*4=172
Current State: 98:[99, 25, 172], Operations: ['43*4=172']
Exploring Operation: 99-25=74, Resulting Numbers: [172, 74]
Generated Node #3: [172, 74] from Operation: 99-25=74
Current State: 98:[172, 74], Operations: ['43*4=172', '99-25=74']
Exploring Operation: 172-74=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[43, 99, 25, 4], Operations: []
Exploring Operation: 43-25=18, Resulting Numbers: [99, 4, 18]
Generated Node #0,0: 98:[99, 4, 18] Operation: 43-25=18
Exploring Operation: 43+4=47, Resulting Numbers: [99, 25, 47]
Generated Node #0,1: 98:[99, 25, 47] Operation: 43+4=47
Exploring Operation: 25*4=100, Resulting Numbers: [43, 99, 100]
Generated Node #0,2: 98:[43, 99, 100] Operation: 25*4=100
Moving to Node #0,0
Current State: 98:[99, 4, 18], Operations: ['43-25=18']
Exploring Operation: 18-4=14, Resulting Numbers: [99, 14]
Generated Node #0,0,0: 98:[99, 14] Operation: 18-4=14
Exploring Operation: 99-4=95, Resulting Numbers: [18, 95]
Generated Node #0,0,1: 98:[18, 95] Operation: 99-4=95
Exploring Operation: 99+4=103, Resulting Numbers: [18, 103]
Generated Node #0,0,2: 98:[18, 103] Operation: 99+4=103
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[99, 14], Operations: ['43-25=18', '18-4=14']
Exploring Operation: 99*14=1386, Resulting Numbers: [1386]
1386,98 unequal: No Solution
Exploring Operation: 99+14=113, Resulting Numbers: [113]
113,98 unequal: No Solution
Exploring Operation: 99-14=85, Resulting Numbers: [85]
85,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:[18, 95], Operations: ['43-25=18', '99-4=95']
Exploring Operation: 18+95=113, Resulting Numbers: [113]
113,98 unequal: No Solution
Exploring Operation: 95-18=77, Resulting Numbers: [77]
77,98 unequal: No Solution
Exploring Operation: 18*95=1710, Resulting Numbers: [1710]
1710,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 98:[18, 103], Operations: ['43-25=18', '99+4=103']
Exploring Operation: 103-18=85, Resulting Numbers: [85]
85,98 unequal: No Solution
Exploring Operation: 18+103=121, Resulting Numbers: [121]
121,98 unequal: No Solution
Exploring Operation: 18*103=1854, Resulting Numbers: [1854]
1854,98 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: 98:[43, 99, 100], Operations: ['25*4=100']
Exploring Operation: 99-43=56, Resulting Numbers: [100, 56]
Generated Node #0,2,0: 98:[100, 56] Operation: 99-43=56
Exploring Operation: 100-43=57, Resulting Numbers: [99, 57]
Generated Node #0,2,1: 98:[99, 57] Operation: 100-43=57
Exploring Operation: 100-99=1, Resulting Numbers: [43, 1]
Generated Node #0,2,2: 98:[43, 1] Operation: 100-99=1
Moving to Node #0,1
Current State: 98:[99, 25, 47], Operations: ['43+4=47']
Exploring Operation: 25+47=72, Resulting Numbers: [99, 72]
Generated Node #0,1,0: 98:[99, 72] Operation: 25+47=72
Exploring Operation: 99-47=52, Resulting Numbers: [25, 52]
Generated Node #0,1,1: 98:[25, 52] Operation: 99-47=52
Exploring Operation: 47-25=22, Resulting Numbers: [99, 22]
Generated Node #0,1,2: 98:[99, 22] Operation: 47-25=22
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 98:[99, 22], Operations: ['43+4=47', '47-25=22']
Exploring Operation: 99+22=121, Resulting Numbers: [121]
121,98 unequal: No Solution
Exploring Operation: 99-22=77, Resulting Numbers: [77]
77,98 unequal: No Solution
Exploring Operation: 99*22=2178, Resulting Numbers: [2178]
2178,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,1
Current State: 98:[25, 52], Operations: ['43+4=47', '99-47=52']
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,98 unequal: No Solution
Exploring Operation: 25+52=77, Resulting Numbers: [77]
77,98 unequal: No Solution
Exploring Operation: 25*52=1300, Resulting Numbers: [1300]
1300,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:[99, 72], Operations: ['43+4=47', '25+47=72']
Exploring Operation: 99+72=171, Resulting Numbers: [171]
171,98 unequal: No Solution
Exploring Operation: 99-72=27, Resulting Numbers: [27]
27,98 unequal: No Solution
Exploring Operation: 99*72=7128, Resulting Numbers: [7128]
7128,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 98:[43, 1], Operations: ['25*4=100', '100-99=1']
Exploring Operation: 43+1=44, Resulting Numbers: [44]
44,98 unequal: No Solution
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[100, 56], Operations: ['25*4=100', '99-43=56']
Exploring Operation: 100+56=156, Resulting Numbers: [156]
156,98 unequal: No Solution
Exploring Operation: 100-56=44, Resulting Numbers: [44]
44,98 unequal: No Solution
Exploring Operation: 100*56=5600, Resulting Numbers: [5600]
5600,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[99, 57], Operations: ['25*4=100', '100-43=57']
Exploring Operation: 99*57=5643, Resulting Numbers: [5643]
5643,98 unequal: No Solution
Exploring Operation: 99+57=156, Resulting Numbers: [156]
156,98 unequal: No Solution
Exploring Operation: 99-57=42, Resulting Numbers: [42]
42,98 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
27,
41,
15,
53
] | 30 | [
"27+41=68",
"53-15=38",
"68-38=30"
] | Current State: 30:[27, 41, 15, 53], Operations: []
Exploring Operation: 27+41=68, Resulting Numbers: [15, 53, 68]
Generated Node #2: [15, 53, 68] from Operation: 27+41=68
Current State: 30:[15, 53, 68], Operations: ['27+41=68']
Exploring Operation: 53-15=38, Resulting Numbers: [68, 38]
Generated Node #3: [68, 38] from Operation: 53-15=38
Current State: 30:[68, 38], Operations: ['27+41=68', '53-15=38']
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[27, 41, 15, 53], Operations: []
Exploring Operation: 53-41=12, Resulting Numbers: [27, 15, 12]
Generated Node #0,0: 30:[27, 15, 12] Operation: 53-41=12
Exploring Operation: 53-27=26, Resulting Numbers: [41, 15, 26]
Generated Node #0,1: 30:[41, 15, 26] Operation: 53-27=26
Moving to Node #0,0
Current State: 30:[27, 15, 12], Operations: ['53-41=12']
Exploring Operation: 15-12=3, Resulting Numbers: [27, 3]
Generated Node #0,0,0: 30:[27, 3] Operation: 15-12=3
Exploring Operation: 27-12=15, Resulting Numbers: [15, 15]
Generated Node #0,0,1: 30:[15, 15] Operation: 27-12=15
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[15, 15], Operations: ['53-41=12', '27-12=15']
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[27, 41, 15, 53], Operations: []
Exploring Operation: 53-41=12, Resulting Numbers: [27, 15, 12]
Generated Node #0,0: 30:[27, 15, 12] Operation: 53-41=12
Moving to Node #0,0
Current State: 30:[27, 15, 12], Operations: ['53-41=12']
Exploring Operation: 27-12=15, Resulting Numbers: [15, 15]
Generated Node #0,0,1: 30:[15, 15] Operation: 27-12=15
Moving to Node #0,0,1
Current State: 30:[15, 15], Operations: ['53-41=12', '27-12=15']
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
65,
71,
92,
48
] | 38 | [
"71-65=6",
"92-48=44",
"44-6=38"
] | Current State: 38:[65, 71, 92, 48], Operations: []
Exploring Operation: 71-65=6, Resulting Numbers: [92, 48, 6]
Generated Node #2: [92, 48, 6] from Operation: 71-65=6
Current State: 38:[92, 48, 6], Operations: ['71-65=6']
Exploring Operation: 92-48=44, Resulting Numbers: [6, 44]
Generated Node #3: [6, 44] from Operation: 92-48=44
Current State: 38:[6, 44], Operations: ['71-65=6', '92-48=44']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[65, 71, 92, 48], Operations: []
Exploring Operation: 92-48=44, Resulting Numbers: [65, 71, 44]
Generated Node #0,0: 38:[65, 71, 44] Operation: 92-48=44
Exploring Operation: 71-65=6, Resulting Numbers: [92, 48, 6]
Generated Node #0,1: 38:[92, 48, 6] Operation: 71-65=6
Exploring Operation: 71-48=23, Resulting Numbers: [65, 92, 23]
Generated Node #0,2: 38:[65, 92, 23] Operation: 71-48=23
Exploring Operation: 92-71=21, Resulting Numbers: [65, 48, 21]
Generated Node #0,3: 38:[65, 48, 21] Operation: 92-71=21
Exploring Operation: 92-65=27, Resulting Numbers: [71, 48, 27]
Generated Node #0,4: 38:[71, 48, 27] Operation: 92-65=27
Start Sub Search at level 1: Moving to Node #0,3
Current State: 38:[65, 48, 21], Operations: ['92-71=21']
Exploring Operation: 65-21=44, Resulting Numbers: [48, 44]
Generated Node #0,3,0: 38:[48, 44] Operation: 65-21=44
Exploring Operation: 65+21=86, Resulting Numbers: [48, 86]
Generated Node #0,3,1: 38:[48, 86] Operation: 65+21=86
Exploring Operation: 48-21=27, Resulting Numbers: [65, 27]
Generated Node #0,3,2: 38:[65, 27] Operation: 48-21=27
Exploring Operation: 48+21=69, Resulting Numbers: [65, 69]
Generated Node #0,3,3: 38:[65, 69] Operation: 48+21=69
Exploring Operation: 65-48=17, Resulting Numbers: [21, 17]
Generated Node #0,3,4: 38:[21, 17] Operation: 65-48=17
Moving to Node #0,3,4
Current State: 38:[21, 17], Operations: ['92-71=21', '65-48=17']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[65, 71, 92, 48], Operations: []
Exploring Operation: 92-71=21, Resulting Numbers: [65, 48, 21]
Generated Node #0,3: 38:[65, 48, 21] Operation: 92-71=21
Moving to Node #0,3
Current State: 38:[65, 48, 21], Operations: ['92-71=21']
Exploring Operation: 65-48=17, Resulting Numbers: [21, 17]
Generated Node #0,3,4: 38:[21, 17] Operation: 65-48=17
Moving to Node #0,3,4
Current State: 38:[21, 17], Operations: ['92-71=21', '65-48=17']
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
13,
23,
6,
26
] | 68 | [
"13+23=36",
"6+26=32",
"36+32=68"
] | Current State: 68:[13, 23, 6, 26], Operations: []
Exploring Operation: 13+23=36, Resulting Numbers: [6, 26, 36]
Generated Node #2: [6, 26, 36] from Operation: 13+23=36
Current State: 68:[6, 26, 36], Operations: ['13+23=36']
Exploring Operation: 6+26=32, Resulting Numbers: [36, 32]
Generated Node #3: [36, 32] from Operation: 6+26=32
Current State: 68:[36, 32], Operations: ['13+23=36', '6+26=32']
Exploring Operation: 36+32=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[13, 23, 6, 26], Operations: []
Exploring Operation: 26-23=3, Resulting Numbers: [13, 6, 3]
Generated Node #0,0: 68:[13, 6, 3] Operation: 26-23=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[13, 6, 3], Operations: ['26-23=3']
Exploring Operation: 13+6=19, Resulting Numbers: [3, 19]
Generated Node #0,0,0: 68:[3, 19] Operation: 13+6=19
Moving to Node #0,0,0
Current State: 68:[3, 19], Operations: ['26-23=3', '13+6=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,68 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,
71,
55,
38
] | 86 | [
"71-64=7",
"55+38=93",
"93-7=86"
] | Current State: 86:[64, 71, 55, 38], Operations: []
Exploring Operation: 71-64=7, Resulting Numbers: [55, 38, 7]
Generated Node #2: [55, 38, 7] from Operation: 71-64=7
Current State: 86:[55, 38, 7], Operations: ['71-64=7']
Exploring Operation: 55+38=93, Resulting Numbers: [7, 93]
Generated Node #3: [7, 93] from Operation: 55+38=93
Current State: 86:[7, 93], Operations: ['71-64=7', '55+38=93']
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[64, 71, 55, 38], Operations: []
Exploring Operation: 71-64=7, Resulting Numbers: [55, 38, 7]
Generated Node #0,0: 86:[55, 38, 7] Operation: 71-64=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[55, 38, 7], Operations: ['71-64=7']
Exploring Operation: 55-7=48, Resulting Numbers: [38, 48]
Generated Node #0,0,0: 86:[38, 48] Operation: 55-7=48
Moving to Node #0,0,0
Current State: 86:[38, 48], Operations: ['71-64=7', '55-7=48']
Exploring Operation: 38+48=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[64, 71, 55, 38], Operations: []
Exploring Operation: 71-64=7, Resulting Numbers: [55, 38, 7]
Generated Node #0,0: 86:[55, 38, 7] Operation: 71-64=7
Moving to Node #0,0
Current State: 86:[55, 38, 7], Operations: ['71-64=7']
Exploring Operation: 55-7=48, Resulting Numbers: [38, 48]
Generated Node #0,0,0: 86:[38, 48] Operation: 55-7=48
Moving to Node #0,0,0
Current State: 86:[38, 48], Operations: ['71-64=7', '55-7=48']
Exploring Operation: 38+48=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
72,
10,
6,
60
] | 73 | [
"10*6=60",
"60/60=1",
"72+1=73"
] | Current State: 73:[72, 10, 6, 60], Operations: []
Exploring Operation: 10*6=60, Resulting Numbers: [72, 60, 60]
Generated Node #2: [72, 60, 60] from Operation: 10*6=60
Current State: 73:[72, 60, 60], Operations: ['10*6=60']
Exploring Operation: 60/60=1, Resulting Numbers: [72, 1]
Generated Node #3: [72, 1] from Operation: 60/60=1
Current State: 73:[72, 1], Operations: ['10*6=60', '60/60=1']
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[72, 10, 6, 60], Operations: []
Exploring Operation: 10*6=60, Resulting Numbers: [72, 60, 60]
Generated Node #0,0: 73:[72, 60, 60] Operation: 10*6=60
Exploring Operation: 10+6=16, Resulting Numbers: [72, 60, 16]
Generated Node #0,1: 73:[72, 60, 16] Operation: 10+6=16
Exploring Operation: 10+60=70, Resulting Numbers: [72, 6, 70]
Generated Node #0,2: 73:[72, 6, 70] Operation: 10+60=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[72, 60, 60], Operations: ['10*6=60']
Exploring Operation: 60+60=120, Resulting Numbers: [72, 120]
Generated Node #0,0,0: 73:[72, 120] Operation: 60+60=120
Exploring Operation: 72+60=132, Resulting Numbers: [60, 132]
Generated Node #0,0,1: 73:[60, 132] Operation: 72+60=132
Exploring Operation: 72+60=132, Resulting Numbers: [60, 132]
Generated Node #0,0,2: 73:[60, 132] Operation: 72+60=132
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[72, 120], Operations: ['10*6=60', '60+60=120']
Exploring Operation: 72+120=192, Resulting Numbers: [192]
192,73 unequal: No Solution
Exploring Operation: 120-72=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Exploring Operation: 72*120=8640, Resulting Numbers: [8640]
8640,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[60, 132], Operations: ['10*6=60', '72+60=132']
Exploring Operation: 60+132=192, Resulting Numbers: [192]
192,73 unequal: No Solution
Exploring Operation: 60*132=7920, Resulting Numbers: [7920]
7920,73 unequal: No Solution
Exploring Operation: 132-60=72, Resulting Numbers: [72]
72,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 73:[60, 132], Operations: ['10*6=60', '72+60=132']
Exploring Operation: 132-60=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 60+132=192, Resulting Numbers: [192]
192,73 unequal: No Solution
Exploring Operation: 60*132=7920, Resulting Numbers: [7920]
7920,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[72, 60, 16], Operations: ['10+6=16']
Exploring Operation: 72-16=56, Resulting Numbers: [60, 56]
Generated Node #0,1,0: 73:[60, 56] Operation: 72-16=56
Exploring Operation: 60+16=76, Resulting Numbers: [72, 76]
Generated Node #0,1,1: 73:[72, 76] Operation: 60+16=76
Exploring Operation: 72+16=88, Resulting Numbers: [60, 88]
Generated Node #0,1,2: 73:[60, 88] Operation: 72+16=88
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[72, 76], Operations: ['10+6=16', '60+16=76']
Exploring Operation: 76-72=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 72*76=5472, Resulting Numbers: [5472]
5472,73 unequal: No Solution
Exploring Operation: 72+76=148, Resulting Numbers: [148]
148,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 73:[60, 88], Operations: ['10+6=16', '72+16=88']
Exploring Operation: 60*88=5280, Resulting Numbers: [5280]
5280,73 unequal: No Solution
Exploring Operation: 60+88=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 88-60=28, Resulting Numbers: [28]
28,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[60, 56], Operations: ['10+6=16', '72-16=56']
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 60+56=116, Resulting Numbers: [116]
116,73 unequal: No Solution
Exploring Operation: 60*56=3360, Resulting Numbers: [3360]
3360,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[72, 6, 70], Operations: ['10+60=70']
Exploring Operation: 72+6=78, Resulting Numbers: [70, 78]
Generated Node #0,2,0: 73:[70, 78] Operation: 72+6=78
Exploring Operation: 6+70=76, Resulting Numbers: [72, 76]
Generated Node #0,2,1: 73:[72, 76] Operation: 6+70=76
Exploring Operation: 72-6=66, Resulting Numbers: [70, 66]
Generated Node #0,2,2: 73:[70, 66] Operation: 72-6=66
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 73:[72, 76], Operations: ['10+60=70', '6+70=76']
Exploring Operation: 72+76=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 72*76=5472, Resulting Numbers: [5472]
5472,73 unequal: No Solution
Exploring Operation: 76-72=4, Resulting Numbers: [4]
4,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 73:[70, 78], Operations: ['10+60=70', '72+6=78']
Exploring Operation: 78-70=8, Resulting Numbers: [8]
8,73 unequal: No Solution
Exploring Operation: 70*78=5460, Resulting Numbers: [5460]
5460,73 unequal: No Solution
Exploring Operation: 70+78=148, Resulting Numbers: [148]
148,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 73:[70, 66], Operations: ['10+60=70', '72-6=66']
Exploring Operation: 70+66=136, Resulting Numbers: [136]
136,73 unequal: No Solution
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 70*66=4620, Resulting Numbers: [4620]
4620,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
53,
2,
5,
32
] | 11 | [
"53-32=21",
"2*5=10",
"21-10=11"
] | Current State: 11:[53, 2, 5, 32], Operations: []
Exploring Operation: 53-32=21, Resulting Numbers: [2, 5, 21]
Generated Node #2: [2, 5, 21] from Operation: 53-32=21
Current State: 11:[2, 5, 21], Operations: ['53-32=21']
Exploring Operation: 2*5=10, Resulting Numbers: [21, 10]
Generated Node #3: [21, 10] from Operation: 2*5=10
Current State: 11:[21, 10], Operations: ['53-32=21', '2*5=10']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[53, 2, 5, 32], Operations: []
Exploring Operation: 53-32=21, Resulting Numbers: [2, 5, 21]
Generated Node #0,0: 11:[2, 5, 21] Operation: 53-32=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[2, 5, 21], Operations: ['53-32=21']
Exploring Operation: 2*5=10, Resulting Numbers: [21, 10]
Generated Node #0,0,0: 11:[21, 10] Operation: 2*5=10
Moving to Node #0,0,0
Current State: 11:[21, 10], Operations: ['53-32=21', '2*5=10']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[53, 2, 5, 32], Operations: []
Exploring Operation: 53-32=21, Resulting Numbers: [2, 5, 21]
Generated Node #0,0: 11:[2, 5, 21] Operation: 53-32=21
Moving to Node #0,0
Current State: 11:[2, 5, 21], Operations: ['53-32=21']
Exploring Operation: 2*5=10, Resulting Numbers: [21, 10]
Generated Node #0,0,0: 11:[21, 10] Operation: 2*5=10
Moving to Node #0,0,0
Current State: 11:[21, 10], Operations: ['53-32=21', '2*5=10']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
91,
38,
51,
69
] | 35 | [
"91-38=53",
"69-51=18",
"53-18=35"
] | Current State: 35:[91, 38, 51, 69], Operations: []
Exploring Operation: 91-38=53, Resulting Numbers: [51, 69, 53]
Generated Node #2: [51, 69, 53] from Operation: 91-38=53
Current State: 35:[51, 69, 53], Operations: ['91-38=53']
Exploring Operation: 69-51=18, Resulting Numbers: [53, 18]
Generated Node #3: [53, 18] from Operation: 69-51=18
Current State: 35:[53, 18], Operations: ['91-38=53', '69-51=18']
Exploring Operation: 53-18=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[91, 38, 51, 69], Operations: []
Exploring Operation: 91-69=22, Resulting Numbers: [38, 51, 22]
Generated Node #0,0: 35:[38, 51, 22] Operation: 91-69=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[38, 51, 22], Operations: ['91-69=22']
Exploring Operation: 51-22=29, Resulting Numbers: [38, 29]
Generated Node #0,0,0: 35:[38, 29] Operation: 51-22=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[38, 29], Operations: ['91-69=22', '51-22=29']
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
4,
98,
64,
62
] | 49 | [
"64-4=60",
"62-60=2",
"98/2=49"
] | Current State: 49:[4, 98, 64, 62], Operations: []
Exploring Operation: 64-4=60, Resulting Numbers: [98, 62, 60]
Generated Node #2: [98, 62, 60] from Operation: 64-4=60
Current State: 49:[98, 62, 60], Operations: ['64-4=60']
Exploring Operation: 62-60=2, Resulting Numbers: [98, 2]
Generated Node #3: [98, 2] from Operation: 62-60=2
Current State: 49:[98, 2], Operations: ['64-4=60', '62-60=2']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[4, 98, 64, 62], Operations: []
Exploring Operation: 64-62=2, Resulting Numbers: [4, 98, 2]
Generated Node #0,0: 49:[4, 98, 2] Operation: 64-62=2
Exploring Operation: 64/4=16, Resulting Numbers: [98, 62, 16]
Generated Node #0,1: 49:[98, 62, 16] Operation: 64/4=16
Exploring Operation: 98-62=36, Resulting Numbers: [4, 64, 36]
Generated Node #0,2: 49:[4, 64, 36] Operation: 98-62=36
Exploring Operation: 98-64=34, Resulting Numbers: [4, 62, 34]
Generated Node #0,3: 49:[4, 62, 34] Operation: 98-64=34
Moving to Node #0,2
Current State: 49:[4, 64, 36], Operations: ['98-62=36']
Exploring Operation: 4+36=40, Resulting Numbers: [64, 40]
Generated Node #0,2,0: 49:[64, 40] Operation: 4+36=40
Exploring Operation: 36/4=9, Resulting Numbers: [64, 9]
Generated Node #0,2,1: 49:[64, 9] Operation: 36/4=9
Exploring Operation: 64/4=16, Resulting Numbers: [36, 16]
Generated Node #0,2,2: 49:[36, 16] Operation: 64/4=16
Exploring Operation: 64-4=60, Resulting Numbers: [36, 60]
Generated Node #0,2,3: 49:[36, 60] Operation: 64-4=60
Moving to Node #0,3
Current State: 49:[4, 62, 34], Operations: ['98-64=34']
Exploring Operation: 4+62=66, Resulting Numbers: [34, 66]
Generated Node #0,3,0: 49:[34, 66] Operation: 4+62=66
Exploring Operation: 62-4=58, Resulting Numbers: [34, 58]
Generated Node #0,3,1: 49:[34, 58] Operation: 62-4=58
Exploring Operation: 62-34=28, Resulting Numbers: [4, 28]
Generated Node #0,3,2: 49:[4, 28] Operation: 62-34=28
Exploring Operation: 4+34=38, Resulting Numbers: [62, 38]
Generated Node #0,3,3: 49:[62, 38] Operation: 4+34=38
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 49:[34, 58], Operations: ['98-64=34', '62-4=58']
Exploring Operation: 34+58=92, Resulting Numbers: [92]
92,49 unequal: No Solution
Exploring Operation: 58-34=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 34*58=1972, Resulting Numbers: [1972]
1972,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 49:[4, 28], Operations: ['98-64=34', '62-34=28']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,49 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 4*28=112, Resulting Numbers: [112]
112,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 49:[62, 38], Operations: ['98-64=34', '4+34=38']
Exploring Operation: 62*38=2356, Resulting Numbers: [2356]
2356,49 unequal: No Solution
Exploring Operation: 62+38=100, Resulting Numbers: [100]
100,49 unequal: No Solution
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 49:[34, 66], Operations: ['98-64=34', '4+62=66']
Exploring Operation: 34*66=2244, Resulting Numbers: [2244]
2244,49 unequal: No Solution
Exploring Operation: 34+66=100, Resulting Numbers: [100]
100,49 unequal: No Solution
Exploring Operation: 66-34=32, Resulting Numbers: [32]
32,49 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: 49:[4, 98, 2], Operations: ['64-62=2']
Exploring Operation: 98-4=94, Resulting Numbers: [2, 94]
Generated Node #0,0,0: 49:[2, 94] Operation: 98-4=94
Exploring Operation: 4+2=6, Resulting Numbers: [98, 6]
Generated Node #0,0,1: 49:[98, 6] Operation: 4+2=6
Exploring Operation: 4*2=8, Resulting Numbers: [98, 8]
Generated Node #0,0,2: 49:[98, 8] Operation: 4*2=8
Exploring Operation: 98/2=49, Resulting Numbers: [4, 49]
Generated Node #0,0,3: 49:[4, 49] Operation: 98/2=49
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 49:[4, 49], Operations: ['64-62=2', '98/2=49']
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,49 unequal: No Solution
Exploring Operation: 4*49=196, Resulting Numbers: [196]
196,49 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[2, 94], Operations: ['64-62=2', '98-4=94']
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 2+94=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,49 unequal: No Solution
Exploring Operation: 2*94=188, Resulting Numbers: [188]
188,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[98, 6], Operations: ['64-62=2', '4+2=6']
Exploring Operation: 98+6=104, Resulting Numbers: [104]
104,49 unequal: No Solution
Exploring Operation: 98*6=588, Resulting Numbers: [588]
588,49 unequal: No Solution
Exploring Operation: 98-6=92, Resulting Numbers: [92]
92,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[98, 8], Operations: ['64-62=2', '4*2=8']
Exploring Operation: 98+8=106, Resulting Numbers: [106]
106,49 unequal: No Solution
Exploring Operation: 98-8=90, Resulting Numbers: [90]
90,49 unequal: No Solution
Exploring Operation: 98*8=784, Resulting Numbers: [784]
784,49 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: 49:[98, 62, 16], Operations: ['64/4=16']
Exploring Operation: 62-16=46, Resulting Numbers: [98, 46]
Generated Node #0,1,0: 49:[98, 46] Operation: 62-16=46
Exploring Operation: 98-62=36, Resulting Numbers: [16, 36]
Generated Node #0,1,1: 49:[16, 36] Operation: 98-62=36
Exploring Operation: 98+16=114, Resulting Numbers: [62, 114]
Generated Node #0,1,2: 49:[62, 114] Operation: 98+16=114
Exploring Operation: 98-16=82, Resulting Numbers: [62, 82]
Generated Node #0,1,3: 49:[62, 82] Operation: 98-16=82
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[16, 36], Operations: ['64/4=16', '98-62=36']
Exploring Operation: 16*36=576, Resulting Numbers: [576]
576,49 unequal: No Solution
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 16+36=52, Resulting Numbers: [52]
52,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 49:[62, 82], Operations: ['64/4=16', '98-16=82']
Exploring Operation: 82-62=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 62+82=144, Resulting Numbers: [144]
144,49 unequal: No Solution
Exploring Operation: 62*82=5084, Resulting Numbers: [5084]
5084,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[98, 46], Operations: ['64/4=16', '62-16=46']
Exploring Operation: 98-46=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 98+46=144, Resulting Numbers: [144]
144,49 unequal: No Solution
Exploring Operation: 98*46=4508, Resulting Numbers: [4508]
4508,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 49:[62, 114], Operations: ['64/4=16', '98+16=114']
Exploring Operation: 114-62=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 62*114=7068, Resulting Numbers: [7068]
7068,49 unequal: No Solution
Exploring Operation: 62+114=176, Resulting Numbers: [176]
176,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 49:[64, 9], Operations: ['98-62=36', '36/4=9']
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,49 unequal: No Solution
Exploring Operation: 64*9=576, Resulting Numbers: [576]
576,49 unequal: No Solution
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[36, 16], Operations: ['98-62=36', '64/4=16']
Exploring Operation: 36*16=576, Resulting Numbers: [576]
576,49 unequal: No Solution
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 36+16=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[36, 60], Operations: ['98-62=36', '64-4=60']
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 36*60=2160, Resulting Numbers: [2160]
2160,49 unequal: No Solution
Exploring Operation: 36+60=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[64, 40], Operations: ['98-62=36', '4+36=40']
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 64*40=2560, Resulting Numbers: [2560]
2560,49 unequal: No Solution
Exploring Operation: 64+40=104, Resulting Numbers: [104]
104,49 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
18,
49,
99,
33
] | 93 | [
"49-18=31",
"99/33=3",
"31*3=93"
] | Current State: 93:[18, 49, 99, 33], Operations: []
Exploring Operation: 49-18=31, Resulting Numbers: [99, 33, 31]
Generated Node #2: [99, 33, 31] from Operation: 49-18=31
Current State: 93:[99, 33, 31], Operations: ['49-18=31']
Exploring Operation: 99/33=3, Resulting Numbers: [31, 3]
Generated Node #3: [31, 3] from Operation: 99/33=3
Current State: 93:[31, 3], Operations: ['49-18=31', '99/33=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[18, 49, 99, 33], Operations: []
Exploring Operation: 49+33=82, Resulting Numbers: [18, 99, 82]
Generated Node #0,0: 93:[18, 99, 82] Operation: 49+33=82
Exploring Operation: 99-18=81, Resulting Numbers: [49, 33, 81]
Generated Node #0,1: 93:[49, 33, 81] Operation: 99-18=81
Exploring Operation: 99/33=3, Resulting Numbers: [18, 49, 3]
Generated Node #0,2: 93:[18, 49, 3] Operation: 99/33=3
Exploring Operation: 49-18=31, Resulting Numbers: [99, 33, 31]
Generated Node #0,3: 93:[99, 33, 31] Operation: 49-18=31
Exploring Operation: 49-33=16, Resulting Numbers: [18, 99, 16]
Generated Node #0,4: 93:[18, 99, 16] Operation: 49-33=16
Start Sub Search at level 1: Moving to Node #0,3
Current State: 93:[99, 33, 31], Operations: ['49-18=31']
Exploring Operation: 33-31=2, Resulting Numbers: [99, 2]
Generated Node #0,3,0: 93:[99, 2] Operation: 33-31=2
Exploring Operation: 33+31=64, Resulting Numbers: [99, 64]
Generated Node #0,3,1: 93:[99, 64] Operation: 33+31=64
Exploring Operation: 99-31=68, Resulting Numbers: [33, 68]
Generated Node #0,3,2: 93:[33, 68] Operation: 99-31=68
Exploring Operation: 99-33=66, Resulting Numbers: [31, 66]
Generated Node #0,3,3: 93:[31, 66] Operation: 99-33=66
Exploring Operation: 99/33=3, Resulting Numbers: [31, 3]
Generated Node #0,3,4: 93:[31, 3] Operation: 99/33=3
Moving to Node #0,3,4
Current State: 93:[31, 3], Operations: ['49-18=31', '99/33=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[18, 49, 99, 33], Operations: []
Exploring Operation: 49-18=31, Resulting Numbers: [99, 33, 31]
Generated Node #0,3: 93:[99, 33, 31] Operation: 49-18=31
Moving to Node #0,3
Current State: 93:[99, 33, 31], Operations: ['49-18=31']
Exploring Operation: 99/33=3, Resulting Numbers: [31, 3]
Generated Node #0,3,4: 93:[31, 3] Operation: 99/33=3
Moving to Node #0,3,4
Current State: 93:[31, 3], Operations: ['49-18=31', '99/33=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
1,
5,
15,
85
] | 13 | [
"85-15=70",
"70/5=14",
"14-1=13"
] | Current State: 13:[1, 5, 15, 85], Operations: []
Exploring Operation: 85-15=70, Resulting Numbers: [1, 5, 70]
Generated Node #2: [1, 5, 70] from Operation: 85-15=70
Current State: 13:[1, 5, 70], Operations: ['85-15=70']
Exploring Operation: 70/5=14, Resulting Numbers: [1, 14]
Generated Node #3: [1, 14] from Operation: 70/5=14
Current State: 13:[1, 14], Operations: ['85-15=70', '70/5=14']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[1, 5, 15, 85], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [1, 15, 17]
Generated Node #0,0: 13:[1, 15, 17] Operation: 85/5=17
Moving to Node #0,0
Current State: 13:[1, 15, 17], Operations: ['85/5=17']
Exploring Operation: 15-1=14, Resulting Numbers: [17, 14]
Generated Node #0,0,0: 13:[17, 14] Operation: 15-1=14
Moving to Node #0,0,0
Current State: 13:[17, 14], Operations: ['85/5=17', '15-1=14']
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,13 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
89,
24,
78,
35
] | 42 | [
"89-24=65",
"78*35=2730",
"2730/65=42"
] | Current State: 42:[89, 24, 78, 35], Operations: []
Exploring Operation: 89-24=65, Resulting Numbers: [78, 35, 65]
Generated Node #2: [78, 35, 65] from Operation: 89-24=65
Current State: 42:[78, 35, 65], Operations: ['89-24=65']
Exploring Operation: 78*35=2730, Resulting Numbers: [65, 2730]
Generated Node #3: [65, 2730] from Operation: 78*35=2730
Current State: 42:[65, 2730], Operations: ['89-24=65', '78*35=2730']
Exploring Operation: 2730/65=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[89, 24, 78, 35], Operations: []
Exploring Operation: 89-24=65, Resulting Numbers: [78, 35, 65]
Generated Node #0,0: 42:[78, 35, 65] Operation: 89-24=65
Exploring Operation: 89-35=54, Resulting Numbers: [24, 78, 54]
Generated Node #0,1: 42:[24, 78, 54] Operation: 89-35=54
Exploring Operation: 78-35=43, Resulting Numbers: [89, 24, 43]
Generated Node #0,2: 42:[89, 24, 43] Operation: 78-35=43
Exploring Operation: 78-24=54, Resulting Numbers: [89, 35, 54]
Generated Node #0,3: 42:[89, 35, 54] Operation: 78-24=54
Exploring Operation: 89-78=11, Resulting Numbers: [24, 35, 11]
Generated Node #0,4: 42:[24, 35, 11] Operation: 89-78=11
Start Sub Search at level 1: Moving to Node #0,4
Current State: 42:[24, 35, 11], Operations: ['89-78=11']
Exploring Operation: 35-24=11, Resulting Numbers: [11, 11]
Generated Node #0,4,0: 42:[11, 11] Operation: 35-24=11
Exploring Operation: 24-11=13, Resulting Numbers: [35, 13]
Generated Node #0,4,1: 42:[35, 13] Operation: 24-11=13
Exploring Operation: 35+11=46, Resulting Numbers: [24, 46]
Generated Node #0,4,2: 42:[24, 46] Operation: 35+11=46
Exploring Operation: 35-11=24, Resulting Numbers: [24, 24]
Generated Node #0,4,3: 42:[24, 24] Operation: 35-11=24
Exploring Operation: 24+11=35, Resulting Numbers: [35, 35]
Generated Node #0,4,4: 42:[35, 35] Operation: 24+11=35
Moving to Node #0,4,0
Current State: 42:[11, 11], Operations: ['89-78=11', '35-24=11']
Exploring Operation: 11-11=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Exploring Operation: 11+11=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 11/11=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 11*11=121, Resulting Numbers: [121]
121,42 unequal: No Solution
Moving to Node #0,4,3
Current State: 42:[24, 24], Operations: ['89-78=11', '35-11=24']
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Exploring Operation: 24*24=576, Resulting Numbers: [576]
576,42 unequal: No Solution
Moving to Node #0,4,2
Current State: 42:[24, 46], Operations: ['89-78=11', '35+11=46']
Exploring Operation: 24*46=1104, Resulting Numbers: [1104]
1104,42 unequal: No Solution
Exploring Operation: 24+46=70, Resulting Numbers: [70]
70,42 unequal: No Solution
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Moving to Node #0,4,1
Current State: 42:[35, 13], Operations: ['89-78=11', '24-11=13']
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 35+13=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Exploring Operation: 35*13=455, Resulting Numbers: [455]
455,42 unequal: No Solution
Moving to Node #0,4,4
Current State: 42:[35, 35], Operations: ['89-78=11', '24+11=35']
Exploring Operation: 35-35=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Exploring Operation: 35/35=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 35*35=1225, Resulting Numbers: [1225]
1225,42 unequal: No Solution
Exploring Operation: 35+35=70, Resulting Numbers: [70]
70,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[24, 78, 54], Operations: ['89-35=54']
Exploring Operation: 78-54=24, Resulting Numbers: [24, 24]
Generated Node #0,1,0: 42:[24, 24] Operation: 78-54=24
Exploring Operation: 78-24=54, Resulting Numbers: [54, 54]
Generated Node #0,1,1: 42:[54, 54] Operation: 78-24=54
Exploring Operation: 24+54=78, Resulting Numbers: [78, 78]
Generated Node #0,1,2: 42:[78, 78] Operation: 24+54=78
Exploring Operation: 24+78=102, Resulting Numbers: [54, 102]
Generated Node #0,1,3: 42:[54, 102] Operation: 24+78=102
Exploring Operation: 54-24=30, Resulting Numbers: [78, 30]
Generated Node #0,1,4: 42:[78, 30] Operation: 54-24=30
Moving to Node #0,1,0
Current State: 42:[24, 24], Operations: ['89-35=54', '78-54=24']
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Exploring Operation: 24*24=576, Resulting Numbers: [576]
576,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[54, 54], Operations: ['89-35=54', '78-24=54']
Exploring Operation: 54*54=2916, Resulting Numbers: [2916]
2916,42 unequal: No Solution
Exploring Operation: 54/54=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 54+54=108, Resulting Numbers: [108]
108,42 unequal: No Solution
Exploring Operation: 54-54=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Moving to Node #0,1,4
Current State: 42:[78, 30], Operations: ['89-35=54', '54-24=30']
Exploring Operation: 78*30=2340, Resulting Numbers: [2340]
2340,42 unequal: No Solution
Exploring Operation: 78+30=108, Resulting Numbers: [108]
108,42 unequal: No Solution
Exploring Operation: 78-30=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[78, 78], Operations: ['89-35=54', '24+54=78']
Exploring Operation: 78/78=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 78*78=6084, Resulting Numbers: [6084]
6084,42 unequal: No Solution
Exploring Operation: 78-78=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Exploring Operation: 78+78=156, Resulting Numbers: [156]
156,42 unequal: No Solution
Moving to Node #0,1,3
Current State: 42:[54, 102], Operations: ['89-35=54', '24+78=102']
Exploring Operation: 54*102=5508, Resulting Numbers: [5508]
5508,42 unequal: No Solution
Exploring Operation: 54+102=156, Resulting Numbers: [156]
156,42 unequal: No Solution
Exploring Operation: 102-54=48, Resulting Numbers: [48]
48,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[89, 24, 43], Operations: ['78-35=43']
Exploring Operation: 89-24=65, Resulting Numbers: [43, 65]
Generated Node #0,2,0: 42:[43, 65] Operation: 89-24=65
Exploring Operation: 43-24=19, Resulting Numbers: [89, 19]
Generated Node #0,2,1: 42:[89, 19] Operation: 43-24=19
Exploring Operation: 24+43=67, Resulting Numbers: [89, 67]
Generated Node #0,2,2: 42:[89, 67] Operation: 24+43=67
Exploring Operation: 89-43=46, Resulting Numbers: [24, 46]
Generated Node #0,2,3: 42:[24, 46] Operation: 89-43=46
Exploring Operation: 89+24=113, Resulting Numbers: [43, 113]
Generated Node #0,2,4: 42:[43, 113] Operation: 89+24=113
Moving to Node #0,2,3
Current State: 42:[24, 46], Operations: ['78-35=43', '89-43=46']
Exploring Operation: 24+46=70, Resulting Numbers: [70]
70,42 unequal: No Solution
Exploring Operation: 24*46=1104, Resulting Numbers: [1104]
1104,42 unequal: No Solution
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Moving to Node #0,2,0
Current State: 42:[43, 65], Operations: ['78-35=43', '89-24=65']
Exploring Operation: 43*65=2795, Resulting Numbers: [2795]
2795,42 unequal: No Solution
Exploring Operation: 65-43=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 43+65=108, Resulting Numbers: [108]
108,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[89, 19], Operations: ['78-35=43', '43-24=19']
Exploring Operation: 89*19=1691, Resulting Numbers: [1691]
1691,42 unequal: No Solution
Exploring Operation: 89+19=108, Resulting Numbers: [108]
108,42 unequal: No Solution
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[89, 67], Operations: ['78-35=43', '24+43=67']
Exploring Operation: 89+67=156, Resulting Numbers: [156]
156,42 unequal: No Solution
Exploring Operation: 89*67=5963, Resulting Numbers: [5963]
5963,42 unequal: No Solution
Exploring Operation: 89-67=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Moving to Node #0,2,4
Current State: 42:[43, 113], Operations: ['78-35=43', '89+24=113']
Exploring Operation: 43+113=156, Resulting Numbers: [156]
156,42 unequal: No Solution
Exploring Operation: 113-43=70, Resulting Numbers: [70]
70,42 unequal: No Solution
Exploring Operation: 43*113=4859, Resulting Numbers: [4859]
4859,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[78, 35, 65], Operations: ['89-24=65']
Exploring Operation: 78+35=113, Resulting Numbers: [65, 113]
Generated Node #0,0,0: 42:[65, 113] Operation: 78+35=113
Exploring Operation: 78-65=13, Resulting Numbers: [35, 13]
Generated Node #0,0,1: 42:[35, 13] Operation: 78-65=13
Exploring Operation: 78-35=43, Resulting Numbers: [65, 43]
Generated Node #0,0,2: 42:[65, 43] Operation: 78-35=43
Exploring Operation: 65-35=30, Resulting Numbers: [78, 30]
Generated Node #0,0,3: 42:[78, 30] Operation: 65-35=30
Exploring Operation: 35+65=100, Resulting Numbers: [78, 100]
Generated Node #0,0,4: 42:[78, 100] Operation: 35+65=100
Moving to Node #0,0,1
Current State: 42:[35, 13], Operations: ['89-24=65', '78-65=13']
Exploring Operation: 35+13=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Exploring Operation: 35*13=455, Resulting Numbers: [455]
455,42 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[65, 43], Operations: ['89-24=65', '78-35=43']
Exploring Operation: 65-43=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 65+43=108, Resulting Numbers: [108]
108,42 unequal: No Solution
Exploring Operation: 65*43=2795, Resulting Numbers: [2795]
2795,42 unequal: No Solution
Moving to Node #0,0,3
Current State: 42:[78, 30], Operations: ['89-24=65', '65-35=30']
Exploring Operation: 78-30=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Exploring Operation: 78*30=2340, Resulting Numbers: [2340]
2340,42 unequal: No Solution
Exploring Operation: 78+30=108, Resulting Numbers: [108]
108,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[65, 113], Operations: ['89-24=65', '78+35=113']
Exploring Operation: 65+113=178, Resulting Numbers: [178]
178,42 unequal: No Solution
Exploring Operation: 65*113=7345, Resulting Numbers: [7345]
7345,42 unequal: No Solution
Exploring Operation: 113-65=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Moving to Node #0,0,4
Current State: 42:[78, 100], Operations: ['89-24=65', '35+65=100']
Exploring Operation: 78+100=178, Resulting Numbers: [178]
178,42 unequal: No Solution
Exploring Operation: 78*100=7800, Resulting Numbers: [7800]
7800,42 unequal: No Solution
Exploring Operation: 100-78=22, Resulting Numbers: [22]
22,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 42:[89, 35, 54], Operations: ['78-24=54']
Exploring Operation: 35+54=89, Resulting Numbers: [89, 89]
Generated Node #0,3,0: 42:[89, 89] Operation: 35+54=89
Exploring Operation: 89-35=54, Resulting Numbers: [54, 54]
Generated Node #0,3,1: 42:[54, 54] Operation: 89-35=54
Exploring Operation: 54-35=19, Resulting Numbers: [89, 19]
Generated Node #0,3,2: 42:[89, 19] Operation: 54-35=19
Exploring Operation: 89+35=124, Resulting Numbers: [54, 124]
Generated Node #0,3,3: 42:[54, 124] Operation: 89+35=124
Exploring Operation: 89-54=35, Resulting Numbers: [35, 35]
Generated Node #0,3,4: 42:[35, 35] Operation: 89-54=35
Moving to Node #0,3,4
Current State: 42:[35, 35], Operations: ['78-24=54', '89-54=35']
Exploring Operation: 35+35=70, Resulting Numbers: [70]
70,42 unequal: No Solution
Exploring Operation: 35*35=1225, Resulting Numbers: [1225]
1225,42 unequal: No Solution
Exploring Operation: 35-35=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Exploring Operation: 35/35=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Moving to Node #0,3,1
Current State: 42:[54, 54], Operations: ['78-24=54', '89-35=54']
Exploring Operation: 54-54=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Exploring Operation: 54+54=108, Resulting Numbers: [108]
108,42 unequal: No Solution
Exploring Operation: 54/54=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 54*54=2916, Resulting Numbers: [2916]
2916,42 unequal: No Solution
Moving to Node #0,3,2
Current State: 42:[89, 19], Operations: ['78-24=54', '54-35=19']
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,42 unequal: No Solution
Exploring Operation: 89+19=108, Resulting Numbers: [108]
108,42 unequal: No Solution
Exploring Operation: 89*19=1691, Resulting Numbers: [1691]
1691,42 unequal: No Solution
Moving to Node #0,3,0
Current State: 42:[89, 89], Operations: ['78-24=54', '35+54=89']
Exploring Operation: 89-89=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Exploring Operation: 89/89=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 89*89=7921, Resulting Numbers: [7921]
7921,42 unequal: No Solution
Exploring Operation: 89+89=178, Resulting Numbers: [178]
178,42 unequal: No Solution
Moving to Node #0,3,3
Current State: 42:[54, 124], Operations: ['78-24=54', '89+35=124']
Exploring Operation: 54*124=6696, Resulting Numbers: [6696]
6696,42 unequal: No Solution
Exploring Operation: 54+124=178, Resulting Numbers: [178]
178,42 unequal: No Solution
Exploring Operation: 124-54=70, Resulting Numbers: [70]
70,42 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 |
[
22,
77,
11,
93
] | 85 | [
"22/11=2",
"77+93=170",
"170/2=85"
] | Current State: 85:[22, 77, 11, 93], Operations: []
Exploring Operation: 22/11=2, Resulting Numbers: [77, 93, 2]
Generated Node #2: [77, 93, 2] from Operation: 22/11=2
Current State: 85:[77, 93, 2], Operations: ['22/11=2']
Exploring Operation: 77+93=170, Resulting Numbers: [2, 170]
Generated Node #3: [2, 170] from Operation: 77+93=170
Current State: 85:[2, 170], Operations: ['22/11=2', '77+93=170']
Exploring Operation: 170/2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[22, 77, 11, 93], Operations: []
Exploring Operation: 77/11=7, Resulting Numbers: [22, 93, 7]
Generated Node #0,0: 85:[22, 93, 7] Operation: 77/11=7
Exploring Operation: 93-77=16, Resulting Numbers: [22, 11, 16]
Generated Node #0,1: 85:[22, 11, 16] Operation: 93-77=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[22, 11, 16], Operations: ['93-77=16']
Exploring Operation: 22/11=2, Resulting Numbers: [16, 2]
Generated Node #0,1,0: 85:[16, 2] Operation: 22/11=2
Exploring Operation: 16-11=5, Resulting Numbers: [22, 5]
Generated Node #0,1,1: 85:[22, 5] Operation: 16-11=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 85:[16, 2], Operations: ['93-77=16', '22/11=2']
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 85:[22, 5], Operations: ['93-77=16', '16-11=5']
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,85 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[22, 93, 7], Operations: ['77/11=7']
Exploring Operation: 93-7=86, Resulting Numbers: [22, 86]
Generated Node #0,0,0: 85:[22, 86] Operation: 93-7=86
Exploring Operation: 22-7=15, Resulting Numbers: [93, 15]
Generated Node #0,0,1: 85:[93, 15] Operation: 22-7=15
Moving to Node #0,0,0
Current State: 85:[22, 86], Operations: ['77/11=7', '93-7=86']
Exploring Operation: 22+86=108, Resulting Numbers: [108]
108,85 unequal: No Solution
Exploring Operation: 86-22=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[93, 15], Operations: ['77/11=7', '22-7=15']
Exploring Operation: 93+15=108, Resulting Numbers: [108]
108,85 unequal: No Solution
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
37,
37,
73,
19
] | 54 | [
"37-37=0",
"73-19=54",
"0+54=54"
] | Current State: 54:[37, 37, 73, 19], Operations: []
Exploring Operation: 37-37=0, Resulting Numbers: [73, 19, 0]
Generated Node #2: [73, 19, 0] from Operation: 37-37=0
Current State: 54:[73, 19, 0], Operations: ['37-37=0']
Exploring Operation: 73-19=54, Resulting Numbers: [0, 54]
Generated Node #3: [0, 54] from Operation: 73-19=54
Current State: 54:[0, 54], Operations: ['37-37=0', '73-19=54']
Exploring Operation: 0+54=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[37, 37, 73, 19], Operations: []
Exploring Operation: 73-19=54, Resulting Numbers: [37, 37, 54]
Generated Node #0,0: 54:[37, 37, 54] Operation: 73-19=54
Exploring Operation: 73-37=36, Resulting Numbers: [37, 19, 36]
Generated Node #0,1: 54:[37, 19, 36] Operation: 73-37=36
Exploring Operation: 73-37=36, Resulting Numbers: [37, 19, 36]
Generated Node #0,2: 54:[37, 19, 36] Operation: 73-37=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[37, 37, 54], Operations: ['73-19=54']
Exploring Operation: 37/37=1, Resulting Numbers: [54, 1]
Generated Node #0,0,0: 54:[54, 1] Operation: 37/37=1
Exploring Operation: 54-37=17, Resulting Numbers: [37, 17]
Generated Node #0,0,1: 54:[37, 17] Operation: 54-37=17
Exploring Operation: 37-37=0, Resulting Numbers: [54, 0]
Generated Node #0,0,2: 54:[54, 0] Operation: 37-37=0
Moving to Node #0,0,0
Current State: 54:[54, 1], Operations: ['73-19=54', '37/37=1']
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[37, 37, 73, 19], Operations: []
Exploring Operation: 73-19=54, Resulting Numbers: [37, 37, 54]
Generated Node #0,0: 54:[37, 37, 54] Operation: 73-19=54
Moving to Node #0,0
Current State: 54:[37, 37, 54], Operations: ['73-19=54']
Exploring Operation: 37/37=1, Resulting Numbers: [54, 1]
Generated Node #0,0,0: 54:[54, 1] Operation: 37/37=1
Moving to Node #0,0,0
Current State: 54:[54, 1], Operations: ['73-19=54', '37/37=1']
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
21,
50,
75,
78
] | 38 | [
"78-21=57",
"50*57=2850",
"2850/75=38"
] | Current State: 38:[21, 50, 75, 78], Operations: []
Exploring Operation: 78-21=57, Resulting Numbers: [50, 75, 57]
Generated Node #2: [50, 75, 57] from Operation: 78-21=57
Current State: 38:[50, 75, 57], Operations: ['78-21=57']
Exploring Operation: 50*57=2850, Resulting Numbers: [75, 2850]
Generated Node #3: [75, 2850] from Operation: 50*57=2850
Current State: 38:[75, 2850], Operations: ['78-21=57', '50*57=2850']
Exploring Operation: 2850/75=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[21, 50, 75, 78], Operations: []
Exploring Operation: 75-50=25, Resulting Numbers: [21, 78, 25]
Generated Node #0,0: 38:[21, 78, 25] Operation: 75-50=25
Exploring Operation: 78-75=3, Resulting Numbers: [21, 50, 3]
Generated Node #0,1: 38:[21, 50, 3] Operation: 78-75=3
Exploring Operation: 78-50=28, Resulting Numbers: [21, 75, 28]
Generated Node #0,2: 38:[21, 75, 28] Operation: 78-50=28
Exploring Operation: 78-21=57, Resulting Numbers: [50, 75, 57]
Generated Node #0,3: 38:[50, 75, 57] Operation: 78-21=57
Exploring Operation: 75-21=54, Resulting Numbers: [50, 78, 54]
Generated Node #0,4: 38:[50, 78, 54] Operation: 75-21=54
Moving to Node #0,1
Current State: 38:[21, 50, 3], Operations: ['78-75=3']
Exploring Operation: 50-3=47, Resulting Numbers: [21, 47]
Generated Node #0,1,0: 38:[21, 47] Operation: 50-3=47
Exploring Operation: 50-21=29, Resulting Numbers: [3, 29]
Generated Node #0,1,1: 38:[3, 29] Operation: 50-21=29
Exploring Operation: 21-3=18, Resulting Numbers: [50, 18]
Generated Node #0,1,2: 38:[50, 18] Operation: 21-3=18
Exploring Operation: 21/3=7, Resulting Numbers: [50, 7]
Generated Node #0,1,3: 38:[50, 7] Operation: 21/3=7
Exploring Operation: 21+3=24, Resulting Numbers: [50, 24]
Generated Node #0,1,4: 38:[50, 24] Operation: 21+3=24
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[3, 29], Operations: ['78-75=3', '50-21=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,38 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 38:[21, 47], Operations: ['78-75=3', '50-3=47']
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 38:[50, 18], Operations: ['78-75=3', '21-3=18']
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 50+18=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Exploring Operation: 50*18=900, Resulting Numbers: [900]
900,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 38:[50, 7], Operations: ['78-75=3', '21/3=7']
Exploring Operation: 50+7=57, Resulting Numbers: [57]
57,38 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,38 unequal: No Solution
Exploring Operation: 50*7=350, Resulting Numbers: [350]
350,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 38:[50, 24], Operations: ['78-75=3', '21+3=24']
Exploring Operation: 50*24=1200, Resulting Numbers: [1200]
1200,38 unequal: No Solution
Exploring Operation: 50+24=74, Resulting Numbers: [74]
74,38 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,38 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: 38:[21, 75, 28], Operations: ['78-50=28']
Exploring Operation: 21+75=96, Resulting Numbers: [28, 96]
Generated Node #0,2,0: 38:[28, 96] Operation: 21+75=96
Exploring Operation: 21+28=49, Resulting Numbers: [75, 49]
Generated Node #0,2,1: 38:[75, 49] Operation: 21+28=49
Exploring Operation: 75-21=54, Resulting Numbers: [28, 54]
Generated Node #0,2,2: 38:[28, 54] Operation: 75-21=54
Exploring Operation: 28-21=7, Resulting Numbers: [75, 7]
Generated Node #0,2,3: 38:[75, 7] Operation: 28-21=7
Exploring Operation: 75-28=47, Resulting Numbers: [21, 47]
Generated Node #0,2,4: 38:[21, 47] Operation: 75-28=47
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 38:[21, 47], Operations: ['78-50=28', '75-28=47']
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 38:[28, 54], Operations: ['78-50=28', '75-21=54']
Exploring Operation: 28+54=82, Resulting Numbers: [82]
82,38 unequal: No Solution
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Exploring Operation: 28*54=1512, Resulting Numbers: [1512]
1512,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 38:[75, 7], Operations: ['78-50=28', '28-21=7']
Exploring Operation: 75+7=82, Resulting Numbers: [82]
82,38 unequal: No Solution
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Exploring Operation: 75*7=525, Resulting Numbers: [525]
525,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 38:[75, 49], Operations: ['78-50=28', '21+28=49']
Exploring Operation: 75*49=3675, Resulting Numbers: [3675]
3675,38 unequal: No Solution
Exploring Operation: 75+49=124, Resulting Numbers: [124]
124,38 unequal: No Solution
Exploring Operation: 75-49=26, Resulting Numbers: [26]
26,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 38:[28, 96], Operations: ['78-50=28', '21+75=96']
Exploring Operation: 28+96=124, Resulting Numbers: [124]
124,38 unequal: No Solution
Exploring Operation: 96-28=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Exploring Operation: 28*96=2688, Resulting Numbers: [2688]
2688,38 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: 38:[21, 78, 25], Operations: ['75-50=25']
Exploring Operation: 78-25=53, Resulting Numbers: [21, 53]
Generated Node #0,0,0: 38:[21, 53] Operation: 78-25=53
Exploring Operation: 25-21=4, Resulting Numbers: [78, 4]
Generated Node #0,0,1: 38:[78, 4] Operation: 25-21=4
Exploring Operation: 21+78=99, Resulting Numbers: [25, 99]
Generated Node #0,0,2: 38:[25, 99] Operation: 21+78=99
Exploring Operation: 78-21=57, Resulting Numbers: [25, 57]
Generated Node #0,0,3: 38:[25, 57] Operation: 78-21=57
Exploring Operation: 21+25=46, Resulting Numbers: [78, 46]
Generated Node #0,0,4: 38:[78, 46] Operation: 21+25=46
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[21, 53], Operations: ['75-50=25', '78-25=53']
Exploring Operation: 21+53=74, Resulting Numbers: [74]
74,38 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 21*53=1113, Resulting Numbers: [1113]
1113,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 38:[25, 57], Operations: ['75-50=25', '78-21=57']
Exploring Operation: 25*57=1425, Resulting Numbers: [1425]
1425,38 unequal: No Solution
Exploring Operation: 25+57=82, Resulting Numbers: [82]
82,38 unequal: No Solution
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[78, 4], Operations: ['75-50=25', '25-21=4']
Exploring Operation: 78+4=82, Resulting Numbers: [82]
82,38 unequal: No Solution
Exploring Operation: 78*4=312, Resulting Numbers: [312]
312,38 unequal: No Solution
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 38:[78, 46], Operations: ['75-50=25', '21+25=46']
Exploring Operation: 78+46=124, Resulting Numbers: [124]
124,38 unequal: No Solution
Exploring Operation: 78*46=3588, Resulting Numbers: [3588]
3588,38 unequal: No Solution
Exploring Operation: 78-46=32, Resulting Numbers: [32]
32,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 38:[25, 99], Operations: ['75-50=25', '21+78=99']
Exploring Operation: 25*99=2475, Resulting Numbers: [2475]
2475,38 unequal: No Solution
Exploring Operation: 25+99=124, Resulting Numbers: [124]
124,38 unequal: No Solution
Exploring Operation: 99-25=74, Resulting Numbers: [74]
74,38 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: 38:[50, 75, 57], Operations: ['78-21=57']
Exploring Operation: 57-50=7, Resulting Numbers: [75, 7]
Generated Node #0,3,0: 38:[75, 7] Operation: 57-50=7
Exploring Operation: 50+57=107, Resulting Numbers: [75, 107]
Generated Node #0,3,1: 38:[75, 107] Operation: 50+57=107
Exploring Operation: 75-57=18, Resulting Numbers: [50, 18]
Generated Node #0,3,2: 38:[50, 18] Operation: 75-57=18
Exploring Operation: 75-50=25, Resulting Numbers: [57, 25]
Generated Node #0,3,3: 38:[57, 25] Operation: 75-50=25
Exploring Operation: 50+75=125, Resulting Numbers: [57, 125]
Generated Node #0,3,4: 38:[57, 125] Operation: 50+75=125
Moving to Node #0,4
Current State: 38:[50, 78, 54], Operations: ['75-21=54']
Exploring Operation: 50+54=104, Resulting Numbers: [78, 104]
Generated Node #0,4,0: 38:[78, 104] Operation: 50+54=104
Exploring Operation: 50+78=128, Resulting Numbers: [54, 128]
Generated Node #0,4,1: 38:[54, 128] Operation: 50+78=128
Exploring Operation: 54-50=4, Resulting Numbers: [78, 4]
Generated Node #0,4,2: 38:[78, 4] Operation: 54-50=4
Exploring Operation: 78-50=28, Resulting Numbers: [54, 28]
Generated Node #0,4,3: 38:[54, 28] Operation: 78-50=28
Exploring Operation: 78-54=24, Resulting Numbers: [50, 24]
Generated Node #0,4,4: 38:[50, 24] Operation: 78-54=24
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 38:[50, 24], Operations: ['75-21=54', '78-54=24']
Exploring Operation: 50+24=74, Resulting Numbers: [74]
74,38 unequal: No Solution
Exploring Operation: 50*24=1200, Resulting Numbers: [1200]
1200,38 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 38:[54, 28], Operations: ['75-21=54', '78-50=28']
Exploring Operation: 54*28=1512, Resulting Numbers: [1512]
1512,38 unequal: No Solution
Exploring Operation: 54+28=82, Resulting Numbers: [82]
82,38 unequal: No Solution
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 38:[78, 4], Operations: ['75-21=54', '54-50=4']
Exploring Operation: 78*4=312, Resulting Numbers: [312]
312,38 unequal: No Solution
Exploring Operation: 78+4=82, Resulting Numbers: [82]
82,38 unequal: No Solution
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 38:[78, 104], Operations: ['75-21=54', '50+54=104']
Exploring Operation: 78+104=182, Resulting Numbers: [182]
182,38 unequal: No Solution
Exploring Operation: 104-78=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Exploring Operation: 78*104=8112, Resulting Numbers: [8112]
8112,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 38:[54, 128], Operations: ['75-21=54', '50+78=128']
Exploring Operation: 128-54=74, Resulting Numbers: [74]
74,38 unequal: No Solution
Exploring Operation: 54+128=182, Resulting Numbers: [182]
182,38 unequal: No Solution
Exploring Operation: 54*128=6912, Resulting Numbers: [6912]
6912,38 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: 38:[50, 18], Operations: ['78-21=57', '75-57=18']
Exploring Operation: 50*18=900, Resulting Numbers: [900]
900,38 unequal: No Solution
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 50+18=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Moving to Node #0,3,3
Current State: 38:[57, 25], Operations: ['78-21=57', '75-50=25']
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 57+25=82, Resulting Numbers: [82]
82,38 unequal: No Solution
Exploring Operation: 57*25=1425, Resulting Numbers: [1425]
1425,38 unequal: No Solution
Moving to Node #0,3,0
Current State: 38:[75, 7], Operations: ['78-21=57', '57-50=7']
Exploring Operation: 75+7=82, Resulting Numbers: [82]
82,38 unequal: No Solution
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Exploring Operation: 75*7=525, Resulting Numbers: [525]
525,38 unequal: No Solution
Moving to Node #0,3,1
Current State: 38:[75, 107], Operations: ['78-21=57', '50+57=107']
Exploring Operation: 107-75=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 75+107=182, Resulting Numbers: [182]
182,38 unequal: No Solution
Exploring Operation: 75*107=8025, Resulting Numbers: [8025]
8025,38 unequal: No Solution
Moving to Node #0,3,4
Current State: 38:[57, 125], Operations: ['78-21=57', '50+75=125']
Exploring Operation: 57*125=7125, Resulting Numbers: [7125]
7125,38 unequal: No Solution
Exploring Operation: 125-57=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Exploring Operation: 57+125=182, Resulting Numbers: [182]
182,38 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
61,
4,
58,
75
] | 68 | [
"61+4=65",
"58+75=133",
"133-65=68"
] | Current State: 68:[61, 4, 58, 75], Operations: []
Exploring Operation: 61+4=65, Resulting Numbers: [58, 75, 65]
Generated Node #2: [58, 75, 65] from Operation: 61+4=65
Current State: 68:[58, 75, 65], Operations: ['61+4=65']
Exploring Operation: 58+75=133, Resulting Numbers: [65, 133]
Generated Node #3: [65, 133] from Operation: 58+75=133
Current State: 68:[65, 133], Operations: ['61+4=65', '58+75=133']
Exploring Operation: 133-65=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[61, 4, 58, 75], Operations: []
Exploring Operation: 75-61=14, Resulting Numbers: [4, 58, 14]
Generated Node #0,0: 68:[4, 58, 14] Operation: 75-61=14
Exploring Operation: 61-58=3, Resulting Numbers: [4, 75, 3]
Generated Node #0,1: 68:[4, 75, 3] Operation: 61-58=3
Exploring Operation: 75-58=17, Resulting Numbers: [61, 4, 17]
Generated Node #0,2: 68:[61, 4, 17] Operation: 75-58=17
Moving to Node #0,2
Current State: 68:[61, 4, 17], Operations: ['75-58=17']
Exploring Operation: 4*17=68, Resulting Numbers: [61, 68]
Generated Node #0,2,0: 68:[61, 68] Operation: 4*17=68
Exploring Operation: 61+4=65, Resulting Numbers: [17, 65]
Generated Node #0,2,1: 68:[17, 65] Operation: 61+4=65
Exploring Operation: 61+17=78, Resulting Numbers: [4, 78]
Generated Node #0,2,2: 68:[4, 78] Operation: 61+17=78
Moving to Node #0,1
Current State: 68:[4, 75, 3], Operations: ['61-58=3']
Exploring Operation: 75-3=72, Resulting Numbers: [4, 72]
Generated Node #0,1,0: 68:[4, 72] Operation: 75-3=72
Exploring Operation: 75-4=71, Resulting Numbers: [3, 71]
Generated Node #0,1,1: 68:[3, 71] Operation: 75-4=71
Exploring Operation: 4-3=1, Resulting Numbers: [75, 1]
Generated Node #0,1,2: 68:[75, 1] Operation: 4-3=1
Moving to Node #0,0
Current State: 68:[4, 58, 14], Operations: ['75-61=14']
Exploring Operation: 58-14=44, Resulting Numbers: [4, 44]
Generated Node #0,0,0: 68:[4, 44] Operation: 58-14=44
Exploring Operation: 4+58=62, Resulting Numbers: [14, 62]
Generated Node #0,0,1: 68:[14, 62] Operation: 4+58=62
Exploring Operation: 58+14=72, Resulting Numbers: [4, 72]
Generated Node #0,0,2: 68:[4, 72] Operation: 58+14=72
Moving to Node #0,2,1
Current State: 68:[17, 65], Operations: ['75-58=17', '61+4=65']
Exploring Operation: 17+65=82, Resulting Numbers: [82]
82,68 unequal: No Solution
Exploring Operation: 17*65=1105, Resulting Numbers: [1105]
1105,68 unequal: No Solution
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[4, 72], Operations: ['75-61=14', '58+14=72']
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 4+72=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[61, 4, 58, 75], Operations: []
Exploring Operation: 75-61=14, Resulting Numbers: [4, 58, 14]
Generated Node #0,0: 68:[4, 58, 14] Operation: 75-61=14
Moving to Node #0,0
Current State: 68:[4, 58, 14], Operations: ['75-61=14']
Exploring Operation: 58+14=72, Resulting Numbers: [4, 72]
Generated Node #0,0,2: 68:[4, 72] Operation: 58+14=72
Moving to Node #0,0,2
Current State: 68:[4, 72], Operations: ['75-61=14', '58+14=72']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.980903 | hs_3 | mult_heuristic |
[
48,
14,
19,
3
] | 71 | [
"48-19=29",
"14*3=42",
"29+42=71"
] | Current State: 71:[48, 14, 19, 3], Operations: []
Exploring Operation: 48-19=29, Resulting Numbers: [14, 3, 29]
Generated Node #2: [14, 3, 29] from Operation: 48-19=29
Current State: 71:[14, 3, 29], Operations: ['48-19=29']
Exploring Operation: 14*3=42, Resulting Numbers: [29, 42]
Generated Node #3: [29, 42] from Operation: 14*3=42
Current State: 71:[29, 42], Operations: ['48-19=29', '14*3=42']
Exploring Operation: 29+42=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[48, 14, 19, 3], Operations: []
Exploring Operation: 19*3=57, Resulting Numbers: [48, 14, 57]
Generated Node #0,0: 71:[48, 14, 57] Operation: 19*3=57
Exploring Operation: 48+14=62, Resulting Numbers: [19, 3, 62]
Generated Node #0,1: 71:[19, 3, 62] Operation: 48+14=62
Exploring Operation: 48+3=51, Resulting Numbers: [14, 19, 51]
Generated Node #0,2: 71:[14, 19, 51] Operation: 48+3=51
Exploring Operation: 48+19=67, Resulting Numbers: [14, 3, 67]
Generated Node #0,3: 71:[14, 3, 67] Operation: 48+19=67
Exploring Operation: 14*3=42, Resulting Numbers: [48, 19, 42]
Generated Node #0,4: 71:[48, 19, 42] Operation: 14*3=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[48, 14, 57], Operations: ['19*3=57']
Exploring Operation: 57-14=43, Resulting Numbers: [48, 43]
Generated Node #0,0,0: 71:[48, 43] Operation: 57-14=43
Exploring Operation: 48+14=62, Resulting Numbers: [57, 62]
Generated Node #0,0,1: 71:[57, 62] Operation: 48+14=62
Exploring Operation: 48-14=34, Resulting Numbers: [57, 34]
Generated Node #0,0,2: 71:[57, 34] Operation: 48-14=34
Exploring Operation: 48+57=105, Resulting Numbers: [14, 105]
Generated Node #0,0,3: 71:[14, 105] Operation: 48+57=105
Exploring Operation: 14+57=71, Resulting Numbers: [48, 71]
Generated Node #0,0,4: 71:[48, 71] Operation: 14+57=71
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[57, 62], Operations: ['19*3=57', '48+14=62']
Exploring Operation: 57+62=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Exploring Operation: 62-57=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Exploring Operation: 57*62=3534, Resulting Numbers: [3534]
3534,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 71:[48, 71], Operations: ['19*3=57', '14+57=71']
Exploring Operation: 48+71=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Exploring Operation: 48*71=3408, Resulting Numbers: [3408]
3408,71 unequal: No Solution
Exploring Operation: 71-48=23, Resulting Numbers: [23]
23,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[48, 43], Operations: ['19*3=57', '57-14=43']
Exploring Operation: 48*43=2064, Resulting Numbers: [2064]
2064,71 unequal: No Solution
Exploring Operation: 48+43=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[57, 34], Operations: ['19*3=57', '48-14=34']
Exploring Operation: 57+34=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Exploring Operation: 57-34=23, Resulting Numbers: [23]
23,71 unequal: No Solution
Exploring Operation: 57*34=1938, Resulting Numbers: [1938]
1938,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 71:[14, 105], Operations: ['19*3=57', '48+57=105']
Exploring Operation: 105-14=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Exploring Operation: 14+105=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Exploring Operation: 14*105=1470, Resulting Numbers: [1470]
1470,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 71:[48, 19, 42], Operations: ['14*3=42']
Exploring Operation: 48-19=29, Resulting Numbers: [42, 29]
Generated Node #0,4,0: 71:[42, 29] Operation: 48-19=29
Exploring Operation: 48+42=90, Resulting Numbers: [19, 90]
Generated Node #0,4,1: 71:[19, 90] Operation: 48+42=90
Exploring Operation: 19+42=61, Resulting Numbers: [48, 61]
Generated Node #0,4,2: 71:[48, 61] Operation: 19+42=61
Exploring Operation: 42-19=23, Resulting Numbers: [48, 23]
Generated Node #0,4,3: 71:[48, 23] Operation: 42-19=23
Exploring Operation: 48+19=67, Resulting Numbers: [42, 67]
Generated Node #0,4,4: 71:[42, 67] Operation: 48+19=67
Moving to Node #0,4,2
Current State: 71:[48, 61], Operations: ['14*3=42', '19+42=61']
Exploring Operation: 48+61=109, Resulting Numbers: [109]
109,71 unequal: No Solution
Exploring Operation: 61-48=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 48*61=2928, Resulting Numbers: [2928]
2928,71 unequal: No Solution
Moving to Node #0,4,4
Current State: 71:[42, 67], Operations: ['14*3=42', '48+19=67']
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 42*67=2814, Resulting Numbers: [2814]
2814,71 unequal: No Solution
Exploring Operation: 42+67=109, Resulting Numbers: [109]
109,71 unequal: No Solution
Moving to Node #0,4,0
Current State: 71:[42, 29], Operations: ['14*3=42', '48-19=29']
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 42+29=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[48, 14, 19, 3], Operations: []
Exploring Operation: 14*3=42, Resulting Numbers: [48, 19, 42]
Generated Node #0,4: 71:[48, 19, 42] Operation: 14*3=42
Moving to Node #0,4
Current State: 71:[48, 19, 42], Operations: ['14*3=42']
Exploring Operation: 48-19=29, Resulting Numbers: [42, 29]
Generated Node #0,4,0: 71:[42, 29] Operation: 48-19=29
Moving to Node #0,4,0
Current State: 71:[42, 29], Operations: ['14*3=42', '48-19=29']
Exploring Operation: 42+29=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | sum_heuristic |
[
92,
42,
73,
67
] | 99 | [
"73-67=6",
"42/6=7",
"92+7=99"
] | Current State: 99:[92, 42, 73, 67], Operations: []
Exploring Operation: 73-67=6, Resulting Numbers: [92, 42, 6]
Generated Node #2: [92, 42, 6] from Operation: 73-67=6
Current State: 99:[92, 42, 6], Operations: ['73-67=6']
Exploring Operation: 42/6=7, Resulting Numbers: [92, 7]
Generated Node #3: [92, 7] from Operation: 42/6=7
Current State: 99:[92, 7], Operations: ['73-67=6', '42/6=7']
Exploring Operation: 92+7=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[92, 42, 73, 67], Operations: []
Exploring Operation: 73-42=31, Resulting Numbers: [92, 67, 31]
Generated Node #0,0: 99:[92, 67, 31] Operation: 73-42=31
Exploring Operation: 73-67=6, Resulting Numbers: [92, 42, 6]
Generated Node #0,1: 99:[92, 42, 6] Operation: 73-67=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[92, 42, 6], Operations: ['73-67=6']
Exploring Operation: 92+6=98, Resulting Numbers: [42, 98]
Generated Node #0,1,0: 99:[42, 98] Operation: 92+6=98
Exploring Operation: 42/6=7, Resulting Numbers: [92, 7]
Generated Node #0,1,1: 99:[92, 7] Operation: 42/6=7
Moving to Node #0,1,1
Current State: 99:[92, 7], Operations: ['73-67=6', '42/6=7']
Exploring Operation: 92+7=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[92, 42, 73, 67], Operations: []
Exploring Operation: 73-67=6, Resulting Numbers: [92, 42, 6]
Generated Node #0,1: 99:[92, 42, 6] Operation: 73-67=6
Moving to Node #0,1
Current State: 99:[92, 42, 6], Operations: ['73-67=6']
Exploring Operation: 42/6=7, Resulting Numbers: [92, 7]
Generated Node #0,1,1: 99:[92, 7] Operation: 42/6=7
Moving to Node #0,1,1
Current State: 99:[92, 7], Operations: ['73-67=6', '42/6=7']
Exploring Operation: 92+7=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
41,
99,
5,
8
] | 54 | [
"99+5=104",
"104/8=13",
"41+13=54"
] | Current State: 54:[41, 99, 5, 8], Operations: []
Exploring Operation: 99+5=104, Resulting Numbers: [41, 8, 104]
Generated Node #2: [41, 8, 104] from Operation: 99+5=104
Current State: 54:[41, 8, 104], Operations: ['99+5=104']
Exploring Operation: 104/8=13, Resulting Numbers: [41, 13]
Generated Node #3: [41, 13] from Operation: 104/8=13
Current State: 54:[41, 13], Operations: ['99+5=104', '104/8=13']
Exploring Operation: 41+13=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[41, 99, 5, 8], Operations: []
Exploring Operation: 41+8=49, Resulting Numbers: [99, 5, 49]
Generated Node #0,0: 54:[99, 5, 49] Operation: 41+8=49
Exploring Operation: 99-41=58, Resulting Numbers: [5, 8, 58]
Generated Node #0,1: 54:[5, 8, 58] Operation: 99-41=58
Exploring Operation: 41-8=33, Resulting Numbers: [99, 5, 33]
Generated Node #0,2: 54:[99, 5, 33] Operation: 41-8=33
Exploring Operation: 99-8=91, Resulting Numbers: [41, 5, 91]
Generated Node #0,3: 54:[41, 5, 91] Operation: 99-8=91
Moving to Node #0,1
Current State: 54:[5, 8, 58], Operations: ['99-41=58']
Exploring Operation: 8-5=3, Resulting Numbers: [58, 3]
Generated Node #0,1,0: 54:[58, 3] Operation: 8-5=3
Exploring Operation: 58-8=50, Resulting Numbers: [5, 50]
Generated Node #0,1,1: 54:[5, 50] Operation: 58-8=50
Exploring Operation: 58-5=53, Resulting Numbers: [8, 53]
Generated Node #0,1,2: 54:[8, 53] Operation: 58-5=53
Exploring Operation: 5+8=13, Resulting Numbers: [58, 13]
Generated Node #0,1,3: 54:[58, 13] Operation: 5+8=13
Moving to Node #0,3
Current State: 54:[41, 5, 91], Operations: ['99-8=91']
Exploring Operation: 41+5=46, Resulting Numbers: [91, 46]
Generated Node #0,3,0: 54:[91, 46] Operation: 41+5=46
Exploring Operation: 91-5=86, Resulting Numbers: [41, 86]
Generated Node #0,3,1: 54:[41, 86] Operation: 91-5=86
Exploring Operation: 41-5=36, Resulting Numbers: [91, 36]
Generated Node #0,3,2: 54:[91, 36] Operation: 41-5=36
Exploring Operation: 91-41=50, Resulting Numbers: [5, 50]
Generated Node #0,3,3: 54:[5, 50] Operation: 91-41=50
Moving to Node #0,0
Current State: 54:[99, 5, 49], Operations: ['41+8=49']
Exploring Operation: 99-49=50, Resulting Numbers: [5, 50]
Generated Node #0,0,0: 54:[5, 50] Operation: 99-49=50
Exploring Operation: 99+5=104, Resulting Numbers: [49, 104]
Generated Node #0,0,1: 54:[49, 104] Operation: 99+5=104
Exploring Operation: 99-5=94, Resulting Numbers: [49, 94]
Generated Node #0,0,2: 54:[49, 94] Operation: 99-5=94
Exploring Operation: 5+49=54, Resulting Numbers: [99, 54]
Generated Node #0,0,3: 54:[99, 54] Operation: 5+49=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[5, 50], Operations: ['41+8=49', '99-49=50']
Exploring Operation: 5*50=250, Resulting Numbers: [250]
250,54 unequal: No Solution
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,54 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 54:[49, 94], Operations: ['41+8=49', '99-5=94']
Exploring Operation: 94-49=45, Resulting Numbers: [45]
45,54 unequal: No Solution
Exploring Operation: 49*94=4606, Resulting Numbers: [4606]
4606,54 unequal: No Solution
Exploring Operation: 49+94=143, Resulting Numbers: [143]
143,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 54:[99, 54], Operations: ['41+8=49', '5+49=54']
Exploring Operation: 99*54=5346, Resulting Numbers: [5346]
5346,54 unequal: No Solution
Exploring Operation: 99+54=153, Resulting Numbers: [153]
153,54 unequal: No Solution
Exploring Operation: 99-54=45, Resulting Numbers: [45]
45,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[49, 104], Operations: ['41+8=49', '99+5=104']
Exploring Operation: 49+104=153, Resulting Numbers: [153]
153,54 unequal: No Solution
Exploring Operation: 49*104=5096, Resulting Numbers: [5096]
5096,54 unequal: No Solution
Exploring Operation: 104-49=55, Resulting Numbers: [55]
55,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 54:[99, 5, 33], Operations: ['41-8=33']
Exploring Operation: 99-5=94, Resulting Numbers: [33, 94]
Generated Node #0,2,0: 54:[33, 94] Operation: 99-5=94
Exploring Operation: 33-5=28, Resulting Numbers: [99, 28]
Generated Node #0,2,1: 54:[99, 28] Operation: 33-5=28
Exploring Operation: 99/33=3, Resulting Numbers: [5, 3]
Generated Node #0,2,2: 54:[5, 3] Operation: 99/33=3
Exploring Operation: 99-33=66, Resulting Numbers: [5, 66]
Generated Node #0,2,3: 54:[5, 66] Operation: 99-33=66
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[5, 3], Operations: ['41-8=33', '99/33=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 54:[5, 66], Operations: ['41-8=33', '99-33=66']
Exploring Operation: 5*66=330, Resulting Numbers: [330]
330,54 unequal: No Solution
Exploring Operation: 5+66=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 54:[33, 94], Operations: ['41-8=33', '99-5=94']
Exploring Operation: 33*94=3102, Resulting Numbers: [3102]
3102,54 unequal: No Solution
Exploring Operation: 33+94=127, Resulting Numbers: [127]
127,54 unequal: No Solution
Exploring Operation: 94-33=61, Resulting Numbers: [61]
61,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 54:[99, 28], Operations: ['41-8=33', '33-5=28']
Exploring Operation: 99+28=127, Resulting Numbers: [127]
127,54 unequal: No Solution
Exploring Operation: 99-28=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Exploring Operation: 99*28=2772, Resulting Numbers: [2772]
2772,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 54:[8, 53], Operations: ['99-41=58', '58-5=53']
Exploring Operation: 8+53=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,54 unequal: No Solution
Exploring Operation: 8*53=424, Resulting Numbers: [424]
424,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[58, 3], Operations: ['99-41=58', '8-5=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,54 unequal: No Solution
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,54 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[5, 50], Operations: ['99-41=58', '58-8=50']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,54 unequal: No Solution
Exploring Operation: 5*50=250, Resulting Numbers: [250]
250,54 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Moving to Node #0,3,3
Current State: 54:[5, 50], Operations: ['99-8=91', '91-41=50']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,54 unequal: No Solution
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 5*50=250, Resulting Numbers: [250]
250,54 unequal: No Solution
Moving to Node #0,1,3
Current State: 54:[58, 13], Operations: ['99-41=58', '5+8=13']
Exploring Operation: 58+13=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Exploring Operation: 58*13=754, Resulting Numbers: [754]
754,54 unequal: No Solution
Exploring Operation: 58-13=45, Resulting Numbers: [45]
45,54 unequal: No Solution
Moving to Node #0,3,0
Current State: 54:[91, 46], Operations: ['99-8=91', '41+5=46']
Exploring Operation: 91*46=4186, Resulting Numbers: [4186]
4186,54 unequal: No Solution
Exploring Operation: 91-46=45, Resulting Numbers: [45]
45,54 unequal: No Solution
Exploring Operation: 91+46=137, Resulting Numbers: [137]
137,54 unequal: No Solution
Moving to Node #0,3,1
Current State: 54:[41, 86], Operations: ['99-8=91', '91-5=86']
Exploring Operation: 41*86=3526, Resulting Numbers: [3526]
3526,54 unequal: No Solution
Exploring Operation: 86-41=45, Resulting Numbers: [45]
45,54 unequal: No Solution
Exploring Operation: 41+86=127, Resulting Numbers: [127]
127,54 unequal: No Solution
Moving to Node #0,3,2
Current State: 54:[91, 36], Operations: ['99-8=91', '41-5=36']
Exploring Operation: 91+36=127, Resulting Numbers: [127]
127,54 unequal: No Solution
Exploring Operation: 91-36=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 91*36=3276, Resulting Numbers: [3276]
3276,54 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
44,
15,
61,
32
] | 88 | [
"44+15=59",
"61-32=29",
"59+29=88"
] | Current State: 88:[44, 15, 61, 32], Operations: []
Exploring Operation: 44+15=59, Resulting Numbers: [61, 32, 59]
Generated Node #2: [61, 32, 59] from Operation: 44+15=59
Current State: 88:[61, 32, 59], Operations: ['44+15=59']
Exploring Operation: 61-32=29, Resulting Numbers: [59, 29]
Generated Node #3: [59, 29] from Operation: 61-32=29
Current State: 88:[59, 29], Operations: ['44+15=59', '61-32=29']
Exploring Operation: 59+29=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[44, 15, 61, 32], Operations: []
Exploring Operation: 61-15=46, Resulting Numbers: [44, 32, 46]
Generated Node #0,0: 88:[44, 32, 46] Operation: 61-15=46
Exploring Operation: 61+32=93, Resulting Numbers: [44, 15, 93]
Generated Node #0,1: 88:[44, 15, 93] Operation: 61+32=93
Exploring Operation: 61-32=29, Resulting Numbers: [44, 15, 29]
Generated Node #0,2: 88:[44, 15, 29] Operation: 61-32=29
Moving to Node #0,1
Current State: 88:[44, 15, 93], Operations: ['61+32=93']
Exploring Operation: 93-15=78, Resulting Numbers: [44, 78]
Generated Node #0,1,0: 88:[44, 78] Operation: 93-15=78
Exploring Operation: 44-15=29, Resulting Numbers: [93, 29]
Generated Node #0,1,1: 88:[93, 29] Operation: 44-15=29
Exploring Operation: 93-44=49, Resulting Numbers: [15, 49]
Generated Node #0,1,2: 88:[15, 49] Operation: 93-44=49
Moving to Node #0,2
Current State: 88:[44, 15, 29], Operations: ['61-32=29']
Exploring Operation: 29-15=14, Resulting Numbers: [44, 14]
Generated Node #0,2,0: 88:[44, 14] Operation: 29-15=14
Exploring Operation: 15+29=44, Resulting Numbers: [44, 44]
Generated Node #0,2,1: 88:[44, 44] Operation: 15+29=44
Exploring Operation: 44-29=15, Resulting Numbers: [15, 15]
Generated Node #0,2,2: 88:[15, 15] Operation: 44-29=15
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[44, 44], Operations: ['61-32=29', '15+29=44']
Exploring Operation: 44-44=0, Resulting Numbers: [0]
0,88 unequal: No Solution
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[44, 15, 61, 32], Operations: []
Exploring Operation: 61-32=29, Resulting Numbers: [44, 15, 29]
Generated Node #0,2: 88:[44, 15, 29] Operation: 61-32=29
Moving to Node #0,2
Current State: 88:[44, 15, 29], Operations: ['61-32=29']
Exploring Operation: 15+29=44, Resulting Numbers: [44, 44]
Generated Node #0,2,1: 88:[44, 44] Operation: 15+29=44
Moving to Node #0,2,1
Current State: 88:[44, 44], Operations: ['61-32=29', '15+29=44']
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
5,
90,
40,
46
] | 68 | [
"90/5=18",
"40+46=86",
"86-18=68"
] | Current State: 68:[5, 90, 40, 46], Operations: []
Exploring Operation: 90/5=18, Resulting Numbers: [40, 46, 18]
Generated Node #2: [40, 46, 18] from Operation: 90/5=18
Current State: 68:[40, 46, 18], Operations: ['90/5=18']
Exploring Operation: 40+46=86, Resulting Numbers: [18, 86]
Generated Node #3: [18, 86] from Operation: 40+46=86
Current State: 68:[18, 86], Operations: ['90/5=18', '40+46=86']
Exploring Operation: 86-18=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[5, 90, 40, 46], Operations: []
Exploring Operation: 90/5=18, Resulting Numbers: [40, 46, 18]
Generated Node #0,0: 68:[40, 46, 18] Operation: 90/5=18
Exploring Operation: 90-46=44, Resulting Numbers: [5, 40, 44]
Generated Node #0,1: 68:[5, 40, 44] Operation: 90-46=44
Moving to Node #0,1
Current State: 68:[5, 40, 44], Operations: ['90-46=44']
Exploring Operation: 44-40=4, Resulting Numbers: [5, 4]
Generated Node #0,1,0: 68:[5, 4] Operation: 44-40=4
Exploring Operation: 40-5=35, Resulting Numbers: [44, 35]
Generated Node #0,1,1: 68:[44, 35] Operation: 40-5=35
Moving to Node #0,0
Current State: 68:[40, 46, 18], Operations: ['90/5=18']
Exploring Operation: 46-40=6, Resulting Numbers: [18, 6]
Generated Node #0,0,0: 68:[18, 6] Operation: 46-40=6
Exploring Operation: 46+18=64, Resulting Numbers: [40, 64]
Generated Node #0,0,1: 68:[40, 64] Operation: 46+18=64
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[18, 6], Operations: ['90/5=18', '46-40=6']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[40, 64], Operations: ['90/5=18', '46+18=64']
Exploring Operation: 40+64=104, Resulting Numbers: [104]
104,68 unequal: No Solution
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,68 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: 68:[5, 4], Operations: ['90-46=44', '44-40=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,68 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[44, 35], Operations: ['90-46=44', '40-5=35']
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,68 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
22,
13,
62,
25
] | 19 | [
"13+62=75",
"75/25=3",
"22-3=19"
] | Current State: 19:[22, 13, 62, 25], Operations: []
Exploring Operation: 13+62=75, Resulting Numbers: [22, 25, 75]
Generated Node #2: [22, 25, 75] from Operation: 13+62=75
Current State: 19:[22, 25, 75], Operations: ['13+62=75']
Exploring Operation: 75/25=3, Resulting Numbers: [22, 3]
Generated Node #3: [22, 3] from Operation: 75/25=3
Current State: 19:[22, 3], Operations: ['13+62=75', '75/25=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[22, 13, 62, 25], Operations: []
Exploring Operation: 62-25=37, Resulting Numbers: [22, 13, 37]
Generated Node #0,0: 19:[22, 13, 37] Operation: 62-25=37
Exploring Operation: 62-13=49, Resulting Numbers: [22, 25, 49]
Generated Node #0,1: 19:[22, 25, 49] Operation: 62-13=49
Exploring Operation: 62-22=40, Resulting Numbers: [13, 25, 40]
Generated Node #0,2: 19:[13, 25, 40] Operation: 62-22=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[22, 13, 37], Operations: ['62-25=37']
Exploring Operation: 22-13=9, Resulting Numbers: [37, 9]
Generated Node #0,0,0: 19:[37, 9] Operation: 22-13=9
Exploring Operation: 37-13=24, Resulting Numbers: [22, 24]
Generated Node #0,0,1: 19:[22, 24] Operation: 37-13=24
Exploring Operation: 37-22=15, Resulting Numbers: [13, 15]
Generated Node #0,0,2: 19:[13, 15] Operation: 37-22=15
Moving to Node #0,0,1
Current State: 19:[22, 24], Operations: ['62-25=37', '37-13=24']
Exploring Operation: 22*24=528, Resulting Numbers: [528]
528,19 unequal: No Solution
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[13, 15], Operations: ['62-25=37', '37-22=15']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 13*15=195, Resulting Numbers: [195]
195,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[37, 9], Operations: ['62-25=37', '22-13=9']
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 37+9=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 37*9=333, Resulting Numbers: [333]
333,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[13, 25, 40], Operations: ['62-22=40']
Exploring Operation: 40-13=27, Resulting Numbers: [25, 27]
Generated Node #0,2,0: 19:[25, 27] Operation: 40-13=27
Exploring Operation: 25-13=12, Resulting Numbers: [40, 12]
Generated Node #0,2,1: 19:[40, 12] Operation: 25-13=12
Exploring Operation: 40-25=15, Resulting Numbers: [13, 15]
Generated Node #0,2,2: 19:[13, 15] Operation: 40-25=15
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 19:[13, 15], Operations: ['62-22=40', '40-25=15']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 13*15=195, Resulting Numbers: [195]
195,19 unequal: No Solution
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,19 unequal: No Solution
No 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: 19:[25, 27], Operations: ['62-22=40', '40-13=27']
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 25*27=675, Resulting Numbers: [675]
675,19 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,19 unequal: No Solution
No 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: 19:[40, 12], Operations: ['62-22=40', '25-13=12']
Exploring Operation: 40*12=480, Resulting Numbers: [480]
480,19 unequal: No Solution
Exploring Operation: 40+12=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,19 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: 19:[22, 25, 49], Operations: ['62-13=49']
Exploring Operation: 49-22=27, Resulting Numbers: [25, 27]
Generated Node #0,1,0: 19:[25, 27] Operation: 49-22=27
Exploring Operation: 49-25=24, Resulting Numbers: [22, 24]
Generated Node #0,1,1: 19:[22, 24] Operation: 49-25=24
Exploring Operation: 25-22=3, Resulting Numbers: [49, 3]
Generated Node #0,1,2: 19:[49, 3] Operation: 25-22=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[22, 24], Operations: ['62-13=49', '49-25=24']
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 22*24=528, Resulting Numbers: [528]
528,19 unequal: No Solution
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,19 unequal: No Solution
No 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: 19:[25, 27], Operations: ['62-13=49', '49-22=27']
Exploring Operation: 25*27=675, Resulting Numbers: [675]
675,19 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,19 unequal: No Solution
No 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: 19:[49, 3], Operations: ['62-13=49', '25-22=3']
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,19 unequal: No Solution
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,19 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 |
[
22,
44,
88,
17
] | 93 | [
"44-22=22",
"88-17=71",
"22+71=93"
] | Current State: 93:[22, 44, 88, 17], Operations: []
Exploring Operation: 44-22=22, Resulting Numbers: [88, 17, 22]
Generated Node #2: [88, 17, 22] from Operation: 44-22=22
Current State: 93:[88, 17, 22], Operations: ['44-22=22']
Exploring Operation: 88-17=71, Resulting Numbers: [22, 71]
Generated Node #3: [22, 71] from Operation: 88-17=71
Current State: 93:[22, 71], Operations: ['44-22=22', '88-17=71']
Exploring Operation: 22+71=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[22, 44, 88, 17], Operations: []
Exploring Operation: 44/22=2, Resulting Numbers: [88, 17, 2]
Generated Node #0,0: 93:[88, 17, 2] Operation: 44/22=2
Exploring Operation: 22-17=5, Resulting Numbers: [44, 88, 5]
Generated Node #0,1: 93:[44, 88, 5] Operation: 22-17=5
Exploring Operation: 44-17=27, Resulting Numbers: [22, 88, 27]
Generated Node #0,2: 93:[22, 88, 27] Operation: 44-17=27
Moving to Node #0,2
Current State: 93:[22, 88, 27], Operations: ['44-17=27']
Exploring Operation: 27-22=5, Resulting Numbers: [88, 5]
Generated Node #0,2,0: 93:[88, 5] Operation: 27-22=5
Exploring Operation: 22+88=110, Resulting Numbers: [27, 110]
Generated Node #0,2,1: 93:[27, 110] Operation: 22+88=110
Exploring Operation: 88/22=4, Resulting Numbers: [27, 4]
Generated Node #0,2,2: 93:[27, 4] Operation: 88/22=4
Moving to Node #0,0
Current State: 93:[88, 17, 2], Operations: ['44/22=2']
Exploring Operation: 17*2=34, Resulting Numbers: [88, 34]
Generated Node #0,0,0: 93:[88, 34] Operation: 17*2=34
Exploring Operation: 88+17=105, Resulting Numbers: [2, 105]
Generated Node #0,0,1: 93:[2, 105] Operation: 88+17=105
Exploring Operation: 88+2=90, Resulting Numbers: [17, 90]
Generated Node #0,0,2: 93:[17, 90] Operation: 88+2=90
Moving to Node #0,1
Current State: 93:[44, 88, 5], Operations: ['22-17=5']
Exploring Operation: 88/44=2, Resulting Numbers: [5, 2]
Generated Node #0,1,0: 93:[5, 2] Operation: 88/44=2
Exploring Operation: 44-5=39, Resulting Numbers: [88, 39]
Generated Node #0,1,1: 93:[88, 39] Operation: 44-5=39
Exploring Operation: 88+5=93, Resulting Numbers: [44, 93]
Generated Node #0,1,2: 93:[44, 93] Operation: 88+5=93
Moving to Node #0,1,0
Current State: 93:[5, 2], Operations: ['22-17=5', '88/44=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,93 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[27, 4], Operations: ['44-17=27', '88/22=4']
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,93 unequal: No Solution
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[88, 5], Operations: ['44-17=27', '27-22=5']
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,93 unequal: No Solution
Exploring Operation: 88*5=440, Resulting Numbers: [440]
440,93 unequal: No Solution
Exploring Operation: 88+5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[22, 44, 88, 17], Operations: []
Exploring Operation: 44-17=27, Resulting Numbers: [22, 88, 27]
Generated Node #0,2: 93:[22, 88, 27] Operation: 44-17=27
Moving to Node #0,2
Current State: 93:[22, 88, 27], Operations: ['44-17=27']
Exploring Operation: 27-22=5, Resulting Numbers: [88, 5]
Generated Node #0,2,0: 93:[88, 5] Operation: 27-22=5
Moving to Node #0,2,0
Current State: 93:[88, 5], Operations: ['44-17=27', '27-22=5']
Exploring Operation: 88+5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.978299 | hs_3 | sum_heuristic |
[
57,
49,
53,
72
] | 60 | [
"72-57=15",
"53-49=4",
"15*4=60"
] | Current State: 60:[57, 49, 53, 72], Operations: []
Exploring Operation: 72-57=15, Resulting Numbers: [49, 53, 15]
Generated Node #2: [49, 53, 15] from Operation: 72-57=15
Current State: 60:[49, 53, 15], Operations: ['72-57=15']
Exploring Operation: 53-49=4, Resulting Numbers: [15, 4]
Generated Node #3: [15, 4] from Operation: 53-49=4
Current State: 60:[15, 4], Operations: ['72-57=15', '53-49=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[57, 49, 53, 72], Operations: []
Exploring Operation: 53-49=4, Resulting Numbers: [57, 72, 4]
Generated Node #0,0: 60:[57, 72, 4] Operation: 53-49=4
Exploring Operation: 72-49=23, Resulting Numbers: [57, 53, 23]
Generated Node #0,1: 60:[57, 53, 23] Operation: 72-49=23
Moving to Node #0,1
Current State: 60:[57, 53, 23], Operations: ['72-49=23']
Exploring Operation: 57-53=4, Resulting Numbers: [23, 4]
Generated Node #0,1,0: 60:[23, 4] Operation: 57-53=4
Exploring Operation: 53-23=30, Resulting Numbers: [57, 30]
Generated Node #0,1,1: 60:[57, 30] Operation: 53-23=30
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[23, 4], Operations: ['72-49=23', '57-53=4']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[57, 30], Operations: ['72-49=23', '53-23=30']
Exploring Operation: 57+30=87, Resulting Numbers: [87]
87,60 unequal: No Solution
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 60:[57, 72, 4], Operations: ['53-49=4']
Exploring Operation: 72-57=15, Resulting Numbers: [4, 15]
Generated Node #0,0,0: 60:[4, 15] Operation: 72-57=15
Exploring Operation: 72/4=18, Resulting Numbers: [57, 18]
Generated Node #0,0,1: 60:[57, 18] Operation: 72/4=18
Moving to Node #0,0,0
Current State: 60:[4, 15], Operations: ['53-49=4', '72-57=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[57, 49, 53, 72], Operations: []
Exploring Operation: 53-49=4, Resulting Numbers: [57, 72, 4]
Generated Node #0,0: 60:[57, 72, 4] Operation: 53-49=4
Moving to Node #0,0
Current State: 60:[57, 72, 4], Operations: ['53-49=4']
Exploring Operation: 72-57=15, Resulting Numbers: [4, 15]
Generated Node #0,0,0: 60:[4, 15] Operation: 72-57=15
Moving to Node #0,0,0
Current State: 60:[4, 15], Operations: ['53-49=4', '72-57=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
66,
43,
90,
62
] | 82 | [
"66-62=4",
"43*4=172",
"172-90=82"
] | Current State: 82:[66, 43, 90, 62], Operations: []
Exploring Operation: 66-62=4, Resulting Numbers: [43, 90, 4]
Generated Node #2: [43, 90, 4] from Operation: 66-62=4
Current State: 82:[43, 90, 4], Operations: ['66-62=4']
Exploring Operation: 43*4=172, Resulting Numbers: [90, 172]
Generated Node #3: [90, 172] from Operation: 43*4=172
Current State: 82:[90, 172], Operations: ['66-62=4', '43*4=172']
Exploring Operation: 172-90=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[66, 43, 90, 62], Operations: []
Exploring Operation: 66-62=4, Resulting Numbers: [43, 90, 4]
Generated Node #0,0: 82:[43, 90, 4] Operation: 66-62=4
Exploring Operation: 90-62=28, Resulting Numbers: [66, 43, 28]
Generated Node #0,1: 82:[66, 43, 28] Operation: 90-62=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[43, 90, 4], Operations: ['66-62=4']
Exploring Operation: 90-43=47, Resulting Numbers: [4, 47]
Generated Node #0,0,0: 82:[4, 47] Operation: 90-43=47
Exploring Operation: 90-4=86, Resulting Numbers: [43, 86]
Generated Node #0,0,1: 82:[43, 86] Operation: 90-4=86
Moving to Node #0,0,1
Current State: 82:[43, 86], Operations: ['66-62=4', '90-4=86']
Exploring Operation: 86-43=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 86/43=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[4, 47], Operations: ['66-62=4', '90-43=47']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[66, 43, 28], Operations: ['90-62=28']
Exploring Operation: 66-28=38, Resulting Numbers: [43, 38]
Generated Node #0,1,0: 82:[43, 38] Operation: 66-28=38
Exploring Operation: 66+28=94, Resulting Numbers: [43, 94]
Generated Node #0,1,1: 82:[43, 94] Operation: 66+28=94
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[43, 38], Operations: ['90-62=28', '66-28=38']
Exploring Operation: 43+38=81, Resulting Numbers: [81]
81,82 unequal: No Solution
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[43, 94], Operations: ['90-62=28', '66+28=94']
Exploring Operation: 43+94=137, Resulting Numbers: [137]
137,82 unequal: No Solution
Exploring Operation: 94-43=51, Resulting Numbers: [51]
51,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
15,
71,
53,
4
] | 48 | [
"71+4=75",
"75/15=5",
"53-5=48"
] | Current State: 48:[15, 71, 53, 4], Operations: []
Exploring Operation: 71+4=75, Resulting Numbers: [15, 53, 75]
Generated Node #2: [15, 53, 75] from Operation: 71+4=75
Current State: 48:[15, 53, 75], Operations: ['71+4=75']
Exploring Operation: 75/15=5, Resulting Numbers: [53, 5]
Generated Node #3: [53, 5] from Operation: 75/15=5
Current State: 48:[53, 5], Operations: ['71+4=75', '75/15=5']
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[15, 71, 53, 4], Operations: []
Exploring Operation: 71-15=56, Resulting Numbers: [53, 4, 56]
Generated Node #0,0: 48:[53, 4, 56] Operation: 71-15=56
Exploring Operation: 53-4=49, Resulting Numbers: [15, 71, 49]
Generated Node #0,1: 48:[15, 71, 49] Operation: 53-4=49
Exploring Operation: 71-53=18, Resulting Numbers: [15, 4, 18]
Generated Node #0,2: 48:[15, 4, 18] Operation: 71-53=18
Exploring Operation: 71-4=67, Resulting Numbers: [15, 53, 67]
Generated Node #0,3: 48:[15, 53, 67] Operation: 71-4=67
Exploring Operation: 15-4=11, Resulting Numbers: [71, 53, 11]
Generated Node #0,4: 48:[71, 53, 11] Operation: 15-4=11
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[15, 4, 18], Operations: ['71-53=18']
Exploring Operation: 4+18=22, Resulting Numbers: [15, 22]
Generated Node #0,2,0: 48:[15, 22] Operation: 4+18=22
Exploring Operation: 15-4=11, Resulting Numbers: [18, 11]
Generated Node #0,2,1: 48:[18, 11] Operation: 15-4=11
Exploring Operation: 18-4=14, Resulting Numbers: [15, 14]
Generated Node #0,2,2: 48:[15, 14] Operation: 18-4=14
Exploring Operation: 18-15=3, Resulting Numbers: [4, 3]
Generated Node #0,2,3: 48:[4, 3] Operation: 18-15=3
Exploring Operation: 15+4=19, Resulting Numbers: [18, 19]
Generated Node #0,2,4: 48:[18, 19] Operation: 15+4=19
Moving to Node #0,2,3
Current State: 48:[4, 3], Operations: ['71-53=18', '18-15=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[18, 11], Operations: ['71-53=18', '15-4=11']
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,48 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[15, 22], Operations: ['71-53=18', '4+18=22']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,48 unequal: No Solution
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[15, 14], Operations: ['71-53=18', '18-4=14']
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 15*14=210, Resulting Numbers: [210]
210,48 unequal: No Solution
Exploring Operation: 15+14=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Moving to Node #0,2,4
Current State: 48:[18, 19], Operations: ['71-53=18', '15+4=19']
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,48 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[53, 4, 56], Operations: ['71-15=56']
Exploring Operation: 53+4=57, Resulting Numbers: [56, 57]
Generated Node #0,0,0: 48:[56, 57] Operation: 53+4=57
Exploring Operation: 53-4=49, Resulting Numbers: [56, 49]
Generated Node #0,0,1: 48:[56, 49] Operation: 53-4=49
Exploring Operation: 56-53=3, Resulting Numbers: [4, 3]
Generated Node #0,0,2: 48:[4, 3] Operation: 56-53=3
Exploring Operation: 56-4=52, Resulting Numbers: [53, 52]
Generated Node #0,0,3: 48:[53, 52] Operation: 56-4=52
Exploring Operation: 56/4=14, Resulting Numbers: [53, 14]
Generated Node #0,0,4: 48:[53, 14] Operation: 56/4=14
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 48:[4, 3], Operations: ['71-15=56', '56-53=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 48:[53, 14], Operations: ['71-15=56', '56/4=14']
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 53*14=742, Resulting Numbers: [742]
742,48 unequal: No Solution
Exploring Operation: 53+14=67, Resulting Numbers: [67]
67,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 48:[56, 49], Operations: ['71-15=56', '53-4=49']
Exploring Operation: 56-49=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 56*49=2744, Resulting Numbers: [2744]
2744,48 unequal: No Solution
Exploring Operation: 56+49=105, Resulting Numbers: [105]
105,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 48:[53, 52], Operations: ['71-15=56', '56-4=52']
Exploring Operation: 53*52=2756, Resulting Numbers: [2756]
2756,48 unequal: No Solution
Exploring Operation: 53+52=105, Resulting Numbers: [105]
105,48 unequal: No Solution
Exploring Operation: 53-52=1, Resulting Numbers: [1]
1,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[56, 57], Operations: ['71-15=56', '53+4=57']
Exploring Operation: 56+57=113, Resulting Numbers: [113]
113,48 unequal: No Solution
Exploring Operation: 57-56=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 56*57=3192, Resulting Numbers: [3192]
3192,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[15, 71, 49], Operations: ['53-4=49']
Exploring Operation: 71-15=56, Resulting Numbers: [49, 56]
Generated Node #0,1,0: 48:[49, 56] Operation: 71-15=56
Exploring Operation: 71-49=22, Resulting Numbers: [15, 22]
Generated Node #0,1,1: 48:[15, 22] Operation: 71-49=22
Exploring Operation: 15+71=86, Resulting Numbers: [49, 86]
Generated Node #0,1,2: 48:[49, 86] Operation: 15+71=86
Exploring Operation: 49-15=34, Resulting Numbers: [71, 34]
Generated Node #0,1,3: 48:[71, 34] Operation: 49-15=34
Exploring Operation: 15+49=64, Resulting Numbers: [71, 64]
Generated Node #0,1,4: 48:[71, 64] Operation: 15+49=64
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 48:[15, 22], Operations: ['53-4=49', '71-49=22']
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 48:[49, 56], Operations: ['53-4=49', '71-15=56']
Exploring Operation: 49+56=105, Resulting Numbers: [105]
105,48 unequal: No Solution
Exploring Operation: 56-49=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 49*56=2744, Resulting Numbers: [2744]
2744,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 48:[71, 34], Operations: ['53-4=49', '49-15=34']
Exploring Operation: 71+34=105, Resulting Numbers: [105]
105,48 unequal: No Solution
Exploring Operation: 71-34=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Exploring Operation: 71*34=2414, Resulting Numbers: [2414]
2414,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 48:[49, 86], Operations: ['53-4=49', '15+71=86']
Exploring Operation: 49+86=135, Resulting Numbers: [135]
135,48 unequal: No Solution
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Exploring Operation: 49*86=4214, Resulting Numbers: [4214]
4214,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 48:[71, 64], Operations: ['53-4=49', '15+49=64']
Exploring Operation: 71-64=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 71+64=135, Resulting Numbers: [135]
135,48 unequal: No Solution
Exploring Operation: 71*64=4544, Resulting Numbers: [4544]
4544,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 48:[15, 53, 67], Operations: ['71-4=67']
Exploring Operation: 15+53=68, Resulting Numbers: [67, 68]
Generated Node #0,3,0: 48:[67, 68] Operation: 15+53=68
Exploring Operation: 15+67=82, Resulting Numbers: [53, 82]
Generated Node #0,3,1: 48:[53, 82] Operation: 15+67=82
Exploring Operation: 67-53=14, Resulting Numbers: [15, 14]
Generated Node #0,3,2: 48:[15, 14] Operation: 67-53=14
Exploring Operation: 67-15=52, Resulting Numbers: [53, 52]
Generated Node #0,3,3: 48:[53, 52] Operation: 67-15=52
Exploring Operation: 53-15=38, Resulting Numbers: [67, 38]
Generated Node #0,3,4: 48:[67, 38] Operation: 53-15=38
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 48:[15, 14], Operations: ['71-4=67', '67-53=14']
Exploring Operation: 15+14=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 15*14=210, Resulting Numbers: [210]
210,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 48:[53, 52], Operations: ['71-4=67', '67-15=52']
Exploring Operation: 53-52=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 53*52=2756, Resulting Numbers: [2756]
2756,48 unequal: No Solution
Exploring Operation: 53+52=105, Resulting Numbers: [105]
105,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 48:[67, 38], Operations: ['71-4=67', '53-15=38']
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 67*38=2546, Resulting Numbers: [2546]
2546,48 unequal: No Solution
Exploring Operation: 67+38=105, Resulting Numbers: [105]
105,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 48:[67, 68], Operations: ['71-4=67', '15+53=68']
Exploring Operation: 68-67=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 67*68=4556, Resulting Numbers: [4556]
4556,48 unequal: No Solution
Exploring Operation: 67+68=135, Resulting Numbers: [135]
135,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 48:[53, 82], Operations: ['71-4=67', '15+67=82']
Exploring Operation: 53*82=4346, Resulting Numbers: [4346]
4346,48 unequal: No Solution
Exploring Operation: 82-53=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 53+82=135, Resulting Numbers: [135]
135,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 48:[71, 53, 11], Operations: ['15-4=11']
Exploring Operation: 71-11=60, Resulting Numbers: [53, 60]
Generated Node #0,4,0: 48:[53, 60] Operation: 71-11=60
Exploring Operation: 53+11=64, Resulting Numbers: [71, 64]
Generated Node #0,4,1: 48:[71, 64] Operation: 53+11=64
Exploring Operation: 71-53=18, Resulting Numbers: [11, 18]
Generated Node #0,4,2: 48:[11, 18] Operation: 71-53=18
Exploring Operation: 53-11=42, Resulting Numbers: [71, 42]
Generated Node #0,4,3: 48:[71, 42] Operation: 53-11=42
Exploring Operation: 71+11=82, Resulting Numbers: [53, 82]
Generated Node #0,4,4: 48:[53, 82] Operation: 71+11=82
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 48:[11, 18], Operations: ['15-4=11', '71-53=18']
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,48 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 48:[53, 60], Operations: ['15-4=11', '71-11=60']
Exploring Operation: 53+60=113, Resulting Numbers: [113]
113,48 unequal: No Solution
Exploring Operation: 53*60=3180, Resulting Numbers: [3180]
3180,48 unequal: No Solution
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 48:[71, 42], Operations: ['15-4=11', '53-11=42']
Exploring Operation: 71*42=2982, Resulting Numbers: [2982]
2982,48 unequal: No Solution
Exploring Operation: 71+42=113, Resulting Numbers: [113]
113,48 unequal: No Solution
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 48:[71, 64], Operations: ['15-4=11', '53+11=64']
Exploring Operation: 71*64=4544, Resulting Numbers: [4544]
4544,48 unequal: No Solution
Exploring Operation: 71+64=135, Resulting Numbers: [135]
135,48 unequal: No Solution
Exploring Operation: 71-64=7, Resulting Numbers: [7]
7,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 48:[53, 82], Operations: ['15-4=11', '71+11=82']
Exploring Operation: 82-53=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 53+82=135, Resulting Numbers: [135]
135,48 unequal: No Solution
Exploring Operation: 53*82=4346, Resulting Numbers: [4346]
4346,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
14,
40,
8,
16
] | 23 | [
"14*16=224",
"224-40=184",
"184/8=23"
] | Current State: 23:[14, 40, 8, 16], Operations: []
Exploring Operation: 14*16=224, Resulting Numbers: [40, 8, 224]
Generated Node #2: [40, 8, 224] from Operation: 14*16=224
Current State: 23:[40, 8, 224], Operations: ['14*16=224']
Exploring Operation: 224-40=184, Resulting Numbers: [8, 184]
Generated Node #3: [8, 184] from Operation: 224-40=184
Current State: 23:[8, 184], Operations: ['14*16=224', '224-40=184']
Exploring Operation: 184/8=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[14, 40, 8, 16], Operations: []
Exploring Operation: 40-14=26, Resulting Numbers: [8, 16, 26]
Generated Node #0,0: 23:[8, 16, 26] Operation: 40-14=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[8, 16, 26], Operations: ['40-14=26']
Exploring Operation: 8+16=24, Resulting Numbers: [26, 24]
Generated Node #0,0,0: 23:[26, 24] Operation: 8+16=24
Moving to Node #0,0,0
Current State: 23:[26, 24], Operations: ['40-14=26', '8+16=24']
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
32,
15,
58,
87
] | 46 | [
"32-15=17",
"87-58=29",
"17+29=46"
] | Current State: 46:[32, 15, 58, 87], Operations: []
Exploring Operation: 32-15=17, Resulting Numbers: [58, 87, 17]
Generated Node #2: [58, 87, 17] from Operation: 32-15=17
Current State: 46:[58, 87, 17], Operations: ['32-15=17']
Exploring Operation: 87-58=29, Resulting Numbers: [17, 29]
Generated Node #3: [17, 29] from Operation: 87-58=29
Current State: 46:[17, 29], Operations: ['32-15=17', '87-58=29']
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[32, 15, 58, 87], Operations: []
Exploring Operation: 87-32=55, Resulting Numbers: [15, 58, 55]
Generated Node #0,0: 46:[15, 58, 55] Operation: 87-32=55
Exploring Operation: 87-58=29, Resulting Numbers: [32, 15, 29]
Generated Node #0,1: 46:[32, 15, 29] Operation: 87-58=29
Moving to Node #0,1
Current State: 46:[32, 15, 29], Operations: ['87-58=29']
Exploring Operation: 32+15=47, Resulting Numbers: [29, 47]
Generated Node #0,1,0: 46:[29, 47] Operation: 32+15=47
Exploring Operation: 32-29=3, Resulting Numbers: [15, 3]
Generated Node #0,1,1: 46:[15, 3] Operation: 32-29=3
Moving to Node #0,0
Current State: 46:[15, 58, 55], Operations: ['87-32=55']
Exploring Operation: 58-15=43, Resulting Numbers: [55, 43]
Generated Node #0,0,0: 46:[55, 43] Operation: 58-15=43
Exploring Operation: 58-55=3, Resulting Numbers: [15, 3]
Generated Node #0,0,1: 46:[15, 3] Operation: 58-55=3
Moving to Node #0,1,0
Current State: 46:[29, 47], Operations: ['87-58=29', '32+15=47']
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[15, 3], Operations: ['87-32=55', '58-55=3']
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[15, 3], Operations: ['87-58=29', '32-29=3']
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[55, 43], Operations: ['87-32=55', '58-15=43']
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,46 unequal: No Solution
Exploring Operation: 55+43=98, Resulting Numbers: [98]
98,46 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
91,
26,
56,
83
] | 19 | [
"91-83=8",
"56/8=7",
"26-7=19"
] | Current State: 19:[91, 26, 56, 83], Operations: []
Exploring Operation: 91-83=8, Resulting Numbers: [26, 56, 8]
Generated Node #2: [26, 56, 8] from Operation: 91-83=8
Current State: 19:[26, 56, 8], Operations: ['91-83=8']
Exploring Operation: 56/8=7, Resulting Numbers: [26, 7]
Generated Node #3: [26, 7] from Operation: 56/8=7
Current State: 19:[26, 7], Operations: ['91-83=8', '56/8=7']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[91, 26, 56, 83], Operations: []
Exploring Operation: 91-83=8, Resulting Numbers: [26, 56, 8]
Generated Node #0,0: 19:[26, 56, 8] Operation: 91-83=8
Exploring Operation: 91-56=35, Resulting Numbers: [26, 83, 35]
Generated Node #0,1: 19:[26, 83, 35] Operation: 91-56=35
Exploring Operation: 83-56=27, Resulting Numbers: [91, 26, 27]
Generated Node #0,2: 19:[91, 26, 27] Operation: 83-56=27
Moving to Node #0,0
Current State: 19:[26, 56, 8], Operations: ['91-83=8']
Exploring Operation: 56-26=30, Resulting Numbers: [8, 30]
Generated Node #0,0,0: 19:[8, 30] Operation: 56-26=30
Exploring Operation: 56-8=48, Resulting Numbers: [26, 48]
Generated Node #0,0,1: 19:[26, 48] Operation: 56-8=48
Exploring Operation: 56/8=7, Resulting Numbers: [26, 7]
Generated Node #0,0,2: 19:[26, 7] Operation: 56/8=7
Moving to Node #0,1
Current State: 19:[26, 83, 35], Operations: ['91-56=35']
Exploring Operation: 83-26=57, Resulting Numbers: [35, 57]
Generated Node #0,1,0: 19:[35, 57] Operation: 83-26=57
Exploring Operation: 35-26=9, Resulting Numbers: [83, 9]
Generated Node #0,1,1: 19:[83, 9] Operation: 35-26=9
Exploring Operation: 83-35=48, Resulting Numbers: [26, 48]
Generated Node #0,1,2: 19:[26, 48] Operation: 83-35=48
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 19:[26, 48], Operations: ['91-56=35', '83-35=48']
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 26*48=1248, Resulting Numbers: [1248]
1248,19 unequal: No Solution
Exploring Operation: 26+48=74, Resulting Numbers: [74]
74,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[35, 57], Operations: ['91-56=35', '83-26=57']
Exploring Operation: 35*57=1995, Resulting Numbers: [1995]
1995,19 unequal: No Solution
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 35+57=92, Resulting Numbers: [92]
92,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[83, 9], Operations: ['91-56=35', '35-26=9']
Exploring Operation: 83+9=92, Resulting Numbers: [92]
92,19 unequal: No Solution
Exploring Operation: 83-9=74, Resulting Numbers: [74]
74,19 unequal: No Solution
Exploring Operation: 83*9=747, Resulting Numbers: [747]
747,19 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: 19:[91, 26, 27], Operations: ['83-56=27']
Exploring Operation: 91-26=65, Resulting Numbers: [27, 65]
Generated Node #0,2,0: 19:[27, 65] Operation: 91-26=65
Exploring Operation: 27-26=1, Resulting Numbers: [91, 1]
Generated Node #0,2,1: 19:[91, 1] Operation: 27-26=1
Exploring Operation: 91-27=64, Resulting Numbers: [26, 64]
Generated Node #0,2,2: 19:[26, 64] Operation: 91-27=64
Moving to Node #0,0,2
Current State: 19:[26, 7], Operations: ['91-83=8', '56/8=7']
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,19 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[91, 26, 56, 83], Operations: []
Exploring Operation: 91-83=8, Resulting Numbers: [26, 56, 8]
Generated Node #0,0: 19:[26, 56, 8] Operation: 91-83=8
Moving to Node #0,0
Current State: 19:[26, 56, 8], Operations: ['91-83=8']
Exploring Operation: 56/8=7, Resulting Numbers: [26, 7]
Generated Node #0,0,2: 19:[26, 7] Operation: 56/8=7
Moving to Node #0,0,2
Current State: 19:[26, 7], Operations: ['91-83=8', '56/8=7']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 0.976563 | hs_3 | sum_heuristic |
[
24,
11,
45,
19
] | 100 | [
"24-19=5",
"11*5=55",
"45+55=100"
] | Current State: 100:[24, 11, 45, 19], Operations: []
Exploring Operation: 24-19=5, Resulting Numbers: [11, 45, 5]
Generated Node #2: [11, 45, 5] from Operation: 24-19=5
Current State: 100:[11, 45, 5], Operations: ['24-19=5']
Exploring Operation: 11*5=55, Resulting Numbers: [45, 55]
Generated Node #3: [45, 55] from Operation: 11*5=55
Current State: 100:[45, 55], Operations: ['24-19=5', '11*5=55']
Exploring Operation: 45+55=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[24, 11, 45, 19], Operations: []
Exploring Operation: 45-19=26, Resulting Numbers: [24, 11, 26]
Generated Node #0,0: 100:[24, 11, 26] Operation: 45-19=26
Exploring Operation: 45-24=21, Resulting Numbers: [11, 19, 21]
Generated Node #0,1: 100:[11, 19, 21] Operation: 45-24=21
Moving to Node #0,0
Current State: 100:[24, 11, 26], Operations: ['45-19=26']
Exploring Operation: 26-24=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 100:[11, 2] Operation: 26-24=2
Exploring Operation: 24+26=50, Resulting Numbers: [11, 50]
Generated Node #0,0,1: 100:[11, 50] Operation: 24+26=50
Moving to Node #0,1
Current State: 100:[11, 19, 21], Operations: ['45-24=21']
Exploring Operation: 21-11=10, Resulting Numbers: [19, 10]
Generated Node #0,1,0: 100:[19, 10] Operation: 21-11=10
Exploring Operation: 21-19=2, Resulting Numbers: [11, 2]
Generated Node #0,1,1: 100:[11, 2] Operation: 21-19=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[19, 10], Operations: ['45-24=21', '21-11=10']
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[11, 2], Operations: ['45-24=21', '21-19=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,100 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: 100:[11, 2], Operations: ['45-19=26', '26-24=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[11, 50], Operations: ['45-19=26', '24+26=50']
Exploring Operation: 11+50=61, Resulting Numbers: [61]
61,100 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,100 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
15,
21,
46,
21
] | 46 | [
"21-21=0",
"15*0=0",
"46+0=46"
] | Current State: 46:[15, 21, 46, 21], Operations: []
Exploring Operation: 21-21=0, Resulting Numbers: [15, 46, 0]
Generated Node #2: [15, 46, 0] from Operation: 21-21=0
Current State: 46:[15, 46, 0], Operations: ['21-21=0']
Exploring Operation: 15*0=0, Resulting Numbers: [46, 0]
Generated Node #3: [46, 0] from Operation: 15*0=0
Current State: 46:[46, 0], Operations: ['21-21=0', '15*0=0']
Exploring Operation: 46+0=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[15, 21, 46, 21], Operations: []
Exploring Operation: 21-15=6, Resulting Numbers: [46, 21, 6]
Generated Node #0,0: 46:[46, 21, 6] Operation: 21-15=6
Exploring Operation: 21-15=6, Resulting Numbers: [21, 46, 6]
Generated Node #0,1: 46:[21, 46, 6] Operation: 21-15=6
Moving to Node #0,0
Current State: 46:[46, 21, 6], Operations: ['21-15=6']
Exploring Operation: 46-21=25, Resulting Numbers: [6, 25]
Generated Node #0,0,0: 46:[6, 25] Operation: 46-21=25
Exploring Operation: 21+6=27, Resulting Numbers: [46, 27]
Generated Node #0,0,1: 46:[46, 27] Operation: 21+6=27
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[46, 27], Operations: ['21-15=6', '21+6=27']
Exploring Operation: 46+27=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[6, 25], Operations: ['21-15=6', '46-21=25']
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,46 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: 46:[21, 46, 6], Operations: ['21-15=6']
Exploring Operation: 21+6=27, Resulting Numbers: [46, 27]
Generated Node #0,1,0: 46:[46, 27] Operation: 21+6=27
Exploring Operation: 46-21=25, Resulting Numbers: [6, 25]
Generated Node #0,1,1: 46:[6, 25] Operation: 46-21=25
Moving to Node #0,1,0
Current State: 46:[46, 27], Operations: ['21-15=6', '21+6=27']
Exploring Operation: 46+27=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[6, 25], Operations: ['21-15=6', '46-21=25']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,46 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
79,
5,
27,
6
] | 44 | [
"79+6=85",
"85/5=17",
"27+17=44"
] | Current State: 44:[79, 5, 27, 6], Operations: []
Exploring Operation: 79+6=85, Resulting Numbers: [5, 27, 85]
Generated Node #2: [5, 27, 85] from Operation: 79+6=85
Current State: 44:[5, 27, 85], Operations: ['79+6=85']
Exploring Operation: 85/5=17, Resulting Numbers: [27, 17]
Generated Node #3: [27, 17] from Operation: 85/5=17
Current State: 44:[27, 17], Operations: ['79+6=85', '85/5=17']
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[79, 5, 27, 6], Operations: []
Exploring Operation: 79-27=52, Resulting Numbers: [5, 6, 52]
Generated Node #0,0: 44:[5, 6, 52] Operation: 79-27=52
Exploring Operation: 79-5=74, Resulting Numbers: [27, 6, 74]
Generated Node #0,1: 44:[27, 6, 74] Operation: 79-5=74
Exploring Operation: 79-6=73, Resulting Numbers: [5, 27, 73]
Generated Node #0,2: 44:[5, 27, 73] Operation: 79-6=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[5, 6, 52], Operations: ['79-27=52']
Exploring Operation: 52-5=47, Resulting Numbers: [6, 47]
Generated Node #0,0,0: 44:[6, 47] Operation: 52-5=47
Exploring Operation: 5+6=11, Resulting Numbers: [52, 11]
Generated Node #0,0,1: 44:[52, 11] Operation: 5+6=11
Exploring Operation: 52-6=46, Resulting Numbers: [5, 46]
Generated Node #0,0,2: 44:[5, 46] Operation: 52-6=46
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 44:[5, 46], Operations: ['79-27=52', '52-6=46']
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,44 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,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:[6, 47], Operations: ['79-27=52', '52-5=47']
Exploring Operation: 6*47=282, Resulting Numbers: [282]
282,44 unequal: No Solution
Exploring Operation: 6+47=53, Resulting Numbers: [53]
53,44 unequal: No Solution
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,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:[52, 11], Operations: ['79-27=52', '5+6=11']
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,44 unequal: No Solution
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,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:[5, 27, 73], Operations: ['79-6=73']
Exploring Operation: 73-27=46, Resulting Numbers: [5, 46]
Generated Node #0,2,0: 44:[5, 46] Operation: 73-27=46
Exploring Operation: 27-5=22, Resulting Numbers: [73, 22]
Generated Node #0,2,1: 44:[73, 22] Operation: 27-5=22
Exploring Operation: 73-5=68, Resulting Numbers: [27, 68]
Generated Node #0,2,2: 44:[27, 68] Operation: 73-5=68
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 44:[5, 46], Operations: ['79-6=73', '73-27=46']
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,44 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,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,2,1
Current State: 44:[73, 22], Operations: ['79-6=73', '27-5=22']
Exploring Operation: 73*22=1606, Resulting Numbers: [1606]
1606,44 unequal: No Solution
Exploring Operation: 73+22=95, Resulting Numbers: [95]
95,44 unequal: No Solution
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,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,2,2
Current State: 44:[27, 68], Operations: ['79-6=73', '73-5=68']
Exploring Operation: 27+68=95, Resulting Numbers: [95]
95,44 unequal: No Solution
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 27*68=1836, Resulting Numbers: [1836]
1836,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,1
Current State: 44:[27, 6, 74], Operations: ['79-5=74']
Exploring Operation: 27-6=21, Resulting Numbers: [74, 21]
Generated Node #0,1,0: 44:[74, 21] Operation: 27-6=21
Exploring Operation: 74-6=68, Resulting Numbers: [27, 68]
Generated Node #0,1,1: 44:[27, 68] Operation: 74-6=68
Exploring Operation: 74-27=47, Resulting Numbers: [6, 47]
Generated Node #0,1,2: 44:[6, 47] Operation: 74-27=47
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 44:[6, 47], Operations: ['79-5=74', '74-27=47']
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 6*47=282, Resulting Numbers: [282]
282,44 unequal: No Solution
Exploring Operation: 6+47=53, Resulting Numbers: [53]
53,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:[27, 68], Operations: ['79-5=74', '74-6=68']
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 27*68=1836, Resulting Numbers: [1836]
1836,44 unequal: No Solution
Exploring Operation: 27+68=95, Resulting Numbers: [95]
95,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:[74, 21], Operations: ['79-5=74', '27-6=21']
Exploring Operation: 74+21=95, Resulting Numbers: [95]
95,44 unequal: No Solution
Exploring Operation: 74*21=1554, Resulting Numbers: [1554]
1554,44 unequal: No Solution
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,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
No solution found.
| 0 | hs_3 | sum_heuristic |
[
32,
94,
50,
23
] | 53 | [
"32+94=126",
"50+23=73",
"126-73=53"
] | Current State: 53:[32, 94, 50, 23], Operations: []
Exploring Operation: 32+94=126, Resulting Numbers: [50, 23, 126]
Generated Node #2: [50, 23, 126] from Operation: 32+94=126
Current State: 53:[50, 23, 126], Operations: ['32+94=126']
Exploring Operation: 50+23=73, Resulting Numbers: [126, 73]
Generated Node #3: [126, 73] from Operation: 50+23=73
Current State: 53:[126, 73], Operations: ['32+94=126', '50+23=73']
Exploring Operation: 126-73=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[32, 94, 50, 23], Operations: []
Exploring Operation: 94-23=71, Resulting Numbers: [32, 50, 71]
Generated Node #0,0: 53:[32, 50, 71] Operation: 94-23=71
Exploring Operation: 32+23=55, Resulting Numbers: [94, 50, 55]
Generated Node #0,1: 53:[94, 50, 55] Operation: 32+23=55
Exploring Operation: 94-32=62, Resulting Numbers: [50, 23, 62]
Generated Node #0,2: 53:[50, 23, 62] Operation: 94-32=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[32, 50, 71], Operations: ['94-23=71']
Exploring Operation: 71-32=39, Resulting Numbers: [50, 39]
Generated Node #0,0,0: 53:[50, 39] Operation: 71-32=39
Exploring Operation: 50-32=18, Resulting Numbers: [71, 18]
Generated Node #0,0,1: 53:[71, 18] Operation: 50-32=18
Exploring Operation: 32+50=82, Resulting Numbers: [71, 82]
Generated Node #0,0,2: 53:[71, 82] Operation: 32+50=82
Moving to Node #0,0,0
Current State: 53:[50, 39], Operations: ['94-23=71', '71-32=39']
Exploring Operation: 50+39=89, Resulting Numbers: [89]
89,53 unequal: No Solution
Exploring Operation: 50*39=1950, Resulting Numbers: [1950]
1950,53 unequal: No Solution
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[71, 82], Operations: ['94-23=71', '32+50=82']
Exploring Operation: 71*82=5822, Resulting Numbers: [5822]
5822,53 unequal: No Solution
Exploring Operation: 71+82=153, Resulting Numbers: [153]
153,53 unequal: No Solution
Exploring Operation: 82-71=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[71, 18], Operations: ['94-23=71', '50-32=18']
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[32, 94, 50, 23], Operations: []
Exploring Operation: 94-23=71, Resulting Numbers: [32, 50, 71]
Generated Node #0,0: 53:[32, 50, 71] Operation: 94-23=71
Moving to Node #0,0
Current State: 53:[32, 50, 71], Operations: ['94-23=71']
Exploring Operation: 50-32=18, Resulting Numbers: [71, 18]
Generated Node #0,0,1: 53:[71, 18] Operation: 50-32=18
Moving to Node #0,0,1
Current State: 53:[71, 18], Operations: ['94-23=71', '50-32=18']
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
51,
88,
84,
7
] | 82 | [
"51-7=44",
"88/44=2",
"84-2=82"
] | Current State: 82:[51, 88, 84, 7], Operations: []
Exploring Operation: 51-7=44, Resulting Numbers: [88, 84, 44]
Generated Node #2: [88, 84, 44] from Operation: 51-7=44
Current State: 82:[88, 84, 44], Operations: ['51-7=44']
Exploring Operation: 88/44=2, Resulting Numbers: [84, 2]
Generated Node #3: [84, 2] from Operation: 88/44=2
Current State: 82:[84, 2], Operations: ['51-7=44', '88/44=2']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[51, 88, 84, 7], Operations: []
Exploring Operation: 88-51=37, Resulting Numbers: [84, 7, 37]
Generated Node #0,0: 82:[84, 7, 37] Operation: 88-51=37
Exploring Operation: 88-7=81, Resulting Numbers: [51, 84, 81]
Generated Node #0,1: 82:[51, 84, 81] Operation: 88-7=81
Exploring Operation: 51-7=44, Resulting Numbers: [88, 84, 44]
Generated Node #0,2: 82:[88, 84, 44] Operation: 51-7=44
Moving to Node #0,0
Current State: 82:[84, 7, 37], Operations: ['88-51=37']
Exploring Operation: 84-37=47, Resulting Numbers: [7, 47]
Generated Node #0,0,0: 82:[7, 47] Operation: 84-37=47
Exploring Operation: 7+37=44, Resulting Numbers: [84, 44]
Generated Node #0,0,1: 82:[84, 44] Operation: 7+37=44
Exploring Operation: 84-7=77, Resulting Numbers: [37, 77]
Generated Node #0,0,2: 82:[37, 77] Operation: 84-7=77
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 82:[84, 44], Operations: ['88-51=37', '7+37=44']
Exploring Operation: 84-44=40, Resulting Numbers: [40]
40,82 unequal: No Solution
Exploring Operation: 84*44=3696, Resulting Numbers: [3696]
3696,82 unequal: No Solution
Exploring Operation: 84+44=128, Resulting Numbers: [128]
128,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 82:[37, 77], Operations: ['88-51=37', '84-7=77']
Exploring Operation: 37*77=2849, Resulting Numbers: [2849]
2849,82 unequal: No Solution
Exploring Operation: 37+77=114, Resulting Numbers: [114]
114,82 unequal: No Solution
Exploring Operation: 77-37=40, Resulting Numbers: [40]
40,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[7, 47], Operations: ['88-51=37', '84-37=47']
Exploring Operation: 7*47=329, Resulting Numbers: [329]
329,82 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,82 unequal: No Solution
Exploring Operation: 7+47=54, Resulting Numbers: [54]
54,82 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: 82:[88, 84, 44], Operations: ['51-7=44']
Exploring Operation: 88-44=44, Resulting Numbers: [84, 44]
Generated Node #0,2,0: 82:[84, 44] Operation: 88-44=44
Exploring Operation: 88/44=2, Resulting Numbers: [84, 2]
Generated Node #0,2,1: 82:[84, 2] Operation: 88/44=2
Exploring Operation: 88-84=4, Resulting Numbers: [44, 4]
Generated Node #0,2,2: 82:[44, 4] Operation: 88-84=4
Moving to Node #0,1
Current State: 82:[51, 84, 81], Operations: ['88-7=81']
Exploring Operation: 84-81=3, Resulting Numbers: [51, 3]
Generated Node #0,1,0: 82:[51, 3] Operation: 84-81=3
Exploring Operation: 84-51=33, Resulting Numbers: [81, 33]
Generated Node #0,1,1: 82:[81, 33] Operation: 84-51=33
Exploring Operation: 81-51=30, Resulting Numbers: [84, 30]
Generated Node #0,1,2: 82:[84, 30] Operation: 81-51=30
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 82:[81, 33], Operations: ['88-7=81', '84-51=33']
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,82 unequal: No Solution
Exploring Operation: 81+33=114, Resulting Numbers: [114]
114,82 unequal: No Solution
Exploring Operation: 81*33=2673, Resulting Numbers: [2673]
2673,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[51, 3], Operations: ['88-7=81', '84-81=3']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,82 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 82:[84, 30], Operations: ['88-7=81', '81-51=30']
Exploring Operation: 84-30=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 84+30=114, Resulting Numbers: [114]
114,82 unequal: No Solution
Exploring Operation: 84*30=2520, Resulting Numbers: [2520]
2520,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 82:[84, 2], Operations: ['51-7=44', '88/44=2']
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,82 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[51, 88, 84, 7], Operations: []
Exploring Operation: 51-7=44, Resulting Numbers: [88, 84, 44]
Generated Node #0,2: 82:[88, 84, 44] Operation: 51-7=44
Moving to Node #0,2
Current State: 82:[88, 84, 44], Operations: ['51-7=44']
Exploring Operation: 88/44=2, Resulting Numbers: [84, 2]
Generated Node #0,2,1: 82:[84, 2] Operation: 88/44=2
Moving to Node #0,2,1
Current State: 82:[84, 2], Operations: ['51-7=44', '88/44=2']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.96875 | hs_3 | mult_heuristic |
[
33,
66,
52,
75
] | 76 | [
"33+66=99",
"75-52=23",
"99-23=76"
] | Current State: 76:[33, 66, 52, 75], Operations: []
Exploring Operation: 33+66=99, Resulting Numbers: [52, 75, 99]
Generated Node #2: [52, 75, 99] from Operation: 33+66=99
Current State: 76:[52, 75, 99], Operations: ['33+66=99']
Exploring Operation: 75-52=23, Resulting Numbers: [99, 23]
Generated Node #3: [99, 23] from Operation: 75-52=23
Current State: 76:[99, 23], Operations: ['33+66=99', '75-52=23']
Exploring Operation: 99-23=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[33, 66, 52, 75], Operations: []
Exploring Operation: 52-33=19, Resulting Numbers: [66, 75, 19]
Generated Node #0,0: 76:[66, 75, 19] Operation: 52-33=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[66, 75, 19], Operations: ['52-33=19']
Exploring Operation: 75-66=9, Resulting Numbers: [19, 9]
Generated Node #0,0,0: 76:[19, 9] Operation: 75-66=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[19, 9], Operations: ['52-33=19', '75-66=9']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
87,
8,
80,
79
] | 94 | [
"87+8=95",
"80-79=1",
"95-1=94"
] | Current State: 94:[87, 8, 80, 79], Operations: []
Exploring Operation: 87+8=95, Resulting Numbers: [80, 79, 95]
Generated Node #2: [80, 79, 95] from Operation: 87+8=95
Current State: 94:[80, 79, 95], Operations: ['87+8=95']
Exploring Operation: 80-79=1, Resulting Numbers: [95, 1]
Generated Node #3: [95, 1] from Operation: 80-79=1
Current State: 94:[95, 1], Operations: ['87+8=95', '80-79=1']
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[87, 8, 80, 79], Operations: []
Exploring Operation: 8+80=88, Resulting Numbers: [87, 79, 88]
Generated Node #0,0: 94:[87, 79, 88] Operation: 8+80=88
Exploring Operation: 80-79=1, Resulting Numbers: [87, 8, 1]
Generated Node #0,1: 94:[87, 8, 1] Operation: 80-79=1
Exploring Operation: 87-80=7, Resulting Numbers: [8, 79, 7]
Generated Node #0,2: 94:[8, 79, 7] Operation: 87-80=7
Exploring Operation: 87-79=8, Resulting Numbers: [8, 80, 8]
Generated Node #0,3: 94:[8, 80, 8] Operation: 87-79=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[87, 8, 1], Operations: ['80-79=1']
Exploring Operation: 8-1=7, Resulting Numbers: [87, 7]
Generated Node #0,1,0: 94:[87, 7] Operation: 8-1=7
Exploring Operation: 87+8=95, Resulting Numbers: [1, 95]
Generated Node #0,1,1: 94:[1, 95] Operation: 87+8=95
Exploring Operation: 87+1=88, Resulting Numbers: [8, 88]
Generated Node #0,1,2: 94:[8, 88] Operation: 87+1=88
Exploring Operation: 87*1=87, Resulting Numbers: [8, 87]
Generated Node #0,1,3: 94:[8, 87] Operation: 87*1=87
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[1, 95], Operations: ['80-79=1', '87+8=95']
Exploring Operation: 1+95=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 1*95=95, Resulting Numbers: [95]
95,94 unequal: No Solution
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[87, 8, 80, 79], Operations: []
Exploring Operation: 80-79=1, Resulting Numbers: [87, 8, 1]
Generated Node #0,1: 94:[87, 8, 1] Operation: 80-79=1
Moving to Node #0,1
Current State: 94:[87, 8, 1], Operations: ['80-79=1']
Exploring Operation: 87+8=95, Resulting Numbers: [1, 95]
Generated Node #0,1,1: 94:[1, 95] Operation: 87+8=95
Moving to Node #0,1,1
Current State: 94:[1, 95], Operations: ['80-79=1', '87+8=95']
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
16,
66,
58,
86
] | 22 | [
"66-16=50",
"86-58=28",
"50-28=22"
] | Current State: 22:[16, 66, 58, 86], Operations: []
Exploring Operation: 66-16=50, Resulting Numbers: [58, 86, 50]
Generated Node #2: [58, 86, 50] from Operation: 66-16=50
Current State: 22:[58, 86, 50], Operations: ['66-16=50']
Exploring Operation: 86-58=28, Resulting Numbers: [50, 28]
Generated Node #3: [50, 28] from Operation: 86-58=28
Current State: 22:[50, 28], Operations: ['66-16=50', '86-58=28']
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[16, 66, 58, 86], Operations: []
Exploring Operation: 66-16=50, Resulting Numbers: [58, 86, 50]
Generated Node #0,0: 22:[58, 86, 50] Operation: 66-16=50
Exploring Operation: 86-66=20, Resulting Numbers: [16, 58, 20]
Generated Node #0,1: 22:[16, 58, 20] Operation: 86-66=20
Exploring Operation: 86-58=28, Resulting Numbers: [16, 66, 28]
Generated Node #0,2: 22:[16, 66, 28] Operation: 86-58=28
Exploring Operation: 66-58=8, Resulting Numbers: [16, 86, 8]
Generated Node #0,3: 22:[16, 86, 8] Operation: 66-58=8
Exploring Operation: 58-16=42, Resulting Numbers: [66, 86, 42]
Generated Node #0,4: 22:[66, 86, 42] Operation: 58-16=42
Moving to Node #0,1
Current State: 22:[16, 58, 20], Operations: ['86-66=20']
Exploring Operation: 16+58=74, Resulting Numbers: [20, 74]
Generated Node #0,1,0: 22:[20, 74] Operation: 16+58=74
Exploring Operation: 16+20=36, Resulting Numbers: [58, 36]
Generated Node #0,1,1: 22:[58, 36] Operation: 16+20=36
Exploring Operation: 58-20=38, Resulting Numbers: [16, 38]
Generated Node #0,1,2: 22:[16, 38] Operation: 58-20=38
Exploring Operation: 20-16=4, Resulting Numbers: [58, 4]
Generated Node #0,1,3: 22:[58, 4] Operation: 20-16=4
Exploring Operation: 58-16=42, Resulting Numbers: [20, 42]
Generated Node #0,1,4: 22:[20, 42] Operation: 58-16=42
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 22:[16, 38], Operations: ['86-66=20', '58-20=38']
Exploring Operation: 16*38=608, Resulting Numbers: [608]
608,22 unequal: No Solution
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[16, 66, 58, 86], Operations: []
Exploring Operation: 86-66=20, Resulting Numbers: [16, 58, 20]
Generated Node #0,1: 22:[16, 58, 20] Operation: 86-66=20
Moving to Node #0,1
Current State: 22:[16, 58, 20], Operations: ['86-66=20']
Exploring Operation: 58-20=38, Resulting Numbers: [16, 38]
Generated Node #0,1,2: 22:[16, 38] Operation: 58-20=38
Moving to Node #0,1,2
Current State: 22:[16, 38], Operations: ['86-66=20', '58-20=38']
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
26,
3,
12,
49
] | 39 | [
"26+49=75",
"3*12=36",
"75-36=39"
] | Current State: 39:[26, 3, 12, 49], Operations: []
Exploring Operation: 26+49=75, Resulting Numbers: [3, 12, 75]
Generated Node #2: [3, 12, 75] from Operation: 26+49=75
Current State: 39:[3, 12, 75], Operations: ['26+49=75']
Exploring Operation: 3*12=36, Resulting Numbers: [75, 36]
Generated Node #3: [75, 36] from Operation: 3*12=36
Current State: 39:[75, 36], Operations: ['26+49=75', '3*12=36']
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[26, 3, 12, 49], Operations: []
Exploring Operation: 49-26=23, Resulting Numbers: [3, 12, 23]
Generated Node #0,0: 39:[3, 12, 23] Operation: 49-26=23
Exploring Operation: 26+12=38, Resulting Numbers: [3, 49, 38]
Generated Node #0,1: 39:[3, 49, 38] Operation: 26+12=38
Exploring Operation: 26-12=14, Resulting Numbers: [3, 49, 14]
Generated Node #0,2: 39:[3, 49, 14] Operation: 26-12=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[3, 12, 23], Operations: ['49-26=23']
Exploring Operation: 12+23=35, Resulting Numbers: [3, 35]
Generated Node #0,0,0: 39:[3, 35] Operation: 12+23=35
Exploring Operation: 23-12=11, Resulting Numbers: [3, 11]
Generated Node #0,0,1: 39:[3, 11] Operation: 23-12=11
Exploring Operation: 23-3=20, Resulting Numbers: [12, 20]
Generated Node #0,0,2: 39:[12, 20] Operation: 23-3=20
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 39:[3, 11], Operations: ['49-26=23', '23-12=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,39 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[3, 35], Operations: ['49-26=23', '12+23=35']
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,39 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 39:[12, 20], Operations: ['49-26=23', '23-3=20']
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 12*20=240, Resulting Numbers: [240]
240,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:[3, 49, 38], Operations: ['26+12=38']
Exploring Operation: 3+38=41, Resulting Numbers: [49, 41]
Generated Node #0,1,0: 39:[49, 41] Operation: 3+38=41
Exploring Operation: 49-3=46, Resulting Numbers: [38, 46]
Generated Node #0,1,1: 39:[38, 46] Operation: 49-3=46
Exploring Operation: 49-38=11, Resulting Numbers: [3, 11]
Generated Node #0,1,2: 39:[3, 11] Operation: 49-38=11
Moving to Node #0,1,2
Current State: 39:[3, 11], Operations: ['26+12=38', '49-38=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[38, 46], Operations: ['26+12=38', '49-3=46']
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 38*46=1748, Resulting Numbers: [1748]
1748,39 unequal: No Solution
Exploring Operation: 38+46=84, Resulting Numbers: [84]
84,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[49, 41], Operations: ['26+12=38', '3+38=41']
Exploring Operation: 49+41=90, Resulting Numbers: [90]
90,39 unequal: No Solution
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 49*41=2009, Resulting Numbers: [2009]
2009,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:[3, 49, 14], Operations: ['26-12=14']
Exploring Operation: 49-3=46, Resulting Numbers: [14, 46]
Generated Node #0,2,0: 39:[14, 46] Operation: 49-3=46
Exploring Operation: 14-3=11, Resulting Numbers: [49, 11]
Generated Node #0,2,1: 39:[49, 11] Operation: 14-3=11
Exploring Operation: 49-14=35, Resulting Numbers: [3, 35]
Generated Node #0,2,2: 39:[3, 35] Operation: 49-14=35
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 39:[3, 35], Operations: ['26-12=14', '49-14=35']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,39 unequal: No Solution
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,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:[14, 46], Operations: ['26-12=14', '49-3=46']
Exploring Operation: 14*46=644, Resulting Numbers: [644]
644,39 unequal: No Solution
Exploring Operation: 14+46=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,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:[49, 11], Operations: ['26-12=14', '14-3=11']
Exploring Operation: 49+11=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 49*11=539, Resulting Numbers: [539]
539,39 unequal: No Solution
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,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_3 | mult_heuristic |
[
14,
43,
47,
75
] | 85 | [
"14+43=57",
"75-47=28",
"57+28=85"
] | Current State: 85:[14, 43, 47, 75], Operations: []
Exploring Operation: 14+43=57, Resulting Numbers: [47, 75, 57]
Generated Node #2: [47, 75, 57] from Operation: 14+43=57
Current State: 85:[47, 75, 57], Operations: ['14+43=57']
Exploring Operation: 75-47=28, Resulting Numbers: [57, 28]
Generated Node #3: [57, 28] from Operation: 75-47=28
Current State: 85:[57, 28], Operations: ['14+43=57', '75-47=28']
Exploring Operation: 57+28=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[14, 43, 47, 75], Operations: []
Exploring Operation: 43+47=90, Resulting Numbers: [14, 75, 90]
Generated Node #0,0: 85:[14, 75, 90] Operation: 43+47=90
Exploring Operation: 47-43=4, Resulting Numbers: [14, 75, 4]
Generated Node #0,1: 85:[14, 75, 4] Operation: 47-43=4
Exploring Operation: 75-43=32, Resulting Numbers: [14, 47, 32]
Generated Node #0,2: 85:[14, 47, 32] Operation: 75-43=32
Exploring Operation: 75-47=28, Resulting Numbers: [14, 43, 28]
Generated Node #0,3: 85:[14, 43, 28] Operation: 75-47=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[14, 75, 4], Operations: ['47-43=4']
Exploring Operation: 14-4=10, Resulting Numbers: [75, 10]
Generated Node #0,1,0: 85:[75, 10] Operation: 14-4=10
Exploring Operation: 14+4=18, Resulting Numbers: [75, 18]
Generated Node #0,1,1: 85:[75, 18] Operation: 14+4=18
Exploring Operation: 75+4=79, Resulting Numbers: [14, 79]
Generated Node #0,1,2: 85:[14, 79] Operation: 75+4=79
Exploring Operation: 14+75=89, Resulting Numbers: [4, 89]
Generated Node #0,1,3: 85:[4, 89] Operation: 14+75=89
Moving to Node #0,1,3
Current State: 85:[4, 89], Operations: ['47-43=4', '14+75=89']
Exploring Operation: 4+89=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[14, 43, 47, 75], Operations: []
Exploring Operation: 47-43=4, Resulting Numbers: [14, 75, 4]
Generated Node #0,1: 85:[14, 75, 4] Operation: 47-43=4
Moving to Node #0,1
Current State: 85:[14, 75, 4], Operations: ['47-43=4']
Exploring Operation: 14+75=89, Resulting Numbers: [4, 89]
Generated Node #0,1,3: 85:[4, 89] Operation: 14+75=89
Moving to Node #0,1,3
Current State: 85:[4, 89], Operations: ['47-43=4', '14+75=89']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
18,
40,
76,
51
] | 49 | [
"76-40=36",
"36/18=2",
"51-2=49"
] | Current State: 49:[18, 40, 76, 51], Operations: []
Exploring Operation: 76-40=36, Resulting Numbers: [18, 51, 36]
Generated Node #2: [18, 51, 36] from Operation: 76-40=36
Current State: 49:[18, 51, 36], Operations: ['76-40=36']
Exploring Operation: 36/18=2, Resulting Numbers: [51, 2]
Generated Node #3: [51, 2] from Operation: 36/18=2
Current State: 49:[51, 2], Operations: ['76-40=36', '36/18=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[18, 40, 76, 51], Operations: []
Exploring Operation: 76-18=58, Resulting Numbers: [40, 51, 58]
Generated Node #0,0: 49:[40, 51, 58] Operation: 76-18=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[40, 51, 58], Operations: ['76-18=58']
Exploring Operation: 58-51=7, Resulting Numbers: [40, 7]
Generated Node #0,0,0: 49:[40, 7] Operation: 58-51=7
Moving to Node #0,0,0
Current State: 49:[40, 7], Operations: ['76-18=58', '58-51=7']
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
62,
18,
60,
30
] | 26 | [
"18*60=1080",
"1080/30=36",
"62-36=26"
] | Current State: 26:[62, 18, 60, 30], Operations: []
Exploring Operation: 18*60=1080, Resulting Numbers: [62, 30, 1080]
Generated Node #2: [62, 30, 1080] from Operation: 18*60=1080
Current State: 26:[62, 30, 1080], Operations: ['18*60=1080']
Exploring Operation: 1080/30=36, Resulting Numbers: [62, 36]
Generated Node #3: [62, 36] from Operation: 1080/30=36
Current State: 26:[62, 36], Operations: ['18*60=1080', '1080/30=36']
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[62, 18, 60, 30], Operations: []
Exploring Operation: 60/30=2, Resulting Numbers: [62, 18, 2]
Generated Node #0,0: 26:[62, 18, 2] Operation: 60/30=2
Exploring Operation: 62-60=2, Resulting Numbers: [18, 30, 2]
Generated Node #0,1: 26:[18, 30, 2] Operation: 62-60=2
Moving to Node #0,1
Current State: 26:[18, 30, 2], Operations: ['62-60=2']
Exploring Operation: 18-2=16, Resulting Numbers: [30, 16]
Generated Node #0,1,0: 26:[30, 16] Operation: 18-2=16
Exploring Operation: 30-18=12, Resulting Numbers: [2, 12]
Generated Node #0,1,1: 26:[2, 12] Operation: 30-18=12
Moving to Node #0,0
Current State: 26:[62, 18, 2], Operations: ['60/30=2']
Exploring Operation: 62-18=44, Resulting Numbers: [2, 44]
Generated Node #0,0,0: 26:[2, 44] Operation: 62-18=44
Exploring Operation: 62/2=31, Resulting Numbers: [18, 31]
Generated Node #0,0,1: 26:[18, 31] Operation: 62/2=31
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[18, 31], Operations: ['60/30=2', '62/2=31']
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 18+31=49, Resulting Numbers: [49]
49,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[2, 44], Operations: ['60/30=2', '62-18=44']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,26 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,26 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: 26:[2, 12], Operations: ['62-60=2', '30-18=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[30, 16], Operations: ['62-60=2', '18-2=16']
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,26 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,26 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
78,
2,
68,
23
] | 100 | [
"78+68=146",
"2*23=46",
"146-46=100"
] | Current State: 100:[78, 2, 68, 23], Operations: []
Exploring Operation: 78+68=146, Resulting Numbers: [2, 23, 146]
Generated Node #2: [2, 23, 146] from Operation: 78+68=146
Current State: 100:[2, 23, 146], Operations: ['78+68=146']
Exploring Operation: 2*23=46, Resulting Numbers: [146, 46]
Generated Node #3: [146, 46] from Operation: 2*23=46
Current State: 100:[146, 46], Operations: ['78+68=146', '2*23=46']
Exploring Operation: 146-46=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[78, 2, 68, 23], Operations: []
Exploring Operation: 78-68=10, Resulting Numbers: [2, 23, 10]
Generated Node #0,0: 100:[2, 23, 10] Operation: 78-68=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[2, 23, 10], Operations: ['78-68=10']
Exploring Operation: 2+23=25, Resulting Numbers: [10, 25]
Generated Node #0,0,0: 100:[10, 25] Operation: 2+23=25
Moving to Node #0,0,0
Current State: 100:[10, 25], Operations: ['78-68=10', '2+23=25']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,100 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 |
[
42,
51,
27,
71
] | 89 | [
"51-42=9",
"27+71=98",
"98-9=89"
] | Current State: 89:[42, 51, 27, 71], Operations: []
Exploring Operation: 51-42=9, Resulting Numbers: [27, 71, 9]
Generated Node #2: [27, 71, 9] from Operation: 51-42=9
Current State: 89:[27, 71, 9], Operations: ['51-42=9']
Exploring Operation: 27+71=98, Resulting Numbers: [9, 98]
Generated Node #3: [9, 98] from Operation: 27+71=98
Current State: 89:[9, 98], Operations: ['51-42=9', '27+71=98']
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[42, 51, 27, 71], Operations: []
Exploring Operation: 51+27=78, Resulting Numbers: [42, 71, 78]
Generated Node #0,0: 89:[42, 71, 78] Operation: 51+27=78
Exploring Operation: 42+27=69, Resulting Numbers: [51, 71, 69]
Generated Node #0,1: 89:[51, 71, 69] Operation: 42+27=69
Moving to Node #0,0
Current State: 89:[42, 71, 78], Operations: ['51+27=78']
Exploring Operation: 42+71=113, Resulting Numbers: [78, 113]
Generated Node #0,0,0: 89:[78, 113] Operation: 42+71=113
Exploring Operation: 42+78=120, Resulting Numbers: [71, 120]
Generated Node #0,0,1: 89:[71, 120] Operation: 42+78=120
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[78, 113], Operations: ['51+27=78', '42+71=113']
Exploring Operation: 113-78=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 78+113=191, Resulting Numbers: [191]
191,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:[71, 120], Operations: ['51+27=78', '42+78=120']
Exploring Operation: 71+120=191, Resulting Numbers: [191]
191,89 unequal: No Solution
Exploring Operation: 120-71=49, Resulting Numbers: [49]
49,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:[51, 71, 69], Operations: ['42+27=69']
Exploring Operation: 51+71=122, Resulting Numbers: [69, 122]
Generated Node #0,1,0: 89:[69, 122] Operation: 51+71=122
Exploring Operation: 51+69=120, Resulting Numbers: [71, 120]
Generated Node #0,1,1: 89:[71, 120] Operation: 51+69=120
Moving to Node #0,1,1
Current State: 89:[71, 120], Operations: ['42+27=69', '51+69=120']
Exploring Operation: 120-71=49, Resulting Numbers: [49]
49,89 unequal: No Solution
Exploring Operation: 71+120=191, Resulting Numbers: [191]
191,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[69, 122], Operations: ['42+27=69', '51+71=122']
Exploring Operation: 69+122=191, Resulting Numbers: [191]
191,89 unequal: No Solution
Exploring Operation: 122-69=53, Resulting Numbers: [53]
53,89 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
65,
64,
25,
70
] | 46 | [
"65-64=1",
"70-25=45",
"1+45=46"
] | Current State: 46:[65, 64, 25, 70], Operations: []
Exploring Operation: 65-64=1, Resulting Numbers: [25, 70, 1]
Generated Node #2: [25, 70, 1] from Operation: 65-64=1
Current State: 46:[25, 70, 1], Operations: ['65-64=1']
Exploring Operation: 70-25=45, Resulting Numbers: [1, 45]
Generated Node #3: [1, 45] from Operation: 70-25=45
Current State: 46:[1, 45], Operations: ['65-64=1', '70-25=45']
Exploring Operation: 1+45=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[65, 64, 25, 70], Operations: []
Exploring Operation: 70-65=5, Resulting Numbers: [64, 25, 5]
Generated Node #0,0: 46:[64, 25, 5] Operation: 70-65=5
Exploring Operation: 70-64=6, Resulting Numbers: [65, 25, 6]
Generated Node #0,1: 46:[65, 25, 6] Operation: 70-64=6
Exploring Operation: 65-64=1, Resulting Numbers: [25, 70, 1]
Generated Node #0,2: 46:[25, 70, 1] Operation: 65-64=1
Exploring Operation: 70-25=45, Resulting Numbers: [65, 64, 45]
Generated Node #0,3: 46:[65, 64, 45] Operation: 70-25=45
Exploring Operation: 65-25=40, Resulting Numbers: [64, 70, 40]
Generated Node #0,4: 46:[64, 70, 40] Operation: 65-25=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[64, 25, 5], Operations: ['70-65=5']
Exploring Operation: 64-5=59, Resulting Numbers: [25, 59]
Generated Node #0,0,0: 46:[25, 59] Operation: 64-5=59
Exploring Operation: 25/5=5, Resulting Numbers: [64, 5]
Generated Node #0,0,1: 46:[64, 5] Operation: 25/5=5
Exploring Operation: 64-25=39, Resulting Numbers: [5, 39]
Generated Node #0,0,2: 46:[5, 39] Operation: 64-25=39
Exploring Operation: 64+5=69, Resulting Numbers: [25, 69]
Generated Node #0,0,3: 46:[25, 69] Operation: 64+5=69
Exploring Operation: 25-5=20, Resulting Numbers: [64, 20]
Generated Node #0,0,4: 46:[64, 20] Operation: 25-5=20
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 46:[5, 39], Operations: ['70-65=5', '64-25=39']
Exploring Operation: 5*39=195, Resulting Numbers: [195]
195,46 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,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,0
Current State: 46:[25, 59], Operations: ['70-65=5', '64-5=59']
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 25+59=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 25*59=1475, Resulting Numbers: [1475]
1475,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:[64, 5], Operations: ['70-65=5', '25/5=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,46 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 64*5=320, Resulting Numbers: [320]
320,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,4
Current State: 46:[64, 20], Operations: ['70-65=5', '25-5=20']
Exploring Operation: 64+20=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 64*20=1280, Resulting Numbers: [1280]
1280,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,3
Current State: 46:[25, 69], Operations: ['70-65=5', '64+5=69']
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 25+69=94, Resulting Numbers: [94]
94,46 unequal: No Solution
Exploring Operation: 25*69=1725, Resulting Numbers: [1725]
1725,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:[65, 25, 6], Operations: ['70-64=6']
Exploring Operation: 25+6=31, Resulting Numbers: [65, 31]
Generated Node #0,1,0: 46:[65, 31] Operation: 25+6=31
Exploring Operation: 65+6=71, Resulting Numbers: [25, 71]
Generated Node #0,1,1: 46:[25, 71] Operation: 65+6=71
Exploring Operation: 65-25=40, Resulting Numbers: [6, 40]
Generated Node #0,1,2: 46:[6, 40] Operation: 65-25=40
Exploring Operation: 25-6=19, Resulting Numbers: [65, 19]
Generated Node #0,1,3: 46:[65, 19] Operation: 25-6=19
Exploring Operation: 65-6=59, Resulting Numbers: [25, 59]
Generated Node #0,1,4: 46:[25, 59] Operation: 65-6=59
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 46:[6, 40], Operations: ['70-64=6', '65-25=40']
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[65, 64, 25, 70], Operations: []
Exploring Operation: 70-64=6, Resulting Numbers: [65, 25, 6]
Generated Node #0,1: 46:[65, 25, 6] Operation: 70-64=6
Moving to Node #0,1
Current State: 46:[65, 25, 6], Operations: ['70-64=6']
Exploring Operation: 65-25=40, Resulting Numbers: [6, 40]
Generated Node #0,1,2: 46:[6, 40] Operation: 65-25=40
Moving to Node #0,1,2
Current State: 46:[6, 40], Operations: ['70-64=6', '65-25=40']
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
[
39,
57,
50,
54
] | 33 | [
"50-39=11",
"57-54=3",
"11*3=33"
] | Current State: 33:[39, 57, 50, 54], Operations: []
Exploring Operation: 50-39=11, Resulting Numbers: [57, 54, 11]
Generated Node #2: [57, 54, 11] from Operation: 50-39=11
Current State: 33:[57, 54, 11], Operations: ['50-39=11']
Exploring Operation: 57-54=3, Resulting Numbers: [11, 3]
Generated Node #3: [11, 3] from Operation: 57-54=3
Current State: 33:[11, 3], Operations: ['50-39=11', '57-54=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[39, 57, 50, 54], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [39, 50, 3]
Generated Node #0,0: 33:[39, 50, 3] Operation: 57-54=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[39, 50, 3], Operations: ['57-54=3']
Exploring Operation: 50-39=11, Resulting Numbers: [3, 11]
Generated Node #0,0,0: 33:[3, 11] Operation: 50-39=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[3, 11], Operations: ['57-54=3', '50-39=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[39, 57, 50, 54], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [39, 50, 3]
Generated Node #0,0: 33:[39, 50, 3] Operation: 57-54=3
Moving to Node #0,0
Current State: 33:[39, 50, 3], Operations: ['57-54=3']
Exploring Operation: 50-39=11, Resulting Numbers: [3, 11]
Generated Node #0,0,0: 33:[3, 11] Operation: 50-39=11
Moving to Node #0,0,0
Current State: 33:[3, 11], Operations: ['57-54=3', '50-39=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
75,
30,
26,
32
] | 47 | [
"75+30=105",
"26+32=58",
"105-58=47"
] | Current State: 47:[75, 30, 26, 32], Operations: []
Exploring Operation: 75+30=105, Resulting Numbers: [26, 32, 105]
Generated Node #2: [26, 32, 105] from Operation: 75+30=105
Current State: 47:[26, 32, 105], Operations: ['75+30=105']
Exploring Operation: 26+32=58, Resulting Numbers: [105, 58]
Generated Node #3: [105, 58] from Operation: 26+32=58
Current State: 47:[105, 58], Operations: ['75+30=105', '26+32=58']
Exploring Operation: 105-58=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[75, 30, 26, 32], Operations: []
Exploring Operation: 75-32=43, Resulting Numbers: [30, 26, 43]
Generated Node #0,0: 47:[30, 26, 43] Operation: 75-32=43
Exploring Operation: 75-30=45, Resulting Numbers: [26, 32, 45]
Generated Node #0,1: 47:[26, 32, 45] Operation: 75-30=45
Exploring Operation: 75-26=49, Resulting Numbers: [30, 32, 49]
Generated Node #0,2: 47:[30, 32, 49] Operation: 75-26=49
Exploring Operation: 30+26=56, Resulting Numbers: [75, 32, 56]
Generated Node #0,3: 47:[75, 32, 56] Operation: 30+26=56
Moving to Node #0,2
Current State: 47:[30, 32, 49], Operations: ['75-26=49']
Exploring Operation: 30+32=62, Resulting Numbers: [49, 62]
Generated Node #0,2,0: 47:[49, 62] Operation: 30+32=62
Exploring Operation: 30+49=79, Resulting Numbers: [32, 79]
Generated Node #0,2,1: 47:[32, 79] Operation: 30+49=79
Exploring Operation: 32-30=2, Resulting Numbers: [49, 2]
Generated Node #0,2,2: 47:[49, 2] Operation: 32-30=2
Exploring Operation: 49-30=19, Resulting Numbers: [32, 19]
Generated Node #0,2,3: 47:[32, 19] Operation: 49-30=19
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[49, 62], Operations: ['75-26=49', '30+32=62']
Exploring Operation: 62-49=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 49*62=3038, Resulting Numbers: [3038]
3038,47 unequal: No Solution
Exploring Operation: 49+62=111, Resulting Numbers: [111]
111,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 47:[32, 19], Operations: ['75-26=49', '49-30=19']
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,47 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[32, 79], Operations: ['75-26=49', '30+49=79']
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[75, 30, 26, 32], Operations: []
Exploring Operation: 75-26=49, Resulting Numbers: [30, 32, 49]
Generated Node #0,2: 47:[30, 32, 49] Operation: 75-26=49
Moving to Node #0,2
Current State: 47:[30, 32, 49], Operations: ['75-26=49']
Exploring Operation: 30+49=79, Resulting Numbers: [32, 79]
Generated Node #0,2,1: 47:[32, 79] Operation: 30+49=79
Moving to Node #0,2,1
Current State: 47:[32, 79], Operations: ['75-26=49', '30+49=79']
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
17,
19,
8,
51
] | 21 | [
"51-19=32",
"32/8=4",
"17+4=21"
] | Current State: 21:[17, 19, 8, 51], Operations: []
Exploring Operation: 51-19=32, Resulting Numbers: [17, 8, 32]
Generated Node #2: [17, 8, 32] from Operation: 51-19=32
Current State: 21:[17, 8, 32], Operations: ['51-19=32']
Exploring Operation: 32/8=4, Resulting Numbers: [17, 4]
Generated Node #3: [17, 4] from Operation: 32/8=4
Current State: 21:[17, 4], Operations: ['51-19=32', '32/8=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[17, 19, 8, 51], Operations: []
Exploring Operation: 51-19=32, Resulting Numbers: [17, 8, 32]
Generated Node #0,0: 21:[17, 8, 32] Operation: 51-19=32
Exploring Operation: 51-17=34, Resulting Numbers: [19, 8, 34]
Generated Node #0,1: 21:[19, 8, 34] Operation: 51-17=34
Exploring Operation: 51/17=3, Resulting Numbers: [19, 8, 3]
Generated Node #0,2: 21:[19, 8, 3] Operation: 51/17=3
Exploring Operation: 51-8=43, Resulting Numbers: [17, 19, 43]
Generated Node #0,3: 21:[17, 19, 43] Operation: 51-8=43
Moving to Node #0,2
Current State: 21:[19, 8, 3], Operations: ['51/17=3']
Exploring Operation: 8-3=5, Resulting Numbers: [19, 5]
Generated Node #0,2,0: 21:[19, 5] Operation: 8-3=5
Exploring Operation: 19-8=11, Resulting Numbers: [3, 11]
Generated Node #0,2,1: 21:[3, 11] Operation: 19-8=11
Exploring Operation: 19+3=22, Resulting Numbers: [8, 22]
Generated Node #0,2,2: 21:[8, 22] Operation: 19+3=22
Exploring Operation: 8*3=24, Resulting Numbers: [19, 24]
Generated Node #0,2,3: 21:[19, 24] Operation: 8*3=24
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 21:[8, 22], Operations: ['51/17=3', '19+3=22']
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 8*22=176, Resulting Numbers: [176]
176,21 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 21:[19, 5], Operations: ['51/17=3', '8-3=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,21 unequal: No Solution
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 21:[3, 11], Operations: ['51/17=3', '19-8=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,21 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,21 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 21:[19, 24], Operations: ['51/17=3', '8*3=24']
Exploring Operation: 19*24=456, Resulting Numbers: [456]
456,21 unequal: No Solution
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 21:[19, 8, 34], Operations: ['51-17=34']
Exploring Operation: 19-8=11, Resulting Numbers: [34, 11]
Generated Node #0,1,0: 21:[34, 11] Operation: 19-8=11
Exploring Operation: 34-8=26, Resulting Numbers: [19, 26]
Generated Node #0,1,1: 21:[19, 26] Operation: 34-8=26
Exploring Operation: 19+8=27, Resulting Numbers: [34, 27]
Generated Node #0,1,2: 21:[34, 27] Operation: 19+8=27
Exploring Operation: 34-19=15, Resulting Numbers: [8, 15]
Generated Node #0,1,3: 21:[8, 15] Operation: 34-19=15
Moving to Node #0,0
Current State: 21:[17, 8, 32], Operations: ['51-19=32']
Exploring Operation: 32/8=4, Resulting Numbers: [17, 4]
Generated Node #0,0,0: 21:[17, 4] Operation: 32/8=4
Exploring Operation: 17-8=9, Resulting Numbers: [32, 9]
Generated Node #0,0,1: 21:[32, 9] Operation: 17-8=9
Exploring Operation: 32-17=15, Resulting Numbers: [8, 15]
Generated Node #0,0,2: 21:[8, 15] Operation: 32-17=15
Exploring Operation: 32-8=24, Resulting Numbers: [17, 24]
Generated Node #0,0,3: 21:[17, 24] Operation: 32-8=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[17, 4], Operations: ['51-19=32', '32/8=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[17, 19, 8, 51], Operations: []
Exploring Operation: 51-19=32, Resulting Numbers: [17, 8, 32]
Generated Node #0,0: 21:[17, 8, 32] Operation: 51-19=32
Moving to Node #0,0
Current State: 21:[17, 8, 32], Operations: ['51-19=32']
Exploring Operation: 32/8=4, Resulting Numbers: [17, 4]
Generated Node #0,0,0: 21:[17, 4] Operation: 32/8=4
Moving to Node #0,0,0
Current State: 21:[17, 4], Operations: ['51-19=32', '32/8=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
3,
30,
13,
25
] | 15 | [
"30-3=27",
"25-13=12",
"27-12=15"
] | Current State: 15:[3, 30, 13, 25], Operations: []
Exploring Operation: 30-3=27, Resulting Numbers: [13, 25, 27]
Generated Node #2: [13, 25, 27] from Operation: 30-3=27
Current State: 15:[13, 25, 27], Operations: ['30-3=27']
Exploring Operation: 25-13=12, Resulting Numbers: [27, 12]
Generated Node #3: [27, 12] from Operation: 25-13=12
Current State: 15:[27, 12], Operations: ['30-3=27', '25-13=12']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[3, 30, 13, 25], Operations: []
Exploring Operation: 30-25=5, Resulting Numbers: [3, 13, 5]
Generated Node #0,0: 15:[3, 13, 5] Operation: 30-25=5
Exploring Operation: 25-13=12, Resulting Numbers: [3, 30, 12]
Generated Node #0,1: 15:[3, 30, 12] Operation: 25-13=12
Exploring Operation: 30/3=10, Resulting Numbers: [13, 25, 10]
Generated Node #0,2: 15:[13, 25, 10] Operation: 30/3=10
Exploring Operation: 30-13=17, Resulting Numbers: [3, 25, 17]
Generated Node #0,3: 15:[3, 25, 17] Operation: 30-13=17
Moving to Node #0,0
Current State: 15:[3, 13, 5], Operations: ['30-25=5']
Exploring Operation: 13+5=18, Resulting Numbers: [3, 18]
Generated Node #0,0,0: 15:[3, 18] Operation: 13+5=18
Exploring Operation: 3+13=16, Resulting Numbers: [5, 16]
Generated Node #0,0,1: 15:[5, 16] Operation: 3+13=16
Exploring Operation: 3*5=15, Resulting Numbers: [13, 15]
Generated Node #0,0,2: 15:[13, 15] Operation: 3*5=15
Exploring Operation: 5-3=2, Resulting Numbers: [13, 2]
Generated Node #0,0,3: 15:[13, 2] Operation: 5-3=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[5, 16], Operations: ['30-25=5', '3+13=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,15 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,15 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,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,0,2
Current State: 15:[13, 15], Operations: ['30-25=5', '3*5=15']
Exploring Operation: 13*15=195, Resulting Numbers: [195]
195,15 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,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,0,0
Current State: 15:[3, 18], Operations: ['30-25=5', '13+5=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[3, 30, 13, 25], Operations: []
Exploring Operation: 30-25=5, Resulting Numbers: [3, 13, 5]
Generated Node #0,0: 15:[3, 13, 5] Operation: 30-25=5
Moving to Node #0,0
Current State: 15:[3, 13, 5], Operations: ['30-25=5']
Exploring Operation: 13+5=18, Resulting Numbers: [3, 18]
Generated Node #0,0,0: 15:[3, 18] Operation: 13+5=18
Moving to Node #0,0,0
Current State: 15:[3, 18], Operations: ['30-25=5', '13+5=18']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
15,
83,
87,
93
] | 92 | [
"15+83=98",
"93-87=6",
"98-6=92"
] | Current State: 92:[15, 83, 87, 93], Operations: []
Exploring Operation: 15+83=98, Resulting Numbers: [87, 93, 98]
Generated Node #2: [87, 93, 98] from Operation: 15+83=98
Current State: 92:[87, 93, 98], Operations: ['15+83=98']
Exploring Operation: 93-87=6, Resulting Numbers: [98, 6]
Generated Node #3: [98, 6] from Operation: 93-87=6
Current State: 92:[98, 6], Operations: ['15+83=98', '93-87=6']
Exploring Operation: 98-6=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[15, 83, 87, 93], Operations: []
Exploring Operation: 15+87=102, Resulting Numbers: [83, 93, 102]
Generated Node #0,0: 92:[83, 93, 102] Operation: 15+87=102
Exploring Operation: 87-83=4, Resulting Numbers: [15, 93, 4]
Generated Node #0,1: 92:[15, 93, 4] Operation: 87-83=4
Exploring Operation: 15+83=98, Resulting Numbers: [87, 93, 98]
Generated Node #0,2: 92:[87, 93, 98] Operation: 15+83=98
Exploring Operation: 93-87=6, Resulting Numbers: [15, 83, 6]
Generated Node #0,3: 92:[15, 83, 6] Operation: 93-87=6
Exploring Operation: 93-83=10, Resulting Numbers: [15, 87, 10]
Generated Node #0,4: 92:[15, 87, 10] Operation: 93-83=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[15, 93, 4], Operations: ['87-83=4']
Exploring Operation: 15-4=11, Resulting Numbers: [93, 11]
Generated Node #0,1,0: 92:[93, 11] Operation: 15-4=11
Exploring Operation: 93-4=89, Resulting Numbers: [15, 89]
Generated Node #0,1,1: 92:[15, 89] Operation: 93-4=89
Exploring Operation: 15+4=19, Resulting Numbers: [93, 19]
Generated Node #0,1,2: 92:[93, 19] Operation: 15+4=19
Exploring Operation: 93-15=78, Resulting Numbers: [4, 78]
Generated Node #0,1,3: 92:[4, 78] Operation: 93-15=78
Exploring Operation: 93+4=97, Resulting Numbers: [15, 97]
Generated Node #0,1,4: 92:[15, 97] Operation: 93+4=97
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 92:[93, 19], Operations: ['87-83=4', '15+4=19']
Exploring Operation: 93+19=112, Resulting Numbers: [112]
112,92 unequal: No Solution
Exploring Operation: 93-19=74, Resulting Numbers: [74]
74,92 unequal: No Solution
Exploring Operation: 93*19=1767, Resulting Numbers: [1767]
1767,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[93, 11], Operations: ['87-83=4', '15-4=11']
Exploring Operation: 93*11=1023, Resulting Numbers: [1023]
1023,92 unequal: No Solution
Exploring Operation: 93+11=104, Resulting Numbers: [104]
104,92 unequal: No Solution
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[15, 89], Operations: ['87-83=4', '93-4=89']
Exploring Operation: 89-15=74, Resulting Numbers: [74]
74,92 unequal: No Solution
Exploring Operation: 15*89=1335, Resulting Numbers: [1335]
1335,92 unequal: No Solution
Exploring Operation: 15+89=104, Resulting Numbers: [104]
104,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 92:[15, 97], Operations: ['87-83=4', '93+4=97']
Exploring Operation: 15+97=112, Resulting Numbers: [112]
112,92 unequal: No Solution
Exploring Operation: 97-15=82, Resulting Numbers: [82]
82,92 unequal: No Solution
Exploring Operation: 15*97=1455, Resulting Numbers: [1455]
1455,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 92:[4, 78], Operations: ['87-83=4', '93-15=78']
Exploring Operation: 4*78=312, Resulting Numbers: [312]
312,92 unequal: No Solution
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,92 unequal: No Solution
Exploring Operation: 4+78=82, Resulting Numbers: [82]
82,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[87, 93, 98], Operations: ['15+83=98']
Exploring Operation: 98-87=11, Resulting Numbers: [93, 11]
Generated Node #0,2,0: 92:[93, 11] Operation: 98-87=11
Exploring Operation: 98-93=5, Resulting Numbers: [87, 5]
Generated Node #0,2,1: 92:[87, 5] Operation: 98-93=5
Exploring Operation: 87+98=185, Resulting Numbers: [93, 185]
Generated Node #0,2,2: 92:[93, 185] Operation: 87+98=185
Exploring Operation: 93-87=6, Resulting Numbers: [98, 6]
Generated Node #0,2,3: 92:[98, 6] Operation: 93-87=6
Exploring Operation: 87+93=180, Resulting Numbers: [98, 180]
Generated Node #0,2,4: 92:[98, 180] Operation: 87+93=180
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 92:[87, 5], Operations: ['15+83=98', '98-93=5']
Exploring Operation: 87*5=435, Resulting Numbers: [435]
435,92 unequal: No Solution
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,92 unequal: No Solution
Exploring Operation: 87+5=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[15, 83, 87, 93], Operations: []
Exploring Operation: 15+83=98, Resulting Numbers: [87, 93, 98]
Generated Node #0,2: 92:[87, 93, 98] Operation: 15+83=98
Moving to Node #0,2
Current State: 92:[87, 93, 98], Operations: ['15+83=98']
Exploring Operation: 98-93=5, Resulting Numbers: [87, 5]
Generated Node #0,2,1: 92:[87, 5] Operation: 98-93=5
Moving to Node #0,2,1
Current State: 92:[87, 5], Operations: ['15+83=98', '98-93=5']
Exploring Operation: 87+5=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
99,
60,
5,
41
] | 70 | [
"99-41=58",
"60/5=12",
"58+12=70"
] | Current State: 70:[99, 60, 5, 41], Operations: []
Exploring Operation: 99-41=58, Resulting Numbers: [60, 5, 58]
Generated Node #2: [60, 5, 58] from Operation: 99-41=58
Current State: 70:[60, 5, 58], Operations: ['99-41=58']
Exploring Operation: 60/5=12, Resulting Numbers: [58, 12]
Generated Node #3: [58, 12] from Operation: 60/5=12
Current State: 70:[58, 12], Operations: ['99-41=58', '60/5=12']
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[99, 60, 5, 41], Operations: []
Exploring Operation: 99-60=39, Resulting Numbers: [5, 41, 39]
Generated Node #0,0: 70:[5, 41, 39] Operation: 99-60=39
Exploring Operation: 99-41=58, Resulting Numbers: [60, 5, 58]
Generated Node #0,1: 70:[60, 5, 58] Operation: 99-41=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[5, 41, 39], Operations: ['99-60=39']
Exploring Operation: 41-5=36, Resulting Numbers: [39, 36]
Generated Node #0,0,0: 70:[39, 36] Operation: 41-5=36
Exploring Operation: 41-39=2, Resulting Numbers: [5, 2]
Generated Node #0,0,1: 70:[5, 2] Operation: 41-39=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 70:[5, 2], Operations: ['99-60=39', '41-39=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[39, 36], Operations: ['99-60=39', '41-5=36']
Exploring Operation: 39+36=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[60, 5, 58], Operations: ['99-41=58']
Exploring Operation: 60-58=2, Resulting Numbers: [5, 2]
Generated Node #0,1,0: 70:[5, 2] Operation: 60-58=2
Exploring Operation: 60/5=12, Resulting Numbers: [58, 12]
Generated Node #0,1,1: 70:[58, 12] Operation: 60/5=12
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[5, 2], Operations: ['99-41=58', '60-58=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[58, 12], Operations: ['99-41=58', '60/5=12']
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,70 unequal: No Solution
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[99, 60, 5, 41], Operations: []
Exploring Operation: 99-41=58, Resulting Numbers: [60, 5, 58]
Generated Node #0,1: 70:[60, 5, 58] Operation: 99-41=58
Moving to Node #0,1
Current State: 70:[60, 5, 58], Operations: ['99-41=58']
Exploring Operation: 60/5=12, Resulting Numbers: [58, 12]
Generated Node #0,1,1: 70:[58, 12] Operation: 60/5=12
Moving to Node #0,1,1
Current State: 70:[58, 12], Operations: ['99-41=58', '60/5=12']
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_2 | mult_heuristic |
[
80,
61,
2,
55
] | 18 | [
"80-61=19",
"55-19=36",
"36/2=18"
] | Current State: 18:[80, 61, 2, 55], Operations: []
Exploring Operation: 80-61=19, Resulting Numbers: [2, 55, 19]
Generated Node #2: [2, 55, 19] from Operation: 80-61=19
Current State: 18:[2, 55, 19], Operations: ['80-61=19']
Exploring Operation: 55-19=36, Resulting Numbers: [2, 36]
Generated Node #3: [2, 36] from Operation: 55-19=36
Current State: 18:[2, 36], Operations: ['80-61=19', '55-19=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[80, 61, 2, 55], Operations: []
Exploring Operation: 80/2=40, Resulting Numbers: [61, 55, 40]
Generated Node #0,0: 18:[61, 55, 40] Operation: 80/2=40
Exploring Operation: 80-55=25, Resulting Numbers: [61, 2, 25]
Generated Node #0,1: 18:[61, 2, 25] Operation: 80-55=25
Exploring Operation: 61-55=6, Resulting Numbers: [80, 2, 6]
Generated Node #0,2: 18:[80, 2, 6] Operation: 61-55=6
Exploring Operation: 80-61=19, Resulting Numbers: [2, 55, 19]
Generated Node #0,3: 18:[2, 55, 19] Operation: 80-61=19
Moving to Node #0,3
Current State: 18:[2, 55, 19], Operations: ['80-61=19']
Exploring Operation: 55-19=36, Resulting Numbers: [2, 36]
Generated Node #0,3,0: 18:[2, 36] Operation: 55-19=36
Exploring Operation: 19-2=17, Resulting Numbers: [55, 17]
Generated Node #0,3,1: 18:[55, 17] Operation: 19-2=17
Exploring Operation: 2+55=57, Resulting Numbers: [19, 57]
Generated Node #0,3,2: 18:[19, 57] Operation: 2+55=57
Exploring Operation: 55-2=53, Resulting Numbers: [19, 53]
Generated Node #0,3,3: 18:[19, 53] Operation: 55-2=53
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 18:[2, 36], Operations: ['80-61=19', '55-19=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[80, 61, 2, 55], Operations: []
Exploring Operation: 80-61=19, Resulting Numbers: [2, 55, 19]
Generated Node #0,3: 18:[2, 55, 19] Operation: 80-61=19
Moving to Node #0,3
Current State: 18:[2, 55, 19], Operations: ['80-61=19']
Exploring Operation: 55-19=36, Resulting Numbers: [2, 36]
Generated Node #0,3,0: 18:[2, 36] Operation: 55-19=36
Moving to Node #0,3,0
Current State: 18:[2, 36], Operations: ['80-61=19', '55-19=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
70,
27,
89,
79
] | 92 | [
"79-70=9",
"27/9=3",
"89+3=92"
] | Current State: 92:[70, 27, 89, 79], Operations: []
Exploring Operation: 79-70=9, Resulting Numbers: [27, 89, 9]
Generated Node #2: [27, 89, 9] from Operation: 79-70=9
Current State: 92:[27, 89, 9], Operations: ['79-70=9']
Exploring Operation: 27/9=3, Resulting Numbers: [89, 3]
Generated Node #3: [89, 3] from Operation: 27/9=3
Current State: 92:[89, 3], Operations: ['79-70=9', '27/9=3']
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[70, 27, 89, 79], Operations: []
Exploring Operation: 70-27=43, Resulting Numbers: [89, 79, 43]
Generated Node #0,0: 92:[89, 79, 43] Operation: 70-27=43
Exploring Operation: 79-70=9, Resulting Numbers: [27, 89, 9]
Generated Node #0,1: 92:[27, 89, 9] Operation: 79-70=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[27, 89, 9], Operations: ['79-70=9']
Exploring Operation: 27/9=3, Resulting Numbers: [89, 3]
Generated Node #0,1,0: 92:[89, 3] Operation: 27/9=3
Exploring Operation: 27-9=18, Resulting Numbers: [89, 18]
Generated Node #0,1,1: 92:[89, 18] Operation: 27-9=18
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[89, 3], Operations: ['79-70=9', '27/9=3']
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,92 unequal: No Solution
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[70, 27, 89, 79], Operations: []
Exploring Operation: 79-70=9, Resulting Numbers: [27, 89, 9]
Generated Node #0,1: 92:[27, 89, 9] Operation: 79-70=9
Moving to Node #0,1
Current State: 92:[27, 89, 9], Operations: ['79-70=9']
Exploring Operation: 27/9=3, Resulting Numbers: [89, 3]
Generated Node #0,1,0: 92:[89, 3] Operation: 27/9=3
Moving to Node #0,1,0
Current State: 92:[89, 3], Operations: ['79-70=9', '27/9=3']
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
72,
37,
22,
31
] | 100 | [
"72+37=109",
"31-22=9",
"109-9=100"
] | Current State: 100:[72, 37, 22, 31], Operations: []
Exploring Operation: 72+37=109, Resulting Numbers: [22, 31, 109]
Generated Node #2: [22, 31, 109] from Operation: 72+37=109
Current State: 100:[22, 31, 109], Operations: ['72+37=109']
Exploring Operation: 31-22=9, Resulting Numbers: [109, 9]
Generated Node #3: [109, 9] from Operation: 31-22=9
Current State: 100:[109, 9], Operations: ['72+37=109', '31-22=9']
Exploring Operation: 109-9=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[72, 37, 22, 31], Operations: []
Exploring Operation: 72+37=109, Resulting Numbers: [22, 31, 109]
Generated Node #0,0: 100:[22, 31, 109] Operation: 72+37=109
Exploring Operation: 72-37=35, Resulting Numbers: [22, 31, 35]
Generated Node #0,1: 100:[22, 31, 35] Operation: 72-37=35
Exploring Operation: 72+31=103, Resulting Numbers: [37, 22, 103]
Generated Node #0,2: 100:[37, 22, 103] Operation: 72+31=103
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[22, 31, 109], Operations: ['72+37=109']
Exploring Operation: 109-22=87, Resulting Numbers: [31, 87]
Generated Node #0,0,0: 100:[31, 87] Operation: 109-22=87
Exploring Operation: 31-22=9, Resulting Numbers: [109, 9]
Generated Node #0,0,1: 100:[109, 9] Operation: 31-22=9
Exploring Operation: 22+31=53, Resulting Numbers: [109, 53]
Generated Node #0,0,2: 100:[109, 53] Operation: 22+31=53
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 100:[109, 9], Operations: ['72+37=109', '31-22=9']
Exploring Operation: 109+9=118, Resulting Numbers: [118]
118,100 unequal: No Solution
Exploring Operation: 109*9=981, Resulting Numbers: [981]
981,100 unequal: No Solution
Exploring Operation: 109-9=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[72, 37, 22, 31], Operations: []
Exploring Operation: 72+37=109, Resulting Numbers: [22, 31, 109]
Generated Node #0,0: 100:[22, 31, 109] Operation: 72+37=109
Moving to Node #0,0
Current State: 100:[22, 31, 109], Operations: ['72+37=109']
Exploring Operation: 31-22=9, Resulting Numbers: [109, 9]
Generated Node #0,0,1: 100:[109, 9] Operation: 31-22=9
Moving to Node #0,0,1
Current State: 100:[109, 9], Operations: ['72+37=109', '31-22=9']
Exploring Operation: 109-9=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
2,
62,
18,
43
] | 74 | [
"62+18=80",
"80-43=37",
"2*37=74"
] | Current State: 74:[2, 62, 18, 43], Operations: []
Exploring Operation: 62+18=80, Resulting Numbers: [2, 43, 80]
Generated Node #2: [2, 43, 80] from Operation: 62+18=80
Current State: 74:[2, 43, 80], Operations: ['62+18=80']
Exploring Operation: 80-43=37, Resulting Numbers: [2, 37]
Generated Node #3: [2, 37] from Operation: 80-43=37
Current State: 74:[2, 37], Operations: ['62+18=80', '80-43=37']
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[2, 62, 18, 43], Operations: []
Exploring Operation: 2*18=36, Resulting Numbers: [62, 43, 36]
Generated Node #0,0: 74:[62, 43, 36] Operation: 2*18=36
Exploring Operation: 62+18=80, Resulting Numbers: [2, 43, 80]
Generated Node #0,1: 74:[2, 43, 80] Operation: 62+18=80
Exploring Operation: 62-18=44, Resulting Numbers: [2, 43, 44]
Generated Node #0,2: 74:[2, 43, 44] Operation: 62-18=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[2, 43, 80], Operations: ['62+18=80']
Exploring Operation: 80/2=40, Resulting Numbers: [43, 40]
Generated Node #0,1,0: 74:[43, 40] Operation: 80/2=40
Exploring Operation: 43-2=41, Resulting Numbers: [80, 41]
Generated Node #0,1,1: 74:[80, 41] Operation: 43-2=41
Exploring Operation: 80-43=37, Resulting Numbers: [2, 37]
Generated Node #0,1,2: 74:[2, 37] Operation: 80-43=37
Moving to Node #0,1,2
Current State: 74:[2, 37], Operations: ['62+18=80', '80-43=37']
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,74 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[2, 62, 18, 43], Operations: []
Exploring Operation: 62+18=80, Resulting Numbers: [2, 43, 80]
Generated Node #0,1: 74:[2, 43, 80] Operation: 62+18=80
Moving to Node #0,1
Current State: 74:[2, 43, 80], Operations: ['62+18=80']
Exploring Operation: 80-43=37, Resulting Numbers: [2, 37]
Generated Node #0,1,2: 74:[2, 37] Operation: 80-43=37
Moving to Node #0,1,2
Current State: 74:[2, 37], Operations: ['62+18=80', '80-43=37']
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
11,
24,
42,
2
] | 65 | [
"11+42=53",
"24/2=12",
"53+12=65"
] | Current State: 65:[11, 24, 42, 2], Operations: []
Exploring Operation: 11+42=53, Resulting Numbers: [24, 2, 53]
Generated Node #2: [24, 2, 53] from Operation: 11+42=53
Current State: 65:[24, 2, 53], Operations: ['11+42=53']
Exploring Operation: 24/2=12, Resulting Numbers: [53, 12]
Generated Node #3: [53, 12] from Operation: 24/2=12
Current State: 65:[53, 12], Operations: ['11+42=53', '24/2=12']
Exploring Operation: 53+12=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[11, 24, 42, 2], Operations: []
Exploring Operation: 42-24=18, Resulting Numbers: [11, 2, 18]
Generated Node #0,0: 65:[11, 2, 18] Operation: 42-24=18
Exploring Operation: 24-11=13, Resulting Numbers: [42, 2, 13]
Generated Node #0,1: 65:[42, 2, 13] Operation: 24-11=13
Exploring Operation: 24+42=66, Resulting Numbers: [11, 2, 66]
Generated Node #0,2: 65:[11, 2, 66] Operation: 24+42=66
Exploring Operation: 42/2=21, Resulting Numbers: [11, 24, 21]
Generated Node #0,3: 65:[11, 24, 21] Operation: 42/2=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[11, 2, 66], Operations: ['24+42=66']
Exploring Operation: 11+2=13, Resulting Numbers: [66, 13]
Generated Node #0,2,0: 65:[66, 13] Operation: 11+2=13
Exploring Operation: 66/11=6, Resulting Numbers: [2, 6]
Generated Node #0,2,1: 65:[2, 6] Operation: 66/11=6
Exploring Operation: 66-2=64, Resulting Numbers: [11, 64]
Generated Node #0,2,2: 65:[11, 64] Operation: 66-2=64
Exploring Operation: 11-2=9, Resulting Numbers: [66, 9]
Generated Node #0,2,3: 65:[66, 9] Operation: 11-2=9
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 65:[66, 13], Operations: ['24+42=66', '11+2=13']
Exploring Operation: 66*13=858, Resulting Numbers: [858]
858,65 unequal: No Solution
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Exploring Operation: 66+13=79, Resulting Numbers: [79]
79,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,2,2
Current State: 65:[11, 64], Operations: ['24+42=66', '66-2=64']
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Exploring Operation: 11+64=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 11*64=704, Resulting Numbers: [704]
704,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,2,1
Current State: 65:[2, 6], Operations: ['24+42=66', '66/11=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,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,2,3
Current State: 65:[66, 9], Operations: ['24+42=66', '11-2=9']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Exploring Operation: 66+9=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 66*9=594, Resulting Numbers: [594]
594,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,0
Current State: 65:[11, 2, 18], Operations: ['42-24=18']
Exploring Operation: 18-2=16, Resulting Numbers: [11, 16]
Generated Node #0,0,0: 65:[11, 16] Operation: 18-2=16
Exploring Operation: 11+2=13, Resulting Numbers: [18, 13]
Generated Node #0,0,1: 65:[18, 13] Operation: 11+2=13
Exploring Operation: 18/2=9, Resulting Numbers: [11, 9]
Generated Node #0,0,2: 65:[11, 9] Operation: 18/2=9
Exploring Operation: 18-11=7, Resulting Numbers: [2, 7]
Generated Node #0,0,3: 65:[2, 7] Operation: 18-11=7
Moving to Node #0,0,0
Current State: 65:[11, 16], Operations: ['42-24=18', '18-2=16']
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,65 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,65 unequal: No Solution
Moving to Node #0,0,3
Current State: 65:[2, 7], Operations: ['42-24=18', '18-11=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[18, 13], Operations: ['42-24=18', '11+2=13']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 18*13=234, Resulting Numbers: [234]
234,65 unequal: No Solution
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[11, 9], Operations: ['42-24=18', '18/2=9']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,65 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,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:[11, 24, 21], Operations: ['42/2=21']
Exploring Operation: 24-11=13, Resulting Numbers: [21, 13]
Generated Node #0,3,0: 65:[21, 13] Operation: 24-11=13
Exploring Operation: 24-21=3, Resulting Numbers: [11, 3]
Generated Node #0,3,1: 65:[11, 3] Operation: 24-21=3
Exploring Operation: 21-11=10, Resulting Numbers: [24, 10]
Generated Node #0,3,2: 65:[24, 10] Operation: 21-11=10
Exploring Operation: 24+21=45, Resulting Numbers: [11, 45]
Generated Node #0,3,3: 65:[11, 45] Operation: 24+21=45
Moving to Node #0,3,1
Current State: 65:[11, 3], Operations: ['42/2=21', '24-21=3']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,65 unequal: No Solution
Moving to Node #0,3,0
Current State: 65:[21, 13], Operations: ['42/2=21', '24-11=13']
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 21*13=273, Resulting Numbers: [273]
273,65 unequal: No Solution
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[24, 10], Operations: ['42/2=21', '21-11=10']
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,65 unequal: No Solution
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Moving to Node #0,3,3
Current State: 65:[11, 45], Operations: ['42/2=21', '24+21=45']
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Exploring Operation: 11*45=495, Resulting Numbers: [495]
495,65 unequal: No Solution
Exploring Operation: 11+45=56, Resulting Numbers: [56]
56,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,1
Current State: 65:[42, 2, 13], Operations: ['24-11=13']
Exploring Operation: 42/2=21, Resulting Numbers: [13, 21]
Generated Node #0,1,0: 65:[13, 21] Operation: 42/2=21
Exploring Operation: 42+13=55, Resulting Numbers: [2, 55]
Generated Node #0,1,1: 65:[2, 55] Operation: 42+13=55
Exploring Operation: 42*2=84, Resulting Numbers: [13, 84]
Generated Node #0,1,2: 65:[13, 84] Operation: 42*2=84
Exploring Operation: 42-13=29, Resulting Numbers: [2, 29]
Generated Node #0,1,3: 65:[2, 29] Operation: 42-13=29
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 65:[13, 21], Operations: ['24-11=13', '42/2=21']
Exploring Operation: 13*21=273, Resulting Numbers: [273]
273,65 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,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,1,1
Current State: 65:[2, 55], Operations: ['24-11=13', '42+13=55']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,65 unequal: No Solution
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,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,1,2
Current State: 65:[13, 84], Operations: ['24-11=13', '42*2=84']
Exploring Operation: 84-13=71, Resulting Numbers: [71]
71,65 unequal: No Solution
Exploring Operation: 13+84=97, Resulting Numbers: [97]
97,65 unequal: No Solution
Exploring Operation: 13*84=1092, Resulting Numbers: [1092]
1092,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,1,3
Current State: 65:[2, 29], Operations: ['24-11=13', '42-13=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,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
No solution found.
| 0 | hs_4 | sum_heuristic |
[
45,
13,
11,
75
] | 40 | [
"13+11=24",
"75*24=1800",
"1800/45=40"
] | Current State: 40:[45, 13, 11, 75], Operations: []
Exploring Operation: 13+11=24, Resulting Numbers: [45, 75, 24]
Generated Node #2: [45, 75, 24] from Operation: 13+11=24
Current State: 40:[45, 75, 24], Operations: ['13+11=24']
Exploring Operation: 75*24=1800, Resulting Numbers: [45, 1800]
Generated Node #3: [45, 1800] from Operation: 75*24=1800
Current State: 40:[45, 1800], Operations: ['13+11=24', '75*24=1800']
Exploring Operation: 1800/45=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[45, 13, 11, 75], Operations: []
Exploring Operation: 75-13=62, Resulting Numbers: [45, 11, 62]
Generated Node #0,0: 40:[45, 11, 62] Operation: 75-13=62
Exploring Operation: 75-45=30, Resulting Numbers: [13, 11, 30]
Generated Node #0,1: 40:[13, 11, 30] Operation: 75-45=30
Moving to Node #0,1
Current State: 40:[13, 11, 30], Operations: ['75-45=30']
Exploring Operation: 30-13=17, Resulting Numbers: [11, 17]
Generated Node #0,1,0: 40:[11, 17] Operation: 30-13=17
Exploring Operation: 13+30=43, Resulting Numbers: [11, 43]
Generated Node #0,1,1: 40:[11, 43] Operation: 13+30=43
Moving to Node #0,0
Current State: 40:[45, 11, 62], Operations: ['75-13=62']
Exploring Operation: 62-45=17, Resulting Numbers: [11, 17]
Generated Node #0,0,0: 40:[11, 17] Operation: 62-45=17
Exploring Operation: 62-11=51, Resulting Numbers: [45, 51]
Generated Node #0,0,1: 40:[45, 51] Operation: 62-11=51
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[11, 17], Operations: ['75-13=62', '62-45=17']
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,40 unequal: No Solution
No 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: 40:[45, 51], Operations: ['75-13=62', '62-11=51']
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 45+51=96, Resulting Numbers: [96]
96,40 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: 40:[11, 17], Operations: ['75-45=30', '30-13=17']
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[11, 43], Operations: ['75-45=30', '13+30=43']
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,40 unequal: No Solution
Exploring Operation: 11+43=54, Resulting Numbers: [54]
54,40 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
70,
96,
97,
58
] | 13 | [
"96-70=26",
"97-58=39",
"39-26=13"
] | Current State: 13:[70, 96, 97, 58], Operations: []
Exploring Operation: 96-70=26, Resulting Numbers: [97, 58, 26]
Generated Node #2: [97, 58, 26] from Operation: 96-70=26
Current State: 13:[97, 58, 26], Operations: ['96-70=26']
Exploring Operation: 97-58=39, Resulting Numbers: [26, 39]
Generated Node #3: [26, 39] from Operation: 97-58=39
Current State: 13:[26, 39], Operations: ['96-70=26', '97-58=39']
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[70, 96, 97, 58], Operations: []
Exploring Operation: 97-96=1, Resulting Numbers: [70, 58, 1]
Generated Node #0,0: 13:[70, 58, 1] Operation: 97-96=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[70, 58, 1], Operations: ['97-96=1']
Exploring Operation: 70-58=12, Resulting Numbers: [1, 12]
Generated Node #0,0,0: 13:[1, 12] Operation: 70-58=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[1, 12], Operations: ['97-96=1', '70-58=12']
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[70, 96, 97, 58], Operations: []
Exploring Operation: 97-96=1, Resulting Numbers: [70, 58, 1]
Generated Node #0,0: 13:[70, 58, 1] Operation: 97-96=1
Moving to Node #0,0
Current State: 13:[70, 58, 1], Operations: ['97-96=1']
Exploring Operation: 70-58=12, Resulting Numbers: [1, 12]
Generated Node #0,0,0: 13:[1, 12] Operation: 70-58=12
Moving to Node #0,0,0
Current State: 13:[1, 12], Operations: ['97-96=1', '70-58=12']
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
36,
99,
25,
52
] | 58 | [
"36+99=135",
"25+52=77",
"135-77=58"
] | Current State: 58:[36, 99, 25, 52], Operations: []
Exploring Operation: 36+99=135, Resulting Numbers: [25, 52, 135]
Generated Node #2: [25, 52, 135] from Operation: 36+99=135
Current State: 58:[25, 52, 135], Operations: ['36+99=135']
Exploring Operation: 25+52=77, Resulting Numbers: [135, 77]
Generated Node #3: [135, 77] from Operation: 25+52=77
Current State: 58:[135, 77], Operations: ['36+99=135', '25+52=77']
Exploring Operation: 135-77=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[36, 99, 25, 52], Operations: []
Exploring Operation: 99-36=63, Resulting Numbers: [25, 52, 63]
Generated Node #0,0: 58:[25, 52, 63] Operation: 99-36=63
Exploring Operation: 99-25=74, Resulting Numbers: [36, 52, 74]
Generated Node #0,1: 58:[36, 52, 74] Operation: 99-25=74
Exploring Operation: 36+25=61, Resulting Numbers: [99, 52, 61]
Generated Node #0,2: 58:[99, 52, 61] Operation: 36+25=61
Exploring Operation: 99-52=47, Resulting Numbers: [36, 25, 47]
Generated Node #0,3: 58:[36, 25, 47] Operation: 99-52=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[25, 52, 63], Operations: ['99-36=63']
Exploring Operation: 63-25=38, Resulting Numbers: [52, 38]
Generated Node #0,0,0: 58:[52, 38] Operation: 63-25=38
Exploring Operation: 52-25=27, Resulting Numbers: [63, 27]
Generated Node #0,0,1: 58:[63, 27] Operation: 52-25=27
Exploring Operation: 63-52=11, Resulting Numbers: [25, 11]
Generated Node #0,0,2: 58:[25, 11] Operation: 63-52=11
Exploring Operation: 25+52=77, Resulting Numbers: [63, 77]
Generated Node #0,0,3: 58:[63, 77] Operation: 25+52=77
Moving to Node #0,0,1
Current State: 58:[63, 27], Operations: ['99-36=63', '52-25=27']
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 63+27=90, Resulting Numbers: [90]
90,58 unequal: No Solution
Exploring Operation: 63*27=1701, Resulting Numbers: [1701]
1701,58 unequal: No Solution
Moving to Node #0,0,2
Current State: 58:[25, 11], Operations: ['99-36=63', '63-52=11']
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,58 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[52, 38], Operations: ['99-36=63', '63-25=38']
Exploring Operation: 52+38=90, Resulting Numbers: [90]
90,58 unequal: No Solution
Exploring Operation: 52*38=1976, Resulting Numbers: [1976]
1976,58 unequal: No Solution
Exploring Operation: 52-38=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Moving to Node #0,0,3
Current State: 58:[63, 77], Operations: ['99-36=63', '25+52=77']
Exploring Operation: 63+77=140, Resulting Numbers: [140]
140,58 unequal: No Solution
Exploring Operation: 63*77=4851, Resulting Numbers: [4851]
4851,58 unequal: No Solution
Exploring Operation: 77-63=14, Resulting Numbers: [14]
14,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 58:[36, 25, 47], Operations: ['99-52=47']
Exploring Operation: 36-25=11, Resulting Numbers: [47, 11]
Generated Node #0,3,0: 58:[47, 11] Operation: 36-25=11
Exploring Operation: 47-25=22, Resulting Numbers: [36, 22]
Generated Node #0,3,1: 58:[36, 22] Operation: 47-25=22
Exploring Operation: 47-36=11, Resulting Numbers: [25, 11]
Generated Node #0,3,2: 58:[25, 11] Operation: 47-36=11
Exploring Operation: 36+25=61, Resulting Numbers: [47, 61]
Generated Node #0,3,3: 58:[47, 61] Operation: 36+25=61
Moving to Node #0,3,2
Current State: 58:[25, 11], Operations: ['99-52=47', '47-36=11']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,58 unequal: No Solution
Moving to Node #0,3,3
Current State: 58:[47, 61], Operations: ['99-52=47', '36+25=61']
Exploring Operation: 47+61=108, Resulting Numbers: [108]
108,58 unequal: No Solution
Exploring Operation: 47*61=2867, Resulting Numbers: [2867]
2867,58 unequal: No Solution
Exploring Operation: 61-47=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Moving to Node #0,3,1
Current State: 58:[36, 22], Operations: ['99-52=47', '47-25=22']
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 36*22=792, Resulting Numbers: [792]
792,58 unequal: No Solution
Exploring Operation: 36+22=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[36, 99, 25, 52], Operations: []
Exploring Operation: 99-52=47, Resulting Numbers: [36, 25, 47]
Generated Node #0,3: 58:[36, 25, 47] Operation: 99-52=47
Moving to Node #0,3
Current State: 58:[36, 25, 47], Operations: ['99-52=47']
Exploring Operation: 47-25=22, Resulting Numbers: [36, 22]
Generated Node #0,3,1: 58:[36, 22] Operation: 47-25=22
Moving to Node #0,3,1
Current State: 58:[36, 22], Operations: ['99-52=47', '47-25=22']
Exploring Operation: 36+22=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | mult_heuristic |
[
11,
29,
4,
85
] | 53 | [
"11+85=96",
"96/4=24",
"29+24=53"
] | Current State: 53:[11, 29, 4, 85], Operations: []
Exploring Operation: 11+85=96, Resulting Numbers: [29, 4, 96]
Generated Node #2: [29, 4, 96] from Operation: 11+85=96
Current State: 53:[29, 4, 96], Operations: ['11+85=96']
Exploring Operation: 96/4=24, Resulting Numbers: [29, 24]
Generated Node #3: [29, 24] from Operation: 96/4=24
Current State: 53:[29, 24], Operations: ['11+85=96', '96/4=24']
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[11, 29, 4, 85], Operations: []
Exploring Operation: 11+29=40, Resulting Numbers: [4, 85, 40]
Generated Node #0,0: 53:[4, 85, 40] Operation: 11+29=40
Exploring Operation: 11*4=44, Resulting Numbers: [29, 85, 44]
Generated Node #0,1: 53:[29, 85, 44] Operation: 11*4=44
Moving to Node #0,1
Current State: 53:[29, 85, 44], Operations: ['11*4=44']
Exploring Operation: 85-44=41, Resulting Numbers: [29, 41]
Generated Node #0,1,0: 53:[29, 41] Operation: 85-44=41
Exploring Operation: 85-29=56, Resulting Numbers: [44, 56]
Generated Node #0,1,1: 53:[44, 56] Operation: 85-29=56
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[44, 56], Operations: ['11*4=44', '85-29=56']
Exploring Operation: 44+56=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,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,1,0
Current State: 53:[29, 41], Operations: ['11*4=44', '85-44=41']
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 29+41=70, Resulting Numbers: [70]
70,53 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: 53:[4, 85, 40], Operations: ['11+29=40']
Exploring Operation: 4+40=44, Resulting Numbers: [85, 44]
Generated Node #0,0,0: 53:[85, 44] Operation: 4+40=44
Exploring Operation: 85-4=81, Resulting Numbers: [40, 81]
Generated Node #0,0,1: 53:[40, 81] Operation: 85-4=81
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[85, 44], Operations: ['11+29=40', '4+40=44']
Exploring Operation: 85+44=129, Resulting Numbers: [129]
129,53 unequal: No Solution
Exploring Operation: 85-44=41, Resulting Numbers: [41]
41,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[40, 81], Operations: ['11+29=40', '85-4=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
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
17,
39,
65,
53
] | 34 | [
"39-17=22",
"65-53=12",
"22+12=34"
] | Current State: 34:[17, 39, 65, 53], Operations: []
Exploring Operation: 39-17=22, Resulting Numbers: [65, 53, 22]
Generated Node #2: [65, 53, 22] from Operation: 39-17=22
Current State: 34:[65, 53, 22], Operations: ['39-17=22']
Exploring Operation: 65-53=12, Resulting Numbers: [22, 12]
Generated Node #3: [22, 12] from Operation: 65-53=12
Current State: 34:[22, 12], Operations: ['39-17=22', '65-53=12']
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[17, 39, 65, 53], Operations: []
Exploring Operation: 53-39=14, Resulting Numbers: [17, 65, 14]
Generated Node #0,0: 34:[17, 65, 14] Operation: 53-39=14
Exploring Operation: 65-39=26, Resulting Numbers: [17, 53, 26]
Generated Node #0,1: 34:[17, 53, 26] Operation: 65-39=26
Exploring Operation: 65-53=12, Resulting Numbers: [17, 39, 12]
Generated Node #0,2: 34:[17, 39, 12] Operation: 65-53=12
Exploring Operation: 65-17=48, Resulting Numbers: [39, 53, 48]
Generated Node #0,3: 34:[39, 53, 48] Operation: 65-17=48
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[17, 39, 12], Operations: ['65-53=12']
Exploring Operation: 39-12=27, Resulting Numbers: [17, 27]
Generated Node #0,2,0: 34:[17, 27] Operation: 39-12=27
Exploring Operation: 17+12=29, Resulting Numbers: [39, 29]
Generated Node #0,2,1: 34:[39, 29] Operation: 17+12=29
Exploring Operation: 39-17=22, Resulting Numbers: [12, 22]
Generated Node #0,2,2: 34:[12, 22] Operation: 39-17=22
Exploring Operation: 17-12=5, Resulting Numbers: [39, 5]
Generated Node #0,2,3: 34:[39, 5] Operation: 17-12=5
Moving to Node #0,2,0
Current State: 34:[17, 27], Operations: ['65-53=12', '39-12=27']
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[39, 5], Operations: ['65-53=12', '17-12=5']
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,34 unequal: No Solution
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[17, 39, 65, 53], Operations: []
Exploring Operation: 65-53=12, Resulting Numbers: [17, 39, 12]
Generated Node #0,2: 34:[17, 39, 12] Operation: 65-53=12
Moving to Node #0,2
Current State: 34:[17, 39, 12], Operations: ['65-53=12']
Exploring Operation: 17-12=5, Resulting Numbers: [39, 5]
Generated Node #0,2,3: 34:[39, 5] Operation: 17-12=5
Moving to Node #0,2,3
Current State: 34:[39, 5], Operations: ['65-53=12', '17-12=5']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
64,
15,
14,
87
] | 61 | [
"15+14=29",
"87/29=3",
"64-3=61"
] | Current State: 61:[64, 15, 14, 87], Operations: []
Exploring Operation: 15+14=29, Resulting Numbers: [64, 87, 29]
Generated Node #2: [64, 87, 29] from Operation: 15+14=29
Current State: 61:[64, 87, 29], Operations: ['15+14=29']
Exploring Operation: 87/29=3, Resulting Numbers: [64, 3]
Generated Node #3: [64, 3] from Operation: 87/29=3
Current State: 61:[64, 3], Operations: ['15+14=29', '87/29=3']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[64, 15, 14, 87], Operations: []
Exploring Operation: 15+14=29, Resulting Numbers: [64, 87, 29]
Generated Node #0,0: 61:[64, 87, 29] Operation: 15+14=29
Exploring Operation: 87-15=72, Resulting Numbers: [64, 14, 72]
Generated Node #0,1: 61:[64, 14, 72] Operation: 87-15=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[64, 87, 29], Operations: ['15+14=29']
Exploring Operation: 87-29=58, Resulting Numbers: [64, 58]
Generated Node #0,0,0: 61:[64, 58] Operation: 87-29=58
Exploring Operation: 64-29=35, Resulting Numbers: [87, 35]
Generated Node #0,0,1: 61:[87, 35] Operation: 64-29=35
Moving to Node #0,0,0
Current State: 61:[64, 58], Operations: ['15+14=29', '87-29=58']
Exploring Operation: 64+58=122, Resulting Numbers: [122]
122,61 unequal: No Solution
Exploring Operation: 64-58=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[87, 35], Operations: ['15+14=29', '64-29=35']
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Exploring Operation: 87+35=122, Resulting Numbers: [122]
122,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[64, 14, 72], Operations: ['87-15=72']
Exploring Operation: 64-14=50, Resulting Numbers: [72, 50]
Generated Node #0,1,0: 61:[72, 50] Operation: 64-14=50
Exploring Operation: 72-14=58, Resulting Numbers: [64, 58]
Generated Node #0,1,1: 61:[64, 58] Operation: 72-14=58
Moving to Node #0,1,1
Current State: 61:[64, 58], Operations: ['87-15=72', '72-14=58']
Exploring Operation: 64-58=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 64+58=122, Resulting Numbers: [122]
122,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[72, 50], Operations: ['87-15=72', '64-14=50']
Exploring Operation: 72+50=122, Resulting Numbers: [122]
122,61 unequal: No Solution
Exploring Operation: 72-50=22, Resulting Numbers: [22]
22,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 | mult_heuristic |
[
1,
28,
42,
15
] | 24 | [
"1+15=16",
"42*16=672",
"672/28=24"
] | Current State: 24:[1, 28, 42, 15], Operations: []
Exploring Operation: 1+15=16, Resulting Numbers: [28, 42, 16]
Generated Node #2: [28, 42, 16] from Operation: 1+15=16
Current State: 24:[28, 42, 16], Operations: ['1+15=16']
Exploring Operation: 42*16=672, Resulting Numbers: [28, 672]
Generated Node #3: [28, 672] from Operation: 42*16=672
Current State: 24:[28, 672], Operations: ['1+15=16', '42*16=672']
Exploring Operation: 672/28=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[1, 28, 42, 15], Operations: []
Exploring Operation: 42-28=14, Resulting Numbers: [1, 15, 14]
Generated Node #0,0: 24:[1, 15, 14] Operation: 42-28=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[1, 15, 14], Operations: ['42-28=14']
Exploring Operation: 15-14=1, Resulting Numbers: [1, 1]
Generated Node #0,0,0: 24:[1, 1] Operation: 15-14=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[1, 1], Operations: ['42-28=14', '15-14=1']
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
8,
15,
21,
16
] | 55 | [
"21-16=5",
"8*5=40",
"15+40=55"
] | Current State: 55:[8, 15, 21, 16], Operations: []
Exploring Operation: 21-16=5, Resulting Numbers: [8, 15, 5]
Generated Node #2: [8, 15, 5] from Operation: 21-16=5
Current State: 55:[8, 15, 5], Operations: ['21-16=5']
Exploring Operation: 8*5=40, Resulting Numbers: [15, 40]
Generated Node #3: [15, 40] from Operation: 8*5=40
Current State: 55:[15, 40], Operations: ['21-16=5', '8*5=40']
Exploring Operation: 15+40=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[8, 15, 21, 16], Operations: []
Exploring Operation: 21-16=5, Resulting Numbers: [8, 15, 5]
Generated Node #0,0: 55:[8, 15, 5] Operation: 21-16=5
Exploring Operation: 21-8=13, Resulting Numbers: [15, 16, 13]
Generated Node #0,1: 55:[15, 16, 13] Operation: 21-8=13
Exploring Operation: 16-8=8, Resulting Numbers: [15, 21, 8]
Generated Node #0,2: 55:[15, 21, 8] Operation: 16-8=8
Exploring Operation: 21-15=6, Resulting Numbers: [8, 16, 6]
Generated Node #0,3: 55:[8, 16, 6] Operation: 21-15=6
Exploring Operation: 15-8=7, Resulting Numbers: [21, 16, 7]
Generated Node #0,4: 55:[21, 16, 7] Operation: 15-8=7
Moving to Node #0,0
Current State: 55:[8, 15, 5], Operations: ['21-16=5']
Exploring Operation: 8-5=3, Resulting Numbers: [15, 3]
Generated Node #0,0,0: 55:[15, 3] Operation: 8-5=3
Exploring Operation: 8+5=13, Resulting Numbers: [15, 13]
Generated Node #0,0,1: 55:[15, 13] Operation: 8+5=13
Exploring Operation: 15-5=10, Resulting Numbers: [8, 10]
Generated Node #0,0,2: 55:[8, 10] Operation: 15-5=10
Exploring Operation: 15-8=7, Resulting Numbers: [5, 7]
Generated Node #0,0,3: 55:[5, 7] Operation: 15-8=7
Exploring Operation: 15/5=3, Resulting Numbers: [8, 3]
Generated Node #0,0,4: 55:[8, 3] Operation: 15/5=3
Moving to Node #0,3
Current State: 55:[8, 16, 6], Operations: ['21-15=6']
Exploring Operation: 16-6=10, Resulting Numbers: [8, 10]
Generated Node #0,3,0: 55:[8, 10] Operation: 16-6=10
Exploring Operation: 16/8=2, Resulting Numbers: [6, 2]
Generated Node #0,3,1: 55:[6, 2] Operation: 16/8=2
Exploring Operation: 16-8=8, Resulting Numbers: [6, 8]
Generated Node #0,3,2: 55:[6, 8] Operation: 16-8=8
Exploring Operation: 8+6=14, Resulting Numbers: [16, 14]
Generated Node #0,3,3: 55:[16, 14] Operation: 8+6=14
Exploring Operation: 8-6=2, Resulting Numbers: [16, 2]
Generated Node #0,3,4: 55:[16, 2] Operation: 8-6=2
Moving to Node #0,1
Current State: 55:[15, 16, 13], Operations: ['21-8=13']
Exploring Operation: 16-15=1, Resulting Numbers: [13, 1]
Generated Node #0,1,0: 55:[13, 1] Operation: 16-15=1
Exploring Operation: 16-13=3, Resulting Numbers: [15, 3]
Generated Node #0,1,1: 55:[15, 3] Operation: 16-13=3
Exploring Operation: 15+16=31, Resulting Numbers: [13, 31]
Generated Node #0,1,2: 55:[13, 31] Operation: 15+16=31
Exploring Operation: 15-13=2, Resulting Numbers: [16, 2]
Generated Node #0,1,3: 55:[16, 2] Operation: 15-13=2
Exploring Operation: 15+13=28, Resulting Numbers: [16, 28]
Generated Node #0,1,4: 55:[16, 28] Operation: 15+13=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 55:[13, 1], Operations: ['21-8=13', '16-15=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[15, 3], Operations: ['21-8=13', '16-13=3']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 55:[16, 2], Operations: ['21-8=13', '15-13=2']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,55 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 55:[13, 31], Operations: ['21-8=13', '15+16=31']
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,55 unequal: No Solution
Exploring Operation: 13*31=403, Resulting Numbers: [403]
403,55 unequal: No Solution
Exploring Operation: 13+31=44, Resulting Numbers: [44]
44,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 55:[16, 28], Operations: ['21-8=13', '15+13=28']
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 16+28=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 16*28=448, Resulting Numbers: [448]
448,55 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: 55:[15, 21, 8], Operations: ['16-8=8']
Exploring Operation: 15+21=36, Resulting Numbers: [8, 36]
Generated Node #0,2,0: 55:[8, 36] Operation: 15+21=36
Exploring Operation: 21-8=13, Resulting Numbers: [15, 13]
Generated Node #0,2,1: 55:[15, 13] Operation: 21-8=13
Exploring Operation: 21-15=6, Resulting Numbers: [8, 6]
Generated Node #0,2,2: 55:[8, 6] Operation: 21-15=6
Exploring Operation: 15-8=7, Resulting Numbers: [21, 7]
Generated Node #0,2,3: 55:[21, 7] Operation: 15-8=7
Exploring Operation: 15+8=23, Resulting Numbers: [21, 23]
Generated Node #0,2,4: 55:[21, 23] Operation: 15+8=23
Moving to Node #0,4
Current State: 55:[21, 16, 7], Operations: ['15-8=7']
Exploring Operation: 21+16=37, Resulting Numbers: [7, 37]
Generated Node #0,4,0: 55:[7, 37] Operation: 21+16=37
Exploring Operation: 21/7=3, Resulting Numbers: [16, 3]
Generated Node #0,4,1: 55:[16, 3] Operation: 21/7=3
Exploring Operation: 16-7=9, Resulting Numbers: [21, 9]
Generated Node #0,4,2: 55:[21, 9] Operation: 16-7=9
Exploring Operation: 21-7=14, Resulting Numbers: [16, 14]
Generated Node #0,4,3: 55:[16, 14] Operation: 21-7=14
Exploring Operation: 21-16=5, Resulting Numbers: [7, 5]
Generated Node #0,4,4: 55:[7, 5] Operation: 21-16=5
Moving to Node #0,0,3
Current State: 55:[5, 7], Operations: ['21-16=5', '15-8=7']
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,55 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Moving to Node #0,4,4
Current State: 55:[7, 5], Operations: ['15-8=7', '21-16=5']
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,55 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Moving to Node #0,3,0
Current State: 55:[8, 10], Operations: ['21-15=6', '16-6=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,55 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,55 unequal: No Solution
Moving to Node #0,3,1
Current State: 55:[6, 2], Operations: ['21-15=6', '16/8=2']
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Moving to Node #0,2,2
Current State: 55:[8, 6], Operations: ['16-8=8', '21-15=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[8, 10], Operations: ['21-16=5', '15-5=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,55 unequal: No Solution
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,55 unequal: No Solution
Moving to Node #0,3,2
Current State: 55:[6, 8], Operations: ['21-15=6', '16-8=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Moving to Node #0,0,4
Current State: 55:[8, 3], Operations: ['21-16=5', '15/5=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,55 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,55 unequal: No Solution
Moving to Node #0,2,1
Current State: 55:[15, 13], Operations: ['16-8=8', '21-8=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[15, 13], Operations: ['21-16=5', '8+5=13']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[15, 3], Operations: ['21-16=5', '8-5=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,55 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Moving to Node #0,4,1
Current State: 55:[16, 3], Operations: ['15-8=7', '21/7=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Moving to Node #0,4,3
Current State: 55:[16, 14], Operations: ['15-8=7', '21-7=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,55 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,55 unequal: No Solution
Moving to Node #0,3,4
Current State: 55:[16, 2], Operations: ['21-15=6', '8-6=2']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,55 unequal: No Solution
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Moving to Node #0,3,3
Current State: 55:[16, 14], Operations: ['21-15=6', '8+6=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,55 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,55 unequal: No Solution
Moving to Node #0,4,2
Current State: 55:[21, 9], Operations: ['15-8=7', '16-7=9']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,55 unequal: No Solution
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,55 unequal: No Solution
Moving to Node #0,2,3
Current State: 55:[21, 7], Operations: ['16-8=8', '15-8=7']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Exploring Operation: 21*7=147, Resulting Numbers: [147]
147,55 unequal: No Solution
Moving to Node #0,4,0
Current State: 55:[7, 37], Operations: ['15-8=7', '21+16=37']
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 7*37=259, Resulting Numbers: [259]
259,55 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,55 unequal: No Solution
Moving to Node #0,2,0
Current State: 55:[8, 36], Operations: ['16-8=8', '15+21=36']
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,55 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Moving to Node #0,2,4
Current State: 55:[21, 23], Operations: ['16-8=8', '15+8=23']
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,55 unequal: No Solution
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,55 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
81,
46,
84,
86
] | 37 | [
"81-46=35",
"86-84=2",
"35+2=37"
] | Current State: 37:[81, 46, 84, 86], Operations: []
Exploring Operation: 81-46=35, Resulting Numbers: [84, 86, 35]
Generated Node #2: [84, 86, 35] from Operation: 81-46=35
Current State: 37:[84, 86, 35], Operations: ['81-46=35']
Exploring Operation: 86-84=2, Resulting Numbers: [35, 2]
Generated Node #3: [35, 2] from Operation: 86-84=2
Current State: 37:[35, 2], Operations: ['81-46=35', '86-84=2']
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[81, 46, 84, 86], Operations: []
Exploring Operation: 84-81=3, Resulting Numbers: [46, 86, 3]
Generated Node #0,0: 37:[46, 86, 3] Operation: 84-81=3
Exploring Operation: 86-84=2, Resulting Numbers: [81, 46, 2]
Generated Node #0,1: 37:[81, 46, 2] Operation: 86-84=2
Exploring Operation: 86-81=5, Resulting Numbers: [46, 84, 5]
Generated Node #0,2: 37:[46, 84, 5] Operation: 86-81=5
Moving to Node #0,1
Current State: 37:[81, 46, 2], Operations: ['86-84=2']
Exploring Operation: 81-2=79, Resulting Numbers: [46, 79]
Generated Node #0,1,0: 37:[46, 79] Operation: 81-2=79
Exploring Operation: 81-46=35, Resulting Numbers: [2, 35]
Generated Node #0,1,1: 37:[2, 35] Operation: 81-46=35
Exploring Operation: 46-2=44, Resulting Numbers: [81, 44]
Generated Node #0,1,2: 37:[81, 44] Operation: 46-2=44
Moving to Node #0,2
Current State: 37:[46, 84, 5], Operations: ['86-81=5']
Exploring Operation: 46-5=41, Resulting Numbers: [84, 41]
Generated Node #0,2,0: 37:[84, 41] Operation: 46-5=41
Exploring Operation: 84-5=79, Resulting Numbers: [46, 79]
Generated Node #0,2,1: 37:[46, 79] Operation: 84-5=79
Exploring Operation: 84-46=38, Resulting Numbers: [5, 38]
Generated Node #0,2,2: 37:[5, 38] Operation: 84-46=38
Moving to Node #0,0
Current State: 37:[46, 86, 3], Operations: ['84-81=3']
Exploring Operation: 86-3=83, Resulting Numbers: [46, 83]
Generated Node #0,0,0: 37:[46, 83] Operation: 86-3=83
Exploring Operation: 86-46=40, Resulting Numbers: [3, 40]
Generated Node #0,0,1: 37:[3, 40] Operation: 86-46=40
Exploring Operation: 46-3=43, Resulting Numbers: [86, 43]
Generated Node #0,0,2: 37:[86, 43] Operation: 46-3=43
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[3, 40], Operations: ['84-81=3', '86-46=40']
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,37 unequal: No Solution
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,37 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[81, 46, 84, 86], Operations: []
Exploring Operation: 84-81=3, Resulting Numbers: [46, 86, 3]
Generated Node #0,0: 37:[46, 86, 3] Operation: 84-81=3
Moving to Node #0,0
Current State: 37:[46, 86, 3], Operations: ['84-81=3']
Exploring Operation: 86-46=40, Resulting Numbers: [3, 40]
Generated Node #0,0,1: 37:[3, 40] Operation: 86-46=40
Moving to Node #0,0,1
Current State: 37:[3, 40], Operations: ['84-81=3', '86-46=40']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
41,
42,
37,
88
] | 80 | [
"41-37=4",
"42*4=168",
"168-88=80"
] | Current State: 80:[41, 42, 37, 88], Operations: []
Exploring Operation: 41-37=4, Resulting Numbers: [42, 88, 4]
Generated Node #2: [42, 88, 4] from Operation: 41-37=4
Current State: 80:[42, 88, 4], Operations: ['41-37=4']
Exploring Operation: 42*4=168, Resulting Numbers: [88, 168]
Generated Node #3: [88, 168] from Operation: 42*4=168
Current State: 80:[88, 168], Operations: ['41-37=4', '42*4=168']
Exploring Operation: 168-88=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[41, 42, 37, 88], Operations: []
Exploring Operation: 41-37=4, Resulting Numbers: [42, 88, 4]
Generated Node #0,0: 80:[42, 88, 4] Operation: 41-37=4
Exploring Operation: 42+37=79, Resulting Numbers: [41, 88, 79]
Generated Node #0,1: 80:[41, 88, 79] Operation: 42+37=79
Exploring Operation: 42-37=5, Resulting Numbers: [41, 88, 5]
Generated Node #0,2: 80:[41, 88, 5] Operation: 42-37=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[41, 88, 5], Operations: ['42-37=5']
Exploring Operation: 88-5=83, Resulting Numbers: [41, 83]
Generated Node #0,2,0: 80:[41, 83] Operation: 88-5=83
Exploring Operation: 41-5=36, Resulting Numbers: [88, 36]
Generated Node #0,2,1: 80:[88, 36] Operation: 41-5=36
Exploring Operation: 88-41=47, Resulting Numbers: [5, 47]
Generated Node #0,2,2: 80:[5, 47] Operation: 88-41=47
Moving to Node #0,2,0
Current State: 80:[41, 83], Operations: ['42-37=5', '88-5=83']
Exploring Operation: 41+83=124, Resulting Numbers: [124]
124,80 unequal: No Solution
Exploring Operation: 41*83=3403, Resulting Numbers: [3403]
3403,80 unequal: No Solution
Exploring Operation: 83-41=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Moving to Node #0,2,2
Current State: 80:[5, 47], Operations: ['42-37=5', '88-41=47']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,80 unequal: No Solution
Moving to Node #0,2,1
Current State: 80:[88, 36], Operations: ['42-37=5', '41-5=36']
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,80 unequal: No Solution
Exploring Operation: 88+36=124, Resulting Numbers: [124]
124,80 unequal: No Solution
Exploring Operation: 88*36=3168, Resulting Numbers: [3168]
3168,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
Current State: 80:[42, 88, 4], Operations: ['41-37=4']
Exploring Operation: 88-42=46, Resulting Numbers: [4, 46]
Generated Node #0,0,0: 80:[4, 46] Operation: 88-42=46
Exploring Operation: 88-4=84, Resulting Numbers: [42, 84]
Generated Node #0,0,1: 80:[42, 84] Operation: 88-4=84
Exploring Operation: 88/4=22, Resulting Numbers: [42, 22]
Generated Node #0,0,2: 80:[42, 22] Operation: 88/4=22
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 80:[42, 22], Operations: ['41-37=4', '88/4=22']
Exploring Operation: 42+22=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 42*22=924, Resulting Numbers: [924]
924,80 unequal: No Solution
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,80 unequal: No Solution
No 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: 80:[4, 46], Operations: ['41-37=4', '88-42=46']
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,80 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,80 unequal: No Solution
No 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: 80:[42, 84], Operations: ['41-37=4', '88-4=84']
Exploring Operation: 84/42=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 42+84=126, Resulting Numbers: [126]
126,80 unequal: No Solution
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,80 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: 80:[41, 88, 79], Operations: ['42+37=79']
Exploring Operation: 88-41=47, Resulting Numbers: [79, 47]
Generated Node #0,1,0: 80:[79, 47] Operation: 88-41=47
Exploring Operation: 79-41=38, Resulting Numbers: [88, 38]
Generated Node #0,1,1: 80:[88, 38] Operation: 79-41=38
Exploring Operation: 88-79=9, Resulting Numbers: [41, 9]
Generated Node #0,1,2: 80:[41, 9] Operation: 88-79=9
Moving to Node #0,1,2
Current State: 80:[41, 9], Operations: ['42+37=79', '88-79=9']
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,80 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,80 unequal: No Solution
Exploring Operation: 41*9=369, Resulting Numbers: [369]
369,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[79, 47], Operations: ['42+37=79', '88-41=47']
Exploring Operation: 79-47=32, Resulting Numbers: [32]
32,80 unequal: No Solution
Exploring Operation: 79*47=3713, Resulting Numbers: [3713]
3713,80 unequal: No Solution
Exploring Operation: 79+47=126, Resulting Numbers: [126]
126,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[88, 38], Operations: ['42+37=79', '79-41=38']
Exploring Operation: 88*38=3344, Resulting Numbers: [3344]
3344,80 unequal: No Solution
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,80 unequal: No Solution
Exploring Operation: 88+38=126, Resulting Numbers: [126]
126,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
91,
72,
65,
62
] | 57 | [
"91-72=19",
"65-62=3",
"19*3=57"
] | Current State: 57:[91, 72, 65, 62], Operations: []
Exploring Operation: 91-72=19, Resulting Numbers: [65, 62, 19]
Generated Node #2: [65, 62, 19] from Operation: 91-72=19
Current State: 57:[65, 62, 19], Operations: ['91-72=19']
Exploring Operation: 65-62=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 65-62=3
Current State: 57:[19, 3], Operations: ['91-72=19', '65-62=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[91, 72, 65, 62], Operations: []
Exploring Operation: 91-62=29, Resulting Numbers: [72, 65, 29]
Generated Node #0,0: 57:[72, 65, 29] Operation: 91-62=29
Exploring Operation: 72-65=7, Resulting Numbers: [91, 62, 7]
Generated Node #0,1: 57:[91, 62, 7] Operation: 72-65=7
Exploring Operation: 91-65=26, Resulting Numbers: [72, 62, 26]
Generated Node #0,2: 57:[72, 62, 26] Operation: 91-65=26
Exploring Operation: 91-72=19, Resulting Numbers: [65, 62, 19]
Generated Node #0,3: 57:[65, 62, 19] Operation: 91-72=19
Exploring Operation: 72-62=10, Resulting Numbers: [91, 65, 10]
Generated Node #0,4: 57:[91, 65, 10] Operation: 72-62=10
Moving to Node #0,3
Current State: 57:[65, 62, 19], Operations: ['91-72=19']
Exploring Operation: 65+19=84, Resulting Numbers: [62, 84]
Generated Node #0,3,0: 57:[62, 84] Operation: 65+19=84
Exploring Operation: 65-19=46, Resulting Numbers: [62, 46]
Generated Node #0,3,1: 57:[62, 46] Operation: 65-19=46
Exploring Operation: 62-19=43, Resulting Numbers: [65, 43]
Generated Node #0,3,2: 57:[65, 43] Operation: 62-19=43
Exploring Operation: 62+19=81, Resulting Numbers: [65, 81]
Generated Node #0,3,3: 57:[65, 81] Operation: 62+19=81
Exploring Operation: 65-62=3, Resulting Numbers: [19, 3]
Generated Node #0,3,4: 57:[19, 3] Operation: 65-62=3
Moving to Node #0,2
Current State: 57:[72, 62, 26], Operations: ['91-65=26']
Exploring Operation: 72-62=10, Resulting Numbers: [26, 10]
Generated Node #0,2,0: 57:[26, 10] Operation: 72-62=10
Exploring Operation: 72-26=46, Resulting Numbers: [62, 46]
Generated Node #0,2,1: 57:[62, 46] Operation: 72-26=46
Exploring Operation: 62-26=36, Resulting Numbers: [72, 36]
Generated Node #0,2,2: 57:[72, 36] Operation: 62-26=36
Exploring Operation: 72+26=98, Resulting Numbers: [62, 98]
Generated Node #0,2,3: 57:[62, 98] Operation: 72+26=98
Exploring Operation: 62+26=88, Resulting Numbers: [72, 88]
Generated Node #0,2,4: 57:[72, 88] Operation: 62+26=88
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 57:[26, 10], Operations: ['91-65=26', '72-62=10']
Exploring Operation: 26*10=260, Resulting Numbers: [260]
260,57 unequal: No Solution
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,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,2,1
Current State: 57:[62, 46], Operations: ['91-65=26', '72-26=46']
Exploring Operation: 62+46=108, Resulting Numbers: [108]
108,57 unequal: No Solution
Exploring Operation: 62-46=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 62*46=2852, Resulting Numbers: [2852]
2852,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,2,2
Current State: 57:[72, 36], Operations: ['91-65=26', '62-26=36']
Exploring Operation: 72-36=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Exploring Operation: 72*36=2592, Resulting Numbers: [2592]
2592,57 unequal: No Solution
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 72+36=108, Resulting Numbers: [108]
108,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,2,3
Current State: 57:[62, 98], Operations: ['91-65=26', '72+26=98']
Exploring Operation: 98-62=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Exploring Operation: 62+98=160, Resulting Numbers: [160]
160,57 unequal: No Solution
Exploring Operation: 62*98=6076, Resulting Numbers: [6076]
6076,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,2,4
Current State: 57:[72, 88], Operations: ['91-65=26', '62+26=88']
Exploring Operation: 88-72=16, Resulting Numbers: [16]
16,57 unequal: No Solution
Exploring Operation: 72*88=6336, Resulting Numbers: [6336]
6336,57 unequal: No Solution
Exploring Operation: 72+88=160, Resulting Numbers: [160]
160,57 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: 57:[72, 65, 29], Operations: ['91-62=29']
Exploring Operation: 72-29=43, Resulting Numbers: [65, 43]
Generated Node #0,0,0: 57:[65, 43] Operation: 72-29=43
Exploring Operation: 72-65=7, Resulting Numbers: [29, 7]
Generated Node #0,0,1: 57:[29, 7] Operation: 72-65=7
Exploring Operation: 65-29=36, Resulting Numbers: [72, 36]
Generated Node #0,0,2: 57:[72, 36] Operation: 65-29=36
Exploring Operation: 72+29=101, Resulting Numbers: [65, 101]
Generated Node #0,0,3: 57:[65, 101] Operation: 72+29=101
Exploring Operation: 65+29=94, Resulting Numbers: [72, 94]
Generated Node #0,0,4: 57:[72, 94] Operation: 65+29=94
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 57:[29, 7], Operations: ['91-62=29', '72-65=7']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,57 unequal: No Solution
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,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,0
Current State: 57:[65, 43], Operations: ['91-62=29', '72-29=43']
Exploring Operation: 65-43=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 65+43=108, Resulting Numbers: [108]
108,57 unequal: No Solution
Exploring Operation: 65*43=2795, Resulting Numbers: [2795]
2795,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,2
Current State: 57:[72, 36], Operations: ['91-62=29', '65-29=36']
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 72-36=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Exploring Operation: 72*36=2592, Resulting Numbers: [2592]
2592,57 unequal: No Solution
Exploring Operation: 72+36=108, Resulting Numbers: [108]
108,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,3
Current State: 57:[65, 101], Operations: ['91-62=29', '72+29=101']
Exploring Operation: 101-65=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Exploring Operation: 65+101=166, Resulting Numbers: [166]
166,57 unequal: No Solution
Exploring Operation: 65*101=6565, Resulting Numbers: [6565]
6565,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,4
Current State: 57:[72, 94], Operations: ['91-62=29', '65+29=94']
Exploring Operation: 72+94=166, Resulting Numbers: [166]
166,57 unequal: No Solution
Exploring Operation: 94-72=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 72*94=6768, Resulting Numbers: [6768]
6768,57 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: 57:[91, 62, 7], Operations: ['72-65=7']
Exploring Operation: 91-62=29, Resulting Numbers: [7, 29]
Generated Node #0,1,0: 57:[7, 29] Operation: 91-62=29
Exploring Operation: 91+7=98, Resulting Numbers: [62, 98]
Generated Node #0,1,1: 57:[62, 98] Operation: 91+7=98
Exploring Operation: 62-7=55, Resulting Numbers: [91, 55]
Generated Node #0,1,2: 57:[91, 55] Operation: 62-7=55
Exploring Operation: 91/7=13, Resulting Numbers: [62, 13]
Generated Node #0,1,3: 57:[62, 13] Operation: 91/7=13
Exploring Operation: 91-7=84, Resulting Numbers: [62, 84]
Generated Node #0,1,4: 57:[62, 84] Operation: 91-7=84
Moving to Node #0,4
Current State: 57:[91, 65, 10], Operations: ['72-62=10']
Exploring Operation: 65+10=75, Resulting Numbers: [91, 75]
Generated Node #0,4,0: 57:[91, 75] Operation: 65+10=75
Exploring Operation: 91-65=26, Resulting Numbers: [10, 26]
Generated Node #0,4,1: 57:[10, 26] Operation: 91-65=26
Exploring Operation: 91+10=101, Resulting Numbers: [65, 101]
Generated Node #0,4,2: 57:[65, 101] Operation: 91+10=101
Exploring Operation: 91-10=81, Resulting Numbers: [65, 81]
Generated Node #0,4,3: 57:[65, 81] Operation: 91-10=81
Exploring Operation: 65-10=55, Resulting Numbers: [91, 55]
Generated Node #0,4,4: 57:[91, 55] Operation: 65-10=55
Moving to Node #0,3,4
Current State: 57:[19, 3], Operations: ['91-72=19', '65-62=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[91, 72, 65, 62], Operations: []
Exploring Operation: 91-72=19, Resulting Numbers: [65, 62, 19]
Generated Node #0,3: 57:[65, 62, 19] Operation: 91-72=19
Moving to Node #0,3
Current State: 57:[65, 62, 19], Operations: ['91-72=19']
Exploring Operation: 65-62=3, Resulting Numbers: [19, 3]
Generated Node #0,3,4: 57:[19, 3] Operation: 65-62=3
Moving to Node #0,3,4
Current State: 57:[19, 3], Operations: ['91-72=19', '65-62=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.940972 | hs_5 | mult_heuristic |
[
14,
49,
9,
8
] | 69 | [
"14*9=126",
"49+8=57",
"126-57=69"
] | Current State: 69:[14, 49, 9, 8], Operations: []
Exploring Operation: 14*9=126, Resulting Numbers: [49, 8, 126]
Generated Node #2: [49, 8, 126] from Operation: 14*9=126
Current State: 69:[49, 8, 126], Operations: ['14*9=126']
Exploring Operation: 49+8=57, Resulting Numbers: [126, 57]
Generated Node #3: [126, 57] from Operation: 49+8=57
Current State: 69:[126, 57], Operations: ['14*9=126', '49+8=57']
Exploring Operation: 126-57=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[14, 49, 9, 8], Operations: []
Exploring Operation: 14+49=63, Resulting Numbers: [9, 8, 63]
Generated Node #0,0: 69:[9, 8, 63] Operation: 14+49=63
Exploring Operation: 14-9=5, Resulting Numbers: [49, 8, 5]
Generated Node #0,1: 69:[49, 8, 5] Operation: 14-9=5
Exploring Operation: 49+9=58, Resulting Numbers: [14, 8, 58]
Generated Node #0,2: 69:[14, 8, 58] Operation: 49+9=58
Exploring Operation: 49-14=35, Resulting Numbers: [9, 8, 35]
Generated Node #0,3: 69:[9, 8, 35] Operation: 49-14=35
Exploring Operation: 14+9=23, Resulting Numbers: [49, 8, 23]
Generated Node #0,4: 69:[49, 8, 23] Operation: 14+9=23
Moving to Node #0,0
Current State: 69:[9, 8, 63], Operations: ['14+49=63']
Exploring Operation: 9-8=1, Resulting Numbers: [63, 1]
Generated Node #0,0,0: 69:[63, 1] Operation: 9-8=1
Exploring Operation: 8+63=71, Resulting Numbers: [9, 71]
Generated Node #0,0,1: 69:[9, 71] Operation: 8+63=71
Exploring Operation: 63/9=7, Resulting Numbers: [8, 7]
Generated Node #0,0,2: 69:[8, 7] Operation: 63/9=7
Exploring Operation: 9*8=72, Resulting Numbers: [63, 72]
Generated Node #0,0,3: 69:[63, 72] Operation: 9*8=72
Exploring Operation: 9+63=72, Resulting Numbers: [8, 72]
Generated Node #0,0,4: 69:[8, 72] Operation: 9+63=72
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[63, 1], Operations: ['14+49=63', '9-8=1']
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,69 unequal: No Solution
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,69 unequal: No Solution
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,69 unequal: No Solution
No 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: 69:[9, 71], Operations: ['14+49=63', '8+63=71']
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 9*71=639, Resulting Numbers: [639]
639,69 unequal: No Solution
Exploring Operation: 9+71=80, Resulting Numbers: [80]
80,69 unequal: No Solution
No 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: 69:[8, 72], Operations: ['14+49=63', '9+63=72']
Exploring Operation: 8+72=80, Resulting Numbers: [80]
80,69 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 8*72=576, Resulting Numbers: [576]
576,69 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,69 unequal: No Solution
No 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: 69:[8, 7], Operations: ['14+49=63', '63/9=7']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,69 unequal: No Solution
No 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: 69:[63, 72], Operations: ['14+49=63', '9*8=72']
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 63*72=4536, Resulting Numbers: [4536]
4536,69 unequal: No Solution
Exploring Operation: 63+72=135, Resulting Numbers: [135]
135,69 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: 69:[9, 8, 35], Operations: ['49-14=35']
Exploring Operation: 9*8=72, Resulting Numbers: [35, 72]
Generated Node #0,3,0: 69:[35, 72] Operation: 9*8=72
Exploring Operation: 9-8=1, Resulting Numbers: [35, 1]
Generated Node #0,3,1: 69:[35, 1] Operation: 9-8=1
Exploring Operation: 9+8=17, Resulting Numbers: [35, 17]
Generated Node #0,3,2: 69:[35, 17] Operation: 9+8=17
Exploring Operation: 35-9=26, Resulting Numbers: [8, 26]
Generated Node #0,3,3: 69:[8, 26] Operation: 35-9=26
Exploring Operation: 35-8=27, Resulting Numbers: [9, 27]
Generated Node #0,3,4: 69:[9, 27] Operation: 35-8=27
Moving to Node #0,2
Current State: 69:[14, 8, 58], Operations: ['49+9=58']
Exploring Operation: 58-14=44, Resulting Numbers: [8, 44]
Generated Node #0,2,0: 69:[8, 44] Operation: 58-14=44
Exploring Operation: 14+8=22, Resulting Numbers: [58, 22]
Generated Node #0,2,1: 69:[58, 22] Operation: 14+8=22
Exploring Operation: 14-8=6, Resulting Numbers: [58, 6]
Generated Node #0,2,2: 69:[58, 6] Operation: 14-8=6
Exploring Operation: 8+58=66, Resulting Numbers: [14, 66]
Generated Node #0,2,3: 69:[14, 66] Operation: 8+58=66
Exploring Operation: 14+58=72, Resulting Numbers: [8, 72]
Generated Node #0,2,4: 69:[8, 72] Operation: 14+58=72
Moving to Node #0,4
Current State: 69:[49, 8, 23], Operations: ['14+9=23']
Exploring Operation: 49-23=26, Resulting Numbers: [8, 26]
Generated Node #0,4,0: 69:[8, 26] Operation: 49-23=26
Exploring Operation: 49-8=41, Resulting Numbers: [23, 41]
Generated Node #0,4,1: 69:[23, 41] Operation: 49-8=41
Exploring Operation: 49+23=72, Resulting Numbers: [8, 72]
Generated Node #0,4,2: 69:[8, 72] Operation: 49+23=72
Exploring Operation: 49+8=57, Resulting Numbers: [23, 57]
Generated Node #0,4,3: 69:[23, 57] Operation: 49+8=57
Exploring Operation: 8+23=31, Resulting Numbers: [49, 31]
Generated Node #0,4,4: 69:[49, 31] Operation: 8+23=31
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 69:[8, 26], Operations: ['14+9=23', '49-23=26']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,69 unequal: No Solution
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,69 unequal: No Solution
No 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: 69:[8, 72], Operations: ['14+9=23', '49+23=72']
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 8+72=80, Resulting Numbers: [80]
80,69 unequal: No Solution
Exploring Operation: 8*72=576, Resulting Numbers: [576]
576,69 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,69 unequal: No Solution
No 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: 69:[23, 57], Operations: ['14+9=23', '49+8=57']
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,69 unequal: No Solution
Exploring Operation: 23*57=1311, Resulting Numbers: [1311]
1311,69 unequal: No Solution
Exploring Operation: 23+57=80, Resulting Numbers: [80]
80,69 unequal: No Solution
No 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: 69:[23, 41], Operations: ['14+9=23', '49-8=41']
Exploring Operation: 23+41=64, Resulting Numbers: [64]
64,69 unequal: No Solution
Exploring Operation: 23*41=943, Resulting Numbers: [943]
943,69 unequal: No Solution
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,69 unequal: No Solution
No 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: 69:[49, 31], Operations: ['14+9=23', '8+23=31']
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,69 unequal: No Solution
Exploring Operation: 49*31=1519, Resulting Numbers: [1519]
1519,69 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: 69:[49, 8, 5], Operations: ['14-9=5']
Exploring Operation: 49-5=44, Resulting Numbers: [8, 44]
Generated Node #0,1,0: 69:[8, 44] Operation: 49-5=44
Exploring Operation: 49+5=54, Resulting Numbers: [8, 54]
Generated Node #0,1,1: 69:[8, 54] Operation: 49+5=54
Exploring Operation: 8-5=3, Resulting Numbers: [49, 3]
Generated Node #0,1,2: 69:[49, 3] Operation: 8-5=3
Exploring Operation: 49+8=57, Resulting Numbers: [5, 57]
Generated Node #0,1,3: 69:[5, 57] Operation: 49+8=57
Exploring Operation: 49-8=41, Resulting Numbers: [5, 41]
Generated Node #0,1,4: 69:[5, 41] Operation: 49-8=41
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 69:[5, 57], Operations: ['14-9=5', '49+8=57']
Exploring Operation: 5*57=285, Resulting Numbers: [285]
285,69 unequal: No Solution
Exploring Operation: 5+57=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,69 unequal: No Solution
No 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: 69:[8, 54], Operations: ['14-9=5', '49+5=54']
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Exploring Operation: 8*54=432, Resulting Numbers: [432]
432,69 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,69 unequal: No Solution
No 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: 69:[49, 3], Operations: ['14-9=5', '8-5=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,69 unequal: No Solution
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,69 unequal: No Solution
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,69 unequal: No Solution
No 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: 69:[5, 41], Operations: ['14-9=5', '49-8=41']
Exploring Operation: 5*41=205, Resulting Numbers: [205]
205,69 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,69 unequal: No Solution
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,69 unequal: No Solution
No 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: 69:[8, 44], Operations: ['14-9=5', '49-5=44']
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,69 unequal: No Solution
Exploring Operation: 8+44=52, Resulting Numbers: [52]
52,69 unequal: No Solution
Exploring Operation: 8*44=352, Resulting Numbers: [352]
352,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 69:[8, 26], Operations: ['49-14=35', '35-9=26']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,69 unequal: No Solution
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,69 unequal: No Solution
Moving to Node #0,2,4
Current State: 69:[8, 72], Operations: ['49+9=58', '14+58=72']
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,69 unequal: No Solution
Exploring Operation: 8+72=80, Resulting Numbers: [80]
80,69 unequal: No Solution
Exploring Operation: 8*72=576, Resulting Numbers: [576]
576,69 unequal: No Solution
Moving to Node #0,3,4
Current State: 69:[9, 27], Operations: ['49-14=35', '35-8=27']
Exploring Operation: 9*27=243, Resulting Numbers: [243]
243,69 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[58, 22], Operations: ['49+9=58', '14+8=22']
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,69 unequal: No Solution
Exploring Operation: 58+22=80, Resulting Numbers: [80]
80,69 unequal: No Solution
Exploring Operation: 58*22=1276, Resulting Numbers: [1276]
1276,69 unequal: No Solution
Moving to Node #0,2,3
Current State: 69:[14, 66], Operations: ['49+9=58', '8+58=66']
Exploring Operation: 14*66=924, Resulting Numbers: [924]
924,69 unequal: No Solution
Exploring Operation: 14+66=80, Resulting Numbers: [80]
80,69 unequal: No Solution
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,69 unequal: No Solution
Moving to Node #0,3,1
Current State: 69:[35, 1], Operations: ['49-14=35', '9-8=1']
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,69 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,69 unequal: No Solution
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,69 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[58, 6], Operations: ['49+9=58', '14-8=6']
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,69 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,69 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,69 unequal: No Solution
Moving to Node #0,3,0
Current State: 69:[35, 72], Operations: ['49-14=35', '9*8=72']
Exploring Operation: 35*72=2520, Resulting Numbers: [2520]
2520,69 unequal: No Solution
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,69 unequal: No Solution
Exploring Operation: 35+72=107, Resulting Numbers: [107]
107,69 unequal: No Solution
Moving to Node #0,3,2
Current State: 69:[35, 17], Operations: ['49-14=35', '9+8=17']
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,69 unequal: No Solution
Exploring Operation: 35*17=595, Resulting Numbers: [595]
595,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[8, 44], Operations: ['49+9=58', '58-14=44']
Exploring Operation: 8+44=52, Resulting Numbers: [52]
52,69 unequal: No Solution
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,69 unequal: No Solution
Exploring Operation: 8*44=352, Resulting Numbers: [352]
352,69 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
76,
56,
37,
18
] | 76 | [
"56-37=19",
"19-18=1",
"76*1=76"
] | Current State: 76:[76, 56, 37, 18], Operations: []
Exploring Operation: 56-37=19, Resulting Numbers: [76, 18, 19]
Generated Node #2: [76, 18, 19] from Operation: 56-37=19
Current State: 76:[76, 18, 19], Operations: ['56-37=19']
Exploring Operation: 19-18=1, Resulting Numbers: [76, 1]
Generated Node #3: [76, 1] from Operation: 19-18=1
Current State: 76:[76, 1], Operations: ['56-37=19', '19-18=1']
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[76, 56, 37, 18], Operations: []
Exploring Operation: 56-37=19, Resulting Numbers: [76, 18, 19]
Generated Node #0,0: 76:[76, 18, 19] Operation: 56-37=19
Exploring Operation: 56-18=38, Resulting Numbers: [76, 37, 38]
Generated Node #0,1: 76:[76, 37, 38] Operation: 56-18=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[76, 18, 19], Operations: ['56-37=19']
Exploring Operation: 76/19=4, Resulting Numbers: [18, 4]
Generated Node #0,0,0: 76:[18, 4] Operation: 76/19=4
Exploring Operation: 18+19=37, Resulting Numbers: [76, 37]
Generated Node #0,0,1: 76:[76, 37] Operation: 18+19=37
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[18, 4], Operations: ['56-37=19', '76/19=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,76 unequal: No Solution
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 76:[76, 37], Operations: ['56-37=19', '18+19=37']
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 76+37=113, Resulting Numbers: [113]
113,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[76, 37, 38], Operations: ['56-18=38']
Exploring Operation: 76-38=38, Resulting Numbers: [37, 38]
Generated Node #0,1,0: 76:[37, 38] Operation: 76-38=38
Exploring Operation: 76-37=39, Resulting Numbers: [38, 39]
Generated Node #0,1,1: 76:[38, 39] Operation: 76-37=39
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[37, 38], Operations: ['56-18=38', '76-38=38']
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 37+38=75, Resulting Numbers: [75]
75,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[38, 39], Operations: ['56-18=38', '76-37=39']
Exploring Operation: 38+39=77, Resulting Numbers: [77]
77,76 unequal: No Solution
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
24,
31,
10,
40
] | 25 | [
"24+31=55",
"40-10=30",
"55-30=25"
] | Current State: 25:[24, 31, 10, 40], Operations: []
Exploring Operation: 24+31=55, Resulting Numbers: [10, 40, 55]
Generated Node #2: [10, 40, 55] from Operation: 24+31=55
Current State: 25:[10, 40, 55], Operations: ['24+31=55']
Exploring Operation: 40-10=30, Resulting Numbers: [55, 30]
Generated Node #3: [55, 30] from Operation: 40-10=30
Current State: 25:[55, 30], Operations: ['24+31=55', '40-10=30']
Exploring Operation: 55-30=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[24, 31, 10, 40], Operations: []
Exploring Operation: 40-31=9, Resulting Numbers: [24, 10, 9]
Generated Node #0,0: 25:[24, 10, 9] Operation: 40-31=9
Exploring Operation: 40/10=4, Resulting Numbers: [24, 31, 4]
Generated Node #0,1: 25:[24, 31, 4] Operation: 40/10=4
Exploring Operation: 31-10=21, Resulting Numbers: [24, 40, 21]
Generated Node #0,2: 25:[24, 40, 21] Operation: 31-10=21
Exploring Operation: 40-24=16, Resulting Numbers: [31, 10, 16]
Generated Node #0,3: 25:[31, 10, 16] Operation: 40-24=16
Exploring Operation: 40-10=30, Resulting Numbers: [24, 31, 30]
Generated Node #0,4: 25:[24, 31, 30] Operation: 40-10=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[24, 31, 4], Operations: ['40/10=4']
Exploring Operation: 24+4=28, Resulting Numbers: [31, 28]
Generated Node #0,1,0: 25:[31, 28] Operation: 24+4=28
Exploring Operation: 31-24=7, Resulting Numbers: [4, 7]
Generated Node #0,1,1: 25:[4, 7] Operation: 31-24=7
Exploring Operation: 24-4=20, Resulting Numbers: [31, 20]
Generated Node #0,1,2: 25:[31, 20] Operation: 24-4=20
Exploring Operation: 24/4=6, Resulting Numbers: [31, 6]
Generated Node #0,1,3: 25:[31, 6] Operation: 24/4=6
Exploring Operation: 31-4=27, Resulting Numbers: [24, 27]
Generated Node #0,1,4: 25:[24, 27] Operation: 31-4=27
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[4, 7], Operations: ['40/10=4', '31-24=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,25 unequal: No Solution
No 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: 25:[24, 27], Operations: ['40/10=4', '31-4=27']
Exploring Operation: 24*27=648, Resulting Numbers: [648]
648,25 unequal: No Solution
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,25 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,25 unequal: No Solution
No 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: 25:[31, 6], Operations: ['40/10=4', '24/4=6']
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,25 unequal: No Solution
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,25 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[24, 31, 10, 40], Operations: []
Exploring Operation: 40/10=4, Resulting Numbers: [24, 31, 4]
Generated Node #0,1: 25:[24, 31, 4] Operation: 40/10=4
Moving to Node #0,1
Current State: 25:[24, 31, 4], Operations: ['40/10=4']
Exploring Operation: 24/4=6, Resulting Numbers: [31, 6]
Generated Node #0,1,3: 25:[31, 6] Operation: 24/4=6
Moving to Node #0,1,3
Current State: 25:[31, 6], Operations: ['40/10=4', '24/4=6']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
86,
64,
56,
40
] | 74 | [
"86-64=22",
"56+40=96",
"96-22=74"
] | Current State: 74:[86, 64, 56, 40], Operations: []
Exploring Operation: 86-64=22, Resulting Numbers: [56, 40, 22]
Generated Node #2: [56, 40, 22] from Operation: 86-64=22
Current State: 74:[56, 40, 22], Operations: ['86-64=22']
Exploring Operation: 56+40=96, Resulting Numbers: [22, 96]
Generated Node #3: [22, 96] from Operation: 56+40=96
Current State: 74:[22, 96], Operations: ['86-64=22', '56+40=96']
Exploring Operation: 96-22=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[86, 64, 56, 40], Operations: []
Exploring Operation: 86-64=22, Resulting Numbers: [56, 40, 22]
Generated Node #0,0: 74:[56, 40, 22] Operation: 86-64=22
Exploring Operation: 64-56=8, Resulting Numbers: [86, 40, 8]
Generated Node #0,1: 74:[86, 40, 8] Operation: 64-56=8
Exploring Operation: 86-56=30, Resulting Numbers: [64, 40, 30]
Generated Node #0,2: 74:[64, 40, 30] Operation: 86-56=30
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[64, 40, 30], Operations: ['86-56=30']
Exploring Operation: 40+30=70, Resulting Numbers: [64, 70]
Generated Node #0,2,0: 74:[64, 70] Operation: 40+30=70
Exploring Operation: 40-30=10, Resulting Numbers: [64, 10]
Generated Node #0,2,1: 74:[64, 10] Operation: 40-30=10
Exploring Operation: 64-30=34, Resulting Numbers: [40, 34]
Generated Node #0,2,2: 74:[40, 34] Operation: 64-30=34
Moving to Node #0,2,2
Current State: 74:[40, 34], Operations: ['86-56=30', '64-30=34']
Exploring Operation: 40*34=1360, Resulting Numbers: [1360]
1360,74 unequal: No Solution
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[86, 64, 56, 40], Operations: []
Exploring Operation: 86-56=30, Resulting Numbers: [64, 40, 30]
Generated Node #0,2: 74:[64, 40, 30] Operation: 86-56=30
Moving to Node #0,2
Current State: 74:[64, 40, 30], Operations: ['86-56=30']
Exploring Operation: 64-30=34, Resulting Numbers: [40, 34]
Generated Node #0,2,2: 74:[40, 34] Operation: 64-30=34
Moving to Node #0,2,2
Current State: 74:[40, 34], Operations: ['86-56=30', '64-30=34']
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
63,
68,
81,
11
] | 97 | [
"68-63=5",
"81+11=92",
"5+92=97"
] | Current State: 97:[63, 68, 81, 11], Operations: []
Exploring Operation: 68-63=5, Resulting Numbers: [81, 11, 5]
Generated Node #2: [81, 11, 5] from Operation: 68-63=5
Current State: 97:[81, 11, 5], Operations: ['68-63=5']
Exploring Operation: 81+11=92, Resulting Numbers: [5, 92]
Generated Node #3: [5, 92] from Operation: 81+11=92
Current State: 97:[5, 92], Operations: ['68-63=5', '81+11=92']
Exploring Operation: 5+92=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[63, 68, 81, 11], Operations: []
Exploring Operation: 63+11=74, Resulting Numbers: [68, 81, 74]
Generated Node #0,0: 97:[68, 81, 74] Operation: 63+11=74
Exploring Operation: 63-11=52, Resulting Numbers: [68, 81, 52]
Generated Node #0,1: 97:[68, 81, 52] Operation: 63-11=52
Exploring Operation: 68+11=79, Resulting Numbers: [63, 81, 79]
Generated Node #0,2: 97:[63, 81, 79] Operation: 68+11=79
Exploring Operation: 81+11=92, Resulting Numbers: [63, 68, 92]
Generated Node #0,3: 97:[63, 68, 92] Operation: 81+11=92
Moving to Node #0,0
Current State: 97:[68, 81, 74], Operations: ['63+11=74']
Exploring Operation: 68+81=149, Resulting Numbers: [74, 149]
Generated Node #0,0,0: 97:[74, 149] Operation: 68+81=149
Exploring Operation: 81-68=13, Resulting Numbers: [74, 13]
Generated Node #0,0,1: 97:[74, 13] Operation: 81-68=13
Exploring Operation: 68+74=142, Resulting Numbers: [81, 142]
Generated Node #0,0,2: 97:[81, 142] Operation: 68+74=142
Exploring Operation: 81+74=155, Resulting Numbers: [68, 155]
Generated Node #0,0,3: 97:[68, 155] Operation: 81+74=155
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[81, 142], Operations: ['63+11=74', '68+74=142']
Exploring Operation: 81*142=11502, Resulting Numbers: [11502]
11502,97 unequal: No Solution
Exploring Operation: 142-81=61, Resulting Numbers: [61]
61,97 unequal: No Solution
Exploring Operation: 81+142=223, Resulting Numbers: [223]
223,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[74, 149], Operations: ['63+11=74', '68+81=149']
Exploring Operation: 149-74=75, Resulting Numbers: [75]
75,97 unequal: No Solution
Exploring Operation: 74+149=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Exploring Operation: 74*149=11026, Resulting Numbers: [11026]
11026,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 97:[68, 155], Operations: ['63+11=74', '81+74=155']
Exploring Operation: 155-68=87, Resulting Numbers: [87]
87,97 unequal: No Solution
Exploring Operation: 68+155=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Exploring Operation: 68*155=10540, Resulting Numbers: [10540]
10540,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[74, 13], Operations: ['63+11=74', '81-68=13']
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,97 unequal: No Solution
Exploring Operation: 74*13=962, Resulting Numbers: [962]
962,97 unequal: No Solution
Exploring Operation: 74+13=87, Resulting Numbers: [87]
87,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 97:[63, 68, 92], Operations: ['81+11=92']
Exploring Operation: 63+68=131, Resulting Numbers: [92, 131]
Generated Node #0,3,0: 97:[92, 131] Operation: 63+68=131
Exploring Operation: 63+92=155, Resulting Numbers: [68, 155]
Generated Node #0,3,1: 97:[68, 155] Operation: 63+92=155
Exploring Operation: 92-63=29, Resulting Numbers: [68, 29]
Generated Node #0,3,2: 97:[68, 29] Operation: 92-63=29
Exploring Operation: 68-63=5, Resulting Numbers: [92, 5]
Generated Node #0,3,3: 97:[92, 5] Operation: 68-63=5
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 97:[92, 131], Operations: ['81+11=92', '63+68=131']
Exploring Operation: 92+131=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Exploring Operation: 92*131=12052, Resulting Numbers: [12052]
12052,97 unequal: No Solution
Exploring Operation: 131-92=39, Resulting Numbers: [39]
39,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 97:[68, 155], Operations: ['81+11=92', '63+92=155']
Exploring Operation: 155-68=87, Resulting Numbers: [87]
87,97 unequal: No Solution
Exploring Operation: 68+155=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Exploring Operation: 68*155=10540, Resulting Numbers: [10540]
10540,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 97:[68, 29], Operations: ['81+11=92', '92-63=29']
Exploring Operation: 68-29=39, Resulting Numbers: [39]
39,97 unequal: No Solution
Exploring Operation: 68*29=1972, Resulting Numbers: [1972]
1972,97 unequal: No Solution
Exploring Operation: 68+29=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[63, 68, 81, 11], Operations: []
Exploring Operation: 81+11=92, Resulting Numbers: [63, 68, 92]
Generated Node #0,3: 97:[63, 68, 92] Operation: 81+11=92
Moving to Node #0,3
Current State: 97:[63, 68, 92], Operations: ['81+11=92']
Exploring Operation: 92-63=29, Resulting Numbers: [68, 29]
Generated Node #0,3,2: 97:[68, 29] Operation: 92-63=29
Moving to Node #0,3,2
Current State: 97:[68, 29], Operations: ['81+11=92', '92-63=29']
Exploring Operation: 68+29=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | mult_heuristic |
[
73,
67,
35,
25
] | 29 | [
"73+67=140",
"140/35=4",
"25+4=29"
] | Current State: 29:[73, 67, 35, 25], Operations: []
Exploring Operation: 73+67=140, Resulting Numbers: [35, 25, 140]
Generated Node #2: [35, 25, 140] from Operation: 73+67=140
Current State: 29:[35, 25, 140], Operations: ['73+67=140']
Exploring Operation: 140/35=4, Resulting Numbers: [25, 4]
Generated Node #3: [25, 4] from Operation: 140/35=4
Current State: 29:[25, 4], Operations: ['73+67=140', '140/35=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[73, 67, 35, 25], Operations: []
Exploring Operation: 67-25=42, Resulting Numbers: [73, 35, 42]
Generated Node #0,0: 29:[73, 35, 42] Operation: 67-25=42
Exploring Operation: 73-25=48, Resulting Numbers: [67, 35, 48]
Generated Node #0,1: 29:[67, 35, 48] Operation: 73-25=48
Exploring Operation: 73-67=6, Resulting Numbers: [35, 25, 6]
Generated Node #0,2: 29:[35, 25, 6] Operation: 73-67=6
Exploring Operation: 73-35=38, Resulting Numbers: [67, 25, 38]
Generated Node #0,3: 29:[67, 25, 38] Operation: 73-35=38
Exploring Operation: 67-35=32, Resulting Numbers: [73, 25, 32]
Generated Node #0,4: 29:[73, 25, 32] Operation: 67-35=32
Moving to Node #0,2
Current State: 29:[35, 25, 6], Operations: ['73-67=6']
Exploring Operation: 25+6=31, Resulting Numbers: [35, 31]
Generated Node #0,2,0: 29:[35, 31] Operation: 25+6=31
Exploring Operation: 35-6=29, Resulting Numbers: [25, 29]
Generated Node #0,2,1: 29:[25, 29] Operation: 35-6=29
Exploring Operation: 25-6=19, Resulting Numbers: [35, 19]
Generated Node #0,2,2: 29:[35, 19] Operation: 25-6=19
Exploring Operation: 35-25=10, Resulting Numbers: [6, 10]
Generated Node #0,2,3: 29:[6, 10] Operation: 35-25=10
Exploring Operation: 35+6=41, Resulting Numbers: [25, 41]
Generated Node #0,2,4: 29:[25, 41] Operation: 35+6=41
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 29:[25, 29], Operations: ['73-67=6', '35-6=29']
Exploring Operation: 25+29=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 25*29=725, Resulting Numbers: [725]
725,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,2,0
Current State: 29:[35, 31], Operations: ['73-67=6', '25+6=31']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,29 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,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,2,2
Current State: 29:[35, 19], Operations: ['73-67=6', '25-6=19']
Exploring Operation: 35*19=665, Resulting Numbers: [665]
665,29 unequal: No Solution
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,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,2,4
Current State: 29:[25, 41], Operations: ['73-67=6', '35+6=41']
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,29 unequal: No Solution
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,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,2,3
Current State: 29:[6, 10], Operations: ['73-67=6', '35-25=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 29:[73, 25, 32], Operations: ['67-35=32']
Exploring Operation: 73-25=48, Resulting Numbers: [32, 48]
Generated Node #0,4,0: 29:[32, 48] Operation: 73-25=48
Exploring Operation: 32-25=7, Resulting Numbers: [73, 7]
Generated Node #0,4,1: 29:[73, 7] Operation: 32-25=7
Exploring Operation: 73-32=41, Resulting Numbers: [25, 41]
Generated Node #0,4,2: 29:[25, 41] Operation: 73-32=41
Exploring Operation: 25+32=57, Resulting Numbers: [73, 57]
Generated Node #0,4,3: 29:[73, 57] Operation: 25+32=57
Exploring Operation: 73+25=98, Resulting Numbers: [32, 98]
Generated Node #0,4,4: 29:[32, 98] Operation: 73+25=98
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 29:[25, 41], Operations: ['67-35=32', '73-32=41']
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,29 unequal: No Solution
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 29:[32, 48], Operations: ['67-35=32', '73-25=48']
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 32*48=1536, Resulting Numbers: [1536]
1536,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 29:[73, 7], Operations: ['67-35=32', '32-25=7']
Exploring Operation: 73+7=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 73*7=511, Resulting Numbers: [511]
511,29 unequal: No Solution
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 29:[73, 57], Operations: ['67-35=32', '25+32=57']
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 73+57=130, Resulting Numbers: [130]
130,29 unequal: No Solution
Exploring Operation: 73*57=4161, Resulting Numbers: [4161]
4161,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 29:[32, 98], Operations: ['67-35=32', '73+25=98']
Exploring Operation: 98-32=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 32+98=130, Resulting Numbers: [130]
130,29 unequal: No Solution
Exploring Operation: 32*98=3136, Resulting Numbers: [3136]
3136,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 29:[67, 25, 38], Operations: ['73-35=38']
Exploring Operation: 25+38=63, Resulting Numbers: [67, 63]
Generated Node #0,3,0: 29:[67, 63] Operation: 25+38=63
Exploring Operation: 67+25=92, Resulting Numbers: [38, 92]
Generated Node #0,3,1: 29:[38, 92] Operation: 67+25=92
Exploring Operation: 67-38=29, Resulting Numbers: [25, 29]
Generated Node #0,3,2: 29:[25, 29] Operation: 67-38=29
Exploring Operation: 67-25=42, Resulting Numbers: [38, 42]
Generated Node #0,3,3: 29:[38, 42] Operation: 67-25=42
Exploring Operation: 38-25=13, Resulting Numbers: [67, 13]
Generated Node #0,3,4: 29:[67, 13] Operation: 38-25=13
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 29:[25, 29], Operations: ['73-35=38', '67-38=29']
Exploring Operation: 25+29=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 25*29=725, Resulting Numbers: [725]
725,29 unequal: No Solution
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 29:[38, 42], Operations: ['73-35=38', '67-25=42']
Exploring Operation: 38*42=1596, Resulting Numbers: [1596]
1596,29 unequal: No Solution
Exploring Operation: 38+42=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 29:[67, 13], Operations: ['73-35=38', '38-25=13']
Exploring Operation: 67+13=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 67*13=871, Resulting Numbers: [871]
871,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 29:[67, 63], Operations: ['73-35=38', '25+38=63']
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 67*63=4221, Resulting Numbers: [4221]
4221,29 unequal: No Solution
Exploring Operation: 67+63=130, Resulting Numbers: [130]
130,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 29:[38, 92], Operations: ['73-35=38', '67+25=92']
Exploring Operation: 38+92=130, Resulting Numbers: [130]
130,29 unequal: No Solution
Exploring Operation: 92-38=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 38*92=3496, Resulting Numbers: [3496]
3496,29 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: 29:[73, 35, 42], Operations: ['67-25=42']
Exploring Operation: 73-42=31, Resulting Numbers: [35, 31]
Generated Node #0,0,0: 29:[35, 31] Operation: 73-42=31
Exploring Operation: 73+35=108, Resulting Numbers: [42, 108]
Generated Node #0,0,1: 29:[42, 108] Operation: 73+35=108
Exploring Operation: 73-35=38, Resulting Numbers: [42, 38]
Generated Node #0,0,2: 29:[42, 38] Operation: 73-35=38
Exploring Operation: 42-35=7, Resulting Numbers: [73, 7]
Generated Node #0,0,3: 29:[73, 7] Operation: 42-35=7
Exploring Operation: 73+42=115, Resulting Numbers: [35, 115]
Generated Node #0,0,4: 29:[35, 115] Operation: 73+42=115
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[35, 31], Operations: ['67-25=42', '73-42=31']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,29 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[42, 38], Operations: ['67-25=42', '73-35=38']
Exploring Operation: 42+38=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 42*38=1596, Resulting Numbers: [1596]
1596,29 unequal: No Solution
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 29:[73, 7], Operations: ['67-25=42', '42-35=7']
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 73+7=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 73*7=511, Resulting Numbers: [511]
511,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[42, 108], Operations: ['67-25=42', '73+35=108']
Exploring Operation: 42+108=150, Resulting Numbers: [150]
150,29 unequal: No Solution
Exploring Operation: 42*108=4536, Resulting Numbers: [4536]
4536,29 unequal: No Solution
Exploring Operation: 108-42=66, Resulting Numbers: [66]
66,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 29:[35, 115], Operations: ['67-25=42', '73+42=115']
Exploring Operation: 115-35=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 35*115=4025, Resulting Numbers: [4025]
4025,29 unequal: No Solution
Exploring Operation: 35+115=150, Resulting Numbers: [150]
150,29 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: 29:[67, 35, 48], Operations: ['73-25=48']
Exploring Operation: 67+48=115, Resulting Numbers: [35, 115]
Generated Node #0,1,0: 29:[35, 115] Operation: 67+48=115
Exploring Operation: 67-35=32, Resulting Numbers: [48, 32]
Generated Node #0,1,1: 29:[48, 32] Operation: 67-35=32
Exploring Operation: 67+35=102, Resulting Numbers: [48, 102]
Generated Node #0,1,2: 29:[48, 102] Operation: 67+35=102
Exploring Operation: 48-35=13, Resulting Numbers: [67, 13]
Generated Node #0,1,3: 29:[67, 13] Operation: 48-35=13
Exploring Operation: 67-48=19, Resulting Numbers: [35, 19]
Generated Node #0,1,4: 29:[35, 19] Operation: 67-48=19
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 29:[35, 19], Operations: ['73-25=48', '67-48=19']
Exploring Operation: 35*19=665, Resulting Numbers: [665]
665,29 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,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:[48, 32], Operations: ['73-25=48', '67-35=32']
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 48*32=1536, Resulting Numbers: [1536]
1536,29 unequal: No Solution
Exploring Operation: 48+32=80, Resulting Numbers: [80]
80,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,3
Current State: 29:[67, 13], Operations: ['73-25=48', '48-35=13']
Exploring Operation: 67*13=871, Resulting Numbers: [871]
871,29 unequal: No Solution
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 67+13=80, Resulting Numbers: [80]
80,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,0
Current State: 29:[35, 115], Operations: ['73-25=48', '67+48=115']
Exploring Operation: 115-35=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 35+115=150, Resulting Numbers: [150]
150,29 unequal: No Solution
Exploring Operation: 35*115=4025, Resulting Numbers: [4025]
4025,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,2
Current State: 29:[48, 102], Operations: ['73-25=48', '67+35=102']
Exploring Operation: 48*102=4896, Resulting Numbers: [4896]
4896,29 unequal: No Solution
Exploring Operation: 102-48=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 48+102=150, Resulting Numbers: [150]
150,29 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 |
[
16,
19,
99,
52
] | 12 | [
"16+19=35",
"99-52=47",
"47-35=12"
] | Current State: 12:[16, 19, 99, 52], Operations: []
Exploring Operation: 16+19=35, Resulting Numbers: [99, 52, 35]
Generated Node #2: [99, 52, 35] from Operation: 16+19=35
Current State: 12:[99, 52, 35], Operations: ['16+19=35']
Exploring Operation: 99-52=47, Resulting Numbers: [35, 47]
Generated Node #3: [35, 47] from Operation: 99-52=47
Current State: 12:[35, 47], Operations: ['16+19=35', '99-52=47']
Exploring Operation: 47-35=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[16, 19, 99, 52], Operations: []
Exploring Operation: 99-52=47, Resulting Numbers: [16, 19, 47]
Generated Node #0,0: 12:[16, 19, 47] Operation: 99-52=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[16, 19, 47], Operations: ['99-52=47']
Exploring Operation: 47-19=28, Resulting Numbers: [16, 28]
Generated Node #0,0,0: 12:[16, 28] Operation: 47-19=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[16, 28], Operations: ['99-52=47', '47-19=28']
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[16, 19, 99, 52], Operations: []
Exploring Operation: 99-52=47, Resulting Numbers: [16, 19, 47]
Generated Node #0,0: 12:[16, 19, 47] Operation: 99-52=47
Moving to Node #0,0
Current State: 12:[16, 19, 47], Operations: ['99-52=47']
Exploring Operation: 47-19=28, Resulting Numbers: [16, 28]
Generated Node #0,0,0: 12:[16, 28] Operation: 47-19=28
Moving to Node #0,0,0
Current State: 12:[16, 28], Operations: ['99-52=47', '47-19=28']
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
46,
29,
41,
14
] | 72 | [
"46-29=17",
"41+14=55",
"17+55=72"
] | Current State: 72:[46, 29, 41, 14], Operations: []
Exploring Operation: 46-29=17, Resulting Numbers: [41, 14, 17]
Generated Node #2: [41, 14, 17] from Operation: 46-29=17
Current State: 72:[41, 14, 17], Operations: ['46-29=17']
Exploring Operation: 41+14=55, Resulting Numbers: [17, 55]
Generated Node #3: [17, 55] from Operation: 41+14=55
Current State: 72:[17, 55], Operations: ['46-29=17', '41+14=55']
Exploring Operation: 17+55=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[46, 29, 41, 14], Operations: []
Exploring Operation: 46+29=75, Resulting Numbers: [41, 14, 75]
Generated Node #0,0: 72:[41, 14, 75] Operation: 46+29=75
Exploring Operation: 46-29=17, Resulting Numbers: [41, 14, 17]
Generated Node #0,1: 72:[41, 14, 17] Operation: 46-29=17
Exploring Operation: 46-41=5, Resulting Numbers: [29, 14, 5]
Generated Node #0,2: 72:[29, 14, 5] Operation: 46-41=5
Exploring Operation: 41-29=12, Resulting Numbers: [46, 14, 12]
Generated Node #0,3: 72:[46, 14, 12] Operation: 41-29=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[41, 14, 17], Operations: ['46-29=17']
Exploring Operation: 41-17=24, Resulting Numbers: [14, 24]
Generated Node #0,1,0: 72:[14, 24] Operation: 41-17=24
Exploring Operation: 14+17=31, Resulting Numbers: [41, 31]
Generated Node #0,1,1: 72:[41, 31] Operation: 14+17=31
Exploring Operation: 41-14=27, Resulting Numbers: [17, 27]
Generated Node #0,1,2: 72:[17, 27] Operation: 41-14=27
Exploring Operation: 17-14=3, Resulting Numbers: [41, 3]
Generated Node #0,1,3: 72:[41, 3] Operation: 17-14=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[14, 24], Operations: ['46-29=17', '41-17=24']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 14*24=336, Resulting Numbers: [336]
336,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,1,2
Current State: 72:[17, 27], Operations: ['46-29=17', '41-14=27']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,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,1,3
Current State: 72:[41, 3], Operations: ['46-29=17', '17-14=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,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,1,1
Current State: 72:[41, 31], Operations: ['46-29=17', '14+17=31']
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 41+31=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[46, 29, 41, 14], Operations: []
Exploring Operation: 46-29=17, Resulting Numbers: [41, 14, 17]
Generated Node #0,1: 72:[41, 14, 17] Operation: 46-29=17
Moving to Node #0,1
Current State: 72:[41, 14, 17], Operations: ['46-29=17']
Exploring Operation: 14+17=31, Resulting Numbers: [41, 31]
Generated Node #0,1,1: 72:[41, 31] Operation: 14+17=31
Moving to Node #0,1,1
Current State: 72:[41, 31], Operations: ['46-29=17', '14+17=31']
Exploring Operation: 41+31=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_4 | mult_heuristic |
[
38,
57,
43,
44
] | 96 | [
"38+57=95",
"44-43=1",
"95+1=96"
] | Current State: 96:[38, 57, 43, 44], Operations: []
Exploring Operation: 38+57=95, Resulting Numbers: [43, 44, 95]
Generated Node #2: [43, 44, 95] from Operation: 38+57=95
Current State: 96:[43, 44, 95], Operations: ['38+57=95']
Exploring Operation: 44-43=1, Resulting Numbers: [95, 1]
Generated Node #3: [95, 1] from Operation: 44-43=1
Current State: 96:[95, 1], Operations: ['38+57=95', '44-43=1']
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[38, 57, 43, 44], Operations: []
Exploring Operation: 38+57=95, Resulting Numbers: [43, 44, 95]
Generated Node #0,0: 96:[43, 44, 95] Operation: 38+57=95
Exploring Operation: 57-38=19, Resulting Numbers: [43, 44, 19]
Generated Node #0,1: 96:[43, 44, 19] Operation: 57-38=19
Moving to Node #0,0
Current State: 96:[43, 44, 95], Operations: ['38+57=95']
Exploring Operation: 95-43=52, Resulting Numbers: [44, 52]
Generated Node #0,0,0: 96:[44, 52] Operation: 95-43=52
Exploring Operation: 44-43=1, Resulting Numbers: [95, 1]
Generated Node #0,0,1: 96:[95, 1] Operation: 44-43=1
Moving to Node #0,1
Current State: 96:[43, 44, 19], Operations: ['57-38=19']
Exploring Operation: 44-43=1, Resulting Numbers: [19, 1]
Generated Node #0,1,0: 96:[19, 1] Operation: 44-43=1
Exploring Operation: 43-19=24, Resulting Numbers: [44, 24]
Generated Node #0,1,1: 96:[44, 24] Operation: 43-19=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[19, 1], Operations: ['57-38=19', '44-43=1']
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,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:[44, 24], Operations: ['57-38=19', '43-19=24']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,96 unequal: No Solution
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 96:[95, 1], Operations: ['38+57=95', '44-43=1']
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[38, 57, 43, 44], Operations: []
Exploring Operation: 38+57=95, Resulting Numbers: [43, 44, 95]
Generated Node #0,0: 96:[43, 44, 95] Operation: 38+57=95
Moving to Node #0,0
Current State: 96:[43, 44, 95], Operations: ['38+57=95']
Exploring Operation: 44-43=1, Resulting Numbers: [95, 1]
Generated Node #0,0,1: 96:[95, 1] Operation: 44-43=1
Moving to Node #0,0,1
Current State: 96:[95, 1], Operations: ['38+57=95', '44-43=1']
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
29,
27,
7,
98
] | 90 | [
"29+27=56",
"56/7=8",
"98-8=90"
] | Current State: 90:[29, 27, 7, 98], Operations: []
Exploring Operation: 29+27=56, Resulting Numbers: [7, 98, 56]
Generated Node #2: [7, 98, 56] from Operation: 29+27=56
Current State: 90:[7, 98, 56], Operations: ['29+27=56']
Exploring Operation: 56/7=8, Resulting Numbers: [98, 8]
Generated Node #3: [98, 8] from Operation: 56/7=8
Current State: 90:[98, 8], Operations: ['29+27=56', '56/7=8']
Exploring Operation: 98-8=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[29, 27, 7, 98], Operations: []
Exploring Operation: 29-27=2, Resulting Numbers: [7, 98, 2]
Generated Node #0,0: 90:[7, 98, 2] Operation: 29-27=2
Exploring Operation: 27-7=20, Resulting Numbers: [29, 98, 20]
Generated Node #0,1: 90:[29, 98, 20] Operation: 27-7=20
Exploring Operation: 98-7=91, Resulting Numbers: [29, 27, 91]
Generated Node #0,2: 90:[29, 27, 91] Operation: 98-7=91
Exploring Operation: 98/7=14, Resulting Numbers: [29, 27, 14]
Generated Node #0,3: 90:[29, 27, 14] Operation: 98/7=14
Moving to Node #0,2
Current State: 90:[29, 27, 91], Operations: ['98-7=91']
Exploring Operation: 29-27=2, Resulting Numbers: [91, 2]
Generated Node #0,2,0: 90:[91, 2] Operation: 29-27=2
Exploring Operation: 91-27=64, Resulting Numbers: [29, 64]
Generated Node #0,2,1: 90:[29, 64] Operation: 91-27=64
Exploring Operation: 91-29=62, Resulting Numbers: [27, 62]
Generated Node #0,2,2: 90:[27, 62] Operation: 91-29=62
Exploring Operation: 29+27=56, Resulting Numbers: [91, 56]
Generated Node #0,2,3: 90:[91, 56] Operation: 29+27=56
Moving to Node #0,3
Current State: 90:[29, 27, 14], Operations: ['98/7=14']
Exploring Operation: 29-14=15, Resulting Numbers: [27, 15]
Generated Node #0,3,0: 90:[27, 15] Operation: 29-14=15
Exploring Operation: 29+14=43, Resulting Numbers: [27, 43]
Generated Node #0,3,1: 90:[27, 43] Operation: 29+14=43
Exploring Operation: 29-27=2, Resulting Numbers: [14, 2]
Generated Node #0,3,2: 90:[14, 2] Operation: 29-27=2
Exploring Operation: 27-14=13, Resulting Numbers: [29, 13]
Generated Node #0,3,3: 90:[29, 13] Operation: 27-14=13
Moving to Node #0,0
Current State: 90:[7, 98, 2], Operations: ['29-27=2']
Exploring Operation: 98/7=14, Resulting Numbers: [2, 14]
Generated Node #0,0,0: 90:[2, 14] Operation: 98/7=14
Exploring Operation: 98-7=91, Resulting Numbers: [2, 91]
Generated Node #0,0,1: 90:[2, 91] Operation: 98-7=91
Exploring Operation: 98/2=49, Resulting Numbers: [7, 49]
Generated Node #0,0,2: 90:[7, 49] Operation: 98/2=49
Exploring Operation: 98-2=96, Resulting Numbers: [7, 96]
Generated Node #0,0,3: 90:[7, 96] Operation: 98-2=96
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[2, 14], Operations: ['29-27=2', '98/7=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,90 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[2, 91], Operations: ['29-27=2', '98-7=91']
Exploring Operation: 2*91=182, Resulting Numbers: [182]
182,90 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,90 unequal: No Solution
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 90:[7, 49], Operations: ['29-27=2', '98/2=49']
Exploring Operation: 7+49=56, Resulting Numbers: [56]
56,90 unequal: No Solution
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,90 unequal: No Solution
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 7*49=343, Resulting Numbers: [343]
343,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 90:[7, 96], Operations: ['29-27=2', '98-2=96']
Exploring Operation: 7*96=672, Resulting Numbers: [672]
672,90 unequal: No Solution
Exploring Operation: 96-7=89, Resulting Numbers: [89]
89,90 unequal: No Solution
Exploring Operation: 7+96=103, Resulting Numbers: [103]
103,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 90:[29, 98, 20], Operations: ['27-7=20']
Exploring Operation: 98-29=69, Resulting Numbers: [20, 69]
Generated Node #0,1,0: 90:[20, 69] Operation: 98-29=69
Exploring Operation: 29-20=9, Resulting Numbers: [98, 9]
Generated Node #0,1,1: 90:[98, 9] Operation: 29-20=9
Exploring Operation: 98-20=78, Resulting Numbers: [29, 78]
Generated Node #0,1,2: 90:[29, 78] Operation: 98-20=78
Exploring Operation: 29+20=49, Resulting Numbers: [98, 49]
Generated Node #0,1,3: 90:[98, 49] Operation: 29+20=49
Moving to Node #0,2,0
Current State: 90:[91, 2], Operations: ['98-7=91', '29-27=2']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,90 unequal: No Solution
Exploring Operation: 91*2=182, Resulting Numbers: [182]
182,90 unequal: No Solution
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,90 unequal: No Solution
Moving to Node #0,3,2
Current State: 90:[14, 2], Operations: ['98/7=14', '29-27=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,90 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Moving to Node #0,3,0
Current State: 90:[27, 15], Operations: ['98/7=14', '29-14=15']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,90 unequal: No Solution
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,90 unequal: No Solution
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,90 unequal: No Solution
Moving to Node #0,3,3
Current State: 90:[29, 13], Operations: ['98/7=14', '27-14=13']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 29*13=377, Resulting Numbers: [377]
377,90 unequal: No Solution
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,90 unequal: No Solution
Moving to Node #0,3,1
Current State: 90:[27, 43], Operations: ['98/7=14', '29+14=43']
Exploring Operation: 27+43=70, Resulting Numbers: [70]
70,90 unequal: No Solution
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 27*43=1161, Resulting Numbers: [1161]
1161,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[98, 9], Operations: ['27-7=20', '29-20=9']
Exploring Operation: 98*9=882, Resulting Numbers: [882]
882,90 unequal: No Solution
Exploring Operation: 98+9=107, Resulting Numbers: [107]
107,90 unequal: No Solution
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,90 unequal: No Solution
Moving to Node #0,1,3
Current State: 90:[98, 49], Operations: ['27-7=20', '29+20=49']
Exploring Operation: 98/49=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 98+49=147, Resulting Numbers: [147]
147,90 unequal: No Solution
Exploring Operation: 98-49=49, Resulting Numbers: [49]
49,90 unequal: No Solution
Exploring Operation: 98*49=4802, Resulting Numbers: [4802]
4802,90 unequal: No Solution
Moving to Node #0,2,3
Current State: 90:[91, 56], Operations: ['98-7=91', '29+27=56']
Exploring Operation: 91-56=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 91*56=5096, Resulting Numbers: [5096]
5096,90 unequal: No Solution
Exploring Operation: 91+56=147, Resulting Numbers: [147]
147,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[29, 78], Operations: ['27-7=20', '98-20=78']
Exploring Operation: 29+78=107, Resulting Numbers: [107]
107,90 unequal: No Solution
Exploring Operation: 29*78=2262, Resulting Numbers: [2262]
2262,90 unequal: No Solution
Exploring Operation: 78-29=49, Resulting Numbers: [49]
49,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[27, 62], Operations: ['98-7=91', '91-29=62']
Exploring Operation: 62-27=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 27*62=1674, Resulting Numbers: [1674]
1674,90 unequal: No Solution
Exploring Operation: 27+62=89, Resulting Numbers: [89]
89,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[29, 64], Operations: ['98-7=91', '91-27=64']
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 29+64=93, Resulting Numbers: [93]
93,90 unequal: No Solution
Exploring Operation: 29*64=1856, Resulting Numbers: [1856]
1856,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[20, 69], Operations: ['27-7=20', '98-29=69']
Exploring Operation: 20*69=1380, Resulting Numbers: [1380]
1380,90 unequal: No Solution
Exploring Operation: 20+69=89, Resulting Numbers: [89]
89,90 unequal: No Solution
Exploring Operation: 69-20=49, Resulting Numbers: [49]
49,90 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
11,
32,
8,
74
] | 46 | [
"11*8=88",
"74-32=42",
"88-42=46"
] | Current State: 46:[11, 32, 8, 74], Operations: []
Exploring Operation: 11*8=88, Resulting Numbers: [32, 74, 88]
Generated Node #2: [32, 74, 88] from Operation: 11*8=88
Current State: 46:[32, 74, 88], Operations: ['11*8=88']
Exploring Operation: 74-32=42, Resulting Numbers: [88, 42]
Generated Node #3: [88, 42] from Operation: 74-32=42
Current State: 46:[88, 42], Operations: ['11*8=88', '74-32=42']
Exploring Operation: 88-42=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[11, 32, 8, 74], Operations: []
Exploring Operation: 32-11=21, Resulting Numbers: [8, 74, 21]
Generated Node #0,0: 46:[8, 74, 21] Operation: 32-11=21
Exploring Operation: 74-32=42, Resulting Numbers: [11, 8, 42]
Generated Node #0,1: 46:[11, 8, 42] Operation: 74-32=42
Exploring Operation: 74-11=63, Resulting Numbers: [32, 8, 63]
Generated Node #0,2: 46:[32, 8, 63] Operation: 74-11=63
Exploring Operation: 11-8=3, Resulting Numbers: [32, 74, 3]
Generated Node #0,3: 46:[32, 74, 3] Operation: 11-8=3
Exploring Operation: 11+32=43, Resulting Numbers: [8, 74, 43]
Generated Node #0,4: 46:[8, 74, 43] Operation: 11+32=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[11, 8, 42], Operations: ['74-32=42']
Exploring Operation: 11+8=19, Resulting Numbers: [42, 19]
Generated Node #0,1,0: 46:[42, 19] Operation: 11+8=19
Exploring Operation: 42-11=31, Resulting Numbers: [8, 31]
Generated Node #0,1,1: 46:[8, 31] Operation: 42-11=31
Exploring Operation: 8+42=50, Resulting Numbers: [11, 50]
Generated Node #0,1,2: 46:[11, 50] Operation: 8+42=50
Exploring Operation: 11+42=53, Resulting Numbers: [8, 53]
Generated Node #0,1,3: 46:[8, 53] Operation: 11+42=53
Exploring Operation: 11-8=3, Resulting Numbers: [42, 3]
Generated Node #0,1,4: 46:[42, 3] Operation: 11-8=3
Moving to Node #0,1,4
Current State: 46:[42, 3], Operations: ['74-32=42', '11-8=3']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 42*3=126, Resulting Numbers: [126]
126,46 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[42, 19], Operations: ['74-32=42', '11+8=19']
Exploring Operation: 42*19=798, Resulting Numbers: [798]
798,46 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 42+19=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[11, 50], Operations: ['74-32=42', '8+42=50']
Exploring Operation: 11+50=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 11*50=550, Resulting Numbers: [550]
550,46 unequal: No Solution
Moving to Node #0,1,3
Current State: 46:[8, 53], Operations: ['74-32=42', '11+42=53']
Exploring Operation: 8*53=424, Resulting Numbers: [424]
424,46 unequal: No Solution
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 8+53=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[8, 31], Operations: ['74-32=42', '42-11=31']
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,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,2
Current State: 46:[32, 8, 63], Operations: ['74-11=63']
Exploring Operation: 63-32=31, Resulting Numbers: [8, 31]
Generated Node #0,2,0: 46:[8, 31] Operation: 63-32=31
Exploring Operation: 32+8=40, Resulting Numbers: [63, 40]
Generated Node #0,2,1: 46:[63, 40] Operation: 32+8=40
Exploring Operation: 63-8=55, Resulting Numbers: [32, 55]
Generated Node #0,2,2: 46:[32, 55] Operation: 63-8=55
Exploring Operation: 32-8=24, Resulting Numbers: [63, 24]
Generated Node #0,2,3: 46:[63, 24] Operation: 32-8=24
Exploring Operation: 32/8=4, Resulting Numbers: [63, 4]
Generated Node #0,2,4: 46:[63, 4] Operation: 32/8=4
Moving to Node #0,2,0
Current State: 46:[8, 31], Operations: ['74-11=63', '63-32=31']
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,46 unequal: No Solution
Moving to Node #0,2,3
Current State: 46:[63, 24], Operations: ['74-11=63', '32-8=24']
Exploring Operation: 63+24=87, Resulting Numbers: [87]
87,46 unequal: No Solution
Exploring Operation: 63*24=1512, Resulting Numbers: [1512]
1512,46 unequal: No Solution
Exploring Operation: 63-24=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[32, 55], Operations: ['74-11=63', '63-8=55']
Exploring Operation: 32+55=87, Resulting Numbers: [87]
87,46 unequal: No Solution
Exploring Operation: 32*55=1760, Resulting Numbers: [1760]
1760,46 unequal: No Solution
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Moving to Node #0,2,4
Current State: 46:[63, 4], Operations: ['74-11=63', '32/8=4']
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 63*4=252, Resulting Numbers: [252]
252,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[63, 40], Operations: ['74-11=63', '32+8=40']
Exploring Operation: 63+40=103, Resulting Numbers: [103]
103,46 unequal: No Solution
Exploring Operation: 63*40=2520, Resulting Numbers: [2520]
2520,46 unequal: No Solution
Exploring Operation: 63-40=23, Resulting Numbers: [23]
23,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[8, 74, 21], Operations: ['32-11=21']
Exploring Operation: 21-8=13, Resulting Numbers: [74, 13]
Generated Node #0,0,0: 46:[74, 13] Operation: 21-8=13
Exploring Operation: 8+74=82, Resulting Numbers: [21, 82]
Generated Node #0,0,1: 46:[21, 82] Operation: 8+74=82
Exploring Operation: 74-8=66, Resulting Numbers: [21, 66]
Generated Node #0,0,2: 46:[21, 66] Operation: 74-8=66
Exploring Operation: 8+21=29, Resulting Numbers: [74, 29]
Generated Node #0,0,3: 46:[74, 29] Operation: 8+21=29
Exploring Operation: 74-21=53, Resulting Numbers: [8, 53]
Generated Node #0,0,4: 46:[8, 53] Operation: 74-21=53
Moving to Node #0,0,4
Current State: 46:[8, 53], Operations: ['32-11=21', '74-21=53']
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 8+53=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Exploring Operation: 8*53=424, Resulting Numbers: [424]
424,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[21, 66], Operations: ['32-11=21', '74-8=66']
Exploring Operation: 66-21=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 21*66=1386, Resulting Numbers: [1386]
1386,46 unequal: No Solution
Exploring Operation: 21+66=87, Resulting Numbers: [87]
87,46 unequal: No Solution
Moving to Node #0,0,3
Current State: 46:[74, 29], Operations: ['32-11=21', '8+21=29']
Exploring Operation: 74*29=2146, Resulting Numbers: [2146]
2146,46 unequal: No Solution
Exploring Operation: 74+29=103, Resulting Numbers: [103]
103,46 unequal: No Solution
Exploring Operation: 74-29=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[74, 13], Operations: ['32-11=21', '21-8=13']
Exploring Operation: 74+13=87, Resulting Numbers: [87]
87,46 unequal: No Solution
Exploring Operation: 74*13=962, Resulting Numbers: [962]
962,46 unequal: No Solution
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[21, 82], Operations: ['32-11=21', '8+74=82']
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Exploring Operation: 21*82=1722, Resulting Numbers: [1722]
1722,46 unequal: No Solution
Exploring Operation: 21+82=103, Resulting Numbers: [103]
103,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
Current State: 46:[8, 74, 43], Operations: ['11+32=43']
Exploring Operation: 8+43=51, Resulting Numbers: [74, 51]
Generated Node #0,4,0: 46:[74, 51] Operation: 8+43=51
Exploring Operation: 74-43=31, Resulting Numbers: [8, 31]
Generated Node #0,4,1: 46:[8, 31] Operation: 74-43=31
Exploring Operation: 8+74=82, Resulting Numbers: [43, 82]
Generated Node #0,4,2: 46:[43, 82] Operation: 8+74=82
Exploring Operation: 43-8=35, Resulting Numbers: [74, 35]
Generated Node #0,4,3: 46:[74, 35] Operation: 43-8=35
Exploring Operation: 74-8=66, Resulting Numbers: [43, 66]
Generated Node #0,4,4: 46:[43, 66] Operation: 74-8=66
Moving to Node #0,4,1
Current State: 46:[8, 31], Operations: ['11+32=43', '74-43=31']
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,46 unequal: No Solution
Moving to Node #0,4,4
Current State: 46:[43, 66], Operations: ['11+32=43', '74-8=66']
Exploring Operation: 43*66=2838, Resulting Numbers: [2838]
2838,46 unequal: No Solution
Exploring Operation: 66-43=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 43+66=109, Resulting Numbers: [109]
109,46 unequal: No Solution
Moving to Node #0,4,0
Current State: 46:[74, 51], Operations: ['11+32=43', '8+43=51']
Exploring Operation: 74+51=125, Resulting Numbers: [125]
125,46 unequal: No Solution
Exploring Operation: 74-51=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 74*51=3774, Resulting Numbers: [3774]
3774,46 unequal: No Solution
Moving to Node #0,4,2
Current State: 46:[43, 82], Operations: ['11+32=43', '8+74=82']
Exploring Operation: 43+82=125, Resulting Numbers: [125]
125,46 unequal: No Solution
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 43*82=3526, Resulting Numbers: [3526]
3526,46 unequal: No Solution
Moving to Node #0,4,3
Current State: 46:[74, 35], Operations: ['11+32=43', '43-8=35']
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 74*35=2590, Resulting Numbers: [2590]
2590,46 unequal: No Solution
Exploring Operation: 74+35=109, Resulting Numbers: [109]
109,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,3
Current State: 46:[32, 74, 3], Operations: ['11-8=3']
Exploring Operation: 74-32=42, Resulting Numbers: [3, 42]
Generated Node #0,3,0: 46:[3, 42] Operation: 74-32=42
Exploring Operation: 32+3=35, Resulting Numbers: [74, 35]
Generated Node #0,3,1: 46:[74, 35] Operation: 32+3=35
Exploring Operation: 32-3=29, Resulting Numbers: [74, 29]
Generated Node #0,3,2: 46:[74, 29] Operation: 32-3=29
Exploring Operation: 74-3=71, Resulting Numbers: [32, 71]
Generated Node #0,3,3: 46:[32, 71] Operation: 74-3=71
Exploring Operation: 74+3=77, Resulting Numbers: [32, 77]
Generated Node #0,3,4: 46:[32, 77] Operation: 74+3=77
Moving to Node #0,3,0
Current State: 46:[3, 42], Operations: ['11-8=3', '74-32=42']
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 3*42=126, Resulting Numbers: [126]
126,46 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Moving to Node #0,3,3
Current State: 46:[32, 71], Operations: ['11-8=3', '74-3=71']
Exploring Operation: 32+71=103, Resulting Numbers: [103]
103,46 unequal: No Solution
Exploring Operation: 32*71=2272, Resulting Numbers: [2272]
2272,46 unequal: No Solution
Exploring Operation: 71-32=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Moving to Node #0,3,2
Current State: 46:[74, 29], Operations: ['11-8=3', '32-3=29']
Exploring Operation: 74-29=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 74*29=2146, Resulting Numbers: [2146]
2146,46 unequal: No Solution
Exploring Operation: 74+29=103, Resulting Numbers: [103]
103,46 unequal: No Solution
Moving to Node #0,3,1
Current State: 46:[74, 35], Operations: ['11-8=3', '32+3=35']
Exploring Operation: 74*35=2590, Resulting Numbers: [2590]
2590,46 unequal: No Solution
Exploring Operation: 74+35=109, Resulting Numbers: [109]
109,46 unequal: No Solution
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Moving to Node #0,3,4
Current State: 46:[32, 77], Operations: ['11-8=3', '74+3=77']
Exploring Operation: 32+77=109, Resulting Numbers: [109]
109,46 unequal: No Solution
Exploring Operation: 32*77=2464, Resulting Numbers: [2464]
2464,46 unequal: No Solution
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,46 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 |
[
9,
58,
79,
74
] | 62 | [
"9+58=67",
"79-74=5",
"67-5=62"
] | Current State: 62:[9, 58, 79, 74], Operations: []
Exploring Operation: 9+58=67, Resulting Numbers: [79, 74, 67]
Generated Node #2: [79, 74, 67] from Operation: 9+58=67
Current State: 62:[79, 74, 67], Operations: ['9+58=67']
Exploring Operation: 79-74=5, Resulting Numbers: [67, 5]
Generated Node #3: [67, 5] from Operation: 79-74=5
Current State: 62:[67, 5], Operations: ['9+58=67', '79-74=5']
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[9, 58, 79, 74], Operations: []
Exploring Operation: 79-74=5, Resulting Numbers: [9, 58, 5]
Generated Node #0,0: 62:[9, 58, 5] Operation: 79-74=5
Exploring Operation: 79-9=70, Resulting Numbers: [58, 74, 70]
Generated Node #0,1: 62:[58, 74, 70] Operation: 79-9=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[9, 58, 5], Operations: ['79-74=5']
Exploring Operation: 9-5=4, Resulting Numbers: [58, 4]
Generated Node #0,0,0: 62:[58, 4] Operation: 9-5=4
Exploring Operation: 9+58=67, Resulting Numbers: [5, 67]
Generated Node #0,0,1: 62:[5, 67] Operation: 9+58=67
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[58, 4], Operations: ['79-74=5', '9-5=4']
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[9, 58, 79, 74], Operations: []
Exploring Operation: 79-74=5, Resulting Numbers: [9, 58, 5]
Generated Node #0,0: 62:[9, 58, 5] Operation: 79-74=5
Moving to Node #0,0
Current State: 62:[9, 58, 5], Operations: ['79-74=5']
Exploring Operation: 9-5=4, Resulting Numbers: [58, 4]
Generated Node #0,0,0: 62:[58, 4] Operation: 9-5=4
Moving to Node #0,0,0
Current State: 62:[58, 4], Operations: ['79-74=5', '9-5=4']
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
23,
44,
65,
36
] | 89 | [
"23*65=1495",
"44*36=1584",
"1584-1495=89"
] | Current State: 89:[23, 44, 65, 36], Operations: []
Exploring Operation: 23*65=1495, Resulting Numbers: [44, 36, 1495]
Generated Node #2: [44, 36, 1495] from Operation: 23*65=1495
Current State: 89:[44, 36, 1495], Operations: ['23*65=1495']
Exploring Operation: 44*36=1584, Resulting Numbers: [1495, 1584]
Generated Node #3: [1495, 1584] from Operation: 44*36=1584
Current State: 89:[1495, 1584], Operations: ['23*65=1495', '44*36=1584']
Exploring Operation: 1584-1495=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[23, 44, 65, 36], Operations: []
Exploring Operation: 23+65=88, Resulting Numbers: [44, 36, 88]
Generated Node #0,0: 89:[44, 36, 88] Operation: 23+65=88
Exploring Operation: 23+44=67, Resulting Numbers: [65, 36, 67]
Generated Node #0,1: 89:[65, 36, 67] Operation: 23+44=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[44, 36, 88], Operations: ['23+65=88']
Exploring Operation: 36+88=124, Resulting Numbers: [44, 124]
Generated Node #0,0,0: 89:[44, 124] Operation: 36+88=124
Exploring Operation: 44+36=80, Resulting Numbers: [88, 80]
Generated Node #0,0,1: 89:[88, 80] Operation: 44+36=80
Moving to Node #0,0,1
Current State: 89:[88, 80], Operations: ['23+65=88', '44+36=80']
Exploring Operation: 88+80=168, Resulting Numbers: [168]
168,89 unequal: No Solution
Exploring Operation: 88-80=8, Resulting Numbers: [8]
8,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[44, 124], Operations: ['23+65=88', '36+88=124']
Exploring Operation: 124-44=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Exploring Operation: 44+124=168, Resulting Numbers: [168]
168,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[65, 36, 67], Operations: ['23+44=67']
Exploring Operation: 65+36=101, Resulting Numbers: [67, 101]
Generated Node #0,1,0: 89:[67, 101] Operation: 65+36=101
Exploring Operation: 36+67=103, Resulting Numbers: [65, 103]
Generated Node #0,1,1: 89:[65, 103] Operation: 36+67=103
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 89:[67, 101], Operations: ['23+44=67', '65+36=101']
Exploring Operation: 101-67=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Exploring Operation: 67+101=168, Resulting Numbers: [168]
168,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[65, 103], Operations: ['23+44=67', '36+67=103']
Exploring Operation: 65+103=168, Resulting Numbers: [168]
168,89 unequal: No Solution
Exploring Operation: 103-65=38, Resulting Numbers: [38]
38,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
99,
39,
7,
2
] | 14 | [
"99+7=106",
"106/2=53",
"53-39=14"
] | Current State: 14:[99, 39, 7, 2], Operations: []
Exploring Operation: 99+7=106, Resulting Numbers: [39, 2, 106]
Generated Node #2: [39, 2, 106] from Operation: 99+7=106
Current State: 14:[39, 2, 106], Operations: ['99+7=106']
Exploring Operation: 106/2=53, Resulting Numbers: [39, 53]
Generated Node #3: [39, 53] from Operation: 106/2=53
Current State: 14:[39, 53], Operations: ['99+7=106', '106/2=53']
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[99, 39, 7, 2], Operations: []
Exploring Operation: 99-7=92, Resulting Numbers: [39, 2, 92]
Generated Node #0,0: 14:[39, 2, 92] Operation: 99-7=92
Exploring Operation: 99-39=60, Resulting Numbers: [7, 2, 60]
Generated Node #0,1: 14:[7, 2, 60] Operation: 99-39=60
Exploring Operation: 39-7=32, Resulting Numbers: [99, 2, 32]
Generated Node #0,2: 14:[99, 2, 32] Operation: 39-7=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[7, 2, 60], Operations: ['99-39=60']
Exploring Operation: 60/2=30, Resulting Numbers: [7, 30]
Generated Node #0,1,0: 14:[7, 30] Operation: 60/2=30
Exploring Operation: 60-2=58, Resulting Numbers: [7, 58]
Generated Node #0,1,1: 14:[7, 58] Operation: 60-2=58
Exploring Operation: 60-7=53, Resulting Numbers: [2, 53]
Generated Node #0,1,2: 14:[2, 53] Operation: 60-7=53
Moving to Node #0,1,0
Current State: 14:[7, 30], Operations: ['99-39=60', '60/2=30']
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,14 unequal: No Solution
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,14 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[2, 53], Operations: ['99-39=60', '60-7=53']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,14 unequal: No Solution
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,14 unequal: No Solution
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[7, 58], Operations: ['99-39=60', '60-2=58']
Exploring Operation: 7*58=406, Resulting Numbers: [406]
406,14 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,14 unequal: No Solution
Exploring Operation: 7+58=65, Resulting Numbers: [65]
65,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[39, 2, 92], Operations: ['99-7=92']
Exploring Operation: 92-39=53, Resulting Numbers: [2, 53]
Generated Node #0,0,0: 14:[2, 53] Operation: 92-39=53
Exploring Operation: 92/2=46, Resulting Numbers: [39, 46]
Generated Node #0,0,1: 14:[39, 46] Operation: 92/2=46
Exploring Operation: 39-2=37, Resulting Numbers: [92, 37]
Generated Node #0,0,2: 14:[92, 37] Operation: 39-2=37
Moving to Node #0,0,0
Current State: 14:[2, 53], Operations: ['99-7=92', '92-39=53']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,14 unequal: No Solution
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,14 unequal: No Solution
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[39, 46], Operations: ['99-7=92', '92/2=46']
Exploring Operation: 39+46=85, Resulting Numbers: [85]
85,14 unequal: No Solution
Exploring Operation: 39*46=1794, Resulting Numbers: [1794]
1794,14 unequal: No Solution
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[92, 37], Operations: ['99-7=92', '39-2=37']
Exploring Operation: 92+37=129, Resulting Numbers: [129]
129,14 unequal: No Solution
Exploring Operation: 92-37=55, Resulting Numbers: [55]
55,14 unequal: No Solution
Exploring Operation: 92*37=3404, Resulting Numbers: [3404]
3404,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[99, 2, 32], Operations: ['39-7=32']
Exploring Operation: 99-2=97, Resulting Numbers: [32, 97]
Generated Node #0,2,0: 14:[32, 97] Operation: 99-2=97
Exploring Operation: 32/2=16, Resulting Numbers: [99, 16]
Generated Node #0,2,1: 14:[99, 16] Operation: 32/2=16
Exploring Operation: 99-32=67, Resulting Numbers: [2, 67]
Generated Node #0,2,2: 14:[2, 67] Operation: 99-32=67
Moving to Node #0,2,2
Current State: 14:[2, 67], Operations: ['39-7=32', '99-32=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,14 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[99, 16], Operations: ['39-7=32', '32/2=16']
Exploring Operation: 99*16=1584, Resulting Numbers: [1584]
1584,14 unequal: No Solution
Exploring Operation: 99-16=83, Resulting Numbers: [83]
83,14 unequal: No Solution
Exploring Operation: 99+16=115, Resulting Numbers: [115]
115,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[32, 97], Operations: ['39-7=32', '99-2=97']
Exploring Operation: 32*97=3104, Resulting Numbers: [3104]
3104,14 unequal: No Solution
Exploring Operation: 32+97=129, Resulting Numbers: [129]
129,14 unequal: No Solution
Exploring Operation: 97-32=65, Resulting Numbers: [65]
65,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
51,
79,
75,
18
] | 73 | [
"51+79=130",
"75-18=57",
"130-57=73"
] | Current State: 73:[51, 79, 75, 18], Operations: []
Exploring Operation: 51+79=130, Resulting Numbers: [75, 18, 130]
Generated Node #2: [75, 18, 130] from Operation: 51+79=130
Current State: 73:[75, 18, 130], Operations: ['51+79=130']
Exploring Operation: 75-18=57, Resulting Numbers: [130, 57]
Generated Node #3: [130, 57] from Operation: 75-18=57
Current State: 73:[130, 57], Operations: ['51+79=130', '75-18=57']
Exploring Operation: 130-57=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[51, 79, 75, 18], Operations: []
Exploring Operation: 79-18=61, Resulting Numbers: [51, 75, 61]
Generated Node #0,0: 73:[51, 75, 61] Operation: 79-18=61
Exploring Operation: 75-18=57, Resulting Numbers: [51, 79, 57]
Generated Node #0,1: 73:[51, 79, 57] Operation: 75-18=57
Exploring Operation: 51-18=33, Resulting Numbers: [79, 75, 33]
Generated Node #0,2: 73:[79, 75, 33] Operation: 51-18=33
Exploring Operation: 51+18=69, Resulting Numbers: [79, 75, 69]
Generated Node #0,3: 73:[79, 75, 69] Operation: 51+18=69
Moving to Node #0,3
Current State: 73:[79, 75, 69], Operations: ['51+18=69']
Exploring Operation: 79+69=148, Resulting Numbers: [75, 148]
Generated Node #0,3,0: 73:[75, 148] Operation: 79+69=148
Exploring Operation: 79-69=10, Resulting Numbers: [75, 10]
Generated Node #0,3,1: 73:[75, 10] Operation: 79-69=10
Exploring Operation: 75-69=6, Resulting Numbers: [79, 6]
Generated Node #0,3,2: 73:[79, 6] Operation: 75-69=6
Exploring Operation: 79-75=4, Resulting Numbers: [69, 4]
Generated Node #0,3,3: 73:[69, 4] Operation: 79-75=4
Moving to Node #0,0
Current State: 73:[51, 75, 61], Operations: ['79-18=61']
Exploring Operation: 51+75=126, Resulting Numbers: [61, 126]
Generated Node #0,0,0: 73:[61, 126] Operation: 51+75=126
Exploring Operation: 51+61=112, Resulting Numbers: [75, 112]
Generated Node #0,0,1: 73:[75, 112] Operation: 51+61=112
Exploring Operation: 61-51=10, Resulting Numbers: [75, 10]
Generated Node #0,0,2: 73:[75, 10] Operation: 61-51=10
Exploring Operation: 75-51=24, Resulting Numbers: [61, 24]
Generated Node #0,0,3: 73:[61, 24] Operation: 75-51=24
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[75, 112], Operations: ['79-18=61', '51+61=112']
Exploring Operation: 75*112=8400, Resulting Numbers: [8400]
8400,73 unequal: No Solution
Exploring Operation: 112-75=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 75+112=187, Resulting Numbers: [187]
187,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 73:[61, 24], Operations: ['79-18=61', '75-51=24']
Exploring Operation: 61+24=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 61*24=1464, Resulting Numbers: [1464]
1464,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[61, 126], Operations: ['79-18=61', '51+75=126']
Exploring Operation: 126-61=65, Resulting Numbers: [65]
65,73 unequal: No Solution
Exploring Operation: 61+126=187, Resulting Numbers: [187]
187,73 unequal: No Solution
Exploring Operation: 61*126=7686, Resulting Numbers: [7686]
7686,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[75, 10], Operations: ['79-18=61', '61-51=10']
Exploring Operation: 75+10=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Exploring Operation: 75-10=65, Resulting Numbers: [65]
65,73 unequal: No Solution
Exploring Operation: 75*10=750, Resulting Numbers: [750]
750,73 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: 73:[51, 79, 57], Operations: ['75-18=57']
Exploring Operation: 57-51=6, Resulting Numbers: [79, 6]
Generated Node #0,1,0: 73:[79, 6] Operation: 57-51=6
Exploring Operation: 51+57=108, Resulting Numbers: [79, 108]
Generated Node #0,1,1: 73:[79, 108] Operation: 51+57=108
Exploring Operation: 51+79=130, Resulting Numbers: [57, 130]
Generated Node #0,1,2: 73:[57, 130] Operation: 51+79=130
Exploring Operation: 79-51=28, Resulting Numbers: [57, 28]
Generated Node #0,1,3: 73:[57, 28] Operation: 79-51=28
Moving to Node #0,2
Current State: 73:[79, 75, 33], Operations: ['51-18=33']
Exploring Operation: 75+33=108, Resulting Numbers: [79, 108]
Generated Node #0,2,0: 73:[79, 108] Operation: 75+33=108
Exploring Operation: 79+33=112, Resulting Numbers: [75, 112]
Generated Node #0,2,1: 73:[75, 112] Operation: 79+33=112
Exploring Operation: 75-33=42, Resulting Numbers: [79, 42]
Generated Node #0,2,2: 73:[79, 42] Operation: 75-33=42
Exploring Operation: 79-33=46, Resulting Numbers: [75, 46]
Generated Node #0,2,3: 73:[75, 46] Operation: 79-33=46
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 73:[75, 46], Operations: ['51-18=33', '79-33=46']
Exploring Operation: 75*46=3450, Resulting Numbers: [3450]
3450,73 unequal: No Solution
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,73 unequal: No Solution
Exploring Operation: 75+46=121, Resulting Numbers: [121]
121,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 73:[79, 42], Operations: ['51-18=33', '75-33=42']
Exploring Operation: 79*42=3318, Resulting Numbers: [3318]
3318,73 unequal: No Solution
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 79+42=121, Resulting Numbers: [121]
121,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 73:[79, 108], Operations: ['51-18=33', '75+33=108']
Exploring Operation: 108-79=29, Resulting Numbers: [29]
29,73 unequal: No Solution
Exploring Operation: 79+108=187, Resulting Numbers: [187]
187,73 unequal: No Solution
Exploring Operation: 79*108=8532, Resulting Numbers: [8532]
8532,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 73:[75, 112], Operations: ['51-18=33', '79+33=112']
Exploring Operation: 75+112=187, Resulting Numbers: [187]
187,73 unequal: No Solution
Exploring Operation: 112-75=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 75*112=8400, Resulting Numbers: [8400]
8400,73 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: 73:[79, 108], Operations: ['75-18=57', '51+57=108']
Exploring Operation: 79+108=187, Resulting Numbers: [187]
187,73 unequal: No Solution
Exploring Operation: 79*108=8532, Resulting Numbers: [8532]
8532,73 unequal: No Solution
Exploring Operation: 108-79=29, Resulting Numbers: [29]
29,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[57, 28], Operations: ['75-18=57', '79-51=28']
Exploring Operation: 57+28=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Exploring Operation: 57*28=1596, Resulting Numbers: [1596]
1596,73 unequal: No Solution
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[75, 10], Operations: ['51+18=69', '79-69=10']
Exploring Operation: 75+10=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Exploring Operation: 75*10=750, Resulting Numbers: [750]
750,73 unequal: No Solution
Exploring Operation: 75-10=65, Resulting Numbers: [65]
65,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[79, 6], Operations: ['75-18=57', '57-51=6']
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[51, 79, 75, 18], Operations: []
Exploring Operation: 75-18=57, Resulting Numbers: [51, 79, 57]
Generated Node #0,1: 73:[51, 79, 57] Operation: 75-18=57
Moving to Node #0,1
Current State: 73:[51, 79, 57], Operations: ['75-18=57']
Exploring Operation: 57-51=6, Resulting Numbers: [79, 6]
Generated Node #0,1,0: 73:[79, 6] Operation: 57-51=6
Moving to Node #0,1,0
Current State: 73:[79, 6], Operations: ['75-18=57', '57-51=6']
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 0.949653 | hs_4 | mult_heuristic |
[
3,
34,
16,
73
] | 13 | [
"3*34=102",
"16+73=89",
"102-89=13"
] | Current State: 13:[3, 34, 16, 73], Operations: []
Exploring Operation: 3*34=102, Resulting Numbers: [16, 73, 102]
Generated Node #2: [16, 73, 102] from Operation: 3*34=102
Current State: 13:[16, 73, 102], Operations: ['3*34=102']
Exploring Operation: 16+73=89, Resulting Numbers: [102, 89]
Generated Node #3: [102, 89] from Operation: 16+73=89
Current State: 13:[102, 89], Operations: ['3*34=102', '16+73=89']
Exploring Operation: 102-89=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[3, 34, 16, 73], Operations: []
Exploring Operation: 73-34=39, Resulting Numbers: [3, 16, 39]
Generated Node #0,0: 13:[3, 16, 39] Operation: 73-34=39
Moving to Node #0,0
Current State: 13:[3, 16, 39], Operations: ['73-34=39']
Exploring Operation: 39/3=13, Resulting Numbers: [16, 13]
Generated Node #0,0,0: 13:[16, 13] Operation: 39/3=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[16, 13], Operations: ['73-34=39', '39/3=13']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
32,
76,
38,
5
] | 62 | [
"32+38=70",
"70/5=14",
"76-14=62"
] | Current State: 62:[32, 76, 38, 5], Operations: []
Exploring Operation: 32+38=70, Resulting Numbers: [76, 5, 70]
Generated Node #2: [76, 5, 70] from Operation: 32+38=70
Current State: 62:[76, 5, 70], Operations: ['32+38=70']
Exploring Operation: 70/5=14, Resulting Numbers: [76, 14]
Generated Node #3: [76, 14] from Operation: 70/5=14
Current State: 62:[76, 14], Operations: ['32+38=70', '70/5=14']
Exploring Operation: 76-14=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[32, 76, 38, 5], Operations: []
Exploring Operation: 38-5=33, Resulting Numbers: [32, 76, 33]
Generated Node #0,0: 62:[32, 76, 33] Operation: 38-5=33
Exploring Operation: 76-38=38, Resulting Numbers: [32, 5, 38]
Generated Node #0,1: 62:[32, 5, 38] Operation: 76-38=38
Exploring Operation: 76-5=71, Resulting Numbers: [32, 38, 71]
Generated Node #0,2: 62:[32, 38, 71] Operation: 76-5=71
Exploring Operation: 76/38=2, Resulting Numbers: [32, 5, 2]
Generated Node #0,3: 62:[32, 5, 2] Operation: 76/38=2
Exploring Operation: 38-32=6, Resulting Numbers: [76, 5, 6]
Generated Node #0,4: 62:[76, 5, 6] Operation: 38-32=6
Moving to Node #0,3
Current State: 62:[32, 5, 2], Operations: ['76/38=2']
Exploring Operation: 32-2=30, Resulting Numbers: [5, 30]
Generated Node #0,3,0: 62:[5, 30] Operation: 32-2=30
Exploring Operation: 32+5=37, Resulting Numbers: [2, 37]
Generated Node #0,3,1: 62:[2, 37] Operation: 32+5=37
Exploring Operation: 32*2=64, Resulting Numbers: [5, 64]
Generated Node #0,3,2: 62:[5, 64] Operation: 32*2=64
Exploring Operation: 5-2=3, Resulting Numbers: [32, 3]
Generated Node #0,3,3: 62:[32, 3] Operation: 5-2=3
Exploring Operation: 32-5=27, Resulting Numbers: [2, 27]
Generated Node #0,3,4: 62:[2, 27] Operation: 32-5=27
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 62:[32, 3], Operations: ['76/38=2', '5-2=3']
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,62 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 62:[5, 30], Operations: ['76/38=2', '32-2=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 5*30=150, Resulting Numbers: [150]
150,62 unequal: No Solution
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 62:[2, 27], Operations: ['76/38=2', '32-5=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 62:[5, 64], Operations: ['76/38=2', '32*2=64']
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 5*64=320, Resulting Numbers: [320]
320,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 62:[2, 37], Operations: ['76/38=2', '32+5=37']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,62 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,62 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: 62:[32, 5, 38], Operations: ['76-38=38']
Exploring Operation: 38-32=6, Resulting Numbers: [5, 6]
Generated Node #0,1,0: 62:[5, 6] Operation: 38-32=6
Exploring Operation: 32+38=70, Resulting Numbers: [5, 70]
Generated Node #0,1,1: 62:[5, 70] Operation: 32+38=70
Exploring Operation: 32-5=27, Resulting Numbers: [38, 27]
Generated Node #0,1,2: 62:[38, 27] Operation: 32-5=27
Exploring Operation: 38-5=33, Resulting Numbers: [32, 33]
Generated Node #0,1,3: 62:[32, 33] Operation: 38-5=33
Exploring Operation: 32+5=37, Resulting Numbers: [38, 37]
Generated Node #0,1,4: 62:[38, 37] Operation: 32+5=37
Moving to Node #0,0
Current State: 62:[32, 76, 33], Operations: ['38-5=33']
Exploring Operation: 32+76=108, Resulting Numbers: [33, 108]
Generated Node #0,0,0: 62:[33, 108] Operation: 32+76=108
Exploring Operation: 33-32=1, Resulting Numbers: [76, 1]
Generated Node #0,0,1: 62:[76, 1] Operation: 33-32=1
Exploring Operation: 76-33=43, Resulting Numbers: [32, 43]
Generated Node #0,0,2: 62:[32, 43] Operation: 76-33=43
Exploring Operation: 76-32=44, Resulting Numbers: [33, 44]
Generated Node #0,0,3: 62:[33, 44] Operation: 76-32=44
Exploring Operation: 32+33=65, Resulting Numbers: [76, 65]
Generated Node #0,0,4: 62:[76, 65] Operation: 32+33=65
Moving to Node #0,2
Current State: 62:[32, 38, 71], Operations: ['76-5=71']
Exploring Operation: 38-32=6, Resulting Numbers: [71, 6]
Generated Node #0,2,0: 62:[71, 6] Operation: 38-32=6
Exploring Operation: 71-38=33, Resulting Numbers: [32, 33]
Generated Node #0,2,1: 62:[32, 33] Operation: 71-38=33
Exploring Operation: 71-32=39, Resulting Numbers: [38, 39]
Generated Node #0,2,2: 62:[38, 39] Operation: 71-32=39
Exploring Operation: 32+38=70, Resulting Numbers: [71, 70]
Generated Node #0,2,3: 62:[71, 70] Operation: 32+38=70
Exploring Operation: 32+71=103, Resulting Numbers: [38, 103]
Generated Node #0,2,4: 62:[38, 103] Operation: 32+71=103
Moving to Node #0,4
Current State: 62:[76, 5, 6], Operations: ['38-32=6']
Exploring Operation: 6-5=1, Resulting Numbers: [76, 1]
Generated Node #0,4,0: 62:[76, 1] Operation: 6-5=1
Exploring Operation: 76-5=71, Resulting Numbers: [6, 71]
Generated Node #0,4,1: 62:[6, 71] Operation: 76-5=71
Exploring Operation: 5*6=30, Resulting Numbers: [76, 30]
Generated Node #0,4,2: 62:[76, 30] Operation: 5*6=30
Exploring Operation: 76+5=81, Resulting Numbers: [6, 81]
Generated Node #0,4,3: 62:[6, 81] Operation: 76+5=81
Exploring Operation: 76-6=70, Resulting Numbers: [5, 70]
Generated Node #0,4,4: 62:[5, 70] Operation: 76-6=70
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 62:[5, 70], Operations: ['38-32=6', '76-6=70']
Exploring Operation: 5+70=75, Resulting Numbers: [75]
75,62 unequal: No Solution
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 5*70=350, Resulting Numbers: [350]
350,62 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 62:[6, 71], Operations: ['38-32=6', '76-5=71']
Exploring Operation: 6+71=77, Resulting Numbers: [77]
77,62 unequal: No Solution
Exploring Operation: 6*71=426, Resulting Numbers: [426]
426,62 unequal: No Solution
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 62:[76, 1], Operations: ['38-32=6', '6-5=1']
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,62 unequal: No Solution
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,62 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,62 unequal: No Solution
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 62:[76, 30], Operations: ['38-32=6', '5*6=30']
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,62 unequal: No Solution
Exploring Operation: 76+30=106, Resulting Numbers: [106]
106,62 unequal: No Solution
Exploring Operation: 76*30=2280, Resulting Numbers: [2280]
2280,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 62:[6, 81], Operations: ['38-32=6', '76+5=81']
Exploring Operation: 6+81=87, Resulting Numbers: [87]
87,62 unequal: No Solution
Exploring Operation: 6*81=486, Resulting Numbers: [486]
486,62 unequal: No Solution
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 62:[32, 33], Operations: ['76-38=38', '38-5=33']
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 32*33=1056, Resulting Numbers: [1056]
1056,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[32, 33], Operations: ['76-5=71', '71-38=33']
Exploring Operation: 32*33=1056, Resulting Numbers: [1056]
1056,62 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[5, 6], Operations: ['76-38=38', '38-32=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[5, 70], Operations: ['76-38=38', '32+38=70']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 5*70=350, Resulting Numbers: [350]
350,62 unequal: No Solution
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 5+70=75, Resulting Numbers: [75]
75,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[38, 27], Operations: ['76-38=38', '32-5=27']
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 38+27=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 38*27=1026, Resulting Numbers: [1026]
1026,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[32, 43], Operations: ['38-5=33', '76-33=43']
Exploring Operation: 32+43=75, Resulting Numbers: [75]
75,62 unequal: No Solution
Exploring Operation: 32*43=1376, Resulting Numbers: [1376]
1376,62 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[71, 6], Operations: ['76-5=71', '38-32=6']
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 71*6=426, Resulting Numbers: [426]
426,62 unequal: No Solution
Exploring Operation: 71+6=77, Resulting Numbers: [77]
77,62 unequal: No Solution
Moving to Node #0,1,4
Current State: 62:[38, 37], Operations: ['76-38=38', '32+5=37']
Exploring Operation: 38+37=75, Resulting Numbers: [75]
75,62 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 38*37=1406, Resulting Numbers: [1406]
1406,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[76, 1], Operations: ['38-5=33', '33-32=1']
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,62 unequal: No Solution
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,62 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,62 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[38, 39], Operations: ['76-5=71', '71-32=39']
Exploring Operation: 38+39=77, Resulting Numbers: [77]
77,62 unequal: No Solution
Exploring Operation: 38*39=1482, Resulting Numbers: [1482]
1482,62 unequal: No Solution
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[33, 44], Operations: ['38-5=33', '76-32=44']
Exploring Operation: 33*44=1452, Resulting Numbers: [1452]
1452,62 unequal: No Solution
Exploring Operation: 33+44=77, Resulting Numbers: [77]
77,62 unequal: No Solution
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Moving to Node #0,2,3
Current State: 62:[71, 70], Operations: ['76-5=71', '32+38=70']
Exploring Operation: 71-70=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 71*70=4970, Resulting Numbers: [4970]
4970,62 unequal: No Solution
Exploring Operation: 71+70=141, Resulting Numbers: [141]
141,62 unequal: No Solution
Moving to Node #0,0,4
Current State: 62:[76, 65], Operations: ['38-5=33', '32+33=65']
Exploring Operation: 76-65=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 76+65=141, Resulting Numbers: [141]
141,62 unequal: No Solution
Exploring Operation: 76*65=4940, Resulting Numbers: [4940]
4940,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[33, 108], Operations: ['38-5=33', '32+76=108']
Exploring Operation: 33+108=141, Resulting Numbers: [141]
141,62 unequal: No Solution
Exploring Operation: 33*108=3564, Resulting Numbers: [3564]
3564,62 unequal: No Solution
Exploring Operation: 108-33=75, Resulting Numbers: [75]
75,62 unequal: No Solution
Moving to Node #0,2,4
Current State: 62:[38, 103], Operations: ['76-5=71', '32+71=103']
Exploring Operation: 103-38=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 38*103=3914, Resulting Numbers: [3914]
3914,62 unequal: No Solution
Exploring Operation: 38+103=141, Resulting Numbers: [141]
141,62 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
43,
63,
42,
57
] | 36 | [
"63-57=6",
"42/6=7",
"43-7=36"
] | Current State: 36:[43, 63, 42, 57], Operations: []
Exploring Operation: 63-57=6, Resulting Numbers: [43, 42, 6]
Generated Node #2: [43, 42, 6] from Operation: 63-57=6
Current State: 36:[43, 42, 6], Operations: ['63-57=6']
Exploring Operation: 42/6=7, Resulting Numbers: [43, 7]
Generated Node #3: [43, 7] from Operation: 42/6=7
Current State: 36:[43, 7], Operations: ['63-57=6', '42/6=7']
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[43, 63, 42, 57], Operations: []
Exploring Operation: 63-57=6, Resulting Numbers: [43, 42, 6]
Generated Node #0,0: 36:[43, 42, 6] Operation: 63-57=6
Exploring Operation: 63-43=20, Resulting Numbers: [42, 57, 20]
Generated Node #0,1: 36:[42, 57, 20] Operation: 63-43=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[43, 42, 6], Operations: ['63-57=6']
Exploring Operation: 43-42=1, Resulting Numbers: [6, 1]
Generated Node #0,0,0: 36:[6, 1] Operation: 43-42=1
Exploring Operation: 43-6=37, Resulting Numbers: [42, 37]
Generated Node #0,0,1: 36:[42, 37] Operation: 43-6=37
Moving to Node #0,0,0
Current State: 36:[6, 1], Operations: ['63-57=6', '43-42=1']
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[42, 37], Operations: ['63-57=6', '43-6=37']
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 42+37=79, Resulting Numbers: [79]
79,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[42, 57, 20], Operations: ['63-43=20']
Exploring Operation: 57-20=37, Resulting Numbers: [42, 37]
Generated Node #0,1,0: 36:[42, 37] Operation: 57-20=37
Exploring Operation: 57-42=15, Resulting Numbers: [20, 15]
Generated Node #0,1,1: 36:[20, 15] Operation: 57-42=15
Moving to Node #0,1,1
Current State: 36:[20, 15], Operations: ['63-43=20', '57-42=15']
Exploring Operation: 20+15=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[42, 37], Operations: ['63-43=20', '57-20=37']
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 42+37=79, Resulting Numbers: [79]
79,36 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 |
[
7,
3,
48,
23
] | 100 | [
"7-3=4",
"48-23=25",
"4*25=100"
] | Current State: 100:[7, 3, 48, 23], Operations: []
Exploring Operation: 7-3=4, Resulting Numbers: [48, 23, 4]
Generated Node #2: [48, 23, 4] from Operation: 7-3=4
Current State: 100:[48, 23, 4], Operations: ['7-3=4']
Exploring Operation: 48-23=25, Resulting Numbers: [4, 25]
Generated Node #3: [4, 25] from Operation: 48-23=25
Current State: 100:[4, 25], Operations: ['7-3=4', '48-23=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[7, 3, 48, 23], Operations: []
Exploring Operation: 7+3=10, Resulting Numbers: [48, 23, 10]
Generated Node #0,0: 100:[48, 23, 10] Operation: 7+3=10
Exploring Operation: 7-3=4, Resulting Numbers: [48, 23, 4]
Generated Node #0,1: 100:[48, 23, 4] Operation: 7-3=4
Exploring Operation: 7*3=21, Resulting Numbers: [48, 23, 21]
Generated Node #0,2: 100:[48, 23, 21] Operation: 7*3=21
Exploring Operation: 48-23=25, Resulting Numbers: [7, 3, 25]
Generated Node #0,3: 100:[7, 3, 25] Operation: 48-23=25
Exploring Operation: 23-3=20, Resulting Numbers: [7, 48, 20]
Generated Node #0,4: 100:[7, 48, 20] Operation: 23-3=20
Moving to Node #0,3
Current State: 100:[7, 3, 25], Operations: ['48-23=25']
Exploring Operation: 7-3=4, Resulting Numbers: [25, 4]
Generated Node #0,3,0: 100:[25, 4] Operation: 7-3=4
Exploring Operation: 7*3=21, Resulting Numbers: [25, 21]
Generated Node #0,3,1: 100:[25, 21] Operation: 7*3=21
Exploring Operation: 25-7=18, Resulting Numbers: [3, 18]
Generated Node #0,3,2: 100:[3, 18] Operation: 25-7=18
Exploring Operation: 25-3=22, Resulting Numbers: [7, 22]
Generated Node #0,3,3: 100:[7, 22] Operation: 25-3=22
Exploring Operation: 7+3=10, Resulting Numbers: [25, 10]
Generated Node #0,3,4: 100:[25, 10] Operation: 7+3=10
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 100:[25, 4], Operations: ['48-23=25', '7-3=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,100 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[7, 3, 48, 23], Operations: []
Exploring Operation: 48-23=25, Resulting Numbers: [7, 3, 25]
Generated Node #0,3: 100:[7, 3, 25] Operation: 48-23=25
Moving to Node #0,3
Current State: 100:[7, 3, 25], Operations: ['48-23=25']
Exploring Operation: 7-3=4, Resulting Numbers: [25, 4]
Generated Node #0,3,0: 100:[25, 4] Operation: 7-3=4
Moving to Node #0,3,0
Current State: 100:[25, 4], Operations: ['48-23=25', '7-3=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
54,
74,
48,
87
] | 19 | [
"74-54=20",
"87-48=39",
"39-20=19"
] | Current State: 19:[54, 74, 48, 87], Operations: []
Exploring Operation: 74-54=20, Resulting Numbers: [48, 87, 20]
Generated Node #2: [48, 87, 20] from Operation: 74-54=20
Current State: 19:[48, 87, 20], Operations: ['74-54=20']
Exploring Operation: 87-48=39, Resulting Numbers: [20, 39]
Generated Node #3: [20, 39] from Operation: 87-48=39
Current State: 19:[20, 39], Operations: ['74-54=20', '87-48=39']
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[54, 74, 48, 87], Operations: []
Exploring Operation: 87-74=13, Resulting Numbers: [54, 48, 13]
Generated Node #0,0: 19:[54, 48, 13] Operation: 87-74=13
Exploring Operation: 74-54=20, Resulting Numbers: [48, 87, 20]
Generated Node #0,1: 19:[48, 87, 20] Operation: 74-54=20
Exploring Operation: 87-54=33, Resulting Numbers: [74, 48, 33]
Generated Node #0,2: 19:[74, 48, 33] Operation: 87-54=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[54, 48, 13], Operations: ['87-74=13']
Exploring Operation: 54-13=41, Resulting Numbers: [48, 41]
Generated Node #0,0,0: 19:[48, 41] Operation: 54-13=41
Exploring Operation: 54-48=6, Resulting Numbers: [13, 6]
Generated Node #0,0,1: 19:[13, 6] Operation: 54-48=6
Exploring Operation: 48-13=35, Resulting Numbers: [54, 35]
Generated Node #0,0,2: 19:[54, 35] Operation: 48-13=35
Moving to Node #0,0,1
Current State: 19:[13, 6], Operations: ['87-74=13', '54-48=6']
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,19 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[54, 74, 48, 87], Operations: []
Exploring Operation: 87-74=13, Resulting Numbers: [54, 48, 13]
Generated Node #0,0: 19:[54, 48, 13] Operation: 87-74=13
Moving to Node #0,0
Current State: 19:[54, 48, 13], Operations: ['87-74=13']
Exploring Operation: 54-48=6, Resulting Numbers: [13, 6]
Generated Node #0,0,1: 19:[13, 6] Operation: 54-48=6
Moving to Node #0,0,1
Current State: 19:[13, 6], Operations: ['87-74=13', '54-48=6']
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
10,
44,
1,
96
] | 42 | [
"10+44=54",
"1*96=96",
"96-54=42"
] | Current State: 42:[10, 44, 1, 96], Operations: []
Exploring Operation: 10+44=54, Resulting Numbers: [1, 96, 54]
Generated Node #2: [1, 96, 54] from Operation: 10+44=54
Current State: 42:[1, 96, 54], Operations: ['10+44=54']
Exploring Operation: 1*96=96, Resulting Numbers: [54, 96]
Generated Node #3: [54, 96] from Operation: 1*96=96
Current State: 42:[54, 96], Operations: ['10+44=54', '1*96=96']
Exploring Operation: 96-54=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[10, 44, 1, 96], Operations: []
Exploring Operation: 44-1=43, Resulting Numbers: [10, 96, 43]
Generated Node #0,0: 42:[10, 96, 43] Operation: 44-1=43
Exploring Operation: 96-1=95, Resulting Numbers: [10, 44, 95]
Generated Node #0,1: 42:[10, 44, 95] Operation: 96-1=95
Exploring Operation: 96-44=52, Resulting Numbers: [10, 1, 52]
Generated Node #0,2: 42:[10, 1, 52] Operation: 96-44=52
Exploring Operation: 10-1=9, Resulting Numbers: [44, 96, 9]
Generated Node #0,3: 42:[44, 96, 9] Operation: 10-1=9
Exploring Operation: 96-10=86, Resulting Numbers: [44, 1, 86]
Generated Node #0,4: 42:[44, 1, 86] Operation: 96-10=86
Moving to Node #0,2
Current State: 42:[10, 1, 52], Operations: ['96-44=52']
Exploring Operation: 10*1=10, Resulting Numbers: [52, 10]
Generated Node #0,2,0: 42:[52, 10] Operation: 10*1=10
Exploring Operation: 10-1=9, Resulting Numbers: [52, 9]
Generated Node #0,2,1: 42:[52, 9] Operation: 10-1=9
Exploring Operation: 52-10=42, Resulting Numbers: [1, 42]
Generated Node #0,2,2: 42:[1, 42] Operation: 52-10=42
Exploring Operation: 52-1=51, Resulting Numbers: [10, 51]
Generated Node #0,2,3: 42:[10, 51] Operation: 52-1=51
Exploring Operation: 10+1=11, Resulting Numbers: [52, 11]
Generated Node #0,2,4: 42:[52, 11] Operation: 10+1=11
Moving to Node #0,4
Current State: 42:[44, 1, 86], Operations: ['96-10=86']
Exploring Operation: 44/1=44, Resulting Numbers: [86, 44]
Generated Node #0,4,0: 42:[86, 44] Operation: 44/1=44
Exploring Operation: 86-1=85, Resulting Numbers: [44, 85]
Generated Node #0,4,1: 42:[44, 85] Operation: 86-1=85
Exploring Operation: 44-1=43, Resulting Numbers: [86, 43]
Generated Node #0,4,2: 42:[86, 43] Operation: 44-1=43
Exploring Operation: 44*1=44, Resulting Numbers: [86, 44]
Generated Node #0,4,3: 42:[86, 44] Operation: 44*1=44
Exploring Operation: 86-44=42, Resulting Numbers: [1, 42]
Generated Node #0,4,4: 42:[1, 42] Operation: 86-44=42
Moving to Node #0,0
Current State: 42:[10, 96, 43], Operations: ['44-1=43']
Exploring Operation: 43-10=33, Resulting Numbers: [96, 33]
Generated Node #0,0,0: 42:[96, 33] Operation: 43-10=33
Exploring Operation: 96-43=53, Resulting Numbers: [10, 53]
Generated Node #0,0,1: 42:[10, 53] Operation: 96-43=53
Exploring Operation: 10+43=53, Resulting Numbers: [96, 53]
Generated Node #0,0,2: 42:[96, 53] Operation: 10+43=53
Exploring Operation: 96-10=86, Resulting Numbers: [43, 86]
Generated Node #0,0,3: 42:[43, 86] Operation: 96-10=86
Exploring Operation: 10+96=106, Resulting Numbers: [43, 106]
Generated Node #0,0,4: 42:[43, 106] Operation: 10+96=106
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[10, 53], Operations: ['44-1=43', '96-43=53']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,42 unequal: No Solution
Exploring Operation: 10*53=530, Resulting Numbers: [530]
530,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 42:[43, 86], Operations: ['44-1=43', '96-10=86']
Exploring Operation: 43*86=3698, Resulting Numbers: [3698]
3698,42 unequal: No Solution
Exploring Operation: 86/43=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 43+86=129, Resulting Numbers: [129]
129,42 unequal: No Solution
Exploring Operation: 86-43=43, Resulting Numbers: [43]
43,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[96, 33], Operations: ['44-1=43', '43-10=33']
Exploring Operation: 96+33=129, Resulting Numbers: [129]
129,42 unequal: No Solution
Exploring Operation: 96*33=3168, Resulting Numbers: [3168]
3168,42 unequal: No Solution
Exploring Operation: 96-33=63, Resulting Numbers: [63]
63,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 42:[96, 53], Operations: ['44-1=43', '10+43=53']
Exploring Operation: 96+53=149, Resulting Numbers: [149]
149,42 unequal: No Solution
Exploring Operation: 96*53=5088, Resulting Numbers: [5088]
5088,42 unequal: No Solution
Exploring Operation: 96-53=43, Resulting Numbers: [43]
43,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 42:[43, 106], Operations: ['44-1=43', '10+96=106']
Exploring Operation: 43+106=149, Resulting Numbers: [149]
149,42 unequal: No Solution
Exploring Operation: 106-43=63, Resulting Numbers: [63]
63,42 unequal: No Solution
Exploring Operation: 43*106=4558, Resulting Numbers: [4558]
4558,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 42:[10, 44, 95], Operations: ['96-1=95']
Exploring Operation: 44-10=34, Resulting Numbers: [95, 34]
Generated Node #0,1,0: 42:[95, 34] Operation: 44-10=34
Exploring Operation: 95-44=51, Resulting Numbers: [10, 51]
Generated Node #0,1,1: 42:[10, 51] Operation: 95-44=51
Exploring Operation: 95-10=85, Resulting Numbers: [44, 85]
Generated Node #0,1,2: 42:[44, 85] Operation: 95-10=85
Exploring Operation: 10+44=54, Resulting Numbers: [95, 54]
Generated Node #0,1,3: 42:[95, 54] Operation: 10+44=54
Exploring Operation: 10+95=105, Resulting Numbers: [44, 105]
Generated Node #0,1,4: 42:[44, 105] Operation: 10+95=105
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[10, 51], Operations: ['96-1=95', '95-44=51']
Exploring Operation: 10*51=510, Resulting Numbers: [510]
510,42 unequal: No Solution
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 10+51=61, Resulting Numbers: [61]
61,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 42:[44, 85], Operations: ['96-1=95', '95-10=85']
Exploring Operation: 85-44=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 44+85=129, Resulting Numbers: [129]
129,42 unequal: No Solution
Exploring Operation: 44*85=3740, Resulting Numbers: [3740]
3740,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 42:[95, 34], Operations: ['96-1=95', '44-10=34']
Exploring Operation: 95*34=3230, Resulting Numbers: [3230]
3230,42 unequal: No Solution
Exploring Operation: 95-34=61, Resulting Numbers: [61]
61,42 unequal: No Solution
Exploring Operation: 95+34=129, Resulting Numbers: [129]
129,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 42:[95, 54], Operations: ['96-1=95', '10+44=54']
Exploring Operation: 95*54=5130, Resulting Numbers: [5130]
5130,42 unequal: No Solution
Exploring Operation: 95-54=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 95+54=149, Resulting Numbers: [149]
149,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 42:[44, 105], Operations: ['96-1=95', '10+95=105']
Exploring Operation: 105-44=61, Resulting Numbers: [61]
61,42 unequal: No Solution
Exploring Operation: 44*105=4620, Resulting Numbers: [4620]
4620,42 unequal: No Solution
Exploring Operation: 44+105=149, Resulting Numbers: [149]
149,42 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: 42:[44, 96, 9], Operations: ['10-1=9']
Exploring Operation: 96-44=52, Resulting Numbers: [9, 52]
Generated Node #0,3,0: 42:[9, 52] Operation: 96-44=52
Exploring Operation: 44-9=35, Resulting Numbers: [96, 35]
Generated Node #0,3,1: 42:[96, 35] Operation: 44-9=35
Exploring Operation: 44+9=53, Resulting Numbers: [96, 53]
Generated Node #0,3,2: 42:[96, 53] Operation: 44+9=53
Exploring Operation: 96-9=87, Resulting Numbers: [44, 87]
Generated Node #0,3,3: 42:[44, 87] Operation: 96-9=87
Exploring Operation: 96+9=105, Resulting Numbers: [44, 105]
Generated Node #0,3,4: 42:[44, 105] Operation: 96+9=105
Moving to Node #0,2,2
Current State: 42:[1, 42], Operations: ['96-44=52', '52-10=42']
Exploring Operation: 1+42=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[10, 44, 1, 96], Operations: []
Exploring Operation: 96-44=52, Resulting Numbers: [10, 1, 52]
Generated Node #0,2: 42:[10, 1, 52] Operation: 96-44=52
Moving to Node #0,2
Current State: 42:[10, 1, 52], Operations: ['96-44=52']
Exploring Operation: 52-10=42, Resulting Numbers: [1, 42]
Generated Node #0,2,2: 42:[1, 42] Operation: 52-10=42
Moving to Node #0,2,2
Current State: 42:[1, 42], Operations: ['96-44=52', '52-10=42']
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.940972 | hs_5 | sum_heuristic |
[
76,
25,
44,
8
] | 76 | [
"44-25=19",
"8*19=152",
"152-76=76"
] | Current State: 76:[76, 25, 44, 8], Operations: []
Exploring Operation: 44-25=19, Resulting Numbers: [76, 8, 19]
Generated Node #2: [76, 8, 19] from Operation: 44-25=19
Current State: 76:[76, 8, 19], Operations: ['44-25=19']
Exploring Operation: 8*19=152, Resulting Numbers: [76, 152]
Generated Node #3: [76, 152] from Operation: 8*19=152
Current State: 76:[76, 152], Operations: ['44-25=19', '8*19=152']
Exploring Operation: 152-76=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[76, 25, 44, 8], Operations: []
Exploring Operation: 44-25=19, Resulting Numbers: [76, 8, 19]
Generated Node #0,0: 76:[76, 8, 19] Operation: 44-25=19
Exploring Operation: 44-8=36, Resulting Numbers: [76, 25, 36]
Generated Node #0,1: 76:[76, 25, 36] Operation: 44-8=36
Exploring Operation: 25-8=17, Resulting Numbers: [76, 44, 17]
Generated Node #0,2: 76:[76, 44, 17] Operation: 25-8=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[76, 8, 19], Operations: ['44-25=19']
Exploring Operation: 19-8=11, Resulting Numbers: [76, 11]
Generated Node #0,0,0: 76:[76, 11] Operation: 19-8=11
Exploring Operation: 76/19=4, Resulting Numbers: [8, 4]
Generated Node #0,0,1: 76:[8, 4] Operation: 76/19=4
Exploring Operation: 76+8=84, Resulting Numbers: [19, 84]
Generated Node #0,0,2: 76:[19, 84] Operation: 76+8=84
Moving to Node #0,0,1
Current State: 76:[8, 4], Operations: ['44-25=19', '76/19=4']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[76, 11], Operations: ['44-25=19', '19-8=11']
Exploring Operation: 76+11=87, Resulting Numbers: [87]
87,76 unequal: No Solution
Exploring Operation: 76*11=836, Resulting Numbers: [836]
836,76 unequal: No Solution
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[19, 84], Operations: ['44-25=19', '76+8=84']
Exploring Operation: 19*84=1596, Resulting Numbers: [1596]
1596,76 unequal: No Solution
Exploring Operation: 84-19=65, Resulting Numbers: [65]
65,76 unequal: No Solution
Exploring Operation: 19+84=103, Resulting Numbers: [103]
103,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[76, 25, 36], Operations: ['44-8=36']
Exploring Operation: 76-36=40, Resulting Numbers: [25, 40]
Generated Node #0,1,0: 76:[25, 40] Operation: 76-36=40
Exploring Operation: 36-25=11, Resulting Numbers: [76, 11]
Generated Node #0,1,1: 76:[76, 11] Operation: 36-25=11
Exploring Operation: 76-25=51, Resulting Numbers: [36, 51]
Generated Node #0,1,2: 76:[36, 51] Operation: 76-25=51
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[76, 11], Operations: ['44-8=36', '36-25=11']
Exploring Operation: 76+11=87, Resulting Numbers: [87]
87,76 unequal: No Solution
Exploring Operation: 76*11=836, Resulting Numbers: [836]
836,76 unequal: No Solution
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[25, 40], Operations: ['44-8=36', '76-36=40']
Exploring Operation: 25+40=65, Resulting Numbers: [65]
65,76 unequal: No Solution
Exploring Operation: 25*40=1000, Resulting Numbers: [1000]
1000,76 unequal: No Solution
Exploring Operation: 40-25=15, Resulting Numbers: [15]
15,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 76:[36, 51], Operations: ['44-8=36', '76-25=51']
Exploring Operation: 36*51=1836, Resulting Numbers: [1836]
1836,76 unequal: No Solution
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,76 unequal: No Solution
Exploring Operation: 36+51=87, Resulting Numbers: [87]
87,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[76, 44, 17], Operations: ['25-8=17']
Exploring Operation: 44+17=61, Resulting Numbers: [76, 61]
Generated Node #0,2,0: 76:[76, 61] Operation: 44+17=61
Exploring Operation: 76-44=32, Resulting Numbers: [17, 32]
Generated Node #0,2,1: 76:[17, 32] Operation: 76-44=32
Exploring Operation: 44-17=27, Resulting Numbers: [76, 27]
Generated Node #0,2,2: 76:[76, 27] Operation: 44-17=27
Moving to Node #0,2,1
Current State: 76:[17, 32], Operations: ['25-8=17', '76-44=32']
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,76 unequal: No Solution
Exploring Operation: 17*32=544, Resulting Numbers: [544]
544,76 unequal: No Solution
Exploring Operation: 17+32=49, Resulting Numbers: [49]
49,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[76, 27], Operations: ['25-8=17', '44-17=27']
Exploring Operation: 76+27=103, Resulting Numbers: [103]
103,76 unequal: No Solution
Exploring Operation: 76-27=49, Resulting Numbers: [49]
49,76 unequal: No Solution
Exploring Operation: 76*27=2052, Resulting Numbers: [2052]
2052,76 unequal: No Solution
Moving to Node #0,2,0
Current State: 76:[76, 61], Operations: ['25-8=17', '44+17=61']
Exploring Operation: 76+61=137, Resulting Numbers: [137]
137,76 unequal: No Solution
Exploring Operation: 76*61=4636, Resulting Numbers: [4636]
4636,76 unequal: No Solution
Exploring Operation: 76-61=15, Resulting Numbers: [15]
15,76 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,
54,
96
] | 82 | [
"47*96=4512",
"4512-84=4428",
"4428/54=82"
] | Current State: 82:[84, 47, 54, 96], Operations: []
Exploring Operation: 47*96=4512, Resulting Numbers: [84, 54, 4512]
Generated Node #2: [84, 54, 4512] from Operation: 47*96=4512
Current State: 82:[84, 54, 4512], Operations: ['47*96=4512']
Exploring Operation: 4512-84=4428, Resulting Numbers: [54, 4428]
Generated Node #3: [54, 4428] from Operation: 4512-84=4428
Current State: 82:[54, 4428], Operations: ['47*96=4512', '4512-84=4428']
Exploring Operation: 4428/54=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[84, 47, 54, 96], Operations: []
Exploring Operation: 54-47=7, Resulting Numbers: [84, 96, 7]
Generated Node #0,0: 82:[84, 96, 7] Operation: 54-47=7
Exploring Operation: 96-54=42, Resulting Numbers: [84, 47, 42]
Generated Node #0,1: 82:[84, 47, 42] Operation: 96-54=42
Exploring Operation: 96-47=49, Resulting Numbers: [84, 54, 49]
Generated Node #0,2: 82:[84, 54, 49] Operation: 96-47=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[84, 47, 42], Operations: ['96-54=42']
Exploring Operation: 84/42=2, Resulting Numbers: [47, 2]
Generated Node #0,1,0: 82:[47, 2] Operation: 84/42=2
Exploring Operation: 47-42=5, Resulting Numbers: [84, 5]
Generated Node #0,1,1: 82:[84, 5] Operation: 47-42=5
Exploring Operation: 84-47=37, Resulting Numbers: [42, 37]
Generated Node #0,1,2: 82:[42, 37] Operation: 84-47=37
Moving to Node #0,1,1
Current State: 82:[84, 5], Operations: ['96-54=42', '47-42=5']
Exploring Operation: 84+5=89, Resulting Numbers: [89]
89,82 unequal: No Solution
Exploring Operation: 84*5=420, Resulting Numbers: [420]
420,82 unequal: No Solution
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[42, 37], Operations: ['96-54=42', '84-47=37']
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 42+37=79, Resulting Numbers: [79]
79,82 unequal: No Solution
Exploring Operation: 42*37=1554, Resulting Numbers: [1554]
1554,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[47, 2], Operations: ['96-54=42', '84/42=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,82 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[84, 96, 7], Operations: ['54-47=7']
Exploring Operation: 96-7=89, Resulting Numbers: [84, 89]
Generated Node #0,0,0: 82:[84, 89] Operation: 96-7=89
Exploring Operation: 84-7=77, Resulting Numbers: [96, 77]
Generated Node #0,0,1: 82:[96, 77] Operation: 84-7=77
Exploring Operation: 96-84=12, Resulting Numbers: [7, 12]
Generated Node #0,0,2: 82:[7, 12] Operation: 96-84=12
Moving to Node #0,0,0
Current State: 82:[84, 89], Operations: ['54-47=7', '96-7=89']
Exploring Operation: 84+89=173, Resulting Numbers: [173]
173,82 unequal: No Solution
Exploring Operation: 89-84=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 84*89=7476, Resulting Numbers: [7476]
7476,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[7, 12], Operations: ['54-47=7', '96-84=12']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,82 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[96, 77], Operations: ['54-47=7', '84-7=77']
Exploring Operation: 96+77=173, Resulting Numbers: [173]
173,82 unequal: No Solution
Exploring Operation: 96*77=7392, Resulting Numbers: [7392]
7392,82 unequal: No Solution
Exploring Operation: 96-77=19, Resulting Numbers: [19]
19,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[84, 54, 49], Operations: ['96-47=49']
Exploring Operation: 84-49=35, Resulting Numbers: [54, 35]
Generated Node #0,2,0: 82:[54, 35] Operation: 84-49=35
Exploring Operation: 84-54=30, Resulting Numbers: [49, 30]
Generated Node #0,2,1: 82:[49, 30] Operation: 84-54=30
Exploring Operation: 54-49=5, Resulting Numbers: [84, 5]
Generated Node #0,2,2: 82:[84, 5] Operation: 54-49=5
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 82:[84, 5], Operations: ['96-47=49', '54-49=5']
Exploring Operation: 84+5=89, Resulting Numbers: [89]
89,82 unequal: No Solution
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,82 unequal: No Solution
Exploring Operation: 84*5=420, Resulting Numbers: [420]
420,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,2,0
Current State: 82:[54, 35], Operations: ['96-47=49', '84-49=35']
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,82 unequal: No Solution
Exploring Operation: 54+35=89, Resulting Numbers: [89]
89,82 unequal: No Solution
Exploring Operation: 54*35=1890, Resulting Numbers: [1890]
1890,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,2,1
Current State: 82:[49, 30], Operations: ['96-47=49', '84-54=30']
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,82 unequal: No Solution
Exploring Operation: 49+30=79, Resulting Numbers: [79]
79,82 unequal: No Solution
Exploring Operation: 49*30=1470, Resulting Numbers: [1470]
1470,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
20,
80,
49,
40
] | 93 | [
"80/20=4",
"49+40=89",
"4+89=93"
] | Current State: 93:[20, 80, 49, 40], Operations: []
Exploring Operation: 80/20=4, Resulting Numbers: [49, 40, 4]
Generated Node #2: [49, 40, 4] from Operation: 80/20=4
Current State: 93:[49, 40, 4], Operations: ['80/20=4']
Exploring Operation: 49+40=89, Resulting Numbers: [4, 89]
Generated Node #3: [4, 89] from Operation: 49+40=89
Current State: 93:[4, 89], Operations: ['80/20=4', '49+40=89']
Exploring Operation: 4+89=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[20, 80, 49, 40], Operations: []
Exploring Operation: 80-49=31, Resulting Numbers: [20, 40, 31]
Generated Node #0,0: 93:[20, 40, 31] Operation: 80-49=31
Exploring Operation: 80/20=4, Resulting Numbers: [49, 40, 4]
Generated Node #0,1: 93:[49, 40, 4] Operation: 80/20=4
Exploring Operation: 49+40=89, Resulting Numbers: [20, 80, 89]
Generated Node #0,2: 93:[20, 80, 89] Operation: 49+40=89
Exploring Operation: 49-20=29, Resulting Numbers: [80, 40, 29]
Generated Node #0,3: 93:[80, 40, 29] Operation: 49-20=29
Moving to Node #0,0
Current State: 93:[20, 40, 31], Operations: ['80-49=31']
Exploring Operation: 31-20=11, Resulting Numbers: [40, 11]
Generated Node #0,0,0: 93:[40, 11] Operation: 31-20=11
Exploring Operation: 40-31=9, Resulting Numbers: [20, 9]
Generated Node #0,0,1: 93:[20, 9] Operation: 40-31=9
Exploring Operation: 40-20=20, Resulting Numbers: [31, 20]
Generated Node #0,0,2: 93:[31, 20] Operation: 40-20=20
Exploring Operation: 40/20=2, Resulting Numbers: [31, 2]
Generated Node #0,0,3: 93:[31, 2] Operation: 40/20=2
Moving to Node #0,3
Current State: 93:[80, 40, 29], Operations: ['49-20=29']
Exploring Operation: 80+29=109, Resulting Numbers: [40, 109]
Generated Node #0,3,0: 93:[40, 109] Operation: 80+29=109
Exploring Operation: 80/40=2, Resulting Numbers: [29, 2]
Generated Node #0,3,1: 93:[29, 2] Operation: 80/40=2
Exploring Operation: 80-40=40, Resulting Numbers: [29, 40]
Generated Node #0,3,2: 93:[29, 40] Operation: 80-40=40
Exploring Operation: 40-29=11, Resulting Numbers: [80, 11]
Generated Node #0,3,3: 93:[80, 11] Operation: 40-29=11
Moving to Node #0,2
Current State: 93:[20, 80, 89], Operations: ['49+40=89']
Exploring Operation: 20+80=100, Resulting Numbers: [89, 100]
Generated Node #0,2,0: 93:[89, 100] Operation: 20+80=100
Exploring Operation: 80/20=4, Resulting Numbers: [89, 4]
Generated Node #0,2,1: 93:[89, 4] Operation: 80/20=4
Exploring Operation: 20+89=109, Resulting Numbers: [80, 109]
Generated Node #0,2,2: 93:[80, 109] Operation: 20+89=109
Exploring Operation: 89-80=9, Resulting Numbers: [20, 9]
Generated Node #0,2,3: 93:[20, 9] Operation: 89-80=9
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[89, 4], Operations: ['49+40=89', '80/20=4']
Exploring Operation: 89*4=356, Resulting Numbers: [356]
356,93 unequal: No Solution
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,93 unequal: No Solution
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[20, 80, 49, 40], Operations: []
Exploring Operation: 49+40=89, Resulting Numbers: [20, 80, 89]
Generated Node #0,2: 93:[20, 80, 89] Operation: 49+40=89
Moving to Node #0,2
Current State: 93:[20, 80, 89], Operations: ['49+40=89']
Exploring Operation: 80/20=4, Resulting Numbers: [89, 4]
Generated Node #0,2,1: 93:[89, 4] Operation: 80/20=4
Moving to Node #0,2,1
Current State: 93:[89, 4], Operations: ['49+40=89', '80/20=4']
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | mult_heuristic |
[
51,
12,
35,
29
] | 57 | [
"51+12=63",
"35-29=6",
"63-6=57"
] | Current State: 57:[51, 12, 35, 29], Operations: []
Exploring Operation: 51+12=63, Resulting Numbers: [35, 29, 63]
Generated Node #2: [35, 29, 63] from Operation: 51+12=63
Current State: 57:[35, 29, 63], Operations: ['51+12=63']
Exploring Operation: 35-29=6, Resulting Numbers: [63, 6]
Generated Node #3: [63, 6] from Operation: 35-29=6
Current State: 57:[63, 6], Operations: ['51+12=63', '35-29=6']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[51, 12, 35, 29], Operations: []
Exploring Operation: 35-29=6, Resulting Numbers: [51, 12, 6]
Generated Node #0,0: 57:[51, 12, 6] Operation: 35-29=6
Exploring Operation: 35-12=23, Resulting Numbers: [51, 29, 23]
Generated Node #0,1: 57:[51, 29, 23] Operation: 35-12=23
Exploring Operation: 35+29=64, Resulting Numbers: [51, 12, 64]
Generated Node #0,2: 57:[51, 12, 64] Operation: 35+29=64
Exploring Operation: 51-35=16, Resulting Numbers: [12, 29, 16]
Generated Node #0,3: 57:[12, 29, 16] Operation: 51-35=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[51, 12, 6], Operations: ['35-29=6']
Exploring Operation: 51+6=57, Resulting Numbers: [12, 57]
Generated Node #0,0,0: 57:[12, 57] Operation: 51+6=57
Exploring Operation: 51+12=63, Resulting Numbers: [6, 63]
Generated Node #0,0,1: 57:[6, 63] Operation: 51+12=63
Exploring Operation: 12/6=2, Resulting Numbers: [51, 2]
Generated Node #0,0,2: 57:[51, 2] Operation: 12/6=2
Exploring Operation: 12+6=18, Resulting Numbers: [51, 18]
Generated Node #0,0,3: 57:[51, 18] Operation: 12+6=18
Moving to Node #0,0,0
Current State: 57:[12, 57], Operations: ['35-29=6', '51+6=57']
Exploring Operation: 12*57=684, Resulting Numbers: [684]
684,57 unequal: No Solution
Exploring Operation: 12+57=69, Resulting Numbers: [69]
69,57 unequal: No Solution
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[51, 18], Operations: ['35-29=6', '12+6=18']
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,57 unequal: No Solution
Exploring Operation: 51*18=918, Resulting Numbers: [918]
918,57 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[51, 2], Operations: ['35-29=6', '12/6=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,57 unequal: No Solution
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,57 unequal: No Solution
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[6, 63], Operations: ['35-29=6', '51+12=63']
Exploring Operation: 6+63=69, Resulting Numbers: [69]
69,57 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[51, 12, 35, 29], Operations: []
Exploring Operation: 35-29=6, Resulting Numbers: [51, 12, 6]
Generated Node #0,0: 57:[51, 12, 6] Operation: 35-29=6
Moving to Node #0,0
Current State: 57:[51, 12, 6], Operations: ['35-29=6']
Exploring Operation: 51+12=63, Resulting Numbers: [6, 63]
Generated Node #0,0,1: 57:[6, 63] Operation: 51+12=63
Moving to Node #0,0,1
Current State: 57:[6, 63], Operations: ['35-29=6', '51+12=63']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | mult_heuristic |
[
60,
49,
49,
44
] | 16 | [
"60+49=109",
"49+44=93",
"109-93=16"
] | Current State: 16:[60, 49, 49, 44], Operations: []
Exploring Operation: 60+49=109, Resulting Numbers: [44, 109]
Generated Node #2: [44, 109] from Operation: 60+49=109
Current State: 16:[44, 109], Operations: ['60+49=109']
Exploring Operation: 49+44=93, Resulting Numbers: [109, 93]
Generated Node #3: [109, 93] from Operation: 49+44=93
Current State: 16:[109, 93], Operations: ['60+49=109', '49+44=93']
Exploring Operation: 109-93=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[60, 49, 49, 44], Operations: []
Exploring Operation: 49/49=1, Resulting Numbers: [60, 44, 1]
Generated Node #0,0: 16:[60, 44, 1] Operation: 49/49=1
Exploring Operation: 60-49=11, Resulting Numbers: [49, 44, 11]
Generated Node #0,1: 16:[49, 44, 11] Operation: 60-49=11
Exploring Operation: 49-49=0, Resulting Numbers: [60, 44, 0]
Generated Node #0,2: 16:[60, 44, 0] Operation: 49-49=0
Exploring Operation: 60-44=16, Resulting Numbers: [49, 49, 16]
Generated Node #0,3: 16:[49, 49, 16] Operation: 60-44=16
Exploring Operation: 60-49=11, Resulting Numbers: [49, 44, 11]
Generated Node #0,4: 16:[49, 44, 11] Operation: 60-49=11
Moving to Node #0,1
Current State: 16:[49, 44, 11], Operations: ['60-49=11']
Exploring Operation: 44-11=33, Resulting Numbers: [49, 33]
Generated Node #0,1,0: 16:[49, 33] Operation: 44-11=33
Exploring Operation: 49-11=38, Resulting Numbers: [44, 38]
Generated Node #0,1,1: 16:[44, 38] Operation: 49-11=38
Exploring Operation: 49-44=5, Resulting Numbers: [11, 5]
Generated Node #0,1,2: 16:[11, 5] Operation: 49-44=5
Exploring Operation: 44/11=4, Resulting Numbers: [49, 4]
Generated Node #0,1,3: 16:[49, 4] Operation: 44/11=4
Exploring Operation: 49+11=60, Resulting Numbers: [44, 60]
Generated Node #0,1,4: 16:[44, 60] Operation: 49+11=60
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 16:[11, 5], Operations: ['60-49=11', '49-44=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[60, 49, 49, 44], Operations: []
Exploring Operation: 60-49=11, Resulting Numbers: [49, 44, 11]
Generated Node #0,1: 16:[49, 44, 11] Operation: 60-49=11
Moving to Node #0,1
Current State: 16:[49, 44, 11], Operations: ['60-49=11']
Exploring Operation: 49-44=5, Resulting Numbers: [11, 5]
Generated Node #0,1,2: 16:[11, 5] Operation: 49-44=5
Moving to Node #0,1,2
Current State: 16:[11, 5], Operations: ['60-49=11', '49-44=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.