nums listlengths 4 4 | target int64 10 100 | solution listlengths 3 3 | optimal_path stringlengths 282 529 | start_size int64 4 4 | search_path stringlengths 505 16.8k | rating float64 0 0.99 | search_type stringclasses 5
values | heuristic stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
[
59,
5,
8,
55
] | 38 | [
"59+55=114",
"8-5=3",
"114/3=38"
] | Current State: 38:[59, 5, 8, 55], Operations: []
Exploring Operation: 59+55=114, Resulting Numbers: [5, 8, 114]
Generated Node #2: [5, 8, 114] from Operation: 59+55=114
Current State: 38:[5, 8, 114], Operations: ['59+55=114']
Exploring Operation: 8-5=3, Resulting Numbers: [114, 3]
Generated Node #3: [114, 3] from Operation: 8-5=3
Current State: 38:[114, 3], Operations: ['59+55=114', '8-5=3']
Exploring Operation: 114/3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[59, 5, 8, 55], Operations: []
Exploring Operation: 59-8=51, Resulting Numbers: [5, 55, 51]
Generated Node #0,0: 38:[5, 55, 51] Operation: 59-8=51
Exploring Operation: 55-8=47, Resulting Numbers: [59, 5, 47]
Generated Node #0,1: 38:[59, 5, 47] Operation: 55-8=47
Exploring Operation: 59-55=4, Resulting Numbers: [5, 8, 4]
Generated Node #0,2: 38:[5, 8, 4] Operation: 59-55=4
Exploring Operation: 55/5=11, Resulting Numbers: [59, 8, 11]
Generated Node #0,3: 38:[59, 8, 11] Operation: 55/5=11
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[5, 8, 4], Operations: ['59-55=4']
Exploring Operation: 8-5=3, Resulting Numbers: [4, 3]
Generated Node #0,2,0: 38:[4, 3] Operation: 8-5=3
Exploring Operation: 8-4=4, Resulting Numbers: [5, 4]
Generated Node #0,2,1: 38:[5, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [5, 2]
Generated Node #0,2,2: 38:[5, 2] Operation: 8/4=2
Exploring Operation: 5*8=40, Resulting Numbers: [4, 40]
Generated Node #0,2,3: 38:[4, 40] Operation: 5*8=40
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 38:[4, 3], Operations: ['59-55=4', '8-5=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,38 unequal: No Solution
No 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: 38:[5, 2], Operations: ['59-55=4', '8/4=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,38 unequal: No Solution
No 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: 38:[4, 40], Operations: ['59-55=4', '5*8=40']
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,38 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,38 unequal: No Solution
No 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: 38:[5, 4], Operations: ['59-55=4', '8-4=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,38 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: 38:[5, 55, 51], Operations: ['59-8=51']
Exploring Operation: 55-5=50, Resulting Numbers: [51, 50]
Generated Node #0,0,0: 38:[51, 50] Operation: 55-5=50
Exploring Operation: 55-51=4, Resulting Numbers: [5, 4]
Generated Node #0,0,1: 38:[5, 4] Operation: 55-51=4
Exploring Operation: 55/5=11, Resulting Numbers: [51, 11]
Generated Node #0,0,2: 38:[51, 11] Operation: 55/5=11
Exploring Operation: 51-5=46, Resulting Numbers: [55, 46]
Generated Node #0,0,3: 38:[55, 46] Operation: 51-5=46
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 38:[5, 4], Operations: ['59-8=51', '55-51=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,38 unequal: No Solution
No 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: 38:[51, 11], Operations: ['59-8=51', '55/5=11']
Exploring Operation: 51*11=561, Resulting Numbers: [561]
561,38 unequal: No Solution
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,38 unequal: No Solution
No 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: 38:[51, 50], Operations: ['59-8=51', '55-5=50']
Exploring Operation: 51+50=101, Resulting Numbers: [101]
101,38 unequal: No Solution
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 51*50=2550, Resulting Numbers: [2550]
2550,38 unequal: No Solution
No 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: 38:[55, 46], Operations: ['59-8=51', '51-5=46']
Exploring Operation: 55-46=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 55+46=101, Resulting Numbers: [101]
101,38 unequal: No Solution
Exploring Operation: 55*46=2530, Resulting Numbers: [2530]
2530,38 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: 38:[59, 5, 47], Operations: ['55-8=47']
Exploring Operation: 59+5=64, Resulting Numbers: [47, 64]
Generated Node #0,1,0: 38:[47, 64] Operation: 59+5=64
Exploring Operation: 47-5=42, Resulting Numbers: [59, 42]
Generated Node #0,1,1: 38:[59, 42] Operation: 47-5=42
Exploring Operation: 59-47=12, Resulting Numbers: [5, 12]
Generated Node #0,1,2: 38:[5, 12] Operation: 59-47=12
Exploring Operation: 59-5=54, Resulting Numbers: [47, 54]
Generated Node #0,1,3: 38:[47, 54] Operation: 59-5=54
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 38:[5, 12], Operations: ['55-8=47', '59-47=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,38 unequal: No Solution
No 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: 38:[59, 42], Operations: ['55-8=47', '47-5=42']
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 59*42=2478, Resulting Numbers: [2478]
2478,38 unequal: No Solution
Exploring Operation: 59+42=101, Resulting Numbers: [101]
101,38 unequal: No Solution
No 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: 38:[47, 54], Operations: ['55-8=47', '59-5=54']
Exploring Operation: 47*54=2538, Resulting Numbers: [2538]
2538,38 unequal: No Solution
Exploring Operation: 47+54=101, Resulting Numbers: [101]
101,38 unequal: No Solution
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,38 unequal: No Solution
No 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: 38:[47, 64], Operations: ['55-8=47', '59+5=64']
Exploring Operation: 47*64=3008, Resulting Numbers: [3008]
3008,38 unequal: No Solution
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 47+64=111, Resulting Numbers: [111]
111,38 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: 38:[59, 8, 11], Operations: ['55/5=11']
Exploring Operation: 8+11=19, Resulting Numbers: [59, 19]
Generated Node #0,3,0: 38:[59, 19] Operation: 8+11=19
Exploring Operation: 11-8=3, Resulting Numbers: [59, 3]
Generated Node #0,3,1: 38:[59, 3] Operation: 11-8=3
Exploring Operation: 59-11=48, Resulting Numbers: [8, 48]
Generated Node #0,3,2: 38:[8, 48] Operation: 59-11=48
Exploring Operation: 59-8=51, Resulting Numbers: [11, 51]
Generated Node #0,3,3: 38:[11, 51] Operation: 59-8=51
Moving to Node #0,3,2
Current State: 38:[8, 48], Operations: ['55/5=11', '59-11=48']
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,38 unequal: No Solution
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,38 unequal: No Solution
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,38 unequal: No Solution
Exploring Operation: 8*48=384, Resulting Numbers: [384]
384,38 unequal: No Solution
Moving to Node #0,3,3
Current State: 38:[11, 51], Operations: ['55/5=11', '59-8=51']
Exploring Operation: 11*51=561, Resulting Numbers: [561]
561,38 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,38 unequal: No Solution
Exploring Operation: 11+51=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Moving to Node #0,3,0
Current State: 38:[59, 19], Operations: ['55/5=11', '8+11=19']
Exploring Operation: 59*19=1121, Resulting Numbers: [1121]
1121,38 unequal: No Solution
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,38 unequal: No Solution
Exploring Operation: 59+19=78, Resulting Numbers: [78]
78,38 unequal: No Solution
Moving to Node #0,3,1
Current State: 38:[59, 3], Operations: ['55/5=11', '11-8=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,38 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
9,
20,
20,
97
] | 66 | [
"20-9=11",
"97-20=77",
"77-11=66"
] | Current State: 66:[9, 20, 20, 97], Operations: []
Exploring Operation: 20-9=11, Resulting Numbers: [97, 11]
Generated Node #2: [97, 11] from Operation: 20-9=11
Current State: 66:[97, 11], Operations: ['20-9=11']
Exploring Operation: 97-20=77, Resulting Numbers: [11, 77]
Generated Node #3: [11, 77] from Operation: 97-20=77
Current State: 66:[11, 77], Operations: ['20-9=11', '97-20=77']
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[9, 20, 20, 97], Operations: []
Exploring Operation: 97-20=77, Resulting Numbers: [9, 20, 77]
Generated Node #0,0: 66:[9, 20, 77] Operation: 97-20=77
Exploring Operation: 97-20=77, Resulting Numbers: [9, 20, 77]
Generated Node #0,1: 66:[9, 20, 77] Operation: 97-20=77
Moving to Node #0,0
Current State: 66:[9, 20, 77], Operations: ['97-20=77']
Exploring Operation: 20-9=11, Resulting Numbers: [77, 11]
Generated Node #0,0,0: 66:[77, 11] Operation: 20-9=11
Exploring Operation: 77-9=68, Resulting Numbers: [20, 68]
Generated Node #0,0,1: 66:[20, 68] Operation: 77-9=68
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[20, 68], Operations: ['97-20=77', '77-9=68']
Exploring Operation: 68-20=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 20+68=88, Resulting Numbers: [88]
88,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[77, 11], Operations: ['97-20=77', '20-9=11']
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[9, 20, 20, 97], Operations: []
Exploring Operation: 97-20=77, Resulting Numbers: [9, 20, 77]
Generated Node #0,0: 66:[9, 20, 77] Operation: 97-20=77
Moving to Node #0,0
Current State: 66:[9, 20, 77], Operations: ['97-20=77']
Exploring Operation: 20-9=11, Resulting Numbers: [77, 11]
Generated Node #0,0,0: 66:[77, 11] Operation: 20-9=11
Moving to Node #0,0,0
Current State: 66:[77, 11], Operations: ['97-20=77', '20-9=11']
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
17,
45,
9,
99
] | 46 | [
"17+45=62",
"9+99=108",
"108-62=46"
] | Current State: 46:[17, 45, 9, 99], Operations: []
Exploring Operation: 17+45=62, Resulting Numbers: [9, 99, 62]
Generated Node #2: [9, 99, 62] from Operation: 17+45=62
Current State: 46:[9, 99, 62], Operations: ['17+45=62']
Exploring Operation: 9+99=108, Resulting Numbers: [62, 108]
Generated Node #3: [62, 108] from Operation: 9+99=108
Current State: 46:[62, 108], Operations: ['17+45=62', '9+99=108']
Exploring Operation: 108-62=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[17, 45, 9, 99], Operations: []
Exploring Operation: 99-45=54, Resulting Numbers: [17, 9, 54]
Generated Node #0,0: 46:[17, 9, 54] Operation: 99-45=54
Exploring Operation: 99/9=11, Resulting Numbers: [17, 45, 11]
Generated Node #0,1: 46:[17, 45, 11] Operation: 99/9=11
Exploring Operation: 99-17=82, Resulting Numbers: [45, 9, 82]
Generated Node #0,2: 46:[45, 9, 82] Operation: 99-17=82
Exploring Operation: 99-9=90, Resulting Numbers: [17, 45, 90]
Generated Node #0,3: 46:[17, 45, 90] Operation: 99-9=90
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[17, 45, 11], Operations: ['99/9=11']
Exploring Operation: 17+11=28, Resulting Numbers: [45, 28]
Generated Node #0,1,0: 46:[45, 28] Operation: 17+11=28
Exploring Operation: 17-11=6, Resulting Numbers: [45, 6]
Generated Node #0,1,1: 46:[45, 6] Operation: 17-11=6
Exploring Operation: 45-17=28, Resulting Numbers: [11, 28]
Generated Node #0,1,2: 46:[11, 28] Operation: 45-17=28
Exploring Operation: 45+11=56, Resulting Numbers: [17, 56]
Generated Node #0,1,3: 46:[17, 56] Operation: 45+11=56
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 46:[45, 6], Operations: ['99/9=11', '17-11=6']
Exploring Operation: 45+6=51, Resulting Numbers: [51]
51,46 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 45*6=270, Resulting Numbers: [270]
270,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,1,0
Current State: 46:[45, 28], Operations: ['99/9=11', '17+11=28']
Exploring Operation: 45*28=1260, Resulting Numbers: [1260]
1260,46 unequal: No Solution
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 45+28=73, Resulting Numbers: [73]
73,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,1,2
Current State: 46:[11, 28], Operations: ['99/9=11', '45-17=28']
Exploring Operation: 11*28=308, Resulting Numbers: [308]
308,46 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 11+28=39, Resulting Numbers: [39]
39,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,1,3
Current State: 46:[17, 56], Operations: ['99/9=11', '45+11=56']
Exploring Operation: 17*56=952, Resulting Numbers: [952]
952,46 unequal: No Solution
Exploring Operation: 17+56=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,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,0
Current State: 46:[17, 9, 54], Operations: ['99-45=54']
Exploring Operation: 17-9=8, Resulting Numbers: [54, 8]
Generated Node #0,0,0: 46:[54, 8] Operation: 17-9=8
Exploring Operation: 17+9=26, Resulting Numbers: [54, 26]
Generated Node #0,0,1: 46:[54, 26] Operation: 17+9=26
Exploring Operation: 54-9=45, Resulting Numbers: [17, 45]
Generated Node #0,0,2: 46:[17, 45] Operation: 54-9=45
Exploring Operation: 54/9=6, Resulting Numbers: [17, 6]
Generated Node #0,0,3: 46:[17, 6] Operation: 54/9=6
Moving to Node #0,0,2
Current State: 46:[17, 45], Operations: ['99-45=54', '54-9=45']
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 17*45=765, Resulting Numbers: [765]
765,46 unequal: No Solution
Exploring Operation: 17+45=62, Resulting Numbers: [62]
62,46 unequal: No Solution
Moving to Node #0,0,3
Current State: 46:[17, 6], Operations: ['99-45=54', '54/9=6']
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,46 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[54, 26], Operations: ['99-45=54', '17+9=26']
Exploring Operation: 54*26=1404, Resulting Numbers: [1404]
1404,46 unequal: No Solution
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[54, 8], Operations: ['99-45=54', '17-9=8']
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[17, 45, 9, 99], Operations: []
Exploring Operation: 99-45=54, Resulting Numbers: [17, 9, 54]
Generated Node #0,0: 46:[17, 9, 54] Operation: 99-45=54
Moving to Node #0,0
Current State: 46:[17, 9, 54], Operations: ['99-45=54']
Exploring Operation: 17-9=8, Resulting Numbers: [54, 8]
Generated Node #0,0,0: 46:[54, 8] Operation: 17-9=8
Moving to Node #0,0,0
Current State: 46:[54, 8], Operations: ['99-45=54', '17-9=8']
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | mult_heuristic |
[
13,
51,
28,
27
] | 22 | [
"51+27=78",
"78/13=6",
"28-6=22"
] | Current State: 22:[13, 51, 28, 27], Operations: []
Exploring Operation: 51+27=78, Resulting Numbers: [13, 28, 78]
Generated Node #2: [13, 28, 78] from Operation: 51+27=78
Current State: 22:[13, 28, 78], Operations: ['51+27=78']
Exploring Operation: 78/13=6, Resulting Numbers: [28, 6]
Generated Node #3: [28, 6] from Operation: 78/13=6
Current State: 22:[28, 6], Operations: ['51+27=78', '78/13=6']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[13, 51, 28, 27], Operations: []
Exploring Operation: 51-27=24, Resulting Numbers: [13, 28, 24]
Generated Node #0,0: 22:[13, 28, 24] Operation: 51-27=24
Exploring Operation: 51-28=23, Resulting Numbers: [13, 27, 23]
Generated Node #0,1: 22:[13, 27, 23] Operation: 51-28=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[13, 27, 23], Operations: ['51-28=23']
Exploring Operation: 27-13=14, Resulting Numbers: [23, 14]
Generated Node #0,1,0: 22:[23, 14] Operation: 27-13=14
Exploring Operation: 27-23=4, Resulting Numbers: [13, 4]
Generated Node #0,1,1: 22:[13, 4] Operation: 27-23=4
Moving to Node #0,1,0
Current State: 22:[23, 14], Operations: ['51-28=23', '27-13=14']
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[13, 4], Operations: ['51-28=23', '27-23=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[13, 28, 24], Operations: ['51-27=24']
Exploring Operation: 28-24=4, Resulting Numbers: [13, 4]
Generated Node #0,0,0: 22:[13, 4] Operation: 28-24=4
Exploring Operation: 28-13=15, Resulting Numbers: [24, 15]
Generated Node #0,0,1: 22:[24, 15] Operation: 28-13=15
Moving to Node #0,0,0
Current State: 22:[13, 4], Operations: ['51-27=24', '28-24=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[24, 15], Operations: ['51-27=24', '28-13=15']
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,22 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 |
[
58,
15,
39,
13
] | 20 | [
"15-13=2",
"39*2=78",
"78-58=20"
] | Current State: 20:[58, 15, 39, 13], Operations: []
Exploring Operation: 15-13=2, Resulting Numbers: [58, 39, 2]
Generated Node #2: [58, 39, 2] from Operation: 15-13=2
Current State: 20:[58, 39, 2], Operations: ['15-13=2']
Exploring Operation: 39*2=78, Resulting Numbers: [58, 78]
Generated Node #3: [58, 78] from Operation: 39*2=78
Current State: 20:[58, 78], Operations: ['15-13=2', '39*2=78']
Exploring Operation: 78-58=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[58, 15, 39, 13], Operations: []
Exploring Operation: 39/13=3, Resulting Numbers: [58, 15, 3]
Generated Node #0,0: 20:[58, 15, 3] Operation: 39/13=3
Exploring Operation: 39-15=24, Resulting Numbers: [58, 13, 24]
Generated Node #0,1: 20:[58, 13, 24] Operation: 39-15=24
Exploring Operation: 58-39=19, Resulting Numbers: [15, 13, 19]
Generated Node #0,2: 20:[15, 13, 19] Operation: 58-39=19
Exploring Operation: 58-15=43, Resulting Numbers: [39, 13, 43]
Generated Node #0,3: 20:[39, 13, 43] Operation: 58-15=43
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[15, 13, 19], Operations: ['58-39=19']
Exploring Operation: 15-13=2, Resulting Numbers: [19, 2]
Generated Node #0,2,0: 20:[19, 2] Operation: 15-13=2
Exploring Operation: 15+13=28, Resulting Numbers: [19, 28]
Generated Node #0,2,1: 20:[19, 28] Operation: 15+13=28
Exploring Operation: 19-13=6, Resulting Numbers: [15, 6]
Generated Node #0,2,2: 20:[15, 6] Operation: 19-13=6
Exploring Operation: 19-15=4, Resulting Numbers: [13, 4]
Generated Node #0,2,3: 20:[13, 4] Operation: 19-15=4
Moving to Node #0,2,0
Current State: 20:[19, 2], Operations: ['58-39=19', '15-13=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,20 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[13, 4], Operations: ['58-39=19', '19-15=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,20 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[15, 6], Operations: ['58-39=19', '19-13=6']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[19, 28], Operations: ['58-39=19', '15+13=28']
Exploring Operation: 19+28=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 19*28=532, Resulting Numbers: [532]
532,20 unequal: No Solution
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[58, 15, 3], Operations: ['39/13=3']
Exploring Operation: 58-3=55, Resulting Numbers: [15, 55]
Generated Node #0,0,0: 20:[15, 55] Operation: 58-3=55
Exploring Operation: 58-15=43, Resulting Numbers: [3, 43]
Generated Node #0,0,1: 20:[3, 43] Operation: 58-15=43
Exploring Operation: 15/3=5, Resulting Numbers: [58, 5]
Generated Node #0,0,2: 20:[58, 5] Operation: 15/3=5
Exploring Operation: 15+3=18, Resulting Numbers: [58, 18]
Generated Node #0,0,3: 20:[58, 18] Operation: 15+3=18
Moving to Node #0,0,1
Current State: 20:[3, 43], Operations: ['39/13=3', '58-15=43']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,20 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Moving to Node #0,0,2
Current State: 20:[58, 5], Operations: ['39/13=3', '15/3=5']
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 58*5=290, Resulting Numbers: [290]
290,20 unequal: No Solution
Moving to Node #0,0,3
Current State: 20:[58, 18], Operations: ['39/13=3', '15+3=18']
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,20 unequal: No Solution
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,20 unequal: No Solution
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[15, 55], Operations: ['39/13=3', '58-3=55']
Exploring Operation: 15+55=70, Resulting Numbers: [70]
70,20 unequal: No Solution
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 15*55=825, Resulting Numbers: [825]
825,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[58, 13, 24], Operations: ['39-15=24']
Exploring Operation: 58-13=45, Resulting Numbers: [24, 45]
Generated Node #0,1,0: 20:[24, 45] Operation: 58-13=45
Exploring Operation: 24-13=11, Resulting Numbers: [58, 11]
Generated Node #0,1,1: 20:[58, 11] Operation: 24-13=11
Exploring Operation: 58+13=71, Resulting Numbers: [24, 71]
Generated Node #0,1,2: 20:[24, 71] Operation: 58+13=71
Exploring Operation: 58-24=34, Resulting Numbers: [13, 34]
Generated Node #0,1,3: 20:[13, 34] Operation: 58-24=34
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 20:[13, 34], Operations: ['39-15=24', '58-24=34']
Exploring Operation: 13+34=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 13*34=442, Resulting Numbers: [442]
442,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[24, 45], Operations: ['39-15=24', '58-13=45']
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 24+45=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 24*45=1080, Resulting Numbers: [1080]
1080,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 20:[58, 11], Operations: ['39-15=24', '24-13=11']
Exploring Operation: 58+11=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 58*11=638, Resulting Numbers: [638]
638,20 unequal: No Solution
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 20:[24, 71], Operations: ['39-15=24', '58+13=71']
Exploring Operation: 24*71=1704, Resulting Numbers: [1704]
1704,20 unequal: No Solution
Exploring Operation: 24+71=95, Resulting Numbers: [95]
95,20 unequal: No Solution
Exploring Operation: 71-24=47, Resulting Numbers: [47]
47,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[39, 13, 43], Operations: ['58-15=43']
Exploring Operation: 39/13=3, Resulting Numbers: [43, 3]
Generated Node #0,3,0: 20:[43, 3] Operation: 39/13=3
Exploring Operation: 43-13=30, Resulting Numbers: [39, 30]
Generated Node #0,3,1: 20:[39, 30] Operation: 43-13=30
Exploring Operation: 43-39=4, Resulting Numbers: [13, 4]
Generated Node #0,3,2: 20:[13, 4] Operation: 43-39=4
Exploring Operation: 39-13=26, Resulting Numbers: [43, 26]
Generated Node #0,3,3: 20:[43, 26] Operation: 39-13=26
Moving to Node #0,3,2
Current State: 20:[13, 4], Operations: ['58-15=43', '43-39=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,20 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Moving to Node #0,3,0
Current State: 20:[43, 3], Operations: ['58-15=43', '39/13=3']
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,20 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Moving to Node #0,3,3
Current State: 20:[43, 26], Operations: ['58-15=43', '39-13=26']
Exploring Operation: 43*26=1118, Resulting Numbers: [1118]
1118,20 unequal: No Solution
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 43+26=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Moving to Node #0,3,1
Current State: 20:[39, 30], Operations: ['58-15=43', '43-13=30']
Exploring Operation: 39*30=1170, Resulting Numbers: [1170]
1170,20 unequal: No Solution
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
4,
99,
93,
97
] | 100 | [
"4+93=97",
"97/97=1",
"99+1=100"
] | Current State: 100:[4, 99, 93, 97], Operations: []
Exploring Operation: 4+93=97, Resulting Numbers: [99, 97, 97]
Generated Node #2: [99, 97, 97] from Operation: 4+93=97
Current State: 100:[99, 97, 97], Operations: ['4+93=97']
Exploring Operation: 97/97=1, Resulting Numbers: [99, 1]
Generated Node #3: [99, 1] from Operation: 97/97=1
Current State: 100:[99, 1], Operations: ['4+93=97', '97/97=1']
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[4, 99, 93, 97], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [4, 99, 4]
Generated Node #0,0: 100:[4, 99, 4] Operation: 97-93=4
Exploring Operation: 99-97=2, Resulting Numbers: [4, 93, 2]
Generated Node #0,1: 100:[4, 93, 2] Operation: 99-97=2
Exploring Operation: 99-93=6, Resulting Numbers: [4, 97, 6]
Generated Node #0,2: 100:[4, 97, 6] Operation: 99-93=6
Exploring Operation: 4+93=97, Resulting Numbers: [99, 97, 97]
Generated Node #0,3: 100:[99, 97, 97] Operation: 4+93=97
Exploring Operation: 4+97=101, Resulting Numbers: [99, 93, 101]
Generated Node #0,4: 100:[99, 93, 101] Operation: 4+97=101
Moving to Node #0,0
Current State: 100:[4, 99, 4], Operations: ['97-93=4']
Exploring Operation: 99+4=103, Resulting Numbers: [4, 103]
Generated Node #0,0,0: 100:[4, 103] Operation: 99+4=103
Exploring Operation: 4-4=0, Resulting Numbers: [99, 0]
Generated Node #0,0,1: 100:[99, 0] Operation: 4-4=0
Exploring Operation: 4/4=1, Resulting Numbers: [99, 1]
Generated Node #0,0,2: 100:[99, 1] Operation: 4/4=1
Exploring Operation: 4+4=8, Resulting Numbers: [99, 8]
Generated Node #0,0,3: 100:[99, 8] Operation: 4+4=8
Exploring Operation: 4+99=103, Resulting Numbers: [4, 103]
Generated Node #0,0,4: 100:[4, 103] Operation: 4+99=103
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 100:[99, 1], Operations: ['97-93=4', '4/4=1']
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,100 unequal: No Solution
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[4, 99, 93, 97], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [4, 99, 4]
Generated Node #0,0: 100:[4, 99, 4] Operation: 97-93=4
Moving to Node #0,0
Current State: 100:[4, 99, 4], Operations: ['97-93=4']
Exploring Operation: 4/4=1, Resulting Numbers: [99, 1]
Generated Node #0,0,2: 100:[99, 1] Operation: 4/4=1
Moving to Node #0,0,2
Current State: 100:[99, 1], Operations: ['97-93=4', '4/4=1']
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
84,
39,
81,
71
] | 35 | [
"84-39=45",
"81-71=10",
"45-10=35"
] | Current State: 35:[84, 39, 81, 71], Operations: []
Exploring Operation: 84-39=45, Resulting Numbers: [81, 71, 45]
Generated Node #2: [81, 71, 45] from Operation: 84-39=45
Current State: 35:[81, 71, 45], Operations: ['84-39=45']
Exploring Operation: 81-71=10, Resulting Numbers: [45, 10]
Generated Node #3: [45, 10] from Operation: 81-71=10
Current State: 35:[45, 10], Operations: ['84-39=45', '81-71=10']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[84, 39, 81, 71], Operations: []
Exploring Operation: 81-39=42, Resulting Numbers: [84, 71, 42]
Generated Node #0,0: 35:[84, 71, 42] Operation: 81-39=42
Exploring Operation: 81-71=10, Resulting Numbers: [84, 39, 10]
Generated Node #0,1: 35:[84, 39, 10] Operation: 81-71=10
Exploring Operation: 84-81=3, Resulting Numbers: [39, 71, 3]
Generated Node #0,2: 35:[39, 71, 3] Operation: 84-81=3
Exploring Operation: 84-39=45, Resulting Numbers: [81, 71, 45]
Generated Node #0,3: 35:[81, 71, 45] Operation: 84-39=45
Exploring Operation: 84-71=13, Resulting Numbers: [39, 81, 13]
Generated Node #0,4: 35:[39, 81, 13] Operation: 84-71=13
Moving to Node #0,2
Current State: 35:[39, 71, 3], Operations: ['84-81=3']
Exploring Operation: 39+3=42, Resulting Numbers: [71, 42]
Generated Node #0,2,0: 35:[71, 42] Operation: 39+3=42
Exploring Operation: 39/3=13, Resulting Numbers: [71, 13]
Generated Node #0,2,1: 35:[71, 13] Operation: 39/3=13
Exploring Operation: 71-3=68, Resulting Numbers: [39, 68]
Generated Node #0,2,2: 35:[39, 68] Operation: 71-3=68
Exploring Operation: 71-39=32, Resulting Numbers: [3, 32]
Generated Node #0,2,3: 35:[3, 32] Operation: 71-39=32
Exploring Operation: 39-3=36, Resulting Numbers: [71, 36]
Generated Node #0,2,4: 35:[71, 36] Operation: 39-3=36
Moving to Node #0,4
Current State: 35:[39, 81, 13], Operations: ['84-71=13']
Exploring Operation: 39/13=3, Resulting Numbers: [81, 3]
Generated Node #0,4,0: 35:[81, 3] Operation: 39/13=3
Exploring Operation: 39-13=26, Resulting Numbers: [81, 26]
Generated Node #0,4,1: 35:[81, 26] Operation: 39-13=26
Exploring Operation: 81-13=68, Resulting Numbers: [39, 68]
Generated Node #0,4,2: 35:[39, 68] Operation: 81-13=68
Exploring Operation: 81-39=42, Resulting Numbers: [13, 42]
Generated Node #0,4,3: 35:[13, 42] Operation: 81-39=42
Exploring Operation: 39+13=52, Resulting Numbers: [81, 52]
Generated Node #0,4,4: 35:[81, 52] Operation: 39+13=52
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 35:[13, 42], Operations: ['84-71=13', '81-39=42']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Exploring Operation: 13*42=546, Resulting Numbers: [546]
546,35 unequal: No Solution
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 35:[39, 68], Operations: ['84-71=13', '81-13=68']
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Exploring Operation: 39*68=2652, Resulting Numbers: [2652]
2652,35 unequal: No Solution
Exploring Operation: 39+68=107, Resulting Numbers: [107]
107,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 35:[81, 3], Operations: ['84-71=13', '39/13=3']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,35 unequal: No Solution
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 81*3=243, Resulting Numbers: [243]
243,35 unequal: No Solution
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 35:[81, 26], Operations: ['84-71=13', '39-13=26']
Exploring Operation: 81+26=107, Resulting Numbers: [107]
107,35 unequal: No Solution
Exploring Operation: 81-26=55, Resulting Numbers: [55]
55,35 unequal: No Solution
Exploring Operation: 81*26=2106, Resulting Numbers: [2106]
2106,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 35:[81, 52], Operations: ['84-71=13', '39+13=52']
Exploring Operation: 81*52=4212, Resulting Numbers: [4212]
4212,35 unequal: No Solution
Exploring Operation: 81-52=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Exploring Operation: 81+52=133, Resulting Numbers: [133]
133,35 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: 35:[84, 39, 10], Operations: ['81-71=10']
Exploring Operation: 84-39=45, Resulting Numbers: [10, 45]
Generated Node #0,1,0: 35:[10, 45] Operation: 84-39=45
Exploring Operation: 39+10=49, Resulting Numbers: [84, 49]
Generated Node #0,1,1: 35:[84, 49] Operation: 39+10=49
Exploring Operation: 84+10=94, Resulting Numbers: [39, 94]
Generated Node #0,1,2: 35:[39, 94] Operation: 84+10=94
Exploring Operation: 39-10=29, Resulting Numbers: [84, 29]
Generated Node #0,1,3: 35:[84, 29] Operation: 39-10=29
Exploring Operation: 84-10=74, Resulting Numbers: [39, 74]
Generated Node #0,1,4: 35:[39, 74] Operation: 84-10=74
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[10, 45], Operations: ['81-71=10', '84-39=45']
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,35 unequal: No Solution
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,35 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[84, 39, 81, 71], Operations: []
Exploring Operation: 81-71=10, Resulting Numbers: [84, 39, 10]
Generated Node #0,1: 35:[84, 39, 10] Operation: 81-71=10
Moving to Node #0,1
Current State: 35:[84, 39, 10], Operations: ['81-71=10']
Exploring Operation: 84-39=45, Resulting Numbers: [10, 45]
Generated Node #0,1,0: 35:[10, 45] Operation: 84-39=45
Moving to Node #0,1,0
Current State: 35:[10, 45], Operations: ['81-71=10', '84-39=45']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_5 | sum_heuristic |
[
60,
14,
30,
35
] | 98 | [
"60/30=2",
"14+35=49",
"2*49=98"
] | Current State: 98:[60, 14, 30, 35], Operations: []
Exploring Operation: 60/30=2, Resulting Numbers: [14, 35, 2]
Generated Node #2: [14, 35, 2] from Operation: 60/30=2
Current State: 98:[14, 35, 2], Operations: ['60/30=2']
Exploring Operation: 14+35=49, Resulting Numbers: [2, 49]
Generated Node #3: [2, 49] from Operation: 14+35=49
Current State: 98:[2, 49], Operations: ['60/30=2', '14+35=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[60, 14, 30, 35], Operations: []
Exploring Operation: 35-30=5, Resulting Numbers: [60, 14, 5]
Generated Node #0,0: 98:[60, 14, 5] Operation: 35-30=5
Exploring Operation: 60+35=95, Resulting Numbers: [14, 30, 95]
Generated Node #0,1: 98:[14, 30, 95] Operation: 60+35=95
Exploring Operation: 60/30=2, Resulting Numbers: [14, 35, 2]
Generated Node #0,2: 98:[14, 35, 2] Operation: 60/30=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[60, 14, 5], Operations: ['35-30=5']
Exploring Operation: 60-5=55, Resulting Numbers: [14, 55]
Generated Node #0,0,0: 98:[14, 55] Operation: 60-5=55
Exploring Operation: 60-14=46, Resulting Numbers: [5, 46]
Generated Node #0,0,1: 98:[5, 46] Operation: 60-14=46
Exploring Operation: 60/5=12, Resulting Numbers: [14, 12]
Generated Node #0,0,2: 98:[14, 12] Operation: 60/5=12
Moving to Node #0,0,2
Current State: 98:[14, 12], Operations: ['35-30=5', '60/5=12']
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,98 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[5, 46], Operations: ['35-30=5', '60-14=46']
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,98 unequal: No Solution
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,98 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[14, 55], Operations: ['35-30=5', '60-5=55']
Exploring Operation: 14+55=69, Resulting Numbers: [69]
69,98 unequal: No Solution
Exploring Operation: 14*55=770, Resulting Numbers: [770]
770,98 unequal: No Solution
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,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,2
Current State: 98:[14, 35, 2], Operations: ['60/30=2']
Exploring Operation: 35+2=37, Resulting Numbers: [14, 37]
Generated Node #0,2,0: 98:[14, 37] Operation: 35+2=37
Exploring Operation: 35-14=21, Resulting Numbers: [2, 21]
Generated Node #0,2,1: 98:[2, 21] Operation: 35-14=21
Exploring Operation: 14+35=49, Resulting Numbers: [2, 49]
Generated Node #0,2,2: 98:[2, 49] Operation: 14+35=49
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 98:[2, 49], Operations: ['60/30=2', '14+35=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,98 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[60, 14, 30, 35], Operations: []
Exploring Operation: 60/30=2, Resulting Numbers: [14, 35, 2]
Generated Node #0,2: 98:[14, 35, 2] Operation: 60/30=2
Moving to Node #0,2
Current State: 98:[14, 35, 2], Operations: ['60/30=2']
Exploring Operation: 14+35=49, Resulting Numbers: [2, 49]
Generated Node #0,2,2: 98:[2, 49] Operation: 14+35=49
Moving to Node #0,2,2
Current State: 98:[2, 49], Operations: ['60/30=2', '14+35=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
27,
30,
39,
30
] | 23 | [
"30-27=3",
"39+30=69",
"69/3=23"
] | Current State: 23:[27, 30, 39, 30], Operations: []
Exploring Operation: 30-27=3, Resulting Numbers: [39, 3]
Generated Node #2: [39, 3] from Operation: 30-27=3
Current State: 23:[39, 3], Operations: ['30-27=3']
Exploring Operation: 39+30=69, Resulting Numbers: [3, 69]
Generated Node #3: [3, 69] from Operation: 39+30=69
Current State: 23:[3, 69], Operations: ['30-27=3', '39+30=69']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[27, 30, 39, 30], Operations: []
Exploring Operation: 39-30=9, Resulting Numbers: [27, 30, 9]
Generated Node #0,0: 23:[27, 30, 9] Operation: 39-30=9
Exploring Operation: 39-27=12, Resulting Numbers: [30, 30, 12]
Generated Node #0,1: 23:[30, 30, 12] Operation: 39-27=12
Exploring Operation: 39-30=9, Resulting Numbers: [27, 30, 9]
Generated Node #0,2: 23:[27, 30, 9] Operation: 39-30=9
Moving to Node #0,0
Current State: 23:[27, 30, 9], Operations: ['39-30=9']
Exploring Operation: 27-9=18, Resulting Numbers: [30, 18]
Generated Node #0,0,0: 23:[30, 18] Operation: 27-9=18
Exploring Operation: 27+9=36, Resulting Numbers: [30, 36]
Generated Node #0,0,1: 23:[30, 36] Operation: 27+9=36
Exploring Operation: 30-9=21, Resulting Numbers: [27, 21]
Generated Node #0,0,2: 23:[27, 21] Operation: 30-9=21
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 23:[27, 21], Operations: ['39-30=9', '30-9=21']
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 27+21=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 27*21=567, Resulting Numbers: [567]
567,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,0
Current State: 23:[30, 18], Operations: ['39-30=9', '27-9=18']
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,23 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,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:[30, 36], Operations: ['39-30=9', '27+9=36']
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 30*36=1080, Resulting Numbers: [1080]
1080,23 unequal: No Solution
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,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:[30, 30, 12], Operations: ['39-27=12']
Exploring Operation: 30-12=18, Resulting Numbers: [30, 18]
Generated Node #0,1,0: 23:[30, 18] Operation: 30-12=18
Exploring Operation: 30+12=42, Resulting Numbers: [30, 42]
Generated Node #0,1,1: 23:[30, 42] Operation: 30+12=42
Exploring Operation: 30-12=18, Resulting Numbers: [30, 18]
Generated Node #0,1,2: 23:[30, 18] Operation: 30-12=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[30, 18], Operations: ['39-27=12', '30-12=18']
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[30, 18], Operations: ['39-27=12', '30-12=18']
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,23 unequal: No Solution
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[30, 42], Operations: ['39-27=12', '30+12=42']
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 30*42=1260, Resulting Numbers: [1260]
1260,23 unequal: No Solution
Exploring Operation: 30+42=72, Resulting Numbers: [72]
72,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 23:[27, 30, 9], Operations: ['39-30=9']
Exploring Operation: 27-9=18, Resulting Numbers: [30, 18]
Generated Node #0,2,0: 23:[30, 18] Operation: 27-9=18
Exploring Operation: 27+9=36, Resulting Numbers: [30, 36]
Generated Node #0,2,1: 23:[30, 36] Operation: 27+9=36
Exploring Operation: 30-9=21, Resulting Numbers: [27, 21]
Generated Node #0,2,2: 23:[27, 21] Operation: 30-9=21
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[27, 21], Operations: ['39-30=9', '30-9=21']
Exploring Operation: 27+21=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 27*21=567, Resulting Numbers: [567]
567,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[30, 18], Operations: ['39-30=9', '27-9=18']
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[30, 36], Operations: ['39-30=9', '27+9=36']
Exploring Operation: 30*36=1080, Resulting Numbers: [1080]
1080,23 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
37,
60,
78,
75
] | 69 | [
"60-37=23",
"78-75=3",
"23*3=69"
] | Current State: 69:[37, 60, 78, 75], Operations: []
Exploring Operation: 60-37=23, Resulting Numbers: [78, 75, 23]
Generated Node #2: [78, 75, 23] from Operation: 60-37=23
Current State: 69:[78, 75, 23], Operations: ['60-37=23']
Exploring Operation: 78-75=3, Resulting Numbers: [23, 3]
Generated Node #3: [23, 3] from Operation: 78-75=3
Current State: 69:[23, 3], Operations: ['60-37=23', '78-75=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[37, 60, 78, 75], Operations: []
Exploring Operation: 60-37=23, Resulting Numbers: [78, 75, 23]
Generated Node #0,0: 69:[78, 75, 23] Operation: 60-37=23
Moving to Node #0,0
Current State: 69:[78, 75, 23], Operations: ['60-37=23']
Exploring Operation: 78-75=3, Resulting Numbers: [23, 3]
Generated Node #0,0,0: 69:[23, 3] Operation: 78-75=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[23, 3], Operations: ['60-37=23', '78-75=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[37, 60, 78, 75], Operations: []
Exploring Operation: 60-37=23, Resulting Numbers: [78, 75, 23]
Generated Node #0,0: 69:[78, 75, 23] Operation: 60-37=23
Moving to Node #0,0
Current State: 69:[78, 75, 23], Operations: ['60-37=23']
Exploring Operation: 78-75=3, Resulting Numbers: [23, 3]
Generated Node #0,0,0: 69:[23, 3] Operation: 78-75=3
Moving to Node #0,0,0
Current State: 69:[23, 3], Operations: ['60-37=23', '78-75=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
5,
10,
30,
50
] | 55 | [
"10/5=2",
"50/2=25",
"30+25=55"
] | Current State: 55:[5, 10, 30, 50], Operations: []
Exploring Operation: 10/5=2, Resulting Numbers: [30, 50, 2]
Generated Node #2: [30, 50, 2] from Operation: 10/5=2
Current State: 55:[30, 50, 2], Operations: ['10/5=2']
Exploring Operation: 50/2=25, Resulting Numbers: [30, 25]
Generated Node #3: [30, 25] from Operation: 50/2=25
Current State: 55:[30, 25], Operations: ['10/5=2', '50/2=25']
Exploring Operation: 30+25=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[5, 10, 30, 50], Operations: []
Exploring Operation: 30/10=3, Resulting Numbers: [5, 50, 3]
Generated Node #0,0: 55:[5, 50, 3] Operation: 30/10=3
Exploring Operation: 30/5=6, Resulting Numbers: [10, 50, 6]
Generated Node #0,1: 55:[10, 50, 6] Operation: 30/5=6
Exploring Operation: 30-10=20, Resulting Numbers: [5, 50, 20]
Generated Node #0,2: 55:[5, 50, 20] Operation: 30-10=20
Exploring Operation: 50-30=20, Resulting Numbers: [5, 10, 20]
Generated Node #0,3: 55:[5, 10, 20] Operation: 50-30=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[5, 50, 3], Operations: ['30/10=3']
Exploring Operation: 50/5=10, Resulting Numbers: [3, 10]
Generated Node #0,0,0: 55:[3, 10] Operation: 50/5=10
Exploring Operation: 5+50=55, Resulting Numbers: [3, 55]
Generated Node #0,0,1: 55:[3, 55] Operation: 5+50=55
Exploring Operation: 50+3=53, Resulting Numbers: [5, 53]
Generated Node #0,0,2: 55:[5, 53] Operation: 50+3=53
Exploring Operation: 5+3=8, Resulting Numbers: [50, 8]
Generated Node #0,0,3: 55:[50, 8] Operation: 5+3=8
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 55:[3, 55], Operations: ['30/10=3', '5+50=55']
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,55 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,55 unequal: No Solution
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,55 unequal: No Solution
No 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: 55:[5, 53], Operations: ['30/10=3', '50+3=53']
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 5*53=265, Resulting Numbers: [265]
265,55 unequal: No Solution
No 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: 55:[3, 10], Operations: ['30/10=3', '50/5=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,55 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,55 unequal: No Solution
No 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: 55:[50, 8], Operations: ['30/10=3', '5+3=8']
Exploring Operation: 50+8=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 50*8=400, Resulting Numbers: [400]
400,55 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: 55:[10, 50, 6], Operations: ['30/5=6']
Exploring Operation: 10-6=4, Resulting Numbers: [50, 4]
Generated Node #0,1,0: 55:[50, 4] Operation: 10-6=4
Exploring Operation: 50/10=5, Resulting Numbers: [6, 5]
Generated Node #0,1,1: 55:[6, 5] Operation: 50/10=5
Exploring Operation: 50+6=56, Resulting Numbers: [10, 56]
Generated Node #0,1,2: 55:[10, 56] Operation: 50+6=56
Exploring Operation: 10+50=60, Resulting Numbers: [6, 60]
Generated Node #0,1,3: 55:[6, 60] Operation: 10+50=60
Moving to Node #0,1,1
Current State: 55:[6, 5], Operations: ['30/5=6', '50/10=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,55 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,55 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[10, 56], Operations: ['30/5=6', '50+6=56']
Exploring Operation: 10*56=560, Resulting Numbers: [560]
560,55 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,55 unequal: No Solution
Exploring Operation: 10+56=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Moving to Node #0,1,3
Current State: 55:[6, 60], Operations: ['30/5=6', '10+50=60']
Exploring Operation: 6+60=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 6*60=360, Resulting Numbers: [360]
360,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[50, 4], Operations: ['30/5=6', '10-6=4']
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 50*4=200, Resulting Numbers: [200]
200,55 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 55:[5, 10, 20], Operations: ['50-30=20']
Exploring Operation: 20/5=4, Resulting Numbers: [10, 4]
Generated Node #0,3,0: 55:[10, 4] Operation: 20/5=4
Exploring Operation: 20/10=2, Resulting Numbers: [5, 2]
Generated Node #0,3,1: 55:[5, 2] Operation: 20/10=2
Exploring Operation: 20-10=10, Resulting Numbers: [5, 10]
Generated Node #0,3,2: 55:[5, 10] Operation: 20-10=10
Exploring Operation: 20-5=15, Resulting Numbers: [10, 15]
Generated Node #0,3,3: 55:[10, 15] Operation: 20-5=15
Moving to Node #0,3,2
Current State: 55:[5, 10], Operations: ['50-30=20', '20-10=10']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,55 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Moving to Node #0,3,0
Current State: 55:[10, 4], Operations: ['50-30=20', '20/5=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,55 unequal: No Solution
Moving to Node #0,3,1
Current State: 55:[5, 2], Operations: ['50-30=20', '20/10=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Moving to Node #0,3,3
Current State: 55:[10, 15], Operations: ['50-30=20', '20-5=15']
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,55 unequal: No Solution
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,55 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,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,2
Current State: 55:[5, 50, 20], Operations: ['30-10=20']
Exploring Operation: 20/5=4, Resulting Numbers: [50, 4]
Generated Node #0,2,0: 55:[50, 4] Operation: 20/5=4
Exploring Operation: 50/5=10, Resulting Numbers: [20, 10]
Generated Node #0,2,1: 55:[20, 10] Operation: 50/5=10
Exploring Operation: 20-5=15, Resulting Numbers: [50, 15]
Generated Node #0,2,2: 55:[50, 15] Operation: 20-5=15
Exploring Operation: 5+50=55, Resulting Numbers: [20, 55]
Generated Node #0,2,3: 55:[20, 55] Operation: 5+50=55
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 55:[50, 4], Operations: ['30-10=20', '20/5=4']
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,55 unequal: No Solution
Exploring Operation: 50*4=200, Resulting Numbers: [200]
200,55 unequal: No Solution
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,55 unequal: No Solution
No 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: 55:[50, 15], Operations: ['30-10=20', '20-5=15']
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,55 unequal: No Solution
Exploring Operation: 50+15=65, Resulting Numbers: [65]
65,55 unequal: No Solution
Exploring Operation: 50*15=750, Resulting Numbers: [750]
750,55 unequal: No Solution
No 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: 55:[20, 55], Operations: ['30-10=20', '5+50=55']
Exploring Operation: 55-20=35, Resulting Numbers: [35]
35,55 unequal: No Solution
Exploring Operation: 20+55=75, Resulting Numbers: [75]
75,55 unequal: No Solution
Exploring Operation: 20*55=1100, Resulting Numbers: [1100]
1100,55 unequal: No Solution
No 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: 55:[20, 10], Operations: ['30-10=20', '50/5=10']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 20*10=200, Resulting Numbers: [200]
200,55 unequal: No Solution
Exploring Operation: 20+10=30, Resulting Numbers: [30]
30,55 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 |
[
75,
62,
11,
87
] | 85 | [
"75-62=13",
"11+87=98",
"98-13=85"
] | Current State: 85:[75, 62, 11, 87], Operations: []
Exploring Operation: 75-62=13, Resulting Numbers: [11, 87, 13]
Generated Node #2: [11, 87, 13] from Operation: 75-62=13
Current State: 85:[11, 87, 13], Operations: ['75-62=13']
Exploring Operation: 11+87=98, Resulting Numbers: [13, 98]
Generated Node #3: [13, 98] from Operation: 11+87=98
Current State: 85:[13, 98], Operations: ['75-62=13', '11+87=98']
Exploring Operation: 98-13=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[75, 62, 11, 87], Operations: []
Exploring Operation: 87-62=25, Resulting Numbers: [75, 11, 25]
Generated Node #0,0: 85:[75, 11, 25] Operation: 87-62=25
Exploring Operation: 75-62=13, Resulting Numbers: [11, 87, 13]
Generated Node #0,1: 85:[11, 87, 13] Operation: 75-62=13
Exploring Operation: 62+11=73, Resulting Numbers: [75, 87, 73]
Generated Node #0,2: 85:[75, 87, 73] Operation: 62+11=73
Moving to Node #0,1
Current State: 85:[11, 87, 13], Operations: ['75-62=13']
Exploring Operation: 11+13=24, Resulting Numbers: [87, 24]
Generated Node #0,1,0: 85:[87, 24] Operation: 11+13=24
Exploring Operation: 87-11=76, Resulting Numbers: [13, 76]
Generated Node #0,1,1: 85:[13, 76] Operation: 87-11=76
Exploring Operation: 13-11=2, Resulting Numbers: [87, 2]
Generated Node #0,1,2: 85:[87, 2] Operation: 13-11=2
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[87, 2], Operations: ['75-62=13', '13-11=2']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[75, 62, 11, 87], Operations: []
Exploring Operation: 75-62=13, Resulting Numbers: [11, 87, 13]
Generated Node #0,1: 85:[11, 87, 13] Operation: 75-62=13
Moving to Node #0,1
Current State: 85:[11, 87, 13], Operations: ['75-62=13']
Exploring Operation: 13-11=2, Resulting Numbers: [87, 2]
Generated Node #0,1,2: 85:[87, 2] Operation: 13-11=2
Moving to Node #0,1,2
Current State: 85:[87, 2], Operations: ['75-62=13', '13-11=2']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
3,
18,
57,
53
] | 100 | [
"3*57=171",
"18+53=71",
"171-71=100"
] | Current State: 100:[3, 18, 57, 53], Operations: []
Exploring Operation: 3*57=171, Resulting Numbers: [18, 53, 171]
Generated Node #2: [18, 53, 171] from Operation: 3*57=171
Current State: 100:[18, 53, 171], Operations: ['3*57=171']
Exploring Operation: 18+53=71, Resulting Numbers: [171, 71]
Generated Node #3: [171, 71] from Operation: 18+53=71
Current State: 100:[171, 71], Operations: ['3*57=171', '18+53=71']
Exploring Operation: 171-71=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[3, 18, 57, 53], Operations: []
Exploring Operation: 57/3=19, Resulting Numbers: [18, 53, 19]
Generated Node #0,0: 100:[18, 53, 19] Operation: 57/3=19
Exploring Operation: 57-53=4, Resulting Numbers: [3, 18, 4]
Generated Node #0,1: 100:[3, 18, 4] Operation: 57-53=4
Exploring Operation: 57-3=54, Resulting Numbers: [18, 53, 54]
Generated Node #0,2: 100:[18, 53, 54] Operation: 57-3=54
Moving to Node #0,1
Current State: 100:[3, 18, 4], Operations: ['57-53=4']
Exploring Operation: 3+18=21, Resulting Numbers: [4, 21]
Generated Node #0,1,0: 100:[4, 21] Operation: 3+18=21
Exploring Operation: 18/3=6, Resulting Numbers: [4, 6]
Generated Node #0,1,1: 100:[4, 6] Operation: 18/3=6
Exploring Operation: 4-3=1, Resulting Numbers: [18, 1]
Generated Node #0,1,2: 100:[18, 1] Operation: 4-3=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[4, 21], Operations: ['57-53=4', '3+18=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,100 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,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:[4, 6], Operations: ['57-53=4', '18/3=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,100 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,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,2
Current State: 100:[18, 1], Operations: ['57-53=4', '4-3=1']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,100 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: 100:[18, 53, 19], Operations: ['57/3=19']
Exploring Operation: 53-19=34, Resulting Numbers: [18, 34]
Generated Node #0,0,0: 100:[18, 34] Operation: 53-19=34
Exploring Operation: 53-18=35, Resulting Numbers: [19, 35]
Generated Node #0,0,1: 100:[19, 35] Operation: 53-18=35
Exploring Operation: 19-18=1, Resulting Numbers: [53, 1]
Generated Node #0,0,2: 100:[53, 1] Operation: 19-18=1
Moving to Node #0,2
Current State: 100:[18, 53, 54], Operations: ['57-3=54']
Exploring Operation: 54/18=3, Resulting Numbers: [53, 3]
Generated Node #0,2,0: 100:[53, 3] Operation: 54/18=3
Exploring Operation: 54-53=1, Resulting Numbers: [18, 1]
Generated Node #0,2,1: 100:[18, 1] Operation: 54-53=1
Exploring Operation: 53+54=107, Resulting Numbers: [18, 107]
Generated Node #0,2,2: 100:[18, 107] Operation: 53+54=107
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 100:[18, 1], Operations: ['57-3=54', '54-53=1']
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,100 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,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,2,0
Current State: 100:[53, 3], Operations: ['57-3=54', '54/18=3']
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,100 unequal: No Solution
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,100 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,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,2,2
Current State: 100:[18, 107], Operations: ['57-3=54', '53+54=107']
Exploring Operation: 18*107=1926, Resulting Numbers: [1926]
1926,100 unequal: No Solution
Exploring Operation: 107-18=89, Resulting Numbers: [89]
89,100 unequal: No Solution
Exploring Operation: 18+107=125, Resulting Numbers: [125]
125,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 100:[53, 1], Operations: ['57/3=19', '19-18=1']
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,100 unequal: No Solution
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,100 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[18, 34], Operations: ['57/3=19', '53-19=34']
Exploring Operation: 18*34=612, Resulting Numbers: [612]
612,100 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 18+34=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[19, 35], Operations: ['57/3=19', '53-18=35']
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 19+35=54, Resulting Numbers: [54]
54,100 unequal: No Solution
Exploring Operation: 19*35=665, Resulting Numbers: [665]
665,100 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
19,
6,
14,
8
] | 81 | [
"19+14=33",
"6*8=48",
"33+48=81"
] | Current State: 81:[19, 6, 14, 8], Operations: []
Exploring Operation: 19+14=33, Resulting Numbers: [6, 8, 33]
Generated Node #2: [6, 8, 33] from Operation: 19+14=33
Current State: 81:[6, 8, 33], Operations: ['19+14=33']
Exploring Operation: 6*8=48, Resulting Numbers: [33, 48]
Generated Node #3: [33, 48] from Operation: 6*8=48
Current State: 81:[33, 48], Operations: ['19+14=33', '6*8=48']
Exploring Operation: 33+48=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[19, 6, 14, 8], Operations: []
Exploring Operation: 19+8=27, Resulting Numbers: [6, 14, 27]
Generated Node #0,0: 81:[6, 14, 27] Operation: 19+8=27
Exploring Operation: 19+14=33, Resulting Numbers: [6, 8, 33]
Generated Node #0,1: 81:[6, 8, 33] Operation: 19+14=33
Exploring Operation: 19-14=5, Resulting Numbers: [6, 8, 5]
Generated Node #0,2: 81:[6, 8, 5] Operation: 19-14=5
Exploring Operation: 19-6=13, Resulting Numbers: [14, 8, 13]
Generated Node #0,3: 81:[14, 8, 13] Operation: 19-6=13
Exploring Operation: 19+6=25, Resulting Numbers: [14, 8, 25]
Generated Node #0,4: 81:[14, 8, 25] Operation: 19+6=25
Moving to Node #0,2
Current State: 81:[6, 8, 5], Operations: ['19-14=5']
Exploring Operation: 8-6=2, Resulting Numbers: [5, 2]
Generated Node #0,2,0: 81:[5, 2] Operation: 8-6=2
Exploring Operation: 6+5=11, Resulting Numbers: [8, 11]
Generated Node #0,2,1: 81:[8, 11] Operation: 6+5=11
Exploring Operation: 6-5=1, Resulting Numbers: [8, 1]
Generated Node #0,2,2: 81:[8, 1] Operation: 6-5=1
Exploring Operation: 6*5=30, Resulting Numbers: [8, 30]
Generated Node #0,2,3: 81:[8, 30] Operation: 6*5=30
Exploring Operation: 8-5=3, Resulting Numbers: [6, 3]
Generated Node #0,2,4: 81:[6, 3] Operation: 8-5=3
Moving to Node #0,4
Current State: 81:[14, 8, 25], Operations: ['19+6=25']
Exploring Operation: 25-14=11, Resulting Numbers: [8, 11]
Generated Node #0,4,0: 81:[8, 11] Operation: 25-14=11
Exploring Operation: 8+25=33, Resulting Numbers: [14, 33]
Generated Node #0,4,1: 81:[14, 33] Operation: 8+25=33
Exploring Operation: 14-8=6, Resulting Numbers: [25, 6]
Generated Node #0,4,2: 81:[25, 6] Operation: 14-8=6
Exploring Operation: 14+8=22, Resulting Numbers: [25, 22]
Generated Node #0,4,3: 81:[25, 22] Operation: 14+8=22
Exploring Operation: 14+25=39, Resulting Numbers: [8, 39]
Generated Node #0,4,4: 81:[8, 39] Operation: 14+25=39
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 81:[8, 11], Operations: ['19+6=25', '25-14=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,81 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 81:[25, 6], Operations: ['19+6=25', '14-8=6']
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,81 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 81:[25, 22], Operations: ['19+6=25', '14+8=22']
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 25+22=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 25*22=550, Resulting Numbers: [550]
550,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 81:[14, 33], Operations: ['19+6=25', '8+25=33']
Exploring Operation: 14+33=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 14*33=462, Resulting Numbers: [462]
462,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 81:[8, 39], Operations: ['19+6=25', '14+25=39']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,81 unequal: No Solution
Exploring Operation: 8*39=312, Resulting Numbers: [312]
312,81 unequal: No Solution
Exploring Operation: 8+39=47, Resulting Numbers: [47]
47,81 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: 81:[6, 14, 27], Operations: ['19+8=27']
Exploring Operation: 6*14=84, Resulting Numbers: [27, 84]
Generated Node #0,0,0: 81:[27, 84] Operation: 6*14=84
Exploring Operation: 14-6=8, Resulting Numbers: [27, 8]
Generated Node #0,0,1: 81:[27, 8] Operation: 14-6=8
Exploring Operation: 27-14=13, Resulting Numbers: [6, 13]
Generated Node #0,0,2: 81:[6, 13] Operation: 27-14=13
Exploring Operation: 6+14=20, Resulting Numbers: [27, 20]
Generated Node #0,0,3: 81:[27, 20] Operation: 6+14=20
Exploring Operation: 6+27=33, Resulting Numbers: [14, 33]
Generated Node #0,0,4: 81:[14, 33] Operation: 6+27=33
Moving to Node #0,1
Current State: 81:[6, 8, 33], Operations: ['19+14=33']
Exploring Operation: 6+8=14, Resulting Numbers: [33, 14]
Generated Node #0,1,0: 81:[33, 14] Operation: 6+8=14
Exploring Operation: 33-6=27, Resulting Numbers: [8, 27]
Generated Node #0,1,1: 81:[8, 27] Operation: 33-6=27
Exploring Operation: 8-6=2, Resulting Numbers: [33, 2]
Generated Node #0,1,2: 81:[33, 2] Operation: 8-6=2
Exploring Operation: 6+33=39, Resulting Numbers: [8, 39]
Generated Node #0,1,3: 81:[8, 39] Operation: 6+33=39
Exploring Operation: 33-8=25, Resulting Numbers: [6, 25]
Generated Node #0,1,4: 81:[6, 25] Operation: 33-8=25
Moving to Node #0,3
Current State: 81:[14, 8, 13], Operations: ['19-6=13']
Exploring Operation: 13-8=5, Resulting Numbers: [14, 5]
Generated Node #0,3,0: 81:[14, 5] Operation: 13-8=5
Exploring Operation: 14+13=27, Resulting Numbers: [8, 27]
Generated Node #0,3,1: 81:[8, 27] Operation: 14+13=27
Exploring Operation: 14-8=6, Resulting Numbers: [13, 6]
Generated Node #0,3,2: 81:[13, 6] Operation: 14-8=6
Exploring Operation: 14-13=1, Resulting Numbers: [8, 1]
Generated Node #0,3,3: 81:[8, 1] Operation: 14-13=1
Exploring Operation: 14+8=22, Resulting Numbers: [13, 22]
Generated Node #0,3,4: 81:[13, 22] Operation: 14+8=22
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 81:[8, 27], Operations: ['19-6=13', '14+13=27']
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,81 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 81:[8, 1], Operations: ['19-6=13', '14-13=1']
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 81:[14, 5], Operations: ['19-6=13', '13-8=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,81 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 81:[13, 6], Operations: ['19-6=13', '14-8=6']
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,81 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 81:[13, 22], Operations: ['19-6=13', '14+8=22']
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,81 unequal: No Solution
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,81 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,81 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: 81:[27, 8], Operations: ['19+8=27', '14-6=8']
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,81 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[8, 27], Operations: ['19+14=33', '33-6=27']
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,81 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,81 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[5, 2], Operations: ['19-14=5', '8-6=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[27, 84], Operations: ['19+8=27', '6*14=84']
Exploring Operation: 84-27=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Exploring Operation: 27*84=2268, Resulting Numbers: [2268]
2268,81 unequal: No Solution
Exploring Operation: 27+84=111, Resulting Numbers: [111]
111,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[8, 1], Operations: ['19-14=5', '6-5=1']
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[8, 11], Operations: ['19-14=5', '6+5=11']
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,81 unequal: No Solution
Moving to Node #0,2,4
Current State: 81:[6, 3], Operations: ['19-14=5', '8-5=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Moving to Node #0,2,3
Current State: 81:[8, 30], Operations: ['19-14=5', '6*5=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,81 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,81 unequal: No Solution
Moving to Node #0,1,4
Current State: 81:[6, 25], Operations: ['19+14=33', '33-8=25']
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,81 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[33, 2], Operations: ['19+14=33', '8-6=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,81 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,81 unequal: No Solution
Moving to Node #0,0,3
Current State: 81:[27, 20], Operations: ['19+8=27', '6+14=20']
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 27+20=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 27*20=540, Resulting Numbers: [540]
540,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[6, 13], Operations: ['19+8=27', '27-14=13']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[33, 14], Operations: ['19+14=33', '6+8=14']
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 33+14=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 33*14=462, Resulting Numbers: [462]
462,81 unequal: No Solution
Moving to Node #0,0,4
Current State: 81:[14, 33], Operations: ['19+8=27', '6+27=33']
Exploring Operation: 14*33=462, Resulting Numbers: [462]
462,81 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 14+33=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[8, 39], Operations: ['19+14=33', '6+33=39']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,81 unequal: No Solution
Exploring Operation: 8+39=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 8*39=312, Resulting Numbers: [312]
312,81 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
42,
24,
53,
3
] | 91 | [
"42/3=14",
"24+53=77",
"14+77=91"
] | Current State: 91:[42, 24, 53, 3], Operations: []
Exploring Operation: 42/3=14, Resulting Numbers: [24, 53, 14]
Generated Node #2: [24, 53, 14] from Operation: 42/3=14
Current State: 91:[24, 53, 14], Operations: ['42/3=14']
Exploring Operation: 24+53=77, Resulting Numbers: [14, 77]
Generated Node #3: [14, 77] from Operation: 24+53=77
Current State: 91:[14, 77], Operations: ['42/3=14', '24+53=77']
Exploring Operation: 14+77=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[42, 24, 53, 3], Operations: []
Exploring Operation: 42-24=18, Resulting Numbers: [53, 3, 18]
Generated Node #0,0: 91:[53, 3, 18] Operation: 42-24=18
Exploring Operation: 53-42=11, Resulting Numbers: [24, 3, 11]
Generated Node #0,1: 91:[24, 3, 11] Operation: 53-42=11
Exploring Operation: 42+53=95, Resulting Numbers: [24, 3, 95]
Generated Node #0,2: 91:[24, 3, 95] Operation: 42+53=95
Moving to Node #0,1
Current State: 91:[24, 3, 11], Operations: ['53-42=11']
Exploring Operation: 24-3=21, Resulting Numbers: [11, 21]
Generated Node #0,1,0: 91:[11, 21] Operation: 24-3=21
Exploring Operation: 24/3=8, Resulting Numbers: [11, 8]
Generated Node #0,1,1: 91:[11, 8] Operation: 24/3=8
Exploring Operation: 24-11=13, Resulting Numbers: [3, 13]
Generated Node #0,1,2: 91:[3, 13] Operation: 24-11=13
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[11, 8], Operations: ['53-42=11', '24/3=8']
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,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,2
Current State: 91:[3, 13], Operations: ['53-42=11', '24-11=13']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,91 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,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:[11, 21], Operations: ['53-42=11', '24-3=21']
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,91 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,91 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,91 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: 91:[24, 3, 95], Operations: ['42+53=95']
Exploring Operation: 95-3=92, Resulting Numbers: [24, 92]
Generated Node #0,2,0: 91:[24, 92] Operation: 95-3=92
Exploring Operation: 24/3=8, Resulting Numbers: [95, 8]
Generated Node #0,2,1: 91:[95, 8] Operation: 24/3=8
Exploring Operation: 24-3=21, Resulting Numbers: [95, 21]
Generated Node #0,2,2: 91:[95, 21] Operation: 24-3=21
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[95, 8], Operations: ['42+53=95', '24/3=8']
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,91 unequal: No Solution
Exploring Operation: 95*8=760, Resulting Numbers: [760]
760,91 unequal: No Solution
Exploring Operation: 95+8=103, Resulting Numbers: [103]
103,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:[24, 92], Operations: ['42+53=95', '95-3=92']
Exploring Operation: 92-24=68, Resulting Numbers: [68]
68,91 unequal: No Solution
Exploring Operation: 24+92=116, Resulting Numbers: [116]
116,91 unequal: No Solution
Exploring Operation: 24*92=2208, Resulting Numbers: [2208]
2208,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:[95, 21], Operations: ['42+53=95', '24-3=21']
Exploring Operation: 95+21=116, Resulting Numbers: [116]
116,91 unequal: No Solution
Exploring Operation: 95-21=74, Resulting Numbers: [74]
74,91 unequal: No Solution
Exploring Operation: 95*21=1995, Resulting Numbers: [1995]
1995,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:[53, 3, 18], Operations: ['42-24=18']
Exploring Operation: 18/3=6, Resulting Numbers: [53, 6]
Generated Node #0,0,0: 91:[53, 6] Operation: 18/3=6
Exploring Operation: 53-18=35, Resulting Numbers: [3, 35]
Generated Node #0,0,1: 91:[3, 35] Operation: 53-18=35
Exploring Operation: 53+18=71, Resulting Numbers: [3, 71]
Generated Node #0,0,2: 91:[3, 71] Operation: 53+18=71
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 91:[3, 71], Operations: ['42-24=18', '53+18=71']
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,91 unequal: No Solution
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,91 unequal: No Solution
Exploring Operation: 3*71=213, Resulting Numbers: [213]
213,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,1
Current State: 91:[3, 35], Operations: ['42-24=18', '53-18=35']
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,91 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,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:[53, 6], Operations: ['42-24=18', '18/3=6']
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,91 unequal: No Solution
Exploring Operation: 53*6=318, Resulting Numbers: [318]
318,91 unequal: No Solution
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,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 |
[
88,
26,
86,
12
] | 83 | [
"86-26=60",
"60/12=5",
"88-5=83"
] | Current State: 83:[88, 26, 86, 12], Operations: []
Exploring Operation: 86-26=60, Resulting Numbers: [88, 12, 60]
Generated Node #2: [88, 12, 60] from Operation: 86-26=60
Current State: 83:[88, 12, 60], Operations: ['86-26=60']
Exploring Operation: 60/12=5, Resulting Numbers: [88, 5]
Generated Node #3: [88, 5] from Operation: 60/12=5
Current State: 83:[88, 5], Operations: ['86-26=60', '60/12=5']
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[88, 26, 86, 12], Operations: []
Exploring Operation: 88-12=76, Resulting Numbers: [26, 86, 76]
Generated Node #0,0: 83:[26, 86, 76] Operation: 88-12=76
Exploring Operation: 26+12=38, Resulting Numbers: [88, 86, 38]
Generated Node #0,1: 83:[88, 86, 38] Operation: 26+12=38
Moving to Node #0,1
Current State: 83:[88, 86, 38], Operations: ['26+12=38']
Exploring Operation: 88-38=50, Resulting Numbers: [86, 50]
Generated Node #0,1,0: 83:[86, 50] Operation: 88-38=50
Exploring Operation: 86-38=48, Resulting Numbers: [88, 48]
Generated Node #0,1,1: 83:[88, 48] Operation: 86-38=48
Moving to Node #0,0
Current State: 83:[26, 86, 76], Operations: ['88-12=76']
Exploring Operation: 26+76=102, Resulting Numbers: [86, 102]
Generated Node #0,0,0: 83:[86, 102] Operation: 26+76=102
Exploring Operation: 86-26=60, Resulting Numbers: [76, 60]
Generated Node #0,0,1: 83:[76, 60] Operation: 86-26=60
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[86, 102], Operations: ['88-12=76', '26+76=102']
Exploring Operation: 102-86=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 86+102=188, Resulting Numbers: [188]
188,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[76, 60], Operations: ['88-12=76', '86-26=60']
Exploring Operation: 76-60=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 76+60=136, Resulting Numbers: [136]
136,83 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: 83:[86, 50], Operations: ['26+12=38', '88-38=50']
Exploring Operation: 86+50=136, Resulting Numbers: [136]
136,83 unequal: No Solution
Exploring Operation: 86-50=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[88, 48], Operations: ['26+12=38', '86-38=48']
Exploring Operation: 88+48=136, Resulting Numbers: [136]
136,83 unequal: No Solution
Exploring Operation: 88-48=40, Resulting Numbers: [40]
40,83 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
10,
46,
98,
94
] | 32 | [
"46-10=36",
"98-94=4",
"36-4=32"
] | Current State: 32:[10, 46, 98, 94], Operations: []
Exploring Operation: 46-10=36, Resulting Numbers: [98, 94, 36]
Generated Node #2: [98, 94, 36] from Operation: 46-10=36
Current State: 32:[98, 94, 36], Operations: ['46-10=36']
Exploring Operation: 98-94=4, Resulting Numbers: [36, 4]
Generated Node #3: [36, 4] from Operation: 98-94=4
Current State: 32:[36, 4], Operations: ['46-10=36', '98-94=4']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[10, 46, 98, 94], Operations: []
Exploring Operation: 98-94=4, Resulting Numbers: [10, 46, 4]
Generated Node #0,0: 32:[10, 46, 4] Operation: 98-94=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[10, 46, 4], Operations: ['98-94=4']
Exploring Operation: 46-10=36, Resulting Numbers: [4, 36]
Generated Node #0,0,0: 32:[4, 36] Operation: 46-10=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[4, 36], Operations: ['98-94=4', '46-10=36']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[10, 46, 98, 94], Operations: []
Exploring Operation: 98-94=4, Resulting Numbers: [10, 46, 4]
Generated Node #0,0: 32:[10, 46, 4] Operation: 98-94=4
Moving to Node #0,0
Current State: 32:[10, 46, 4], Operations: ['98-94=4']
Exploring Operation: 46-10=36, Resulting Numbers: [4, 36]
Generated Node #0,0,0: 32:[4, 36] Operation: 46-10=36
Moving to Node #0,0,0
Current State: 32:[4, 36], Operations: ['98-94=4', '46-10=36']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
56,
4,
6,
52
] | 60 | [
"56/4=14",
"52-6=46",
"14+46=60"
] | Current State: 60:[56, 4, 6, 52], Operations: []
Exploring Operation: 56/4=14, Resulting Numbers: [6, 52, 14]
Generated Node #2: [6, 52, 14] from Operation: 56/4=14
Current State: 60:[6, 52, 14], Operations: ['56/4=14']
Exploring Operation: 52-6=46, Resulting Numbers: [14, 46]
Generated Node #3: [14, 46] from Operation: 52-6=46
Current State: 60:[14, 46], Operations: ['56/4=14', '52-6=46']
Exploring Operation: 14+46=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[56, 4, 6, 52], Operations: []
Exploring Operation: 56-52=4, Resulting Numbers: [4, 6, 4]
Generated Node #0,0: 60:[4, 6, 4] Operation: 56-52=4
Exploring Operation: 4+52=56, Resulting Numbers: [56, 6, 56]
Generated Node #0,1: 60:[56, 6, 56] Operation: 4+52=56
Exploring Operation: 6+52=58, Resulting Numbers: [56, 4, 58]
Generated Node #0,2: 60:[56, 4, 58] Operation: 6+52=58
Exploring Operation: 52/4=13, Resulting Numbers: [56, 6, 13]
Generated Node #0,3: 60:[56, 6, 13] Operation: 52/4=13
Exploring Operation: 56+4=60, Resulting Numbers: [6, 52, 60]
Generated Node #0,4: 60:[6, 52, 60] Operation: 56+4=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[4, 6, 4], Operations: ['56-52=4']
Exploring Operation: 6-4=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 60:[4, 2] Operation: 6-4=2
Exploring Operation: 6+4=10, Resulting Numbers: [4, 10]
Generated Node #0,0,1: 60:[4, 10] Operation: 6+4=10
Exploring Operation: 4*4=16, Resulting Numbers: [6, 16]
Generated Node #0,0,2: 60:[6, 16] Operation: 4*4=16
Exploring Operation: 6-4=2, Resulting Numbers: [4, 2]
Generated Node #0,0,3: 60:[4, 2] Operation: 6-4=2
Exploring Operation: 4+6=10, Resulting Numbers: [4, 10]
Generated Node #0,0,4: 60:[4, 10] Operation: 4+6=10
Moving to Node #0,0,0
Current State: 60:[4, 2], Operations: ['56-52=4', '6-4=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[4, 2], Operations: ['56-52=4', '6-4=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[4, 10], Operations: ['56-52=4', '6+4=10']
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,60 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,60 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Moving to Node #0,0,4
Current State: 60:[4, 10], Operations: ['56-52=4', '4+6=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,60 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[6, 16], Operations: ['56-52=4', '4*4=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,60 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,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,3
Current State: 60:[56, 6, 13], Operations: ['52/4=13']
Exploring Operation: 56+13=69, Resulting Numbers: [6, 69]
Generated Node #0,3,0: 60:[6, 69] Operation: 56+13=69
Exploring Operation: 56-6=50, Resulting Numbers: [13, 50]
Generated Node #0,3,1: 60:[13, 50] Operation: 56-6=50
Exploring Operation: 6+13=19, Resulting Numbers: [56, 19]
Generated Node #0,3,2: 60:[56, 19] Operation: 6+13=19
Exploring Operation: 13-6=7, Resulting Numbers: [56, 7]
Generated Node #0,3,3: 60:[56, 7] Operation: 13-6=7
Exploring Operation: 56+6=62, Resulting Numbers: [13, 62]
Generated Node #0,3,4: 60:[13, 62] Operation: 56+6=62
Moving to Node #0,3,4
Current State: 60:[13, 62], Operations: ['52/4=13', '56+6=62']
Exploring Operation: 13*62=806, Resulting Numbers: [806]
806,60 unequal: No Solution
Exploring Operation: 13+62=75, Resulting Numbers: [75]
75,60 unequal: No Solution
Exploring Operation: 62-13=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[56, 7], Operations: ['52/4=13', '13-6=7']
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,60 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Moving to Node #0,3,2
Current State: 60:[56, 19], Operations: ['52/4=13', '6+13=19']
Exploring Operation: 56+19=75, Resulting Numbers: [75]
75,60 unequal: No Solution
Exploring Operation: 56*19=1064, Resulting Numbers: [1064]
1064,60 unequal: No Solution
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[6, 69], Operations: ['52/4=13', '56+13=69']
Exploring Operation: 6*69=414, Resulting Numbers: [414]
414,60 unequal: No Solution
Exploring Operation: 6+69=75, Resulting Numbers: [75]
75,60 unequal: No Solution
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Moving to Node #0,3,1
Current State: 60:[13, 50], Operations: ['52/4=13', '56-6=50']
Exploring Operation: 13+50=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 13*50=650, Resulting Numbers: [650]
650,60 unequal: No Solution
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[56, 4, 58], Operations: ['6+52=58']
Exploring Operation: 4+58=62, Resulting Numbers: [56, 62]
Generated Node #0,2,0: 60:[56, 62] Operation: 4+58=62
Exploring Operation: 56+4=60, Resulting Numbers: [58, 60]
Generated Node #0,2,1: 60:[58, 60] Operation: 56+4=60
Exploring Operation: 56-4=52, Resulting Numbers: [58, 52]
Generated Node #0,2,2: 60:[58, 52] Operation: 56-4=52
Exploring Operation: 58-56=2, Resulting Numbers: [4, 2]
Generated Node #0,2,3: 60:[4, 2] Operation: 58-56=2
Exploring Operation: 56/4=14, Resulting Numbers: [58, 14]
Generated Node #0,2,4: 60:[58, 14] Operation: 56/4=14
Moving to Node #0,2,3
Current State: 60:[4, 2], Operations: ['6+52=58', '58-56=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[58, 60], Operations: ['6+52=58', '56+4=60']
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 58*60=3480, Resulting Numbers: [3480]
3480,60 unequal: No Solution
Exploring Operation: 58+60=118, Resulting Numbers: [118]
118,60 unequal: No Solution
Moving to Node #0,2,4
Current State: 60:[58, 14], Operations: ['6+52=58', '56/4=14']
Exploring Operation: 58+14=72, Resulting Numbers: [72]
72,60 unequal: No Solution
Exploring Operation: 58*14=812, Resulting Numbers: [812]
812,60 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[56, 62], Operations: ['6+52=58', '4+58=62']
Exploring Operation: 62-56=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 56*62=3472, Resulting Numbers: [3472]
3472,60 unequal: No Solution
Exploring Operation: 56+62=118, Resulting Numbers: [118]
118,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[58, 52], Operations: ['6+52=58', '56-4=52']
Exploring Operation: 58-52=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 58*52=3016, Resulting Numbers: [3016]
3016,60 unequal: No Solution
Exploring Operation: 58+52=110, Resulting Numbers: [110]
110,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
Current State: 60:[56, 6, 56], Operations: ['4+52=56']
Exploring Operation: 6+56=62, Resulting Numbers: [56, 62]
Generated Node #0,1,0: 60:[56, 62] Operation: 6+56=62
Exploring Operation: 56-6=50, Resulting Numbers: [56, 50]
Generated Node #0,1,1: 60:[56, 50] Operation: 56-6=50
Exploring Operation: 56+6=62, Resulting Numbers: [56, 62]
Generated Node #0,1,2: 60:[56, 62] Operation: 56+6=62
Exploring Operation: 56-56=0, Resulting Numbers: [6, 0]
Generated Node #0,1,3: 60:[6, 0] Operation: 56-56=0
Exploring Operation: 56/56=1, Resulting Numbers: [6, 1]
Generated Node #0,1,4: 60:[6, 1] Operation: 56/56=1
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 60:[6, 1], Operations: ['4+52=56', '56/56=1']
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 60:[6, 0], Operations: ['4+52=56', '56-56=0']
Exploring Operation: 6-0=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 6*0=0, Resulting Numbers: [0]
0,60 unequal: No Solution
Exploring Operation: 6+0=6, Resulting Numbers: [6]
6,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[56, 62], Operations: ['4+52=56', '6+56=62']
Exploring Operation: 62-56=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 56*62=3472, Resulting Numbers: [3472]
3472,60 unequal: No Solution
Exploring Operation: 56+62=118, Resulting Numbers: [118]
118,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 60:[56, 62], Operations: ['4+52=56', '56+6=62']
Exploring Operation: 62-56=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 56*62=3472, Resulting Numbers: [3472]
3472,60 unequal: No Solution
Exploring Operation: 56+62=118, Resulting Numbers: [118]
118,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[56, 50], Operations: ['4+52=56', '56-6=50']
Exploring Operation: 56+50=106, Resulting Numbers: [106]
106,60 unequal: No Solution
Exploring Operation: 56-50=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 56*50=2800, Resulting Numbers: [2800]
2800,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 60:[6, 52, 60], Operations: ['56+4=60']
Exploring Operation: 60-52=8, Resulting Numbers: [6, 8]
Generated Node #0,4,0: 60:[6, 8] Operation: 60-52=8
Exploring Operation: 52-6=46, Resulting Numbers: [60, 46]
Generated Node #0,4,1: 60:[60, 46] Operation: 52-6=46
Exploring Operation: 6+60=66, Resulting Numbers: [52, 66]
Generated Node #0,4,2: 60:[52, 66] Operation: 6+60=66
Exploring Operation: 6+52=58, Resulting Numbers: [60, 58]
Generated Node #0,4,3: 60:[60, 58] Operation: 6+52=58
Exploring Operation: 60/6=10, Resulting Numbers: [52, 10]
Generated Node #0,4,4: 60:[52, 10] Operation: 60/6=10
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 60:[6, 8], Operations: ['56+4=60', '60-52=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,60 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 60:[60, 58], Operations: ['56+4=60', '6+52=58']
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 60*58=3480, Resulting Numbers: [3480]
3480,60 unequal: No Solution
Exploring Operation: 60+58=118, Resulting Numbers: [118]
118,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 60:[52, 10], Operations: ['56+4=60', '60/6=10']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,60 unequal: No Solution
Exploring Operation: 52*10=520, Resulting Numbers: [520]
520,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 60:[60, 46], Operations: ['56+4=60', '52-6=46']
Exploring Operation: 60+46=106, Resulting Numbers: [106]
106,60 unequal: No Solution
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,60 unequal: No Solution
Exploring Operation: 60*46=2760, Resulting Numbers: [2760]
2760,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 60:[52, 66], Operations: ['56+4=60', '6+60=66']
Exploring Operation: 52+66=118, Resulting Numbers: [118]
118,60 unequal: No Solution
Exploring Operation: 52*66=3432, Resulting Numbers: [3432]
3432,60 unequal: No Solution
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
9,
59,
82,
91
] | 59 | [
"9+59=68",
"91-82=9",
"68-9=59"
] | Current State: 59:[9, 59, 82, 91], Operations: []
Exploring Operation: 9+59=68, Resulting Numbers: [82, 91, 68]
Generated Node #2: [82, 91, 68] from Operation: 9+59=68
Current State: 59:[82, 91, 68], Operations: ['9+59=68']
Exploring Operation: 91-82=9, Resulting Numbers: [68, 9]
Generated Node #3: [68, 9] from Operation: 91-82=9
Current State: 59:[68, 9], Operations: ['9+59=68', '91-82=9']
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[9, 59, 82, 91], Operations: []
Exploring Operation: 91-9=82, Resulting Numbers: [59, 82, 82]
Generated Node #0,0: 59:[59, 82, 82] Operation: 91-9=82
Exploring Operation: 9+59=68, Resulting Numbers: [82, 91, 68]
Generated Node #0,1: 59:[82, 91, 68] Operation: 9+59=68
Exploring Operation: 82-9=73, Resulting Numbers: [59, 91, 73]
Generated Node #0,2: 59:[59, 91, 73] Operation: 82-9=73
Exploring Operation: 59-9=50, Resulting Numbers: [82, 91, 50]
Generated Node #0,3: 59:[82, 91, 50] Operation: 59-9=50
Moving to Node #0,0
Current State: 59:[59, 82, 82], Operations: ['91-9=82']
Exploring Operation: 82-82=0, Resulting Numbers: [59, 0]
Generated Node #0,0,0: 59:[59, 0] Operation: 82-82=0
Exploring Operation: 82-59=23, Resulting Numbers: [82, 23]
Generated Node #0,0,1: 59:[82, 23] Operation: 82-59=23
Exploring Operation: 82-59=23, Resulting Numbers: [82, 23]
Generated Node #0,0,2: 59:[82, 23] Operation: 82-59=23
Exploring Operation: 82/82=1, Resulting Numbers: [59, 1]
Generated Node #0,0,3: 59:[59, 1] Operation: 82/82=1
Moving to Node #0,2
Current State: 59:[59, 91, 73], Operations: ['82-9=73']
Exploring Operation: 91-59=32, Resulting Numbers: [73, 32]
Generated Node #0,2,0: 59:[73, 32] Operation: 91-59=32
Exploring Operation: 91-73=18, Resulting Numbers: [59, 18]
Generated Node #0,2,1: 59:[59, 18] Operation: 91-73=18
Exploring Operation: 59+91=150, Resulting Numbers: [73, 150]
Generated Node #0,2,2: 59:[73, 150] Operation: 59+91=150
Exploring Operation: 73-59=14, Resulting Numbers: [91, 14]
Generated Node #0,2,3: 59:[91, 14] Operation: 73-59=14
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[73, 32], Operations: ['82-9=73', '91-59=32']
Exploring Operation: 73-32=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 73+32=105, Resulting Numbers: [105]
105,59 unequal: No Solution
Exploring Operation: 73*32=2336, Resulting Numbers: [2336]
2336,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 59:[59, 18], Operations: ['82-9=73', '91-73=18']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 59*18=1062, Resulting Numbers: [1062]
1062,59 unequal: No Solution
Exploring Operation: 59+18=77, Resulting Numbers: [77]
77,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 59:[91, 14], Operations: ['82-9=73', '73-59=14']
Exploring Operation: 91+14=105, Resulting Numbers: [105]
105,59 unequal: No Solution
Exploring Operation: 91*14=1274, Resulting Numbers: [1274]
1274,59 unequal: No Solution
Exploring Operation: 91-14=77, Resulting Numbers: [77]
77,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 59:[73, 150], Operations: ['82-9=73', '59+91=150']
Exploring Operation: 73*150=10950, Resulting Numbers: [10950]
10950,59 unequal: No Solution
Exploring Operation: 150-73=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 73+150=223, Resulting Numbers: [223]
223,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 59:[82, 91, 50], Operations: ['59-9=50']
Exploring Operation: 82-50=32, Resulting Numbers: [91, 32]
Generated Node #0,3,0: 59:[91, 32] Operation: 82-50=32
Exploring Operation: 91-50=41, Resulting Numbers: [82, 41]
Generated Node #0,3,1: 59:[82, 41] Operation: 91-50=41
Exploring Operation: 91-82=9, Resulting Numbers: [50, 9]
Generated Node #0,3,2: 59:[50, 9] Operation: 91-82=9
Exploring Operation: 82+50=132, Resulting Numbers: [91, 132]
Generated Node #0,3,3: 59:[91, 132] Operation: 82+50=132
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 59:[82, 41], Operations: ['59-9=50', '91-50=41']
Exploring Operation: 82+41=123, Resulting Numbers: [123]
123,59 unequal: No Solution
Exploring Operation: 82/41=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 82*41=3362, Resulting Numbers: [3362]
3362,59 unequal: No Solution
Exploring Operation: 82-41=41, Resulting Numbers: [41]
41,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 59:[91, 32], Operations: ['59-9=50', '82-50=32']
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[9, 59, 82, 91], Operations: []
Exploring Operation: 59-9=50, Resulting Numbers: [82, 91, 50]
Generated Node #0,3: 59:[82, 91, 50] Operation: 59-9=50
Moving to Node #0,3
Current State: 59:[82, 91, 50], Operations: ['59-9=50']
Exploring Operation: 82-50=32, Resulting Numbers: [91, 32]
Generated Node #0,3,0: 59:[91, 32] Operation: 82-50=32
Moving to Node #0,3,0
Current State: 59:[91, 32], Operations: ['59-9=50', '82-50=32']
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | mult_heuristic |
[
36,
59,
77,
81
] | 63 | [
"36+59=95",
"77+81=158",
"158-95=63"
] | Current State: 63:[36, 59, 77, 81], Operations: []
Exploring Operation: 36+59=95, Resulting Numbers: [77, 81, 95]
Generated Node #2: [77, 81, 95] from Operation: 36+59=95
Current State: 63:[77, 81, 95], Operations: ['36+59=95']
Exploring Operation: 77+81=158, Resulting Numbers: [95, 158]
Generated Node #3: [95, 158] from Operation: 77+81=158
Current State: 63:[95, 158], Operations: ['36+59=95', '77+81=158']
Exploring Operation: 158-95=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[36, 59, 77, 81], Operations: []
Exploring Operation: 59-36=23, Resulting Numbers: [77, 81, 23]
Generated Node #0,0: 63:[77, 81, 23] Operation: 59-36=23
Exploring Operation: 81-77=4, Resulting Numbers: [36, 59, 4]
Generated Node #0,1: 63:[36, 59, 4] Operation: 81-77=4
Exploring Operation: 81-36=45, Resulting Numbers: [59, 77, 45]
Generated Node #0,2: 63:[59, 77, 45] Operation: 81-36=45
Exploring Operation: 81-59=22, Resulting Numbers: [36, 77, 22]
Generated Node #0,3: 63:[36, 77, 22] Operation: 81-59=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[36, 59, 4], Operations: ['81-77=4']
Exploring Operation: 59-36=23, Resulting Numbers: [4, 23]
Generated Node #0,1,0: 63:[4, 23] Operation: 59-36=23
Exploring Operation: 36/4=9, Resulting Numbers: [59, 9]
Generated Node #0,1,1: 63:[59, 9] Operation: 36/4=9
Exploring Operation: 36-4=32, Resulting Numbers: [59, 32]
Generated Node #0,1,2: 63:[59, 32] Operation: 36-4=32
Exploring Operation: 59+4=63, Resulting Numbers: [36, 63]
Generated Node #0,1,3: 63:[36, 63] Operation: 59+4=63
Moving to Node #0,1,0
Current State: 63:[4, 23], Operations: ['81-77=4', '59-36=23']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,63 unequal: No Solution
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,63 unequal: No Solution
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[59, 9], Operations: ['81-77=4', '36/4=9']
Exploring Operation: 59*9=531, Resulting Numbers: [531]
531,63 unequal: No Solution
Exploring Operation: 59+9=68, Resulting Numbers: [68]
68,63 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,63 unequal: No Solution
Moving to Node #0,1,3
Current State: 63:[36, 63], Operations: ['81-77=4', '59+4=63']
Exploring Operation: 36*63=2268, Resulting Numbers: [2268]
2268,63 unequal: No Solution
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,63 unequal: No Solution
Exploring Operation: 36+63=99, Resulting Numbers: [99]
99,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[59, 32], Operations: ['81-77=4', '36-4=32']
Exploring Operation: 59-32=27, Resulting Numbers: [27]
27,63 unequal: No Solution
Exploring Operation: 59+32=91, Resulting Numbers: [91]
91,63 unequal: No Solution
Exploring Operation: 59*32=1888, Resulting Numbers: [1888]
1888,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 63:[36, 77, 22], Operations: ['81-59=22']
Exploring Operation: 77-36=41, Resulting Numbers: [22, 41]
Generated Node #0,3,0: 63:[22, 41] Operation: 77-36=41
Exploring Operation: 36+22=58, Resulting Numbers: [77, 58]
Generated Node #0,3,1: 63:[77, 58] Operation: 36+22=58
Exploring Operation: 77-22=55, Resulting Numbers: [36, 55]
Generated Node #0,3,2: 63:[36, 55] Operation: 77-22=55
Exploring Operation: 36-22=14, Resulting Numbers: [77, 14]
Generated Node #0,3,3: 63:[77, 14] Operation: 36-22=14
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 63:[77, 58], Operations: ['81-59=22', '36+22=58']
Exploring Operation: 77-58=19, Resulting Numbers: [19]
19,63 unequal: No Solution
Exploring Operation: 77+58=135, Resulting Numbers: [135]
135,63 unequal: No Solution
Exploring Operation: 77*58=4466, Resulting Numbers: [4466]
4466,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 63:[77, 14], Operations: ['81-59=22', '36-22=14']
Exploring Operation: 77*14=1078, Resulting Numbers: [1078]
1078,63 unequal: No Solution
Exploring Operation: 77+14=91, Resulting Numbers: [91]
91,63 unequal: No Solution
Exploring Operation: 77-14=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[36, 59, 77, 81], Operations: []
Exploring Operation: 81-59=22, Resulting Numbers: [36, 77, 22]
Generated Node #0,3: 63:[36, 77, 22] Operation: 81-59=22
Moving to Node #0,3
Current State: 63:[36, 77, 22], Operations: ['81-59=22']
Exploring Operation: 36-22=14, Resulting Numbers: [77, 14]
Generated Node #0,3,3: 63:[77, 14] Operation: 36-22=14
Moving to Node #0,3,3
Current State: 63:[77, 14], Operations: ['81-59=22', '36-22=14']
Exploring Operation: 77-14=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.970486 | hs_4 | mult_heuristic |
[
37,
90,
96,
30
] | 73 | [
"90-37=53",
"96+30=126",
"126-53=73"
] | Current State: 73:[37, 90, 96, 30], Operations: []
Exploring Operation: 90-37=53, Resulting Numbers: [96, 30, 53]
Generated Node #2: [96, 30, 53] from Operation: 90-37=53
Current State: 73:[96, 30, 53], Operations: ['90-37=53']
Exploring Operation: 96+30=126, Resulting Numbers: [53, 126]
Generated Node #3: [53, 126] from Operation: 96+30=126
Current State: 73:[53, 126], Operations: ['90-37=53', '96+30=126']
Exploring Operation: 126-53=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[37, 90, 96, 30], Operations: []
Exploring Operation: 37+30=67, Resulting Numbers: [90, 96, 67]
Generated Node #0,0: 73:[90, 96, 67] Operation: 37+30=67
Moving to Node #0,0
Current State: 73:[90, 96, 67], Operations: ['37+30=67']
Exploring Operation: 96-67=29, Resulting Numbers: [90, 29]
Generated Node #0,0,0: 73:[90, 29] Operation: 96-67=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[90, 29], Operations: ['37+30=67', '96-67=29']
Exploring Operation: 90-29=61, Resulting Numbers: [61]
61,73 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 |
[
7,
17,
34,
37
] | 15 | [
"37-7=30",
"34/17=2",
"30/2=15"
] | Current State: 15:[7, 17, 34, 37], Operations: []
Exploring Operation: 37-7=30, Resulting Numbers: [17, 34, 30]
Generated Node #2: [17, 34, 30] from Operation: 37-7=30
Current State: 15:[17, 34, 30], Operations: ['37-7=30']
Exploring Operation: 34/17=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 34/17=2
Current State: 15:[30, 2], Operations: ['37-7=30', '34/17=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[7, 17, 34, 37], Operations: []
Exploring Operation: 34-17=17, Resulting Numbers: [7, 37, 17]
Generated Node #0,0: 15:[7, 37, 17] Operation: 34-17=17
Exploring Operation: 37-17=20, Resulting Numbers: [7, 34, 20]
Generated Node #0,1: 15:[7, 34, 20] Operation: 37-17=20
Exploring Operation: 37-34=3, Resulting Numbers: [7, 17, 3]
Generated Node #0,2: 15:[7, 17, 3] Operation: 37-34=3
Exploring Operation: 34/17=2, Resulting Numbers: [7, 37, 2]
Generated Node #0,3: 15:[7, 37, 2] Operation: 34/17=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[7, 17, 3], Operations: ['37-34=3']
Exploring Operation: 7+3=10, Resulting Numbers: [17, 10]
Generated Node #0,2,0: 15:[17, 10] Operation: 7+3=10
Exploring Operation: 7-3=4, Resulting Numbers: [17, 4]
Generated Node #0,2,1: 15:[17, 4] Operation: 7-3=4
Exploring Operation: 17-7=10, Resulting Numbers: [3, 10]
Generated Node #0,2,2: 15:[3, 10] Operation: 17-7=10
Exploring Operation: 17-3=14, Resulting Numbers: [7, 14]
Generated Node #0,2,3: 15:[7, 14] Operation: 17-3=14
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 15:[17, 4], Operations: ['37-34=3', '7-3=4']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,15 unequal: No Solution
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 15:[7, 14], Operations: ['37-34=3', '17-3=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,15 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 15:[3, 10], Operations: ['37-34=3', '17-7=10']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 15:[17, 10], Operations: ['37-34=3', '7+3=10']
Exploring Operation: 17*10=170, Resulting Numbers: [170]
170,15 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 17+10=27, Resulting Numbers: [27]
27,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 15:[7, 37, 2], Operations: ['34/17=2']
Exploring Operation: 37-2=35, Resulting Numbers: [7, 35]
Generated Node #0,3,0: 15:[7, 35] Operation: 37-2=35
Exploring Operation: 7-2=5, Resulting Numbers: [37, 5]
Generated Node #0,3,1: 15:[37, 5] Operation: 7-2=5
Exploring Operation: 37-7=30, Resulting Numbers: [2, 30]
Generated Node #0,3,2: 15:[2, 30] Operation: 37-7=30
Exploring Operation: 7*2=14, Resulting Numbers: [37, 14]
Generated Node #0,3,3: 15:[37, 14] Operation: 7*2=14
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 15:[2, 30], Operations: ['34/17=2', '37-7=30']
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[7, 17, 34, 37], Operations: []
Exploring Operation: 34/17=2, Resulting Numbers: [7, 37, 2]
Generated Node #0,3: 15:[7, 37, 2] Operation: 34/17=2
Moving to Node #0,3
Current State: 15:[7, 37, 2], Operations: ['34/17=2']
Exploring Operation: 37-7=30, Resulting Numbers: [2, 30]
Generated Node #0,3,2: 15:[2, 30] Operation: 37-7=30
Moving to Node #0,3,2
Current State: 15:[2, 30], Operations: ['34/17=2', '37-7=30']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
93,
41,
40,
83
] | 10 | [
"93-83=10",
"41-40=1",
"10*1=10"
] | Current State: 10:[93, 41, 40, 83], Operations: []
Exploring Operation: 93-83=10, Resulting Numbers: [41, 40, 10]
Generated Node #2: [41, 40, 10] from Operation: 93-83=10
Current State: 10:[41, 40, 10], Operations: ['93-83=10']
Exploring Operation: 41-40=1, Resulting Numbers: [10, 1]
Generated Node #3: [10, 1] from Operation: 41-40=1
Current State: 10:[10, 1], Operations: ['93-83=10', '41-40=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[93, 41, 40, 83], Operations: []
Exploring Operation: 93-40=53, Resulting Numbers: [41, 83, 53]
Generated Node #0,0: 10:[41, 83, 53] Operation: 93-40=53
Exploring Operation: 83-40=43, Resulting Numbers: [93, 41, 43]
Generated Node #0,1: 10:[93, 41, 43] Operation: 83-40=43
Exploring Operation: 93-41=52, Resulting Numbers: [40, 83, 52]
Generated Node #0,2: 10:[40, 83, 52] Operation: 93-41=52
Exploring Operation: 93-83=10, Resulting Numbers: [41, 40, 10]
Generated Node #0,3: 10:[41, 40, 10] Operation: 93-83=10
Exploring Operation: 83-41=42, Resulting Numbers: [93, 40, 42]
Generated Node #0,4: 10:[93, 40, 42] Operation: 83-41=42
Start Sub Search at level 1: Moving to Node #0,3
Current State: 10:[41, 40, 10], Operations: ['93-83=10']
Exploring Operation: 41+40=81, Resulting Numbers: [10, 81]
Generated Node #0,3,0: 10:[10, 81] Operation: 41+40=81
Exploring Operation: 41-10=31, Resulting Numbers: [40, 31]
Generated Node #0,3,1: 10:[40, 31] Operation: 41-10=31
Exploring Operation: 40-10=30, Resulting Numbers: [41, 30]
Generated Node #0,3,2: 10:[41, 30] Operation: 40-10=30
Exploring Operation: 40/10=4, Resulting Numbers: [41, 4]
Generated Node #0,3,3: 10:[41, 4] Operation: 40/10=4
Exploring Operation: 41-40=1, Resulting Numbers: [10, 1]
Generated Node #0,3,4: 10:[10, 1] Operation: 41-40=1
Moving to Node #0,3,4
Current State: 10:[10, 1], Operations: ['93-83=10', '41-40=1']
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[93, 41, 40, 83], Operations: []
Exploring Operation: 93-83=10, Resulting Numbers: [41, 40, 10]
Generated Node #0,3: 10:[41, 40, 10] Operation: 93-83=10
Moving to Node #0,3
Current State: 10:[41, 40, 10], Operations: ['93-83=10']
Exploring Operation: 41-40=1, Resulting Numbers: [10, 1]
Generated Node #0,3,4: 10:[10, 1] Operation: 41-40=1
Moving to Node #0,3,4
Current State: 10:[10, 1], Operations: ['93-83=10', '41-40=1']
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
96,
78,
21,
93
] | 71 | [
"96-93=3",
"21/3=7",
"78-7=71"
] | Current State: 71:[96, 78, 21, 93], Operations: []
Exploring Operation: 96-93=3, Resulting Numbers: [78, 21, 3]
Generated Node #2: [78, 21, 3] from Operation: 96-93=3
Current State: 71:[78, 21, 3], Operations: ['96-93=3']
Exploring Operation: 21/3=7, Resulting Numbers: [78, 7]
Generated Node #3: [78, 7] from Operation: 21/3=7
Current State: 71:[78, 7], Operations: ['96-93=3', '21/3=7']
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[96, 78, 21, 93], Operations: []
Exploring Operation: 96-21=75, Resulting Numbers: [78, 93, 75]
Generated Node #0,0: 71:[78, 93, 75] Operation: 96-21=75
Exploring Operation: 78-21=57, Resulting Numbers: [96, 93, 57]
Generated Node #0,1: 71:[96, 93, 57] Operation: 78-21=57
Exploring Operation: 93-21=72, Resulting Numbers: [96, 78, 72]
Generated Node #0,2: 71:[96, 78, 72] Operation: 93-21=72
Moving to Node #0,0
Current State: 71:[78, 93, 75], Operations: ['96-21=75']
Exploring Operation: 78-75=3, Resulting Numbers: [93, 3]
Generated Node #0,0,0: 71:[93, 3] Operation: 78-75=3
Exploring Operation: 93-78=15, Resulting Numbers: [75, 15]
Generated Node #0,0,1: 71:[75, 15] Operation: 93-78=15
Exploring Operation: 93-75=18, Resulting Numbers: [78, 18]
Generated Node #0,0,2: 71:[78, 18] Operation: 93-75=18
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[75, 15], Operations: ['96-21=75', '93-78=15']
Exploring Operation: 75/15=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Exploring Operation: 75-15=60, Resulting Numbers: [60]
60,71 unequal: No Solution
Exploring Operation: 75+15=90, Resulting Numbers: [90]
90,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 71:[78, 18], Operations: ['96-21=75', '93-75=18']
Exploring Operation: 78+18=96, Resulting Numbers: [96]
96,71 unequal: No Solution
Exploring Operation: 78*18=1404, Resulting Numbers: [1404]
1404,71 unequal: No Solution
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[93, 3], Operations: ['96-21=75', '78-75=3']
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,71 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,71 unequal: No Solution
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,71 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: 71:[96, 78, 72], Operations: ['93-21=72']
Exploring Operation: 96-78=18, Resulting Numbers: [72, 18]
Generated Node #0,2,0: 71:[72, 18] Operation: 96-78=18
Exploring Operation: 96-72=24, Resulting Numbers: [78, 24]
Generated Node #0,2,1: 71:[78, 24] Operation: 96-72=24
Exploring Operation: 78-72=6, Resulting Numbers: [96, 6]
Generated Node #0,2,2: 71:[96, 6] Operation: 78-72=6
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 71:[72, 18], Operations: ['93-21=72', '96-78=18']
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,71 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,71 unequal: No Solution
Exploring Operation: 72+18=90, Resulting Numbers: [90]
90,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 71:[78, 24], Operations: ['93-21=72', '96-72=24']
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,71 unequal: No Solution
Exploring Operation: 78*24=1872, Resulting Numbers: [1872]
1872,71 unequal: No Solution
Exploring Operation: 78+24=102, Resulting Numbers: [102]
102,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 71:[96, 6], Operations: ['93-21=72', '78-72=6']
Exploring Operation: 96+6=102, Resulting Numbers: [102]
102,71 unequal: No Solution
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,71 unequal: No Solution
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 71:[96, 93, 57], Operations: ['78-21=57']
Exploring Operation: 93-57=36, Resulting Numbers: [96, 36]
Generated Node #0,1,0: 71:[96, 36] Operation: 93-57=36
Exploring Operation: 96-93=3, Resulting Numbers: [57, 3]
Generated Node #0,1,1: 71:[57, 3] Operation: 96-93=3
Exploring Operation: 96-57=39, Resulting Numbers: [93, 39]
Generated Node #0,1,2: 71:[93, 39] Operation: 96-57=39
Moving to Node #0,1,2
Current State: 71:[93, 39], Operations: ['78-21=57', '96-57=39']
Exploring Operation: 93-39=54, Resulting Numbers: [54]
54,71 unequal: No Solution
Exploring Operation: 93*39=3627, Resulting Numbers: [3627]
3627,71 unequal: No Solution
Exploring Operation: 93+39=132, Resulting Numbers: [132]
132,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[96, 36], Operations: ['78-21=57', '93-57=36']
Exploring Operation: 96-36=60, Resulting Numbers: [60]
60,71 unequal: No Solution
Exploring Operation: 96*36=3456, Resulting Numbers: [3456]
3456,71 unequal: No Solution
Exploring Operation: 96+36=132, Resulting Numbers: [132]
132,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[57, 3], Operations: ['78-21=57', '96-93=3']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 57+3=60, Resulting Numbers: [60]
60,71 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,71 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
18,
25,
9,
1
] | 51 | [
"18+25=43",
"9-1=8",
"43+8=51"
] | Current State: 51:[18, 25, 9, 1], Operations: []
Exploring Operation: 18+25=43, Resulting Numbers: [9, 1, 43]
Generated Node #2: [9, 1, 43] from Operation: 18+25=43
Current State: 51:[9, 1, 43], Operations: ['18+25=43']
Exploring Operation: 9-1=8, Resulting Numbers: [43, 8]
Generated Node #3: [43, 8] from Operation: 9-1=8
Current State: 51:[43, 8], Operations: ['18+25=43', '9-1=8']
Exploring Operation: 43+8=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[18, 25, 9, 1], Operations: []
Exploring Operation: 25-9=16, Resulting Numbers: [18, 1, 16]
Generated Node #0,0: 51:[18, 1, 16] Operation: 25-9=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[18, 1, 16], Operations: ['25-9=16']
Exploring Operation: 18-1=17, Resulting Numbers: [16, 17]
Generated Node #0,0,0: 51:[16, 17] Operation: 18-1=17
Moving to Node #0,0,0
Current State: 51:[16, 17], Operations: ['25-9=16', '18-1=17']
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
7,
58,
23,
44
] | 55 | [
"44-23=21",
"21/7=3",
"58-3=55"
] | Current State: 55:[7, 58, 23, 44], Operations: []
Exploring Operation: 44-23=21, Resulting Numbers: [7, 58, 21]
Generated Node #2: [7, 58, 21] from Operation: 44-23=21
Current State: 55:[7, 58, 21], Operations: ['44-23=21']
Exploring Operation: 21/7=3, Resulting Numbers: [58, 3]
Generated Node #3: [58, 3] from Operation: 21/7=3
Current State: 55:[58, 3], Operations: ['44-23=21', '21/7=3']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[7, 58, 23, 44], Operations: []
Exploring Operation: 23+44=67, Resulting Numbers: [7, 58, 67]
Generated Node #0,0: 55:[7, 58, 67] Operation: 23+44=67
Exploring Operation: 44-23=21, Resulting Numbers: [7, 58, 21]
Generated Node #0,1: 55:[7, 58, 21] Operation: 44-23=21
Exploring Operation: 58-44=14, Resulting Numbers: [7, 23, 14]
Generated Node #0,2: 55:[7, 23, 14] Operation: 58-44=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[7, 58, 21], Operations: ['44-23=21']
Exploring Operation: 58-7=51, Resulting Numbers: [21, 51]
Generated Node #0,1,0: 55:[21, 51] Operation: 58-7=51
Exploring Operation: 21/7=3, Resulting Numbers: [58, 3]
Generated Node #0,1,1: 55:[58, 3] Operation: 21/7=3
Exploring Operation: 21-7=14, Resulting Numbers: [58, 14]
Generated Node #0,1,2: 55:[58, 14] Operation: 21-7=14
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[58, 3], Operations: ['44-23=21', '21/7=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,55 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[7, 58, 23, 44], Operations: []
Exploring Operation: 44-23=21, Resulting Numbers: [7, 58, 21]
Generated Node #0,1: 55:[7, 58, 21] Operation: 44-23=21
Moving to Node #0,1
Current State: 55:[7, 58, 21], Operations: ['44-23=21']
Exploring Operation: 21/7=3, Resulting Numbers: [58, 3]
Generated Node #0,1,1: 55:[58, 3] Operation: 21/7=3
Moving to Node #0,1,1
Current State: 55:[58, 3], Operations: ['44-23=21', '21/7=3']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
56,
35,
45,
40
] | 94 | [
"56*35=1960",
"1960/40=49",
"45+49=94"
] | Current State: 94:[56, 35, 45, 40], Operations: []
Exploring Operation: 56*35=1960, Resulting Numbers: [45, 40, 1960]
Generated Node #2: [45, 40, 1960] from Operation: 56*35=1960
Current State: 94:[45, 40, 1960], Operations: ['56*35=1960']
Exploring Operation: 1960/40=49, Resulting Numbers: [45, 49]
Generated Node #3: [45, 49] from Operation: 1960/40=49
Current State: 94:[45, 49], Operations: ['56*35=1960', '1960/40=49']
Exploring Operation: 45+49=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[56, 35, 45, 40], Operations: []
Exploring Operation: 56+40=96, Resulting Numbers: [35, 45, 96]
Generated Node #0,0: 94:[35, 45, 96] Operation: 56+40=96
Exploring Operation: 56+35=91, Resulting Numbers: [45, 40, 91]
Generated Node #0,1: 94:[45, 40, 91] Operation: 56+35=91
Exploring Operation: 40-35=5, Resulting Numbers: [56, 45, 5]
Generated Node #0,2: 94:[56, 45, 5] Operation: 40-35=5
Exploring Operation: 45-35=10, Resulting Numbers: [56, 40, 10]
Generated Node #0,3: 94:[56, 40, 10] Operation: 45-35=10
Exploring Operation: 45-40=5, Resulting Numbers: [56, 35, 5]
Generated Node #0,4: 94:[56, 35, 5] Operation: 45-40=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[45, 40, 91], Operations: ['56+35=91']
Exploring Operation: 40+91=131, Resulting Numbers: [45, 131]
Generated Node #0,1,0: 94:[45, 131] Operation: 40+91=131
Exploring Operation: 45-40=5, Resulting Numbers: [91, 5]
Generated Node #0,1,1: 94:[91, 5] Operation: 45-40=5
Exploring Operation: 91-45=46, Resulting Numbers: [40, 46]
Generated Node #0,1,2: 94:[40, 46] Operation: 91-45=46
Exploring Operation: 91-40=51, Resulting Numbers: [45, 51]
Generated Node #0,1,3: 94:[45, 51] Operation: 91-40=51
Exploring Operation: 45+40=85, Resulting Numbers: [91, 85]
Generated Node #0,1,4: 94:[91, 85] Operation: 45+40=85
Moving to Node #0,1,1
Current State: 94:[91, 5], Operations: ['56+35=91', '45-40=5']
Exploring Operation: 91*5=455, Resulting Numbers: [455]
455,94 unequal: No Solution
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,94 unequal: No Solution
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Moving to Node #0,1,3
Current State: 94:[45, 51], Operations: ['56+35=91', '91-40=51']
Exploring Operation: 45+51=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Exploring Operation: 45*51=2295, Resulting Numbers: [2295]
2295,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[40, 46], Operations: ['56+35=91', '91-45=46']
Exploring Operation: 40*46=1840, Resulting Numbers: [1840]
1840,94 unequal: No Solution
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,94 unequal: No Solution
Moving to Node #0,1,4
Current State: 94:[91, 85], Operations: ['56+35=91', '45+40=85']
Exploring Operation: 91+85=176, Resulting Numbers: [176]
176,94 unequal: No Solution
Exploring Operation: 91*85=7735, Resulting Numbers: [7735]
7735,94 unequal: No Solution
Exploring Operation: 91-85=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[45, 131], Operations: ['56+35=91', '40+91=131']
Exploring Operation: 131-45=86, Resulting Numbers: [86]
86,94 unequal: No Solution
Exploring Operation: 45*131=5895, Resulting Numbers: [5895]
5895,94 unequal: No Solution
Exploring Operation: 45+131=176, Resulting Numbers: [176]
176,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[56, 45, 5], Operations: ['40-35=5']
Exploring Operation: 56+5=61, Resulting Numbers: [45, 61]
Generated Node #0,2,0: 94:[45, 61] Operation: 56+5=61
Exploring Operation: 45+5=50, Resulting Numbers: [56, 50]
Generated Node #0,2,1: 94:[56, 50] Operation: 45+5=50
Exploring Operation: 56+45=101, Resulting Numbers: [5, 101]
Generated Node #0,2,2: 94:[5, 101] Operation: 56+45=101
Exploring Operation: 56-45=11, Resulting Numbers: [5, 11]
Generated Node #0,2,3: 94:[5, 11] Operation: 56-45=11
Exploring Operation: 56-5=51, Resulting Numbers: [45, 51]
Generated Node #0,2,4: 94:[45, 51] Operation: 56-5=51
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 94:[45, 51], Operations: ['40-35=5', '56-5=51']
Exploring Operation: 45*51=2295, Resulting Numbers: [2295]
2295,94 unequal: No Solution
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Exploring Operation: 45+51=96, Resulting Numbers: [96]
96,94 unequal: No Solution
No 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: 94:[5, 101], Operations: ['40-35=5', '56+45=101']
Exploring Operation: 5*101=505, Resulting Numbers: [505]
505,94 unequal: No Solution
Exploring Operation: 101-5=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 5+101=106, Resulting Numbers: [106]
106,94 unequal: No Solution
No 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: 94:[56, 50], Operations: ['40-35=5', '45+5=50']
Exploring Operation: 56*50=2800, Resulting Numbers: [2800]
2800,94 unequal: No Solution
Exploring Operation: 56-50=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Exploring Operation: 56+50=106, Resulting Numbers: [106]
106,94 unequal: No Solution
No 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: 94:[5, 11], Operations: ['40-35=5', '56-45=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,94 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,94 unequal: No Solution
No 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: 94:[45, 61], Operations: ['40-35=5', '56+5=61']
Exploring Operation: 45+61=106, Resulting Numbers: [106]
106,94 unequal: No Solution
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 45*61=2745, Resulting Numbers: [2745]
2745,94 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: 94:[35, 45, 96], Operations: ['56+40=96']
Exploring Operation: 35+96=131, Resulting Numbers: [45, 131]
Generated Node #0,0,0: 94:[45, 131] Operation: 35+96=131
Exploring Operation: 35+45=80, Resulting Numbers: [96, 80]
Generated Node #0,0,1: 94:[96, 80] Operation: 35+45=80
Exploring Operation: 96-35=61, Resulting Numbers: [45, 61]
Generated Node #0,0,2: 94:[45, 61] Operation: 96-35=61
Exploring Operation: 45-35=10, Resulting Numbers: [96, 10]
Generated Node #0,0,3: 94:[96, 10] Operation: 45-35=10
Exploring Operation: 96-45=51, Resulting Numbers: [35, 51]
Generated Node #0,0,4: 94:[35, 51] Operation: 96-45=51
Moving to Node #0,0,3
Current State: 94:[96, 10], Operations: ['56+40=96', '45-35=10']
Exploring Operation: 96*10=960, Resulting Numbers: [960]
960,94 unequal: No Solution
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,94 unequal: No Solution
Exploring Operation: 96+10=106, Resulting Numbers: [106]
106,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[45, 61], Operations: ['56+40=96', '96-35=61']
Exploring Operation: 45+61=106, Resulting Numbers: [106]
106,94 unequal: No Solution
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 45*61=2745, Resulting Numbers: [2745]
2745,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[96, 80], Operations: ['56+40=96', '35+45=80']
Exploring Operation: 96-80=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 96*80=7680, Resulting Numbers: [7680]
7680,94 unequal: No Solution
Exploring Operation: 96+80=176, Resulting Numbers: [176]
176,94 unequal: No Solution
Moving to Node #0,0,4
Current State: 94:[35, 51], Operations: ['56+40=96', '96-45=51']
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 35*51=1785, Resulting Numbers: [1785]
1785,94 unequal: No Solution
Exploring Operation: 35+51=86, Resulting Numbers: [86]
86,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[45, 131], Operations: ['56+40=96', '35+96=131']
Exploring Operation: 131-45=86, Resulting Numbers: [86]
86,94 unequal: No Solution
Exploring Operation: 45+131=176, Resulting Numbers: [176]
176,94 unequal: No Solution
Exploring Operation: 45*131=5895, Resulting Numbers: [5895]
5895,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 94:[56, 40, 10], Operations: ['45-35=10']
Exploring Operation: 56-40=16, Resulting Numbers: [10, 16]
Generated Node #0,3,0: 94:[10, 16] Operation: 56-40=16
Exploring Operation: 40+10=50, Resulting Numbers: [56, 50]
Generated Node #0,3,1: 94:[56, 50] Operation: 40+10=50
Exploring Operation: 56+40=96, Resulting Numbers: [10, 96]
Generated Node #0,3,2: 94:[10, 96] Operation: 56+40=96
Exploring Operation: 56-10=46, Resulting Numbers: [40, 46]
Generated Node #0,3,3: 94:[40, 46] Operation: 56-10=46
Exploring Operation: 40/10=4, Resulting Numbers: [56, 4]
Generated Node #0,3,4: 94:[56, 4] Operation: 40/10=4
Moving to Node #0,3,3
Current State: 94:[40, 46], Operations: ['45-35=10', '56-10=46']
Exploring Operation: 40*46=1840, Resulting Numbers: [1840]
1840,94 unequal: No Solution
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[10, 96], Operations: ['45-35=10', '56+40=96']
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,94 unequal: No Solution
Exploring Operation: 10*96=960, Resulting Numbers: [960]
960,94 unequal: No Solution
Exploring Operation: 10+96=106, Resulting Numbers: [106]
106,94 unequal: No Solution
Moving to Node #0,3,4
Current State: 94:[56, 4], Operations: ['45-35=10', '40/10=4']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,94 unequal: No Solution
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Exploring Operation: 56*4=224, Resulting Numbers: [224]
224,94 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[56, 50], Operations: ['45-35=10', '40+10=50']
Exploring Operation: 56*50=2800, Resulting Numbers: [2800]
2800,94 unequal: No Solution
Exploring Operation: 56-50=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Exploring Operation: 56+50=106, Resulting Numbers: [106]
106,94 unequal: No Solution
Moving to Node #0,3,0
Current State: 94:[10, 16], Operations: ['45-35=10', '56-40=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,94 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 94:[56, 35, 5], Operations: ['45-40=5']
Exploring Operation: 35+5=40, Resulting Numbers: [56, 40]
Generated Node #0,4,0: 94:[56, 40] Operation: 35+5=40
Exploring Operation: 56-35=21, Resulting Numbers: [5, 21]
Generated Node #0,4,1: 94:[5, 21] Operation: 56-35=21
Exploring Operation: 56+35=91, Resulting Numbers: [5, 91]
Generated Node #0,4,2: 94:[5, 91] Operation: 56+35=91
Exploring Operation: 56-5=51, Resulting Numbers: [35, 51]
Generated Node #0,4,3: 94:[35, 51] Operation: 56-5=51
Exploring Operation: 35/5=7, Resulting Numbers: [56, 7]
Generated Node #0,4,4: 94:[56, 7] Operation: 35/5=7
Moving to Node #0,4,2
Current State: 94:[5, 91], Operations: ['45-40=5', '56+35=91']
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,94 unequal: No Solution
Exploring Operation: 5+91=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 5*91=455, Resulting Numbers: [455]
455,94 unequal: No Solution
Moving to Node #0,4,4
Current State: 94:[56, 7], Operations: ['45-40=5', '35/5=7']
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,94 unequal: No Solution
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,94 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,94 unequal: No Solution
Moving to Node #0,4,0
Current State: 94:[56, 40], Operations: ['45-40=5', '35+5=40']
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 56*40=2240, Resulting Numbers: [2240]
2240,94 unequal: No Solution
Exploring Operation: 56+40=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Moving to Node #0,4,3
Current State: 94:[35, 51], Operations: ['45-40=5', '56-5=51']
Exploring Operation: 35+51=86, Resulting Numbers: [86]
86,94 unequal: No Solution
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 35*51=1785, Resulting Numbers: [1785]
1785,94 unequal: No Solution
Moving to Node #0,4,1
Current State: 94:[5, 21], Operations: ['45-40=5', '56-35=21']
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,94 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,94 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 |
[
41,
15,
25,
31
] | 32 | [
"41-15=26",
"31-25=6",
"26+6=32"
] | Current State: 32:[41, 15, 25, 31], Operations: []
Exploring Operation: 41-15=26, Resulting Numbers: [25, 31, 26]
Generated Node #2: [25, 31, 26] from Operation: 41-15=26
Current State: 32:[25, 31, 26], Operations: ['41-15=26']
Exploring Operation: 31-25=6, Resulting Numbers: [26, 6]
Generated Node #3: [26, 6] from Operation: 31-25=6
Current State: 32:[26, 6], Operations: ['41-15=26', '31-25=6']
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[41, 15, 25, 31], Operations: []
Exploring Operation: 25-15=10, Resulting Numbers: [41, 31, 10]
Generated Node #0,0: 32:[41, 31, 10] Operation: 25-15=10
Exploring Operation: 41-31=10, Resulting Numbers: [15, 25, 10]
Generated Node #0,1: 32:[15, 25, 10] Operation: 41-31=10
Exploring Operation: 41-25=16, Resulting Numbers: [15, 31, 16]
Generated Node #0,2: 32:[15, 31, 16] Operation: 41-25=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[15, 31, 16], Operations: ['41-25=16']
Exploring Operation: 31-15=16, Resulting Numbers: [16, 16]
Generated Node #0,2,0: 32:[16, 16] Operation: 31-15=16
Exploring Operation: 16-15=1, Resulting Numbers: [31, 1]
Generated Node #0,2,1: 32:[31, 1] Operation: 16-15=1
Exploring Operation: 15+16=31, Resulting Numbers: [31, 31]
Generated Node #0,2,2: 32:[31, 31] Operation: 15+16=31
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 32:[16, 16], Operations: ['41-25=16', '31-15=16']
Exploring Operation: 16-16=0, Resulting Numbers: [0]
0,32 unequal: No Solution
Exploring Operation: 16+16=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[41, 15, 25, 31], Operations: []
Exploring Operation: 41-25=16, Resulting Numbers: [15, 31, 16]
Generated Node #0,2: 32:[15, 31, 16] Operation: 41-25=16
Moving to Node #0,2
Current State: 32:[15, 31, 16], Operations: ['41-25=16']
Exploring Operation: 31-15=16, Resulting Numbers: [16, 16]
Generated Node #0,2,0: 32:[16, 16] Operation: 31-15=16
Moving to Node #0,2,0
Current State: 32:[16, 16], Operations: ['41-25=16', '31-15=16']
Exploring Operation: 16+16=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
28,
45,
77,
8
] | 68 | [
"45-28=17",
"77+8=85",
"85-17=68"
] | Current State: 68:[28, 45, 77, 8], Operations: []
Exploring Operation: 45-28=17, Resulting Numbers: [77, 8, 17]
Generated Node #2: [77, 8, 17] from Operation: 45-28=17
Current State: 68:[77, 8, 17], Operations: ['45-28=17']
Exploring Operation: 77+8=85, Resulting Numbers: [17, 85]
Generated Node #3: [17, 85] from Operation: 77+8=85
Current State: 68:[17, 85], Operations: ['45-28=17', '77+8=85']
Exploring Operation: 85-17=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[28, 45, 77, 8], Operations: []
Exploring Operation: 77-45=32, Resulting Numbers: [28, 8, 32]
Generated Node #0,0: 68:[28, 8, 32] Operation: 77-45=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[28, 8, 32], Operations: ['77-45=32']
Exploring Operation: 28+8=36, Resulting Numbers: [32, 36]
Generated Node #0,0,0: 68:[32, 36] Operation: 28+8=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[32, 36], Operations: ['77-45=32', '28+8=36']
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[28, 45, 77, 8], Operations: []
Exploring Operation: 77-45=32, Resulting Numbers: [28, 8, 32]
Generated Node #0,0: 68:[28, 8, 32] Operation: 77-45=32
Moving to Node #0,0
Current State: 68:[28, 8, 32], Operations: ['77-45=32']
Exploring Operation: 28+8=36, Resulting Numbers: [32, 36]
Generated Node #0,0,0: 68:[32, 36] Operation: 28+8=36
Moving to Node #0,0,0
Current State: 68:[32, 36], Operations: ['77-45=32', '28+8=36']
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
74,
73,
2,
41
] | 58 | [
"73-41=32",
"32/2=16",
"74-16=58"
] | Current State: 58:[74, 73, 2, 41], Operations: []
Exploring Operation: 73-41=32, Resulting Numbers: [74, 2, 32]
Generated Node #2: [74, 2, 32] from Operation: 73-41=32
Current State: 58:[74, 2, 32], Operations: ['73-41=32']
Exploring Operation: 32/2=16, Resulting Numbers: [74, 16]
Generated Node #3: [74, 16] from Operation: 32/2=16
Current State: 58:[74, 16], Operations: ['73-41=32', '32/2=16']
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[74, 73, 2, 41], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [73, 41, 37]
Generated Node #0,0: 58:[73, 41, 37] Operation: 74/2=37
Exploring Operation: 74-73=1, Resulting Numbers: [2, 41, 1]
Generated Node #0,1: 58:[2, 41, 1] Operation: 74-73=1
Exploring Operation: 73-41=32, Resulting Numbers: [74, 2, 32]
Generated Node #0,2: 58:[74, 2, 32] Operation: 73-41=32
Exploring Operation: 74-41=33, Resulting Numbers: [73, 2, 33]
Generated Node #0,3: 58:[73, 2, 33] Operation: 74-41=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[2, 41, 1], Operations: ['74-73=1']
Exploring Operation: 41-1=40, Resulting Numbers: [2, 40]
Generated Node #0,1,0: 58:[2, 40] Operation: 41-1=40
Exploring Operation: 2/1=2, Resulting Numbers: [41, 2]
Generated Node #0,1,1: 58:[41, 2] Operation: 2/1=2
Exploring Operation: 2*1=2, Resulting Numbers: [41, 2]
Generated Node #0,1,2: 58:[41, 2] Operation: 2*1=2
Exploring Operation: 41-2=39, Resulting Numbers: [1, 39]
Generated Node #0,1,3: 58:[1, 39] Operation: 41-2=39
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 58:[2, 40], Operations: ['74-73=1', '41-1=40']
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,58 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,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,3
Current State: 58:[1, 39], Operations: ['74-73=1', '41-2=39']
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,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:[41, 2], Operations: ['74-73=1', '2/1=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,58 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,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:[41, 2], Operations: ['74-73=1', '2*1=2']
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,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,2
Current State: 58:[74, 2, 32], Operations: ['73-41=32']
Exploring Operation: 74-32=42, Resulting Numbers: [2, 42]
Generated Node #0,2,0: 58:[2, 42] Operation: 74-32=42
Exploring Operation: 74-2=72, Resulting Numbers: [32, 72]
Generated Node #0,2,1: 58:[32, 72] Operation: 74-2=72
Exploring Operation: 74/2=37, Resulting Numbers: [32, 37]
Generated Node #0,2,2: 58:[32, 37] Operation: 74/2=37
Exploring Operation: 32-2=30, Resulting Numbers: [74, 30]
Generated Node #0,2,3: 58:[74, 30] Operation: 32-2=30
Moving to Node #0,2,2
Current State: 58:[32, 37], Operations: ['73-41=32', '74/2=37']
Exploring Operation: 32*37=1184, Resulting Numbers: [1184]
1184,58 unequal: No Solution
Exploring Operation: 32+37=69, Resulting Numbers: [69]
69,58 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Moving to Node #0,2,0
Current State: 58:[2, 42], Operations: ['73-41=32', '74-32=42']
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,58 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,58 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Moving to Node #0,2,3
Current State: 58:[74, 30], Operations: ['73-41=32', '32-2=30']
Exploring Operation: 74*30=2220, Resulting Numbers: [2220]
2220,58 unequal: No Solution
Exploring Operation: 74+30=104, Resulting Numbers: [104]
104,58 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[32, 72], Operations: ['73-41=32', '74-2=72']
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 32*72=2304, Resulting Numbers: [2304]
2304,58 unequal: No Solution
Exploring Operation: 32+72=104, Resulting Numbers: [104]
104,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:[73, 2, 33], Operations: ['74-41=33']
Exploring Operation: 73+2=75, Resulting Numbers: [33, 75]
Generated Node #0,3,0: 58:[33, 75] Operation: 73+2=75
Exploring Operation: 73-2=71, Resulting Numbers: [33, 71]
Generated Node #0,3,1: 58:[33, 71] Operation: 73-2=71
Exploring Operation: 33-2=31, Resulting Numbers: [73, 31]
Generated Node #0,3,2: 58:[73, 31] Operation: 33-2=31
Exploring Operation: 73-33=40, Resulting Numbers: [2, 40]
Generated Node #0,3,3: 58:[2, 40] Operation: 73-33=40
Moving to Node #0,3,3
Current State: 58:[2, 40], Operations: ['74-41=33', '73-33=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,58 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,58 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Moving to Node #0,3,2
Current State: 58:[73, 31], Operations: ['74-41=33', '33-2=31']
Exploring Operation: 73*31=2263, Resulting Numbers: [2263]
2263,58 unequal: No Solution
Exploring Operation: 73-31=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 73+31=104, Resulting Numbers: [104]
104,58 unequal: No Solution
Moving to Node #0,3,1
Current State: 58:[33, 71], Operations: ['74-41=33', '73-2=71']
Exploring Operation: 71-33=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 33+71=104, Resulting Numbers: [104]
104,58 unequal: No Solution
Exploring Operation: 33*71=2343, Resulting Numbers: [2343]
2343,58 unequal: No Solution
Moving to Node #0,3,0
Current State: 58:[33, 75], Operations: ['74-41=33', '73+2=75']
Exploring Operation: 33+75=108, Resulting Numbers: [108]
108,58 unequal: No Solution
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 33*75=2475, Resulting Numbers: [2475]
2475,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[73, 41, 37], Operations: ['74/2=37']
Exploring Operation: 73-37=36, Resulting Numbers: [41, 36]
Generated Node #0,0,0: 58:[41, 36] Operation: 73-37=36
Exploring Operation: 41+37=78, Resulting Numbers: [73, 78]
Generated Node #0,0,1: 58:[73, 78] Operation: 41+37=78
Exploring Operation: 73-41=32, Resulting Numbers: [37, 32]
Generated Node #0,0,2: 58:[37, 32] Operation: 73-41=32
Exploring Operation: 41-37=4, Resulting Numbers: [73, 4]
Generated Node #0,0,3: 58:[73, 4] Operation: 41-37=4
Moving to Node #0,0,2
Current State: 58:[37, 32], Operations: ['74/2=37', '73-41=32']
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 37+32=69, Resulting Numbers: [69]
69,58 unequal: No Solution
Exploring Operation: 37*32=1184, Resulting Numbers: [1184]
1184,58 unequal: No Solution
Moving to Node #0,0,3
Current State: 58:[73, 4], Operations: ['74/2=37', '41-37=4']
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,58 unequal: No Solution
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,58 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[41, 36], Operations: ['74/2=37', '73-37=36']
Exploring Operation: 41*36=1476, Resulting Numbers: [1476]
1476,58 unequal: No Solution
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[73, 78], Operations: ['74/2=37', '41+37=78']
Exploring Operation: 73*78=5694, Resulting Numbers: [5694]
5694,58 unequal: No Solution
Exploring Operation: 78-73=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 73+78=151, Resulting Numbers: [151]
151,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
44,
72,
76,
93
] | 99 | [
"44+72=116",
"93-76=17",
"116-17=99"
] | Current State: 99:[44, 72, 76, 93], Operations: []
Exploring Operation: 44+72=116, Resulting Numbers: [76, 93, 116]
Generated Node #2: [76, 93, 116] from Operation: 44+72=116
Current State: 99:[76, 93, 116], Operations: ['44+72=116']
Exploring Operation: 93-76=17, Resulting Numbers: [116, 17]
Generated Node #3: [116, 17] from Operation: 93-76=17
Current State: 99:[116, 17], Operations: ['44+72=116', '93-76=17']
Exploring Operation: 116-17=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[44, 72, 76, 93], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [44, 93, 4]
Generated Node #0,0: 99:[44, 93, 4] Operation: 76-72=4
Exploring Operation: 72-44=28, Resulting Numbers: [76, 93, 28]
Generated Node #0,1: 99:[76, 93, 28] Operation: 72-44=28
Moving to Node #0,0
Current State: 99:[44, 93, 4], Operations: ['76-72=4']
Exploring Operation: 44/4=11, Resulting Numbers: [93, 11]
Generated Node #0,0,0: 99:[93, 11] Operation: 44/4=11
Exploring Operation: 44-4=40, Resulting Numbers: [93, 40]
Generated Node #0,0,1: 99:[93, 40] Operation: 44-4=40
Moving to Node #0,1
Current State: 99:[76, 93, 28], Operations: ['72-44=28']
Exploring Operation: 93-76=17, Resulting Numbers: [28, 17]
Generated Node #0,1,0: 99:[28, 17] Operation: 93-76=17
Exploring Operation: 76+28=104, Resulting Numbers: [93, 104]
Generated Node #0,1,1: 99:[93, 104] Operation: 76+28=104
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[28, 17], Operations: ['72-44=28', '93-76=17']
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,99 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[93, 104], Operations: ['72-44=28', '76+28=104']
Exploring Operation: 93+104=197, Resulting Numbers: [197]
197,99 unequal: No Solution
Exploring Operation: 104-93=11, Resulting Numbers: [11]
11,99 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: 99:[93, 11], Operations: ['76-72=4', '44/4=11']
Exploring Operation: 93+11=104, Resulting Numbers: [104]
104,99 unequal: No Solution
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[93, 40], Operations: ['76-72=4', '44-4=40']
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,99 unequal: No Solution
Exploring Operation: 93+40=133, Resulting Numbers: [133]
133,99 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
93,
24,
27,
95
] | 21 | [
"95-93=2",
"24*2=48",
"48-27=21"
] | Current State: 21:[93, 24, 27, 95], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [24, 27, 2]
Generated Node #2: [24, 27, 2] from Operation: 95-93=2
Current State: 21:[24, 27, 2], Operations: ['95-93=2']
Exploring Operation: 24*2=48, Resulting Numbers: [27, 48]
Generated Node #3: [27, 48] from Operation: 24*2=48
Current State: 21:[27, 48], Operations: ['95-93=2', '24*2=48']
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[93, 24, 27, 95], Operations: []
Exploring Operation: 95-27=68, Resulting Numbers: [93, 24, 68]
Generated Node #0,0: 21:[93, 24, 68] Operation: 95-27=68
Exploring Operation: 93-24=69, Resulting Numbers: [27, 95, 69]
Generated Node #0,1: 21:[27, 95, 69] Operation: 93-24=69
Exploring Operation: 93-27=66, Resulting Numbers: [24, 95, 66]
Generated Node #0,2: 21:[24, 95, 66] Operation: 93-27=66
Exploring Operation: 95-93=2, Resulting Numbers: [24, 27, 2]
Generated Node #0,3: 21:[24, 27, 2] Operation: 95-93=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 21:[24, 27, 2], Operations: ['95-93=2']
Exploring Operation: 27-24=3, Resulting Numbers: [2, 3]
Generated Node #0,3,0: 21:[2, 3] Operation: 27-24=3
Exploring Operation: 24-2=22, Resulting Numbers: [27, 22]
Generated Node #0,3,1: 21:[27, 22] Operation: 24-2=22
Exploring Operation: 27-2=25, Resulting Numbers: [24, 25]
Generated Node #0,3,2: 21:[24, 25] Operation: 27-2=25
Exploring Operation: 24+2=26, Resulting Numbers: [27, 26]
Generated Node #0,3,3: 21:[27, 26] Operation: 24+2=26
Moving to Node #0,3,0
Current State: 21:[2, 3], Operations: ['95-93=2', '27-24=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Moving to Node #0,3,2
Current State: 21:[24, 25], Operations: ['95-93=2', '27-2=25']
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,21 unequal: No Solution
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,21 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Moving to Node #0,3,1
Current State: 21:[27, 22], Operations: ['95-93=2', '24-2=22']
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 27*22=594, Resulting Numbers: [594]
594,21 unequal: No Solution
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,21 unequal: No Solution
Moving to Node #0,3,3
Current State: 21:[27, 26], Operations: ['95-93=2', '24+2=26']
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,21 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[93, 24, 68], Operations: ['95-27=68']
Exploring Operation: 93-68=25, Resulting Numbers: [24, 25]
Generated Node #0,0,0: 21:[24, 25] Operation: 93-68=25
Exploring Operation: 93-24=69, Resulting Numbers: [68, 69]
Generated Node #0,0,1: 21:[68, 69] Operation: 93-24=69
Exploring Operation: 93+24=117, Resulting Numbers: [68, 117]
Generated Node #0,0,2: 21:[68, 117] Operation: 93+24=117
Exploring Operation: 68-24=44, Resulting Numbers: [93, 44]
Generated Node #0,0,3: 21:[93, 44] Operation: 68-24=44
Moving to Node #0,0,0
Current State: 21:[24, 25], Operations: ['95-27=68', '93-68=25']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,21 unequal: No Solution
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,21 unequal: No Solution
Moving to Node #0,0,3
Current State: 21:[93, 44], Operations: ['95-27=68', '68-24=44']
Exploring Operation: 93+44=137, Resulting Numbers: [137]
137,21 unequal: No Solution
Exploring Operation: 93*44=4092, Resulting Numbers: [4092]
4092,21 unequal: No Solution
Exploring Operation: 93-44=49, Resulting Numbers: [49]
49,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[68, 69], Operations: ['95-27=68', '93-24=69']
Exploring Operation: 68*69=4692, Resulting Numbers: [4692]
4692,21 unequal: No Solution
Exploring Operation: 68+69=137, Resulting Numbers: [137]
137,21 unequal: No Solution
Exploring Operation: 69-68=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[68, 117], Operations: ['95-27=68', '93+24=117']
Exploring Operation: 117-68=49, Resulting Numbers: [49]
49,21 unequal: No Solution
Exploring Operation: 68*117=7956, Resulting Numbers: [7956]
7956,21 unequal: No Solution
Exploring Operation: 68+117=185, Resulting Numbers: [185]
185,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
Current State: 21:[24, 95, 66], Operations: ['93-27=66']
Exploring Operation: 95-24=71, Resulting Numbers: [66, 71]
Generated Node #0,2,0: 21:[66, 71] Operation: 95-24=71
Exploring Operation: 66-24=42, Resulting Numbers: [95, 42]
Generated Node #0,2,1: 21:[95, 42] Operation: 66-24=42
Exploring Operation: 95-66=29, Resulting Numbers: [24, 29]
Generated Node #0,2,2: 21:[24, 29] Operation: 95-66=29
Exploring Operation: 24+95=119, Resulting Numbers: [66, 119]
Generated Node #0,2,3: 21:[66, 119] Operation: 24+95=119
Moving to Node #0,2,2
Current State: 21:[24, 29], Operations: ['93-27=66', '95-66=29']
Exploring Operation: 24*29=696, Resulting Numbers: [696]
696,21 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[95, 42], Operations: ['93-27=66', '66-24=42']
Exploring Operation: 95+42=137, Resulting Numbers: [137]
137,21 unequal: No Solution
Exploring Operation: 95-42=53, Resulting Numbers: [53]
53,21 unequal: No Solution
Exploring Operation: 95*42=3990, Resulting Numbers: [3990]
3990,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[66, 71], Operations: ['93-27=66', '95-24=71']
Exploring Operation: 71-66=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 66+71=137, Resulting Numbers: [137]
137,21 unequal: No Solution
Exploring Operation: 66*71=4686, Resulting Numbers: [4686]
4686,21 unequal: No Solution
Moving to Node #0,2,3
Current State: 21:[66, 119], Operations: ['93-27=66', '24+95=119']
Exploring Operation: 119-66=53, Resulting Numbers: [53]
53,21 unequal: No Solution
Exploring Operation: 66+119=185, Resulting Numbers: [185]
185,21 unequal: No Solution
Exploring Operation: 66*119=7854, Resulting Numbers: [7854]
7854,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,1
Current State: 21:[27, 95, 69], Operations: ['93-24=69']
Exploring Operation: 69-27=42, Resulting Numbers: [95, 42]
Generated Node #0,1,0: 21:[95, 42] Operation: 69-27=42
Exploring Operation: 95-69=26, Resulting Numbers: [27, 26]
Generated Node #0,1,1: 21:[27, 26] Operation: 95-69=26
Exploring Operation: 27+95=122, Resulting Numbers: [69, 122]
Generated Node #0,1,2: 21:[69, 122] Operation: 27+95=122
Exploring Operation: 95-27=68, Resulting Numbers: [69, 68]
Generated Node #0,1,3: 21:[69, 68] Operation: 95-27=68
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[27, 26], Operations: ['93-24=69', '95-69=26']
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,21 unequal: No Solution
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[95, 42], Operations: ['93-24=69', '69-27=42']
Exploring Operation: 95-42=53, Resulting Numbers: [53]
53,21 unequal: No Solution
Exploring Operation: 95+42=137, Resulting Numbers: [137]
137,21 unequal: No Solution
Exploring Operation: 95*42=3990, Resulting Numbers: [3990]
3990,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 21:[69, 68], Operations: ['93-24=69', '95-27=68']
Exploring Operation: 69-68=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 69+68=137, Resulting Numbers: [137]
137,21 unequal: No Solution
Exploring Operation: 69*68=4692, Resulting Numbers: [4692]
4692,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 21:[69, 122], Operations: ['93-24=69', '27+95=122']
Exploring Operation: 122-69=53, Resulting Numbers: [53]
53,21 unequal: No Solution
Exploring Operation: 69+122=191, Resulting Numbers: [191]
191,21 unequal: No Solution
Exploring Operation: 69*122=8418, Resulting Numbers: [8418]
8418,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
65,
56,
28,
55
] | 92 | [
"65-56=9",
"28+55=83",
"9+83=92"
] | Current State: 92:[65, 56, 28, 55], Operations: []
Exploring Operation: 65-56=9, Resulting Numbers: [28, 55, 9]
Generated Node #2: [28, 55, 9] from Operation: 65-56=9
Current State: 92:[28, 55, 9], Operations: ['65-56=9']
Exploring Operation: 28+55=83, Resulting Numbers: [9, 83]
Generated Node #3: [9, 83] from Operation: 28+55=83
Current State: 92:[9, 83], Operations: ['65-56=9', '28+55=83']
Exploring Operation: 9+83=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[65, 56, 28, 55], Operations: []
Exploring Operation: 65-56=9, Resulting Numbers: [28, 55, 9]
Generated Node #0,0: 92:[28, 55, 9] Operation: 65-56=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[28, 55, 9], Operations: ['65-56=9']
Exploring Operation: 55-9=46, Resulting Numbers: [28, 46]
Generated Node #0,0,0: 92:[28, 46] Operation: 55-9=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[28, 46], Operations: ['65-56=9', '55-9=46']
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,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
No solution found.
| 0 | hs_1 | mult_heuristic |
[
9,
68,
22,
77
] | 53 | [
"9*22=198",
"68+77=145",
"198-145=53"
] | Current State: 53:[9, 68, 22, 77], Operations: []
Exploring Operation: 9*22=198, Resulting Numbers: [68, 77, 198]
Generated Node #2: [68, 77, 198] from Operation: 9*22=198
Current State: 53:[68, 77, 198], Operations: ['9*22=198']
Exploring Operation: 68+77=145, Resulting Numbers: [198, 145]
Generated Node #3: [198, 145] from Operation: 68+77=145
Current State: 53:[198, 145], Operations: ['9*22=198', '68+77=145']
Exploring Operation: 198-145=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[9, 68, 22, 77], Operations: []
Exploring Operation: 9+22=31, Resulting Numbers: [68, 77, 31]
Generated Node #0,0: 53:[68, 77, 31] Operation: 9+22=31
Exploring Operation: 68-9=59, Resulting Numbers: [22, 77, 59]
Generated Node #0,1: 53:[22, 77, 59] Operation: 68-9=59
Exploring Operation: 77-9=68, Resulting Numbers: [68, 22, 68]
Generated Node #0,2: 53:[68, 22, 68] Operation: 77-9=68
Exploring Operation: 77-22=55, Resulting Numbers: [9, 68, 55]
Generated Node #0,3: 53:[9, 68, 55] Operation: 77-22=55
Moving to Node #0,0
Current State: 53:[68, 77, 31], Operations: ['9+22=31']
Exploring Operation: 77-31=46, Resulting Numbers: [68, 46]
Generated Node #0,0,0: 53:[68, 46] Operation: 77-31=46
Exploring Operation: 68-31=37, Resulting Numbers: [77, 37]
Generated Node #0,0,1: 53:[77, 37] Operation: 68-31=37
Exploring Operation: 77-68=9, Resulting Numbers: [31, 9]
Generated Node #0,0,2: 53:[31, 9] Operation: 77-68=9
Exploring Operation: 68+31=99, Resulting Numbers: [77, 99]
Generated Node #0,0,3: 53:[77, 99] Operation: 68+31=99
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[68, 46], Operations: ['9+22=31', '77-31=46']
Exploring Operation: 68+46=114, Resulting Numbers: [114]
114,53 unequal: No Solution
Exploring Operation: 68*46=3128, Resulting Numbers: [3128]
3128,53 unequal: No Solution
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,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:[77, 37], Operations: ['9+22=31', '68-31=37']
Exploring Operation: 77*37=2849, Resulting Numbers: [2849]
2849,53 unequal: No Solution
Exploring Operation: 77-37=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 77+37=114, Resulting Numbers: [114]
114,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,2
Current State: 53:[31, 9], Operations: ['9+22=31', '77-68=9']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,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,3
Current State: 53:[77, 99], Operations: ['9+22=31', '68+31=99']
Exploring Operation: 99-77=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Exploring Operation: 77+99=176, Resulting Numbers: [176]
176,53 unequal: No Solution
Exploring Operation: 77*99=7623, Resulting Numbers: [7623]
7623,53 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: 53:[68, 22, 68], Operations: ['77-9=68']
Exploring Operation: 68-22=46, Resulting Numbers: [68, 46]
Generated Node #0,2,0: 53:[68, 46] Operation: 68-22=46
Exploring Operation: 68+22=90, Resulting Numbers: [68, 90]
Generated Node #0,2,1: 53:[68, 90] Operation: 68+22=90
Exploring Operation: 68-22=46, Resulting Numbers: [68, 46]
Generated Node #0,2,2: 53:[68, 46] Operation: 68-22=46
Exploring Operation: 22+68=90, Resulting Numbers: [68, 90]
Generated Node #0,2,3: 53:[68, 90] Operation: 22+68=90
Moving to Node #0,1
Current State: 53:[22, 77, 59], Operations: ['68-9=59']
Exploring Operation: 22+59=81, Resulting Numbers: [77, 81]
Generated Node #0,1,0: 53:[77, 81] Operation: 22+59=81
Exploring Operation: 77-22=55, Resulting Numbers: [59, 55]
Generated Node #0,1,1: 53:[59, 55] Operation: 77-22=55
Exploring Operation: 22+77=99, Resulting Numbers: [59, 99]
Generated Node #0,1,2: 53:[59, 99] Operation: 22+77=99
Exploring Operation: 59-22=37, Resulting Numbers: [77, 37]
Generated Node #0,1,3: 53:[77, 37] Operation: 59-22=37
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[59, 55], Operations: ['68-9=59', '77-22=55']
Exploring Operation: 59*55=3245, Resulting Numbers: [3245]
3245,53 unequal: No Solution
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,53 unequal: No Solution
Exploring Operation: 59+55=114, Resulting Numbers: [114]
114,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,3
Current State: 53:[77, 37], Operations: ['68-9=59', '59-22=37']
Exploring Operation: 77*37=2849, Resulting Numbers: [2849]
2849,53 unequal: No Solution
Exploring Operation: 77-37=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 77+37=114, Resulting Numbers: [114]
114,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:[77, 81], Operations: ['68-9=59', '22+59=81']
Exploring Operation: 81-77=4, Resulting Numbers: [4]
4,53 unequal: No Solution
Exploring Operation: 77+81=158, Resulting Numbers: [158]
158,53 unequal: No Solution
Exploring Operation: 77*81=6237, Resulting Numbers: [6237]
6237,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,2
Current State: 53:[59, 99], Operations: ['68-9=59', '22+77=99']
Exploring Operation: 59+99=158, Resulting Numbers: [158]
158,53 unequal: No Solution
Exploring Operation: 59*99=5841, Resulting Numbers: [5841]
5841,53 unequal: No Solution
Exploring Operation: 99-59=40, Resulting Numbers: [40]
40,53 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: 53:[9, 68, 55], Operations: ['77-22=55']
Exploring Operation: 55-9=46, Resulting Numbers: [68, 46]
Generated Node #0,3,0: 53:[68, 46] Operation: 55-9=46
Exploring Operation: 9+55=64, Resulting Numbers: [68, 64]
Generated Node #0,3,1: 53:[68, 64] Operation: 9+55=64
Exploring Operation: 68-9=59, Resulting Numbers: [55, 59]
Generated Node #0,3,2: 53:[55, 59] Operation: 68-9=59
Exploring Operation: 9+68=77, Resulting Numbers: [55, 77]
Generated Node #0,3,3: 53:[55, 77] Operation: 9+68=77
Moving to Node #0,3,2
Current State: 53:[55, 59], Operations: ['77-22=55', '68-9=59']
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,53 unequal: No Solution
Exploring Operation: 55+59=114, Resulting Numbers: [114]
114,53 unequal: No Solution
Exploring Operation: 55*59=3245, Resulting Numbers: [3245]
3245,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[68, 46], Operations: ['77-22=55', '55-9=46']
Exploring Operation: 68+46=114, Resulting Numbers: [114]
114,53 unequal: No Solution
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Exploring Operation: 68*46=3128, Resulting Numbers: [3128]
3128,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[68, 46], Operations: ['77-9=68', '68-22=46']
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Exploring Operation: 68+46=114, Resulting Numbers: [114]
114,53 unequal: No Solution
Exploring Operation: 68*46=3128, Resulting Numbers: [3128]
3128,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[68, 46], Operations: ['77-9=68', '68-22=46']
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Exploring Operation: 68+46=114, Resulting Numbers: [114]
114,53 unequal: No Solution
Exploring Operation: 68*46=3128, Resulting Numbers: [3128]
3128,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[68, 64], Operations: ['77-22=55', '9+55=64']
Exploring Operation: 68*64=4352, Resulting Numbers: [4352]
4352,53 unequal: No Solution
Exploring Operation: 68+64=132, Resulting Numbers: [132]
132,53 unequal: No Solution
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[55, 77], Operations: ['77-22=55', '9+68=77']
Exploring Operation: 55+77=132, Resulting Numbers: [132]
132,53 unequal: No Solution
Exploring Operation: 55*77=4235, Resulting Numbers: [4235]
4235,53 unequal: No Solution
Exploring Operation: 77-55=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[68, 90], Operations: ['77-9=68', '68+22=90']
Exploring Operation: 68*90=6120, Resulting Numbers: [6120]
6120,53 unequal: No Solution
Exploring Operation: 90-68=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Exploring Operation: 68+90=158, Resulting Numbers: [158]
158,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[68, 90], Operations: ['77-9=68', '22+68=90']
Exploring Operation: 90-68=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Exploring Operation: 68*90=6120, Resulting Numbers: [6120]
6120,53 unequal: No Solution
Exploring Operation: 68+90=158, Resulting Numbers: [158]
158,53 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
76,
48,
25,
34
] | 32 | [
"76-25=51",
"48*34=1632",
"1632/51=32"
] | Current State: 32:[76, 48, 25, 34], Operations: []
Exploring Operation: 76-25=51, Resulting Numbers: [48, 34, 51]
Generated Node #2: [48, 34, 51] from Operation: 76-25=51
Current State: 32:[48, 34, 51], Operations: ['76-25=51']
Exploring Operation: 48*34=1632, Resulting Numbers: [51, 1632]
Generated Node #3: [51, 1632] from Operation: 48*34=1632
Current State: 32:[51, 1632], Operations: ['76-25=51', '48*34=1632']
Exploring Operation: 1632/51=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[76, 48, 25, 34], Operations: []
Exploring Operation: 48-25=23, Resulting Numbers: [76, 34, 23]
Generated Node #0,0: 32:[76, 34, 23] Operation: 48-25=23
Exploring Operation: 76-25=51, Resulting Numbers: [48, 34, 51]
Generated Node #0,1: 32:[48, 34, 51] Operation: 76-25=51
Exploring Operation: 48-34=14, Resulting Numbers: [76, 25, 14]
Generated Node #0,2: 32:[76, 25, 14] Operation: 48-34=14
Exploring Operation: 76-48=28, Resulting Numbers: [25, 34, 28]
Generated Node #0,3: 32:[25, 34, 28] Operation: 76-48=28
Exploring Operation: 76-34=42, Resulting Numbers: [48, 25, 42]
Generated Node #0,4: 32:[48, 25, 42] Operation: 76-34=42
Start Sub Search at level 1: Moving to Node #0,3
Current State: 32:[25, 34, 28], Operations: ['76-48=28']
Exploring Operation: 25+28=53, Resulting Numbers: [34, 53]
Generated Node #0,3,0: 32:[34, 53] Operation: 25+28=53
Exploring Operation: 28-25=3, Resulting Numbers: [34, 3]
Generated Node #0,3,1: 32:[34, 3] Operation: 28-25=3
Exploring Operation: 34-28=6, Resulting Numbers: [25, 6]
Generated Node #0,3,2: 32:[25, 6] Operation: 34-28=6
Exploring Operation: 34-25=9, Resulting Numbers: [28, 9]
Generated Node #0,3,3: 32:[28, 9] Operation: 34-25=9
Exploring Operation: 25+34=59, Resulting Numbers: [28, 59]
Generated Node #0,3,4: 32:[28, 59] Operation: 25+34=59
Moving to Node #0,3,1
Current State: 32:[34, 3], Operations: ['76-48=28', '28-25=3']
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,32 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Moving to Node #0,3,3
Current State: 32:[28, 9], Operations: ['76-48=28', '34-25=9']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,32 unequal: No Solution
Moving to Node #0,3,2
Current State: 32:[25, 6], Operations: ['76-48=28', '34-28=6']
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,32 unequal: No Solution
Moving to Node #0,3,0
Current State: 32:[34, 53], Operations: ['76-48=28', '25+28=53']
Exploring Operation: 34+53=87, Resulting Numbers: [87]
87,32 unequal: No Solution
Exploring Operation: 34*53=1802, Resulting Numbers: [1802]
1802,32 unequal: No Solution
Exploring Operation: 53-34=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Moving to Node #0,3,4
Current State: 32:[28, 59], Operations: ['76-48=28', '25+34=59']
Exploring Operation: 28+59=87, Resulting Numbers: [87]
87,32 unequal: No Solution
Exploring Operation: 28*59=1652, Resulting Numbers: [1652]
1652,32 unequal: No Solution
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 32:[48, 25, 42], Operations: ['76-34=42']
Exploring Operation: 25+42=67, Resulting Numbers: [48, 67]
Generated Node #0,4,0: 32:[48, 67] Operation: 25+42=67
Exploring Operation: 42-25=17, Resulting Numbers: [48, 17]
Generated Node #0,4,1: 32:[48, 17] Operation: 42-25=17
Exploring Operation: 48+25=73, Resulting Numbers: [42, 73]
Generated Node #0,4,2: 32:[42, 73] Operation: 48+25=73
Exploring Operation: 48-42=6, Resulting Numbers: [25, 6]
Generated Node #0,4,3: 32:[25, 6] Operation: 48-42=6
Exploring Operation: 48-25=23, Resulting Numbers: [42, 23]
Generated Node #0,4,4: 32:[42, 23] Operation: 48-25=23
Moving to Node #0,4,3
Current State: 32:[25, 6], Operations: ['76-34=42', '48-42=6']
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,32 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Moving to Node #0,4,4
Current State: 32:[42, 23], Operations: ['76-34=42', '48-25=23']
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 42*23=966, Resulting Numbers: [966]
966,32 unequal: No Solution
Exploring Operation: 42+23=65, Resulting Numbers: [65]
65,32 unequal: No Solution
Moving to Node #0,4,1
Current State: 32:[48, 17], Operations: ['76-34=42', '42-25=17']
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,32 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,32 unequal: No Solution
Moving to Node #0,4,0
Current State: 32:[48, 67], Operations: ['76-34=42', '25+42=67']
Exploring Operation: 48*67=3216, Resulting Numbers: [3216]
3216,32 unequal: No Solution
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 48+67=115, Resulting Numbers: [115]
115,32 unequal: No Solution
Moving to Node #0,4,2
Current State: 32:[42, 73], Operations: ['76-34=42', '48+25=73']
Exploring Operation: 42+73=115, Resulting Numbers: [115]
115,32 unequal: No Solution
Exploring Operation: 73-42=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 42*73=3066, Resulting Numbers: [3066]
3066,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[48, 34, 51], Operations: ['76-25=51']
Exploring Operation: 51-34=17, Resulting Numbers: [48, 17]
Generated Node #0,1,0: 32:[48, 17] Operation: 51-34=17
Exploring Operation: 48+51=99, Resulting Numbers: [34, 99]
Generated Node #0,1,1: 32:[34, 99] Operation: 48+51=99
Exploring Operation: 48-34=14, Resulting Numbers: [51, 14]
Generated Node #0,1,2: 32:[51, 14] Operation: 48-34=14
Exploring Operation: 51-48=3, Resulting Numbers: [34, 3]
Generated Node #0,1,3: 32:[34, 3] Operation: 51-48=3
Exploring Operation: 48+34=82, Resulting Numbers: [51, 82]
Generated Node #0,1,4: 32:[51, 82] Operation: 48+34=82
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 32:[34, 3], Operations: ['76-25=51', '51-48=3']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,32 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,32 unequal: No Solution
No 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: 32:[48, 17], Operations: ['76-25=51', '51-34=17']
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,32 unequal: No Solution
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,32 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,32 unequal: No Solution
No 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: 32:[51, 14], Operations: ['76-25=51', '48-34=14']
Exploring Operation: 51*14=714, Resulting Numbers: [714]
714,32 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Exploring Operation: 51+14=65, Resulting Numbers: [65]
65,32 unequal: No Solution
No 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: 32:[34, 99], Operations: ['76-25=51', '48+51=99']
Exploring Operation: 34*99=3366, Resulting Numbers: [3366]
3366,32 unequal: No Solution
Exploring Operation: 99-34=65, Resulting Numbers: [65]
65,32 unequal: No Solution
Exploring Operation: 34+99=133, Resulting Numbers: [133]
133,32 unequal: No Solution
No 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: 32:[51, 82], Operations: ['76-25=51', '48+34=82']
Exploring Operation: 82-51=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 51+82=133, Resulting Numbers: [133]
133,32 unequal: No Solution
Exploring Operation: 51*82=4182, Resulting Numbers: [4182]
4182,32 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: 32:[76, 34, 23], Operations: ['48-25=23']
Exploring Operation: 76+23=99, Resulting Numbers: [34, 99]
Generated Node #0,0,0: 32:[34, 99] Operation: 76+23=99
Exploring Operation: 76-23=53, Resulting Numbers: [34, 53]
Generated Node #0,0,1: 32:[34, 53] Operation: 76-23=53
Exploring Operation: 76-34=42, Resulting Numbers: [23, 42]
Generated Node #0,0,2: 32:[23, 42] Operation: 76-34=42
Exploring Operation: 34-23=11, Resulting Numbers: [76, 11]
Generated Node #0,0,3: 32:[76, 11] Operation: 34-23=11
Exploring Operation: 34+23=57, Resulting Numbers: [76, 57]
Generated Node #0,0,4: 32:[76, 57] Operation: 34+23=57
Moving to Node #0,0,2
Current State: 32:[23, 42], Operations: ['48-25=23', '76-34=42']
Exploring Operation: 23+42=65, Resulting Numbers: [65]
65,32 unequal: No Solution
Exploring Operation: 23*42=966, Resulting Numbers: [966]
966,32 unequal: No Solution
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[34, 53], Operations: ['48-25=23', '76-23=53']
Exploring Operation: 34*53=1802, Resulting Numbers: [1802]
1802,32 unequal: No Solution
Exploring Operation: 34+53=87, Resulting Numbers: [87]
87,32 unequal: No Solution
Exploring Operation: 53-34=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Moving to Node #0,0,3
Current State: 32:[76, 11], Operations: ['48-25=23', '34-23=11']
Exploring Operation: 76*11=836, Resulting Numbers: [836]
836,32 unequal: No Solution
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,32 unequal: No Solution
Exploring Operation: 76+11=87, Resulting Numbers: [87]
87,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[34, 99], Operations: ['48-25=23', '76+23=99']
Exploring Operation: 34*99=3366, Resulting Numbers: [3366]
3366,32 unequal: No Solution
Exploring Operation: 99-34=65, Resulting Numbers: [65]
65,32 unequal: No Solution
Exploring Operation: 34+99=133, Resulting Numbers: [133]
133,32 unequal: No Solution
Moving to Node #0,0,4
Current State: 32:[76, 57], Operations: ['48-25=23', '34+23=57']
Exploring Operation: 76*57=4332, Resulting Numbers: [4332]
4332,32 unequal: No Solution
Exploring Operation: 76+57=133, Resulting Numbers: [133]
133,32 unequal: No Solution
Exploring Operation: 76-57=19, Resulting Numbers: [19]
19,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[76, 25, 14], Operations: ['48-34=14']
Exploring Operation: 76-25=51, Resulting Numbers: [14, 51]
Generated Node #0,2,0: 32:[14, 51] Operation: 76-25=51
Exploring Operation: 25-14=11, Resulting Numbers: [76, 11]
Generated Node #0,2,1: 32:[76, 11] Operation: 25-14=11
Exploring Operation: 76+14=90, Resulting Numbers: [25, 90]
Generated Node #0,2,2: 32:[25, 90] Operation: 76+14=90
Exploring Operation: 25+14=39, Resulting Numbers: [76, 39]
Generated Node #0,2,3: 32:[76, 39] Operation: 25+14=39
Exploring Operation: 76-14=62, Resulting Numbers: [25, 62]
Generated Node #0,2,4: 32:[25, 62] Operation: 76-14=62
Moving to Node #0,2,0
Current State: 32:[14, 51], Operations: ['48-34=14', '76-25=51']
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,32 unequal: No Solution
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,32 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Moving to Node #0,2,4
Current State: 32:[25, 62], Operations: ['48-34=14', '76-14=62']
Exploring Operation: 62-25=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Exploring Operation: 25*62=1550, Resulting Numbers: [1550]
1550,32 unequal: No Solution
Exploring Operation: 25+62=87, Resulting Numbers: [87]
87,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[76, 11], Operations: ['48-34=14', '25-14=11']
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,32 unequal: No Solution
Exploring Operation: 76*11=836, Resulting Numbers: [836]
836,32 unequal: No Solution
Exploring Operation: 76+11=87, Resulting Numbers: [87]
87,32 unequal: No Solution
Moving to Node #0,2,3
Current State: 32:[76, 39], Operations: ['48-34=14', '25+14=39']
Exploring Operation: 76-39=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Exploring Operation: 76*39=2964, Resulting Numbers: [2964]
2964,32 unequal: No Solution
Exploring Operation: 76+39=115, Resulting Numbers: [115]
115,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[25, 90], Operations: ['48-34=14', '76+14=90']
Exploring Operation: 90-25=65, Resulting Numbers: [65]
65,32 unequal: No Solution
Exploring Operation: 25*90=2250, Resulting Numbers: [2250]
2250,32 unequal: No Solution
Exploring Operation: 25+90=115, Resulting Numbers: [115]
115,32 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 |
[
21,
8,
30,
24
] | 96 | [
"30-21=9",
"8*9=72",
"24+72=96"
] | Current State: 96:[21, 8, 30, 24], Operations: []
Exploring Operation: 30-21=9, Resulting Numbers: [8, 24, 9]
Generated Node #2: [8, 24, 9] from Operation: 30-21=9
Current State: 96:[8, 24, 9], Operations: ['30-21=9']
Exploring Operation: 8*9=72, Resulting Numbers: [24, 72]
Generated Node #3: [24, 72] from Operation: 8*9=72
Current State: 96:[24, 72], Operations: ['30-21=9', '8*9=72']
Exploring Operation: 24+72=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[21, 8, 30, 24], Operations: []
Exploring Operation: 24-21=3, Resulting Numbers: [8, 30, 3]
Generated Node #0,0: 96:[8, 30, 3] Operation: 24-21=3
Exploring Operation: 30-21=9, Resulting Numbers: [8, 24, 9]
Generated Node #0,1: 96:[8, 24, 9] Operation: 30-21=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[8, 24, 9], Operations: ['30-21=9']
Exploring Operation: 24-8=16, Resulting Numbers: [9, 16]
Generated Node #0,1,0: 96:[9, 16] Operation: 24-8=16
Exploring Operation: 8+24=32, Resulting Numbers: [9, 32]
Generated Node #0,1,1: 96:[9, 32] Operation: 8+24=32
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[9, 16], Operations: ['30-21=9', '24-8=16']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,96 unequal: No Solution
No 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: 96:[9, 32], Operations: ['30-21=9', '8+24=32']
Exploring Operation: 9+32=41, Resulting Numbers: [41]
41,96 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,96 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: 96:[8, 30, 3], Operations: ['24-21=3']
Exploring Operation: 30+3=33, Resulting Numbers: [8, 33]
Generated Node #0,0,0: 96:[8, 33] Operation: 30+3=33
Exploring Operation: 30-8=22, Resulting Numbers: [3, 22]
Generated Node #0,0,1: 96:[3, 22] Operation: 30-8=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[8, 33], Operations: ['24-21=3', '30+3=33']
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,96 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,96 unequal: No Solution
No 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: 96:[3, 22], Operations: ['24-21=3', '30-8=22']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,96 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 |
[
44,
98,
37,
46
] | 24 | [
"46-44=2",
"37*2=74",
"98-74=24"
] | Current State: 24:[44, 98, 37, 46], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [98, 37, 2]
Generated Node #2: [98, 37, 2] from Operation: 46-44=2
Current State: 24:[98, 37, 2], Operations: ['46-44=2']
Exploring Operation: 37*2=74, Resulting Numbers: [98, 74]
Generated Node #3: [98, 74] from Operation: 37*2=74
Current State: 24:[98, 74], Operations: ['46-44=2', '37*2=74']
Exploring Operation: 98-74=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[44, 98, 37, 46], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [98, 37, 2]
Generated Node #0,0: 24:[98, 37, 2] Operation: 46-44=2
Exploring Operation: 98-46=52, Resulting Numbers: [44, 37, 52]
Generated Node #0,1: 24:[44, 37, 52] Operation: 98-46=52
Exploring Operation: 98-44=54, Resulting Numbers: [37, 46, 54]
Generated Node #0,2: 24:[37, 46, 54] Operation: 98-44=54
Exploring Operation: 98-37=61, Resulting Numbers: [44, 46, 61]
Generated Node #0,3: 24:[44, 46, 61] Operation: 98-37=61
Moving to Node #0,1
Current State: 24:[44, 37, 52], Operations: ['98-46=52']
Exploring Operation: 44-37=7, Resulting Numbers: [52, 7]
Generated Node #0,1,0: 24:[52, 7] Operation: 44-37=7
Exploring Operation: 52-37=15, Resulting Numbers: [44, 15]
Generated Node #0,1,1: 24:[44, 15] Operation: 52-37=15
Exploring Operation: 44+37=81, Resulting Numbers: [52, 81]
Generated Node #0,1,2: 24:[52, 81] Operation: 44+37=81
Exploring Operation: 52-44=8, Resulting Numbers: [37, 8]
Generated Node #0,1,3: 24:[37, 8] Operation: 52-44=8
Moving to Node #0,2
Current State: 24:[37, 46, 54], Operations: ['98-44=54']
Exploring Operation: 54-37=17, Resulting Numbers: [46, 17]
Generated Node #0,2,0: 24:[46, 17] Operation: 54-37=17
Exploring Operation: 37+46=83, Resulting Numbers: [54, 83]
Generated Node #0,2,1: 24:[54, 83] Operation: 37+46=83
Exploring Operation: 54-46=8, Resulting Numbers: [37, 8]
Generated Node #0,2,2: 24:[37, 8] Operation: 54-46=8
Exploring Operation: 46-37=9, Resulting Numbers: [54, 9]
Generated Node #0,2,3: 24:[54, 9] Operation: 46-37=9
Moving to Node #0,3
Current State: 24:[44, 46, 61], Operations: ['98-37=61']
Exploring Operation: 61-46=15, Resulting Numbers: [44, 15]
Generated Node #0,3,0: 24:[44, 15] Operation: 61-46=15
Exploring Operation: 44+46=90, Resulting Numbers: [61, 90]
Generated Node #0,3,1: 24:[61, 90] Operation: 44+46=90
Exploring Operation: 46-44=2, Resulting Numbers: [61, 2]
Generated Node #0,3,2: 24:[61, 2] Operation: 46-44=2
Exploring Operation: 61-44=17, Resulting Numbers: [46, 17]
Generated Node #0,3,3: 24:[46, 17] Operation: 61-44=17
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 24:[44, 15], Operations: ['98-37=61', '61-46=15']
Exploring Operation: 44*15=660, Resulting Numbers: [660]
660,24 unequal: No Solution
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,24 unequal: No Solution
No 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: 24:[46, 17], Operations: ['98-37=61', '61-44=17']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,24 unequal: No Solution
Exploring Operation: 46+17=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Exploring Operation: 46*17=782, Resulting Numbers: [782]
782,24 unequal: No Solution
No 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: 24:[61, 2], Operations: ['98-37=61', '46-44=2']
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Exploring Operation: 61*2=122, Resulting Numbers: [122]
122,24 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,24 unequal: No Solution
No 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: 24:[61, 90], Operations: ['98-37=61', '44+46=90']
Exploring Operation: 61*90=5490, Resulting Numbers: [5490]
5490,24 unequal: No Solution
Exploring Operation: 61+90=151, Resulting Numbers: [151]
151,24 unequal: No Solution
Exploring Operation: 90-61=29, Resulting Numbers: [29]
29,24 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: 24:[98, 37, 2], Operations: ['46-44=2']
Exploring Operation: 98/2=49, Resulting Numbers: [37, 49]
Generated Node #0,0,0: 24:[37, 49] Operation: 98/2=49
Exploring Operation: 37-2=35, Resulting Numbers: [98, 35]
Generated Node #0,0,1: 24:[98, 35] Operation: 37-2=35
Exploring Operation: 98-2=96, Resulting Numbers: [37, 96]
Generated Node #0,0,2: 24:[37, 96] Operation: 98-2=96
Exploring Operation: 98-37=61, Resulting Numbers: [2, 61]
Generated Node #0,0,3: 24:[2, 61] Operation: 98-37=61
Moving to Node #0,1,3
Current State: 24:[37, 8], Operations: ['98-46=52', '52-44=8']
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,24 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,24 unequal: No Solution
Exploring Operation: 37*8=296, Resulting Numbers: [296]
296,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[37, 8], Operations: ['98-44=54', '54-46=8']
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,24 unequal: No Solution
Exploring Operation: 37*8=296, Resulting Numbers: [296]
296,24 unequal: No Solution
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,24 unequal: No Solution
Moving to Node #0,1,1
Current State: 24:[44, 15], Operations: ['98-46=52', '52-37=15']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,24 unequal: No Solution
Exploring Operation: 44*15=660, Resulting Numbers: [660]
660,24 unequal: No Solution
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Moving to Node #0,2,0
Current State: 24:[46, 17], Operations: ['98-44=54', '54-37=17']
Exploring Operation: 46*17=782, Resulting Numbers: [782]
782,24 unequal: No Solution
Exploring Operation: 46+17=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[52, 7], Operations: ['98-46=52', '44-37=7']
Exploring Operation: 52*7=364, Resulting Numbers: [364]
364,24 unequal: No Solution
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,24 unequal: No Solution
Exploring Operation: 52+7=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Moving to Node #0,2,3
Current State: 24:[54, 9], Operations: ['98-44=54', '46-37=9']
Exploring Operation: 54*9=486, Resulting Numbers: [486]
486,24 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,24 unequal: No Solution
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Moving to Node #0,0,3
Current State: 24:[2, 61], Operations: ['46-44=2', '98-37=61']
Exploring Operation: 2*61=122, Resulting Numbers: [122]
122,24 unequal: No Solution
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Moving to Node #0,0,0
Current State: 24:[37, 49], Operations: ['46-44=2', '98/2=49']
Exploring Operation: 37+49=86, Resulting Numbers: [86]
86,24 unequal: No Solution
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 37*49=1813, Resulting Numbers: [1813]
1813,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[98, 35], Operations: ['46-44=2', '37-2=35']
Exploring Operation: 98+35=133, Resulting Numbers: [133]
133,24 unequal: No Solution
Exploring Operation: 98-35=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Exploring Operation: 98*35=3430, Resulting Numbers: [3430]
3430,24 unequal: No Solution
Moving to Node #0,1,2
Current State: 24:[52, 81], Operations: ['98-46=52', '44+37=81']
Exploring Operation: 81-52=29, Resulting Numbers: [29]
29,24 unequal: No Solution
Exploring Operation: 52*81=4212, Resulting Numbers: [4212]
4212,24 unequal: No Solution
Exploring Operation: 52+81=133, Resulting Numbers: [133]
133,24 unequal: No Solution
Moving to Node #0,0,2
Current State: 24:[37, 96], Operations: ['46-44=2', '98-2=96']
Exploring Operation: 96-37=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 37*96=3552, Resulting Numbers: [3552]
3552,24 unequal: No Solution
Exploring Operation: 37+96=133, Resulting Numbers: [133]
133,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[54, 83], Operations: ['98-44=54', '37+46=83']
Exploring Operation: 83-54=29, Resulting Numbers: [29]
29,24 unequal: No Solution
Exploring Operation: 54*83=4482, Resulting Numbers: [4482]
4482,24 unequal: No Solution
Exploring Operation: 54+83=137, Resulting Numbers: [137]
137,24 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
76,
59,
82,
73
] | 84 | [
"82-76=6",
"73-59=14",
"6*14=84"
] | Current State: 84:[76, 59, 82, 73], Operations: []
Exploring Operation: 82-76=6, Resulting Numbers: [59, 73, 6]
Generated Node #2: [59, 73, 6] from Operation: 82-76=6
Current State: 84:[59, 73, 6], Operations: ['82-76=6']
Exploring Operation: 73-59=14, Resulting Numbers: [6, 14]
Generated Node #3: [6, 14] from Operation: 73-59=14
Current State: 84:[6, 14], Operations: ['82-76=6', '73-59=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[76, 59, 82, 73], Operations: []
Exploring Operation: 73-59=14, Resulting Numbers: [76, 82, 14]
Generated Node #0,0: 84:[76, 82, 14] Operation: 73-59=14
Exploring Operation: 76-73=3, Resulting Numbers: [59, 82, 3]
Generated Node #0,1: 84:[59, 82, 3] Operation: 76-73=3
Exploring Operation: 76-59=17, Resulting Numbers: [82, 73, 17]
Generated Node #0,2: 84:[82, 73, 17] Operation: 76-59=17
Moving to Node #0,0
Current State: 84:[76, 82, 14], Operations: ['73-59=14']
Exploring Operation: 82+14=96, Resulting Numbers: [76, 96]
Generated Node #0,0,0: 84:[76, 96] Operation: 82+14=96
Exploring Operation: 82-76=6, Resulting Numbers: [14, 6]
Generated Node #0,0,1: 84:[14, 6] Operation: 82-76=6
Exploring Operation: 76+14=90, Resulting Numbers: [82, 90]
Generated Node #0,0,2: 84:[82, 90] Operation: 76+14=90
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[14, 6], Operations: ['73-59=14', '82-76=6']
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[76, 59, 82, 73], Operations: []
Exploring Operation: 73-59=14, Resulting Numbers: [76, 82, 14]
Generated Node #0,0: 84:[76, 82, 14] Operation: 73-59=14
Moving to Node #0,0
Current State: 84:[76, 82, 14], Operations: ['73-59=14']
Exploring Operation: 82-76=6, Resulting Numbers: [14, 6]
Generated Node #0,0,1: 84:[14, 6] Operation: 82-76=6
Moving to Node #0,0,1
Current State: 84:[14, 6], Operations: ['73-59=14', '82-76=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
70,
34,
75,
36
] | 80 | [
"36-34=2",
"75*2=150",
"150-70=80"
] | Current State: 80:[70, 34, 75, 36], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [70, 75, 2]
Generated Node #2: [70, 75, 2] from Operation: 36-34=2
Current State: 80:[70, 75, 2], Operations: ['36-34=2']
Exploring Operation: 75*2=150, Resulting Numbers: [70, 150]
Generated Node #3: [70, 150] from Operation: 75*2=150
Current State: 80:[70, 150], Operations: ['36-34=2', '75*2=150']
Exploring Operation: 150-70=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[70, 34, 75, 36], Operations: []
Exploring Operation: 75-70=5, Resulting Numbers: [34, 36, 5]
Generated Node #0,0: 80:[34, 36, 5] Operation: 75-70=5
Exploring Operation: 36-34=2, Resulting Numbers: [70, 75, 2]
Generated Node #0,1: 80:[70, 75, 2] Operation: 36-34=2
Exploring Operation: 70-34=36, Resulting Numbers: [75, 36, 36]
Generated Node #0,2: 80:[75, 36, 36] Operation: 70-34=36
Exploring Operation: 75-34=41, Resulting Numbers: [70, 36, 41]
Generated Node #0,3: 80:[70, 36, 41] Operation: 75-34=41
Moving to Node #0,0
Current State: 80:[34, 36, 5], Operations: ['75-70=5']
Exploring Operation: 34+36=70, Resulting Numbers: [5, 70]
Generated Node #0,0,0: 80:[5, 70] Operation: 34+36=70
Exploring Operation: 36-34=2, Resulting Numbers: [5, 2]
Generated Node #0,0,1: 80:[5, 2] Operation: 36-34=2
Exploring Operation: 36+5=41, Resulting Numbers: [34, 41]
Generated Node #0,0,2: 80:[34, 41] Operation: 36+5=41
Exploring Operation: 34+5=39, Resulting Numbers: [36, 39]
Generated Node #0,0,3: 80:[36, 39] Operation: 34+5=39
Moving to Node #0,2
Current State: 80:[75, 36, 36], Operations: ['70-34=36']
Exploring Operation: 75-36=39, Resulting Numbers: [36, 39]
Generated Node #0,2,0: 80:[36, 39] Operation: 75-36=39
Exploring Operation: 75-36=39, Resulting Numbers: [36, 39]
Generated Node #0,2,1: 80:[36, 39] Operation: 75-36=39
Exploring Operation: 36/36=1, Resulting Numbers: [75, 1]
Generated Node #0,2,2: 80:[75, 1] Operation: 36/36=1
Exploring Operation: 36-36=0, Resulting Numbers: [75, 0]
Generated Node #0,2,3: 80:[75, 0] Operation: 36-36=0
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 80:[36, 39], Operations: ['70-34=36', '75-36=39']
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,80 unequal: No Solution
Exploring Operation: 36+39=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 36*39=1404, Resulting Numbers: [1404]
1404,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 80:[36, 39], Operations: ['70-34=36', '75-36=39']
Exploring Operation: 36+39=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 36*39=1404, Resulting Numbers: [1404]
1404,80 unequal: No Solution
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 80:[75, 1], Operations: ['70-34=36', '36/36=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,80 unequal: No Solution
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,80 unequal: No Solution
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 80:[75, 0], Operations: ['70-34=36', '36-36=0']
Exploring Operation: 75+0=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 75*0=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Exploring Operation: 75-0=75, Resulting Numbers: [75]
75,80 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: 80:[70, 36, 41], Operations: ['75-34=41']
Exploring Operation: 41-36=5, Resulting Numbers: [70, 5]
Generated Node #0,3,0: 80:[70, 5] Operation: 41-36=5
Exploring Operation: 36+41=77, Resulting Numbers: [70, 77]
Generated Node #0,3,1: 80:[70, 77] Operation: 36+41=77
Exploring Operation: 70-41=29, Resulting Numbers: [36, 29]
Generated Node #0,3,2: 80:[36, 29] Operation: 70-41=29
Exploring Operation: 70-36=34, Resulting Numbers: [41, 34]
Generated Node #0,3,3: 80:[41, 34] Operation: 70-36=34
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 80:[41, 34], Operations: ['75-34=41', '70-36=34']
Exploring Operation: 41+34=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 41*34=1394, Resulting Numbers: [1394]
1394,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,3,0
Current State: 80:[70, 5], Operations: ['75-34=41', '41-36=5']
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 70*5=350, Resulting Numbers: [350]
350,80 unequal: No Solution
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 80:[70, 77], Operations: ['75-34=41', '36+41=77']
Exploring Operation: 77-70=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 70*77=5390, Resulting Numbers: [5390]
5390,80 unequal: No Solution
Exploring Operation: 70+77=147, Resulting Numbers: [147]
147,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,3,2
Current State: 80:[36, 29], Operations: ['75-34=41', '70-41=29']
Exploring Operation: 36*29=1044, Resulting Numbers: [1044]
1044,80 unequal: No Solution
Exploring Operation: 36+29=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,80 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: 80:[70, 75, 2], Operations: ['36-34=2']
Exploring Operation: 75-70=5, Resulting Numbers: [2, 5]
Generated Node #0,1,0: 80:[2, 5] Operation: 75-70=5
Exploring Operation: 70+2=72, Resulting Numbers: [75, 72]
Generated Node #0,1,1: 80:[75, 72] Operation: 70+2=72
Exploring Operation: 70/2=35, Resulting Numbers: [75, 35]
Generated Node #0,1,2: 80:[75, 35] Operation: 70/2=35
Exploring Operation: 75+2=77, Resulting Numbers: [70, 77]
Generated Node #0,1,3: 80:[70, 77] Operation: 75+2=77
Moving to Node #0,0,1
Current State: 80:[5, 2], Operations: ['75-70=5', '36-34=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,80 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[2, 5], Operations: ['36-34=2', '75-70=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,80 unequal: No Solution
Moving to Node #0,0,3
Current State: 80:[36, 39], Operations: ['75-70=5', '34+5=39']
Exploring Operation: 36*39=1404, Resulting Numbers: [1404]
1404,80 unequal: No Solution
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,80 unequal: No Solution
Exploring Operation: 36+39=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Moving to Node #0,0,2
Current State: 80:[34, 41], Operations: ['75-70=5', '36+5=41']
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 34+41=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 34*41=1394, Resulting Numbers: [1394]
1394,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[75, 35], Operations: ['36-34=2', '70/2=35']
Exploring Operation: 75+35=110, Resulting Numbers: [110]
110,80 unequal: No Solution
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 75*35=2625, Resulting Numbers: [2625]
2625,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[5, 70], Operations: ['75-70=5', '34+36=70']
Exploring Operation: 5+70=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 5*70=350, Resulting Numbers: [350]
350,80 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[75, 72], Operations: ['36-34=2', '70+2=72']
Exploring Operation: 75+72=147, Resulting Numbers: [147]
147,80 unequal: No Solution
Exploring Operation: 75-72=3, Resulting Numbers: [3]
3,80 unequal: No Solution
Exploring Operation: 75*72=5400, Resulting Numbers: [5400]
5400,80 unequal: No Solution
Moving to Node #0,1,3
Current State: 80:[70, 77], Operations: ['36-34=2', '75+2=77']
Exploring Operation: 70*77=5390, Resulting Numbers: [5390]
5390,80 unequal: No Solution
Exploring Operation: 77-70=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 70+77=147, Resulting Numbers: [147]
147,80 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
73,
24,
32,
97
] | 31 | [
"73+24=97",
"97/97=1",
"32-1=31"
] | Current State: 31:[73, 24, 32, 97], Operations: []
Exploring Operation: 73+24=97, Resulting Numbers: [32, 97, 97]
Generated Node #2: [32, 97, 97] from Operation: 73+24=97
Current State: 31:[32, 97, 97], Operations: ['73+24=97']
Exploring Operation: 97/97=1, Resulting Numbers: [32, 1]
Generated Node #3: [32, 1] from Operation: 97/97=1
Current State: 31:[32, 1], Operations: ['73+24=97', '97/97=1']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[73, 24, 32, 97], Operations: []
Exploring Operation: 73-32=41, Resulting Numbers: [24, 97, 41]
Generated Node #0,0: 31:[24, 97, 41] Operation: 73-32=41
Exploring Operation: 97-32=65, Resulting Numbers: [73, 24, 65]
Generated Node #0,1: 31:[73, 24, 65] Operation: 97-32=65
Exploring Operation: 73-24=49, Resulting Numbers: [32, 97, 49]
Generated Node #0,2: 31:[32, 97, 49] Operation: 73-24=49
Exploring Operation: 97-73=24, Resulting Numbers: [24, 32, 24]
Generated Node #0,3: 31:[24, 32, 24] Operation: 97-73=24
Exploring Operation: 97-24=73, Resulting Numbers: [73, 32, 73]
Generated Node #0,4: 31:[73, 32, 73] Operation: 97-24=73
Start Sub Search at level 1: Moving to Node #0,3
Current State: 31:[24, 32, 24], Operations: ['97-73=24']
Exploring Operation: 24+32=56, Resulting Numbers: [24, 56]
Generated Node #0,3,0: 31:[24, 56] Operation: 24+32=56
Exploring Operation: 24+24=48, Resulting Numbers: [32, 48]
Generated Node #0,3,1: 31:[32, 48] Operation: 24+24=48
Exploring Operation: 32-24=8, Resulting Numbers: [24, 8]
Generated Node #0,3,2: 31:[24, 8] Operation: 32-24=8
Exploring Operation: 32-24=8, Resulting Numbers: [24, 8]
Generated Node #0,3,3: 31:[24, 8] Operation: 32-24=8
Exploring Operation: 24/24=1, Resulting Numbers: [32, 1]
Generated Node #0,3,4: 31:[32, 1] Operation: 24/24=1
Moving to Node #0,3,1
Current State: 31:[32, 48], Operations: ['97-73=24', '24+24=48']
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,31 unequal: No Solution
Exploring Operation: 32*48=1536, Resulting Numbers: [1536]
1536,31 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[24, 8], Operations: ['97-73=24', '32-24=8']
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,31 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,31 unequal: No Solution
Moving to Node #0,3,2
Current State: 31:[24, 8], Operations: ['97-73=24', '32-24=8']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,31 unequal: No Solution
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,31 unequal: No Solution
Moving to Node #0,3,4
Current State: 31:[32, 1], Operations: ['97-73=24', '24/24=1']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[73, 24, 32, 97], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [24, 32, 24]
Generated Node #0,3: 31:[24, 32, 24] Operation: 97-73=24
Moving to Node #0,3
Current State: 31:[24, 32, 24], Operations: ['97-73=24']
Exploring Operation: 24/24=1, Resulting Numbers: [32, 1]
Generated Node #0,3,4: 31:[32, 1] Operation: 24/24=1
Moving to Node #0,3,4
Current State: 31:[32, 1], Operations: ['97-73=24', '24/24=1']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | mult_heuristic |
[
40,
7,
3,
97
] | 10 | [
"97-7=90",
"90/3=30",
"40-30=10"
] | Current State: 10:[40, 7, 3, 97], Operations: []
Exploring Operation: 97-7=90, Resulting Numbers: [40, 3, 90]
Generated Node #2: [40, 3, 90] from Operation: 97-7=90
Current State: 10:[40, 3, 90], Operations: ['97-7=90']
Exploring Operation: 90/3=30, Resulting Numbers: [40, 30]
Generated Node #3: [40, 30] from Operation: 90/3=30
Current State: 10:[40, 30], Operations: ['97-7=90', '90/3=30']
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[40, 7, 3, 97], Operations: []
Exploring Operation: 97-40=57, Resulting Numbers: [7, 3, 57]
Generated Node #0,0: 10:[7, 3, 57] Operation: 97-40=57
Exploring Operation: 97-7=90, Resulting Numbers: [40, 3, 90]
Generated Node #0,1: 10:[40, 3, 90] Operation: 97-7=90
Exploring Operation: 40-3=37, Resulting Numbers: [7, 97, 37]
Generated Node #0,2: 10:[7, 97, 37] Operation: 40-3=37
Exploring Operation: 97-3=94, Resulting Numbers: [40, 7, 94]
Generated Node #0,3: 10:[40, 7, 94] Operation: 97-3=94
Exploring Operation: 40-7=33, Resulting Numbers: [3, 97, 33]
Generated Node #0,4: 10:[3, 97, 33] Operation: 40-7=33
Moving to Node #0,0
Current State: 10:[7, 3, 57], Operations: ['97-40=57']
Exploring Operation: 7-3=4, Resulting Numbers: [57, 4]
Generated Node #0,0,0: 10:[57, 4] Operation: 7-3=4
Exploring Operation: 7+3=10, Resulting Numbers: [57, 10]
Generated Node #0,0,1: 10:[57, 10] Operation: 7+3=10
Exploring Operation: 57/3=19, Resulting Numbers: [7, 19]
Generated Node #0,0,2: 10:[7, 19] Operation: 57/3=19
Exploring Operation: 57-7=50, Resulting Numbers: [3, 50]
Generated Node #0,0,3: 10:[3, 50] Operation: 57-7=50
Exploring Operation: 57-3=54, Resulting Numbers: [7, 54]
Generated Node #0,0,4: 10:[7, 54] Operation: 57-3=54
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 10:[7, 19], Operations: ['97-40=57', '57/3=19']
Exploring Operation: 7*19=133, Resulting Numbers: [133]
133,10 unequal: No Solution
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,10 unequal: No Solution
No solution 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: 10:[3, 50], Operations: ['97-40=57', '57-7=50']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,10 unequal: No Solution
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,10 unequal: No Solution
No solution 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: 10:[7, 54], Operations: ['97-40=57', '57-3=54']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,10 unequal: No Solution
Exploring Operation: 7+54=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 7*54=378, Resulting Numbers: [378]
378,10 unequal: No Solution
No solution 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: 10:[57, 10], Operations: ['97-40=57', '7+3=10']
Exploring Operation: 57*10=570, Resulting Numbers: [570]
570,10 unequal: No Solution
Exploring Operation: 57-10=47, Resulting Numbers: [47]
47,10 unequal: No Solution
Exploring Operation: 57+10=67, Resulting Numbers: [67]
67,10 unequal: No Solution
No solution 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: 10:[57, 4], Operations: ['97-40=57', '7-3=4']
Exploring Operation: 57*4=228, Resulting Numbers: [228]
228,10 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,10 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: 10:[3, 97, 33], Operations: ['40-7=33']
Exploring Operation: 3+97=100, Resulting Numbers: [33, 100]
Generated Node #0,4,0: 10:[33, 100] Operation: 3+97=100
Exploring Operation: 97-33=64, Resulting Numbers: [3, 64]
Generated Node #0,4,1: 10:[3, 64] Operation: 97-33=64
Exploring Operation: 33/3=11, Resulting Numbers: [97, 11]
Generated Node #0,4,2: 10:[97, 11] Operation: 33/3=11
Exploring Operation: 97-3=94, Resulting Numbers: [33, 94]
Generated Node #0,4,3: 10:[33, 94] Operation: 97-3=94
Exploring Operation: 33-3=30, Resulting Numbers: [97, 30]
Generated Node #0,4,4: 10:[97, 30] Operation: 33-3=30
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 10:[3, 64], Operations: ['40-7=33', '97-33=64']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 3*64=192, Resulting Numbers: [192]
192,10 unequal: No Solution
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,10 unequal: No Solution
No 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: 10:[97, 11], Operations: ['40-7=33', '33/3=11']
Exploring Operation: 97-11=86, Resulting Numbers: [86]
86,10 unequal: No Solution
Exploring Operation: 97+11=108, Resulting Numbers: [108]
108,10 unequal: No Solution
Exploring Operation: 97*11=1067, Resulting Numbers: [1067]
1067,10 unequal: No Solution
No 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: 10:[33, 94], Operations: ['40-7=33', '97-3=94']
Exploring Operation: 33+94=127, Resulting Numbers: [127]
127,10 unequal: No Solution
Exploring Operation: 33*94=3102, Resulting Numbers: [3102]
3102,10 unequal: No Solution
Exploring Operation: 94-33=61, Resulting Numbers: [61]
61,10 unequal: No Solution
No 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: 10:[97, 30], Operations: ['40-7=33', '33-3=30']
Exploring Operation: 97-30=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Exploring Operation: 97*30=2910, Resulting Numbers: [2910]
2910,10 unequal: No Solution
Exploring Operation: 97+30=127, Resulting Numbers: [127]
127,10 unequal: No Solution
No 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: 10:[33, 100], Operations: ['40-7=33', '3+97=100']
Exploring Operation: 100-33=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Exploring Operation: 33+100=133, Resulting Numbers: [133]
133,10 unequal: No Solution
Exploring Operation: 33*100=3300, Resulting Numbers: [3300]
3300,10 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: 10:[40, 3, 90], Operations: ['97-7=90']
Exploring Operation: 40+3=43, Resulting Numbers: [90, 43]
Generated Node #0,1,0: 10:[90, 43] Operation: 40+3=43
Exploring Operation: 90/3=30, Resulting Numbers: [40, 30]
Generated Node #0,1,1: 10:[40, 30] Operation: 90/3=30
Exploring Operation: 90-40=50, Resulting Numbers: [3, 50]
Generated Node #0,1,2: 10:[3, 50] Operation: 90-40=50
Exploring Operation: 40-3=37, Resulting Numbers: [90, 37]
Generated Node #0,1,3: 10:[90, 37] Operation: 40-3=37
Exploring Operation: 90-3=87, Resulting Numbers: [40, 87]
Generated Node #0,1,4: 10:[40, 87] Operation: 90-3=87
Moving to Node #0,2
Current State: 10:[7, 97, 37], Operations: ['40-3=37']
Exploring Operation: 7+97=104, Resulting Numbers: [37, 104]
Generated Node #0,2,0: 10:[37, 104] Operation: 7+97=104
Exploring Operation: 7+37=44, Resulting Numbers: [97, 44]
Generated Node #0,2,1: 10:[97, 44] Operation: 7+37=44
Exploring Operation: 97-7=90, Resulting Numbers: [37, 90]
Generated Node #0,2,2: 10:[37, 90] Operation: 97-7=90
Exploring Operation: 37-7=30, Resulting Numbers: [97, 30]
Generated Node #0,2,3: 10:[97, 30] Operation: 37-7=30
Exploring Operation: 97-37=60, Resulting Numbers: [7, 60]
Generated Node #0,2,4: 10:[7, 60] Operation: 97-37=60
Moving to Node #0,3
Current State: 10:[40, 7, 94], Operations: ['97-3=94']
Exploring Operation: 94-7=87, Resulting Numbers: [40, 87]
Generated Node #0,3,0: 10:[40, 87] Operation: 94-7=87
Exploring Operation: 7+94=101, Resulting Numbers: [40, 101]
Generated Node #0,3,1: 10:[40, 101] Operation: 7+94=101
Exploring Operation: 40+7=47, Resulting Numbers: [94, 47]
Generated Node #0,3,2: 10:[94, 47] Operation: 40+7=47
Exploring Operation: 94-40=54, Resulting Numbers: [7, 54]
Generated Node #0,3,3: 10:[7, 54] Operation: 94-40=54
Exploring Operation: 40-7=33, Resulting Numbers: [94, 33]
Generated Node #0,3,4: 10:[94, 33] Operation: 40-7=33
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 10:[7, 54], Operations: ['97-3=94', '94-40=54']
Exploring Operation: 7*54=378, Resulting Numbers: [378]
378,10 unequal: No Solution
Exploring Operation: 7+54=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,10 unequal: No Solution
No 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: 10:[40, 87], Operations: ['97-3=94', '94-7=87']
Exploring Operation: 40*87=3480, Resulting Numbers: [3480]
3480,10 unequal: No Solution
Exploring Operation: 87-40=47, Resulting Numbers: [47]
47,10 unequal: No Solution
Exploring Operation: 40+87=127, Resulting Numbers: [127]
127,10 unequal: No Solution
No 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: 10:[94, 33], Operations: ['97-3=94', '40-7=33']
Exploring Operation: 94-33=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 94*33=3102, Resulting Numbers: [3102]
3102,10 unequal: No Solution
Exploring Operation: 94+33=127, Resulting Numbers: [127]
127,10 unequal: No Solution
No 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: 10:[40, 101], Operations: ['97-3=94', '7+94=101']
Exploring Operation: 40*101=4040, Resulting Numbers: [4040]
4040,10 unequal: No Solution
Exploring Operation: 101-40=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 40+101=141, Resulting Numbers: [141]
141,10 unequal: No Solution
No 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: 10:[94, 47], Operations: ['97-3=94', '40+7=47']
Exploring Operation: 94/47=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 94+47=141, Resulting Numbers: [141]
141,10 unequal: No Solution
Exploring Operation: 94-47=47, Resulting Numbers: [47]
47,10 unequal: No Solution
Exploring Operation: 94*47=4418, Resulting Numbers: [4418]
4418,10 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: 10:[3, 50], Operations: ['97-7=90', '90-40=50']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,10 unequal: No Solution
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[40, 30], Operations: ['97-7=90', '90/3=30']
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[40, 7, 3, 97], Operations: []
Exploring Operation: 97-7=90, Resulting Numbers: [40, 3, 90]
Generated Node #0,1: 10:[40, 3, 90] Operation: 97-7=90
Moving to Node #0,1
Current State: 10:[40, 3, 90], Operations: ['97-7=90']
Exploring Operation: 90/3=30, Resulting Numbers: [40, 30]
Generated Node #0,1,1: 10:[40, 30] Operation: 90/3=30
Moving to Node #0,1,1
Current State: 10:[40, 30], Operations: ['97-7=90', '90/3=30']
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.927083 | hs_5 | sum_heuristic |
[
63,
10,
11,
8
] | 58 | [
"63*10=630",
"8+630=638",
"638/11=58"
] | Current State: 58:[63, 10, 11, 8], Operations: []
Exploring Operation: 63*10=630, Resulting Numbers: [11, 8, 630]
Generated Node #2: [11, 8, 630] from Operation: 63*10=630
Current State: 58:[11, 8, 630], Operations: ['63*10=630']
Exploring Operation: 8+630=638, Resulting Numbers: [11, 638]
Generated Node #3: [11, 638] from Operation: 8+630=638
Current State: 58:[11, 638], Operations: ['63*10=630', '8+630=638']
Exploring Operation: 638/11=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[63, 10, 11, 8], Operations: []
Exploring Operation: 10-8=2, Resulting Numbers: [63, 11, 2]
Generated Node #0,0: 58:[63, 11, 2] Operation: 10-8=2
Exploring Operation: 11-10=1, Resulting Numbers: [63, 8, 1]
Generated Node #0,1: 58:[63, 8, 1] Operation: 11-10=1
Moving to Node #0,1
Current State: 58:[63, 8, 1], Operations: ['11-10=1']
Exploring Operation: 63-1=62, Resulting Numbers: [8, 62]
Generated Node #0,1,0: 58:[8, 62] Operation: 63-1=62
Exploring Operation: 63-8=55, Resulting Numbers: [1, 55]
Generated Node #0,1,1: 58:[1, 55] Operation: 63-8=55
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[1, 55], Operations: ['11-10=1', '63-8=55']
Exploring Operation: 1*55=55, Resulting Numbers: [55]
55,58 unequal: No Solution
Exploring Operation: 1+55=56, Resulting Numbers: [56]
56,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[8, 62], Operations: ['11-10=1', '63-1=62']
Exploring Operation: 8+62=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,58 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: 58:[63, 11, 2], Operations: ['10-8=2']
Exploring Operation: 63-11=52, Resulting Numbers: [2, 52]
Generated Node #0,0,0: 58:[2, 52] Operation: 63-11=52
Exploring Operation: 63-2=61, Resulting Numbers: [11, 61]
Generated Node #0,0,1: 58:[11, 61] Operation: 63-2=61
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[2, 52], Operations: ['10-8=2', '63-11=52']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,58 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[11, 61], Operations: ['10-8=2', '63-2=61']
Exploring Operation: 11+61=72, Resulting Numbers: [72]
72,58 unequal: No Solution
Exploring Operation: 61-11=50, Resulting Numbers: [50]
50,58 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 |
[
25,
99,
59,
37
] | 61 | [
"99-25=74",
"74/37=2",
"59+2=61"
] | Current State: 61:[25, 99, 59, 37], Operations: []
Exploring Operation: 99-25=74, Resulting Numbers: [59, 37, 74]
Generated Node #2: [59, 37, 74] from Operation: 99-25=74
Current State: 61:[59, 37, 74], Operations: ['99-25=74']
Exploring Operation: 74/37=2, Resulting Numbers: [59, 2]
Generated Node #3: [59, 2] from Operation: 74/37=2
Current State: 61:[59, 2], Operations: ['99-25=74', '74/37=2']
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[25, 99, 59, 37], Operations: []
Exploring Operation: 99-25=74, Resulting Numbers: [59, 37, 74]
Generated Node #0,0: 61:[59, 37, 74] Operation: 99-25=74
Exploring Operation: 99-37=62, Resulting Numbers: [25, 59, 62]
Generated Node #0,1: 61:[25, 59, 62] Operation: 99-37=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[59, 37, 74], Operations: ['99-25=74']
Exploring Operation: 74-37=37, Resulting Numbers: [59, 37]
Generated Node #0,0,0: 61:[59, 37] Operation: 74-37=37
Exploring Operation: 59+37=96, Resulting Numbers: [74, 96]
Generated Node #0,0,1: 61:[74, 96] Operation: 59+37=96
Moving to Node #0,0,0
Current State: 61:[59, 37], Operations: ['99-25=74', '74-37=37']
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 59+37=96, Resulting Numbers: [96]
96,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[74, 96], Operations: ['99-25=74', '59+37=96']
Exploring Operation: 74+96=170, Resulting Numbers: [170]
170,61 unequal: No Solution
Exploring Operation: 96-74=22, Resulting Numbers: [22]
22,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:[25, 59, 62], Operations: ['99-37=62']
Exploring Operation: 62-25=37, Resulting Numbers: [59, 37]
Generated Node #0,1,0: 61:[59, 37] Operation: 62-25=37
Exploring Operation: 25+59=84, Resulting Numbers: [62, 84]
Generated Node #0,1,1: 61:[62, 84] Operation: 25+59=84
Moving to Node #0,1,1
Current State: 61:[62, 84], Operations: ['99-37=62', '25+59=84']
Exploring Operation: 62+84=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 84-62=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[59, 37], Operations: ['99-37=62', '62-25=37']
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 59+37=96, Resulting Numbers: [96]
96,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
59,
95,
80,
42
] | 97 | [
"80-59=21",
"42/21=2",
"95+2=97"
] | Current State: 97:[59, 95, 80, 42], Operations: []
Exploring Operation: 80-59=21, Resulting Numbers: [95, 42, 21]
Generated Node #2: [95, 42, 21] from Operation: 80-59=21
Current State: 97:[95, 42, 21], Operations: ['80-59=21']
Exploring Operation: 42/21=2, Resulting Numbers: [95, 2]
Generated Node #3: [95, 2] from Operation: 42/21=2
Current State: 97:[95, 2], Operations: ['80-59=21', '42/21=2']
Exploring Operation: 95+2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[59, 95, 80, 42], Operations: []
Exploring Operation: 95+42=137, Resulting Numbers: [59, 80, 137]
Generated Node #0,0: 97:[59, 80, 137] Operation: 95+42=137
Exploring Operation: 59+42=101, Resulting Numbers: [95, 80, 101]
Generated Node #0,1: 97:[95, 80, 101] Operation: 59+42=101
Exploring Operation: 59+80=139, Resulting Numbers: [95, 42, 139]
Generated Node #0,2: 97:[95, 42, 139] Operation: 59+80=139
Exploring Operation: 80+42=122, Resulting Numbers: [59, 95, 122]
Generated Node #0,3: 97:[59, 95, 122] Operation: 80+42=122
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[95, 80, 101], Operations: ['59+42=101']
Exploring Operation: 80+101=181, Resulting Numbers: [95, 181]
Generated Node #0,1,0: 97:[95, 181] Operation: 80+101=181
Exploring Operation: 95-80=15, Resulting Numbers: [101, 15]
Generated Node #0,1,1: 97:[101, 15] Operation: 95-80=15
Exploring Operation: 101-80=21, Resulting Numbers: [95, 21]
Generated Node #0,1,2: 97:[95, 21] Operation: 101-80=21
Exploring Operation: 95+80=175, Resulting Numbers: [101, 175]
Generated Node #0,1,3: 97:[101, 175] Operation: 95+80=175
Moving to Node #0,1,2
Current State: 97:[95, 21], Operations: ['59+42=101', '101-80=21']
Exploring Operation: 95-21=74, Resulting Numbers: [74]
74,97 unequal: No Solution
Exploring Operation: 95+21=116, Resulting Numbers: [116]
116,97 unequal: No Solution
Exploring Operation: 95*21=1995, Resulting Numbers: [1995]
1995,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[101, 175], Operations: ['59+42=101', '95+80=175']
Exploring Operation: 175-101=74, Resulting Numbers: [74]
74,97 unequal: No Solution
Exploring Operation: 101*175=17675, Resulting Numbers: [17675]
17675,97 unequal: No Solution
Exploring Operation: 101+175=276, Resulting Numbers: [276]
276,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[101, 15], Operations: ['59+42=101', '95-80=15']
Exploring Operation: 101+15=116, Resulting Numbers: [116]
116,97 unequal: No Solution
Exploring Operation: 101-15=86, Resulting Numbers: [86]
86,97 unequal: No Solution
Exploring Operation: 101*15=1515, Resulting Numbers: [1515]
1515,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[95, 181], Operations: ['59+42=101', '80+101=181']
Exploring Operation: 95+181=276, Resulting Numbers: [276]
276,97 unequal: No Solution
Exploring Operation: 181-95=86, Resulting Numbers: [86]
86,97 unequal: No Solution
Exploring Operation: 95*181=17195, Resulting Numbers: [17195]
17195,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
Current State: 97:[59, 95, 122], Operations: ['80+42=122']
Exploring Operation: 122-59=63, Resulting Numbers: [95, 63]
Generated Node #0,3,0: 97:[95, 63] Operation: 122-59=63
Exploring Operation: 59+95=154, Resulting Numbers: [122, 154]
Generated Node #0,3,1: 97:[122, 154] Operation: 59+95=154
Exploring Operation: 59+122=181, Resulting Numbers: [95, 181]
Generated Node #0,3,2: 97:[95, 181] Operation: 59+122=181
Exploring Operation: 95-59=36, Resulting Numbers: [122, 36]
Generated Node #0,3,3: 97:[122, 36] Operation: 95-59=36
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 97:[95, 63], Operations: ['80+42=122', '122-59=63']
Exploring Operation: 95-63=32, Resulting Numbers: [32]
32,97 unequal: No Solution
Exploring Operation: 95*63=5985, Resulting Numbers: [5985]
5985,97 unequal: No Solution
Exploring Operation: 95+63=158, Resulting Numbers: [158]
158,97 unequal: No Solution
No 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: 97:[122, 154], Operations: ['80+42=122', '59+95=154']
Exploring Operation: 154-122=32, Resulting Numbers: [32]
32,97 unequal: No Solution
Exploring Operation: 122*154=18788, Resulting Numbers: [18788]
18788,97 unequal: No Solution
Exploring Operation: 122+154=276, Resulting Numbers: [276]
276,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 97:[95, 181], Operations: ['80+42=122', '59+122=181']
Exploring Operation: 95*181=17195, Resulting Numbers: [17195]
17195,97 unequal: No Solution
Exploring Operation: 95+181=276, Resulting Numbers: [276]
276,97 unequal: No Solution
Exploring Operation: 181-95=86, Resulting Numbers: [86]
86,97 unequal: No Solution
No 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: 97:[122, 36], Operations: ['80+42=122', '95-59=36']
Exploring Operation: 122+36=158, Resulting Numbers: [158]
158,97 unequal: No Solution
Exploring Operation: 122-36=86, Resulting Numbers: [86]
86,97 unequal: No Solution
Exploring Operation: 122*36=4392, Resulting Numbers: [4392]
4392,97 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: 97:[59, 80, 137], Operations: ['95+42=137']
Exploring Operation: 137-59=78, Resulting Numbers: [80, 78]
Generated Node #0,0,0: 97:[80, 78] Operation: 137-59=78
Exploring Operation: 80-59=21, Resulting Numbers: [137, 21]
Generated Node #0,0,1: 97:[137, 21] Operation: 80-59=21
Exploring Operation: 137-80=57, Resulting Numbers: [59, 57]
Generated Node #0,0,2: 97:[59, 57] Operation: 137-80=57
Exploring Operation: 59+80=139, Resulting Numbers: [137, 139]
Generated Node #0,0,3: 97:[137, 139] Operation: 59+80=139
Moving to Node #0,0,0
Current State: 97:[80, 78], Operations: ['95+42=137', '137-59=78']
Exploring Operation: 80+78=158, Resulting Numbers: [158]
158,97 unequal: No Solution
Exploring Operation: 80-78=2, Resulting Numbers: [2]
2,97 unequal: No Solution
Exploring Operation: 80*78=6240, Resulting Numbers: [6240]
6240,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[59, 57], Operations: ['95+42=137', '137-80=57']
Exploring Operation: 59+57=116, Resulting Numbers: [116]
116,97 unequal: No Solution
Exploring Operation: 59*57=3363, Resulting Numbers: [3363]
3363,97 unequal: No Solution
Exploring Operation: 59-57=2, Resulting Numbers: [2]
2,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[137, 139], Operations: ['95+42=137', '59+80=139']
Exploring Operation: 137*139=19043, Resulting Numbers: [19043]
19043,97 unequal: No Solution
Exploring Operation: 137+139=276, Resulting Numbers: [276]
276,97 unequal: No Solution
Exploring Operation: 139-137=2, Resulting Numbers: [2]
2,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[137, 21], Operations: ['95+42=137', '80-59=21']
Exploring Operation: 137-21=116, Resulting Numbers: [116]
116,97 unequal: No Solution
Exploring Operation: 137*21=2877, Resulting Numbers: [2877]
2877,97 unequal: No Solution
Exploring Operation: 137+21=158, Resulting Numbers: [158]
158,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,2
Current State: 97:[95, 42, 139], Operations: ['59+80=139']
Exploring Operation: 95+42=137, Resulting Numbers: [139, 137]
Generated Node #0,2,0: 97:[139, 137] Operation: 95+42=137
Exploring Operation: 42+139=181, Resulting Numbers: [95, 181]
Generated Node #0,2,1: 97:[95, 181] Operation: 42+139=181
Exploring Operation: 139-42=97, Resulting Numbers: [95, 97]
Generated Node #0,2,2: 97:[95, 97] Operation: 139-42=97
Exploring Operation: 95-42=53, Resulting Numbers: [139, 53]
Generated Node #0,2,3: 97:[139, 53] Operation: 95-42=53
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 97:[95, 97], Operations: ['59+80=139', '139-42=97']
Exploring Operation: 95+97=192, Resulting Numbers: [192]
192,97 unequal: No Solution
Exploring Operation: 97-95=2, Resulting Numbers: [2]
2,97 unequal: No Solution
Exploring Operation: 95*97=9215, Resulting Numbers: [9215]
9215,97 unequal: No Solution
No 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: 97:[139, 137], Operations: ['59+80=139', '95+42=137']
Exploring Operation: 139-137=2, Resulting Numbers: [2]
2,97 unequal: No Solution
Exploring Operation: 139+137=276, Resulting Numbers: [276]
276,97 unequal: No Solution
Exploring Operation: 139*137=19043, Resulting Numbers: [19043]
19043,97 unequal: No Solution
No 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: 97:[95, 181], Operations: ['59+80=139', '42+139=181']
Exploring Operation: 95+181=276, Resulting Numbers: [276]
276,97 unequal: No Solution
Exploring Operation: 181-95=86, Resulting Numbers: [86]
86,97 unequal: No Solution
Exploring Operation: 95*181=17195, Resulting Numbers: [17195]
17195,97 unequal: No Solution
No 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: 97:[139, 53], Operations: ['59+80=139', '95-42=53']
Exploring Operation: 139-53=86, Resulting Numbers: [86]
86,97 unequal: No Solution
Exploring Operation: 139*53=7367, Resulting Numbers: [7367]
7367,97 unequal: No Solution
Exploring Operation: 139+53=192, Resulting Numbers: [192]
192,97 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 |
[
68,
52,
65,
57
] | 33 | [
"68-65=3",
"57/3=19",
"52-19=33"
] | Current State: 33:[68, 52, 65, 57], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [52, 57, 3]
Generated Node #2: [52, 57, 3] from Operation: 68-65=3
Current State: 33:[52, 57, 3], Operations: ['68-65=3']
Exploring Operation: 57/3=19, Resulting Numbers: [52, 19]
Generated Node #3: [52, 19] from Operation: 57/3=19
Current State: 33:[52, 19], Operations: ['68-65=3', '57/3=19']
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[68, 52, 65, 57], Operations: []
Exploring Operation: 68-52=16, Resulting Numbers: [65, 57, 16]
Generated Node #0,0: 33:[65, 57, 16] Operation: 68-52=16
Exploring Operation: 65-52=13, Resulting Numbers: [68, 57, 13]
Generated Node #0,1: 33:[68, 57, 13] Operation: 65-52=13
Exploring Operation: 65-57=8, Resulting Numbers: [68, 52, 8]
Generated Node #0,2: 33:[68, 52, 8] Operation: 65-57=8
Exploring Operation: 68-57=11, Resulting Numbers: [52, 65, 11]
Generated Node #0,3: 33:[52, 65, 11] Operation: 68-57=11
Exploring Operation: 68-65=3, Resulting Numbers: [52, 57, 3]
Generated Node #0,4: 33:[52, 57, 3] Operation: 68-65=3
Moving to Node #0,4
Current State: 33:[52, 57, 3], Operations: ['68-65=3']
Exploring Operation: 52+3=55, Resulting Numbers: [57, 55]
Generated Node #0,4,0: 33:[57, 55] Operation: 52+3=55
Exploring Operation: 52-3=49, Resulting Numbers: [57, 49]
Generated Node #0,4,1: 33:[57, 49] Operation: 52-3=49
Exploring Operation: 57-52=5, Resulting Numbers: [3, 5]
Generated Node #0,4,2: 33:[3, 5] Operation: 57-52=5
Exploring Operation: 57/3=19, Resulting Numbers: [52, 19]
Generated Node #0,4,3: 33:[52, 19] Operation: 57/3=19
Exploring Operation: 57-3=54, Resulting Numbers: [52, 54]
Generated Node #0,4,4: 33:[52, 54] Operation: 57-3=54
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 33:[3, 5], Operations: ['68-65=3', '57-52=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 33:[52, 19], Operations: ['68-65=3', '57/3=19']
Exploring Operation: 52*19=988, Resulting Numbers: [988]
988,33 unequal: No Solution
Exploring Operation: 52+19=71, Resulting Numbers: [71]
71,33 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[68, 52, 65, 57], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [52, 57, 3]
Generated Node #0,4: 33:[52, 57, 3] Operation: 68-65=3
Moving to Node #0,4
Current State: 33:[52, 57, 3], Operations: ['68-65=3']
Exploring Operation: 57/3=19, Resulting Numbers: [52, 19]
Generated Node #0,4,3: 33:[52, 19] Operation: 57/3=19
Moving to Node #0,4,3
Current State: 33:[52, 19], Operations: ['68-65=3', '57/3=19']
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
20,
12,
29,
4
] | 17 | [
"20-12=8",
"29-4=25",
"25-8=17"
] | Current State: 17:[20, 12, 29, 4], Operations: []
Exploring Operation: 20-12=8, Resulting Numbers: [29, 4, 8]
Generated Node #2: [29, 4, 8] from Operation: 20-12=8
Current State: 17:[29, 4, 8], Operations: ['20-12=8']
Exploring Operation: 29-4=25, Resulting Numbers: [8, 25]
Generated Node #3: [8, 25] from Operation: 29-4=25
Current State: 17:[8, 25], Operations: ['20-12=8', '29-4=25']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[20, 12, 29, 4], Operations: []
Exploring Operation: 12+4=16, Resulting Numbers: [20, 29, 16]
Generated Node #0,0: 17:[20, 29, 16] Operation: 12+4=16
Exploring Operation: 29-12=17, Resulting Numbers: [20, 4, 17]
Generated Node #0,1: 17:[20, 4, 17] Operation: 29-12=17
Moving to Node #0,0
Current State: 17:[20, 29, 16], Operations: ['12+4=16']
Exploring Operation: 29-20=9, Resulting Numbers: [16, 9]
Generated Node #0,0,0: 17:[16, 9] Operation: 29-20=9
Exploring Operation: 29-16=13, Resulting Numbers: [20, 13]
Generated Node #0,0,1: 17:[20, 13] Operation: 29-16=13
Moving to Node #0,1
Current State: 17:[20, 4, 17], Operations: ['29-12=17']
Exploring Operation: 20+4=24, Resulting Numbers: [17, 24]
Generated Node #0,1,0: 17:[17, 24] Operation: 20+4=24
Exploring Operation: 20-4=16, Resulting Numbers: [17, 16]
Generated Node #0,1,1: 17:[17, 16] Operation: 20-4=16
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 17:[17, 16], Operations: ['29-12=17', '20-4=16']
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,17 unequal: No Solution
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[17, 24], Operations: ['29-12=17', '20+4=24']
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,17 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: 17:[20, 13], Operations: ['12+4=16', '29-16=13']
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[16, 9], Operations: ['12+4=16', '29-20=9']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,17 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
29,
63,
40,
22
] | 96 | [
"63-29=34",
"40+22=62",
"34+62=96"
] | Current State: 96:[29, 63, 40, 22], Operations: []
Exploring Operation: 63-29=34, Resulting Numbers: [40, 22, 34]
Generated Node #2: [40, 22, 34] from Operation: 63-29=34
Current State: 96:[40, 22, 34], Operations: ['63-29=34']
Exploring Operation: 40+22=62, Resulting Numbers: [34, 62]
Generated Node #3: [34, 62] from Operation: 40+22=62
Current State: 96:[34, 62], Operations: ['63-29=34', '40+22=62']
Exploring Operation: 34+62=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[29, 63, 40, 22], Operations: []
Exploring Operation: 63-40=23, Resulting Numbers: [29, 22, 23]
Generated Node #0,0: 96:[29, 22, 23] Operation: 63-40=23
Exploring Operation: 63+40=103, Resulting Numbers: [29, 22, 103]
Generated Node #0,1: 96:[29, 22, 103] Operation: 63+40=103
Exploring Operation: 63-29=34, Resulting Numbers: [40, 22, 34]
Generated Node #0,2: 96:[40, 22, 34] Operation: 63-29=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[29, 22, 23], Operations: ['63-40=23']
Exploring Operation: 29-23=6, Resulting Numbers: [22, 6]
Generated Node #0,0,0: 96:[22, 6] Operation: 29-23=6
Exploring Operation: 29-22=7, Resulting Numbers: [23, 7]
Generated Node #0,0,1: 96:[23, 7] Operation: 29-22=7
Exploring Operation: 29+22=51, Resulting Numbers: [23, 51]
Generated Node #0,0,2: 96:[23, 51] Operation: 29+22=51
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[22, 6], Operations: ['63-40=23', '29-23=6']
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,96 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,96 unequal: No Solution
No 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: 96:[23, 7], Operations: ['63-40=23', '29-22=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,96 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,96 unequal: No Solution
No 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: 96:[23, 51], Operations: ['63-40=23', '29+22=51']
Exploring Operation: 23*51=1173, Resulting Numbers: [1173]
1173,96 unequal: No Solution
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 23+51=74, Resulting Numbers: [74]
74,96 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: 96:[29, 22, 103], Operations: ['63+40=103']
Exploring Operation: 29-22=7, Resulting Numbers: [103, 7]
Generated Node #0,1,0: 96:[103, 7] Operation: 29-22=7
Exploring Operation: 103-22=81, Resulting Numbers: [29, 81]
Generated Node #0,1,1: 96:[29, 81] Operation: 103-22=81
Exploring Operation: 29+22=51, Resulting Numbers: [103, 51]
Generated Node #0,1,2: 96:[103, 51] Operation: 29+22=51
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[103, 7], Operations: ['63+40=103', '29-22=7']
Exploring Operation: 103*7=721, Resulting Numbers: [721]
721,96 unequal: No Solution
Exploring Operation: 103+7=110, Resulting Numbers: [110]
110,96 unequal: No Solution
Exploring Operation: 103-7=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[29, 63, 40, 22], Operations: []
Exploring Operation: 63+40=103, Resulting Numbers: [29, 22, 103]
Generated Node #0,1: 96:[29, 22, 103] Operation: 63+40=103
Moving to Node #0,1
Current State: 96:[29, 22, 103], Operations: ['63+40=103']
Exploring Operation: 29-22=7, Resulting Numbers: [103, 7]
Generated Node #0,1,0: 96:[103, 7] Operation: 29-22=7
Moving to Node #0,1,0
Current State: 96:[103, 7], Operations: ['63+40=103', '29-22=7']
Exploring Operation: 103-7=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
76,
4,
54,
44
] | 74 | [
"76-44=32",
"4*32=128",
"128-54=74"
] | Current State: 74:[76, 4, 54, 44], Operations: []
Exploring Operation: 76-44=32, Resulting Numbers: [4, 54, 32]
Generated Node #2: [4, 54, 32] from Operation: 76-44=32
Current State: 74:[4, 54, 32], Operations: ['76-44=32']
Exploring Operation: 4*32=128, Resulting Numbers: [54, 128]
Generated Node #3: [54, 128] from Operation: 4*32=128
Current State: 74:[54, 128], Operations: ['76-44=32', '4*32=128']
Exploring Operation: 128-54=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[76, 4, 54, 44], Operations: []
Exploring Operation: 44-4=40, Resulting Numbers: [76, 54, 40]
Generated Node #0,0: 74:[76, 54, 40] Operation: 44-4=40
Exploring Operation: 76-54=22, Resulting Numbers: [4, 44, 22]
Generated Node #0,1: 74:[4, 44, 22] Operation: 76-54=22
Exploring Operation: 54-44=10, Resulting Numbers: [76, 4, 10]
Generated Node #0,2: 74:[76, 4, 10] Operation: 54-44=10
Exploring Operation: 76-44=32, Resulting Numbers: [4, 54, 32]
Generated Node #0,3: 74:[4, 54, 32] Operation: 76-44=32
Exploring Operation: 54-4=50, Resulting Numbers: [76, 44, 50]
Generated Node #0,4: 74:[76, 44, 50] Operation: 54-4=50
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[76, 4, 10], Operations: ['54-44=10']
Exploring Operation: 76-10=66, Resulting Numbers: [4, 66]
Generated Node #0,2,0: 74:[4, 66] Operation: 76-10=66
Exploring Operation: 10-4=6, Resulting Numbers: [76, 6]
Generated Node #0,2,1: 74:[76, 6] Operation: 10-4=6
Exploring Operation: 4*10=40, Resulting Numbers: [76, 40]
Generated Node #0,2,2: 74:[76, 40] Operation: 4*10=40
Exploring Operation: 76+4=80, Resulting Numbers: [10, 80]
Generated Node #0,2,3: 74:[10, 80] Operation: 76+4=80
Exploring Operation: 76-4=72, Resulting Numbers: [10, 72]
Generated Node #0,2,4: 74:[10, 72] Operation: 76-4=72
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 74:[76, 40], Operations: ['54-44=10', '4*10=40']
Exploring Operation: 76*40=3040, Resulting Numbers: [3040]
3040,74 unequal: No Solution
Exploring Operation: 76+40=116, Resulting Numbers: [116]
116,74 unequal: No Solution
Exploring Operation: 76-40=36, Resulting Numbers: [36]
36,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 74:[76, 6], Operations: ['54-44=10', '10-4=6']
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Exploring Operation: 76+6=82, Resulting Numbers: [82]
82,74 unequal: No Solution
Exploring Operation: 76*6=456, Resulting Numbers: [456]
456,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 74:[4, 66], Operations: ['54-44=10', '76-10=66']
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,74 unequal: No Solution
Exploring Operation: 4*66=264, Resulting Numbers: [264]
264,74 unequal: No Solution
Exploring Operation: 4+66=70, Resulting Numbers: [70]
70,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 74:[10, 72], Operations: ['54-44=10', '76-4=72']
Exploring Operation: 10+72=82, Resulting Numbers: [82]
82,74 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,74 unequal: No Solution
Exploring Operation: 10*72=720, Resulting Numbers: [720]
720,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 74:[10, 80], Operations: ['54-44=10', '76+4=80']
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,74 unequal: No Solution
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Exploring Operation: 10*80=800, Resulting Numbers: [800]
800,74 unequal: No Solution
Exploring Operation: 10+80=90, Resulting Numbers: [90]
90,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[76, 54, 40], Operations: ['44-4=40']
Exploring Operation: 76-54=22, Resulting Numbers: [40, 22]
Generated Node #0,0,0: 74:[40, 22] Operation: 76-54=22
Exploring Operation: 54-40=14, Resulting Numbers: [76, 14]
Generated Node #0,0,1: 74:[76, 14] Operation: 54-40=14
Exploring Operation: 76-40=36, Resulting Numbers: [54, 36]
Generated Node #0,0,2: 74:[54, 36] Operation: 76-40=36
Exploring Operation: 54+40=94, Resulting Numbers: [76, 94]
Generated Node #0,0,3: 74:[76, 94] Operation: 54+40=94
Exploring Operation: 76+54=130, Resulting Numbers: [40, 130]
Generated Node #0,0,4: 74:[40, 130] Operation: 76+54=130
Moving to Node #0,0,1
Current State: 74:[76, 14], Operations: ['44-4=40', '54-40=14']
Exploring Operation: 76+14=90, Resulting Numbers: [90]
90,74 unequal: No Solution
Exploring Operation: 76*14=1064, Resulting Numbers: [1064]
1064,74 unequal: No Solution
Exploring Operation: 76-14=62, Resulting Numbers: [62]
62,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[54, 36], Operations: ['44-4=40', '76-40=36']
Exploring Operation: 54+36=90, Resulting Numbers: [90]
90,74 unequal: No Solution
Exploring Operation: 54*36=1944, Resulting Numbers: [1944]
1944,74 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[40, 22], Operations: ['44-4=40', '76-54=22']
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 40*22=880, Resulting Numbers: [880]
880,74 unequal: No Solution
Exploring Operation: 40+22=62, Resulting Numbers: [62]
62,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[76, 94], Operations: ['44-4=40', '54+40=94']
Exploring Operation: 76*94=7144, Resulting Numbers: [7144]
7144,74 unequal: No Solution
Exploring Operation: 76+94=170, Resulting Numbers: [170]
170,74 unequal: No Solution
Exploring Operation: 94-76=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Moving to Node #0,0,4
Current State: 74:[40, 130], Operations: ['44-4=40', '76+54=130']
Exploring Operation: 130-40=90, Resulting Numbers: [90]
90,74 unequal: No Solution
Exploring Operation: 40+130=170, Resulting Numbers: [170]
170,74 unequal: No Solution
Exploring Operation: 40*130=5200, Resulting Numbers: [5200]
5200,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 74:[76, 44, 50], Operations: ['54-4=50']
Exploring Operation: 50-44=6, Resulting Numbers: [76, 6]
Generated Node #0,4,0: 74:[76, 6] Operation: 50-44=6
Exploring Operation: 76-50=26, Resulting Numbers: [44, 26]
Generated Node #0,4,1: 74:[44, 26] Operation: 76-50=26
Exploring Operation: 76-44=32, Resulting Numbers: [50, 32]
Generated Node #0,4,2: 74:[50, 32] Operation: 76-44=32
Exploring Operation: 44+50=94, Resulting Numbers: [76, 94]
Generated Node #0,4,3: 74:[76, 94] Operation: 44+50=94
Exploring Operation: 76+44=120, Resulting Numbers: [50, 120]
Generated Node #0,4,4: 74:[50, 120] Operation: 76+44=120
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 74:[76, 6], Operations: ['54-4=50', '50-44=6']
Exploring Operation: 76+6=82, Resulting Numbers: [82]
82,74 unequal: No Solution
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Exploring Operation: 76*6=456, Resulting Numbers: [456]
456,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 74:[44, 26], Operations: ['54-4=50', '76-50=26']
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 44*26=1144, Resulting Numbers: [1144]
1144,74 unequal: No Solution
Exploring Operation: 44+26=70, Resulting Numbers: [70]
70,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 74:[50, 32], Operations: ['54-4=50', '76-44=32']
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 50+32=82, Resulting Numbers: [82]
82,74 unequal: No Solution
Exploring Operation: 50*32=1600, Resulting Numbers: [1600]
1600,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 74:[76, 94], Operations: ['54-4=50', '44+50=94']
Exploring Operation: 76*94=7144, Resulting Numbers: [7144]
7144,74 unequal: No Solution
Exploring Operation: 94-76=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 76+94=170, Resulting Numbers: [170]
170,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 74:[50, 120], Operations: ['54-4=50', '76+44=120']
Exploring Operation: 50+120=170, Resulting Numbers: [170]
170,74 unequal: No Solution
Exploring Operation: 50*120=6000, Resulting Numbers: [6000]
6000,74 unequal: No Solution
Exploring Operation: 120-50=70, Resulting Numbers: [70]
70,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[4, 44, 22], Operations: ['76-54=22']
Exploring Operation: 44-22=22, Resulting Numbers: [4, 22]
Generated Node #0,1,0: 74:[4, 22] Operation: 44-22=22
Exploring Operation: 44/22=2, Resulting Numbers: [4, 2]
Generated Node #0,1,1: 74:[4, 2] Operation: 44/22=2
Exploring Operation: 44+22=66, Resulting Numbers: [4, 66]
Generated Node #0,1,2: 74:[4, 66] Operation: 44+22=66
Exploring Operation: 44-4=40, Resulting Numbers: [22, 40]
Generated Node #0,1,3: 74:[22, 40] Operation: 44-4=40
Exploring Operation: 4+22=26, Resulting Numbers: [44, 26]
Generated Node #0,1,4: 74:[44, 26] Operation: 4+22=26
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 74:[4, 2], Operations: ['76-54=22', '44/22=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,74 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 74:[4, 66], Operations: ['76-54=22', '44+22=66']
Exploring Operation: 4+66=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Exploring Operation: 4*66=264, Resulting Numbers: [264]
264,74 unequal: No Solution
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 74:[4, 22], Operations: ['76-54=22', '44-22=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 74:[22, 40], Operations: ['76-54=22', '44-4=40']
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 22+40=62, Resulting Numbers: [62]
62,74 unequal: No Solution
Exploring Operation: 22*40=880, Resulting Numbers: [880]
880,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 74:[44, 26], Operations: ['76-54=22', '4+22=26']
Exploring Operation: 44*26=1144, Resulting Numbers: [1144]
1144,74 unequal: No Solution
Exploring Operation: 44+26=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[4, 54, 32], Operations: ['76-44=32']
Exploring Operation: 4+54=58, Resulting Numbers: [32, 58]
Generated Node #0,3,0: 74:[32, 58] Operation: 4+54=58
Exploring Operation: 54-32=22, Resulting Numbers: [4, 22]
Generated Node #0,3,1: 74:[4, 22] Operation: 54-32=22
Exploring Operation: 54-4=50, Resulting Numbers: [32, 50]
Generated Node #0,3,2: 74:[32, 50] Operation: 54-4=50
Exploring Operation: 4+32=36, Resulting Numbers: [54, 36]
Generated Node #0,3,3: 74:[54, 36] Operation: 4+32=36
Exploring Operation: 54+32=86, Resulting Numbers: [4, 86]
Generated Node #0,3,4: 74:[4, 86] Operation: 54+32=86
Moving to Node #0,3,4
Current State: 74:[4, 86], Operations: ['76-44=32', '54+32=86']
Exploring Operation: 4+86=90, Resulting Numbers: [90]
90,74 unequal: No Solution
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,74 unequal: No Solution
Exploring Operation: 4*86=344, Resulting Numbers: [344]
344,74 unequal: No Solution
Moving to Node #0,3,1
Current State: 74:[4, 22], Operations: ['76-44=32', '54-32=22']
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[32, 50], Operations: ['76-44=32', '54-4=50']
Exploring Operation: 32*50=1600, Resulting Numbers: [1600]
1600,74 unequal: No Solution
Exploring Operation: 32+50=82, Resulting Numbers: [82]
82,74 unequal: No Solution
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[54, 36], Operations: ['76-44=32', '4+32=36']
Exploring Operation: 54*36=1944, Resulting Numbers: [1944]
1944,74 unequal: No Solution
Exploring Operation: 54+36=90, Resulting Numbers: [90]
90,74 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[32, 58], Operations: ['76-44=32', '4+54=58']
Exploring Operation: 32+58=90, Resulting Numbers: [90]
90,74 unequal: No Solution
Exploring Operation: 32*58=1856, Resulting Numbers: [1856]
1856,74 unequal: No Solution
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
76,
88,
80,
16
] | 100 | [
"76+88=164",
"80-16=64",
"164-64=100"
] | Current State: 100:[76, 88, 80, 16], Operations: []
Exploring Operation: 76+88=164, Resulting Numbers: [80, 16, 164]
Generated Node #2: [80, 16, 164] from Operation: 76+88=164
Current State: 100:[80, 16, 164], Operations: ['76+88=164']
Exploring Operation: 80-16=64, Resulting Numbers: [164, 64]
Generated Node #3: [164, 64] from Operation: 80-16=64
Current State: 100:[164, 64], Operations: ['76+88=164', '80-16=64']
Exploring Operation: 164-64=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[76, 88, 80, 16], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [88, 16, 4]
Generated Node #0,0: 100:[88, 16, 4] Operation: 80-76=4
Moving to Node #0,0
Current State: 100:[88, 16, 4], Operations: ['80-76=4']
Exploring Operation: 88+16=104, Resulting Numbers: [4, 104]
Generated Node #0,0,0: 100:[4, 104] Operation: 88+16=104
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[4, 104], Operations: ['80-76=4', '88+16=104']
Exploring Operation: 104-4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[76, 88, 80, 16], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [88, 16, 4]
Generated Node #0,0: 100:[88, 16, 4] Operation: 80-76=4
Moving to Node #0,0
Current State: 100:[88, 16, 4], Operations: ['80-76=4']
Exploring Operation: 88+16=104, Resulting Numbers: [4, 104]
Generated Node #0,0,0: 100:[4, 104] Operation: 88+16=104
Moving to Node #0,0,0
Current State: 100:[4, 104], Operations: ['80-76=4', '88+16=104']
Exploring Operation: 104-4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
51,
56,
89,
52
] | 34 | [
"51+56=107",
"89+52=141",
"141-107=34"
] | Current State: 34:[51, 56, 89, 52], Operations: []
Exploring Operation: 51+56=107, Resulting Numbers: [89, 52, 107]
Generated Node #2: [89, 52, 107] from Operation: 51+56=107
Current State: 34:[89, 52, 107], Operations: ['51+56=107']
Exploring Operation: 89+52=141, Resulting Numbers: [107, 141]
Generated Node #3: [107, 141] from Operation: 89+52=141
Current State: 34:[107, 141], Operations: ['51+56=107', '89+52=141']
Exploring Operation: 141-107=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[51, 56, 89, 52], Operations: []
Exploring Operation: 89-52=37, Resulting Numbers: [51, 56, 37]
Generated Node #0,0: 34:[51, 56, 37] Operation: 89-52=37
Exploring Operation: 89-56=33, Resulting Numbers: [51, 52, 33]
Generated Node #0,1: 34:[51, 52, 33] Operation: 89-56=33
Exploring Operation: 89-51=38, Resulting Numbers: [56, 52, 38]
Generated Node #0,2: 34:[56, 52, 38] Operation: 89-51=38
Exploring Operation: 56-52=4, Resulting Numbers: [51, 89, 4]
Generated Node #0,3: 34:[51, 89, 4] Operation: 56-52=4
Moving to Node #0,1
Current State: 34:[51, 52, 33], Operations: ['89-56=33']
Exploring Operation: 51-33=18, Resulting Numbers: [52, 18]
Generated Node #0,1,0: 34:[52, 18] Operation: 51-33=18
Exploring Operation: 52-33=19, Resulting Numbers: [51, 19]
Generated Node #0,1,1: 34:[51, 19] Operation: 52-33=19
Exploring Operation: 52-51=1, Resulting Numbers: [33, 1]
Generated Node #0,1,2: 34:[33, 1] Operation: 52-51=1
Exploring Operation: 51+33=84, Resulting Numbers: [52, 84]
Generated Node #0,1,3: 34:[52, 84] Operation: 51+33=84
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[33, 1], Operations: ['89-56=33', '52-51=1']
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[51, 56, 89, 52], Operations: []
Exploring Operation: 89-56=33, Resulting Numbers: [51, 52, 33]
Generated Node #0,1: 34:[51, 52, 33] Operation: 89-56=33
Moving to Node #0,1
Current State: 34:[51, 52, 33], Operations: ['89-56=33']
Exploring Operation: 52-51=1, Resulting Numbers: [33, 1]
Generated Node #0,1,2: 34:[33, 1] Operation: 52-51=1
Moving to Node #0,1,2
Current State: 34:[33, 1], Operations: ['89-56=33', '52-51=1']
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
26,
9,
5,
96
] | 89 | [
"26+9=35",
"35/5=7",
"96-7=89"
] | Current State: 89:[26, 9, 5, 96], Operations: []
Exploring Operation: 26+9=35, Resulting Numbers: [5, 96, 35]
Generated Node #2: [5, 96, 35] from Operation: 26+9=35
Current State: 89:[5, 96, 35], Operations: ['26+9=35']
Exploring Operation: 35/5=7, Resulting Numbers: [96, 7]
Generated Node #3: [96, 7] from Operation: 35/5=7
Current State: 89:[96, 7], Operations: ['26+9=35', '35/5=7']
Exploring Operation: 96-7=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[26, 9, 5, 96], Operations: []
Exploring Operation: 26*5=130, Resulting Numbers: [9, 96, 130]
Generated Node #0,0: 89:[9, 96, 130] Operation: 26*5=130
Exploring Operation: 9*5=45, Resulting Numbers: [26, 96, 45]
Generated Node #0,1: 89:[26, 96, 45] Operation: 9*5=45
Exploring Operation: 9+5=14, Resulting Numbers: [26, 96, 14]
Generated Node #0,2: 89:[26, 96, 14] Operation: 9+5=14
Exploring Operation: 26+5=31, Resulting Numbers: [9, 96, 31]
Generated Node #0,3: 89:[9, 96, 31] Operation: 26+5=31
Exploring Operation: 26+9=35, Resulting Numbers: [5, 96, 35]
Generated Node #0,4: 89:[5, 96, 35] Operation: 26+9=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[26, 96, 45], Operations: ['9*5=45']
Exploring Operation: 96-26=70, Resulting Numbers: [45, 70]
Generated Node #0,1,0: 89:[45, 70] Operation: 96-26=70
Exploring Operation: 26+45=71, Resulting Numbers: [96, 71]
Generated Node #0,1,1: 89:[96, 71] Operation: 26+45=71
Exploring Operation: 96-45=51, Resulting Numbers: [26, 51]
Generated Node #0,1,2: 89:[26, 51] Operation: 96-45=51
Exploring Operation: 45-26=19, Resulting Numbers: [96, 19]
Generated Node #0,1,3: 89:[96, 19] Operation: 45-26=19
Exploring Operation: 26+96=122, Resulting Numbers: [45, 122]
Generated Node #0,1,4: 89:[45, 122] Operation: 26+96=122
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[96, 71], Operations: ['9*5=45', '26+45=71']
Exploring Operation: 96+71=167, Resulting Numbers: [167]
167,89 unequal: No Solution
Exploring Operation: 96-71=25, Resulting Numbers: [25]
25,89 unequal: No Solution
Exploring Operation: 96*71=6816, Resulting Numbers: [6816]
6816,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,0
Current State: 89:[45, 70], Operations: ['9*5=45', '96-26=70']
Exploring Operation: 45+70=115, Resulting Numbers: [115]
115,89 unequal: No Solution
Exploring Operation: 70-45=25, Resulting Numbers: [25]
25,89 unequal: No Solution
Exploring Operation: 45*70=3150, Resulting Numbers: [3150]
3150,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,3
Current State: 89:[96, 19], Operations: ['9*5=45', '45-26=19']
Exploring Operation: 96*19=1824, Resulting Numbers: [1824]
1824,89 unequal: No Solution
Exploring Operation: 96-19=77, Resulting Numbers: [77]
77,89 unequal: No Solution
Exploring Operation: 96+19=115, Resulting Numbers: [115]
115,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,4
Current State: 89:[45, 122], Operations: ['9*5=45', '26+96=122']
Exploring Operation: 122-45=77, Resulting Numbers: [77]
77,89 unequal: No Solution
Exploring Operation: 45*122=5490, Resulting Numbers: [5490]
5490,89 unequal: No Solution
Exploring Operation: 45+122=167, Resulting Numbers: [167]
167,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,2
Current State: 89:[26, 51], Operations: ['9*5=45', '96-45=51']
Exploring Operation: 26*51=1326, Resulting Numbers: [1326]
1326,89 unequal: No Solution
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,89 unequal: No Solution
Exploring Operation: 26+51=77, Resulting Numbers: [77]
77,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[9, 96, 130], Operations: ['26*5=130']
Exploring Operation: 130-9=121, Resulting Numbers: [96, 121]
Generated Node #0,0,0: 89:[96, 121] Operation: 130-9=121
Exploring Operation: 9+96=105, Resulting Numbers: [130, 105]
Generated Node #0,0,1: 89:[130, 105] Operation: 9+96=105
Exploring Operation: 130-96=34, Resulting Numbers: [9, 34]
Generated Node #0,0,2: 89:[9, 34] Operation: 130-96=34
Exploring Operation: 9+130=139, Resulting Numbers: [96, 139]
Generated Node #0,0,3: 89:[96, 139] Operation: 9+130=139
Exploring Operation: 96-9=87, Resulting Numbers: [130, 87]
Generated Node #0,0,4: 89:[130, 87] Operation: 96-9=87
Moving to Node #0,0,0
Current State: 89:[96, 121], Operations: ['26*5=130', '130-9=121']
Exploring Operation: 96+121=217, Resulting Numbers: [217]
217,89 unequal: No Solution
Exploring Operation: 96*121=11616, Resulting Numbers: [11616]
11616,89 unequal: No Solution
Exploring Operation: 121-96=25, Resulting Numbers: [25]
25,89 unequal: No Solution
Moving to Node #0,0,4
Current State: 89:[130, 87], Operations: ['26*5=130', '96-9=87']
Exploring Operation: 130*87=11310, Resulting Numbers: [11310]
11310,89 unequal: No Solution
Exploring Operation: 130+87=217, Resulting Numbers: [217]
217,89 unequal: No Solution
Exploring Operation: 130-87=43, Resulting Numbers: [43]
43,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[130, 105], Operations: ['26*5=130', '9+96=105']
Exploring Operation: 130+105=235, Resulting Numbers: [235]
235,89 unequal: No Solution
Exploring Operation: 130*105=13650, Resulting Numbers: [13650]
13650,89 unequal: No Solution
Exploring Operation: 130-105=25, Resulting Numbers: [25]
25,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[96, 139], Operations: ['26*5=130', '9+130=139']
Exploring Operation: 96+139=235, Resulting Numbers: [235]
235,89 unequal: No Solution
Exploring Operation: 96*139=13344, Resulting Numbers: [13344]
13344,89 unequal: No Solution
Exploring Operation: 139-96=43, Resulting Numbers: [43]
43,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[9, 34], Operations: ['26*5=130', '130-96=34']
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,89 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,89 unequal: No Solution
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[26, 96, 14], Operations: ['9+5=14']
Exploring Operation: 96-26=70, Resulting Numbers: [14, 70]
Generated Node #0,2,0: 89:[14, 70] Operation: 96-26=70
Exploring Operation: 26+14=40, Resulting Numbers: [96, 40]
Generated Node #0,2,1: 89:[96, 40] Operation: 26+14=40
Exploring Operation: 96-14=82, Resulting Numbers: [26, 82]
Generated Node #0,2,2: 89:[26, 82] Operation: 96-14=82
Exploring Operation: 26-14=12, Resulting Numbers: [96, 12]
Generated Node #0,2,3: 89:[96, 12] Operation: 26-14=12
Exploring Operation: 96+14=110, Resulting Numbers: [26, 110]
Generated Node #0,2,4: 89:[26, 110] Operation: 96+14=110
Moving to Node #0,2,1
Current State: 89:[96, 40], Operations: ['9+5=14', '26+14=40']
Exploring Operation: 96*40=3840, Resulting Numbers: [3840]
3840,89 unequal: No Solution
Exploring Operation: 96-40=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 96+40=136, Resulting Numbers: [136]
136,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[26, 82], Operations: ['9+5=14', '96-14=82']
Exploring Operation: 26+82=108, Resulting Numbers: [108]
108,89 unequal: No Solution
Exploring Operation: 26*82=2132, Resulting Numbers: [2132]
2132,89 unequal: No Solution
Exploring Operation: 82-26=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[96, 12], Operations: ['9+5=14', '26-14=12']
Exploring Operation: 96*12=1152, Resulting Numbers: [1152]
1152,89 unequal: No Solution
Exploring Operation: 96/12=8, Resulting Numbers: [8]
8,89 unequal: No Solution
Exploring Operation: 96-12=84, Resulting Numbers: [84]
84,89 unequal: No Solution
Exploring Operation: 96+12=108, Resulting Numbers: [108]
108,89 unequal: No Solution
Moving to Node #0,2,4
Current State: 89:[26, 110], Operations: ['9+5=14', '96+14=110']
Exploring Operation: 110-26=84, Resulting Numbers: [84]
84,89 unequal: No Solution
Exploring Operation: 26+110=136, Resulting Numbers: [136]
136,89 unequal: No Solution
Exploring Operation: 26*110=2860, Resulting Numbers: [2860]
2860,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[14, 70], Operations: ['9+5=14', '96-26=70']
Exploring Operation: 14+70=84, Resulting Numbers: [84]
84,89 unequal: No Solution
Exploring Operation: 14*70=980, Resulting Numbers: [980]
980,89 unequal: No Solution
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,89 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[9, 96, 31], Operations: ['26+5=31']
Exploring Operation: 96-9=87, Resulting Numbers: [31, 87]
Generated Node #0,3,0: 89:[31, 87] Operation: 96-9=87
Exploring Operation: 31-9=22, Resulting Numbers: [96, 22]
Generated Node #0,3,1: 89:[96, 22] Operation: 31-9=22
Exploring Operation: 96-31=65, Resulting Numbers: [9, 65]
Generated Node #0,3,2: 89:[9, 65] Operation: 96-31=65
Exploring Operation: 9+96=105, Resulting Numbers: [31, 105]
Generated Node #0,3,3: 89:[31, 105] Operation: 9+96=105
Exploring Operation: 9+31=40, Resulting Numbers: [96, 40]
Generated Node #0,3,4: 89:[96, 40] Operation: 9+31=40
Moving to Node #0,3,4
Current State: 89:[96, 40], Operations: ['26+5=31', '9+31=40']
Exploring Operation: 96*40=3840, Resulting Numbers: [3840]
3840,89 unequal: No Solution
Exploring Operation: 96-40=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 96+40=136, Resulting Numbers: [136]
136,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[31, 87], Operations: ['26+5=31', '96-9=87']
Exploring Operation: 87-31=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 31*87=2697, Resulting Numbers: [2697]
2697,89 unequal: No Solution
Exploring Operation: 31+87=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[96, 22], Operations: ['26+5=31', '31-9=22']
Exploring Operation: 96+22=118, Resulting Numbers: [118]
118,89 unequal: No Solution
Exploring Operation: 96-22=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 96*22=2112, Resulting Numbers: [2112]
2112,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[31, 105], Operations: ['26+5=31', '9+96=105']
Exploring Operation: 31+105=136, Resulting Numbers: [136]
136,89 unequal: No Solution
Exploring Operation: 31*105=3255, Resulting Numbers: [3255]
3255,89 unequal: No Solution
Exploring Operation: 105-31=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[9, 65], Operations: ['26+5=31', '96-31=65']
Exploring Operation: 9+65=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 9*65=585, Resulting Numbers: [585]
585,89 unequal: No Solution
Exploring Operation: 65-9=56, Resulting Numbers: [56]
56,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,4
Current State: 89:[5, 96, 35], Operations: ['26+9=35']
Exploring Operation: 35/5=7, Resulting Numbers: [96, 7]
Generated Node #0,4,0: 89:[96, 7] Operation: 35/5=7
Exploring Operation: 5+96=101, Resulting Numbers: [35, 101]
Generated Node #0,4,1: 89:[35, 101] Operation: 5+96=101
Exploring Operation: 35-5=30, Resulting Numbers: [96, 30]
Generated Node #0,4,2: 89:[96, 30] Operation: 35-5=30
Exploring Operation: 96-5=91, Resulting Numbers: [35, 91]
Generated Node #0,4,3: 89:[35, 91] Operation: 96-5=91
Exploring Operation: 5+35=40, Resulting Numbers: [96, 40]
Generated Node #0,4,4: 89:[96, 40] Operation: 5+35=40
Moving to Node #0,4,3
Current State: 89:[35, 91], Operations: ['26+9=35', '96-5=91']
Exploring Operation: 35+91=126, Resulting Numbers: [126]
126,89 unequal: No Solution
Exploring Operation: 91-35=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 35*91=3185, Resulting Numbers: [3185]
3185,89 unequal: No Solution
Moving to Node #0,4,4
Current State: 89:[96, 40], Operations: ['26+9=35', '5+35=40']
Exploring Operation: 96+40=136, Resulting Numbers: [136]
136,89 unequal: No Solution
Exploring Operation: 96-40=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 96*40=3840, Resulting Numbers: [3840]
3840,89 unequal: No Solution
Moving to Node #0,4,1
Current State: 89:[35, 101], Operations: ['26+9=35', '5+96=101']
Exploring Operation: 35*101=3535, Resulting Numbers: [3535]
3535,89 unequal: No Solution
Exploring Operation: 35+101=136, Resulting Numbers: [136]
136,89 unequal: No Solution
Exploring Operation: 101-35=66, Resulting Numbers: [66]
66,89 unequal: No Solution
Moving to Node #0,4,2
Current State: 89:[96, 30], Operations: ['26+9=35', '35-5=30']
Exploring Operation: 96*30=2880, Resulting Numbers: [2880]
2880,89 unequal: No Solution
Exploring Operation: 96-30=66, Resulting Numbers: [66]
66,89 unequal: No Solution
Exploring Operation: 96+30=126, Resulting Numbers: [126]
126,89 unequal: No Solution
Moving to Node #0,4,0
Current State: 89:[96, 7], Operations: ['26+9=35', '35/5=7']
Exploring Operation: 96-7=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[26, 9, 5, 96], Operations: []
Exploring Operation: 26+9=35, Resulting Numbers: [5, 96, 35]
Generated Node #0,4: 89:[5, 96, 35] Operation: 26+9=35
Moving to Node #0,4
Current State: 89:[5, 96, 35], Operations: ['26+9=35']
Exploring Operation: 35/5=7, Resulting Numbers: [96, 7]
Generated Node #0,4,0: 89:[96, 7] Operation: 35/5=7
Moving to Node #0,4,0
Current State: 89:[96, 7], Operations: ['26+9=35', '35/5=7']
Exploring Operation: 96-7=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.905382 | hs_5 | mult_heuristic |
[
12,
25,
4,
62
] | 71 | [
"25-12=13",
"62-4=58",
"13+58=71"
] | Current State: 71:[12, 25, 4, 62], Operations: []
Exploring Operation: 25-12=13, Resulting Numbers: [4, 62, 13]
Generated Node #2: [4, 62, 13] from Operation: 25-12=13
Current State: 71:[4, 62, 13], Operations: ['25-12=13']
Exploring Operation: 62-4=58, Resulting Numbers: [13, 58]
Generated Node #3: [13, 58] from Operation: 62-4=58
Current State: 71:[13, 58], Operations: ['25-12=13', '62-4=58']
Exploring Operation: 13+58=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[12, 25, 4, 62], Operations: []
Exploring Operation: 25+4=29, Resulting Numbers: [12, 62, 29]
Generated Node #0,0: 71:[12, 62, 29] Operation: 25+4=29
Exploring Operation: 12+4=16, Resulting Numbers: [25, 62, 16]
Generated Node #0,1: 71:[25, 62, 16] Operation: 12+4=16
Exploring Operation: 25*4=100, Resulting Numbers: [12, 62, 100]
Generated Node #0,2: 71:[12, 62, 100] Operation: 25*4=100
Exploring Operation: 12*4=48, Resulting Numbers: [25, 62, 48]
Generated Node #0,3: 71:[25, 62, 48] Operation: 12*4=48
Exploring Operation: 12+25=37, Resulting Numbers: [4, 62, 37]
Generated Node #0,4: 71:[4, 62, 37] Operation: 12+25=37
Moving to Node #0,3
Current State: 71:[25, 62, 48], Operations: ['12*4=48']
Exploring Operation: 25+62=87, Resulting Numbers: [48, 87]
Generated Node #0,3,0: 71:[48, 87] Operation: 25+62=87
Exploring Operation: 62+48=110, Resulting Numbers: [25, 110]
Generated Node #0,3,1: 71:[25, 110] Operation: 62+48=110
Exploring Operation: 48-25=23, Resulting Numbers: [62, 23]
Generated Node #0,3,2: 71:[62, 23] Operation: 48-25=23
Exploring Operation: 25+48=73, Resulting Numbers: [62, 73]
Generated Node #0,3,3: 71:[62, 73] Operation: 25+48=73
Exploring Operation: 62-25=37, Resulting Numbers: [48, 37]
Generated Node #0,3,4: 71:[48, 37] Operation: 62-25=37
Moving to Node #0,2
Current State: 71:[12, 62, 100], Operations: ['25*4=100']
Exploring Operation: 100-12=88, Resulting Numbers: [62, 88]
Generated Node #0,2,0: 71:[62, 88] Operation: 100-12=88
Exploring Operation: 12+100=112, Resulting Numbers: [62, 112]
Generated Node #0,2,1: 71:[62, 112] Operation: 12+100=112
Exploring Operation: 100-62=38, Resulting Numbers: [12, 38]
Generated Node #0,2,2: 71:[12, 38] Operation: 100-62=38
Exploring Operation: 62-12=50, Resulting Numbers: [100, 50]
Generated Node #0,2,3: 71:[100, 50] Operation: 62-12=50
Exploring Operation: 12+62=74, Resulting Numbers: [100, 74]
Generated Node #0,2,4: 71:[100, 74] Operation: 12+62=74
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 71:[62, 88], Operations: ['25*4=100', '100-12=88']
Exploring Operation: 62+88=150, Resulting Numbers: [150]
150,71 unequal: No Solution
Exploring Operation: 62*88=5456, Resulting Numbers: [5456]
5456,71 unequal: No Solution
Exploring Operation: 88-62=26, Resulting Numbers: [26]
26,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 71:[100, 74], Operations: ['25*4=100', '12+62=74']
Exploring Operation: 100*74=7400, Resulting Numbers: [7400]
7400,71 unequal: No Solution
Exploring Operation: 100+74=174, Resulting Numbers: [174]
174,71 unequal: No Solution
Exploring Operation: 100-74=26, Resulting Numbers: [26]
26,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 71:[62, 112], Operations: ['25*4=100', '12+100=112']
Exploring Operation: 62*112=6944, Resulting Numbers: [6944]
6944,71 unequal: No Solution
Exploring Operation: 112-62=50, Resulting Numbers: [50]
50,71 unequal: No Solution
Exploring Operation: 62+112=174, Resulting Numbers: [174]
174,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 71:[100, 50], Operations: ['25*4=100', '62-12=50']
Exploring Operation: 100*50=5000, Resulting Numbers: [5000]
5000,71 unequal: No Solution
Exploring Operation: 100-50=50, Resulting Numbers: [50]
50,71 unequal: No Solution
Exploring Operation: 100/50=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 100+50=150, Resulting Numbers: [150]
150,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 71:[12, 38], Operations: ['25*4=100', '100-62=38']
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,71 unequal: No Solution
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,71 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,71 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: 71:[12, 62, 29], Operations: ['25+4=29']
Exploring Operation: 12+29=41, Resulting Numbers: [62, 41]
Generated Node #0,0,0: 71:[62, 41] Operation: 12+29=41
Exploring Operation: 29-12=17, Resulting Numbers: [62, 17]
Generated Node #0,0,1: 71:[62, 17] Operation: 29-12=17
Exploring Operation: 62+29=91, Resulting Numbers: [12, 91]
Generated Node #0,0,2: 71:[12, 91] Operation: 62+29=91
Exploring Operation: 12+62=74, Resulting Numbers: [29, 74]
Generated Node #0,0,3: 71:[29, 74] Operation: 12+62=74
Exploring Operation: 62-12=50, Resulting Numbers: [29, 50]
Generated Node #0,0,4: 71:[29, 50] Operation: 62-12=50
Moving to Node #0,1
Current State: 71:[25, 62, 16], Operations: ['12+4=16']
Exploring Operation: 62+16=78, Resulting Numbers: [25, 78]
Generated Node #0,1,0: 71:[25, 78] Operation: 62+16=78
Exploring Operation: 25-16=9, Resulting Numbers: [62, 9]
Generated Node #0,1,1: 71:[62, 9] Operation: 25-16=9
Exploring Operation: 25+62=87, Resulting Numbers: [16, 87]
Generated Node #0,1,2: 71:[16, 87] Operation: 25+62=87
Exploring Operation: 25+16=41, Resulting Numbers: [62, 41]
Generated Node #0,1,3: 71:[62, 41] Operation: 25+16=41
Exploring Operation: 62-16=46, Resulting Numbers: [25, 46]
Generated Node #0,1,4: 71:[25, 46] Operation: 62-16=46
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 71:[62, 41], Operations: ['12+4=16', '25+16=41']
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,71 unequal: No Solution
Exploring Operation: 62+41=103, Resulting Numbers: [103]
103,71 unequal: No Solution
Exploring Operation: 62*41=2542, Resulting Numbers: [2542]
2542,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[25, 78], Operations: ['12+4=16', '62+16=78']
Exploring Operation: 25+78=103, Resulting Numbers: [103]
103,71 unequal: No Solution
Exploring Operation: 25*78=1950, Resulting Numbers: [1950]
1950,71 unequal: No Solution
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[62, 9], Operations: ['12+4=16', '25-16=9']
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[12, 25, 4, 62], Operations: []
Exploring Operation: 12+4=16, Resulting Numbers: [25, 62, 16]
Generated Node #0,1: 71:[25, 62, 16] Operation: 12+4=16
Moving to Node #0,1
Current State: 71:[25, 62, 16], Operations: ['12+4=16']
Exploring Operation: 25-16=9, Resulting Numbers: [62, 9]
Generated Node #0,1,1: 71:[62, 9] Operation: 25-16=9
Moving to Node #0,1,1
Current State: 71:[62, 9], Operations: ['12+4=16', '25-16=9']
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.954861 | hs_5 | mult_heuristic |
[
79,
84,
22,
50
] | 60 | [
"84-79=5",
"22*5=110",
"110-50=60"
] | Current State: 60:[79, 84, 22, 50], Operations: []
Exploring Operation: 84-79=5, Resulting Numbers: [22, 50, 5]
Generated Node #2: [22, 50, 5] from Operation: 84-79=5
Current State: 60:[22, 50, 5], Operations: ['84-79=5']
Exploring Operation: 22*5=110, Resulting Numbers: [50, 110]
Generated Node #3: [50, 110] from Operation: 22*5=110
Current State: 60:[50, 110], Operations: ['84-79=5', '22*5=110']
Exploring Operation: 110-50=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[79, 84, 22, 50], Operations: []
Exploring Operation: 84-50=34, Resulting Numbers: [79, 22, 34]
Generated Node #0,0: 60:[79, 22, 34] Operation: 84-50=34
Exploring Operation: 79-50=29, Resulting Numbers: [84, 22, 29]
Generated Node #0,1: 60:[84, 22, 29] Operation: 79-50=29
Exploring Operation: 84-22=62, Resulting Numbers: [79, 50, 62]
Generated Node #0,2: 60:[79, 50, 62] Operation: 84-22=62
Exploring Operation: 84-79=5, Resulting Numbers: [22, 50, 5]
Generated Node #0,3: 60:[22, 50, 5] Operation: 84-79=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[22, 50, 5], Operations: ['84-79=5']
Exploring Operation: 50/5=10, Resulting Numbers: [22, 10]
Generated Node #0,3,0: 60:[22, 10] Operation: 50/5=10
Exploring Operation: 22+50=72, Resulting Numbers: [5, 72]
Generated Node #0,3,1: 60:[5, 72] Operation: 22+50=72
Exploring Operation: 50+5=55, Resulting Numbers: [22, 55]
Generated Node #0,3,2: 60:[22, 55] Operation: 50+5=55
Exploring Operation: 50-22=28, Resulting Numbers: [5, 28]
Generated Node #0,3,3: 60:[5, 28] Operation: 50-22=28
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 60:[22, 10], Operations: ['84-79=5', '50/5=10']
Exploring Operation: 22*10=220, Resulting Numbers: [220]
220,60 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 22+10=32, Resulting Numbers: [32]
32,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 60:[5, 28], Operations: ['84-79=5', '50-22=28']
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Exploring Operation: 5*28=140, Resulting Numbers: [140]
140,60 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 60:[22, 55], Operations: ['84-79=5', '50+5=55']
Exploring Operation: 22+55=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 22*55=1210, Resulting Numbers: [1210]
1210,60 unequal: No Solution
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 60:[5, 72], Operations: ['84-79=5', '22+50=72']
Exploring Operation: 5*72=360, Resulting Numbers: [360]
360,60 unequal: No Solution
Exploring Operation: 5+72=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[79, 22, 34], Operations: ['84-50=34']
Exploring Operation: 34-22=12, Resulting Numbers: [79, 12]
Generated Node #0,0,0: 60:[79, 12] Operation: 34-22=12
Exploring Operation: 79-34=45, Resulting Numbers: [22, 45]
Generated Node #0,0,1: 60:[22, 45] Operation: 79-34=45
Exploring Operation: 79-22=57, Resulting Numbers: [34, 57]
Generated Node #0,0,2: 60:[34, 57] Operation: 79-22=57
Exploring Operation: 22+34=56, Resulting Numbers: [79, 56]
Generated Node #0,0,3: 60:[79, 56] Operation: 22+34=56
Moving to Node #0,0,2
Current State: 60:[34, 57], Operations: ['84-50=34', '79-22=57']
Exploring Operation: 34+57=91, Resulting Numbers: [91]
91,60 unequal: No Solution
Exploring Operation: 57-34=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 34*57=1938, Resulting Numbers: [1938]
1938,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[22, 45], Operations: ['84-50=34', '79-34=45']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 22+45=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 22*45=990, Resulting Numbers: [990]
990,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[79, 12], Operations: ['84-50=34', '34-22=12']
Exploring Operation: 79+12=91, Resulting Numbers: [91]
91,60 unequal: No Solution
Exploring Operation: 79*12=948, Resulting Numbers: [948]
948,60 unequal: No Solution
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[79, 56], Operations: ['84-50=34', '22+34=56']
Exploring Operation: 79+56=135, Resulting Numbers: [135]
135,60 unequal: No Solution
Exploring Operation: 79*56=4424, Resulting Numbers: [4424]
4424,60 unequal: No Solution
Exploring Operation: 79-56=23, Resulting Numbers: [23]
23,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
Current State: 60:[84, 22, 29], Operations: ['79-50=29']
Exploring Operation: 29-22=7, Resulting Numbers: [84, 7]
Generated Node #0,1,0: 60:[84, 7] Operation: 29-22=7
Exploring Operation: 84-22=62, Resulting Numbers: [29, 62]
Generated Node #0,1,1: 60:[29, 62] Operation: 84-22=62
Exploring Operation: 84-29=55, Resulting Numbers: [22, 55]
Generated Node #0,1,2: 60:[22, 55] Operation: 84-29=55
Exploring Operation: 22+29=51, Resulting Numbers: [84, 51]
Generated Node #0,1,3: 60:[84, 51] Operation: 22+29=51
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[29, 62], Operations: ['79-50=29', '84-22=62']
Exploring Operation: 29*62=1798, Resulting Numbers: [1798]
1798,60 unequal: No Solution
Exploring Operation: 29+62=91, Resulting Numbers: [91]
91,60 unequal: No Solution
Exploring Operation: 62-29=33, Resulting Numbers: [33]
33,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 60:[22, 55], Operations: ['79-50=29', '84-29=55']
Exploring Operation: 22*55=1210, Resulting Numbers: [1210]
1210,60 unequal: No Solution
Exploring Operation: 22+55=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[84, 7], Operations: ['79-50=29', '29-22=7']
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,60 unequal: No Solution
Exploring Operation: 84*7=588, Resulting Numbers: [588]
588,60 unequal: No Solution
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 60:[84, 51], Operations: ['79-50=29', '22+29=51']
Exploring Operation: 84+51=135, Resulting Numbers: [135]
135,60 unequal: No Solution
Exploring Operation: 84-51=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Exploring Operation: 84*51=4284, Resulting Numbers: [4284]
4284,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[79, 50, 62], Operations: ['84-22=62']
Exploring Operation: 79-62=17, Resulting Numbers: [50, 17]
Generated Node #0,2,0: 60:[50, 17] Operation: 79-62=17
Exploring Operation: 62-50=12, Resulting Numbers: [79, 12]
Generated Node #0,2,1: 60:[79, 12] Operation: 62-50=12
Exploring Operation: 79-50=29, Resulting Numbers: [62, 29]
Generated Node #0,2,2: 60:[62, 29] Operation: 79-50=29
Exploring Operation: 79+50=129, Resulting Numbers: [62, 129]
Generated Node #0,2,3: 60:[62, 129] Operation: 79+50=129
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 60:[62, 29], Operations: ['84-22=62', '79-50=29']
Exploring Operation: 62*29=1798, Resulting Numbers: [1798]
1798,60 unequal: No Solution
Exploring Operation: 62+29=91, Resulting Numbers: [91]
91,60 unequal: No Solution
Exploring Operation: 62-29=33, Resulting Numbers: [33]
33,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 60:[50, 17], Operations: ['84-22=62', '79-62=17']
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 50*17=850, Resulting Numbers: [850]
850,60 unequal: No Solution
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[79, 12], Operations: ['84-22=62', '62-50=12']
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 79+12=91, Resulting Numbers: [91]
91,60 unequal: No Solution
Exploring Operation: 79*12=948, Resulting Numbers: [948]
948,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 60:[62, 129], Operations: ['84-22=62', '79+50=129']
Exploring Operation: 62*129=7998, Resulting Numbers: [7998]
7998,60 unequal: No Solution
Exploring Operation: 129-62=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 62+129=191, Resulting Numbers: [191]
191,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
63,
4,
31,
81
] | 91 | [
"31+81=112",
"112/4=28",
"63+28=91"
] | Current State: 91:[63, 4, 31, 81], Operations: []
Exploring Operation: 31+81=112, Resulting Numbers: [63, 4, 112]
Generated Node #2: [63, 4, 112] from Operation: 31+81=112
Current State: 91:[63, 4, 112], Operations: ['31+81=112']
Exploring Operation: 112/4=28, Resulting Numbers: [63, 28]
Generated Node #3: [63, 28] from Operation: 112/4=28
Current State: 91:[63, 28], Operations: ['31+81=112', '112/4=28']
Exploring Operation: 63+28=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[63, 4, 31, 81], Operations: []
Exploring Operation: 81-63=18, Resulting Numbers: [4, 31, 18]
Generated Node #0,0: 91:[4, 31, 18] Operation: 81-63=18
Exploring Operation: 63+31=94, Resulting Numbers: [4, 81, 94]
Generated Node #0,1: 91:[4, 81, 94] Operation: 63+31=94
Exploring Operation: 63+4=67, Resulting Numbers: [31, 81, 67]
Generated Node #0,2: 91:[31, 81, 67] Operation: 63+4=67
Exploring Operation: 63-31=32, Resulting Numbers: [4, 81, 32]
Generated Node #0,3: 91:[4, 81, 32] Operation: 63-31=32
Moving to Node #0,1
Current State: 91:[4, 81, 94], Operations: ['63+31=94']
Exploring Operation: 81-4=77, Resulting Numbers: [94, 77]
Generated Node #0,1,0: 91:[94, 77] Operation: 81-4=77
Exploring Operation: 94-81=13, Resulting Numbers: [4, 13]
Generated Node #0,1,1: 91:[4, 13] Operation: 94-81=13
Exploring Operation: 4+81=85, Resulting Numbers: [94, 85]
Generated Node #0,1,2: 91:[94, 85] Operation: 4+81=85
Exploring Operation: 94-4=90, Resulting Numbers: [81, 90]
Generated Node #0,1,3: 91:[81, 90] Operation: 94-4=90
Moving to Node #0,0
Current State: 91:[4, 31, 18], Operations: ['81-63=18']
Exploring Operation: 31-18=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 91:[4, 13] Operation: 31-18=13
Exploring Operation: 31-4=27, Resulting Numbers: [18, 27]
Generated Node #0,0,1: 91:[18, 27] Operation: 31-4=27
Exploring Operation: 4+31=35, Resulting Numbers: [18, 35]
Generated Node #0,0,2: 91:[18, 35] Operation: 4+31=35
Exploring Operation: 18-4=14, Resulting Numbers: [31, 14]
Generated Node #0,0,3: 91:[31, 14] Operation: 18-4=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[4, 13], Operations: ['81-63=18', '31-18=13']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,91 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,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,1
Current State: 91:[18, 27], Operations: ['81-63=18', '31-4=27']
Exploring Operation: 18+27=45, Resulting Numbers: [45]
45,91 unequal: No Solution
Exploring Operation: 18*27=486, Resulting Numbers: [486]
486,91 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,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,3
Current State: 91:[31, 14], Operations: ['81-63=18', '18-4=14']
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 31*14=434, Resulting Numbers: [434]
434,91 unequal: No Solution
Exploring Operation: 31+14=45, Resulting Numbers: [45]
45,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:[18, 35], Operations: ['81-63=18', '4+31=35']
Exploring Operation: 18*35=630, Resulting Numbers: [630]
630,91 unequal: No Solution
Exploring Operation: 18+35=53, Resulting Numbers: [53]
53,91 unequal: No Solution
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,91 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: 91:[4, 81, 32], Operations: ['63-31=32']
Exploring Operation: 32-4=28, Resulting Numbers: [81, 28]
Generated Node #0,3,0: 91:[81, 28] Operation: 32-4=28
Exploring Operation: 81+32=113, Resulting Numbers: [4, 113]
Generated Node #0,3,1: 91:[4, 113] Operation: 81+32=113
Exploring Operation: 4+81=85, Resulting Numbers: [32, 85]
Generated Node #0,3,2: 91:[32, 85] Operation: 4+81=85
Exploring Operation: 32/4=8, Resulting Numbers: [81, 8]
Generated Node #0,3,3: 91:[81, 8] Operation: 32/4=8
Moving to Node #0,2
Current State: 91:[31, 81, 67], Operations: ['63+4=67']
Exploring Operation: 67-31=36, Resulting Numbers: [81, 36]
Generated Node #0,2,0: 91:[81, 36] Operation: 67-31=36
Exploring Operation: 81-67=14, Resulting Numbers: [31, 14]
Generated Node #0,2,1: 91:[31, 14] Operation: 81-67=14
Exploring Operation: 31+81=112, Resulting Numbers: [67, 112]
Generated Node #0,2,2: 91:[67, 112] Operation: 31+81=112
Exploring Operation: 31+67=98, Resulting Numbers: [81, 98]
Generated Node #0,2,3: 91:[81, 98] Operation: 31+67=98
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 91:[81, 98], Operations: ['63+4=67', '31+67=98']
Exploring Operation: 81*98=7938, Resulting Numbers: [7938]
7938,91 unequal: No Solution
Exploring Operation: 81+98=179, Resulting Numbers: [179]
179,91 unequal: No Solution
Exploring Operation: 98-81=17, Resulting Numbers: [17]
17,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,1
Current State: 91:[31, 14], Operations: ['63+4=67', '81-67=14']
Exploring Operation: 31+14=45, Resulting Numbers: [45]
45,91 unequal: No Solution
Exploring Operation: 31*14=434, Resulting Numbers: [434]
434,91 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,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:[81, 36], Operations: ['63+4=67', '67-31=36']
Exploring Operation: 81*36=2916, Resulting Numbers: [2916]
2916,91 unequal: No Solution
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,91 unequal: No Solution
Exploring Operation: 81+36=117, Resulting Numbers: [117]
117,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:[67, 112], Operations: ['63+4=67', '31+81=112']
Exploring Operation: 112-67=45, Resulting Numbers: [45]
45,91 unequal: No Solution
Exploring Operation: 67+112=179, Resulting Numbers: [179]
179,91 unequal: No Solution
Exploring Operation: 67*112=7504, Resulting Numbers: [7504]
7504,91 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: 91:[4, 13], Operations: ['63+31=94', '94-81=13']
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,91 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[94, 85], Operations: ['63+31=94', '4+81=85']
Exploring Operation: 94-85=9, Resulting Numbers: [9]
9,91 unequal: No Solution
Exploring Operation: 94+85=179, Resulting Numbers: [179]
179,91 unequal: No Solution
Exploring Operation: 94*85=7990, Resulting Numbers: [7990]
7990,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[81, 90], Operations: ['63+31=94', '94-4=90']
Exploring Operation: 81+90=171, Resulting Numbers: [171]
171,91 unequal: No Solution
Exploring Operation: 81*90=7290, Resulting Numbers: [7290]
7290,91 unequal: No Solution
Exploring Operation: 90-81=9, Resulting Numbers: [9]
9,91 unequal: No Solution
Moving to Node #0,3,3
Current State: 91:[81, 8], Operations: ['63-31=32', '32/4=8']
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,91 unequal: No Solution
Exploring Operation: 81+8=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 81*8=648, Resulting Numbers: [648]
648,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[94, 77], Operations: ['63+31=94', '81-4=77']
Exploring Operation: 94-77=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 94+77=171, Resulting Numbers: [171]
171,91 unequal: No Solution
Exploring Operation: 94*77=7238, Resulting Numbers: [7238]
7238,91 unequal: No Solution
Moving to Node #0,3,0
Current State: 91:[81, 28], Operations: ['63-31=32', '32-4=28']
Exploring Operation: 81*28=2268, Resulting Numbers: [2268]
2268,91 unequal: No Solution
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,91 unequal: No Solution
Exploring Operation: 81+28=109, Resulting Numbers: [109]
109,91 unequal: No Solution
Moving to Node #0,3,1
Current State: 91:[4, 113], Operations: ['63-31=32', '81+32=113']
Exploring Operation: 4+113=117, Resulting Numbers: [117]
117,91 unequal: No Solution
Exploring Operation: 113-4=109, Resulting Numbers: [109]
109,91 unequal: No Solution
Exploring Operation: 4*113=452, Resulting Numbers: [452]
452,91 unequal: No Solution
Moving to Node #0,3,2
Current State: 91:[32, 85], Operations: ['63-31=32', '4+81=85']
Exploring Operation: 32+85=117, Resulting Numbers: [117]
117,91 unequal: No Solution
Exploring Operation: 85-32=53, Resulting Numbers: [53]
53,91 unequal: No Solution
Exploring Operation: 32*85=2720, Resulting Numbers: [2720]
2720,91 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
94,
17,
80,
45
] | 15 | [
"94-17=77",
"80-77=3",
"45/3=15"
] | Current State: 15:[94, 17, 80, 45], Operations: []
Exploring Operation: 94-17=77, Resulting Numbers: [80, 45, 77]
Generated Node #2: [80, 45, 77] from Operation: 94-17=77
Current State: 15:[80, 45, 77], Operations: ['94-17=77']
Exploring Operation: 80-77=3, Resulting Numbers: [45, 3]
Generated Node #3: [45, 3] from Operation: 80-77=3
Current State: 15:[45, 3], Operations: ['94-17=77', '80-77=3']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[94, 17, 80, 45], Operations: []
Exploring Operation: 94-80=14, Resulting Numbers: [17, 45, 14]
Generated Node #0,0: 15:[17, 45, 14] Operation: 94-80=14
Moving to Node #0,0
Current State: 15:[17, 45, 14], Operations: ['94-80=14']
Exploring Operation: 45-17=28, Resulting Numbers: [14, 28]
Generated Node #0,0,0: 15:[14, 28] Operation: 45-17=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[14, 28], Operations: ['94-80=14', '45-17=28']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,15 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 |
[
38,
57,
14,
40
] | 35 | [
"57-38=19",
"14+40=54",
"54-19=35"
] | Current State: 35:[38, 57, 14, 40], Operations: []
Exploring Operation: 57-38=19, Resulting Numbers: [14, 40, 19]
Generated Node #2: [14, 40, 19] from Operation: 57-38=19
Current State: 35:[14, 40, 19], Operations: ['57-38=19']
Exploring Operation: 14+40=54, Resulting Numbers: [19, 54]
Generated Node #3: [19, 54] from Operation: 14+40=54
Current State: 35:[19, 54], Operations: ['57-38=19', '14+40=54']
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[38, 57, 14, 40], Operations: []
Exploring Operation: 57-38=19, Resulting Numbers: [14, 40, 19]
Generated Node #0,0: 35:[14, 40, 19] Operation: 57-38=19
Exploring Operation: 40-14=26, Resulting Numbers: [38, 57, 26]
Generated Node #0,1: 35:[38, 57, 26] Operation: 40-14=26
Exploring Operation: 57-14=43, Resulting Numbers: [38, 40, 43]
Generated Node #0,2: 35:[38, 40, 43] Operation: 57-14=43
Exploring Operation: 40-38=2, Resulting Numbers: [57, 14, 2]
Generated Node #0,3: 35:[57, 14, 2] Operation: 40-38=2
Exploring Operation: 57-40=17, Resulting Numbers: [38, 14, 17]
Generated Node #0,4: 35:[38, 14, 17] Operation: 57-40=17
Moving to Node #0,2
Current State: 35:[38, 40, 43], Operations: ['57-14=43']
Exploring Operation: 38+43=81, Resulting Numbers: [40, 81]
Generated Node #0,2,0: 35:[40, 81] Operation: 38+43=81
Exploring Operation: 38+40=78, Resulting Numbers: [43, 78]
Generated Node #0,2,1: 35:[43, 78] Operation: 38+40=78
Exploring Operation: 43-38=5, Resulting Numbers: [40, 5]
Generated Node #0,2,2: 35:[40, 5] Operation: 43-38=5
Exploring Operation: 43-40=3, Resulting Numbers: [38, 3]
Generated Node #0,2,3: 35:[38, 3] Operation: 43-40=3
Exploring Operation: 40-38=2, Resulting Numbers: [43, 2]
Generated Node #0,2,4: 35:[43, 2] Operation: 40-38=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[40, 5], Operations: ['57-14=43', '43-38=5']
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,35 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[38, 57, 14, 40], Operations: []
Exploring Operation: 57-14=43, Resulting Numbers: [38, 40, 43]
Generated Node #0,2: 35:[38, 40, 43] Operation: 57-14=43
Moving to Node #0,2
Current State: 35:[38, 40, 43], Operations: ['57-14=43']
Exploring Operation: 43-38=5, Resulting Numbers: [40, 5]
Generated Node #0,2,2: 35:[40, 5] Operation: 43-38=5
Moving to Node #0,2,2
Current State: 35:[40, 5], Operations: ['57-14=43', '43-38=5']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
33,
16,
16,
15
] | 32 | [
"33-16=17",
"17-15=2",
"16*2=32"
] | Current State: 32:[33, 16, 16, 15], Operations: []
Exploring Operation: 33-16=17, Resulting Numbers: [15, 17]
Generated Node #2: [15, 17] from Operation: 33-16=17
Current State: 32:[15, 17], Operations: ['33-16=17']
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,32 equal: Goal Reached
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[33, 16, 16, 15], Operations: []
Exploring Operation: 33-16=17, Resulting Numbers: [16, 15, 17]
Generated Node #0,0: 32:[16, 15, 17] Operation: 33-16=17
Exploring Operation: 33-16=17, Resulting Numbers: [16, 15, 17]
Generated Node #0,1: 32:[16, 15, 17] Operation: 33-16=17
Exploring Operation: 33-15=18, Resulting Numbers: [16, 16, 18]
Generated Node #0,2: 32:[16, 16, 18] Operation: 33-15=18
Moving to Node #0,0
Current State: 32:[16, 15, 17], Operations: ['33-16=17']
Exploring Operation: 16+15=31, Resulting Numbers: [17, 31]
Generated Node #0,0,0: 32:[17, 31] Operation: 16+15=31
Exploring Operation: 15+17=32, Resulting Numbers: [16, 32]
Generated Node #0,0,1: 32:[16, 32] Operation: 15+17=32
Exploring Operation: 17-15=2, Resulting Numbers: [16, 2]
Generated Node #0,0,2: 32:[16, 2] Operation: 17-15=2
Moving to Node #0,1
Current State: 32:[16, 15, 17], Operations: ['33-16=17']
Exploring Operation: 15+17=32, Resulting Numbers: [16, 32]
Generated Node #0,1,0: 32:[16, 32] Operation: 15+17=32
Exploring Operation: 17-15=2, Resulting Numbers: [16, 2]
Generated Node #0,1,1: 32:[16, 2] Operation: 17-15=2
Exploring Operation: 16+15=31, Resulting Numbers: [17, 31]
Generated Node #0,1,2: 32:[17, 31] Operation: 16+15=31
Moving to Node #0,2
Current State: 32:[16, 16, 18], Operations: ['33-15=18']
Exploring Operation: 18-16=2, Resulting Numbers: [16, 2]
Generated Node #0,2,0: 32:[16, 2] Operation: 18-16=2
Exploring Operation: 16+16=32, Resulting Numbers: [18, 32]
Generated Node #0,2,1: 32:[18, 32] Operation: 16+16=32
Exploring Operation: 18-16=2, Resulting Numbers: [16, 2]
Generated Node #0,2,2: 32:[16, 2] Operation: 18-16=2
Moving to Node #0,0,1
Current State: 32:[16, 32], Operations: ['33-16=17', '15+17=32']
Exploring Operation: 16+32=48, Resulting Numbers: [48]
48,32 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[16, 2], Operations: ['33-15=18', '18-16=2']
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[33, 16, 16, 15], Operations: []
Exploring Operation: 33-15=18, Resulting Numbers: [16, 16, 18]
Generated Node #0,2: 32:[16, 16, 18] Operation: 33-15=18
Moving to Node #0,2
Current State: 32:[16, 16, 18], Operations: ['33-15=18']
Exploring Operation: 18-16=2, Resulting Numbers: [16, 2]
Generated Node #0,2,0: 32:[16, 2] Operation: 18-16=2
Moving to Node #0,2,0
Current State: 32:[16, 2], Operations: ['33-15=18', '18-16=2']
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.981771 | hs_3 | sum_heuristic |
[
2,
6,
56,
72
] | 65 | [
"2+6=8",
"56/8=7",
"72-7=65"
] | Current State: 65:[2, 6, 56, 72], Operations: []
Exploring Operation: 2+6=8, Resulting Numbers: [56, 72, 8]
Generated Node #2: [56, 72, 8] from Operation: 2+6=8
Current State: 65:[56, 72, 8], Operations: ['2+6=8']
Exploring Operation: 56/8=7, Resulting Numbers: [72, 7]
Generated Node #3: [72, 7] from Operation: 56/8=7
Current State: 65:[72, 7], Operations: ['2+6=8', '56/8=7']
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[2, 6, 56, 72], Operations: []
Exploring Operation: 72/6=12, Resulting Numbers: [2, 56, 12]
Generated Node #0,0: 65:[2, 56, 12] Operation: 72/6=12
Exploring Operation: 2+56=58, Resulting Numbers: [6, 72, 58]
Generated Node #0,1: 65:[6, 72, 58] Operation: 2+56=58
Exploring Operation: 72-6=66, Resulting Numbers: [2, 56, 66]
Generated Node #0,2: 65:[2, 56, 66] Operation: 72-6=66
Exploring Operation: 6+56=62, Resulting Numbers: [2, 72, 62]
Generated Node #0,3: 65:[2, 72, 62] Operation: 6+56=62
Exploring Operation: 72-56=16, Resulting Numbers: [2, 6, 16]
Generated Node #0,4: 65:[2, 6, 16] Operation: 72-56=16
Moving to Node #0,4
Current State: 65:[2, 6, 16], Operations: ['72-56=16']
Exploring Operation: 6/2=3, Resulting Numbers: [16, 3]
Generated Node #0,4,0: 65:[16, 3] Operation: 6/2=3
Exploring Operation: 6-2=4, Resulting Numbers: [16, 4]
Generated Node #0,4,1: 65:[16, 4] Operation: 6-2=4
Exploring Operation: 16-2=14, Resulting Numbers: [6, 14]
Generated Node #0,4,2: 65:[6, 14] Operation: 16-2=14
Exploring Operation: 16/2=8, Resulting Numbers: [6, 8]
Generated Node #0,4,3: 65:[6, 8] Operation: 16/2=8
Exploring Operation: 2*6=12, Resulting Numbers: [16, 12]
Generated Node #0,4,4: 65:[16, 12] Operation: 2*6=12
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 65:[6, 14], Operations: ['72-56=16', '16-2=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,65 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,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,4,1
Current State: 65:[16, 4], Operations: ['72-56=16', '6-2=4']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,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,4,3
Current State: 65:[6, 8], Operations: ['72-56=16', '16/2=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,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,4,4
Current State: 65:[16, 12], Operations: ['72-56=16', '2*6=12']
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,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,4,0
Current State: 65:[16, 3], Operations: ['72-56=16', '6/2=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,65 unequal: No Solution
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,65 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: 65:[2, 56, 66], Operations: ['72-6=66']
Exploring Operation: 66-56=10, Resulting Numbers: [2, 10]
Generated Node #0,2,0: 65:[2, 10] Operation: 66-56=10
Exploring Operation: 56-2=54, Resulting Numbers: [66, 54]
Generated Node #0,2,1: 65:[66, 54] Operation: 56-2=54
Exploring Operation: 66-2=64, Resulting Numbers: [56, 64]
Generated Node #0,2,2: 65:[56, 64] Operation: 66-2=64
Exploring Operation: 2+56=58, Resulting Numbers: [66, 58]
Generated Node #0,2,3: 65:[66, 58] Operation: 2+56=58
Exploring Operation: 2+66=68, Resulting Numbers: [56, 68]
Generated Node #0,2,4: 65:[56, 68] Operation: 2+66=68
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 65:[2, 10], Operations: ['72-6=66', '66-56=10']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 65:[66, 58], Operations: ['72-6=66', '2+56=58']
Exploring Operation: 66*58=3828, Resulting Numbers: [3828]
3828,65 unequal: No Solution
Exploring Operation: 66+58=124, Resulting Numbers: [124]
124,65 unequal: No Solution
Exploring Operation: 66-58=8, Resulting Numbers: [8]
8,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 65:[56, 64], Operations: ['72-6=66', '66-2=64']
Exploring Operation: 64-56=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 56*64=3584, Resulting Numbers: [3584]
3584,65 unequal: No Solution
Exploring Operation: 56+64=120, Resulting Numbers: [120]
120,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 65:[66, 54], Operations: ['72-6=66', '56-2=54']
Exploring Operation: 66-54=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 66+54=120, Resulting Numbers: [120]
120,65 unequal: No Solution
Exploring Operation: 66*54=3564, Resulting Numbers: [3564]
3564,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 65:[56, 68], Operations: ['72-6=66', '2+66=68']
Exploring Operation: 56*68=3808, Resulting Numbers: [3808]
3808,65 unequal: No Solution
Exploring Operation: 56+68=124, Resulting Numbers: [124]
124,65 unequal: No Solution
Exploring Operation: 68-56=12, Resulting Numbers: [12]
12,65 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: 65:[2, 56, 12], Operations: ['72/6=12']
Exploring Operation: 2+12=14, Resulting Numbers: [56, 14]
Generated Node #0,0,0: 65:[56, 14] Operation: 2+12=14
Exploring Operation: 12/2=6, Resulting Numbers: [56, 6]
Generated Node #0,0,1: 65:[56, 6] Operation: 12/2=6
Exploring Operation: 56+12=68, Resulting Numbers: [2, 68]
Generated Node #0,0,2: 65:[2, 68] Operation: 56+12=68
Exploring Operation: 56-2=54, Resulting Numbers: [12, 54]
Generated Node #0,0,3: 65:[12, 54] Operation: 56-2=54
Exploring Operation: 2+56=58, Resulting Numbers: [12, 58]
Generated Node #0,0,4: 65:[12, 58] Operation: 2+56=58
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 65:[2, 68], Operations: ['72/6=12', '56+12=68']
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 2*68=136, Resulting Numbers: [136]
136,65 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,65 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 65:[12, 58], Operations: ['72/6=12', '2+56=58']
Exploring Operation: 12+58=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 12*58=696, Resulting Numbers: [696]
696,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[56, 14], Operations: ['72/6=12', '2+12=14']
Exploring Operation: 56+14=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 56*14=784, Resulting Numbers: [784]
784,65 unequal: No Solution
Exploring Operation: 56/14=4, Resulting Numbers: [4]
4,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[56, 6], Operations: ['72/6=12', '12/2=6']
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,65 unequal: No Solution
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,65 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 65:[12, 54], Operations: ['72/6=12', '56-2=54']
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 12+54=66, Resulting Numbers: [66]
66,65 unequal: No Solution
Exploring Operation: 12*54=648, Resulting Numbers: [648]
648,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 65:[2, 72, 62], Operations: ['6+56=62']
Exploring Operation: 72-2=70, Resulting Numbers: [62, 70]
Generated Node #0,3,0: 65:[62, 70] Operation: 72-2=70
Exploring Operation: 62-2=60, Resulting Numbers: [72, 60]
Generated Node #0,3,1: 65:[72, 60] Operation: 62-2=60
Exploring Operation: 2+72=74, Resulting Numbers: [62, 74]
Generated Node #0,3,2: 65:[62, 74] Operation: 2+72=74
Exploring Operation: 2+62=64, Resulting Numbers: [72, 64]
Generated Node #0,3,3: 65:[72, 64] Operation: 2+62=64
Exploring Operation: 72-62=10, Resulting Numbers: [2, 10]
Generated Node #0,3,4: 65:[2, 10] Operation: 72-62=10
Moving to Node #0,1
Current State: 65:[6, 72, 58], Operations: ['2+56=58']
Exploring Operation: 6+72=78, Resulting Numbers: [58, 78]
Generated Node #0,1,0: 65:[58, 78] Operation: 6+72=78
Exploring Operation: 72-58=14, Resulting Numbers: [6, 14]
Generated Node #0,1,1: 65:[6, 14] Operation: 72-58=14
Exploring Operation: 72/6=12, Resulting Numbers: [58, 12]
Generated Node #0,1,2: 65:[58, 12] Operation: 72/6=12
Exploring Operation: 72-6=66, Resulting Numbers: [58, 66]
Generated Node #0,1,3: 65:[58, 66] Operation: 72-6=66
Exploring Operation: 6+58=64, Resulting Numbers: [72, 64]
Generated Node #0,1,4: 65:[72, 64] Operation: 6+58=64
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[6, 14], Operations: ['2+56=58', '72-58=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,65 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,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,2
Current State: 65:[58, 12], Operations: ['2+56=58', '72/6=12']
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 58*12=696, Resulting Numbers: [696]
696,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,3
Current State: 65:[58, 66], Operations: ['2+56=58', '72-6=66']
Exploring Operation: 58+66=124, Resulting Numbers: [124]
124,65 unequal: No Solution
Exploring Operation: 66-58=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 58*66=3828, Resulting Numbers: [3828]
3828,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,4
Current State: 65:[72, 64], Operations: ['2+56=58', '6+58=64']
Exploring Operation: 72*64=4608, Resulting Numbers: [4608]
4608,65 unequal: No Solution
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 72+64=136, Resulting Numbers: [136]
136,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,0
Current State: 65:[58, 78], Operations: ['2+56=58', '6+72=78']
Exploring Operation: 58+78=136, Resulting Numbers: [136]
136,65 unequal: No Solution
Exploring Operation: 58*78=4524, Resulting Numbers: [4524]
4524,65 unequal: No Solution
Exploring Operation: 78-58=20, Resulting Numbers: [20]
20,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,4
Current State: 65:[2, 10], Operations: ['6+56=62', '72-62=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Moving to Node #0,3,3
Current State: 65:[72, 64], Operations: ['6+56=62', '2+62=64']
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 72+64=136, Resulting Numbers: [136]
136,65 unequal: No Solution
Exploring Operation: 72*64=4608, Resulting Numbers: [4608]
4608,65 unequal: No Solution
Moving to Node #0,3,0
Current State: 65:[62, 70], Operations: ['6+56=62', '72-2=70']
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 62+70=132, Resulting Numbers: [132]
132,65 unequal: No Solution
Exploring Operation: 62*70=4340, Resulting Numbers: [4340]
4340,65 unequal: No Solution
Moving to Node #0,3,1
Current State: 65:[72, 60], Operations: ['6+56=62', '62-2=60']
Exploring Operation: 72-60=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 72+60=132, Resulting Numbers: [132]
132,65 unequal: No Solution
Exploring Operation: 72*60=4320, Resulting Numbers: [4320]
4320,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[62, 74], Operations: ['6+56=62', '2+72=74']
Exploring Operation: 62+74=136, Resulting Numbers: [136]
136,65 unequal: No Solution
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 62*74=4588, Resulting Numbers: [4588]
4588,65 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
3,
2,
82,
27
] | 53 | [
"3+2=5",
"27*5=135",
"135-82=53"
] | Current State: 53:[3, 2, 82, 27], Operations: []
Exploring Operation: 3+2=5, Resulting Numbers: [82, 27, 5]
Generated Node #2: [82, 27, 5] from Operation: 3+2=5
Current State: 53:[82, 27, 5], Operations: ['3+2=5']
Exploring Operation: 27*5=135, Resulting Numbers: [82, 135]
Generated Node #3: [82, 135] from Operation: 27*5=135
Current State: 53:[82, 135], Operations: ['3+2=5', '27*5=135']
Exploring Operation: 135-82=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[3, 2, 82, 27], Operations: []
Exploring Operation: 2*27=54, Resulting Numbers: [3, 82, 54]
Generated Node #0,0: 53:[3, 82, 54] Operation: 2*27=54
Exploring Operation: 82-3=79, Resulting Numbers: [2, 27, 79]
Generated Node #0,1: 53:[2, 27, 79] Operation: 82-3=79
Exploring Operation: 82/2=41, Resulting Numbers: [3, 27, 41]
Generated Node #0,2: 53:[3, 27, 41] Operation: 82/2=41
Exploring Operation: 3*2=6, Resulting Numbers: [82, 27, 6]
Generated Node #0,3: 53:[82, 27, 6] Operation: 3*2=6
Exploring Operation: 3+2=5, Resulting Numbers: [82, 27, 5]
Generated Node #0,4: 53:[82, 27, 5] Operation: 3+2=5
Moving to Node #0,0
Current State: 53:[3, 82, 54], Operations: ['2*27=54']
Exploring Operation: 3+82=85, Resulting Numbers: [54, 85]
Generated Node #0,0,0: 53:[54, 85] Operation: 3+82=85
Exploring Operation: 82-3=79, Resulting Numbers: [54, 79]
Generated Node #0,0,1: 53:[54, 79] Operation: 82-3=79
Exploring Operation: 54/3=18, Resulting Numbers: [82, 18]
Generated Node #0,0,2: 53:[82, 18] Operation: 54/3=18
Exploring Operation: 3+54=57, Resulting Numbers: [82, 57]
Generated Node #0,0,3: 53:[82, 57] Operation: 3+54=57
Exploring Operation: 54-3=51, Resulting Numbers: [82, 51]
Generated Node #0,0,4: 53:[82, 51] Operation: 54-3=51
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[54, 79], Operations: ['2*27=54', '82-3=79']
Exploring Operation: 54+79=133, Resulting Numbers: [133]
133,53 unequal: No Solution
Exploring Operation: 54*79=4266, Resulting Numbers: [4266]
4266,53 unequal: No Solution
Exploring Operation: 79-54=25, Resulting Numbers: [25]
25,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,4
Current State: 53:[82, 51], Operations: ['2*27=54', '54-3=51']
Exploring Operation: 82-51=31, Resulting Numbers: [31]
31,53 unequal: No Solution
Exploring Operation: 82*51=4182, Resulting Numbers: [4182]
4182,53 unequal: No Solution
Exploring Operation: 82+51=133, Resulting Numbers: [133]
133,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,0
Current State: 53:[54, 85], Operations: ['2*27=54', '3+82=85']
Exploring Operation: 54*85=4590, Resulting Numbers: [4590]
4590,53 unequal: No Solution
Exploring Operation: 85-54=31, Resulting Numbers: [31]
31,53 unequal: No Solution
Exploring Operation: 54+85=139, Resulting Numbers: [139]
139,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,3
Current State: 53:[82, 57], Operations: ['2*27=54', '3+54=57']
Exploring Operation: 82*57=4674, Resulting Numbers: [4674]
4674,53 unequal: No Solution
Exploring Operation: 82+57=139, Resulting Numbers: [139]
139,53 unequal: No Solution
Exploring Operation: 82-57=25, Resulting Numbers: [25]
25,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,2
Current State: 53:[82, 18], Operations: ['2*27=54', '54/3=18']
Exploring Operation: 82+18=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,53 unequal: No Solution
Exploring Operation: 82*18=1476, Resulting Numbers: [1476]
1476,53 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: 53:[3, 27, 41], Operations: ['82/2=41']
Exploring Operation: 41-3=38, Resulting Numbers: [27, 38]
Generated Node #0,2,0: 53:[27, 38] Operation: 41-3=38
Exploring Operation: 3+41=44, Resulting Numbers: [27, 44]
Generated Node #0,2,1: 53:[27, 44] Operation: 3+41=44
Exploring Operation: 27-3=24, Resulting Numbers: [41, 24]
Generated Node #0,2,2: 53:[41, 24] Operation: 27-3=24
Exploring Operation: 3*27=81, Resulting Numbers: [41, 81]
Generated Node #0,2,3: 53:[41, 81] Operation: 3*27=81
Exploring Operation: 3+27=30, Resulting Numbers: [41, 30]
Generated Node #0,2,4: 53:[41, 30] Operation: 3+27=30
Moving to Node #0,3
Current State: 53:[82, 27, 6], Operations: ['3*2=6']
Exploring Operation: 27+6=33, Resulting Numbers: [82, 33]
Generated Node #0,3,0: 53:[82, 33] Operation: 27+6=33
Exploring Operation: 82-27=55, Resulting Numbers: [6, 55]
Generated Node #0,3,1: 53:[6, 55] Operation: 82-27=55
Exploring Operation: 82-6=76, Resulting Numbers: [27, 76]
Generated Node #0,3,2: 53:[27, 76] Operation: 82-6=76
Exploring Operation: 27-6=21, Resulting Numbers: [82, 21]
Generated Node #0,3,3: 53:[82, 21] Operation: 27-6=21
Exploring Operation: 82+6=88, Resulting Numbers: [27, 88]
Generated Node #0,3,4: 53:[27, 88] Operation: 82+6=88
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 53:[82, 33], Operations: ['3*2=6', '27+6=33']
Exploring Operation: 82*33=2706, Resulting Numbers: [2706]
2706,53 unequal: No Solution
Exploring Operation: 82+33=115, Resulting Numbers: [115]
115,53 unequal: No Solution
Exploring Operation: 82-33=49, Resulting Numbers: [49]
49,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,3,1
Current State: 53:[6, 55], Operations: ['3*2=6', '82-27=55']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Exploring Operation: 6+55=61, Resulting Numbers: [61]
61,53 unequal: No Solution
Exploring Operation: 6*55=330, Resulting Numbers: [330]
330,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,3,2
Current State: 53:[27, 76], Operations: ['3*2=6', '82-6=76']
Exploring Operation: 27*76=2052, Resulting Numbers: [2052]
2052,53 unequal: No Solution
Exploring Operation: 76-27=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Exploring Operation: 27+76=103, Resulting Numbers: [103]
103,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,3,3
Current State: 53:[82, 21], Operations: ['3*2=6', '27-6=21']
Exploring Operation: 82+21=103, Resulting Numbers: [103]
103,53 unequal: No Solution
Exploring Operation: 82*21=1722, Resulting Numbers: [1722]
1722,53 unequal: No Solution
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,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,3,4
Current State: 53:[27, 88], Operations: ['3*2=6', '82+6=88']
Exploring Operation: 27*88=2376, Resulting Numbers: [2376]
2376,53 unequal: No Solution
Exploring Operation: 27+88=115, Resulting Numbers: [115]
115,53 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,53 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: 53:[2, 27, 79], Operations: ['82-3=79']
Exploring Operation: 79-2=77, Resulting Numbers: [27, 77]
Generated Node #0,1,0: 53:[27, 77] Operation: 79-2=77
Exploring Operation: 79-27=52, Resulting Numbers: [2, 52]
Generated Node #0,1,1: 53:[2, 52] Operation: 79-27=52
Exploring Operation: 2*27=54, Resulting Numbers: [79, 54]
Generated Node #0,1,2: 53:[79, 54] Operation: 2*27=54
Exploring Operation: 2+27=29, Resulting Numbers: [79, 29]
Generated Node #0,1,3: 53:[79, 29] Operation: 2+27=29
Exploring Operation: 27-2=25, Resulting Numbers: [79, 25]
Generated Node #0,1,4: 53:[79, 25] Operation: 27-2=25
Moving to Node #0,4
Current State: 53:[82, 27, 5], Operations: ['3+2=5']
Exploring Operation: 82-27=55, Resulting Numbers: [5, 55]
Generated Node #0,4,0: 53:[5, 55] Operation: 82-27=55
Exploring Operation: 82-5=77, Resulting Numbers: [27, 77]
Generated Node #0,4,1: 53:[27, 77] Operation: 82-5=77
Exploring Operation: 82+5=87, Resulting Numbers: [27, 87]
Generated Node #0,4,2: 53:[27, 87] Operation: 82+5=87
Exploring Operation: 27+5=32, Resulting Numbers: [82, 32]
Generated Node #0,4,3: 53:[82, 32] Operation: 27+5=32
Exploring Operation: 27-5=22, Resulting Numbers: [82, 22]
Generated Node #0,4,4: 53:[82, 22] Operation: 27-5=22
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 53:[5, 55], Operations: ['3+2=5', '82-27=55']
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 5+55=60, Resulting Numbers: [60]
60,53 unequal: No Solution
Exploring Operation: 5*55=275, Resulting Numbers: [275]
275,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 53:[27, 77], Operations: ['3+2=5', '82-5=77']
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 27+77=104, Resulting Numbers: [104]
104,53 unequal: No Solution
Exploring Operation: 27*77=2079, Resulting Numbers: [2079]
2079,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 53:[82, 32], Operations: ['3+2=5', '27+5=32']
Exploring Operation: 82+32=114, Resulting Numbers: [114]
114,53 unequal: No Solution
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 82*32=2624, Resulting Numbers: [2624]
2624,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 53:[27, 87], Operations: ['3+2=5', '82+5=87']
Exploring Operation: 87-27=60, Resulting Numbers: [60]
60,53 unequal: No Solution
Exploring Operation: 27+87=114, Resulting Numbers: [114]
114,53 unequal: No Solution
Exploring Operation: 27*87=2349, Resulting Numbers: [2349]
2349,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 53:[82, 22], Operations: ['3+2=5', '27-5=22']
Exploring Operation: 82*22=1804, Resulting Numbers: [1804]
1804,53 unequal: No Solution
Exploring Operation: 82+22=104, Resulting Numbers: [104]
104,53 unequal: No Solution
Exploring Operation: 82-22=60, Resulting Numbers: [60]
60,53 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: 53:[79, 54], Operations: ['82-3=79', '2*27=54']
Exploring Operation: 79*54=4266, Resulting Numbers: [4266]
4266,53 unequal: No Solution
Exploring Operation: 79-54=25, Resulting Numbers: [25]
25,53 unequal: No Solution
Exploring Operation: 79+54=133, Resulting Numbers: [133]
133,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[27, 44], Operations: ['82/2=41', '3+41=44']
Exploring Operation: 27*44=1188, Resulting Numbers: [1188]
1188,53 unequal: No Solution
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,53 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Moving to Node #0,2,4
Current State: 53:[41, 30], Operations: ['82/2=41', '3+27=30']
Exploring Operation: 41+30=71, Resulting Numbers: [71]
71,53 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 41*30=1230, Resulting Numbers: [1230]
1230,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[41, 81], Operations: ['82/2=41', '3*27=81']
Exploring Operation: 81-41=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 41+81=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 41*81=3321, Resulting Numbers: [3321]
3321,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[41, 24], Operations: ['82/2=41', '27-3=24']
Exploring Operation: 41+24=65, Resulting Numbers: [65]
65,53 unequal: No Solution
Exploring Operation: 41-24=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 41*24=984, Resulting Numbers: [984]
984,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[27, 38], Operations: ['82/2=41', '41-3=38']
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 27*38=1026, Resulting Numbers: [1026]
1026,53 unequal: No Solution
Exploring Operation: 27+38=65, Resulting Numbers: [65]
65,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[27, 77], Operations: ['82-3=79', '79-2=77']
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 27*77=2079, Resulting Numbers: [2079]
2079,53 unequal: No Solution
Exploring Operation: 27+77=104, Resulting Numbers: [104]
104,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[79, 29], Operations: ['82-3=79', '2+27=29']
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 79*29=2291, Resulting Numbers: [2291]
2291,53 unequal: No Solution
Exploring Operation: 79+29=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[2, 52], Operations: ['82-3=79', '79-27=52']
Exploring Operation: 2*52=104, Resulting Numbers: [104]
104,53 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Moving to Node #0,1,4
Current State: 53:[79, 25], Operations: ['82-3=79', '27-2=25']
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 79*25=1975, Resulting Numbers: [1975]
1975,53 unequal: No Solution
Exploring Operation: 79+25=104, Resulting Numbers: [104]
104,53 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
30,
96,
58,
41
] | 14 | [
"41-30=11",
"96+58=154",
"154/11=14"
] | Current State: 14:[30, 96, 58, 41], Operations: []
Exploring Operation: 41-30=11, Resulting Numbers: [96, 58, 11]
Generated Node #2: [96, 58, 11] from Operation: 41-30=11
Current State: 14:[96, 58, 11], Operations: ['41-30=11']
Exploring Operation: 96+58=154, Resulting Numbers: [11, 154]
Generated Node #3: [11, 154] from Operation: 96+58=154
Current State: 14:[11, 154], Operations: ['41-30=11', '96+58=154']
Exploring Operation: 154/11=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[30, 96, 58, 41], Operations: []
Exploring Operation: 96-41=55, Resulting Numbers: [30, 58, 55]
Generated Node #0,0: 14:[30, 58, 55] Operation: 96-41=55
Exploring Operation: 96-58=38, Resulting Numbers: [30, 41, 38]
Generated Node #0,1: 14:[30, 41, 38] Operation: 96-58=38
Moving to Node #0,1
Current State: 14:[30, 41, 38], Operations: ['96-58=38']
Exploring Operation: 41-38=3, Resulting Numbers: [30, 3]
Generated Node #0,1,0: 14:[30, 3] Operation: 41-38=3
Exploring Operation: 41-30=11, Resulting Numbers: [38, 11]
Generated Node #0,1,1: 14:[38, 11] Operation: 41-30=11
Moving to Node #0,0
Current State: 14:[30, 58, 55], Operations: ['96-41=55']
Exploring Operation: 58-30=28, Resulting Numbers: [55, 28]
Generated Node #0,0,0: 14:[55, 28] Operation: 58-30=28
Exploring Operation: 58-55=3, Resulting Numbers: [30, 3]
Generated Node #0,0,1: 14:[30, 3] Operation: 58-55=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[30, 3], Operations: ['96-41=55', '58-55=3']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,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,0
Current State: 14:[55, 28], Operations: ['96-41=55', '58-30=28']
Exploring Operation: 55+28=83, Resulting Numbers: [83]
83,14 unequal: No Solution
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,14 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: 14:[30, 3], Operations: ['96-58=38', '41-38=3']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,14 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[38, 11], Operations: ['96-58=38', '41-30=11']
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,14 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,14 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
31,
51,
2,
3
] | 44 | [
"31+51=82",
"82/2=41",
"3+41=44"
] | Current State: 44:[31, 51, 2, 3], Operations: []
Exploring Operation: 31+51=82, Resulting Numbers: [2, 3, 82]
Generated Node #2: [2, 3, 82] from Operation: 31+51=82
Current State: 44:[2, 3, 82], Operations: ['31+51=82']
Exploring Operation: 82/2=41, Resulting Numbers: [3, 41]
Generated Node #3: [3, 41] from Operation: 82/2=41
Current State: 44:[3, 41], Operations: ['31+51=82', '82/2=41']
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[31, 51, 2, 3], Operations: []
Exploring Operation: 51-31=20, Resulting Numbers: [2, 3, 20]
Generated Node #0,0: 44:[2, 3, 20] Operation: 51-31=20
Moving to Node #0,0
Current State: 44:[2, 3, 20], Operations: ['51-31=20']
Exploring Operation: 2+20=22, Resulting Numbers: [3, 22]
Generated Node #0,0,0: 44:[3, 22] Operation: 2+20=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[3, 22], Operations: ['51-31=20', '2+20=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,44 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 |
[
59,
25,
31,
39
] | 14 | [
"59+25=84",
"31+39=70",
"84-70=14"
] | Current State: 14:[59, 25, 31, 39], Operations: []
Exploring Operation: 59+25=84, Resulting Numbers: [31, 39, 84]
Generated Node #2: [31, 39, 84] from Operation: 59+25=84
Current State: 14:[31, 39, 84], Operations: ['59+25=84']
Exploring Operation: 31+39=70, Resulting Numbers: [84, 70]
Generated Node #3: [84, 70] from Operation: 31+39=70
Current State: 14:[84, 70], Operations: ['59+25=84', '31+39=70']
Exploring Operation: 84-70=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[59, 25, 31, 39], Operations: []
Exploring Operation: 59-31=28, Resulting Numbers: [25, 39, 28]
Generated Node #0,0: 14:[25, 39, 28] Operation: 59-31=28
Exploring Operation: 59-39=20, Resulting Numbers: [25, 31, 20]
Generated Node #0,1: 14:[25, 31, 20] Operation: 59-39=20
Moving to Node #0,1
Current State: 14:[25, 31, 20], Operations: ['59-39=20']
Exploring Operation: 31-25=6, Resulting Numbers: [20, 6]
Generated Node #0,1,0: 14:[20, 6] Operation: 31-25=6
Exploring Operation: 31-20=11, Resulting Numbers: [25, 11]
Generated Node #0,1,1: 14:[25, 11] Operation: 31-20=11
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 14:[20, 6], Operations: ['59-39=20', '31-25=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[59, 25, 31, 39], Operations: []
Exploring Operation: 59-39=20, Resulting Numbers: [25, 31, 20]
Generated Node #0,1: 14:[25, 31, 20] Operation: 59-39=20
Moving to Node #0,1
Current State: 14:[25, 31, 20], Operations: ['59-39=20']
Exploring Operation: 31-25=6, Resulting Numbers: [20, 6]
Generated Node #0,1,0: 14:[20, 6] Operation: 31-25=6
Moving to Node #0,1,0
Current State: 14:[20, 6], Operations: ['59-39=20', '31-25=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
57,
79,
2,
68
] | 92 | [
"79-57=22",
"2+68=70",
"22+70=92"
] | Current State: 92:[57, 79, 2, 68], Operations: []
Exploring Operation: 79-57=22, Resulting Numbers: [2, 68, 22]
Generated Node #2: [2, 68, 22] from Operation: 79-57=22
Current State: 92:[2, 68, 22], Operations: ['79-57=22']
Exploring Operation: 2+68=70, Resulting Numbers: [22, 70]
Generated Node #3: [22, 70] from Operation: 2+68=70
Current State: 92:[22, 70], Operations: ['79-57=22', '2+68=70']
Exploring Operation: 22+70=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[57, 79, 2, 68], Operations: []
Exploring Operation: 68-57=11, Resulting Numbers: [79, 2, 11]
Generated Node #0,0: 92:[79, 2, 11] Operation: 68-57=11
Exploring Operation: 79-68=11, Resulting Numbers: [57, 2, 11]
Generated Node #0,1: 92:[57, 2, 11] Operation: 79-68=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[57, 2, 11], Operations: ['79-68=11']
Exploring Operation: 2*11=22, Resulting Numbers: [57, 22]
Generated Node #0,1,0: 92:[57, 22] Operation: 2*11=22
Exploring Operation: 57-11=46, Resulting Numbers: [2, 46]
Generated Node #0,1,1: 92:[2, 46] Operation: 57-11=46
Moving to Node #0,1,1
Current State: 92:[2, 46], Operations: ['79-68=11', '57-11=46']
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[57, 79, 2, 68], Operations: []
Exploring Operation: 79-68=11, Resulting Numbers: [57, 2, 11]
Generated Node #0,1: 92:[57, 2, 11] Operation: 79-68=11
Moving to Node #0,1
Current State: 92:[57, 2, 11], Operations: ['79-68=11']
Exploring Operation: 57-11=46, Resulting Numbers: [2, 46]
Generated Node #0,1,1: 92:[2, 46] Operation: 57-11=46
Moving to Node #0,1,1
Current State: 92:[2, 46], Operations: ['79-68=11', '57-11=46']
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
35,
29,
19,
59
] | 13 | [
"35-29=6",
"19+59=78",
"78/6=13"
] | Current State: 13:[35, 29, 19, 59], Operations: []
Exploring Operation: 35-29=6, Resulting Numbers: [19, 59, 6]
Generated Node #2: [19, 59, 6] from Operation: 35-29=6
Current State: 13:[19, 59, 6], Operations: ['35-29=6']
Exploring Operation: 19+59=78, Resulting Numbers: [6, 78]
Generated Node #3: [6, 78] from Operation: 19+59=78
Current State: 13:[6, 78], Operations: ['35-29=6', '19+59=78']
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[35, 29, 19, 59], Operations: []
Exploring Operation: 59-29=30, Resulting Numbers: [35, 19, 30]
Generated Node #0,0: 13:[35, 19, 30] Operation: 59-29=30
Exploring Operation: 59-19=40, Resulting Numbers: [35, 29, 40]
Generated Node #0,1: 13:[35, 29, 40] Operation: 59-19=40
Exploring Operation: 59-35=24, Resulting Numbers: [29, 19, 24]
Generated Node #0,2: 13:[29, 19, 24] Operation: 59-35=24
Exploring Operation: 35-19=16, Resulting Numbers: [29, 59, 16]
Generated Node #0,3: 13:[29, 59, 16] Operation: 35-19=16
Exploring Operation: 35-29=6, Resulting Numbers: [19, 59, 6]
Generated Node #0,4: 13:[19, 59, 6] Operation: 35-29=6
Moving to Node #0,2
Current State: 13:[29, 19, 24], Operations: ['59-35=24']
Exploring Operation: 29+19=48, Resulting Numbers: [24, 48]
Generated Node #0,2,0: 13:[24, 48] Operation: 29+19=48
Exploring Operation: 24-19=5, Resulting Numbers: [29, 5]
Generated Node #0,2,1: 13:[29, 5] Operation: 24-19=5
Exploring Operation: 29-19=10, Resulting Numbers: [24, 10]
Generated Node #0,2,2: 13:[24, 10] Operation: 29-19=10
Exploring Operation: 29+24=53, Resulting Numbers: [19, 53]
Generated Node #0,2,3: 13:[19, 53] Operation: 29+24=53
Exploring Operation: 29-24=5, Resulting Numbers: [19, 5]
Generated Node #0,2,4: 13:[19, 5] Operation: 29-24=5
Moving to Node #0,0
Current State: 13:[35, 19, 30], Operations: ['59-29=30']
Exploring Operation: 35-30=5, Resulting Numbers: [19, 5]
Generated Node #0,0,0: 13:[19, 5] Operation: 35-30=5
Exploring Operation: 35-19=16, Resulting Numbers: [30, 16]
Generated Node #0,0,1: 13:[30, 16] Operation: 35-19=16
Exploring Operation: 30-19=11, Resulting Numbers: [35, 11]
Generated Node #0,0,2: 13:[35, 11] Operation: 30-19=11
Exploring Operation: 35+30=65, Resulting Numbers: [19, 65]
Generated Node #0,0,3: 13:[19, 65] Operation: 35+30=65
Exploring Operation: 35+19=54, Resulting Numbers: [30, 54]
Generated Node #0,0,4: 13:[30, 54] Operation: 35+19=54
Moving to Node #0,4
Current State: 13:[19, 59, 6], Operations: ['35-29=6']
Exploring Operation: 19-6=13, Resulting Numbers: [59, 13]
Generated Node #0,4,0: 13:[59, 13] Operation: 19-6=13
Exploring Operation: 19+6=25, Resulting Numbers: [59, 25]
Generated Node #0,4,1: 13:[59, 25] Operation: 19+6=25
Exploring Operation: 59-6=53, Resulting Numbers: [19, 53]
Generated Node #0,4,2: 13:[19, 53] Operation: 59-6=53
Exploring Operation: 59+6=65, Resulting Numbers: [19, 65]
Generated Node #0,4,3: 13:[19, 65] Operation: 59+6=65
Exploring Operation: 59-19=40, Resulting Numbers: [6, 40]
Generated Node #0,4,4: 13:[6, 40] Operation: 59-19=40
Moving to Node #0,1
Current State: 13:[35, 29, 40], Operations: ['59-19=40']
Exploring Operation: 35+29=64, Resulting Numbers: [40, 64]
Generated Node #0,1,0: 13:[40, 64] Operation: 35+29=64
Exploring Operation: 35-29=6, Resulting Numbers: [40, 6]
Generated Node #0,1,1: 13:[40, 6] Operation: 35-29=6
Exploring Operation: 40-29=11, Resulting Numbers: [35, 11]
Generated Node #0,1,2: 13:[35, 11] Operation: 40-29=11
Exploring Operation: 40-35=5, Resulting Numbers: [29, 5]
Generated Node #0,1,3: 13:[29, 5] Operation: 40-35=5
Exploring Operation: 35+40=75, Resulting Numbers: [29, 75]
Generated Node #0,1,4: 13:[29, 75] Operation: 35+40=75
Moving to Node #0,3
Current State: 13:[29, 59, 16], Operations: ['35-19=16']
Exploring Operation: 29+59=88, Resulting Numbers: [16, 88]
Generated Node #0,3,0: 13:[16, 88] Operation: 29+59=88
Exploring Operation: 29-16=13, Resulting Numbers: [59, 13]
Generated Node #0,3,1: 13:[59, 13] Operation: 29-16=13
Exploring Operation: 59-16=43, Resulting Numbers: [29, 43]
Generated Node #0,3,2: 13:[29, 43] Operation: 59-16=43
Exploring Operation: 29+16=45, Resulting Numbers: [59, 45]
Generated Node #0,3,3: 13:[59, 45] Operation: 29+16=45
Exploring Operation: 59-29=30, Resulting Numbers: [16, 30]
Generated Node #0,3,4: 13:[16, 30] Operation: 59-29=30
Moving to Node #0,2,2
Current State: 13:[24, 10], Operations: ['59-35=24', '29-19=10']
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,13 unequal: No Solution
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[19, 5], Operations: ['59-29=30', '35-30=5']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,13 unequal: No Solution
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Moving to Node #0,2,4
Current State: 13:[19, 5], Operations: ['59-35=24', '29-24=5']
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[30, 16], Operations: ['59-29=30', '35-19=16']
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 30*16=480, Resulting Numbers: [480]
480,13 unequal: No Solution
Moving to Node #0,3,4
Current State: 13:[16, 30], Operations: ['35-19=16', '59-29=30']
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 16+30=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 16*30=480, Resulting Numbers: [480]
480,13 unequal: No Solution
Moving to Node #0,2,1
Current State: 13:[29, 5], Operations: ['59-35=24', '24-19=5']
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,13 unequal: No Solution
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[35, 11], Operations: ['59-29=30', '30-19=11']
Exploring Operation: 35+11=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 35*11=385, Resulting Numbers: [385]
385,13 unequal: No Solution
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Moving to Node #0,1,2
Current State: 13:[35, 11], Operations: ['59-19=40', '40-29=11']
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 35+11=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 35*11=385, Resulting Numbers: [385]
385,13 unequal: No Solution
Moving to Node #0,1,3
Current State: 13:[29, 5], Operations: ['59-19=40', '40-35=5']
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,13 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Moving to Node #0,4,4
Current State: 13:[6, 40], Operations: ['35-29=6', '59-19=40']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[40, 6], Operations: ['59-19=40', '35-29=6']
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,13 unequal: No Solution
Moving to Node #0,4,2
Current State: 13:[19, 53], Operations: ['35-29=6', '59-6=53']
Exploring Operation: 19+53=72, Resulting Numbers: [72]
72,13 unequal: No Solution
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 19*53=1007, Resulting Numbers: [1007]
1007,13 unequal: No Solution
Moving to Node #0,3,2
Current State: 13:[29, 43], Operations: ['35-19=16', '59-16=43']
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 29*43=1247, Resulting Numbers: [1247]
1247,13 unequal: No Solution
Exploring Operation: 29+43=72, Resulting Numbers: [72]
72,13 unequal: No Solution
Moving to Node #0,4,0
Current State: 13:[59, 13], Operations: ['35-29=6', '19-6=13']
Exploring Operation: 59*13=767, Resulting Numbers: [767]
767,13 unequal: No Solution
Exploring Operation: 59+13=72, Resulting Numbers: [72]
72,13 unequal: No Solution
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Moving to Node #0,2,3
Current State: 13:[19, 53], Operations: ['59-35=24', '29+24=53']
Exploring Operation: 19*53=1007, Resulting Numbers: [1007]
1007,13 unequal: No Solution
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 19+53=72, Resulting Numbers: [72]
72,13 unequal: No Solution
Moving to Node #0,3,1
Current State: 13:[59, 13], Operations: ['35-19=16', '29-16=13']
Exploring Operation: 59+13=72, Resulting Numbers: [72]
72,13 unequal: No Solution
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 59*13=767, Resulting Numbers: [767]
767,13 unequal: No Solution
Moving to Node #0,2,0
Current State: 13:[24, 48], Operations: ['59-35=24', '29+19=48']
Exploring Operation: 24+48=72, Resulting Numbers: [72]
72,13 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 24*48=1152, Resulting Numbers: [1152]
1152,13 unequal: No Solution
Moving to Node #0,4,3
Current State: 13:[19, 65], Operations: ['35-29=6', '59+6=65']
Exploring Operation: 65-19=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 19+65=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 19*65=1235, Resulting Numbers: [1235]
1235,13 unequal: No Solution
Moving to Node #0,4,1
Current State: 13:[59, 25], Operations: ['35-29=6', '19+6=25']
Exploring Operation: 59+25=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 59*25=1475, Resulting Numbers: [1475]
1475,13 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Moving to Node #0,0,4
Current State: 13:[30, 54], Operations: ['59-29=30', '35+19=54']
Exploring Operation: 30+54=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 30*54=1620, Resulting Numbers: [1620]
1620,13 unequal: No Solution
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Moving to Node #0,0,3
Current State: 13:[19, 65], Operations: ['59-29=30', '35+30=65']
Exploring Operation: 19*65=1235, Resulting Numbers: [1235]
1235,13 unequal: No Solution
Exploring Operation: 19+65=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 65-19=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Moving to Node #0,3,0
Current State: 13:[16, 88], Operations: ['35-19=16', '29+59=88']
Exploring Operation: 88-16=72, Resulting Numbers: [72]
72,13 unequal: No Solution
Exploring Operation: 16*88=1408, Resulting Numbers: [1408]
1408,13 unequal: No Solution
Exploring Operation: 16+88=104, Resulting Numbers: [104]
104,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[40, 64], Operations: ['59-19=40', '35+29=64']
Exploring Operation: 40+64=104, Resulting Numbers: [104]
104,13 unequal: No Solution
Exploring Operation: 40*64=2560, Resulting Numbers: [2560]
2560,13 unequal: No Solution
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Moving to Node #0,1,4
Current State: 13:[29, 75], Operations: ['59-19=40', '35+40=75']
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 29+75=104, Resulting Numbers: [104]
104,13 unequal: No Solution
Exploring Operation: 29*75=2175, Resulting Numbers: [2175]
2175,13 unequal: No Solution
Moving to Node #0,3,3
Current State: 13:[59, 45], Operations: ['35-19=16', '29+16=45']
Exploring Operation: 59+45=104, Resulting Numbers: [104]
104,13 unequal: No Solution
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 59*45=2655, Resulting Numbers: [2655]
2655,13 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
95,
53,
7,
31
] | 59 | [
"53-31=22",
"7*22=154",
"154-95=59"
] | Current State: 59:[95, 53, 7, 31], Operations: []
Exploring Operation: 53-31=22, Resulting Numbers: [95, 7, 22]
Generated Node #2: [95, 7, 22] from Operation: 53-31=22
Current State: 59:[95, 7, 22], Operations: ['53-31=22']
Exploring Operation: 7*22=154, Resulting Numbers: [95, 154]
Generated Node #3: [95, 154] from Operation: 7*22=154
Current State: 59:[95, 154], Operations: ['53-31=22', '7*22=154']
Exploring Operation: 154-95=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[95, 53, 7, 31], Operations: []
Exploring Operation: 95-31=64, Resulting Numbers: [53, 7, 64]
Generated Node #0,0: 59:[53, 7, 64] Operation: 95-31=64
Exploring Operation: 95-7=88, Resulting Numbers: [53, 31, 88]
Generated Node #0,1: 59:[53, 31, 88] Operation: 95-7=88
Moving to Node #0,0
Current State: 59:[53, 7, 64], Operations: ['95-31=64']
Exploring Operation: 53+7=60, Resulting Numbers: [64, 60]
Generated Node #0,0,0: 59:[64, 60] Operation: 53+7=60
Exploring Operation: 64-7=57, Resulting Numbers: [53, 57]
Generated Node #0,0,1: 59:[53, 57] Operation: 64-7=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[64, 60], Operations: ['95-31=64', '53+7=60']
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 64+60=124, Resulting Numbers: [124]
124,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[53, 57], Operations: ['95-31=64', '64-7=57']
Exploring Operation: 57-53=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 53+57=110, Resulting Numbers: [110]
110,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 59:[53, 31, 88], Operations: ['95-7=88']
Exploring Operation: 88-53=35, Resulting Numbers: [31, 35]
Generated Node #0,1,0: 59:[31, 35] Operation: 88-53=35
Exploring Operation: 88-31=57, Resulting Numbers: [53, 57]
Generated Node #0,1,1: 59:[53, 57] Operation: 88-31=57
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[53, 57], Operations: ['95-7=88', '88-31=57']
Exploring Operation: 57-53=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 53+57=110, Resulting Numbers: [110]
110,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[31, 35], Operations: ['95-7=88', '88-53=35']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 31+35=66, Resulting Numbers: [66]
66,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
41,
30,
84,
74
] | 28 | [
"41+30=71",
"74-71=3",
"84/3=28"
] | Current State: 28:[41, 30, 84, 74], Operations: []
Exploring Operation: 41+30=71, Resulting Numbers: [84, 74, 71]
Generated Node #2: [84, 74, 71] from Operation: 41+30=71
Current State: 28:[84, 74, 71], Operations: ['41+30=71']
Exploring Operation: 74-71=3, Resulting Numbers: [84, 3]
Generated Node #3: [84, 3] from Operation: 74-71=3
Current State: 28:[84, 3], Operations: ['41+30=71', '74-71=3']
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[41, 30, 84, 74], Operations: []
Exploring Operation: 84-74=10, Resulting Numbers: [41, 30, 10]
Generated Node #0,0: 28:[41, 30, 10] Operation: 84-74=10
Exploring Operation: 84-41=43, Resulting Numbers: [30, 74, 43]
Generated Node #0,1: 28:[30, 74, 43] Operation: 84-41=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[41, 30, 10], Operations: ['84-74=10']
Exploring Operation: 41-30=11, Resulting Numbers: [10, 11]
Generated Node #0,0,0: 28:[10, 11] Operation: 41-30=11
Exploring Operation: 41-10=31, Resulting Numbers: [30, 31]
Generated Node #0,0,1: 28:[30, 31] Operation: 41-10=31
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 28:[30, 31], Operations: ['84-74=10', '41-10=31']
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,28 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[10, 11], Operations: ['84-74=10', '41-30=11']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[30, 74, 43], Operations: ['84-41=43']
Exploring Operation: 74-43=31, Resulting Numbers: [30, 31]
Generated Node #0,1,0: 28:[30, 31] Operation: 74-43=31
Exploring Operation: 74-30=44, Resulting Numbers: [43, 44]
Generated Node #0,1,1: 28:[43, 44] Operation: 74-30=44
Moving to Node #0,1,0
Current State: 28:[30, 31], Operations: ['84-41=43', '74-43=31']
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,28 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[43, 44], Operations: ['84-41=43', '74-30=44']
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 43+44=87, Resulting Numbers: [87]
87,28 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 |
[
11,
81,
51,
44
] | 34 | [
"44/11=4",
"81-51=30",
"4+30=34"
] | Current State: 34:[11, 81, 51, 44], Operations: []
Exploring Operation: 44/11=4, Resulting Numbers: [81, 51, 4]
Generated Node #2: [81, 51, 4] from Operation: 44/11=4
Current State: 34:[81, 51, 4], Operations: ['44/11=4']
Exploring Operation: 81-51=30, Resulting Numbers: [4, 30]
Generated Node #3: [4, 30] from Operation: 81-51=30
Current State: 34:[4, 30], Operations: ['44/11=4', '81-51=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[11, 81, 51, 44], Operations: []
Exploring Operation: 81-44=37, Resulting Numbers: [11, 51, 37]
Generated Node #0,0: 34:[11, 51, 37] Operation: 81-44=37
Exploring Operation: 51-44=7, Resulting Numbers: [11, 81, 7]
Generated Node #0,1: 34:[11, 81, 7] Operation: 51-44=7
Exploring Operation: 81-11=70, Resulting Numbers: [51, 44, 70]
Generated Node #0,2: 34:[51, 44, 70] Operation: 81-11=70
Exploring Operation: 81-51=30, Resulting Numbers: [11, 44, 30]
Generated Node #0,3: 34:[11, 44, 30] Operation: 81-51=30
Moving to Node #0,3
Current State: 34:[11, 44, 30], Operations: ['81-51=30']
Exploring Operation: 44-11=33, Resulting Numbers: [30, 33]
Generated Node #0,3,0: 34:[30, 33] Operation: 44-11=33
Exploring Operation: 30-11=19, Resulting Numbers: [44, 19]
Generated Node #0,3,1: 34:[44, 19] Operation: 30-11=19
Exploring Operation: 44-30=14, Resulting Numbers: [11, 14]
Generated Node #0,3,2: 34:[11, 14] Operation: 44-30=14
Exploring Operation: 44/11=4, Resulting Numbers: [30, 4]
Generated Node #0,3,3: 34:[30, 4] Operation: 44/11=4
Moving to Node #0,0
Current State: 34:[11, 51, 37], Operations: ['81-44=37']
Exploring Operation: 37-11=26, Resulting Numbers: [51, 26]
Generated Node #0,0,0: 34:[51, 26] Operation: 37-11=26
Exploring Operation: 51-37=14, Resulting Numbers: [11, 14]
Generated Node #0,0,1: 34:[11, 14] Operation: 51-37=14
Exploring Operation: 11+51=62, Resulting Numbers: [37, 62]
Generated Node #0,0,2: 34:[37, 62] Operation: 11+51=62
Exploring Operation: 51-11=40, Resulting Numbers: [37, 40]
Generated Node #0,0,3: 34:[37, 40] Operation: 51-11=40
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[11, 14], Operations: ['81-44=37', '51-37=14']
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 34:[37, 40], Operations: ['81-44=37', '51-11=40']
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 37*40=1480, Resulting Numbers: [1480]
1480,34 unequal: No Solution
Exploring Operation: 37+40=77, Resulting Numbers: [77]
77,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[51, 26], Operations: ['81-44=37', '37-11=26']
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 51*26=1326, Resulting Numbers: [1326]
1326,34 unequal: No Solution
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 34:[37, 62], Operations: ['81-44=37', '11+51=62']
Exploring Operation: 37*62=2294, Resulting Numbers: [2294]
2294,34 unequal: No Solution
Exploring Operation: 62-37=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 37+62=99, Resulting Numbers: [99]
99,34 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: 34:[11, 81, 7], Operations: ['51-44=7']
Exploring Operation: 81-11=70, Resulting Numbers: [7, 70]
Generated Node #0,1,0: 34:[7, 70] Operation: 81-11=70
Exploring Operation: 11+7=18, Resulting Numbers: [81, 18]
Generated Node #0,1,1: 34:[81, 18] Operation: 11+7=18
Exploring Operation: 11-7=4, Resulting Numbers: [81, 4]
Generated Node #0,1,2: 34:[81, 4] Operation: 11-7=4
Exploring Operation: 81-7=74, Resulting Numbers: [11, 74]
Generated Node #0,1,3: 34:[11, 74] Operation: 81-7=74
Moving to Node #0,2
Current State: 34:[51, 44, 70], Operations: ['81-11=70']
Exploring Operation: 70-51=19, Resulting Numbers: [44, 19]
Generated Node #0,2,0: 34:[44, 19] Operation: 70-51=19
Exploring Operation: 51-44=7, Resulting Numbers: [70, 7]
Generated Node #0,2,1: 34:[70, 7] Operation: 51-44=7
Exploring Operation: 70-44=26, Resulting Numbers: [51, 26]
Generated Node #0,2,2: 34:[51, 26] Operation: 70-44=26
Exploring Operation: 51+44=95, Resulting Numbers: [70, 95]
Generated Node #0,2,3: 34:[70, 95] Operation: 51+44=95
Moving to Node #0,3,0
Current State: 34:[30, 33], Operations: ['81-51=30', '44-11=33']
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 30+33=63, Resulting Numbers: [63]
63,34 unequal: No Solution
Exploring Operation: 30*33=990, Resulting Numbers: [990]
990,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[30, 4], Operations: ['81-51=30', '44/11=4']
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,34 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[11, 81, 51, 44], Operations: []
Exploring Operation: 81-51=30, Resulting Numbers: [11, 44, 30]
Generated Node #0,3: 34:[11, 44, 30] Operation: 81-51=30
Moving to Node #0,3
Current State: 34:[11, 44, 30], Operations: ['81-51=30']
Exploring Operation: 44/11=4, Resulting Numbers: [30, 4]
Generated Node #0,3,3: 34:[30, 4] Operation: 44/11=4
Moving to Node #0,3,3
Current State: 34:[30, 4], Operations: ['81-51=30', '44/11=4']
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.96441 | hs_4 | sum_heuristic |
[
75,
5,
80,
5
] | 60 | [
"75/5=15",
"80-5=75",
"75-15=60"
] | Current State: 60:[75, 5, 80, 5], Operations: []
Exploring Operation: 75/5=15, Resulting Numbers: [80, 15]
Generated Node #2: [80, 15] from Operation: 75/5=15
Current State: 60:[80, 15], Operations: ['75/5=15']
Exploring Operation: 80-5=75, Resulting Numbers: [15, 75]
Generated Node #3: [15, 75] from Operation: 80-5=75
Current State: 60:[15, 75], Operations: ['75/5=15', '80-5=75']
Exploring Operation: 75-15=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[75, 5, 80, 5], Operations: []
Exploring Operation: 75/5=15, Resulting Numbers: [5, 80, 15]
Generated Node #0,0: 60:[5, 80, 15] Operation: 75/5=15
Exploring Operation: 80-75=5, Resulting Numbers: [5, 5, 5]
Generated Node #0,1: 60:[5, 5, 5] Operation: 80-75=5
Exploring Operation: 80/5=16, Resulting Numbers: [75, 5, 16]
Generated Node #0,2: 60:[75, 5, 16] Operation: 80/5=16
Exploring Operation: 75/5=15, Resulting Numbers: [80, 5, 15]
Generated Node #0,3: 60:[80, 5, 15] Operation: 75/5=15
Exploring Operation: 80/5=16, Resulting Numbers: [75, 5, 16]
Generated Node #0,4: 60:[75, 5, 16] Operation: 80/5=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[5, 5, 5], Operations: ['80-75=5']
Exploring Operation: 5/5=1, Resulting Numbers: [5, 1]
Generated Node #0,1,0: 60:[5, 1] Operation: 5/5=1
Exploring Operation: 5+5=10, Resulting Numbers: [5, 10]
Generated Node #0,1,1: 60:[5, 10] Operation: 5+5=10
Exploring Operation: 5/5=1, Resulting Numbers: [5, 1]
Generated Node #0,1,2: 60:[5, 1] Operation: 5/5=1
Exploring Operation: 5+5=10, Resulting Numbers: [5, 10]
Generated Node #0,1,3: 60:[5, 10] Operation: 5+5=10
Exploring Operation: 5+5=10, Resulting Numbers: [5, 10]
Generated Node #0,1,4: 60:[5, 10] Operation: 5+5=10
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[5, 10], Operations: ['80-75=5', '5+5=10']
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 60:[5, 10], Operations: ['80-75=5', '5+5=10']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 60:[5, 10], Operations: ['80-75=5', '5+5=10']
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[5, 1], Operations: ['80-75=5', '5/5=1']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 60:[5, 1], Operations: ['80-75=5', '5/5=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[75, 5, 16], Operations: ['80/5=16']
Exploring Operation: 75/5=15, Resulting Numbers: [16, 15]
Generated Node #0,2,0: 60:[16, 15] Operation: 75/5=15
Exploring Operation: 75-16=59, Resulting Numbers: [5, 59]
Generated Node #0,2,1: 60:[5, 59] Operation: 75-16=59
Exploring Operation: 5+16=21, Resulting Numbers: [75, 21]
Generated Node #0,2,2: 60:[75, 21] Operation: 5+16=21
Exploring Operation: 75-5=70, Resulting Numbers: [16, 70]
Generated Node #0,2,3: 60:[16, 70] Operation: 75-5=70
Exploring Operation: 16-5=11, Resulting Numbers: [75, 11]
Generated Node #0,2,4: 60:[75, 11] Operation: 16-5=11
Moving to Node #0,2,0
Current State: 60:[16, 15], Operations: ['80/5=16', '75/5=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,60 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[5, 59], Operations: ['80/5=16', '75-16=59']
Exploring Operation: 5*59=295, Resulting Numbers: [295]
295,60 unequal: No Solution
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Moving to Node #0,2,3
Current State: 60:[16, 70], Operations: ['80/5=16', '75-5=70']
Exploring Operation: 16*70=1120, Resulting Numbers: [1120]
1120,60 unequal: No Solution
Exploring Operation: 16+70=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[75, 21], Operations: ['80/5=16', '5+16=21']
Exploring Operation: 75-21=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 75+21=96, Resulting Numbers: [96]
96,60 unequal: No Solution
Exploring Operation: 75*21=1575, Resulting Numbers: [1575]
1575,60 unequal: No Solution
Moving to Node #0,2,4
Current State: 60:[75, 11], Operations: ['80/5=16', '16-5=11']
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 75+11=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Exploring Operation: 75*11=825, Resulting Numbers: [825]
825,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 60:[75, 5, 16], Operations: ['80/5=16']
Exploring Operation: 75-16=59, Resulting Numbers: [5, 59]
Generated Node #0,4,0: 60:[5, 59] Operation: 75-16=59
Exploring Operation: 75-5=70, Resulting Numbers: [16, 70]
Generated Node #0,4,1: 60:[16, 70] Operation: 75-5=70
Exploring Operation: 75/5=15, Resulting Numbers: [16, 15]
Generated Node #0,4,2: 60:[16, 15] Operation: 75/5=15
Exploring Operation: 16-5=11, Resulting Numbers: [75, 11]
Generated Node #0,4,3: 60:[75, 11] Operation: 16-5=11
Exploring Operation: 5+16=21, Resulting Numbers: [75, 21]
Generated Node #0,4,4: 60:[75, 21] Operation: 5+16=21
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 60:[5, 59], Operations: ['80/5=16', '75-16=59']
Exploring Operation: 5*59=295, Resulting Numbers: [295]
295,60 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 60:[16, 15], Operations: ['80/5=16', '75/5=15']
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,60 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 60:[16, 70], Operations: ['80/5=16', '75-5=70']
Exploring Operation: 16+70=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Exploring Operation: 16*70=1120, Resulting Numbers: [1120]
1120,60 unequal: No Solution
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 60:[75, 11], Operations: ['80/5=16', '16-5=11']
Exploring Operation: 75+11=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Exploring Operation: 75*11=825, Resulting Numbers: [825]
825,60 unequal: No Solution
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 60:[75, 21], Operations: ['80/5=16', '5+16=21']
Exploring Operation: 75-21=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 75*21=1575, Resulting Numbers: [1575]
1575,60 unequal: No Solution
Exploring Operation: 75+21=96, Resulting Numbers: [96]
96,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[5, 80, 15], Operations: ['75/5=15']
Exploring Operation: 80-5=75, Resulting Numbers: [15, 75]
Generated Node #0,0,0: 60:[15, 75] Operation: 80-5=75
Exploring Operation: 15-5=10, Resulting Numbers: [80, 10]
Generated Node #0,0,1: 60:[80, 10] Operation: 15-5=10
Exploring Operation: 5+15=20, Resulting Numbers: [80, 20]
Generated Node #0,0,2: 60:[80, 20] Operation: 5+15=20
Exploring Operation: 80/5=16, Resulting Numbers: [15, 16]
Generated Node #0,0,3: 60:[15, 16] Operation: 80/5=16
Exploring Operation: 80-15=65, Resulting Numbers: [5, 65]
Generated Node #0,0,4: 60:[5, 65] Operation: 80-15=65
Moving to Node #0,0,3
Current State: 60:[15, 16], Operations: ['75/5=15', '80/5=16']
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,60 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Moving to Node #0,0,4
Current State: 60:[5, 65], Operations: ['75/5=15', '80-15=65']
Exploring Operation: 5+65=70, Resulting Numbers: [70]
70,60 unequal: No Solution
Exploring Operation: 5*65=325, Resulting Numbers: [325]
325,60 unequal: No Solution
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[75, 5, 80, 5], Operations: []
Exploring Operation: 75/5=15, Resulting Numbers: [5, 80, 15]
Generated Node #0,0: 60:[5, 80, 15] Operation: 75/5=15
Moving to Node #0,0
Current State: 60:[5, 80, 15], Operations: ['75/5=15']
Exploring Operation: 80-15=65, Resulting Numbers: [5, 65]
Generated Node #0,0,4: 60:[5, 65] Operation: 80-15=65
Moving to Node #0,0,4
Current State: 60:[5, 65], Operations: ['75/5=15', '80-15=65']
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.926215 | hs_5 | sum_heuristic |
[
95,
45,
49,
3
] | 89 | [
"95-49=46",
"45*3=135",
"135-46=89"
] | Current State: 89:[95, 45, 49, 3], Operations: []
Exploring Operation: 95-49=46, Resulting Numbers: [45, 3, 46]
Generated Node #2: [45, 3, 46] from Operation: 95-49=46
Current State: 89:[45, 3, 46], Operations: ['95-49=46']
Exploring Operation: 45*3=135, Resulting Numbers: [46, 135]
Generated Node #3: [46, 135] from Operation: 45*3=135
Current State: 89:[46, 135], Operations: ['95-49=46', '45*3=135']
Exploring Operation: 135-46=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[95, 45, 49, 3], Operations: []
Exploring Operation: 95-3=92, Resulting Numbers: [45, 49, 92]
Generated Node #0,0: 89:[45, 49, 92] Operation: 95-3=92
Moving to Node #0,0
Current State: 89:[45, 49, 92], Operations: ['95-3=92']
Exploring Operation: 45+49=94, Resulting Numbers: [92, 94]
Generated Node #0,0,0: 89:[92, 94] Operation: 45+49=94
Moving to Node #0,0,0
Current State: 89:[92, 94], Operations: ['95-3=92', '45+49=94']
Exploring Operation: 94-92=2, Resulting Numbers: [2]
2,89 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
46,
44,
52,
11
] | 49 | [
"46+44=90",
"52-11=41",
"90-41=49"
] | Current State: 49:[46, 44, 52, 11], Operations: []
Exploring Operation: 46+44=90, Resulting Numbers: [52, 11, 90]
Generated Node #2: [52, 11, 90] from Operation: 46+44=90
Current State: 49:[52, 11, 90], Operations: ['46+44=90']
Exploring Operation: 52-11=41, Resulting Numbers: [90, 41]
Generated Node #3: [90, 41] from Operation: 52-11=41
Current State: 49:[90, 41], Operations: ['46+44=90', '52-11=41']
Exploring Operation: 90-41=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[46, 44, 52, 11], Operations: []
Exploring Operation: 52-44=8, Resulting Numbers: [46, 11, 8]
Generated Node #0,0: 49:[46, 11, 8] Operation: 52-44=8
Exploring Operation: 44/11=4, Resulting Numbers: [46, 52, 4]
Generated Node #0,1: 49:[46, 52, 4] Operation: 44/11=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[46, 11, 8], Operations: ['52-44=8']
Exploring Operation: 46+11=57, Resulting Numbers: [8, 57]
Generated Node #0,0,0: 49:[8, 57] Operation: 46+11=57
Exploring Operation: 11-8=3, Resulting Numbers: [46, 3]
Generated Node #0,0,1: 49:[46, 3] Operation: 11-8=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 49:[46, 3], Operations: ['52-44=8', '11-8=3']
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[46, 44, 52, 11], Operations: []
Exploring Operation: 52-44=8, Resulting Numbers: [46, 11, 8]
Generated Node #0,0: 49:[46, 11, 8] Operation: 52-44=8
Moving to Node #0,0
Current State: 49:[46, 11, 8], Operations: ['52-44=8']
Exploring Operation: 11-8=3, Resulting Numbers: [46, 3]
Generated Node #0,0,1: 49:[46, 3] Operation: 11-8=3
Moving to Node #0,0,1
Current State: 49:[46, 3], Operations: ['52-44=8', '11-8=3']
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
55,
84,
68,
4
] | 67 | [
"55+84=139",
"68+4=72",
"139-72=67"
] | Current State: 67:[55, 84, 68, 4], Operations: []
Exploring Operation: 55+84=139, Resulting Numbers: [68, 4, 139]
Generated Node #2: [68, 4, 139] from Operation: 55+84=139
Current State: 67:[68, 4, 139], Operations: ['55+84=139']
Exploring Operation: 68+4=72, Resulting Numbers: [139, 72]
Generated Node #3: [139, 72] from Operation: 68+4=72
Current State: 67:[139, 72], Operations: ['55+84=139', '68+4=72']
Exploring Operation: 139-72=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[55, 84, 68, 4], Operations: []
Exploring Operation: 84-4=80, Resulting Numbers: [55, 68, 80]
Generated Node #0,0: 67:[55, 68, 80] Operation: 84-4=80
Exploring Operation: 55-4=51, Resulting Numbers: [84, 68, 51]
Generated Node #0,1: 67:[84, 68, 51] Operation: 55-4=51
Exploring Operation: 68-4=64, Resulting Numbers: [55, 84, 64]
Generated Node #0,2: 67:[55, 84, 64] Operation: 68-4=64
Exploring Operation: 55+4=59, Resulting Numbers: [84, 68, 59]
Generated Node #0,3: 67:[84, 68, 59] Operation: 55+4=59
Moving to Node #0,0
Current State: 67:[55, 68, 80], Operations: ['84-4=80']
Exploring Operation: 55+68=123, Resulting Numbers: [80, 123]
Generated Node #0,0,0: 67:[80, 123] Operation: 55+68=123
Exploring Operation: 80-68=12, Resulting Numbers: [55, 12]
Generated Node #0,0,1: 67:[55, 12] Operation: 80-68=12
Exploring Operation: 80-55=25, Resulting Numbers: [68, 25]
Generated Node #0,0,2: 67:[68, 25] Operation: 80-55=25
Exploring Operation: 68-55=13, Resulting Numbers: [80, 13]
Generated Node #0,0,3: 67:[80, 13] Operation: 68-55=13
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 67:[68, 25], Operations: ['84-4=80', '80-55=25']
Exploring Operation: 68+25=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 68*25=1700, Resulting Numbers: [1700]
1700,67 unequal: No Solution
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[55, 12], Operations: ['84-4=80', '80-68=12']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[55, 84, 68, 4], Operations: []
Exploring Operation: 84-4=80, Resulting Numbers: [55, 68, 80]
Generated Node #0,0: 67:[55, 68, 80] Operation: 84-4=80
Moving to Node #0,0
Current State: 67:[55, 68, 80], Operations: ['84-4=80']
Exploring Operation: 80-68=12, Resulting Numbers: [55, 12]
Generated Node #0,0,1: 67:[55, 12] Operation: 80-68=12
Moving to Node #0,0,1
Current State: 67:[55, 12], Operations: ['84-4=80', '80-68=12']
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
31,
20,
35,
59
] | 95 | [
"31*35=1085",
"20*59=1180",
"1180-1085=95"
] | Current State: 95:[31, 20, 35, 59], Operations: []
Exploring Operation: 31*35=1085, Resulting Numbers: [20, 59, 1085]
Generated Node #2: [20, 59, 1085] from Operation: 31*35=1085
Current State: 95:[20, 59, 1085], Operations: ['31*35=1085']
Exploring Operation: 20*59=1180, Resulting Numbers: [1085, 1180]
Generated Node #3: [1085, 1180] from Operation: 20*59=1180
Current State: 95:[1085, 1180], Operations: ['31*35=1085', '20*59=1180']
Exploring Operation: 1180-1085=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[31, 20, 35, 59], Operations: []
Exploring Operation: 59-31=28, Resulting Numbers: [20, 35, 28]
Generated Node #0,0: 95:[20, 35, 28] Operation: 59-31=28
Exploring Operation: 31+59=90, Resulting Numbers: [20, 35, 90]
Generated Node #0,1: 95:[20, 35, 90] Operation: 31+59=90
Exploring Operation: 35+59=94, Resulting Numbers: [31, 20, 94]
Generated Node #0,2: 95:[31, 20, 94] Operation: 35+59=94
Exploring Operation: 59-35=24, Resulting Numbers: [31, 20, 24]
Generated Node #0,3: 95:[31, 20, 24] Operation: 59-35=24
Exploring Operation: 35-31=4, Resulting Numbers: [20, 59, 4]
Generated Node #0,4: 95:[20, 59, 4] Operation: 35-31=4
Moving to Node #0,2
Current State: 95:[31, 20, 94], Operations: ['35+59=94']
Exploring Operation: 20+94=114, Resulting Numbers: [31, 114]
Generated Node #0,2,0: 95:[31, 114] Operation: 20+94=114
Exploring Operation: 94-31=63, Resulting Numbers: [20, 63]
Generated Node #0,2,1: 95:[20, 63] Operation: 94-31=63
Exploring Operation: 31+20=51, Resulting Numbers: [94, 51]
Generated Node #0,2,2: 95:[94, 51] Operation: 31+20=51
Exploring Operation: 31+94=125, Resulting Numbers: [20, 125]
Generated Node #0,2,3: 95:[20, 125] Operation: 31+94=125
Exploring Operation: 31-20=11, Resulting Numbers: [94, 11]
Generated Node #0,2,4: 95:[94, 11] Operation: 31-20=11
Moving to Node #0,3
Current State: 95:[31, 20, 24], Operations: ['59-35=24']
Exploring Operation: 31+24=55, Resulting Numbers: [20, 55]
Generated Node #0,3,0: 95:[20, 55] Operation: 31+24=55
Exploring Operation: 31-20=11, Resulting Numbers: [24, 11]
Generated Node #0,3,1: 95:[24, 11] Operation: 31-20=11
Exploring Operation: 31+20=51, Resulting Numbers: [24, 51]
Generated Node #0,3,2: 95:[24, 51] Operation: 31+20=51
Exploring Operation: 24-20=4, Resulting Numbers: [31, 4]
Generated Node #0,3,3: 95:[31, 4] Operation: 24-20=4
Exploring Operation: 31-24=7, Resulting Numbers: [20, 7]
Generated Node #0,3,4: 95:[20, 7] Operation: 31-24=7
Moving to Node #0,1
Current State: 95:[20, 35, 90], Operations: ['31+59=90']
Exploring Operation: 20+90=110, Resulting Numbers: [35, 110]
Generated Node #0,1,0: 95:[35, 110] Operation: 20+90=110
Exploring Operation: 35+90=125, Resulting Numbers: [20, 125]
Generated Node #0,1,1: 95:[20, 125] Operation: 35+90=125
Exploring Operation: 20+35=55, Resulting Numbers: [90, 55]
Generated Node #0,1,2: 95:[90, 55] Operation: 20+35=55
Exploring Operation: 90-35=55, Resulting Numbers: [20, 55]
Generated Node #0,1,3: 95:[20, 55] Operation: 90-35=55
Exploring Operation: 35-20=15, Resulting Numbers: [90, 15]
Generated Node #0,1,4: 95:[90, 15] Operation: 35-20=15
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 95:[90, 15], Operations: ['31+59=90', '35-20=15']
Exploring Operation: 90+15=105, Resulting Numbers: [105]
105,95 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,95 unequal: No Solution
Exploring Operation: 90*15=1350, Resulting Numbers: [1350]
1350,95 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[35, 110], Operations: ['31+59=90', '20+90=110']
Exploring Operation: 110-35=75, Resulting Numbers: [75]
75,95 unequal: No Solution
Exploring Operation: 35*110=3850, Resulting Numbers: [3850]
3850,95 unequal: No Solution
Exploring Operation: 35+110=145, Resulting Numbers: [145]
145,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[20, 125], Operations: ['31+59=90', '35+90=125']
Exploring Operation: 20+125=145, Resulting Numbers: [145]
145,95 unequal: No Solution
Exploring Operation: 125-20=105, Resulting Numbers: [105]
105,95 unequal: No Solution
Exploring Operation: 20*125=2500, Resulting Numbers: [2500]
2500,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 95:[20, 55], Operations: ['31+59=90', '90-35=55']
Exploring Operation: 55-20=35, Resulting Numbers: [35]
35,95 unequal: No Solution
Exploring Operation: 20+55=75, Resulting Numbers: [75]
75,95 unequal: No Solution
Exploring Operation: 20*55=1100, Resulting Numbers: [1100]
1100,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 95:[90, 55], Operations: ['31+59=90', '20+35=55']
Exploring Operation: 90-55=35, Resulting Numbers: [35]
35,95 unequal: No Solution
Exploring Operation: 90+55=145, Resulting Numbers: [145]
145,95 unequal: No Solution
Exploring Operation: 90*55=4950, Resulting Numbers: [4950]
4950,95 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: 95:[20, 35, 28], Operations: ['59-31=28']
Exploring Operation: 35-20=15, Resulting Numbers: [28, 15]
Generated Node #0,0,0: 95:[28, 15] Operation: 35-20=15
Exploring Operation: 28-20=8, Resulting Numbers: [35, 8]
Generated Node #0,0,1: 95:[35, 8] Operation: 28-20=8
Exploring Operation: 35-28=7, Resulting Numbers: [20, 7]
Generated Node #0,0,2: 95:[20, 7] Operation: 35-28=7
Exploring Operation: 35+28=63, Resulting Numbers: [20, 63]
Generated Node #0,0,3: 95:[20, 63] Operation: 35+28=63
Exploring Operation: 20+35=55, Resulting Numbers: [28, 55]
Generated Node #0,0,4: 95:[28, 55] Operation: 20+35=55
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 95:[20, 7], Operations: ['59-31=28', '35-28=7']
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,95 unequal: No Solution
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,95 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[28, 15], Operations: ['59-31=28', '35-20=15']
Exploring Operation: 28+15=43, Resulting Numbers: [43]
43,95 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 28*15=420, Resulting Numbers: [420]
420,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[35, 8], Operations: ['59-31=28', '28-20=8']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,95 unequal: No Solution
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,95 unequal: No Solution
Exploring Operation: 35*8=280, Resulting Numbers: [280]
280,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 95:[20, 63], Operations: ['59-31=28', '35+28=63']
Exploring Operation: 20+63=83, Resulting Numbers: [83]
83,95 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,95 unequal: No Solution
Exploring Operation: 20*63=1260, Resulting Numbers: [1260]
1260,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 95:[28, 55], Operations: ['59-31=28', '20+35=55']
Exploring Operation: 28*55=1540, Resulting Numbers: [1540]
1540,95 unequal: No Solution
Exploring Operation: 28+55=83, Resulting Numbers: [83]
83,95 unequal: No Solution
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,95 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: 95:[20, 59, 4], Operations: ['35-31=4']
Exploring Operation: 59-4=55, Resulting Numbers: [20, 55]
Generated Node #0,4,0: 95:[20, 55] Operation: 59-4=55
Exploring Operation: 59-20=39, Resulting Numbers: [4, 39]
Generated Node #0,4,1: 95:[4, 39] Operation: 59-20=39
Exploring Operation: 59+4=63, Resulting Numbers: [20, 63]
Generated Node #0,4,2: 95:[20, 63] Operation: 59+4=63
Exploring Operation: 20+59=79, Resulting Numbers: [4, 79]
Generated Node #0,4,3: 95:[4, 79] Operation: 20+59=79
Exploring Operation: 20/4=5, Resulting Numbers: [59, 5]
Generated Node #0,4,4: 95:[59, 5] Operation: 20/4=5
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 95:[4, 79], Operations: ['35-31=4', '20+59=79']
Exploring Operation: 4*79=316, Resulting Numbers: [316]
316,95 unequal: No Solution
Exploring Operation: 4+79=83, Resulting Numbers: [83]
83,95 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 95:[4, 39], Operations: ['35-31=4', '59-20=39']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,95 unequal: No Solution
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,95 unequal: No Solution
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 95:[20, 63], Operations: ['35-31=4', '59+4=63']
Exploring Operation: 20+63=83, Resulting Numbers: [83]
83,95 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,95 unequal: No Solution
Exploring Operation: 20*63=1260, Resulting Numbers: [1260]
1260,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 95:[59, 5], Operations: ['35-31=4', '20/4=5']
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,95 unequal: No Solution
Exploring Operation: 59*5=295, Resulting Numbers: [295]
295,95 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 95:[20, 55], Operations: ['35-31=4', '59-4=55']
Exploring Operation: 55-20=35, Resulting Numbers: [35]
35,95 unequal: No Solution
Exploring Operation: 20*55=1100, Resulting Numbers: [1100]
1100,95 unequal: No Solution
Exploring Operation: 20+55=75, Resulting Numbers: [75]
75,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,4
Current State: 95:[20, 7], Operations: ['59-35=24', '31-24=7']
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,95 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,95 unequal: No Solution
Moving to Node #0,2,4
Current State: 95:[94, 11], Operations: ['35+59=94', '31-20=11']
Exploring Operation: 94*11=1034, Resulting Numbers: [1034]
1034,95 unequal: No Solution
Exploring Operation: 94-11=83, Resulting Numbers: [83]
83,95 unequal: No Solution
Exploring Operation: 94+11=105, Resulting Numbers: [105]
105,95 unequal: No Solution
Moving to Node #0,3,1
Current State: 95:[24, 11], Operations: ['59-35=24', '31-20=11']
Exploring Operation: 24*11=264, Resulting Numbers: [264]
264,95 unequal: No Solution
Exploring Operation: 24+11=35, Resulting Numbers: [35]
35,95 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Moving to Node #0,3,3
Current State: 95:[31, 4], Operations: ['59-35=24', '24-20=4']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,95 unequal: No Solution
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,95 unequal: No Solution
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,95 unequal: No Solution
Moving to Node #0,2,3
Current State: 95:[20, 125], Operations: ['35+59=94', '31+94=125']
Exploring Operation: 20+125=145, Resulting Numbers: [145]
145,95 unequal: No Solution
Exploring Operation: 125-20=105, Resulting Numbers: [105]
105,95 unequal: No Solution
Exploring Operation: 20*125=2500, Resulting Numbers: [2500]
2500,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[31, 114], Operations: ['35+59=94', '20+94=114']
Exploring Operation: 31*114=3534, Resulting Numbers: [3534]
3534,95 unequal: No Solution
Exploring Operation: 114-31=83, Resulting Numbers: [83]
83,95 unequal: No Solution
Exploring Operation: 31+114=145, Resulting Numbers: [145]
145,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[94, 51], Operations: ['35+59=94', '31+20=51']
Exploring Operation: 94*51=4794, Resulting Numbers: [4794]
4794,95 unequal: No Solution
Exploring Operation: 94-51=43, Resulting Numbers: [43]
43,95 unequal: No Solution
Exploring Operation: 94+51=145, Resulting Numbers: [145]
145,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[20, 63], Operations: ['35+59=94', '94-31=63']
Exploring Operation: 20+63=83, Resulting Numbers: [83]
83,95 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,95 unequal: No Solution
Exploring Operation: 20*63=1260, Resulting Numbers: [1260]
1260,95 unequal: No Solution
Moving to Node #0,3,2
Current State: 95:[24, 51], Operations: ['59-35=24', '31+20=51']
Exploring Operation: 24*51=1224, Resulting Numbers: [1224]
1224,95 unequal: No Solution
Exploring Operation: 24+51=75, Resulting Numbers: [75]
75,95 unequal: No Solution
Exploring Operation: 51-24=27, Resulting Numbers: [27]
27,95 unequal: No Solution
Moving to Node #0,3,0
Current State: 95:[20, 55], Operations: ['59-35=24', '31+24=55']
Exploring Operation: 20*55=1100, Resulting Numbers: [1100]
1100,95 unequal: No Solution
Exploring Operation: 55-20=35, Resulting Numbers: [35]
35,95 unequal: No Solution
Exploring Operation: 20+55=75, Resulting Numbers: [75]
75,95 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
10,
3,
4,
81
] | 71 | [
"81-10=71",
"4-3=1",
"71*1=71"
] | Current State: 71:[10, 3, 4, 81], Operations: []
Exploring Operation: 81-10=71, Resulting Numbers: [3, 4, 71]
Generated Node #2: [3, 4, 71] from Operation: 81-10=71
Current State: 71:[3, 4, 71], Operations: ['81-10=71']
Exploring Operation: 4-3=1, Resulting Numbers: [71, 1]
Generated Node #3: [71, 1] from Operation: 4-3=1
Current State: 71:[71, 1], Operations: ['81-10=71', '4-3=1']
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[10, 3, 4, 81], Operations: []
Exploring Operation: 10+3=13, Resulting Numbers: [4, 81, 13]
Generated Node #0,0: 71:[4, 81, 13] Operation: 10+3=13
Exploring Operation: 10*3=30, Resulting Numbers: [4, 81, 30]
Generated Node #0,1: 71:[4, 81, 30] Operation: 10*3=30
Exploring Operation: 10*4=40, Resulting Numbers: [3, 81, 40]
Generated Node #0,2: 71:[3, 81, 40] Operation: 10*4=40
Exploring Operation: 3*4=12, Resulting Numbers: [10, 81, 12]
Generated Node #0,3: 71:[10, 81, 12] Operation: 3*4=12
Exploring Operation: 10+4=14, Resulting Numbers: [3, 81, 14]
Generated Node #0,4: 71:[3, 81, 14] Operation: 10+4=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[3, 81, 40], Operations: ['10*4=40']
Exploring Operation: 81-3=78, Resulting Numbers: [40, 78]
Generated Node #0,2,0: 71:[40, 78] Operation: 81-3=78
Exploring Operation: 40-3=37, Resulting Numbers: [81, 37]
Generated Node #0,2,1: 71:[81, 37] Operation: 40-3=37
Exploring Operation: 3*40=120, Resulting Numbers: [81, 120]
Generated Node #0,2,2: 71:[81, 120] Operation: 3*40=120
Exploring Operation: 3+40=43, Resulting Numbers: [81, 43]
Generated Node #0,2,3: 71:[81, 43] Operation: 3+40=43
Exploring Operation: 3+81=84, Resulting Numbers: [40, 84]
Generated Node #0,2,4: 71:[40, 84] Operation: 3+81=84
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[40, 78], Operations: ['10*4=40', '81-3=78']
Exploring Operation: 40*78=3120, Resulting Numbers: [3120]
3120,71 unequal: No Solution
Exploring Operation: 40+78=118, Resulting Numbers: [118]
118,71 unequal: No Solution
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 71:[81, 43], Operations: ['10*4=40', '3+40=43']
Exploring Operation: 81+43=124, Resulting Numbers: [124]
124,71 unequal: No Solution
Exploring Operation: 81-43=38, Resulting Numbers: [38]
38,71 unequal: No Solution
Exploring Operation: 81*43=3483, Resulting Numbers: [3483]
3483,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[81, 37], Operations: ['10*4=40', '40-3=37']
Exploring Operation: 81+37=118, Resulting Numbers: [118]
118,71 unequal: No Solution
Exploring Operation: 81*37=2997, Resulting Numbers: [2997]
2997,71 unequal: No Solution
Exploring Operation: 81-37=44, Resulting Numbers: [44]
44,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 71:[40, 84], Operations: ['10*4=40', '3+81=84']
Exploring Operation: 84-40=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Exploring Operation: 40*84=3360, Resulting Numbers: [3360]
3360,71 unequal: No Solution
Exploring Operation: 40+84=124, Resulting Numbers: [124]
124,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[81, 120], Operations: ['10*4=40', '3*40=120']
Exploring Operation: 120-81=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 81+120=201, Resulting Numbers: [201]
201,71 unequal: No Solution
Exploring Operation: 81*120=9720, Resulting Numbers: [9720]
9720,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[4, 81, 30], Operations: ['10*3=30']
Exploring Operation: 4+30=34, Resulting Numbers: [81, 34]
Generated Node #0,1,0: 71:[81, 34] Operation: 4+30=34
Exploring Operation: 4*30=120, Resulting Numbers: [81, 120]
Generated Node #0,1,1: 71:[81, 120] Operation: 4*30=120
Exploring Operation: 4+81=85, Resulting Numbers: [30, 85]
Generated Node #0,1,2: 71:[30, 85] Operation: 4+81=85
Exploring Operation: 81-4=77, Resulting Numbers: [30, 77]
Generated Node #0,1,3: 71:[30, 77] Operation: 81-4=77
Exploring Operation: 30-4=26, Resulting Numbers: [81, 26]
Generated Node #0,1,4: 71:[81, 26] Operation: 30-4=26
Moving to Node #0,1,0
Current State: 71:[81, 34], Operations: ['10*3=30', '4+30=34']
Exploring Operation: 81-34=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 81+34=115, Resulting Numbers: [115]
115,71 unequal: No Solution
Exploring Operation: 81*34=2754, Resulting Numbers: [2754]
2754,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[30, 77], Operations: ['10*3=30', '81-4=77']
Exploring Operation: 30+77=107, Resulting Numbers: [107]
107,71 unequal: No Solution
Exploring Operation: 30*77=2310, Resulting Numbers: [2310]
2310,71 unequal: No Solution
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[30, 85], Operations: ['10*3=30', '4+81=85']
Exploring Operation: 30*85=2550, Resulting Numbers: [2550]
2550,71 unequal: No Solution
Exploring Operation: 85-30=55, Resulting Numbers: [55]
55,71 unequal: No Solution
Exploring Operation: 30+85=115, Resulting Numbers: [115]
115,71 unequal: No Solution
Moving to Node #0,1,4
Current State: 71:[81, 26], Operations: ['10*3=30', '30-4=26']
Exploring Operation: 81*26=2106, Resulting Numbers: [2106]
2106,71 unequal: No Solution
Exploring Operation: 81+26=107, Resulting Numbers: [107]
107,71 unequal: No Solution
Exploring Operation: 81-26=55, Resulting Numbers: [55]
55,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[81, 120], Operations: ['10*3=30', '4*30=120']
Exploring Operation: 81*120=9720, Resulting Numbers: [9720]
9720,71 unequal: No Solution
Exploring Operation: 120-81=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 81+120=201, Resulting Numbers: [201]
201,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[10, 81, 12], Operations: ['3*4=12']
Exploring Operation: 81-12=69, Resulting Numbers: [10, 69]
Generated Node #0,3,0: 71:[10, 69] Operation: 81-12=69
Exploring Operation: 81-10=71, Resulting Numbers: [12, 71]
Generated Node #0,3,1: 71:[12, 71] Operation: 81-10=71
Exploring Operation: 10*12=120, Resulting Numbers: [81, 120]
Generated Node #0,3,2: 71:[81, 120] Operation: 10*12=120
Exploring Operation: 10+12=22, Resulting Numbers: [81, 22]
Generated Node #0,3,3: 71:[81, 22] Operation: 10+12=22
Exploring Operation: 10+81=91, Resulting Numbers: [12, 91]
Generated Node #0,3,4: 71:[12, 91] Operation: 10+81=91
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 71:[12, 71], Operations: ['3*4=12', '81-10=71']
Exploring Operation: 12+71=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 12*71=852, Resulting Numbers: [852]
852,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,3,2
Current State: 71:[81, 120], Operations: ['3*4=12', '10*12=120']
Exploring Operation: 81+120=201, Resulting Numbers: [201]
201,71 unequal: No Solution
Exploring Operation: 81*120=9720, Resulting Numbers: [9720]
9720,71 unequal: No Solution
Exploring Operation: 120-81=39, Resulting Numbers: [39]
39,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,3,3
Current State: 71:[81, 22], Operations: ['3*4=12', '10+12=22']
Exploring Operation: 81*22=1782, Resulting Numbers: [1782]
1782,71 unequal: No Solution
Exploring Operation: 81-22=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 81+22=103, Resulting Numbers: [103]
103,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,3,0
Current State: 71:[10, 69], Operations: ['3*4=12', '81-12=69']
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 10*69=690, Resulting Numbers: [690]
690,71 unequal: No Solution
Exploring Operation: 10+69=79, Resulting Numbers: [79]
79,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,3,4
Current State: 71:[12, 91], Operations: ['3*4=12', '10+81=91']
Exploring Operation: 12*91=1092, Resulting Numbers: [1092]
1092,71 unequal: No Solution
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Exploring Operation: 12+91=103, Resulting Numbers: [103]
103,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,0
Current State: 71:[4, 81, 13], Operations: ['10+3=13']
Exploring Operation: 81-4=77, Resulting Numbers: [13, 77]
Generated Node #0,0,0: 71:[13, 77] Operation: 81-4=77
Exploring Operation: 4+81=85, Resulting Numbers: [13, 85]
Generated Node #0,0,1: 71:[13, 85] Operation: 4+81=85
Exploring Operation: 4+13=17, Resulting Numbers: [81, 17]
Generated Node #0,0,2: 71:[81, 17] Operation: 4+13=17
Exploring Operation: 4*13=52, Resulting Numbers: [81, 52]
Generated Node #0,0,3: 71:[81, 52] Operation: 4*13=52
Exploring Operation: 81-13=68, Resulting Numbers: [4, 68]
Generated Node #0,0,4: 71:[4, 68] Operation: 81-13=68
Moving to Node #0,0,3
Current State: 71:[81, 52], Operations: ['10+3=13', '4*13=52']
Exploring Operation: 81*52=4212, Resulting Numbers: [4212]
4212,71 unequal: No Solution
Exploring Operation: 81-52=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 81+52=133, Resulting Numbers: [133]
133,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[81, 17], Operations: ['10+3=13', '4+13=17']
Exploring Operation: 81-17=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 81+17=98, Resulting Numbers: [98]
98,71 unequal: No Solution
Exploring Operation: 81*17=1377, Resulting Numbers: [1377]
1377,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[13, 77], Operations: ['10+3=13', '81-4=77']
Exploring Operation: 13+77=90, Resulting Numbers: [90]
90,71 unequal: No Solution
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 13*77=1001, Resulting Numbers: [1001]
1001,71 unequal: No Solution
Moving to Node #0,0,4
Current State: 71:[4, 68], Operations: ['10+3=13', '81-13=68']
Exploring Operation: 4*68=272, Resulting Numbers: [272]
272,71 unequal: No Solution
Exploring Operation: 4+68=72, Resulting Numbers: [72]
72,71 unequal: No Solution
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[13, 85], Operations: ['10+3=13', '4+81=85']
Exploring Operation: 13*85=1105, Resulting Numbers: [1105]
1105,71 unequal: No Solution
Exploring Operation: 13+85=98, Resulting Numbers: [98]
98,71 unequal: No Solution
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 71:[3, 81, 14], Operations: ['10+4=14']
Exploring Operation: 3*14=42, Resulting Numbers: [81, 42]
Generated Node #0,4,0: 71:[81, 42] Operation: 3*14=42
Exploring Operation: 3+81=84, Resulting Numbers: [14, 84]
Generated Node #0,4,1: 71:[14, 84] Operation: 3+81=84
Exploring Operation: 14-3=11, Resulting Numbers: [81, 11]
Generated Node #0,4,2: 71:[81, 11] Operation: 14-3=11
Exploring Operation: 3+14=17, Resulting Numbers: [81, 17]
Generated Node #0,4,3: 71:[81, 17] Operation: 3+14=17
Exploring Operation: 81-3=78, Resulting Numbers: [14, 78]
Generated Node #0,4,4: 71:[14, 78] Operation: 81-3=78
Moving to Node #0,4,0
Current State: 71:[81, 42], Operations: ['10+4=14', '3*14=42']
Exploring Operation: 81*42=3402, Resulting Numbers: [3402]
3402,71 unequal: No Solution
Exploring Operation: 81+42=123, Resulting Numbers: [123]
123,71 unequal: No Solution
Exploring Operation: 81-42=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Moving to Node #0,4,4
Current State: 71:[14, 78], Operations: ['10+4=14', '81-3=78']
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 14*78=1092, Resulting Numbers: [1092]
1092,71 unequal: No Solution
Exploring Operation: 14+78=92, Resulting Numbers: [92]
92,71 unequal: No Solution
Moving to Node #0,4,3
Current State: 71:[81, 17], Operations: ['10+4=14', '3+14=17']
Exploring Operation: 81+17=98, Resulting Numbers: [98]
98,71 unequal: No Solution
Exploring Operation: 81*17=1377, Resulting Numbers: [1377]
1377,71 unequal: No Solution
Exploring Operation: 81-17=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Moving to Node #0,4,1
Current State: 71:[14, 84], Operations: ['10+4=14', '3+81=84']
Exploring Operation: 84/14=6, Resulting Numbers: [6]
6,71 unequal: No Solution
Exploring Operation: 14*84=1176, Resulting Numbers: [1176]
1176,71 unequal: No Solution
Exploring Operation: 14+84=98, Resulting Numbers: [98]
98,71 unequal: No Solution
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Moving to Node #0,4,2
Current State: 71:[81, 11], Operations: ['10+4=14', '14-3=11']
Exploring Operation: 81-11=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 81+11=92, Resulting Numbers: [92]
92,71 unequal: No Solution
Exploring Operation: 81*11=891, Resulting Numbers: [891]
891,71 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 |
[
1,
24,
82,
84
] | 27 | [
"1+24=25",
"84-82=2",
"25+2=27"
] | Current State: 27:[1, 24, 82, 84], Operations: []
Exploring Operation: 1+24=25, Resulting Numbers: [82, 84, 25]
Generated Node #2: [82, 84, 25] from Operation: 1+24=25
Current State: 27:[82, 84, 25], Operations: ['1+24=25']
Exploring Operation: 84-82=2, Resulting Numbers: [25, 2]
Generated Node #3: [25, 2] from Operation: 84-82=2
Current State: 27:[25, 2], Operations: ['1+24=25', '84-82=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[1, 24, 82, 84], Operations: []
Exploring Operation: 82-24=58, Resulting Numbers: [1, 84, 58]
Generated Node #0,0: 27:[1, 84, 58] Operation: 82-24=58
Exploring Operation: 84-82=2, Resulting Numbers: [1, 24, 2]
Generated Node #0,1: 27:[1, 24, 2] Operation: 84-82=2
Moving to Node #0,1
Current State: 27:[1, 24, 2], Operations: ['84-82=2']
Exploring Operation: 1+24=25, Resulting Numbers: [2, 25]
Generated Node #0,1,0: 27:[2, 25] Operation: 1+24=25
Exploring Operation: 1+2=3, Resulting Numbers: [24, 3]
Generated Node #0,1,1: 27:[24, 3] Operation: 1+2=3
Moving to Node #0,0
Current State: 27:[1, 84, 58], Operations: ['82-24=58']
Exploring Operation: 84-1=83, Resulting Numbers: [58, 83]
Generated Node #0,0,0: 27:[58, 83] Operation: 84-1=83
Exploring Operation: 84-58=26, Resulting Numbers: [1, 26]
Generated Node #0,0,1: 27:[1, 26] Operation: 84-58=26
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[1, 26], Operations: ['82-24=58', '84-58=26']
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[1, 24, 82, 84], Operations: []
Exploring Operation: 82-24=58, Resulting Numbers: [1, 84, 58]
Generated Node #0,0: 27:[1, 84, 58] Operation: 82-24=58
Moving to Node #0,0
Current State: 27:[1, 84, 58], Operations: ['82-24=58']
Exploring Operation: 84-58=26, Resulting Numbers: [1, 26]
Generated Node #0,0,1: 27:[1, 26] Operation: 84-58=26
Moving to Node #0,0,1
Current State: 27:[1, 26], Operations: ['82-24=58', '84-58=26']
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
6,
80,
42,
65
] | 51 | [
"80-6=74",
"65-42=23",
"74-23=51"
] | Current State: 51:[6, 80, 42, 65], Operations: []
Exploring Operation: 80-6=74, Resulting Numbers: [42, 65, 74]
Generated Node #2: [42, 65, 74] from Operation: 80-6=74
Current State: 51:[42, 65, 74], Operations: ['80-6=74']
Exploring Operation: 65-42=23, Resulting Numbers: [74, 23]
Generated Node #3: [74, 23] from Operation: 65-42=23
Current State: 51:[74, 23], Operations: ['80-6=74', '65-42=23']
Exploring Operation: 74-23=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[6, 80, 42, 65], Operations: []
Exploring Operation: 80-65=15, Resulting Numbers: [6, 42, 15]
Generated Node #0,0: 51:[6, 42, 15] Operation: 80-65=15
Moving to Node #0,0
Current State: 51:[6, 42, 15], Operations: ['80-65=15']
Exploring Operation: 6+42=48, Resulting Numbers: [15, 48]
Generated Node #0,0,0: 51:[15, 48] Operation: 6+42=48
Moving to Node #0,0,0
Current State: 51:[15, 48], Operations: ['80-65=15', '6+42=48']
Exploring Operation: 15+48=63, Resulting Numbers: [63]
63,51 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
44,
98,
1
] | 17 | [
"98-44=54",
"54/3=18",
"18-1=17"
] | Current State: 17:[3, 44, 98, 1], Operations: []
Exploring Operation: 98-44=54, Resulting Numbers: [3, 1, 54]
Generated Node #2: [3, 1, 54] from Operation: 98-44=54
Current State: 17:[3, 1, 54], Operations: ['98-44=54']
Exploring Operation: 54/3=18, Resulting Numbers: [1, 18]
Generated Node #3: [1, 18] from Operation: 54/3=18
Current State: 17:[1, 18], Operations: ['98-44=54', '54/3=18']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[3, 44, 98, 1], Operations: []
Exploring Operation: 98-3=95, Resulting Numbers: [44, 1, 95]
Generated Node #0,0: 17:[44, 1, 95] Operation: 98-3=95
Exploring Operation: 3+1=4, Resulting Numbers: [44, 98, 4]
Generated Node #0,1: 17:[44, 98, 4] Operation: 3+1=4
Exploring Operation: 98-44=54, Resulting Numbers: [3, 1, 54]
Generated Node #0,2: 17:[3, 1, 54] Operation: 98-44=54
Exploring Operation: 44-3=41, Resulting Numbers: [98, 1, 41]
Generated Node #0,3: 17:[98, 1, 41] Operation: 44-3=41
Exploring Operation: 44-1=43, Resulting Numbers: [3, 98, 43]
Generated Node #0,4: 17:[3, 98, 43] Operation: 44-1=43
Moving to Node #0,2
Current State: 17:[3, 1, 54], Operations: ['98-44=54']
Exploring Operation: 3*1=3, Resulting Numbers: [54, 3]
Generated Node #0,2,0: 17:[54, 3] Operation: 3*1=3
Exploring Operation: 3+1=4, Resulting Numbers: [54, 4]
Generated Node #0,2,1: 17:[54, 4] Operation: 3+1=4
Exploring Operation: 54-3=51, Resulting Numbers: [1, 51]
Generated Node #0,2,2: 17:[1, 51] Operation: 54-3=51
Exploring Operation: 54-1=53, Resulting Numbers: [3, 53]
Generated Node #0,2,3: 17:[3, 53] Operation: 54-1=53
Exploring Operation: 54/3=18, Resulting Numbers: [1, 18]
Generated Node #0,2,4: 17:[1, 18] Operation: 54/3=18
Moving to Node #0,1
Current State: 17:[44, 98, 4], Operations: ['3+1=4']
Exploring Operation: 98-44=54, Resulting Numbers: [4, 54]
Generated Node #0,1,0: 17:[4, 54] Operation: 98-44=54
Exploring Operation: 98-4=94, Resulting Numbers: [44, 94]
Generated Node #0,1,1: 17:[44, 94] Operation: 98-4=94
Exploring Operation: 44/4=11, Resulting Numbers: [98, 11]
Generated Node #0,1,2: 17:[98, 11] Operation: 44/4=11
Exploring Operation: 44+4=48, Resulting Numbers: [98, 48]
Generated Node #0,1,3: 17:[98, 48] Operation: 44+4=48
Exploring Operation: 44-4=40, Resulting Numbers: [98, 40]
Generated Node #0,1,4: 17:[98, 40] Operation: 44-4=40
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[4, 54], Operations: ['3+1=4', '98-44=54']
Exploring Operation: 4*54=216, Resulting Numbers: [216]
216,17 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,17 unequal: No Solution
Exploring Operation: 4+54=58, Resulting Numbers: [58]
58,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 17:[98, 11], Operations: ['3+1=4', '44/4=11']
Exploring Operation: 98*11=1078, Resulting Numbers: [1078]
1078,17 unequal: No Solution
Exploring Operation: 98+11=109, Resulting Numbers: [109]
109,17 unequal: No Solution
Exploring Operation: 98-11=87, Resulting Numbers: [87]
87,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 17:[44, 94], Operations: ['3+1=4', '98-4=94']
Exploring Operation: 94-44=50, Resulting Numbers: [50]
50,17 unequal: No Solution
Exploring Operation: 44+94=138, Resulting Numbers: [138]
138,17 unequal: No Solution
Exploring Operation: 44*94=4136, Resulting Numbers: [4136]
4136,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 17:[98, 40], Operations: ['3+1=4', '44-4=40']
Exploring Operation: 98-40=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 98+40=138, Resulting Numbers: [138]
138,17 unequal: No Solution
Exploring Operation: 98*40=3920, Resulting Numbers: [3920]
3920,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 17:[98, 48], Operations: ['3+1=4', '44+4=48']
Exploring Operation: 98+48=146, Resulting Numbers: [146]
146,17 unequal: No Solution
Exploring Operation: 98-48=50, Resulting Numbers: [50]
50,17 unequal: No Solution
Exploring Operation: 98*48=4704, Resulting Numbers: [4704]
4704,17 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: 17:[3, 98, 43], Operations: ['44-1=43']
Exploring Operation: 3+43=46, Resulting Numbers: [98, 46]
Generated Node #0,4,0: 17:[98, 46] Operation: 3+43=46
Exploring Operation: 98-3=95, Resulting Numbers: [43, 95]
Generated Node #0,4,1: 17:[43, 95] Operation: 98-3=95
Exploring Operation: 3+98=101, Resulting Numbers: [43, 101]
Generated Node #0,4,2: 17:[43, 101] Operation: 3+98=101
Exploring Operation: 43-3=40, Resulting Numbers: [98, 40]
Generated Node #0,4,3: 17:[98, 40] Operation: 43-3=40
Exploring Operation: 98-43=55, Resulting Numbers: [3, 55]
Generated Node #0,4,4: 17:[3, 55] Operation: 98-43=55
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 17:[3, 55], Operations: ['44-1=43', '98-43=55']
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,17 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 17:[43, 95], Operations: ['44-1=43', '98-3=95']
Exploring Operation: 95-43=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Exploring Operation: 43*95=4085, Resulting Numbers: [4085]
4085,17 unequal: No Solution
Exploring Operation: 43+95=138, Resulting Numbers: [138]
138,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 17:[98, 40], Operations: ['44-1=43', '43-3=40']
Exploring Operation: 98-40=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 98+40=138, Resulting Numbers: [138]
138,17 unequal: No Solution
Exploring Operation: 98*40=3920, Resulting Numbers: [3920]
3920,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 17:[98, 46], Operations: ['44-1=43', '3+43=46']
Exploring Operation: 98*46=4508, Resulting Numbers: [4508]
4508,17 unequal: No Solution
Exploring Operation: 98+46=144, Resulting Numbers: [144]
144,17 unequal: No Solution
Exploring Operation: 98-46=52, Resulting Numbers: [52]
52,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 17:[43, 101], Operations: ['44-1=43', '3+98=101']
Exploring Operation: 43+101=144, Resulting Numbers: [144]
144,17 unequal: No Solution
Exploring Operation: 43*101=4343, Resulting Numbers: [4343]
4343,17 unequal: No Solution
Exploring Operation: 101-43=58, Resulting Numbers: [58]
58,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 17:[44, 1, 95], Operations: ['98-3=95']
Exploring Operation: 44/1=44, Resulting Numbers: [95, 44]
Generated Node #0,0,0: 17:[95, 44] Operation: 44/1=44
Exploring Operation: 44*1=44, Resulting Numbers: [95, 44]
Generated Node #0,0,1: 17:[95, 44] Operation: 44*1=44
Exploring Operation: 95-1=94, Resulting Numbers: [44, 94]
Generated Node #0,0,2: 17:[44, 94] Operation: 95-1=94
Exploring Operation: 44-1=43, Resulting Numbers: [95, 43]
Generated Node #0,0,3: 17:[95, 43] Operation: 44-1=43
Exploring Operation: 95-44=51, Resulting Numbers: [1, 51]
Generated Node #0,0,4: 17:[1, 51] Operation: 95-44=51
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 17:[1, 51], Operations: ['98-3=95', '95-44=51']
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,17 unequal: No Solution
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,17 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 17:[44, 94], Operations: ['98-3=95', '95-1=94']
Exploring Operation: 94-44=50, Resulting Numbers: [50]
50,17 unequal: No Solution
Exploring Operation: 44*94=4136, Resulting Numbers: [4136]
4136,17 unequal: No Solution
Exploring Operation: 44+94=138, Resulting Numbers: [138]
138,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 17:[95, 43], Operations: ['98-3=95', '44-1=43']
Exploring Operation: 95+43=138, Resulting Numbers: [138]
138,17 unequal: No Solution
Exploring Operation: 95*43=4085, Resulting Numbers: [4085]
4085,17 unequal: No Solution
Exploring Operation: 95-43=52, Resulting Numbers: [52]
52,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[95, 44], Operations: ['98-3=95', '44/1=44']
Exploring Operation: 95*44=4180, Resulting Numbers: [4180]
4180,17 unequal: No Solution
Exploring Operation: 95-44=51, Resulting Numbers: [51]
51,17 unequal: No Solution
Exploring Operation: 95+44=139, Resulting Numbers: [139]
139,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[95, 44], Operations: ['98-3=95', '44*1=44']
Exploring Operation: 95+44=139, Resulting Numbers: [139]
139,17 unequal: No Solution
Exploring Operation: 95-44=51, Resulting Numbers: [51]
51,17 unequal: No Solution
Exploring Operation: 95*44=4180, Resulting Numbers: [4180]
4180,17 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: 17:[98, 1, 41], Operations: ['44-3=41']
Exploring Operation: 98/1=98, Resulting Numbers: [41, 98]
Generated Node #0,3,0: 17:[41, 98] Operation: 98/1=98
Exploring Operation: 98*1=98, Resulting Numbers: [41, 98]
Generated Node #0,3,1: 17:[41, 98] Operation: 98*1=98
Exploring Operation: 41-1=40, Resulting Numbers: [98, 40]
Generated Node #0,3,2: 17:[98, 40] Operation: 41-1=40
Exploring Operation: 98-41=57, Resulting Numbers: [1, 57]
Generated Node #0,3,3: 17:[1, 57] Operation: 98-41=57
Exploring Operation: 98-1=97, Resulting Numbers: [41, 97]
Generated Node #0,3,4: 17:[41, 97] Operation: 98-1=97
Moving to Node #0,2,4
Current State: 17:[1, 18], Operations: ['98-44=54', '54/3=18']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 1+18=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Exploring Operation: 1*18=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[3, 44, 98, 1], Operations: []
Exploring Operation: 98-44=54, Resulting Numbers: [3, 1, 54]
Generated Node #0,2: 17:[3, 1, 54] Operation: 98-44=54
Moving to Node #0,2
Current State: 17:[3, 1, 54], Operations: ['98-44=54']
Exploring Operation: 54/3=18, Resulting Numbers: [1, 18]
Generated Node #0,2,4: 17:[1, 18] Operation: 54/3=18
Moving to Node #0,2,4
Current State: 17:[1, 18], Operations: ['98-44=54', '54/3=18']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 0.927083 | hs_5 | sum_heuristic |
[
77,
56,
75,
61
] | 33 | [
"77-75=2",
"56/2=28",
"61-28=33"
] | Current State: 33:[77, 56, 75, 61], Operations: []
Exploring Operation: 77-75=2, Resulting Numbers: [56, 61, 2]
Generated Node #2: [56, 61, 2] from Operation: 77-75=2
Current State: 33:[56, 61, 2], Operations: ['77-75=2']
Exploring Operation: 56/2=28, Resulting Numbers: [61, 28]
Generated Node #3: [61, 28] from Operation: 56/2=28
Current State: 33:[61, 28], Operations: ['77-75=2', '56/2=28']
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[77, 56, 75, 61], Operations: []
Exploring Operation: 77-75=2, Resulting Numbers: [56, 61, 2]
Generated Node #0,0: 33:[56, 61, 2] Operation: 77-75=2
Moving to Node #0,0
Current State: 33:[56, 61, 2], Operations: ['77-75=2']
Exploring Operation: 61-56=5, Resulting Numbers: [2, 5]
Generated Node #0,0,0: 33:[2, 5] Operation: 61-56=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[2, 5], Operations: ['77-75=2', '61-56=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,33 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 |
[
8,
58,
49,
34
] | 46 | [
"58-34=24",
"24/8=3",
"49-3=46"
] | Current State: 46:[8, 58, 49, 34], Operations: []
Exploring Operation: 58-34=24, Resulting Numbers: [8, 49, 24]
Generated Node #2: [8, 49, 24] from Operation: 58-34=24
Current State: 46:[8, 49, 24], Operations: ['58-34=24']
Exploring Operation: 24/8=3, Resulting Numbers: [49, 3]
Generated Node #3: [49, 3] from Operation: 24/8=3
Current State: 46:[49, 3], Operations: ['58-34=24', '24/8=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[8, 58, 49, 34], Operations: []
Exploring Operation: 8+34=42, Resulting Numbers: [58, 49, 42]
Generated Node #0,0: 46:[58, 49, 42] Operation: 8+34=42
Exploring Operation: 34-8=26, Resulting Numbers: [58, 49, 26]
Generated Node #0,1: 46:[58, 49, 26] Operation: 34-8=26
Exploring Operation: 58-8=50, Resulting Numbers: [49, 34, 50]
Generated Node #0,2: 46:[49, 34, 50] Operation: 58-8=50
Exploring Operation: 58-34=24, Resulting Numbers: [8, 49, 24]
Generated Node #0,3: 46:[8, 49, 24] Operation: 58-34=24
Moving to Node #0,3
Current State: 46:[8, 49, 24], Operations: ['58-34=24']
Exploring Operation: 49-24=25, Resulting Numbers: [8, 25]
Generated Node #0,3,0: 46:[8, 25] Operation: 49-24=25
Exploring Operation: 49-8=41, Resulting Numbers: [24, 41]
Generated Node #0,3,1: 46:[24, 41] Operation: 49-8=41
Exploring Operation: 24/8=3, Resulting Numbers: [49, 3]
Generated Node #0,3,2: 46:[49, 3] Operation: 24/8=3
Exploring Operation: 24-8=16, Resulting Numbers: [49, 16]
Generated Node #0,3,3: 46:[49, 16] Operation: 24-8=16
Moving to Node #0,2
Current State: 46:[49, 34, 50], Operations: ['58-8=50']
Exploring Operation: 49-34=15, Resulting Numbers: [50, 15]
Generated Node #0,2,0: 46:[50, 15] Operation: 49-34=15
Exploring Operation: 49+34=83, Resulting Numbers: [50, 83]
Generated Node #0,2,1: 46:[50, 83] Operation: 49+34=83
Exploring Operation: 50-34=16, Resulting Numbers: [49, 16]
Generated Node #0,2,2: 46:[49, 16] Operation: 50-34=16
Exploring Operation: 50-49=1, Resulting Numbers: [34, 1]
Generated Node #0,2,3: 46:[34, 1] Operation: 50-49=1
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 46:[49, 16], Operations: ['58-8=50', '50-34=16']
Exploring Operation: 49-16=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 49+16=65, Resulting Numbers: [65]
65,46 unequal: No Solution
Exploring Operation: 49*16=784, Resulting Numbers: [784]
784,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,0
Current State: 46:[50, 15], Operations: ['58-8=50', '49-34=15']
Exploring Operation: 50+15=65, Resulting Numbers: [65]
65,46 unequal: No Solution
Exploring Operation: 50*15=750, Resulting Numbers: [750]
750,46 unequal: No Solution
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,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,3
Current State: 46:[34, 1], Operations: ['58-8=50', '50-49=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,46 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,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,1
Current State: 46:[50, 83], Operations: ['58-8=50', '49+34=83']
Exploring Operation: 50*83=4150, Resulting Numbers: [4150]
4150,46 unequal: No Solution
Exploring Operation: 50+83=133, Resulting Numbers: [133]
133,46 unequal: No Solution
Exploring Operation: 83-50=33, Resulting Numbers: [33]
33,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:[58, 49, 26], Operations: ['34-8=26']
Exploring Operation: 58+26=84, Resulting Numbers: [49, 84]
Generated Node #0,1,0: 46:[49, 84] Operation: 58+26=84
Exploring Operation: 49-26=23, Resulting Numbers: [58, 23]
Generated Node #0,1,1: 46:[58, 23] Operation: 49-26=23
Exploring Operation: 58-26=32, Resulting Numbers: [49, 32]
Generated Node #0,1,2: 46:[49, 32] Operation: 58-26=32
Exploring Operation: 58-49=9, Resulting Numbers: [26, 9]
Generated Node #0,1,3: 46:[26, 9] Operation: 58-49=9
Moving to Node #0,0
Current State: 46:[58, 49, 42], Operations: ['8+34=42']
Exploring Operation: 58-42=16, Resulting Numbers: [49, 16]
Generated Node #0,0,0: 46:[49, 16] Operation: 58-42=16
Exploring Operation: 49-42=7, Resulting Numbers: [58, 7]
Generated Node #0,0,1: 46:[58, 7] Operation: 49-42=7
Exploring Operation: 58+42=100, Resulting Numbers: [49, 100]
Generated Node #0,0,2: 46:[49, 100] Operation: 58+42=100
Exploring Operation: 58-49=9, Resulting Numbers: [42, 9]
Generated Node #0,0,3: 46:[42, 9] Operation: 58-49=9
Moving to Node #0,3,2
Current State: 46:[49, 3], Operations: ['58-34=24', '24/8=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,46 unequal: No Solution
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,46 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[8, 58, 49, 34], Operations: []
Exploring Operation: 58-34=24, Resulting Numbers: [8, 49, 24]
Generated Node #0,3: 46:[8, 49, 24] Operation: 58-34=24
Moving to Node #0,3
Current State: 46:[8, 49, 24], Operations: ['58-34=24']
Exploring Operation: 24/8=3, Resulting Numbers: [49, 3]
Generated Node #0,3,2: 46:[49, 3] Operation: 24/8=3
Moving to Node #0,3,2
Current State: 46:[49, 3], Operations: ['58-34=24', '24/8=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.965278 | hs_4 | sum_heuristic |
[
49,
69,
30,
46
] | 59 | [
"49-46=3",
"30/3=10",
"69-10=59"
] | Current State: 59:[49, 69, 30, 46], Operations: []
Exploring Operation: 49-46=3, Resulting Numbers: [69, 30, 3]
Generated Node #2: [69, 30, 3] from Operation: 49-46=3
Current State: 59:[69, 30, 3], Operations: ['49-46=3']
Exploring Operation: 30/3=10, Resulting Numbers: [69, 10]
Generated Node #3: [69, 10] from Operation: 30/3=10
Current State: 59:[69, 10], Operations: ['49-46=3', '30/3=10']
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[49, 69, 30, 46], Operations: []
Exploring Operation: 30+46=76, Resulting Numbers: [49, 69, 76]
Generated Node #0,0: 59:[49, 69, 76] Operation: 30+46=76
Moving to Node #0,0
Current State: 59:[49, 69, 76], Operations: ['30+46=76']
Exploring Operation: 76-49=27, Resulting Numbers: [69, 27]
Generated Node #0,0,0: 59:[69, 27] Operation: 76-49=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[69, 27], Operations: ['30+46=76', '76-49=27']
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,59 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 |
[
75,
32,
2,
1
] | 87 | [
"75-32=43",
"2*43=86",
"1+86=87"
] | Current State: 87:[75, 32, 2, 1], Operations: []
Exploring Operation: 75-32=43, Resulting Numbers: [2, 1, 43]
Generated Node #2: [2, 1, 43] from Operation: 75-32=43
Current State: 87:[2, 1, 43], Operations: ['75-32=43']
Exploring Operation: 2*43=86, Resulting Numbers: [1, 86]
Generated Node #3: [1, 86] from Operation: 2*43=86
Current State: 87:[1, 86], Operations: ['75-32=43', '2*43=86']
Exploring Operation: 1+86=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[75, 32, 2, 1], Operations: []
Exploring Operation: 75+2=77, Resulting Numbers: [32, 1, 77]
Generated Node #0,0: 87:[32, 1, 77] Operation: 75+2=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[32, 1, 77], Operations: ['75+2=77']
Exploring Operation: 32-1=31, Resulting Numbers: [77, 31]
Generated Node #0,0,0: 87:[77, 31] Operation: 32-1=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[77, 31], Operations: ['75+2=77', '32-1=31']
Exploring Operation: 77-31=46, Resulting Numbers: [46]
46,87 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 |
[
3,
16,
53,
36
] | 57 | [
"36/3=12",
"16+53=69",
"69-12=57"
] | Current State: 57:[3, 16, 53, 36], Operations: []
Exploring Operation: 36/3=12, Resulting Numbers: [16, 53, 12]
Generated Node #2: [16, 53, 12] from Operation: 36/3=12
Current State: 57:[16, 53, 12], Operations: ['36/3=12']
Exploring Operation: 16+53=69, Resulting Numbers: [12, 69]
Generated Node #3: [12, 69] from Operation: 16+53=69
Current State: 57:[12, 69], Operations: ['36/3=12', '16+53=69']
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[3, 16, 53, 36], Operations: []
Exploring Operation: 53-36=17, Resulting Numbers: [3, 16, 17]
Generated Node #0,0: 57:[3, 16, 17] Operation: 53-36=17
Exploring Operation: 36-16=20, Resulting Numbers: [3, 53, 20]
Generated Node #0,1: 57:[3, 53, 20] Operation: 36-16=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[3, 16, 17], Operations: ['53-36=17']
Exploring Operation: 17-16=1, Resulting Numbers: [3, 1]
Generated Node #0,0,0: 57:[3, 1] Operation: 17-16=1
Exploring Operation: 3+16=19, Resulting Numbers: [17, 19]
Generated Node #0,0,1: 57:[17, 19] Operation: 3+16=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[3, 1], Operations: ['53-36=17', '17-16=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[17, 19], Operations: ['53-36=17', '3+16=19']
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[3, 53, 20], Operations: ['36-16=20']
Exploring Operation: 20-3=17, Resulting Numbers: [53, 17]
Generated Node #0,1,0: 57:[53, 17] Operation: 20-3=17
Exploring Operation: 3+53=56, Resulting Numbers: [20, 56]
Generated Node #0,1,1: 57:[20, 56] Operation: 3+53=56
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[20, 56], Operations: ['36-16=20', '3+53=56']
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Exploring Operation: 20+56=76, Resulting Numbers: [76]
76,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[53, 17], Operations: ['36-16=20', '20-3=17']
Exploring Operation: 53+17=70, Resulting Numbers: [70]
70,57 unequal: No Solution
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
21,
6,
2,
80
] | 47 | [
"80-21=59",
"6*2=12",
"59-12=47"
] | Current State: 47:[21, 6, 2, 80], Operations: []
Exploring Operation: 80-21=59, Resulting Numbers: [6, 2, 59]
Generated Node #2: [6, 2, 59] from Operation: 80-21=59
Current State: 47:[6, 2, 59], Operations: ['80-21=59']
Exploring Operation: 6*2=12, Resulting Numbers: [59, 12]
Generated Node #3: [59, 12] from Operation: 6*2=12
Current State: 47:[59, 12], Operations: ['80-21=59', '6*2=12']
Exploring Operation: 59-12=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[21, 6, 2, 80], Operations: []
Exploring Operation: 21*2=42, Resulting Numbers: [6, 80, 42]
Generated Node #0,0: 47:[6, 80, 42] Operation: 21*2=42
Exploring Operation: 6*2=12, Resulting Numbers: [21, 80, 12]
Generated Node #0,1: 47:[21, 80, 12] Operation: 6*2=12
Exploring Operation: 80/2=40, Resulting Numbers: [21, 6, 40]
Generated Node #0,2: 47:[21, 6, 40] Operation: 80/2=40
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[21, 6, 40], Operations: ['80/2=40']
Exploring Operation: 6+40=46, Resulting Numbers: [21, 46]
Generated Node #0,2,0: 47:[21, 46] Operation: 6+40=46
Exploring Operation: 21-6=15, Resulting Numbers: [40, 15]
Generated Node #0,2,1: 47:[40, 15] Operation: 21-6=15
Exploring Operation: 21+6=27, Resulting Numbers: [40, 27]
Generated Node #0,2,2: 47:[40, 27] Operation: 21+6=27
Moving to Node #0,2,0
Current State: 47:[21, 46], Operations: ['80/2=40', '6+40=46']
Exploring Operation: 21*46=966, Resulting Numbers: [966]
966,47 unequal: No Solution
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,47 unequal: No Solution
Exploring Operation: 21+46=67, Resulting Numbers: [67]
67,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[40, 27], Operations: ['80/2=40', '21+6=27']
Exploring Operation: 40+27=67, Resulting Numbers: [67]
67,47 unequal: No Solution
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 40*27=1080, Resulting Numbers: [1080]
1080,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[40, 15], Operations: ['80/2=40', '21-6=15']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,47 unequal: No Solution
Exploring Operation: 40*15=600, Resulting Numbers: [600]
600,47 unequal: No Solution
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[6, 80, 42], Operations: ['21*2=42']
Exploring Operation: 80-6=74, Resulting Numbers: [42, 74]
Generated Node #0,0,0: 47:[42, 74] Operation: 80-6=74
Exploring Operation: 6+42=48, Resulting Numbers: [80, 48]
Generated Node #0,0,1: 47:[80, 48] Operation: 6+42=48
Exploring Operation: 6+80=86, Resulting Numbers: [42, 86]
Generated Node #0,0,2: 47:[42, 86] Operation: 6+80=86
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[42, 74], Operations: ['21*2=42', '80-6=74']
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 42+74=116, Resulting Numbers: [116]
116,47 unequal: No Solution
Exploring Operation: 42*74=3108, Resulting Numbers: [3108]
3108,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[80, 48], Operations: ['21*2=42', '6+42=48']
Exploring Operation: 80-48=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 80*48=3840, Resulting Numbers: [3840]
3840,47 unequal: No Solution
Exploring Operation: 80+48=128, Resulting Numbers: [128]
128,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[42, 86], Operations: ['21*2=42', '6+80=86']
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,47 unequal: No Solution
Exploring Operation: 42+86=128, Resulting Numbers: [128]
128,47 unequal: No Solution
Exploring Operation: 42*86=3612, Resulting Numbers: [3612]
3612,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[21, 80, 12], Operations: ['6*2=12']
Exploring Operation: 21+12=33, Resulting Numbers: [80, 33]
Generated Node #0,1,0: 47:[80, 33] Operation: 21+12=33
Exploring Operation: 80-21=59, Resulting Numbers: [12, 59]
Generated Node #0,1,1: 47:[12, 59] Operation: 80-21=59
Exploring Operation: 80-12=68, Resulting Numbers: [21, 68]
Generated Node #0,1,2: 47:[21, 68] Operation: 80-12=68
Moving to Node #0,1,0
Current State: 47:[80, 33], Operations: ['6*2=12', '21+12=33']
Exploring Operation: 80*33=2640, Resulting Numbers: [2640]
2640,47 unequal: No Solution
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[21, 6, 2, 80], Operations: []
Exploring Operation: 6*2=12, Resulting Numbers: [21, 80, 12]
Generated Node #0,1: 47:[21, 80, 12] Operation: 6*2=12
Moving to Node #0,1
Current State: 47:[21, 80, 12], Operations: ['6*2=12']
Exploring Operation: 21+12=33, Resulting Numbers: [80, 33]
Generated Node #0,1,0: 47:[80, 33] Operation: 21+12=33
Moving to Node #0,1,0
Current State: 47:[80, 33], Operations: ['6*2=12', '21+12=33']
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_3 | mult_heuristic |
[
9,
35,
17,
4
] | 24 | [
"9+35=44",
"17*4=68",
"68-44=24"
] | Current State: 24:[9, 35, 17, 4], Operations: []
Exploring Operation: 9+35=44, Resulting Numbers: [17, 4, 44]
Generated Node #2: [17, 4, 44] from Operation: 9+35=44
Current State: 24:[17, 4, 44], Operations: ['9+35=44']
Exploring Operation: 17*4=68, Resulting Numbers: [44, 68]
Generated Node #3: [44, 68] from Operation: 17*4=68
Current State: 24:[44, 68], Operations: ['9+35=44', '17*4=68']
Exploring Operation: 68-44=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[9, 35, 17, 4], Operations: []
Exploring Operation: 35-9=26, Resulting Numbers: [17, 4, 26]
Generated Node #0,0: 24:[17, 4, 26] Operation: 35-9=26
Exploring Operation: 35-17=18, Resulting Numbers: [9, 4, 18]
Generated Node #0,1: 24:[9, 4, 18] Operation: 35-17=18
Exploring Operation: 17-9=8, Resulting Numbers: [35, 4, 8]
Generated Node #0,2: 24:[35, 4, 8] Operation: 17-9=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[17, 4, 26], Operations: ['35-9=26']
Exploring Operation: 26-17=9, Resulting Numbers: [4, 9]
Generated Node #0,0,0: 24:[4, 9] Operation: 26-17=9
Exploring Operation: 17+4=21, Resulting Numbers: [26, 21]
Generated Node #0,0,1: 24:[26, 21] Operation: 17+4=21
Exploring Operation: 17-4=13, Resulting Numbers: [26, 13]
Generated Node #0,0,2: 24:[26, 13] Operation: 17-4=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[4, 9], Operations: ['35-9=26', '26-17=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,24 unequal: No Solution
No 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: 24:[26, 13], Operations: ['35-9=26', '17-4=13']
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 26+13=39, Resulting Numbers: [39]
39,24 unequal: No Solution
No 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: 24:[26, 21], Operations: ['35-9=26', '17+4=21']
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 26*21=546, Resulting Numbers: [546]
546,24 unequal: No Solution
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[9, 4, 18], Operations: ['35-17=18']
Exploring Operation: 18-9=9, Resulting Numbers: [4, 9]
Generated Node #0,1,0: 24:[4, 9] Operation: 18-9=9
Exploring Operation: 9+18=27, Resulting Numbers: [4, 27]
Generated Node #0,1,1: 24:[4, 27] Operation: 9+18=27
Exploring Operation: 18/9=2, Resulting Numbers: [4, 2]
Generated Node #0,1,2: 24:[4, 2] Operation: 18/9=2
Moving to Node #0,1,2
Current State: 24:[4, 2], Operations: ['35-17=18', '18/9=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[4, 9], Operations: ['35-17=18', '18-9=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Moving to Node #0,1,1
Current State: 24:[4, 27], Operations: ['35-17=18', '9+18=27']
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,24 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,24 unequal: No Solution
No 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: 24:[35, 4, 8], Operations: ['17-9=8']
Exploring Operation: 35-8=27, Resulting Numbers: [4, 27]
Generated Node #0,2,0: 24:[4, 27] Operation: 35-8=27
Exploring Operation: 4+8=12, Resulting Numbers: [35, 12]
Generated Node #0,2,1: 24:[35, 12] Operation: 4+8=12
Exploring Operation: 35-4=31, Resulting Numbers: [8, 31]
Generated Node #0,2,2: 24:[8, 31] Operation: 35-4=31
Moving to Node #0,2,0
Current State: 24:[4, 27], Operations: ['17-9=8', '35-8=27']
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,24 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,24 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[8, 31], Operations: ['17-9=8', '35-4=31']
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,24 unequal: No Solution
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[35, 12], Operations: ['17-9=8', '4+8=12']
Exploring Operation: 35+12=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Exploring Operation: 35*12=420, Resulting Numbers: [420]
420,24 unequal: No Solution
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,24 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 |
[
23,
50,
13,
65
] | 21 | [
"23+50=73",
"65-13=52",
"73-52=21"
] | Current State: 21:[23, 50, 13, 65], Operations: []
Exploring Operation: 23+50=73, Resulting Numbers: [13, 65, 73]
Generated Node #2: [13, 65, 73] from Operation: 23+50=73
Current State: 21:[13, 65, 73], Operations: ['23+50=73']
Exploring Operation: 65-13=52, Resulting Numbers: [73, 52]
Generated Node #3: [73, 52] from Operation: 65-13=52
Current State: 21:[73, 52], Operations: ['23+50=73', '65-13=52']
Exploring Operation: 73-52=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[23, 50, 13, 65], Operations: []
Exploring Operation: 65-50=15, Resulting Numbers: [23, 13, 15]
Generated Node #0,0: 21:[23, 13, 15] Operation: 65-50=15
Exploring Operation: 65/13=5, Resulting Numbers: [23, 50, 5]
Generated Node #0,1: 21:[23, 50, 5] Operation: 65/13=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[23, 13, 15], Operations: ['65-50=15']
Exploring Operation: 15-13=2, Resulting Numbers: [23, 2]
Generated Node #0,0,0: 21:[23, 2] Operation: 15-13=2
Exploring Operation: 23-15=8, Resulting Numbers: [13, 8]
Generated Node #0,0,1: 21:[13, 8] Operation: 23-15=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[23, 2], Operations: ['65-50=15', '15-13=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[23, 50, 13, 65], Operations: []
Exploring Operation: 65-50=15, Resulting Numbers: [23, 13, 15]
Generated Node #0,0: 21:[23, 13, 15] Operation: 65-50=15
Moving to Node #0,0
Current State: 21:[23, 13, 15], Operations: ['65-50=15']
Exploring Operation: 15-13=2, Resulting Numbers: [23, 2]
Generated Node #0,0,0: 21:[23, 2] Operation: 15-13=2
Moving to Node #0,0,0
Current State: 21:[23, 2], Operations: ['65-50=15', '15-13=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
22,
35,
26,
9
] | 52 | [
"35+9=44",
"44/22=2",
"26*2=52"
] | Current State: 52:[22, 35, 26, 9], Operations: []
Exploring Operation: 35+9=44, Resulting Numbers: [22, 26, 44]
Generated Node #2: [22, 26, 44] from Operation: 35+9=44
Current State: 52:[22, 26, 44], Operations: ['35+9=44']
Exploring Operation: 44/22=2, Resulting Numbers: [26, 2]
Generated Node #3: [26, 2] from Operation: 44/22=2
Current State: 52:[26, 2], Operations: ['35+9=44', '44/22=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[22, 35, 26, 9], Operations: []
Exploring Operation: 35-9=26, Resulting Numbers: [22, 26, 26]
Generated Node #0,0: 52:[22, 26, 26] Operation: 35-9=26
Exploring Operation: 35-22=13, Resulting Numbers: [26, 9, 13]
Generated Node #0,1: 52:[26, 9, 13] Operation: 35-22=13
Moving to Node #0,0
Current State: 52:[22, 26, 26], Operations: ['35-9=26']
Exploring Operation: 26-22=4, Resulting Numbers: [26, 4]
Generated Node #0,0,0: 52:[26, 4] Operation: 26-22=4
Exploring Operation: 26-22=4, Resulting Numbers: [26, 4]
Generated Node #0,0,1: 52:[26, 4] Operation: 26-22=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[26, 4], Operations: ['35-9=26', '26-22=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[26, 4], Operations: ['35-9=26', '26-22=4']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 52:[26, 9, 13], Operations: ['35-22=13']
Exploring Operation: 26-9=17, Resulting Numbers: [13, 17]
Generated Node #0,1,0: 52:[13, 17] Operation: 26-9=17
Exploring Operation: 13-9=4, Resulting Numbers: [26, 4]
Generated Node #0,1,1: 52:[26, 4] Operation: 13-9=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[26, 4], Operations: ['35-22=13', '13-9=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[13, 17], Operations: ['35-22=13', '26-9=17']
Exploring Operation: 13+17=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,52 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 |
[
32,
12,
2,
50
] | 46 | [
"32/2=16",
"12+50=62",
"62-16=46"
] | Current State: 46:[32, 12, 2, 50], Operations: []
Exploring Operation: 32/2=16, Resulting Numbers: [12, 50, 16]
Generated Node #2: [12, 50, 16] from Operation: 32/2=16
Current State: 46:[12, 50, 16], Operations: ['32/2=16']
Exploring Operation: 12+50=62, Resulting Numbers: [16, 62]
Generated Node #3: [16, 62] from Operation: 12+50=62
Current State: 46:[16, 62], Operations: ['32/2=16', '12+50=62']
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[32, 12, 2, 50], Operations: []
Exploring Operation: 32+12=44, Resulting Numbers: [2, 50, 44]
Generated Node #0,0: 46:[2, 50, 44] Operation: 32+12=44
Exploring Operation: 50-32=18, Resulting Numbers: [12, 2, 18]
Generated Node #0,1: 46:[12, 2, 18] Operation: 50-32=18
Exploring Operation: 12*2=24, Resulting Numbers: [32, 50, 24]
Generated Node #0,2: 46:[32, 50, 24] Operation: 12*2=24
Exploring Operation: 32-12=20, Resulting Numbers: [2, 50, 20]
Generated Node #0,3: 46:[2, 50, 20] Operation: 32-12=20
Exploring Operation: 12/2=6, Resulting Numbers: [32, 50, 6]
Generated Node #0,4: 46:[32, 50, 6] Operation: 12/2=6
Moving to Node #0,0
Current State: 46:[2, 50, 44], Operations: ['32+12=44']
Exploring Operation: 50-44=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 46:[2, 6] Operation: 50-44=6
Exploring Operation: 50-2=48, Resulting Numbers: [44, 48]
Generated Node #0,0,1: 46:[44, 48] Operation: 50-2=48
Exploring Operation: 2+44=46, Resulting Numbers: [50, 46]
Generated Node #0,0,2: 46:[50, 46] Operation: 2+44=46
Exploring Operation: 50/2=25, Resulting Numbers: [44, 25]
Generated Node #0,0,3: 46:[44, 25] Operation: 50/2=25
Exploring Operation: 44/2=22, Resulting Numbers: [50, 22]
Generated Node #0,0,4: 46:[50, 22] Operation: 44/2=22
Moving to Node #0,3
Current State: 46:[2, 50, 20], Operations: ['32-12=20']
Exploring Operation: 50-2=48, Resulting Numbers: [20, 48]
Generated Node #0,3,0: 46:[20, 48] Operation: 50-2=48
Exploring Operation: 50/2=25, Resulting Numbers: [20, 25]
Generated Node #0,3,1: 46:[20, 25] Operation: 50/2=25
Exploring Operation: 2+20=22, Resulting Numbers: [50, 22]
Generated Node #0,3,2: 46:[50, 22] Operation: 2+20=22
Exploring Operation: 2+50=52, Resulting Numbers: [20, 52]
Generated Node #0,3,3: 46:[20, 52] Operation: 2+50=52
Exploring Operation: 50-20=30, Resulting Numbers: [2, 30]
Generated Node #0,3,4: 46:[2, 30] Operation: 50-20=30
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 46:[20, 48], Operations: ['32-12=20', '50-2=48']
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 20*48=960, Resulting Numbers: [960]
960,46 unequal: No Solution
Exploring Operation: 20+48=68, Resulting Numbers: [68]
68,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,1
Current State: 46:[20, 25], Operations: ['32-12=20', '50/2=25']
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 20*25=500, Resulting Numbers: [500]
500,46 unequal: No Solution
Exploring Operation: 20+25=45, Resulting Numbers: [45]
45,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,2
Current State: 46:[50, 22], Operations: ['32-12=20', '2+20=22']
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 50*22=1100, Resulting Numbers: [1100]
1100,46 unequal: No Solution
Exploring Operation: 50+22=72, Resulting Numbers: [72]
72,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,4
Current State: 46:[2, 30], Operations: ['32-12=20', '50-20=30']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,46 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,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,3
Current State: 46:[20, 52], Operations: ['32-12=20', '2+50=52']
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 20+52=72, Resulting Numbers: [72]
72,46 unequal: No Solution
Exploring Operation: 20*52=1040, Resulting Numbers: [1040]
1040,46 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: 46:[32, 50, 24], Operations: ['12*2=24']
Exploring Operation: 50-32=18, Resulting Numbers: [24, 18]
Generated Node #0,2,0: 46:[24, 18] Operation: 50-32=18
Exploring Operation: 32-24=8, Resulting Numbers: [50, 8]
Generated Node #0,2,1: 46:[50, 8] Operation: 32-24=8
Exploring Operation: 50-24=26, Resulting Numbers: [32, 26]
Generated Node #0,2,2: 46:[32, 26] Operation: 50-24=26
Exploring Operation: 32+24=56, Resulting Numbers: [50, 56]
Generated Node #0,2,3: 46:[50, 56] Operation: 32+24=56
Exploring Operation: 32+50=82, Resulting Numbers: [24, 82]
Generated Node #0,2,4: 46:[24, 82] Operation: 32+50=82
Moving to Node #0,1
Current State: 46:[12, 2, 18], Operations: ['50-32=18']
Exploring Operation: 12*2=24, Resulting Numbers: [18, 24]
Generated Node #0,1,0: 46:[18, 24] Operation: 12*2=24
Exploring Operation: 12/2=6, Resulting Numbers: [18, 6]
Generated Node #0,1,1: 46:[18, 6] Operation: 12/2=6
Exploring Operation: 18-12=6, Resulting Numbers: [2, 6]
Generated Node #0,1,2: 46:[2, 6] Operation: 18-12=6
Exploring Operation: 12-2=10, Resulting Numbers: [18, 10]
Generated Node #0,1,3: 46:[18, 10] Operation: 12-2=10
Exploring Operation: 12+18=30, Resulting Numbers: [2, 30]
Generated Node #0,1,4: 46:[2, 30] Operation: 12+18=30
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[2, 6], Operations: ['50-32=18', '18-12=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,46 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[18, 24], Operations: ['50-32=18', '12*2=24']
Exploring Operation: 18*24=432, Resulting Numbers: [432]
432,46 unequal: No Solution
Exploring Operation: 18+24=42, Resulting Numbers: [42]
42,46 unequal: No Solution
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 46:[2, 30], Operations: ['50-32=18', '12+18=30']
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,46 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[18, 6], Operations: ['50-32=18', '12/2=6']
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,46 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 46:[18, 10], Operations: ['50-32=18', '12-2=10']
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,46 unequal: No Solution
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,46 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: 46:[32, 50, 6], Operations: ['12/2=6']
Exploring Operation: 32+6=38, Resulting Numbers: [50, 38]
Generated Node #0,4,0: 46:[50, 38] Operation: 32+6=38
Exploring Operation: 50+6=56, Resulting Numbers: [32, 56]
Generated Node #0,4,1: 46:[32, 56] Operation: 50+6=56
Exploring Operation: 50-6=44, Resulting Numbers: [32, 44]
Generated Node #0,4,2: 46:[32, 44] Operation: 50-6=44
Exploring Operation: 50-32=18, Resulting Numbers: [6, 18]
Generated Node #0,4,3: 46:[6, 18] Operation: 50-32=18
Exploring Operation: 32-6=26, Resulting Numbers: [50, 26]
Generated Node #0,4,4: 46:[50, 26] Operation: 32-6=26
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 46:[50, 26], Operations: ['12/2=6', '32-6=26']
Exploring Operation: 50+26=76, Resulting Numbers: [76]
76,46 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Exploring Operation: 50*26=1300, Resulting Numbers: [1300]
1300,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 46:[6, 18], Operations: ['12/2=6', '50-32=18']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,46 unequal: No Solution
Exploring Operation: 6*18=108, Resulting Numbers: [108]
108,46 unequal: No Solution
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,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,2
Current State: 46:[32, 44], Operations: ['12/2=6', '50-6=44']
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,46 unequal: No Solution
Exploring Operation: 32+44=76, Resulting Numbers: [76]
76,46 unequal: No Solution
Exploring Operation: 32*44=1408, Resulting Numbers: [1408]
1408,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 46:[50, 38], Operations: ['12/2=6', '32+6=38']
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,46 unequal: No Solution
Exploring Operation: 50+38=88, Resulting Numbers: [88]
88,46 unequal: No Solution
Exploring Operation: 50*38=1900, Resulting Numbers: [1900]
1900,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 46:[32, 56], Operations: ['12/2=6', '50+6=56']
Exploring Operation: 32+56=88, Resulting Numbers: [88]
88,46 unequal: No Solution
Exploring Operation: 32*56=1792, Resulting Numbers: [1792]
1792,46 unequal: No Solution
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,46 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: 46:[2, 6], Operations: ['32+12=44', '50-44=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,46 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[50, 46], Operations: ['32+12=44', '2+44=46']
Exploring Operation: 50+46=96, Resulting Numbers: [96]
96,46 unequal: No Solution
Exploring Operation: 50*46=2300, Resulting Numbers: [2300]
2300,46 unequal: No Solution
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[44, 48], Operations: ['32+12=44', '50-2=48']
Exploring Operation: 44+48=92, Resulting Numbers: [92]
92,46 unequal: No Solution
Exploring Operation: 44*48=2112, Resulting Numbers: [2112]
2112,46 unequal: No Solution
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Moving to Node #0,0,3
Current State: 46:[44, 25], Operations: ['32+12=44', '50/2=25']
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,46 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Exploring Operation: 44*25=1100, Resulting Numbers: [1100]
1100,46 unequal: No Solution
Moving to Node #0,0,4
Current State: 46:[50, 22], Operations: ['32+12=44', '44/2=22']
Exploring Operation: 50*22=1100, Resulting Numbers: [1100]
1100,46 unequal: No Solution
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 50+22=72, Resulting Numbers: [72]
72,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[24, 18], Operations: ['12*2=24', '50-32=18']
Exploring Operation: 24*18=432, Resulting Numbers: [432]
432,46 unequal: No Solution
Exploring Operation: 24+18=42, Resulting Numbers: [42]
42,46 unequal: No Solution
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[50, 8], Operations: ['12*2=24', '32-24=8']
Exploring Operation: 50*8=400, Resulting Numbers: [400]
400,46 unequal: No Solution
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,46 unequal: No Solution
Exploring Operation: 50+8=58, Resulting Numbers: [58]
58,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[32, 26], Operations: ['12*2=24', '50-24=26']
Exploring Operation: 32*26=832, Resulting Numbers: [832]
832,46 unequal: No Solution
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 32+26=58, Resulting Numbers: [58]
58,46 unequal: No Solution
Moving to Node #0,2,3
Current State: 46:[50, 56], Operations: ['12*2=24', '32+24=56']
Exploring Operation: 56-50=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 50+56=106, Resulting Numbers: [106]
106,46 unequal: No Solution
Exploring Operation: 50*56=2800, Resulting Numbers: [2800]
2800,46 unequal: No Solution
Moving to Node #0,2,4
Current State: 46:[24, 82], Operations: ['12*2=24', '32+50=82']
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,46 unequal: No Solution
Exploring Operation: 24*82=1968, Resulting Numbers: [1968]
1968,46 unequal: No Solution
Exploring Operation: 24+82=106, Resulting Numbers: [106]
106,46 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
45,
45,
12,
18
] | 75 | [
"45*12=540",
"540/18=30",
"45+30=75"
] | Current State: 75:[45, 45, 12, 18], Operations: []
Exploring Operation: 45*12=540, Resulting Numbers: [18, 540]
Generated Node #2: [18, 540] from Operation: 45*12=540
Current State: 75:[18, 540], Operations: ['45*12=540']
Exploring Operation: 540/18=30, Resulting Numbers: [30]
30,75 equal: Goal Reached
Exploring Operation: 45+30=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[45, 45, 12, 18], Operations: []
Exploring Operation: 45/45=1, Resulting Numbers: [12, 18, 1]
Generated Node #0,0: 75:[12, 18, 1] Operation: 45/45=1
Exploring Operation: 45-45=0, Resulting Numbers: [12, 18, 0]
Generated Node #0,1: 75:[12, 18, 0] Operation: 45-45=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[12, 18, 1], Operations: ['45/45=1']
Exploring Operation: 18-12=6, Resulting Numbers: [1, 6]
Generated Node #0,0,0: 75:[1, 6] Operation: 18-12=6
Exploring Operation: 12+1=13, Resulting Numbers: [18, 13]
Generated Node #0,0,1: 75:[18, 13] Operation: 12+1=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[1, 6], Operations: ['45/45=1', '18-12=6']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[18, 13], Operations: ['45/45=1', '12+1=13']
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[12, 18, 0], Operations: ['45-45=0']
Exploring Operation: 12+0=12, Resulting Numbers: [18, 12]
Generated Node #0,1,0: 75:[18, 12] Operation: 12+0=12
Exploring Operation: 18-12=6, Resulting Numbers: [0, 6]
Generated Node #0,1,1: 75:[0, 6] Operation: 18-12=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[0, 6], Operations: ['45-45=0', '18-12=6']
Exploring Operation: 0+6=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 6-0=6, Resulting Numbers: [6]
6,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[18, 12], Operations: ['45-45=0', '12+0=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,75 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
5,
8,
61,
42
] | 90 | [
"5+8=13",
"61+42=103",
"103-13=90"
] | Current State: 90:[5, 8, 61, 42], Operations: []
Exploring Operation: 5+8=13, Resulting Numbers: [61, 42, 13]
Generated Node #2: [61, 42, 13] from Operation: 5+8=13
Current State: 90:[61, 42, 13], Operations: ['5+8=13']
Exploring Operation: 61+42=103, Resulting Numbers: [13, 103]
Generated Node #3: [13, 103] from Operation: 61+42=103
Current State: 90:[13, 103], Operations: ['5+8=13', '61+42=103']
Exploring Operation: 103-13=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[5, 8, 61, 42], Operations: []
Exploring Operation: 61-8=53, Resulting Numbers: [5, 42, 53]
Generated Node #0,0: 90:[5, 42, 53] Operation: 61-8=53
Exploring Operation: 61-5=56, Resulting Numbers: [8, 42, 56]
Generated Node #0,1: 90:[8, 42, 56] Operation: 61-5=56
Exploring Operation: 61+42=103, Resulting Numbers: [5, 8, 103]
Generated Node #0,2: 90:[5, 8, 103] Operation: 61+42=103
Exploring Operation: 61-42=19, Resulting Numbers: [5, 8, 19]
Generated Node #0,3: 90:[5, 8, 19] Operation: 61-42=19
Exploring Operation: 8-5=3, Resulting Numbers: [61, 42, 3]
Generated Node #0,4: 90:[61, 42, 3] Operation: 8-5=3
Moving to Node #0,3
Current State: 90:[5, 8, 19], Operations: ['61-42=19']
Exploring Operation: 19-5=14, Resulting Numbers: [8, 14]
Generated Node #0,3,0: 90:[8, 14] Operation: 19-5=14
Exploring Operation: 8-5=3, Resulting Numbers: [19, 3]
Generated Node #0,3,1: 90:[19, 3] Operation: 8-5=3
Exploring Operation: 8+19=27, Resulting Numbers: [5, 27]
Generated Node #0,3,2: 90:[5, 27] Operation: 8+19=27
Exploring Operation: 19-8=11, Resulting Numbers: [5, 11]
Generated Node #0,3,3: 90:[5, 11] Operation: 19-8=11
Exploring Operation: 5+8=13, Resulting Numbers: [19, 13]
Generated Node #0,3,4: 90:[19, 13] Operation: 5+8=13
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 90:[19, 3], Operations: ['61-42=19', '8-5=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,90 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 90:[5, 11], Operations: ['61-42=19', '19-8=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,90 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 90:[8, 14], Operations: ['61-42=19', '19-5=14']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,90 unequal: No Solution
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 90:[5, 27], Operations: ['61-42=19', '8+19=27']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,90 unequal: No Solution
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,90 unequal: No Solution
Exploring Operation: 5*27=135, Resulting Numbers: [135]
135,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 90:[19, 13], Operations: ['61-42=19', '5+8=13']
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,90 unequal: No Solution
Exploring Operation: 19*13=247, Resulting Numbers: [247]
247,90 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: 90:[5, 42, 53], Operations: ['61-8=53']
Exploring Operation: 53-5=48, Resulting Numbers: [42, 48]
Generated Node #0,0,0: 90:[42, 48] Operation: 53-5=48
Exploring Operation: 5+42=47, Resulting Numbers: [53, 47]
Generated Node #0,0,1: 90:[53, 47] Operation: 5+42=47
Exploring Operation: 42+53=95, Resulting Numbers: [5, 95]
Generated Node #0,0,2: 90:[5, 95] Operation: 42+53=95
Exploring Operation: 53-42=11, Resulting Numbers: [5, 11]
Generated Node #0,0,3: 90:[5, 11] Operation: 53-42=11
Exploring Operation: 42-5=37, Resulting Numbers: [53, 37]
Generated Node #0,0,4: 90:[53, 37] Operation: 42-5=37
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 90:[5, 11], Operations: ['61-8=53', '53-42=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,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:[5, 95], Operations: ['61-8=53', '42+53=95']
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[5, 8, 61, 42], Operations: []
Exploring Operation: 61-8=53, Resulting Numbers: [5, 42, 53]
Generated Node #0,0: 90:[5, 42, 53] Operation: 61-8=53
Moving to Node #0,0
Current State: 90:[5, 42, 53], Operations: ['61-8=53']
Exploring Operation: 42+53=95, Resulting Numbers: [5, 95]
Generated Node #0,0,2: 90:[5, 95] Operation: 42+53=95
Moving to Node #0,0,2
Current State: 90:[5, 95], Operations: ['61-8=53', '42+53=95']
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | mult_heuristic |
[
10,
58,
6,
6
] | 12 | [
"58-10=48",
"6*6=36",
"48-36=12"
] | Current State: 12:[10, 58, 6, 6], Operations: []
Exploring Operation: 58-10=48, Resulting Numbers: [6, 6, 48]
Generated Node #2: [6, 6, 48] from Operation: 58-10=48
Current State: 12:[6, 6, 48], Operations: ['58-10=48']
Exploring Operation: 6*6=36, Resulting Numbers: [48, 36]
Generated Node #3: [48, 36] from Operation: 6*6=36
Current State: 12:[48, 36], Operations: ['58-10=48', '6*6=36']
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[10, 58, 6, 6], Operations: []
Exploring Operation: 58-10=48, Resulting Numbers: [6, 6, 48]
Generated Node #0,0: 12:[6, 6, 48] Operation: 58-10=48
Exploring Operation: 10-6=4, Resulting Numbers: [58, 6, 4]
Generated Node #0,1: 12:[58, 6, 4] Operation: 10-6=4
Exploring Operation: 58-6=52, Resulting Numbers: [10, 6, 52]
Generated Node #0,2: 12:[10, 6, 52] Operation: 58-6=52
Exploring Operation: 58-6=52, Resulting Numbers: [10, 6, 52]
Generated Node #0,3: 12:[10, 6, 52] Operation: 58-6=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[6, 6, 48], Operations: ['58-10=48']
Exploring Operation: 48-6=42, Resulting Numbers: [6, 42]
Generated Node #0,0,0: 12:[6, 42] Operation: 48-6=42
Exploring Operation: 48/6=8, Resulting Numbers: [6, 8]
Generated Node #0,0,1: 12:[6, 8] Operation: 48/6=8
Exploring Operation: 48-6=42, Resulting Numbers: [6, 42]
Generated Node #0,0,2: 12:[6, 42] Operation: 48-6=42
Exploring Operation: 48/6=8, Resulting Numbers: [6, 8]
Generated Node #0,0,3: 12:[6, 8] Operation: 48/6=8
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 12:[6, 8], Operations: ['58-10=48', '48/6=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,12 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 12:[6, 8], Operations: ['58-10=48', '48/6=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[6, 42], Operations: ['58-10=48', '48-6=42']
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 6*42=252, Resulting Numbers: [252]
252,12 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 12:[6, 42], Operations: ['58-10=48', '48-6=42']
Exploring Operation: 6*42=252, Resulting Numbers: [252]
252,12 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[10, 6, 52], Operations: ['58-6=52']
Exploring Operation: 52-10=42, Resulting Numbers: [6, 42]
Generated Node #0,2,0: 12:[6, 42] Operation: 52-10=42
Exploring Operation: 10-6=4, Resulting Numbers: [52, 4]
Generated Node #0,2,1: 12:[52, 4] Operation: 10-6=4
Exploring Operation: 52-6=46, Resulting Numbers: [10, 46]
Generated Node #0,2,2: 12:[10, 46] Operation: 52-6=46
Exploring Operation: 10+6=16, Resulting Numbers: [52, 16]
Generated Node #0,2,3: 12:[52, 16] Operation: 10+6=16
Moving to Node #0,2,0
Current State: 12:[6, 42], Operations: ['58-6=52', '52-10=42']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 6*42=252, Resulting Numbers: [252]
252,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[10, 46], Operations: ['58-6=52', '52-6=46']
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,12 unequal: No Solution
Exploring Operation: 10*46=460, Resulting Numbers: [460]
460,12 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[52, 4], Operations: ['58-6=52', '10-6=4']
Exploring Operation: 52*4=208, Resulting Numbers: [208]
208,12 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,12 unequal: No Solution
Moving to Node #0,2,3
Current State: 12:[52, 16], Operations: ['58-6=52', '10+6=16']
Exploring Operation: 52+16=68, Resulting Numbers: [68]
68,12 unequal: No Solution
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 52*16=832, Resulting Numbers: [832]
832,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[10, 6, 52], Operations: ['58-6=52']
Exploring Operation: 52-10=42, Resulting Numbers: [6, 42]
Generated Node #0,3,0: 12:[6, 42] Operation: 52-10=42
Exploring Operation: 10-6=4, Resulting Numbers: [52, 4]
Generated Node #0,3,1: 12:[52, 4] Operation: 10-6=4
Exploring Operation: 10+6=16, Resulting Numbers: [52, 16]
Generated Node #0,3,2: 12:[52, 16] Operation: 10+6=16
Exploring Operation: 52-6=46, Resulting Numbers: [10, 46]
Generated Node #0,3,3: 12:[10, 46] Operation: 52-6=46
Moving to Node #0,3,0
Current State: 12:[6, 42], Operations: ['58-6=52', '52-10=42']
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 6*42=252, Resulting Numbers: [252]
252,12 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Moving to Node #0,3,3
Current State: 12:[10, 46], Operations: ['58-6=52', '52-6=46']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,12 unequal: No Solution
Exploring Operation: 10*46=460, Resulting Numbers: [460]
460,12 unequal: No Solution
Moving to Node #0,3,1
Current State: 12:[52, 4], Operations: ['58-6=52', '10-6=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,12 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 52*4=208, Resulting Numbers: [208]
208,12 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Moving to Node #0,3,2
Current State: 12:[52, 16], Operations: ['58-6=52', '10+6=16']
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 52*16=832, Resulting Numbers: [832]
832,12 unequal: No Solution
Exploring Operation: 52+16=68, Resulting Numbers: [68]
68,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[58, 6, 4], Operations: ['10-6=4']
Exploring Operation: 6-4=2, Resulting Numbers: [58, 2]
Generated Node #0,1,0: 12:[58, 2] Operation: 6-4=2
Exploring Operation: 6+4=10, Resulting Numbers: [58, 10]
Generated Node #0,1,1: 12:[58, 10] Operation: 6+4=10
Exploring Operation: 58-6=52, Resulting Numbers: [4, 52]
Generated Node #0,1,2: 12:[4, 52] Operation: 58-6=52
Exploring Operation: 58-4=54, Resulting Numbers: [6, 54]
Generated Node #0,1,3: 12:[6, 54] Operation: 58-4=54
Moving to Node #0,1,2
Current State: 12:[4, 52], Operations: ['10-6=4', '58-6=52']
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,12 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 4*52=208, Resulting Numbers: [208]
208,12 unequal: No Solution
Moving to Node #0,1,3
Current State: 12:[6, 54], Operations: ['10-6=4', '58-4=54']
Exploring Operation: 6+54=60, Resulting Numbers: [60]
60,12 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 6*54=324, Resulting Numbers: [324]
324,12 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[58, 2], Operations: ['10-6=4', '6-4=2']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,12 unequal: No Solution
Exploring Operation: 58*2=116, Resulting Numbers: [116]
116,12 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[58, 10], Operations: ['10-6=4', '6+4=10']
Exploring Operation: 58+10=68, Resulting Numbers: [68]
68,12 unequal: No Solution
Exploring Operation: 58*10=580, Resulting Numbers: [580]
580,12 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
43,
68,
7,
79
] | 25 | [
"43+68=111",
"7+79=86",
"111-86=25"
] | Current State: 25:[43, 68, 7, 79], Operations: []
Exploring Operation: 43+68=111, Resulting Numbers: [7, 79, 111]
Generated Node #2: [7, 79, 111] from Operation: 43+68=111
Current State: 25:[7, 79, 111], Operations: ['43+68=111']
Exploring Operation: 7+79=86, Resulting Numbers: [111, 86]
Generated Node #3: [111, 86] from Operation: 7+79=86
Current State: 25:[111, 86], Operations: ['43+68=111', '7+79=86']
Exploring Operation: 111-86=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[43, 68, 7, 79], Operations: []
Exploring Operation: 79-68=11, Resulting Numbers: [43, 7, 11]
Generated Node #0,0: 25:[43, 7, 11] Operation: 79-68=11
Exploring Operation: 68-43=25, Resulting Numbers: [7, 79, 25]
Generated Node #0,1: 25:[7, 79, 25] Operation: 68-43=25
Exploring Operation: 79-43=36, Resulting Numbers: [68, 7, 36]
Generated Node #0,2: 25:[68, 7, 36] Operation: 79-43=36
Moving to Node #0,0
Current State: 25:[43, 7, 11], Operations: ['79-68=11']
Exploring Operation: 43-7=36, Resulting Numbers: [11, 36]
Generated Node #0,0,0: 25:[11, 36] Operation: 43-7=36
Exploring Operation: 43-11=32, Resulting Numbers: [7, 32]
Generated Node #0,0,1: 25:[7, 32] Operation: 43-11=32
Exploring Operation: 11-7=4, Resulting Numbers: [43, 4]
Generated Node #0,0,2: 25:[43, 4] Operation: 11-7=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[7, 32], Operations: ['79-68=11', '43-11=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,25 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[43, 68, 7, 79], Operations: []
Exploring Operation: 79-68=11, Resulting Numbers: [43, 7, 11]
Generated Node #0,0: 25:[43, 7, 11] Operation: 79-68=11
Moving to Node #0,0
Current State: 25:[43, 7, 11], Operations: ['79-68=11']
Exploring Operation: 43-11=32, Resulting Numbers: [7, 32]
Generated Node #0,0,1: 25:[7, 32] Operation: 43-11=32
Moving to Node #0,0,1
Current State: 25:[7, 32], Operations: ['79-68=11', '43-11=32']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
48,
70,
31,
10
] | 45 | [
"70*31=2170",
"2170-10=2160",
"2160/48=45"
] | Current State: 45:[48, 70, 31, 10], Operations: []
Exploring Operation: 70*31=2170, Resulting Numbers: [48, 10, 2170]
Generated Node #2: [48, 10, 2170] from Operation: 70*31=2170
Current State: 45:[48, 10, 2170], Operations: ['70*31=2170']
Exploring Operation: 2170-10=2160, Resulting Numbers: [48, 2160]
Generated Node #3: [48, 2160] from Operation: 2170-10=2160
Current State: 45:[48, 2160], Operations: ['70*31=2170', '2170-10=2160']
Exploring Operation: 2160/48=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[48, 70, 31, 10], Operations: []
Exploring Operation: 70-31=39, Resulting Numbers: [48, 10, 39]
Generated Node #0,0: 45:[48, 10, 39] Operation: 70-31=39
Moving to Node #0,0
Current State: 45:[48, 10, 39], Operations: ['70-31=39']
Exploring Operation: 48-39=9, Resulting Numbers: [10, 9]
Generated Node #0,0,0: 45:[10, 9] Operation: 48-39=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[10, 9], Operations: ['70-31=39', '48-39=9']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,45 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 |
[
96,
91,
52,
2
] | 62 | [
"96-91=5",
"2*5=10",
"52+10=62"
] | Current State: 62:[96, 91, 52, 2], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [52, 2, 5]
Generated Node #2: [52, 2, 5] from Operation: 96-91=5
Current State: 62:[52, 2, 5], Operations: ['96-91=5']
Exploring Operation: 2*5=10, Resulting Numbers: [52, 10]
Generated Node #3: [52, 10] from Operation: 2*5=10
Current State: 62:[52, 10], Operations: ['96-91=5', '2*5=10']
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[96, 91, 52, 2], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [52, 2, 5]
Generated Node #0,0: 62:[52, 2, 5] Operation: 96-91=5
Exploring Operation: 96-52=44, Resulting Numbers: [91, 2, 44]
Generated Node #0,1: 62:[91, 2, 44] Operation: 96-52=44
Exploring Operation: 91-52=39, Resulting Numbers: [96, 2, 39]
Generated Node #0,2: 62:[96, 2, 39] Operation: 91-52=39
Moving to Node #0,0
Current State: 62:[52, 2, 5], Operations: ['96-91=5']
Exploring Operation: 52/2=26, Resulting Numbers: [5, 26]
Generated Node #0,0,0: 62:[5, 26] Operation: 52/2=26
Exploring Operation: 52+5=57, Resulting Numbers: [2, 57]
Generated Node #0,0,1: 62:[2, 57] Operation: 52+5=57
Exploring Operation: 52+2=54, Resulting Numbers: [5, 54]
Generated Node #0,0,2: 62:[5, 54] Operation: 52+2=54
Moving to Node #0,1
Current State: 62:[91, 2, 44], Operations: ['96-52=44']
Exploring Operation: 91-44=47, Resulting Numbers: [2, 47]
Generated Node #0,1,0: 62:[2, 47] Operation: 91-44=47
Exploring Operation: 44/2=22, Resulting Numbers: [91, 22]
Generated Node #0,1,1: 62:[91, 22] Operation: 44/2=22
Exploring Operation: 91-2=89, Resulting Numbers: [44, 89]
Generated Node #0,1,2: 62:[44, 89] Operation: 91-2=89
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[2, 47], Operations: ['96-52=44', '91-44=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,62 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[91, 22], Operations: ['96-52=44', '44/2=22']
Exploring Operation: 91+22=113, Resulting Numbers: [113]
113,62 unequal: No Solution
Exploring Operation: 91-22=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 91*22=2002, Resulting Numbers: [2002]
2002,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,1,2
Current State: 62:[44, 89], Operations: ['96-52=44', '91-2=89']
Exploring Operation: 44+89=133, Resulting Numbers: [133]
133,62 unequal: No Solution
Exploring Operation: 89-44=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 44*89=3916, Resulting Numbers: [3916]
3916,62 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: 62:[96, 2, 39], Operations: ['91-52=39']
Exploring Operation: 96-39=57, Resulting Numbers: [2, 57]
Generated Node #0,2,0: 62:[2, 57] Operation: 96-39=57
Exploring Operation: 96/2=48, Resulting Numbers: [39, 48]
Generated Node #0,2,1: 62:[39, 48] Operation: 96/2=48
Exploring Operation: 96-2=94, Resulting Numbers: [39, 94]
Generated Node #0,2,2: 62:[39, 94] Operation: 96-2=94
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[2, 57], Operations: ['91-52=39', '96-39=57']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,62 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,62 unequal: No Solution
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,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,2,1
Current State: 62:[39, 48], Operations: ['91-52=39', '96/2=48']
Exploring Operation: 39+48=87, Resulting Numbers: [87]
87,62 unequal: No Solution
Exploring Operation: 39*48=1872, Resulting Numbers: [1872]
1872,62 unequal: No Solution
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,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,2,2
Current State: 62:[39, 94], Operations: ['91-52=39', '96-2=94']
Exploring Operation: 39*94=3666, Resulting Numbers: [3666]
3666,62 unequal: No Solution
Exploring Operation: 94-39=55, Resulting Numbers: [55]
55,62 unequal: No Solution
Exploring Operation: 39+94=133, Resulting Numbers: [133]
133,62 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: 62:[2, 57], Operations: ['96-91=5', '52+5=57']
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,62 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[5, 26], Operations: ['96-91=5', '52/2=26']
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,62 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,62 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[5, 54], Operations: ['96-91=5', '52+2=54']
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 5*54=270, Resulting Numbers: [270]
270,62 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
70,
38,
46,
72
] | 69 | [
"70+38=108",
"46*108=4968",
"4968/72=69"
] | Current State: 69:[70, 38, 46, 72], Operations: []
Exploring Operation: 70+38=108, Resulting Numbers: [46, 72, 108]
Generated Node #2: [46, 72, 108] from Operation: 70+38=108
Current State: 69:[46, 72, 108], Operations: ['70+38=108']
Exploring Operation: 46*108=4968, Resulting Numbers: [72, 4968]
Generated Node #3: [72, 4968] from Operation: 46*108=4968
Current State: 69:[72, 4968], Operations: ['70+38=108', '46*108=4968']
Exploring Operation: 4968/72=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[70, 38, 46, 72], Operations: []
Exploring Operation: 70-46=24, Resulting Numbers: [38, 72, 24]
Generated Node #0,0: 69:[38, 72, 24] Operation: 70-46=24
Exploring Operation: 72-46=26, Resulting Numbers: [70, 38, 26]
Generated Node #0,1: 69:[70, 38, 26] Operation: 72-46=26
Exploring Operation: 46-38=8, Resulting Numbers: [70, 72, 8]
Generated Node #0,2: 69:[70, 72, 8] Operation: 46-38=8
Exploring Operation: 38+46=84, Resulting Numbers: [70, 72, 84]
Generated Node #0,3: 69:[70, 72, 84] Operation: 38+46=84
Moving to Node #0,2
Current State: 69:[70, 72, 8], Operations: ['46-38=8']
Exploring Operation: 72/8=9, Resulting Numbers: [70, 9]
Generated Node #0,2,0: 69:[70, 9] Operation: 72/8=9
Exploring Operation: 72-70=2, Resulting Numbers: [8, 2]
Generated Node #0,2,1: 69:[8, 2] Operation: 72-70=2
Exploring Operation: 70-8=62, Resulting Numbers: [72, 62]
Generated Node #0,2,2: 69:[72, 62] Operation: 70-8=62
Exploring Operation: 72-8=64, Resulting Numbers: [70, 64]
Generated Node #0,2,3: 69:[70, 64] Operation: 72-8=64
Moving to Node #0,1
Current State: 69:[70, 38, 26], Operations: ['72-46=26']
Exploring Operation: 70-26=44, Resulting Numbers: [38, 44]
Generated Node #0,1,0: 69:[38, 44] Operation: 70-26=44
Exploring Operation: 38-26=12, Resulting Numbers: [70, 12]
Generated Node #0,1,1: 69:[70, 12] Operation: 38-26=12
Exploring Operation: 70-38=32, Resulting Numbers: [26, 32]
Generated Node #0,1,2: 69:[26, 32] Operation: 70-38=32
Exploring Operation: 38+26=64, Resulting Numbers: [70, 64]
Generated Node #0,1,3: 69:[70, 64] Operation: 38+26=64
Moving to Node #0,0
Current State: 69:[38, 72, 24], Operations: ['70-46=24']
Exploring Operation: 38-24=14, Resulting Numbers: [72, 14]
Generated Node #0,0,0: 69:[72, 14] Operation: 38-24=14
Exploring Operation: 72/24=3, Resulting Numbers: [38, 3]
Generated Node #0,0,1: 69:[38, 3] Operation: 72/24=3
Exploring Operation: 72-38=34, Resulting Numbers: [24, 34]
Generated Node #0,0,2: 69:[24, 34] Operation: 72-38=34
Exploring Operation: 38+24=62, Resulting Numbers: [72, 62]
Generated Node #0,0,3: 69:[72, 62] Operation: 38+24=62
Moving to Node #0,3
Current State: 69:[70, 72, 84], Operations: ['38+46=84']
Exploring Operation: 70+72=142, Resulting Numbers: [84, 142]
Generated Node #0,3,0: 69:[84, 142] Operation: 70+72=142
Exploring Operation: 84-70=14, Resulting Numbers: [72, 14]
Generated Node #0,3,1: 69:[72, 14] Operation: 84-70=14
Exploring Operation: 84-72=12, Resulting Numbers: [70, 12]
Generated Node #0,3,2: 69:[70, 12] Operation: 84-72=12
Exploring Operation: 72-70=2, Resulting Numbers: [84, 2]
Generated Node #0,3,3: 69:[84, 2] Operation: 72-70=2
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 69:[70, 12], Operations: ['38+46=84', '84-72=12']
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 70+12=82, Resulting Numbers: [82]
82,69 unequal: No Solution
Exploring Operation: 70*12=840, Resulting Numbers: [840]
840,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,3,1
Current State: 69:[72, 14], Operations: ['38+46=84', '84-70=14']
Exploring Operation: 72-14=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 72*14=1008, Resulting Numbers: [1008]
1008,69 unequal: No Solution
Exploring Operation: 72+14=86, Resulting Numbers: [86]
86,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,3,3
Current State: 69:[84, 2], Operations: ['38+46=84', '72-70=2']
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,69 unequal: No Solution
Exploring Operation: 84*2=168, Resulting Numbers: [168]
168,69 unequal: No Solution
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,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,3,0
Current State: 69:[84, 142], Operations: ['38+46=84', '70+72=142']
Exploring Operation: 84*142=11928, Resulting Numbers: [11928]
11928,69 unequal: No Solution
Exploring Operation: 142-84=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 84+142=226, Resulting Numbers: [226]
226,69 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: 69:[8, 2], Operations: ['46-38=8', '72-70=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Moving to Node #0,2,3
Current State: 69:[70, 64], Operations: ['46-38=8', '72-8=64']
Exploring Operation: 70*64=4480, Resulting Numbers: [4480]
4480,69 unequal: No Solution
Exploring Operation: 70+64=134, Resulting Numbers: [134]
134,69 unequal: No Solution
Exploring Operation: 70-64=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Moving to Node #0,1,3
Current State: 69:[70, 64], Operations: ['72-46=26', '38+26=64']
Exploring Operation: 70*64=4480, Resulting Numbers: [4480]
4480,69 unequal: No Solution
Exploring Operation: 70+64=134, Resulting Numbers: [134]
134,69 unequal: No Solution
Exploring Operation: 70-64=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[70, 9], Operations: ['46-38=8', '72/8=9']
Exploring Operation: 70+9=79, Resulting Numbers: [79]
79,69 unequal: No Solution
Exploring Operation: 70*9=630, Resulting Numbers: [630]
630,69 unequal: No Solution
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[70, 12], Operations: ['72-46=26', '38-26=12']
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 70+12=82, Resulting Numbers: [82]
82,69 unequal: No Solution
Exploring Operation: 70*12=840, Resulting Numbers: [840]
840,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[72, 62], Operations: ['46-38=8', '70-8=62']
Exploring Operation: 72-62=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 72+62=134, Resulting Numbers: [134]
134,69 unequal: No Solution
Exploring Operation: 72*62=4464, Resulting Numbers: [4464]
4464,69 unequal: No Solution
Moving to Node #0,0,3
Current State: 69:[72, 62], Operations: ['70-46=24', '38+24=62']
Exploring Operation: 72*62=4464, Resulting Numbers: [4464]
4464,69 unequal: No Solution
Exploring Operation: 72+62=134, Resulting Numbers: [134]
134,69 unequal: No Solution
Exploring Operation: 72-62=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[26, 32], Operations: ['72-46=26', '70-38=32']
Exploring Operation: 26*32=832, Resulting Numbers: [832]
832,69 unequal: No Solution
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 26+32=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[72, 14], Operations: ['70-46=24', '38-24=14']
Exploring Operation: 72+14=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Exploring Operation: 72-14=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 72*14=1008, Resulting Numbers: [1008]
1008,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[24, 34], Operations: ['70-46=24', '72-38=34']
Exploring Operation: 24+34=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 24*34=816, Resulting Numbers: [816]
816,69 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[38, 3], Operations: ['70-46=24', '72/24=3']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,69 unequal: No Solution
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,69 unequal: No Solution
Exploring Operation: 38*3=114, Resulting Numbers: [114]
114,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[38, 44], Operations: ['72-46=26', '70-26=44']
Exploring Operation: 38*44=1672, Resulting Numbers: [1672]
1672,69 unequal: No Solution
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,69 unequal: No Solution
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,69 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
61,
2,
78,
31
] | 16 | [
"61+2=63",
"78-31=47",
"63-47=16"
] | Current State: 16:[61, 2, 78, 31], Operations: []
Exploring Operation: 61+2=63, Resulting Numbers: [78, 31, 63]
Generated Node #2: [78, 31, 63] from Operation: 61+2=63
Current State: 16:[78, 31, 63], Operations: ['61+2=63']
Exploring Operation: 78-31=47, Resulting Numbers: [63, 47]
Generated Node #3: [63, 47] from Operation: 78-31=47
Current State: 16:[63, 47], Operations: ['61+2=63', '78-31=47']
Exploring Operation: 63-47=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[61, 2, 78, 31], Operations: []
Exploring Operation: 78-31=47, Resulting Numbers: [61, 2, 47]
Generated Node #0,0: 16:[61, 2, 47] Operation: 78-31=47
Exploring Operation: 78-61=17, Resulting Numbers: [2, 31, 17]
Generated Node #0,1: 16:[2, 31, 17] Operation: 78-61=17
Exploring Operation: 61-31=30, Resulting Numbers: [2, 78, 30]
Generated Node #0,2: 16:[2, 78, 30] Operation: 61-31=30
Moving to Node #0,1
Current State: 16:[2, 31, 17], Operations: ['78-61=17']
Exploring Operation: 31-2=29, Resulting Numbers: [17, 29]
Generated Node #0,1,0: 16:[17, 29] Operation: 31-2=29
Exploring Operation: 17-2=15, Resulting Numbers: [31, 15]
Generated Node #0,1,1: 16:[31, 15] Operation: 17-2=15
Exploring Operation: 31-17=14, Resulting Numbers: [2, 14]
Generated Node #0,1,2: 16:[2, 14] Operation: 31-17=14
Moving to Node #0,0
Current State: 16:[61, 2, 47], Operations: ['78-31=47']
Exploring Operation: 47-2=45, Resulting Numbers: [61, 45]
Generated Node #0,0,0: 16:[61, 45] Operation: 47-2=45
Exploring Operation: 61-47=14, Resulting Numbers: [2, 14]
Generated Node #0,0,1: 16:[2, 14] Operation: 61-47=14
Exploring Operation: 61-2=59, Resulting Numbers: [47, 59]
Generated Node #0,0,2: 16:[47, 59] Operation: 61-2=59
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[2, 14], Operations: ['78-31=47', '61-47=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[61, 2, 78, 31], Operations: []
Exploring Operation: 78-31=47, Resulting Numbers: [61, 2, 47]
Generated Node #0,0: 16:[61, 2, 47] Operation: 78-31=47
Moving to Node #0,0
Current State: 16:[61, 2, 47], Operations: ['78-31=47']
Exploring Operation: 61-47=14, Resulting Numbers: [2, 14]
Generated Node #0,0,1: 16:[2, 14] Operation: 61-47=14
Moving to Node #0,0,1
Current State: 16:[2, 14], Operations: ['78-31=47', '61-47=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
6,
56,
17,
10
] | 19 | [
"17*10=170",
"170-56=114",
"114/6=19"
] | Current State: 19:[6, 56, 17, 10], Operations: []
Exploring Operation: 17*10=170, Resulting Numbers: [6, 56, 170]
Generated Node #2: [6, 56, 170] from Operation: 17*10=170
Current State: 19:[6, 56, 170], Operations: ['17*10=170']
Exploring Operation: 170-56=114, Resulting Numbers: [6, 114]
Generated Node #3: [6, 114] from Operation: 170-56=114
Current State: 19:[6, 114], Operations: ['17*10=170', '170-56=114']
Exploring Operation: 114/6=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[6, 56, 17, 10], Operations: []
Exploring Operation: 56-6=50, Resulting Numbers: [17, 10, 50]
Generated Node #0,0: 19:[17, 10, 50] Operation: 56-6=50
Exploring Operation: 6+10=16, Resulting Numbers: [56, 17, 16]
Generated Node #0,1: 19:[56, 17, 16] Operation: 6+10=16
Exploring Operation: 56-17=39, Resulting Numbers: [6, 10, 39]
Generated Node #0,2: 19:[6, 10, 39] Operation: 56-17=39
Moving to Node #0,0
Current State: 19:[17, 10, 50], Operations: ['56-6=50']
Exploring Operation: 50-10=40, Resulting Numbers: [17, 40]
Generated Node #0,0,0: 19:[17, 40] Operation: 50-10=40
Exploring Operation: 50/10=5, Resulting Numbers: [17, 5]
Generated Node #0,0,1: 19:[17, 5] Operation: 50/10=5
Exploring Operation: 50-17=33, Resulting Numbers: [10, 33]
Generated Node #0,0,2: 19:[10, 33] Operation: 50-17=33
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[17, 5], Operations: ['56-6=50', '50/10=5']
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[17, 40], Operations: ['56-6=50', '50-10=40']
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,19 unequal: No Solution
Exploring Operation: 17*40=680, Resulting Numbers: [680]
680,19 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[10, 33], Operations: ['56-6=50', '50-17=33']
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,19 unequal: No Solution
Exploring Operation: 10*33=330, Resulting Numbers: [330]
330,19 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 19:[56, 17, 16], Operations: ['6+10=16']
Exploring Operation: 17+16=33, Resulting Numbers: [56, 33]
Generated Node #0,1,0: 19:[56, 33] Operation: 17+16=33
Exploring Operation: 56-16=40, Resulting Numbers: [17, 40]
Generated Node #0,1,1: 19:[17, 40] Operation: 56-16=40
Exploring Operation: 56-17=39, Resulting Numbers: [16, 39]
Generated Node #0,1,2: 19:[16, 39] Operation: 56-17=39
Moving to Node #0,2
Current State: 19:[6, 10, 39], Operations: ['56-17=39']
Exploring Operation: 39-10=29, Resulting Numbers: [6, 29]
Generated Node #0,2,0: 19:[6, 29] Operation: 39-10=29
Exploring Operation: 6+10=16, Resulting Numbers: [39, 16]
Generated Node #0,2,1: 19:[39, 16] Operation: 6+10=16
Exploring Operation: 39-6=33, Resulting Numbers: [10, 33]
Generated Node #0,2,2: 19:[10, 33] Operation: 39-6=33
Moving to Node #0,1,1
Current State: 19:[17, 40], Operations: ['6+10=16', '56-16=40']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,19 unequal: No Solution
Exploring Operation: 17*40=680, Resulting Numbers: [680]
680,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[10, 33], Operations: ['56-17=39', '39-6=33']
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,19 unequal: No Solution
Exploring Operation: 10*33=330, Resulting Numbers: [330]
330,19 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[16, 39], Operations: ['6+10=16', '56-17=39']
Exploring Operation: 16+39=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 16*39=624, Resulting Numbers: [624]
624,19 unequal: No Solution
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[6, 29], Operations: ['56-17=39', '39-10=29']
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[39, 16], Operations: ['56-17=39', '6+10=16']
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 39+16=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 39*16=624, Resulting Numbers: [624]
624,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[56, 33], Operations: ['6+10=16', '17+16=33']
Exploring Operation: 56*33=1848, Resulting Numbers: [1848]
1848,19 unequal: No Solution
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 56+33=89, Resulting Numbers: [89]
89,19 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
95,
15,
83,
57
] | 74 | [
"15*57=855",
"855/95=9",
"83-9=74"
] | Current State: 74:[95, 15, 83, 57], Operations: []
Exploring Operation: 15*57=855, Resulting Numbers: [95, 83, 855]
Generated Node #2: [95, 83, 855] from Operation: 15*57=855
Current State: 74:[95, 83, 855], Operations: ['15*57=855']
Exploring Operation: 855/95=9, Resulting Numbers: [83, 9]
Generated Node #3: [83, 9] from Operation: 855/95=9
Current State: 74:[83, 9], Operations: ['15*57=855', '855/95=9']
Exploring Operation: 83-9=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[95, 15, 83, 57], Operations: []
Exploring Operation: 57-15=42, Resulting Numbers: [95, 83, 42]
Generated Node #0,0: 74:[95, 83, 42] Operation: 57-15=42
Exploring Operation: 95-15=80, Resulting Numbers: [83, 57, 80]
Generated Node #0,1: 74:[83, 57, 80] Operation: 95-15=80
Exploring Operation: 15+57=72, Resulting Numbers: [95, 83, 72]
Generated Node #0,2: 74:[95, 83, 72] Operation: 15+57=72
Exploring Operation: 95-83=12, Resulting Numbers: [15, 57, 12]
Generated Node #0,3: 74:[15, 57, 12] Operation: 95-83=12
Exploring Operation: 95-57=38, Resulting Numbers: [15, 83, 38]
Generated Node #0,4: 74:[15, 83, 38] Operation: 95-57=38
Start Sub Search at level 1: Moving to Node #0,4
Current State: 74:[15, 83, 38], Operations: ['95-57=38']
Exploring Operation: 83-15=68, Resulting Numbers: [38, 68]
Generated Node #0,4,0: 74:[38, 68] Operation: 83-15=68
Exploring Operation: 15+83=98, Resulting Numbers: [38, 98]
Generated Node #0,4,1: 74:[38, 98] Operation: 15+83=98
Exploring Operation: 38-15=23, Resulting Numbers: [83, 23]
Generated Node #0,4,2: 74:[83, 23] Operation: 38-15=23
Exploring Operation: 15+38=53, Resulting Numbers: [83, 53]
Generated Node #0,4,3: 74:[83, 53] Operation: 15+38=53
Exploring Operation: 83-38=45, Resulting Numbers: [15, 45]
Generated Node #0,4,4: 74:[15, 45] Operation: 83-38=45
Moving to Node #0,4,0
Current State: 74:[38, 68], Operations: ['95-57=38', '83-15=68']
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 38*68=2584, Resulting Numbers: [2584]
2584,74 unequal: No Solution
Exploring Operation: 38+68=106, Resulting Numbers: [106]
106,74 unequal: No Solution
Moving to Node #0,4,4
Current State: 74:[15, 45], Operations: ['95-57=38', '83-38=45']
Exploring Operation: 15*45=675, Resulting Numbers: [675]
675,74 unequal: No Solution
Exploring Operation: 15+45=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Moving to Node #0,4,2
Current State: 74:[83, 23], Operations: ['95-57=38', '38-15=23']
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 83+23=106, Resulting Numbers: [106]
106,74 unequal: No Solution
Exploring Operation: 83*23=1909, Resulting Numbers: [1909]
1909,74 unequal: No Solution
Moving to Node #0,4,1
Current State: 74:[38, 98], Operations: ['95-57=38', '15+83=98']
Exploring Operation: 38*98=3724, Resulting Numbers: [3724]
3724,74 unequal: No Solution
Exploring Operation: 98-38=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 38+98=136, Resulting Numbers: [136]
136,74 unequal: No Solution
Moving to Node #0,4,3
Current State: 74:[83, 53], Operations: ['95-57=38', '15+38=53']
Exploring Operation: 83-53=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 83+53=136, Resulting Numbers: [136]
136,74 unequal: No Solution
Exploring Operation: 83*53=4399, Resulting Numbers: [4399]
4399,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[83, 57, 80], Operations: ['95-15=80']
Exploring Operation: 80-57=23, Resulting Numbers: [83, 23]
Generated Node #0,1,0: 74:[83, 23] Operation: 80-57=23
Exploring Operation: 57+80=137, Resulting Numbers: [83, 137]
Generated Node #0,1,1: 74:[83, 137] Operation: 57+80=137
Exploring Operation: 83+57=140, Resulting Numbers: [80, 140]
Generated Node #0,1,2: 74:[80, 140] Operation: 83+57=140
Exploring Operation: 83-80=3, Resulting Numbers: [57, 3]
Generated Node #0,1,3: 74:[57, 3] Operation: 83-80=3
Exploring Operation: 83-57=26, Resulting Numbers: [80, 26]
Generated Node #0,1,4: 74:[80, 26] Operation: 83-57=26
Moving to Node #0,1,4
Current State: 74:[80, 26], Operations: ['95-15=80', '83-57=26']
Exploring Operation: 80-26=54, Resulting Numbers: [54]
54,74 unequal: No Solution
Exploring Operation: 80*26=2080, Resulting Numbers: [2080]
2080,74 unequal: No Solution
Exploring Operation: 80+26=106, Resulting Numbers: [106]
106,74 unequal: No Solution
Moving to Node #0,1,3
Current State: 74:[57, 3], Operations: ['95-15=80', '83-80=3']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,74 unequal: No Solution
Exploring Operation: 57+3=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 57*3=171, Resulting Numbers: [171]
171,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[83, 23], Operations: ['95-15=80', '80-57=23']
Exploring Operation: 83+23=106, Resulting Numbers: [106]
106,74 unequal: No Solution
Exploring Operation: 83*23=1909, Resulting Numbers: [1909]
1909,74 unequal: No Solution
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[83, 137], Operations: ['95-15=80', '57+80=137']
Exploring Operation: 83+137=220, Resulting Numbers: [220]
220,74 unequal: No Solution
Exploring Operation: 137-83=54, Resulting Numbers: [54]
54,74 unequal: No Solution
Exploring Operation: 83*137=11371, Resulting Numbers: [11371]
11371,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[80, 140], Operations: ['95-15=80', '83+57=140']
Exploring Operation: 80*140=11200, Resulting Numbers: [11200]
11200,74 unequal: No Solution
Exploring Operation: 140-80=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 80+140=220, Resulting Numbers: [220]
220,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[95, 83, 72], Operations: ['15+57=72']
Exploring Operation: 95+72=167, Resulting Numbers: [83, 167]
Generated Node #0,2,0: 74:[83, 167] Operation: 95+72=167
Exploring Operation: 95-83=12, Resulting Numbers: [72, 12]
Generated Node #0,2,1: 74:[72, 12] Operation: 95-83=12
Exploring Operation: 83+72=155, Resulting Numbers: [95, 155]
Generated Node #0,2,2: 74:[95, 155] Operation: 83+72=155
Exploring Operation: 95-72=23, Resulting Numbers: [83, 23]
Generated Node #0,2,3: 74:[83, 23] Operation: 95-72=23
Exploring Operation: 83-72=11, Resulting Numbers: [95, 11]
Generated Node #0,2,4: 74:[95, 11] Operation: 83-72=11
Moving to Node #0,2,1
Current State: 74:[72, 12], Operations: ['15+57=72', '95-83=12']
Exploring Operation: 72/12=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 72*12=864, Resulting Numbers: [864]
864,74 unequal: No Solution
Exploring Operation: 72+12=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Moving to Node #0,2,3
Current State: 74:[83, 23], Operations: ['15+57=72', '95-72=23']
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 83+23=106, Resulting Numbers: [106]
106,74 unequal: No Solution
Exploring Operation: 83*23=1909, Resulting Numbers: [1909]
1909,74 unequal: No Solution
Moving to Node #0,2,4
Current State: 74:[95, 11], Operations: ['15+57=72', '83-72=11']
Exploring Operation: 95-11=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Exploring Operation: 95+11=106, Resulting Numbers: [106]
106,74 unequal: No Solution
Exploring Operation: 95*11=1045, Resulting Numbers: [1045]
1045,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[83, 167], Operations: ['15+57=72', '95+72=167']
Exploring Operation: 167-83=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Exploring Operation: 83*167=13861, Resulting Numbers: [13861]
13861,74 unequal: No Solution
Exploring Operation: 83+167=250, Resulting Numbers: [250]
250,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[95, 155], Operations: ['15+57=72', '83+72=155']
Exploring Operation: 155-95=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 95*155=14725, Resulting Numbers: [14725]
14725,74 unequal: No Solution
Exploring Operation: 95+155=250, Resulting Numbers: [250]
250,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[95, 83, 42], Operations: ['57-15=42']
Exploring Operation: 95-83=12, Resulting Numbers: [42, 12]
Generated Node #0,0,0: 74:[42, 12] Operation: 95-83=12
Exploring Operation: 83+42=125, Resulting Numbers: [95, 125]
Generated Node #0,0,1: 74:[95, 125] Operation: 83+42=125
Exploring Operation: 95+42=137, Resulting Numbers: [83, 137]
Generated Node #0,0,2: 74:[83, 137] Operation: 95+42=137
Exploring Operation: 83-42=41, Resulting Numbers: [95, 41]
Generated Node #0,0,3: 74:[95, 41] Operation: 83-42=41
Exploring Operation: 95-42=53, Resulting Numbers: [83, 53]
Generated Node #0,0,4: 74:[83, 53] Operation: 95-42=53
Moving to Node #0,0,0
Current State: 74:[42, 12], Operations: ['57-15=42', '95-83=12']
Exploring Operation: 42*12=504, Resulting Numbers: [504]
504,74 unequal: No Solution
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,74 unequal: No Solution
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Moving to Node #0,0,4
Current State: 74:[83, 53], Operations: ['57-15=42', '95-42=53']
Exploring Operation: 83+53=136, Resulting Numbers: [136]
136,74 unequal: No Solution
Exploring Operation: 83-53=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 83*53=4399, Resulting Numbers: [4399]
4399,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[95, 41], Operations: ['57-15=42', '83-42=41']
Exploring Operation: 95-41=54, Resulting Numbers: [54]
54,74 unequal: No Solution
Exploring Operation: 95*41=3895, Resulting Numbers: [3895]
3895,74 unequal: No Solution
Exploring Operation: 95+41=136, Resulting Numbers: [136]
136,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[95, 125], Operations: ['57-15=42', '83+42=125']
Exploring Operation: 95+125=220, Resulting Numbers: [220]
220,74 unequal: No Solution
Exploring Operation: 125-95=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 95*125=11875, Resulting Numbers: [11875]
11875,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[83, 137], Operations: ['57-15=42', '95+42=137']
Exploring Operation: 83+137=220, Resulting Numbers: [220]
220,74 unequal: No Solution
Exploring Operation: 83*137=11371, Resulting Numbers: [11371]
11371,74 unequal: No Solution
Exploring Operation: 137-83=54, Resulting Numbers: [54]
54,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[15, 57, 12], Operations: ['95-83=12']
Exploring Operation: 57+12=69, Resulting Numbers: [15, 69]
Generated Node #0,3,0: 74:[15, 69] Operation: 57+12=69
Exploring Operation: 57-12=45, Resulting Numbers: [15, 45]
Generated Node #0,3,1: 74:[15, 45] Operation: 57-12=45
Exploring Operation: 57-15=42, Resulting Numbers: [12, 42]
Generated Node #0,3,2: 74:[12, 42] Operation: 57-15=42
Exploring Operation: 15+57=72, Resulting Numbers: [12, 72]
Generated Node #0,3,3: 74:[12, 72] Operation: 15+57=72
Exploring Operation: 15-12=3, Resulting Numbers: [57, 3]
Generated Node #0,3,4: 74:[57, 3] Operation: 15-12=3
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 74:[12, 72], Operations: ['95-83=12', '15+57=72']
Exploring Operation: 72/12=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 12+72=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 12*72=864, Resulting Numbers: [864]
864,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 74:[12, 42], Operations: ['95-83=12', '57-15=42']
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 12+42=54, Resulting Numbers: [54]
54,74 unequal: No Solution
Exploring Operation: 12*42=504, Resulting Numbers: [504]
504,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 74:[15, 69], Operations: ['95-83=12', '57+12=69']
Exploring Operation: 15+69=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Exploring Operation: 15*69=1035, Resulting Numbers: [1035]
1035,74 unequal: No Solution
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 74:[57, 3], Operations: ['95-83=12', '15-12=3']
Exploring Operation: 57+3=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,74 unequal: No Solution
Exploring Operation: 57*3=171, Resulting Numbers: [171]
171,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 74:[15, 45], Operations: ['95-83=12', '57-12=45']
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 15*45=675, Resulting Numbers: [675]
675,74 unequal: No Solution
Exploring Operation: 15+45=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
60,
70,
69,
24
] | 97 | [
"70*24=1680",
"1680/60=28",
"69+28=97"
] | Current State: 97:[60, 70, 69, 24], Operations: []
Exploring Operation: 70*24=1680, Resulting Numbers: [60, 69, 1680]
Generated Node #2: [60, 69, 1680] from Operation: 70*24=1680
Current State: 97:[60, 69, 1680], Operations: ['70*24=1680']
Exploring Operation: 1680/60=28, Resulting Numbers: [69, 28]
Generated Node #3: [69, 28] from Operation: 1680/60=28
Current State: 97:[69, 28], Operations: ['70*24=1680', '1680/60=28']
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[60, 70, 69, 24], Operations: []
Exploring Operation: 60+24=84, Resulting Numbers: [70, 69, 84]
Generated Node #0,0: 97:[70, 69, 84] Operation: 60+24=84
Moving to Node #0,0
Current State: 97:[70, 69, 84], Operations: ['60+24=84']
Exploring Operation: 70+69=139, Resulting Numbers: [84, 139]
Generated Node #0,0,0: 97:[84, 139] Operation: 70+69=139
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[84, 139], Operations: ['60+24=84', '70+69=139']
Exploring Operation: 139-84=55, Resulting Numbers: [55]
55,97 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 |
[
71,
82,
94,
63
] | 20 | [
"82-71=11",
"94-63=31",
"31-11=20"
] | Current State: 20:[71, 82, 94, 63], Operations: []
Exploring Operation: 82-71=11, Resulting Numbers: [94, 63, 11]
Generated Node #2: [94, 63, 11] from Operation: 82-71=11
Current State: 20:[94, 63, 11], Operations: ['82-71=11']
Exploring Operation: 94-63=31, Resulting Numbers: [11, 31]
Generated Node #3: [11, 31] from Operation: 94-63=31
Current State: 20:[11, 31], Operations: ['82-71=11', '94-63=31']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[71, 82, 94, 63], Operations: []
Exploring Operation: 94-71=23, Resulting Numbers: [82, 63, 23]
Generated Node #0,0: 20:[82, 63, 23] Operation: 94-71=23
Exploring Operation: 82-71=11, Resulting Numbers: [94, 63, 11]
Generated Node #0,1: 20:[94, 63, 11] Operation: 82-71=11
Exploring Operation: 94-82=12, Resulting Numbers: [71, 63, 12]
Generated Node #0,2: 20:[71, 63, 12] Operation: 94-82=12
Moving to Node #0,2
Current State: 20:[71, 63, 12], Operations: ['94-82=12']
Exploring Operation: 71-12=59, Resulting Numbers: [63, 59]
Generated Node #0,2,0: 20:[63, 59] Operation: 71-12=59
Exploring Operation: 63-12=51, Resulting Numbers: [71, 51]
Generated Node #0,2,1: 20:[71, 51] Operation: 63-12=51
Exploring Operation: 71-63=8, Resulting Numbers: [12, 8]
Generated Node #0,2,2: 20:[12, 8] Operation: 71-63=8
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[12, 8], Operations: ['94-82=12', '71-63=8']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,20 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[71, 82, 94, 63], Operations: []
Exploring Operation: 94-82=12, Resulting Numbers: [71, 63, 12]
Generated Node #0,2: 20:[71, 63, 12] Operation: 94-82=12
Moving to Node #0,2
Current State: 20:[71, 63, 12], Operations: ['94-82=12']
Exploring Operation: 71-63=8, Resulting Numbers: [12, 8]
Generated Node #0,2,2: 20:[12, 8] Operation: 71-63=8
Moving to Node #0,2,2
Current State: 20:[12, 8], Operations: ['94-82=12', '71-63=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
77,
97,
28,
11
] | 62 | [
"77/11=7",
"97-28=69",
"69-7=62"
] | Current State: 62:[77, 97, 28, 11], Operations: []
Exploring Operation: 77/11=7, Resulting Numbers: [97, 28, 7]
Generated Node #2: [97, 28, 7] from Operation: 77/11=7
Current State: 62:[97, 28, 7], Operations: ['77/11=7']
Exploring Operation: 97-28=69, Resulting Numbers: [7, 69]
Generated Node #3: [7, 69] from Operation: 97-28=69
Current State: 62:[7, 69], Operations: ['77/11=7', '97-28=69']
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[77, 97, 28, 11], Operations: []
Exploring Operation: 77-11=66, Resulting Numbers: [97, 28, 66]
Generated Node #0,0: 62:[97, 28, 66] Operation: 77-11=66
Exploring Operation: 97-28=69, Resulting Numbers: [77, 11, 69]
Generated Node #0,1: 62:[77, 11, 69] Operation: 97-28=69
Exploring Operation: 97-77=20, Resulting Numbers: [28, 11, 20]
Generated Node #0,2: 62:[28, 11, 20] Operation: 97-77=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[28, 11, 20], Operations: ['97-77=20']
Exploring Operation: 11+20=31, Resulting Numbers: [28, 31]
Generated Node #0,2,0: 62:[28, 31] Operation: 11+20=31
Exploring Operation: 20-11=9, Resulting Numbers: [28, 9]
Generated Node #0,2,1: 62:[28, 9] Operation: 20-11=9
Exploring Operation: 28-20=8, Resulting Numbers: [11, 8]
Generated Node #0,2,2: 62:[11, 8] Operation: 28-20=8
Moving to Node #0,2,0
Current State: 62:[28, 31], Operations: ['97-77=20', '11+20=31']
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 28+31=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 28*31=868, Resulting Numbers: [868]
868,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[28, 9], Operations: ['97-77=20', '20-11=9']
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,62 unequal: No Solution
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[11, 8], Operations: ['97-77=20', '28-20=8']
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,62 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,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,1
Current State: 62:[77, 11, 69], Operations: ['97-28=69']
Exploring Operation: 77-11=66, Resulting Numbers: [69, 66]
Generated Node #0,1,0: 62:[69, 66] Operation: 77-11=66
Exploring Operation: 77/11=7, Resulting Numbers: [69, 7]
Generated Node #0,1,1: 62:[69, 7] Operation: 77/11=7
Exploring Operation: 77-69=8, Resulting Numbers: [11, 8]
Generated Node #0,1,2: 62:[11, 8] Operation: 77-69=8
Moving to Node #0,1,0
Current State: 62:[69, 66], Operations: ['97-28=69', '77-11=66']
Exploring Operation: 69-66=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 69+66=135, Resulting Numbers: [135]
135,62 unequal: No Solution
Exploring Operation: 69*66=4554, Resulting Numbers: [4554]
4554,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[69, 7], Operations: ['97-28=69', '77/11=7']
Exploring Operation: 69*7=483, Resulting Numbers: [483]
483,62 unequal: No Solution
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[77, 97, 28, 11], Operations: []
Exploring Operation: 97-28=69, Resulting Numbers: [77, 11, 69]
Generated Node #0,1: 62:[77, 11, 69] Operation: 97-28=69
Moving to Node #0,1
Current State: 62:[77, 11, 69], Operations: ['97-28=69']
Exploring Operation: 77/11=7, Resulting Numbers: [69, 7]
Generated Node #0,1,1: 62:[69, 7] Operation: 77/11=7
Moving to Node #0,1,1
Current State: 62:[69, 7], Operations: ['97-28=69', '77/11=7']
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
11,
56,
55,
47
] | 59 | [
"11+56=67",
"55-47=8",
"67-8=59"
] | Current State: 59:[11, 56, 55, 47], Operations: []
Exploring Operation: 11+56=67, Resulting Numbers: [55, 47, 67]
Generated Node #2: [55, 47, 67] from Operation: 11+56=67
Current State: 59:[55, 47, 67], Operations: ['11+56=67']
Exploring Operation: 55-47=8, Resulting Numbers: [67, 8]
Generated Node #3: [67, 8] from Operation: 55-47=8
Current State: 59:[67, 8], Operations: ['11+56=67', '55-47=8']
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[11, 56, 55, 47], Operations: []
Exploring Operation: 11+47=58, Resulting Numbers: [56, 55, 58]
Generated Node #0,0: 59:[56, 55, 58] Operation: 11+47=58
Exploring Operation: 11+56=67, Resulting Numbers: [55, 47, 67]
Generated Node #0,1: 59:[55, 47, 67] Operation: 11+56=67
Exploring Operation: 11+55=66, Resulting Numbers: [56, 47, 66]
Generated Node #0,2: 59:[56, 47, 66] Operation: 11+55=66
Exploring Operation: 56-11=45, Resulting Numbers: [55, 47, 45]
Generated Node #0,3: 59:[55, 47, 45] Operation: 56-11=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[56, 55, 58], Operations: ['11+47=58']
Exploring Operation: 56-55=1, Resulting Numbers: [58, 1]
Generated Node #0,0,0: 59:[58, 1] Operation: 56-55=1
Exploring Operation: 55+58=113, Resulting Numbers: [56, 113]
Generated Node #0,0,1: 59:[56, 113] Operation: 55+58=113
Exploring Operation: 56+55=111, Resulting Numbers: [58, 111]
Generated Node #0,0,2: 59:[58, 111] Operation: 56+55=111
Exploring Operation: 56+58=114, Resulting Numbers: [55, 114]
Generated Node #0,0,3: 59:[55, 114] Operation: 56+58=114
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 59:[58, 111], Operations: ['11+47=58', '56+55=111']
Exploring Operation: 111-58=53, Resulting Numbers: [53]
53,59 unequal: No Solution
Exploring Operation: 58*111=6438, Resulting Numbers: [6438]
6438,59 unequal: No Solution
Exploring Operation: 58+111=169, Resulting Numbers: [169]
169,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[56, 113], Operations: ['11+47=58', '55+58=113']
Exploring Operation: 113-56=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 56+113=169, Resulting Numbers: [169]
169,59 unequal: No Solution
Exploring Operation: 56*113=6328, Resulting Numbers: [6328]
6328,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[58, 1], Operations: ['11+47=58', '56-55=1']
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[11, 56, 55, 47], Operations: []
Exploring Operation: 11+47=58, Resulting Numbers: [56, 55, 58]
Generated Node #0,0: 59:[56, 55, 58] Operation: 11+47=58
Moving to Node #0,0
Current State: 59:[56, 55, 58], Operations: ['11+47=58']
Exploring Operation: 56-55=1, Resulting Numbers: [58, 1]
Generated Node #0,0,0: 59:[58, 1] Operation: 56-55=1
Moving to Node #0,0,0
Current State: 59:[58, 1], Operations: ['11+47=58', '56-55=1']
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.