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 |
|---|---|---|---|---|---|---|---|---|
[
44,
6,
43,
16
] | 41 | [
"6+16=22",
"44/22=2",
"43-2=41"
] | Current State: 41:[44, 6, 43, 16], Operations: []
Exploring Operation: 6+16=22, Resulting Numbers: [44, 43, 22]
Generated Node #2: [44, 43, 22] from Operation: 6+16=22
Current State: 41:[44, 43, 22], Operations: ['6+16=22']
Exploring Operation: 44/22=2, Resulting Numbers: [43, 2]
Generated Node #3: [43, 2] from Operation: 44/22=2
Current State: 41:[43, 2], Operations: ['6+16=22', '44/22=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[44, 6, 43, 16], Operations: []
Exploring Operation: 6+16=22, Resulting Numbers: [44, 43, 22]
Generated Node #0,0: 41:[44, 43, 22] Operation: 6+16=22
Exploring Operation: 44-6=38, Resulting Numbers: [43, 16, 38]
Generated Node #0,1: 41:[43, 16, 38] Operation: 44-6=38
Moving to Node #0,0
Current State: 41:[44, 43, 22], Operations: ['6+16=22']
Exploring Operation: 44-22=22, Resulting Numbers: [43, 22]
Generated Node #0,0,0: 41:[43, 22] Operation: 44-22=22
Exploring Operation: 43-22=21, Resulting Numbers: [44, 21]
Generated Node #0,0,1: 41:[44, 21] Operation: 43-22=21
Moving to Node #0,1
Current State: 41:[43, 16, 38], Operations: ['44-6=38']
Exploring Operation: 16+38=54, Resulting Numbers: [43, 54]
Generated Node #0,1,0: 41:[43, 54] Operation: 16+38=54
Exploring Operation: 43-16=27, Resulting Numbers: [38, 27]
Generated Node #0,1,1: 41:[38, 27] Operation: 43-16=27
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[43, 54], Operations: ['44-6=38', '16+38=54']
Exploring Operation: 43+54=97, Resulting Numbers: [97]
97,41 unequal: No Solution
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[38, 27], Operations: ['44-6=38', '43-16=27']
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,41 unequal: No Solution
Exploring Operation: 38+27=65, Resulting Numbers: [65]
65,41 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: 41:[43, 22], Operations: ['6+16=22', '44-22=22']
Exploring Operation: 43+22=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[44, 21], Operations: ['6+16=22', '43-22=21']
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,41 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
13,
29,
56,
67
] | 27 | [
"29-13=16",
"67-56=11",
"16+11=27"
] | Current State: 27:[13, 29, 56, 67], Operations: []
Exploring Operation: 29-13=16, Resulting Numbers: [56, 67, 16]
Generated Node #2: [56, 67, 16] from Operation: 29-13=16
Current State: 27:[56, 67, 16], Operations: ['29-13=16']
Exploring Operation: 67-56=11, Resulting Numbers: [16, 11]
Generated Node #3: [16, 11] from Operation: 67-56=11
Current State: 27:[16, 11], Operations: ['29-13=16', '67-56=11']
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[13, 29, 56, 67], Operations: []
Exploring Operation: 67-56=11, Resulting Numbers: [13, 29, 11]
Generated Node #0,0: 27:[13, 29, 11] Operation: 67-56=11
Moving to Node #0,0
Current State: 27:[13, 29, 11], Operations: ['67-56=11']
Exploring Operation: 13-11=2, Resulting Numbers: [29, 2]
Generated Node #0,0,0: 27:[29, 2] Operation: 13-11=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[29, 2], Operations: ['67-56=11', '13-11=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[13, 29, 56, 67], Operations: []
Exploring Operation: 67-56=11, Resulting Numbers: [13, 29, 11]
Generated Node #0,0: 27:[13, 29, 11] Operation: 67-56=11
Moving to Node #0,0
Current State: 27:[13, 29, 11], Operations: ['67-56=11']
Exploring Operation: 13-11=2, Resulting Numbers: [29, 2]
Generated Node #0,0,0: 27:[29, 2] Operation: 13-11=2
Moving to Node #0,0,0
Current State: 27:[29, 2], Operations: ['67-56=11', '13-11=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
56,
8,
85,
3
] | 34 | [
"56-8=48",
"85-3=82",
"82-48=34"
] | Current State: 34:[56, 8, 85, 3], Operations: []
Exploring Operation: 56-8=48, Resulting Numbers: [85, 3, 48]
Generated Node #2: [85, 3, 48] from Operation: 56-8=48
Current State: 34:[85, 3, 48], Operations: ['56-8=48']
Exploring Operation: 85-3=82, Resulting Numbers: [48, 82]
Generated Node #3: [48, 82] from Operation: 85-3=82
Current State: 34:[48, 82], Operations: ['56-8=48', '85-3=82']
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[56, 8, 85, 3], Operations: []
Exploring Operation: 56/8=7, Resulting Numbers: [85, 3, 7]
Generated Node #0,0: 34:[85, 3, 7] Operation: 56/8=7
Exploring Operation: 85-56=29, Resulting Numbers: [8, 3, 29]
Generated Node #0,1: 34:[8, 3, 29] Operation: 85-56=29
Exploring Operation: 56-8=48, Resulting Numbers: [85, 3, 48]
Generated Node #0,2: 34:[85, 3, 48] Operation: 56-8=48
Moving to Node #0,1
Current State: 34:[8, 3, 29], Operations: ['85-56=29']
Exploring Operation: 29-8=21, Resulting Numbers: [3, 21]
Generated Node #0,1,0: 34:[3, 21] Operation: 29-8=21
Exploring Operation: 8-3=5, Resulting Numbers: [29, 5]
Generated Node #0,1,1: 34:[29, 5] Operation: 8-3=5
Exploring Operation: 8+29=37, Resulting Numbers: [3, 37]
Generated Node #0,1,2: 34:[3, 37] Operation: 8+29=37
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[3, 37], Operations: ['85-56=29', '8+29=37']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[56, 8, 85, 3], Operations: []
Exploring Operation: 85-56=29, Resulting Numbers: [8, 3, 29]
Generated Node #0,1: 34:[8, 3, 29] Operation: 85-56=29
Moving to Node #0,1
Current State: 34:[8, 3, 29], Operations: ['85-56=29']
Exploring Operation: 8+29=37, Resulting Numbers: [3, 37]
Generated Node #0,1,2: 34:[3, 37] Operation: 8+29=37
Moving to Node #0,1,2
Current State: 34:[3, 37], Operations: ['85-56=29', '8+29=37']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
10,
5,
66,
64
] | 13 | [
"10+5=15",
"66-64=2",
"15-2=13"
] | Current State: 13:[10, 5, 66, 64], Operations: []
Exploring Operation: 10+5=15, Resulting Numbers: [66, 64, 15]
Generated Node #2: [66, 64, 15] from Operation: 10+5=15
Current State: 13:[66, 64, 15], Operations: ['10+5=15']
Exploring Operation: 66-64=2, Resulting Numbers: [15, 2]
Generated Node #3: [15, 2] from Operation: 66-64=2
Current State: 13:[15, 2], Operations: ['10+5=15', '66-64=2']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[10, 5, 66, 64], Operations: []
Exploring Operation: 66-10=56, Resulting Numbers: [5, 64, 56]
Generated Node #0,0: 13:[5, 64, 56] Operation: 66-10=56
Exploring Operation: 66-64=2, Resulting Numbers: [10, 5, 2]
Generated Node #0,1: 13:[10, 5, 2] Operation: 66-64=2
Moving to Node #0,1
Current State: 13:[10, 5, 2], Operations: ['66-64=2']
Exploring Operation: 10+2=12, Resulting Numbers: [5, 12]
Generated Node #0,1,0: 13:[5, 12] Operation: 10+2=12
Exploring Operation: 5*2=10, Resulting Numbers: [10, 10]
Generated Node #0,1,1: 13:[10, 10] Operation: 5*2=10
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[10, 10], Operations: ['66-64=2', '5*2=10']
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[5, 12], Operations: ['66-64=2', '10+2=12']
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,13 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,13 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: 13:[5, 64, 56], Operations: ['66-10=56']
Exploring Operation: 64-5=59, Resulting Numbers: [56, 59]
Generated Node #0,0,0: 13:[56, 59] Operation: 64-5=59
Exploring Operation: 64-56=8, Resulting Numbers: [5, 8]
Generated Node #0,0,1: 13:[5, 8] Operation: 64-56=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 13:[5, 8], Operations: ['66-10=56', '64-56=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[10, 5, 66, 64], Operations: []
Exploring Operation: 66-10=56, Resulting Numbers: [5, 64, 56]
Generated Node #0,0: 13:[5, 64, 56] Operation: 66-10=56
Moving to Node #0,0
Current State: 13:[5, 64, 56], Operations: ['66-10=56']
Exploring Operation: 64-56=8, Resulting Numbers: [5, 8]
Generated Node #0,0,1: 13:[5, 8] Operation: 64-56=8
Moving to Node #0,0,1
Current State: 13:[5, 8], Operations: ['66-10=56', '64-56=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
68,
12,
44,
61
] | 97 | [
"68+12=80",
"61-44=17",
"80+17=97"
] | Current State: 97:[68, 12, 44, 61], Operations: []
Exploring Operation: 68+12=80, Resulting Numbers: [44, 61, 80]
Generated Node #2: [44, 61, 80] from Operation: 68+12=80
Current State: 97:[44, 61, 80], Operations: ['68+12=80']
Exploring Operation: 61-44=17, Resulting Numbers: [80, 17]
Generated Node #3: [80, 17] from Operation: 61-44=17
Current State: 97:[80, 17], Operations: ['68+12=80', '61-44=17']
Exploring Operation: 80+17=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[68, 12, 44, 61], Operations: []
Exploring Operation: 68+12=80, Resulting Numbers: [44, 61, 80]
Generated Node #0,0: 97:[44, 61, 80] Operation: 68+12=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[44, 61, 80], Operations: ['68+12=80']
Exploring Operation: 44+61=105, Resulting Numbers: [80, 105]
Generated Node #0,0,0: 97:[80, 105] Operation: 44+61=105
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[80, 105], Operations: ['68+12=80', '44+61=105']
Exploring Operation: 105-80=25, Resulting Numbers: [25]
25,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_1 | mult_heuristic |
[
68,
77,
8,
37
] | 36 | [
"77-68=9",
"8+37=45",
"45-9=36"
] | Current State: 36:[68, 77, 8, 37], Operations: []
Exploring Operation: 77-68=9, Resulting Numbers: [8, 37, 9]
Generated Node #2: [8, 37, 9] from Operation: 77-68=9
Current State: 36:[8, 37, 9], Operations: ['77-68=9']
Exploring Operation: 8+37=45, Resulting Numbers: [9, 45]
Generated Node #3: [9, 45] from Operation: 8+37=45
Current State: 36:[9, 45], Operations: ['77-68=9', '8+37=45']
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[68, 77, 8, 37], Operations: []
Exploring Operation: 77-68=9, Resulting Numbers: [8, 37, 9]
Generated Node #0,0: 36:[8, 37, 9] Operation: 77-68=9
Moving to Node #0,0
Current State: 36:[8, 37, 9], Operations: ['77-68=9']
Exploring Operation: 8+9=17, Resulting Numbers: [37, 17]
Generated Node #0,0,0: 36:[37, 17] Operation: 8+9=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[37, 17], Operations: ['77-68=9', '8+9=17']
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,36 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 |
[
38,
50,
75,
15
] | 28 | [
"38+50=88",
"75-15=60",
"88-60=28"
] | Current State: 28:[38, 50, 75, 15], Operations: []
Exploring Operation: 38+50=88, Resulting Numbers: [75, 15, 88]
Generated Node #2: [75, 15, 88] from Operation: 38+50=88
Current State: 28:[75, 15, 88], Operations: ['38+50=88']
Exploring Operation: 75-15=60, Resulting Numbers: [88, 60]
Generated Node #3: [88, 60] from Operation: 75-15=60
Current State: 28:[88, 60], Operations: ['38+50=88', '75-15=60']
Exploring Operation: 88-60=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[38, 50, 75, 15], Operations: []
Exploring Operation: 75-50=25, Resulting Numbers: [38, 15, 25]
Generated Node #0,0: 28:[38, 15, 25] Operation: 75-50=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[38, 15, 25], Operations: ['75-50=25']
Exploring Operation: 38-25=13, Resulting Numbers: [15, 13]
Generated Node #0,0,0: 28:[15, 13] Operation: 38-25=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[15, 13], Operations: ['75-50=25', '38-25=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[38, 50, 75, 15], Operations: []
Exploring Operation: 75-50=25, Resulting Numbers: [38, 15, 25]
Generated Node #0,0: 28:[38, 15, 25] Operation: 75-50=25
Moving to Node #0,0
Current State: 28:[38, 15, 25], Operations: ['75-50=25']
Exploring Operation: 38-25=13, Resulting Numbers: [15, 13]
Generated Node #0,0,0: 28:[15, 13] Operation: 38-25=13
Moving to Node #0,0,0
Current State: 28:[15, 13], Operations: ['75-50=25', '38-25=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
23,
99,
47,
46
] | 54 | [
"46/23=2",
"99-47=52",
"2+52=54"
] | Current State: 54:[23, 99, 47, 46], Operations: []
Exploring Operation: 46/23=2, Resulting Numbers: [99, 47, 2]
Generated Node #2: [99, 47, 2] from Operation: 46/23=2
Current State: 54:[99, 47, 2], Operations: ['46/23=2']
Exploring Operation: 99-47=52, Resulting Numbers: [2, 52]
Generated Node #3: [2, 52] from Operation: 99-47=52
Current State: 54:[2, 52], Operations: ['46/23=2', '99-47=52']
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[23, 99, 47, 46], Operations: []
Exploring Operation: 99-47=52, Resulting Numbers: [23, 46, 52]
Generated Node #0,0: 54:[23, 46, 52] Operation: 99-47=52
Exploring Operation: 99-46=53, Resulting Numbers: [23, 47, 53]
Generated Node #0,1: 54:[23, 47, 53] Operation: 99-46=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[23, 47, 53], Operations: ['99-46=53']
Exploring Operation: 53-47=6, Resulting Numbers: [23, 6]
Generated Node #0,1,0: 54:[23, 6] Operation: 53-47=6
Exploring Operation: 47-23=24, Resulting Numbers: [53, 24]
Generated Node #0,1,1: 54:[53, 24] Operation: 47-23=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[23, 6], Operations: ['99-46=53', '53-47=6']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,54 unequal: No Solution
No 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: 54:[53, 24], Operations: ['99-46=53', '47-23=24']
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,54 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,54 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: 54:[23, 46, 52], Operations: ['99-47=52']
Exploring Operation: 52-46=6, Resulting Numbers: [23, 6]
Generated Node #0,0,0: 54:[23, 6] Operation: 52-46=6
Exploring Operation: 46/23=2, Resulting Numbers: [52, 2]
Generated Node #0,0,1: 54:[52, 2] Operation: 46/23=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 54:[52, 2], Operations: ['99-47=52', '46/23=2']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[23, 99, 47, 46], Operations: []
Exploring Operation: 99-47=52, Resulting Numbers: [23, 46, 52]
Generated Node #0,0: 54:[23, 46, 52] Operation: 99-47=52
Moving to Node #0,0
Current State: 54:[23, 46, 52], Operations: ['99-47=52']
Exploring Operation: 46/23=2, Resulting Numbers: [52, 2]
Generated Node #0,0,1: 54:[52, 2] Operation: 46/23=2
Moving to Node #0,0,1
Current State: 54:[52, 2], Operations: ['99-47=52', '46/23=2']
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
70,
12,
25,
63
] | 30 | [
"70-12=58",
"25+63=88",
"88-58=30"
] | Current State: 30:[70, 12, 25, 63], Operations: []
Exploring Operation: 70-12=58, Resulting Numbers: [25, 63, 58]
Generated Node #2: [25, 63, 58] from Operation: 70-12=58
Current State: 30:[25, 63, 58], Operations: ['70-12=58']
Exploring Operation: 25+63=88, Resulting Numbers: [58, 88]
Generated Node #3: [58, 88] from Operation: 25+63=88
Current State: 30:[58, 88], Operations: ['70-12=58', '25+63=88']
Exploring Operation: 88-58=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[70, 12, 25, 63], Operations: []
Exploring Operation: 63-25=38, Resulting Numbers: [70, 12, 38]
Generated Node #0,0: 30:[70, 12, 38] Operation: 63-25=38
Exploring Operation: 70-12=58, Resulting Numbers: [25, 63, 58]
Generated Node #0,1: 30:[25, 63, 58] Operation: 70-12=58
Exploring Operation: 70-63=7, Resulting Numbers: [12, 25, 7]
Generated Node #0,2: 30:[12, 25, 7] Operation: 70-63=7
Exploring Operation: 70-25=45, Resulting Numbers: [12, 63, 45]
Generated Node #0,3: 30:[12, 63, 45] Operation: 70-25=45
Moving to Node #0,2
Current State: 30:[12, 25, 7], Operations: ['70-63=7']
Exploring Operation: 12-7=5, Resulting Numbers: [25, 5]
Generated Node #0,2,0: 30:[25, 5] Operation: 12-7=5
Exploring Operation: 25-12=13, Resulting Numbers: [7, 13]
Generated Node #0,2,1: 30:[7, 13] Operation: 25-12=13
Exploring Operation: 25-7=18, Resulting Numbers: [12, 18]
Generated Node #0,2,2: 30:[12, 18] Operation: 25-7=18
Exploring Operation: 25+7=32, Resulting Numbers: [12, 32]
Generated Node #0,2,3: 30:[12, 32] Operation: 25+7=32
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[7, 13], Operations: ['70-63=7', '25-12=13']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 30:[12, 32], Operations: ['70-63=7', '25+7=32']
Exploring Operation: 12+32=44, Resulting Numbers: [44]
44,30 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 12*32=384, Resulting Numbers: [384]
384,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 30:[25, 5], Operations: ['70-63=7', '12-7=5']
Exploring Operation: 25*5=125, Resulting Numbers: [125]
125,30 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[70, 12, 25, 63], Operations: []
Exploring Operation: 70-63=7, Resulting Numbers: [12, 25, 7]
Generated Node #0,2: 30:[12, 25, 7] Operation: 70-63=7
Moving to Node #0,2
Current State: 30:[12, 25, 7], Operations: ['70-63=7']
Exploring Operation: 12-7=5, Resulting Numbers: [25, 5]
Generated Node #0,2,0: 30:[25, 5] Operation: 12-7=5
Moving to Node #0,2,0
Current State: 30:[25, 5], Operations: ['70-63=7', '12-7=5']
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | mult_heuristic |
[
18,
28,
42,
68
] | 16 | [
"28-18=10",
"68-42=26",
"26-10=16"
] | Current State: 16:[18, 28, 42, 68], Operations: []
Exploring Operation: 28-18=10, Resulting Numbers: [42, 68, 10]
Generated Node #2: [42, 68, 10] from Operation: 28-18=10
Current State: 16:[42, 68, 10], Operations: ['28-18=10']
Exploring Operation: 68-42=26, Resulting Numbers: [10, 26]
Generated Node #3: [10, 26] from Operation: 68-42=26
Current State: 16:[10, 26], Operations: ['28-18=10', '68-42=26']
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[18, 28, 42, 68], Operations: []
Exploring Operation: 68-42=26, Resulting Numbers: [18, 28, 26]
Generated Node #0,0: 16:[18, 28, 26] Operation: 68-42=26
Moving to Node #0,0
Current State: 16:[18, 28, 26], Operations: ['68-42=26']
Exploring Operation: 28-26=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 16:[18, 2] Operation: 28-26=2
Moving to Node #0,0,0
Current State: 16:[18, 2], Operations: ['68-42=26', '28-26=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[18, 28, 42, 68], Operations: []
Exploring Operation: 68-42=26, Resulting Numbers: [18, 28, 26]
Generated Node #0,0: 16:[18, 28, 26] Operation: 68-42=26
Moving to Node #0,0
Current State: 16:[18, 28, 26], Operations: ['68-42=26']
Exploring Operation: 28-26=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 16:[18, 2] Operation: 28-26=2
Moving to Node #0,0,0
Current State: 16:[18, 2], Operations: ['68-42=26', '28-26=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
32,
51,
12,
55
] | 86 | [
"51-32=19",
"12+55=67",
"19+67=86"
] | Current State: 86:[32, 51, 12, 55], Operations: []
Exploring Operation: 51-32=19, Resulting Numbers: [12, 55, 19]
Generated Node #2: [12, 55, 19] from Operation: 51-32=19
Current State: 86:[12, 55, 19], Operations: ['51-32=19']
Exploring Operation: 12+55=67, Resulting Numbers: [19, 67]
Generated Node #3: [19, 67] from Operation: 12+55=67
Current State: 86:[19, 67], Operations: ['51-32=19', '12+55=67']
Exploring Operation: 19+67=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[32, 51, 12, 55], Operations: []
Exploring Operation: 55-12=43, Resulting Numbers: [32, 51, 43]
Generated Node #0,0: 86:[32, 51, 43] Operation: 55-12=43
Exploring Operation: 32+55=87, Resulting Numbers: [51, 12, 87]
Generated Node #0,1: 86:[51, 12, 87] Operation: 32+55=87
Moving to Node #0,0
Current State: 86:[32, 51, 43], Operations: ['55-12=43']
Exploring Operation: 51-32=19, Resulting Numbers: [43, 19]
Generated Node #0,0,0: 86:[43, 19] Operation: 51-32=19
Exploring Operation: 32+51=83, Resulting Numbers: [43, 83]
Generated Node #0,0,1: 86:[43, 83] Operation: 32+51=83
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[43, 83], Operations: ['55-12=43', '32+51=83']
Exploring Operation: 83-43=40, Resulting Numbers: [40]
40,86 unequal: No Solution
Exploring Operation: 43+83=126, Resulting Numbers: [126]
126,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[43, 19], Operations: ['55-12=43', '51-32=19']
Exploring Operation: 43+19=62, Resulting Numbers: [62]
62,86 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,86 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: 86:[51, 12, 87], Operations: ['32+55=87']
Exploring Operation: 51-12=39, Resulting Numbers: [87, 39]
Generated Node #0,1,0: 86:[87, 39] Operation: 51-12=39
Exploring Operation: 87-51=36, Resulting Numbers: [12, 36]
Generated Node #0,1,1: 86:[12, 36] Operation: 87-51=36
Moving to Node #0,1,0
Current State: 86:[87, 39], Operations: ['32+55=87', '51-12=39']
Exploring Operation: 87+39=126, Resulting Numbers: [126]
126,86 unequal: No Solution
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[12, 36], Operations: ['32+55=87', '87-51=36']
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,86 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
88,
98,
89,
16
] | 83 | [
"98-88=10",
"89-16=73",
"10+73=83"
] | Current State: 83:[88, 98, 89, 16], Operations: []
Exploring Operation: 98-88=10, Resulting Numbers: [89, 16, 10]
Generated Node #2: [89, 16, 10] from Operation: 98-88=10
Current State: 83:[89, 16, 10], Operations: ['98-88=10']
Exploring Operation: 89-16=73, Resulting Numbers: [10, 73]
Generated Node #3: [10, 73] from Operation: 89-16=73
Current State: 83:[10, 73], Operations: ['98-88=10', '89-16=73']
Exploring Operation: 10+73=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[88, 98, 89, 16], Operations: []
Exploring Operation: 88+16=104, Resulting Numbers: [98, 89, 104]
Generated Node #0,0: 83:[98, 89, 104] Operation: 88+16=104
Exploring Operation: 88-16=72, Resulting Numbers: [98, 89, 72]
Generated Node #0,1: 83:[98, 89, 72] Operation: 88-16=72
Exploring Operation: 89-16=73, Resulting Numbers: [88, 98, 73]
Generated Node #0,2: 83:[88, 98, 73] Operation: 89-16=73
Exploring Operation: 98-16=82, Resulting Numbers: [88, 89, 82]
Generated Node #0,3: 83:[88, 89, 82] Operation: 98-16=82
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[88, 89, 82], Operations: ['98-16=82']
Exploring Operation: 89-88=1, Resulting Numbers: [82, 1]
Generated Node #0,3,0: 83:[82, 1] Operation: 89-88=1
Exploring Operation: 88-82=6, Resulting Numbers: [89, 6]
Generated Node #0,3,1: 83:[89, 6] Operation: 88-82=6
Exploring Operation: 89-82=7, Resulting Numbers: [88, 7]
Generated Node #0,3,2: 83:[88, 7] Operation: 89-82=7
Exploring Operation: 88+82=170, Resulting Numbers: [89, 170]
Generated Node #0,3,3: 83:[89, 170] Operation: 88+82=170
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 83:[88, 7], Operations: ['98-16=82', '89-82=7']
Exploring Operation: 88+7=95, Resulting Numbers: [95]
95,83 unequal: No Solution
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,83 unequal: No Solution
Exploring Operation: 88*7=616, Resulting Numbers: [616]
616,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 83:[82, 1], Operations: ['98-16=82', '89-88=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,83 unequal: No Solution
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[88, 98, 89, 16], Operations: []
Exploring Operation: 98-16=82, Resulting Numbers: [88, 89, 82]
Generated Node #0,3: 83:[88, 89, 82] Operation: 98-16=82
Moving to Node #0,3
Current State: 83:[88, 89, 82], Operations: ['98-16=82']
Exploring Operation: 89-88=1, Resulting Numbers: [82, 1]
Generated Node #0,3,0: 83:[82, 1] Operation: 89-88=1
Moving to Node #0,3,0
Current State: 83:[82, 1], Operations: ['98-16=82', '89-88=1']
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
71,
30,
72,
49
] | 42 | [
"71*30=2130",
"2130-72=2058",
"2058/49=42"
] | Current State: 42:[71, 30, 72, 49], Operations: []
Exploring Operation: 71*30=2130, Resulting Numbers: [72, 49, 2130]
Generated Node #2: [72, 49, 2130] from Operation: 71*30=2130
Current State: 42:[72, 49, 2130], Operations: ['71*30=2130']
Exploring Operation: 2130-72=2058, Resulting Numbers: [49, 2058]
Generated Node #3: [49, 2058] from Operation: 2130-72=2058
Current State: 42:[49, 2058], Operations: ['71*30=2130', '2130-72=2058']
Exploring Operation: 2058/49=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[71, 30, 72, 49], Operations: []
Exploring Operation: 72-71=1, Resulting Numbers: [30, 49, 1]
Generated Node #0,0: 42:[30, 49, 1] Operation: 72-71=1
Exploring Operation: 71-49=22, Resulting Numbers: [30, 72, 22]
Generated Node #0,1: 42:[30, 72, 22] Operation: 71-49=22
Exploring Operation: 72-30=42, Resulting Numbers: [71, 49, 42]
Generated Node #0,2: 42:[71, 49, 42] Operation: 72-30=42
Exploring Operation: 71-30=41, Resulting Numbers: [72, 49, 41]
Generated Node #0,3: 42:[72, 49, 41] Operation: 71-30=41
Exploring Operation: 72-49=23, Resulting Numbers: [71, 30, 23]
Generated Node #0,4: 42:[71, 30, 23] Operation: 72-49=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[30, 49, 1], Operations: ['72-71=1']
Exploring Operation: 30/1=30, Resulting Numbers: [49, 30]
Generated Node #0,0,0: 42:[49, 30] Operation: 30/1=30
Exploring Operation: 30-1=29, Resulting Numbers: [49, 29]
Generated Node #0,0,1: 42:[49, 29] Operation: 30-1=29
Exploring Operation: 49-1=48, Resulting Numbers: [30, 48]
Generated Node #0,0,2: 42:[30, 48] Operation: 49-1=48
Exploring Operation: 30*1=30, Resulting Numbers: [49, 30]
Generated Node #0,0,3: 42:[49, 30] Operation: 30*1=30
Exploring Operation: 49-30=19, Resulting Numbers: [1, 19]
Generated Node #0,0,4: 42:[1, 19] Operation: 49-30=19
Moving to Node #0,0,4
Current State: 42:[1, 19], Operations: ['72-71=1', '49-30=19']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[30, 48], Operations: ['72-71=1', '49-1=48']
Exploring Operation: 30+48=78, Resulting Numbers: [78]
78,42 unequal: No Solution
Exploring Operation: 30*48=1440, Resulting Numbers: [1440]
1440,42 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[49, 29], Operations: ['72-71=1', '30-1=29']
Exploring Operation: 49*29=1421, Resulting Numbers: [1421]
1421,42 unequal: No Solution
Exploring Operation: 49+29=78, Resulting Numbers: [78]
78,42 unequal: No Solution
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[49, 30], Operations: ['72-71=1', '30/1=30']
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Exploring Operation: 49+30=79, Resulting Numbers: [79]
79,42 unequal: No Solution
Exploring Operation: 49*30=1470, Resulting Numbers: [1470]
1470,42 unequal: No Solution
Moving to Node #0,0,3
Current State: 42:[49, 30], Operations: ['72-71=1', '30*1=30']
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Exploring Operation: 49+30=79, Resulting Numbers: [79]
79,42 unequal: No Solution
Exploring Operation: 49*30=1470, Resulting Numbers: [1470]
1470,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[71, 49, 42], Operations: ['72-30=42']
Exploring Operation: 71-49=22, Resulting Numbers: [42, 22]
Generated Node #0,2,0: 42:[42, 22] Operation: 71-49=22
Exploring Operation: 71+49=120, Resulting Numbers: [42, 120]
Generated Node #0,2,1: 42:[42, 120] Operation: 71+49=120
Exploring Operation: 71-42=29, Resulting Numbers: [49, 29]
Generated Node #0,2,2: 42:[49, 29] Operation: 71-42=29
Exploring Operation: 49-42=7, Resulting Numbers: [71, 7]
Generated Node #0,2,3: 42:[71, 7] Operation: 49-42=7
Exploring Operation: 71+42=113, Resulting Numbers: [49, 113]
Generated Node #0,2,4: 42:[49, 113] Operation: 71+42=113
Moving to Node #0,2,0
Current State: 42:[42, 22], Operations: ['72-30=42', '71-49=22']
Exploring Operation: 42*22=924, Resulting Numbers: [924]
924,42 unequal: No Solution
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 42+22=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[49, 29], Operations: ['72-30=42', '71-42=29']
Exploring Operation: 49+29=78, Resulting Numbers: [78]
78,42 unequal: No Solution
Exploring Operation: 49*29=1421, Resulting Numbers: [1421]
1421,42 unequal: No Solution
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Moving to Node #0,2,3
Current State: 42:[71, 7], Operations: ['72-30=42', '49-42=7']
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,42 unequal: No Solution
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 71*7=497, Resulting Numbers: [497]
497,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[42, 120], Operations: ['72-30=42', '71+49=120']
Exploring Operation: 120-42=78, Resulting Numbers: [78]
78,42 unequal: No Solution
Exploring Operation: 42+120=162, Resulting Numbers: [162]
162,42 unequal: No Solution
Exploring Operation: 42*120=5040, Resulting Numbers: [5040]
5040,42 unequal: No Solution
Moving to Node #0,2,4
Current State: 42:[49, 113], Operations: ['72-30=42', '71+42=113']
Exploring Operation: 49*113=5537, Resulting Numbers: [5537]
5537,42 unequal: No Solution
Exploring Operation: 49+113=162, Resulting Numbers: [162]
162,42 unequal: No Solution
Exploring Operation: 113-49=64, Resulting Numbers: [64]
64,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 42:[72, 49, 41], Operations: ['71-30=41']
Exploring Operation: 72-41=31, Resulting Numbers: [49, 31]
Generated Node #0,3,0: 42:[49, 31] Operation: 72-41=31
Exploring Operation: 49+41=90, Resulting Numbers: [72, 90]
Generated Node #0,3,1: 42:[72, 90] Operation: 49+41=90
Exploring Operation: 49-41=8, Resulting Numbers: [72, 8]
Generated Node #0,3,2: 42:[72, 8] Operation: 49-41=8
Exploring Operation: 72-49=23, Resulting Numbers: [41, 23]
Generated Node #0,3,3: 42:[41, 23] Operation: 72-49=23
Exploring Operation: 72+41=113, Resulting Numbers: [49, 113]
Generated Node #0,3,4: 42:[49, 113] Operation: 72+41=113
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 42:[41, 23], Operations: ['71-30=41', '72-49=23']
Exploring Operation: 41+23=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 41*23=943, Resulting Numbers: [943]
943,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 42:[49, 31], Operations: ['71-30=41', '72-41=31']
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 49*31=1519, Resulting Numbers: [1519]
1519,42 unequal: No Solution
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 42:[72, 8], Operations: ['71-30=41', '49-41=8']
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 72*8=576, Resulting Numbers: [576]
576,42 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 42:[72, 90], Operations: ['71-30=41', '49+41=90']
Exploring Operation: 90-72=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 72*90=6480, Resulting Numbers: [6480]
6480,42 unequal: No Solution
Exploring Operation: 72+90=162, Resulting Numbers: [162]
162,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 42:[49, 113], Operations: ['71-30=41', '72+41=113']
Exploring Operation: 113-49=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 49+113=162, Resulting Numbers: [162]
162,42 unequal: No Solution
Exploring Operation: 49*113=5537, Resulting Numbers: [5537]
5537,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[30, 72, 22], Operations: ['71-49=22']
Exploring Operation: 30+72=102, Resulting Numbers: [22, 102]
Generated Node #0,1,0: 42:[22, 102] Operation: 30+72=102
Exploring Operation: 72-22=50, Resulting Numbers: [30, 50]
Generated Node #0,1,1: 42:[30, 50] Operation: 72-22=50
Exploring Operation: 30+22=52, Resulting Numbers: [72, 52]
Generated Node #0,1,2: 42:[72, 52] Operation: 30+22=52
Exploring Operation: 72-30=42, Resulting Numbers: [22, 42]
Generated Node #0,1,3: 42:[22, 42] Operation: 72-30=42
Exploring Operation: 30-22=8, Resulting Numbers: [72, 8]
Generated Node #0,1,4: 42:[72, 8] Operation: 30-22=8
Moving to Node #0,1,3
Current State: 42:[22, 42], Operations: ['71-49=22', '72-30=42']
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 22*42=924, Resulting Numbers: [924]
924,42 unequal: No Solution
Exploring Operation: 22+42=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[30, 50], Operations: ['71-49=22', '72-22=50']
Exploring Operation: 30*50=1500, Resulting Numbers: [1500]
1500,42 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 30+50=80, Resulting Numbers: [80]
80,42 unequal: No Solution
Moving to Node #0,1,4
Current State: 42:[72, 8], Operations: ['71-49=22', '30-22=8']
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,42 unequal: No Solution
Exploring Operation: 72*8=576, Resulting Numbers: [576]
576,42 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[72, 52], Operations: ['71-49=22', '30+22=52']
Exploring Operation: 72+52=124, Resulting Numbers: [124]
124,42 unequal: No Solution
Exploring Operation: 72*52=3744, Resulting Numbers: [3744]
3744,42 unequal: No Solution
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[22, 102], Operations: ['71-49=22', '30+72=102']
Exploring Operation: 22+102=124, Resulting Numbers: [124]
124,42 unequal: No Solution
Exploring Operation: 22*102=2244, Resulting Numbers: [2244]
2244,42 unequal: No Solution
Exploring Operation: 102-22=80, Resulting Numbers: [80]
80,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 42:[71, 30, 23], Operations: ['72-49=23']
Exploring Operation: 30+23=53, Resulting Numbers: [71, 53]
Generated Node #0,4,0: 42:[71, 53] Operation: 30+23=53
Exploring Operation: 71-23=48, Resulting Numbers: [30, 48]
Generated Node #0,4,1: 42:[30, 48] Operation: 71-23=48
Exploring Operation: 71+30=101, Resulting Numbers: [23, 101]
Generated Node #0,4,2: 42:[23, 101] Operation: 71+30=101
Exploring Operation: 30-23=7, Resulting Numbers: [71, 7]
Generated Node #0,4,3: 42:[71, 7] Operation: 30-23=7
Exploring Operation: 71-30=41, Resulting Numbers: [23, 41]
Generated Node #0,4,4: 42:[23, 41] Operation: 71-30=41
Moving to Node #0,4,4
Current State: 42:[23, 41], Operations: ['72-49=23', '71-30=41']
Exploring Operation: 23*41=943, Resulting Numbers: [943]
943,42 unequal: No Solution
Exploring Operation: 23+41=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Moving to Node #0,4,1
Current State: 42:[30, 48], Operations: ['72-49=23', '71-23=48']
Exploring Operation: 30+48=78, Resulting Numbers: [78]
78,42 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 30*48=1440, Resulting Numbers: [1440]
1440,42 unequal: No Solution
Moving to Node #0,4,3
Current State: 42:[71, 7], Operations: ['72-49=23', '30-23=7']
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,42 unequal: No Solution
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 71*7=497, Resulting Numbers: [497]
497,42 unequal: No Solution
Moving to Node #0,4,0
Current State: 42:[71, 53], Operations: ['72-49=23', '30+23=53']
Exploring Operation: 71*53=3763, Resulting Numbers: [3763]
3763,42 unequal: No Solution
Exploring Operation: 71-53=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 71+53=124, Resulting Numbers: [124]
124,42 unequal: No Solution
Moving to Node #0,4,2
Current State: 42:[23, 101], Operations: ['72-49=23', '71+30=101']
Exploring Operation: 23*101=2323, Resulting Numbers: [2323]
2323,42 unequal: No Solution
Exploring Operation: 101-23=78, Resulting Numbers: [78]
78,42 unequal: No Solution
Exploring Operation: 23+101=124, Resulting Numbers: [124]
124,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
49,
70,
53,
42
] | 98 | [
"53-49=4",
"42*4=168",
"168-70=98"
] | Current State: 98:[49, 70, 53, 42], Operations: []
Exploring Operation: 53-49=4, Resulting Numbers: [70, 42, 4]
Generated Node #2: [70, 42, 4] from Operation: 53-49=4
Current State: 98:[70, 42, 4], Operations: ['53-49=4']
Exploring Operation: 42*4=168, Resulting Numbers: [70, 168]
Generated Node #3: [70, 168] from Operation: 42*4=168
Current State: 98:[70, 168], Operations: ['53-49=4', '42*4=168']
Exploring Operation: 168-70=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[49, 70, 53, 42], Operations: []
Exploring Operation: 70+42=112, Resulting Numbers: [49, 53, 112]
Generated Node #0,0: 98:[49, 53, 112] Operation: 70+42=112
Exploring Operation: 70-53=17, Resulting Numbers: [49, 42, 17]
Generated Node #0,1: 98:[49, 42, 17] Operation: 70-53=17
Exploring Operation: 53+42=95, Resulting Numbers: [49, 70, 95]
Generated Node #0,2: 98:[49, 70, 95] Operation: 53+42=95
Exploring Operation: 70-42=28, Resulting Numbers: [49, 53, 28]
Generated Node #0,3: 98:[49, 53, 28] Operation: 70-42=28
Exploring Operation: 70-49=21, Resulting Numbers: [53, 42, 21]
Generated Node #0,4: 98:[53, 42, 21] Operation: 70-49=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[49, 42, 17], Operations: ['70-53=17']
Exploring Operation: 49-42=7, Resulting Numbers: [17, 7]
Generated Node #0,1,0: 98:[17, 7] Operation: 49-42=7
Exploring Operation: 42+17=59, Resulting Numbers: [49, 59]
Generated Node #0,1,1: 98:[49, 59] Operation: 42+17=59
Exploring Operation: 49+42=91, Resulting Numbers: [17, 91]
Generated Node #0,1,2: 98:[17, 91] Operation: 49+42=91
Exploring Operation: 49+17=66, Resulting Numbers: [42, 66]
Generated Node #0,1,3: 98:[42, 66] Operation: 49+17=66
Exploring Operation: 42-17=25, Resulting Numbers: [49, 25]
Generated Node #0,1,4: 98:[49, 25] Operation: 42-17=25
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[17, 7], Operations: ['70-53=17', '49-42=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,98 unequal: No Solution
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[49, 59], Operations: ['70-53=17', '42+17=59']
Exploring Operation: 49*59=2891, Resulting Numbers: [2891]
2891,98 unequal: No Solution
Exploring Operation: 49+59=108, Resulting Numbers: [108]
108,98 unequal: No Solution
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 98:[17, 91], Operations: ['70-53=17', '49+42=91']
Exploring Operation: 17*91=1547, Resulting Numbers: [1547]
1547,98 unequal: No Solution
Exploring Operation: 91-17=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 17+91=108, Resulting Numbers: [108]
108,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 98:[49, 25], Operations: ['70-53=17', '42-17=25']
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,98 unequal: No Solution
Exploring Operation: 49+25=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 49*25=1225, Resulting Numbers: [1225]
1225,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 98:[42, 66], Operations: ['70-53=17', '49+17=66']
Exploring Operation: 42+66=108, Resulting Numbers: [108]
108,98 unequal: No Solution
Exploring Operation: 42*66=2772, Resulting Numbers: [2772]
2772,98 unequal: No Solution
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[49, 53, 112], Operations: ['70+42=112']
Exploring Operation: 112-49=63, Resulting Numbers: [53, 63]
Generated Node #0,0,0: 98:[53, 63] Operation: 112-49=63
Exploring Operation: 49+112=161, Resulting Numbers: [53, 161]
Generated Node #0,0,1: 98:[53, 161] Operation: 49+112=161
Exploring Operation: 112-53=59, Resulting Numbers: [49, 59]
Generated Node #0,0,2: 98:[49, 59] Operation: 112-53=59
Exploring Operation: 49+53=102, Resulting Numbers: [112, 102]
Generated Node #0,0,3: 98:[112, 102] Operation: 49+53=102
Exploring Operation: 53-49=4, Resulting Numbers: [112, 4]
Generated Node #0,0,4: 98:[112, 4] Operation: 53-49=4
Moving to Node #0,0,2
Current State: 98:[49, 59], Operations: ['70+42=112', '112-53=59']
Exploring Operation: 49+59=108, Resulting Numbers: [108]
108,98 unequal: No Solution
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Exploring Operation: 49*59=2891, Resulting Numbers: [2891]
2891,98 unequal: No Solution
Moving to Node #0,0,4
Current State: 98:[112, 4], Operations: ['70+42=112', '53-49=4']
Exploring Operation: 112+4=116, Resulting Numbers: [116]
116,98 unequal: No Solution
Exploring Operation: 112-4=108, Resulting Numbers: [108]
108,98 unequal: No Solution
Exploring Operation: 112/4=28, Resulting Numbers: [28]
28,98 unequal: No Solution
Exploring Operation: 112*4=448, Resulting Numbers: [448]
448,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[53, 63], Operations: ['70+42=112', '112-49=63']
Exploring Operation: 63-53=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Exploring Operation: 53+63=116, Resulting Numbers: [116]
116,98 unequal: No Solution
Exploring Operation: 53*63=3339, Resulting Numbers: [3339]
3339,98 unequal: No Solution
Moving to Node #0,0,3
Current State: 98:[112, 102], Operations: ['70+42=112', '49+53=102']
Exploring Operation: 112-102=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Exploring Operation: 112*102=11424, Resulting Numbers: [11424]
11424,98 unequal: No Solution
Exploring Operation: 112+102=214, Resulting Numbers: [214]
214,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[53, 161], Operations: ['70+42=112', '49+112=161']
Exploring Operation: 161-53=108, Resulting Numbers: [108]
108,98 unequal: No Solution
Exploring Operation: 53+161=214, Resulting Numbers: [214]
214,98 unequal: No Solution
Exploring Operation: 53*161=8533, Resulting Numbers: [8533]
8533,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,3
Current State: 98:[49, 53, 28], Operations: ['70-42=28']
Exploring Operation: 49+53=102, Resulting Numbers: [28, 102]
Generated Node #0,3,0: 98:[28, 102] Operation: 49+53=102
Exploring Operation: 49-28=21, Resulting Numbers: [53, 21]
Generated Node #0,3,1: 98:[53, 21] Operation: 49-28=21
Exploring Operation: 53-49=4, Resulting Numbers: [28, 4]
Generated Node #0,3,2: 98:[28, 4] Operation: 53-49=4
Exploring Operation: 53-28=25, Resulting Numbers: [49, 25]
Generated Node #0,3,3: 98:[49, 25] Operation: 53-28=25
Exploring Operation: 53+28=81, Resulting Numbers: [49, 81]
Generated Node #0,3,4: 98:[49, 81] Operation: 53+28=81
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 98:[53, 21], Operations: ['70-42=28', '49-28=21']
Exploring Operation: 53+21=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 53*21=1113, Resulting Numbers: [1113]
1113,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 98:[49, 25], Operations: ['70-42=28', '53-28=25']
Exploring Operation: 49+25=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,98 unequal: No Solution
Exploring Operation: 49*25=1225, Resulting Numbers: [1225]
1225,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 98:[28, 4], Operations: ['70-42=28', '53-49=4']
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 28*4=112, Resulting Numbers: [112]
112,98 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 98:[49, 81], Operations: ['70-42=28', '53+28=81']
Exploring Operation: 49*81=3969, Resulting Numbers: [3969]
3969,98 unequal: No Solution
Exploring Operation: 49+81=130, Resulting Numbers: [130]
130,98 unequal: No Solution
Exploring Operation: 81-49=32, Resulting Numbers: [32]
32,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 98:[28, 102], Operations: ['70-42=28', '49+53=102']
Exploring Operation: 102-28=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 28*102=2856, Resulting Numbers: [2856]
2856,98 unequal: No Solution
Exploring Operation: 28+102=130, Resulting Numbers: [130]
130,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 98:[53, 42, 21], Operations: ['70-49=21']
Exploring Operation: 42+21=63, Resulting Numbers: [53, 63]
Generated Node #0,4,0: 98:[53, 63] Operation: 42+21=63
Exploring Operation: 53-42=11, Resulting Numbers: [21, 11]
Generated Node #0,4,1: 98:[21, 11] Operation: 53-42=11
Exploring Operation: 42/21=2, Resulting Numbers: [53, 2]
Generated Node #0,4,2: 98:[53, 2] Operation: 42/21=2
Exploring Operation: 42-21=21, Resulting Numbers: [53, 21]
Generated Node #0,4,3: 98:[53, 21] Operation: 42-21=21
Exploring Operation: 53+42=95, Resulting Numbers: [21, 95]
Generated Node #0,4,4: 98:[21, 95] Operation: 53+42=95
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 98:[53, 2], Operations: ['70-49=21', '42/21=2']
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,98 unequal: No Solution
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 98:[21, 11], Operations: ['70-49=21', '53-42=11']
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 98:[21, 95], Operations: ['70-49=21', '53+42=95']
Exploring Operation: 21*95=1995, Resulting Numbers: [1995]
1995,98 unequal: No Solution
Exploring Operation: 21+95=116, Resulting Numbers: [116]
116,98 unequal: No Solution
Exploring Operation: 95-21=74, Resulting Numbers: [74]
74,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 98:[53, 21], Operations: ['70-49=21', '42-21=21']
Exploring Operation: 53+21=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 53*21=1113, Resulting Numbers: [1113]
1113,98 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 98:[53, 63], Operations: ['70-49=21', '42+21=63']
Exploring Operation: 53+63=116, Resulting Numbers: [116]
116,98 unequal: No Solution
Exploring Operation: 53*63=3339, Resulting Numbers: [3339]
3339,98 unequal: No Solution
Exploring Operation: 63-53=10, Resulting Numbers: [10]
10,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[49, 70, 95], Operations: ['53+42=95']
Exploring Operation: 70-49=21, Resulting Numbers: [95, 21]
Generated Node #0,2,0: 98:[95, 21] Operation: 70-49=21
Exploring Operation: 95-70=25, Resulting Numbers: [49, 25]
Generated Node #0,2,1: 98:[49, 25] Operation: 95-70=25
Exploring Operation: 49+70=119, Resulting Numbers: [95, 119]
Generated Node #0,2,2: 98:[95, 119] Operation: 49+70=119
Exploring Operation: 49+95=144, Resulting Numbers: [70, 144]
Generated Node #0,2,3: 98:[70, 144] Operation: 49+95=144
Exploring Operation: 95-49=46, Resulting Numbers: [70, 46]
Generated Node #0,2,4: 98:[70, 46] Operation: 95-49=46
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 98:[95, 21], Operations: ['53+42=95', '70-49=21']
Exploring Operation: 95*21=1995, Resulting Numbers: [1995]
1995,98 unequal: No Solution
Exploring Operation: 95-21=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 95+21=116, Resulting Numbers: [116]
116,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 98:[49, 25], Operations: ['53+42=95', '95-70=25']
Exploring Operation: 49+25=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 49*25=1225, Resulting Numbers: [1225]
1225,98 unequal: No Solution
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 98:[95, 119], Operations: ['53+42=95', '49+70=119']
Exploring Operation: 95*119=11305, Resulting Numbers: [11305]
11305,98 unequal: No Solution
Exploring Operation: 119-95=24, Resulting Numbers: [24]
24,98 unequal: No Solution
Exploring Operation: 95+119=214, Resulting Numbers: [214]
214,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 98:[70, 46], Operations: ['53+42=95', '95-49=46']
Exploring Operation: 70*46=3220, Resulting Numbers: [3220]
3220,98 unequal: No Solution
Exploring Operation: 70-46=24, Resulting Numbers: [24]
24,98 unequal: No Solution
Exploring Operation: 70+46=116, Resulting Numbers: [116]
116,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 98:[70, 144], Operations: ['53+42=95', '49+95=144']
Exploring Operation: 144-70=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 70+144=214, Resulting Numbers: [214]
214,98 unequal: No Solution
Exploring Operation: 70*144=10080, Resulting Numbers: [10080]
10080,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
90,
22,
4,
52
] | 50 | [
"90-52=38",
"22*4=88",
"88-38=50"
] | Current State: 50:[90, 22, 4, 52], Operations: []
Exploring Operation: 90-52=38, Resulting Numbers: [22, 4, 38]
Generated Node #2: [22, 4, 38] from Operation: 90-52=38
Current State: 50:[22, 4, 38], Operations: ['90-52=38']
Exploring Operation: 22*4=88, Resulting Numbers: [38, 88]
Generated Node #3: [38, 88] from Operation: 22*4=88
Current State: 50:[38, 88], Operations: ['90-52=38', '22*4=88']
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[90, 22, 4, 52], Operations: []
Exploring Operation: 90-52=38, Resulting Numbers: [22, 4, 38]
Generated Node #0,0: 50:[22, 4, 38] Operation: 90-52=38
Exploring Operation: 90-22=68, Resulting Numbers: [4, 52, 68]
Generated Node #0,1: 50:[4, 52, 68] Operation: 90-22=68
Exploring Operation: 90-4=86, Resulting Numbers: [22, 52, 86]
Generated Node #0,2: 50:[22, 52, 86] Operation: 90-4=86
Exploring Operation: 22+4=26, Resulting Numbers: [90, 52, 26]
Generated Node #0,3: 50:[90, 52, 26] Operation: 22+4=26
Moving to Node #0,0
Current State: 50:[22, 4, 38], Operations: ['90-52=38']
Exploring Operation: 38-22=16, Resulting Numbers: [4, 16]
Generated Node #0,0,0: 50:[4, 16] Operation: 38-22=16
Exploring Operation: 38-4=34, Resulting Numbers: [22, 34]
Generated Node #0,0,1: 50:[22, 34] Operation: 38-4=34
Exploring Operation: 4+38=42, Resulting Numbers: [22, 42]
Generated Node #0,0,2: 50:[22, 42] Operation: 4+38=42
Exploring Operation: 22+38=60, Resulting Numbers: [4, 60]
Generated Node #0,0,3: 50:[4, 60] Operation: 22+38=60
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[4, 16], Operations: ['90-52=38', '38-22=16']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 50:[22, 42], Operations: ['90-52=38', '4+38=42']
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Exploring Operation: 22+42=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Exploring Operation: 22*42=924, Resulting Numbers: [924]
924,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 50:[4, 60], Operations: ['90-52=38', '22+38=60']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 4*60=240, Resulting Numbers: [240]
240,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[22, 34], Operations: ['90-52=38', '38-4=34']
Exploring Operation: 22+34=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Exploring Operation: 22*34=748, Resulting Numbers: [748]
748,50 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: 50:[4, 52, 68], Operations: ['90-22=68']
Exploring Operation: 52-4=48, Resulting Numbers: [68, 48]
Generated Node #0,1,0: 50:[68, 48] Operation: 52-4=48
Exploring Operation: 68-4=64, Resulting Numbers: [52, 64]
Generated Node #0,1,1: 50:[52, 64] Operation: 68-4=64
Exploring Operation: 68/4=17, Resulting Numbers: [52, 17]
Generated Node #0,1,2: 50:[52, 17] Operation: 68/4=17
Exploring Operation: 68-52=16, Resulting Numbers: [4, 16]
Generated Node #0,1,3: 50:[4, 16] Operation: 68-52=16
Moving to Node #0,2
Current State: 50:[22, 52, 86], Operations: ['90-4=86']
Exploring Operation: 86-52=34, Resulting Numbers: [22, 34]
Generated Node #0,2,0: 50:[22, 34] Operation: 86-52=34
Exploring Operation: 52-22=30, Resulting Numbers: [86, 30]
Generated Node #0,2,1: 50:[86, 30] Operation: 52-22=30
Exploring Operation: 22+52=74, Resulting Numbers: [86, 74]
Generated Node #0,2,2: 50:[86, 74] Operation: 22+52=74
Exploring Operation: 86-22=64, Resulting Numbers: [52, 64]
Generated Node #0,2,3: 50:[52, 64] Operation: 86-22=64
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 50:[22, 34], Operations: ['90-4=86', '86-52=34']
Exploring Operation: 22+34=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 22*34=748, Resulting Numbers: [748]
748,50 unequal: No Solution
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 50:[52, 64], Operations: ['90-4=86', '86-22=64']
Exploring Operation: 64-52=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Exploring Operation: 52+64=116, Resulting Numbers: [116]
116,50 unequal: No Solution
Exploring Operation: 52*64=3328, Resulting Numbers: [3328]
3328,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 50:[86, 30], Operations: ['90-4=86', '52-22=30']
Exploring Operation: 86-30=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 86*30=2580, Resulting Numbers: [2580]
2580,50 unequal: No Solution
Exploring Operation: 86+30=116, Resulting Numbers: [116]
116,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 50:[86, 74], Operations: ['90-4=86', '22+52=74']
Exploring Operation: 86*74=6364, Resulting Numbers: [6364]
6364,50 unequal: No Solution
Exploring Operation: 86-74=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Exploring Operation: 86+74=160, Resulting Numbers: [160]
160,50 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: 50:[90, 52, 26], Operations: ['22+4=26']
Exploring Operation: 52-26=26, Resulting Numbers: [90, 26]
Generated Node #0,3,0: 50:[90, 26] Operation: 52-26=26
Exploring Operation: 90-26=64, Resulting Numbers: [52, 64]
Generated Node #0,3,1: 50:[52, 64] Operation: 90-26=64
Exploring Operation: 90-52=38, Resulting Numbers: [26, 38]
Generated Node #0,3,2: 50:[26, 38] Operation: 90-52=38
Exploring Operation: 52/26=2, Resulting Numbers: [90, 2]
Generated Node #0,3,3: 50:[90, 2] Operation: 52/26=2
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 50:[26, 38], Operations: ['22+4=26', '90-52=38']
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Exploring Operation: 26+38=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Exploring Operation: 26*38=988, Resulting Numbers: [988]
988,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 50:[52, 64], Operations: ['22+4=26', '90-26=64']
Exploring Operation: 64-52=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Exploring Operation: 52*64=3328, Resulting Numbers: [3328]
3328,50 unequal: No Solution
Exploring Operation: 52+64=116, Resulting Numbers: [116]
116,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 50:[90, 2], Operations: ['22+4=26', '52/26=2']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,50 unequal: No Solution
Exploring Operation: 90*2=180, Resulting Numbers: [180]
180,50 unequal: No Solution
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,50 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 50:[90, 26], Operations: ['22+4=26', '52-26=26']
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Exploring Operation: 90*26=2340, Resulting Numbers: [2340]
2340,50 unequal: No Solution
Exploring Operation: 90+26=116, Resulting Numbers: [116]
116,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 50:[4, 16], Operations: ['90-22=68', '68-52=16']
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[52, 17], Operations: ['90-22=68', '68/4=17']
Exploring Operation: 52+17=69, Resulting Numbers: [69]
69,50 unequal: No Solution
Exploring Operation: 52*17=884, Resulting Numbers: [884]
884,50 unequal: No Solution
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[52, 64], Operations: ['90-22=68', '68-4=64']
Exploring Operation: 52+64=116, Resulting Numbers: [116]
116,50 unequal: No Solution
Exploring Operation: 52*64=3328, Resulting Numbers: [3328]
3328,50 unequal: No Solution
Exploring Operation: 64-52=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Moving to Node #0,1,0
Current State: 50:[68, 48], Operations: ['90-22=68', '52-4=48']
Exploring Operation: 68-48=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Exploring Operation: 68*48=3264, Resulting Numbers: [3264]
3264,50 unequal: No Solution
Exploring Operation: 68+48=116, Resulting Numbers: [116]
116,50 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
34,
15,
15,
17
] | 30 | [
"34-15=19",
"19-17=2",
"15*2=30"
] | Current State: 30:[34, 15, 15, 17], Operations: []
Exploring Operation: 34-15=19, Resulting Numbers: [17, 19]
Generated Node #2: [17, 19] from Operation: 34-15=19
Current State: 30:[17, 19], Operations: ['34-15=19']
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,30 equal: Goal Reached
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[34, 15, 15, 17], Operations: []
Exploring Operation: 34/17=2, Resulting Numbers: [15, 15, 2]
Generated Node #0,0: 30:[15, 15, 2] Operation: 34/17=2
Moving to Node #0,0
Current State: 30:[15, 15, 2], Operations: ['34/17=2']
Exploring Operation: 15+15=30, Resulting Numbers: [2, 30]
Generated Node #0,0,0: 30:[2, 30] Operation: 15+15=30
Moving to Node #0,0,0
Current State: 30:[2, 30], Operations: ['34/17=2', '15+15=30']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,30 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
59,
48,
4,
10
] | 57 | [
"59+10=69",
"48/4=12",
"69-12=57"
] | Current State: 57:[59, 48, 4, 10], Operations: []
Exploring Operation: 59+10=69, Resulting Numbers: [48, 4, 69]
Generated Node #2: [48, 4, 69] from Operation: 59+10=69
Current State: 57:[48, 4, 69], Operations: ['59+10=69']
Exploring Operation: 48/4=12, Resulting Numbers: [69, 12]
Generated Node #3: [69, 12] from Operation: 48/4=12
Current State: 57:[69, 12], Operations: ['59+10=69', '48/4=12']
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[59, 48, 4, 10], Operations: []
Exploring Operation: 48+10=58, Resulting Numbers: [59, 4, 58]
Generated Node #0,0: 57:[59, 4, 58] Operation: 48+10=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[59, 4, 58], Operations: ['48+10=58']
Exploring Operation: 59-4=55, Resulting Numbers: [58, 55]
Generated Node #0,0,0: 57:[58, 55] Operation: 59-4=55
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[58, 55], Operations: ['48+10=58', '59-4=55']
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,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_1 | sum_heuristic |
[
27,
4,
22,
15
] | 24 | [
"27+4=31",
"22-15=7",
"31-7=24"
] | Current State: 24:[27, 4, 22, 15], Operations: []
Exploring Operation: 27+4=31, Resulting Numbers: [22, 15, 31]
Generated Node #2: [22, 15, 31] from Operation: 27+4=31
Current State: 24:[22, 15, 31], Operations: ['27+4=31']
Exploring Operation: 22-15=7, Resulting Numbers: [31, 7]
Generated Node #3: [31, 7] from Operation: 22-15=7
Current State: 24:[31, 7], Operations: ['27+4=31', '22-15=7']
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[27, 4, 22, 15], Operations: []
Exploring Operation: 27-4=23, Resulting Numbers: [22, 15, 23]
Generated Node #0,0: 24:[22, 15, 23] Operation: 27-4=23
Exploring Operation: 27-22=5, Resulting Numbers: [4, 15, 5]
Generated Node #0,1: 24:[4, 15, 5] Operation: 27-22=5
Exploring Operation: 27-15=12, Resulting Numbers: [4, 22, 12]
Generated Node #0,2: 24:[4, 22, 12] Operation: 27-15=12
Exploring Operation: 22-15=7, Resulting Numbers: [27, 4, 7]
Generated Node #0,3: 24:[27, 4, 7] Operation: 22-15=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[4, 22, 12], Operations: ['27-15=12']
Exploring Operation: 22-12=10, Resulting Numbers: [4, 10]
Generated Node #0,2,0: 24:[4, 10] Operation: 22-12=10
Exploring Operation: 12-4=8, Resulting Numbers: [22, 8]
Generated Node #0,2,1: 24:[22, 8] Operation: 12-4=8
Exploring Operation: 4+22=26, Resulting Numbers: [12, 26]
Generated Node #0,2,2: 24:[12, 26] Operation: 4+22=26
Exploring Operation: 12/4=3, Resulting Numbers: [22, 3]
Generated Node #0,2,3: 24:[22, 3] Operation: 12/4=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 24:[4, 10], Operations: ['27-15=12', '22-12=10']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,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,2,1
Current State: 24:[22, 8], Operations: ['27-15=12', '12-4=8']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,24 unequal: No Solution
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,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,2,2
Current State: 24:[12, 26], Operations: ['27-15=12', '4+22=26']
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,24 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,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,2,3
Current State: 24:[22, 3], Operations: ['27-15=12', '12/4=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,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:[4, 15, 5], Operations: ['27-22=5']
Exploring Operation: 15-5=10, Resulting Numbers: [4, 10]
Generated Node #0,1,0: 24:[4, 10] Operation: 15-5=10
Exploring Operation: 15/5=3, Resulting Numbers: [4, 3]
Generated Node #0,1,1: 24:[4, 3] Operation: 15/5=3
Exploring Operation: 4+5=9, Resulting Numbers: [15, 9]
Generated Node #0,1,2: 24:[15, 9] Operation: 4+5=9
Exploring Operation: 15-4=11, Resulting Numbers: [5, 11]
Generated Node #0,1,3: 24:[5, 11] Operation: 15-4=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 24:[4, 3], Operations: ['27-22=5', '15/5=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,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,1,0
Current State: 24:[4, 10], Operations: ['27-22=5', '15-5=10']
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,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,1,3
Current State: 24:[5, 11], Operations: ['27-22=5', '15-4=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,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,1,2
Current State: 24:[15, 9], Operations: ['27-22=5', '4+5=9']
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,24 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[27, 4, 22, 15], Operations: []
Exploring Operation: 27-22=5, Resulting Numbers: [4, 15, 5]
Generated Node #0,1: 24:[4, 15, 5] Operation: 27-22=5
Moving to Node #0,1
Current State: 24:[4, 15, 5], Operations: ['27-22=5']
Exploring Operation: 4+5=9, Resulting Numbers: [15, 9]
Generated Node #0,1,2: 24:[15, 9] Operation: 4+5=9
Moving to Node #0,1,2
Current State: 24:[15, 9], Operations: ['27-22=5', '4+5=9']
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.965278 | hs_4 | mult_heuristic |
[
88,
76,
99,
3
] | 68 | [
"88+76=164",
"99-3=96",
"164-96=68"
] | Current State: 68:[88, 76, 99, 3], Operations: []
Exploring Operation: 88+76=164, Resulting Numbers: [99, 3, 164]
Generated Node #2: [99, 3, 164] from Operation: 88+76=164
Current State: 68:[99, 3, 164], Operations: ['88+76=164']
Exploring Operation: 99-3=96, Resulting Numbers: [164, 96]
Generated Node #3: [164, 96] from Operation: 99-3=96
Current State: 68:[164, 96], Operations: ['88+76=164', '99-3=96']
Exploring Operation: 164-96=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[88, 76, 99, 3], Operations: []
Exploring Operation: 99-76=23, Resulting Numbers: [88, 3, 23]
Generated Node #0,0: 68:[88, 3, 23] Operation: 99-76=23
Exploring Operation: 99-88=11, Resulting Numbers: [76, 3, 11]
Generated Node #0,1: 68:[76, 3, 11] Operation: 99-88=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[76, 3, 11], Operations: ['99-88=11']
Exploring Operation: 3*11=33, Resulting Numbers: [76, 33]
Generated Node #0,1,0: 68:[76, 33] Operation: 3*11=33
Exploring Operation: 76-11=65, Resulting Numbers: [3, 65]
Generated Node #0,1,1: 68:[3, 65] Operation: 76-11=65
Moving to Node #0,1,1
Current State: 68:[3, 65], Operations: ['99-88=11', '76-11=65']
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[88, 76, 99, 3], Operations: []
Exploring Operation: 99-88=11, Resulting Numbers: [76, 3, 11]
Generated Node #0,1: 68:[76, 3, 11] Operation: 99-88=11
Moving to Node #0,1
Current State: 68:[76, 3, 11], Operations: ['99-88=11']
Exploring Operation: 76-11=65, Resulting Numbers: [3, 65]
Generated Node #0,1,1: 68:[3, 65] Operation: 76-11=65
Moving to Node #0,1,1
Current State: 68:[3, 65], Operations: ['99-88=11', '76-11=65']
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
67,
43,
39,
92
] | 100 | [
"92-67=25",
"43-39=4",
"25*4=100"
] | Current State: 100:[67, 43, 39, 92], Operations: []
Exploring Operation: 92-67=25, Resulting Numbers: [43, 39, 25]
Generated Node #2: [43, 39, 25] from Operation: 92-67=25
Current State: 100:[43, 39, 25], Operations: ['92-67=25']
Exploring Operation: 43-39=4, Resulting Numbers: [25, 4]
Generated Node #3: [25, 4] from Operation: 43-39=4
Current State: 100:[25, 4], Operations: ['92-67=25', '43-39=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[67, 43, 39, 92], Operations: []
Exploring Operation: 67-39=28, Resulting Numbers: [43, 92, 28]
Generated Node #0,0: 100:[43, 92, 28] Operation: 67-39=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[43, 92, 28], Operations: ['67-39=28']
Exploring Operation: 92-43=49, Resulting Numbers: [28, 49]
Generated Node #0,0,0: 100:[28, 49] Operation: 92-43=49
Moving to Node #0,0,0
Current State: 100:[28, 49], Operations: ['67-39=28', '92-43=49']
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
26,
78,
38,
22
] | 74 | [
"26-22=4",
"38*4=152",
"152-78=74"
] | Current State: 74:[26, 78, 38, 22], Operations: []
Exploring Operation: 26-22=4, Resulting Numbers: [78, 38, 4]
Generated Node #2: [78, 38, 4] from Operation: 26-22=4
Current State: 74:[78, 38, 4], Operations: ['26-22=4']
Exploring Operation: 38*4=152, Resulting Numbers: [78, 152]
Generated Node #3: [78, 152] from Operation: 38*4=152
Current State: 74:[78, 152], Operations: ['26-22=4', '38*4=152']
Exploring Operation: 152-78=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[26, 78, 38, 22], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [38, 22, 3]
Generated Node #0,0: 74:[38, 22, 3] Operation: 78/26=3
Exploring Operation: 26-22=4, Resulting Numbers: [78, 38, 4]
Generated Node #0,1: 74:[78, 38, 4] Operation: 26-22=4
Exploring Operation: 26+22=48, Resulting Numbers: [78, 38, 48]
Generated Node #0,2: 74:[78, 38, 48] Operation: 26+22=48
Moving to Node #0,1
Current State: 74:[78, 38, 4], Operations: ['26-22=4']
Exploring Operation: 78-4=74, Resulting Numbers: [38, 74]
Generated Node #0,1,0: 74:[38, 74] Operation: 78-4=74
Exploring Operation: 38-4=34, Resulting Numbers: [78, 34]
Generated Node #0,1,1: 74:[78, 34] Operation: 38-4=34
Exploring Operation: 78-38=40, Resulting Numbers: [4, 40]
Generated Node #0,1,2: 74:[4, 40] Operation: 78-38=40
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[38, 74], Operations: ['26-22=4', '78-4=74']
Exploring Operation: 74-38=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 38*74=2812, Resulting Numbers: [2812]
2812,74 unequal: No Solution
Exploring Operation: 38+74=112, Resulting Numbers: [112]
112,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,2
Current State: 74:[4, 40], Operations: ['26-22=4', '78-38=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,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,1
Current State: 74:[78, 34], Operations: ['26-22=4', '38-4=34']
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 78+34=112, Resulting Numbers: [112]
112,74 unequal: No Solution
Exploring Operation: 78*34=2652, Resulting Numbers: [2652]
2652,74 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: 74:[78, 38, 48], Operations: ['26+22=48']
Exploring Operation: 78-38=40, Resulting Numbers: [48, 40]
Generated Node #0,2,0: 74:[48, 40] Operation: 78-38=40
Exploring Operation: 48-38=10, Resulting Numbers: [78, 10]
Generated Node #0,2,1: 74:[78, 10] Operation: 48-38=10
Exploring Operation: 78-48=30, Resulting Numbers: [38, 30]
Generated Node #0,2,2: 74:[38, 30] Operation: 78-48=30
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 74:[38, 30], Operations: ['26+22=48', '78-48=30']
Exploring Operation: 38*30=1140, Resulting Numbers: [1140]
1140,74 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,74 unequal: No Solution
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,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,1
Current State: 74:[78, 10], Operations: ['26+22=48', '48-38=10']
Exploring Operation: 78+10=88, Resulting Numbers: [88]
88,74 unequal: No Solution
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,74 unequal: No Solution
Exploring Operation: 78*10=780, Resulting Numbers: [780]
780,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,0
Current State: 74:[48, 40], Operations: ['26+22=48', '78-38=40']
Exploring Operation: 48*40=1920, Resulting Numbers: [1920]
1920,74 unequal: No Solution
Exploring Operation: 48-40=8, Resulting Numbers: [8]
8,74 unequal: No Solution
Exploring Operation: 48+40=88, Resulting Numbers: [88]
88,74 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: 74:[38, 22, 3], Operations: ['78/26=3']
Exploring Operation: 22*3=66, Resulting Numbers: [38, 66]
Generated Node #0,0,0: 74:[38, 66] Operation: 22*3=66
Exploring Operation: 38+22=60, Resulting Numbers: [3, 60]
Generated Node #0,0,1: 74:[3, 60] Operation: 38+22=60
Exploring Operation: 22+3=25, Resulting Numbers: [38, 25]
Generated Node #0,0,2: 74:[38, 25] Operation: 22+3=25
Moving to Node #0,0,0
Current State: 74:[38, 66], Operations: ['78/26=3', '22*3=66']
Exploring Operation: 38*66=2508, Resulting Numbers: [2508]
2508,74 unequal: No Solution
Exploring Operation: 38+66=104, Resulting Numbers: [104]
104,74 unequal: No Solution
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[38, 25], Operations: ['78/26=3', '22+3=25']
Exploring Operation: 38*25=950, Resulting Numbers: [950]
950,74 unequal: No Solution
Exploring Operation: 38+25=63, Resulting Numbers: [63]
63,74 unequal: No Solution
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[3, 60], Operations: ['78/26=3', '38+22=60']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,74 unequal: No Solution
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,74 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,74 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
40,
16,
32,
37
] | 93 | [
"40-16=24",
"32+37=69",
"24+69=93"
] | Current State: 93:[40, 16, 32, 37], Operations: []
Exploring Operation: 40-16=24, Resulting Numbers: [32, 37, 24]
Generated Node #2: [32, 37, 24] from Operation: 40-16=24
Current State: 93:[32, 37, 24], Operations: ['40-16=24']
Exploring Operation: 32+37=69, Resulting Numbers: [24, 69]
Generated Node #3: [24, 69] from Operation: 32+37=69
Current State: 93:[24, 69], Operations: ['40-16=24', '32+37=69']
Exploring Operation: 24+69=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[40, 16, 32, 37], Operations: []
Exploring Operation: 40-16=24, Resulting Numbers: [32, 37, 24]
Generated Node #0,0: 93:[32, 37, 24] Operation: 40-16=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[32, 37, 24], Operations: ['40-16=24']
Exploring Operation: 37-32=5, Resulting Numbers: [24, 5]
Generated Node #0,0,0: 93:[24, 5] Operation: 37-32=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[24, 5], Operations: ['40-16=24', '37-32=5']
Exploring Operation: 24+5=29, Resulting Numbers: [29]
29,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
78,
82,
30,
11
] | 39 | [
"30+11=41",
"78*41=3198",
"3198/82=39"
] | Current State: 39:[78, 82, 30, 11], Operations: []
Exploring Operation: 30+11=41, Resulting Numbers: [78, 82, 41]
Generated Node #2: [78, 82, 41] from Operation: 30+11=41
Current State: 39:[78, 82, 41], Operations: ['30+11=41']
Exploring Operation: 78*41=3198, Resulting Numbers: [82, 3198]
Generated Node #3: [82, 3198] from Operation: 78*41=3198
Current State: 39:[82, 3198], Operations: ['30+11=41', '78*41=3198']
Exploring Operation: 3198/82=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[78, 82, 30, 11], Operations: []
Exploring Operation: 82-78=4, Resulting Numbers: [30, 11, 4]
Generated Node #0,0: 39:[30, 11, 4] Operation: 82-78=4
Moving to Node #0,0
Current State: 39:[30, 11, 4], Operations: ['82-78=4']
Exploring Operation: 30+11=41, Resulting Numbers: [4, 41]
Generated Node #0,0,0: 39:[4, 41] Operation: 30+11=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[4, 41], Operations: ['82-78=4', '30+11=41']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,39 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 |
[
98,
51,
80,
87
] | 37 | [
"87-80=7",
"98/7=14",
"51-14=37"
] | Current State: 37:[98, 51, 80, 87], Operations: []
Exploring Operation: 87-80=7, Resulting Numbers: [98, 51, 7]
Generated Node #2: [98, 51, 7] from Operation: 87-80=7
Current State: 37:[98, 51, 7], Operations: ['87-80=7']
Exploring Operation: 98/7=14, Resulting Numbers: [51, 14]
Generated Node #3: [51, 14] from Operation: 98/7=14
Current State: 37:[51, 14], Operations: ['87-80=7', '98/7=14']
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[98, 51, 80, 87], Operations: []
Exploring Operation: 98-87=11, Resulting Numbers: [51, 80, 11]
Generated Node #0,0: 37:[51, 80, 11] Operation: 98-87=11
Exploring Operation: 98-80=18, Resulting Numbers: [51, 87, 18]
Generated Node #0,1: 37:[51, 87, 18] Operation: 98-80=18
Moving to Node #0,0
Current State: 37:[51, 80, 11], Operations: ['98-87=11']
Exploring Operation: 80-51=29, Resulting Numbers: [11, 29]
Generated Node #0,0,0: 37:[11, 29] Operation: 80-51=29
Exploring Operation: 51-11=40, Resulting Numbers: [80, 40]
Generated Node #0,0,1: 37:[80, 40] Operation: 51-11=40
Moving to Node #0,1
Current State: 37:[51, 87, 18], Operations: ['98-80=18']
Exploring Operation: 87-18=69, Resulting Numbers: [51, 69]
Generated Node #0,1,0: 37:[51, 69] Operation: 87-18=69
Exploring Operation: 87-51=36, Resulting Numbers: [18, 36]
Generated Node #0,1,1: 37:[18, 36] Operation: 87-51=36
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 37:[18, 36], Operations: ['98-80=18', '87-51=36']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,37 unequal: No Solution
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 37:[51, 69], Operations: ['98-80=18', '87-18=69']
Exploring Operation: 51+69=120, Resulting Numbers: [120]
120,37 unequal: No Solution
Exploring Operation: 69-51=18, Resulting Numbers: [18]
18,37 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: 37:[11, 29], Operations: ['98-87=11', '80-51=29']
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,37 unequal: No Solution
Exploring Operation: 11+29=40, Resulting Numbers: [40]
40,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[80, 40], Operations: ['98-87=11', '51-11=40']
Exploring Operation: 80-40=40, Resulting Numbers: [40]
40,37 unequal: No Solution
Exploring Operation: 80/40=2, Resulting Numbers: [2]
2,37 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
56,
14,
4,
1
] | 20 | [
"56/14=4",
"4+1=5",
"4*5=20"
] | Current State: 20:[56, 14, 4, 1], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [4, 1, 4]
Generated Node #2: [4, 1, 4] from Operation: 56/14=4
Current State: 20:[4, 1, 4], Operations: ['56/14=4']
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,20 equal: Goal Reached
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[56, 14, 4, 1], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [4, 1, 4]
Generated Node #0,0: 20:[4, 1, 4] Operation: 56/14=4
Exploring Operation: 56-14=42, Resulting Numbers: [4, 1, 42]
Generated Node #0,1: 20:[4, 1, 42] Operation: 56-14=42
Exploring Operation: 56/4=14, Resulting Numbers: [14, 1, 14]
Generated Node #0,2: 20:[14, 1, 14] Operation: 56/4=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[4, 1, 4], Operations: ['56/14=4']
Exploring Operation: 4+1=5, Resulting Numbers: [4, 5]
Generated Node #0,0,0: 20:[4, 5] Operation: 4+1=5
Exploring Operation: 4/1=4, Resulting Numbers: [4, 4]
Generated Node #0,0,1: 20:[4, 4] Operation: 4/1=4
Exploring Operation: 4*1=4, Resulting Numbers: [4, 4]
Generated Node #0,0,2: 20:[4, 4] Operation: 4*1=4
Moving to Node #0,0,0
Current State: 20:[4, 5], Operations: ['56/14=4', '4+1=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[56, 14, 4, 1], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [4, 1, 4]
Generated Node #0,0: 20:[4, 1, 4] Operation: 56/14=4
Moving to Node #0,0
Current State: 20:[4, 1, 4], Operations: ['56/14=4']
Exploring Operation: 4+1=5, Resulting Numbers: [4, 5]
Generated Node #0,0,0: 20:[4, 5] Operation: 4+1=5
Moving to Node #0,0,0
Current State: 20:[4, 5], Operations: ['56/14=4', '4+1=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
39,
97,
81,
70
] | 93 | [
"97-39=58",
"81+70=151",
"151-58=93"
] | Current State: 93:[39, 97, 81, 70], Operations: []
Exploring Operation: 97-39=58, Resulting Numbers: [81, 70, 58]
Generated Node #2: [81, 70, 58] from Operation: 97-39=58
Current State: 93:[81, 70, 58], Operations: ['97-39=58']
Exploring Operation: 81+70=151, Resulting Numbers: [58, 151]
Generated Node #3: [58, 151] from Operation: 81+70=151
Current State: 93:[58, 151], Operations: ['97-39=58', '81+70=151']
Exploring Operation: 151-58=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[39, 97, 81, 70], Operations: []
Exploring Operation: 81-70=11, Resulting Numbers: [39, 97, 11]
Generated Node #0,0: 93:[39, 97, 11] Operation: 81-70=11
Exploring Operation: 97-70=27, Resulting Numbers: [39, 81, 27]
Generated Node #0,1: 93:[39, 81, 27] Operation: 97-70=27
Exploring Operation: 70-39=31, Resulting Numbers: [97, 81, 31]
Generated Node #0,2: 93:[97, 81, 31] Operation: 70-39=31
Exploring Operation: 39+70=109, Resulting Numbers: [97, 81, 109]
Generated Node #0,3: 93:[97, 81, 109] Operation: 39+70=109
Exploring Operation: 81-39=42, Resulting Numbers: [97, 70, 42]
Generated Node #0,4: 93:[97, 70, 42] Operation: 81-39=42
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[97, 81, 31], Operations: ['70-39=31']
Exploring Operation: 81+31=112, Resulting Numbers: [97, 112]
Generated Node #0,2,0: 93:[97, 112] Operation: 81+31=112
Exploring Operation: 97-31=66, Resulting Numbers: [81, 66]
Generated Node #0,2,1: 93:[81, 66] Operation: 97-31=66
Exploring Operation: 97+31=128, Resulting Numbers: [81, 128]
Generated Node #0,2,2: 93:[81, 128] Operation: 97+31=128
Exploring Operation: 81-31=50, Resulting Numbers: [97, 50]
Generated Node #0,2,3: 93:[97, 50] Operation: 81-31=50
Exploring Operation: 97-81=16, Resulting Numbers: [31, 16]
Generated Node #0,2,4: 93:[31, 16] Operation: 97-81=16
Moving to Node #0,2,4
Current State: 93:[31, 16], Operations: ['70-39=31', '97-81=16']
Exploring Operation: 31*16=496, Resulting Numbers: [496]
496,93 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Moving to Node #0,2,3
Current State: 93:[97, 50], Operations: ['70-39=31', '81-31=50']
Exploring Operation: 97*50=4850, Resulting Numbers: [4850]
4850,93 unequal: No Solution
Exploring Operation: 97+50=147, Resulting Numbers: [147]
147,93 unequal: No Solution
Exploring Operation: 97-50=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[97, 112], Operations: ['70-39=31', '81+31=112']
Exploring Operation: 112-97=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 97*112=10864, Resulting Numbers: [10864]
10864,93 unequal: No Solution
Exploring Operation: 97+112=209, Resulting Numbers: [209]
209,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[81, 66], Operations: ['70-39=31', '97-31=66']
Exploring Operation: 81*66=5346, Resulting Numbers: [5346]
5346,93 unequal: No Solution
Exploring Operation: 81-66=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 81+66=147, Resulting Numbers: [147]
147,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[81, 128], Operations: ['70-39=31', '97+31=128']
Exploring Operation: 128-81=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 81*128=10368, Resulting Numbers: [10368]
10368,93 unequal: No Solution
Exploring Operation: 81+128=209, Resulting Numbers: [209]
209,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[39, 97, 11], Operations: ['81-70=11']
Exploring Operation: 39-11=28, Resulting Numbers: [97, 28]
Generated Node #0,0,0: 93:[97, 28] Operation: 39-11=28
Exploring Operation: 97+11=108, Resulting Numbers: [39, 108]
Generated Node #0,0,1: 93:[39, 108] Operation: 97+11=108
Exploring Operation: 97-39=58, Resulting Numbers: [11, 58]
Generated Node #0,0,2: 93:[11, 58] Operation: 97-39=58
Exploring Operation: 97-11=86, Resulting Numbers: [39, 86]
Generated Node #0,0,3: 93:[39, 86] Operation: 97-11=86
Exploring Operation: 39+11=50, Resulting Numbers: [97, 50]
Generated Node #0,0,4: 93:[97, 50] Operation: 39+11=50
Moving to Node #0,0,0
Current State: 93:[97, 28], Operations: ['81-70=11', '39-11=28']
Exploring Operation: 97+28=125, Resulting Numbers: [125]
125,93 unequal: No Solution
Exploring Operation: 97-28=69, Resulting Numbers: [69]
69,93 unequal: No Solution
Exploring Operation: 97*28=2716, Resulting Numbers: [2716]
2716,93 unequal: No Solution
Moving to Node #0,0,3
Current State: 93:[39, 86], Operations: ['81-70=11', '97-11=86']
Exploring Operation: 39*86=3354, Resulting Numbers: [3354]
3354,93 unequal: No Solution
Exploring Operation: 39+86=125, Resulting Numbers: [125]
125,93 unequal: No Solution
Exploring Operation: 86-39=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[39, 108], Operations: ['81-70=11', '97+11=108']
Exploring Operation: 39+108=147, Resulting Numbers: [147]
147,93 unequal: No Solution
Exploring Operation: 108-39=69, Resulting Numbers: [69]
69,93 unequal: No Solution
Exploring Operation: 39*108=4212, Resulting Numbers: [4212]
4212,93 unequal: No Solution
Moving to Node #0,0,4
Current State: 93:[97, 50], Operations: ['81-70=11', '39+11=50']
Exploring Operation: 97-50=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 97*50=4850, Resulting Numbers: [4850]
4850,93 unequal: No Solution
Exploring Operation: 97+50=147, Resulting Numbers: [147]
147,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[11, 58], Operations: ['81-70=11', '97-39=58']
Exploring Operation: 11*58=638, Resulting Numbers: [638]
638,93 unequal: No Solution
Exploring Operation: 11+58=69, Resulting Numbers: [69]
69,93 unequal: No Solution
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[39, 81, 27], Operations: ['97-70=27']
Exploring Operation: 39-27=12, Resulting Numbers: [81, 12]
Generated Node #0,1,0: 93:[81, 12] Operation: 39-27=12
Exploring Operation: 81/27=3, Resulting Numbers: [39, 3]
Generated Node #0,1,1: 93:[39, 3] Operation: 81/27=3
Exploring Operation: 81+27=108, Resulting Numbers: [39, 108]
Generated Node #0,1,2: 93:[39, 108] Operation: 81+27=108
Exploring Operation: 81-39=42, Resulting Numbers: [27, 42]
Generated Node #0,1,3: 93:[27, 42] Operation: 81-39=42
Exploring Operation: 39+81=120, Resulting Numbers: [27, 120]
Generated Node #0,1,4: 93:[27, 120] Operation: 39+81=120
Moving to Node #0,1,1
Current State: 93:[39, 3], Operations: ['97-70=27', '81/27=3']
Exploring Operation: 39*3=117, Resulting Numbers: [117]
117,93 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,93 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Moving to Node #0,1,3
Current State: 93:[27, 42], Operations: ['97-70=27', '81-39=42']
Exploring Operation: 27+42=69, Resulting Numbers: [69]
69,93 unequal: No Solution
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 27*42=1134, Resulting Numbers: [1134]
1134,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[81, 12], Operations: ['97-70=27', '39-27=12']
Exploring Operation: 81*12=972, Resulting Numbers: [972]
972,93 unequal: No Solution
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,93 unequal: No Solution
Exploring Operation: 81+12=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[39, 97, 81, 70], Operations: []
Exploring Operation: 97-70=27, Resulting Numbers: [39, 81, 27]
Generated Node #0,1: 93:[39, 81, 27] Operation: 97-70=27
Moving to Node #0,1
Current State: 93:[39, 81, 27], Operations: ['97-70=27']
Exploring Operation: 39-27=12, Resulting Numbers: [81, 12]
Generated Node #0,1,0: 93:[81, 12] Operation: 39-27=12
Moving to Node #0,1,0
Current State: 93:[81, 12], Operations: ['97-70=27', '39-27=12']
Exploring Operation: 81+12=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.944444 | hs_5 | sum_heuristic |
[
18,
93,
66,
30
] | 21 | [
"93-18=75",
"66+30=96",
"96-75=21"
] | Current State: 21:[18, 93, 66, 30], Operations: []
Exploring Operation: 93-18=75, Resulting Numbers: [66, 30, 75]
Generated Node #2: [66, 30, 75] from Operation: 93-18=75
Current State: 21:[66, 30, 75], Operations: ['93-18=75']
Exploring Operation: 66+30=96, Resulting Numbers: [75, 96]
Generated Node #3: [75, 96] from Operation: 66+30=96
Current State: 21:[75, 96], Operations: ['93-18=75', '66+30=96']
Exploring Operation: 96-75=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[18, 93, 66, 30], Operations: []
Exploring Operation: 93-66=27, Resulting Numbers: [18, 30, 27]
Generated Node #0,0: 21:[18, 30, 27] Operation: 93-66=27
Exploring Operation: 93-30=63, Resulting Numbers: [18, 66, 63]
Generated Node #0,1: 21:[18, 66, 63] Operation: 93-30=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[18, 30, 27], Operations: ['93-66=27']
Exploring Operation: 30-18=12, Resulting Numbers: [27, 12]
Generated Node #0,0,0: 21:[27, 12] Operation: 30-18=12
Exploring Operation: 30-27=3, Resulting Numbers: [18, 3]
Generated Node #0,0,1: 21:[18, 3] Operation: 30-27=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[18, 3], Operations: ['93-66=27', '30-27=3']
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[18, 93, 66, 30], Operations: []
Exploring Operation: 93-66=27, Resulting Numbers: [18, 30, 27]
Generated Node #0,0: 21:[18, 30, 27] Operation: 93-66=27
Moving to Node #0,0
Current State: 21:[18, 30, 27], Operations: ['93-66=27']
Exploring Operation: 30-27=3, Resulting Numbers: [18, 3]
Generated Node #0,0,1: 21:[18, 3] Operation: 30-27=3
Moving to Node #0,0,1
Current State: 21:[18, 3], Operations: ['93-66=27', '30-27=3']
Exploring Operation: 18+3=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 |
[
3,
30,
70,
35
] | 72 | [
"3+30=33",
"70+35=105",
"105-33=72"
] | Current State: 72:[3, 30, 70, 35], Operations: []
Exploring Operation: 3+30=33, Resulting Numbers: [70, 35, 33]
Generated Node #2: [70, 35, 33] from Operation: 3+30=33
Current State: 72:[70, 35, 33], Operations: ['3+30=33']
Exploring Operation: 70+35=105, Resulting Numbers: [33, 105]
Generated Node #3: [33, 105] from Operation: 70+35=105
Current State: 72:[33, 105], Operations: ['3+30=33', '70+35=105']
Exploring Operation: 105-33=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[3, 30, 70, 35], Operations: []
Exploring Operation: 30-3=27, Resulting Numbers: [70, 35, 27]
Generated Node #0,0: 72:[70, 35, 27] Operation: 30-3=27
Exploring Operation: 35-30=5, Resulting Numbers: [3, 70, 5]
Generated Node #0,1: 72:[3, 70, 5] Operation: 35-30=5
Exploring Operation: 3+30=33, Resulting Numbers: [70, 35, 33]
Generated Node #0,2: 72:[70, 35, 33] Operation: 3+30=33
Exploring Operation: 30/3=10, Resulting Numbers: [70, 35, 10]
Generated Node #0,3: 72:[70, 35, 10] Operation: 30/3=10
Exploring Operation: 70-30=40, Resulting Numbers: [3, 35, 40]
Generated Node #0,4: 72:[3, 35, 40] Operation: 70-30=40
Moving to Node #0,1
Current State: 72:[3, 70, 5], Operations: ['35-30=5']
Exploring Operation: 70/5=14, Resulting Numbers: [3, 14]
Generated Node #0,1,0: 72:[3, 14] Operation: 70/5=14
Exploring Operation: 5-3=2, Resulting Numbers: [70, 2]
Generated Node #0,1,1: 72:[70, 2] Operation: 5-3=2
Exploring Operation: 3+5=8, Resulting Numbers: [70, 8]
Generated Node #0,1,2: 72:[70, 8] Operation: 3+5=8
Exploring Operation: 3+70=73, Resulting Numbers: [5, 73]
Generated Node #0,1,3: 72:[5, 73] Operation: 3+70=73
Exploring Operation: 70+5=75, Resulting Numbers: [3, 75]
Generated Node #0,1,4: 72:[3, 75] Operation: 70+5=75
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[3, 14], Operations: ['35-30=5', '70/5=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 72:[70, 2], Operations: ['35-30=5', '5-3=2']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,72 unequal: No Solution
Exploring Operation: 70*2=140, Resulting Numbers: [140]
140,72 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[3, 30, 70, 35], Operations: []
Exploring Operation: 35-30=5, Resulting Numbers: [3, 70, 5]
Generated Node #0,1: 72:[3, 70, 5] Operation: 35-30=5
Moving to Node #0,1
Current State: 72:[3, 70, 5], Operations: ['35-30=5']
Exploring Operation: 5-3=2, Resulting Numbers: [70, 2]
Generated Node #0,1,1: 72:[70, 2] Operation: 5-3=2
Moving to Node #0,1,1
Current State: 72:[70, 2], Operations: ['35-30=5', '5-3=2']
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
62,
31,
11,
86
] | 18 | [
"62+31=93",
"86-11=75",
"93-75=18"
] | Current State: 18:[62, 31, 11, 86], Operations: []
Exploring Operation: 62+31=93, Resulting Numbers: [11, 86, 93]
Generated Node #2: [11, 86, 93] from Operation: 62+31=93
Current State: 18:[11, 86, 93], Operations: ['62+31=93']
Exploring Operation: 86-11=75, Resulting Numbers: [93, 75]
Generated Node #3: [93, 75] from Operation: 86-11=75
Current State: 18:[93, 75], Operations: ['62+31=93', '86-11=75']
Exploring Operation: 93-75=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[62, 31, 11, 86], Operations: []
Exploring Operation: 86-62=24, Resulting Numbers: [31, 11, 24]
Generated Node #0,0: 18:[31, 11, 24] Operation: 86-62=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[31, 11, 24], Operations: ['86-62=24']
Exploring Operation: 31-24=7, Resulting Numbers: [11, 7]
Generated Node #0,0,0: 18:[11, 7] Operation: 31-24=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[11, 7], Operations: ['86-62=24', '31-24=7']
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[62, 31, 11, 86], Operations: []
Exploring Operation: 86-62=24, Resulting Numbers: [31, 11, 24]
Generated Node #0,0: 18:[31, 11, 24] Operation: 86-62=24
Moving to Node #0,0
Current State: 18:[31, 11, 24], Operations: ['86-62=24']
Exploring Operation: 31-24=7, Resulting Numbers: [11, 7]
Generated Node #0,0,0: 18:[11, 7] Operation: 31-24=7
Moving to Node #0,0,0
Current State: 18:[11, 7], Operations: ['86-62=24', '31-24=7']
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
80,
72,
66,
99
] | 48 | [
"80*99=7920",
"7920/66=120",
"120-72=48"
] | Current State: 48:[80, 72, 66, 99], Operations: []
Exploring Operation: 80*99=7920, Resulting Numbers: [72, 66, 7920]
Generated Node #2: [72, 66, 7920] from Operation: 80*99=7920
Current State: 48:[72, 66, 7920], Operations: ['80*99=7920']
Exploring Operation: 7920/66=120, Resulting Numbers: [72, 120]
Generated Node #3: [72, 120] from Operation: 7920/66=120
Current State: 48:[72, 120], Operations: ['80*99=7920', '7920/66=120']
Exploring Operation: 120-72=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[80, 72, 66, 99], Operations: []
Exploring Operation: 80-72=8, Resulting Numbers: [66, 99, 8]
Generated Node #0,0: 48:[66, 99, 8] Operation: 80-72=8
Exploring Operation: 99-80=19, Resulting Numbers: [72, 66, 19]
Generated Node #0,1: 48:[72, 66, 19] Operation: 99-80=19
Exploring Operation: 80-66=14, Resulting Numbers: [72, 99, 14]
Generated Node #0,2: 48:[72, 99, 14] Operation: 80-66=14
Exploring Operation: 99-66=33, Resulting Numbers: [80, 72, 33]
Generated Node #0,3: 48:[80, 72, 33] Operation: 99-66=33
Exploring Operation: 99-72=27, Resulting Numbers: [80, 66, 27]
Generated Node #0,4: 48:[80, 66, 27] Operation: 99-72=27
Moving to Node #0,1
Current State: 48:[72, 66, 19], Operations: ['99-80=19']
Exploring Operation: 72-66=6, Resulting Numbers: [19, 6]
Generated Node #0,1,0: 48:[19, 6] Operation: 72-66=6
Exploring Operation: 72+19=91, Resulting Numbers: [66, 91]
Generated Node #0,1,1: 48:[66, 91] Operation: 72+19=91
Exploring Operation: 66-19=47, Resulting Numbers: [72, 47]
Generated Node #0,1,2: 48:[72, 47] Operation: 66-19=47
Exploring Operation: 72-19=53, Resulting Numbers: [66, 53]
Generated Node #0,1,3: 48:[66, 53] Operation: 72-19=53
Exploring Operation: 66+19=85, Resulting Numbers: [72, 85]
Generated Node #0,1,4: 48:[72, 85] Operation: 66+19=85
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[19, 6], Operations: ['99-80=19', '72-66=6']
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,48 unequal: No Solution
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,48 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 48:[66, 53], Operations: ['99-80=19', '72-19=53']
Exploring Operation: 66-53=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 66*53=3498, Resulting Numbers: [3498]
3498,48 unequal: No Solution
Exploring Operation: 66+53=119, Resulting Numbers: [119]
119,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 48:[72, 47], Operations: ['99-80=19', '66-19=47']
Exploring Operation: 72+47=119, Resulting Numbers: [119]
119,48 unequal: No Solution
Exploring Operation: 72*47=3384, Resulting Numbers: [3384]
3384,48 unequal: No Solution
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[66, 91], Operations: ['99-80=19', '72+19=91']
Exploring Operation: 91-66=25, Resulting Numbers: [25]
25,48 unequal: No Solution
Exploring Operation: 66+91=157, Resulting Numbers: [157]
157,48 unequal: No Solution
Exploring Operation: 66*91=6006, Resulting Numbers: [6006]
6006,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 48:[72, 85], Operations: ['99-80=19', '66+19=85']
Exploring Operation: 72*85=6120, Resulting Numbers: [6120]
6120,48 unequal: No Solution
Exploring Operation: 85-72=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 72+85=157, Resulting Numbers: [157]
157,48 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: 48:[80, 66, 27], Operations: ['99-72=27']
Exploring Operation: 66+27=93, Resulting Numbers: [80, 93]
Generated Node #0,4,0: 48:[80, 93] Operation: 66+27=93
Exploring Operation: 80-27=53, Resulting Numbers: [66, 53]
Generated Node #0,4,1: 48:[66, 53] Operation: 80-27=53
Exploring Operation: 66-27=39, Resulting Numbers: [80, 39]
Generated Node #0,4,2: 48:[80, 39] Operation: 66-27=39
Exploring Operation: 80+27=107, Resulting Numbers: [66, 107]
Generated Node #0,4,3: 48:[66, 107] Operation: 80+27=107
Exploring Operation: 80-66=14, Resulting Numbers: [27, 14]
Generated Node #0,4,4: 48:[27, 14] Operation: 80-66=14
Moving to Node #0,3
Current State: 48:[80, 72, 33], Operations: ['99-66=33']
Exploring Operation: 72+33=105, Resulting Numbers: [80, 105]
Generated Node #0,3,0: 48:[80, 105] Operation: 72+33=105
Exploring Operation: 80-33=47, Resulting Numbers: [72, 47]
Generated Node #0,3,1: 48:[72, 47] Operation: 80-33=47
Exploring Operation: 80-72=8, Resulting Numbers: [33, 8]
Generated Node #0,3,2: 48:[33, 8] Operation: 80-72=8
Exploring Operation: 72-33=39, Resulting Numbers: [80, 39]
Generated Node #0,3,3: 48:[80, 39] Operation: 72-33=39
Exploring Operation: 80+33=113, Resulting Numbers: [72, 113]
Generated Node #0,3,4: 48:[72, 113] Operation: 80+33=113
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 48:[33, 8], Operations: ['99-66=33', '80-72=8']
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,48 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,48 unequal: No Solution
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 48:[72, 47], Operations: ['99-66=33', '80-33=47']
Exploring Operation: 72*47=3384, Resulting Numbers: [3384]
3384,48 unequal: No Solution
Exploring Operation: 72+47=119, Resulting Numbers: [119]
119,48 unequal: No Solution
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 48:[80, 39], Operations: ['99-66=33', '72-33=39']
Exploring Operation: 80+39=119, Resulting Numbers: [119]
119,48 unequal: No Solution
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,48 unequal: No Solution
Exploring Operation: 80*39=3120, Resulting Numbers: [3120]
3120,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 48:[80, 105], Operations: ['99-66=33', '72+33=105']
Exploring Operation: 105-80=25, Resulting Numbers: [25]
25,48 unequal: No Solution
Exploring Operation: 80*105=8400, Resulting Numbers: [8400]
8400,48 unequal: No Solution
Exploring Operation: 80+105=185, Resulting Numbers: [185]
185,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 48:[72, 113], Operations: ['99-66=33', '80+33=113']
Exploring Operation: 113-72=41, Resulting Numbers: [41]
41,48 unequal: No Solution
Exploring Operation: 72*113=8136, Resulting Numbers: [8136]
8136,48 unequal: No Solution
Exploring Operation: 72+113=185, Resulting Numbers: [185]
185,48 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: 48:[66, 99, 8], Operations: ['80-72=8']
Exploring Operation: 66-8=58, Resulting Numbers: [99, 58]
Generated Node #0,0,0: 48:[99, 58] Operation: 66-8=58
Exploring Operation: 99-8=91, Resulting Numbers: [66, 91]
Generated Node #0,0,1: 48:[66, 91] Operation: 99-8=91
Exploring Operation: 99+8=107, Resulting Numbers: [66, 107]
Generated Node #0,0,2: 48:[66, 107] Operation: 99+8=107
Exploring Operation: 99-66=33, Resulting Numbers: [8, 33]
Generated Node #0,0,3: 48:[8, 33] Operation: 99-66=33
Exploring Operation: 66+8=74, Resulting Numbers: [99, 74]
Generated Node #0,0,4: 48:[99, 74] Operation: 66+8=74
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 48:[8, 33], Operations: ['80-72=8', '99-66=33']
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,48 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,48 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[99, 58], Operations: ['80-72=8', '66-8=58']
Exploring Operation: 99*58=5742, Resulting Numbers: [5742]
5742,48 unequal: No Solution
Exploring Operation: 99-58=41, Resulting Numbers: [41]
41,48 unequal: No Solution
Exploring Operation: 99+58=157, Resulting Numbers: [157]
157,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[66, 91], Operations: ['80-72=8', '99-8=91']
Exploring Operation: 66+91=157, Resulting Numbers: [157]
157,48 unequal: No Solution
Exploring Operation: 66*91=6006, Resulting Numbers: [6006]
6006,48 unequal: No Solution
Exploring Operation: 91-66=25, Resulting Numbers: [25]
25,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 48:[66, 107], Operations: ['80-72=8', '99+8=107']
Exploring Operation: 107-66=41, Resulting Numbers: [41]
41,48 unequal: No Solution
Exploring Operation: 66+107=173, Resulting Numbers: [173]
173,48 unequal: No Solution
Exploring Operation: 66*107=7062, Resulting Numbers: [7062]
7062,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 48:[99, 74], Operations: ['80-72=8', '66+8=74']
Exploring Operation: 99*74=7326, Resulting Numbers: [7326]
7326,48 unequal: No Solution
Exploring Operation: 99-74=25, Resulting Numbers: [25]
25,48 unequal: No Solution
Exploring Operation: 99+74=173, Resulting Numbers: [173]
173,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 48:[72, 99, 14], Operations: ['80-66=14']
Exploring Operation: 99-14=85, Resulting Numbers: [72, 85]
Generated Node #0,2,0: 48:[72, 85] Operation: 99-14=85
Exploring Operation: 72-14=58, Resulting Numbers: [99, 58]
Generated Node #0,2,1: 48:[99, 58] Operation: 72-14=58
Exploring Operation: 99+14=113, Resulting Numbers: [72, 113]
Generated Node #0,2,2: 48:[72, 113] Operation: 99+14=113
Exploring Operation: 99-72=27, Resulting Numbers: [14, 27]
Generated Node #0,2,3: 48:[14, 27] Operation: 99-72=27
Exploring Operation: 72+14=86, Resulting Numbers: [99, 86]
Generated Node #0,2,4: 48:[99, 86] Operation: 72+14=86
Moving to Node #0,4,4
Current State: 48:[27, 14], Operations: ['99-72=27', '80-66=14']
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,48 unequal: No Solution
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,48 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Moving to Node #0,2,3
Current State: 48:[14, 27], Operations: ['80-66=14', '99-72=27']
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,48 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,48 unequal: No Solution
Moving to Node #0,4,1
Current State: 48:[66, 53], Operations: ['99-72=27', '80-27=53']
Exploring Operation: 66*53=3498, Resulting Numbers: [3498]
3498,48 unequal: No Solution
Exploring Operation: 66-53=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 66+53=119, Resulting Numbers: [119]
119,48 unequal: No Solution
Moving to Node #0,4,2
Current State: 48:[80, 39], Operations: ['99-72=27', '66-27=39']
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,48 unequal: No Solution
Exploring Operation: 80*39=3120, Resulting Numbers: [3120]
3120,48 unequal: No Solution
Exploring Operation: 80+39=119, Resulting Numbers: [119]
119,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[72, 85], Operations: ['80-66=14', '99-14=85']
Exploring Operation: 85-72=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 72+85=157, Resulting Numbers: [157]
157,48 unequal: No Solution
Exploring Operation: 72*85=6120, Resulting Numbers: [6120]
6120,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[99, 58], Operations: ['80-66=14', '72-14=58']
Exploring Operation: 99+58=157, Resulting Numbers: [157]
157,48 unequal: No Solution
Exploring Operation: 99*58=5742, Resulting Numbers: [5742]
5742,48 unequal: No Solution
Exploring Operation: 99-58=41, Resulting Numbers: [41]
41,48 unequal: No Solution
Moving to Node #0,4,3
Current State: 48:[66, 107], Operations: ['99-72=27', '80+27=107']
Exploring Operation: 107-66=41, Resulting Numbers: [41]
41,48 unequal: No Solution
Exploring Operation: 66+107=173, Resulting Numbers: [173]
173,48 unequal: No Solution
Exploring Operation: 66*107=7062, Resulting Numbers: [7062]
7062,48 unequal: No Solution
Moving to Node #0,4,0
Current State: 48:[80, 93], Operations: ['99-72=27', '66+27=93']
Exploring Operation: 80*93=7440, Resulting Numbers: [7440]
7440,48 unequal: No Solution
Exploring Operation: 93-80=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 80+93=173, Resulting Numbers: [173]
173,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[72, 113], Operations: ['80-66=14', '99+14=113']
Exploring Operation: 72+113=185, Resulting Numbers: [185]
185,48 unequal: No Solution
Exploring Operation: 113-72=41, Resulting Numbers: [41]
41,48 unequal: No Solution
Exploring Operation: 72*113=8136, Resulting Numbers: [8136]
8136,48 unequal: No Solution
Moving to Node #0,2,4
Current State: 48:[99, 86], Operations: ['80-66=14', '72+14=86']
Exploring Operation: 99-86=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 99+86=185, Resulting Numbers: [185]
185,48 unequal: No Solution
Exploring Operation: 99*86=8514, Resulting Numbers: [8514]
8514,48 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
17,
57,
9,
60
] | 54 | [
"60-9=51",
"51/17=3",
"57-3=54"
] | Current State: 54:[17, 57, 9, 60], Operations: []
Exploring Operation: 60-9=51, Resulting Numbers: [17, 57, 51]
Generated Node #2: [17, 57, 51] from Operation: 60-9=51
Current State: 54:[17, 57, 51], Operations: ['60-9=51']
Exploring Operation: 51/17=3, Resulting Numbers: [57, 3]
Generated Node #3: [57, 3] from Operation: 51/17=3
Current State: 54:[57, 3], Operations: ['60-9=51', '51/17=3']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[17, 57, 9, 60], Operations: []
Exploring Operation: 60-9=51, Resulting Numbers: [17, 57, 51]
Generated Node #0,0: 54:[17, 57, 51] Operation: 60-9=51
Exploring Operation: 60-57=3, Resulting Numbers: [17, 9, 3]
Generated Node #0,1: 54:[17, 9, 3] Operation: 60-57=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[17, 9, 3], Operations: ['60-57=3']
Exploring Operation: 17-9=8, Resulting Numbers: [3, 8]
Generated Node #0,1,0: 54:[3, 8] Operation: 17-9=8
Exploring Operation: 17+9=26, Resulting Numbers: [3, 26]
Generated Node #0,1,1: 54:[3, 26] Operation: 17+9=26
Moving to Node #0,1,0
Current State: 54:[3, 8], Operations: ['60-57=3', '17-9=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[3, 26], Operations: ['60-57=3', '17+9=26']
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,54 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[17, 57, 51], Operations: ['60-9=51']
Exploring Operation: 51/17=3, Resulting Numbers: [57, 3]
Generated Node #0,0,0: 54:[57, 3] Operation: 51/17=3
Exploring Operation: 57-51=6, Resulting Numbers: [17, 6]
Generated Node #0,0,1: 54:[17, 6] Operation: 57-51=6
Moving to Node #0,0,1
Current State: 54:[17, 6], Operations: ['60-9=51', '57-51=6']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[57, 3], Operations: ['60-9=51', '51/17=3']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[17, 57, 9, 60], Operations: []
Exploring Operation: 60-9=51, Resulting Numbers: [17, 57, 51]
Generated Node #0,0: 54:[17, 57, 51] Operation: 60-9=51
Moving to Node #0,0
Current State: 54:[17, 57, 51], Operations: ['60-9=51']
Exploring Operation: 51/17=3, Resulting Numbers: [57, 3]
Generated Node #0,0,0: 54:[57, 3] Operation: 51/17=3
Moving to Node #0,0,0
Current State: 54:[57, 3], Operations: ['60-9=51', '51/17=3']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | mult_heuristic |
[
43,
33,
9,
58
] | 55 | [
"58-43=15",
"33*15=495",
"495/9=55"
] | Current State: 55:[43, 33, 9, 58], Operations: []
Exploring Operation: 58-43=15, Resulting Numbers: [33, 9, 15]
Generated Node #2: [33, 9, 15] from Operation: 58-43=15
Current State: 55:[33, 9, 15], Operations: ['58-43=15']
Exploring Operation: 33*15=495, Resulting Numbers: [9, 495]
Generated Node #3: [9, 495] from Operation: 33*15=495
Current State: 55:[9, 495], Operations: ['58-43=15', '33*15=495']
Exploring Operation: 495/9=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[43, 33, 9, 58], Operations: []
Exploring Operation: 43+33=76, Resulting Numbers: [9, 58, 76]
Generated Node #0,0: 55:[9, 58, 76] Operation: 43+33=76
Exploring Operation: 43-33=10, Resulting Numbers: [9, 58, 10]
Generated Node #0,1: 55:[9, 58, 10] Operation: 43-33=10
Exploring Operation: 43+9=52, Resulting Numbers: [33, 58, 52]
Generated Node #0,2: 55:[33, 58, 52] Operation: 43+9=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[9, 58, 10], Operations: ['43-33=10']
Exploring Operation: 10-9=1, Resulting Numbers: [58, 1]
Generated Node #0,1,0: 55:[58, 1] Operation: 10-9=1
Exploring Operation: 58-9=49, Resulting Numbers: [10, 49]
Generated Node #0,1,1: 55:[10, 49] Operation: 58-9=49
Exploring Operation: 58-10=48, Resulting Numbers: [9, 48]
Generated Node #0,1,2: 55:[9, 48] Operation: 58-10=48
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[58, 1], Operations: ['43-33=10', '10-9=1']
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Exploring Operation: 58/1=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,1,1
Current State: 55:[10, 49], Operations: ['43-33=10', '58-9=49']
Exploring Operation: 10*49=490, Resulting Numbers: [490]
490,55 unequal: No Solution
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 10+49=59, Resulting Numbers: [59]
59,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,1,2
Current State: 55:[9, 48], Operations: ['43-33=10', '58-10=48']
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 9*48=432, Resulting Numbers: [432]
432,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,0
Current State: 55:[9, 58, 76], Operations: ['43+33=76']
Exploring Operation: 58-9=49, Resulting Numbers: [76, 49]
Generated Node #0,0,0: 55:[76, 49] Operation: 58-9=49
Exploring Operation: 76-58=18, Resulting Numbers: [9, 18]
Generated Node #0,0,1: 55:[9, 18] Operation: 76-58=18
Exploring Operation: 76-9=67, Resulting Numbers: [58, 67]
Generated Node #0,0,2: 55:[58, 67] Operation: 76-9=67
Moving to Node #0,0,1
Current State: 55:[9, 18], Operations: ['43+33=76', '76-58=18']
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[58, 67], Operations: ['43+33=76', '76-9=67']
Exploring Operation: 58+67=125, Resulting Numbers: [125]
125,55 unequal: No Solution
Exploring Operation: 58*67=3886, Resulting Numbers: [3886]
3886,55 unequal: No Solution
Exploring Operation: 67-58=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[76, 49], Operations: ['43+33=76', '58-9=49']
Exploring Operation: 76-49=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 76*49=3724, Resulting Numbers: [3724]
3724,55 unequal: No Solution
Exploring Operation: 76+49=125, Resulting Numbers: [125]
125,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:[33, 58, 52], Operations: ['43+9=52']
Exploring Operation: 58-52=6, Resulting Numbers: [33, 6]
Generated Node #0,2,0: 55:[33, 6] Operation: 58-52=6
Exploring Operation: 52-33=19, Resulting Numbers: [58, 19]
Generated Node #0,2,1: 55:[58, 19] Operation: 52-33=19
Exploring Operation: 58-33=25, Resulting Numbers: [52, 25]
Generated Node #0,2,2: 55:[52, 25] Operation: 58-33=25
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 55:[58, 19], Operations: ['43+9=52', '52-33=19']
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 58+19=77, Resulting Numbers: [77]
77,55 unequal: No Solution
Exploring Operation: 58*19=1102, Resulting Numbers: [1102]
1102,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:[52, 25], Operations: ['43+9=52', '58-33=25']
Exploring Operation: 52+25=77, Resulting Numbers: [77]
77,55 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 52*25=1300, Resulting Numbers: [1300]
1300,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,0
Current State: 55:[33, 6], Operations: ['43+9=52', '58-52=6']
Exploring Operation: 33*6=198, Resulting Numbers: [198]
198,55 unequal: No Solution
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,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_3 | mult_heuristic |
[
35,
1,
2,
4
] | 44 | [
"35+1=36",
"2*4=8",
"36+8=44"
] | Current State: 44:[35, 1, 2, 4], Operations: []
Exploring Operation: 35+1=36, Resulting Numbers: [2, 4, 36]
Generated Node #2: [2, 4, 36] from Operation: 35+1=36
Current State: 44:[2, 4, 36], Operations: ['35+1=36']
Exploring Operation: 2*4=8, Resulting Numbers: [36, 8]
Generated Node #3: [36, 8] from Operation: 2*4=8
Current State: 44:[36, 8], Operations: ['35+1=36', '2*4=8']
Exploring Operation: 36+8=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[35, 1, 2, 4], Operations: []
Exploring Operation: 35+1=36, Resulting Numbers: [2, 4, 36]
Generated Node #0,0: 44:[2, 4, 36] Operation: 35+1=36
Exploring Operation: 35+4=39, Resulting Numbers: [1, 2, 39]
Generated Node #0,1: 44:[1, 2, 39] Operation: 35+4=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[1, 2, 39], Operations: ['35+4=39']
Exploring Operation: 1+39=40, Resulting Numbers: [2, 40]
Generated Node #0,1,0: 44:[2, 40] Operation: 1+39=40
Exploring Operation: 2+39=41, Resulting Numbers: [1, 41]
Generated Node #0,1,1: 44:[1, 41] Operation: 2+39=41
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[2, 40], Operations: ['35+4=39', '1+39=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[1, 41], Operations: ['35+4=39', '2+39=41']
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[2, 4, 36], Operations: ['35+1=36']
Exploring Operation: 36/2=18, Resulting Numbers: [4, 18]
Generated Node #0,0,0: 44:[4, 18] Operation: 36/2=18
Exploring Operation: 36/4=9, Resulting Numbers: [2, 9]
Generated Node #0,0,1: 44:[2, 9] Operation: 36/4=9
Moving to Node #0,0,1
Current State: 44:[2, 9], Operations: ['35+1=36', '36/4=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[4, 18], Operations: ['35+1=36', '36/2=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,44 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 |
[
55,
69,
51,
49
] | 28 | [
"69-55=14",
"51-49=2",
"14*2=28"
] | Current State: 28:[55, 69, 51, 49], Operations: []
Exploring Operation: 69-55=14, Resulting Numbers: [51, 49, 14]
Generated Node #2: [51, 49, 14] from Operation: 69-55=14
Current State: 28:[51, 49, 14], Operations: ['69-55=14']
Exploring Operation: 51-49=2, Resulting Numbers: [14, 2]
Generated Node #3: [14, 2] from Operation: 51-49=2
Current State: 28:[14, 2], Operations: ['69-55=14', '51-49=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[55, 69, 51, 49], Operations: []
Exploring Operation: 69-49=20, Resulting Numbers: [55, 51, 20]
Generated Node #0,0: 28:[55, 51, 20] Operation: 69-49=20
Exploring Operation: 69-51=18, Resulting Numbers: [55, 49, 18]
Generated Node #0,1: 28:[55, 49, 18] Operation: 69-51=18
Exploring Operation: 69-55=14, Resulting Numbers: [51, 49, 14]
Generated Node #0,2: 28:[51, 49, 14] Operation: 69-55=14
Exploring Operation: 55-51=4, Resulting Numbers: [69, 49, 4]
Generated Node #0,3: 28:[69, 49, 4] Operation: 55-51=4
Moving to Node #0,2
Current State: 28:[51, 49, 14], Operations: ['69-55=14']
Exploring Operation: 51+14=65, Resulting Numbers: [49, 65]
Generated Node #0,2,0: 28:[49, 65] Operation: 51+14=65
Exploring Operation: 51-49=2, Resulting Numbers: [14, 2]
Generated Node #0,2,1: 28:[14, 2] Operation: 51-49=2
Exploring Operation: 51-14=37, Resulting Numbers: [49, 37]
Generated Node #0,2,2: 28:[49, 37] Operation: 51-14=37
Exploring Operation: 49-14=35, Resulting Numbers: [51, 35]
Generated Node #0,2,3: 28:[51, 35] Operation: 49-14=35
Moving to Node #0,1
Current State: 28:[55, 49, 18], Operations: ['69-51=18']
Exploring Operation: 55+18=73, Resulting Numbers: [49, 73]
Generated Node #0,1,0: 28:[49, 73] Operation: 55+18=73
Exploring Operation: 55-49=6, Resulting Numbers: [18, 6]
Generated Node #0,1,1: 28:[18, 6] Operation: 55-49=6
Exploring Operation: 55-18=37, Resulting Numbers: [49, 37]
Generated Node #0,1,2: 28:[49, 37] Operation: 55-18=37
Exploring Operation: 49-18=31, Resulting Numbers: [55, 31]
Generated Node #0,1,3: 28:[55, 31] Operation: 49-18=31
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[18, 6], Operations: ['69-51=18', '55-49=6']
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,28 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[49, 37], Operations: ['69-51=18', '55-18=37']
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Exploring Operation: 49+37=86, Resulting Numbers: [86]
86,28 unequal: No Solution
Exploring Operation: 49*37=1813, Resulting Numbers: [1813]
1813,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 28:[55, 31], Operations: ['69-51=18', '49-18=31']
Exploring Operation: 55+31=86, Resulting Numbers: [86]
86,28 unequal: No Solution
Exploring Operation: 55*31=1705, Resulting Numbers: [1705]
1705,28 unequal: No Solution
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[49, 73], Operations: ['69-51=18', '55+18=73']
Exploring Operation: 73-49=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Exploring Operation: 49+73=122, Resulting Numbers: [122]
122,28 unequal: No Solution
Exploring Operation: 49*73=3577, Resulting Numbers: [3577]
3577,28 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: 28:[55, 51, 20], Operations: ['69-49=20']
Exploring Operation: 55-51=4, Resulting Numbers: [20, 4]
Generated Node #0,0,0: 28:[20, 4] Operation: 55-51=4
Exploring Operation: 51-20=31, Resulting Numbers: [55, 31]
Generated Node #0,0,1: 28:[55, 31] Operation: 51-20=31
Exploring Operation: 55-20=35, Resulting Numbers: [51, 35]
Generated Node #0,0,2: 28:[51, 35] Operation: 55-20=35
Exploring Operation: 55+20=75, Resulting Numbers: [51, 75]
Generated Node #0,0,3: 28:[51, 75] Operation: 55+20=75
Moving to Node #0,3
Current State: 28:[69, 49, 4], Operations: ['55-51=4']
Exploring Operation: 49-4=45, Resulting Numbers: [69, 45]
Generated Node #0,3,0: 28:[69, 45] Operation: 49-4=45
Exploring Operation: 69-4=65, Resulting Numbers: [49, 65]
Generated Node #0,3,1: 28:[49, 65] Operation: 69-4=65
Exploring Operation: 69-49=20, Resulting Numbers: [4, 20]
Generated Node #0,3,2: 28:[4, 20] Operation: 69-49=20
Exploring Operation: 69+4=73, Resulting Numbers: [49, 73]
Generated Node #0,3,3: 28:[49, 73] Operation: 69+4=73
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 28:[4, 20], Operations: ['55-51=4', '69-49=20']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,28 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 28:[69, 45], Operations: ['55-51=4', '49-4=45']
Exploring Operation: 69*45=3105, Resulting Numbers: [3105]
3105,28 unequal: No Solution
Exploring Operation: 69+45=114, Resulting Numbers: [114]
114,28 unequal: No Solution
Exploring Operation: 69-45=24, Resulting Numbers: [24]
24,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 28:[49, 65], Operations: ['55-51=4', '69-4=65']
Exploring Operation: 49+65=114, Resulting Numbers: [114]
114,28 unequal: No Solution
Exploring Operation: 65-49=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 49*65=3185, Resulting Numbers: [3185]
3185,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 28:[49, 73], Operations: ['55-51=4', '69+4=73']
Exploring Operation: 49+73=122, Resulting Numbers: [122]
122,28 unequal: No Solution
Exploring Operation: 73-49=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Exploring Operation: 49*73=3577, Resulting Numbers: [3577]
3577,28 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: 28:[14, 2], Operations: ['69-55=14', '51-49=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[55, 69, 51, 49], Operations: []
Exploring Operation: 69-55=14, Resulting Numbers: [51, 49, 14]
Generated Node #0,2: 28:[51, 49, 14] Operation: 69-55=14
Moving to Node #0,2
Current State: 28:[51, 49, 14], Operations: ['69-55=14']
Exploring Operation: 51-49=2, Resulting Numbers: [14, 2]
Generated Node #0,2,1: 28:[14, 2] Operation: 51-49=2
Moving to Node #0,2,1
Current State: 28:[14, 2], Operations: ['69-55=14', '51-49=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.953993 | hs_4 | sum_heuristic |
[
1,
59,
2,
68
] | 12 | [
"59-1=58",
"2+68=70",
"70-58=12"
] | Current State: 12:[1, 59, 2, 68], Operations: []
Exploring Operation: 59-1=58, Resulting Numbers: [2, 68, 58]
Generated Node #2: [2, 68, 58] from Operation: 59-1=58
Current State: 12:[2, 68, 58], Operations: ['59-1=58']
Exploring Operation: 2+68=70, Resulting Numbers: [58, 70]
Generated Node #3: [58, 70] from Operation: 2+68=70
Current State: 12:[58, 70], Operations: ['59-1=58', '2+68=70']
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[1, 59, 2, 68], Operations: []
Exploring Operation: 68/2=34, Resulting Numbers: [1, 59, 34]
Generated Node #0,0: 12:[1, 59, 34] Operation: 68/2=34
Exploring Operation: 68-59=9, Resulting Numbers: [1, 2, 9]
Generated Node #0,1: 12:[1, 2, 9] Operation: 68-59=9
Exploring Operation: 59-1=58, Resulting Numbers: [2, 68, 58]
Generated Node #0,2: 12:[2, 68, 58] Operation: 59-1=58
Moving to Node #0,1
Current State: 12:[1, 2, 9], Operations: ['68-59=9']
Exploring Operation: 1+9=10, Resulting Numbers: [2, 10]
Generated Node #0,1,0: 12:[2, 10] Operation: 1+9=10
Exploring Operation: 2+9=11, Resulting Numbers: [1, 11]
Generated Node #0,1,1: 12:[1, 11] Operation: 2+9=11
Exploring Operation: 9-1=8, Resulting Numbers: [2, 8]
Generated Node #0,1,2: 12:[2, 8] Operation: 9-1=8
Moving to Node #0,0
Current State: 12:[1, 59, 34], Operations: ['68/2=34']
Exploring Operation: 59-34=25, Resulting Numbers: [1, 25]
Generated Node #0,0,0: 12:[1, 25] Operation: 59-34=25
Exploring Operation: 59-1=58, Resulting Numbers: [34, 58]
Generated Node #0,0,1: 12:[34, 58] Operation: 59-1=58
Exploring Operation: 34-1=33, Resulting Numbers: [59, 33]
Generated Node #0,0,2: 12:[59, 33] Operation: 34-1=33
Moving to Node #0,2
Current State: 12:[2, 68, 58], Operations: ['59-1=58']
Exploring Operation: 68-58=10, Resulting Numbers: [2, 10]
Generated Node #0,2,0: 12:[2, 10] Operation: 68-58=10
Exploring Operation: 58/2=29, Resulting Numbers: [68, 29]
Generated Node #0,2,1: 12:[68, 29] Operation: 58/2=29
Exploring Operation: 68/2=34, Resulting Numbers: [58, 34]
Generated Node #0,2,2: 12:[58, 34] Operation: 68/2=34
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[2, 10], Operations: ['59-1=58', '68-58=10']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[1, 59, 2, 68], Operations: []
Exploring Operation: 59-1=58, Resulting Numbers: [2, 68, 58]
Generated Node #0,2: 12:[2, 68, 58] Operation: 59-1=58
Moving to Node #0,2
Current State: 12:[2, 68, 58], Operations: ['59-1=58']
Exploring Operation: 68-58=10, Resulting Numbers: [2, 10]
Generated Node #0,2,0: 12:[2, 10] Operation: 68-58=10
Moving to Node #0,2,0
Current State: 12:[2, 10], Operations: ['59-1=58', '68-58=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
9,
10,
62,
89
] | 51 | [
"10+89=99",
"99/9=11",
"62-11=51"
] | Current State: 51:[9, 10, 62, 89], Operations: []
Exploring Operation: 10+89=99, Resulting Numbers: [9, 62, 99]
Generated Node #2: [9, 62, 99] from Operation: 10+89=99
Current State: 51:[9, 62, 99], Operations: ['10+89=99']
Exploring Operation: 99/9=11, Resulting Numbers: [62, 11]
Generated Node #3: [62, 11] from Operation: 99/9=11
Current State: 51:[62, 11], Operations: ['10+89=99', '99/9=11']
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[9, 10, 62, 89], Operations: []
Exploring Operation: 62-9=53, Resulting Numbers: [10, 89, 53]
Generated Node #0,0: 51:[10, 89, 53] Operation: 62-9=53
Exploring Operation: 62-10=52, Resulting Numbers: [9, 89, 52]
Generated Node #0,1: 51:[9, 89, 52] Operation: 62-10=52
Exploring Operation: 89-62=27, Resulting Numbers: [9, 10, 27]
Generated Node #0,2: 51:[9, 10, 27] Operation: 89-62=27
Exploring Operation: 89-10=79, Resulting Numbers: [9, 62, 79]
Generated Node #0,3: 51:[9, 62, 79] Operation: 89-10=79
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[9, 10, 27], Operations: ['89-62=27']
Exploring Operation: 27-9=18, Resulting Numbers: [10, 18]
Generated Node #0,2,0: 51:[10, 18] Operation: 27-9=18
Exploring Operation: 9+10=19, Resulting Numbers: [27, 19]
Generated Node #0,2,1: 51:[27, 19] Operation: 9+10=19
Exploring Operation: 27-10=17, Resulting Numbers: [9, 17]
Generated Node #0,2,2: 51:[9, 17] Operation: 27-10=17
Exploring Operation: 27/9=3, Resulting Numbers: [10, 3]
Generated Node #0,2,3: 51:[10, 3] Operation: 27/9=3
Moving to Node #0,2,2
Current State: 51:[9, 17], Operations: ['89-62=27', '27-10=17']
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,51 unequal: No Solution
Moving to Node #0,2,3
Current State: 51:[10, 3], Operations: ['89-62=27', '27/9=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[10, 18], Operations: ['89-62=27', '27-9=18']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,51 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[27, 19], Operations: ['89-62=27', '9+10=19']
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 27*19=513, Resulting Numbers: [513]
513,51 unequal: No Solution
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[9, 89, 52], Operations: ['62-10=52']
Exploring Operation: 89-52=37, Resulting Numbers: [9, 37]
Generated Node #0,1,0: 51:[9, 37] Operation: 89-52=37
Exploring Operation: 9+89=98, Resulting Numbers: [52, 98]
Generated Node #0,1,1: 51:[52, 98] Operation: 9+89=98
Exploring Operation: 89-9=80, Resulting Numbers: [52, 80]
Generated Node #0,1,2: 51:[52, 80] Operation: 89-9=80
Exploring Operation: 52-9=43, Resulting Numbers: [89, 43]
Generated Node #0,1,3: 51:[89, 43] Operation: 52-9=43
Moving to Node #0,1,0
Current State: 51:[9, 37], Operations: ['62-10=52', '89-52=37']
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 9*37=333, Resulting Numbers: [333]
333,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[52, 80], Operations: ['62-10=52', '89-9=80']
Exploring Operation: 52+80=132, Resulting Numbers: [132]
132,51 unequal: No Solution
Exploring Operation: 52*80=4160, Resulting Numbers: [4160]
4160,51 unequal: No Solution
Exploring Operation: 80-52=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Moving to Node #0,1,3
Current State: 51:[89, 43], Operations: ['62-10=52', '52-9=43']
Exploring Operation: 89-43=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 89*43=3827, Resulting Numbers: [3827]
3827,51 unequal: No Solution
Exploring Operation: 89+43=132, Resulting Numbers: [132]
132,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[52, 98], Operations: ['62-10=52', '9+89=98']
Exploring Operation: 98-52=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 52+98=150, Resulting Numbers: [150]
150,51 unequal: No Solution
Exploring Operation: 52*98=5096, Resulting Numbers: [5096]
5096,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[9, 62, 79], Operations: ['89-10=79']
Exploring Operation: 9+62=71, Resulting Numbers: [79, 71]
Generated Node #0,3,0: 51:[79, 71] Operation: 9+62=71
Exploring Operation: 79-9=70, Resulting Numbers: [62, 70]
Generated Node #0,3,1: 51:[62, 70] Operation: 79-9=70
Exploring Operation: 62-9=53, Resulting Numbers: [79, 53]
Generated Node #0,3,2: 51:[79, 53] Operation: 62-9=53
Exploring Operation: 79-62=17, Resulting Numbers: [9, 17]
Generated Node #0,3,3: 51:[9, 17] Operation: 79-62=17
Moving to Node #0,3,3
Current State: 51:[9, 17], Operations: ['89-10=79', '79-62=17']
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,51 unequal: No Solution
Moving to Node #0,3,2
Current State: 51:[79, 53], Operations: ['89-10=79', '62-9=53']
Exploring Operation: 79+53=132, Resulting Numbers: [132]
132,51 unequal: No Solution
Exploring Operation: 79*53=4187, Resulting Numbers: [4187]
4187,51 unequal: No Solution
Exploring Operation: 79-53=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Moving to Node #0,3,1
Current State: 51:[62, 70], Operations: ['89-10=79', '79-9=70']
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 62+70=132, Resulting Numbers: [132]
132,51 unequal: No Solution
Exploring Operation: 62*70=4340, Resulting Numbers: [4340]
4340,51 unequal: No Solution
Moving to Node #0,3,0
Current State: 51:[79, 71], Operations: ['89-10=79', '9+62=71']
Exploring Operation: 79+71=150, Resulting Numbers: [150]
150,51 unequal: No Solution
Exploring Operation: 79-71=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 79*71=5609, Resulting Numbers: [5609]
5609,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[10, 89, 53], Operations: ['62-9=53']
Exploring Operation: 53-10=43, Resulting Numbers: [89, 43]
Generated Node #0,0,0: 51:[89, 43] Operation: 53-10=43
Exploring Operation: 10+89=99, Resulting Numbers: [53, 99]
Generated Node #0,0,1: 51:[53, 99] Operation: 10+89=99
Exploring Operation: 89-10=79, Resulting Numbers: [53, 79]
Generated Node #0,0,2: 51:[53, 79] Operation: 89-10=79
Exploring Operation: 89-53=36, Resulting Numbers: [10, 36]
Generated Node #0,0,3: 51:[10, 36] Operation: 89-53=36
Moving to Node #0,0,3
Current State: 51:[10, 36], Operations: ['62-9=53', '89-53=36']
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[53, 79], Operations: ['62-9=53', '89-10=79']
Exploring Operation: 53*79=4187, Resulting Numbers: [4187]
4187,51 unequal: No Solution
Exploring Operation: 79-53=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 53+79=132, Resulting Numbers: [132]
132,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[89, 43], Operations: ['62-9=53', '53-10=43']
Exploring Operation: 89+43=132, Resulting Numbers: [132]
132,51 unequal: No Solution
Exploring Operation: 89-43=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 89*43=3827, Resulting Numbers: [3827]
3827,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[53, 99], Operations: ['62-9=53', '10+89=99']
Exploring Operation: 99-53=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 53+99=152, Resulting Numbers: [152]
152,51 unequal: No Solution
Exploring Operation: 53*99=5247, Resulting Numbers: [5247]
5247,51 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 |
[
36,
30,
92,
54
] | 28 | [
"36+30=66",
"92-54=38",
"66-38=28"
] | Current State: 28:[36, 30, 92, 54], Operations: []
Exploring Operation: 36+30=66, Resulting Numbers: [92, 54, 66]
Generated Node #2: [92, 54, 66] from Operation: 36+30=66
Current State: 28:[92, 54, 66], Operations: ['36+30=66']
Exploring Operation: 92-54=38, Resulting Numbers: [66, 38]
Generated Node #3: [66, 38] from Operation: 92-54=38
Current State: 28:[66, 38], Operations: ['36+30=66', '92-54=38']
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[36, 30, 92, 54], Operations: []
Exploring Operation: 92-54=38, Resulting Numbers: [36, 30, 38]
Generated Node #0,0: 28:[36, 30, 38] Operation: 92-54=38
Exploring Operation: 92-36=56, Resulting Numbers: [30, 54, 56]
Generated Node #0,1: 28:[30, 54, 56] Operation: 92-36=56
Exploring Operation: 92-30=62, Resulting Numbers: [36, 54, 62]
Generated Node #0,2: 28:[36, 54, 62] Operation: 92-30=62
Exploring Operation: 54-36=18, Resulting Numbers: [30, 92, 18]
Generated Node #0,3: 28:[30, 92, 18] Operation: 54-36=18
Exploring Operation: 54-30=24, Resulting Numbers: [36, 92, 24]
Generated Node #0,4: 28:[36, 92, 24] Operation: 54-30=24
Moving to Node #0,0
Current State: 28:[36, 30, 38], Operations: ['92-54=38']
Exploring Operation: 36+38=74, Resulting Numbers: [30, 74]
Generated Node #0,0,0: 28:[30, 74] Operation: 36+38=74
Exploring Operation: 38-36=2, Resulting Numbers: [30, 2]
Generated Node #0,0,1: 28:[30, 2] Operation: 38-36=2
Exploring Operation: 36+30=66, Resulting Numbers: [38, 66]
Generated Node #0,0,2: 28:[38, 66] Operation: 36+30=66
Exploring Operation: 38-30=8, Resulting Numbers: [36, 8]
Generated Node #0,0,3: 28:[36, 8] Operation: 38-30=8
Exploring Operation: 36-30=6, Resulting Numbers: [38, 6]
Generated Node #0,0,4: 28:[38, 6] Operation: 36-30=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[30, 2], Operations: ['92-54=38', '38-36=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,28 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,28 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[36, 30, 92, 54], Operations: []
Exploring Operation: 92-54=38, Resulting Numbers: [36, 30, 38]
Generated Node #0,0: 28:[36, 30, 38] Operation: 92-54=38
Moving to Node #0,0
Current State: 28:[36, 30, 38], Operations: ['92-54=38']
Exploring Operation: 38-36=2, Resulting Numbers: [30, 2]
Generated Node #0,0,1: 28:[30, 2] Operation: 38-36=2
Moving to Node #0,0,1
Current State: 28:[30, 2], Operations: ['92-54=38', '38-36=2']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
2,
40,
19,
24
] | 71 | [
"24/2=12",
"40+19=59",
"12+59=71"
] | Current State: 71:[2, 40, 19, 24], Operations: []
Exploring Operation: 24/2=12, Resulting Numbers: [40, 19, 12]
Generated Node #2: [40, 19, 12] from Operation: 24/2=12
Current State: 71:[40, 19, 12], Operations: ['24/2=12']
Exploring Operation: 40+19=59, Resulting Numbers: [12, 59]
Generated Node #3: [12, 59] from Operation: 40+19=59
Current State: 71:[12, 59], Operations: ['24/2=12', '40+19=59']
Exploring Operation: 12+59=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[2, 40, 19, 24], Operations: []
Exploring Operation: 2*24=48, Resulting Numbers: [40, 19, 48]
Generated Node #0,0: 71:[40, 19, 48] Operation: 2*24=48
Moving to Node #0,0
Current State: 71:[40, 19, 48], Operations: ['2*24=48']
Exploring Operation: 40+19=59, Resulting Numbers: [48, 59]
Generated Node #0,0,0: 71:[48, 59] Operation: 40+19=59
Moving to Node #0,0,0
Current State: 71:[48, 59], Operations: ['2*24=48', '40+19=59']
Exploring Operation: 48+59=107, Resulting Numbers: [107]
107,71 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
23,
84,
93,
19
] | 95 | [
"23+19=42",
"84/42=2",
"93+2=95"
] | Current State: 95:[23, 84, 93, 19], Operations: []
Exploring Operation: 23+19=42, Resulting Numbers: [84, 93, 42]
Generated Node #2: [84, 93, 42] from Operation: 23+19=42
Current State: 95:[84, 93, 42], Operations: ['23+19=42']
Exploring Operation: 84/42=2, Resulting Numbers: [93, 2]
Generated Node #3: [93, 2] from Operation: 84/42=2
Current State: 95:[93, 2], Operations: ['23+19=42', '84/42=2']
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[23, 84, 93, 19], Operations: []
Exploring Operation: 23-19=4, Resulting Numbers: [84, 93, 4]
Generated Node #0,0: 95:[84, 93, 4] Operation: 23-19=4
Exploring Operation: 93-84=9, Resulting Numbers: [23, 19, 9]
Generated Node #0,1: 95:[23, 19, 9] Operation: 93-84=9
Exploring Operation: 23+84=107, Resulting Numbers: [93, 19, 107]
Generated Node #0,2: 95:[93, 19, 107] Operation: 23+84=107
Moving to Node #0,1
Current State: 95:[23, 19, 9], Operations: ['93-84=9']
Exploring Operation: 19-9=10, Resulting Numbers: [23, 10]
Generated Node #0,1,0: 95:[23, 10] Operation: 19-9=10
Exploring Operation: 23-9=14, Resulting Numbers: [19, 14]
Generated Node #0,1,1: 95:[19, 14] Operation: 23-9=14
Exploring Operation: 23-19=4, Resulting Numbers: [9, 4]
Generated Node #0,1,2: 95:[9, 4] Operation: 23-19=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[19, 14], Operations: ['93-84=9', '23-9=14']
Exploring Operation: 19*14=266, Resulting Numbers: [266]
266,95 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,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:[9, 4], Operations: ['93-84=9', '23-19=4']
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 9+4=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,1,0
Current State: 95:[23, 10], Operations: ['93-84=9', '19-9=10']
Exploring Operation: 23*10=230, Resulting Numbers: [230]
230,95 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,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:[84, 93, 4], Operations: ['23-19=4']
Exploring Operation: 84/4=21, Resulting Numbers: [93, 21]
Generated Node #0,0,0: 95:[93, 21] Operation: 84/4=21
Exploring Operation: 93-84=9, Resulting Numbers: [4, 9]
Generated Node #0,0,1: 95:[4, 9] Operation: 93-84=9
Exploring Operation: 84+4=88, Resulting Numbers: [93, 88]
Generated Node #0,0,2: 95:[93, 88] Operation: 84+4=88
Moving to Node #0,2
Current State: 95:[93, 19, 107], Operations: ['23+84=107']
Exploring Operation: 107-19=88, Resulting Numbers: [93, 88]
Generated Node #0,2,0: 95:[93, 88] Operation: 107-19=88
Exploring Operation: 107-93=14, Resulting Numbers: [19, 14]
Generated Node #0,2,1: 95:[19, 14] Operation: 107-93=14
Exploring Operation: 93+19=112, Resulting Numbers: [107, 112]
Generated Node #0,2,2: 95:[107, 112] Operation: 93+19=112
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 95:[19, 14], Operations: ['23+84=107', '107-93=14']
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,95 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 19*14=266, Resulting Numbers: [266]
266,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,2,0
Current State: 95:[93, 88], Operations: ['23+84=107', '107-19=88']
Exploring Operation: 93+88=181, Resulting Numbers: [181]
181,95 unequal: No Solution
Exploring Operation: 93*88=8184, Resulting Numbers: [8184]
8184,95 unequal: No Solution
Exploring Operation: 93-88=5, Resulting Numbers: [5]
5,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,2,2
Current State: 95:[107, 112], Operations: ['23+84=107', '93+19=112']
Exploring Operation: 112-107=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 107*112=11984, Resulting Numbers: [11984]
11984,95 unequal: No Solution
Exploring Operation: 107+112=219, Resulting Numbers: [219]
219,95 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: 95:[93, 21], Operations: ['23-19=4', '84/4=21']
Exploring Operation: 93*21=1953, Resulting Numbers: [1953]
1953,95 unequal: No Solution
Exploring Operation: 93+21=114, Resulting Numbers: [114]
114,95 unequal: No Solution
Exploring Operation: 93-21=72, Resulting Numbers: [72]
72,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[4, 9], Operations: ['23-19=4', '93-84=9']
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[93, 88], Operations: ['23-19=4', '84+4=88']
Exploring Operation: 93+88=181, Resulting Numbers: [181]
181,95 unequal: No Solution
Exploring Operation: 93-88=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 93*88=8184, Resulting Numbers: [8184]
8184,95 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
72,
72,
23,
35
] | 35 | [
"72-72=0",
"23*0=0",
"35+0=35"
] | Current State: 35:[72, 72, 23, 35], Operations: []
Exploring Operation: 72-72=0, Resulting Numbers: [23, 35, 0]
Generated Node #2: [23, 35, 0] from Operation: 72-72=0
Current State: 35:[23, 35, 0], Operations: ['72-72=0']
Exploring Operation: 23*0=0, Resulting Numbers: [35, 0]
Generated Node #3: [35, 0] from Operation: 23*0=0
Current State: 35:[35, 0], Operations: ['72-72=0', '23*0=0']
Exploring Operation: 35+0=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[72, 72, 23, 35], Operations: []
Exploring Operation: 72/72=1, Resulting Numbers: [23, 35, 1]
Generated Node #0,0: 35:[23, 35, 1] Operation: 72/72=1
Exploring Operation: 72-72=0, Resulting Numbers: [23, 35, 0]
Generated Node #0,1: 35:[23, 35, 0] Operation: 72-72=0
Moving to Node #0,0
Current State: 35:[23, 35, 1], Operations: ['72/72=1']
Exploring Operation: 23+1=24, Resulting Numbers: [35, 24]
Generated Node #0,0,0: 35:[35, 24] Operation: 23+1=24
Exploring Operation: 35-23=12, Resulting Numbers: [1, 12]
Generated Node #0,0,1: 35:[1, 12] Operation: 35-23=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[1, 12], Operations: ['72/72=1', '35-23=12']
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[35, 24], Operations: ['72/72=1', '23+1=24']
Exploring Operation: 35+24=59, Resulting Numbers: [59]
59,35 unequal: No Solution
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,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:[23, 35, 0], Operations: ['72-72=0']
Exploring Operation: 23*0=0, Resulting Numbers: [35, 0]
Generated Node #0,1,0: 35:[35, 0] Operation: 23*0=0
Exploring Operation: 35-23=12, Resulting Numbers: [0, 12]
Generated Node #0,1,1: 35:[0, 12] Operation: 35-23=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[35, 0], Operations: ['72-72=0', '23*0=0']
Exploring Operation: 35+0=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[72, 72, 23, 35], Operations: []
Exploring Operation: 72-72=0, Resulting Numbers: [23, 35, 0]
Generated Node #0,1: 35:[23, 35, 0] Operation: 72-72=0
Moving to Node #0,1
Current State: 35:[23, 35, 0], Operations: ['72-72=0']
Exploring Operation: 23*0=0, Resulting Numbers: [35, 0]
Generated Node #0,1,0: 35:[35, 0] Operation: 23*0=0
Moving to Node #0,1,0
Current State: 35:[35, 0], Operations: ['72-72=0', '23*0=0']
Exploring Operation: 35+0=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
86,
32,
17,
35
] | 18 | [
"32*17=544",
"86+544=630",
"630/35=18"
] | Current State: 18:[86, 32, 17, 35], Operations: []
Exploring Operation: 32*17=544, Resulting Numbers: [86, 35, 544]
Generated Node #2: [86, 35, 544] from Operation: 32*17=544
Current State: 18:[86, 35, 544], Operations: ['32*17=544']
Exploring Operation: 86+544=630, Resulting Numbers: [35, 630]
Generated Node #3: [35, 630] from Operation: 86+544=630
Current State: 18:[35, 630], Operations: ['32*17=544', '86+544=630']
Exploring Operation: 630/35=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[86, 32, 17, 35], Operations: []
Exploring Operation: 35-32=3, Resulting Numbers: [86, 17, 3]
Generated Node #0,0: 18:[86, 17, 3] Operation: 35-32=3
Exploring Operation: 86-32=54, Resulting Numbers: [17, 35, 54]
Generated Node #0,1: 18:[17, 35, 54] Operation: 86-32=54
Exploring Operation: 86-35=51, Resulting Numbers: [32, 17, 51]
Generated Node #0,2: 18:[32, 17, 51] Operation: 86-35=51
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[32, 17, 51], Operations: ['86-35=51']
Exploring Operation: 51/17=3, Resulting Numbers: [32, 3]
Generated Node #0,2,0: 18:[32, 3] Operation: 51/17=3
Exploring Operation: 51-17=34, Resulting Numbers: [32, 34]
Generated Node #0,2,1: 18:[32, 34] Operation: 51-17=34
Exploring Operation: 51-32=19, Resulting Numbers: [17, 19]
Generated Node #0,2,2: 18:[17, 19] Operation: 51-32=19
Moving to Node #0,2,2
Current State: 18:[17, 19], Operations: ['86-35=51', '51-32=19']
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 17*19=323, Resulting Numbers: [323]
323,18 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[32, 3], Operations: ['86-35=51', '51/17=3']
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,18 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,18 unequal: No Solution
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[32, 34], Operations: ['86-35=51', '51-17=34']
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Exploring Operation: 32*34=1088, Resulting Numbers: [1088]
1088,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[17, 35, 54], Operations: ['86-32=54']
Exploring Operation: 54-35=19, Resulting Numbers: [17, 19]
Generated Node #0,1,0: 18:[17, 19] Operation: 54-35=19
Exploring Operation: 35-17=18, Resulting Numbers: [54, 18]
Generated Node #0,1,1: 18:[54, 18] Operation: 35-17=18
Exploring Operation: 54-17=37, Resulting Numbers: [35, 37]
Generated Node #0,1,2: 18:[35, 37] Operation: 54-17=37
Moving to Node #0,1,0
Current State: 18:[17, 19], Operations: ['86-32=54', '54-35=19']
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 17*19=323, Resulting Numbers: [323]
323,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[54, 18], Operations: ['86-32=54', '35-17=18']
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 54+18=72, Resulting Numbers: [72]
72,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[35, 37], Operations: ['86-32=54', '54-17=37']
Exploring Operation: 35*37=1295, Resulting Numbers: [1295]
1295,18 unequal: No Solution
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[86, 17, 3], Operations: ['35-32=3']
Exploring Operation: 86-3=83, Resulting Numbers: [17, 83]
Generated Node #0,0,0: 18:[17, 83] Operation: 86-3=83
Exploring Operation: 17+3=20, Resulting Numbers: [86, 20]
Generated Node #0,0,1: 18:[86, 20] Operation: 17+3=20
Exploring Operation: 86-17=69, Resulting Numbers: [3, 69]
Generated Node #0,0,2: 18:[3, 69] Operation: 86-17=69
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 18:[3, 69], Operations: ['35-32=3', '86-17=69']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Exploring Operation: 3+69=72, Resulting Numbers: [72]
72,18 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,18 unequal: No Solution
No 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: 18:[17, 83], Operations: ['35-32=3', '86-3=83']
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Exploring Operation: 17*83=1411, Resulting Numbers: [1411]
1411,18 unequal: No Solution
Exploring Operation: 17+83=100, Resulting Numbers: [100]
100,18 unequal: No Solution
No 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: 18:[86, 20], Operations: ['35-32=3', '17+3=20']
Exploring Operation: 86-20=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Exploring Operation: 86+20=106, Resulting Numbers: [106]
106,18 unequal: No Solution
Exploring Operation: 86*20=1720, Resulting Numbers: [1720]
1720,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
83,
93,
65,
68
] | 13 | [
"93-83=10",
"68-65=3",
"10+3=13"
] | Current State: 13:[83, 93, 65, 68], Operations: []
Exploring Operation: 93-83=10, Resulting Numbers: [65, 68, 10]
Generated Node #2: [65, 68, 10] from Operation: 93-83=10
Current State: 13:[65, 68, 10], Operations: ['93-83=10']
Exploring Operation: 68-65=3, Resulting Numbers: [10, 3]
Generated Node #3: [10, 3] from Operation: 68-65=3
Current State: 13:[10, 3], Operations: ['93-83=10', '68-65=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[83, 93, 65, 68], Operations: []
Exploring Operation: 83-68=15, Resulting Numbers: [93, 65, 15]
Generated Node #0,0: 13:[93, 65, 15] Operation: 83-68=15
Exploring Operation: 93-68=25, Resulting Numbers: [83, 65, 25]
Generated Node #0,1: 13:[83, 65, 25] Operation: 93-68=25
Exploring Operation: 93-83=10, Resulting Numbers: [65, 68, 10]
Generated Node #0,2: 13:[65, 68, 10] Operation: 93-83=10
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[65, 68, 10], Operations: ['93-83=10']
Exploring Operation: 65-10=55, Resulting Numbers: [68, 55]
Generated Node #0,2,0: 13:[68, 55] Operation: 65-10=55
Exploring Operation: 68-65=3, Resulting Numbers: [10, 3]
Generated Node #0,2,1: 13:[10, 3] Operation: 68-65=3
Exploring Operation: 68-10=58, Resulting Numbers: [65, 58]
Generated Node #0,2,2: 13:[65, 58] Operation: 68-10=58
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 13:[10, 3], Operations: ['93-83=10', '68-65=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[83, 93, 65, 68], Operations: []
Exploring Operation: 93-83=10, Resulting Numbers: [65, 68, 10]
Generated Node #0,2: 13:[65, 68, 10] Operation: 93-83=10
Moving to Node #0,2
Current State: 13:[65, 68, 10], Operations: ['93-83=10']
Exploring Operation: 68-65=3, Resulting Numbers: [10, 3]
Generated Node #0,2,1: 13:[10, 3] Operation: 68-65=3
Moving to Node #0,2,1
Current State: 13:[10, 3], Operations: ['93-83=10', '68-65=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
29,
62,
86,
2
] | 19 | [
"86-62=24",
"2*24=48",
"48-29=19"
] | Current State: 19:[29, 62, 86, 2], Operations: []
Exploring Operation: 86-62=24, Resulting Numbers: [29, 2, 24]
Generated Node #2: [29, 2, 24] from Operation: 86-62=24
Current State: 19:[29, 2, 24], Operations: ['86-62=24']
Exploring Operation: 2*24=48, Resulting Numbers: [29, 48]
Generated Node #3: [29, 48] from Operation: 2*24=48
Current State: 19:[29, 48], Operations: ['86-62=24', '2*24=48']
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[29, 62, 86, 2], Operations: []
Exploring Operation: 86-62=24, Resulting Numbers: [29, 2, 24]
Generated Node #0,0: 19:[29, 2, 24] Operation: 86-62=24
Exploring Operation: 62-29=33, Resulting Numbers: [86, 2, 33]
Generated Node #0,1: 19:[86, 2, 33] Operation: 62-29=33
Exploring Operation: 62/2=31, Resulting Numbers: [29, 86, 31]
Generated Node #0,2: 19:[29, 86, 31] Operation: 62/2=31
Exploring Operation: 86/2=43, Resulting Numbers: [29, 62, 43]
Generated Node #0,3: 19:[29, 62, 43] Operation: 86/2=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[29, 2, 24], Operations: ['86-62=24']
Exploring Operation: 2+24=26, Resulting Numbers: [29, 26]
Generated Node #0,0,0: 19:[29, 26] Operation: 2+24=26
Exploring Operation: 24-2=22, Resulting Numbers: [29, 22]
Generated Node #0,0,1: 19:[29, 22] Operation: 24-2=22
Exploring Operation: 29+2=31, Resulting Numbers: [24, 31]
Generated Node #0,0,2: 19:[24, 31] Operation: 29+2=31
Exploring Operation: 29-2=27, Resulting Numbers: [24, 27]
Generated Node #0,0,3: 19:[24, 27] Operation: 29-2=27
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[29, 22], Operations: ['86-62=24', '24-2=22']
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Exploring Operation: 29+22=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 29*22=638, Resulting Numbers: [638]
638,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 19:[24, 27], Operations: ['86-62=24', '29-2=27']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 24*27=648, Resulting Numbers: [648]
648,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[29, 26], Operations: ['86-62=24', '2+24=26']
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 29*26=754, Resulting Numbers: [754]
754,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 19:[24, 31], Operations: ['86-62=24', '29+2=31']
Exploring Operation: 24+31=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Exploring Operation: 24*31=744, Resulting Numbers: [744]
744,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 19:[29, 62, 43], Operations: ['86/2=43']
Exploring Operation: 43-29=14, Resulting Numbers: [62, 14]
Generated Node #0,3,0: 19:[62, 14] Operation: 43-29=14
Exploring Operation: 62-29=33, Resulting Numbers: [43, 33]
Generated Node #0,3,1: 19:[43, 33] Operation: 62-29=33
Exploring Operation: 62-43=19, Resulting Numbers: [29, 19]
Generated Node #0,3,2: 19:[29, 19] Operation: 62-43=19
Exploring Operation: 29+62=91, Resulting Numbers: [43, 91]
Generated Node #0,3,3: 19:[43, 91] Operation: 29+62=91
Moving to Node #0,3,2
Current State: 19:[29, 19], Operations: ['86/2=43', '62-43=19']
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 29*19=551, Resulting Numbers: [551]
551,19 unequal: No Solution
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,19 unequal: No Solution
Moving to Node #0,3,1
Current State: 19:[43, 33], Operations: ['86/2=43', '62-29=33']
Exploring Operation: 43*33=1419, Resulting Numbers: [1419]
1419,19 unequal: No Solution
Exploring Operation: 43+33=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Moving to Node #0,3,0
Current State: 19:[62, 14], Operations: ['86/2=43', '43-29=14']
Exploring Operation: 62*14=868, Resulting Numbers: [868]
868,19 unequal: No Solution
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,19 unequal: No Solution
Exploring Operation: 62+14=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Moving to Node #0,3,3
Current State: 19:[43, 91], Operations: ['86/2=43', '29+62=91']
Exploring Operation: 91-43=48, Resulting Numbers: [48]
48,19 unequal: No Solution
Exploring Operation: 43*91=3913, Resulting Numbers: [3913]
3913,19 unequal: No Solution
Exploring Operation: 43+91=134, Resulting Numbers: [134]
134,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[29, 86, 31], Operations: ['62/2=31']
Exploring Operation: 86-31=55, Resulting Numbers: [29, 55]
Generated Node #0,2,0: 19:[29, 55] Operation: 86-31=55
Exploring Operation: 31-29=2, Resulting Numbers: [86, 2]
Generated Node #0,2,1: 19:[86, 2] Operation: 31-29=2
Exploring Operation: 86-29=57, Resulting Numbers: [31, 57]
Generated Node #0,2,2: 19:[31, 57] Operation: 86-29=57
Exploring Operation: 29+86=115, Resulting Numbers: [31, 115]
Generated Node #0,2,3: 19:[31, 115] Operation: 29+86=115
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 19:[29, 55], Operations: ['62/2=31', '86-31=55']
Exploring Operation: 29+55=84, Resulting Numbers: [84]
84,19 unequal: No Solution
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Exploring Operation: 29*55=1595, Resulting Numbers: [1595]
1595,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 19:[31, 57], Operations: ['62/2=31', '86-29=57']
Exploring Operation: 31*57=1767, Resulting Numbers: [1767]
1767,19 unequal: No Solution
Exploring Operation: 31+57=88, Resulting Numbers: [88]
88,19 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 19:[86, 2], Operations: ['62/2=31', '31-29=2']
Exploring Operation: 86*2=172, Resulting Numbers: [172]
172,19 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,19 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,19 unequal: No Solution
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 19:[31, 115], Operations: ['62/2=31', '29+86=115']
Exploring Operation: 31*115=3565, Resulting Numbers: [3565]
3565,19 unequal: No Solution
Exploring Operation: 31+115=146, Resulting Numbers: [146]
146,19 unequal: No Solution
Exploring Operation: 115-31=84, Resulting Numbers: [84]
84,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[86, 2, 33], Operations: ['62-29=33']
Exploring Operation: 33-2=31, Resulting Numbers: [86, 31]
Generated Node #0,1,0: 19:[86, 31] Operation: 33-2=31
Exploring Operation: 86-33=53, Resulting Numbers: [2, 53]
Generated Node #0,1,1: 19:[2, 53] Operation: 86-33=53
Exploring Operation: 86-2=84, Resulting Numbers: [33, 84]
Generated Node #0,1,2: 19:[33, 84] Operation: 86-2=84
Exploring Operation: 86/2=43, Resulting Numbers: [33, 43]
Generated Node #0,1,3: 19:[33, 43] Operation: 86/2=43
Moving to Node #0,1,3
Current State: 19:[33, 43], Operations: ['62-29=33', '86/2=43']
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 33+43=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Exploring Operation: 33*43=1419, Resulting Numbers: [1419]
1419,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[2, 53], Operations: ['62-29=33', '86-33=53']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[33, 84], Operations: ['62-29=33', '86-2=84']
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 33*84=2772, Resulting Numbers: [2772]
2772,19 unequal: No Solution
Exploring Operation: 33+84=117, Resulting Numbers: [117]
117,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[86, 31], Operations: ['62-29=33', '33-2=31']
Exploring Operation: 86+31=117, Resulting Numbers: [117]
117,19 unequal: No Solution
Exploring Operation: 86-31=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 86*31=2666, Resulting Numbers: [2666]
2666,19 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 |
[
93,
40,
47,
94
] | 86 | [
"93+40=133",
"94-47=47",
"133-47=86"
] | Current State: 86:[93, 40, 47, 94], Operations: []
Exploring Operation: 93+40=133, Resulting Numbers: [47, 94, 133]
Generated Node #2: [47, 94, 133] from Operation: 93+40=133
Current State: 86:[47, 94, 133], Operations: ['93+40=133']
Exploring Operation: 94-47=47, Resulting Numbers: [133, 47]
Generated Node #3: [133, 47] from Operation: 94-47=47
Current State: 86:[133, 47], Operations: ['93+40=133', '94-47=47']
Exploring Operation: 133-47=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[93, 40, 47, 94], Operations: []
Exploring Operation: 93-47=46, Resulting Numbers: [40, 94, 46]
Generated Node #0,0: 86:[40, 94, 46] Operation: 93-47=46
Exploring Operation: 94/47=2, Resulting Numbers: [93, 40, 2]
Generated Node #0,1: 86:[93, 40, 2] Operation: 94/47=2
Exploring Operation: 94-93=1, Resulting Numbers: [40, 47, 1]
Generated Node #0,2: 86:[40, 47, 1] Operation: 94-93=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[40, 47, 1], Operations: ['94-93=1']
Exploring Operation: 47-40=7, Resulting Numbers: [1, 7]
Generated Node #0,2,0: 86:[1, 7] Operation: 47-40=7
Exploring Operation: 40+1=41, Resulting Numbers: [47, 41]
Generated Node #0,2,1: 86:[47, 41] Operation: 40+1=41
Exploring Operation: 40+47=87, Resulting Numbers: [1, 87]
Generated Node #0,2,2: 86:[1, 87] Operation: 40+47=87
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 86:[1, 87], Operations: ['94-93=1', '40+47=87']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[93, 40, 47, 94], Operations: []
Exploring Operation: 94-93=1, Resulting Numbers: [40, 47, 1]
Generated Node #0,2: 86:[40, 47, 1] Operation: 94-93=1
Moving to Node #0,2
Current State: 86:[40, 47, 1], Operations: ['94-93=1']
Exploring Operation: 40+47=87, Resulting Numbers: [1, 87]
Generated Node #0,2,2: 86:[1, 87] Operation: 40+47=87
Moving to Node #0,2,2
Current State: 86:[1, 87], Operations: ['94-93=1', '40+47=87']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
5,
35,
84,
74
] | 85 | [
"84-74=10",
"5*10=50",
"35+50=85"
] | Current State: 85:[5, 35, 84, 74], Operations: []
Exploring Operation: 84-74=10, Resulting Numbers: [5, 35, 10]
Generated Node #2: [5, 35, 10] from Operation: 84-74=10
Current State: 85:[5, 35, 10], Operations: ['84-74=10']
Exploring Operation: 5*10=50, Resulting Numbers: [35, 50]
Generated Node #3: [35, 50] from Operation: 5*10=50
Current State: 85:[35, 50], Operations: ['84-74=10', '5*10=50']
Exploring Operation: 35+50=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[5, 35, 84, 74], Operations: []
Exploring Operation: 74-35=39, Resulting Numbers: [5, 84, 39]
Generated Node #0,0: 85:[5, 84, 39] Operation: 74-35=39
Exploring Operation: 35/5=7, Resulting Numbers: [84, 74, 7]
Generated Node #0,1: 85:[84, 74, 7] Operation: 35/5=7
Moving to Node #0,1
Current State: 85:[84, 74, 7], Operations: ['35/5=7']
Exploring Operation: 74+7=81, Resulting Numbers: [84, 81]
Generated Node #0,1,0: 85:[84, 81] Operation: 74+7=81
Exploring Operation: 84-74=10, Resulting Numbers: [7, 10]
Generated Node #0,1,1: 85:[7, 10] Operation: 84-74=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[84, 81], Operations: ['35/5=7', '74+7=81']
Exploring Operation: 84+81=165, Resulting Numbers: [165]
165,85 unequal: No Solution
Exploring Operation: 84-81=3, Resulting Numbers: [3]
3,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[7, 10], Operations: ['35/5=7', '84-74=10']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,85 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: 85:[5, 84, 39], Operations: ['74-35=39']
Exploring Operation: 39-5=34, Resulting Numbers: [84, 34]
Generated Node #0,0,0: 85:[84, 34] Operation: 39-5=34
Exploring Operation: 5+84=89, Resulting Numbers: [39, 89]
Generated Node #0,0,1: 85:[39, 89] Operation: 5+84=89
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[84, 34], Operations: ['74-35=39', '39-5=34']
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,85 unequal: No Solution
Exploring Operation: 84+34=118, Resulting Numbers: [118]
118,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[39, 89], Operations: ['74-35=39', '5+84=89']
Exploring Operation: 89-39=50, Resulting Numbers: [50]
50,85 unequal: No Solution
Exploring Operation: 39+89=128, Resulting Numbers: [128]
128,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
34,
47,
79,
26
] | 66 | [
"47-34=13",
"79-26=53",
"13+53=66"
] | Current State: 66:[34, 47, 79, 26], Operations: []
Exploring Operation: 47-34=13, Resulting Numbers: [79, 26, 13]
Generated Node #2: [79, 26, 13] from Operation: 47-34=13
Current State: 66:[79, 26, 13], Operations: ['47-34=13']
Exploring Operation: 79-26=53, Resulting Numbers: [13, 53]
Generated Node #3: [13, 53] from Operation: 79-26=53
Current State: 66:[13, 53], Operations: ['47-34=13', '79-26=53']
Exploring Operation: 13+53=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[34, 47, 79, 26], Operations: []
Exploring Operation: 47-26=21, Resulting Numbers: [34, 79, 21]
Generated Node #0,0: 66:[34, 79, 21] Operation: 47-26=21
Exploring Operation: 79-47=32, Resulting Numbers: [34, 26, 32]
Generated Node #0,1: 66:[34, 26, 32] Operation: 79-47=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[34, 26, 32], Operations: ['79-47=32']
Exploring Operation: 34-26=8, Resulting Numbers: [32, 8]
Generated Node #0,1,0: 66:[32, 8] Operation: 34-26=8
Exploring Operation: 32-26=6, Resulting Numbers: [34, 6]
Generated Node #0,1,1: 66:[34, 6] Operation: 32-26=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[34, 6], Operations: ['79-47=32', '32-26=6']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[32, 8], Operations: ['79-47=32', '34-26=8']
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[34, 79, 21], Operations: ['47-26=21']
Exploring Operation: 79-34=45, Resulting Numbers: [21, 45]
Generated Node #0,0,0: 66:[21, 45] Operation: 79-34=45
Exploring Operation: 79-21=58, Resulting Numbers: [34, 58]
Generated Node #0,0,1: 66:[34, 58] Operation: 79-21=58
Moving to Node #0,0,1
Current State: 66:[34, 58], Operations: ['47-26=21', '79-21=58']
Exploring Operation: 58-34=24, Resulting Numbers: [24]
24,66 unequal: No Solution
Exploring Operation: 34+58=92, Resulting Numbers: [92]
92,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[21, 45], Operations: ['47-26=21', '79-34=45']
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,66 unequal: No Solution
Exploring Operation: 21+45=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[34, 47, 79, 26], Operations: []
Exploring Operation: 47-26=21, Resulting Numbers: [34, 79, 21]
Generated Node #0,0: 66:[34, 79, 21] Operation: 47-26=21
Moving to Node #0,0
Current State: 66:[34, 79, 21], Operations: ['47-26=21']
Exploring Operation: 79-34=45, Resulting Numbers: [21, 45]
Generated Node #0,0,0: 66:[21, 45] Operation: 79-34=45
Moving to Node #0,0,0
Current State: 66:[21, 45], Operations: ['47-26=21', '79-34=45']
Exploring Operation: 21+45=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
29,
44,
92,
15
] | 62 | [
"44-29=15",
"92-15=77",
"77-15=62"
] | Current State: 62:[29, 44, 92, 15], Operations: []
Exploring Operation: 44-29=15, Resulting Numbers: [92, 15, 15]
Generated Node #2: [92, 15, 15] from Operation: 44-29=15
Current State: 62:[92, 15, 15], Operations: ['44-29=15']
Exploring Operation: 92-15=77, Resulting Numbers: [77]
77,62 equal: Goal Reached
Exploring Operation: 77-15=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[29, 44, 92, 15], Operations: []
Exploring Operation: 44+15=59, Resulting Numbers: [29, 92, 59]
Generated Node #0,0: 62:[29, 92, 59] Operation: 44+15=59
Exploring Operation: 92-44=48, Resulting Numbers: [29, 15, 48]
Generated Node #0,1: 62:[29, 15, 48] Operation: 92-44=48
Exploring Operation: 92-15=77, Resulting Numbers: [29, 44, 77]
Generated Node #0,2: 62:[29, 44, 77] Operation: 92-15=77
Exploring Operation: 44-15=29, Resulting Numbers: [29, 92, 29]
Generated Node #0,3: 62:[29, 92, 29] Operation: 44-15=29
Exploring Operation: 92-29=63, Resulting Numbers: [44, 15, 63]
Generated Node #0,4: 62:[44, 15, 63] Operation: 92-29=63
Moving to Node #0,4
Current State: 62:[44, 15, 63], Operations: ['92-29=63']
Exploring Operation: 44+15=59, Resulting Numbers: [63, 59]
Generated Node #0,4,0: 62:[63, 59] Operation: 44+15=59
Exploring Operation: 44-15=29, Resulting Numbers: [63, 29]
Generated Node #0,4,1: 62:[63, 29] Operation: 44-15=29
Exploring Operation: 63-15=48, Resulting Numbers: [44, 48]
Generated Node #0,4,2: 62:[44, 48] Operation: 63-15=48
Exploring Operation: 15+63=78, Resulting Numbers: [44, 78]
Generated Node #0,4,3: 62:[44, 78] Operation: 15+63=78
Exploring Operation: 63-44=19, Resulting Numbers: [15, 19]
Generated Node #0,4,4: 62:[15, 19] Operation: 63-44=19
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 62:[63, 29], Operations: ['92-29=63', '44-15=29']
Exploring Operation: 63*29=1827, Resulting Numbers: [1827]
1827,62 unequal: No Solution
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 63+29=92, Resulting Numbers: [92]
92,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 62:[63, 59], Operations: ['92-29=63', '44+15=59']
Exploring Operation: 63+59=122, Resulting Numbers: [122]
122,62 unequal: No Solution
Exploring Operation: 63-59=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 63*59=3717, Resulting Numbers: [3717]
3717,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 62:[15, 19], Operations: ['92-29=63', '63-44=19']
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 62:[44, 48], Operations: ['92-29=63', '63-15=48']
Exploring Operation: 44+48=92, Resulting Numbers: [92]
92,62 unequal: No Solution
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 44*48=2112, Resulting Numbers: [2112]
2112,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 62:[44, 78], Operations: ['92-29=63', '15+63=78']
Exploring Operation: 44+78=122, Resulting Numbers: [122]
122,62 unequal: No Solution
Exploring Operation: 78-44=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 44*78=3432, Resulting Numbers: [3432]
3432,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 62:[29, 15, 48], Operations: ['92-44=48']
Exploring Operation: 48-15=33, Resulting Numbers: [29, 33]
Generated Node #0,1,0: 62:[29, 33] Operation: 48-15=33
Exploring Operation: 29-15=14, Resulting Numbers: [48, 14]
Generated Node #0,1,1: 62:[48, 14] Operation: 29-15=14
Exploring Operation: 29+15=44, Resulting Numbers: [48, 44]
Generated Node #0,1,2: 62:[48, 44] Operation: 29+15=44
Exploring Operation: 15+48=63, Resulting Numbers: [29, 63]
Generated Node #0,1,3: 62:[29, 63] Operation: 15+48=63
Exploring Operation: 48-29=19, Resulting Numbers: [15, 19]
Generated Node #0,1,4: 62:[15, 19] Operation: 48-29=19
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 62:[29, 63], Operations: ['92-44=48', '15+48=63']
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 29*63=1827, Resulting Numbers: [1827]
1827,62 unequal: No Solution
Exploring Operation: 29+63=92, Resulting Numbers: [92]
92,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,0
Current State: 62:[29, 33], Operations: ['92-44=48', '48-15=33']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[29, 44, 92, 15], Operations: []
Exploring Operation: 92-44=48, Resulting Numbers: [29, 15, 48]
Generated Node #0,1: 62:[29, 15, 48] Operation: 92-44=48
Moving to Node #0,1
Current State: 62:[29, 15, 48], Operations: ['92-44=48']
Exploring Operation: 48-15=33, Resulting Numbers: [29, 33]
Generated Node #0,1,0: 62:[29, 33] Operation: 48-15=33
Moving to Node #0,1,0
Current State: 62:[29, 33], Operations: ['92-44=48', '48-15=33']
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | mult_heuristic |
[
93,
62,
6,
98
] | 73 | [
"93-62=31",
"6+98=104",
"104-31=73"
] | Current State: 73:[93, 62, 6, 98], Operations: []
Exploring Operation: 93-62=31, Resulting Numbers: [6, 98, 31]
Generated Node #2: [6, 98, 31] from Operation: 93-62=31
Current State: 73:[6, 98, 31], Operations: ['93-62=31']
Exploring Operation: 6+98=104, Resulting Numbers: [31, 104]
Generated Node #3: [31, 104] from Operation: 6+98=104
Current State: 73:[31, 104], Operations: ['93-62=31', '6+98=104']
Exploring Operation: 104-31=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[93, 62, 6, 98], Operations: []
Exploring Operation: 93+6=99, Resulting Numbers: [62, 98, 99]
Generated Node #0,0: 73:[62, 98, 99] Operation: 93+6=99
Exploring Operation: 93-6=87, Resulting Numbers: [62, 98, 87]
Generated Node #0,1: 73:[62, 98, 87] Operation: 93-6=87
Exploring Operation: 98-6=92, Resulting Numbers: [93, 62, 92]
Generated Node #0,2: 73:[93, 62, 92] Operation: 98-6=92
Exploring Operation: 62+6=68, Resulting Numbers: [93, 98, 68]
Generated Node #0,3: 73:[93, 98, 68] Operation: 62+6=68
Moving to Node #0,1
Current State: 73:[62, 98, 87], Operations: ['93-6=87']
Exploring Operation: 87-62=25, Resulting Numbers: [98, 25]
Generated Node #0,1,0: 73:[98, 25] Operation: 87-62=25
Exploring Operation: 98-87=11, Resulting Numbers: [62, 11]
Generated Node #0,1,1: 73:[62, 11] Operation: 98-87=11
Exploring Operation: 98-62=36, Resulting Numbers: [87, 36]
Generated Node #0,1,2: 73:[87, 36] Operation: 98-62=36
Exploring Operation: 62+98=160, Resulting Numbers: [87, 160]
Generated Node #0,1,3: 73:[87, 160] Operation: 62+98=160
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[87, 36], Operations: ['93-6=87', '98-62=36']
Exploring Operation: 87*36=3132, Resulting Numbers: [3132]
3132,73 unequal: No Solution
Exploring Operation: 87+36=123, Resulting Numbers: [123]
123,73 unequal: No Solution
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[98, 25], Operations: ['93-6=87', '87-62=25']
Exploring Operation: 98-25=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[93, 62, 6, 98], Operations: []
Exploring Operation: 93-6=87, Resulting Numbers: [62, 98, 87]
Generated Node #0,1: 73:[62, 98, 87] Operation: 93-6=87
Moving to Node #0,1
Current State: 73:[62, 98, 87], Operations: ['93-6=87']
Exploring Operation: 87-62=25, Resulting Numbers: [98, 25]
Generated Node #0,1,0: 73:[98, 25] Operation: 87-62=25
Moving to Node #0,1,0
Current State: 73:[98, 25], Operations: ['93-6=87', '87-62=25']
Exploring Operation: 98-25=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
53,
92,
26,
41
] | 13 | [
"92-53=39",
"41-39=2",
"26/2=13"
] | Current State: 13:[53, 92, 26, 41], Operations: []
Exploring Operation: 92-53=39, Resulting Numbers: [26, 41, 39]
Generated Node #2: [26, 41, 39] from Operation: 92-53=39
Current State: 13:[26, 41, 39], Operations: ['92-53=39']
Exploring Operation: 41-39=2, Resulting Numbers: [26, 2]
Generated Node #3: [26, 2] from Operation: 41-39=2
Current State: 13:[26, 2], Operations: ['92-53=39', '41-39=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[53, 92, 26, 41], Operations: []
Exploring Operation: 92-53=39, Resulting Numbers: [26, 41, 39]
Generated Node #0,0: 13:[26, 41, 39] Operation: 92-53=39
Moving to Node #0,0
Current State: 13:[26, 41, 39], Operations: ['92-53=39']
Exploring Operation: 41-39=2, Resulting Numbers: [26, 2]
Generated Node #0,0,0: 13:[26, 2] Operation: 41-39=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[26, 2], Operations: ['92-53=39', '41-39=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[53, 92, 26, 41], Operations: []
Exploring Operation: 92-53=39, Resulting Numbers: [26, 41, 39]
Generated Node #0,0: 13:[26, 41, 39] Operation: 92-53=39
Moving to Node #0,0
Current State: 13:[26, 41, 39], Operations: ['92-53=39']
Exploring Operation: 41-39=2, Resulting Numbers: [26, 2]
Generated Node #0,0,0: 13:[26, 2] Operation: 41-39=2
Moving to Node #0,0,0
Current State: 13:[26, 2], Operations: ['92-53=39', '41-39=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
13,
4,
22,
64
] | 100 | [
"22-13=9",
"4*9=36",
"64+36=100"
] | Current State: 100:[13, 4, 22, 64], Operations: []
Exploring Operation: 22-13=9, Resulting Numbers: [4, 64, 9]
Generated Node #2: [4, 64, 9] from Operation: 22-13=9
Current State: 100:[4, 64, 9], Operations: ['22-13=9']
Exploring Operation: 4*9=36, Resulting Numbers: [64, 36]
Generated Node #3: [64, 36] from Operation: 4*9=36
Current State: 100:[64, 36], Operations: ['22-13=9', '4*9=36']
Exploring Operation: 64+36=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[13, 4, 22, 64], Operations: []
Exploring Operation: 64-13=51, Resulting Numbers: [4, 22, 51]
Generated Node #0,0: 100:[4, 22, 51] Operation: 64-13=51
Moving to Node #0,0
Current State: 100:[4, 22, 51], Operations: ['64-13=51']
Exploring Operation: 4+22=26, Resulting Numbers: [51, 26]
Generated Node #0,0,0: 100:[51, 26] Operation: 4+22=26
Moving to Node #0,0,0
Current State: 100:[51, 26], Operations: ['64-13=51', '4+22=26']
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,100 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
49,
14,
58,
81
] | 58 | [
"49-14=35",
"81-58=23",
"35+23=58"
] | Current State: 58:[49, 14, 58, 81], Operations: []
Exploring Operation: 49-14=35, Resulting Numbers: [58, 81, 35]
Generated Node #2: [58, 81, 35] from Operation: 49-14=35
Current State: 58:[58, 81, 35], Operations: ['49-14=35']
Exploring Operation: 81-58=23, Resulting Numbers: [35, 23]
Generated Node #3: [35, 23] from Operation: 81-58=23
Current State: 58:[35, 23], Operations: ['49-14=35', '81-58=23']
Exploring Operation: 35+23=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[49, 14, 58, 81], Operations: []
Exploring Operation: 81-49=32, Resulting Numbers: [14, 58, 32]
Generated Node #0,0: 58:[14, 58, 32] Operation: 81-49=32
Exploring Operation: 81-58=23, Resulting Numbers: [49, 14, 23]
Generated Node #0,1: 58:[49, 14, 23] Operation: 81-58=23
Exploring Operation: 49+14=63, Resulting Numbers: [58, 81, 63]
Generated Node #0,2: 58:[58, 81, 63] Operation: 49+14=63
Exploring Operation: 81-14=67, Resulting Numbers: [49, 58, 67]
Generated Node #0,3: 58:[49, 58, 67] Operation: 81-14=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[14, 58, 32], Operations: ['81-49=32']
Exploring Operation: 32-14=18, Resulting Numbers: [58, 18]
Generated Node #0,0,0: 58:[58, 18] Operation: 32-14=18
Exploring Operation: 14+58=72, Resulting Numbers: [32, 72]
Generated Node #0,0,1: 58:[32, 72] Operation: 14+58=72
Exploring Operation: 14+32=46, Resulting Numbers: [58, 46]
Generated Node #0,0,2: 58:[58, 46] Operation: 14+32=46
Exploring Operation: 58-32=26, Resulting Numbers: [14, 26]
Generated Node #0,0,3: 58:[14, 26] Operation: 58-32=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[58, 18], Operations: ['81-49=32', '32-14=18']
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,58 unequal: No Solution
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,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,0,2
Current State: 58:[58, 46], Operations: ['81-49=32', '14+32=46']
Exploring Operation: 58-46=12, Resulting Numbers: [12]
12,58 unequal: No Solution
Exploring Operation: 58+46=104, Resulting Numbers: [104]
104,58 unequal: No Solution
Exploring Operation: 58*46=2668, Resulting Numbers: [2668]
2668,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,0,3
Current State: 58:[14, 26], Operations: ['81-49=32', '58-32=26']
Exploring Operation: 14*26=364, Resulting Numbers: [364]
364,58 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,58 unequal: No Solution
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,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,0,1
Current State: 58:[32, 72], Operations: ['81-49=32', '14+58=72']
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 32+72=104, Resulting Numbers: [104]
104,58 unequal: No Solution
Exploring Operation: 32*72=2304, Resulting Numbers: [2304]
2304,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,3
Current State: 58:[49, 58, 67], Operations: ['81-14=67']
Exploring Operation: 67-49=18, Resulting Numbers: [58, 18]
Generated Node #0,3,0: 58:[58, 18] Operation: 67-49=18
Exploring Operation: 49+58=107, Resulting Numbers: [67, 107]
Generated Node #0,3,1: 58:[67, 107] Operation: 49+58=107
Exploring Operation: 58-49=9, Resulting Numbers: [67, 9]
Generated Node #0,3,2: 58:[67, 9] Operation: 58-49=9
Exploring Operation: 67-58=9, Resulting Numbers: [49, 9]
Generated Node #0,3,3: 58:[49, 9] Operation: 67-58=9
Moving to Node #0,3,0
Current State: 58:[58, 18], Operations: ['81-14=67', '67-49=18']
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,58 unequal: No Solution
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,58 unequal: No Solution
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Moving to Node #0,3,3
Current State: 58:[49, 9], Operations: ['81-14=67', '67-58=9']
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 49*9=441, Resulting Numbers: [441]
441,58 unequal: No Solution
Exploring Operation: 49+9=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[49, 14, 58, 81], Operations: []
Exploring Operation: 81-14=67, Resulting Numbers: [49, 58, 67]
Generated Node #0,3: 58:[49, 58, 67] Operation: 81-14=67
Moving to Node #0,3
Current State: 58:[49, 58, 67], Operations: ['81-14=67']
Exploring Operation: 67-58=9, Resulting Numbers: [49, 9]
Generated Node #0,3,3: 58:[49, 9] Operation: 67-58=9
Moving to Node #0,3,3
Current State: 58:[49, 9], Operations: ['81-14=67', '67-58=9']
Exploring Operation: 49+9=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | mult_heuristic |
[
38,
61,
60,
28
] | 67 | [
"38+61=99",
"60-28=32",
"99-32=67"
] | Current State: 67:[38, 61, 60, 28], Operations: []
Exploring Operation: 38+61=99, Resulting Numbers: [60, 28, 99]
Generated Node #2: [60, 28, 99] from Operation: 38+61=99
Current State: 67:[60, 28, 99], Operations: ['38+61=99']
Exploring Operation: 60-28=32, Resulting Numbers: [99, 32]
Generated Node #3: [99, 32] from Operation: 60-28=32
Current State: 67:[99, 32], Operations: ['38+61=99', '60-28=32']
Exploring Operation: 99-32=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[38, 61, 60, 28], Operations: []
Exploring Operation: 60+28=88, Resulting Numbers: [38, 61, 88]
Generated Node #0,0: 67:[38, 61, 88] Operation: 60+28=88
Exploring Operation: 38+28=66, Resulting Numbers: [61, 60, 66]
Generated Node #0,1: 67:[61, 60, 66] Operation: 38+28=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[61, 60, 66], Operations: ['38+28=66']
Exploring Operation: 61+60=121, Resulting Numbers: [66, 121]
Generated Node #0,1,0: 67:[66, 121] Operation: 61+60=121
Exploring Operation: 60+66=126, Resulting Numbers: [61, 126]
Generated Node #0,1,1: 67:[61, 126] Operation: 60+66=126
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[66, 121], Operations: ['38+28=66', '61+60=121']
Exploring Operation: 121-66=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Exploring Operation: 66+121=187, Resulting Numbers: [187]
187,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[61, 126], Operations: ['38+28=66', '60+66=126']
Exploring Operation: 126-61=65, Resulting Numbers: [65]
65,67 unequal: No Solution
Exploring Operation: 61+126=187, Resulting Numbers: [187]
187,67 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: 67:[38, 61, 88], Operations: ['60+28=88']
Exploring Operation: 88-38=50, Resulting Numbers: [61, 50]
Generated Node #0,0,0: 67:[61, 50] Operation: 88-38=50
Exploring Operation: 38+61=99, Resulting Numbers: [88, 99]
Generated Node #0,0,1: 67:[88, 99] Operation: 38+61=99
Moving to Node #0,0,0
Current State: 67:[61, 50], Operations: ['60+28=88', '88-38=50']
Exploring Operation: 61-50=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 61+50=111, Resulting Numbers: [111]
111,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[88, 99], Operations: ['60+28=88', '38+61=99']
Exploring Operation: 99-88=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 88+99=187, Resulting Numbers: [187]
187,67 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 |
[
38,
51,
94,
29
] | 43 | [
"51+94=145",
"145/29=5",
"38+5=43"
] | Current State: 43:[38, 51, 94, 29], Operations: []
Exploring Operation: 51+94=145, Resulting Numbers: [38, 29, 145]
Generated Node #2: [38, 29, 145] from Operation: 51+94=145
Current State: 43:[38, 29, 145], Operations: ['51+94=145']
Exploring Operation: 145/29=5, Resulting Numbers: [38, 5]
Generated Node #3: [38, 5] from Operation: 145/29=5
Current State: 43:[38, 5], Operations: ['51+94=145', '145/29=5']
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[38, 51, 94, 29], Operations: []
Exploring Operation: 94-38=56, Resulting Numbers: [51, 29, 56]
Generated Node #0,0: 43:[51, 29, 56] Operation: 94-38=56
Exploring Operation: 94-51=43, Resulting Numbers: [38, 29, 43]
Generated Node #0,1: 43:[38, 29, 43] Operation: 94-51=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[38, 29, 43], Operations: ['94-51=43']
Exploring Operation: 38+29=67, Resulting Numbers: [43, 67]
Generated Node #0,1,0: 43:[43, 67] Operation: 38+29=67
Exploring Operation: 38-29=9, Resulting Numbers: [43, 9]
Generated Node #0,1,1: 43:[43, 9] Operation: 38-29=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[43, 67], Operations: ['94-51=43', '38+29=67']
Exploring Operation: 43+67=110, Resulting Numbers: [110]
110,43 unequal: No Solution
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,43 unequal: No Solution
No 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: 43:[43, 9], Operations: ['94-51=43', '38-29=9']
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,43 unequal: No Solution
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,43 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: 43:[51, 29, 56], Operations: ['94-38=56']
Exploring Operation: 56-29=27, Resulting Numbers: [51, 27]
Generated Node #0,0,0: 43:[51, 27] Operation: 56-29=27
Exploring Operation: 51-29=22, Resulting Numbers: [56, 22]
Generated Node #0,0,1: 43:[56, 22] Operation: 51-29=22
Moving to Node #0,0,0
Current State: 43:[51, 27], Operations: ['94-38=56', '56-29=27']
Exploring Operation: 51+27=78, Resulting Numbers: [78]
78,43 unequal: No Solution
Exploring Operation: 51-27=24, Resulting Numbers: [24]
24,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[56, 22], Operations: ['94-38=56', '51-29=22']
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,43 unequal: No Solution
Exploring Operation: 56+22=78, Resulting Numbers: [78]
78,43 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 |
[
56,
87,
26,
25
] | 31 | [
"87-56=31",
"26-25=1",
"31*1=31"
] | Current State: 31:[56, 87, 26, 25], Operations: []
Exploring Operation: 87-56=31, Resulting Numbers: [26, 25, 31]
Generated Node #2: [26, 25, 31] from Operation: 87-56=31
Current State: 31:[26, 25, 31], Operations: ['87-56=31']
Exploring Operation: 26-25=1, Resulting Numbers: [31, 1]
Generated Node #3: [31, 1] from Operation: 26-25=1
Current State: 31:[31, 1], Operations: ['87-56=31', '26-25=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[56, 87, 26, 25], Operations: []
Exploring Operation: 56-25=31, Resulting Numbers: [87, 26, 31]
Generated Node #0,0: 31:[87, 26, 31] Operation: 56-25=31
Exploring Operation: 87-26=61, Resulting Numbers: [56, 25, 61]
Generated Node #0,1: 31:[56, 25, 61] Operation: 87-26=61
Exploring Operation: 87-56=31, Resulting Numbers: [26, 25, 31]
Generated Node #0,2: 31:[26, 25, 31] Operation: 87-56=31
Exploring Operation: 87-25=62, Resulting Numbers: [56, 26, 62]
Generated Node #0,3: 31:[56, 26, 62] Operation: 87-25=62
Exploring Operation: 56-26=30, Resulting Numbers: [87, 25, 30]
Generated Node #0,4: 31:[87, 25, 30] Operation: 56-26=30
Moving to Node #0,2
Current State: 31:[26, 25, 31], Operations: ['87-56=31']
Exploring Operation: 26-25=1, Resulting Numbers: [31, 1]
Generated Node #0,2,0: 31:[31, 1] Operation: 26-25=1
Exploring Operation: 31-25=6, Resulting Numbers: [26, 6]
Generated Node #0,2,1: 31:[26, 6] Operation: 31-25=6
Exploring Operation: 26+25=51, Resulting Numbers: [31, 51]
Generated Node #0,2,2: 31:[31, 51] Operation: 26+25=51
Exploring Operation: 26+31=57, Resulting Numbers: [25, 57]
Generated Node #0,2,3: 31:[25, 57] Operation: 26+31=57
Exploring Operation: 25+31=56, Resulting Numbers: [26, 56]
Generated Node #0,2,4: 31:[26, 56] Operation: 25+31=56
Moving to Node #0,1
Current State: 31:[56, 25, 61], Operations: ['87-26=61']
Exploring Operation: 61-25=36, Resulting Numbers: [56, 36]
Generated Node #0,1,0: 31:[56, 36] Operation: 61-25=36
Exploring Operation: 25+61=86, Resulting Numbers: [56, 86]
Generated Node #0,1,1: 31:[56, 86] Operation: 25+61=86
Exploring Operation: 56-25=31, Resulting Numbers: [61, 31]
Generated Node #0,1,2: 31:[61, 31] Operation: 56-25=31
Exploring Operation: 56+25=81, Resulting Numbers: [61, 81]
Generated Node #0,1,3: 31:[61, 81] Operation: 56+25=81
Exploring Operation: 61-56=5, Resulting Numbers: [25, 5]
Generated Node #0,1,4: 31:[25, 5] Operation: 61-56=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[56, 36], Operations: ['87-26=61', '61-25=36']
Exploring Operation: 56*36=2016, Resulting Numbers: [2016]
2016,31 unequal: No Solution
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 56+36=92, Resulting Numbers: [92]
92,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 31:[61, 31], Operations: ['87-26=61', '56-25=31']
Exploring Operation: 61+31=92, Resulting Numbers: [92]
92,31 unequal: No Solution
Exploring Operation: 61*31=1891, Resulting Numbers: [1891]
1891,31 unequal: No Solution
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 31:[25, 5], Operations: ['87-26=61', '61-56=5']
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 25*5=125, Resulting Numbers: [125]
125,31 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[56, 86], Operations: ['87-26=61', '25+61=86']
Exploring Operation: 56+86=142, Resulting Numbers: [142]
142,31 unequal: No Solution
Exploring Operation: 56*86=4816, Resulting Numbers: [4816]
4816,31 unequal: No Solution
Exploring Operation: 86-56=30, Resulting Numbers: [30]
30,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 31:[61, 81], Operations: ['87-26=61', '56+25=81']
Exploring Operation: 61+81=142, Resulting Numbers: [142]
142,31 unequal: No Solution
Exploring Operation: 61*81=4941, Resulting Numbers: [4941]
4941,31 unequal: No Solution
Exploring Operation: 81-61=20, Resulting Numbers: [20]
20,31 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: 31:[87, 26, 31], Operations: ['56-25=31']
Exploring Operation: 31-26=5, Resulting Numbers: [87, 5]
Generated Node #0,0,0: 31:[87, 5] Operation: 31-26=5
Exploring Operation: 87-26=61, Resulting Numbers: [31, 61]
Generated Node #0,0,1: 31:[31, 61] Operation: 87-26=61
Exploring Operation: 87+26=113, Resulting Numbers: [31, 113]
Generated Node #0,0,2: 31:[31, 113] Operation: 87+26=113
Exploring Operation: 26+31=57, Resulting Numbers: [87, 57]
Generated Node #0,0,3: 31:[87, 57] Operation: 26+31=57
Exploring Operation: 87-31=56, Resulting Numbers: [26, 56]
Generated Node #0,0,4: 31:[26, 56] Operation: 87-31=56
Moving to Node #0,3
Current State: 31:[56, 26, 62], Operations: ['87-25=62']
Exploring Operation: 56+26=82, Resulting Numbers: [62, 82]
Generated Node #0,3,0: 31:[62, 82] Operation: 56+26=82
Exploring Operation: 56-26=30, Resulting Numbers: [62, 30]
Generated Node #0,3,1: 31:[62, 30] Operation: 56-26=30
Exploring Operation: 62-56=6, Resulting Numbers: [26, 6]
Generated Node #0,3,2: 31:[26, 6] Operation: 62-56=6
Exploring Operation: 26+62=88, Resulting Numbers: [56, 88]
Generated Node #0,3,3: 31:[56, 88] Operation: 26+62=88
Exploring Operation: 62-26=36, Resulting Numbers: [56, 36]
Generated Node #0,3,4: 31:[56, 36] Operation: 62-26=36
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 31:[26, 6], Operations: ['87-25=62', '62-56=6']
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,31 unequal: No Solution
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,31 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 31:[56, 36], Operations: ['87-25=62', '62-26=36']
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 56*36=2016, Resulting Numbers: [2016]
2016,31 unequal: No Solution
Exploring Operation: 56+36=92, Resulting Numbers: [92]
92,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 31:[62, 30], Operations: ['87-25=62', '56-26=30']
Exploring Operation: 62*30=1860, Resulting Numbers: [1860]
1860,31 unequal: No Solution
Exploring Operation: 62+30=92, Resulting Numbers: [92]
92,31 unequal: No Solution
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 31:[62, 82], Operations: ['87-25=62', '56+26=82']
Exploring Operation: 62*82=5084, Resulting Numbers: [5084]
5084,31 unequal: No Solution
Exploring Operation: 62+82=144, Resulting Numbers: [144]
144,31 unequal: No Solution
Exploring Operation: 82-62=20, Resulting Numbers: [20]
20,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 31:[56, 88], Operations: ['87-25=62', '26+62=88']
Exploring Operation: 56+88=144, Resulting Numbers: [144]
144,31 unequal: No Solution
Exploring Operation: 88-56=32, Resulting Numbers: [32]
32,31 unequal: No Solution
Exploring Operation: 56*88=4928, Resulting Numbers: [4928]
4928,31 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: 31:[87, 25, 30], Operations: ['56-26=30']
Exploring Operation: 30-25=5, Resulting Numbers: [87, 5]
Generated Node #0,4,0: 31:[87, 5] Operation: 30-25=5
Exploring Operation: 87+25=112, Resulting Numbers: [30, 112]
Generated Node #0,4,1: 31:[30, 112] Operation: 87+25=112
Exploring Operation: 87-30=57, Resulting Numbers: [25, 57]
Generated Node #0,4,2: 31:[25, 57] Operation: 87-30=57
Exploring Operation: 25+30=55, Resulting Numbers: [87, 55]
Generated Node #0,4,3: 31:[87, 55] Operation: 25+30=55
Exploring Operation: 87-25=62, Resulting Numbers: [30, 62]
Generated Node #0,4,4: 31:[30, 62] Operation: 87-25=62
Moving to Node #0,2,2
Current State: 31:[31, 51], Operations: ['87-56=31', '26+25=51']
Exploring Operation: 31*51=1581, Resulting Numbers: [1581]
1581,31 unequal: No Solution
Exploring Operation: 51-31=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 31+51=82, Resulting Numbers: [82]
82,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[26, 6], Operations: ['87-56=31', '31-25=6']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,31 unequal: No Solution
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,31 unequal: No Solution
Moving to Node #0,0,4
Current State: 31:[26, 56], Operations: ['56-25=31', '87-31=56']
Exploring Operation: 26*56=1456, Resulting Numbers: [1456]
1456,31 unequal: No Solution
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 26+56=82, Resulting Numbers: [82]
82,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[31, 61], Operations: ['56-25=31', '87-26=61']
Exploring Operation: 31*61=1891, Resulting Numbers: [1891]
1891,31 unequal: No Solution
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 31+61=92, Resulting Numbers: [92]
92,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[31, 1], Operations: ['87-56=31', '26-25=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,31 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[56, 87, 26, 25], Operations: []
Exploring Operation: 87-56=31, Resulting Numbers: [26, 25, 31]
Generated Node #0,2: 31:[26, 25, 31] Operation: 87-56=31
Moving to Node #0,2
Current State: 31:[26, 25, 31], Operations: ['87-56=31']
Exploring Operation: 26-25=1, Resulting Numbers: [31, 1]
Generated Node #0,2,0: 31:[31, 1] Operation: 26-25=1
Moving to Node #0,2,0
Current State: 31:[31, 1], Operations: ['87-56=31', '26-25=1']
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 0.930556 | hs_5 | mult_heuristic |
[
62,
13,
35,
66
] | 80 | [
"62-13=49",
"66-35=31",
"49+31=80"
] | Current State: 80:[62, 13, 35, 66], Operations: []
Exploring Operation: 62-13=49, Resulting Numbers: [35, 66, 49]
Generated Node #2: [35, 66, 49] from Operation: 62-13=49
Current State: 80:[35, 66, 49], Operations: ['62-13=49']
Exploring Operation: 66-35=31, Resulting Numbers: [49, 31]
Generated Node #3: [49, 31] from Operation: 66-35=31
Current State: 80:[49, 31], Operations: ['62-13=49', '66-35=31']
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[62, 13, 35, 66], Operations: []
Exploring Operation: 66-62=4, Resulting Numbers: [13, 35, 4]
Generated Node #0,0: 80:[13, 35, 4] Operation: 66-62=4
Moving to Node #0,0
Current State: 80:[13, 35, 4], Operations: ['66-62=4']
Exploring Operation: 35-13=22, Resulting Numbers: [4, 22]
Generated Node #0,0,0: 80:[4, 22] Operation: 35-13=22
Moving to Node #0,0,0
Current State: 80:[4, 22], Operations: ['66-62=4', '35-13=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,80 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
7,
44,
57,
92
] | 15 | [
"57-44=13",
"92+13=105",
"105/7=15"
] | Current State: 15:[7, 44, 57, 92], Operations: []
Exploring Operation: 57-44=13, Resulting Numbers: [7, 92, 13]
Generated Node #2: [7, 92, 13] from Operation: 57-44=13
Current State: 15:[7, 92, 13], Operations: ['57-44=13']
Exploring Operation: 92+13=105, Resulting Numbers: [7, 105]
Generated Node #3: [7, 105] from Operation: 92+13=105
Current State: 15:[7, 105], Operations: ['57-44=13', '92+13=105']
Exploring Operation: 105/7=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[7, 44, 57, 92], Operations: []
Exploring Operation: 92-57=35, Resulting Numbers: [7, 44, 35]
Generated Node #0,0: 15:[7, 44, 35] Operation: 92-57=35
Exploring Operation: 92-44=48, Resulting Numbers: [7, 57, 48]
Generated Node #0,1: 15:[7, 57, 48] Operation: 92-44=48
Moving to Node #0,0
Current State: 15:[7, 44, 35], Operations: ['92-57=35']
Exploring Operation: 44-35=9, Resulting Numbers: [7, 9]
Generated Node #0,0,0: 15:[7, 9] Operation: 44-35=9
Exploring Operation: 35/7=5, Resulting Numbers: [44, 5]
Generated Node #0,0,1: 15:[44, 5] Operation: 35/7=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[7, 9], Operations: ['92-57=35', '44-35=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[44, 5], Operations: ['92-57=35', '35/7=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,15 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,15 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: 15:[7, 57, 48], Operations: ['92-44=48']
Exploring Operation: 57-7=50, Resulting Numbers: [48, 50]
Generated Node #0,1,0: 15:[48, 50] Operation: 57-7=50
Exploring Operation: 57-48=9, Resulting Numbers: [7, 9]
Generated Node #0,1,1: 15:[7, 9] Operation: 57-48=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 15:[7, 9], Operations: ['92-44=48', '57-48=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 15:[48, 50], Operations: ['92-44=48', '57-7=50']
Exploring Operation: 50-48=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 48+50=98, Resulting Numbers: [98]
98,15 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 |
[
94,
20,
52,
10
] | 54 | [
"94+52=146",
"20*10=200",
"200-146=54"
] | Current State: 54:[94, 20, 52, 10], Operations: []
Exploring Operation: 94+52=146, Resulting Numbers: [20, 10, 146]
Generated Node #2: [20, 10, 146] from Operation: 94+52=146
Current State: 54:[20, 10, 146], Operations: ['94+52=146']
Exploring Operation: 20*10=200, Resulting Numbers: [146, 200]
Generated Node #3: [146, 200] from Operation: 20*10=200
Current State: 54:[146, 200], Operations: ['94+52=146', '20*10=200']
Exploring Operation: 200-146=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[94, 20, 52, 10], Operations: []
Exploring Operation: 20/10=2, Resulting Numbers: [94, 52, 2]
Generated Node #0,0: 54:[94, 52, 2] Operation: 20/10=2
Exploring Operation: 94-10=84, Resulting Numbers: [20, 52, 84]
Generated Node #0,1: 54:[20, 52, 84] Operation: 94-10=84
Exploring Operation: 94-52=42, Resulting Numbers: [20, 10, 42]
Generated Node #0,2: 54:[20, 10, 42] Operation: 94-52=42
Exploring Operation: 94-20=74, Resulting Numbers: [52, 10, 74]
Generated Node #0,3: 54:[52, 10, 74] Operation: 94-20=74
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[20, 10, 42], Operations: ['94-52=42']
Exploring Operation: 10+42=52, Resulting Numbers: [20, 52]
Generated Node #0,2,0: 54:[20, 52] Operation: 10+42=52
Exploring Operation: 20+42=62, Resulting Numbers: [10, 62]
Generated Node #0,2,1: 54:[10, 62] Operation: 20+42=62
Exploring Operation: 42-10=32, Resulting Numbers: [20, 32]
Generated Node #0,2,2: 54:[20, 32] Operation: 42-10=32
Exploring Operation: 42-20=22, Resulting Numbers: [10, 22]
Generated Node #0,2,3: 54:[10, 22] Operation: 42-20=22
Moving to Node #0,2,0
Current State: 54:[20, 52], Operations: ['94-52=42', '10+42=52']
Exploring Operation: 20+52=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 20*52=1040, Resulting Numbers: [1040]
1040,54 unequal: No Solution
Moving to Node #0,2,3
Current State: 54:[10, 22], Operations: ['94-52=42', '42-20=22']
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[20, 32], Operations: ['94-52=42', '42-10=32']
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,54 unequal: No Solution
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[10, 62], Operations: ['94-52=42', '20+42=62']
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Exploring Operation: 10*62=620, Resulting Numbers: [620]
620,54 unequal: No Solution
Exploring Operation: 10+62=72, Resulting Numbers: [72]
72,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[52, 10, 74], Operations: ['94-20=74']
Exploring Operation: 74-10=64, Resulting Numbers: [52, 64]
Generated Node #0,3,0: 54:[52, 64] Operation: 74-10=64
Exploring Operation: 74-52=22, Resulting Numbers: [10, 22]
Generated Node #0,3,1: 54:[10, 22] Operation: 74-52=22
Exploring Operation: 52-10=42, Resulting Numbers: [74, 42]
Generated Node #0,3,2: 54:[74, 42] Operation: 52-10=42
Exploring Operation: 52+10=62, Resulting Numbers: [74, 62]
Generated Node #0,3,3: 54:[74, 62] Operation: 52+10=62
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 54:[10, 22], Operations: ['94-20=74', '74-52=22']
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,54 unequal: No Solution
No 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: 54:[52, 64], Operations: ['94-20=74', '74-10=64']
Exploring Operation: 64-52=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 52+64=116, Resulting Numbers: [116]
116,54 unequal: No Solution
Exploring Operation: 52*64=3328, Resulting Numbers: [3328]
3328,54 unequal: No Solution
No 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: 54:[74, 62], Operations: ['94-20=74', '52+10=62']
Exploring Operation: 74*62=4588, Resulting Numbers: [4588]
4588,54 unequal: No Solution
Exploring Operation: 74+62=136, Resulting Numbers: [136]
136,54 unequal: No Solution
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,54 unequal: No Solution
No 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: 54:[74, 42], Operations: ['94-20=74', '52-10=42']
Exploring Operation: 74*42=3108, Resulting Numbers: [3108]
3108,54 unequal: No Solution
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 74+42=116, Resulting Numbers: [116]
116,54 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: 54:[20, 52, 84], Operations: ['94-10=84']
Exploring Operation: 52-20=32, Resulting Numbers: [84, 32]
Generated Node #0,1,0: 54:[84, 32] Operation: 52-20=32
Exploring Operation: 84-20=64, Resulting Numbers: [52, 64]
Generated Node #0,1,1: 54:[52, 64] Operation: 84-20=64
Exploring Operation: 20+52=72, Resulting Numbers: [84, 72]
Generated Node #0,1,2: 54:[84, 72] Operation: 20+52=72
Exploring Operation: 84-52=32, Resulting Numbers: [20, 32]
Generated Node #0,1,3: 54:[20, 32] Operation: 84-52=32
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 54:[20, 32], Operations: ['94-10=84', '84-52=32']
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,54 unequal: No Solution
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,54 unequal: No Solution
No 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: 54:[52, 64], Operations: ['94-10=84', '84-20=64']
Exploring Operation: 52*64=3328, Resulting Numbers: [3328]
3328,54 unequal: No Solution
Exploring Operation: 64-52=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 52+64=116, Resulting Numbers: [116]
116,54 unequal: No Solution
No 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: 54:[84, 32], Operations: ['94-10=84', '52-20=32']
Exploring Operation: 84-32=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Exploring Operation: 84*32=2688, Resulting Numbers: [2688]
2688,54 unequal: No Solution
Exploring Operation: 84+32=116, Resulting Numbers: [116]
116,54 unequal: No Solution
No 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: 54:[84, 72], Operations: ['94-10=84', '20+52=72']
Exploring Operation: 84*72=6048, Resulting Numbers: [6048]
6048,54 unequal: No Solution
Exploring Operation: 84+72=156, Resulting Numbers: [156]
156,54 unequal: No Solution
Exploring Operation: 84-72=12, Resulting Numbers: [12]
12,54 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: 54:[94, 52, 2], Operations: ['20/10=2']
Exploring Operation: 52+2=54, Resulting Numbers: [94, 54]
Generated Node #0,0,0: 54:[94, 54] Operation: 52+2=54
Exploring Operation: 94-2=92, Resulting Numbers: [52, 92]
Generated Node #0,0,1: 54:[52, 92] Operation: 94-2=92
Exploring Operation: 94/2=47, Resulting Numbers: [52, 47]
Generated Node #0,0,2: 54:[52, 47] Operation: 94/2=47
Exploring Operation: 94-52=42, Resulting Numbers: [2, 42]
Generated Node #0,0,3: 54:[2, 42] Operation: 94-52=42
Moving to Node #0,0,2
Current State: 54:[52, 47], Operations: ['20/10=2', '94/2=47']
Exploring Operation: 52*47=2444, Resulting Numbers: [2444]
2444,54 unequal: No Solution
Exploring Operation: 52+47=99, Resulting Numbers: [99]
99,54 unequal: No Solution
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Moving to Node #0,0,3
Current State: 54:[2, 42], Operations: ['20/10=2', '94-52=42']
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,54 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,54 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[52, 92], Operations: ['20/10=2', '94-2=92']
Exploring Operation: 52*92=4784, Resulting Numbers: [4784]
4784,54 unequal: No Solution
Exploring Operation: 52+92=144, Resulting Numbers: [144]
144,54 unequal: No Solution
Exploring Operation: 92-52=40, Resulting Numbers: [40]
40,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[94, 54], Operations: ['20/10=2', '52+2=54']
Exploring Operation: 94-54=40, Resulting Numbers: [40]
40,54 unequal: No Solution
Exploring Operation: 94+54=148, Resulting Numbers: [148]
148,54 unequal: No Solution
Exploring Operation: 94*54=5076, Resulting Numbers: [5076]
5076,54 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,
79,
8,
10
] | 93 | [
"79-4=75",
"8+10=18",
"75+18=93"
] | Current State: 93:[4, 79, 8, 10], Operations: []
Exploring Operation: 79-4=75, Resulting Numbers: [8, 10, 75]
Generated Node #2: [8, 10, 75] from Operation: 79-4=75
Current State: 93:[8, 10, 75], Operations: ['79-4=75']
Exploring Operation: 8+10=18, Resulting Numbers: [75, 18]
Generated Node #3: [75, 18] from Operation: 8+10=18
Current State: 93:[75, 18], Operations: ['79-4=75', '8+10=18']
Exploring Operation: 75+18=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[4, 79, 8, 10], Operations: []
Exploring Operation: 10-8=2, Resulting Numbers: [4, 79, 2]
Generated Node #0,0: 93:[4, 79, 2] Operation: 10-8=2
Exploring Operation: 79+10=89, Resulting Numbers: [4, 8, 89]
Generated Node #0,1: 93:[4, 8, 89] Operation: 79+10=89
Exploring Operation: 79+8=87, Resulting Numbers: [4, 10, 87]
Generated Node #0,2: 93:[4, 10, 87] Operation: 79+8=87
Exploring Operation: 4+79=83, Resulting Numbers: [8, 10, 83]
Generated Node #0,3: 93:[8, 10, 83] Operation: 4+79=83
Exploring Operation: 4*8=32, Resulting Numbers: [79, 10, 32]
Generated Node #0,4: 93:[79, 10, 32] Operation: 4*8=32
Moving to Node #0,1
Current State: 93:[4, 8, 89], Operations: ['79+10=89']
Exploring Operation: 4*8=32, Resulting Numbers: [89, 32]
Generated Node #0,1,0: 93:[89, 32] Operation: 4*8=32
Exploring Operation: 8-4=4, Resulting Numbers: [89, 4]
Generated Node #0,1,1: 93:[89, 4] Operation: 8-4=4
Exploring Operation: 8+89=97, Resulting Numbers: [4, 97]
Generated Node #0,1,2: 93:[4, 97] Operation: 8+89=97
Exploring Operation: 8/4=2, Resulting Numbers: [89, 2]
Generated Node #0,1,3: 93:[89, 2] Operation: 8/4=2
Exploring Operation: 4+89=93, Resulting Numbers: [8, 93]
Generated Node #0,1,4: 93:[8, 93] Operation: 4+89=93
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[89, 32], Operations: ['79+10=89', '4*8=32']
Exploring Operation: 89*32=2848, Resulting Numbers: [2848]
2848,93 unequal: No Solution
Exploring Operation: 89+32=121, Resulting Numbers: [121]
121,93 unequal: No Solution
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[89, 4], Operations: ['79+10=89', '8-4=4']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,93 unequal: No Solution
Exploring Operation: 89*4=356, Resulting Numbers: [356]
356,93 unequal: No Solution
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[4, 79, 8, 10], Operations: []
Exploring Operation: 79+10=89, Resulting Numbers: [4, 8, 89]
Generated Node #0,1: 93:[4, 8, 89] Operation: 79+10=89
Moving to Node #0,1
Current State: 93:[4, 8, 89], Operations: ['79+10=89']
Exploring Operation: 8-4=4, Resulting Numbers: [89, 4]
Generated Node #0,1,1: 93:[89, 4] Operation: 8-4=4
Moving to Node #0,1,1
Current State: 93:[89, 4], Operations: ['79+10=89', '8-4=4']
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
56,
60,
42,
21
] | 50 | [
"56-21=35",
"60*35=2100",
"2100/42=50"
] | Current State: 50:[56, 60, 42, 21], Operations: []
Exploring Operation: 56-21=35, Resulting Numbers: [60, 42, 35]
Generated Node #2: [60, 42, 35] from Operation: 56-21=35
Current State: 50:[60, 42, 35], Operations: ['56-21=35']
Exploring Operation: 60*35=2100, Resulting Numbers: [42, 2100]
Generated Node #3: [42, 2100] from Operation: 60*35=2100
Current State: 50:[42, 2100], Operations: ['56-21=35', '60*35=2100']
Exploring Operation: 2100/42=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[56, 60, 42, 21], Operations: []
Exploring Operation: 56-42=14, Resulting Numbers: [60, 21, 14]
Generated Node #0,0: 50:[60, 21, 14] Operation: 56-42=14
Exploring Operation: 60-56=4, Resulting Numbers: [42, 21, 4]
Generated Node #0,1: 50:[42, 21, 4] Operation: 60-56=4
Exploring Operation: 42/21=2, Resulting Numbers: [56, 60, 2]
Generated Node #0,2: 50:[56, 60, 2] Operation: 42/21=2
Exploring Operation: 60-42=18, Resulting Numbers: [56, 21, 18]
Generated Node #0,3: 50:[56, 21, 18] Operation: 60-42=18
Moving to Node #0,1
Current State: 50:[42, 21, 4], Operations: ['60-56=4']
Exploring Operation: 42/21=2, Resulting Numbers: [4, 2]
Generated Node #0,1,0: 50:[4, 2] Operation: 42/21=2
Exploring Operation: 42+4=46, Resulting Numbers: [21, 46]
Generated Node #0,1,1: 50:[21, 46] Operation: 42+4=46
Exploring Operation: 42-21=21, Resulting Numbers: [4, 21]
Generated Node #0,1,2: 50:[4, 21] Operation: 42-21=21
Exploring Operation: 21+4=25, Resulting Numbers: [42, 25]
Generated Node #0,1,3: 50:[42, 25] Operation: 21+4=25
Moving to Node #0,2
Current State: 50:[56, 60, 2], Operations: ['42/21=2']
Exploring Operation: 60-56=4, Resulting Numbers: [2, 4]
Generated Node #0,2,0: 50:[2, 4] Operation: 60-56=4
Exploring Operation: 56/2=28, Resulting Numbers: [60, 28]
Generated Node #0,2,1: 50:[60, 28] Operation: 56/2=28
Exploring Operation: 56-2=54, Resulting Numbers: [60, 54]
Generated Node #0,2,2: 50:[60, 54] Operation: 56-2=54
Exploring Operation: 60/2=30, Resulting Numbers: [56, 30]
Generated Node #0,2,3: 50:[56, 30] Operation: 60/2=30
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 50:[2, 4], Operations: ['42/21=2', '60-56=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 50:[56, 30], Operations: ['42/21=2', '60/2=30']
Exploring Operation: 56*30=1680, Resulting Numbers: [1680]
1680,50 unequal: No Solution
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Exploring Operation: 56+30=86, Resulting Numbers: [86]
86,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 50:[60, 28], Operations: ['42/21=2', '56/2=28']
Exploring Operation: 60+28=88, Resulting Numbers: [88]
88,50 unequal: No Solution
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,50 unequal: No Solution
Exploring Operation: 60*28=1680, Resulting Numbers: [1680]
1680,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 50:[60, 54], Operations: ['42/21=2', '56-2=54']
Exploring Operation: 60+54=114, Resulting Numbers: [114]
114,50 unequal: No Solution
Exploring Operation: 60-54=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 60*54=3240, Resulting Numbers: [3240]
3240,50 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: 50:[56, 21, 18], Operations: ['60-42=18']
Exploring Operation: 56-18=38, Resulting Numbers: [21, 38]
Generated Node #0,3,0: 50:[21, 38] Operation: 56-18=38
Exploring Operation: 21+18=39, Resulting Numbers: [56, 39]
Generated Node #0,3,1: 50:[56, 39] Operation: 21+18=39
Exploring Operation: 21-18=3, Resulting Numbers: [56, 3]
Generated Node #0,3,2: 50:[56, 3] Operation: 21-18=3
Exploring Operation: 56-21=35, Resulting Numbers: [18, 35]
Generated Node #0,3,3: 50:[18, 35] Operation: 56-21=35
Moving to Node #0,0
Current State: 50:[60, 21, 14], Operations: ['56-42=14']
Exploring Operation: 21-14=7, Resulting Numbers: [60, 7]
Generated Node #0,0,0: 50:[60, 7] Operation: 21-14=7
Exploring Operation: 60-21=39, Resulting Numbers: [14, 39]
Generated Node #0,0,1: 50:[14, 39] Operation: 60-21=39
Exploring Operation: 21+14=35, Resulting Numbers: [60, 35]
Generated Node #0,0,2: 50:[60, 35] Operation: 21+14=35
Exploring Operation: 60-14=46, Resulting Numbers: [21, 46]
Generated Node #0,0,3: 50:[21, 46] Operation: 60-14=46
Moving to Node #0,1,0
Current State: 50:[4, 2], Operations: ['60-56=4', '42/21=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[4, 21], Operations: ['60-56=4', '42-21=21']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,50 unequal: No Solution
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Moving to Node #0,3,2
Current State: 50:[56, 3], Operations: ['60-42=18', '21-18=3']
Exploring Operation: 56*3=168, Resulting Numbers: [168]
168,50 unequal: No Solution
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,50 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[21, 46], Operations: ['60-56=4', '42+4=46']
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 21*46=966, Resulting Numbers: [966]
966,50 unequal: No Solution
Exploring Operation: 21+46=67, Resulting Numbers: [67]
67,50 unequal: No Solution
Moving to Node #0,1,3
Current State: 50:[42, 25], Operations: ['60-56=4', '21+4=25']
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 42+25=67, Resulting Numbers: [67]
67,50 unequal: No Solution
Exploring Operation: 42*25=1050, Resulting Numbers: [1050]
1050,50 unequal: No Solution
Moving to Node #0,0,3
Current State: 50:[21, 46], Operations: ['56-42=14', '60-14=46']
Exploring Operation: 21*46=966, Resulting Numbers: [966]
966,50 unequal: No Solution
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 21+46=67, Resulting Numbers: [67]
67,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[60, 7], Operations: ['56-42=14', '21-14=7']
Exploring Operation: 60*7=420, Resulting Numbers: [420]
420,50 unequal: No Solution
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,50 unequal: No Solution
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[14, 39], Operations: ['56-42=14', '60-21=39']
Exploring Operation: 14+39=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 14*39=546, Resulting Numbers: [546]
546,50 unequal: No Solution
Moving to Node #0,3,0
Current State: 50:[21, 38], Operations: ['60-42=18', '56-18=38']
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 21*38=798, Resulting Numbers: [798]
798,50 unequal: No Solution
Exploring Operation: 21+38=59, Resulting Numbers: [59]
59,50 unequal: No Solution
Moving to Node #0,3,3
Current State: 50:[18, 35], Operations: ['60-42=18', '56-21=35']
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 18*35=630, Resulting Numbers: [630]
630,50 unequal: No Solution
Exploring Operation: 18+35=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Moving to Node #0,3,1
Current State: 50:[56, 39], Operations: ['60-42=18', '21+18=39']
Exploring Operation: 56+39=95, Resulting Numbers: [95]
95,50 unequal: No Solution
Exploring Operation: 56*39=2184, Resulting Numbers: [2184]
2184,50 unequal: No Solution
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[60, 35], Operations: ['56-42=14', '21+14=35']
Exploring Operation: 60+35=95, Resulting Numbers: [95]
95,50 unequal: No Solution
Exploring Operation: 60-35=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 60*35=2100, Resulting Numbers: [2100]
2100,50 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
2,
91,
56,
6
] | 60 | [
"56+6=62",
"62/2=31",
"91-31=60"
] | Current State: 60:[2, 91, 56, 6], Operations: []
Exploring Operation: 56+6=62, Resulting Numbers: [2, 91, 62]
Generated Node #2: [2, 91, 62] from Operation: 56+6=62
Current State: 60:[2, 91, 62], Operations: ['56+6=62']
Exploring Operation: 62/2=31, Resulting Numbers: [91, 31]
Generated Node #3: [91, 31] from Operation: 62/2=31
Current State: 60:[91, 31], Operations: ['56+6=62', '62/2=31']
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[2, 91, 56, 6], Operations: []
Exploring Operation: 91-2=89, Resulting Numbers: [56, 6, 89]
Generated Node #0,0: 60:[56, 6, 89] Operation: 91-2=89
Exploring Operation: 91-6=85, Resulting Numbers: [2, 56, 85]
Generated Node #0,1: 60:[2, 56, 85] Operation: 91-6=85
Exploring Operation: 91-56=35, Resulting Numbers: [2, 6, 35]
Generated Node #0,2: 60:[2, 6, 35] Operation: 91-56=35
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[2, 6, 35], Operations: ['91-56=35']
Exploring Operation: 2*6=12, Resulting Numbers: [35, 12]
Generated Node #0,2,0: 60:[35, 12] Operation: 2*6=12
Exploring Operation: 35-6=29, Resulting Numbers: [2, 29]
Generated Node #0,2,1: 60:[2, 29] Operation: 35-6=29
Exploring Operation: 35-2=33, Resulting Numbers: [6, 33]
Generated Node #0,2,2: 60:[6, 33] Operation: 35-2=33
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[2, 29], Operations: ['91-56=35', '35-6=29']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,60 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,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,2
Current State: 60:[6, 33], Operations: ['91-56=35', '35-2=33']
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,60 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,60 unequal: No Solution
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,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:[35, 12], Operations: ['91-56=35', '2*6=12']
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 35*12=420, Resulting Numbers: [420]
420,60 unequal: No Solution
Exploring Operation: 35+12=47, Resulting Numbers: [47]
47,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,1
Current State: 60:[2, 56, 85], Operations: ['91-6=85']
Exploring Operation: 85-56=29, Resulting Numbers: [2, 29]
Generated Node #0,1,0: 60:[2, 29] Operation: 85-56=29
Exploring Operation: 56/2=28, Resulting Numbers: [85, 28]
Generated Node #0,1,1: 60:[85, 28] Operation: 56/2=28
Exploring Operation: 2+56=58, Resulting Numbers: [85, 58]
Generated Node #0,1,2: 60:[85, 58] Operation: 2+56=58
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[2, 29], Operations: ['91-6=85', '85-56=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,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:[85, 28], Operations: ['91-6=85', '56/2=28']
Exploring Operation: 85-28=57, Resulting Numbers: [57]
57,60 unequal: No Solution
Exploring Operation: 85*28=2380, Resulting Numbers: [2380]
2380,60 unequal: No Solution
Exploring Operation: 85+28=113, Resulting Numbers: [113]
113,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:[85, 58], Operations: ['91-6=85', '2+56=58']
Exploring Operation: 85+58=143, Resulting Numbers: [143]
143,60 unequal: No Solution
Exploring Operation: 85-58=27, Resulting Numbers: [27]
27,60 unequal: No Solution
Exploring Operation: 85*58=4930, Resulting Numbers: [4930]
4930,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:[56, 6, 89], Operations: ['91-2=89']
Exploring Operation: 89-6=83, Resulting Numbers: [56, 83]
Generated Node #0,0,0: 60:[56, 83] Operation: 89-6=83
Exploring Operation: 89-56=33, Resulting Numbers: [6, 33]
Generated Node #0,0,1: 60:[6, 33] Operation: 89-56=33
Exploring Operation: 56+6=62, Resulting Numbers: [89, 62]
Generated Node #0,0,2: 60:[89, 62] Operation: 56+6=62
Moving to Node #0,0,1
Current State: 60:[6, 33], Operations: ['91-2=89', '89-56=33']
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,60 unequal: No Solution
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,60 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[56, 83], Operations: ['91-2=89', '89-6=83']
Exploring Operation: 56+83=139, Resulting Numbers: [139]
139,60 unequal: No Solution
Exploring Operation: 83-56=27, Resulting Numbers: [27]
27,60 unequal: No Solution
Exploring Operation: 56*83=4648, Resulting Numbers: [4648]
4648,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[89, 62], Operations: ['91-2=89', '56+6=62']
Exploring Operation: 89*62=5518, Resulting Numbers: [5518]
5518,60 unequal: No Solution
Exploring Operation: 89-62=27, Resulting Numbers: [27]
27,60 unequal: No Solution
Exploring Operation: 89+62=151, Resulting Numbers: [151]
151,60 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 |
[
20,
62,
33,
7
] | 64 | [
"33+7=40",
"40/20=2",
"62+2=64"
] | Current State: 64:[20, 62, 33, 7], Operations: []
Exploring Operation: 33+7=40, Resulting Numbers: [20, 62, 40]
Generated Node #2: [20, 62, 40] from Operation: 33+7=40
Current State: 64:[20, 62, 40], Operations: ['33+7=40']
Exploring Operation: 40/20=2, Resulting Numbers: [62, 2]
Generated Node #3: [62, 2] from Operation: 40/20=2
Current State: 64:[62, 2], Operations: ['33+7=40', '40/20=2']
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[20, 62, 33, 7], Operations: []
Exploring Operation: 20-7=13, Resulting Numbers: [62, 33, 13]
Generated Node #0,0: 64:[62, 33, 13] Operation: 20-7=13
Exploring Operation: 20+7=27, Resulting Numbers: [62, 33, 27]
Generated Node #0,1: 64:[62, 33, 27] Operation: 20+7=27
Exploring Operation: 33-20=13, Resulting Numbers: [62, 7, 13]
Generated Node #0,2: 64:[62, 7, 13] Operation: 33-20=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[62, 33, 13], Operations: ['20-7=13']
Exploring Operation: 62-33=29, Resulting Numbers: [13, 29]
Generated Node #0,0,0: 64:[13, 29] Operation: 62-33=29
Exploring Operation: 62+13=75, Resulting Numbers: [33, 75]
Generated Node #0,0,1: 64:[33, 75] Operation: 62+13=75
Exploring Operation: 33-13=20, Resulting Numbers: [62, 20]
Generated Node #0,0,2: 64:[62, 20] Operation: 33-13=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[13, 29], Operations: ['20-7=13', '62-33=29']
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 13*29=377, Resulting Numbers: [377]
377,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 64:[62, 20], Operations: ['20-7=13', '33-13=20']
Exploring Operation: 62+20=82, Resulting Numbers: [82]
82,64 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 62*20=1240, Resulting Numbers: [1240]
1240,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[33, 75], Operations: ['20-7=13', '62+13=75']
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 33+75=108, Resulting Numbers: [108]
108,64 unequal: No Solution
Exploring Operation: 33*75=2475, Resulting Numbers: [2475]
2475,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[62, 7, 13], Operations: ['33-20=13']
Exploring Operation: 13-7=6, Resulting Numbers: [62, 6]
Generated Node #0,2,0: 64:[62, 6] Operation: 13-7=6
Exploring Operation: 7+13=20, Resulting Numbers: [62, 20]
Generated Node #0,2,1: 64:[62, 20] Operation: 7+13=20
Exploring Operation: 62+7=69, Resulting Numbers: [13, 69]
Generated Node #0,2,2: 64:[13, 69] Operation: 62+7=69
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 64:[62, 6], Operations: ['33-20=13', '13-7=6']
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,64 unequal: No Solution
Exploring Operation: 62*6=372, Resulting Numbers: [372]
372,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 64:[62, 20], Operations: ['33-20=13', '7+13=20']
Exploring Operation: 62*20=1240, Resulting Numbers: [1240]
1240,64 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 62+20=82, Resulting Numbers: [82]
82,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 64:[13, 69], Operations: ['33-20=13', '62+7=69']
Exploring Operation: 13+69=82, Resulting Numbers: [82]
82,64 unequal: No Solution
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 13*69=897, Resulting Numbers: [897]
897,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[62, 33, 27], Operations: ['20+7=27']
Exploring Operation: 33+27=60, Resulting Numbers: [62, 60]
Generated Node #0,1,0: 64:[62, 60] Operation: 33+27=60
Exploring Operation: 33-27=6, Resulting Numbers: [62, 6]
Generated Node #0,1,1: 64:[62, 6] Operation: 33-27=6
Exploring Operation: 62-27=35, Resulting Numbers: [33, 35]
Generated Node #0,1,2: 64:[33, 35] Operation: 62-27=35
Moving to Node #0,1,1
Current State: 64:[62, 6], Operations: ['20+7=27', '33-27=6']
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,64 unequal: No Solution
Exploring Operation: 62*6=372, Resulting Numbers: [372]
372,64 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[33, 35], Operations: ['20+7=27', '62-27=35']
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,64 unequal: No Solution
Exploring Operation: 33*35=1155, Resulting Numbers: [1155]
1155,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[62, 60], Operations: ['20+7=27', '33+27=60']
Exploring Operation: 62-60=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 62+60=122, Resulting Numbers: [122]
122,64 unequal: No Solution
Exploring Operation: 62*60=3720, Resulting Numbers: [3720]
3720,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
91,
62,
59,
9
] | 88 | [
"62-59=3",
"9/3=3",
"91-3=88"
] | Current State: 88:[91, 62, 59, 9], Operations: []
Exploring Operation: 62-59=3, Resulting Numbers: [91, 9, 3]
Generated Node #2: [91, 9, 3] from Operation: 62-59=3
Current State: 88:[91, 9, 3], Operations: ['62-59=3']
Exploring Operation: 9/3=3, Resulting Numbers: [91, 3]
Generated Node #3: [91, 3] from Operation: 9/3=3
Current State: 88:[91, 3], Operations: ['62-59=3', '9/3=3']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[91, 62, 59, 9], Operations: []
Exploring Operation: 62-59=3, Resulting Numbers: [91, 9, 3]
Generated Node #0,0: 88:[91, 9, 3] Operation: 62-59=3
Exploring Operation: 62-9=53, Resulting Numbers: [91, 59, 53]
Generated Node #0,1: 88:[91, 59, 53] Operation: 62-9=53
Exploring Operation: 59-9=50, Resulting Numbers: [91, 62, 50]
Generated Node #0,2: 88:[91, 62, 50] Operation: 59-9=50
Exploring Operation: 91-62=29, Resulting Numbers: [59, 9, 29]
Generated Node #0,3: 88:[59, 9, 29] Operation: 91-62=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[91, 9, 3], Operations: ['62-59=3']
Exploring Operation: 91-3=88, Resulting Numbers: [9, 88]
Generated Node #0,0,0: 88:[9, 88] Operation: 91-3=88
Exploring Operation: 9/3=3, Resulting Numbers: [91, 3]
Generated Node #0,0,1: 88:[91, 3] Operation: 9/3=3
Exploring Operation: 9-3=6, Resulting Numbers: [91, 6]
Generated Node #0,0,2: 88:[91, 6] Operation: 9-3=6
Exploring Operation: 9+3=12, Resulting Numbers: [91, 12]
Generated Node #0,0,3: 88:[91, 12] Operation: 9+3=12
Moving to Node #0,0,0
Current State: 88:[9, 88], Operations: ['62-59=3', '91-3=88']
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,88 unequal: No Solution
Exploring Operation: 9+88=97, Resulting Numbers: [97]
97,88 unequal: No Solution
Exploring Operation: 9*88=792, Resulting Numbers: [792]
792,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[91, 12], Operations: ['62-59=3', '9+3=12']
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,88 unequal: No Solution
Exploring Operation: 91*12=1092, Resulting Numbers: [1092]
1092,88 unequal: No Solution
Exploring Operation: 91+12=103, Resulting Numbers: [103]
103,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[91, 3], Operations: ['62-59=3', '9/3=3']
Exploring Operation: 91*3=273, Resulting Numbers: [273]
273,88 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[91, 62, 59, 9], Operations: []
Exploring Operation: 62-59=3, Resulting Numbers: [91, 9, 3]
Generated Node #0,0: 88:[91, 9, 3] Operation: 62-59=3
Moving to Node #0,0
Current State: 88:[91, 9, 3], Operations: ['62-59=3']
Exploring Operation: 9/3=3, Resulting Numbers: [91, 3]
Generated Node #0,0,1: 88:[91, 3] Operation: 9/3=3
Moving to Node #0,0,1
Current State: 88:[91, 3], Operations: ['62-59=3', '9/3=3']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
15,
60,
90,
83
] | 29 | [
"90/15=6",
"83-60=23",
"6+23=29"
] | Current State: 29:[15, 60, 90, 83], Operations: []
Exploring Operation: 90/15=6, Resulting Numbers: [60, 83, 6]
Generated Node #2: [60, 83, 6] from Operation: 90/15=6
Current State: 29:[60, 83, 6], Operations: ['90/15=6']
Exploring Operation: 83-60=23, Resulting Numbers: [6, 23]
Generated Node #3: [6, 23] from Operation: 83-60=23
Current State: 29:[6, 23], Operations: ['90/15=6', '83-60=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[15, 60, 90, 83], Operations: []
Exploring Operation: 90/15=6, Resulting Numbers: [60, 83, 6]
Generated Node #0,0: 29:[60, 83, 6] Operation: 90/15=6
Exploring Operation: 83-60=23, Resulting Numbers: [15, 90, 23]
Generated Node #0,1: 29:[15, 90, 23] Operation: 83-60=23
Exploring Operation: 90-60=30, Resulting Numbers: [15, 83, 30]
Generated Node #0,2: 29:[15, 83, 30] Operation: 90-60=30
Exploring Operation: 90-83=7, Resulting Numbers: [15, 60, 7]
Generated Node #0,3: 29:[15, 60, 7] Operation: 90-83=7
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[15, 60, 7], Operations: ['90-83=7']
Exploring Operation: 60-7=53, Resulting Numbers: [15, 53]
Generated Node #0,3,0: 29:[15, 53] Operation: 60-7=53
Exploring Operation: 60/15=4, Resulting Numbers: [7, 4]
Generated Node #0,3,1: 29:[7, 4] Operation: 60/15=4
Exploring Operation: 60-15=45, Resulting Numbers: [7, 45]
Generated Node #0,3,2: 29:[7, 45] Operation: 60-15=45
Exploring Operation: 15+7=22, Resulting Numbers: [60, 22]
Generated Node #0,3,3: 29:[60, 22] Operation: 15+7=22
Moving to Node #0,3,0
Current State: 29:[15, 53], Operations: ['90-83=7', '60-7=53']
Exploring Operation: 15*53=795, Resulting Numbers: [795]
795,29 unequal: No Solution
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 15+53=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Moving to Node #0,3,3
Current State: 29:[60, 22], Operations: ['90-83=7', '15+7=22']
Exploring Operation: 60+22=82, Resulting Numbers: [82]
82,29 unequal: No Solution
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 60*22=1320, Resulting Numbers: [1320]
1320,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[7, 45], Operations: ['90-83=7', '60-15=45']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,29 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[7, 4], Operations: ['90-83=7', '60/15=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,29 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[15, 83, 30], Operations: ['90-60=30']
Exploring Operation: 83-15=68, Resulting Numbers: [30, 68]
Generated Node #0,2,0: 29:[30, 68] Operation: 83-15=68
Exploring Operation: 30-15=15, Resulting Numbers: [83, 15]
Generated Node #0,2,1: 29:[83, 15] Operation: 30-15=15
Exploring Operation: 83-30=53, Resulting Numbers: [15, 53]
Generated Node #0,2,2: 29:[15, 53] Operation: 83-30=53
Exploring Operation: 15+83=98, Resulting Numbers: [30, 98]
Generated Node #0,2,3: 29:[30, 98] Operation: 15+83=98
Moving to Node #0,2,2
Current State: 29:[15, 53], Operations: ['90-60=30', '83-30=53']
Exploring Operation: 15+53=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Exploring Operation: 15*53=795, Resulting Numbers: [795]
795,29 unequal: No Solution
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[30, 68], Operations: ['90-60=30', '83-15=68']
Exploring Operation: 30+68=98, Resulting Numbers: [98]
98,29 unequal: No Solution
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 30*68=2040, Resulting Numbers: [2040]
2040,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[83, 15], Operations: ['90-60=30', '30-15=15']
Exploring Operation: 83*15=1245, Resulting Numbers: [1245]
1245,29 unequal: No Solution
Exploring Operation: 83+15=98, Resulting Numbers: [98]
98,29 unequal: No Solution
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[30, 98], Operations: ['90-60=30', '15+83=98']
Exploring Operation: 30+98=128, Resulting Numbers: [128]
128,29 unequal: No Solution
Exploring Operation: 30*98=2940, Resulting Numbers: [2940]
2940,29 unequal: No Solution
Exploring Operation: 98-30=68, Resulting Numbers: [68]
68,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[15, 90, 23], Operations: ['83-60=23']
Exploring Operation: 90/15=6, Resulting Numbers: [23, 6]
Generated Node #0,1,0: 29:[23, 6] Operation: 90/15=6
Exploring Operation: 90-15=75, Resulting Numbers: [23, 75]
Generated Node #0,1,1: 29:[23, 75] Operation: 90-15=75
Exploring Operation: 90-23=67, Resulting Numbers: [15, 67]
Generated Node #0,1,2: 29:[15, 67] Operation: 90-23=67
Exploring Operation: 15+23=38, Resulting Numbers: [90, 38]
Generated Node #0,1,3: 29:[90, 38] Operation: 15+23=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[23, 6], Operations: ['83-60=23', '90/15=6']
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[15, 60, 90, 83], Operations: []
Exploring Operation: 83-60=23, Resulting Numbers: [15, 90, 23]
Generated Node #0,1: 29:[15, 90, 23] Operation: 83-60=23
Moving to Node #0,1
Current State: 29:[15, 90, 23], Operations: ['83-60=23']
Exploring Operation: 90/15=6, Resulting Numbers: [23, 6]
Generated Node #0,1,0: 29:[23, 6] Operation: 90/15=6
Moving to Node #0,1,0
Current State: 29:[23, 6], Operations: ['83-60=23', '90/15=6']
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.960938 | hs_4 | sum_heuristic |
[
55,
49,
11,
37
] | 17 | [
"55/11=5",
"49-37=12",
"5+12=17"
] | Current State: 17:[55, 49, 11, 37], Operations: []
Exploring Operation: 55/11=5, Resulting Numbers: [49, 37, 5]
Generated Node #2: [49, 37, 5] from Operation: 55/11=5
Current State: 17:[49, 37, 5], Operations: ['55/11=5']
Exploring Operation: 49-37=12, Resulting Numbers: [5, 12]
Generated Node #3: [5, 12] from Operation: 49-37=12
Current State: 17:[5, 12], Operations: ['55/11=5', '49-37=12']
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[55, 49, 11, 37], Operations: []
Exploring Operation: 55-49=6, Resulting Numbers: [11, 37, 6]
Generated Node #0,0: 17:[11, 37, 6] Operation: 55-49=6
Exploring Operation: 55-37=18, Resulting Numbers: [49, 11, 18]
Generated Node #0,1: 17:[49, 11, 18] Operation: 55-37=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[11, 37, 6], Operations: ['55-49=6']
Exploring Operation: 37-11=26, Resulting Numbers: [6, 26]
Generated Node #0,0,0: 17:[6, 26] Operation: 37-11=26
Exploring Operation: 11+6=17, Resulting Numbers: [37, 17]
Generated Node #0,0,1: 17:[37, 17] Operation: 11+6=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[6, 26], Operations: ['55-49=6', '37-11=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 17:[37, 17], Operations: ['55-49=6', '11+6=17']
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[49, 11, 18], Operations: ['55-37=18']
Exploring Operation: 49-18=31, Resulting Numbers: [11, 31]
Generated Node #0,1,0: 17:[11, 31] Operation: 49-18=31
Exploring Operation: 49-11=38, Resulting Numbers: [18, 38]
Generated Node #0,1,1: 17:[18, 38] Operation: 49-11=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 17:[11, 31], Operations: ['55-37=18', '49-18=31']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 17:[18, 38], Operations: ['55-37=18', '49-11=38']
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
76,
8,
92,
86
] | 65 | [
"76+92=168",
"168/8=21",
"86-21=65"
] | Current State: 65:[76, 8, 92, 86], Operations: []
Exploring Operation: 76+92=168, Resulting Numbers: [8, 86, 168]
Generated Node #2: [8, 86, 168] from Operation: 76+92=168
Current State: 65:[8, 86, 168], Operations: ['76+92=168']
Exploring Operation: 168/8=21, Resulting Numbers: [86, 21]
Generated Node #3: [86, 21] from Operation: 168/8=21
Current State: 65:[86, 21], Operations: ['76+92=168', '168/8=21']
Exploring Operation: 86-21=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[76, 8, 92, 86], Operations: []
Exploring Operation: 76-8=68, Resulting Numbers: [92, 86, 68]
Generated Node #0,0: 65:[92, 86, 68] Operation: 76-8=68
Exploring Operation: 92-76=16, Resulting Numbers: [8, 86, 16]
Generated Node #0,1: 65:[8, 86, 16] Operation: 92-76=16
Exploring Operation: 86-76=10, Resulting Numbers: [8, 92, 10]
Generated Node #0,2: 65:[8, 92, 10] Operation: 86-76=10
Exploring Operation: 92-86=6, Resulting Numbers: [76, 8, 6]
Generated Node #0,3: 65:[76, 8, 6] Operation: 92-86=6
Moving to Node #0,3
Current State: 65:[76, 8, 6], Operations: ['92-86=6']
Exploring Operation: 76-8=68, Resulting Numbers: [6, 68]
Generated Node #0,3,0: 65:[6, 68] Operation: 76-8=68
Exploring Operation: 76-6=70, Resulting Numbers: [8, 70]
Generated Node #0,3,1: 65:[8, 70] Operation: 76-6=70
Exploring Operation: 8+6=14, Resulting Numbers: [76, 14]
Generated Node #0,3,2: 65:[76, 14] Operation: 8+6=14
Exploring Operation: 8-6=2, Resulting Numbers: [76, 2]
Generated Node #0,3,3: 65:[76, 2] Operation: 8-6=2
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 65:[6, 68], Operations: ['92-86=6', '76-8=68']
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,65 unequal: No Solution
Exploring Operation: 6*68=408, Resulting Numbers: [408]
408,65 unequal: No Solution
Exploring Operation: 6+68=74, Resulting Numbers: [74]
74,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 65:[8, 70], Operations: ['92-86=6', '76-6=70']
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,65 unequal: No Solution
Exploring Operation: 8*70=560, Resulting Numbers: [560]
560,65 unequal: No Solution
Exploring Operation: 8+70=78, Resulting Numbers: [78]
78,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 65:[76, 14], Operations: ['92-86=6', '8+6=14']
Exploring Operation: 76*14=1064, Resulting Numbers: [1064]
1064,65 unequal: No Solution
Exploring Operation: 76+14=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 76-14=62, Resulting Numbers: [62]
62,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 65:[76, 2], Operations: ['92-86=6', '8-6=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,65 unequal: No Solution
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,65 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,65 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 65:[8, 86, 16], Operations: ['92-76=16']
Exploring Operation: 86-16=70, Resulting Numbers: [8, 70]
Generated Node #0,1,0: 65:[8, 70] Operation: 86-16=70
Exploring Operation: 86-8=78, Resulting Numbers: [16, 78]
Generated Node #0,1,1: 65:[16, 78] Operation: 86-8=78
Exploring Operation: 16/8=2, Resulting Numbers: [86, 2]
Generated Node #0,1,2: 65:[86, 2] Operation: 16/8=2
Exploring Operation: 16-8=8, Resulting Numbers: [86, 8]
Generated Node #0,1,3: 65:[86, 8] Operation: 16-8=8
Moving to Node #0,2
Current State: 65:[8, 92, 10], Operations: ['86-76=10']
Exploring Operation: 10-8=2, Resulting Numbers: [92, 2]
Generated Node #0,2,0: 65:[92, 2] Operation: 10-8=2
Exploring Operation: 8+10=18, Resulting Numbers: [92, 18]
Generated Node #0,2,1: 65:[92, 18] Operation: 8+10=18
Exploring Operation: 92-10=82, Resulting Numbers: [8, 82]
Generated Node #0,2,2: 65:[8, 82] Operation: 92-10=82
Exploring Operation: 92-8=84, Resulting Numbers: [10, 84]
Generated Node #0,2,3: 65:[10, 84] Operation: 92-8=84
Moving to Node #0,0
Current State: 65:[92, 86, 68], Operations: ['76-8=68']
Exploring Operation: 92+86=178, Resulting Numbers: [68, 178]
Generated Node #0,0,0: 65:[68, 178] Operation: 92+86=178
Exploring Operation: 92-86=6, Resulting Numbers: [68, 6]
Generated Node #0,0,1: 65:[68, 6] Operation: 92-86=6
Exploring Operation: 86-68=18, Resulting Numbers: [92, 18]
Generated Node #0,0,2: 65:[92, 18] Operation: 86-68=18
Exploring Operation: 92-68=24, Resulting Numbers: [86, 24]
Generated Node #0,0,3: 65:[86, 24] Operation: 92-68=24
Moving to Node #0,0,1
Current State: 65:[68, 6], Operations: ['76-8=68', '92-86=6']
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,65 unequal: No Solution
Exploring Operation: 68*6=408, Resulting Numbers: [408]
408,65 unequal: No Solution
Exploring Operation: 68+6=74, Resulting Numbers: [74]
74,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[8, 70], Operations: ['92-76=16', '86-16=70']
Exploring Operation: 8+70=78, Resulting Numbers: [78]
78,65 unequal: No Solution
Exploring Operation: 8*70=560, Resulting Numbers: [560]
560,65 unequal: No Solution
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[16, 78], Operations: ['92-76=16', '86-8=78']
Exploring Operation: 16*78=1248, Resulting Numbers: [1248]
1248,65 unequal: No Solution
Exploring Operation: 16+78=94, Resulting Numbers: [94]
94,65 unequal: No Solution
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[8, 82], Operations: ['86-76=10', '92-10=82']
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,65 unequal: No Solution
Exploring Operation: 8*82=656, Resulting Numbers: [656]
656,65 unequal: No Solution
Exploring Operation: 8+82=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[10, 84], Operations: ['86-76=10', '92-8=84']
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,65 unequal: No Solution
Exploring Operation: 10*84=840, Resulting Numbers: [840]
840,65 unequal: No Solution
Exploring Operation: 10+84=94, Resulting Numbers: [94]
94,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[86, 2], Operations: ['92-76=16', '16/8=2']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,65 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,65 unequal: No Solution
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,65 unequal: No Solution
Exploring Operation: 86*2=172, Resulting Numbers: [172]
172,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[86, 8], Operations: ['92-76=16', '16-8=8']
Exploring Operation: 86*8=688, Resulting Numbers: [688]
688,65 unequal: No Solution
Exploring Operation: 86+8=94, Resulting Numbers: [94]
94,65 unequal: No Solution
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[92, 2], Operations: ['86-76=10', '10-8=2']
Exploring Operation: 92*2=184, Resulting Numbers: [184]
184,65 unequal: No Solution
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[92, 18], Operations: ['76-8=68', '86-68=18']
Exploring Operation: 92+18=110, Resulting Numbers: [110]
110,65 unequal: No Solution
Exploring Operation: 92*18=1656, Resulting Numbers: [1656]
1656,65 unequal: No Solution
Exploring Operation: 92-18=74, Resulting Numbers: [74]
74,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[92, 18], Operations: ['86-76=10', '8+10=18']
Exploring Operation: 92*18=1656, Resulting Numbers: [1656]
1656,65 unequal: No Solution
Exploring Operation: 92+18=110, Resulting Numbers: [110]
110,65 unequal: No Solution
Exploring Operation: 92-18=74, Resulting Numbers: [74]
74,65 unequal: No Solution
Moving to Node #0,0,3
Current State: 65:[86, 24], Operations: ['76-8=68', '92-68=24']
Exploring Operation: 86+24=110, Resulting Numbers: [110]
110,65 unequal: No Solution
Exploring Operation: 86*24=2064, Resulting Numbers: [2064]
2064,65 unequal: No Solution
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[68, 178], Operations: ['76-8=68', '92+86=178']
Exploring Operation: 178-68=110, Resulting Numbers: [110]
110,65 unequal: No Solution
Exploring Operation: 68*178=12104, Resulting Numbers: [12104]
12104,65 unequal: No Solution
Exploring Operation: 68+178=246, Resulting Numbers: [246]
246,65 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
46,
36,
48,
6
] | 69 | [
"48+6=54",
"46*54=2484",
"2484/36=69"
] | Current State: 69:[46, 36, 48, 6], Operations: []
Exploring Operation: 48+6=54, Resulting Numbers: [46, 36, 54]
Generated Node #2: [46, 36, 54] from Operation: 48+6=54
Current State: 69:[46, 36, 54], Operations: ['48+6=54']
Exploring Operation: 46*54=2484, Resulting Numbers: [36, 2484]
Generated Node #3: [36, 2484] from Operation: 46*54=2484
Current State: 69:[36, 2484], Operations: ['48+6=54', '46*54=2484']
Exploring Operation: 2484/36=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[46, 36, 48, 6], Operations: []
Exploring Operation: 48-46=2, Resulting Numbers: [36, 6, 2]
Generated Node #0,0: 69:[36, 6, 2] Operation: 48-46=2
Exploring Operation: 46-36=10, Resulting Numbers: [48, 6, 10]
Generated Node #0,1: 69:[48, 6, 10] Operation: 46-36=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[36, 6, 2], Operations: ['48-46=2']
Exploring Operation: 36/6=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 69:[2, 6] Operation: 36/6=6
Exploring Operation: 36*2=72, Resulting Numbers: [6, 72]
Generated Node #0,0,1: 69:[6, 72] Operation: 36*2=72
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[2, 6], Operations: ['48-46=2', '36/6=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,69 unequal: No Solution
No 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: 69:[6, 72], Operations: ['48-46=2', '36*2=72']
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,69 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[48, 6, 10], Operations: ['46-36=10']
Exploring Operation: 48+10=58, Resulting Numbers: [6, 58]
Generated Node #0,1,0: 69:[6, 58] Operation: 48+10=58
Exploring Operation: 48/6=8, Resulting Numbers: [10, 8]
Generated Node #0,1,1: 69:[10, 8] Operation: 48/6=8
Moving to Node #0,1,1
Current State: 69:[10, 8], Operations: ['46-36=10', '48/6=8']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[6, 58], Operations: ['46-36=10', '48+10=58']
Exploring Operation: 6+58=64, Resulting Numbers: [64]
64,69 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,69 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 |
[
96,
77,
67,
29
] | 19 | [
"96-77=19",
"67-29=38",
"38-19=19"
] | Current State: 19:[96, 77, 67, 29], Operations: []
Exploring Operation: 96-77=19, Resulting Numbers: [67, 29, 19]
Generated Node #2: [67, 29, 19] from Operation: 96-77=19
Current State: 19:[67, 29, 19], Operations: ['96-77=19']
Exploring Operation: 67-29=38, Resulting Numbers: [19, 38]
Generated Node #3: [19, 38] from Operation: 67-29=38
Current State: 19:[19, 38], Operations: ['96-77=19', '67-29=38']
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[96, 77, 67, 29], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [96, 29, 10]
Generated Node #0,0: 19:[96, 29, 10] Operation: 77-67=10
Exploring Operation: 96-77=19, Resulting Numbers: [67, 29, 19]
Generated Node #0,1: 19:[67, 29, 19] Operation: 96-77=19
Exploring Operation: 96-67=29, Resulting Numbers: [77, 29, 29]
Generated Node #0,2: 19:[77, 29, 29] Operation: 96-67=29
Moving to Node #0,1
Current State: 19:[67, 29, 19], Operations: ['96-77=19']
Exploring Operation: 29-19=10, Resulting Numbers: [67, 10]
Generated Node #0,1,0: 19:[67, 10] Operation: 29-19=10
Exploring Operation: 67-19=48, Resulting Numbers: [29, 48]
Generated Node #0,1,1: 19:[29, 48] Operation: 67-19=48
Exploring Operation: 67-29=38, Resulting Numbers: [19, 38]
Generated Node #0,1,2: 19:[19, 38] Operation: 67-29=38
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 19:[19, 38], Operations: ['96-77=19', '67-29=38']
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,19 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[96, 77, 67, 29], Operations: []
Exploring Operation: 96-77=19, Resulting Numbers: [67, 29, 19]
Generated Node #0,1: 19:[67, 29, 19] Operation: 96-77=19
Moving to Node #0,1
Current State: 19:[67, 29, 19], Operations: ['96-77=19']
Exploring Operation: 67-29=38, Resulting Numbers: [19, 38]
Generated Node #0,1,2: 19:[19, 38] Operation: 67-29=38
Moving to Node #0,1,2
Current State: 19:[19, 38], Operations: ['96-77=19', '67-29=38']
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
37,
63,
10,
40
] | 30 | [
"37+63=100",
"100/10=10",
"40-10=30"
] | Current State: 30:[37, 63, 10, 40], Operations: []
Exploring Operation: 37+63=100, Resulting Numbers: [10, 40, 100]
Generated Node #2: [10, 40, 100] from Operation: 37+63=100
Current State: 30:[10, 40, 100], Operations: ['37+63=100']
Exploring Operation: 100/10=10, Resulting Numbers: [40, 10]
Generated Node #3: [40, 10] from Operation: 100/10=10
Current State: 30:[40, 10], Operations: ['37+63=100', '100/10=10']
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[37, 63, 10, 40], Operations: []
Exploring Operation: 63-37=26, Resulting Numbers: [10, 40, 26]
Generated Node #0,0: 30:[10, 40, 26] Operation: 63-37=26
Exploring Operation: 40-37=3, Resulting Numbers: [63, 10, 3]
Generated Node #0,1: 30:[63, 10, 3] Operation: 40-37=3
Exploring Operation: 63-40=23, Resulting Numbers: [37, 10, 23]
Generated Node #0,2: 30:[37, 10, 23] Operation: 63-40=23
Exploring Operation: 63-10=53, Resulting Numbers: [37, 40, 53]
Generated Node #0,3: 30:[37, 40, 53] Operation: 63-10=53
Moving to Node #0,0
Current State: 30:[10, 40, 26], Operations: ['63-37=26']
Exploring Operation: 40-10=30, Resulting Numbers: [26, 30]
Generated Node #0,0,0: 30:[26, 30] Operation: 40-10=30
Exploring Operation: 26-10=16, Resulting Numbers: [40, 16]
Generated Node #0,0,1: 30:[40, 16] Operation: 26-10=16
Exploring Operation: 40/10=4, Resulting Numbers: [26, 4]
Generated Node #0,0,2: 30:[26, 4] Operation: 40/10=4
Exploring Operation: 40-26=14, Resulting Numbers: [10, 14]
Generated Node #0,0,3: 30:[10, 14] Operation: 40-26=14
Moving to Node #0,2
Current State: 30:[37, 10, 23], Operations: ['63-40=23']
Exploring Operation: 37-10=27, Resulting Numbers: [23, 27]
Generated Node #0,2,0: 30:[23, 27] Operation: 37-10=27
Exploring Operation: 23-10=13, Resulting Numbers: [37, 13]
Generated Node #0,2,1: 30:[37, 13] Operation: 23-10=13
Exploring Operation: 37-23=14, Resulting Numbers: [10, 14]
Generated Node #0,2,2: 30:[10, 14] Operation: 37-23=14
Exploring Operation: 10+23=33, Resulting Numbers: [37, 33]
Generated Node #0,2,3: 30:[37, 33] Operation: 10+23=33
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 30:[10, 14], Operations: ['63-40=23', '37-23=14']
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,30 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[37, 13], Operations: ['63-40=23', '23-10=13']
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,30 unequal: No Solution
Exploring Operation: 37*13=481, Resulting Numbers: [481]
481,30 unequal: No Solution
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 30:[23, 27], Operations: ['63-40=23', '37-10=27']
Exploring Operation: 23+27=50, Resulting Numbers: [50]
50,30 unequal: No Solution
Exploring Operation: 23*27=621, Resulting Numbers: [621]
621,30 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 30:[37, 33], Operations: ['63-40=23', '10+23=33']
Exploring Operation: 37+33=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 37*33=1221, Resulting Numbers: [1221]
1221,30 unequal: No Solution
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 30:[63, 10, 3], Operations: ['40-37=3']
Exploring Operation: 63/3=21, Resulting Numbers: [10, 21]
Generated Node #0,1,0: 30:[10, 21] Operation: 63/3=21
Exploring Operation: 10*3=30, Resulting Numbers: [63, 30]
Generated Node #0,1,1: 30:[63, 30] Operation: 10*3=30
Exploring Operation: 63-3=60, Resulting Numbers: [10, 60]
Generated Node #0,1,2: 30:[10, 60] Operation: 63-3=60
Exploring Operation: 63-10=53, Resulting Numbers: [3, 53]
Generated Node #0,1,3: 30:[3, 53] Operation: 63-10=53
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[10, 21], Operations: ['40-37=3', '63/3=21']
Exploring Operation: 10*21=210, Resulting Numbers: [210]
210,30 unequal: No Solution
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 30:[3, 53], Operations: ['40-37=3', '63-10=53']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,30 unequal: No Solution
Exploring Operation: 3+53=56, Resulting Numbers: [56]
56,30 unequal: No Solution
Exploring Operation: 3*53=159, Resulting Numbers: [159]
159,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 30:[10, 60], Operations: ['40-37=3', '63-3=60']
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 10+60=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 10*60=600, Resulting Numbers: [600]
600,30 unequal: No Solution
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[63, 30], Operations: ['40-37=3', '10*3=30']
Exploring Operation: 63*30=1890, Resulting Numbers: [1890]
1890,30 unequal: No Solution
Exploring Operation: 63+30=93, Resulting Numbers: [93]
93,30 unequal: No Solution
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,30 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: 30:[37, 40, 53], Operations: ['63-10=53']
Exploring Operation: 37+40=77, Resulting Numbers: [53, 77]
Generated Node #0,3,0: 30:[53, 77] Operation: 37+40=77
Exploring Operation: 40-37=3, Resulting Numbers: [53, 3]
Generated Node #0,3,1: 30:[53, 3] Operation: 40-37=3
Exploring Operation: 53-40=13, Resulting Numbers: [37, 13]
Generated Node #0,3,2: 30:[37, 13] Operation: 53-40=13
Exploring Operation: 53-37=16, Resulting Numbers: [40, 16]
Generated Node #0,3,3: 30:[40, 16] Operation: 53-37=16
Moving to Node #0,0,3
Current State: 30:[10, 14], Operations: ['63-37=26', '40-26=14']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,30 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[26, 30], Operations: ['63-37=26', '40-10=30']
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,30 unequal: No Solution
Exploring Operation: 26*30=780, Resulting Numbers: [780]
780,30 unequal: No Solution
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Moving to Node #0,0,2
Current State: 30:[26, 4], Operations: ['63-37=26', '40/10=4']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,30 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[37, 63, 10, 40], Operations: []
Exploring Operation: 63-37=26, Resulting Numbers: [10, 40, 26]
Generated Node #0,0: 30:[10, 40, 26] Operation: 63-37=26
Moving to Node #0,0
Current State: 30:[10, 40, 26], Operations: ['63-37=26']
Exploring Operation: 40/10=4, Resulting Numbers: [26, 4]
Generated Node #0,0,2: 30:[26, 4] Operation: 40/10=4
Moving to Node #0,0,2
Current State: 30:[26, 4], Operations: ['63-37=26', '40/10=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.949653 | hs_4 | sum_heuristic |
[
4,
88,
83,
48
] | 52 | [
"83-48=35",
"4*35=140",
"140-88=52"
] | Current State: 52:[4, 88, 83, 48], Operations: []
Exploring Operation: 83-48=35, Resulting Numbers: [4, 88, 35]
Generated Node #2: [4, 88, 35] from Operation: 83-48=35
Current State: 52:[4, 88, 35], Operations: ['83-48=35']
Exploring Operation: 4*35=140, Resulting Numbers: [88, 140]
Generated Node #3: [88, 140] from Operation: 4*35=140
Current State: 52:[88, 140], Operations: ['83-48=35', '4*35=140']
Exploring Operation: 140-88=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[4, 88, 83, 48], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [4, 48, 5]
Generated Node #0,0: 52:[4, 48, 5] Operation: 88-83=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[4, 48, 5], Operations: ['88-83=5']
Exploring Operation: 4+48=52, Resulting Numbers: [5, 52]
Generated Node #0,0,0: 52:[5, 52] Operation: 4+48=52
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[5, 52], Operations: ['88-83=5', '4+48=52']
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
49,
90,
18,
36
] | 80 | [
"49+36=85",
"90/18=5",
"85-5=80"
] | Current State: 80:[49, 90, 18, 36], Operations: []
Exploring Operation: 49+36=85, Resulting Numbers: [90, 18, 85]
Generated Node #2: [90, 18, 85] from Operation: 49+36=85
Current State: 80:[90, 18, 85], Operations: ['49+36=85']
Exploring Operation: 90/18=5, Resulting Numbers: [85, 5]
Generated Node #3: [85, 5] from Operation: 90/18=5
Current State: 80:[85, 5], Operations: ['49+36=85', '90/18=5']
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[49, 90, 18, 36], Operations: []
Exploring Operation: 90-49=41, Resulting Numbers: [18, 36, 41]
Generated Node #0,0: 80:[18, 36, 41] Operation: 90-49=41
Exploring Operation: 49+36=85, Resulting Numbers: [90, 18, 85]
Generated Node #0,1: 80:[90, 18, 85] Operation: 49+36=85
Exploring Operation: 49-36=13, Resulting Numbers: [90, 18, 13]
Generated Node #0,2: 80:[90, 18, 13] Operation: 49-36=13
Exploring Operation: 90/18=5, Resulting Numbers: [49, 36, 5]
Generated Node #0,3: 80:[49, 36, 5] Operation: 90/18=5
Exploring Operation: 36/18=2, Resulting Numbers: [49, 90, 2]
Generated Node #0,4: 80:[49, 90, 2] Operation: 36/18=2
Moving to Node #0,0
Current State: 80:[18, 36, 41], Operations: ['90-49=41']
Exploring Operation: 41-36=5, Resulting Numbers: [18, 5]
Generated Node #0,0,0: 80:[18, 5] Operation: 41-36=5
Exploring Operation: 36/18=2, Resulting Numbers: [41, 2]
Generated Node #0,0,1: 80:[41, 2] Operation: 36/18=2
Exploring Operation: 36-18=18, Resulting Numbers: [41, 18]
Generated Node #0,0,2: 80:[41, 18] Operation: 36-18=18
Exploring Operation: 41-18=23, Resulting Numbers: [36, 23]
Generated Node #0,0,3: 80:[36, 23] Operation: 41-18=23
Exploring Operation: 36+41=77, Resulting Numbers: [18, 77]
Generated Node #0,0,4: 80:[18, 77] Operation: 36+41=77
Moving to Node #0,3
Current State: 80:[49, 36, 5], Operations: ['90/18=5']
Exploring Operation: 49-36=13, Resulting Numbers: [5, 13]
Generated Node #0,3,0: 80:[5, 13] Operation: 49-36=13
Exploring Operation: 49+36=85, Resulting Numbers: [5, 85]
Generated Node #0,3,1: 80:[5, 85] Operation: 49+36=85
Exploring Operation: 49+5=54, Resulting Numbers: [36, 54]
Generated Node #0,3,2: 80:[36, 54] Operation: 49+5=54
Exploring Operation: 49-5=44, Resulting Numbers: [36, 44]
Generated Node #0,3,3: 80:[36, 44] Operation: 49-5=44
Exploring Operation: 36+5=41, Resulting Numbers: [49, 41]
Generated Node #0,3,4: 80:[49, 41] Operation: 36+5=41
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 80:[5, 13], Operations: ['90/18=5', '49-36=13']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,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:[5, 85], Operations: ['90/18=5', '49+36=85']
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[49, 90, 18, 36], Operations: []
Exploring Operation: 90/18=5, Resulting Numbers: [49, 36, 5]
Generated Node #0,3: 80:[49, 36, 5] Operation: 90/18=5
Moving to Node #0,3
Current State: 80:[49, 36, 5], Operations: ['90/18=5']
Exploring Operation: 49+36=85, Resulting Numbers: [5, 85]
Generated Node #0,3,1: 80:[5, 85] Operation: 49+36=85
Moving to Node #0,3,1
Current State: 80:[5, 85], Operations: ['90/18=5', '49+36=85']
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | sum_heuristic |
[
9,
21,
73,
24
] | 79 | [
"9+21=30",
"73-24=49",
"30+49=79"
] | Current State: 79:[9, 21, 73, 24], Operations: []
Exploring Operation: 9+21=30, Resulting Numbers: [73, 24, 30]
Generated Node #2: [73, 24, 30] from Operation: 9+21=30
Current State: 79:[73, 24, 30], Operations: ['9+21=30']
Exploring Operation: 73-24=49, Resulting Numbers: [30, 49]
Generated Node #3: [30, 49] from Operation: 73-24=49
Current State: 79:[30, 49], Operations: ['9+21=30', '73-24=49']
Exploring Operation: 30+49=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[9, 21, 73, 24], Operations: []
Exploring Operation: 9+73=82, Resulting Numbers: [21, 24, 82]
Generated Node #0,0: 79:[21, 24, 82] Operation: 9+73=82
Exploring Operation: 21+24=45, Resulting Numbers: [9, 73, 45]
Generated Node #0,1: 79:[9, 73, 45] Operation: 21+24=45
Exploring Operation: 9+24=33, Resulting Numbers: [21, 73, 33]
Generated Node #0,2: 79:[21, 73, 33] Operation: 9+24=33
Exploring Operation: 9+21=30, Resulting Numbers: [73, 24, 30]
Generated Node #0,3: 79:[73, 24, 30] Operation: 9+21=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[9, 73, 45], Operations: ['21+24=45']
Exploring Operation: 73-9=64, Resulting Numbers: [45, 64]
Generated Node #0,1,0: 79:[45, 64] Operation: 73-9=64
Exploring Operation: 45-9=36, Resulting Numbers: [73, 36]
Generated Node #0,1,1: 79:[73, 36] Operation: 45-9=36
Exploring Operation: 9+45=54, Resulting Numbers: [73, 54]
Generated Node #0,1,2: 79:[73, 54] Operation: 9+45=54
Exploring Operation: 9+73=82, Resulting Numbers: [45, 82]
Generated Node #0,1,3: 79:[45, 82] Operation: 9+73=82
Moving to Node #0,1,2
Current State: 79:[73, 54], Operations: ['21+24=45', '9+45=54']
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,79 unequal: No Solution
Exploring Operation: 73+54=127, Resulting Numbers: [127]
127,79 unequal: No Solution
Exploring Operation: 73*54=3942, Resulting Numbers: [3942]
3942,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[45, 82], Operations: ['21+24=45', '9+73=82']
Exploring Operation: 45+82=127, Resulting Numbers: [127]
127,79 unequal: No Solution
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 45*82=3690, Resulting Numbers: [3690]
3690,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[73, 36], Operations: ['21+24=45', '45-9=36']
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 73+36=109, Resulting Numbers: [109]
109,79 unequal: No Solution
Exploring Operation: 73*36=2628, Resulting Numbers: [2628]
2628,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[45, 64], Operations: ['21+24=45', '73-9=64']
Exploring Operation: 45+64=109, Resulting Numbers: [109]
109,79 unequal: No Solution
Exploring Operation: 45*64=2880, Resulting Numbers: [2880]
2880,79 unequal: No Solution
Exploring Operation: 64-45=19, Resulting Numbers: [19]
19,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[21, 73, 33], Operations: ['9+24=33']
Exploring Operation: 21+33=54, Resulting Numbers: [73, 54]
Generated Node #0,2,0: 79:[73, 54] Operation: 21+33=54
Exploring Operation: 73-21=52, Resulting Numbers: [33, 52]
Generated Node #0,2,1: 79:[33, 52] Operation: 73-21=52
Exploring Operation: 21+73=94, Resulting Numbers: [33, 94]
Generated Node #0,2,2: 79:[33, 94] Operation: 21+73=94
Exploring Operation: 33-21=12, Resulting Numbers: [73, 12]
Generated Node #0,2,3: 79:[73, 12] Operation: 33-21=12
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[73, 54], Operations: ['9+24=33', '21+33=54']
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,79 unequal: No Solution
Exploring Operation: 73*54=3942, Resulting Numbers: [3942]
3942,79 unequal: No Solution
Exploring Operation: 73+54=127, Resulting Numbers: [127]
127,79 unequal: No Solution
No 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: 79:[33, 94], Operations: ['9+24=33', '21+73=94']
Exploring Operation: 94-33=61, Resulting Numbers: [61]
61,79 unequal: No Solution
Exploring Operation: 33*94=3102, Resulting Numbers: [3102]
3102,79 unequal: No Solution
Exploring Operation: 33+94=127, Resulting Numbers: [127]
127,79 unequal: No Solution
No 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: 79:[33, 52], Operations: ['9+24=33', '73-21=52']
Exploring Operation: 33+52=85, Resulting Numbers: [85]
85,79 unequal: No Solution
Exploring Operation: 33*52=1716, Resulting Numbers: [1716]
1716,79 unequal: No Solution
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,79 unequal: No Solution
No 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: 79:[73, 12], Operations: ['9+24=33', '33-21=12']
Exploring Operation: 73+12=85, Resulting Numbers: [85]
85,79 unequal: No Solution
Exploring Operation: 73*12=876, Resulting Numbers: [876]
876,79 unequal: No Solution
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,79 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: 79:[73, 24, 30], Operations: ['9+21=30']
Exploring Operation: 73+24=97, Resulting Numbers: [30, 97]
Generated Node #0,3,0: 79:[30, 97] Operation: 73+24=97
Exploring Operation: 73-24=49, Resulting Numbers: [30, 49]
Generated Node #0,3,1: 79:[30, 49] Operation: 73-24=49
Exploring Operation: 24+30=54, Resulting Numbers: [73, 54]
Generated Node #0,3,2: 79:[73, 54] Operation: 24+30=54
Exploring Operation: 73+30=103, Resulting Numbers: [24, 103]
Generated Node #0,3,3: 79:[24, 103] Operation: 73+30=103
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 79:[73, 54], Operations: ['9+21=30', '24+30=54']
Exploring Operation: 73*54=3942, Resulting Numbers: [3942]
3942,79 unequal: No Solution
Exploring Operation: 73+54=127, Resulting Numbers: [127]
127,79 unequal: No Solution
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,79 unequal: No Solution
No 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: 79:[30, 97], Operations: ['9+21=30', '73+24=97']
Exploring Operation: 97-30=67, Resulting Numbers: [67]
67,79 unequal: No Solution
Exploring Operation: 30*97=2910, Resulting Numbers: [2910]
2910,79 unequal: No Solution
Exploring Operation: 30+97=127, Resulting Numbers: [127]
127,79 unequal: No Solution
No 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: 79:[30, 49], Operations: ['9+21=30', '73-24=49']
Exploring Operation: 30*49=1470, Resulting Numbers: [1470]
1470,79 unequal: No Solution
Exploring Operation: 30+49=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[9, 21, 73, 24], Operations: []
Exploring Operation: 9+21=30, Resulting Numbers: [73, 24, 30]
Generated Node #0,3: 79:[73, 24, 30] Operation: 9+21=30
Moving to Node #0,3
Current State: 79:[73, 24, 30], Operations: ['9+21=30']
Exploring Operation: 73-24=49, Resulting Numbers: [30, 49]
Generated Node #0,3,1: 79:[30, 49] Operation: 73-24=49
Moving to Node #0,3,1
Current State: 79:[30, 49], Operations: ['9+21=30', '73-24=49']
Exploring Operation: 30+49=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.954861 | hs_4 | mult_heuristic |
[
55,
3,
85,
54
] | 12 | [
"85-55=30",
"54/3=18",
"30-18=12"
] | Current State: 12:[55, 3, 85, 54], Operations: []
Exploring Operation: 85-55=30, Resulting Numbers: [3, 54, 30]
Generated Node #2: [3, 54, 30] from Operation: 85-55=30
Current State: 12:[3, 54, 30], Operations: ['85-55=30']
Exploring Operation: 54/3=18, Resulting Numbers: [30, 18]
Generated Node #3: [30, 18] from Operation: 54/3=18
Current State: 12:[30, 18], Operations: ['85-55=30', '54/3=18']
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[55, 3, 85, 54], Operations: []
Exploring Operation: 85-55=30, Resulting Numbers: [3, 54, 30]
Generated Node #0,0: 12:[3, 54, 30] Operation: 85-55=30
Exploring Operation: 55-54=1, Resulting Numbers: [3, 85, 1]
Generated Node #0,1: 12:[3, 85, 1] Operation: 55-54=1
Exploring Operation: 85-54=31, Resulting Numbers: [55, 3, 31]
Generated Node #0,2: 12:[55, 3, 31] Operation: 85-54=31
Exploring Operation: 54/3=18, Resulting Numbers: [55, 85, 18]
Generated Node #0,3: 12:[55, 85, 18] Operation: 54/3=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[3, 54, 30], Operations: ['85-55=30']
Exploring Operation: 54-3=51, Resulting Numbers: [30, 51]
Generated Node #0,0,0: 12:[30, 51] Operation: 54-3=51
Exploring Operation: 30/3=10, Resulting Numbers: [54, 10]
Generated Node #0,0,1: 12:[54, 10] Operation: 30/3=10
Exploring Operation: 54/3=18, Resulting Numbers: [30, 18]
Generated Node #0,0,2: 12:[30, 18] Operation: 54/3=18
Exploring Operation: 54-30=24, Resulting Numbers: [3, 24]
Generated Node #0,0,3: 12:[3, 24] Operation: 54-30=24
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 12:[3, 24], Operations: ['85-55=30', '54-30=24']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,12 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,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:[30, 18], Operations: ['85-55=30', '54/3=18']
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,12 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[55, 3, 85, 54], Operations: []
Exploring Operation: 85-55=30, Resulting Numbers: [3, 54, 30]
Generated Node #0,0: 12:[3, 54, 30] Operation: 85-55=30
Moving to Node #0,0
Current State: 12:[3, 54, 30], Operations: ['85-55=30']
Exploring Operation: 54/3=18, Resulting Numbers: [30, 18]
Generated Node #0,0,2: 12:[30, 18] Operation: 54/3=18
Moving to Node #0,0,2
Current State: 12:[30, 18], Operations: ['85-55=30', '54/3=18']
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
41,
51,
18,
74
] | 66 | [
"51-41=10",
"74-18=56",
"10+56=66"
] | Current State: 66:[41, 51, 18, 74], Operations: []
Exploring Operation: 51-41=10, Resulting Numbers: [18, 74, 10]
Generated Node #2: [18, 74, 10] from Operation: 51-41=10
Current State: 66:[18, 74, 10], Operations: ['51-41=10']
Exploring Operation: 74-18=56, Resulting Numbers: [10, 56]
Generated Node #3: [10, 56] from Operation: 74-18=56
Current State: 66:[10, 56], Operations: ['51-41=10', '74-18=56']
Exploring Operation: 10+56=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[41, 51, 18, 74], Operations: []
Exploring Operation: 51-41=10, Resulting Numbers: [18, 74, 10]
Generated Node #0,0: 66:[18, 74, 10] Operation: 51-41=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[18, 74, 10], Operations: ['51-41=10']
Exploring Operation: 74-10=64, Resulting Numbers: [18, 64]
Generated Node #0,0,0: 66:[18, 64] Operation: 74-10=64
Moving to Node #0,0,0
Current State: 66:[18, 64], Operations: ['51-41=10', '74-10=64']
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
21,
63,
50,
54
] | 12 | [
"63/21=3",
"54-50=4",
"3*4=12"
] | Current State: 12:[21, 63, 50, 54], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [50, 54, 3]
Generated Node #2: [50, 54, 3] from Operation: 63/21=3
Current State: 12:[50, 54, 3], Operations: ['63/21=3']
Exploring Operation: 54-50=4, Resulting Numbers: [3, 4]
Generated Node #3: [3, 4] from Operation: 54-50=4
Current State: 12:[3, 4], Operations: ['63/21=3', '54-50=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[21, 63, 50, 54], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [50, 54, 3]
Generated Node #0,0: 12:[50, 54, 3] Operation: 63/21=3
Exploring Operation: 54-50=4, Resulting Numbers: [21, 63, 4]
Generated Node #0,1: 12:[21, 63, 4] Operation: 54-50=4
Exploring Operation: 63-50=13, Resulting Numbers: [21, 54, 13]
Generated Node #0,2: 12:[21, 54, 13] Operation: 63-50=13
Exploring Operation: 63-54=9, Resulting Numbers: [21, 50, 9]
Generated Node #0,3: 12:[21, 50, 9] Operation: 63-54=9
Moving to Node #0,3
Current State: 12:[21, 50, 9], Operations: ['63-54=9']
Exploring Operation: 50-21=29, Resulting Numbers: [9, 29]
Generated Node #0,3,0: 12:[9, 29] Operation: 50-21=29
Exploring Operation: 21+9=30, Resulting Numbers: [50, 30]
Generated Node #0,3,1: 12:[50, 30] Operation: 21+9=30
Exploring Operation: 21-9=12, Resulting Numbers: [50, 12]
Generated Node #0,3,2: 12:[50, 12] Operation: 21-9=12
Exploring Operation: 50-9=41, Resulting Numbers: [21, 41]
Generated Node #0,3,3: 12:[21, 41] Operation: 50-9=41
Moving to Node #0,2
Current State: 12:[21, 54, 13], Operations: ['63-50=13']
Exploring Operation: 54-13=41, Resulting Numbers: [21, 41]
Generated Node #0,2,0: 12:[21, 41] Operation: 54-13=41
Exploring Operation: 54-21=33, Resulting Numbers: [13, 33]
Generated Node #0,2,1: 12:[13, 33] Operation: 54-21=33
Exploring Operation: 21-13=8, Resulting Numbers: [54, 8]
Generated Node #0,2,2: 12:[54, 8] Operation: 21-13=8
Exploring Operation: 21+54=75, Resulting Numbers: [13, 75]
Generated Node #0,2,3: 12:[13, 75] Operation: 21+54=75
Moving to Node #0,1
Current State: 12:[21, 63, 4], Operations: ['54-50=4']
Exploring Operation: 21-4=17, Resulting Numbers: [63, 17]
Generated Node #0,1,0: 12:[63, 17] Operation: 21-4=17
Exploring Operation: 63/21=3, Resulting Numbers: [4, 3]
Generated Node #0,1,1: 12:[4, 3] Operation: 63/21=3
Exploring Operation: 63-21=42, Resulting Numbers: [4, 42]
Generated Node #0,1,2: 12:[4, 42] Operation: 63-21=42
Exploring Operation: 63-4=59, Resulting Numbers: [21, 59]
Generated Node #0,1,3: 12:[21, 59] Operation: 63-4=59
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[4, 3], Operations: ['54-50=4', '63/21=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[21, 63, 50, 54], Operations: []
Exploring Operation: 54-50=4, Resulting Numbers: [21, 63, 4]
Generated Node #0,1: 12:[21, 63, 4] Operation: 54-50=4
Moving to Node #0,1
Current State: 12:[21, 63, 4], Operations: ['54-50=4']
Exploring Operation: 63/21=3, Resulting Numbers: [4, 3]
Generated Node #0,1,1: 12:[4, 3] Operation: 63/21=3
Moving to Node #0,1,1
Current State: 12:[4, 3], Operations: ['54-50=4', '63/21=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | mult_heuristic |
[
2,
4,
77,
96
] | 58 | [
"4-2=2",
"77*2=154",
"154-96=58"
] | Current State: 58:[2, 4, 77, 96], Operations: []
Exploring Operation: 4-2=2, Resulting Numbers: [77, 96, 2]
Generated Node #2: [77, 96, 2] from Operation: 4-2=2
Current State: 58:[77, 96, 2], Operations: ['4-2=2']
Exploring Operation: 77*2=154, Resulting Numbers: [96, 154]
Generated Node #3: [96, 154] from Operation: 77*2=154
Current State: 58:[96, 154], Operations: ['4-2=2', '77*2=154']
Exploring Operation: 154-96=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[2, 4, 77, 96], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [2, 77, 24]
Generated Node #0,0: 58:[2, 77, 24] Operation: 96/4=24
Exploring Operation: 96/2=48, Resulting Numbers: [4, 77, 48]
Generated Node #0,1: 58:[4, 77, 48] Operation: 96/2=48
Exploring Operation: 96-77=19, Resulting Numbers: [2, 4, 19]
Generated Node #0,2: 58:[2, 4, 19] Operation: 96-77=19
Moving to Node #0,2
Current State: 58:[2, 4, 19], Operations: ['96-77=19']
Exploring Operation: 4/2=2, Resulting Numbers: [19, 2]
Generated Node #0,2,0: 58:[19, 2] Operation: 4/2=2
Exploring Operation: 4+19=23, Resulting Numbers: [2, 23]
Generated Node #0,2,1: 58:[2, 23] Operation: 4+19=23
Exploring Operation: 4-2=2, Resulting Numbers: [19, 2]
Generated Node #0,2,2: 58:[19, 2] Operation: 4-2=2
Moving to Node #0,0
Current State: 58:[2, 77, 24], Operations: ['96/4=24']
Exploring Operation: 77-2=75, Resulting Numbers: [24, 75]
Generated Node #0,0,0: 58:[24, 75] Operation: 77-2=75
Exploring Operation: 77-24=53, Resulting Numbers: [2, 53]
Generated Node #0,0,1: 58:[2, 53] Operation: 77-24=53
Exploring Operation: 2+24=26, Resulting Numbers: [77, 26]
Generated Node #0,0,2: 58:[77, 26] Operation: 2+24=26
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[2, 53], Operations: ['96/4=24', '77-24=53']
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,58 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,58 unequal: No Solution
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[24, 75], Operations: ['96/4=24', '77-2=75']
Exploring Operation: 24*75=1800, Resulting Numbers: [1800]
1800,58 unequal: No Solution
Exploring Operation: 75-24=51, Resulting Numbers: [51]
51,58 unequal: No Solution
Exploring Operation: 24+75=99, Resulting Numbers: [99]
99,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,2
Current State: 58:[77, 26], Operations: ['96/4=24', '2+24=26']
Exploring Operation: 77*26=2002, Resulting Numbers: [2002]
2002,58 unequal: No Solution
Exploring Operation: 77+26=103, Resulting Numbers: [103]
103,58 unequal: No Solution
Exploring Operation: 77-26=51, Resulting Numbers: [51]
51,58 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: 58:[4, 77, 48], Operations: ['96/2=48']
Exploring Operation: 4+48=52, Resulting Numbers: [77, 52]
Generated Node #0,1,0: 58:[77, 52] Operation: 4+48=52
Exploring Operation: 77-4=73, Resulting Numbers: [48, 73]
Generated Node #0,1,1: 58:[48, 73] Operation: 77-4=73
Exploring Operation: 77-48=29, Resulting Numbers: [4, 29]
Generated Node #0,1,2: 58:[4, 29] Operation: 77-48=29
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 58:[4, 29], Operations: ['96/2=48', '77-48=29']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,58 unequal: No Solution
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 4*29=116, Resulting Numbers: [116]
116,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:[77, 52], Operations: ['96/2=48', '4+48=52']
Exploring Operation: 77*52=4004, Resulting Numbers: [4004]
4004,58 unequal: No Solution
Exploring Operation: 77+52=129, Resulting Numbers: [129]
129,58 unequal: No Solution
Exploring Operation: 77-52=25, Resulting Numbers: [25]
25,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[48, 73], Operations: ['96/2=48', '77-4=73']
Exploring Operation: 73-48=25, Resulting Numbers: [25]
25,58 unequal: No Solution
Exploring Operation: 48*73=3504, Resulting Numbers: [3504]
3504,58 unequal: No Solution
Exploring Operation: 48+73=121, Resulting Numbers: [121]
121,58 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: 58:[2, 23], Operations: ['96-77=19', '4+19=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,58 unequal: No Solution
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,58 unequal: No Solution
Moving to Node #0,2,0
Current State: 58:[19, 2], Operations: ['96-77=19', '4/2=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,58 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,58 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[19, 2], Operations: ['96-77=19', '4-2=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,58 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,58 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
7,
76,
3,
4
] | 90 | [
"7+76=83",
"3+4=7",
"83+7=90"
] | Current State: 90:[7, 76, 3, 4], Operations: []
Exploring Operation: 7+76=83, Resulting Numbers: [3, 4, 83]
Generated Node #2: [3, 4, 83] from Operation: 7+76=83
Current State: 90:[3, 4, 83], Operations: ['7+76=83']
Exploring Operation: 3+4=7, Resulting Numbers: [83, 7]
Generated Node #3: [83, 7] from Operation: 3+4=7
Current State: 90:[83, 7], Operations: ['7+76=83', '3+4=7']
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[7, 76, 3, 4], Operations: []
Exploring Operation: 76/4=19, Resulting Numbers: [7, 3, 19]
Generated Node #0,0: 90:[7, 3, 19] Operation: 76/4=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[7, 3, 19], Operations: ['76/4=19']
Exploring Operation: 7+3=10, Resulting Numbers: [19, 10]
Generated Node #0,0,0: 90:[19, 10] Operation: 7+3=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[19, 10], Operations: ['76/4=19', '7+3=10']
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
60,
17,
20,
23
] | 86 | [
"60-17=43",
"20+23=43",
"43+43=86"
] | Current State: 86:[60, 17, 20, 23], Operations: []
Exploring Operation: 60-17=43, Resulting Numbers: [20, 23, 43]
Generated Node #2: [20, 23, 43] from Operation: 60-17=43
Current State: 86:[20, 23, 43], Operations: ['60-17=43']
Exploring Operation: 20+23=43, Resulting Numbers: [43, 43]
Generated Node #3: [43, 43] from Operation: 20+23=43
Current State: 86:[43, 43], Operations: ['60-17=43', '20+23=43']
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[60, 17, 20, 23], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [60, 17, 3]
Generated Node #0,0: 86:[60, 17, 3] Operation: 23-20=3
Exploring Operation: 20+23=43, Resulting Numbers: [60, 17, 43]
Generated Node #0,1: 86:[60, 17, 43] Operation: 20+23=43
Exploring Operation: 60/20=3, Resulting Numbers: [17, 23, 3]
Generated Node #0,2: 86:[17, 23, 3] Operation: 60/20=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[60, 17, 43], Operations: ['20+23=43']
Exploring Operation: 60-43=17, Resulting Numbers: [17, 17]
Generated Node #0,1,0: 86:[17, 17] Operation: 60-43=17
Exploring Operation: 60-17=43, Resulting Numbers: [43, 43]
Generated Node #0,1,1: 86:[43, 43] Operation: 60-17=43
Exploring Operation: 60+17=77, Resulting Numbers: [43, 77]
Generated Node #0,1,2: 86:[43, 77] Operation: 60+17=77
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 86:[43, 43], Operations: ['20+23=43', '60-17=43']
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[60, 17, 20, 23], Operations: []
Exploring Operation: 20+23=43, Resulting Numbers: [60, 17, 43]
Generated Node #0,1: 86:[60, 17, 43] Operation: 20+23=43
Moving to Node #0,1
Current State: 86:[60, 17, 43], Operations: ['20+23=43']
Exploring Operation: 60-17=43, Resulting Numbers: [43, 43]
Generated Node #0,1,1: 86:[43, 43] Operation: 60-17=43
Moving to Node #0,1,1
Current State: 86:[43, 43], Operations: ['20+23=43', '60-17=43']
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
21,
47,
9,
21
] | 57 | [
"21/21=1",
"47+9=56",
"1+56=57"
] | Current State: 57:[21, 47, 9, 21], Operations: []
Exploring Operation: 21/21=1, Resulting Numbers: [47, 9, 1]
Generated Node #2: [47, 9, 1] from Operation: 21/21=1
Current State: 57:[47, 9, 1], Operations: ['21/21=1']
Exploring Operation: 47+9=56, Resulting Numbers: [1, 56]
Generated Node #3: [1, 56] from Operation: 47+9=56
Current State: 57:[1, 56], Operations: ['21/21=1', '47+9=56']
Exploring Operation: 1+56=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[21, 47, 9, 21], Operations: []
Exploring Operation: 21+47=68, Resulting Numbers: [9, 21, 68]
Generated Node #0,0: 57:[9, 21, 68] Operation: 21+47=68
Exploring Operation: 47-21=26, Resulting Numbers: [21, 9, 26]
Generated Node #0,1: 57:[21, 9, 26] Operation: 47-21=26
Exploring Operation: 47-21=26, Resulting Numbers: [9, 21, 26]
Generated Node #0,2: 57:[9, 21, 26] Operation: 47-21=26
Exploring Operation: 47+9=56, Resulting Numbers: [21, 21, 56]
Generated Node #0,3: 57:[21, 21, 56] Operation: 47+9=56
Exploring Operation: 21/21=1, Resulting Numbers: [47, 9, 1]
Generated Node #0,4: 57:[47, 9, 1] Operation: 21/21=1
Moving to Node #0,3
Current State: 57:[21, 21, 56], Operations: ['47+9=56']
Exploring Operation: 21/21=1, Resulting Numbers: [56, 1]
Generated Node #0,3,0: 57:[56, 1] Operation: 21/21=1
Exploring Operation: 56-21=35, Resulting Numbers: [21, 35]
Generated Node #0,3,1: 57:[21, 35] Operation: 56-21=35
Exploring Operation: 56-21=35, Resulting Numbers: [21, 35]
Generated Node #0,3,2: 57:[21, 35] Operation: 56-21=35
Exploring Operation: 21+21=42, Resulting Numbers: [56, 42]
Generated Node #0,3,3: 57:[56, 42] Operation: 21+21=42
Exploring Operation: 21-21=0, Resulting Numbers: [56, 0]
Generated Node #0,3,4: 57:[56, 0] Operation: 21-21=0
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 57:[56, 1], Operations: ['47+9=56', '21/21=1']
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[21, 47, 9, 21], Operations: []
Exploring Operation: 47+9=56, Resulting Numbers: [21, 21, 56]
Generated Node #0,3: 57:[21, 21, 56] Operation: 47+9=56
Moving to Node #0,3
Current State: 57:[21, 21, 56], Operations: ['47+9=56']
Exploring Operation: 21/21=1, Resulting Numbers: [56, 1]
Generated Node #0,3,0: 57:[56, 1] Operation: 21/21=1
Moving to Node #0,3,0
Current State: 57:[56, 1], Operations: ['47+9=56', '21/21=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
45,
33,
60,
84
] | 12 | [
"45-33=12",
"60+84=144",
"144/12=12"
] | Current State: 12:[45, 33, 60, 84], Operations: []
Exploring Operation: 45-33=12, Resulting Numbers: [60, 84, 12]
Generated Node #2: [60, 84, 12] from Operation: 45-33=12
Current State: 12:[60, 84, 12], Operations: ['45-33=12']
Exploring Operation: 60+84=144, Resulting Numbers: [12, 144]
Generated Node #3: [12, 144] from Operation: 60+84=144
Current State: 12:[12, 144], Operations: ['45-33=12', '60+84=144']
Exploring Operation: 144/12=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[45, 33, 60, 84], Operations: []
Exploring Operation: 84-45=39, Resulting Numbers: [33, 60, 39]
Generated Node #0,0: 12:[33, 60, 39] Operation: 84-45=39
Exploring Operation: 60-45=15, Resulting Numbers: [33, 84, 15]
Generated Node #0,1: 12:[33, 84, 15] Operation: 60-45=15
Exploring Operation: 84-60=24, Resulting Numbers: [45, 33, 24]
Generated Node #0,2: 12:[45, 33, 24] Operation: 84-60=24
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[45, 33, 24], Operations: ['84-60=24']
Exploring Operation: 45-33=12, Resulting Numbers: [24, 12]
Generated Node #0,2,0: 12:[24, 12] Operation: 45-33=12
Exploring Operation: 45-24=21, Resulting Numbers: [33, 21]
Generated Node #0,2,1: 12:[33, 21] Operation: 45-24=21
Exploring Operation: 33-24=9, Resulting Numbers: [45, 9]
Generated Node #0,2,2: 12:[45, 9] Operation: 33-24=9
Moving to Node #0,2,0
Current State: 12:[24, 12], Operations: ['84-60=24', '45-33=12']
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 24+12=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[45, 33, 60, 84], Operations: []
Exploring Operation: 84-60=24, Resulting Numbers: [45, 33, 24]
Generated Node #0,2: 12:[45, 33, 24] Operation: 84-60=24
Moving to Node #0,2
Current State: 12:[45, 33, 24], Operations: ['84-60=24']
Exploring Operation: 45-33=12, Resulting Numbers: [24, 12]
Generated Node #0,2,0: 12:[24, 12] Operation: 45-33=12
Moving to Node #0,2,0
Current State: 12:[24, 12], Operations: ['84-60=24', '45-33=12']
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
11,
5,
3,
70
] | 19 | [
"11*3=33",
"70/5=14",
"33-14=19"
] | Current State: 19:[11, 5, 3, 70], Operations: []
Exploring Operation: 11*3=33, Resulting Numbers: [5, 70, 33]
Generated Node #2: [5, 70, 33] from Operation: 11*3=33
Current State: 19:[5, 70, 33], Operations: ['11*3=33']
Exploring Operation: 70/5=14, Resulting Numbers: [33, 14]
Generated Node #3: [33, 14] from Operation: 70/5=14
Current State: 19:[33, 14], Operations: ['11*3=33', '70/5=14']
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[11, 5, 3, 70], Operations: []
Exploring Operation: 70/5=14, Resulting Numbers: [11, 3, 14]
Generated Node #0,0: 19:[11, 3, 14] Operation: 70/5=14
Moving to Node #0,0
Current State: 19:[11, 3, 14], Operations: ['70/5=14']
Exploring Operation: 11+3=14, Resulting Numbers: [14, 14]
Generated Node #0,0,0: 19:[14, 14] Operation: 11+3=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[14, 14], Operations: ['70/5=14', '11+3=14']
Exploring Operation: 14+14=28, Resulting Numbers: [28]
28,19 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 |
[
14,
32,
3,
22
] | 96 | [
"14*3=42",
"32+22=54",
"42+54=96"
] | Current State: 96:[14, 32, 3, 22], Operations: []
Exploring Operation: 14*3=42, Resulting Numbers: [32, 22, 42]
Generated Node #2: [32, 22, 42] from Operation: 14*3=42
Current State: 96:[32, 22, 42], Operations: ['14*3=42']
Exploring Operation: 32+22=54, Resulting Numbers: [42, 54]
Generated Node #3: [42, 54] from Operation: 32+22=54
Current State: 96:[42, 54], Operations: ['14*3=42', '32+22=54']
Exploring Operation: 42+54=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[14, 32, 3, 22], Operations: []
Exploring Operation: 22-14=8, Resulting Numbers: [32, 3, 8]
Generated Node #0,0: 96:[32, 3, 8] Operation: 22-14=8
Exploring Operation: 3+22=25, Resulting Numbers: [14, 32, 25]
Generated Node #0,1: 96:[14, 32, 25] Operation: 3+22=25
Exploring Operation: 14+32=46, Resulting Numbers: [3, 22, 46]
Generated Node #0,2: 96:[3, 22, 46] Operation: 14+32=46
Exploring Operation: 14+3=17, Resulting Numbers: [32, 22, 17]
Generated Node #0,3: 96:[32, 22, 17] Operation: 14+3=17
Exploring Operation: 14-3=11, Resulting Numbers: [32, 22, 11]
Generated Node #0,4: 96:[32, 22, 11] Operation: 14-3=11
Moving to Node #0,0
Current State: 96:[32, 3, 8], Operations: ['22-14=8']
Exploring Operation: 32-8=24, Resulting Numbers: [3, 24]
Generated Node #0,0,0: 96:[3, 24] Operation: 32-8=24
Exploring Operation: 32*3=96, Resulting Numbers: [8, 96]
Generated Node #0,0,1: 96:[8, 96] Operation: 32*3=96
Exploring Operation: 3*8=24, Resulting Numbers: [32, 24]
Generated Node #0,0,2: 96:[32, 24] Operation: 3*8=24
Exploring Operation: 32/8=4, Resulting Numbers: [3, 4]
Generated Node #0,0,3: 96:[3, 4] Operation: 32/8=4
Exploring Operation: 3+8=11, Resulting Numbers: [32, 11]
Generated Node #0,0,4: 96:[32, 11] Operation: 3+8=11
Moving to Node #0,3
Current State: 96:[32, 22, 17], Operations: ['14+3=17']
Exploring Operation: 32-22=10, Resulting Numbers: [17, 10]
Generated Node #0,3,0: 96:[17, 10] Operation: 32-22=10
Exploring Operation: 32+22=54, Resulting Numbers: [17, 54]
Generated Node #0,3,1: 96:[17, 54] Operation: 32+22=54
Exploring Operation: 32-17=15, Resulting Numbers: [22, 15]
Generated Node #0,3,2: 96:[22, 15] Operation: 32-17=15
Exploring Operation: 22-17=5, Resulting Numbers: [32, 5]
Generated Node #0,3,3: 96:[32, 5] Operation: 22-17=5
Exploring Operation: 32+17=49, Resulting Numbers: [22, 49]
Generated Node #0,3,4: 96:[22, 49] Operation: 32+17=49
Moving to Node #0,1
Current State: 96:[14, 32, 25], Operations: ['3+22=25']
Exploring Operation: 14+25=39, Resulting Numbers: [32, 39]
Generated Node #0,1,0: 96:[32, 39] Operation: 14+25=39
Exploring Operation: 32-14=18, Resulting Numbers: [25, 18]
Generated Node #0,1,1: 96:[25, 18] Operation: 32-14=18
Exploring Operation: 32-25=7, Resulting Numbers: [14, 7]
Generated Node #0,1,2: 96:[14, 7] Operation: 32-25=7
Exploring Operation: 14+32=46, Resulting Numbers: [25, 46]
Generated Node #0,1,3: 96:[25, 46] Operation: 14+32=46
Exploring Operation: 25-14=11, Resulting Numbers: [32, 11]
Generated Node #0,1,4: 96:[32, 11] Operation: 25-14=11
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 96:[32, 11], Operations: ['3+22=25', '25-14=11']
Exploring Operation: 32*11=352, Resulting Numbers: [352]
352,96 unequal: No Solution
Exploring Operation: 32+11=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[25, 18], Operations: ['3+22=25', '32-14=18']
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 25+18=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Exploring Operation: 25*18=450, Resulting Numbers: [450]
450,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 96:[14, 7], Operations: ['3+22=25', '32-25=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 96:[25, 46], Operations: ['3+22=25', '14+32=46']
Exploring Operation: 25+46=71, Resulting Numbers: [71]
71,96 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 25*46=1150, Resulting Numbers: [1150]
1150,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[32, 39], Operations: ['3+22=25', '14+25=39']
Exploring Operation: 32*39=1248, Resulting Numbers: [1248]
1248,96 unequal: No Solution
Exploring Operation: 32+39=71, Resulting Numbers: [71]
71,96 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 96:[32, 22, 11], Operations: ['14-3=11']
Exploring Operation: 32-22=10, Resulting Numbers: [11, 10]
Generated Node #0,4,0: 96:[11, 10] Operation: 32-22=10
Exploring Operation: 22-11=11, Resulting Numbers: [32, 11]
Generated Node #0,4,1: 96:[32, 11] Operation: 22-11=11
Exploring Operation: 22+11=33, Resulting Numbers: [32, 33]
Generated Node #0,4,2: 96:[32, 33] Operation: 22+11=33
Exploring Operation: 32-11=21, Resulting Numbers: [22, 21]
Generated Node #0,4,3: 96:[22, 21] Operation: 32-11=21
Exploring Operation: 22/11=2, Resulting Numbers: [32, 2]
Generated Node #0,4,4: 96:[32, 2] Operation: 22/11=2
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 96:[32, 2], Operations: ['14-3=11', '22/11=2']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 96:[32, 11], Operations: ['14-3=11', '22-11=11']
Exploring Operation: 32+11=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Exploring Operation: 32*11=352, Resulting Numbers: [352]
352,96 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 96:[32, 33], Operations: ['14-3=11', '22+11=33']
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,96 unequal: No Solution
Exploring Operation: 32*33=1056, Resulting Numbers: [1056]
1056,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 96:[11, 10], Operations: ['14-3=11', '32-22=10']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,96 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 96:[22, 21], Operations: ['14-3=11', '32-11=21']
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 22*21=462, Resulting Numbers: [462]
462,96 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: 96:[3, 22, 46], Operations: ['14+32=46']
Exploring Operation: 46-3=43, Resulting Numbers: [22, 43]
Generated Node #0,2,0: 96:[22, 43] Operation: 46-3=43
Exploring Operation: 3+22=25, Resulting Numbers: [46, 25]
Generated Node #0,2,1: 96:[46, 25] Operation: 3+22=25
Exploring Operation: 22-3=19, Resulting Numbers: [46, 19]
Generated Node #0,2,2: 96:[46, 19] Operation: 22-3=19
Exploring Operation: 3+46=49, Resulting Numbers: [22, 49]
Generated Node #0,2,3: 96:[22, 49] Operation: 3+46=49
Exploring Operation: 46-22=24, Resulting Numbers: [3, 24]
Generated Node #0,2,4: 96:[3, 24] Operation: 46-22=24
Moving to Node #0,0,0
Current State: 96:[3, 24], Operations: ['22-14=8', '32-8=24']
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[32, 24], Operations: ['22-14=8', '3*8=24']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,96 unequal: No Solution
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[8, 96], Operations: ['22-14=8', '32*3=96']
Exploring Operation: 8*96=768, Resulting Numbers: [768]
768,96 unequal: No Solution
Exploring Operation: 96-8=88, Resulting Numbers: [88]
88,96 unequal: No Solution
Exploring Operation: 96/8=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 8+96=104, Resulting Numbers: [104]
104,96 unequal: No Solution
Moving to Node #0,2,4
Current State: 96:[3, 24], Operations: ['14+32=46', '46-22=24']
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[3, 4], Operations: ['22-14=8', '32/8=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Moving to Node #0,3,3
Current State: 96:[32, 5], Operations: ['14+3=17', '22-17=5']
Exploring Operation: 32*5=160, Resulting Numbers: [160]
160,96 unequal: No Solution
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,96 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Moving to Node #0,0,4
Current State: 96:[32, 11], Operations: ['22-14=8', '3+8=11']
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 32*11=352, Resulting Numbers: [352]
352,96 unequal: No Solution
Exploring Operation: 32+11=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Moving to Node #0,3,0
Current State: 96:[17, 10], Operations: ['14+3=17', '32-22=10']
Exploring Operation: 17+10=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Exploring Operation: 17*10=170, Resulting Numbers: [170]
170,96 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Moving to Node #0,2,3
Current State: 96:[22, 49], Operations: ['14+32=46', '3+46=49']
Exploring Operation: 22*49=1078, Resulting Numbers: [1078]
1078,96 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Exploring Operation: 22+49=71, Resulting Numbers: [71]
71,96 unequal: No Solution
Moving to Node #0,3,2
Current State: 96:[22, 15], Operations: ['14+3=17', '32-17=15']
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,96 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,96 unequal: No Solution
Exploring Operation: 22*15=330, Resulting Numbers: [330]
330,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[46, 25], Operations: ['14+32=46', '3+22=25']
Exploring Operation: 46*25=1150, Resulting Numbers: [1150]
1150,96 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,96 unequal: No Solution
Moving to Node #0,3,4
Current State: 96:[22, 49], Operations: ['14+3=17', '32+17=49']
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Exploring Operation: 22*49=1078, Resulting Numbers: [1078]
1078,96 unequal: No Solution
Exploring Operation: 22+49=71, Resulting Numbers: [71]
71,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[46, 19], Operations: ['14+32=46', '22-3=19']
Exploring Operation: 46*19=874, Resulting Numbers: [874]
874,96 unequal: No Solution
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Exploring Operation: 46+19=65, Resulting Numbers: [65]
65,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[22, 43], Operations: ['14+32=46', '46-3=43']
Exploring Operation: 22*43=946, Resulting Numbers: [946]
946,96 unequal: No Solution
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 22+43=65, Resulting Numbers: [65]
65,96 unequal: No Solution
Moving to Node #0,3,1
Current State: 96:[17, 54], Operations: ['14+3=17', '32+22=54']
Exploring Operation: 17*54=918, Resulting Numbers: [918]
918,96 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,96 unequal: No Solution
Exploring Operation: 17+54=71, Resulting Numbers: [71]
71,96 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
45,
12,
1,
17
] | 41 | [
"45+12=57",
"17-1=16",
"57-16=41"
] | Current State: 41:[45, 12, 1, 17], Operations: []
Exploring Operation: 45+12=57, Resulting Numbers: [1, 17, 57]
Generated Node #2: [1, 17, 57] from Operation: 45+12=57
Current State: 41:[1, 17, 57], Operations: ['45+12=57']
Exploring Operation: 17-1=16, Resulting Numbers: [57, 16]
Generated Node #3: [57, 16] from Operation: 17-1=16
Current State: 41:[57, 16], Operations: ['45+12=57', '17-1=16']
Exploring Operation: 57-16=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[45, 12, 1, 17], Operations: []
Exploring Operation: 12+1=13, Resulting Numbers: [45, 17, 13]
Generated Node #0,0: 41:[45, 17, 13] Operation: 12+1=13
Exploring Operation: 1+17=18, Resulting Numbers: [45, 12, 18]
Generated Node #0,1: 41:[45, 12, 18] Operation: 1+17=18
Exploring Operation: 12+17=29, Resulting Numbers: [45, 1, 29]
Generated Node #0,2: 41:[45, 1, 29] Operation: 12+17=29
Exploring Operation: 45*1=45, Resulting Numbers: [12, 17, 45]
Generated Node #0,3: 41:[12, 17, 45] Operation: 45*1=45
Exploring Operation: 45-1=44, Resulting Numbers: [12, 17, 44]
Generated Node #0,4: 41:[12, 17, 44] Operation: 45-1=44
Moving to Node #0,0
Current State: 41:[45, 17, 13], Operations: ['12+1=13']
Exploring Operation: 17-13=4, Resulting Numbers: [45, 4]
Generated Node #0,0,0: 41:[45, 4] Operation: 17-13=4
Exploring Operation: 45-13=32, Resulting Numbers: [17, 32]
Generated Node #0,0,1: 41:[17, 32] Operation: 45-13=32
Exploring Operation: 17+13=30, Resulting Numbers: [45, 30]
Generated Node #0,0,2: 41:[45, 30] Operation: 17+13=30
Exploring Operation: 45+13=58, Resulting Numbers: [17, 58]
Generated Node #0,0,3: 41:[17, 58] Operation: 45+13=58
Exploring Operation: 45-17=28, Resulting Numbers: [13, 28]
Generated Node #0,0,4: 41:[13, 28] Operation: 45-17=28
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[45, 30], Operations: ['12+1=13', '17+13=30']
Exploring Operation: 45*30=1350, Resulting Numbers: [1350]
1350,41 unequal: No Solution
Exploring Operation: 45+30=75, Resulting Numbers: [75]
75,41 unequal: No Solution
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[17, 32], Operations: ['12+1=13', '45-13=32']
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,41 unequal: No Solution
Exploring Operation: 17+32=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Exploring Operation: 17*32=544, Resulting Numbers: [544]
544,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[45, 4], Operations: ['12+1=13', '17-13=4']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[45, 12, 1, 17], Operations: []
Exploring Operation: 12+1=13, Resulting Numbers: [45, 17, 13]
Generated Node #0,0: 41:[45, 17, 13] Operation: 12+1=13
Moving to Node #0,0
Current State: 41:[45, 17, 13], Operations: ['12+1=13']
Exploring Operation: 17-13=4, Resulting Numbers: [45, 4]
Generated Node #0,0,0: 41:[45, 4] Operation: 17-13=4
Moving to Node #0,0,0
Current State: 41:[45, 4], Operations: ['12+1=13', '17-13=4']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
98,
80,
91,
73
] | 85 | [
"80-73=7",
"91/7=13",
"98-13=85"
] | Current State: 85:[98, 80, 91, 73], Operations: []
Exploring Operation: 80-73=7, Resulting Numbers: [98, 91, 7]
Generated Node #2: [98, 91, 7] from Operation: 80-73=7
Current State: 85:[98, 91, 7], Operations: ['80-73=7']
Exploring Operation: 91/7=13, Resulting Numbers: [98, 13]
Generated Node #3: [98, 13] from Operation: 91/7=13
Current State: 85:[98, 13], Operations: ['80-73=7', '91/7=13']
Exploring Operation: 98-13=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[98, 80, 91, 73], Operations: []
Exploring Operation: 98-80=18, Resulting Numbers: [91, 73, 18]
Generated Node #0,0: 85:[91, 73, 18] Operation: 98-80=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[91, 73, 18], Operations: ['98-80=18']
Exploring Operation: 91-73=18, Resulting Numbers: [18, 18]
Generated Node #0,0,0: 85:[18, 18] Operation: 91-73=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[18, 18], Operations: ['98-80=18', '91-73=18']
Exploring Operation: 18/18=1, Resulting Numbers: [1]
1,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
2,
25,
94,
13
] | 100 | [
"25-13=12",
"12/2=6",
"94+6=100"
] | Current State: 100:[2, 25, 94, 13], Operations: []
Exploring Operation: 25-13=12, Resulting Numbers: [2, 94, 12]
Generated Node #2: [2, 94, 12] from Operation: 25-13=12
Current State: 100:[2, 94, 12], Operations: ['25-13=12']
Exploring Operation: 12/2=6, Resulting Numbers: [94, 6]
Generated Node #3: [94, 6] from Operation: 12/2=6
Current State: 100:[94, 6], Operations: ['25-13=12', '12/2=6']
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[2, 25, 94, 13], Operations: []
Exploring Operation: 94/2=47, Resulting Numbers: [25, 13, 47]
Generated Node #0,0: 100:[25, 13, 47] Operation: 94/2=47
Exploring Operation: 94+13=107, Resulting Numbers: [2, 25, 107]
Generated Node #0,1: 100:[2, 25, 107] Operation: 94+13=107
Exploring Operation: 2*13=26, Resulting Numbers: [25, 94, 26]
Generated Node #0,2: 100:[25, 94, 26] Operation: 2*13=26
Exploring Operation: 2+94=96, Resulting Numbers: [25, 13, 96]
Generated Node #0,3: 100:[25, 13, 96] Operation: 2+94=96
Exploring Operation: 13-2=11, Resulting Numbers: [25, 94, 11]
Generated Node #0,4: 100:[25, 94, 11] Operation: 13-2=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[25, 13, 47], Operations: ['94/2=47']
Exploring Operation: 25-13=12, Resulting Numbers: [47, 12]
Generated Node #0,0,0: 100:[47, 12] Operation: 25-13=12
Exploring Operation: 47-25=22, Resulting Numbers: [13, 22]
Generated Node #0,0,1: 100:[13, 22] Operation: 47-25=22
Exploring Operation: 25+13=38, Resulting Numbers: [47, 38]
Generated Node #0,0,2: 100:[47, 38] Operation: 25+13=38
Exploring Operation: 47-13=34, Resulting Numbers: [25, 34]
Generated Node #0,0,3: 100:[25, 34] Operation: 47-13=34
Exploring Operation: 13+47=60, Resulting Numbers: [25, 60]
Generated Node #0,0,4: 100:[25, 60] Operation: 13+47=60
Moving to Node #0,0,0
Current State: 100:[47, 12], Operations: ['94/2=47', '25-13=12']
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,100 unequal: No Solution
Exploring Operation: 47+12=59, Resulting Numbers: [59]
59,100 unequal: No Solution
Exploring Operation: 47*12=564, Resulting Numbers: [564]
564,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[13, 22], Operations: ['94/2=47', '47-25=22']
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,100 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[25, 34], Operations: ['94/2=47', '47-13=34']
Exploring Operation: 25*34=850, Resulting Numbers: [850]
850,100 unequal: No Solution
Exploring Operation: 25+34=59, Resulting Numbers: [59]
59,100 unequal: No Solution
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Moving to Node #0,0,4
Current State: 100:[25, 60], Operations: ['94/2=47', '13+47=60']
Exploring Operation: 25+60=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 25*60=1500, Resulting Numbers: [1500]
1500,100 unequal: No Solution
Exploring Operation: 60-25=35, Resulting Numbers: [35]
35,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[47, 38], Operations: ['94/2=47', '25+13=38']
Exploring Operation: 47-38=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 47+38=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 47*38=1786, Resulting Numbers: [1786]
1786,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[2, 25, 107], Operations: ['94+13=107']
Exploring Operation: 2+25=27, Resulting Numbers: [107, 27]
Generated Node #0,1,0: 100:[107, 27] Operation: 2+25=27
Exploring Operation: 25-2=23, Resulting Numbers: [107, 23]
Generated Node #0,1,1: 100:[107, 23] Operation: 25-2=23
Exploring Operation: 2*25=50, Resulting Numbers: [107, 50]
Generated Node #0,1,2: 100:[107, 50] Operation: 2*25=50
Exploring Operation: 2+107=109, Resulting Numbers: [25, 109]
Generated Node #0,1,3: 100:[25, 109] Operation: 2+107=109
Exploring Operation: 107-2=105, Resulting Numbers: [25, 105]
Generated Node #0,1,4: 100:[25, 105] Operation: 107-2=105
Moving to Node #0,1,4
Current State: 100:[25, 105], Operations: ['94+13=107', '107-2=105']
Exploring Operation: 105-25=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 25*105=2625, Resulting Numbers: [2625]
2625,100 unequal: No Solution
Exploring Operation: 25+105=130, Resulting Numbers: [130]
130,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[107, 50], Operations: ['94+13=107', '2*25=50']
Exploring Operation: 107-50=57, Resulting Numbers: [57]
57,100 unequal: No Solution
Exploring Operation: 107+50=157, Resulting Numbers: [157]
157,100 unequal: No Solution
Exploring Operation: 107*50=5350, Resulting Numbers: [5350]
5350,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[107, 27], Operations: ['94+13=107', '2+25=27']
Exploring Operation: 107+27=134, Resulting Numbers: [134]
134,100 unequal: No Solution
Exploring Operation: 107-27=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 107*27=2889, Resulting Numbers: [2889]
2889,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[107, 23], Operations: ['94+13=107', '25-2=23']
Exploring Operation: 107*23=2461, Resulting Numbers: [2461]
2461,100 unequal: No Solution
Exploring Operation: 107-23=84, Resulting Numbers: [84]
84,100 unequal: No Solution
Exploring Operation: 107+23=130, Resulting Numbers: [130]
130,100 unequal: No Solution
Moving to Node #0,1,3
Current State: 100:[25, 109], Operations: ['94+13=107', '2+107=109']
Exploring Operation: 109-25=84, Resulting Numbers: [84]
84,100 unequal: No Solution
Exploring Operation: 25+109=134, Resulting Numbers: [134]
134,100 unequal: No Solution
Exploring Operation: 25*109=2725, Resulting Numbers: [2725]
2725,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
Current State: 100:[25, 94, 26], Operations: ['2*13=26']
Exploring Operation: 25+26=51, Resulting Numbers: [94, 51]
Generated Node #0,2,0: 100:[94, 51] Operation: 25+26=51
Exploring Operation: 26-25=1, Resulting Numbers: [94, 1]
Generated Node #0,2,1: 100:[94, 1] Operation: 26-25=1
Exploring Operation: 94-25=69, Resulting Numbers: [26, 69]
Generated Node #0,2,2: 100:[26, 69] Operation: 94-25=69
Exploring Operation: 94-26=68, Resulting Numbers: [25, 68]
Generated Node #0,2,3: 100:[25, 68] Operation: 94-26=68
Exploring Operation: 25+94=119, Resulting Numbers: [26, 119]
Generated Node #0,2,4: 100:[26, 119] Operation: 25+94=119
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 100:[94, 51], Operations: ['2*13=26', '25+26=51']
Exploring Operation: 94+51=145, Resulting Numbers: [145]
145,100 unequal: No Solution
Exploring Operation: 94*51=4794, Resulting Numbers: [4794]
4794,100 unequal: No Solution
Exploring Operation: 94-51=43, Resulting Numbers: [43]
43,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 100:[94, 1], Operations: ['2*13=26', '26-25=1']
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,100 unequal: No Solution
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,100 unequal: No Solution
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,100 unequal: No Solution
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 100:[25, 68], Operations: ['2*13=26', '94-26=68']
Exploring Operation: 25*68=1700, Resulting Numbers: [1700]
1700,100 unequal: No Solution
Exploring Operation: 25+68=93, Resulting Numbers: [93]
93,100 unequal: No Solution
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 100:[26, 69], Operations: ['2*13=26', '94-25=69']
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 26*69=1794, Resulting Numbers: [1794]
1794,100 unequal: No Solution
Exploring Operation: 26+69=95, Resulting Numbers: [95]
95,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 100:[26, 119], Operations: ['2*13=26', '25+94=119']
Exploring Operation: 26*119=3094, Resulting Numbers: [3094]
3094,100 unequal: No Solution
Exploring Operation: 119-26=93, Resulting Numbers: [93]
93,100 unequal: No Solution
Exploring Operation: 26+119=145, Resulting Numbers: [145]
145,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 100:[25, 13, 96], Operations: ['2+94=96']
Exploring Operation: 13+96=109, Resulting Numbers: [25, 109]
Generated Node #0,3,0: 100:[25, 109] Operation: 13+96=109
Exploring Operation: 25-13=12, Resulting Numbers: [96, 12]
Generated Node #0,3,1: 100:[96, 12] Operation: 25-13=12
Exploring Operation: 25+13=38, Resulting Numbers: [96, 38]
Generated Node #0,3,2: 100:[96, 38] Operation: 25+13=38
Exploring Operation: 96-13=83, Resulting Numbers: [25, 83]
Generated Node #0,3,3: 100:[25, 83] Operation: 96-13=83
Exploring Operation: 25+96=121, Resulting Numbers: [13, 121]
Generated Node #0,3,4: 100:[13, 121] Operation: 25+96=121
Moving to Node #0,3,1
Current State: 100:[96, 12], Operations: ['2+94=96', '25-13=12']
Exploring Operation: 96/12=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 96+12=108, Resulting Numbers: [108]
108,100 unequal: No Solution
Exploring Operation: 96-12=84, Resulting Numbers: [84]
84,100 unequal: No Solution
Exploring Operation: 96*12=1152, Resulting Numbers: [1152]
1152,100 unequal: No Solution
Moving to Node #0,3,0
Current State: 100:[25, 109], Operations: ['2+94=96', '13+96=109']
Exploring Operation: 25*109=2725, Resulting Numbers: [2725]
2725,100 unequal: No Solution
Exploring Operation: 25+109=134, Resulting Numbers: [134]
134,100 unequal: No Solution
Exploring Operation: 109-25=84, Resulting Numbers: [84]
84,100 unequal: No Solution
Moving to Node #0,3,2
Current State: 100:[96, 38], Operations: ['2+94=96', '25+13=38']
Exploring Operation: 96+38=134, Resulting Numbers: [134]
134,100 unequal: No Solution
Exploring Operation: 96*38=3648, Resulting Numbers: [3648]
3648,100 unequal: No Solution
Exploring Operation: 96-38=58, Resulting Numbers: [58]
58,100 unequal: No Solution
Moving to Node #0,3,3
Current State: 100:[25, 83], Operations: ['2+94=96', '96-13=83']
Exploring Operation: 25*83=2075, Resulting Numbers: [2075]
2075,100 unequal: No Solution
Exploring Operation: 83-25=58, Resulting Numbers: [58]
58,100 unequal: No Solution
Exploring Operation: 25+83=108, Resulting Numbers: [108]
108,100 unequal: No Solution
Moving to Node #0,3,4
Current State: 100:[13, 121], Operations: ['2+94=96', '25+96=121']
Exploring Operation: 13*121=1573, Resulting Numbers: [1573]
1573,100 unequal: No Solution
Exploring Operation: 121-13=108, Resulting Numbers: [108]
108,100 unequal: No Solution
Exploring Operation: 13+121=134, Resulting Numbers: [134]
134,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,4
Current State: 100:[25, 94, 11], Operations: ['13-2=11']
Exploring Operation: 94+11=105, Resulting Numbers: [25, 105]
Generated Node #0,4,0: 100:[25, 105] Operation: 94+11=105
Exploring Operation: 94-11=83, Resulting Numbers: [25, 83]
Generated Node #0,4,1: 100:[25, 83] Operation: 94-11=83
Exploring Operation: 25+11=36, Resulting Numbers: [94, 36]
Generated Node #0,4,2: 100:[94, 36] Operation: 25+11=36
Exploring Operation: 25-11=14, Resulting Numbers: [94, 14]
Generated Node #0,4,3: 100:[94, 14] Operation: 25-11=14
Exploring Operation: 25+94=119, Resulting Numbers: [11, 119]
Generated Node #0,4,4: 100:[11, 119] Operation: 25+94=119
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 100:[25, 105], Operations: ['13-2=11', '94+11=105']
Exploring Operation: 25*105=2625, Resulting Numbers: [2625]
2625,100 unequal: No Solution
Exploring Operation: 25+105=130, Resulting Numbers: [130]
130,100 unequal: No Solution
Exploring Operation: 105-25=80, Resulting Numbers: [80]
80,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 100:[94, 14], Operations: ['13-2=11', '25-11=14']
Exploring Operation: 94-14=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 94*14=1316, Resulting Numbers: [1316]
1316,100 unequal: No Solution
Exploring Operation: 94+14=108, Resulting Numbers: [108]
108,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 100:[25, 83], Operations: ['13-2=11', '94-11=83']
Exploring Operation: 83-25=58, Resulting Numbers: [58]
58,100 unequal: No Solution
Exploring Operation: 25+83=108, Resulting Numbers: [108]
108,100 unequal: No Solution
Exploring Operation: 25*83=2075, Resulting Numbers: [2075]
2075,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 100:[94, 36], Operations: ['13-2=11', '25+11=36']
Exploring Operation: 94-36=58, Resulting Numbers: [58]
58,100 unequal: No Solution
Exploring Operation: 94*36=3384, Resulting Numbers: [3384]
3384,100 unequal: No Solution
Exploring Operation: 94+36=130, Resulting Numbers: [130]
130,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 100:[11, 119], Operations: ['13-2=11', '25+94=119']
Exploring Operation: 119-11=108, Resulting Numbers: [108]
108,100 unequal: No Solution
Exploring Operation: 11+119=130, Resulting Numbers: [130]
130,100 unequal: No Solution
Exploring Operation: 11*119=1309, Resulting Numbers: [1309]
1309,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
71,
85,
82,
8
] | 82 | [
"71+85=156",
"82-8=74",
"156-74=82"
] | Current State: 82:[71, 85, 82, 8], Operations: []
Exploring Operation: 71+85=156, Resulting Numbers: [82, 8, 156]
Generated Node #2: [82, 8, 156] from Operation: 71+85=156
Current State: 82:[82, 8, 156], Operations: ['71+85=156']
Exploring Operation: 82-8=74, Resulting Numbers: [156, 74]
Generated Node #3: [156, 74] from Operation: 82-8=74
Current State: 82:[156, 74], Operations: ['71+85=156', '82-8=74']
Exploring Operation: 156-74=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[71, 85, 82, 8], Operations: []
Exploring Operation: 71+8=79, Resulting Numbers: [85, 82, 79]
Generated Node #0,0: 82:[85, 82, 79] Operation: 71+8=79
Exploring Operation: 85-8=77, Resulting Numbers: [71, 82, 77]
Generated Node #0,1: 82:[71, 82, 77] Operation: 85-8=77
Moving to Node #0,0
Current State: 82:[85, 82, 79], Operations: ['71+8=79']
Exploring Operation: 85-79=6, Resulting Numbers: [82, 6]
Generated Node #0,0,0: 82:[82, 6] Operation: 85-79=6
Exploring Operation: 85-82=3, Resulting Numbers: [79, 3]
Generated Node #0,0,1: 82:[79, 3] Operation: 85-82=3
Moving to Node #0,1
Current State: 82:[71, 82, 77], Operations: ['85-8=77']
Exploring Operation: 82-71=11, Resulting Numbers: [77, 11]
Generated Node #0,1,0: 82:[77, 11] Operation: 82-71=11
Exploring Operation: 77-71=6, Resulting Numbers: [82, 6]
Generated Node #0,1,1: 82:[82, 6] Operation: 77-71=6
Moving to Node #0,0,0
Current State: 82:[82, 6], Operations: ['71+8=79', '85-79=6']
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[82, 6], Operations: ['85-8=77', '77-71=6']
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,82 unequal: No Solution
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[79, 3], Operations: ['71+8=79', '85-82=3']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,82 unequal: No Solution
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[71, 85, 82, 8], Operations: []
Exploring Operation: 71+8=79, Resulting Numbers: [85, 82, 79]
Generated Node #0,0: 82:[85, 82, 79] Operation: 71+8=79
Moving to Node #0,0
Current State: 82:[85, 82, 79], Operations: ['71+8=79']
Exploring Operation: 85-82=3, Resulting Numbers: [79, 3]
Generated Node #0,0,1: 82:[79, 3] Operation: 85-82=3
Moving to Node #0,0,1
Current State: 82:[79, 3], Operations: ['71+8=79', '85-82=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
9,
15,
21,
80
] | 34 | [
"9*15=135",
"21+80=101",
"135-101=34"
] | Current State: 34:[9, 15, 21, 80], Operations: []
Exploring Operation: 9*15=135, Resulting Numbers: [21, 80, 135]
Generated Node #2: [21, 80, 135] from Operation: 9*15=135
Current State: 34:[21, 80, 135], Operations: ['9*15=135']
Exploring Operation: 21+80=101, Resulting Numbers: [135, 101]
Generated Node #3: [135, 101] from Operation: 21+80=101
Current State: 34:[135, 101], Operations: ['9*15=135', '21+80=101']
Exploring Operation: 135-101=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[9, 15, 21, 80], Operations: []
Exploring Operation: 80-21=59, Resulting Numbers: [9, 15, 59]
Generated Node #0,0: 34:[9, 15, 59] Operation: 80-21=59
Exploring Operation: 80-15=65, Resulting Numbers: [9, 21, 65]
Generated Node #0,1: 34:[9, 21, 65] Operation: 80-15=65
Moving to Node #0,0
Current State: 34:[9, 15, 59], Operations: ['80-21=59']
Exploring Operation: 59-15=44, Resulting Numbers: [9, 44]
Generated Node #0,0,0: 34:[9, 44] Operation: 59-15=44
Exploring Operation: 59-9=50, Resulting Numbers: [15, 50]
Generated Node #0,0,1: 34:[15, 50] Operation: 59-9=50
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[9, 44], Operations: ['80-21=59', '59-15=44']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 9+44=53, Resulting Numbers: [53]
53,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[15, 50], Operations: ['80-21=59', '59-9=50']
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 15+50=65, Resulting Numbers: [65]
65,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:[9, 21, 65], Operations: ['80-15=65']
Exploring Operation: 65-21=44, Resulting Numbers: [9, 44]
Generated Node #0,1,0: 34:[9, 44] Operation: 65-21=44
Exploring Operation: 65-9=56, Resulting Numbers: [21, 56]
Generated Node #0,1,1: 34:[21, 56] Operation: 65-9=56
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[9, 44], Operations: ['80-15=65', '65-21=44']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 9+44=53, Resulting Numbers: [53]
53,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[21, 56], Operations: ['80-15=65', '65-9=56']
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 21+56=77, Resulting Numbers: [77]
77,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
17,
58,
72,
16
] | 13 | [
"17+58=75",
"72+16=88",
"88-75=13"
] | Current State: 13:[17, 58, 72, 16], Operations: []
Exploring Operation: 17+58=75, Resulting Numbers: [72, 16, 75]
Generated Node #2: [72, 16, 75] from Operation: 17+58=75
Current State: 13:[72, 16, 75], Operations: ['17+58=75']
Exploring Operation: 72+16=88, Resulting Numbers: [75, 88]
Generated Node #3: [75, 88] from Operation: 72+16=88
Current State: 13:[75, 88], Operations: ['17+58=75', '72+16=88']
Exploring Operation: 88-75=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[17, 58, 72, 16], Operations: []
Exploring Operation: 72-17=55, Resulting Numbers: [58, 16, 55]
Generated Node #0,0: 13:[58, 16, 55] Operation: 72-17=55
Exploring Operation: 58-17=41, Resulting Numbers: [72, 16, 41]
Generated Node #0,1: 13:[72, 16, 41] Operation: 58-17=41
Exploring Operation: 72-58=14, Resulting Numbers: [17, 16, 14]
Generated Node #0,2: 13:[17, 16, 14] Operation: 72-58=14
Moving to Node #0,2
Current State: 13:[17, 16, 14], Operations: ['72-58=14']
Exploring Operation: 16-14=2, Resulting Numbers: [17, 2]
Generated Node #0,2,0: 13:[17, 2] Operation: 16-14=2
Exploring Operation: 17-14=3, Resulting Numbers: [16, 3]
Generated Node #0,2,1: 13:[16, 3] Operation: 17-14=3
Exploring Operation: 17-16=1, Resulting Numbers: [14, 1]
Generated Node #0,2,2: 13:[14, 1] Operation: 17-16=1
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 13:[16, 3], Operations: ['72-58=14', '17-14=3']
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[17, 58, 72, 16], Operations: []
Exploring Operation: 72-58=14, Resulting Numbers: [17, 16, 14]
Generated Node #0,2: 13:[17, 16, 14] Operation: 72-58=14
Moving to Node #0,2
Current State: 13:[17, 16, 14], Operations: ['72-58=14']
Exploring Operation: 17-14=3, Resulting Numbers: [16, 3]
Generated Node #0,2,1: 13:[16, 3] Operation: 17-14=3
Moving to Node #0,2,1
Current State: 13:[16, 3], Operations: ['72-58=14', '17-14=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
61,
31,
53,
93
] | 10 | [
"61-31=30",
"93-53=40",
"40-30=10"
] | Current State: 10:[61, 31, 53, 93], Operations: []
Exploring Operation: 61-31=30, Resulting Numbers: [53, 93, 30]
Generated Node #2: [53, 93, 30] from Operation: 61-31=30
Current State: 10:[53, 93, 30], Operations: ['61-31=30']
Exploring Operation: 93-53=40, Resulting Numbers: [30, 40]
Generated Node #3: [30, 40] from Operation: 93-53=40
Current State: 10:[30, 40], Operations: ['61-31=30', '93-53=40']
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[61, 31, 53, 93], Operations: []
Exploring Operation: 93-61=32, Resulting Numbers: [31, 53, 32]
Generated Node #0,0: 10:[31, 53, 32] Operation: 93-61=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[31, 53, 32], Operations: ['93-61=32']
Exploring Operation: 53-32=21, Resulting Numbers: [31, 21]
Generated Node #0,0,0: 10:[31, 21] Operation: 53-32=21
Moving to Node #0,0,0
Current State: 10:[31, 21], Operations: ['93-61=32', '53-32=21']
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[61, 31, 53, 93], Operations: []
Exploring Operation: 93-61=32, Resulting Numbers: [31, 53, 32]
Generated Node #0,0: 10:[31, 53, 32] Operation: 93-61=32
Moving to Node #0,0
Current State: 10:[31, 53, 32], Operations: ['93-61=32']
Exploring Operation: 53-32=21, Resulting Numbers: [31, 21]
Generated Node #0,0,0: 10:[31, 21] Operation: 53-32=21
Moving to Node #0,0,0
Current State: 10:[31, 21], Operations: ['93-61=32', '53-32=21']
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
18,
23,
62,
34
] | 69 | [
"18+23=41",
"62-34=28",
"41+28=69"
] | Current State: 69:[18, 23, 62, 34], Operations: []
Exploring Operation: 18+23=41, Resulting Numbers: [62, 34, 41]
Generated Node #2: [62, 34, 41] from Operation: 18+23=41
Current State: 69:[62, 34, 41], Operations: ['18+23=41']
Exploring Operation: 62-34=28, Resulting Numbers: [41, 28]
Generated Node #3: [41, 28] from Operation: 62-34=28
Current State: 69:[41, 28], Operations: ['18+23=41', '62-34=28']
Exploring Operation: 41+28=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[18, 23, 62, 34], Operations: []
Exploring Operation: 62-34=28, Resulting Numbers: [18, 23, 28]
Generated Node #0,0: 69:[18, 23, 28] Operation: 62-34=28
Exploring Operation: 34-18=16, Resulting Numbers: [23, 62, 16]
Generated Node #0,1: 69:[23, 62, 16] Operation: 34-18=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[18, 23, 28], Operations: ['62-34=28']
Exploring Operation: 23-18=5, Resulting Numbers: [28, 5]
Generated Node #0,0,0: 69:[28, 5] Operation: 23-18=5
Exploring Operation: 28-18=10, Resulting Numbers: [23, 10]
Generated Node #0,0,1: 69:[23, 10] Operation: 28-18=10
Moving to Node #0,0,0
Current State: 69:[28, 5], Operations: ['62-34=28', '23-18=5']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,69 unequal: No Solution
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[23, 10], Operations: ['62-34=28', '28-18=10']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[23, 62, 16], Operations: ['34-18=16']
Exploring Operation: 23-16=7, Resulting Numbers: [62, 7]
Generated Node #0,1,0: 69:[62, 7] Operation: 23-16=7
Exploring Operation: 62+16=78, Resulting Numbers: [23, 78]
Generated Node #0,1,1: 69:[23, 78] Operation: 62+16=78
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[23, 78], Operations: ['34-18=16', '62+16=78']
Exploring Operation: 23+78=101, Resulting Numbers: [101]
101,69 unequal: No Solution
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,69 unequal: No Solution
No 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: 69:[62, 7], Operations: ['34-18=16', '23-16=7']
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,69 unequal: No Solution
Exploring Operation: 62+7=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[18, 23, 62, 34], Operations: []
Exploring Operation: 34-18=16, Resulting Numbers: [23, 62, 16]
Generated Node #0,1: 69:[23, 62, 16] Operation: 34-18=16
Moving to Node #0,1
Current State: 69:[23, 62, 16], Operations: ['34-18=16']
Exploring Operation: 23-16=7, Resulting Numbers: [62, 7]
Generated Node #0,1,0: 69:[62, 7] Operation: 23-16=7
Moving to Node #0,1,0
Current State: 69:[62, 7], Operations: ['34-18=16', '23-16=7']
Exploring Operation: 62+7=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_2 | mult_heuristic |
[
43,
53,
23,
72
] | 58 | [
"43+72=115",
"115/23=5",
"53+5=58"
] | Current State: 58:[43, 53, 23, 72], Operations: []
Exploring Operation: 43+72=115, Resulting Numbers: [53, 23, 115]
Generated Node #2: [53, 23, 115] from Operation: 43+72=115
Current State: 58:[53, 23, 115], Operations: ['43+72=115']
Exploring Operation: 115/23=5, Resulting Numbers: [53, 5]
Generated Node #3: [53, 5] from Operation: 115/23=5
Current State: 58:[53, 5], Operations: ['43+72=115', '115/23=5']
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[43, 53, 23, 72], Operations: []
Exploring Operation: 72-43=29, Resulting Numbers: [53, 23, 29]
Generated Node #0,0: 58:[53, 23, 29] Operation: 72-43=29
Moving to Node #0,0
Current State: 58:[53, 23, 29], Operations: ['72-43=29']
Exploring Operation: 53-23=30, Resulting Numbers: [29, 30]
Generated Node #0,0,0: 58:[29, 30] Operation: 53-23=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[29, 30], Operations: ['72-43=29', '53-23=30']
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
58,
84,
86,
24
] | 72 | [
"86-58=28",
"84*24=2016",
"2016/28=72"
] | Current State: 72:[58, 84, 86, 24], Operations: []
Exploring Operation: 86-58=28, Resulting Numbers: [84, 24, 28]
Generated Node #2: [84, 24, 28] from Operation: 86-58=28
Current State: 72:[84, 24, 28], Operations: ['86-58=28']
Exploring Operation: 84*24=2016, Resulting Numbers: [28, 2016]
Generated Node #3: [28, 2016] from Operation: 84*24=2016
Current State: 72:[28, 2016], Operations: ['86-58=28', '84*24=2016']
Exploring Operation: 2016/28=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[58, 84, 86, 24], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [58, 24, 2]
Generated Node #0,0: 72:[58, 24, 2] Operation: 86-84=2
Exploring Operation: 58-24=34, Resulting Numbers: [84, 86, 34]
Generated Node #0,1: 72:[84, 86, 34] Operation: 58-24=34
Exploring Operation: 58+24=82, Resulting Numbers: [84, 86, 82]
Generated Node #0,2: 72:[84, 86, 82] Operation: 58+24=82
Exploring Operation: 84-58=26, Resulting Numbers: [86, 24, 26]
Generated Node #0,3: 72:[86, 24, 26] Operation: 84-58=26
Exploring Operation: 86-58=28, Resulting Numbers: [84, 24, 28]
Generated Node #0,4: 72:[84, 24, 28] Operation: 86-58=28
Moving to Node #0,0
Current State: 72:[58, 24, 2], Operations: ['86-84=2']
Exploring Operation: 24/2=12, Resulting Numbers: [58, 12]
Generated Node #0,0,0: 72:[58, 12] Operation: 24/2=12
Exploring Operation: 58+24=82, Resulting Numbers: [2, 82]
Generated Node #0,0,1: 72:[2, 82] Operation: 58+24=82
Exploring Operation: 58-24=34, Resulting Numbers: [2, 34]
Generated Node #0,0,2: 72:[2, 34] Operation: 58-24=34
Exploring Operation: 58/2=29, Resulting Numbers: [24, 29]
Generated Node #0,0,3: 72:[24, 29] Operation: 58/2=29
Exploring Operation: 58+2=60, Resulting Numbers: [24, 60]
Generated Node #0,0,4: 72:[24, 60] Operation: 58+2=60
Moving to Node #0,4
Current State: 72:[84, 24, 28], Operations: ['86-58=28']
Exploring Operation: 24+28=52, Resulting Numbers: [84, 52]
Generated Node #0,4,0: 72:[84, 52] Operation: 24+28=52
Exploring Operation: 28-24=4, Resulting Numbers: [84, 4]
Generated Node #0,4,1: 72:[84, 4] Operation: 28-24=4
Exploring Operation: 84-28=56, Resulting Numbers: [24, 56]
Generated Node #0,4,2: 72:[24, 56] Operation: 84-28=56
Exploring Operation: 84-24=60, Resulting Numbers: [28, 60]
Generated Node #0,4,3: 72:[28, 60] Operation: 84-24=60
Exploring Operation: 84/28=3, Resulting Numbers: [24, 3]
Generated Node #0,4,4: 72:[24, 3] Operation: 84/28=3
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 72:[24, 3], Operations: ['86-58=28', '84/28=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[58, 84, 86, 24], Operations: []
Exploring Operation: 86-58=28, Resulting Numbers: [84, 24, 28]
Generated Node #0,4: 72:[84, 24, 28] Operation: 86-58=28
Moving to Node #0,4
Current State: 72:[84, 24, 28], Operations: ['86-58=28']
Exploring Operation: 84/28=3, Resulting Numbers: [24, 3]
Generated Node #0,4,4: 72:[24, 3] Operation: 84/28=3
Moving to Node #0,4,4
Current State: 72:[24, 3], Operations: ['86-58=28', '84/28=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
56,
35,
45,
96
] | 50 | [
"56+35=91",
"45+96=141",
"141-91=50"
] | Current State: 50:[56, 35, 45, 96], Operations: []
Exploring Operation: 56+35=91, Resulting Numbers: [45, 96, 91]
Generated Node #2: [45, 96, 91] from Operation: 56+35=91
Current State: 50:[45, 96, 91], Operations: ['56+35=91']
Exploring Operation: 45+96=141, Resulting Numbers: [91, 141]
Generated Node #3: [91, 141] from Operation: 45+96=141
Current State: 50:[91, 141], Operations: ['56+35=91', '45+96=141']
Exploring Operation: 141-91=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[56, 35, 45, 96], Operations: []
Exploring Operation: 96-45=51, Resulting Numbers: [56, 35, 51]
Generated Node #0,0: 50:[56, 35, 51] Operation: 96-45=51
Moving to Node #0,0
Current State: 50:[56, 35, 51], Operations: ['96-45=51']
Exploring Operation: 56-35=21, Resulting Numbers: [51, 21]
Generated Node #0,0,0: 50:[51, 21] Operation: 56-35=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[51, 21], Operations: ['96-45=51', '56-35=21']
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
91,
88,
60,
85
] | 65 | [
"91-88=3",
"60/3=20",
"85-20=65"
] | Current State: 65:[91, 88, 60, 85], Operations: []
Exploring Operation: 91-88=3, Resulting Numbers: [60, 85, 3]
Generated Node #2: [60, 85, 3] from Operation: 91-88=3
Current State: 65:[60, 85, 3], Operations: ['91-88=3']
Exploring Operation: 60/3=20, Resulting Numbers: [85, 20]
Generated Node #3: [85, 20] from Operation: 60/3=20
Current State: 65:[85, 20], Operations: ['91-88=3', '60/3=20']
Exploring Operation: 85-20=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[91, 88, 60, 85], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [91, 60, 3]
Generated Node #0,0: 65:[91, 60, 3] Operation: 88-85=3
Exploring Operation: 91-85=6, Resulting Numbers: [88, 60, 6]
Generated Node #0,1: 65:[88, 60, 6] Operation: 91-85=6
Exploring Operation: 91-88=3, Resulting Numbers: [60, 85, 3]
Generated Node #0,2: 65:[60, 85, 3] Operation: 91-88=3
Exploring Operation: 91-60=31, Resulting Numbers: [88, 85, 31]
Generated Node #0,3: 65:[88, 85, 31] Operation: 91-60=31
Moving to Node #0,2
Current State: 65:[60, 85, 3], Operations: ['91-88=3']
Exploring Operation: 85-3=82, Resulting Numbers: [60, 82]
Generated Node #0,2,0: 65:[60, 82] Operation: 85-3=82
Exploring Operation: 60+3=63, Resulting Numbers: [85, 63]
Generated Node #0,2,1: 65:[85, 63] Operation: 60+3=63
Exploring Operation: 60/3=20, Resulting Numbers: [85, 20]
Generated Node #0,2,2: 65:[85, 20] Operation: 60/3=20
Exploring Operation: 85-60=25, Resulting Numbers: [3, 25]
Generated Node #0,2,3: 65:[3, 25] Operation: 85-60=25
Moving to Node #0,1
Current State: 65:[88, 60, 6], Operations: ['91-85=6']
Exploring Operation: 88-6=82, Resulting Numbers: [60, 82]
Generated Node #0,1,0: 65:[60, 82] Operation: 88-6=82
Exploring Operation: 60/6=10, Resulting Numbers: [88, 10]
Generated Node #0,1,1: 65:[88, 10] Operation: 60/6=10
Exploring Operation: 88-60=28, Resulting Numbers: [6, 28]
Generated Node #0,1,2: 65:[6, 28] Operation: 88-60=28
Exploring Operation: 60+6=66, Resulting Numbers: [88, 66]
Generated Node #0,1,3: 65:[88, 66] Operation: 60+6=66
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[6, 28], Operations: ['91-85=6', '88-60=28']
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,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:[60, 82], Operations: ['91-85=6', '88-6=82']
Exploring Operation: 82-60=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 60*82=4920, Resulting Numbers: [4920]
4920,65 unequal: No Solution
Exploring Operation: 60+82=142, Resulting Numbers: [142]
142,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:[88, 66], Operations: ['91-85=6', '60+6=66']
Exploring Operation: 88+66=154, Resulting Numbers: [154]
154,65 unequal: No Solution
Exploring Operation: 88*66=5808, Resulting Numbers: [5808]
5808,65 unequal: No Solution
Exploring Operation: 88-66=22, Resulting Numbers: [22]
22,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[88, 10], Operations: ['91-85=6', '60/6=10']
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,65 unequal: No Solution
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,65 unequal: No Solution
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,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:[91, 60, 3], Operations: ['88-85=3']
Exploring Operation: 91-60=31, Resulting Numbers: [3, 31]
Generated Node #0,0,0: 65:[3, 31] Operation: 91-60=31
Exploring Operation: 91-3=88, Resulting Numbers: [60, 88]
Generated Node #0,0,1: 65:[60, 88] Operation: 91-3=88
Exploring Operation: 60/3=20, Resulting Numbers: [91, 20]
Generated Node #0,0,2: 65:[91, 20] Operation: 60/3=20
Exploring Operation: 60+3=63, Resulting Numbers: [91, 63]
Generated Node #0,0,3: 65:[91, 63] Operation: 60+3=63
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[3, 31], Operations: ['88-85=3', '91-60=31']
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,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:[60, 88], Operations: ['88-85=3', '91-3=88']
Exploring Operation: 60*88=5280, Resulting Numbers: [5280]
5280,65 unequal: No Solution
Exploring Operation: 60+88=148, Resulting Numbers: [148]
148,65 unequal: No Solution
Exploring Operation: 88-60=28, Resulting Numbers: [28]
28,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:[91, 63], Operations: ['88-85=3', '60+3=63']
Exploring Operation: 91*63=5733, Resulting Numbers: [5733]
5733,65 unequal: No Solution
Exploring Operation: 91+63=154, Resulting Numbers: [154]
154,65 unequal: No Solution
Exploring Operation: 91-63=28, Resulting Numbers: [28]
28,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 65:[91, 20], Operations: ['88-85=3', '60/3=20']
Exploring Operation: 91+20=111, Resulting Numbers: [111]
111,65 unequal: No Solution
Exploring Operation: 91-20=71, Resulting Numbers: [71]
71,65 unequal: No Solution
Exploring Operation: 91*20=1820, Resulting Numbers: [1820]
1820,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:[88, 85, 31], Operations: ['91-60=31']
Exploring Operation: 88-31=57, Resulting Numbers: [85, 57]
Generated Node #0,3,0: 65:[85, 57] Operation: 88-31=57
Exploring Operation: 85-31=54, Resulting Numbers: [88, 54]
Generated Node #0,3,1: 65:[88, 54] Operation: 85-31=54
Exploring Operation: 88-85=3, Resulting Numbers: [31, 3]
Generated Node #0,3,2: 65:[31, 3] Operation: 88-85=3
Exploring Operation: 88+31=119, Resulting Numbers: [85, 119]
Generated Node #0,3,3: 65:[85, 119] Operation: 88+31=119
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 65:[31, 3], Operations: ['91-60=31', '88-85=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 65:[85, 57], Operations: ['91-60=31', '88-31=57']
Exploring Operation: 85+57=142, Resulting Numbers: [142]
142,65 unequal: No Solution
Exploring Operation: 85-57=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 85*57=4845, Resulting Numbers: [4845]
4845,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 65:[88, 54], Operations: ['91-60=31', '85-31=54']
Exploring Operation: 88*54=4752, Resulting Numbers: [4752]
4752,65 unequal: No Solution
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Exploring Operation: 88+54=142, Resulting Numbers: [142]
142,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 65:[85, 119], Operations: ['91-60=31', '88+31=119']
Exploring Operation: 119-85=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Exploring Operation: 85+119=204, Resulting Numbers: [204]
204,65 unequal: No Solution
Exploring Operation: 85*119=10115, Resulting Numbers: [10115]
10115,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 65:[3, 25], Operations: ['91-88=3', '85-60=25']
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[85, 63], Operations: ['91-88=3', '60+3=63']
Exploring Operation: 85+63=148, Resulting Numbers: [148]
148,65 unequal: No Solution
Exploring Operation: 85*63=5355, Resulting Numbers: [5355]
5355,65 unequal: No Solution
Exploring Operation: 85-63=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[60, 82], Operations: ['91-88=3', '85-3=82']
Exploring Operation: 60+82=142, Resulting Numbers: [142]
142,65 unequal: No Solution
Exploring Operation: 82-60=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 60*82=4920, Resulting Numbers: [4920]
4920,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[85, 20], Operations: ['91-88=3', '60/3=20']
Exploring Operation: 85*20=1700, Resulting Numbers: [1700]
1700,65 unequal: No Solution
Exploring Operation: 85-20=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[91, 88, 60, 85], Operations: []
Exploring Operation: 91-88=3, Resulting Numbers: [60, 85, 3]
Generated Node #0,2: 65:[60, 85, 3] Operation: 91-88=3
Moving to Node #0,2
Current State: 65:[60, 85, 3], Operations: ['91-88=3']
Exploring Operation: 60/3=20, Resulting Numbers: [85, 20]
Generated Node #0,2,2: 65:[85, 20] Operation: 60/3=20
Moving to Node #0,2,2
Current State: 65:[85, 20], Operations: ['91-88=3', '60/3=20']
Exploring Operation: 85-20=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.938368 | hs_4 | sum_heuristic |
[
51,
42,
79,
5
] | 16 | [
"51+79=130",
"130/5=26",
"42-26=16"
] | Current State: 16:[51, 42, 79, 5], Operations: []
Exploring Operation: 51+79=130, Resulting Numbers: [42, 5, 130]
Generated Node #2: [42, 5, 130] from Operation: 51+79=130
Current State: 16:[42, 5, 130], Operations: ['51+79=130']
Exploring Operation: 130/5=26, Resulting Numbers: [42, 26]
Generated Node #3: [42, 26] from Operation: 130/5=26
Current State: 16:[42, 26], Operations: ['51+79=130', '130/5=26']
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[51, 42, 79, 5], Operations: []
Exploring Operation: 79-51=28, Resulting Numbers: [42, 5, 28]
Generated Node #0,0: 16:[42, 5, 28] Operation: 79-51=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[42, 5, 28], Operations: ['79-51=28']
Exploring Operation: 42-28=14, Resulting Numbers: [5, 14]
Generated Node #0,0,0: 16:[5, 14] Operation: 42-28=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[5, 14], Operations: ['79-51=28', '42-28=14']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,16 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 |
[
70,
72,
3,
82
] | 87 | [
"72-70=2",
"3+82=85",
"2+85=87"
] | Current State: 87:[70, 72, 3, 82], Operations: []
Exploring Operation: 72-70=2, Resulting Numbers: [3, 82, 2]
Generated Node #2: [3, 82, 2] from Operation: 72-70=2
Current State: 87:[3, 82, 2], Operations: ['72-70=2']
Exploring Operation: 3+82=85, Resulting Numbers: [2, 85]
Generated Node #3: [2, 85] from Operation: 3+82=85
Current State: 87:[2, 85], Operations: ['72-70=2', '3+82=85']
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[70, 72, 3, 82], Operations: []
Exploring Operation: 82-70=12, Resulting Numbers: [72, 3, 12]
Generated Node #0,0: 87:[72, 3, 12] Operation: 82-70=12
Exploring Operation: 72/3=24, Resulting Numbers: [70, 82, 24]
Generated Node #0,1: 87:[70, 82, 24] Operation: 72/3=24
Exploring Operation: 72-70=2, Resulting Numbers: [3, 82, 2]
Generated Node #0,2: 87:[3, 82, 2] Operation: 72-70=2
Exploring Operation: 70+3=73, Resulting Numbers: [72, 82, 73]
Generated Node #0,3: 87:[72, 82, 73] Operation: 70+3=73
Exploring Operation: 82-72=10, Resulting Numbers: [70, 3, 10]
Generated Node #0,4: 87:[70, 3, 10] Operation: 82-72=10
Moving to Node #0,2
Current State: 87:[3, 82, 2], Operations: ['72-70=2']
Exploring Operation: 3-2=1, Resulting Numbers: [82, 1]
Generated Node #0,2,0: 87:[82, 1] Operation: 3-2=1
Exploring Operation: 3+2=5, Resulting Numbers: [82, 5]
Generated Node #0,2,1: 87:[82, 5] Operation: 3+2=5
Exploring Operation: 82-2=80, Resulting Numbers: [3, 80]
Generated Node #0,2,2: 87:[3, 80] Operation: 82-2=80
Exploring Operation: 82+2=84, Resulting Numbers: [3, 84]
Generated Node #0,2,3: 87:[3, 84] Operation: 82+2=84
Exploring Operation: 3+82=85, Resulting Numbers: [2, 85]
Generated Node #0,2,4: 87:[2, 85] Operation: 3+82=85
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 87:[3, 84], Operations: ['72-70=2', '82+2=84']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,87 unequal: No Solution
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,87 unequal: No Solution
Exploring Operation: 3+84=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[70, 72, 3, 82], Operations: []
Exploring Operation: 72-70=2, Resulting Numbers: [3, 82, 2]
Generated Node #0,2: 87:[3, 82, 2] Operation: 72-70=2
Moving to Node #0,2
Current State: 87:[3, 82, 2], Operations: ['72-70=2']
Exploring Operation: 82+2=84, Resulting Numbers: [3, 84]
Generated Node #0,2,3: 87:[3, 84] Operation: 82+2=84
Moving to Node #0,2,3
Current State: 87:[3, 84], Operations: ['72-70=2', '82+2=84']
Exploring Operation: 3+84=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
2,
42,
4,
73
] | 25 | [
"2+42=44",
"73-4=69",
"69-44=25"
] | Current State: 25:[2, 42, 4, 73], Operations: []
Exploring Operation: 2+42=44, Resulting Numbers: [4, 73, 44]
Generated Node #2: [4, 73, 44] from Operation: 2+42=44
Current State: 25:[4, 73, 44], Operations: ['2+42=44']
Exploring Operation: 73-4=69, Resulting Numbers: [44, 69]
Generated Node #3: [44, 69] from Operation: 73-4=69
Current State: 25:[44, 69], Operations: ['2+42=44', '73-4=69']
Exploring Operation: 69-44=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[2, 42, 4, 73], Operations: []
Exploring Operation: 42-2=40, Resulting Numbers: [4, 73, 40]
Generated Node #0,0: 25:[4, 73, 40] Operation: 42-2=40
Exploring Operation: 42/2=21, Resulting Numbers: [4, 73, 21]
Generated Node #0,1: 25:[4, 73, 21] Operation: 42/2=21
Exploring Operation: 73-42=31, Resulting Numbers: [2, 4, 31]
Generated Node #0,2: 25:[2, 4, 31] Operation: 73-42=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[2, 4, 31], Operations: ['73-42=31']
Exploring Operation: 31-2=29, Resulting Numbers: [4, 29]
Generated Node #0,2,0: 25:[4, 29] Operation: 31-2=29
Exploring Operation: 31-4=27, Resulting Numbers: [2, 27]
Generated Node #0,2,1: 25:[2, 27] Operation: 31-4=27
Exploring Operation: 2+4=6, Resulting Numbers: [31, 6]
Generated Node #0,2,2: 25:[31, 6] Operation: 2+4=6
Moving to Node #0,2,0
Current State: 25:[4, 29], Operations: ['73-42=31', '31-2=29']
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 4*29=116, Resulting Numbers: [116]
116,25 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[2, 42, 4, 73], Operations: []
Exploring Operation: 73-42=31, Resulting Numbers: [2, 4, 31]
Generated Node #0,2: 25:[2, 4, 31] Operation: 73-42=31
Moving to Node #0,2
Current State: 25:[2, 4, 31], Operations: ['73-42=31']
Exploring Operation: 31-2=29, Resulting Numbers: [4, 29]
Generated Node #0,2,0: 25:[4, 29] Operation: 31-2=29
Moving to Node #0,2,0
Current State: 25:[4, 29], Operations: ['73-42=31', '31-2=29']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
34,
85,
24,
64
] | 79 | [
"34+85=119",
"64-24=40",
"119-40=79"
] | Current State: 79:[34, 85, 24, 64], Operations: []
Exploring Operation: 34+85=119, Resulting Numbers: [24, 64, 119]
Generated Node #2: [24, 64, 119] from Operation: 34+85=119
Current State: 79:[24, 64, 119], Operations: ['34+85=119']
Exploring Operation: 64-24=40, Resulting Numbers: [119, 40]
Generated Node #3: [119, 40] from Operation: 64-24=40
Current State: 79:[119, 40], Operations: ['34+85=119', '64-24=40']
Exploring Operation: 119-40=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[34, 85, 24, 64], Operations: []
Exploring Operation: 34+24=58, Resulting Numbers: [85, 64, 58]
Generated Node #0,0: 79:[85, 64, 58] Operation: 34+24=58
Exploring Operation: 34+64=98, Resulting Numbers: [85, 24, 98]
Generated Node #0,1: 79:[85, 24, 98] Operation: 34+64=98
Exploring Operation: 85-24=61, Resulting Numbers: [34, 64, 61]
Generated Node #0,2: 79:[34, 64, 61] Operation: 85-24=61
Exploring Operation: 24+64=88, Resulting Numbers: [34, 85, 88]
Generated Node #0,3: 79:[34, 85, 88] Operation: 24+64=88
Exploring Operation: 34-24=10, Resulting Numbers: [85, 64, 10]
Generated Node #0,4: 79:[85, 64, 10] Operation: 34-24=10
Moving to Node #0,0
Current State: 79:[85, 64, 58], Operations: ['34+24=58']
Exploring Operation: 64+58=122, Resulting Numbers: [85, 122]
Generated Node #0,0,0: 79:[85, 122] Operation: 64+58=122
Exploring Operation: 85-64=21, Resulting Numbers: [58, 21]
Generated Node #0,0,1: 79:[58, 21] Operation: 85-64=21
Exploring Operation: 64-58=6, Resulting Numbers: [85, 6]
Generated Node #0,0,2: 79:[85, 6] Operation: 64-58=6
Exploring Operation: 85-58=27, Resulting Numbers: [64, 27]
Generated Node #0,0,3: 79:[64, 27] Operation: 85-58=27
Exploring Operation: 85+58=143, Resulting Numbers: [64, 143]
Generated Node #0,0,4: 79:[64, 143] Operation: 85+58=143
Moving to Node #0,3
Current State: 79:[34, 85, 88], Operations: ['24+64=88']
Exploring Operation: 88-85=3, Resulting Numbers: [34, 3]
Generated Node #0,3,0: 79:[34, 3] Operation: 88-85=3
Exploring Operation: 88-34=54, Resulting Numbers: [85, 54]
Generated Node #0,3,1: 79:[85, 54] Operation: 88-34=54
Exploring Operation: 85-34=51, Resulting Numbers: [88, 51]
Generated Node #0,3,2: 79:[88, 51] Operation: 85-34=51
Exploring Operation: 34+85=119, Resulting Numbers: [88, 119]
Generated Node #0,3,3: 79:[88, 119] Operation: 34+85=119
Exploring Operation: 34+88=122, Resulting Numbers: [85, 122]
Generated Node #0,3,4: 79:[85, 122] Operation: 34+88=122
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 79:[85, 54], Operations: ['24+64=88', '88-34=54']
Exploring Operation: 85-54=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 85+54=139, Resulting Numbers: [139]
139,79 unequal: No Solution
Exploring Operation: 85*54=4590, Resulting Numbers: [4590]
4590,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 79:[88, 51], Operations: ['24+64=88', '85-34=51']
Exploring Operation: 88*51=4488, Resulting Numbers: [4488]
4488,79 unequal: No Solution
Exploring Operation: 88+51=139, Resulting Numbers: [139]
139,79 unequal: No Solution
Exploring Operation: 88-51=37, Resulting Numbers: [37]
37,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 79:[88, 119], Operations: ['24+64=88', '34+85=119']
Exploring Operation: 88+119=207, Resulting Numbers: [207]
207,79 unequal: No Solution
Exploring Operation: 119-88=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 88*119=10472, Resulting Numbers: [10472]
10472,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 79:[85, 122], Operations: ['24+64=88', '34+88=122']
Exploring Operation: 85*122=10370, Resulting Numbers: [10370]
10370,79 unequal: No Solution
Exploring Operation: 122-85=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 85+122=207, Resulting Numbers: [207]
207,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 79:[34, 3], Operations: ['24+64=88', '88-85=3']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,79 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: 79:[34, 64, 61], Operations: ['85-24=61']
Exploring Operation: 34+61=95, Resulting Numbers: [64, 95]
Generated Node #0,2,0: 79:[64, 95] Operation: 34+61=95
Exploring Operation: 61-34=27, Resulting Numbers: [64, 27]
Generated Node #0,2,1: 79:[64, 27] Operation: 61-34=27
Exploring Operation: 64-34=30, Resulting Numbers: [61, 30]
Generated Node #0,2,2: 79:[61, 30] Operation: 64-34=30
Exploring Operation: 34+64=98, Resulting Numbers: [61, 98]
Generated Node #0,2,3: 79:[61, 98] Operation: 34+64=98
Exploring Operation: 64+61=125, Resulting Numbers: [34, 125]
Generated Node #0,2,4: 79:[34, 125] Operation: 64+61=125
Moving to Node #0,1
Current State: 79:[85, 24, 98], Operations: ['34+64=98']
Exploring Operation: 98-85=13, Resulting Numbers: [24, 13]
Generated Node #0,1,0: 79:[24, 13] Operation: 98-85=13
Exploring Operation: 85-24=61, Resulting Numbers: [98, 61]
Generated Node #0,1,1: 79:[98, 61] Operation: 85-24=61
Exploring Operation: 85+24=109, Resulting Numbers: [98, 109]
Generated Node #0,1,2: 79:[98, 109] Operation: 85+24=109
Exploring Operation: 24+98=122, Resulting Numbers: [85, 122]
Generated Node #0,1,3: 79:[85, 122] Operation: 24+98=122
Exploring Operation: 98-24=74, Resulting Numbers: [85, 74]
Generated Node #0,1,4: 79:[85, 74] Operation: 98-24=74
Moving to Node #0,4
Current State: 79:[85, 64, 10], Operations: ['34-24=10']
Exploring Operation: 64-10=54, Resulting Numbers: [85, 54]
Generated Node #0,4,0: 79:[85, 54] Operation: 64-10=54
Exploring Operation: 85+10=95, Resulting Numbers: [64, 95]
Generated Node #0,4,1: 79:[64, 95] Operation: 85+10=95
Exploring Operation: 64+10=74, Resulting Numbers: [85, 74]
Generated Node #0,4,2: 79:[85, 74] Operation: 64+10=74
Exploring Operation: 85-10=75, Resulting Numbers: [64, 75]
Generated Node #0,4,3: 79:[64, 75] Operation: 85-10=75
Exploring Operation: 85-64=21, Resulting Numbers: [10, 21]
Generated Node #0,4,4: 79:[10, 21] Operation: 85-64=21
Moving to Node #0,1,4
Current State: 79:[85, 74], Operations: ['34+64=98', '98-24=74']
Exploring Operation: 85+74=159, Resulting Numbers: [159]
159,79 unequal: No Solution
Exploring Operation: 85*74=6290, Resulting Numbers: [6290]
6290,79 unequal: No Solution
Exploring Operation: 85-74=11, Resulting Numbers: [11]
11,79 unequal: No Solution
Moving to Node #0,4,2
Current State: 79:[85, 74], Operations: ['34-24=10', '64+10=74']
Exploring Operation: 85*74=6290, Resulting Numbers: [6290]
6290,79 unequal: No Solution
Exploring Operation: 85-74=11, Resulting Numbers: [11]
11,79 unequal: No Solution
Exploring Operation: 85+74=159, Resulting Numbers: [159]
159,79 unequal: No Solution
Moving to Node #0,4,3
Current State: 79:[64, 75], Operations: ['34-24=10', '85-10=75']
Exploring Operation: 75-64=11, Resulting Numbers: [11]
11,79 unequal: No Solution
Exploring Operation: 64*75=4800, Resulting Numbers: [4800]
4800,79 unequal: No Solution
Exploring Operation: 64+75=139, Resulting Numbers: [139]
139,79 unequal: No Solution
Moving to Node #0,4,0
Current State: 79:[85, 54], Operations: ['34-24=10', '64-10=54']
Exploring Operation: 85*54=4590, Resulting Numbers: [4590]
4590,79 unequal: No Solution
Exploring Operation: 85-54=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 85+54=139, Resulting Numbers: [139]
139,79 unequal: No Solution
Moving to Node #0,4,1
Current State: 79:[64, 95], Operations: ['34-24=10', '85+10=95']
Exploring Operation: 64+95=159, Resulting Numbers: [159]
159,79 unequal: No Solution
Exploring Operation: 64*95=6080, Resulting Numbers: [6080]
6080,79 unequal: No Solution
Exploring Operation: 95-64=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[64, 95], Operations: ['85-24=61', '34+61=95']
Exploring Operation: 64+95=159, Resulting Numbers: [159]
159,79 unequal: No Solution
Exploring Operation: 95-64=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 64*95=6080, Resulting Numbers: [6080]
6080,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[61, 98], Operations: ['85-24=61', '34+64=98']
Exploring Operation: 61+98=159, Resulting Numbers: [159]
159,79 unequal: No Solution
Exploring Operation: 61*98=5978, Resulting Numbers: [5978]
5978,79 unequal: No Solution
Exploring Operation: 98-61=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[98, 61], Operations: ['34+64=98', '85-24=61']
Exploring Operation: 98+61=159, Resulting Numbers: [159]
159,79 unequal: No Solution
Exploring Operation: 98*61=5978, Resulting Numbers: [5978]
5978,79 unequal: No Solution
Exploring Operation: 98-61=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[85, 122], Operations: ['34+24=58', '64+58=122']
Exploring Operation: 122-85=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 85*122=10370, Resulting Numbers: [10370]
10370,79 unequal: No Solution
Exploring Operation: 85+122=207, Resulting Numbers: [207]
207,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[85, 122], Operations: ['34+64=98', '24+98=122']
Exploring Operation: 85*122=10370, Resulting Numbers: [10370]
10370,79 unequal: No Solution
Exploring Operation: 122-85=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 85+122=207, Resulting Numbers: [207]
207,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[98, 109], Operations: ['34+64=98', '85+24=109']
Exploring Operation: 98*109=10682, Resulting Numbers: [10682]
10682,79 unequal: No Solution
Exploring Operation: 98+109=207, Resulting Numbers: [207]
207,79 unequal: No Solution
Exploring Operation: 109-98=11, Resulting Numbers: [11]
11,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[64, 27], Operations: ['34+24=58', '85-58=27']
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 64+27=91, Resulting Numbers: [91]
91,79 unequal: No Solution
Exploring Operation: 64*27=1728, Resulting Numbers: [1728]
1728,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[61, 30], Operations: ['85-24=61', '64-34=30']
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 61+30=91, Resulting Numbers: [91]
91,79 unequal: No Solution
Exploring Operation: 61*30=1830, Resulting Numbers: [1830]
1830,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[64, 27], Operations: ['85-24=61', '61-34=27']
Exploring Operation: 64*27=1728, Resulting Numbers: [1728]
1728,79 unequal: No Solution
Exploring Operation: 64+27=91, Resulting Numbers: [91]
91,79 unequal: No Solution
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[58, 21], Operations: ['34+24=58', '85-64=21']
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[34, 85, 24, 64], Operations: []
Exploring Operation: 34+24=58, Resulting Numbers: [85, 64, 58]
Generated Node #0,0: 79:[85, 64, 58] Operation: 34+24=58
Moving to Node #0,0
Current State: 79:[85, 64, 58], Operations: ['34+24=58']
Exploring Operation: 85-64=21, Resulting Numbers: [58, 21]
Generated Node #0,0,1: 79:[58, 21] Operation: 85-64=21
Moving to Node #0,0,1
Current State: 79:[58, 21], Operations: ['34+24=58', '85-64=21']
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 0.919271 | hs_5 | mult_heuristic |
[
15,
42,
21,
4
] | 51 | [
"15+21=36",
"36/4=9",
"42+9=51"
] | Current State: 51:[15, 42, 21, 4], Operations: []
Exploring Operation: 15+21=36, Resulting Numbers: [42, 4, 36]
Generated Node #2: [42, 4, 36] from Operation: 15+21=36
Current State: 51:[42, 4, 36], Operations: ['15+21=36']
Exploring Operation: 36/4=9, Resulting Numbers: [42, 9]
Generated Node #3: [42, 9] from Operation: 36/4=9
Current State: 51:[42, 9], Operations: ['15+21=36', '36/4=9']
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[15, 42, 21, 4], Operations: []
Exploring Operation: 42+4=46, Resulting Numbers: [15, 21, 46]
Generated Node #0,0: 51:[15, 21, 46] Operation: 42+4=46
Exploring Operation: 42/21=2, Resulting Numbers: [15, 4, 2]
Generated Node #0,1: 51:[15, 4, 2] Operation: 42/21=2
Exploring Operation: 42-21=21, Resulting Numbers: [15, 4, 21]
Generated Node #0,2: 51:[15, 4, 21] Operation: 42-21=21
Exploring Operation: 15+42=57, Resulting Numbers: [21, 4, 57]
Generated Node #0,3: 51:[21, 4, 57] Operation: 15+42=57
Moving to Node #0,1
Current State: 51:[15, 4, 2], Operations: ['42/21=2']
Exploring Operation: 15+4=19, Resulting Numbers: [2, 19]
Generated Node #0,1,0: 51:[2, 19] Operation: 15+4=19
Exploring Operation: 4-2=2, Resulting Numbers: [15, 2]
Generated Node #0,1,1: 51:[15, 2] Operation: 4-2=2
Exploring Operation: 15+2=17, Resulting Numbers: [4, 17]
Generated Node #0,1,2: 51:[4, 17] Operation: 15+2=17
Exploring Operation: 4/2=2, Resulting Numbers: [15, 2]
Generated Node #0,1,3: 51:[15, 2] Operation: 4/2=2
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[4, 17], Operations: ['42/21=2', '15+2=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,51 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[2, 19], Operations: ['42/21=2', '15+4=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[15, 2], Operations: ['42/21=2', '4-2=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 51:[15, 2], Operations: ['42/21=2', '4/2=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 51:[15, 4, 21], Operations: ['42-21=21']
Exploring Operation: 15+4=19, Resulting Numbers: [21, 19]
Generated Node #0,2,0: 51:[21, 19] Operation: 15+4=19
Exploring Operation: 15-4=11, Resulting Numbers: [21, 11]
Generated Node #0,2,1: 51:[21, 11] Operation: 15-4=11
Exploring Operation: 21-15=6, Resulting Numbers: [4, 6]
Generated Node #0,2,2: 51:[4, 6] Operation: 21-15=6
Exploring Operation: 21-4=17, Resulting Numbers: [15, 17]
Generated Node #0,2,3: 51:[15, 17] Operation: 21-4=17
Moving to Node #0,3
Current State: 51:[21, 4, 57], Operations: ['15+42=57']
Exploring Operation: 21+4=25, Resulting Numbers: [57, 25]
Generated Node #0,3,0: 51:[57, 25] Operation: 21+4=25
Exploring Operation: 57-4=53, Resulting Numbers: [21, 53]
Generated Node #0,3,1: 51:[21, 53] Operation: 57-4=53
Exploring Operation: 4+57=61, Resulting Numbers: [21, 61]
Generated Node #0,3,2: 51:[21, 61] Operation: 4+57=61
Exploring Operation: 21-4=17, Resulting Numbers: [57, 17]
Generated Node #0,3,3: 51:[57, 17] Operation: 21-4=17
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 51:[21, 53], Operations: ['15+42=57', '57-4=53']
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 21*53=1113, Resulting Numbers: [1113]
1113,51 unequal: No Solution
Exploring Operation: 21+53=74, Resulting Numbers: [74]
74,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 51:[57, 17], Operations: ['15+42=57', '21-4=17']
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 57+17=74, Resulting Numbers: [74]
74,51 unequal: No Solution
Exploring Operation: 57*17=969, Resulting Numbers: [969]
969,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 51:[57, 25], Operations: ['15+42=57', '21+4=25']
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 57*25=1425, Resulting Numbers: [1425]
1425,51 unequal: No Solution
Exploring Operation: 57+25=82, Resulting Numbers: [82]
82,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 51:[21, 61], Operations: ['15+42=57', '4+57=61']
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 21+61=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Exploring Operation: 21*61=1281, Resulting Numbers: [1281]
1281,51 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: 51:[15, 21, 46], Operations: ['42+4=46']
Exploring Operation: 46-21=25, Resulting Numbers: [15, 25]
Generated Node #0,0,0: 51:[15, 25] Operation: 46-21=25
Exploring Operation: 46-15=31, Resulting Numbers: [21, 31]
Generated Node #0,0,1: 51:[21, 31] Operation: 46-15=31
Exploring Operation: 15+46=61, Resulting Numbers: [21, 61]
Generated Node #0,0,2: 51:[21, 61] Operation: 15+46=61
Exploring Operation: 21-15=6, Resulting Numbers: [46, 6]
Generated Node #0,0,3: 51:[46, 6] Operation: 21-15=6
Moving to Node #0,2,3
Current State: 51:[15, 17], Operations: ['42-21=21', '21-4=17']
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[4, 6], Operations: ['42-21=21', '21-15=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,51 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[21, 19], Operations: ['42-21=21', '15+4=19']
Exploring Operation: 21*19=399, Resulting Numbers: [399]
399,51 unequal: No Solution
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 21+19=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[46, 6], Operations: ['42+4=46', '21-15=6']
Exploring Operation: 46*6=276, Resulting Numbers: [276]
276,51 unequal: No Solution
Exploring Operation: 46+6=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[15, 25], Operations: ['42+4=46', '46-21=25']
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 15*25=375, Resulting Numbers: [375]
375,51 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[21, 11], Operations: ['42-21=21', '15-4=11']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,51 unequal: No Solution
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[21, 61], Operations: ['42+4=46', '15+46=61']
Exploring Operation: 21+61=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Exploring Operation: 21*61=1281, Resulting Numbers: [1281]
1281,51 unequal: No Solution
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[21, 31], Operations: ['42+4=46', '46-15=31']
Exploring Operation: 21*31=651, Resulting Numbers: [651]
651,51 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 21+31=52, Resulting Numbers: [52]
52,51 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
30,
84,
51,
92
] | 89 | [
"84-30=54",
"51+92=143",
"143-54=89"
] | Current State: 89:[30, 84, 51, 92], Operations: []
Exploring Operation: 84-30=54, Resulting Numbers: [51, 92, 54]
Generated Node #2: [51, 92, 54] from Operation: 84-30=54
Current State: 89:[51, 92, 54], Operations: ['84-30=54']
Exploring Operation: 51+92=143, Resulting Numbers: [54, 143]
Generated Node #3: [54, 143] from Operation: 51+92=143
Current State: 89:[54, 143], Operations: ['84-30=54', '51+92=143']
Exploring Operation: 143-54=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[30, 84, 51, 92], Operations: []
Exploring Operation: 30+51=81, Resulting Numbers: [84, 92, 81]
Generated Node #0,0: 89:[84, 92, 81] Operation: 30+51=81
Exploring Operation: 84-30=54, Resulting Numbers: [51, 92, 54]
Generated Node #0,1: 89:[51, 92, 54] Operation: 84-30=54
Exploring Operation: 30+84=114, Resulting Numbers: [51, 92, 114]
Generated Node #0,2: 89:[51, 92, 114] Operation: 30+84=114
Exploring Operation: 92-30=62, Resulting Numbers: [84, 51, 62]
Generated Node #0,3: 89:[84, 51, 62] Operation: 92-30=62
Exploring Operation: 51-30=21, Resulting Numbers: [84, 92, 21]
Generated Node #0,4: 89:[84, 92, 21] Operation: 51-30=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[84, 92, 81], Operations: ['30+51=81']
Exploring Operation: 92-81=11, Resulting Numbers: [84, 11]
Generated Node #0,0,0: 89:[84, 11] Operation: 92-81=11
Exploring Operation: 84-81=3, Resulting Numbers: [92, 3]
Generated Node #0,0,1: 89:[92, 3] Operation: 84-81=3
Exploring Operation: 92+81=173, Resulting Numbers: [84, 173]
Generated Node #0,0,2: 89:[84, 173] Operation: 92+81=173
Exploring Operation: 84+81=165, Resulting Numbers: [92, 165]
Generated Node #0,0,3: 89:[92, 165] Operation: 84+81=165
Exploring Operation: 92-84=8, Resulting Numbers: [81, 8]
Generated Node #0,0,4: 89:[81, 8] Operation: 92-84=8
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 89:[92, 165], Operations: ['30+51=81', '84+81=165']
Exploring Operation: 92*165=15180, Resulting Numbers: [15180]
15180,89 unequal: No Solution
Exploring Operation: 92+165=257, Resulting Numbers: [257]
257,89 unequal: No Solution
Exploring Operation: 165-92=73, Resulting Numbers: [73]
73,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,0,0
Current State: 89:[84, 11], Operations: ['30+51=81', '92-81=11']
Exploring Operation: 84+11=95, Resulting Numbers: [95]
95,89 unequal: No Solution
Exploring Operation: 84-11=73, Resulting Numbers: [73]
73,89 unequal: No Solution
Exploring Operation: 84*11=924, Resulting Numbers: [924]
924,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,0,1
Current State: 89:[92, 3], Operations: ['30+51=81', '84-81=3']
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[30, 84, 51, 92], Operations: []
Exploring Operation: 30+51=81, Resulting Numbers: [84, 92, 81]
Generated Node #0,0: 89:[84, 92, 81] Operation: 30+51=81
Moving to Node #0,0
Current State: 89:[84, 92, 81], Operations: ['30+51=81']
Exploring Operation: 84-81=3, Resulting Numbers: [92, 3]
Generated Node #0,0,1: 89:[92, 3] Operation: 84-81=3
Moving to Node #0,0,1
Current State: 89:[92, 3], Operations: ['30+51=81', '84-81=3']
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
57,
24,
27,
36
] | 81 | [
"57-24=33",
"36-33=3",
"27*3=81"
] | Current State: 81:[57, 24, 27, 36], Operations: []
Exploring Operation: 57-24=33, Resulting Numbers: [27, 36, 33]
Generated Node #2: [27, 36, 33] from Operation: 57-24=33
Current State: 81:[27, 36, 33], Operations: ['57-24=33']
Exploring Operation: 36-33=3, Resulting Numbers: [27, 3]
Generated Node #3: [27, 3] from Operation: 36-33=3
Current State: 81:[27, 3], Operations: ['57-24=33', '36-33=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[57, 24, 27, 36], Operations: []
Exploring Operation: 57+24=81, Resulting Numbers: [27, 36, 81]
Generated Node #0,0: 81:[27, 36, 81] Operation: 57+24=81
Exploring Operation: 57-27=30, Resulting Numbers: [24, 36, 30]
Generated Node #0,1: 81:[24, 36, 30] Operation: 57-27=30
Exploring Operation: 57+27=84, Resulting Numbers: [24, 36, 84]
Generated Node #0,2: 81:[24, 36, 84] Operation: 57+27=84
Exploring Operation: 57-36=21, Resulting Numbers: [24, 27, 21]
Generated Node #0,3: 81:[24, 27, 21] Operation: 57-36=21
Exploring Operation: 57-24=33, Resulting Numbers: [27, 36, 33]
Generated Node #0,4: 81:[27, 36, 33] Operation: 57-24=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[27, 36, 81], Operations: ['57+24=81']
Exploring Operation: 27+36=63, Resulting Numbers: [81, 63]
Generated Node #0,0,0: 81:[81, 63] Operation: 27+36=63
Exploring Operation: 36-27=9, Resulting Numbers: [81, 9]
Generated Node #0,0,1: 81:[81, 9] Operation: 36-27=9
Exploring Operation: 81/27=3, Resulting Numbers: [36, 3]
Generated Node #0,0,2: 81:[36, 3] Operation: 81/27=3
Exploring Operation: 81-36=45, Resulting Numbers: [27, 45]
Generated Node #0,0,3: 81:[27, 45] Operation: 81-36=45
Exploring Operation: 27+81=108, Resulting Numbers: [36, 108]
Generated Node #0,0,4: 81:[36, 108] Operation: 27+81=108
Moving to Node #0,0,1
Current State: 81:[81, 9], Operations: ['57+24=81', '36-27=9']
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 81+9=90, Resulting Numbers: [90]
90,81 unequal: No Solution
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Exploring Operation: 81*9=729, Resulting Numbers: [729]
729,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[36, 3], Operations: ['57+24=81', '81/27=3']
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,81 unequal: No Solution
Exploring Operation: 36*3=108, Resulting Numbers: [108]
108,81 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[81, 63], Operations: ['57+24=81', '27+36=63']
Exploring Operation: 81+63=144, Resulting Numbers: [144]
144,81 unequal: No Solution
Exploring Operation: 81*63=5103, Resulting Numbers: [5103]
5103,81 unequal: No Solution
Exploring Operation: 81-63=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Moving to Node #0,0,3
Current State: 81:[27, 45], Operations: ['57+24=81', '81-36=45']
Exploring Operation: 27*45=1215, Resulting Numbers: [1215]
1215,81 unequal: No Solution
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Exploring Operation: 27+45=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Moving to Node #0,0,4
Current State: 81:[36, 108], Operations: ['57+24=81', '27+81=108']
Exploring Operation: 108/36=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 108-36=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Exploring Operation: 36*108=3888, Resulting Numbers: [3888]
3888,81 unequal: No Solution
Exploring Operation: 36+108=144, Resulting Numbers: [144]
144,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
Current State: 81:[24, 27, 21], Operations: ['57-36=21']
Exploring Operation: 27-21=6, Resulting Numbers: [24, 6]
Generated Node #0,3,0: 81:[24, 6] Operation: 27-21=6
Exploring Operation: 24+21=45, Resulting Numbers: [27, 45]
Generated Node #0,3,1: 81:[27, 45] Operation: 24+21=45
Exploring Operation: 27-24=3, Resulting Numbers: [21, 3]
Generated Node #0,3,2: 81:[21, 3] Operation: 27-24=3
Exploring Operation: 27+21=48, Resulting Numbers: [24, 48]
Generated Node #0,3,3: 81:[24, 48] Operation: 27+21=48
Exploring Operation: 24-21=3, Resulting Numbers: [27, 3]
Generated Node #0,3,4: 81:[27, 3] Operation: 24-21=3
Moving to Node #0,3,4
Current State: 81:[27, 3], Operations: ['57-36=21', '24-21=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[57, 24, 27, 36], Operations: []
Exploring Operation: 57-36=21, Resulting Numbers: [24, 27, 21]
Generated Node #0,3: 81:[24, 27, 21] Operation: 57-36=21
Moving to Node #0,3
Current State: 81:[24, 27, 21], Operations: ['57-36=21']
Exploring Operation: 24-21=3, Resulting Numbers: [27, 3]
Generated Node #0,3,4: 81:[27, 3] Operation: 24-21=3
Moving to Node #0,3,4
Current State: 81:[27, 3], Operations: ['57-36=21', '24-21=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.