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 |
|---|---|---|---|---|---|---|---|---|
[
84,
86,
74,
25
] | 51 | [
"86-84=2",
"74-25=49",
"2+49=51"
] | Current State: 51:[84, 86, 74, 25], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [74, 25, 2]
Generated Node #2: [74, 25, 2] from Operation: 86-84=2
Current State: 51:[74, 25, 2], Operations: ['86-84=2']
Exploring Operation: 74-25=49, Resulting Numbers: [2, 49]
Generated Node #3: [2, 49] from Operation: 74-25=49
Current State: 51:[2, 49], Operations: ['86-84=2', '74-25=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[84, 86, 74, 25], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [74, 25, 2]
Generated Node #0,0: 51:[74, 25, 2] Operation: 86-84=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[74, 25, 2], Operations: ['86-84=2']
Exploring Operation: 74-25=49, Resulting Numbers: [2, 49]
Generated Node #0,0,0: 51:[2, 49] Operation: 74-25=49
Moving to Node #0,0,0
Current State: 51:[2, 49], Operations: ['86-84=2', '74-25=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[84, 86, 74, 25], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [74, 25, 2]
Generated Node #0,0: 51:[74, 25, 2] Operation: 86-84=2
Moving to Node #0,0
Current State: 51:[74, 25, 2], Operations: ['86-84=2']
Exploring Operation: 74-25=49, Resulting Numbers: [2, 49]
Generated Node #0,0,0: 51:[2, 49] Operation: 74-25=49
Moving to Node #0,0,0
Current State: 51:[2, 49], Operations: ['86-84=2', '74-25=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
34,
31,
51,
2
] | 15 | [
"34-31=3",
"51/3=17",
"17-2=15"
] | Current State: 15:[34, 31, 51, 2], Operations: []
Exploring Operation: 34-31=3, Resulting Numbers: [51, 2, 3]
Generated Node #2: [51, 2, 3] from Operation: 34-31=3
Current State: 15:[51, 2, 3], Operations: ['34-31=3']
Exploring Operation: 51/3=17, Resulting Numbers: [2, 17]
Generated Node #3: [2, 17] from Operation: 51/3=17
Current State: 15:[2, 17], Operations: ['34-31=3', '51/3=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[34, 31, 51, 2], Operations: []
Exploring Operation: 51-34=17, Resulting Numbers: [31, 2, 17]
Generated Node #0,0: 15:[31, 2, 17] Operation: 51-34=17
Exploring Operation: 51-31=20, Resulting Numbers: [34, 2, 20]
Generated Node #0,1: 15:[34, 2, 20] Operation: 51-31=20
Exploring Operation: 34/2=17, Resulting Numbers: [31, 51, 17]
Generated Node #0,2: 15:[31, 51, 17] Operation: 34/2=17
Exploring Operation: 34-31=3, Resulting Numbers: [51, 2, 3]
Generated Node #0,3: 15:[51, 2, 3] Operation: 34-31=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[31, 2, 17], Operations: ['51-34=17']
Exploring Operation: 31-2=29, Resulting Numbers: [17, 29]
Generated Node #0,0,0: 15:[17, 29] Operation: 31-2=29
Exploring Operation: 31-17=14, Resulting Numbers: [2, 14]
Generated Node #0,0,1: 15:[2, 14] Operation: 31-17=14
Exploring Operation: 31+2=33, Resulting Numbers: [17, 33]
Generated Node #0,0,2: 15:[17, 33] Operation: 31+2=33
Exploring Operation: 17-2=15, Resulting Numbers: [31, 15]
Generated Node #0,0,3: 15:[31, 15] Operation: 17-2=15
Moving to Node #0,0,1
Current State: 15:[2, 14], Operations: ['51-34=17', '31-17=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,15 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Moving to Node #0,0,3
Current State: 15:[31, 15], Operations: ['51-34=17', '17-2=15']
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 31*15=465, Resulting Numbers: [465]
465,15 unequal: No Solution
Exploring Operation: 31+15=46, Resulting Numbers: [46]
46,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[17, 29], Operations: ['51-34=17', '31-2=29']
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,15 unequal: No Solution
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,15 unequal: No Solution
Exploring Operation: 17*29=493, Resulting Numbers: [493]
493,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[17, 33], Operations: ['51-34=17', '31+2=33']
Exploring Operation: 17*33=561, Resulting Numbers: [561]
561,15 unequal: No Solution
Exploring Operation: 17+33=50, Resulting Numbers: [50]
50,15 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,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
Current State: 15:[34, 2, 20], Operations: ['51-31=20']
Exploring Operation: 34-20=14, Resulting Numbers: [2, 14]
Generated Node #0,1,0: 15:[2, 14] Operation: 34-20=14
Exploring Operation: 34/2=17, Resulting Numbers: [20, 17]
Generated Node #0,1,1: 15:[20, 17] Operation: 34/2=17
Exploring Operation: 34-2=32, Resulting Numbers: [20, 32]
Generated Node #0,1,2: 15:[20, 32] Operation: 34-2=32
Exploring Operation: 20-2=18, Resulting Numbers: [34, 18]
Generated Node #0,1,3: 15:[34, 18] Operation: 20-2=18
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 15:[2, 14], Operations: ['51-31=20', '34-20=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,15 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 15:[20, 17], Operations: ['51-31=20', '34/2=17']
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,15 unequal: No Solution
Exploring Operation: 20*17=340, Resulting Numbers: [340]
340,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 15:[20, 32], Operations: ['51-31=20', '34-2=32']
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,15 unequal: No Solution
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 15:[34, 18], Operations: ['51-31=20', '20-2=18']
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 34*18=612, Resulting Numbers: [612]
612,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 15:[51, 2, 3], Operations: ['34-31=3']
Exploring Operation: 51/3=17, Resulting Numbers: [2, 17]
Generated Node #0,3,0: 15:[2, 17] Operation: 51/3=17
Exploring Operation: 51-3=48, Resulting Numbers: [2, 48]
Generated Node #0,3,1: 15:[2, 48] Operation: 51-3=48
Exploring Operation: 51-2=49, Resulting Numbers: [3, 49]
Generated Node #0,3,2: 15:[3, 49] Operation: 51-2=49
Exploring Operation: 2+3=5, Resulting Numbers: [51, 5]
Generated Node #0,3,3: 15:[51, 5] Operation: 2+3=5
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 15:[2, 17], Operations: ['34-31=3', '51/3=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[34, 31, 51, 2], Operations: []
Exploring Operation: 34-31=3, Resulting Numbers: [51, 2, 3]
Generated Node #0,3: 15:[51, 2, 3] Operation: 34-31=3
Moving to Node #0,3
Current State: 15:[51, 2, 3], Operations: ['34-31=3']
Exploring Operation: 51/3=17, Resulting Numbers: [2, 17]
Generated Node #0,3,0: 15:[2, 17] Operation: 51/3=17
Moving to Node #0,3,0
Current State: 15:[2, 17], Operations: ['34-31=3', '51/3=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.959201 | hs_4 | sum_heuristic |
[
10,
61,
60,
32
] | 35 | [
"60/10=6",
"61-32=29",
"6+29=35"
] | Current State: 35:[10, 61, 60, 32], Operations: []
Exploring Operation: 60/10=6, Resulting Numbers: [61, 32, 6]
Generated Node #2: [61, 32, 6] from Operation: 60/10=6
Current State: 35:[61, 32, 6], Operations: ['60/10=6']
Exploring Operation: 61-32=29, Resulting Numbers: [6, 29]
Generated Node #3: [6, 29] from Operation: 61-32=29
Current State: 35:[6, 29], Operations: ['60/10=6', '61-32=29']
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[10, 61, 60, 32], Operations: []
Exploring Operation: 60/10=6, Resulting Numbers: [61, 32, 6]
Generated Node #0,0: 35:[61, 32, 6] Operation: 60/10=6
Exploring Operation: 60-32=28, Resulting Numbers: [10, 61, 28]
Generated Node #0,1: 35:[10, 61, 28] Operation: 60-32=28
Exploring Operation: 61-10=51, Resulting Numbers: [60, 32, 51]
Generated Node #0,2: 35:[60, 32, 51] Operation: 61-10=51
Exploring Operation: 61-60=1, Resulting Numbers: [10, 32, 1]
Generated Node #0,3: 35:[10, 32, 1] Operation: 61-60=1
Exploring Operation: 61-32=29, Resulting Numbers: [10, 60, 29]
Generated Node #0,4: 35:[10, 60, 29] Operation: 61-32=29
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[10, 32, 1], Operations: ['61-60=1']
Exploring Operation: 32*1=32, Resulting Numbers: [10, 32]
Generated Node #0,3,0: 35:[10, 32] Operation: 32*1=32
Exploring Operation: 10*1=10, Resulting Numbers: [32, 10]
Generated Node #0,3,1: 35:[32, 10] Operation: 10*1=10
Exploring Operation: 10-1=9, Resulting Numbers: [32, 9]
Generated Node #0,3,2: 35:[32, 9] Operation: 10-1=9
Exploring Operation: 10/1=10, Resulting Numbers: [32, 10]
Generated Node #0,3,3: 35:[32, 10] Operation: 10/1=10
Exploring Operation: 32+1=33, Resulting Numbers: [10, 33]
Generated Node #0,3,4: 35:[10, 33] Operation: 32+1=33
Moving to Node #0,3,2
Current State: 35:[32, 9], Operations: ['61-60=1', '10-1=9']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,35 unequal: No Solution
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Moving to Node #0,3,4
Current State: 35:[10, 33], Operations: ['61-60=1', '32+1=33']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Exploring Operation: 10*33=330, Resulting Numbers: [330]
330,35 unequal: No Solution
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,35 unequal: No Solution
Moving to Node #0,3,0
Current State: 35:[10, 32], Operations: ['61-60=1', '32*1=32']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,35 unequal: No Solution
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Moving to Node #0,3,1
Current State: 35:[32, 10], Operations: ['61-60=1', '10*1=10']
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 32*10=320, Resulting Numbers: [320]
320,35 unequal: No Solution
Moving to Node #0,3,3
Current State: 35:[32, 10], Operations: ['61-60=1', '10/1=10']
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 32*10=320, Resulting Numbers: [320]
320,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[61, 32, 6], Operations: ['60/10=6']
Exploring Operation: 32+6=38, Resulting Numbers: [61, 38]
Generated Node #0,0,0: 35:[61, 38] Operation: 32+6=38
Exploring Operation: 61-6=55, Resulting Numbers: [32, 55]
Generated Node #0,0,1: 35:[32, 55] Operation: 61-6=55
Exploring Operation: 61-32=29, Resulting Numbers: [6, 29]
Generated Node #0,0,2: 35:[6, 29] Operation: 61-32=29
Exploring Operation: 61+6=67, Resulting Numbers: [32, 67]
Generated Node #0,0,3: 35:[32, 67] Operation: 61+6=67
Exploring Operation: 32-6=26, Resulting Numbers: [61, 26]
Generated Node #0,0,4: 35:[61, 26] Operation: 32-6=26
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 35:[6, 29], Operations: ['60/10=6', '61-32=29']
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,35 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[10, 61, 60, 32], Operations: []
Exploring Operation: 60/10=6, Resulting Numbers: [61, 32, 6]
Generated Node #0,0: 35:[61, 32, 6] Operation: 60/10=6
Moving to Node #0,0
Current State: 35:[61, 32, 6], Operations: ['60/10=6']
Exploring Operation: 61-32=29, Resulting Numbers: [6, 29]
Generated Node #0,0,2: 35:[6, 29] Operation: 61-32=29
Moving to Node #0,0,2
Current State: 35:[6, 29], Operations: ['60/10=6', '61-32=29']
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
73,
45,
38,
79
] | 89 | [
"73-45=28",
"38+79=117",
"117-28=89"
] | Current State: 89:[73, 45, 38, 79], Operations: []
Exploring Operation: 73-45=28, Resulting Numbers: [38, 79, 28]
Generated Node #2: [38, 79, 28] from Operation: 73-45=28
Current State: 89:[38, 79, 28], Operations: ['73-45=28']
Exploring Operation: 38+79=117, Resulting Numbers: [28, 117]
Generated Node #3: [28, 117] from Operation: 38+79=117
Current State: 89:[28, 117], Operations: ['73-45=28', '38+79=117']
Exploring Operation: 117-28=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[73, 45, 38, 79], Operations: []
Exploring Operation: 45+38=83, Resulting Numbers: [73, 79, 83]
Generated Node #0,0: 89:[73, 79, 83] Operation: 45+38=83
Moving to Node #0,0
Current State: 89:[73, 79, 83], Operations: ['45+38=83']
Exploring Operation: 73+79=152, Resulting Numbers: [83, 152]
Generated Node #0,0,0: 89:[83, 152] Operation: 73+79=152
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[83, 152], Operations: ['45+38=83', '73+79=152']
Exploring Operation: 152-83=69, Resulting Numbers: [69]
69,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
49,
90,
16,
76
] | 79 | [
"49+90=139",
"76-16=60",
"139-60=79"
] | Current State: 79:[49, 90, 16, 76], Operations: []
Exploring Operation: 49+90=139, Resulting Numbers: [16, 76, 139]
Generated Node #2: [16, 76, 139] from Operation: 49+90=139
Current State: 79:[16, 76, 139], Operations: ['49+90=139']
Exploring Operation: 76-16=60, Resulting Numbers: [139, 60]
Generated Node #3: [139, 60] from Operation: 76-16=60
Current State: 79:[139, 60], Operations: ['49+90=139', '76-16=60']
Exploring Operation: 139-60=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[49, 90, 16, 76], Operations: []
Exploring Operation: 90+16=106, Resulting Numbers: [49, 76, 106]
Generated Node #0,0: 79:[49, 76, 106] Operation: 90+16=106
Exploring Operation: 49+16=65, Resulting Numbers: [90, 76, 65]
Generated Node #0,1: 79:[90, 76, 65] Operation: 49+16=65
Exploring Operation: 16+76=92, Resulting Numbers: [49, 90, 92]
Generated Node #0,2: 79:[49, 90, 92] Operation: 16+76=92
Exploring Operation: 90-16=74, Resulting Numbers: [49, 76, 74]
Generated Node #0,3: 79:[49, 76, 74] Operation: 90-16=74
Exploring Operation: 49-16=33, Resulting Numbers: [90, 76, 33]
Generated Node #0,4: 79:[90, 76, 33] Operation: 49-16=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[90, 76, 65], Operations: ['49+16=65']
Exploring Operation: 90-65=25, Resulting Numbers: [76, 25]
Generated Node #0,1,0: 79:[76, 25] Operation: 90-65=25
Exploring Operation: 76-65=11, Resulting Numbers: [90, 11]
Generated Node #0,1,1: 79:[90, 11] Operation: 76-65=11
Exploring Operation: 90+65=155, Resulting Numbers: [76, 155]
Generated Node #0,1,2: 79:[76, 155] Operation: 90+65=155
Exploring Operation: 76+65=141, Resulting Numbers: [90, 141]
Generated Node #0,1,3: 79:[90, 141] Operation: 76+65=141
Exploring Operation: 90-76=14, Resulting Numbers: [65, 14]
Generated Node #0,1,4: 79:[65, 14] Operation: 90-76=14
Moving to Node #0,1,0
Current State: 79:[76, 25], Operations: ['49+16=65', '90-65=25']
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,79 unequal: No Solution
Exploring Operation: 76+25=101, Resulting Numbers: [101]
101,79 unequal: No Solution
Exploring Operation: 76*25=1900, Resulting Numbers: [1900]
1900,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[90, 141], Operations: ['49+16=65', '76+65=141']
Exploring Operation: 141-90=51, Resulting Numbers: [51]
51,79 unequal: No Solution
Exploring Operation: 90+141=231, Resulting Numbers: [231]
231,79 unequal: No Solution
Exploring Operation: 90*141=12690, Resulting Numbers: [12690]
12690,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[90, 11], Operations: ['49+16=65', '76-65=11']
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[49, 90, 16, 76], Operations: []
Exploring Operation: 49+16=65, Resulting Numbers: [90, 76, 65]
Generated Node #0,1: 79:[90, 76, 65] Operation: 49+16=65
Moving to Node #0,1
Current State: 79:[90, 76, 65], Operations: ['49+16=65']
Exploring Operation: 76-65=11, Resulting Numbers: [90, 11]
Generated Node #0,1,1: 79:[90, 11] Operation: 76-65=11
Moving to Node #0,1,1
Current State: 79:[90, 11], Operations: ['49+16=65', '76-65=11']
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
88,
6,
12,
34
] | 48 | [
"88+6=94",
"12+34=46",
"94-46=48"
] | Current State: 48:[88, 6, 12, 34], Operations: []
Exploring Operation: 88+6=94, Resulting Numbers: [12, 34, 94]
Generated Node #2: [12, 34, 94] from Operation: 88+6=94
Current State: 48:[12, 34, 94], Operations: ['88+6=94']
Exploring Operation: 12+34=46, Resulting Numbers: [94, 46]
Generated Node #3: [94, 46] from Operation: 12+34=46
Current State: 48:[94, 46], Operations: ['88+6=94', '12+34=46']
Exploring Operation: 94-46=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[88, 6, 12, 34], Operations: []
Exploring Operation: 88-12=76, Resulting Numbers: [6, 34, 76]
Generated Node #0,0: 48:[6, 34, 76] Operation: 88-12=76
Exploring Operation: 88-34=54, Resulting Numbers: [6, 12, 54]
Generated Node #0,1: 48:[6, 12, 54] Operation: 88-34=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[6, 12, 54], Operations: ['88-34=54']
Exploring Operation: 54/6=9, Resulting Numbers: [12, 9]
Generated Node #0,1,0: 48:[12, 9] Operation: 54/6=9
Exploring Operation: 54-6=48, Resulting Numbers: [12, 48]
Generated Node #0,1,1: 48:[12, 48] Operation: 54-6=48
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 48:[12, 48], Operations: ['88-34=54', '54-6=48']
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 48:[12, 9], Operations: ['88-34=54', '54/6=9']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[6, 34, 76], Operations: ['88-12=76']
Exploring Operation: 76-34=42, Resulting Numbers: [6, 42]
Generated Node #0,0,0: 48:[6, 42] Operation: 76-34=42
Exploring Operation: 34-6=28, Resulting Numbers: [76, 28]
Generated Node #0,0,1: 48:[76, 28] Operation: 34-6=28
Moving to Node #0,0,0
Current State: 48:[6, 42], Operations: ['88-12=76', '76-34=42']
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[88, 6, 12, 34], Operations: []
Exploring Operation: 88-12=76, Resulting Numbers: [6, 34, 76]
Generated Node #0,0: 48:[6, 34, 76] Operation: 88-12=76
Moving to Node #0,0
Current State: 48:[6, 34, 76], Operations: ['88-12=76']
Exploring Operation: 76-34=42, Resulting Numbers: [6, 42]
Generated Node #0,0,0: 48:[6, 42] Operation: 76-34=42
Moving to Node #0,0,0
Current State: 48:[6, 42], Operations: ['88-12=76', '76-34=42']
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
74,
59,
55,
77
] | 12 | [
"77-74=3",
"59-55=4",
"3*4=12"
] | Current State: 12:[74, 59, 55, 77], Operations: []
Exploring Operation: 77-74=3, Resulting Numbers: [59, 55, 3]
Generated Node #2: [59, 55, 3] from Operation: 77-74=3
Current State: 12:[59, 55, 3], Operations: ['77-74=3']
Exploring Operation: 59-55=4, Resulting Numbers: [3, 4]
Generated Node #3: [3, 4] from Operation: 59-55=4
Current State: 12:[3, 4], Operations: ['77-74=3', '59-55=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[74, 59, 55, 77], Operations: []
Exploring Operation: 74-59=15, Resulting Numbers: [55, 77, 15]
Generated Node #0,0: 12:[55, 77, 15] Operation: 74-59=15
Exploring Operation: 77-59=18, Resulting Numbers: [74, 55, 18]
Generated Node #0,1: 12:[74, 55, 18] Operation: 77-59=18
Exploring Operation: 77-74=3, Resulting Numbers: [59, 55, 3]
Generated Node #0,2: 12:[59, 55, 3] Operation: 77-74=3
Exploring Operation: 74-55=19, Resulting Numbers: [59, 77, 19]
Generated Node #0,3: 12:[59, 77, 19] Operation: 74-55=19
Moving to Node #0,2
Current State: 12:[59, 55, 3], Operations: ['77-74=3']
Exploring Operation: 59+3=62, Resulting Numbers: [55, 62]
Generated Node #0,2,0: 12:[55, 62] Operation: 59+3=62
Exploring Operation: 55-3=52, Resulting Numbers: [59, 52]
Generated Node #0,2,1: 12:[59, 52] Operation: 55-3=52
Exploring Operation: 59-55=4, Resulting Numbers: [3, 4]
Generated Node #0,2,2: 12:[3, 4] Operation: 59-55=4
Exploring Operation: 59-3=56, Resulting Numbers: [55, 56]
Generated Node #0,2,3: 12:[55, 56] Operation: 59-3=56
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[3, 4], Operations: ['77-74=3', '59-55=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[74, 59, 55, 77], Operations: []
Exploring Operation: 77-74=3, Resulting Numbers: [59, 55, 3]
Generated Node #0,2: 12:[59, 55, 3] Operation: 77-74=3
Moving to Node #0,2
Current State: 12:[59, 55, 3], Operations: ['77-74=3']
Exploring Operation: 59-55=4, Resulting Numbers: [3, 4]
Generated Node #0,2,2: 12:[3, 4] Operation: 59-55=4
Moving to Node #0,2,2
Current State: 12:[3, 4], Operations: ['77-74=3', '59-55=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
64,
8,
41,
46
] | 95 | [
"64/8=8",
"41+46=87",
"8+87=95"
] | Current State: 95:[64, 8, 41, 46], Operations: []
Exploring Operation: 64/8=8, Resulting Numbers: [41, 46, 8]
Generated Node #2: [41, 46, 8] from Operation: 64/8=8
Current State: 95:[41, 46, 8], Operations: ['64/8=8']
Exploring Operation: 41+46=87, Resulting Numbers: [8, 87]
Generated Node #3: [8, 87] from Operation: 41+46=87
Current State: 95:[8, 87], Operations: ['64/8=8', '41+46=87']
Exploring Operation: 8+87=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[64, 8, 41, 46], Operations: []
Exploring Operation: 64-46=18, Resulting Numbers: [8, 41, 18]
Generated Node #0,0: 95:[8, 41, 18] Operation: 64-46=18
Exploring Operation: 64-41=23, Resulting Numbers: [8, 46, 23]
Generated Node #0,1: 95:[8, 46, 23] Operation: 64-41=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[8, 41, 18], Operations: ['64-46=18']
Exploring Operation: 41-8=33, Resulting Numbers: [18, 33]
Generated Node #0,0,0: 95:[18, 33] Operation: 41-8=33
Exploring Operation: 41-18=23, Resulting Numbers: [8, 23]
Generated Node #0,0,1: 95:[8, 23] Operation: 41-18=23
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[8, 23], Operations: ['64-46=18', '41-18=23']
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,95 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,95 unequal: No Solution
No 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: 95:[18, 33], Operations: ['64-46=18', '41-8=33']
Exploring Operation: 18+33=51, Resulting Numbers: [51]
51,95 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,95 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: 95:[8, 46, 23], Operations: ['64-41=23']
Exploring Operation: 46-23=23, Resulting Numbers: [8, 23]
Generated Node #0,1,0: 95:[8, 23] Operation: 46-23=23
Exploring Operation: 46/23=2, Resulting Numbers: [8, 2]
Generated Node #0,1,1: 95:[8, 2] Operation: 46/23=2
Moving to Node #0,1,1
Current State: 95:[8, 2], Operations: ['64-41=23', '46/23=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[8, 23], Operations: ['64-41=23', '46-23=23']
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,95 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
34,
10,
69,
47
] | 46 | [
"34-10=24",
"69-47=22",
"24+22=46"
] | Current State: 46:[34, 10, 69, 47], Operations: []
Exploring Operation: 34-10=24, Resulting Numbers: [69, 47, 24]
Generated Node #2: [69, 47, 24] from Operation: 34-10=24
Current State: 46:[69, 47, 24], Operations: ['34-10=24']
Exploring Operation: 69-47=22, Resulting Numbers: [24, 22]
Generated Node #3: [24, 22] from Operation: 69-47=22
Current State: 46:[24, 22], Operations: ['34-10=24', '69-47=22']
Exploring Operation: 24+22=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[34, 10, 69, 47], Operations: []
Exploring Operation: 69-34=35, Resulting Numbers: [10, 47, 35]
Generated Node #0,0: 46:[10, 47, 35] Operation: 69-34=35
Exploring Operation: 69-10=59, Resulting Numbers: [34, 47, 59]
Generated Node #0,1: 46:[34, 47, 59] Operation: 69-10=59
Exploring Operation: 34-10=24, Resulting Numbers: [69, 47, 24]
Generated Node #0,2: 46:[69, 47, 24] Operation: 34-10=24
Exploring Operation: 69-47=22, Resulting Numbers: [34, 10, 22]
Generated Node #0,3: 46:[34, 10, 22] Operation: 69-47=22
Exploring Operation: 34+10=44, Resulting Numbers: [69, 47, 44]
Generated Node #0,4: 46:[69, 47, 44] Operation: 34+10=44
Moving to Node #0,0
Current State: 46:[10, 47, 35], Operations: ['69-34=35']
Exploring Operation: 10+47=57, Resulting Numbers: [35, 57]
Generated Node #0,0,0: 46:[35, 57] Operation: 10+47=57
Exploring Operation: 47-10=37, Resulting Numbers: [35, 37]
Generated Node #0,0,1: 46:[35, 37] Operation: 47-10=37
Exploring Operation: 47-35=12, Resulting Numbers: [10, 12]
Generated Node #0,0,2: 46:[10, 12] Operation: 47-35=12
Exploring Operation: 35-10=25, Resulting Numbers: [47, 25]
Generated Node #0,0,3: 46:[47, 25] Operation: 35-10=25
Exploring Operation: 10+35=45, Resulting Numbers: [47, 45]
Generated Node #0,0,4: 46:[47, 45] Operation: 10+35=45
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 46:[47, 45], Operations: ['69-34=35', '10+35=45']
Exploring Operation: 47*45=2115, Resulting Numbers: [2115]
2115,46 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 47+45=92, Resulting Numbers: [92]
92,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 46:[47, 25], Operations: ['69-34=35', '35-10=25']
Exploring Operation: 47+25=72, Resulting Numbers: [72]
72,46 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 47*25=1175, Resulting Numbers: [1175]
1175,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 46:[10, 12], Operations: ['69-34=35', '47-35=12']
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,46 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[35, 37], Operations: ['69-34=35', '47-10=37']
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,46 unequal: No Solution
Exploring Operation: 35*37=1295, Resulting Numbers: [1295]
1295,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[35, 57], Operations: ['69-34=35', '10+47=57']
Exploring Operation: 35+57=92, Resulting Numbers: [92]
92,46 unequal: No Solution
Exploring Operation: 35*57=1995, Resulting Numbers: [1995]
1995,46 unequal: No Solution
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,46 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: 46:[34, 10, 22], Operations: ['69-47=22']
Exploring Operation: 34+10=44, Resulting Numbers: [22, 44]
Generated Node #0,3,0: 46:[22, 44] Operation: 34+10=44
Exploring Operation: 34-22=12, Resulting Numbers: [10, 12]
Generated Node #0,3,1: 46:[10, 12] Operation: 34-22=12
Exploring Operation: 34+22=56, Resulting Numbers: [10, 56]
Generated Node #0,3,2: 46:[10, 56] Operation: 34+22=56
Exploring Operation: 34-10=24, Resulting Numbers: [22, 24]
Generated Node #0,3,3: 46:[22, 24] Operation: 34-10=24
Exploring Operation: 10+22=32, Resulting Numbers: [34, 32]
Generated Node #0,3,4: 46:[34, 32] Operation: 10+22=32
Moving to Node #0,1
Current State: 46:[34, 47, 59], Operations: ['69-10=59']
Exploring Operation: 59-47=12, Resulting Numbers: [34, 12]
Generated Node #0,1,0: 46:[34, 12] Operation: 59-47=12
Exploring Operation: 34+47=81, Resulting Numbers: [59, 81]
Generated Node #0,1,1: 46:[59, 81] Operation: 34+47=81
Exploring Operation: 47-34=13, Resulting Numbers: [59, 13]
Generated Node #0,1,2: 46:[59, 13] Operation: 47-34=13
Exploring Operation: 34+59=93, Resulting Numbers: [47, 93]
Generated Node #0,1,3: 46:[47, 93] Operation: 34+59=93
Exploring Operation: 59-34=25, Resulting Numbers: [47, 25]
Generated Node #0,1,4: 46:[47, 25] Operation: 59-34=25
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 46:[47, 25], Operations: ['69-10=59', '59-34=25']
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 47+25=72, Resulting Numbers: [72]
72,46 unequal: No Solution
Exploring Operation: 47*25=1175, Resulting Numbers: [1175]
1175,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[34, 12], Operations: ['69-10=59', '59-47=12']
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,46 unequal: No Solution
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[34, 10, 69, 47], Operations: []
Exploring Operation: 69-10=59, Resulting Numbers: [34, 47, 59]
Generated Node #0,1: 46:[34, 47, 59] Operation: 69-10=59
Moving to Node #0,1
Current State: 46:[34, 47, 59], Operations: ['69-10=59']
Exploring Operation: 59-47=12, Resulting Numbers: [34, 12]
Generated Node #0,1,0: 46:[34, 12] Operation: 59-47=12
Moving to Node #0,1,0
Current State: 46:[34, 12], Operations: ['69-10=59', '59-47=12']
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_5 | sum_heuristic |
[
26,
69,
9,
53
] | 33 | [
"26+69=95",
"9+53=62",
"95-62=33"
] | Current State: 33:[26, 69, 9, 53], Operations: []
Exploring Operation: 26+69=95, Resulting Numbers: [9, 53, 95]
Generated Node #2: [9, 53, 95] from Operation: 26+69=95
Current State: 33:[9, 53, 95], Operations: ['26+69=95']
Exploring Operation: 9+53=62, Resulting Numbers: [95, 62]
Generated Node #3: [95, 62] from Operation: 9+53=62
Current State: 33:[95, 62], Operations: ['26+69=95', '9+53=62']
Exploring Operation: 95-62=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[26, 69, 9, 53], Operations: []
Exploring Operation: 69-53=16, Resulting Numbers: [26, 9, 16]
Generated Node #0,0: 33:[26, 9, 16] Operation: 69-53=16
Exploring Operation: 69-26=43, Resulting Numbers: [9, 53, 43]
Generated Node #0,1: 33:[9, 53, 43] Operation: 69-26=43
Exploring Operation: 53-26=27, Resulting Numbers: [69, 9, 27]
Generated Node #0,2: 33:[69, 9, 27] Operation: 53-26=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[26, 9, 16], Operations: ['69-53=16']
Exploring Operation: 26+9=35, Resulting Numbers: [16, 35]
Generated Node #0,0,0: 33:[16, 35] Operation: 26+9=35
Exploring Operation: 26-16=10, Resulting Numbers: [9, 10]
Generated Node #0,0,1: 33:[9, 10] Operation: 26-16=10
Exploring Operation: 26-9=17, Resulting Numbers: [16, 17]
Generated Node #0,0,2: 33:[16, 17] Operation: 26-9=17
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[9, 10], Operations: ['69-53=16', '26-16=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,33 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,33 unequal: No Solution
No 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: 33:[16, 35], Operations: ['69-53=16', '26+9=35']
Exploring Operation: 16+35=51, Resulting Numbers: [51]
51,33 unequal: No Solution
Exploring Operation: 16*35=560, Resulting Numbers: [560]
560,33 unequal: No Solution
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,33 unequal: No Solution
No 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: 33:[16, 17], Operations: ['69-53=16', '26-9=17']
Exploring Operation: 16+17=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[26, 69, 9, 53], Operations: []
Exploring Operation: 69-53=16, Resulting Numbers: [26, 9, 16]
Generated Node #0,0: 33:[26, 9, 16] Operation: 69-53=16
Moving to Node #0,0
Current State: 33:[26, 9, 16], Operations: ['69-53=16']
Exploring Operation: 26-9=17, Resulting Numbers: [16, 17]
Generated Node #0,0,2: 33:[16, 17] Operation: 26-9=17
Moving to Node #0,0,2
Current State: 33:[16, 17], Operations: ['69-53=16', '26-9=17']
Exploring Operation: 16+17=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
3,
21,
11,
75
] | 52 | [
"21*11=231",
"231-75=156",
"156/3=52"
] | Current State: 52:[3, 21, 11, 75], Operations: []
Exploring Operation: 21*11=231, Resulting Numbers: [3, 75, 231]
Generated Node #2: [3, 75, 231] from Operation: 21*11=231
Current State: 52:[3, 75, 231], Operations: ['21*11=231']
Exploring Operation: 231-75=156, Resulting Numbers: [3, 156]
Generated Node #3: [3, 156] from Operation: 231-75=156
Current State: 52:[3, 156], Operations: ['21*11=231', '231-75=156']
Exploring Operation: 156/3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[3, 21, 11, 75], Operations: []
Exploring Operation: 75-21=54, Resulting Numbers: [3, 11, 54]
Generated Node #0,0: 52:[3, 11, 54] Operation: 75-21=54
Exploring Operation: 75-11=64, Resulting Numbers: [3, 21, 64]
Generated Node #0,1: 52:[3, 21, 64] Operation: 75-11=64
Exploring Operation: 75/3=25, Resulting Numbers: [21, 11, 25]
Generated Node #0,2: 52:[21, 11, 25] Operation: 75/3=25
Exploring Operation: 3+21=24, Resulting Numbers: [11, 75, 24]
Generated Node #0,3: 52:[11, 75, 24] Operation: 3+21=24
Moving to Node #0,0
Current State: 52:[3, 11, 54], Operations: ['75-21=54']
Exploring Operation: 3+11=14, Resulting Numbers: [54, 14]
Generated Node #0,0,0: 52:[54, 14] Operation: 3+11=14
Exploring Operation: 11-3=8, Resulting Numbers: [54, 8]
Generated Node #0,0,1: 52:[54, 8] Operation: 11-3=8
Exploring Operation: 3+54=57, Resulting Numbers: [11, 57]
Generated Node #0,0,2: 52:[11, 57] Operation: 3+54=57
Exploring Operation: 54-3=51, Resulting Numbers: [11, 51]
Generated Node #0,0,3: 52:[11, 51] Operation: 54-3=51
Moving to Node #0,2
Current State: 52:[21, 11, 25], Operations: ['75/3=25']
Exploring Operation: 25-11=14, Resulting Numbers: [21, 14]
Generated Node #0,2,0: 52:[21, 14] Operation: 25-11=14
Exploring Operation: 21+11=32, Resulting Numbers: [25, 32]
Generated Node #0,2,1: 52:[25, 32] Operation: 21+11=32
Exploring Operation: 21-11=10, Resulting Numbers: [25, 10]
Generated Node #0,2,2: 52:[25, 10] Operation: 21-11=10
Exploring Operation: 25-21=4, Resulting Numbers: [11, 4]
Generated Node #0,2,3: 52:[11, 4] Operation: 25-21=4
Moving to Node #0,1
Current State: 52:[3, 21, 64], Operations: ['75-11=64']
Exploring Operation: 21/3=7, Resulting Numbers: [64, 7]
Generated Node #0,1,0: 52:[64, 7] Operation: 21/3=7
Exploring Operation: 64-3=61, Resulting Numbers: [21, 61]
Generated Node #0,1,1: 52:[21, 61] Operation: 64-3=61
Exploring Operation: 3+21=24, Resulting Numbers: [64, 24]
Generated Node #0,1,2: 52:[64, 24] Operation: 3+21=24
Exploring Operation: 64-21=43, Resulting Numbers: [3, 43]
Generated Node #0,1,3: 52:[3, 43] Operation: 64-21=43
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 52:[3, 43], Operations: ['75-11=64', '64-21=43']
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,52 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,52 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[21, 61], Operations: ['75-11=64', '64-3=61']
Exploring Operation: 21+61=82, Resulting Numbers: [82]
82,52 unequal: No Solution
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Exploring Operation: 21*61=1281, Resulting Numbers: [1281]
1281,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 52:[64, 24], Operations: ['75-11=64', '3+21=24']
Exploring Operation: 64+24=88, Resulting Numbers: [88]
88,52 unequal: No Solution
Exploring Operation: 64*24=1536, Resulting Numbers: [1536]
1536,52 unequal: No Solution
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[64, 7], Operations: ['75-11=64', '21/3=7']
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 64+7=71, Resulting Numbers: [71]
71,52 unequal: No Solution
Exploring Operation: 64*7=448, Resulting Numbers: [448]
448,52 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: 52:[11, 75, 24], Operations: ['3+21=24']
Exploring Operation: 75-11=64, Resulting Numbers: [24, 64]
Generated Node #0,3,0: 52:[24, 64] Operation: 75-11=64
Exploring Operation: 75-24=51, Resulting Numbers: [11, 51]
Generated Node #0,3,1: 52:[11, 51] Operation: 75-24=51
Exploring Operation: 11+24=35, Resulting Numbers: [75, 35]
Generated Node #0,3,2: 52:[75, 35] Operation: 11+24=35
Exploring Operation: 24-11=13, Resulting Numbers: [75, 13]
Generated Node #0,3,3: 52:[75, 13] Operation: 24-11=13
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 52:[11, 51], Operations: ['3+21=24', '75-24=51']
Exploring Operation: 11+51=62, Resulting Numbers: [62]
62,52 unequal: No Solution
Exploring Operation: 11*51=561, Resulting Numbers: [561]
561,52 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 52:[24, 64], Operations: ['3+21=24', '75-11=64']
Exploring Operation: 24+64=88, Resulting Numbers: [88]
88,52 unequal: No Solution
Exploring Operation: 24*64=1536, Resulting Numbers: [1536]
1536,52 unequal: No Solution
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 52:[75, 13], Operations: ['3+21=24', '24-11=13']
Exploring Operation: 75+13=88, Resulting Numbers: [88]
88,52 unequal: No Solution
Exploring Operation: 75*13=975, Resulting Numbers: [975]
975,52 unequal: No Solution
Exploring Operation: 75-13=62, Resulting Numbers: [62]
62,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 52:[75, 35], Operations: ['3+21=24', '11+24=35']
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Exploring Operation: 75*35=2625, Resulting Numbers: [2625]
2625,52 unequal: No Solution
Exploring Operation: 75+35=110, Resulting Numbers: [110]
110,52 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: 52:[11, 4], Operations: ['75/3=25', '25-21=4']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,52 unequal: No Solution
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[54, 14], Operations: ['75-21=54', '3+11=14']
Exploring Operation: 54+14=68, Resulting Numbers: [68]
68,52 unequal: No Solution
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Exploring Operation: 54*14=756, Resulting Numbers: [756]
756,52 unequal: No Solution
Moving to Node #0,0,3
Current State: 52:[11, 51], Operations: ['75-21=54', '54-3=51']
Exploring Operation: 11*51=561, Resulting Numbers: [561]
561,52 unequal: No Solution
Exploring Operation: 11+51=62, Resulting Numbers: [62]
62,52 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[25, 10], Operations: ['75/3=25', '21-11=10']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Exploring Operation: 25*10=250, Resulting Numbers: [250]
250,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[54, 8], Operations: ['75-21=54', '11-3=8']
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,52 unequal: No Solution
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,52 unequal: No Solution
Exploring Operation: 54*8=432, Resulting Numbers: [432]
432,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[21, 14], Operations: ['75/3=25', '25-11=14']
Exploring Operation: 21*14=294, Resulting Numbers: [294]
294,52 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 21+14=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[11, 57], Operations: ['75-21=54', '3+54=57']
Exploring Operation: 57-11=46, Resulting Numbers: [46]
46,52 unequal: No Solution
Exploring Operation: 11*57=627, Resulting Numbers: [627]
627,52 unequal: No Solution
Exploring Operation: 11+57=68, Resulting Numbers: [68]
68,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[25, 32], Operations: ['75/3=25', '21+11=32']
Exploring Operation: 25*32=800, Resulting Numbers: [800]
800,52 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 25+32=57, Resulting Numbers: [57]
57,52 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
4,
82,
10,
40
] | 62 | [
"40/4=10",
"82-10=72",
"72-10=62"
] | Current State: 62:[4, 82, 10, 40], Operations: []
Exploring Operation: 40/4=10, Resulting Numbers: [82, 10, 10]
Generated Node #2: [82, 10, 10] from Operation: 40/4=10
Current State: 62:[82, 10, 10], Operations: ['40/4=10']
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,62 equal: Goal Reached
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[4, 82, 10, 40], Operations: []
Exploring Operation: 82-4=78, Resulting Numbers: [10, 40, 78]
Generated Node #0,0: 62:[10, 40, 78] Operation: 82-4=78
Exploring Operation: 82-40=42, Resulting Numbers: [4, 10, 42]
Generated Node #0,1: 62:[4, 10, 42] Operation: 82-40=42
Exploring Operation: 40/10=4, Resulting Numbers: [4, 82, 4]
Generated Node #0,2: 62:[4, 82, 4] Operation: 40/10=4
Exploring Operation: 40-10=30, Resulting Numbers: [4, 82, 30]
Generated Node #0,3: 62:[4, 82, 30] Operation: 40-10=30
Exploring Operation: 82-10=72, Resulting Numbers: [4, 40, 72]
Generated Node #0,4: 62:[4, 40, 72] Operation: 82-10=72
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[4, 10, 42], Operations: ['82-40=42']
Exploring Operation: 4*10=40, Resulting Numbers: [42, 40]
Generated Node #0,1,0: 62:[42, 40] Operation: 4*10=40
Exploring Operation: 10-4=6, Resulting Numbers: [42, 6]
Generated Node #0,1,1: 62:[42, 6] Operation: 10-4=6
Exploring Operation: 42-10=32, Resulting Numbers: [4, 32]
Generated Node #0,1,2: 62:[4, 32] Operation: 42-10=32
Exploring Operation: 42-4=38, Resulting Numbers: [10, 38]
Generated Node #0,1,3: 62:[10, 38] Operation: 42-4=38
Exploring Operation: 10+42=52, Resulting Numbers: [4, 52]
Generated Node #0,1,4: 62:[4, 52] Operation: 10+42=52
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 62:[4, 32], Operations: ['82-40=42', '42-10=32']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,62 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,62 unequal: No Solution
No 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: 62:[4, 52], Operations: ['82-40=42', '10+42=52']
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,62 unequal: No Solution
Exploring Operation: 4*52=208, Resulting Numbers: [208]
208,62 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,62 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,62 unequal: No Solution
No 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: 62:[42, 6], Operations: ['82-40=42', '10-4=6']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,62 unequal: No Solution
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,62 unequal: No Solution
Exploring Operation: 42*6=252, Resulting Numbers: [252]
252,62 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,62 unequal: No Solution
No 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: 62:[10, 38], Operations: ['82-40=42', '42-4=38']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,62 unequal: No Solution
Exploring Operation: 10*38=380, Resulting Numbers: [380]
380,62 unequal: No Solution
No 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: 62:[42, 40], Operations: ['82-40=42', '4*10=40']
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 42*40=1680, Resulting Numbers: [1680]
1680,62 unequal: No Solution
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,62 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: 62:[4, 40, 72], Operations: ['82-10=72']
Exploring Operation: 40-4=36, Resulting Numbers: [72, 36]
Generated Node #0,4,0: 62:[72, 36] Operation: 40-4=36
Exploring Operation: 72/4=18, Resulting Numbers: [40, 18]
Generated Node #0,4,1: 62:[40, 18] Operation: 72/4=18
Exploring Operation: 40/4=10, Resulting Numbers: [72, 10]
Generated Node #0,4,2: 62:[72, 10] Operation: 40/4=10
Exploring Operation: 72-4=68, Resulting Numbers: [40, 68]
Generated Node #0,4,3: 62:[40, 68] Operation: 72-4=68
Exploring Operation: 72-40=32, Resulting Numbers: [4, 32]
Generated Node #0,4,4: 62:[4, 32] Operation: 72-40=32
Moving to Node #0,4,4
Current State: 62:[4, 32], Operations: ['82-10=72', '72-40=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,62 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,62 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Moving to Node #0,4,3
Current State: 62:[40, 68], Operations: ['82-10=72', '72-4=68']
Exploring Operation: 40+68=108, Resulting Numbers: [108]
108,62 unequal: No Solution
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 40*68=2720, Resulting Numbers: [2720]
2720,62 unequal: No Solution
Moving to Node #0,4,0
Current State: 62:[72, 36], Operations: ['82-10=72', '40-4=36']
Exploring Operation: 72-36=36, Resulting Numbers: [36]
36,62 unequal: No Solution
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 72+36=108, Resulting Numbers: [108]
108,62 unequal: No Solution
Exploring Operation: 72*36=2592, Resulting Numbers: [2592]
2592,62 unequal: No Solution
Moving to Node #0,4,2
Current State: 62:[72, 10], Operations: ['82-10=72', '40/4=10']
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,62 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[4, 82, 10, 40], Operations: []
Exploring Operation: 82-10=72, Resulting Numbers: [4, 40, 72]
Generated Node #0,4: 62:[4, 40, 72] Operation: 82-10=72
Moving to Node #0,4
Current State: 62:[4, 40, 72], Operations: ['82-10=72']
Exploring Operation: 40/4=10, Resulting Numbers: [72, 10]
Generated Node #0,4,2: 62:[72, 10] Operation: 40/4=10
Moving to Node #0,4,2
Current State: 62:[72, 10], Operations: ['82-10=72', '40/4=10']
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.956597 | hs_5 | sum_heuristic |
[
19,
81,
64,
31
] | 62 | [
"81-19=62",
"64-62=2",
"31*2=62"
] | Current State: 62:[19, 81, 64, 31], Operations: []
Exploring Operation: 81-19=62, Resulting Numbers: [64, 31, 62]
Generated Node #2: [64, 31, 62] from Operation: 81-19=62
Current State: 62:[64, 31, 62], Operations: ['81-19=62']
Exploring Operation: 64-62=2, Resulting Numbers: [31, 2]
Generated Node #3: [31, 2] from Operation: 64-62=2
Current State: 62:[31, 2], Operations: ['81-19=62', '64-62=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[19, 81, 64, 31], Operations: []
Exploring Operation: 31-19=12, Resulting Numbers: [81, 64, 12]
Generated Node #0,0: 62:[81, 64, 12] Operation: 31-19=12
Exploring Operation: 81-64=17, Resulting Numbers: [19, 31, 17]
Generated Node #0,1: 62:[19, 31, 17] Operation: 81-64=17
Exploring Operation: 81-19=62, Resulting Numbers: [64, 31, 62]
Generated Node #0,2: 62:[64, 31, 62] Operation: 81-19=62
Exploring Operation: 81-31=50, Resulting Numbers: [19, 64, 50]
Generated Node #0,3: 62:[19, 64, 50] Operation: 81-31=50
Exploring Operation: 64-19=45, Resulting Numbers: [81, 31, 45]
Generated Node #0,4: 62:[81, 31, 45] Operation: 64-19=45
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[64, 31, 62], Operations: ['81-19=62']
Exploring Operation: 64-62=2, Resulting Numbers: [31, 2]
Generated Node #0,2,0: 62:[31, 2] Operation: 64-62=2
Exploring Operation: 64+31=95, Resulting Numbers: [62, 95]
Generated Node #0,2,1: 62:[62, 95] Operation: 64+31=95
Exploring Operation: 64-31=33, Resulting Numbers: [62, 33]
Generated Node #0,2,2: 62:[62, 33] Operation: 64-31=33
Exploring Operation: 62/31=2, Resulting Numbers: [64, 2]
Generated Node #0,2,3: 62:[64, 2] Operation: 62/31=2
Exploring Operation: 62-31=31, Resulting Numbers: [64, 31]
Generated Node #0,2,4: 62:[64, 31] Operation: 62-31=31
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 62:[31, 2], Operations: ['81-19=62', '64-62=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[19, 81, 64, 31], Operations: []
Exploring Operation: 81-19=62, Resulting Numbers: [64, 31, 62]
Generated Node #0,2: 62:[64, 31, 62] Operation: 81-19=62
Moving to Node #0,2
Current State: 62:[64, 31, 62], Operations: ['81-19=62']
Exploring Operation: 64-62=2, Resulting Numbers: [31, 2]
Generated Node #0,2,0: 62:[31, 2] Operation: 64-62=2
Moving to Node #0,2,0
Current State: 62:[31, 2], Operations: ['81-19=62', '64-62=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
24,
82,
33,
52
] | 72 | [
"82-33=49",
"52-49=3",
"24*3=72"
] | Current State: 72:[24, 82, 33, 52], Operations: []
Exploring Operation: 82-33=49, Resulting Numbers: [24, 52, 49]
Generated Node #2: [24, 52, 49] from Operation: 82-33=49
Current State: 72:[24, 52, 49], Operations: ['82-33=49']
Exploring Operation: 52-49=3, Resulting Numbers: [24, 3]
Generated Node #3: [24, 3] from Operation: 52-49=3
Current State: 72:[24, 3], Operations: ['82-33=49', '52-49=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[24, 82, 33, 52], Operations: []
Exploring Operation: 82-52=30, Resulting Numbers: [24, 33, 30]
Generated Node #0,0: 72:[24, 33, 30] Operation: 82-52=30
Moving to Node #0,0
Current State: 72:[24, 33, 30], Operations: ['82-52=30']
Exploring Operation: 33-30=3, Resulting Numbers: [24, 3]
Generated Node #0,0,0: 72:[24, 3] Operation: 33-30=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[24, 3], Operations: ['82-52=30', '33-30=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[24, 82, 33, 52], Operations: []
Exploring Operation: 82-52=30, Resulting Numbers: [24, 33, 30]
Generated Node #0,0: 72:[24, 33, 30] Operation: 82-52=30
Moving to Node #0,0
Current State: 72:[24, 33, 30], Operations: ['82-52=30']
Exploring Operation: 33-30=3, Resulting Numbers: [24, 3]
Generated Node #0,0,0: 72:[24, 3] Operation: 33-30=3
Moving to Node #0,0,0
Current State: 72:[24, 3], Operations: ['82-52=30', '33-30=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
76,
82,
39,
63
] | 79 | [
"76-63=13",
"39/13=3",
"82-3=79"
] | Current State: 79:[76, 82, 39, 63], Operations: []
Exploring Operation: 76-63=13, Resulting Numbers: [82, 39, 13]
Generated Node #2: [82, 39, 13] from Operation: 76-63=13
Current State: 79:[82, 39, 13], Operations: ['76-63=13']
Exploring Operation: 39/13=3, Resulting Numbers: [82, 3]
Generated Node #3: [82, 3] from Operation: 39/13=3
Current State: 79:[82, 3], Operations: ['76-63=13', '39/13=3']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[76, 82, 39, 63], Operations: []
Exploring Operation: 76+39=115, Resulting Numbers: [82, 63, 115]
Generated Node #0,0: 79:[82, 63, 115] Operation: 76+39=115
Exploring Operation: 39+63=102, Resulting Numbers: [76, 82, 102]
Generated Node #0,1: 79:[76, 82, 102] Operation: 39+63=102
Moving to Node #0,1
Current State: 79:[76, 82, 102], Operations: ['39+63=102']
Exploring Operation: 102-82=20, Resulting Numbers: [76, 20]
Generated Node #0,1,0: 79:[76, 20] Operation: 102-82=20
Exploring Operation: 102-76=26, Resulting Numbers: [82, 26]
Generated Node #0,1,1: 79:[82, 26] Operation: 102-76=26
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[82, 26], Operations: ['39+63=102', '102-76=26']
Exploring Operation: 82+26=108, Resulting Numbers: [108]
108,79 unequal: No Solution
Exploring Operation: 82-26=56, Resulting Numbers: [56]
56,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[76, 20], Operations: ['39+63=102', '102-82=20']
Exploring Operation: 76-20=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 76+20=96, Resulting Numbers: [96]
96,79 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: 79:[82, 63, 115], Operations: ['76+39=115']
Exploring Operation: 115-63=52, Resulting Numbers: [82, 52]
Generated Node #0,0,0: 79:[82, 52] Operation: 115-63=52
Exploring Operation: 115-82=33, Resulting Numbers: [63, 33]
Generated Node #0,0,1: 79:[63, 33] Operation: 115-82=33
Moving to Node #0,0,0
Current State: 79:[82, 52], Operations: ['76+39=115', '115-63=52']
Exploring Operation: 82+52=134, Resulting Numbers: [134]
134,79 unequal: No Solution
Exploring Operation: 82-52=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[63, 33], Operations: ['76+39=115', '115-82=33']
Exploring Operation: 63+33=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 63-33=30, Resulting Numbers: [30]
30,79 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
5,
5,
66
] | 17 | [
"5-2=3",
"66/3=22",
"22-5=17"
] | Current State: 17:[2, 5, 5, 66], Operations: []
Exploring Operation: 5-2=3, Resulting Numbers: [66, 3]
Generated Node #2: [66, 3] from Operation: 5-2=3
Current State: 17:[66, 3], Operations: ['5-2=3']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,17 equal: Goal Reached
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[2, 5, 5, 66], Operations: []
Exploring Operation: 66/2=33, Resulting Numbers: [5, 5, 33]
Generated Node #0,0: 17:[5, 5, 33] Operation: 66/2=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[5, 5, 33], Operations: ['66/2=33']
Exploring Operation: 5+5=10, Resulting Numbers: [33, 10]
Generated Node #0,0,0: 17:[33, 10] Operation: 5+5=10
Moving to Node #0,0,0
Current State: 17:[33, 10], Operations: ['66/2=33', '5+5=10']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,17 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 |
[
20,
4,
32,
41
] | 13 | [
"41-20=21",
"32/4=8",
"21-8=13"
] | Current State: 13:[20, 4, 32, 41], Operations: []
Exploring Operation: 41-20=21, Resulting Numbers: [4, 32, 21]
Generated Node #2: [4, 32, 21] from Operation: 41-20=21
Current State: 13:[4, 32, 21], Operations: ['41-20=21']
Exploring Operation: 32/4=8, Resulting Numbers: [21, 8]
Generated Node #3: [21, 8] from Operation: 32/4=8
Current State: 13:[21, 8], Operations: ['41-20=21', '32/4=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[20, 4, 32, 41], Operations: []
Exploring Operation: 41-32=9, Resulting Numbers: [20, 4, 9]
Generated Node #0,0: 13:[20, 4, 9] Operation: 41-32=9
Exploring Operation: 32-20=12, Resulting Numbers: [4, 41, 12]
Generated Node #0,1: 13:[4, 41, 12] Operation: 32-20=12
Exploring Operation: 41-20=21, Resulting Numbers: [4, 32, 21]
Generated Node #0,2: 13:[4, 32, 21] Operation: 41-20=21
Exploring Operation: 32/4=8, Resulting Numbers: [20, 41, 8]
Generated Node #0,3: 13:[20, 41, 8] Operation: 32/4=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[20, 4, 9], Operations: ['41-32=9']
Exploring Operation: 20/4=5, Resulting Numbers: [9, 5]
Generated Node #0,0,0: 13:[9, 5] Operation: 20/4=5
Exploring Operation: 20-9=11, Resulting Numbers: [4, 11]
Generated Node #0,0,1: 13:[4, 11] Operation: 20-9=11
Exploring Operation: 20-4=16, Resulting Numbers: [9, 16]
Generated Node #0,0,2: 13:[9, 16] Operation: 20-4=16
Exploring Operation: 4+9=13, Resulting Numbers: [20, 13]
Generated Node #0,0,3: 13:[20, 13] Operation: 4+9=13
Moving to Node #0,0,2
Current State: 13:[9, 16], Operations: ['41-32=9', '20-4=16']
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,13 unequal: No Solution
Moving to Node #0,0,3
Current State: 13:[20, 13], Operations: ['41-32=9', '4+9=13']
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,13 unequal: No Solution
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,13 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[4, 11], Operations: ['41-32=9', '20-9=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[9, 5], Operations: ['41-32=9', '20/4=5']
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[4, 32, 21], Operations: ['41-20=21']
Exploring Operation: 32/4=8, Resulting Numbers: [21, 8]
Generated Node #0,2,0: 13:[21, 8] Operation: 32/4=8
Exploring Operation: 21-4=17, Resulting Numbers: [32, 17]
Generated Node #0,2,1: 13:[32, 17] Operation: 21-4=17
Exploring Operation: 32-21=11, Resulting Numbers: [4, 11]
Generated Node #0,2,2: 13:[4, 11] Operation: 32-21=11
Exploring Operation: 32-4=28, Resulting Numbers: [21, 28]
Generated Node #0,2,3: 13:[21, 28] Operation: 32-4=28
Moving to Node #0,2,2
Current State: 13:[4, 11], Operations: ['41-20=21', '32-21=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Moving to Node #0,2,0
Current State: 13:[21, 8], Operations: ['41-20=21', '32/4=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[20, 4, 32, 41], Operations: []
Exploring Operation: 41-20=21, Resulting Numbers: [4, 32, 21]
Generated Node #0,2: 13:[4, 32, 21] Operation: 41-20=21
Moving to Node #0,2
Current State: 13:[4, 32, 21], Operations: ['41-20=21']
Exploring Operation: 32/4=8, Resulting Numbers: [21, 8]
Generated Node #0,2,0: 13:[21, 8] Operation: 32/4=8
Moving to Node #0,2,0
Current State: 13:[21, 8], Operations: ['41-20=21', '32/4=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
99,
51,
31,
11
] | 29 | [
"99/11=9",
"51-31=20",
"9+20=29"
] | Current State: 29:[99, 51, 31, 11], Operations: []
Exploring Operation: 99/11=9, Resulting Numbers: [51, 31, 9]
Generated Node #2: [51, 31, 9] from Operation: 99/11=9
Current State: 29:[51, 31, 9], Operations: ['99/11=9']
Exploring Operation: 51-31=20, Resulting Numbers: [9, 20]
Generated Node #3: [9, 20] from Operation: 51-31=20
Current State: 29:[9, 20], Operations: ['99/11=9', '51-31=20']
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[99, 51, 31, 11], Operations: []
Exploring Operation: 99-51=48, Resulting Numbers: [31, 11, 48]
Generated Node #0,0: 29:[31, 11, 48] Operation: 99-51=48
Exploring Operation: 99/11=9, Resulting Numbers: [51, 31, 9]
Generated Node #0,1: 29:[51, 31, 9] Operation: 99/11=9
Exploring Operation: 99-31=68, Resulting Numbers: [51, 11, 68]
Generated Node #0,2: 29:[51, 11, 68] Operation: 99-31=68
Moving to Node #0,0
Current State: 29:[31, 11, 48], Operations: ['99-51=48']
Exploring Operation: 48-31=17, Resulting Numbers: [11, 17]
Generated Node #0,0,0: 29:[11, 17] Operation: 48-31=17
Exploring Operation: 48-11=37, Resulting Numbers: [31, 37]
Generated Node #0,0,1: 29:[31, 37] Operation: 48-11=37
Exploring Operation: 31-11=20, Resulting Numbers: [48, 20]
Generated Node #0,0,2: 29:[48, 20] Operation: 31-11=20
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[31, 37], Operations: ['99-51=48', '48-11=37']
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 31+37=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Exploring Operation: 31*37=1147, Resulting Numbers: [1147]
1147,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[48, 20], Operations: ['99-51=48', '31-11=20']
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 48*20=960, Resulting Numbers: [960]
960,29 unequal: No Solution
Exploring Operation: 48+20=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,0,0
Current State: 29:[11, 17], Operations: ['99-51=48', '48-31=17']
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,29 unequal: No Solution
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 29:[51, 31, 9], Operations: ['99/11=9']
Exploring Operation: 31-9=22, Resulting Numbers: [51, 22]
Generated Node #0,1,0: 29:[51, 22] Operation: 31-9=22
Exploring Operation: 51-31=20, Resulting Numbers: [9, 20]
Generated Node #0,1,1: 29:[9, 20] Operation: 51-31=20
Exploring Operation: 51-9=42, Resulting Numbers: [31, 42]
Generated Node #0,1,2: 29:[31, 42] Operation: 51-9=42
Moving to Node #0,2
Current State: 29:[51, 11, 68], Operations: ['99-31=68']
Exploring Operation: 68-11=57, Resulting Numbers: [51, 57]
Generated Node #0,2,0: 29:[51, 57] Operation: 68-11=57
Exploring Operation: 68-51=17, Resulting Numbers: [11, 17]
Generated Node #0,2,1: 29:[11, 17] Operation: 68-51=17
Exploring Operation: 51-11=40, Resulting Numbers: [68, 40]
Generated Node #0,2,2: 29:[68, 40] Operation: 51-11=40
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 29:[11, 17], Operations: ['99-31=68', '68-51=17']
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,29 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 29:[51, 57], Operations: ['99-31=68', '68-11=57']
Exploring Operation: 51*57=2907, Resulting Numbers: [2907]
2907,29 unequal: No Solution
Exploring Operation: 57-51=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 51+57=108, Resulting Numbers: [108]
108,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 29:[68, 40], Operations: ['99-31=68', '51-11=40']
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 68*40=2720, Resulting Numbers: [2720]
2720,29 unequal: No Solution
Exploring Operation: 68+40=108, Resulting Numbers: [108]
108,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 29:[31, 42], Operations: ['99/11=9', '51-9=42']
Exploring Operation: 31+42=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Exploring Operation: 42-31=11, Resulting Numbers: [11]
11,29 unequal: No Solution
Exploring Operation: 31*42=1302, Resulting Numbers: [1302]
1302,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[51, 22], Operations: ['99/11=9', '31-9=22']
Exploring Operation: 51+22=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Exploring Operation: 51*22=1122, Resulting Numbers: [1122]
1122,29 unequal: No Solution
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[99, 51, 31, 11], Operations: []
Exploring Operation: 99/11=9, Resulting Numbers: [51, 31, 9]
Generated Node #0,1: 29:[51, 31, 9] Operation: 99/11=9
Moving to Node #0,1
Current State: 29:[51, 31, 9], Operations: ['99/11=9']
Exploring Operation: 31-9=22, Resulting Numbers: [51, 22]
Generated Node #0,1,0: 29:[51, 22] Operation: 31-9=22
Moving to Node #0,1,0
Current State: 29:[51, 22], Operations: ['99/11=9', '31-9=22']
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 0.965278 | hs_3 | mult_heuristic |
[
37,
34,
43,
84
] | 38 | [
"37-34=3",
"84-43=41",
"41-3=38"
] | Current State: 38:[37, 34, 43, 84], Operations: []
Exploring Operation: 37-34=3, Resulting Numbers: [43, 84, 3]
Generated Node #2: [43, 84, 3] from Operation: 37-34=3
Current State: 38:[43, 84, 3], Operations: ['37-34=3']
Exploring Operation: 84-43=41, Resulting Numbers: [3, 41]
Generated Node #3: [3, 41] from Operation: 84-43=41
Current State: 38:[3, 41], Operations: ['37-34=3', '84-43=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[37, 34, 43, 84], Operations: []
Exploring Operation: 84-43=41, Resulting Numbers: [37, 34, 41]
Generated Node #0,0: 38:[37, 34, 41] Operation: 84-43=41
Exploring Operation: 84-37=47, Resulting Numbers: [34, 43, 47]
Generated Node #0,1: 38:[34, 43, 47] Operation: 84-37=47
Moving to Node #0,0
Current State: 38:[37, 34, 41], Operations: ['84-43=41']
Exploring Operation: 37-34=3, Resulting Numbers: [41, 3]
Generated Node #0,0,0: 38:[41, 3] Operation: 37-34=3
Exploring Operation: 41-37=4, Resulting Numbers: [34, 4]
Generated Node #0,0,1: 38:[34, 4] Operation: 41-37=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[41, 3], Operations: ['84-43=41', '37-34=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[37, 34, 43, 84], Operations: []
Exploring Operation: 84-43=41, Resulting Numbers: [37, 34, 41]
Generated Node #0,0: 38:[37, 34, 41] Operation: 84-43=41
Moving to Node #0,0
Current State: 38:[37, 34, 41], Operations: ['84-43=41']
Exploring Operation: 37-34=3, Resulting Numbers: [41, 3]
Generated Node #0,0,0: 38:[41, 3] Operation: 37-34=3
Moving to Node #0,0,0
Current State: 38:[41, 3], Operations: ['84-43=41', '37-34=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
45,
42,
6,
37
] | 75 | [
"45+37=82",
"42/6=7",
"82-7=75"
] | Current State: 75:[45, 42, 6, 37], Operations: []
Exploring Operation: 45+37=82, Resulting Numbers: [42, 6, 82]
Generated Node #2: [42, 6, 82] from Operation: 45+37=82
Current State: 75:[42, 6, 82], Operations: ['45+37=82']
Exploring Operation: 42/6=7, Resulting Numbers: [82, 7]
Generated Node #3: [82, 7] from Operation: 42/6=7
Current State: 75:[82, 7], Operations: ['45+37=82', '42/6=7']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[45, 42, 6, 37], Operations: []
Exploring Operation: 42-37=5, Resulting Numbers: [45, 6, 5]
Generated Node #0,0: 75:[45, 6, 5] Operation: 42-37=5
Exploring Operation: 45+42=87, Resulting Numbers: [6, 37, 87]
Generated Node #0,1: 75:[6, 37, 87] Operation: 45+42=87
Exploring Operation: 45-42=3, Resulting Numbers: [6, 37, 3]
Generated Node #0,2: 75:[6, 37, 3] Operation: 45-42=3
Exploring Operation: 45+37=82, Resulting Numbers: [42, 6, 82]
Generated Node #0,3: 75:[42, 6, 82] Operation: 45+37=82
Exploring Operation: 45-37=8, Resulting Numbers: [42, 6, 8]
Generated Node #0,4: 75:[42, 6, 8] Operation: 45-37=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[6, 37, 3], Operations: ['45-42=3']
Exploring Operation: 37-3=34, Resulting Numbers: [6, 34]
Generated Node #0,2,0: 75:[6, 34] Operation: 37-3=34
Exploring Operation: 6*3=18, Resulting Numbers: [37, 18]
Generated Node #0,2,1: 75:[37, 18] Operation: 6*3=18
Exploring Operation: 6/3=2, Resulting Numbers: [37, 2]
Generated Node #0,2,2: 75:[37, 2] Operation: 6/3=2
Exploring Operation: 37-6=31, Resulting Numbers: [3, 31]
Generated Node #0,2,3: 75:[3, 31] Operation: 37-6=31
Exploring Operation: 6-3=3, Resulting Numbers: [37, 3]
Generated Node #0,2,4: 75:[37, 3] Operation: 6-3=3
Moving to Node #0,2,3
Current State: 75:[3, 31], Operations: ['45-42=3', '37-6=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,75 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[6, 34], Operations: ['45-42=3', '37-3=34']
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,75 unequal: No Solution
Moving to Node #0,2,4
Current State: 75:[37, 3], Operations: ['45-42=3', '6-3=3']
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,75 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,75 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[37, 2], Operations: ['45-42=3', '6/3=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[37, 18], Operations: ['45-42=3', '6*3=18']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 37+18=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Exploring Operation: 37*18=666, Resulting Numbers: [666]
666,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[45, 6, 5], Operations: ['42-37=5']
Exploring Operation: 45-5=40, Resulting Numbers: [6, 40]
Generated Node #0,0,0: 75:[6, 40] Operation: 45-5=40
Exploring Operation: 45+6=51, Resulting Numbers: [5, 51]
Generated Node #0,0,1: 75:[5, 51] Operation: 45+6=51
Exploring Operation: 45/5=9, Resulting Numbers: [6, 9]
Generated Node #0,0,2: 75:[6, 9] Operation: 45/5=9
Exploring Operation: 45-6=39, Resulting Numbers: [5, 39]
Generated Node #0,0,3: 75:[5, 39] Operation: 45-6=39
Exploring Operation: 6-5=1, Resulting Numbers: [45, 1]
Generated Node #0,0,4: 75:[45, 1] Operation: 6-5=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 75:[6, 9], Operations: ['42-37=5', '45/5=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 75:[5, 39], Operations: ['42-37=5', '45-6=39']
Exploring Operation: 5*39=195, Resulting Numbers: [195]
195,75 unequal: No Solution
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[6, 40], Operations: ['42-37=5', '45-5=40']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,75 unequal: No Solution
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,75 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 75:[45, 1], Operations: ['42-37=5', '6-5=1']
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,75 unequal: No Solution
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,75 unequal: No Solution
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,75 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[5, 51], Operations: ['42-37=5', '45+6=51']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,75 unequal: No Solution
Exploring Operation: 5*51=255, Resulting Numbers: [255]
255,75 unequal: No Solution
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 75:[42, 6, 8], Operations: ['45-37=8']
Exploring Operation: 42-8=34, Resulting Numbers: [6, 34]
Generated Node #0,4,0: 75:[6, 34] Operation: 42-8=34
Exploring Operation: 8-6=2, Resulting Numbers: [42, 2]
Generated Node #0,4,1: 75:[42, 2] Operation: 8-6=2
Exploring Operation: 6+8=14, Resulting Numbers: [42, 14]
Generated Node #0,4,2: 75:[42, 14] Operation: 6+8=14
Exploring Operation: 42-6=36, Resulting Numbers: [8, 36]
Generated Node #0,4,3: 75:[8, 36] Operation: 42-6=36
Exploring Operation: 42/6=7, Resulting Numbers: [8, 7]
Generated Node #0,4,4: 75:[8, 7] Operation: 42/6=7
Moving to Node #0,4,4
Current State: 75:[8, 7], Operations: ['45-37=8', '42/6=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,75 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Moving to Node #0,4,0
Current State: 75:[6, 34], Operations: ['45-37=8', '42-8=34']
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,75 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Moving to Node #0,4,3
Current State: 75:[8, 36], Operations: ['45-37=8', '42-6=36']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,75 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Moving to Node #0,4,1
Current State: 75:[42, 2], Operations: ['45-37=8', '8-6=2']
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,75 unequal: No Solution
Moving to Node #0,4,2
Current State: 75:[42, 14], Operations: ['45-37=8', '6+8=14']
Exploring Operation: 42+14=56, Resulting Numbers: [56]
56,75 unequal: No Solution
Exploring Operation: 42*14=588, Resulting Numbers: [588]
588,75 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[6, 37, 87], Operations: ['45+42=87']
Exploring Operation: 87-37=50, Resulting Numbers: [6, 50]
Generated Node #0,1,0: 75:[6, 50] Operation: 87-37=50
Exploring Operation: 87-6=81, Resulting Numbers: [37, 81]
Generated Node #0,1,1: 75:[37, 81] Operation: 87-6=81
Exploring Operation: 6+87=93, Resulting Numbers: [37, 93]
Generated Node #0,1,2: 75:[37, 93] Operation: 6+87=93
Exploring Operation: 37-6=31, Resulting Numbers: [87, 31]
Generated Node #0,1,3: 75:[87, 31] Operation: 37-6=31
Exploring Operation: 6+37=43, Resulting Numbers: [87, 43]
Generated Node #0,1,4: 75:[87, 43] Operation: 6+37=43
Moving to Node #0,1,1
Current State: 75:[37, 81], Operations: ['45+42=87', '87-6=81']
Exploring Operation: 37*81=2997, Resulting Numbers: [2997]
2997,75 unequal: No Solution
Exploring Operation: 81-37=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Exploring Operation: 37+81=118, Resulting Numbers: [118]
118,75 unequal: No Solution
Moving to Node #0,1,3
Current State: 75:[87, 31], Operations: ['45+42=87', '37-6=31']
Exploring Operation: 87-31=56, Resulting Numbers: [56]
56,75 unequal: No Solution
Exploring Operation: 87+31=118, Resulting Numbers: [118]
118,75 unequal: No Solution
Exploring Operation: 87*31=2697, Resulting Numbers: [2697]
2697,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[6, 50], Operations: ['45+42=87', '87-37=50']
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,75 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[37, 93], Operations: ['45+42=87', '6+87=93']
Exploring Operation: 37+93=130, Resulting Numbers: [130]
130,75 unequal: No Solution
Exploring Operation: 37*93=3441, Resulting Numbers: [3441]
3441,75 unequal: No Solution
Exploring Operation: 93-37=56, Resulting Numbers: [56]
56,75 unequal: No Solution
Moving to Node #0,1,4
Current State: 75:[87, 43], Operations: ['45+42=87', '6+37=43']
Exploring Operation: 87-43=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Exploring Operation: 87+43=130, Resulting Numbers: [130]
130,75 unequal: No Solution
Exploring Operation: 87*43=3741, Resulting Numbers: [3741]
3741,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[42, 6, 82], Operations: ['45+37=82']
Exploring Operation: 82-42=40, Resulting Numbers: [6, 40]
Generated Node #0,3,0: 75:[6, 40] Operation: 82-42=40
Exploring Operation: 42-6=36, Resulting Numbers: [82, 36]
Generated Node #0,3,1: 75:[82, 36] Operation: 42-6=36
Exploring Operation: 42+6=48, Resulting Numbers: [82, 48]
Generated Node #0,3,2: 75:[82, 48] Operation: 42+6=48
Exploring Operation: 42/6=7, Resulting Numbers: [82, 7]
Generated Node #0,3,3: 75:[82, 7] Operation: 42/6=7
Exploring Operation: 82-6=76, Resulting Numbers: [42, 76]
Generated Node #0,3,4: 75:[42, 76] Operation: 82-6=76
Moving to Node #0,3,3
Current State: 75:[82, 7], Operations: ['45+37=82', '42/6=7']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[45, 42, 6, 37], Operations: []
Exploring Operation: 45+37=82, Resulting Numbers: [42, 6, 82]
Generated Node #0,3: 75:[42, 6, 82] Operation: 45+37=82
Moving to Node #0,3
Current State: 75:[42, 6, 82], Operations: ['45+37=82']
Exploring Operation: 42/6=7, Resulting Numbers: [82, 7]
Generated Node #0,3,3: 75:[82, 7] Operation: 42/6=7
Moving to Node #0,3,3
Current State: 75:[82, 7], Operations: ['45+37=82', '42/6=7']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.914931 | hs_5 | mult_heuristic |
[
23,
41,
1,
45
] | 91 | [
"45-41=4",
"23*4=92",
"92-1=91"
] | Current State: 91:[23, 41, 1, 45], Operations: []
Exploring Operation: 45-41=4, Resulting Numbers: [23, 1, 4]
Generated Node #2: [23, 1, 4] from Operation: 45-41=4
Current State: 91:[23, 1, 4], Operations: ['45-41=4']
Exploring Operation: 23*4=92, Resulting Numbers: [1, 92]
Generated Node #3: [1, 92] from Operation: 23*4=92
Current State: 91:[1, 92], Operations: ['45-41=4', '23*4=92']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[23, 41, 1, 45], Operations: []
Exploring Operation: 45-41=4, Resulting Numbers: [23, 1, 4]
Generated Node #0,0: 91:[23, 1, 4] Operation: 45-41=4
Exploring Operation: 41+45=86, Resulting Numbers: [23, 1, 86]
Generated Node #0,1: 91:[23, 1, 86] Operation: 41+45=86
Exploring Operation: 41-23=18, Resulting Numbers: [1, 45, 18]
Generated Node #0,2: 91:[1, 45, 18] Operation: 41-23=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[23, 1, 4], Operations: ['45-41=4']
Exploring Operation: 23-1=22, Resulting Numbers: [4, 22]
Generated Node #0,0,0: 91:[4, 22] Operation: 23-1=22
Exploring Operation: 23-4=19, Resulting Numbers: [1, 19]
Generated Node #0,0,1: 91:[1, 19] Operation: 23-4=19
Exploring Operation: 23*4=92, Resulting Numbers: [1, 92]
Generated Node #0,0,2: 91:[1, 92] Operation: 23*4=92
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 91:[1, 92], Operations: ['45-41=4', '23*4=92']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[23, 41, 1, 45], Operations: []
Exploring Operation: 45-41=4, Resulting Numbers: [23, 1, 4]
Generated Node #0,0: 91:[23, 1, 4] Operation: 45-41=4
Moving to Node #0,0
Current State: 91:[23, 1, 4], Operations: ['45-41=4']
Exploring Operation: 23*4=92, Resulting Numbers: [1, 92]
Generated Node #0,0,2: 91:[1, 92] Operation: 23*4=92
Moving to Node #0,0,2
Current State: 91:[1, 92], Operations: ['45-41=4', '23*4=92']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
97,
99,
58,
19
] | 59 | [
"99*58=5742",
"5742-19=5723",
"5723/97=59"
] | Current State: 59:[97, 99, 58, 19], Operations: []
Exploring Operation: 99*58=5742, Resulting Numbers: [97, 19, 5742]
Generated Node #2: [97, 19, 5742] from Operation: 99*58=5742
Current State: 59:[97, 19, 5742], Operations: ['99*58=5742']
Exploring Operation: 5742-19=5723, Resulting Numbers: [97, 5723]
Generated Node #3: [97, 5723] from Operation: 5742-19=5723
Current State: 59:[97, 5723], Operations: ['99*58=5742', '5742-19=5723']
Exploring Operation: 5723/97=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[97, 99, 58, 19], Operations: []
Exploring Operation: 58+19=77, Resulting Numbers: [97, 99, 77]
Generated Node #0,0: 59:[97, 99, 77] Operation: 58+19=77
Exploring Operation: 97-19=78, Resulting Numbers: [99, 58, 78]
Generated Node #0,1: 59:[99, 58, 78] Operation: 97-19=78
Exploring Operation: 99-19=80, Resulting Numbers: [97, 58, 80]
Generated Node #0,2: 59:[97, 58, 80] Operation: 99-19=80
Exploring Operation: 99-58=41, Resulting Numbers: [97, 19, 41]
Generated Node #0,3: 59:[97, 19, 41] Operation: 99-58=41
Moving to Node #0,1
Current State: 59:[99, 58, 78], Operations: ['97-19=78']
Exploring Operation: 99-58=41, Resulting Numbers: [78, 41]
Generated Node #0,1,0: 59:[78, 41] Operation: 99-58=41
Exploring Operation: 99+58=157, Resulting Numbers: [78, 157]
Generated Node #0,1,1: 59:[78, 157] Operation: 99+58=157
Exploring Operation: 78-58=20, Resulting Numbers: [99, 20]
Generated Node #0,1,2: 59:[99, 20] Operation: 78-58=20
Exploring Operation: 99-78=21, Resulting Numbers: [58, 21]
Generated Node #0,1,3: 59:[58, 21] Operation: 99-78=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[78, 41], Operations: ['97-19=78', '99-58=41']
Exploring Operation: 78+41=119, Resulting Numbers: [119]
119,59 unequal: No Solution
Exploring Operation: 78*41=3198, Resulting Numbers: [3198]
3198,59 unequal: No Solution
Exploring Operation: 78-41=37, Resulting Numbers: [37]
37,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 59:[58, 21], Operations: ['97-19=78', '99-78=21']
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 58*21=1218, Resulting Numbers: [1218]
1218,59 unequal: No Solution
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[99, 20], Operations: ['97-19=78', '78-58=20']
Exploring Operation: 99+20=119, Resulting Numbers: [119]
119,59 unequal: No Solution
Exploring Operation: 99-20=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Exploring Operation: 99*20=1980, Resulting Numbers: [1980]
1980,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[78, 157], Operations: ['97-19=78', '99+58=157']
Exploring Operation: 78*157=12246, Resulting Numbers: [12246]
12246,59 unequal: No Solution
Exploring Operation: 78+157=235, Resulting Numbers: [235]
235,59 unequal: No Solution
Exploring Operation: 157-78=79, Resulting Numbers: [79]
79,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 59:[97, 58, 80], Operations: ['99-19=80']
Exploring Operation: 97-58=39, Resulting Numbers: [80, 39]
Generated Node #0,2,0: 59:[80, 39] Operation: 97-58=39
Exploring Operation: 97+58=155, Resulting Numbers: [80, 155]
Generated Node #0,2,1: 59:[80, 155] Operation: 97+58=155
Exploring Operation: 97-80=17, Resulting Numbers: [58, 17]
Generated Node #0,2,2: 59:[58, 17] Operation: 97-80=17
Exploring Operation: 80-58=22, Resulting Numbers: [97, 22]
Generated Node #0,2,3: 59:[97, 22] Operation: 80-58=22
Moving to Node #0,3
Current State: 59:[97, 19, 41], Operations: ['99-58=41']
Exploring Operation: 97-41=56, Resulting Numbers: [19, 56]
Generated Node #0,3,0: 59:[19, 56] Operation: 97-41=56
Exploring Operation: 19+41=60, Resulting Numbers: [97, 60]
Generated Node #0,3,1: 59:[97, 60] Operation: 19+41=60
Exploring Operation: 97-19=78, Resulting Numbers: [41, 78]
Generated Node #0,3,2: 59:[41, 78] Operation: 97-19=78
Exploring Operation: 97+19=116, Resulting Numbers: [41, 116]
Generated Node #0,3,3: 59:[41, 116] Operation: 97+19=116
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 59:[41, 78], Operations: ['99-58=41', '97-19=78']
Exploring Operation: 41*78=3198, Resulting Numbers: [3198]
3198,59 unequal: No Solution
Exploring Operation: 78-41=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 41+78=119, Resulting Numbers: [119]
119,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 59:[97, 60], Operations: ['99-58=41', '19+41=60']
Exploring Operation: 97+60=157, Resulting Numbers: [157]
157,59 unequal: No Solution
Exploring Operation: 97-60=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 97*60=5820, Resulting Numbers: [5820]
5820,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 59:[19, 56], Operations: ['99-58=41', '97-41=56']
Exploring Operation: 19*56=1064, Resulting Numbers: [1064]
1064,59 unequal: No Solution
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 19+56=75, Resulting Numbers: [75]
75,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 59:[41, 116], Operations: ['99-58=41', '97+19=116']
Exploring Operation: 41+116=157, Resulting Numbers: [157]
157,59 unequal: No Solution
Exploring Operation: 116-41=75, Resulting Numbers: [75]
75,59 unequal: No Solution
Exploring Operation: 41*116=4756, Resulting Numbers: [4756]
4756,59 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: 59:[97, 99, 77], Operations: ['58+19=77']
Exploring Operation: 99-97=2, Resulting Numbers: [77, 2]
Generated Node #0,0,0: 59:[77, 2] Operation: 99-97=2
Exploring Operation: 97-77=20, Resulting Numbers: [99, 20]
Generated Node #0,0,1: 59:[99, 20] Operation: 97-77=20
Exploring Operation: 97+99=196, Resulting Numbers: [77, 196]
Generated Node #0,0,2: 59:[77, 196] Operation: 97+99=196
Exploring Operation: 99-77=22, Resulting Numbers: [97, 22]
Generated Node #0,0,3: 59:[97, 22] Operation: 99-77=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[77, 2], Operations: ['58+19=77', '99-97=2']
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,59 unequal: No Solution
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 59:[97, 22], Operations: ['58+19=77', '99-77=22']
Exploring Operation: 97*22=2134, Resulting Numbers: [2134]
2134,59 unequal: No Solution
Exploring Operation: 97-22=75, Resulting Numbers: [75]
75,59 unequal: No Solution
Exploring Operation: 97+22=119, Resulting Numbers: [119]
119,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[99, 20], Operations: ['58+19=77', '97-77=20']
Exploring Operation: 99-20=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Exploring Operation: 99+20=119, Resulting Numbers: [119]
119,59 unequal: No Solution
Exploring Operation: 99*20=1980, Resulting Numbers: [1980]
1980,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 59:[77, 196], Operations: ['58+19=77', '97+99=196']
Exploring Operation: 77*196=15092, Resulting Numbers: [15092]
15092,59 unequal: No Solution
Exploring Operation: 77+196=273, Resulting Numbers: [273]
273,59 unequal: No Solution
Exploring Operation: 196-77=119, Resulting Numbers: [119]
119,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 59:[80, 39], Operations: ['99-19=80', '97-58=39']
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 80+39=119, Resulting Numbers: [119]
119,59 unequal: No Solution
Exploring Operation: 80*39=3120, Resulting Numbers: [3120]
3120,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[58, 17], Operations: ['99-19=80', '97-80=17']
Exploring Operation: 58+17=75, Resulting Numbers: [75]
75,59 unequal: No Solution
Exploring Operation: 58*17=986, Resulting Numbers: [986]
986,59 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[97, 22], Operations: ['99-19=80', '80-58=22']
Exploring Operation: 97*22=2134, Resulting Numbers: [2134]
2134,59 unequal: No Solution
Exploring Operation: 97+22=119, Resulting Numbers: [119]
119,59 unequal: No Solution
Exploring Operation: 97-22=75, Resulting Numbers: [75]
75,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[80, 155], Operations: ['99-19=80', '97+58=155']
Exploring Operation: 80+155=235, Resulting Numbers: [235]
235,59 unequal: No Solution
Exploring Operation: 155-80=75, Resulting Numbers: [75]
75,59 unequal: No Solution
Exploring Operation: 80*155=12400, Resulting Numbers: [12400]
12400,59 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
26,
70,
31,
44
] | 32 | [
"70-26=44",
"44/44=1",
"31+1=32"
] | Current State: 32:[26, 70, 31, 44], Operations: []
Exploring Operation: 70-26=44, Resulting Numbers: [31, 44, 44]
Generated Node #2: [31, 44, 44] from Operation: 70-26=44
Current State: 32:[31, 44, 44], Operations: ['70-26=44']
Exploring Operation: 44/44=1, Resulting Numbers: [31, 1]
Generated Node #3: [31, 1] from Operation: 44/44=1
Current State: 32:[31, 1], Operations: ['70-26=44', '44/44=1']
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[26, 70, 31, 44], Operations: []
Exploring Operation: 70-26=44, Resulting Numbers: [31, 44, 44]
Generated Node #0,0: 32:[31, 44, 44] Operation: 70-26=44
Exploring Operation: 70-44=26, Resulting Numbers: [26, 31, 26]
Generated Node #0,1: 32:[26, 31, 26] Operation: 70-44=26
Moving to Node #0,1
Current State: 32:[26, 31, 26], Operations: ['70-44=26']
Exploring Operation: 26-26=0, Resulting Numbers: [31, 0]
Generated Node #0,1,0: 32:[31, 0] Operation: 26-26=0
Exploring Operation: 26/26=1, Resulting Numbers: [31, 1]
Generated Node #0,1,1: 32:[31, 1] Operation: 26/26=1
Moving to Node #0,0
Current State: 32:[31, 44, 44], Operations: ['70-26=44']
Exploring Operation: 44-44=0, Resulting Numbers: [31, 0]
Generated Node #0,0,0: 32:[31, 0] Operation: 44-44=0
Exploring Operation: 44/44=1, Resulting Numbers: [31, 1]
Generated Node #0,0,1: 32:[31, 1] Operation: 44/44=1
Moving to Node #0,1,1
Current State: 32:[31, 1], Operations: ['70-44=26', '26/26=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[26, 70, 31, 44], Operations: []
Exploring Operation: 70-44=26, Resulting Numbers: [26, 31, 26]
Generated Node #0,1: 32:[26, 31, 26] Operation: 70-44=26
Moving to Node #0,1
Current State: 32:[26, 31, 26], Operations: ['70-44=26']
Exploring Operation: 26/26=1, Resulting Numbers: [31, 1]
Generated Node #0,1,1: 32:[31, 1] Operation: 26/26=1
Moving to Node #0,1,1
Current State: 32:[31, 1], Operations: ['70-44=26', '26/26=1']
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
18,
18,
69,
81
] | 12 | [
"18-18=0",
"81-69=12",
"0+12=12"
] | Current State: 12:[18, 18, 69, 81], Operations: []
Exploring Operation: 18-18=0, Resulting Numbers: [69, 81, 0]
Generated Node #2: [69, 81, 0] from Operation: 18-18=0
Current State: 12:[69, 81, 0], Operations: ['18-18=0']
Exploring Operation: 81-69=12, Resulting Numbers: [0, 12]
Generated Node #3: [0, 12] from Operation: 81-69=12
Current State: 12:[0, 12], Operations: ['18-18=0', '81-69=12']
Exploring Operation: 0+12=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[18, 18, 69, 81], Operations: []
Exploring Operation: 81-18=63, Resulting Numbers: [18, 69, 63]
Generated Node #0,0: 12:[18, 69, 63] Operation: 81-18=63
Exploring Operation: 81-69=12, Resulting Numbers: [18, 18, 12]
Generated Node #0,1: 12:[18, 18, 12] Operation: 81-69=12
Exploring Operation: 69-18=51, Resulting Numbers: [18, 81, 51]
Generated Node #0,2: 12:[18, 81, 51] Operation: 69-18=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[18, 18, 12], Operations: ['81-69=12']
Exploring Operation: 18/18=1, Resulting Numbers: [12, 1]
Generated Node #0,1,0: 12:[12, 1] Operation: 18/18=1
Exploring Operation: 18-12=6, Resulting Numbers: [18, 6]
Generated Node #0,1,1: 12:[18, 6] Operation: 18-12=6
Exploring Operation: 18-18=0, Resulting Numbers: [12, 0]
Generated Node #0,1,2: 12:[12, 0] Operation: 18-18=0
Moving to Node #0,1,0
Current State: 12:[12, 1], Operations: ['81-69=12', '18/18=1']
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[18, 18, 69, 81], Operations: []
Exploring Operation: 81-69=12, Resulting Numbers: [18, 18, 12]
Generated Node #0,1: 12:[18, 18, 12] Operation: 81-69=12
Moving to Node #0,1
Current State: 12:[18, 18, 12], Operations: ['81-69=12']
Exploring Operation: 18/18=1, Resulting Numbers: [12, 1]
Generated Node #0,1,0: 12:[12, 1] Operation: 18/18=1
Moving to Node #0,1,0
Current State: 12:[12, 1], Operations: ['81-69=12', '18/18=1']
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
34,
92,
79,
53
] | 100 | [
"34+92=126",
"79-53=26",
"126-26=100"
] | Current State: 100:[34, 92, 79, 53], Operations: []
Exploring Operation: 34+92=126, Resulting Numbers: [79, 53, 126]
Generated Node #2: [79, 53, 126] from Operation: 34+92=126
Current State: 100:[79, 53, 126], Operations: ['34+92=126']
Exploring Operation: 79-53=26, Resulting Numbers: [126, 26]
Generated Node #3: [126, 26] from Operation: 79-53=26
Current State: 100:[126, 26], Operations: ['34+92=126', '79-53=26']
Exploring Operation: 126-26=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[34, 92, 79, 53], Operations: []
Exploring Operation: 79-34=45, Resulting Numbers: [92, 53, 45]
Generated Node #0,0: 100:[92, 53, 45] Operation: 79-34=45
Exploring Operation: 92-79=13, Resulting Numbers: [34, 53, 13]
Generated Node #0,1: 100:[34, 53, 13] Operation: 92-79=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[34, 53, 13], Operations: ['92-79=13']
Exploring Operation: 53-34=19, Resulting Numbers: [13, 19]
Generated Node #0,1,0: 100:[13, 19] Operation: 53-34=19
Exploring Operation: 34-13=21, Resulting Numbers: [53, 21]
Generated Node #0,1,1: 100:[53, 21] Operation: 34-13=21
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 100:[13, 19], Operations: ['92-79=13', '53-34=19']
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,100 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 100:[53, 21], Operations: ['92-79=13', '34-13=21']
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,100 unequal: No Solution
Exploring Operation: 53+21=74, Resulting Numbers: [74]
74,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[92, 53, 45], Operations: ['79-34=45']
Exploring Operation: 53+45=98, Resulting Numbers: [92, 98]
Generated Node #0,0,0: 100:[92, 98] Operation: 53+45=98
Exploring Operation: 92-45=47, Resulting Numbers: [53, 47]
Generated Node #0,0,1: 100:[53, 47] Operation: 92-45=47
Moving to Node #0,0,1
Current State: 100:[53, 47], Operations: ['79-34=45', '92-45=47']
Exploring Operation: 53+47=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[34, 92, 79, 53], Operations: []
Exploring Operation: 79-34=45, Resulting Numbers: [92, 53, 45]
Generated Node #0,0: 100:[92, 53, 45] Operation: 79-34=45
Moving to Node #0,0
Current State: 100:[92, 53, 45], Operations: ['79-34=45']
Exploring Operation: 92-45=47, Resulting Numbers: [53, 47]
Generated Node #0,0,1: 100:[53, 47] Operation: 92-45=47
Moving to Node #0,0,1
Current State: 100:[53, 47], Operations: ['79-34=45', '92-45=47']
Exploring Operation: 53+47=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
95,
91,
63,
44
] | 74 | [
"95-91=4",
"44/4=11",
"63+11=74"
] | Current State: 74:[95, 91, 63, 44], Operations: []
Exploring Operation: 95-91=4, Resulting Numbers: [63, 44, 4]
Generated Node #2: [63, 44, 4] from Operation: 95-91=4
Current State: 74:[63, 44, 4], Operations: ['95-91=4']
Exploring Operation: 44/4=11, Resulting Numbers: [63, 11]
Generated Node #3: [63, 11] from Operation: 44/4=11
Current State: 74:[63, 11], Operations: ['95-91=4', '44/4=11']
Exploring Operation: 63+11=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[95, 91, 63, 44], Operations: []
Exploring Operation: 95-91=4, Resulting Numbers: [63, 44, 4]
Generated Node #0,0: 74:[63, 44, 4] Operation: 95-91=4
Exploring Operation: 91-63=28, Resulting Numbers: [95, 44, 28]
Generated Node #0,1: 74:[95, 44, 28] Operation: 91-63=28
Exploring Operation: 95-63=32, Resulting Numbers: [91, 44, 32]
Generated Node #0,2: 74:[91, 44, 32] Operation: 95-63=32
Moving to Node #0,0
Current State: 74:[63, 44, 4], Operations: ['95-91=4']
Exploring Operation: 63+4=67, Resulting Numbers: [44, 67]
Generated Node #0,0,0: 74:[44, 67] Operation: 63+4=67
Exploring Operation: 44-4=40, Resulting Numbers: [63, 40]
Generated Node #0,0,1: 74:[63, 40] Operation: 44-4=40
Exploring Operation: 63-44=19, Resulting Numbers: [4, 19]
Generated Node #0,0,2: 74:[4, 19] Operation: 63-44=19
Moving to Node #0,2
Current State: 74:[91, 44, 32], Operations: ['95-63=32']
Exploring Operation: 91-32=59, Resulting Numbers: [44, 59]
Generated Node #0,2,0: 74:[44, 59] Operation: 91-32=59
Exploring Operation: 44+32=76, Resulting Numbers: [91, 76]
Generated Node #0,2,1: 74:[91, 76] Operation: 44+32=76
Exploring Operation: 91-44=47, Resulting Numbers: [32, 47]
Generated Node #0,2,2: 74:[32, 47] Operation: 91-44=47
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 74:[32, 47], Operations: ['95-63=32', '91-44=47']
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 32+47=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Exploring Operation: 32*47=1504, Resulting Numbers: [1504]
1504,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:[91, 76], Operations: ['95-63=32', '44+32=76']
Exploring Operation: 91-76=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 91+76=167, Resulting Numbers: [167]
167,74 unequal: No Solution
Exploring Operation: 91*76=6916, Resulting Numbers: [6916]
6916,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:[44, 59], Operations: ['95-63=32', '91-32=59']
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 44+59=103, Resulting Numbers: [103]
103,74 unequal: No Solution
Exploring Operation: 44*59=2596, Resulting Numbers: [2596]
2596,74 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: 74:[95, 44, 28], Operations: ['91-63=28']
Exploring Operation: 95-28=67, Resulting Numbers: [44, 67]
Generated Node #0,1,0: 74:[44, 67] Operation: 95-28=67
Exploring Operation: 44+28=72, Resulting Numbers: [95, 72]
Generated Node #0,1,1: 74:[95, 72] Operation: 44+28=72
Exploring Operation: 95-44=51, Resulting Numbers: [28, 51]
Generated Node #0,1,2: 74:[28, 51] Operation: 95-44=51
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[44, 67], Operations: ['91-63=28', '95-28=67']
Exploring Operation: 44+67=111, Resulting Numbers: [111]
111,74 unequal: No Solution
Exploring Operation: 67-44=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 44*67=2948, Resulting Numbers: [2948]
2948,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:[95, 72], Operations: ['91-63=28', '44+28=72']
Exploring Operation: 95-72=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 95+72=167, Resulting Numbers: [167]
167,74 unequal: No Solution
Exploring Operation: 95*72=6840, Resulting Numbers: [6840]
6840,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:[28, 51], Operations: ['91-63=28', '95-44=51']
Exploring Operation: 28*51=1428, Resulting Numbers: [1428]
1428,74 unequal: No Solution
Exploring Operation: 28+51=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,74 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: 74:[44, 67], Operations: ['95-91=4', '63+4=67']
Exploring Operation: 44*67=2948, Resulting Numbers: [2948]
2948,74 unequal: No Solution
Exploring Operation: 44+67=111, Resulting Numbers: [111]
111,74 unequal: No Solution
Exploring Operation: 67-44=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[63, 40], Operations: ['95-91=4', '44-4=40']
Exploring Operation: 63+40=103, Resulting Numbers: [103]
103,74 unequal: No Solution
Exploring Operation: 63-40=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 63*40=2520, Resulting Numbers: [2520]
2520,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[4, 19], Operations: ['95-91=4', '63-44=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,74 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
5,
19,
38,
84
] | 94 | [
"5*38=190",
"190/19=10",
"84+10=94"
] | Current State: 94:[5, 19, 38, 84], Operations: []
Exploring Operation: 5*38=190, Resulting Numbers: [19, 84, 190]
Generated Node #2: [19, 84, 190] from Operation: 5*38=190
Current State: 94:[19, 84, 190], Operations: ['5*38=190']
Exploring Operation: 190/19=10, Resulting Numbers: [84, 10]
Generated Node #3: [84, 10] from Operation: 190/19=10
Current State: 94:[84, 10], Operations: ['5*38=190', '190/19=10']
Exploring Operation: 84+10=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[5, 19, 38, 84], Operations: []
Exploring Operation: 5*19=95, Resulting Numbers: [38, 84, 95]
Generated Node #0,0: 94:[38, 84, 95] Operation: 5*19=95
Exploring Operation: 38/19=2, Resulting Numbers: [5, 84, 2]
Generated Node #0,1: 94:[5, 84, 2] Operation: 38/19=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[5, 84, 2], Operations: ['38/19=2']
Exploring Operation: 84/2=42, Resulting Numbers: [5, 42]
Generated Node #0,1,0: 94:[5, 42] Operation: 84/2=42
Exploring Operation: 5+84=89, Resulting Numbers: [2, 89]
Generated Node #0,1,1: 94:[2, 89] Operation: 5+84=89
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[2, 89], Operations: ['38/19=2', '5+84=89']
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,94 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[5, 42], Operations: ['38/19=2', '84/2=42']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,94 unequal: No Solution
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[38, 84, 95], Operations: ['5*19=95']
Exploring Operation: 84-38=46, Resulting Numbers: [95, 46]
Generated Node #0,0,0: 94:[95, 46] Operation: 84-38=46
Exploring Operation: 95-84=11, Resulting Numbers: [38, 11]
Generated Node #0,0,1: 94:[38, 11] Operation: 95-84=11
Moving to Node #0,0,0
Current State: 94:[95, 46], Operations: ['5*19=95', '84-38=46']
Exploring Operation: 95-46=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 95+46=141, Resulting Numbers: [141]
141,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[38, 11], Operations: ['5*19=95', '95-84=11']
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,94 unequal: No Solution
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,94 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 |
[
27,
47,
63,
38
] | 34 | [
"47-38=9",
"63/9=7",
"27+7=34"
] | Current State: 34:[27, 47, 63, 38], Operations: []
Exploring Operation: 47-38=9, Resulting Numbers: [27, 63, 9]
Generated Node #2: [27, 63, 9] from Operation: 47-38=9
Current State: 34:[27, 63, 9], Operations: ['47-38=9']
Exploring Operation: 63/9=7, Resulting Numbers: [27, 7]
Generated Node #3: [27, 7] from Operation: 63/9=7
Current State: 34:[27, 7], Operations: ['47-38=9', '63/9=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[27, 47, 63, 38], Operations: []
Exploring Operation: 63-38=25, Resulting Numbers: [27, 47, 25]
Generated Node #0,0: 34:[27, 47, 25] Operation: 63-38=25
Exploring Operation: 63-27=36, Resulting Numbers: [47, 38, 36]
Generated Node #0,1: 34:[47, 38, 36] Operation: 63-27=36
Exploring Operation: 63-47=16, Resulting Numbers: [27, 38, 16]
Generated Node #0,2: 34:[27, 38, 16] Operation: 63-47=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[27, 38, 16], Operations: ['63-47=16']
Exploring Operation: 38-27=11, Resulting Numbers: [16, 11]
Generated Node #0,2,0: 34:[16, 11] Operation: 38-27=11
Exploring Operation: 38-16=22, Resulting Numbers: [27, 22]
Generated Node #0,2,1: 34:[27, 22] Operation: 38-16=22
Exploring Operation: 27-16=11, Resulting Numbers: [38, 11]
Generated Node #0,2,2: 34:[38, 11] Operation: 27-16=11
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 34:[16, 11], Operations: ['63-47=16', '38-27=11']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,34 unequal: No Solution
No 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: 34:[38, 11], Operations: ['63-47=16', '27-16=11']
Exploring Operation: 38*11=418, Resulting Numbers: [418]
418,34 unequal: No Solution
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,34 unequal: No Solution
No 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: 34:[27, 22], Operations: ['63-47=16', '38-16=22']
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 27*22=594, Resulting Numbers: [594]
594,34 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: 34:[47, 38, 36], Operations: ['63-27=36']
Exploring Operation: 38-36=2, Resulting Numbers: [47, 2]
Generated Node #0,1,0: 34:[47, 2] Operation: 38-36=2
Exploring Operation: 47-38=9, Resulting Numbers: [36, 9]
Generated Node #0,1,1: 34:[36, 9] Operation: 47-38=9
Exploring Operation: 47-36=11, Resulting Numbers: [38, 11]
Generated Node #0,1,2: 34:[38, 11] Operation: 47-36=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[36, 9], Operations: ['63-27=36', '47-38=9']
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 36+9=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,34 unequal: No Solution
No 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: 34:[38, 11], Operations: ['63-27=36', '47-36=11']
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 38*11=418, Resulting Numbers: [418]
418,34 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,34 unequal: No Solution
No 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: 34:[47, 2], Operations: ['63-27=36', '38-36=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,34 unequal: No Solution
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,34 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: 34:[27, 47, 25], Operations: ['63-38=25']
Exploring Operation: 27-25=2, Resulting Numbers: [47, 2]
Generated Node #0,0,0: 34:[47, 2] Operation: 27-25=2
Exploring Operation: 47-27=20, Resulting Numbers: [25, 20]
Generated Node #0,0,1: 34:[25, 20] Operation: 47-27=20
Exploring Operation: 47-25=22, Resulting Numbers: [27, 22]
Generated Node #0,0,2: 34:[27, 22] Operation: 47-25=22
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[25, 20], Operations: ['63-38=25', '47-27=20']
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 25*20=500, Resulting Numbers: [500]
500,34 unequal: No Solution
Exploring Operation: 25+20=45, Resulting Numbers: [45]
45,34 unequal: No Solution
No 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: 34:[27, 22], Operations: ['63-38=25', '47-25=22']
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 27*22=594, Resulting Numbers: [594]
594,34 unequal: No Solution
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,34 unequal: No Solution
No 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: 34:[47, 2], Operations: ['63-38=25', '27-25=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,34 unequal: No Solution
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,34 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
98,
5,
11,
13
] | 20 | [
"98-11=87",
"13+87=100",
"100/5=20"
] | Current State: 20:[98, 5, 11, 13], Operations: []
Exploring Operation: 98-11=87, Resulting Numbers: [5, 13, 87]
Generated Node #2: [5, 13, 87] from Operation: 98-11=87
Current State: 20:[5, 13, 87], Operations: ['98-11=87']
Exploring Operation: 13+87=100, Resulting Numbers: [5, 100]
Generated Node #3: [5, 100] from Operation: 13+87=100
Current State: 20:[5, 100], Operations: ['98-11=87', '13+87=100']
Exploring Operation: 100/5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[98, 5, 11, 13], Operations: []
Exploring Operation: 98-5=93, Resulting Numbers: [11, 13, 93]
Generated Node #0,0: 20:[11, 13, 93] Operation: 98-5=93
Exploring Operation: 98-13=85, Resulting Numbers: [5, 11, 85]
Generated Node #0,1: 20:[5, 11, 85] Operation: 98-13=85
Exploring Operation: 98-11=87, Resulting Numbers: [5, 13, 87]
Generated Node #0,2: 20:[5, 13, 87] Operation: 98-11=87
Moving to Node #0,1
Current State: 20:[5, 11, 85], Operations: ['98-13=85']
Exploring Operation: 85/5=17, Resulting Numbers: [11, 17]
Generated Node #0,1,0: 20:[11, 17] Operation: 85/5=17
Exploring Operation: 85-11=74, Resulting Numbers: [5, 74]
Generated Node #0,1,1: 20:[5, 74] Operation: 85-11=74
Exploring Operation: 85-5=80, Resulting Numbers: [11, 80]
Generated Node #0,1,2: 20:[11, 80] Operation: 85-5=80
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[11, 17], Operations: ['98-13=85', '85/5=17']
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,20 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[5, 74], Operations: ['98-13=85', '85-11=74']
Exploring Operation: 5*74=370, Resulting Numbers: [370]
370,20 unequal: No Solution
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 5+74=79, Resulting Numbers: [79]
79,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[11, 80], Operations: ['98-13=85', '85-5=80']
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 11+80=91, Resulting Numbers: [91]
91,20 unequal: No Solution
Exploring Operation: 11*80=880, Resulting Numbers: [880]
880,20 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: 20:[5, 13, 87], Operations: ['98-11=87']
Exploring Operation: 87-13=74, Resulting Numbers: [5, 74]
Generated Node #0,2,0: 20:[5, 74] Operation: 87-13=74
Exploring Operation: 5+13=18, Resulting Numbers: [87, 18]
Generated Node #0,2,1: 20:[87, 18] Operation: 5+13=18
Exploring Operation: 87-5=82, Resulting Numbers: [13, 82]
Generated Node #0,2,2: 20:[13, 82] Operation: 87-5=82
Moving to Node #0,0
Current State: 20:[11, 13, 93], Operations: ['98-5=93']
Exploring Operation: 13-11=2, Resulting Numbers: [93, 2]
Generated Node #0,0,0: 20:[93, 2] Operation: 13-11=2
Exploring Operation: 93-11=82, Resulting Numbers: [13, 82]
Generated Node #0,0,1: 20:[13, 82] Operation: 93-11=82
Exploring Operation: 93-13=80, Resulting Numbers: [11, 80]
Generated Node #0,0,2: 20:[11, 80] Operation: 93-13=80
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[11, 80], Operations: ['98-5=93', '93-13=80']
Exploring Operation: 11*80=880, Resulting Numbers: [880]
880,20 unequal: No Solution
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 11+80=91, Resulting Numbers: [91]
91,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[13, 82], Operations: ['98-5=93', '93-11=82']
Exploring Operation: 13*82=1066, Resulting Numbers: [1066]
1066,20 unequal: No Solution
Exploring Operation: 82-13=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 13+82=95, Resulting Numbers: [95]
95,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[93, 2], Operations: ['98-5=93', '13-11=2']
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,20 unequal: No Solution
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,20 unequal: No Solution
Exploring Operation: 93*2=186, Resulting Numbers: [186]
186,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 20:[5, 74], Operations: ['98-11=87', '87-13=74']
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 5*74=370, Resulting Numbers: [370]
370,20 unequal: No Solution
Exploring Operation: 5+74=79, Resulting Numbers: [79]
79,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[13, 82], Operations: ['98-11=87', '87-5=82']
Exploring Operation: 13*82=1066, Resulting Numbers: [1066]
1066,20 unequal: No Solution
Exploring Operation: 82-13=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 13+82=95, Resulting Numbers: [95]
95,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[87, 18], Operations: ['98-11=87', '5+13=18']
Exploring Operation: 87+18=105, Resulting Numbers: [105]
105,20 unequal: No Solution
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 87*18=1566, Resulting Numbers: [1566]
1566,20 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
23,
84,
78,
83
] | 31 | [
"83-78=5",
"23*5=115",
"115-84=31"
] | Current State: 31:[23, 84, 78, 83], Operations: []
Exploring Operation: 83-78=5, Resulting Numbers: [23, 84, 5]
Generated Node #2: [23, 84, 5] from Operation: 83-78=5
Current State: 31:[23, 84, 5], Operations: ['83-78=5']
Exploring Operation: 23*5=115, Resulting Numbers: [84, 115]
Generated Node #3: [84, 115] from Operation: 23*5=115
Current State: 31:[84, 115], Operations: ['83-78=5', '23*5=115']
Exploring Operation: 115-84=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[23, 84, 78, 83], Operations: []
Exploring Operation: 84-78=6, Resulting Numbers: [23, 83, 6]
Generated Node #0,0: 31:[23, 83, 6] Operation: 84-78=6
Exploring Operation: 84-83=1, Resulting Numbers: [23, 78, 1]
Generated Node #0,1: 31:[23, 78, 1] Operation: 84-83=1
Moving to Node #0,0
Current State: 31:[23, 83, 6], Operations: ['84-78=6']
Exploring Operation: 23+6=29, Resulting Numbers: [83, 29]
Generated Node #0,0,0: 31:[83, 29] Operation: 23+6=29
Exploring Operation: 83-23=60, Resulting Numbers: [6, 60]
Generated Node #0,0,1: 31:[6, 60] Operation: 83-23=60
Moving to Node #0,1
Current State: 31:[23, 78, 1], Operations: ['84-83=1']
Exploring Operation: 78-23=55, Resulting Numbers: [1, 55]
Generated Node #0,1,0: 31:[1, 55] Operation: 78-23=55
Exploring Operation: 23+1=24, Resulting Numbers: [78, 24]
Generated Node #0,1,1: 31:[78, 24] Operation: 23+1=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[1, 55], Operations: ['84-83=1', '78-23=55']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,31 unequal: No Solution
Exploring Operation: 1*55=55, Resulting Numbers: [55]
55,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:[78, 24], Operations: ['84-83=1', '23+1=24']
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,31 unequal: No Solution
Exploring Operation: 78+24=102, Resulting Numbers: [102]
102,31 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: 31:[83, 29], Operations: ['84-78=6', '23+6=29']
Exploring Operation: 83-29=54, Resulting Numbers: [54]
54,31 unequal: No Solution
Exploring Operation: 83+29=112, Resulting Numbers: [112]
112,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[6, 60], Operations: ['84-78=6', '83-23=60']
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,31 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,31 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
24,
27,
45,
49
] | 33 | [
"49-45=4",
"24/4=6",
"27+6=33"
] | Current State: 33:[24, 27, 45, 49], Operations: []
Exploring Operation: 49-45=4, Resulting Numbers: [24, 27, 4]
Generated Node #2: [24, 27, 4] from Operation: 49-45=4
Current State: 33:[24, 27, 4], Operations: ['49-45=4']
Exploring Operation: 24/4=6, Resulting Numbers: [27, 6]
Generated Node #3: [27, 6] from Operation: 24/4=6
Current State: 33:[27, 6], Operations: ['49-45=4', '24/4=6']
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[24, 27, 45, 49], Operations: []
Exploring Operation: 27-24=3, Resulting Numbers: [45, 49, 3]
Generated Node #0,0: 33:[45, 49, 3] Operation: 27-24=3
Exploring Operation: 45-24=21, Resulting Numbers: [27, 49, 21]
Generated Node #0,1: 33:[27, 49, 21] Operation: 45-24=21
Exploring Operation: 49-45=4, Resulting Numbers: [24, 27, 4]
Generated Node #0,2: 33:[24, 27, 4] Operation: 49-45=4
Exploring Operation: 49-24=25, Resulting Numbers: [27, 45, 25]
Generated Node #0,3: 33:[27, 45, 25] Operation: 49-24=25
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[24, 27, 4], Operations: ['49-45=4']
Exploring Operation: 24+4=28, Resulting Numbers: [27, 28]
Generated Node #0,2,0: 33:[27, 28] Operation: 24+4=28
Exploring Operation: 24/4=6, Resulting Numbers: [27, 6]
Generated Node #0,2,1: 33:[27, 6] Operation: 24/4=6
Exploring Operation: 27-24=3, Resulting Numbers: [4, 3]
Generated Node #0,2,2: 33:[4, 3] Operation: 27-24=3
Exploring Operation: 27+4=31, Resulting Numbers: [24, 31]
Generated Node #0,2,3: 33:[24, 31] Operation: 27+4=31
Moving to Node #0,2,2
Current State: 33:[4, 3], Operations: ['49-45=4', '27-24=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[27, 6], Operations: ['49-45=4', '24/4=6']
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[24, 27, 45, 49], Operations: []
Exploring Operation: 49-45=4, Resulting Numbers: [24, 27, 4]
Generated Node #0,2: 33:[24, 27, 4] Operation: 49-45=4
Moving to Node #0,2
Current State: 33:[24, 27, 4], Operations: ['49-45=4']
Exploring Operation: 24/4=6, Resulting Numbers: [27, 6]
Generated Node #0,2,1: 33:[27, 6] Operation: 24/4=6
Moving to Node #0,2,1
Current State: 33:[27, 6], Operations: ['49-45=4', '24/4=6']
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
42,
57,
28,
12
] | 59 | [
"42+57=99",
"28+12=40",
"99-40=59"
] | Current State: 59:[42, 57, 28, 12], Operations: []
Exploring Operation: 42+57=99, Resulting Numbers: [28, 12, 99]
Generated Node #2: [28, 12, 99] from Operation: 42+57=99
Current State: 59:[28, 12, 99], Operations: ['42+57=99']
Exploring Operation: 28+12=40, Resulting Numbers: [99, 40]
Generated Node #3: [99, 40] from Operation: 28+12=40
Current State: 59:[99, 40], Operations: ['42+57=99', '28+12=40']
Exploring Operation: 99-40=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[42, 57, 28, 12], Operations: []
Exploring Operation: 42+28=70, Resulting Numbers: [57, 12, 70]
Generated Node #0,0: 59:[57, 12, 70] Operation: 42+28=70
Exploring Operation: 57+12=69, Resulting Numbers: [42, 28, 69]
Generated Node #0,1: 59:[42, 28, 69] Operation: 57+12=69
Exploring Operation: 28+12=40, Resulting Numbers: [42, 57, 40]
Generated Node #0,2: 59:[42, 57, 40] Operation: 28+12=40
Exploring Operation: 42-12=30, Resulting Numbers: [57, 28, 30]
Generated Node #0,3: 59:[57, 28, 30] Operation: 42-12=30
Exploring Operation: 42+12=54, Resulting Numbers: [57, 28, 54]
Generated Node #0,4: 59:[57, 28, 54] Operation: 42+12=54
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[42, 57, 40], Operations: ['28+12=40']
Exploring Operation: 42+40=82, Resulting Numbers: [57, 82]
Generated Node #0,2,0: 59:[57, 82] Operation: 42+40=82
Exploring Operation: 42-40=2, Resulting Numbers: [57, 2]
Generated Node #0,2,1: 59:[57, 2] Operation: 42-40=2
Exploring Operation: 57+40=97, Resulting Numbers: [42, 97]
Generated Node #0,2,2: 59:[42, 97] Operation: 57+40=97
Exploring Operation: 57-40=17, Resulting Numbers: [42, 17]
Generated Node #0,2,3: 59:[42, 17] Operation: 57-40=17
Exploring Operation: 42+57=99, Resulting Numbers: [40, 99]
Generated Node #0,2,4: 59:[40, 99] Operation: 42+57=99
Moving to Node #0,2,0
Current State: 59:[57, 82], Operations: ['28+12=40', '42+40=82']
Exploring Operation: 57*82=4674, Resulting Numbers: [4674]
4674,59 unequal: No Solution
Exploring Operation: 82-57=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Exploring Operation: 57+82=139, Resulting Numbers: [139]
139,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[42, 97], Operations: ['28+12=40', '57+40=97']
Exploring Operation: 42+97=139, Resulting Numbers: [139]
139,59 unequal: No Solution
Exploring Operation: 97-42=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 42*97=4074, Resulting Numbers: [4074]
4074,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[57, 2], Operations: ['28+12=40', '42-40=2']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[42, 57, 28, 12], Operations: []
Exploring Operation: 28+12=40, Resulting Numbers: [42, 57, 40]
Generated Node #0,2: 59:[42, 57, 40] Operation: 28+12=40
Moving to Node #0,2
Current State: 59:[42, 57, 40], Operations: ['28+12=40']
Exploring Operation: 42-40=2, Resulting Numbers: [57, 2]
Generated Node #0,2,1: 59:[57, 2] Operation: 42-40=2
Moving to Node #0,2,1
Current State: 59:[57, 2], Operations: ['28+12=40', '42-40=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
80,
64,
96,
5
] | 85 | [
"80-64=16",
"96+5=101",
"101-16=85"
] | Current State: 85:[80, 64, 96, 5], Operations: []
Exploring Operation: 80-64=16, Resulting Numbers: [96, 5, 16]
Generated Node #2: [96, 5, 16] from Operation: 80-64=16
Current State: 85:[96, 5, 16], Operations: ['80-64=16']
Exploring Operation: 96+5=101, Resulting Numbers: [16, 101]
Generated Node #3: [16, 101] from Operation: 96+5=101
Current State: 85:[16, 101], Operations: ['80-64=16', '96+5=101']
Exploring Operation: 101-16=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[80, 64, 96, 5], Operations: []
Exploring Operation: 80-64=16, Resulting Numbers: [96, 5, 16]
Generated Node #0,0: 85:[96, 5, 16] Operation: 80-64=16
Exploring Operation: 96-80=16, Resulting Numbers: [64, 5, 16]
Generated Node #0,1: 85:[64, 5, 16] Operation: 96-80=16
Exploring Operation: 96-64=32, Resulting Numbers: [80, 5, 32]
Generated Node #0,2: 85:[80, 5, 32] Operation: 96-64=32
Moving to Node #0,0
Current State: 85:[96, 5, 16], Operations: ['80-64=16']
Exploring Operation: 96-5=91, Resulting Numbers: [16, 91]
Generated Node #0,0,0: 85:[16, 91] Operation: 96-5=91
Exploring Operation: 96/16=6, Resulting Numbers: [5, 6]
Generated Node #0,0,1: 85:[5, 6] Operation: 96/16=6
Exploring Operation: 96-16=80, Resulting Numbers: [5, 80]
Generated Node #0,0,2: 85:[5, 80] Operation: 96-16=80
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[5, 6], Operations: ['80-64=16', '96/16=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,85 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,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,2
Current State: 85:[5, 80], Operations: ['80-64=16', '96-16=80']
Exploring Operation: 5+80=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[80, 64, 96, 5], Operations: []
Exploring Operation: 80-64=16, Resulting Numbers: [96, 5, 16]
Generated Node #0,0: 85:[96, 5, 16] Operation: 80-64=16
Moving to Node #0,0
Current State: 85:[96, 5, 16], Operations: ['80-64=16']
Exploring Operation: 96-16=80, Resulting Numbers: [5, 80]
Generated Node #0,0,2: 85:[5, 80] Operation: 96-16=80
Moving to Node #0,0,2
Current State: 85:[5, 80], Operations: ['80-64=16', '96-16=80']
Exploring Operation: 5+80=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
49,
41,
20,
70
] | 40 | [
"49+41=90",
"70-20=50",
"90-50=40"
] | Current State: 40:[49, 41, 20, 70], Operations: []
Exploring Operation: 49+41=90, Resulting Numbers: [20, 70, 90]
Generated Node #2: [20, 70, 90] from Operation: 49+41=90
Current State: 40:[20, 70, 90], Operations: ['49+41=90']
Exploring Operation: 70-20=50, Resulting Numbers: [90, 50]
Generated Node #3: [90, 50] from Operation: 70-20=50
Current State: 40:[90, 50], Operations: ['49+41=90', '70-20=50']
Exploring Operation: 90-50=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[49, 41, 20, 70], Operations: []
Exploring Operation: 70-20=50, Resulting Numbers: [49, 41, 50]
Generated Node #0,0: 40:[49, 41, 50] Operation: 70-20=50
Exploring Operation: 70-41=29, Resulting Numbers: [49, 20, 29]
Generated Node #0,1: 40:[49, 20, 29] Operation: 70-41=29
Exploring Operation: 70-49=21, Resulting Numbers: [41, 20, 21]
Generated Node #0,2: 40:[41, 20, 21] Operation: 70-49=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[41, 20, 21], Operations: ['70-49=21']
Exploring Operation: 41-20=21, Resulting Numbers: [21, 21]
Generated Node #0,2,0: 40:[21, 21] Operation: 41-20=21
Exploring Operation: 41-21=20, Resulting Numbers: [20, 20]
Generated Node #0,2,1: 40:[20, 20] Operation: 41-21=20
Exploring Operation: 20+21=41, Resulting Numbers: [41, 41]
Generated Node #0,2,2: 40:[41, 41] Operation: 20+21=41
Moving to Node #0,2,1
Current State: 40:[20, 20], Operations: ['70-49=21', '41-21=20']
Exploring Operation: 20-20=0, Resulting Numbers: [0]
0,40 unequal: No Solution
Exploring Operation: 20+20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[49, 41, 20, 70], Operations: []
Exploring Operation: 70-49=21, Resulting Numbers: [41, 20, 21]
Generated Node #0,2: 40:[41, 20, 21] Operation: 70-49=21
Moving to Node #0,2
Current State: 40:[41, 20, 21], Operations: ['70-49=21']
Exploring Operation: 41-21=20, Resulting Numbers: [20, 20]
Generated Node #0,2,1: 40:[20, 20] Operation: 41-21=20
Moving to Node #0,2,1
Current State: 40:[20, 20], Operations: ['70-49=21', '41-21=20']
Exploring Operation: 20+20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
71,
31,
43,
49
] | 52 | [
"71-31=40",
"43+49=92",
"92-40=52"
] | Current State: 52:[71, 31, 43, 49], Operations: []
Exploring Operation: 71-31=40, Resulting Numbers: [43, 49, 40]
Generated Node #2: [43, 49, 40] from Operation: 71-31=40
Current State: 52:[43, 49, 40], Operations: ['71-31=40']
Exploring Operation: 43+49=92, Resulting Numbers: [40, 92]
Generated Node #3: [40, 92] from Operation: 43+49=92
Current State: 52:[40, 92], Operations: ['71-31=40', '43+49=92']
Exploring Operation: 92-40=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[71, 31, 43, 49], Operations: []
Exploring Operation: 71-31=40, Resulting Numbers: [43, 49, 40]
Generated Node #0,0: 52:[43, 49, 40] Operation: 71-31=40
Exploring Operation: 71-49=22, Resulting Numbers: [31, 43, 22]
Generated Node #0,1: 52:[31, 43, 22] Operation: 71-49=22
Exploring Operation: 71-43=28, Resulting Numbers: [31, 49, 28]
Generated Node #0,2: 52:[31, 49, 28] Operation: 71-43=28
Exploring Operation: 43-31=12, Resulting Numbers: [71, 49, 12]
Generated Node #0,3: 52:[71, 49, 12] Operation: 43-31=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[31, 49, 28], Operations: ['71-43=28']
Exploring Operation: 31-28=3, Resulting Numbers: [49, 3]
Generated Node #0,2,0: 52:[49, 3] Operation: 31-28=3
Exploring Operation: 49-31=18, Resulting Numbers: [28, 18]
Generated Node #0,2,1: 52:[28, 18] Operation: 49-31=18
Exploring Operation: 31+28=59, Resulting Numbers: [49, 59]
Generated Node #0,2,2: 52:[49, 59] Operation: 31+28=59
Exploring Operation: 49-28=21, Resulting Numbers: [31, 21]
Generated Node #0,2,3: 52:[31, 21] Operation: 49-28=21
Moving to Node #0,2,0
Current State: 52:[49, 3], Operations: ['71-43=28', '31-28=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,52 unequal: No Solution
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[71, 31, 43, 49], Operations: []
Exploring Operation: 71-43=28, Resulting Numbers: [31, 49, 28]
Generated Node #0,2: 52:[31, 49, 28] Operation: 71-43=28
Moving to Node #0,2
Current State: 52:[31, 49, 28], Operations: ['71-43=28']
Exploring Operation: 31-28=3, Resulting Numbers: [49, 3]
Generated Node #0,2,0: 52:[49, 3] Operation: 31-28=3
Moving to Node #0,2,0
Current State: 52:[49, 3], Operations: ['71-43=28', '31-28=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
18,
44,
35,
70
] | 68 | [
"44-35=9",
"18/9=2",
"70-2=68"
] | Current State: 68:[18, 44, 35, 70], Operations: []
Exploring Operation: 44-35=9, Resulting Numbers: [18, 70, 9]
Generated Node #2: [18, 70, 9] from Operation: 44-35=9
Current State: 68:[18, 70, 9], Operations: ['44-35=9']
Exploring Operation: 18/9=2, Resulting Numbers: [70, 2]
Generated Node #3: [70, 2] from Operation: 18/9=2
Current State: 68:[70, 2], Operations: ['44-35=9', '18/9=2']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[18, 44, 35, 70], Operations: []
Exploring Operation: 44-18=26, Resulting Numbers: [35, 70, 26]
Generated Node #0,0: 68:[35, 70, 26] Operation: 44-18=26
Exploring Operation: 70-44=26, Resulting Numbers: [18, 35, 26]
Generated Node #0,1: 68:[18, 35, 26] Operation: 70-44=26
Exploring Operation: 44-35=9, Resulting Numbers: [18, 70, 9]
Generated Node #0,2: 68:[18, 70, 9] Operation: 44-35=9
Exploring Operation: 18+44=62, Resulting Numbers: [35, 70, 62]
Generated Node #0,3: 68:[35, 70, 62] Operation: 18+44=62
Moving to Node #0,2
Current State: 68:[18, 70, 9], Operations: ['44-35=9']
Exploring Operation: 18/9=2, Resulting Numbers: [70, 2]
Generated Node #0,2,0: 68:[70, 2] Operation: 18/9=2
Exploring Operation: 70-9=61, Resulting Numbers: [18, 61]
Generated Node #0,2,1: 68:[18, 61] Operation: 70-9=61
Exploring Operation: 18+9=27, Resulting Numbers: [70, 27]
Generated Node #0,2,2: 68:[70, 27] Operation: 18+9=27
Exploring Operation: 18-9=9, Resulting Numbers: [70, 9]
Generated Node #0,2,3: 68:[70, 9] Operation: 18-9=9
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 68:[70, 2], Operations: ['44-35=9', '18/9=2']
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,68 unequal: No Solution
Exploring Operation: 70*2=140, Resulting Numbers: [140]
140,68 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[18, 44, 35, 70], Operations: []
Exploring Operation: 44-35=9, Resulting Numbers: [18, 70, 9]
Generated Node #0,2: 68:[18, 70, 9] Operation: 44-35=9
Moving to Node #0,2
Current State: 68:[18, 70, 9], Operations: ['44-35=9']
Exploring Operation: 18/9=2, Resulting Numbers: [70, 2]
Generated Node #0,2,0: 68:[70, 2] Operation: 18/9=2
Moving to Node #0,2,0
Current State: 68:[70, 2], Operations: ['44-35=9', '18/9=2']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
2,
79,
69,
51
] | 23 | [
"79+69=148",
"148/2=74",
"74-51=23"
] | Current State: 23:[2, 79, 69, 51], Operations: []
Exploring Operation: 79+69=148, Resulting Numbers: [2, 51, 148]
Generated Node #2: [2, 51, 148] from Operation: 79+69=148
Current State: 23:[2, 51, 148], Operations: ['79+69=148']
Exploring Operation: 148/2=74, Resulting Numbers: [51, 74]
Generated Node #3: [51, 74] from Operation: 148/2=74
Current State: 23:[51, 74], Operations: ['79+69=148', '148/2=74']
Exploring Operation: 74-51=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[2, 79, 69, 51], Operations: []
Exploring Operation: 79-69=10, Resulting Numbers: [2, 51, 10]
Generated Node #0,0: 23:[2, 51, 10] Operation: 79-69=10
Moving to Node #0,0
Current State: 23:[2, 51, 10], Operations: ['79-69=10']
Exploring Operation: 2*10=20, Resulting Numbers: [51, 20]
Generated Node #0,0,0: 23:[51, 20] Operation: 2*10=20
Moving to Node #0,0,0
Current State: 23:[51, 20], Operations: ['79-69=10', '2*10=20']
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,23 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
69,
81,
89,
6
] | 17 | [
"81-69=12",
"6*12=72",
"89-72=17"
] | Current State: 17:[69, 81, 89, 6], Operations: []
Exploring Operation: 81-69=12, Resulting Numbers: [89, 6, 12]
Generated Node #2: [89, 6, 12] from Operation: 81-69=12
Current State: 17:[89, 6, 12], Operations: ['81-69=12']
Exploring Operation: 6*12=72, Resulting Numbers: [89, 72]
Generated Node #3: [89, 72] from Operation: 6*12=72
Current State: 17:[89, 72], Operations: ['81-69=12', '6*12=72']
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[69, 81, 89, 6], Operations: []
Exploring Operation: 89-81=8, Resulting Numbers: [69, 6, 8]
Generated Node #0,0: 17:[69, 6, 8] Operation: 89-81=8
Moving to Node #0,0
Current State: 17:[69, 6, 8], Operations: ['89-81=8']
Exploring Operation: 69-6=63, Resulting Numbers: [8, 63]
Generated Node #0,0,0: 17:[8, 63] Operation: 69-6=63
Moving to Node #0,0,0
Current State: 17:[8, 63], Operations: ['89-81=8', '69-6=63']
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,17 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
59,
39,
56,
77
] | 35 | [
"59+39=98",
"56+77=133",
"133-98=35"
] | Current State: 35:[59, 39, 56, 77], Operations: []
Exploring Operation: 59+39=98, Resulting Numbers: [56, 77, 98]
Generated Node #2: [56, 77, 98] from Operation: 59+39=98
Current State: 35:[56, 77, 98], Operations: ['59+39=98']
Exploring Operation: 56+77=133, Resulting Numbers: [98, 133]
Generated Node #3: [98, 133] from Operation: 56+77=133
Current State: 35:[98, 133], Operations: ['59+39=98', '56+77=133']
Exploring Operation: 133-98=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[59, 39, 56, 77], Operations: []
Exploring Operation: 77-39=38, Resulting Numbers: [59, 56, 38]
Generated Node #0,0: 35:[59, 56, 38] Operation: 77-39=38
Exploring Operation: 77-56=21, Resulting Numbers: [59, 39, 21]
Generated Node #0,1: 35:[59, 39, 21] Operation: 77-56=21
Exploring Operation: 59-56=3, Resulting Numbers: [39, 77, 3]
Generated Node #0,2: 35:[39, 77, 3] Operation: 59-56=3
Exploring Operation: 77-59=18, Resulting Numbers: [39, 56, 18]
Generated Node #0,3: 35:[39, 56, 18] Operation: 77-59=18
Exploring Operation: 59-39=20, Resulting Numbers: [56, 77, 20]
Generated Node #0,4: 35:[56, 77, 20] Operation: 59-39=20
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[39, 56, 18], Operations: ['77-59=18']
Exploring Operation: 56-39=17, Resulting Numbers: [18, 17]
Generated Node #0,3,0: 35:[18, 17] Operation: 56-39=17
Exploring Operation: 56-18=38, Resulting Numbers: [39, 38]
Generated Node #0,3,1: 35:[39, 38] Operation: 56-18=38
Exploring Operation: 39-18=21, Resulting Numbers: [56, 21]
Generated Node #0,3,2: 35:[56, 21] Operation: 39-18=21
Exploring Operation: 39+18=57, Resulting Numbers: [56, 57]
Generated Node #0,3,3: 35:[56, 57] Operation: 39+18=57
Exploring Operation: 56+18=74, Resulting Numbers: [39, 74]
Generated Node #0,3,4: 35:[39, 74] Operation: 56+18=74
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 35:[39, 38], Operations: ['77-59=18', '56-18=38']
Exploring Operation: 39+38=77, Resulting Numbers: [77]
77,35 unequal: No Solution
Exploring Operation: 39*38=1482, Resulting Numbers: [1482]
1482,35 unequal: No Solution
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 35:[18, 17], Operations: ['77-59=18', '56-39=17']
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[59, 39, 56, 77], Operations: []
Exploring Operation: 77-59=18, Resulting Numbers: [39, 56, 18]
Generated Node #0,3: 35:[39, 56, 18] Operation: 77-59=18
Moving to Node #0,3
Current State: 35:[39, 56, 18], Operations: ['77-59=18']
Exploring Operation: 56-39=17, Resulting Numbers: [18, 17]
Generated Node #0,3,0: 35:[18, 17] Operation: 56-39=17
Moving to Node #0,3,0
Current State: 35:[18, 17], Operations: ['77-59=18', '56-39=17']
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
21,
46,
70,
73
] | 53 | [
"73-70=3",
"21/3=7",
"46+7=53"
] | Current State: 53:[21, 46, 70, 73], Operations: []
Exploring Operation: 73-70=3, Resulting Numbers: [21, 46, 3]
Generated Node #2: [21, 46, 3] from Operation: 73-70=3
Current State: 53:[21, 46, 3], Operations: ['73-70=3']
Exploring Operation: 21/3=7, Resulting Numbers: [46, 7]
Generated Node #3: [46, 7] from Operation: 21/3=7
Current State: 53:[46, 7], Operations: ['73-70=3', '21/3=7']
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[21, 46, 70, 73], Operations: []
Exploring Operation: 73-21=52, Resulting Numbers: [46, 70, 52]
Generated Node #0,0: 53:[46, 70, 52] Operation: 73-21=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[46, 70, 52], Operations: ['73-21=52']
Exploring Operation: 70-46=24, Resulting Numbers: [52, 24]
Generated Node #0,0,0: 53:[52, 24] Operation: 70-46=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[52, 24], Operations: ['73-21=52', '70-46=24']
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
94,
23,
5,
49
] | 63 | [
"94+23=117",
"5+49=54",
"117-54=63"
] | Current State: 63:[94, 23, 5, 49], Operations: []
Exploring Operation: 94+23=117, Resulting Numbers: [5, 49, 117]
Generated Node #2: [5, 49, 117] from Operation: 94+23=117
Current State: 63:[5, 49, 117], Operations: ['94+23=117']
Exploring Operation: 5+49=54, Resulting Numbers: [117, 54]
Generated Node #3: [117, 54] from Operation: 5+49=54
Current State: 63:[117, 54], Operations: ['94+23=117', '5+49=54']
Exploring Operation: 117-54=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[94, 23, 5, 49], Operations: []
Exploring Operation: 94-49=45, Resulting Numbers: [23, 5, 45]
Generated Node #0,0: 63:[23, 5, 45] Operation: 94-49=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[23, 5, 45], Operations: ['94-49=45']
Exploring Operation: 45/5=9, Resulting Numbers: [23, 9]
Generated Node #0,0,0: 63:[23, 9] Operation: 45/5=9
Moving to Node #0,0,0
Current State: 63:[23, 9], Operations: ['94-49=45', '45/5=9']
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
42,
56,
6,
23
] | 40 | [
"42+56=98",
"6*23=138",
"138-98=40"
] | Current State: 40:[42, 56, 6, 23], Operations: []
Exploring Operation: 42+56=98, Resulting Numbers: [6, 23, 98]
Generated Node #2: [6, 23, 98] from Operation: 42+56=98
Current State: 40:[6, 23, 98], Operations: ['42+56=98']
Exploring Operation: 6*23=138, Resulting Numbers: [98, 138]
Generated Node #3: [98, 138] from Operation: 6*23=138
Current State: 40:[98, 138], Operations: ['42+56=98', '6*23=138']
Exploring Operation: 138-98=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[42, 56, 6, 23], Operations: []
Exploring Operation: 42-23=19, Resulting Numbers: [56, 6, 19]
Generated Node #0,0: 40:[56, 6, 19] Operation: 42-23=19
Exploring Operation: 42/6=7, Resulting Numbers: [56, 23, 7]
Generated Node #0,1: 40:[56, 23, 7] Operation: 42/6=7
Exploring Operation: 56-6=50, Resulting Numbers: [42, 23, 50]
Generated Node #0,2: 40:[42, 23, 50] Operation: 56-6=50
Exploring Operation: 56-23=33, Resulting Numbers: [42, 6, 33]
Generated Node #0,3: 40:[42, 6, 33] Operation: 56-23=33
Exploring Operation: 56-42=14, Resulting Numbers: [6, 23, 14]
Generated Node #0,4: 40:[6, 23, 14] Operation: 56-42=14
Moving to Node #0,4
Current State: 40:[6, 23, 14], Operations: ['56-42=14']
Exploring Operation: 23-14=9, Resulting Numbers: [6, 9]
Generated Node #0,4,0: 40:[6, 9] Operation: 23-14=9
Exploring Operation: 14-6=8, Resulting Numbers: [23, 8]
Generated Node #0,4,1: 40:[23, 8] Operation: 14-6=8
Exploring Operation: 6+14=20, Resulting Numbers: [23, 20]
Generated Node #0,4,2: 40:[23, 20] Operation: 6+14=20
Exploring Operation: 23-6=17, Resulting Numbers: [14, 17]
Generated Node #0,4,3: 40:[14, 17] Operation: 23-6=17
Exploring Operation: 23+14=37, Resulting Numbers: [6, 37]
Generated Node #0,4,4: 40:[6, 37] Operation: 23+14=37
Moving to Node #0,3
Current State: 40:[42, 6, 33], Operations: ['56-23=33']
Exploring Operation: 33-6=27, Resulting Numbers: [42, 27]
Generated Node #0,3,0: 40:[42, 27] Operation: 33-6=27
Exploring Operation: 42/6=7, Resulting Numbers: [33, 7]
Generated Node #0,3,1: 40:[33, 7] Operation: 42/6=7
Exploring Operation: 42-6=36, Resulting Numbers: [33, 36]
Generated Node #0,3,2: 40:[33, 36] Operation: 42-6=36
Exploring Operation: 6+33=39, Resulting Numbers: [42, 39]
Generated Node #0,3,3: 40:[42, 39] Operation: 6+33=39
Exploring Operation: 42-33=9, Resulting Numbers: [6, 9]
Generated Node #0,3,4: 40:[6, 9] Operation: 42-33=9
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 40:[6, 9], Operations: ['56-23=33', '42-33=9']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 40:[42, 39], Operations: ['56-23=33', '6+33=39']
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 42*39=1638, Resulting Numbers: [1638]
1638,40 unequal: No Solution
Exploring Operation: 42+39=81, Resulting Numbers: [81]
81,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 40:[33, 7], Operations: ['56-23=33', '42/6=7']
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[42, 56, 6, 23], Operations: []
Exploring Operation: 56-23=33, Resulting Numbers: [42, 6, 33]
Generated Node #0,3: 40:[42, 6, 33] Operation: 56-23=33
Moving to Node #0,3
Current State: 40:[42, 6, 33], Operations: ['56-23=33']
Exploring Operation: 42/6=7, Resulting Numbers: [33, 7]
Generated Node #0,3,1: 40:[33, 7] Operation: 42/6=7
Moving to Node #0,3,1
Current State: 40:[33, 7], Operations: ['56-23=33', '42/6=7']
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | sum_heuristic |
[
7,
24,
56,
3
] | 59 | [
"7*3=21",
"24+56=80",
"80-21=59"
] | Current State: 59:[7, 24, 56, 3], Operations: []
Exploring Operation: 7*3=21, Resulting Numbers: [24, 56, 21]
Generated Node #2: [24, 56, 21] from Operation: 7*3=21
Current State: 59:[24, 56, 21], Operations: ['7*3=21']
Exploring Operation: 24+56=80, Resulting Numbers: [21, 80]
Generated Node #3: [21, 80] from Operation: 24+56=80
Current State: 59:[21, 80], Operations: ['7*3=21', '24+56=80']
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[7, 24, 56, 3], Operations: []
Exploring Operation: 7*3=21, Resulting Numbers: [24, 56, 21]
Generated Node #0,0: 59:[24, 56, 21] Operation: 7*3=21
Exploring Operation: 7+24=31, Resulting Numbers: [56, 3, 31]
Generated Node #0,1: 59:[56, 3, 31] Operation: 7+24=31
Exploring Operation: 24*3=72, Resulting Numbers: [7, 56, 72]
Generated Node #0,2: 59:[7, 56, 72] Operation: 24*3=72
Moving to Node #0,2
Current State: 59:[7, 56, 72], Operations: ['24*3=72']
Exploring Operation: 56-7=49, Resulting Numbers: [72, 49]
Generated Node #0,2,0: 59:[72, 49] Operation: 56-7=49
Exploring Operation: 7+56=63, Resulting Numbers: [72, 63]
Generated Node #0,2,1: 59:[72, 63] Operation: 7+56=63
Exploring Operation: 72-7=65, Resulting Numbers: [56, 65]
Generated Node #0,2,2: 59:[56, 65] Operation: 72-7=65
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 59:[56, 65], Operations: ['24*3=72', '72-7=65']
Exploring Operation: 65-56=9, Resulting Numbers: [9]
9,59 unequal: No Solution
Exploring Operation: 56*65=3640, Resulting Numbers: [3640]
3640,59 unequal: No Solution
Exploring Operation: 56+65=121, Resulting Numbers: [121]
121,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 59:[72, 63], Operations: ['24*3=72', '7+56=63']
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,59 unequal: No Solution
Exploring Operation: 72*63=4536, Resulting Numbers: [4536]
4536,59 unequal: No Solution
Exploring Operation: 72+63=135, Resulting Numbers: [135]
135,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[72, 49], Operations: ['24*3=72', '56-7=49']
Exploring Operation: 72-49=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 72+49=121, Resulting Numbers: [121]
121,59 unequal: No Solution
Exploring Operation: 72*49=3528, Resulting Numbers: [3528]
3528,59 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: 59:[24, 56, 21], Operations: ['7*3=21']
Exploring Operation: 24+56=80, Resulting Numbers: [21, 80]
Generated Node #0,0,0: 59:[21, 80] Operation: 24+56=80
Exploring Operation: 56+21=77, Resulting Numbers: [24, 77]
Generated Node #0,0,1: 59:[24, 77] Operation: 56+21=77
Exploring Operation: 24+21=45, Resulting Numbers: [56, 45]
Generated Node #0,0,2: 59:[56, 45] Operation: 24+21=45
Moving to Node #0,1
Current State: 59:[56, 3, 31], Operations: ['7+24=31']
Exploring Operation: 56+3=59, Resulting Numbers: [31, 59]
Generated Node #0,1,0: 59:[31, 59] Operation: 56+3=59
Exploring Operation: 56-3=53, Resulting Numbers: [31, 53]
Generated Node #0,1,1: 59:[31, 53] Operation: 56-3=53
Exploring Operation: 3+31=34, Resulting Numbers: [56, 34]
Generated Node #0,1,2: 59:[56, 34] Operation: 3+31=34
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[31, 59], Operations: ['7+24=31', '56+3=59']
Exploring Operation: 31*59=1829, Resulting Numbers: [1829]
1829,59 unequal: No Solution
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Exploring Operation: 31+59=90, Resulting Numbers: [90]
90,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[56, 34], Operations: ['7+24=31', '3+31=34']
Exploring Operation: 56*34=1904, Resulting Numbers: [1904]
1904,59 unequal: No Solution
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 56+34=90, Resulting Numbers: [90]
90,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[31, 53], Operations: ['7+24=31', '56-3=53']
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,59 unequal: No Solution
Exploring Operation: 31*53=1643, Resulting Numbers: [1643]
1643,59 unequal: No Solution
Exploring Operation: 31+53=84, Resulting Numbers: [84]
84,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 59:[56, 45], Operations: ['7*3=21', '24+21=45']
Exploring Operation: 56+45=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 56*45=2520, Resulting Numbers: [2520]
2520,59 unequal: No Solution
Exploring Operation: 56-45=11, Resulting Numbers: [11]
11,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[24, 77], Operations: ['7*3=21', '56+21=77']
Exploring Operation: 24*77=1848, Resulting Numbers: [1848]
1848,59 unequal: No Solution
Exploring Operation: 24+77=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 77-24=53, Resulting Numbers: [53]
53,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[21, 80], Operations: ['7*3=21', '24+56=80']
Exploring Operation: 21+80=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Exploring Operation: 21*80=1680, Resulting Numbers: [1680]
1680,59 unequal: No Solution
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[7, 24, 56, 3], Operations: []
Exploring Operation: 7*3=21, Resulting Numbers: [24, 56, 21]
Generated Node #0,0: 59:[24, 56, 21] Operation: 7*3=21
Moving to Node #0,0
Current State: 59:[24, 56, 21], Operations: ['7*3=21']
Exploring Operation: 24+56=80, Resulting Numbers: [21, 80]
Generated Node #0,0,0: 59:[21, 80] Operation: 24+56=80
Moving to Node #0,0,0
Current State: 59:[21, 80], Operations: ['7*3=21', '24+56=80']
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 0.962674 | hs_3 | sum_heuristic |
[
8,
96,
63,
30
] | 10 | [
"96+30=126",
"126/63=2",
"8+2=10"
] | Current State: 10:[8, 96, 63, 30], Operations: []
Exploring Operation: 96+30=126, Resulting Numbers: [8, 63, 126]
Generated Node #2: [8, 63, 126] from Operation: 96+30=126
Current State: 10:[8, 63, 126], Operations: ['96+30=126']
Exploring Operation: 126/63=2, Resulting Numbers: [8, 2]
Generated Node #3: [8, 2] from Operation: 126/63=2
Current State: 10:[8, 2], Operations: ['96+30=126', '126/63=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[8, 96, 63, 30], Operations: []
Exploring Operation: 96-30=66, Resulting Numbers: [8, 63, 66]
Generated Node #0,0: 10:[8, 63, 66] Operation: 96-30=66
Exploring Operation: 63-30=33, Resulting Numbers: [8, 96, 33]
Generated Node #0,1: 10:[8, 96, 33] Operation: 63-30=33
Exploring Operation: 96-8=88, Resulting Numbers: [63, 30, 88]
Generated Node #0,2: 10:[63, 30, 88] Operation: 96-8=88
Exploring Operation: 96-63=33, Resulting Numbers: [8, 30, 33]
Generated Node #0,3: 10:[8, 30, 33] Operation: 96-63=33
Exploring Operation: 96/8=12, Resulting Numbers: [63, 30, 12]
Generated Node #0,4: 10:[63, 30, 12] Operation: 96/8=12
Moving to Node #0,3
Current State: 10:[8, 30, 33], Operations: ['96-63=33']
Exploring Operation: 8+33=41, Resulting Numbers: [30, 41]
Generated Node #0,3,0: 10:[30, 41] Operation: 8+33=41
Exploring Operation: 33-30=3, Resulting Numbers: [8, 3]
Generated Node #0,3,1: 10:[8, 3] Operation: 33-30=3
Exploring Operation: 30-8=22, Resulting Numbers: [33, 22]
Generated Node #0,3,2: 10:[33, 22] Operation: 30-8=22
Exploring Operation: 33-8=25, Resulting Numbers: [30, 25]
Generated Node #0,3,3: 10:[30, 25] Operation: 33-8=25
Exploring Operation: 8+30=38, Resulting Numbers: [33, 38]
Generated Node #0,3,4: 10:[33, 38] Operation: 8+30=38
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 10:[8, 3], Operations: ['96-63=33', '33-30=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 10:[33, 22], Operations: ['96-63=33', '30-8=22']
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 33+22=55, Resulting Numbers: [55]
55,10 unequal: No Solution
Exploring Operation: 33*22=726, Resulting Numbers: [726]
726,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 10:[30, 25], Operations: ['96-63=33', '33-8=25']
Exploring Operation: 30+25=55, Resulting Numbers: [55]
55,10 unequal: No Solution
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 30*25=750, Resulting Numbers: [750]
750,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 10:[30, 41], Operations: ['96-63=33', '8+33=41']
Exploring Operation: 30+41=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 30*41=1230, Resulting Numbers: [1230]
1230,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 10:[33, 38], Operations: ['96-63=33', '8+30=38']
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 33*38=1254, Resulting Numbers: [1254]
1254,10 unequal: No Solution
Exploring Operation: 33+38=71, Resulting Numbers: [71]
71,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 10:[63, 30, 12], Operations: ['96/8=12']
Exploring Operation: 30-12=18, Resulting Numbers: [63, 18]
Generated Node #0,4,0: 10:[63, 18] Operation: 30-12=18
Exploring Operation: 63-12=51, Resulting Numbers: [30, 51]
Generated Node #0,4,1: 10:[30, 51] Operation: 63-12=51
Exploring Operation: 63-30=33, Resulting Numbers: [12, 33]
Generated Node #0,4,2: 10:[12, 33] Operation: 63-30=33
Exploring Operation: 63+12=75, Resulting Numbers: [30, 75]
Generated Node #0,4,3: 10:[30, 75] Operation: 63+12=75
Exploring Operation: 63+30=93, Resulting Numbers: [12, 93]
Generated Node #0,4,4: 10:[12, 93] Operation: 63+30=93
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 10:[12, 33], Operations: ['96/8=12', '63-30=33']
Exploring Operation: 12*33=396, Resulting Numbers: [396]
396,10 unequal: No Solution
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 10:[63, 18], Operations: ['96/8=12', '30-12=18']
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 63+18=81, Resulting Numbers: [81]
81,10 unequal: No Solution
Exploring Operation: 63*18=1134, Resulting Numbers: [1134]
1134,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 10:[30, 51], Operations: ['96/8=12', '63-12=51']
Exploring Operation: 30*51=1530, Resulting Numbers: [1530]
1530,10 unequal: No Solution
Exploring Operation: 30+51=81, Resulting Numbers: [81]
81,10 unequal: No Solution
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 10:[30, 75], Operations: ['96/8=12', '63+12=75']
Exploring Operation: 75-30=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 30*75=2250, Resulting Numbers: [2250]
2250,10 unequal: No Solution
Exploring Operation: 30+75=105, Resulting Numbers: [105]
105,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 10:[12, 93], Operations: ['96/8=12', '63+30=93']
Exploring Operation: 12+93=105, Resulting Numbers: [105]
105,10 unequal: No Solution
Exploring Operation: 12*93=1116, Resulting Numbers: [1116]
1116,10 unequal: No Solution
Exploring Operation: 93-12=81, Resulting Numbers: [81]
81,10 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: 10:[8, 63, 66], Operations: ['96-30=66']
Exploring Operation: 66-8=58, Resulting Numbers: [63, 58]
Generated Node #0,0,0: 10:[63, 58] Operation: 66-8=58
Exploring Operation: 8+63=71, Resulting Numbers: [66, 71]
Generated Node #0,0,1: 10:[66, 71] Operation: 8+63=71
Exploring Operation: 8+66=74, Resulting Numbers: [63, 74]
Generated Node #0,0,2: 10:[63, 74] Operation: 8+66=74
Exploring Operation: 63-8=55, Resulting Numbers: [66, 55]
Generated Node #0,0,3: 10:[66, 55] Operation: 63-8=55
Exploring Operation: 66-63=3, Resulting Numbers: [8, 3]
Generated Node #0,0,4: 10:[8, 3] Operation: 66-63=3
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 10:[8, 3], Operations: ['96-30=66', '66-63=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[63, 58], Operations: ['96-30=66', '66-8=58']
Exploring Operation: 63-58=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 63+58=121, Resulting Numbers: [121]
121,10 unequal: No Solution
Exploring Operation: 63*58=3654, Resulting Numbers: [3654]
3654,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 10:[66, 55], Operations: ['96-30=66', '63-8=55']
Exploring Operation: 66*55=3630, Resulting Numbers: [3630]
3630,10 unequal: No Solution
Exploring Operation: 66+55=121, Resulting Numbers: [121]
121,10 unequal: No Solution
Exploring Operation: 66-55=11, Resulting Numbers: [11]
11,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[66, 71], Operations: ['96-30=66', '8+63=71']
Exploring Operation: 71-66=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 66*71=4686, Resulting Numbers: [4686]
4686,10 unequal: No Solution
Exploring Operation: 66+71=137, Resulting Numbers: [137]
137,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 10:[63, 74], Operations: ['96-30=66', '8+66=74']
Exploring Operation: 63+74=137, Resulting Numbers: [137]
137,10 unequal: No Solution
Exploring Operation: 74-63=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 63*74=4662, Resulting Numbers: [4662]
4662,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 10:[8, 96, 33], Operations: ['63-30=33']
Exploring Operation: 8+96=104, Resulting Numbers: [33, 104]
Generated Node #0,1,0: 10:[33, 104] Operation: 8+96=104
Exploring Operation: 96/8=12, Resulting Numbers: [33, 12]
Generated Node #0,1,1: 10:[33, 12] Operation: 96/8=12
Exploring Operation: 96-33=63, Resulting Numbers: [8, 63]
Generated Node #0,1,2: 10:[8, 63] Operation: 96-33=63
Exploring Operation: 96-8=88, Resulting Numbers: [33, 88]
Generated Node #0,1,3: 10:[33, 88] Operation: 96-8=88
Exploring Operation: 33-8=25, Resulting Numbers: [96, 25]
Generated Node #0,1,4: 10:[96, 25] Operation: 33-8=25
Moving to Node #0,2
Current State: 10:[63, 30, 88], Operations: ['96-8=88']
Exploring Operation: 63+88=151, Resulting Numbers: [30, 151]
Generated Node #0,2,0: 10:[30, 151] Operation: 63+88=151
Exploring Operation: 63+30=93, Resulting Numbers: [88, 93]
Generated Node #0,2,1: 10:[88, 93] Operation: 63+30=93
Exploring Operation: 63-30=33, Resulting Numbers: [88, 33]
Generated Node #0,2,2: 10:[88, 33] Operation: 63-30=33
Exploring Operation: 88-30=58, Resulting Numbers: [63, 58]
Generated Node #0,2,3: 10:[63, 58] Operation: 88-30=58
Exploring Operation: 88-63=25, Resulting Numbers: [30, 25]
Generated Node #0,2,4: 10:[30, 25] Operation: 88-63=25
Moving to Node #0,1,1
Current State: 10:[33, 12], Operations: ['63-30=33', '96/8=12']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 33*12=396, Resulting Numbers: [396]
396,10 unequal: No Solution
Exploring Operation: 33+12=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Moving to Node #0,2,4
Current State: 10:[30, 25], Operations: ['96-8=88', '88-63=25']
Exploring Operation: 30+25=55, Resulting Numbers: [55]
55,10 unequal: No Solution
Exploring Operation: 30*25=750, Resulting Numbers: [750]
750,10 unequal: No Solution
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[8, 63], Operations: ['63-30=33', '96-33=63']
Exploring Operation: 8+63=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,10 unequal: No Solution
Exploring Operation: 8*63=504, Resulting Numbers: [504]
504,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[88, 33], Operations: ['96-8=88', '63-30=33']
Exploring Operation: 88+33=121, Resulting Numbers: [121]
121,10 unequal: No Solution
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,10 unequal: No Solution
Exploring Operation: 88*33=2904, Resulting Numbers: [2904]
2904,10 unequal: No Solution
Moving to Node #0,1,3
Current State: 10:[33, 88], Operations: ['63-30=33', '96-8=88']
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,10 unequal: No Solution
Exploring Operation: 33*88=2904, Resulting Numbers: [2904]
2904,10 unequal: No Solution
Exploring Operation: 33+88=121, Resulting Numbers: [121]
121,10 unequal: No Solution
Moving to Node #0,1,4
Current State: 10:[96, 25], Operations: ['63-30=33', '33-8=25']
Exploring Operation: 96-25=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Exploring Operation: 96*25=2400, Resulting Numbers: [2400]
2400,10 unequal: No Solution
Exploring Operation: 96+25=121, Resulting Numbers: [121]
121,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[63, 58], Operations: ['96-8=88', '88-30=58']
Exploring Operation: 63-58=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 63*58=3654, Resulting Numbers: [3654]
3654,10 unequal: No Solution
Exploring Operation: 63+58=121, Resulting Numbers: [121]
121,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[33, 104], Operations: ['63-30=33', '8+96=104']
Exploring Operation: 33*104=3432, Resulting Numbers: [3432]
3432,10 unequal: No Solution
Exploring Operation: 104-33=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Exploring Operation: 33+104=137, Resulting Numbers: [137]
137,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[88, 93], Operations: ['96-8=88', '63+30=93']
Exploring Operation: 88*93=8184, Resulting Numbers: [8184]
8184,10 unequal: No Solution
Exploring Operation: 93-88=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 88+93=181, Resulting Numbers: [181]
181,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[30, 151], Operations: ['96-8=88', '63+88=151']
Exploring Operation: 30+151=181, Resulting Numbers: [181]
181,10 unequal: No Solution
Exploring Operation: 151-30=121, Resulting Numbers: [121]
121,10 unequal: No Solution
Exploring Operation: 30*151=4530, Resulting Numbers: [4530]
4530,10 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
9,
5,
5,
36
] | 36 | [
"9-5=4",
"5-4=1",
"36*1=36"
] | Current State: 36:[9, 5, 5, 36], Operations: []
Exploring Operation: 9-5=4, Resulting Numbers: [36, 4]
Generated Node #2: [36, 4] from Operation: 9-5=4
Current State: 36:[36, 4], Operations: ['9-5=4']
Exploring Operation: 5-4=1, Resulting Numbers: [36, 1]
Generated Node #3: [36, 1] from Operation: 5-4=1
Current State: 36:[36, 1], Operations: ['9-5=4', '5-4=1']
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[9, 5, 5, 36], Operations: []
Exploring Operation: 9-5=4, Resulting Numbers: [5, 36, 4]
Generated Node #0,0: 36:[5, 36, 4] Operation: 9-5=4
Exploring Operation: 9-5=4, Resulting Numbers: [5, 36, 4]
Generated Node #0,1: 36:[5, 36, 4] Operation: 9-5=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[5, 36, 4], Operations: ['9-5=4']
Exploring Operation: 5+4=9, Resulting Numbers: [36, 9]
Generated Node #0,0,0: 36:[36, 9] Operation: 5+4=9
Exploring Operation: 5-4=1, Resulting Numbers: [36, 1]
Generated Node #0,0,1: 36:[36, 1] Operation: 5-4=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[36, 9], Operations: ['9-5=4', '5+4=9']
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 36+9=45, Resulting Numbers: [45]
45,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 36:[36, 1], Operations: ['9-5=4', '5-4=1']
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[9, 5, 5, 36], Operations: []
Exploring Operation: 9-5=4, Resulting Numbers: [5, 36, 4]
Generated Node #0,0: 36:[5, 36, 4] Operation: 9-5=4
Moving to Node #0,0
Current State: 36:[5, 36, 4], Operations: ['9-5=4']
Exploring Operation: 5-4=1, Resulting Numbers: [36, 1]
Generated Node #0,0,1: 36:[36, 1] Operation: 5-4=1
Moving to Node #0,0,1
Current State: 36:[36, 1], Operations: ['9-5=4', '5-4=1']
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
26,
21,
72,
79
] | 78 | [
"26*21=546",
"79-72=7",
"546/7=78"
] | Current State: 78:[26, 21, 72, 79], Operations: []
Exploring Operation: 26*21=546, Resulting Numbers: [72, 79, 546]
Generated Node #2: [72, 79, 546] from Operation: 26*21=546
Current State: 78:[72, 79, 546], Operations: ['26*21=546']
Exploring Operation: 79-72=7, Resulting Numbers: [546, 7]
Generated Node #3: [546, 7] from Operation: 79-72=7
Current State: 78:[546, 7], Operations: ['26*21=546', '79-72=7']
Exploring Operation: 546/7=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[26, 21, 72, 79], Operations: []
Exploring Operation: 79-72=7, Resulting Numbers: [26, 21, 7]
Generated Node #0,0: 78:[26, 21, 7] Operation: 79-72=7
Exploring Operation: 72-26=46, Resulting Numbers: [21, 79, 46]
Generated Node #0,1: 78:[21, 79, 46] Operation: 72-26=46
Exploring Operation: 26-21=5, Resulting Numbers: [72, 79, 5]
Generated Node #0,2: 78:[72, 79, 5] Operation: 26-21=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[26, 21, 7], Operations: ['79-72=7']
Exploring Operation: 21-7=14, Resulting Numbers: [26, 14]
Generated Node #0,0,0: 78:[26, 14] Operation: 21-7=14
Exploring Operation: 21/7=3, Resulting Numbers: [26, 3]
Generated Node #0,0,1: 78:[26, 3] Operation: 21/7=3
Exploring Operation: 26-21=5, Resulting Numbers: [7, 5]
Generated Node #0,0,2: 78:[7, 5] Operation: 26-21=5
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 78:[26, 3], Operations: ['79-72=7', '21/7=3']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[26, 21, 72, 79], Operations: []
Exploring Operation: 79-72=7, Resulting Numbers: [26, 21, 7]
Generated Node #0,0: 78:[26, 21, 7] Operation: 79-72=7
Moving to Node #0,0
Current State: 78:[26, 21, 7], Operations: ['79-72=7']
Exploring Operation: 21/7=3, Resulting Numbers: [26, 3]
Generated Node #0,0,1: 78:[26, 3] Operation: 21/7=3
Moving to Node #0,0,1
Current State: 78:[26, 3], Operations: ['79-72=7', '21/7=3']
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
86,
55,
56,
66
] | 25 | [
"86-56=30",
"55*30=1650",
"1650/66=25"
] | Current State: 25:[86, 55, 56, 66], Operations: []
Exploring Operation: 86-56=30, Resulting Numbers: [55, 66, 30]
Generated Node #2: [55, 66, 30] from Operation: 86-56=30
Current State: 25:[55, 66, 30], Operations: ['86-56=30']
Exploring Operation: 55*30=1650, Resulting Numbers: [66, 1650]
Generated Node #3: [66, 1650] from Operation: 55*30=1650
Current State: 25:[66, 1650], Operations: ['86-56=30', '55*30=1650']
Exploring Operation: 1650/66=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[86, 55, 56, 66], Operations: []
Exploring Operation: 86-66=20, Resulting Numbers: [55, 56, 20]
Generated Node #0,0: 25:[55, 56, 20] Operation: 86-66=20
Exploring Operation: 86-56=30, Resulting Numbers: [55, 66, 30]
Generated Node #0,1: 25:[55, 66, 30] Operation: 86-56=30
Moving to Node #0,0
Current State: 25:[55, 56, 20], Operations: ['86-66=20']
Exploring Operation: 55-20=35, Resulting Numbers: [56, 35]
Generated Node #0,0,0: 25:[56, 35] Operation: 55-20=35
Exploring Operation: 56-55=1, Resulting Numbers: [20, 1]
Generated Node #0,0,1: 25:[20, 1] Operation: 56-55=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[20, 1], Operations: ['86-66=20', '56-55=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[56, 35], Operations: ['86-66=20', '55-20=35']
Exploring Operation: 56+35=91, Resulting Numbers: [91]
91,25 unequal: No Solution
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,25 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: 25:[55, 66, 30], Operations: ['86-56=30']
Exploring Operation: 66-55=11, Resulting Numbers: [30, 11]
Generated Node #0,1,0: 25:[30, 11] Operation: 66-55=11
Exploring Operation: 55-30=25, Resulting Numbers: [66, 25]
Generated Node #0,1,1: 25:[66, 25] Operation: 55-30=25
Moving to Node #0,1,0
Current State: 25:[30, 11], Operations: ['86-56=30', '66-55=11']
Exploring Operation: 30+11=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[66, 25], Operations: ['86-56=30', '55-30=25']
Exploring Operation: 66+25=91, Resulting Numbers: [91]
91,25 unequal: No Solution
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,25 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
42,
16,
38,
65
] | 60 | [
"42+38=80",
"80/16=5",
"65-5=60"
] | Current State: 60:[42, 16, 38, 65], Operations: []
Exploring Operation: 42+38=80, Resulting Numbers: [16, 65, 80]
Generated Node #2: [16, 65, 80] from Operation: 42+38=80
Current State: 60:[16, 65, 80], Operations: ['42+38=80']
Exploring Operation: 80/16=5, Resulting Numbers: [65, 5]
Generated Node #3: [65, 5] from Operation: 80/16=5
Current State: 60:[65, 5], Operations: ['42+38=80', '80/16=5']
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[42, 16, 38, 65], Operations: []
Exploring Operation: 42+16=58, Resulting Numbers: [38, 65, 58]
Generated Node #0,0: 60:[38, 65, 58] Operation: 42+16=58
Exploring Operation: 42-38=4, Resulting Numbers: [16, 65, 4]
Generated Node #0,1: 60:[16, 65, 4] Operation: 42-38=4
Exploring Operation: 65-42=23, Resulting Numbers: [16, 38, 23]
Generated Node #0,2: 60:[16, 38, 23] Operation: 65-42=23
Moving to Node #0,1
Current State: 60:[16, 65, 4], Operations: ['42-38=4']
Exploring Operation: 16-4=12, Resulting Numbers: [65, 12]
Generated Node #0,1,0: 60:[65, 12] Operation: 16-4=12
Exploring Operation: 16+4=20, Resulting Numbers: [65, 20]
Generated Node #0,1,1: 60:[65, 20] Operation: 16+4=20
Exploring Operation: 65-4=61, Resulting Numbers: [16, 61]
Generated Node #0,1,2: 60:[16, 61] Operation: 65-4=61
Moving to Node #0,2
Current State: 60:[16, 38, 23], Operations: ['65-42=23']
Exploring Operation: 38+23=61, Resulting Numbers: [16, 61]
Generated Node #0,2,0: 60:[16, 61] Operation: 38+23=61
Exploring Operation: 38-16=22, Resulting Numbers: [23, 22]
Generated Node #0,2,1: 60:[23, 22] Operation: 38-16=22
Exploring Operation: 38-23=15, Resulting Numbers: [16, 15]
Generated Node #0,2,2: 60:[16, 15] Operation: 38-23=15
Moving to Node #0,0
Current State: 60:[38, 65, 58], Operations: ['42+16=58']
Exploring Operation: 58-38=20, Resulting Numbers: [65, 20]
Generated Node #0,0,0: 60:[65, 20] Operation: 58-38=20
Exploring Operation: 65-58=7, Resulting Numbers: [38, 7]
Generated Node #0,0,1: 60:[38, 7] Operation: 65-58=7
Exploring Operation: 65-38=27, Resulting Numbers: [58, 27]
Generated Node #0,0,2: 60:[58, 27] Operation: 65-38=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[65, 20], Operations: ['42+16=58', '58-38=20']
Exploring Operation: 65-20=45, Resulting Numbers: [45]
45,60 unequal: No Solution
Exploring Operation: 65*20=1300, Resulting Numbers: [1300]
1300,60 unequal: No Solution
Exploring Operation: 65+20=85, Resulting Numbers: [85]
85,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 60:[58, 27], Operations: ['42+16=58', '65-38=27']
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Exploring Operation: 58+27=85, Resulting Numbers: [85]
85,60 unequal: No Solution
Exploring Operation: 58*27=1566, Resulting Numbers: [1566]
1566,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 60:[38, 7], Operations: ['42+16=58', '65-58=7']
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,60 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 60:[16, 15], Operations: ['65-42=23', '38-23=15']
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,60 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[16, 61], Operations: ['42-38=4', '65-4=61']
Exploring Operation: 16+61=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 16*61=976, Resulting Numbers: [976]
976,60 unequal: No Solution
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[16, 61], Operations: ['65-42=23', '38+23=61']
Exploring Operation: 16*61=976, Resulting Numbers: [976]
976,60 unequal: No Solution
Exploring Operation: 16+61=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[65, 20], Operations: ['42-38=4', '16+4=20']
Exploring Operation: 65+20=85, Resulting Numbers: [85]
85,60 unequal: No Solution
Exploring Operation: 65-20=45, Resulting Numbers: [45]
45,60 unequal: No Solution
Exploring Operation: 65*20=1300, Resulting Numbers: [1300]
1300,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[65, 12], Operations: ['42-38=4', '16-4=12']
Exploring Operation: 65*12=780, Resulting Numbers: [780]
780,60 unequal: No Solution
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,60 unequal: No Solution
Exploring Operation: 65+12=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[23, 22], Operations: ['65-42=23', '38-16=22']
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,60 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,60 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
93,
7,
50,
74
] | 38 | [
"93-7=86",
"50+74=124",
"124-86=38"
] | Current State: 38:[93, 7, 50, 74], Operations: []
Exploring Operation: 93-7=86, Resulting Numbers: [50, 74, 86]
Generated Node #2: [50, 74, 86] from Operation: 93-7=86
Current State: 38:[50, 74, 86], Operations: ['93-7=86']
Exploring Operation: 50+74=124, Resulting Numbers: [86, 124]
Generated Node #3: [86, 124] from Operation: 50+74=124
Current State: 38:[86, 124], Operations: ['93-7=86', '50+74=124']
Exploring Operation: 124-86=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[93, 7, 50, 74], Operations: []
Exploring Operation: 93-7=86, Resulting Numbers: [50, 74, 86]
Generated Node #0,0: 38:[50, 74, 86] Operation: 93-7=86
Exploring Operation: 74-50=24, Resulting Numbers: [93, 7, 24]
Generated Node #0,1: 38:[93, 7, 24] Operation: 74-50=24
Exploring Operation: 93-50=43, Resulting Numbers: [7, 74, 43]
Generated Node #0,2: 38:[7, 74, 43] Operation: 93-50=43
Exploring Operation: 50-7=43, Resulting Numbers: [93, 74, 43]
Generated Node #0,3: 38:[93, 74, 43] Operation: 50-7=43
Exploring Operation: 93-74=19, Resulting Numbers: [7, 50, 19]
Generated Node #0,4: 38:[7, 50, 19] Operation: 93-74=19
Moving to Node #0,4
Current State: 38:[7, 50, 19], Operations: ['93-74=19']
Exploring Operation: 7+50=57, Resulting Numbers: [19, 57]
Generated Node #0,4,0: 38:[19, 57] Operation: 7+50=57
Exploring Operation: 50-19=31, Resulting Numbers: [7, 31]
Generated Node #0,4,1: 38:[7, 31] Operation: 50-19=31
Exploring Operation: 19-7=12, Resulting Numbers: [50, 12]
Generated Node #0,4,2: 38:[50, 12] Operation: 19-7=12
Exploring Operation: 7+19=26, Resulting Numbers: [50, 26]
Generated Node #0,4,3: 38:[50, 26] Operation: 7+19=26
Exploring Operation: 50-7=43, Resulting Numbers: [19, 43]
Generated Node #0,4,4: 38:[19, 43] Operation: 50-7=43
Moving to Node #0,2
Current State: 38:[7, 74, 43], Operations: ['93-50=43']
Exploring Operation: 7+43=50, Resulting Numbers: [74, 50]
Generated Node #0,2,0: 38:[74, 50] Operation: 7+43=50
Exploring Operation: 43-7=36, Resulting Numbers: [74, 36]
Generated Node #0,2,1: 38:[74, 36] Operation: 43-7=36
Exploring Operation: 74-43=31, Resulting Numbers: [7, 31]
Generated Node #0,2,2: 38:[7, 31] Operation: 74-43=31
Exploring Operation: 7+74=81, Resulting Numbers: [43, 81]
Generated Node #0,2,3: 38:[43, 81] Operation: 7+74=81
Exploring Operation: 74-7=67, Resulting Numbers: [43, 67]
Generated Node #0,2,4: 38:[43, 67] Operation: 74-7=67
Moving to Node #0,1
Current State: 38:[93, 7, 24], Operations: ['74-50=24']
Exploring Operation: 24-7=17, Resulting Numbers: [93, 17]
Generated Node #0,1,0: 38:[93, 17] Operation: 24-7=17
Exploring Operation: 93-24=69, Resulting Numbers: [7, 69]
Generated Node #0,1,1: 38:[7, 69] Operation: 93-24=69
Exploring Operation: 7+24=31, Resulting Numbers: [93, 31]
Generated Node #0,1,2: 38:[93, 31] Operation: 7+24=31
Exploring Operation: 93+7=100, Resulting Numbers: [24, 100]
Generated Node #0,1,3: 38:[24, 100] Operation: 93+7=100
Exploring Operation: 93-7=86, Resulting Numbers: [24, 86]
Generated Node #0,1,4: 38:[24, 86] Operation: 93-7=86
Moving to Node #0,0
Current State: 38:[50, 74, 86], Operations: ['93-7=86']
Exploring Operation: 74-50=24, Resulting Numbers: [86, 24]
Generated Node #0,0,0: 38:[86, 24] Operation: 74-50=24
Exploring Operation: 86-74=12, Resulting Numbers: [50, 12]
Generated Node #0,0,1: 38:[50, 12] Operation: 86-74=12
Exploring Operation: 50+74=124, Resulting Numbers: [86, 124]
Generated Node #0,0,2: 38:[86, 124] Operation: 50+74=124
Exploring Operation: 50+86=136, Resulting Numbers: [74, 136]
Generated Node #0,0,3: 38:[74, 136] Operation: 50+86=136
Exploring Operation: 86-50=36, Resulting Numbers: [74, 36]
Generated Node #0,0,4: 38:[74, 36] Operation: 86-50=36
Moving to Node #0,3
Current State: 38:[93, 74, 43], Operations: ['50-7=43']
Exploring Operation: 93-43=50, Resulting Numbers: [74, 50]
Generated Node #0,3,0: 38:[74, 50] Operation: 93-43=50
Exploring Operation: 93+74=167, Resulting Numbers: [43, 167]
Generated Node #0,3,1: 38:[43, 167] Operation: 93+74=167
Exploring Operation: 93+43=136, Resulting Numbers: [74, 136]
Generated Node #0,3,2: 38:[74, 136] Operation: 93+43=136
Exploring Operation: 74-43=31, Resulting Numbers: [93, 31]
Generated Node #0,3,3: 38:[93, 31] Operation: 74-43=31
Exploring Operation: 93-74=19, Resulting Numbers: [43, 19]
Generated Node #0,3,4: 38:[43, 19] Operation: 93-74=19
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 38:[43, 19], Operations: ['50-7=43', '93-74=19']
Exploring Operation: 43*19=817, Resulting Numbers: [817]
817,38 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Exploring Operation: 43+19=62, Resulting Numbers: [62]
62,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 38:[74, 50], Operations: ['50-7=43', '93-43=50']
Exploring Operation: 74+50=124, Resulting Numbers: [124]
124,38 unequal: No Solution
Exploring Operation: 74-50=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Exploring Operation: 74*50=3700, Resulting Numbers: [3700]
3700,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 38:[93, 31], Operations: ['50-7=43', '74-43=31']
Exploring Operation: 93/31=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 93+31=124, Resulting Numbers: [124]
124,38 unequal: No Solution
Exploring Operation: 93*31=2883, Resulting Numbers: [2883]
2883,38 unequal: No Solution
Exploring Operation: 93-31=62, Resulting Numbers: [62]
62,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 38:[43, 167], Operations: ['50-7=43', '93+74=167']
Exploring Operation: 43+167=210, Resulting Numbers: [210]
210,38 unequal: No Solution
Exploring Operation: 43*167=7181, Resulting Numbers: [7181]
7181,38 unequal: No Solution
Exploring Operation: 167-43=124, Resulting Numbers: [124]
124,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 38:[74, 136], Operations: ['50-7=43', '93+43=136']
Exploring Operation: 136-74=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Exploring Operation: 74+136=210, Resulting Numbers: [210]
210,38 unequal: No Solution
Exploring Operation: 74*136=10064, Resulting Numbers: [10064]
10064,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,4
Current State: 38:[19, 43], Operations: ['93-74=19', '50-7=43']
Exploring Operation: 19+43=62, Resulting Numbers: [62]
62,38 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Exploring Operation: 19*43=817, Resulting Numbers: [817]
817,38 unequal: No Solution
Moving to Node #0,2,2
Current State: 38:[7, 31], Operations: ['93-50=43', '74-43=31']
Exploring Operation: 7*31=217, Resulting Numbers: [217]
217,38 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[93, 7, 50, 74], Operations: []
Exploring Operation: 93-50=43, Resulting Numbers: [7, 74, 43]
Generated Node #0,2: 38:[7, 74, 43] Operation: 93-50=43
Moving to Node #0,2
Current State: 38:[7, 74, 43], Operations: ['93-50=43']
Exploring Operation: 74-43=31, Resulting Numbers: [7, 31]
Generated Node #0,2,2: 38:[7, 31] Operation: 74-43=31
Moving to Node #0,2,2
Current State: 38:[7, 31], Operations: ['93-50=43', '74-43=31']
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.951389 | hs_5 | sum_heuristic |
[
72,
6,
3,
36
] | 63 | [
"72-3=69",
"36/6=6",
"69-6=63"
] | Current State: 63:[72, 6, 3, 36], Operations: []
Exploring Operation: 72-3=69, Resulting Numbers: [6, 36, 69]
Generated Node #2: [6, 36, 69] from Operation: 72-3=69
Current State: 63:[6, 36, 69], Operations: ['72-3=69']
Exploring Operation: 36/6=6, Resulting Numbers: [69, 6]
Generated Node #3: [69, 6] from Operation: 36/6=6
Current State: 63:[69, 6], Operations: ['72-3=69', '36/6=6']
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[72, 6, 3, 36], Operations: []
Exploring Operation: 36/6=6, Resulting Numbers: [72, 3, 6]
Generated Node #0,0: 63:[72, 3, 6] Operation: 36/6=6
Exploring Operation: 72-6=66, Resulting Numbers: [3, 36, 66]
Generated Node #0,1: 63:[3, 36, 66] Operation: 72-6=66
Exploring Operation: 36/3=12, Resulting Numbers: [72, 6, 12]
Generated Node #0,2: 63:[72, 6, 12] Operation: 36/3=12
Exploring Operation: 72-36=36, Resulting Numbers: [6, 3, 36]
Generated Node #0,3: 63:[6, 3, 36] Operation: 72-36=36
Exploring Operation: 72/36=2, Resulting Numbers: [6, 3, 2]
Generated Node #0,4: 63:[6, 3, 2] Operation: 72/36=2
Moving to Node #0,4
Current State: 63:[6, 3, 2], Operations: ['72/36=2']
Exploring Operation: 6+3=9, Resulting Numbers: [2, 9]
Generated Node #0,4,0: 63:[2, 9] Operation: 6+3=9
Exploring Operation: 6+2=8, Resulting Numbers: [3, 8]
Generated Node #0,4,1: 63:[3, 8] Operation: 6+2=8
Exploring Operation: 6/2=3, Resulting Numbers: [3, 3]
Generated Node #0,4,2: 63:[3, 3] Operation: 6/2=3
Exploring Operation: 6-3=3, Resulting Numbers: [2, 3]
Generated Node #0,4,3: 63:[2, 3] Operation: 6-3=3
Exploring Operation: 6-2=4, Resulting Numbers: [3, 4]
Generated Node #0,4,4: 63:[3, 4] Operation: 6-2=4
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 63:[3, 3], Operations: ['72/36=2', '6/2=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,63 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 63:[2, 9], Operations: ['72/36=2', '6+3=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 63:[3, 8], Operations: ['72/36=2', '6+2=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 63:[2, 3], Operations: ['72/36=2', '6-3=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 63:[3, 4], Operations: ['72/36=2', '6-2=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,63 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: 63:[72, 3, 6], Operations: ['36/6=6']
Exploring Operation: 72-3=69, Resulting Numbers: [6, 69]
Generated Node #0,0,0: 63:[6, 69] Operation: 72-3=69
Exploring Operation: 72-6=66, Resulting Numbers: [3, 66]
Generated Node #0,0,1: 63:[3, 66] Operation: 72-6=66
Exploring Operation: 72/3=24, Resulting Numbers: [6, 24]
Generated Node #0,0,2: 63:[6, 24] Operation: 72/3=24
Exploring Operation: 3+6=9, Resulting Numbers: [72, 9]
Generated Node #0,0,3: 63:[72, 9] Operation: 3+6=9
Exploring Operation: 72/6=12, Resulting Numbers: [3, 12]
Generated Node #0,0,4: 63:[3, 12] Operation: 72/6=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 63:[3, 66], Operations: ['36/6=6', '72-6=66']
Exploring Operation: 3*66=198, Resulting Numbers: [198]
198,63 unequal: No Solution
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[72, 6, 3, 36], Operations: []
Exploring Operation: 36/6=6, Resulting Numbers: [72, 3, 6]
Generated Node #0,0: 63:[72, 3, 6] Operation: 36/6=6
Moving to Node #0,0
Current State: 63:[72, 3, 6], Operations: ['36/6=6']
Exploring Operation: 72-6=66, Resulting Numbers: [3, 66]
Generated Node #0,0,1: 63:[3, 66] Operation: 72-6=66
Moving to Node #0,0,1
Current State: 63:[3, 66], Operations: ['36/6=6', '72-6=66']
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
18,
31,
71,
7
] | 29 | [
"18+31=49",
"71+7=78",
"78-49=29"
] | Current State: 29:[18, 31, 71, 7], Operations: []
Exploring Operation: 18+31=49, Resulting Numbers: [71, 7, 49]
Generated Node #2: [71, 7, 49] from Operation: 18+31=49
Current State: 29:[71, 7, 49], Operations: ['18+31=49']
Exploring Operation: 71+7=78, Resulting Numbers: [49, 78]
Generated Node #3: [49, 78] from Operation: 71+7=78
Current State: 29:[49, 78], Operations: ['18+31=49', '71+7=78']
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[18, 31, 71, 7], Operations: []
Exploring Operation: 71-31=40, Resulting Numbers: [18, 7, 40]
Generated Node #0,0: 29:[18, 7, 40] Operation: 71-31=40
Exploring Operation: 18+7=25, Resulting Numbers: [31, 71, 25]
Generated Node #0,1: 29:[31, 71, 25] Operation: 18+7=25
Exploring Operation: 31-7=24, Resulting Numbers: [18, 71, 24]
Generated Node #0,2: 29:[18, 71, 24] Operation: 31-7=24
Exploring Operation: 71-18=53, Resulting Numbers: [31, 7, 53]
Generated Node #0,3: 29:[31, 7, 53] Operation: 71-18=53
Exploring Operation: 71-7=64, Resulting Numbers: [18, 31, 64]
Generated Node #0,4: 29:[18, 31, 64] Operation: 71-7=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[18, 7, 40], Operations: ['71-31=40']
Exploring Operation: 18-7=11, Resulting Numbers: [40, 11]
Generated Node #0,0,0: 29:[40, 11] Operation: 18-7=11
Exploring Operation: 7+40=47, Resulting Numbers: [18, 47]
Generated Node #0,0,1: 29:[18, 47] Operation: 7+40=47
Exploring Operation: 40-7=33, Resulting Numbers: [18, 33]
Generated Node #0,0,2: 29:[18, 33] Operation: 40-7=33
Exploring Operation: 40-18=22, Resulting Numbers: [7, 22]
Generated Node #0,0,3: 29:[7, 22] Operation: 40-18=22
Exploring Operation: 18+7=25, Resulting Numbers: [40, 25]
Generated Node #0,0,4: 29:[40, 25] Operation: 18+7=25
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 29:[18, 33], Operations: ['71-31=40', '40-7=33']
Exploring Operation: 18+33=51, Resulting Numbers: [51]
51,29 unequal: No Solution
Exploring Operation: 18*33=594, Resulting Numbers: [594]
594,29 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 29:[40, 25], Operations: ['71-31=40', '18+7=25']
Exploring Operation: 40+25=65, Resulting Numbers: [65]
65,29 unequal: No Solution
Exploring Operation: 40-25=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 40*25=1000, Resulting Numbers: [1000]
1000,29 unequal: No Solution
No 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: 29:[40, 11], Operations: ['71-31=40', '18-7=11']
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[18, 31, 71, 7], Operations: []
Exploring Operation: 71-31=40, Resulting Numbers: [18, 7, 40]
Generated Node #0,0: 29:[18, 7, 40] Operation: 71-31=40
Moving to Node #0,0
Current State: 29:[18, 7, 40], Operations: ['71-31=40']
Exploring Operation: 18-7=11, Resulting Numbers: [40, 11]
Generated Node #0,0,0: 29:[40, 11] Operation: 18-7=11
Moving to Node #0,0,0
Current State: 29:[40, 11], Operations: ['71-31=40', '18-7=11']
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
19,
61,
29,
62
] | 47 | [
"19+61=80",
"62-29=33",
"80-33=47"
] | Current State: 47:[19, 61, 29, 62], Operations: []
Exploring Operation: 19+61=80, Resulting Numbers: [29, 62, 80]
Generated Node #2: [29, 62, 80] from Operation: 19+61=80
Current State: 47:[29, 62, 80], Operations: ['19+61=80']
Exploring Operation: 62-29=33, Resulting Numbers: [80, 33]
Generated Node #3: [80, 33] from Operation: 62-29=33
Current State: 47:[80, 33], Operations: ['19+61=80', '62-29=33']
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[19, 61, 29, 62], Operations: []
Exploring Operation: 61-19=42, Resulting Numbers: [29, 62, 42]
Generated Node #0,0: 47:[29, 62, 42] Operation: 61-19=42
Exploring Operation: 62-29=33, Resulting Numbers: [19, 61, 33]
Generated Node #0,1: 47:[19, 61, 33] Operation: 62-29=33
Exploring Operation: 61-29=32, Resulting Numbers: [19, 62, 32]
Generated Node #0,2: 47:[19, 62, 32] Operation: 61-29=32
Exploring Operation: 19+29=48, Resulting Numbers: [61, 62, 48]
Generated Node #0,3: 47:[61, 62, 48] Operation: 19+29=48
Exploring Operation: 62-19=43, Resulting Numbers: [61, 29, 43]
Generated Node #0,4: 47:[61, 29, 43] Operation: 62-19=43
Moving to Node #0,3
Current State: 47:[61, 62, 48], Operations: ['19+29=48']
Exploring Operation: 61+48=109, Resulting Numbers: [62, 109]
Generated Node #0,3,0: 47:[62, 109] Operation: 61+48=109
Exploring Operation: 61+62=123, Resulting Numbers: [48, 123]
Generated Node #0,3,1: 47:[48, 123] Operation: 61+62=123
Exploring Operation: 62-61=1, Resulting Numbers: [48, 1]
Generated Node #0,3,2: 47:[48, 1] Operation: 62-61=1
Exploring Operation: 62-48=14, Resulting Numbers: [61, 14]
Generated Node #0,3,3: 47:[61, 14] Operation: 62-48=14
Exploring Operation: 61-48=13, Resulting Numbers: [62, 13]
Generated Node #0,3,4: 47:[62, 13] Operation: 61-48=13
Moving to Node #0,4
Current State: 47:[61, 29, 43], Operations: ['62-19=43']
Exploring Operation: 29+43=72, Resulting Numbers: [61, 72]
Generated Node #0,4,0: 47:[61, 72] Operation: 29+43=72
Exploring Operation: 43-29=14, Resulting Numbers: [61, 14]
Generated Node #0,4,1: 47:[61, 14] Operation: 43-29=14
Exploring Operation: 61+29=90, Resulting Numbers: [43, 90]
Generated Node #0,4,2: 47:[43, 90] Operation: 61+29=90
Exploring Operation: 61-29=32, Resulting Numbers: [43, 32]
Generated Node #0,4,3: 47:[43, 32] Operation: 61-29=32
Exploring Operation: 61-43=18, Resulting Numbers: [29, 18]
Generated Node #0,4,4: 47:[29, 18] Operation: 61-43=18
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 47:[43, 32], Operations: ['62-19=43', '61-29=32']
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 43+32=75, Resulting Numbers: [75]
75,47 unequal: No Solution
Exploring Operation: 43*32=1376, Resulting Numbers: [1376]
1376,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 47:[61, 72], Operations: ['62-19=43', '29+43=72']
Exploring Operation: 72-61=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 61+72=133, Resulting Numbers: [133]
133,47 unequal: No Solution
Exploring Operation: 61*72=4392, Resulting Numbers: [4392]
4392,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 47:[61, 14], Operations: ['62-19=43', '43-29=14']
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[19, 61, 29, 62], Operations: []
Exploring Operation: 62-19=43, Resulting Numbers: [61, 29, 43]
Generated Node #0,4: 47:[61, 29, 43] Operation: 62-19=43
Moving to Node #0,4
Current State: 47:[61, 29, 43], Operations: ['62-19=43']
Exploring Operation: 43-29=14, Resulting Numbers: [61, 14]
Generated Node #0,4,1: 47:[61, 14] Operation: 43-29=14
Moving to Node #0,4,1
Current State: 47:[61, 14], Operations: ['62-19=43', '43-29=14']
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | mult_heuristic |
[
35,
51,
22,
32
] | 15 | [
"35-32=3",
"22*3=66",
"66-51=15"
] | Current State: 15:[35, 51, 22, 32], Operations: []
Exploring Operation: 35-32=3, Resulting Numbers: [51, 22, 3]
Generated Node #2: [51, 22, 3] from Operation: 35-32=3
Current State: 15:[51, 22, 3], Operations: ['35-32=3']
Exploring Operation: 22*3=66, Resulting Numbers: [51, 66]
Generated Node #3: [51, 66] from Operation: 22*3=66
Current State: 15:[51, 66], Operations: ['35-32=3', '22*3=66']
Exploring Operation: 66-51=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[35, 51, 22, 32], Operations: []
Exploring Operation: 51-35=16, Resulting Numbers: [22, 32, 16]
Generated Node #0,0: 15:[22, 32, 16] Operation: 51-35=16
Exploring Operation: 51-32=19, Resulting Numbers: [35, 22, 19]
Generated Node #0,1: 15:[35, 22, 19] Operation: 51-32=19
Exploring Operation: 35-32=3, Resulting Numbers: [51, 22, 3]
Generated Node #0,2: 15:[51, 22, 3] Operation: 35-32=3
Moving to Node #0,0
Current State: 15:[22, 32, 16], Operations: ['51-35=16']
Exploring Operation: 32-22=10, Resulting Numbers: [16, 10]
Generated Node #0,0,0: 15:[16, 10] Operation: 32-22=10
Exploring Operation: 32-16=16, Resulting Numbers: [22, 16]
Generated Node #0,0,1: 15:[22, 16] Operation: 32-16=16
Exploring Operation: 32/16=2, Resulting Numbers: [22, 2]
Generated Node #0,0,2: 15:[22, 2] Operation: 32/16=2
Moving to Node #0,1
Current State: 15:[35, 22, 19], Operations: ['51-32=19']
Exploring Operation: 35-22=13, Resulting Numbers: [19, 13]
Generated Node #0,1,0: 15:[19, 13] Operation: 35-22=13
Exploring Operation: 35-19=16, Resulting Numbers: [22, 16]
Generated Node #0,1,1: 15:[22, 16] Operation: 35-19=16
Exploring Operation: 22-19=3, Resulting Numbers: [35, 3]
Generated Node #0,1,2: 15:[35, 3] Operation: 22-19=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 15:[19, 13], Operations: ['51-32=19', '35-22=13']
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 19*13=247, Resulting Numbers: [247]
247,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 15:[22, 16], Operations: ['51-32=19', '35-19=16']
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,15 unequal: No Solution
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,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,2
Current State: 15:[35, 3], Operations: ['51-32=19', '22-19=3']
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,15 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,15 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: 15:[51, 22, 3], Operations: ['35-32=3']
Exploring Operation: 51-3=48, Resulting Numbers: [22, 48]
Generated Node #0,2,0: 15:[22, 48] Operation: 51-3=48
Exploring Operation: 51/3=17, Resulting Numbers: [22, 17]
Generated Node #0,2,1: 15:[22, 17] Operation: 51/3=17
Exploring Operation: 51-22=29, Resulting Numbers: [3, 29]
Generated Node #0,2,2: 15:[3, 29] Operation: 51-22=29
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 15:[22, 17], Operations: ['35-32=3', '51/3=17']
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,15 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 15:[3, 29], Operations: ['35-32=3', '51-22=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,15 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 15:[22, 48], Operations: ['35-32=3', '51-3=48']
Exploring Operation: 22+48=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 22*48=1056, Resulting Numbers: [1056]
1056,15 unequal: No Solution
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,15 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: 15:[16, 10], Operations: ['51-35=16', '32-22=10']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,15 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[22, 16], Operations: ['51-35=16', '32-16=16']
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,15 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[22, 2], Operations: ['51-35=16', '32/16=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,15 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
76,
48,
46,
33
] | 51 | [
"76-48=28",
"46+33=79",
"79-28=51"
] | Current State: 51:[76, 48, 46, 33], Operations: []
Exploring Operation: 76-48=28, Resulting Numbers: [46, 33, 28]
Generated Node #2: [46, 33, 28] from Operation: 76-48=28
Current State: 51:[46, 33, 28], Operations: ['76-48=28']
Exploring Operation: 46+33=79, Resulting Numbers: [28, 79]
Generated Node #3: [28, 79] from Operation: 46+33=79
Current State: 51:[28, 79], Operations: ['76-48=28', '46+33=79']
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[76, 48, 46, 33], Operations: []
Exploring Operation: 76-46=30, Resulting Numbers: [48, 33, 30]
Generated Node #0,0: 51:[48, 33, 30] Operation: 76-46=30
Exploring Operation: 46-33=13, Resulting Numbers: [76, 48, 13]
Generated Node #0,1: 51:[76, 48, 13] Operation: 46-33=13
Exploring Operation: 48-33=15, Resulting Numbers: [76, 46, 15]
Generated Node #0,2: 51:[76, 46, 15] Operation: 48-33=15
Exploring Operation: 76-48=28, Resulting Numbers: [46, 33, 28]
Generated Node #0,3: 51:[46, 33, 28] Operation: 76-48=28
Exploring Operation: 76-33=43, Resulting Numbers: [48, 46, 43]
Generated Node #0,4: 51:[48, 46, 43] Operation: 76-33=43
Moving to Node #0,4
Current State: 51:[48, 46, 43], Operations: ['76-33=43']
Exploring Operation: 46+43=89, Resulting Numbers: [48, 89]
Generated Node #0,4,0: 51:[48, 89] Operation: 46+43=89
Exploring Operation: 48-46=2, Resulting Numbers: [43, 2]
Generated Node #0,4,1: 51:[43, 2] Operation: 48-46=2
Exploring Operation: 46-43=3, Resulting Numbers: [48, 3]
Generated Node #0,4,2: 51:[48, 3] Operation: 46-43=3
Exploring Operation: 48-43=5, Resulting Numbers: [46, 5]
Generated Node #0,4,3: 51:[46, 5] Operation: 48-43=5
Exploring Operation: 48+43=91, Resulting Numbers: [46, 91]
Generated Node #0,4,4: 51:[46, 91] Operation: 48+43=91
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 51:[48, 3], Operations: ['76-33=43', '46-43=3']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 48*3=144, Resulting Numbers: [144]
144,51 unequal: No Solution
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[76, 48, 46, 33], Operations: []
Exploring Operation: 76-33=43, Resulting Numbers: [48, 46, 43]
Generated Node #0,4: 51:[48, 46, 43] Operation: 76-33=43
Moving to Node #0,4
Current State: 51:[48, 46, 43], Operations: ['76-33=43']
Exploring Operation: 46-43=3, Resulting Numbers: [48, 3]
Generated Node #0,4,2: 51:[48, 3] Operation: 46-43=3
Moving to Node #0,4,2
Current State: 51:[48, 3], Operations: ['76-33=43', '46-43=3']
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
90,
68,
88,
41
] | 14 | [
"90-88=2",
"41*2=82",
"82-68=14"
] | Current State: 14:[90, 68, 88, 41], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [68, 41, 2]
Generated Node #2: [68, 41, 2] from Operation: 90-88=2
Current State: 14:[68, 41, 2], Operations: ['90-88=2']
Exploring Operation: 41*2=82, Resulting Numbers: [68, 82]
Generated Node #3: [68, 82] from Operation: 41*2=82
Current State: 14:[68, 82], Operations: ['90-88=2', '41*2=82']
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[90, 68, 88, 41], Operations: []
Exploring Operation: 68-41=27, Resulting Numbers: [90, 88, 27]
Generated Node #0,0: 14:[90, 88, 27] Operation: 68-41=27
Exploring Operation: 90-88=2, Resulting Numbers: [68, 41, 2]
Generated Node #0,1: 14:[68, 41, 2] Operation: 90-88=2
Exploring Operation: 88-68=20, Resulting Numbers: [90, 41, 20]
Generated Node #0,2: 14:[90, 41, 20] Operation: 88-68=20
Exploring Operation: 90-68=22, Resulting Numbers: [88, 41, 22]
Generated Node #0,3: 14:[88, 41, 22] Operation: 90-68=22
Exploring Operation: 90-41=49, Resulting Numbers: [68, 88, 49]
Generated Node #0,4: 14:[68, 88, 49] Operation: 90-41=49
Moving to Node #0,1
Current State: 14:[68, 41, 2], Operations: ['90-88=2']
Exploring Operation: 68/2=34, Resulting Numbers: [41, 34]
Generated Node #0,1,0: 14:[41, 34] Operation: 68/2=34
Exploring Operation: 68+2=70, Resulting Numbers: [41, 70]
Generated Node #0,1,1: 14:[41, 70] Operation: 68+2=70
Exploring Operation: 68-2=66, Resulting Numbers: [41, 66]
Generated Node #0,1,2: 14:[41, 66] Operation: 68-2=66
Exploring Operation: 41-2=39, Resulting Numbers: [68, 39]
Generated Node #0,1,3: 14:[68, 39] Operation: 41-2=39
Exploring Operation: 68-41=27, Resulting Numbers: [2, 27]
Generated Node #0,1,4: 14:[2, 27] Operation: 68-41=27
Moving to Node #0,3
Current State: 14:[88, 41, 22], Operations: ['90-68=22']
Exploring Operation: 88-22=66, Resulting Numbers: [41, 66]
Generated Node #0,3,0: 14:[41, 66] Operation: 88-22=66
Exploring Operation: 88+41=129, Resulting Numbers: [22, 129]
Generated Node #0,3,1: 14:[22, 129] Operation: 88+41=129
Exploring Operation: 41-22=19, Resulting Numbers: [88, 19]
Generated Node #0,3,2: 14:[88, 19] Operation: 41-22=19
Exploring Operation: 88/22=4, Resulting Numbers: [41, 4]
Generated Node #0,3,3: 14:[41, 4] Operation: 88/22=4
Exploring Operation: 88-41=47, Resulting Numbers: [22, 47]
Generated Node #0,3,4: 14:[22, 47] Operation: 88-41=47
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 14:[41, 4], Operations: ['90-68=22', '88/22=4']
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,14 unequal: No Solution
Exploring Operation: 41*4=164, Resulting Numbers: [164]
164,14 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 14:[22, 47], Operations: ['90-68=22', '88-41=47']
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 22+47=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 22*47=1034, Resulting Numbers: [1034]
1034,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 14:[41, 66], Operations: ['90-68=22', '88-22=66']
Exploring Operation: 66-41=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 41*66=2706, Resulting Numbers: [2706]
2706,14 unequal: No Solution
Exploring Operation: 41+66=107, Resulting Numbers: [107]
107,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 14:[88, 19], Operations: ['90-68=22', '41-22=19']
Exploring Operation: 88-19=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 88*19=1672, Resulting Numbers: [1672]
1672,14 unequal: No Solution
Exploring Operation: 88+19=107, Resulting Numbers: [107]
107,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 14:[22, 129], Operations: ['90-68=22', '88+41=129']
Exploring Operation: 129-22=107, Resulting Numbers: [107]
107,14 unequal: No Solution
Exploring Operation: 22+129=151, Resulting Numbers: [151]
151,14 unequal: No Solution
Exploring Operation: 22*129=2838, Resulting Numbers: [2838]
2838,14 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: 14:[90, 41, 20], Operations: ['88-68=20']
Exploring Operation: 90+20=110, Resulting Numbers: [41, 110]
Generated Node #0,2,0: 14:[41, 110] Operation: 90+20=110
Exploring Operation: 90-41=49, Resulting Numbers: [20, 49]
Generated Node #0,2,1: 14:[20, 49] Operation: 90-41=49
Exploring Operation: 90-20=70, Resulting Numbers: [41, 70]
Generated Node #0,2,2: 14:[41, 70] Operation: 90-20=70
Exploring Operation: 90+41=131, Resulting Numbers: [20, 131]
Generated Node #0,2,3: 14:[20, 131] Operation: 90+41=131
Exploring Operation: 41-20=21, Resulting Numbers: [90, 21]
Generated Node #0,2,4: 14:[90, 21] Operation: 41-20=21
Moving to Node #0,0
Current State: 14:[90, 88, 27], Operations: ['68-41=27']
Exploring Operation: 88-27=61, Resulting Numbers: [90, 61]
Generated Node #0,0,0: 14:[90, 61] Operation: 88-27=61
Exploring Operation: 90+88=178, Resulting Numbers: [27, 178]
Generated Node #0,0,1: 14:[27, 178] Operation: 90+88=178
Exploring Operation: 90+27=117, Resulting Numbers: [88, 117]
Generated Node #0,0,2: 14:[88, 117] Operation: 90+27=117
Exploring Operation: 90-27=63, Resulting Numbers: [88, 63]
Generated Node #0,0,3: 14:[88, 63] Operation: 90-27=63
Exploring Operation: 90-88=2, Resulting Numbers: [27, 2]
Generated Node #0,0,4: 14:[27, 2] Operation: 90-88=2
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 14:[27, 2], Operations: ['68-41=27', '90-88=2']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[90, 61], Operations: ['68-41=27', '88-27=61']
Exploring Operation: 90-61=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 90*61=5490, Resulting Numbers: [5490]
5490,14 unequal: No Solution
Exploring Operation: 90+61=151, Resulting Numbers: [151]
151,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 14:[88, 63], Operations: ['68-41=27', '90-27=63']
Exploring Operation: 88*63=5544, Resulting Numbers: [5544]
5544,14 unequal: No Solution
Exploring Operation: 88+63=151, Resulting Numbers: [151]
151,14 unequal: No Solution
Exploring Operation: 88-63=25, Resulting Numbers: [25]
25,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[27, 178], Operations: ['68-41=27', '90+88=178']
Exploring Operation: 27+178=205, Resulting Numbers: [205]
205,14 unequal: No Solution
Exploring Operation: 27*178=4806, Resulting Numbers: [4806]
4806,14 unequal: No Solution
Exploring Operation: 178-27=151, Resulting Numbers: [151]
151,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 14:[88, 117], Operations: ['68-41=27', '90+27=117']
Exploring Operation: 117-88=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 88*117=10296, Resulting Numbers: [10296]
10296,14 unequal: No Solution
Exploring Operation: 88+117=205, Resulting Numbers: [205]
205,14 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: 14:[68, 88, 49], Operations: ['90-41=49']
Exploring Operation: 88-49=39, Resulting Numbers: [68, 39]
Generated Node #0,4,0: 14:[68, 39] Operation: 88-49=39
Exploring Operation: 68+88=156, Resulting Numbers: [49, 156]
Generated Node #0,4,1: 14:[49, 156] Operation: 68+88=156
Exploring Operation: 68-49=19, Resulting Numbers: [88, 19]
Generated Node #0,4,2: 14:[88, 19] Operation: 68-49=19
Exploring Operation: 88-68=20, Resulting Numbers: [49, 20]
Generated Node #0,4,3: 14:[49, 20] Operation: 88-68=20
Exploring Operation: 68+49=117, Resulting Numbers: [88, 117]
Generated Node #0,4,4: 14:[88, 117] Operation: 68+49=117
Moving to Node #0,1,4
Current State: 14:[2, 27], Operations: ['90-88=2', '68-41=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[20, 49], Operations: ['88-68=20', '90-41=49']
Exploring Operation: 20*49=980, Resulting Numbers: [980]
980,14 unequal: No Solution
Exploring Operation: 20+49=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Moving to Node #0,4,3
Current State: 14:[49, 20], Operations: ['90-41=49', '88-68=20']
Exploring Operation: 49*20=980, Resulting Numbers: [980]
980,14 unequal: No Solution
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 49+20=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[41, 34], Operations: ['90-88=2', '68/2=34']
Exploring Operation: 41*34=1394, Resulting Numbers: [1394]
1394,14 unequal: No Solution
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 41+34=75, Resulting Numbers: [75]
75,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[41, 66], Operations: ['90-88=2', '68-2=66']
Exploring Operation: 66-41=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 41+66=107, Resulting Numbers: [107]
107,14 unequal: No Solution
Exploring Operation: 41*66=2706, Resulting Numbers: [2706]
2706,14 unequal: No Solution
Moving to Node #0,4,2
Current State: 14:[88, 19], Operations: ['90-41=49', '68-49=19']
Exploring Operation: 88+19=107, Resulting Numbers: [107]
107,14 unequal: No Solution
Exploring Operation: 88*19=1672, Resulting Numbers: [1672]
1672,14 unequal: No Solution
Exploring Operation: 88-19=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Moving to Node #0,4,0
Current State: 14:[68, 39], Operations: ['90-41=49', '88-49=39']
Exploring Operation: 68+39=107, Resulting Numbers: [107]
107,14 unequal: No Solution
Exploring Operation: 68*39=2652, Resulting Numbers: [2652]
2652,14 unequal: No Solution
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Moving to Node #0,1,3
Current State: 14:[68, 39], Operations: ['90-88=2', '41-2=39']
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 68+39=107, Resulting Numbers: [107]
107,14 unequal: No Solution
Exploring Operation: 68*39=2652, Resulting Numbers: [2652]
2652,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[41, 70], Operations: ['88-68=20', '90-20=70']
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 41*70=2870, Resulting Numbers: [2870]
2870,14 unequal: No Solution
Exploring Operation: 41+70=111, Resulting Numbers: [111]
111,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[41, 70], Operations: ['90-88=2', '68+2=70']
Exploring Operation: 41*70=2870, Resulting Numbers: [2870]
2870,14 unequal: No Solution
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 41+70=111, Resulting Numbers: [111]
111,14 unequal: No Solution
Moving to Node #0,2,4
Current State: 14:[90, 21], Operations: ['88-68=20', '41-20=21']
Exploring Operation: 90*21=1890, Resulting Numbers: [1890]
1890,14 unequal: No Solution
Exploring Operation: 90-21=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 90+21=111, Resulting Numbers: [111]
111,14 unequal: No Solution
Moving to Node #0,2,3
Current State: 14:[20, 131], Operations: ['88-68=20', '90+41=131']
Exploring Operation: 131-20=111, Resulting Numbers: [111]
111,14 unequal: No Solution
Exploring Operation: 20*131=2620, Resulting Numbers: [2620]
2620,14 unequal: No Solution
Exploring Operation: 20+131=151, Resulting Numbers: [151]
151,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[41, 110], Operations: ['88-68=20', '90+20=110']
Exploring Operation: 110-41=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 41+110=151, Resulting Numbers: [151]
151,14 unequal: No Solution
Exploring Operation: 41*110=4510, Resulting Numbers: [4510]
4510,14 unequal: No Solution
Moving to Node #0,4,4
Current State: 14:[88, 117], Operations: ['90-41=49', '68+49=117']
Exploring Operation: 88*117=10296, Resulting Numbers: [10296]
10296,14 unequal: No Solution
Exploring Operation: 117-88=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 88+117=205, Resulting Numbers: [205]
205,14 unequal: No Solution
Moving to Node #0,4,1
Current State: 14:[49, 156], Operations: ['90-41=49', '68+88=156']
Exploring Operation: 156-49=107, Resulting Numbers: [107]
107,14 unequal: No Solution
Exploring Operation: 49+156=205, Resulting Numbers: [205]
205,14 unequal: No Solution
Exploring Operation: 49*156=7644, Resulting Numbers: [7644]
7644,14 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
82,
12,
48,
2
] | 53 | [
"82+48=130",
"130/2=65",
"65-12=53"
] | Current State: 53:[82, 12, 48, 2], Operations: []
Exploring Operation: 82+48=130, Resulting Numbers: [12, 2, 130]
Generated Node #2: [12, 2, 130] from Operation: 82+48=130
Current State: 53:[12, 2, 130], Operations: ['82+48=130']
Exploring Operation: 130/2=65, Resulting Numbers: [12, 65]
Generated Node #3: [12, 65] from Operation: 130/2=65
Current State: 53:[12, 65], Operations: ['82+48=130', '130/2=65']
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[82, 12, 48, 2], Operations: []
Exploring Operation: 82/2=41, Resulting Numbers: [12, 48, 41]
Generated Node #0,0: 53:[12, 48, 41] Operation: 82/2=41
Moving to Node #0,0
Current State: 53:[12, 48, 41], Operations: ['82/2=41']
Exploring Operation: 12+41=53, Resulting Numbers: [48, 53]
Generated Node #0,0,0: 53:[48, 53] Operation: 12+41=53
Moving to Node #0,0,0
Current State: 53:[48, 53], Operations: ['82/2=41', '12+41=53']
Exploring Operation: 48+53=101, Resulting Numbers: [101]
101,53 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
20,
98,
11,
75
] | 33 | [
"98-20=78",
"78-75=3",
"11*3=33"
] | Current State: 33:[20, 98, 11, 75], Operations: []
Exploring Operation: 98-20=78, Resulting Numbers: [11, 75, 78]
Generated Node #2: [11, 75, 78] from Operation: 98-20=78
Current State: 33:[11, 75, 78], Operations: ['98-20=78']
Exploring Operation: 78-75=3, Resulting Numbers: [11, 3]
Generated Node #3: [11, 3] from Operation: 78-75=3
Current State: 33:[11, 3], Operations: ['98-20=78', '78-75=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[20, 98, 11, 75], Operations: []
Exploring Operation: 98-75=23, Resulting Numbers: [20, 11, 23]
Generated Node #0,0: 33:[20, 11, 23] Operation: 98-75=23
Exploring Operation: 98-20=78, Resulting Numbers: [11, 75, 78]
Generated Node #0,1: 33:[11, 75, 78] Operation: 98-20=78
Exploring Operation: 75-20=55, Resulting Numbers: [98, 11, 55]
Generated Node #0,2: 33:[98, 11, 55] Operation: 75-20=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[20, 11, 23], Operations: ['98-75=23']
Exploring Operation: 23-20=3, Resulting Numbers: [11, 3]
Generated Node #0,0,0: 33:[11, 3] Operation: 23-20=3
Exploring Operation: 20+23=43, Resulting Numbers: [11, 43]
Generated Node #0,0,1: 33:[11, 43] Operation: 20+23=43
Exploring Operation: 11+23=34, Resulting Numbers: [20, 34]
Generated Node #0,0,2: 33:[20, 34] Operation: 11+23=34
Moving to Node #0,0,0
Current State: 33:[11, 3], Operations: ['98-75=23', '23-20=3']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[20, 98, 11, 75], Operations: []
Exploring Operation: 98-75=23, Resulting Numbers: [20, 11, 23]
Generated Node #0,0: 33:[20, 11, 23] Operation: 98-75=23
Moving to Node #0,0
Current State: 33:[20, 11, 23], Operations: ['98-75=23']
Exploring Operation: 23-20=3, Resulting Numbers: [11, 3]
Generated Node #0,0,0: 33:[11, 3] Operation: 23-20=3
Moving to Node #0,0,0
Current State: 33:[11, 3], Operations: ['98-75=23', '23-20=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
92,
52,
49,
43
] | 52 | [
"92+52=144",
"49+43=92",
"144-92=52"
] | Current State: 52:[92, 52, 49, 43], Operations: []
Exploring Operation: 92+52=144, Resulting Numbers: [49, 43, 144]
Generated Node #2: [49, 43, 144] from Operation: 92+52=144
Current State: 52:[49, 43, 144], Operations: ['92+52=144']
Exploring Operation: 49+43=92, Resulting Numbers: [144, 92]
Generated Node #3: [144, 92] from Operation: 49+43=92
Current State: 52:[144, 92], Operations: ['92+52=144', '49+43=92']
Exploring Operation: 144-92=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[92, 52, 49, 43], Operations: []
Exploring Operation: 52-43=9, Resulting Numbers: [92, 49, 9]
Generated Node #0,0: 52:[92, 49, 9] Operation: 52-43=9
Exploring Operation: 92-43=49, Resulting Numbers: [52, 49, 49]
Generated Node #0,1: 52:[52, 49, 49] Operation: 92-43=49
Exploring Operation: 92-49=43, Resulting Numbers: [52, 43, 43]
Generated Node #0,2: 52:[52, 43, 43] Operation: 92-49=43
Exploring Operation: 92-52=40, Resulting Numbers: [49, 43, 40]
Generated Node #0,3: 52:[49, 43, 40] Operation: 92-52=40
Exploring Operation: 49-43=6, Resulting Numbers: [92, 52, 6]
Generated Node #0,4: 52:[92, 52, 6] Operation: 49-43=6
Moving to Node #0,1
Current State: 52:[52, 49, 49], Operations: ['92-43=49']
Exploring Operation: 52-49=3, Resulting Numbers: [49, 3]
Generated Node #0,1,0: 52:[49, 3] Operation: 52-49=3
Exploring Operation: 49/49=1, Resulting Numbers: [52, 1]
Generated Node #0,1,1: 52:[52, 1] Operation: 49/49=1
Exploring Operation: 49-49=0, Resulting Numbers: [52, 0]
Generated Node #0,1,2: 52:[52, 0] Operation: 49-49=0
Exploring Operation: 49+49=98, Resulting Numbers: [52, 98]
Generated Node #0,1,3: 52:[52, 98] Operation: 49+49=98
Exploring Operation: 52-49=3, Resulting Numbers: [49, 3]
Generated Node #0,1,4: 52:[49, 3] Operation: 52-49=3
Moving to Node #0,2
Current State: 52:[52, 43, 43], Operations: ['92-49=43']
Exploring Operation: 43/43=1, Resulting Numbers: [52, 1]
Generated Node #0,2,0: 52:[52, 1] Operation: 43/43=1
Exploring Operation: 43-43=0, Resulting Numbers: [52, 0]
Generated Node #0,2,1: 52:[52, 0] Operation: 43-43=0
Exploring Operation: 52-43=9, Resulting Numbers: [43, 9]
Generated Node #0,2,2: 52:[43, 9] Operation: 52-43=9
Exploring Operation: 43+43=86, Resulting Numbers: [52, 86]
Generated Node #0,2,3: 52:[52, 86] Operation: 43+43=86
Exploring Operation: 52-43=9, Resulting Numbers: [43, 9]
Generated Node #0,2,4: 52:[43, 9] Operation: 52-43=9
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[52, 1], Operations: ['92-49=43', '43/43=1']
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[92, 52, 49, 43], Operations: []
Exploring Operation: 92-49=43, Resulting Numbers: [52, 43, 43]
Generated Node #0,2: 52:[52, 43, 43] Operation: 92-49=43
Moving to Node #0,2
Current State: 52:[52, 43, 43], Operations: ['92-49=43']
Exploring Operation: 43/43=1, Resulting Numbers: [52, 1]
Generated Node #0,2,0: 52:[52, 1] Operation: 43/43=1
Moving to Node #0,2,0
Current State: 52:[52, 1], Operations: ['92-49=43', '43/43=1']
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
58,
29,
15,
56
] | 39 | [
"58/29=2",
"56-15=41",
"41-2=39"
] | Current State: 39:[58, 29, 15, 56], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [15, 56, 2]
Generated Node #2: [15, 56, 2] from Operation: 58/29=2
Current State: 39:[15, 56, 2], Operations: ['58/29=2']
Exploring Operation: 56-15=41, Resulting Numbers: [2, 41]
Generated Node #3: [2, 41] from Operation: 56-15=41
Current State: 39:[2, 41], Operations: ['58/29=2', '56-15=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[58, 29, 15, 56], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [15, 56, 2]
Generated Node #0,0: 39:[15, 56, 2] Operation: 58/29=2
Exploring Operation: 58-56=2, Resulting Numbers: [29, 15, 2]
Generated Node #0,1: 39:[29, 15, 2] Operation: 58-56=2
Exploring Operation: 58-29=29, Resulting Numbers: [15, 56, 29]
Generated Node #0,2: 39:[15, 56, 29] Operation: 58-29=29
Exploring Operation: 58-15=43, Resulting Numbers: [29, 56, 43]
Generated Node #0,3: 39:[29, 56, 43] Operation: 58-15=43
Moving to Node #0,1
Current State: 39:[29, 15, 2], Operations: ['58-56=2']
Exploring Operation: 29+15=44, Resulting Numbers: [2, 44]
Generated Node #0,1,0: 39:[2, 44] Operation: 29+15=44
Exploring Operation: 29+2=31, Resulting Numbers: [15, 31]
Generated Node #0,1,1: 39:[15, 31] Operation: 29+2=31
Exploring Operation: 15-2=13, Resulting Numbers: [29, 13]
Generated Node #0,1,2: 39:[29, 13] Operation: 15-2=13
Exploring Operation: 29-15=14, Resulting Numbers: [2, 14]
Generated Node #0,1,3: 39:[2, 14] Operation: 29-15=14
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 39:[2, 14], Operations: ['58-56=2', '29-15=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,39 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[2, 44], Operations: ['58-56=2', '29+15=44']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,39 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,39 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[15, 31], Operations: ['58-56=2', '29+2=31']
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,39 unequal: No Solution
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,39 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[29, 13], Operations: ['58-56=2', '15-2=13']
Exploring Operation: 29*13=377, Resulting Numbers: [377]
377,39 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,39 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: 39:[15, 56, 2], Operations: ['58/29=2']
Exploring Operation: 15-2=13, Resulting Numbers: [56, 13]
Generated Node #0,0,0: 39:[56, 13] Operation: 15-2=13
Exploring Operation: 56-2=54, Resulting Numbers: [15, 54]
Generated Node #0,0,1: 39:[15, 54] Operation: 56-2=54
Exploring Operation: 56-15=41, Resulting Numbers: [2, 41]
Generated Node #0,0,2: 39:[2, 41] Operation: 56-15=41
Exploring Operation: 56/2=28, Resulting Numbers: [15, 28]
Generated Node #0,0,3: 39:[15, 28] Operation: 56/2=28
Moving to Node #0,2
Current State: 39:[15, 56, 29], Operations: ['58-29=29']
Exploring Operation: 56-15=41, Resulting Numbers: [29, 41]
Generated Node #0,2,0: 39:[29, 41] Operation: 56-15=41
Exploring Operation: 29-15=14, Resulting Numbers: [56, 14]
Generated Node #0,2,1: 39:[56, 14] Operation: 29-15=14
Exploring Operation: 15+29=44, Resulting Numbers: [56, 44]
Generated Node #0,2,2: 39:[56, 44] Operation: 15+29=44
Exploring Operation: 56-29=27, Resulting Numbers: [15, 27]
Generated Node #0,2,3: 39:[15, 27] Operation: 56-29=27
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 39:[29, 41], Operations: ['58-29=29', '56-15=41']
Exploring Operation: 29+41=70, Resulting Numbers: [70]
70,39 unequal: No Solution
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 29*41=1189, Resulting Numbers: [1189]
1189,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 39:[15, 27], Operations: ['58-29=29', '56-29=27']
Exploring Operation: 15*27=405, Resulting Numbers: [405]
405,39 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 39:[56, 14], Operations: ['58-29=29', '29-15=14']
Exploring Operation: 56/14=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 56*14=784, Resulting Numbers: [784]
784,39 unequal: No Solution
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 56+14=70, Resulting Numbers: [70]
70,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 39:[56, 44], Operations: ['58-29=29', '15+29=44']
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,39 unequal: No Solution
Exploring Operation: 56*44=2464, Resulting Numbers: [2464]
2464,39 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: 39:[29, 56, 43], Operations: ['58-15=43']
Exploring Operation: 29+56=85, Resulting Numbers: [43, 85]
Generated Node #0,3,0: 39:[43, 85] Operation: 29+56=85
Exploring Operation: 56-29=27, Resulting Numbers: [43, 27]
Generated Node #0,3,1: 39:[43, 27] Operation: 56-29=27
Exploring Operation: 56-43=13, Resulting Numbers: [29, 13]
Generated Node #0,3,2: 39:[29, 13] Operation: 56-43=13
Exploring Operation: 43-29=14, Resulting Numbers: [56, 14]
Generated Node #0,3,3: 39:[56, 14] Operation: 43-29=14
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 39:[29, 13], Operations: ['58-15=43', '56-43=13']
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 29*13=377, Resulting Numbers: [377]
377,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 39:[43, 27], Operations: ['58-15=43', '56-29=27']
Exploring Operation: 43*27=1161, Resulting Numbers: [1161]
1161,39 unequal: No Solution
Exploring Operation: 43+27=70, Resulting Numbers: [70]
70,39 unequal: No Solution
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 39:[56, 14], Operations: ['58-15=43', '43-29=14']
Exploring Operation: 56/14=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 56*14=784, Resulting Numbers: [784]
784,39 unequal: No Solution
Exploring Operation: 56+14=70, Resulting Numbers: [70]
70,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 39:[43, 85], Operations: ['58-15=43', '29+56=85']
Exploring Operation: 43*85=3655, Resulting Numbers: [3655]
3655,39 unequal: No Solution
Exploring Operation: 43+85=128, Resulting Numbers: [128]
128,39 unequal: No Solution
Exploring Operation: 85-43=42, Resulting Numbers: [42]
42,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 39:[2, 41], Operations: ['58/29=2', '56-15=41']
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[58, 29, 15, 56], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [15, 56, 2]
Generated Node #0,0: 39:[15, 56, 2] Operation: 58/29=2
Moving to Node #0,0
Current State: 39:[15, 56, 2], Operations: ['58/29=2']
Exploring Operation: 56-15=41, Resulting Numbers: [2, 41]
Generated Node #0,0,2: 39:[2, 41] Operation: 56-15=41
Moving to Node #0,0,2
Current State: 39:[2, 41], Operations: ['58/29=2', '56-15=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.942708 | hs_4 | mult_heuristic |
[
65,
35,
86,
20
] | 76 | [
"65-35=30",
"86+20=106",
"106-30=76"
] | Current State: 76:[65, 35, 86, 20], Operations: []
Exploring Operation: 65-35=30, Resulting Numbers: [86, 20, 30]
Generated Node #2: [86, 20, 30] from Operation: 65-35=30
Current State: 76:[86, 20, 30], Operations: ['65-35=30']
Exploring Operation: 86+20=106, Resulting Numbers: [30, 106]
Generated Node #3: [30, 106] from Operation: 86+20=106
Current State: 76:[30, 106], Operations: ['65-35=30', '86+20=106']
Exploring Operation: 106-30=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[65, 35, 86, 20], Operations: []
Exploring Operation: 86-65=21, Resulting Numbers: [35, 20, 21]
Generated Node #0,0: 76:[35, 20, 21] Operation: 86-65=21
Exploring Operation: 65-35=30, Resulting Numbers: [86, 20, 30]
Generated Node #0,1: 76:[86, 20, 30] Operation: 65-35=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[35, 20, 21], Operations: ['86-65=21']
Exploring Operation: 35-20=15, Resulting Numbers: [21, 15]
Generated Node #0,0,0: 76:[21, 15] Operation: 35-20=15
Exploring Operation: 21-20=1, Resulting Numbers: [35, 1]
Generated Node #0,0,1: 76:[35, 1] Operation: 21-20=1
Moving to Node #0,0,1
Current State: 76:[35, 1], Operations: ['86-65=21', '21-20=1']
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,76 unequal: No Solution
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[21, 15], Operations: ['86-65=21', '35-20=15']
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[86, 20, 30], Operations: ['65-35=30']
Exploring Operation: 30-20=10, Resulting Numbers: [86, 10]
Generated Node #0,1,0: 76:[86, 10] Operation: 30-20=10
Exploring Operation: 86-20=66, Resulting Numbers: [30, 66]
Generated Node #0,1,1: 76:[30, 66] Operation: 86-20=66
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[86, 10], Operations: ['65-35=30', '30-20=10']
Exploring Operation: 86+10=96, Resulting Numbers: [96]
96,76 unequal: No Solution
Exploring Operation: 86-10=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[65, 35, 86, 20], Operations: []
Exploring Operation: 65-35=30, Resulting Numbers: [86, 20, 30]
Generated Node #0,1: 76:[86, 20, 30] Operation: 65-35=30
Moving to Node #0,1
Current State: 76:[86, 20, 30], Operations: ['65-35=30']
Exploring Operation: 30-20=10, Resulting Numbers: [86, 10]
Generated Node #0,1,0: 76:[86, 10] Operation: 30-20=10
Moving to Node #0,1,0
Current State: 76:[86, 10], Operations: ['65-35=30', '30-20=10']
Exploring Operation: 86-10=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
74,
43,
45,
58
] | 41 | [
"74-45=29",
"58/29=2",
"43-2=41"
] | Current State: 41:[74, 43, 45, 58], Operations: []
Exploring Operation: 74-45=29, Resulting Numbers: [43, 58, 29]
Generated Node #2: [43, 58, 29] from Operation: 74-45=29
Current State: 41:[43, 58, 29], Operations: ['74-45=29']
Exploring Operation: 58/29=2, Resulting Numbers: [43, 2]
Generated Node #3: [43, 2] from Operation: 58/29=2
Current State: 41:[43, 2], Operations: ['74-45=29', '58/29=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[74, 43, 45, 58], Operations: []
Exploring Operation: 58-43=15, Resulting Numbers: [74, 45, 15]
Generated Node #0,0: 41:[74, 45, 15] Operation: 58-43=15
Exploring Operation: 74-58=16, Resulting Numbers: [43, 45, 16]
Generated Node #0,1: 41:[43, 45, 16] Operation: 74-58=16
Exploring Operation: 74-45=29, Resulting Numbers: [43, 58, 29]
Generated Node #0,2: 41:[43, 58, 29] Operation: 74-45=29
Exploring Operation: 74-43=31, Resulting Numbers: [45, 58, 31]
Generated Node #0,3: 41:[45, 58, 31] Operation: 74-43=31
Moving to Node #0,1
Current State: 41:[43, 45, 16], Operations: ['74-58=16']
Exploring Operation: 45-16=29, Resulting Numbers: [43, 29]
Generated Node #0,1,0: 41:[43, 29] Operation: 45-16=29
Exploring Operation: 43-16=27, Resulting Numbers: [45, 27]
Generated Node #0,1,1: 41:[45, 27] Operation: 43-16=27
Exploring Operation: 45+16=61, Resulting Numbers: [43, 61]
Generated Node #0,1,2: 41:[43, 61] Operation: 45+16=61
Exploring Operation: 43+16=59, Resulting Numbers: [45, 59]
Generated Node #0,1,3: 41:[45, 59] Operation: 43+16=59
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[43, 29], Operations: ['74-58=16', '45-16=29']
Exploring Operation: 43+29=72, Resulting Numbers: [72]
72,41 unequal: No Solution
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 43*29=1247, Resulting Numbers: [1247]
1247,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:[45, 27], Operations: ['74-58=16', '43-16=27']
Exploring Operation: 45+27=72, Resulting Numbers: [72]
72,41 unequal: No Solution
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 45*27=1215, Resulting Numbers: [1215]
1215,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,2
Current State: 41:[43, 61], Operations: ['74-58=16', '45+16=61']
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 43+61=104, Resulting Numbers: [104]
104,41 unequal: No Solution
Exploring Operation: 43*61=2623, Resulting Numbers: [2623]
2623,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,3
Current State: 41:[45, 59], Operations: ['74-58=16', '43+16=59']
Exploring Operation: 45+59=104, Resulting Numbers: [104]
104,41 unequal: No Solution
Exploring Operation: 45*59=2655, Resulting Numbers: [2655]
2655,41 unequal: No Solution
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,41 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: 41:[45, 58, 31], Operations: ['74-43=31']
Exploring Operation: 45+31=76, Resulting Numbers: [58, 76]
Generated Node #0,3,0: 41:[58, 76] Operation: 45+31=76
Exploring Operation: 58-31=27, Resulting Numbers: [45, 27]
Generated Node #0,3,1: 41:[45, 27] Operation: 58-31=27
Exploring Operation: 58-45=13, Resulting Numbers: [31, 13]
Generated Node #0,3,2: 41:[31, 13] Operation: 58-45=13
Exploring Operation: 45-31=14, Resulting Numbers: [58, 14]
Generated Node #0,3,3: 41:[58, 14] Operation: 45-31=14
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 41:[45, 27], Operations: ['74-43=31', '58-31=27']
Exploring Operation: 45*27=1215, Resulting Numbers: [1215]
1215,41 unequal: No Solution
Exploring Operation: 45+27=72, Resulting Numbers: [72]
72,41 unequal: No Solution
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,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,3,2
Current State: 41:[31, 13], Operations: ['74-43=31', '58-45=13']
Exploring Operation: 31*13=403, Resulting Numbers: [403]
403,41 unequal: No Solution
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 31+13=44, Resulting Numbers: [44]
44,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,3,3
Current State: 41:[58, 14], Operations: ['74-43=31', '45-31=14']
Exploring Operation: 58+14=72, Resulting Numbers: [72]
72,41 unequal: No Solution
Exploring Operation: 58*14=812, Resulting Numbers: [812]
812,41 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,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,3,0
Current State: 41:[58, 76], Operations: ['74-43=31', '45+31=76']
Exploring Operation: 76-58=18, Resulting Numbers: [18]
18,41 unequal: No Solution
Exploring Operation: 58*76=4408, Resulting Numbers: [4408]
4408,41 unequal: No Solution
Exploring Operation: 58+76=134, Resulting Numbers: [134]
134,41 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: 41:[43, 58, 29], Operations: ['74-45=29']
Exploring Operation: 58-43=15, Resulting Numbers: [29, 15]
Generated Node #0,2,0: 41:[29, 15] Operation: 58-43=15
Exploring Operation: 58/29=2, Resulting Numbers: [43, 2]
Generated Node #0,2,1: 41:[43, 2] Operation: 58/29=2
Exploring Operation: 58-29=29, Resulting Numbers: [43, 29]
Generated Node #0,2,2: 41:[43, 29] Operation: 58-29=29
Exploring Operation: 43-29=14, Resulting Numbers: [58, 14]
Generated Node #0,2,3: 41:[58, 14] Operation: 43-29=14
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[43, 29], Operations: ['74-45=29', '58-29=29']
Exploring Operation: 43*29=1247, Resulting Numbers: [1247]
1247,41 unequal: No Solution
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 43+29=72, Resulting Numbers: [72]
72,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,2,0
Current State: 41:[29, 15], Operations: ['74-45=29', '58-43=15']
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,41 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,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,2,1
Current State: 41:[43, 2], Operations: ['74-45=29', '58/29=2']
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[74, 43, 45, 58], Operations: []
Exploring Operation: 74-45=29, Resulting Numbers: [43, 58, 29]
Generated Node #0,2: 41:[43, 58, 29] Operation: 74-45=29
Moving to Node #0,2
Current State: 41:[43, 58, 29], Operations: ['74-45=29']
Exploring Operation: 58/29=2, Resulting Numbers: [43, 2]
Generated Node #0,2,1: 41:[43, 2] Operation: 58/29=2
Moving to Node #0,2,1
Current State: 41:[43, 2], Operations: ['74-45=29', '58/29=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.954861 | hs_4 | sum_heuristic |
[
47,
29,
6,
91
] | 36 | [
"47+91=138",
"29*6=174",
"174-138=36"
] | Current State: 36:[47, 29, 6, 91], Operations: []
Exploring Operation: 47+91=138, Resulting Numbers: [29, 6, 138]
Generated Node #2: [29, 6, 138] from Operation: 47+91=138
Current State: 36:[29, 6, 138], Operations: ['47+91=138']
Exploring Operation: 29*6=174, Resulting Numbers: [138, 174]
Generated Node #3: [138, 174] from Operation: 29*6=174
Current State: 36:[138, 174], Operations: ['47+91=138', '29*6=174']
Exploring Operation: 174-138=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[47, 29, 6, 91], Operations: []
Exploring Operation: 91-47=44, Resulting Numbers: [29, 6, 44]
Generated Node #0,0: 36:[29, 6, 44] Operation: 91-47=44
Exploring Operation: 91-29=62, Resulting Numbers: [47, 6, 62]
Generated Node #0,1: 36:[47, 6, 62] Operation: 91-29=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[29, 6, 44], Operations: ['91-47=44']
Exploring Operation: 44-29=15, Resulting Numbers: [6, 15]
Generated Node #0,0,0: 36:[6, 15] Operation: 44-29=15
Exploring Operation: 29+6=35, Resulting Numbers: [44, 35]
Generated Node #0,0,1: 36:[44, 35] Operation: 29+6=35
Moving to Node #0,0,0
Current State: 36:[6, 15], Operations: ['91-47=44', '44-29=15']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[44, 35], Operations: ['91-47=44', '29+6=35']
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[47, 6, 62], Operations: ['91-29=62']
Exploring Operation: 62-47=15, Resulting Numbers: [6, 15]
Generated Node #0,1,0: 36:[6, 15] Operation: 62-47=15
Exploring Operation: 47-6=41, Resulting Numbers: [62, 41]
Generated Node #0,1,1: 36:[62, 41] Operation: 47-6=41
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[6, 15], Operations: ['91-29=62', '62-47=15']
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 36:[62, 41], Operations: ['91-29=62', '47-6=41']
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 62+41=103, Resulting Numbers: [103]
103,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
66,
43,
87,
89
] | 21 | [
"66-43=23",
"89-87=2",
"23-2=21"
] | Current State: 21:[66, 43, 87, 89], Operations: []
Exploring Operation: 66-43=23, Resulting Numbers: [87, 89, 23]
Generated Node #2: [87, 89, 23] from Operation: 66-43=23
Current State: 21:[87, 89, 23], Operations: ['66-43=23']
Exploring Operation: 89-87=2, Resulting Numbers: [23, 2]
Generated Node #3: [23, 2] from Operation: 89-87=2
Current State: 21:[23, 2], Operations: ['66-43=23', '89-87=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[66, 43, 87, 89], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [66, 43, 2]
Generated Node #0,0: 21:[66, 43, 2] Operation: 89-87=2
Exploring Operation: 87-66=21, Resulting Numbers: [43, 89, 21]
Generated Node #0,1: 21:[43, 89, 21] Operation: 87-66=21
Exploring Operation: 89-66=23, Resulting Numbers: [43, 87, 23]
Generated Node #0,2: 21:[43, 87, 23] Operation: 89-66=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[66, 43, 2], Operations: ['89-87=2']
Exploring Operation: 66-2=64, Resulting Numbers: [43, 64]
Generated Node #0,0,0: 21:[43, 64] Operation: 66-2=64
Exploring Operation: 66/2=33, Resulting Numbers: [43, 33]
Generated Node #0,0,1: 21:[43, 33] Operation: 66/2=33
Exploring Operation: 66-43=23, Resulting Numbers: [2, 23]
Generated Node #0,0,2: 21:[2, 23] Operation: 66-43=23
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[2, 23], Operations: ['89-87=2', '66-43=23']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[66, 43, 87, 89], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [66, 43, 2]
Generated Node #0,0: 21:[66, 43, 2] Operation: 89-87=2
Moving to Node #0,0
Current State: 21:[66, 43, 2], Operations: ['89-87=2']
Exploring Operation: 66-43=23, Resulting Numbers: [2, 23]
Generated Node #0,0,2: 21:[2, 23] Operation: 66-43=23
Moving to Node #0,0,2
Current State: 21:[2, 23], Operations: ['89-87=2', '66-43=23']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
26,
78,
77,
7
] | 87 | [
"78/26=3",
"77+7=84",
"3+84=87"
] | Current State: 87:[26, 78, 77, 7], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [77, 7, 3]
Generated Node #2: [77, 7, 3] from Operation: 78/26=3
Current State: 87:[77, 7, 3], Operations: ['78/26=3']
Exploring Operation: 77+7=84, Resulting Numbers: [3, 84]
Generated Node #3: [3, 84] from Operation: 77+7=84
Current State: 87:[3, 84], Operations: ['78/26=3', '77+7=84']
Exploring Operation: 3+84=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[26, 78, 77, 7], Operations: []
Exploring Operation: 77+7=84, Resulting Numbers: [26, 78, 84]
Generated Node #0,0: 87:[26, 78, 84] Operation: 77+7=84
Exploring Operation: 78-77=1, Resulting Numbers: [26, 7, 1]
Generated Node #0,1: 87:[26, 7, 1] Operation: 78-77=1
Exploring Operation: 78/26=3, Resulting Numbers: [77, 7, 3]
Generated Node #0,2: 87:[77, 7, 3] Operation: 78/26=3
Exploring Operation: 78+7=85, Resulting Numbers: [26, 77, 85]
Generated Node #0,3: 87:[26, 77, 85] Operation: 78+7=85
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[26, 7, 1], Operations: ['78-77=1']
Exploring Operation: 7-1=6, Resulting Numbers: [26, 6]
Generated Node #0,1,0: 87:[26, 6] Operation: 7-1=6
Exploring Operation: 26+1=27, Resulting Numbers: [7, 27]
Generated Node #0,1,1: 87:[7, 27] Operation: 26+1=27
Exploring Operation: 26*1=26, Resulting Numbers: [7, 26]
Generated Node #0,1,2: 87:[7, 26] Operation: 26*1=26
Exploring Operation: 26+7=33, Resulting Numbers: [1, 33]
Generated Node #0,1,3: 87:[1, 33] Operation: 26+7=33
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 87:[26, 6], Operations: ['78-77=1', '7-1=6']
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,87 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,87 unequal: No Solution
No 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: 87:[7, 27], Operations: ['78-77=1', '26+1=27']
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Exploring Operation: 7*27=189, Resulting Numbers: [189]
189,87 unequal: No Solution
No 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: 87:[1, 33], Operations: ['78-77=1', '26+7=33']
Exploring Operation: 1*33=33, Resulting Numbers: [33]
33,87 unequal: No Solution
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,87 unequal: No Solution
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,87 unequal: No Solution
No 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: 87:[7, 26], Operations: ['78-77=1', '26*1=26']
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,87 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,87 unequal: No Solution
Exploring Operation: 7*26=182, Resulting Numbers: [182]
182,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[77, 7, 3], Operations: ['78/26=3']
Exploring Operation: 7-3=4, Resulting Numbers: [77, 4]
Generated Node #0,2,0: 87:[77, 4] Operation: 7-3=4
Exploring Operation: 77+3=80, Resulting Numbers: [7, 80]
Generated Node #0,2,1: 87:[7, 80] Operation: 77+3=80
Exploring Operation: 77+7=84, Resulting Numbers: [3, 84]
Generated Node #0,2,2: 87:[3, 84] Operation: 77+7=84
Exploring Operation: 77/7=11, Resulting Numbers: [3, 11]
Generated Node #0,2,3: 87:[3, 11] Operation: 77/7=11
Moving to Node #0,2,2
Current State: 87:[3, 84], Operations: ['78/26=3', '77+7=84']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,87 unequal: No Solution
Exploring Operation: 3+84=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[26, 78, 77, 7], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [77, 7, 3]
Generated Node #0,2: 87:[77, 7, 3] Operation: 78/26=3
Moving to Node #0,2
Current State: 87:[77, 7, 3], Operations: ['78/26=3']
Exploring Operation: 77+7=84, Resulting Numbers: [3, 84]
Generated Node #0,2,2: 87:[3, 84] Operation: 77+7=84
Moving to Node #0,2,2
Current State: 87:[3, 84], Operations: ['78/26=3', '77+7=84']
Exploring Operation: 3+84=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
42,
27,
81,
56
] | 17 | [
"56-42=14",
"81/27=3",
"14+3=17"
] | Current State: 17:[42, 27, 81, 56], Operations: []
Exploring Operation: 56-42=14, Resulting Numbers: [27, 81, 14]
Generated Node #2: [27, 81, 14] from Operation: 56-42=14
Current State: 17:[27, 81, 14], Operations: ['56-42=14']
Exploring Operation: 81/27=3, Resulting Numbers: [14, 3]
Generated Node #3: [14, 3] from Operation: 81/27=3
Current State: 17:[14, 3], Operations: ['56-42=14', '81/27=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[42, 27, 81, 56], Operations: []
Exploring Operation: 81-56=25, Resulting Numbers: [42, 27, 25]
Generated Node #0,0: 17:[42, 27, 25] Operation: 81-56=25
Moving to Node #0,0
Current State: 17:[42, 27, 25], Operations: ['81-56=25']
Exploring Operation: 42-27=15, Resulting Numbers: [25, 15]
Generated Node #0,0,0: 17:[25, 15] Operation: 42-27=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[25, 15], Operations: ['81-56=25', '42-27=15']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,17 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 |
[
42,
5,
40,
24
] | 20 | [
"40-5=35",
"24*35=840",
"840/42=20"
] | Current State: 20:[42, 5, 40, 24], Operations: []
Exploring Operation: 40-5=35, Resulting Numbers: [42, 24, 35]
Generated Node #2: [42, 24, 35] from Operation: 40-5=35
Current State: 20:[42, 24, 35], Operations: ['40-5=35']
Exploring Operation: 24*35=840, Resulting Numbers: [42, 840]
Generated Node #3: [42, 840] from Operation: 24*35=840
Current State: 20:[42, 840], Operations: ['40-5=35', '24*35=840']
Exploring Operation: 840/42=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[42, 5, 40, 24], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [5, 24, 2]
Generated Node #0,0: 20:[5, 24, 2] Operation: 42-40=2
Moving to Node #0,0
Current State: 20:[5, 24, 2], Operations: ['42-40=2']
Exploring Operation: 24-5=19, Resulting Numbers: [2, 19]
Generated Node #0,0,0: 20:[2, 19] Operation: 24-5=19
Moving to Node #0,0,0
Current State: 20:[2, 19], Operations: ['42-40=2', '24-5=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,20 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
28,
17,
23,
77
] | 12 | [
"28-23=5",
"77-17=60",
"60/5=12"
] | Current State: 12:[28, 17, 23, 77], Operations: []
Exploring Operation: 28-23=5, Resulting Numbers: [17, 77, 5]
Generated Node #2: [17, 77, 5] from Operation: 28-23=5
Current State: 12:[17, 77, 5], Operations: ['28-23=5']
Exploring Operation: 77-17=60, Resulting Numbers: [5, 60]
Generated Node #3: [5, 60] from Operation: 77-17=60
Current State: 12:[5, 60], Operations: ['28-23=5', '77-17=60']
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[28, 17, 23, 77], Operations: []
Exploring Operation: 28-17=11, Resulting Numbers: [23, 77, 11]
Generated Node #0,0: 12:[23, 77, 11] Operation: 28-17=11
Exploring Operation: 77-17=60, Resulting Numbers: [28, 23, 60]
Generated Node #0,1: 12:[28, 23, 60] Operation: 77-17=60
Exploring Operation: 77-23=54, Resulting Numbers: [28, 17, 54]
Generated Node #0,2: 12:[28, 17, 54] Operation: 77-23=54
Exploring Operation: 28-23=5, Resulting Numbers: [17, 77, 5]
Generated Node #0,3: 12:[17, 77, 5] Operation: 28-23=5
Exploring Operation: 77-28=49, Resulting Numbers: [17, 23, 49]
Generated Node #0,4: 12:[17, 23, 49] Operation: 77-28=49
Moving to Node #0,4
Current State: 12:[17, 23, 49], Operations: ['77-28=49']
Exploring Operation: 49-23=26, Resulting Numbers: [17, 26]
Generated Node #0,4,0: 12:[17, 26] Operation: 49-23=26
Exploring Operation: 49-17=32, Resulting Numbers: [23, 32]
Generated Node #0,4,1: 12:[23, 32] Operation: 49-17=32
Exploring Operation: 17+49=66, Resulting Numbers: [23, 66]
Generated Node #0,4,2: 12:[23, 66] Operation: 17+49=66
Exploring Operation: 17+23=40, Resulting Numbers: [49, 40]
Generated Node #0,4,3: 12:[49, 40] Operation: 17+23=40
Exploring Operation: 23-17=6, Resulting Numbers: [49, 6]
Generated Node #0,4,4: 12:[49, 6] Operation: 23-17=6
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 12:[17, 26], Operations: ['77-28=49', '49-23=26']
Exploring Operation: 17*26=442, Resulting Numbers: [442]
442,12 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 12:[23, 32], Operations: ['77-28=49', '49-17=32']
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,12 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Exploring Operation: 23*32=736, Resulting Numbers: [736]
736,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 12:[49, 6], Operations: ['77-28=49', '23-17=6']
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 49+6=55, Resulting Numbers: [55]
55,12 unequal: No Solution
Exploring Operation: 49*6=294, Resulting Numbers: [294]
294,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 12:[23, 66], Operations: ['77-28=49', '17+49=66']
Exploring Operation: 23*66=1518, Resulting Numbers: [1518]
1518,12 unequal: No Solution
Exploring Operation: 23+66=89, Resulting Numbers: [89]
89,12 unequal: No Solution
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 12:[49, 40], Operations: ['77-28=49', '17+23=40']
Exploring Operation: 49+40=89, Resulting Numbers: [89]
89,12 unequal: No Solution
Exploring Operation: 49*40=1960, Resulting Numbers: [1960]
1960,12 unequal: No Solution
Exploring Operation: 49-40=9, Resulting Numbers: [9]
9,12 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: 12:[28, 17, 54], Operations: ['77-23=54']
Exploring Operation: 28+54=82, Resulting Numbers: [17, 82]
Generated Node #0,2,0: 12:[17, 82] Operation: 28+54=82
Exploring Operation: 28+17=45, Resulting Numbers: [54, 45]
Generated Node #0,2,1: 12:[54, 45] Operation: 28+17=45
Exploring Operation: 28-17=11, Resulting Numbers: [54, 11]
Generated Node #0,2,2: 12:[54, 11] Operation: 28-17=11
Exploring Operation: 54-28=26, Resulting Numbers: [17, 26]
Generated Node #0,2,3: 12:[17, 26] Operation: 54-28=26
Exploring Operation: 54-17=37, Resulting Numbers: [28, 37]
Generated Node #0,2,4: 12:[28, 37] Operation: 54-17=37
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 12:[17, 26], Operations: ['77-23=54', '54-28=26']
Exploring Operation: 17*26=442, Resulting Numbers: [442]
442,12 unequal: No Solution
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 12:[28, 37], Operations: ['77-23=54', '54-17=37']
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Exploring Operation: 28+37=65, Resulting Numbers: [65]
65,12 unequal: No Solution
Exploring Operation: 28*37=1036, Resulting Numbers: [1036]
1036,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[54, 11], Operations: ['77-23=54', '28-17=11']
Exploring Operation: 54-11=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 54*11=594, Resulting Numbers: [594]
594,12 unequal: No Solution
Exploring Operation: 54+11=65, Resulting Numbers: [65]
65,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[17, 82], Operations: ['77-23=54', '28+54=82']
Exploring Operation: 17+82=99, Resulting Numbers: [99]
99,12 unequal: No Solution
Exploring Operation: 82-17=65, Resulting Numbers: [65]
65,12 unequal: No Solution
Exploring Operation: 17*82=1394, Resulting Numbers: [1394]
1394,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 12:[54, 45], Operations: ['77-23=54', '28+17=45']
Exploring Operation: 54*45=2430, Resulting Numbers: [2430]
2430,12 unequal: No Solution
Exploring Operation: 54+45=99, Resulting Numbers: [99]
99,12 unequal: No Solution
Exploring Operation: 54-45=9, Resulting Numbers: [9]
9,12 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: 12:[17, 77, 5], Operations: ['28-23=5']
Exploring Operation: 17-5=12, Resulting Numbers: [77, 12]
Generated Node #0,3,0: 12:[77, 12] Operation: 17-5=12
Exploring Operation: 77+5=82, Resulting Numbers: [17, 82]
Generated Node #0,3,1: 12:[17, 82] Operation: 77+5=82
Exploring Operation: 77-17=60, Resulting Numbers: [5, 60]
Generated Node #0,3,2: 12:[5, 60] Operation: 77-17=60
Exploring Operation: 77-5=72, Resulting Numbers: [17, 72]
Generated Node #0,3,3: 12:[17, 72] Operation: 77-5=72
Exploring Operation: 17+5=22, Resulting Numbers: [77, 22]
Generated Node #0,3,4: 12:[77, 22] Operation: 17+5=22
Moving to Node #0,1
Current State: 12:[28, 23, 60], Operations: ['77-17=60']
Exploring Operation: 28+23=51, Resulting Numbers: [60, 51]
Generated Node #0,1,0: 12:[60, 51] Operation: 28+23=51
Exploring Operation: 28-23=5, Resulting Numbers: [60, 5]
Generated Node #0,1,1: 12:[60, 5] Operation: 28-23=5
Exploring Operation: 60-28=32, Resulting Numbers: [23, 32]
Generated Node #0,1,2: 12:[23, 32] Operation: 60-28=32
Exploring Operation: 28+60=88, Resulting Numbers: [23, 88]
Generated Node #0,1,3: 12:[23, 88] Operation: 28+60=88
Exploring Operation: 60-23=37, Resulting Numbers: [28, 37]
Generated Node #0,1,4: 12:[28, 37] Operation: 60-23=37
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 12:[23, 32], Operations: ['77-17=60', '60-28=32']
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Exploring Operation: 23*32=736, Resulting Numbers: [736]
736,12 unequal: No Solution
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 12:[28, 37], Operations: ['77-17=60', '60-23=37']
Exploring Operation: 28+37=65, Resulting Numbers: [65]
65,12 unequal: No Solution
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Exploring Operation: 28*37=1036, Resulting Numbers: [1036]
1036,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[60, 5], Operations: ['77-17=60', '28-23=5']
Exploring Operation: 60*5=300, Resulting Numbers: [300]
300,12 unequal: No Solution
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,12 unequal: No Solution
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,12 unequal: No Solution
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[28, 17, 23, 77], Operations: []
Exploring Operation: 77-17=60, Resulting Numbers: [28, 23, 60]
Generated Node #0,1: 12:[28, 23, 60] Operation: 77-17=60
Moving to Node #0,1
Current State: 12:[28, 23, 60], Operations: ['77-17=60']
Exploring Operation: 28-23=5, Resulting Numbers: [60, 5]
Generated Node #0,1,1: 12:[60, 5] Operation: 28-23=5
Moving to Node #0,1,1
Current State: 12:[60, 5], Operations: ['77-17=60', '28-23=5']
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.940104 | hs_5 | mult_heuristic |
[
51,
93,
95,
43
] | 35 | [
"95-93=2",
"43*2=86",
"86-51=35"
] | Current State: 35:[51, 93, 95, 43], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [51, 43, 2]
Generated Node #2: [51, 43, 2] from Operation: 95-93=2
Current State: 35:[51, 43, 2], Operations: ['95-93=2']
Exploring Operation: 43*2=86, Resulting Numbers: [51, 86]
Generated Node #3: [51, 86] from Operation: 43*2=86
Current State: 35:[51, 86], Operations: ['95-93=2', '43*2=86']
Exploring Operation: 86-51=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[51, 93, 95, 43], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [51, 43, 2]
Generated Node #0,0: 35:[51, 43, 2] Operation: 95-93=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[51, 43, 2], Operations: ['95-93=2']
Exploring Operation: 51-43=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 35:[2, 8] Operation: 51-43=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[2, 8], Operations: ['95-93=2', '51-43=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
95,
19,
84,
96
] | 64 | [
"95-19=76",
"96-84=12",
"76-12=64"
] | Current State: 64:[95, 19, 84, 96], Operations: []
Exploring Operation: 95-19=76, Resulting Numbers: [84, 96, 76]
Generated Node #2: [84, 96, 76] from Operation: 95-19=76
Current State: 64:[84, 96, 76], Operations: ['95-19=76']
Exploring Operation: 96-84=12, Resulting Numbers: [76, 12]
Generated Node #3: [76, 12] from Operation: 96-84=12
Current State: 64:[76, 12], Operations: ['95-19=76', '96-84=12']
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[95, 19, 84, 96], Operations: []
Exploring Operation: 95-84=11, Resulting Numbers: [19, 96, 11]
Generated Node #0,0: 64:[19, 96, 11] Operation: 95-84=11
Exploring Operation: 96-95=1, Resulting Numbers: [19, 84, 1]
Generated Node #0,1: 64:[19, 84, 1] Operation: 96-95=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[19, 84, 1], Operations: ['96-95=1']
Exploring Operation: 19-1=18, Resulting Numbers: [84, 18]
Generated Node #0,1,0: 64:[84, 18] Operation: 19-1=18
Exploring Operation: 84-19=65, Resulting Numbers: [1, 65]
Generated Node #0,1,1: 64:[1, 65] Operation: 84-19=65
Moving to Node #0,1,1
Current State: 64:[1, 65], Operations: ['96-95=1', '84-19=65']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[95, 19, 84, 96], Operations: []
Exploring Operation: 96-95=1, Resulting Numbers: [19, 84, 1]
Generated Node #0,1: 64:[19, 84, 1] Operation: 96-95=1
Moving to Node #0,1
Current State: 64:[19, 84, 1], Operations: ['96-95=1']
Exploring Operation: 84-19=65, Resulting Numbers: [1, 65]
Generated Node #0,1,1: 64:[1, 65] Operation: 84-19=65
Moving to Node #0,1,1
Current State: 64:[1, 65], Operations: ['96-95=1', '84-19=65']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
76,
87,
4,
38
] | 93 | [
"76/38=2",
"87+4=91",
"2+91=93"
] | Current State: 93:[76, 87, 4, 38], Operations: []
Exploring Operation: 76/38=2, Resulting Numbers: [87, 4, 2]
Generated Node #2: [87, 4, 2] from Operation: 76/38=2
Current State: 93:[87, 4, 2], Operations: ['76/38=2']
Exploring Operation: 87+4=91, Resulting Numbers: [2, 91]
Generated Node #3: [2, 91] from Operation: 87+4=91
Current State: 93:[2, 91], Operations: ['76/38=2', '87+4=91']
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[76, 87, 4, 38], Operations: []
Exploring Operation: 76/38=2, Resulting Numbers: [87, 4, 2]
Generated Node #0,0: 93:[87, 4, 2] Operation: 76/38=2
Moving to Node #0,0
Current State: 93:[87, 4, 2], Operations: ['76/38=2']
Exploring Operation: 87+4=91, Resulting Numbers: [2, 91]
Generated Node #0,0,0: 93:[2, 91] Operation: 87+4=91
Moving to Node #0,0,0
Current State: 93:[2, 91], Operations: ['76/38=2', '87+4=91']
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[76, 87, 4, 38], Operations: []
Exploring Operation: 76/38=2, Resulting Numbers: [87, 4, 2]
Generated Node #0,0: 93:[87, 4, 2] Operation: 76/38=2
Moving to Node #0,0
Current State: 93:[87, 4, 2], Operations: ['76/38=2']
Exploring Operation: 87+4=91, Resulting Numbers: [2, 91]
Generated Node #0,0,0: 93:[2, 91] Operation: 87+4=91
Moving to Node #0,0,0
Current State: 93:[2, 91], Operations: ['76/38=2', '87+4=91']
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
13,
56,
36,
46
] | 26 | [
"56+36=92",
"13*92=1196",
"1196/46=26"
] | Current State: 26:[13, 56, 36, 46], Operations: []
Exploring Operation: 56+36=92, Resulting Numbers: [13, 46, 92]
Generated Node #2: [13, 46, 92] from Operation: 56+36=92
Current State: 26:[13, 46, 92], Operations: ['56+36=92']
Exploring Operation: 13*92=1196, Resulting Numbers: [46, 1196]
Generated Node #3: [46, 1196] from Operation: 13*92=1196
Current State: 26:[46, 1196], Operations: ['56+36=92', '13*92=1196']
Exploring Operation: 1196/46=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[13, 56, 36, 46], Operations: []
Exploring Operation: 56-46=10, Resulting Numbers: [13, 36, 10]
Generated Node #0,0: 26:[13, 36, 10] Operation: 56-46=10
Exploring Operation: 56-36=20, Resulting Numbers: [13, 46, 20]
Generated Node #0,1: 26:[13, 46, 20] Operation: 56-36=20
Moving to Node #0,0
Current State: 26:[13, 36, 10], Operations: ['56-46=10']
Exploring Operation: 36-10=26, Resulting Numbers: [13, 26]
Generated Node #0,0,0: 26:[13, 26] Operation: 36-10=26
Exploring Operation: 36-13=23, Resulting Numbers: [10, 23]
Generated Node #0,0,1: 26:[10, 23] Operation: 36-13=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[13, 26], Operations: ['56-46=10', '36-10=26']
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[10, 23], Operations: ['56-46=10', '36-13=23']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,26 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: 26:[13, 46, 20], Operations: ['56-36=20']
Exploring Operation: 46-13=33, Resulting Numbers: [20, 33]
Generated Node #0,1,0: 26:[20, 33] Operation: 46-13=33
Exploring Operation: 46-20=26, Resulting Numbers: [13, 26]
Generated Node #0,1,1: 26:[13, 26] Operation: 46-20=26
Moving to Node #0,1,1
Current State: 26:[13, 26], Operations: ['56-36=20', '46-20=26']
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[20, 33], Operations: ['56-36=20', '46-13=33']
Exploring Operation: 20+33=53, Resulting Numbers: [53]
53,26 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,26 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
36,
30,
99,
49
] | 56 | [
"36-30=6",
"99-49=50",
"6+50=56"
] | Current State: 56:[36, 30, 99, 49], Operations: []
Exploring Operation: 36-30=6, Resulting Numbers: [99, 49, 6]
Generated Node #2: [99, 49, 6] from Operation: 36-30=6
Current State: 56:[99, 49, 6], Operations: ['36-30=6']
Exploring Operation: 99-49=50, Resulting Numbers: [6, 50]
Generated Node #3: [6, 50] from Operation: 99-49=50
Current State: 56:[6, 50], Operations: ['36-30=6', '99-49=50']
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[36, 30, 99, 49], Operations: []
Exploring Operation: 99-36=63, Resulting Numbers: [30, 49, 63]
Generated Node #0,0: 56:[30, 49, 63] Operation: 99-36=63
Exploring Operation: 99-49=50, Resulting Numbers: [36, 30, 50]
Generated Node #0,1: 56:[36, 30, 50] Operation: 99-49=50
Exploring Operation: 99-30=69, Resulting Numbers: [36, 49, 69]
Generated Node #0,2: 56:[36, 49, 69] Operation: 99-30=69
Moving to Node #0,0
Current State: 56:[30, 49, 63], Operations: ['99-36=63']
Exploring Operation: 49-30=19, Resulting Numbers: [63, 19]
Generated Node #0,0,0: 56:[63, 19] Operation: 49-30=19
Exploring Operation: 63-49=14, Resulting Numbers: [30, 14]
Generated Node #0,0,1: 56:[30, 14] Operation: 63-49=14
Exploring Operation: 63-30=33, Resulting Numbers: [49, 33]
Generated Node #0,0,2: 56:[49, 33] Operation: 63-30=33
Moving to Node #0,1
Current State: 56:[36, 30, 50], Operations: ['99-49=50']
Exploring Operation: 50-30=20, Resulting Numbers: [36, 20]
Generated Node #0,1,0: 56:[36, 20] Operation: 50-30=20
Exploring Operation: 50-36=14, Resulting Numbers: [30, 14]
Generated Node #0,1,1: 56:[30, 14] Operation: 50-36=14
Exploring Operation: 36-30=6, Resulting Numbers: [50, 6]
Generated Node #0,1,2: 56:[50, 6] Operation: 36-30=6
Moving to Node #0,2
Current State: 56:[36, 49, 69], Operations: ['99-30=69']
Exploring Operation: 49-36=13, Resulting Numbers: [69, 13]
Generated Node #0,2,0: 56:[69, 13] Operation: 49-36=13
Exploring Operation: 69-49=20, Resulting Numbers: [36, 20]
Generated Node #0,2,1: 56:[36, 20] Operation: 69-49=20
Exploring Operation: 69-36=33, Resulting Numbers: [49, 33]
Generated Node #0,2,2: 56:[49, 33] Operation: 69-36=33
Moving to Node #0,0,1
Current State: 56:[30, 14], Operations: ['99-36=63', '63-49=14']
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,56 unequal: No Solution
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[30, 14], Operations: ['99-49=50', '50-36=14']
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,56 unequal: No Solution
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,56 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[50, 6], Operations: ['99-49=50', '36-30=6']
Exploring Operation: 50*6=300, Resulting Numbers: [300]
300,56 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,56 unequal: No Solution
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[36, 30, 99, 49], Operations: []
Exploring Operation: 99-49=50, Resulting Numbers: [36, 30, 50]
Generated Node #0,1: 56:[36, 30, 50] Operation: 99-49=50
Moving to Node #0,1
Current State: 56:[36, 30, 50], Operations: ['99-49=50']
Exploring Operation: 36-30=6, Resulting Numbers: [50, 6]
Generated Node #0,1,2: 56:[50, 6] Operation: 36-30=6
Moving to Node #0,1,2
Current State: 56:[50, 6], Operations: ['99-49=50', '36-30=6']
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.978299 | hs_3 | mult_heuristic |
[
72,
98,
93,
38
] | 81 | [
"98-72=26",
"93-38=55",
"26+55=81"
] | Current State: 81:[72, 98, 93, 38], Operations: []
Exploring Operation: 98-72=26, Resulting Numbers: [93, 38, 26]
Generated Node #2: [93, 38, 26] from Operation: 98-72=26
Current State: 81:[93, 38, 26], Operations: ['98-72=26']
Exploring Operation: 93-38=55, Resulting Numbers: [26, 55]
Generated Node #3: [26, 55] from Operation: 93-38=55
Current State: 81:[26, 55], Operations: ['98-72=26', '93-38=55']
Exploring Operation: 26+55=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[72, 98, 93, 38], Operations: []
Exploring Operation: 98-72=26, Resulting Numbers: [93, 38, 26]
Generated Node #0,0: 81:[93, 38, 26] Operation: 98-72=26
Exploring Operation: 93-72=21, Resulting Numbers: [98, 38, 21]
Generated Node #0,1: 81:[98, 38, 21] Operation: 93-72=21
Exploring Operation: 98-93=5, Resulting Numbers: [72, 38, 5]
Generated Node #0,2: 81:[72, 38, 5] Operation: 98-93=5
Exploring Operation: 72-38=34, Resulting Numbers: [98, 93, 34]
Generated Node #0,3: 81:[98, 93, 34] Operation: 72-38=34
Moving to Node #0,2
Current State: 81:[72, 38, 5], Operations: ['98-93=5']
Exploring Operation: 72-5=67, Resulting Numbers: [38, 67]
Generated Node #0,2,0: 81:[38, 67] Operation: 72-5=67
Exploring Operation: 38-5=33, Resulting Numbers: [72, 33]
Generated Node #0,2,1: 81:[72, 33] Operation: 38-5=33
Exploring Operation: 72-38=34, Resulting Numbers: [5, 34]
Generated Node #0,2,2: 81:[5, 34] Operation: 72-38=34
Exploring Operation: 72+5=77, Resulting Numbers: [38, 77]
Generated Node #0,2,3: 81:[38, 77] Operation: 72+5=77
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[5, 34], Operations: ['98-93=5', '72-38=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,81 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,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,2,1
Current State: 81:[72, 33], Operations: ['98-93=5', '38-5=33']
Exploring Operation: 72+33=105, Resulting Numbers: [105]
105,81 unequal: No Solution
Exploring Operation: 72-33=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Exploring Operation: 72*33=2376, Resulting Numbers: [2376]
2376,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,2,3
Current State: 81:[38, 77], Operations: ['98-93=5', '72+5=77']
Exploring Operation: 38+77=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Exploring Operation: 77-38=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Exploring Operation: 38*77=2926, Resulting Numbers: [2926]
2926,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,2,0
Current State: 81:[38, 67], Operations: ['98-93=5', '72-5=67']
Exploring Operation: 38+67=105, Resulting Numbers: [105]
105,81 unequal: No Solution
Exploring Operation: 38*67=2546, Resulting Numbers: [2546]
2546,81 unequal: No Solution
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 81:[93, 38, 26], Operations: ['98-72=26']
Exploring Operation: 93-38=55, Resulting Numbers: [26, 55]
Generated Node #0,0,0: 81:[26, 55] Operation: 93-38=55
Exploring Operation: 38-26=12, Resulting Numbers: [93, 12]
Generated Node #0,0,1: 81:[93, 12] Operation: 38-26=12
Exploring Operation: 38+26=64, Resulting Numbers: [93, 64]
Generated Node #0,0,2: 81:[93, 64] Operation: 38+26=64
Exploring Operation: 93-26=67, Resulting Numbers: [38, 67]
Generated Node #0,0,3: 81:[38, 67] Operation: 93-26=67
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[93, 12], Operations: ['98-72=26', '38-26=12']
Exploring Operation: 93*12=1116, Resulting Numbers: [1116]
1116,81 unequal: No Solution
Exploring Operation: 93-12=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[72, 98, 93, 38], Operations: []
Exploring Operation: 98-72=26, Resulting Numbers: [93, 38, 26]
Generated Node #0,0: 81:[93, 38, 26] Operation: 98-72=26
Moving to Node #0,0
Current State: 81:[93, 38, 26], Operations: ['98-72=26']
Exploring Operation: 38-26=12, Resulting Numbers: [93, 12]
Generated Node #0,0,1: 81:[93, 12] Operation: 38-26=12
Moving to Node #0,0,1
Current State: 81:[93, 12], Operations: ['98-72=26', '38-26=12']
Exploring Operation: 93-12=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
84,
67,
43,
91
] | 26 | [
"67-43=24",
"91*24=2184",
"2184/84=26"
] | Current State: 26:[84, 67, 43, 91], Operations: []
Exploring Operation: 67-43=24, Resulting Numbers: [84, 91, 24]
Generated Node #2: [84, 91, 24] from Operation: 67-43=24
Current State: 26:[84, 91, 24], Operations: ['67-43=24']
Exploring Operation: 91*24=2184, Resulting Numbers: [84, 2184]
Generated Node #3: [84, 2184] from Operation: 91*24=2184
Current State: 26:[84, 2184], Operations: ['67-43=24', '91*24=2184']
Exploring Operation: 2184/84=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[84, 67, 43, 91], Operations: []
Exploring Operation: 91-84=7, Resulting Numbers: [67, 43, 7]
Generated Node #0,0: 26:[67, 43, 7] Operation: 91-84=7
Exploring Operation: 91-67=24, Resulting Numbers: [84, 43, 24]
Generated Node #0,1: 26:[84, 43, 24] Operation: 91-67=24
Exploring Operation: 84-67=17, Resulting Numbers: [43, 91, 17]
Generated Node #0,2: 26:[43, 91, 17] Operation: 84-67=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[67, 43, 7], Operations: ['91-84=7']
Exploring Operation: 43-7=36, Resulting Numbers: [67, 36]
Generated Node #0,0,0: 26:[67, 36] Operation: 43-7=36
Exploring Operation: 67-43=24, Resulting Numbers: [7, 24]
Generated Node #0,0,1: 26:[7, 24] Operation: 67-43=24
Exploring Operation: 67-7=60, Resulting Numbers: [43, 60]
Generated Node #0,0,2: 26:[43, 60] Operation: 67-7=60
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 26:[7, 24], Operations: ['91-84=7', '67-43=24']
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,26 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,26 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,26 unequal: No Solution
No 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: 26:[67, 36], Operations: ['91-84=7', '43-7=36']
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,26 unequal: No Solution
Exploring Operation: 67+36=103, Resulting Numbers: [103]
103,26 unequal: No Solution
Exploring Operation: 67*36=2412, Resulting Numbers: [2412]
2412,26 unequal: No Solution
No 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: 26:[43, 60], Operations: ['91-84=7', '67-7=60']
Exploring Operation: 43*60=2580, Resulting Numbers: [2580]
2580,26 unequal: No Solution
Exploring Operation: 43+60=103, Resulting Numbers: [103]
103,26 unequal: No Solution
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,26 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: 26:[84, 43, 24], Operations: ['91-67=24']
Exploring Operation: 43-24=19, Resulting Numbers: [84, 19]
Generated Node #0,1,0: 26:[84, 19] Operation: 43-24=19
Exploring Operation: 84-43=41, Resulting Numbers: [24, 41]
Generated Node #0,1,1: 26:[24, 41] Operation: 84-43=41
Exploring Operation: 84-24=60, Resulting Numbers: [43, 60]
Generated Node #0,1,2: 26:[43, 60] Operation: 84-24=60
Moving to Node #0,1,1
Current State: 26:[24, 41], Operations: ['91-67=24', '84-43=41']
Exploring Operation: 41-24=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 24*41=984, Resulting Numbers: [984]
984,26 unequal: No Solution
Exploring Operation: 24+41=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[43, 60], Operations: ['91-67=24', '84-24=60']
Exploring Operation: 43*60=2580, Resulting Numbers: [2580]
2580,26 unequal: No Solution
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 43+60=103, Resulting Numbers: [103]
103,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[84, 19], Operations: ['91-67=24', '43-24=19']
Exploring Operation: 84*19=1596, Resulting Numbers: [1596]
1596,26 unequal: No Solution
Exploring Operation: 84-19=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 84+19=103, Resulting Numbers: [103]
103,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[43, 91, 17], Operations: ['84-67=17']
Exploring Operation: 91-43=48, Resulting Numbers: [17, 48]
Generated Node #0,2,0: 26:[17, 48] Operation: 91-43=48
Exploring Operation: 43-17=26, Resulting Numbers: [91, 26]
Generated Node #0,2,1: 26:[91, 26] Operation: 43-17=26
Exploring Operation: 91-17=74, Resulting Numbers: [43, 74]
Generated Node #0,2,2: 26:[43, 74] Operation: 91-17=74
Moving to Node #0,2,0
Current State: 26:[17, 48], Operations: ['84-67=17', '91-43=48']
Exploring Operation: 17+48=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,26 unequal: No Solution
Exploring Operation: 17*48=816, Resulting Numbers: [816]
816,26 unequal: No Solution
Moving to Node #0,2,1
Current State: 26:[91, 26], Operations: ['84-67=17', '43-17=26']
Exploring Operation: 91+26=117, Resulting Numbers: [117]
117,26 unequal: No Solution
Exploring Operation: 91-26=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 91*26=2366, Resulting Numbers: [2366]
2366,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[43, 74], Operations: ['84-67=17', '91-17=74']
Exploring Operation: 74-43=31, Resulting Numbers: [31]
31,26 unequal: No Solution
Exploring Operation: 43*74=3182, Resulting Numbers: [3182]
3182,26 unequal: No Solution
Exploring Operation: 43+74=117, Resulting Numbers: [117]
117,26 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 |
[
45,
94,
32,
56
] | 25 | [
"94-45=49",
"56-32=24",
"49-24=25"
] | Current State: 25:[45, 94, 32, 56], Operations: []
Exploring Operation: 94-45=49, Resulting Numbers: [32, 56, 49]
Generated Node #2: [32, 56, 49] from Operation: 94-45=49
Current State: 25:[32, 56, 49], Operations: ['94-45=49']
Exploring Operation: 56-32=24, Resulting Numbers: [49, 24]
Generated Node #3: [49, 24] from Operation: 56-32=24
Current State: 25:[49, 24], Operations: ['94-45=49', '56-32=24']
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[45, 94, 32, 56], Operations: []
Exploring Operation: 56-45=11, Resulting Numbers: [94, 32, 11]
Generated Node #0,0: 25:[94, 32, 11] Operation: 56-45=11
Exploring Operation: 94-56=38, Resulting Numbers: [45, 32, 38]
Generated Node #0,1: 25:[45, 32, 38] Operation: 94-56=38
Exploring Operation: 94-45=49, Resulting Numbers: [32, 56, 49]
Generated Node #0,2: 25:[32, 56, 49] Operation: 94-45=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[45, 32, 38], Operations: ['94-56=38']
Exploring Operation: 38-32=6, Resulting Numbers: [45, 6]
Generated Node #0,1,0: 25:[45, 6] Operation: 38-32=6
Exploring Operation: 45-38=7, Resulting Numbers: [32, 7]
Generated Node #0,1,1: 25:[32, 7] Operation: 45-38=7
Exploring Operation: 45-32=13, Resulting Numbers: [38, 13]
Generated Node #0,1,2: 25:[38, 13] Operation: 45-32=13
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[32, 7], Operations: ['94-56=38', '45-38=7']
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,25 unequal: No Solution
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[45, 94, 32, 56], Operations: []
Exploring Operation: 94-56=38, Resulting Numbers: [45, 32, 38]
Generated Node #0,1: 25:[45, 32, 38] Operation: 94-56=38
Moving to Node #0,1
Current State: 25:[45, 32, 38], Operations: ['94-56=38']
Exploring Operation: 45-38=7, Resulting Numbers: [32, 7]
Generated Node #0,1,1: 25:[32, 7] Operation: 45-38=7
Moving to Node #0,1,1
Current State: 25:[32, 7], Operations: ['94-56=38', '45-38=7']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
61,
73,
2,
37
] | 11 | [
"73-37=36",
"2*36=72",
"72-61=11"
] | Current State: 11:[61, 73, 2, 37], Operations: []
Exploring Operation: 73-37=36, Resulting Numbers: [61, 2, 36]
Generated Node #2: [61, 2, 36] from Operation: 73-37=36
Current State: 11:[61, 2, 36], Operations: ['73-37=36']
Exploring Operation: 2*36=72, Resulting Numbers: [61, 72]
Generated Node #3: [61, 72] from Operation: 2*36=72
Current State: 11:[61, 72], Operations: ['73-37=36', '2*36=72']
Exploring Operation: 72-61=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[61, 73, 2, 37], Operations: []
Exploring Operation: 73-61=12, Resulting Numbers: [2, 37, 12]
Generated Node #0,0: 11:[2, 37, 12] Operation: 73-61=12
Exploring Operation: 61-2=59, Resulting Numbers: [73, 37, 59]
Generated Node #0,1: 11:[73, 37, 59] Operation: 61-2=59
Exploring Operation: 73-37=36, Resulting Numbers: [61, 2, 36]
Generated Node #0,2: 11:[61, 2, 36] Operation: 73-37=36
Exploring Operation: 61-37=24, Resulting Numbers: [73, 2, 24]
Generated Node #0,3: 11:[73, 2, 24] Operation: 61-37=24
Moving to Node #0,0
Current State: 11:[2, 37, 12], Operations: ['73-61=12']
Exploring Operation: 2+37=39, Resulting Numbers: [12, 39]
Generated Node #0,0,0: 11:[12, 39] Operation: 2+37=39
Exploring Operation: 37-2=35, Resulting Numbers: [12, 35]
Generated Node #0,0,1: 11:[12, 35] Operation: 37-2=35
Exploring Operation: 37-12=25, Resulting Numbers: [2, 25]
Generated Node #0,0,2: 11:[2, 25] Operation: 37-12=25
Exploring Operation: 12-2=10, Resulting Numbers: [37, 10]
Generated Node #0,0,3: 11:[37, 10] Operation: 12-2=10
Moving to Node #0,3
Current State: 11:[73, 2, 24], Operations: ['61-37=24']
Exploring Operation: 73-2=71, Resulting Numbers: [24, 71]
Generated Node #0,3,0: 11:[24, 71] Operation: 73-2=71
Exploring Operation: 24/2=12, Resulting Numbers: [73, 12]
Generated Node #0,3,1: 11:[73, 12] Operation: 24/2=12
Exploring Operation: 73-24=49, Resulting Numbers: [2, 49]
Generated Node #0,3,2: 11:[2, 49] Operation: 73-24=49
Exploring Operation: 24-2=22, Resulting Numbers: [73, 22]
Generated Node #0,3,3: 11:[73, 22] Operation: 24-2=22
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 11:[2, 49], Operations: ['61-37=24', '73-24=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,11 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,11 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 11:[73, 12], Operations: ['61-37=24', '24/2=12']
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,11 unequal: No Solution
Exploring Operation: 73*12=876, Resulting Numbers: [876]
876,11 unequal: No Solution
Exploring Operation: 73+12=85, Resulting Numbers: [85]
85,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 11:[24, 71], Operations: ['61-37=24', '73-2=71']
Exploring Operation: 24+71=95, Resulting Numbers: [95]
95,11 unequal: No Solution
Exploring Operation: 71-24=47, Resulting Numbers: [47]
47,11 unequal: No Solution
Exploring Operation: 24*71=1704, Resulting Numbers: [1704]
1704,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 11:[73, 22], Operations: ['61-37=24', '24-2=22']
Exploring Operation: 73+22=95, Resulting Numbers: [95]
95,11 unequal: No Solution
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,11 unequal: No Solution
Exploring Operation: 73*22=1606, Resulting Numbers: [1606]
1606,11 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: 11:[61, 2, 36], Operations: ['73-37=36']
Exploring Operation: 36-2=34, Resulting Numbers: [61, 34]
Generated Node #0,2,0: 11:[61, 34] Operation: 36-2=34
Exploring Operation: 61-36=25, Resulting Numbers: [2, 25]
Generated Node #0,2,1: 11:[2, 25] Operation: 61-36=25
Exploring Operation: 36/2=18, Resulting Numbers: [61, 18]
Generated Node #0,2,2: 11:[61, 18] Operation: 36/2=18
Exploring Operation: 61-2=59, Resulting Numbers: [36, 59]
Generated Node #0,2,3: 11:[36, 59] Operation: 61-2=59
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 11:[2, 25], Operations: ['73-37=36', '61-36=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 11:[61, 18], Operations: ['73-37=36', '36/2=18']
Exploring Operation: 61*18=1098, Resulting Numbers: [1098]
1098,11 unequal: No Solution
Exploring Operation: 61+18=79, Resulting Numbers: [79]
79,11 unequal: No Solution
Exploring Operation: 61-18=43, Resulting Numbers: [43]
43,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 11:[61, 34], Operations: ['73-37=36', '36-2=34']
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,11 unequal: No Solution
Exploring Operation: 61+34=95, Resulting Numbers: [95]
95,11 unequal: No Solution
Exploring Operation: 61*34=2074, Resulting Numbers: [2074]
2074,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 11:[36, 59], Operations: ['73-37=36', '61-2=59']
Exploring Operation: 36+59=95, Resulting Numbers: [95]
95,11 unequal: No Solution
Exploring Operation: 36*59=2124, Resulting Numbers: [2124]
2124,11 unequal: No Solution
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,11 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: 11:[73, 37, 59], Operations: ['61-2=59']
Exploring Operation: 73-37=36, Resulting Numbers: [59, 36]
Generated Node #0,1,0: 11:[59, 36] Operation: 73-37=36
Exploring Operation: 73-59=14, Resulting Numbers: [37, 14]
Generated Node #0,1,1: 11:[37, 14] Operation: 73-59=14
Exploring Operation: 73+37=110, Resulting Numbers: [59, 110]
Generated Node #0,1,2: 11:[59, 110] Operation: 73+37=110
Exploring Operation: 59-37=22, Resulting Numbers: [73, 22]
Generated Node #0,1,3: 11:[73, 22] Operation: 59-37=22
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[37, 14], Operations: ['61-2=59', '73-59=14']
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Exploring Operation: 37+14=51, Resulting Numbers: [51]
51,11 unequal: No Solution
Exploring Operation: 37*14=518, Resulting Numbers: [518]
518,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[59, 36], Operations: ['61-2=59', '73-37=36']
Exploring Operation: 59*36=2124, Resulting Numbers: [2124]
2124,11 unequal: No Solution
Exploring Operation: 59+36=95, Resulting Numbers: [95]
95,11 unequal: No Solution
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 11:[73, 22], Operations: ['61-2=59', '59-37=22']
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,11 unequal: No Solution
Exploring Operation: 73+22=95, Resulting Numbers: [95]
95,11 unequal: No Solution
Exploring Operation: 73*22=1606, Resulting Numbers: [1606]
1606,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 11:[59, 110], Operations: ['61-2=59', '73+37=110']
Exploring Operation: 59+110=169, Resulting Numbers: [169]
169,11 unequal: No Solution
Exploring Operation: 59*110=6490, Resulting Numbers: [6490]
6490,11 unequal: No Solution
Exploring Operation: 110-59=51, Resulting Numbers: [51]
51,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 11:[2, 25], Operations: ['73-61=12', '37-12=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[12, 35], Operations: ['73-61=12', '37-2=35']
Exploring Operation: 12*35=420, Resulting Numbers: [420]
420,11 unequal: No Solution
Exploring Operation: 12+35=47, Resulting Numbers: [47]
47,11 unequal: No Solution
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Moving to Node #0,0,3
Current State: 11:[37, 10], Operations: ['73-61=12', '12-2=10']
Exploring Operation: 37*10=370, Resulting Numbers: [370]
370,11 unequal: No Solution
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,11 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[12, 39], Operations: ['73-61=12', '2+37=39']
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,11 unequal: No Solution
Exploring Operation: 12*39=468, Resulting Numbers: [468]
468,11 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,11 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
46,
98,
66,
84
] | 96 | [
"46+66=112",
"84*112=9408",
"9408/98=96"
] | Current State: 96:[46, 98, 66, 84], Operations: []
Exploring Operation: 46+66=112, Resulting Numbers: [98, 84, 112]
Generated Node #2: [98, 84, 112] from Operation: 46+66=112
Current State: 96:[98, 84, 112], Operations: ['46+66=112']
Exploring Operation: 84*112=9408, Resulting Numbers: [98, 9408]
Generated Node #3: [98, 9408] from Operation: 84*112=9408
Current State: 96:[98, 9408], Operations: ['46+66=112', '84*112=9408']
Exploring Operation: 9408/98=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[46, 98, 66, 84], Operations: []
Exploring Operation: 98-84=14, Resulting Numbers: [46, 66, 14]
Generated Node #0,0: 96:[46, 66, 14] Operation: 98-84=14
Exploring Operation: 98-66=32, Resulting Numbers: [46, 84, 32]
Generated Node #0,1: 96:[46, 84, 32] Operation: 98-66=32
Exploring Operation: 66-46=20, Resulting Numbers: [98, 84, 20]
Generated Node #0,2: 96:[98, 84, 20] Operation: 66-46=20
Exploring Operation: 84-66=18, Resulting Numbers: [46, 98, 18]
Generated Node #0,3: 96:[46, 98, 18] Operation: 84-66=18
Start Sub Search at level 1: Moving to Node #0,3
Current State: 96:[46, 98, 18], Operations: ['84-66=18']
Exploring Operation: 98-46=52, Resulting Numbers: [18, 52]
Generated Node #0,3,0: 96:[18, 52] Operation: 98-46=52
Exploring Operation: 98-18=80, Resulting Numbers: [46, 80]
Generated Node #0,3,1: 96:[46, 80] Operation: 98-18=80
Exploring Operation: 46-18=28, Resulting Numbers: [98, 28]
Generated Node #0,3,2: 96:[98, 28] Operation: 46-18=28
Exploring Operation: 46+18=64, Resulting Numbers: [98, 64]
Generated Node #0,3,3: 96:[98, 64] Operation: 46+18=64
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 96:[18, 52], Operations: ['84-66=18', '98-46=52']
Exploring Operation: 18+52=70, Resulting Numbers: [70]
70,96 unequal: No Solution
Exploring Operation: 18*52=936, Resulting Numbers: [936]
936,96 unequal: No Solution
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 96:[98, 28], Operations: ['84-66=18', '46-18=28']
Exploring Operation: 98-28=70, Resulting Numbers: [70]
70,96 unequal: No Solution
Exploring Operation: 98*28=2744, Resulting Numbers: [2744]
2744,96 unequal: No Solution
Exploring Operation: 98+28=126, Resulting Numbers: [126]
126,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 96:[46, 80], Operations: ['84-66=18', '98-18=80']
Exploring Operation: 80-46=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 46*80=3680, Resulting Numbers: [3680]
3680,96 unequal: No Solution
Exploring Operation: 46+80=126, Resulting Numbers: [126]
126,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 96:[98, 64], Operations: ['84-66=18', '46+18=64']
Exploring Operation: 98+64=162, Resulting Numbers: [162]
162,96 unequal: No Solution
Exploring Operation: 98-64=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 98*64=6272, Resulting Numbers: [6272]
6272,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[46, 84, 32], Operations: ['98-66=32']
Exploring Operation: 84-46=38, Resulting Numbers: [32, 38]
Generated Node #0,1,0: 96:[32, 38] Operation: 84-46=38
Exploring Operation: 84-32=52, Resulting Numbers: [46, 52]
Generated Node #0,1,1: 96:[46, 52] Operation: 84-32=52
Exploring Operation: 46-32=14, Resulting Numbers: [84, 14]
Generated Node #0,1,2: 96:[84, 14] Operation: 46-32=14
Exploring Operation: 84+32=116, Resulting Numbers: [46, 116]
Generated Node #0,1,3: 96:[46, 116] Operation: 84+32=116
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[32, 38], Operations: ['98-66=32', '84-46=38']
Exploring Operation: 32*38=1216, Resulting Numbers: [1216]
1216,96 unequal: No Solution
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 32+38=70, Resulting Numbers: [70]
70,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[46, 52], Operations: ['98-66=32', '84-32=52']
Exploring Operation: 46*52=2392, Resulting Numbers: [2392]
2392,96 unequal: No Solution
Exploring Operation: 46+52=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 52-46=6, Resulting Numbers: [6]
6,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 96:[84, 14], Operations: ['98-66=32', '46-32=14']
Exploring Operation: 84*14=1176, Resulting Numbers: [1176]
1176,96 unequal: No Solution
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,96 unequal: No Solution
Exploring Operation: 84/14=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 84+14=98, Resulting Numbers: [98]
98,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 96:[46, 116], Operations: ['98-66=32', '84+32=116']
Exploring Operation: 46+116=162, Resulting Numbers: [162]
162,96 unequal: No Solution
Exploring Operation: 116-46=70, Resulting Numbers: [70]
70,96 unequal: No Solution
Exploring Operation: 46*116=5336, Resulting Numbers: [5336]
5336,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[98, 84, 20], Operations: ['66-46=20']
Exploring Operation: 84-20=64, Resulting Numbers: [98, 64]
Generated Node #0,2,0: 96:[98, 64] Operation: 84-20=64
Exploring Operation: 84+20=104, Resulting Numbers: [98, 104]
Generated Node #0,2,1: 96:[98, 104] Operation: 84+20=104
Exploring Operation: 98-20=78, Resulting Numbers: [84, 78]
Generated Node #0,2,2: 96:[84, 78] Operation: 98-20=78
Exploring Operation: 98-84=14, Resulting Numbers: [20, 14]
Generated Node #0,2,3: 96:[20, 14] Operation: 98-84=14
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 96:[20, 14], Operations: ['66-46=20', '98-84=14']
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,96 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 96:[98, 104], Operations: ['66-46=20', '84+20=104']
Exploring Operation: 98*104=10192, Resulting Numbers: [10192]
10192,96 unequal: No Solution
Exploring Operation: 104-98=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 98+104=202, Resulting Numbers: [202]
202,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[98, 64], Operations: ['66-46=20', '84-20=64']
Exploring Operation: 98*64=6272, Resulting Numbers: [6272]
6272,96 unequal: No Solution
Exploring Operation: 98-64=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 98+64=162, Resulting Numbers: [162]
162,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 96:[84, 78], Operations: ['66-46=20', '98-20=78']
Exploring Operation: 84*78=6552, Resulting Numbers: [6552]
6552,96 unequal: No Solution
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 84+78=162, Resulting Numbers: [162]
162,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[46, 66, 14], Operations: ['98-84=14']
Exploring Operation: 46-14=32, Resulting Numbers: [66, 32]
Generated Node #0,0,0: 96:[66, 32] Operation: 46-14=32
Exploring Operation: 66-46=20, Resulting Numbers: [14, 20]
Generated Node #0,0,1: 96:[14, 20] Operation: 66-46=20
Exploring Operation: 66-14=52, Resulting Numbers: [46, 52]
Generated Node #0,0,2: 96:[46, 52] Operation: 66-14=52
Exploring Operation: 46+66=112, Resulting Numbers: [14, 112]
Generated Node #0,0,3: 96:[14, 112] Operation: 46+66=112
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[14, 20], Operations: ['98-84=14', '66-46=20']
Exploring Operation: 14*20=280, Resulting Numbers: [280]
280,96 unequal: No Solution
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 96:[46, 52], Operations: ['98-84=14', '66-14=52']
Exploring Operation: 46+52=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 46*52=2392, Resulting Numbers: [2392]
2392,96 unequal: No Solution
Exploring Operation: 52-46=6, Resulting Numbers: [6]
6,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[66, 32], Operations: ['98-84=14', '46-14=32']
Exploring Operation: 66*32=2112, Resulting Numbers: [2112]
2112,96 unequal: No Solution
Exploring Operation: 66+32=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 96:[14, 112], Operations: ['98-84=14', '46+66=112']
Exploring Operation: 112/14=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 14*112=1568, Resulting Numbers: [1568]
1568,96 unequal: No Solution
Exploring Operation: 14+112=126, Resulting Numbers: [126]
126,96 unequal: No Solution
Exploring Operation: 112-14=98, Resulting Numbers: [98]
98,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
1,
47,
5,
71
] | 28 | [
"1+47=48",
"5+71=76",
"76-48=28"
] | Current State: 28:[1, 47, 5, 71], Operations: []
Exploring Operation: 1+47=48, Resulting Numbers: [5, 71, 48]
Generated Node #2: [5, 71, 48] from Operation: 1+47=48
Current State: 28:[5, 71, 48], Operations: ['1+47=48']
Exploring Operation: 5+71=76, Resulting Numbers: [48, 76]
Generated Node #3: [48, 76] from Operation: 5+71=76
Current State: 28:[48, 76], Operations: ['1+47=48', '5+71=76']
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[1, 47, 5, 71], Operations: []
Exploring Operation: 47-5=42, Resulting Numbers: [1, 71, 42]
Generated Node #0,0: 28:[1, 71, 42] Operation: 47-5=42
Exploring Operation: 71-47=24, Resulting Numbers: [1, 5, 24]
Generated Node #0,1: 28:[1, 5, 24] Operation: 71-47=24
Moving to Node #0,1
Current State: 28:[1, 5, 24], Operations: ['71-47=24']
Exploring Operation: 5-1=4, Resulting Numbers: [24, 4]
Generated Node #0,1,0: 28:[24, 4] Operation: 5-1=4
Exploring Operation: 5+24=29, Resulting Numbers: [1, 29]
Generated Node #0,1,1: 28:[1, 29] Operation: 5+24=29
Moving to Node #0,0
Current State: 28:[1, 71, 42], Operations: ['47-5=42']
Exploring Operation: 71-1=70, Resulting Numbers: [42, 70]
Generated Node #0,0,0: 28:[42, 70] Operation: 71-1=70
Exploring Operation: 71-42=29, Resulting Numbers: [1, 29]
Generated Node #0,0,1: 28:[1, 29] Operation: 71-42=29
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[1, 29], Operations: ['47-5=42', '71-42=29']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[1, 47, 5, 71], Operations: []
Exploring Operation: 47-5=42, Resulting Numbers: [1, 71, 42]
Generated Node #0,0: 28:[1, 71, 42] Operation: 47-5=42
Moving to Node #0,0
Current State: 28:[1, 71, 42], Operations: ['47-5=42']
Exploring Operation: 71-42=29, Resulting Numbers: [1, 29]
Generated Node #0,0,1: 28:[1, 29] Operation: 71-42=29
Moving to Node #0,0,1
Current State: 28:[1, 29], Operations: ['47-5=42', '71-42=29']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
44,
32,
37,
26
] | 40 | [
"44*26=1144",
"32*37=1184",
"1184-1144=40"
] | Current State: 40:[44, 32, 37, 26], Operations: []
Exploring Operation: 44*26=1144, Resulting Numbers: [32, 37, 1144]
Generated Node #2: [32, 37, 1144] from Operation: 44*26=1144
Current State: 40:[32, 37, 1144], Operations: ['44*26=1144']
Exploring Operation: 32*37=1184, Resulting Numbers: [1144, 1184]
Generated Node #3: [1144, 1184] from Operation: 32*37=1184
Current State: 40:[1144, 1184], Operations: ['44*26=1144', '32*37=1184']
Exploring Operation: 1184-1144=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[44, 32, 37, 26], Operations: []
Exploring Operation: 37-26=11, Resulting Numbers: [44, 32, 11]
Generated Node #0,0: 40:[44, 32, 11] Operation: 37-26=11
Exploring Operation: 32-26=6, Resulting Numbers: [44, 37, 6]
Generated Node #0,1: 40:[44, 37, 6] Operation: 32-26=6
Exploring Operation: 37-32=5, Resulting Numbers: [44, 26, 5]
Generated Node #0,2: 40:[44, 26, 5] Operation: 37-32=5
Exploring Operation: 44-32=12, Resulting Numbers: [37, 26, 12]
Generated Node #0,3: 40:[37, 26, 12] Operation: 44-32=12
Exploring Operation: 44-26=18, Resulting Numbers: [32, 37, 18]
Generated Node #0,4: 40:[32, 37, 18] Operation: 44-26=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[44, 37, 6], Operations: ['32-26=6']
Exploring Operation: 37+6=43, Resulting Numbers: [44, 43]
Generated Node #0,1,0: 40:[44, 43] Operation: 37+6=43
Exploring Operation: 44-6=38, Resulting Numbers: [37, 38]
Generated Node #0,1,1: 40:[37, 38] Operation: 44-6=38
Exploring Operation: 37-6=31, Resulting Numbers: [44, 31]
Generated Node #0,1,2: 40:[44, 31] Operation: 37-6=31
Exploring Operation: 44+6=50, Resulting Numbers: [37, 50]
Generated Node #0,1,3: 40:[37, 50] Operation: 44+6=50
Exploring Operation: 44-37=7, Resulting Numbers: [6, 7]
Generated Node #0,1,4: 40:[6, 7] Operation: 44-37=7
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 40:[6, 7], Operations: ['32-26=6', '44-37=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,40 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,40 unequal: No Solution
No 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: 40:[37, 38], Operations: ['32-26=6', '44-6=38']
Exploring Operation: 37*38=1406, Resulting Numbers: [1406]
1406,40 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 37+38=75, Resulting Numbers: [75]
75,40 unequal: No Solution
No 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: 40:[44, 43], Operations: ['32-26=6', '37+6=43']
Exploring Operation: 44*43=1892, Resulting Numbers: [1892]
1892,40 unequal: No Solution
Exploring Operation: 44+43=87, Resulting Numbers: [87]
87,40 unequal: No Solution
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,40 unequal: No Solution
No 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: 40:[44, 31], Operations: ['32-26=6', '37-6=31']
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,40 unequal: No Solution
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,40 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,40 unequal: No Solution
No 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: 40:[37, 50], Operations: ['32-26=6', '44+6=50']
Exploring Operation: 37*50=1850, Resulting Numbers: [1850]
1850,40 unequal: No Solution
Exploring Operation: 37+50=87, Resulting Numbers: [87]
87,40 unequal: No Solution
Exploring Operation: 50-37=13, Resulting Numbers: [13]
13,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[44, 26, 5], Operations: ['37-32=5']
Exploring Operation: 44-26=18, Resulting Numbers: [5, 18]
Generated Node #0,2,0: 40:[5, 18] Operation: 44-26=18
Exploring Operation: 44+5=49, Resulting Numbers: [26, 49]
Generated Node #0,2,1: 40:[26, 49] Operation: 44+5=49
Exploring Operation: 26-5=21, Resulting Numbers: [44, 21]
Generated Node #0,2,2: 40:[44, 21] Operation: 26-5=21
Exploring Operation: 26+5=31, Resulting Numbers: [44, 31]
Generated Node #0,2,3: 40:[44, 31] Operation: 26+5=31
Exploring Operation: 44-5=39, Resulting Numbers: [26, 39]
Generated Node #0,2,4: 40:[26, 39] Operation: 44-5=39
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 40:[5, 18], Operations: ['37-32=5', '44-26=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,40 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,40 unequal: No Solution
No 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: 40:[44, 21], Operations: ['37-32=5', '26-5=21']
Exploring Operation: 44*21=924, Resulting Numbers: [924]
924,40 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,40 unequal: No Solution
No 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: 40:[26, 39], Operations: ['37-32=5', '44-5=39']
Exploring Operation: 26*39=1014, Resulting Numbers: [1014]
1014,40 unequal: No Solution
Exploring Operation: 26+39=65, Resulting Numbers: [65]
65,40 unequal: No Solution
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,40 unequal: No Solution
No 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: 40:[44, 31], Operations: ['37-32=5', '26+5=31']
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,40 unequal: No Solution
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,40 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,40 unequal: No Solution
No 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: 40:[26, 49], Operations: ['37-32=5', '44+5=49']
Exploring Operation: 26*49=1274, Resulting Numbers: [1274]
1274,40 unequal: No Solution
Exploring Operation: 26+49=75, Resulting Numbers: [75]
75,40 unequal: No Solution
Exploring Operation: 49-26=23, Resulting Numbers: [23]
23,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 40:[37, 26, 12], Operations: ['44-32=12']
Exploring Operation: 37-26=11, Resulting Numbers: [12, 11]
Generated Node #0,3,0: 40:[12, 11] Operation: 37-26=11
Exploring Operation: 26-12=14, Resulting Numbers: [37, 14]
Generated Node #0,3,1: 40:[37, 14] Operation: 26-12=14
Exploring Operation: 37+12=49, Resulting Numbers: [26, 49]
Generated Node #0,3,2: 40:[26, 49] Operation: 37+12=49
Exploring Operation: 37-12=25, Resulting Numbers: [26, 25]
Generated Node #0,3,3: 40:[26, 25] Operation: 37-12=25
Exploring Operation: 26+12=38, Resulting Numbers: [37, 38]
Generated Node #0,3,4: 40:[37, 38] Operation: 26+12=38
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 40:[12, 11], Operations: ['44-32=12', '37-26=11']
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,40 unequal: No Solution
No 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: 40:[37, 38], Operations: ['44-32=12', '26+12=38']
Exploring Operation: 37*38=1406, Resulting Numbers: [1406]
1406,40 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 37+38=75, Resulting Numbers: [75]
75,40 unequal: No Solution
No 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: 40:[37, 14], Operations: ['44-32=12', '26-12=14']
Exploring Operation: 37*14=518, Resulting Numbers: [518]
518,40 unequal: No Solution
Exploring Operation: 37+14=51, Resulting Numbers: [51]
51,40 unequal: No Solution
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,40 unequal: No Solution
No 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: 40:[26, 25], Operations: ['44-32=12', '37-12=25']
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,40 unequal: No Solution
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,40 unequal: No Solution
No 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: 40:[26, 49], Operations: ['44-32=12', '37+12=49']
Exploring Operation: 26+49=75, Resulting Numbers: [75]
75,40 unequal: No Solution
Exploring Operation: 49-26=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 26*49=1274, Resulting Numbers: [1274]
1274,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[44, 32, 11], Operations: ['37-26=11']
Exploring Operation: 32+11=43, Resulting Numbers: [44, 43]
Generated Node #0,0,0: 40:[44, 43] Operation: 32+11=43
Exploring Operation: 44-11=33, Resulting Numbers: [32, 33]
Generated Node #0,0,1: 40:[32, 33] Operation: 44-11=33
Exploring Operation: 44-32=12, Resulting Numbers: [11, 12]
Generated Node #0,0,2: 40:[11, 12] Operation: 44-32=12
Exploring Operation: 32-11=21, Resulting Numbers: [44, 21]
Generated Node #0,0,3: 40:[44, 21] Operation: 32-11=21
Exploring Operation: 44/11=4, Resulting Numbers: [32, 4]
Generated Node #0,0,4: 40:[32, 4] Operation: 44/11=4
Moving to Node #0,0,2
Current State: 40:[11, 12], Operations: ['37-26=11', '44-32=12']
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,40 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Moving to Node #0,0,3
Current State: 40:[44, 21], Operations: ['37-26=11', '32-11=21']
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,40 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 44*21=924, Resulting Numbers: [924]
924,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[44, 43], Operations: ['37-26=11', '32+11=43']
Exploring Operation: 44*43=1892, Resulting Numbers: [1892]
1892,40 unequal: No Solution
Exploring Operation: 44+43=87, Resulting Numbers: [87]
87,40 unequal: No Solution
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Moving to Node #0,0,4
Current State: 40:[32, 4], Operations: ['37-26=11', '44/11=4']
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 32*4=128, Resulting Numbers: [128]
128,40 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[32, 33], Operations: ['37-26=11', '44-11=33']
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,40 unequal: No Solution
Exploring Operation: 32*33=1056, Resulting Numbers: [1056]
1056,40 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 40:[32, 37, 18], Operations: ['44-26=18']
Exploring Operation: 32-18=14, Resulting Numbers: [37, 14]
Generated Node #0,4,0: 40:[37, 14] Operation: 32-18=14
Exploring Operation: 37+18=55, Resulting Numbers: [32, 55]
Generated Node #0,4,1: 40:[32, 55] Operation: 37+18=55
Exploring Operation: 37-18=19, Resulting Numbers: [32, 19]
Generated Node #0,4,2: 40:[32, 19] Operation: 37-18=19
Exploring Operation: 32+18=50, Resulting Numbers: [37, 50]
Generated Node #0,4,3: 40:[37, 50] Operation: 32+18=50
Exploring Operation: 37-32=5, Resulting Numbers: [18, 5]
Generated Node #0,4,4: 40:[18, 5] Operation: 37-32=5
Moving to Node #0,4,4
Current State: 40:[18, 5], Operations: ['44-26=18', '37-32=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,40 unequal: No Solution
Moving to Node #0,4,0
Current State: 40:[37, 14], Operations: ['44-26=18', '32-18=14']
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 37+14=51, Resulting Numbers: [51]
51,40 unequal: No Solution
Exploring Operation: 37*14=518, Resulting Numbers: [518]
518,40 unequal: No Solution
Moving to Node #0,4,2
Current State: 40:[32, 19], Operations: ['44-26=18', '37-18=19']
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,40 unequal: No Solution
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,40 unequal: No Solution
Moving to Node #0,4,3
Current State: 40:[37, 50], Operations: ['44-26=18', '32+18=50']
Exploring Operation: 37+50=87, Resulting Numbers: [87]
87,40 unequal: No Solution
Exploring Operation: 37*50=1850, Resulting Numbers: [1850]
1850,40 unequal: No Solution
Exploring Operation: 50-37=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Moving to Node #0,4,1
Current State: 40:[32, 55], Operations: ['44-26=18', '37+18=55']
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 32+55=87, Resulting Numbers: [87]
87,40 unequal: No Solution
Exploring Operation: 32*55=1760, Resulting Numbers: [1760]
1760,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
21,
43,
19,
16
] | 54 | [
"21-19=2",
"43-16=27",
"2*27=54"
] | Current State: 54:[21, 43, 19, 16], Operations: []
Exploring Operation: 21-19=2, Resulting Numbers: [43, 16, 2]
Generated Node #2: [43, 16, 2] from Operation: 21-19=2
Current State: 54:[43, 16, 2], Operations: ['21-19=2']
Exploring Operation: 43-16=27, Resulting Numbers: [2, 27]
Generated Node #3: [2, 27] from Operation: 43-16=27
Current State: 54:[2, 27], Operations: ['21-19=2', '43-16=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[21, 43, 19, 16], Operations: []
Exploring Operation: 43-16=27, Resulting Numbers: [21, 19, 27]
Generated Node #0,0: 54:[21, 19, 27] Operation: 43-16=27
Moving to Node #0,0
Current State: 54:[21, 19, 27], Operations: ['43-16=27']
Exploring Operation: 21-19=2, Resulting Numbers: [27, 2]
Generated Node #0,0,0: 54:[27, 2] Operation: 21-19=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[27, 2], Operations: ['43-16=27', '21-19=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[21, 43, 19, 16], Operations: []
Exploring Operation: 43-16=27, Resulting Numbers: [21, 19, 27]
Generated Node #0,0: 54:[21, 19, 27] Operation: 43-16=27
Moving to Node #0,0
Current State: 54:[21, 19, 27], Operations: ['43-16=27']
Exploring Operation: 21-19=2, Resulting Numbers: [27, 2]
Generated Node #0,0,0: 54:[27, 2] Operation: 21-19=2
Moving to Node #0,0,0
Current State: 54:[27, 2], Operations: ['43-16=27', '21-19=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
91,
28,
48,
7
] | 49 | [
"91-7=84",
"28*84=2352",
"2352/48=49"
] | Current State: 49:[91, 28, 48, 7], Operations: []
Exploring Operation: 91-7=84, Resulting Numbers: [28, 48, 84]
Generated Node #2: [28, 48, 84] from Operation: 91-7=84
Current State: 49:[28, 48, 84], Operations: ['91-7=84']
Exploring Operation: 28*84=2352, Resulting Numbers: [48, 2352]
Generated Node #3: [48, 2352] from Operation: 28*84=2352
Current State: 49:[48, 2352], Operations: ['91-7=84', '28*84=2352']
Exploring Operation: 2352/48=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[91, 28, 48, 7], Operations: []
Exploring Operation: 91/7=13, Resulting Numbers: [28, 48, 13]
Generated Node #0,0: 49:[28, 48, 13] Operation: 91/7=13
Exploring Operation: 91-28=63, Resulting Numbers: [48, 7, 63]
Generated Node #0,1: 49:[48, 7, 63] Operation: 91-28=63
Exploring Operation: 91-48=43, Resulting Numbers: [28, 7, 43]
Generated Node #0,2: 49:[28, 7, 43] Operation: 91-48=43
Moving to Node #0,1
Current State: 49:[48, 7, 63], Operations: ['91-28=63']
Exploring Operation: 63/7=9, Resulting Numbers: [48, 9]
Generated Node #0,1,0: 49:[48, 9] Operation: 63/7=9
Exploring Operation: 63-7=56, Resulting Numbers: [48, 56]
Generated Node #0,1,1: 49:[48, 56] Operation: 63-7=56
Exploring Operation: 63-48=15, Resulting Numbers: [7, 15]
Generated Node #0,1,2: 49:[7, 15] Operation: 63-48=15
Moving to Node #0,2
Current State: 49:[28, 7, 43], Operations: ['91-48=43']
Exploring Operation: 43-28=15, Resulting Numbers: [7, 15]
Generated Node #0,2,0: 49:[7, 15] Operation: 43-28=15
Exploring Operation: 28/7=4, Resulting Numbers: [43, 4]
Generated Node #0,2,1: 49:[43, 4] Operation: 28/7=4
Exploring Operation: 28+7=35, Resulting Numbers: [43, 35]
Generated Node #0,2,2: 49:[43, 35] Operation: 28+7=35
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[7, 15], Operations: ['91-48=43', '43-28=15']
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,49 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[43, 4], Operations: ['91-48=43', '28/7=4']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,49 unequal: No Solution
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[43, 35], Operations: ['91-48=43', '28+7=35']
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 43+35=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Exploring Operation: 43*35=1505, Resulting Numbers: [1505]
1505,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 49:[28, 48, 13], Operations: ['91/7=13']
Exploring Operation: 48-28=20, Resulting Numbers: [13, 20]
Generated Node #0,0,0: 49:[13, 20] Operation: 48-28=20
Exploring Operation: 28+13=41, Resulting Numbers: [48, 41]
Generated Node #0,0,1: 49:[48, 41] Operation: 28+13=41
Exploring Operation: 28-13=15, Resulting Numbers: [48, 15]
Generated Node #0,0,2: 49:[48, 15] Operation: 28-13=15
Moving to Node #0,1,0
Current State: 49:[48, 9], Operations: ['91-28=63', '63/7=9']
Exploring Operation: 48*9=432, Resulting Numbers: [432]
432,49 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[7, 15], Operations: ['91-28=63', '63-48=15']
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,49 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[48, 56], Operations: ['91-28=63', '63-7=56']
Exploring Operation: 48*56=2688, Resulting Numbers: [2688]
2688,49 unequal: No Solution
Exploring Operation: 48+56=104, Resulting Numbers: [104]
104,49 unequal: No Solution
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[48, 41], Operations: ['91/7=13', '28+13=41']
Exploring Operation: 48+41=89, Resulting Numbers: [89]
89,49 unequal: No Solution
Exploring Operation: 48-41=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 48*41=1968, Resulting Numbers: [1968]
1968,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[48, 15], Operations: ['91/7=13', '28-13=15']
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,49 unequal: No Solution
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,49 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[13, 20], Operations: ['91/7=13', '48-28=20']
Exploring Operation: 13*20=260, Resulting Numbers: [260]
260,49 unequal: No Solution
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,49 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,49 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
92,
75,
5,
98
] | 53 | [
"92+75=167",
"98+167=265",
"265/5=53"
] | Current State: 53:[92, 75, 5, 98], Operations: []
Exploring Operation: 92+75=167, Resulting Numbers: [5, 98, 167]
Generated Node #2: [5, 98, 167] from Operation: 92+75=167
Current State: 53:[5, 98, 167], Operations: ['92+75=167']
Exploring Operation: 98+167=265, Resulting Numbers: [5, 265]
Generated Node #3: [5, 265] from Operation: 98+167=265
Current State: 53:[5, 265], Operations: ['92+75=167', '98+167=265']
Exploring Operation: 265/5=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[92, 75, 5, 98], Operations: []
Exploring Operation: 75-5=70, Resulting Numbers: [92, 98, 70]
Generated Node #0,0: 53:[92, 98, 70] Operation: 75-5=70
Exploring Operation: 92-5=87, Resulting Numbers: [75, 98, 87]
Generated Node #0,1: 53:[75, 98, 87] Operation: 92-5=87
Moving to Node #0,0
Current State: 53:[92, 98, 70], Operations: ['75-5=70']
Exploring Operation: 98-70=28, Resulting Numbers: [92, 28]
Generated Node #0,0,0: 53:[92, 28] Operation: 98-70=28
Exploring Operation: 98-92=6, Resulting Numbers: [70, 6]
Generated Node #0,0,1: 53:[70, 6] Operation: 98-92=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[92, 28], Operations: ['75-5=70', '98-70=28']
Exploring Operation: 92-28=64, Resulting Numbers: [64]
64,53 unequal: No Solution
Exploring Operation: 92+28=120, Resulting Numbers: [120]
120,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[70, 6], Operations: ['75-5=70', '98-92=6']
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,53 unequal: No Solution
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 53:[75, 98, 87], Operations: ['92-5=87']
Exploring Operation: 98-75=23, Resulting Numbers: [87, 23]
Generated Node #0,1,0: 53:[87, 23] Operation: 98-75=23
Exploring Operation: 98-87=11, Resulting Numbers: [75, 11]
Generated Node #0,1,1: 53:[75, 11] Operation: 98-87=11
Moving to Node #0,1,0
Current State: 53:[87, 23], Operations: ['92-5=87', '98-75=23']
Exploring Operation: 87+23=110, Resulting Numbers: [110]
110,53 unequal: No Solution
Exploring Operation: 87-23=64, Resulting Numbers: [64]
64,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[75, 11], Operations: ['92-5=87', '98-87=11']
Exploring Operation: 75+11=86, Resulting Numbers: [86]
86,53 unequal: No Solution
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,53 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
73,
60,
16,
96
] | 99 | [
"73-60=13",
"16+96=112",
"112-13=99"
] | Current State: 99:[73, 60, 16, 96], Operations: []
Exploring Operation: 73-60=13, Resulting Numbers: [16, 96, 13]
Generated Node #2: [16, 96, 13] from Operation: 73-60=13
Current State: 99:[16, 96, 13], Operations: ['73-60=13']
Exploring Operation: 16+96=112, Resulting Numbers: [13, 112]
Generated Node #3: [13, 112] from Operation: 16+96=112
Current State: 99:[13, 112], Operations: ['73-60=13', '16+96=112']
Exploring Operation: 112-13=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[73, 60, 16, 96], Operations: []
Exploring Operation: 73-60=13, Resulting Numbers: [16, 96, 13]
Generated Node #0,0: 99:[16, 96, 13] Operation: 73-60=13
Exploring Operation: 96-60=36, Resulting Numbers: [73, 16, 36]
Generated Node #0,1: 99:[73, 16, 36] Operation: 96-60=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[16, 96, 13], Operations: ['73-60=13']
Exploring Operation: 16-13=3, Resulting Numbers: [96, 3]
Generated Node #0,0,0: 99:[96, 3] Operation: 16-13=3
Exploring Operation: 96/16=6, Resulting Numbers: [13, 6]
Generated Node #0,0,1: 99:[13, 6] Operation: 96/16=6
Moving to Node #0,0,0
Current State: 99:[96, 3], Operations: ['73-60=13', '16-13=3']
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[73, 60, 16, 96], Operations: []
Exploring Operation: 73-60=13, Resulting Numbers: [16, 96, 13]
Generated Node #0,0: 99:[16, 96, 13] Operation: 73-60=13
Moving to Node #0,0
Current State: 99:[16, 96, 13], Operations: ['73-60=13']
Exploring Operation: 16-13=3, Resulting Numbers: [96, 3]
Generated Node #0,0,0: 99:[96, 3] Operation: 16-13=3
Moving to Node #0,0,0
Current State: 99:[96, 3], Operations: ['73-60=13', '16-13=3']
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
74,
76,
8,
29
] | 19 | [
"76-74=2",
"29-8=21",
"21-2=19"
] | Current State: 19:[74, 76, 8, 29], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [8, 29, 2]
Generated Node #2: [8, 29, 2] from Operation: 76-74=2
Current State: 19:[8, 29, 2], Operations: ['76-74=2']
Exploring Operation: 29-8=21, Resulting Numbers: [2, 21]
Generated Node #3: [2, 21] from Operation: 29-8=21
Current State: 19:[2, 21], Operations: ['76-74=2', '29-8=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[74, 76, 8, 29], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [8, 29, 2]
Generated Node #0,0: 19:[8, 29, 2] Operation: 76-74=2
Exploring Operation: 74-29=45, Resulting Numbers: [76, 8, 45]
Generated Node #0,1: 19:[76, 8, 45] Operation: 74-29=45
Moving to Node #0,0
Current State: 19:[8, 29, 2], Operations: ['76-74=2']
Exploring Operation: 8*2=16, Resulting Numbers: [29, 16]
Generated Node #0,0,0: 19:[29, 16] Operation: 8*2=16
Exploring Operation: 29-8=21, Resulting Numbers: [2, 21]
Generated Node #0,0,1: 19:[2, 21] Operation: 29-8=21
Moving to Node #0,1
Current State: 19:[76, 8, 45], Operations: ['74-29=45']
Exploring Operation: 76-45=31, Resulting Numbers: [8, 31]
Generated Node #0,1,0: 19:[8, 31] Operation: 76-45=31
Exploring Operation: 76-8=68, Resulting Numbers: [45, 68]
Generated Node #0,1,1: 19:[45, 68] Operation: 76-8=68
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[8, 31], Operations: ['74-29=45', '76-45=31']
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[45, 68], Operations: ['74-29=45', '76-8=68']
Exploring Operation: 68-45=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 45+68=113, Resulting Numbers: [113]
113,19 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: 19:[29, 16], Operations: ['76-74=2', '8*2=16']
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,19 unequal: No Solution
Exploring Operation: 29+16=45, Resulting Numbers: [45]
45,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[2, 21], Operations: ['76-74=2', '29-8=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[74, 76, 8, 29], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [8, 29, 2]
Generated Node #0,0: 19:[8, 29, 2] Operation: 76-74=2
Moving to Node #0,0
Current State: 19:[8, 29, 2], Operations: ['76-74=2']
Exploring Operation: 29-8=21, Resulting Numbers: [2, 21]
Generated Node #0,0,1: 19:[2, 21] Operation: 29-8=21
Moving to Node #0,0,1
Current State: 19:[2, 21], Operations: ['76-74=2', '29-8=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 0.985243 | hs_2 | mult_heuristic |
[
33,
3,
23,
64
] | 58 | [
"33*3=99",
"64-23=41",
"99-41=58"
] | Current State: 58:[33, 3, 23, 64], Operations: []
Exploring Operation: 33*3=99, Resulting Numbers: [23, 64, 99]
Generated Node #2: [23, 64, 99] from Operation: 33*3=99
Current State: 58:[23, 64, 99], Operations: ['33*3=99']
Exploring Operation: 64-23=41, Resulting Numbers: [99, 41]
Generated Node #3: [99, 41] from Operation: 64-23=41
Current State: 58:[99, 41], Operations: ['33*3=99', '64-23=41']
Exploring Operation: 99-41=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[33, 3, 23, 64], Operations: []
Exploring Operation: 33+23=56, Resulting Numbers: [3, 64, 56]
Generated Node #0,0: 58:[3, 64, 56] Operation: 33+23=56
Exploring Operation: 64-33=31, Resulting Numbers: [3, 23, 31]
Generated Node #0,1: 58:[3, 23, 31] Operation: 64-33=31
Exploring Operation: 33-3=30, Resulting Numbers: [23, 64, 30]
Generated Node #0,2: 58:[23, 64, 30] Operation: 33-3=30
Moving to Node #0,0
Current State: 58:[3, 64, 56], Operations: ['33+23=56']
Exploring Operation: 64-56=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 58:[3, 8] Operation: 64-56=8
Exploring Operation: 3+56=59, Resulting Numbers: [64, 59]
Generated Node #0,0,1: 58:[64, 59] Operation: 3+56=59
Exploring Operation: 64-3=61, Resulting Numbers: [56, 61]
Generated Node #0,0,2: 58:[56, 61] Operation: 64-3=61
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 58:[56, 61], Operations: ['33+23=56', '64-3=61']
Exploring Operation: 61-56=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 56+61=117, Resulting Numbers: [117]
117,58 unequal: No Solution
Exploring Operation: 56*61=3416, Resulting Numbers: [3416]
3416,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:[3, 8], Operations: ['33+23=56', '64-56=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,58 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[64, 59], Operations: ['33+23=56', '3+56=59']
Exploring Operation: 64*59=3776, Resulting Numbers: [3776]
3776,58 unequal: No Solution
Exploring Operation: 64+59=123, Resulting Numbers: [123]
123,58 unequal: No Solution
Exploring Operation: 64-59=5, Resulting Numbers: [5]
5,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:[3, 23, 31], Operations: ['64-33=31']
Exploring Operation: 3+23=26, Resulting Numbers: [31, 26]
Generated Node #0,1,0: 58:[31, 26] Operation: 3+23=26
Exploring Operation: 23+31=54, Resulting Numbers: [3, 54]
Generated Node #0,1,1: 58:[3, 54] Operation: 23+31=54
Exploring Operation: 31-3=28, Resulting Numbers: [23, 28]
Generated Node #0,1,2: 58:[23, 28] Operation: 31-3=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[31, 26], Operations: ['64-33=31', '3+23=26']
Exploring Operation: 31+26=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 31*26=806, Resulting Numbers: [806]
806,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:[3, 54], Operations: ['64-33=31', '23+31=54']
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,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,2
Current State: 58:[23, 28], Operations: ['64-33=31', '31-3=28']
Exploring Operation: 23*28=644, Resulting Numbers: [644]
644,58 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 23+28=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,2
Current State: 58:[23, 64, 30], Operations: ['33-3=30']
Exploring Operation: 64-30=34, Resulting Numbers: [23, 34]
Generated Node #0,2,0: 58:[23, 34] Operation: 64-30=34
Exploring Operation: 30-23=7, Resulting Numbers: [64, 7]
Generated Node #0,2,1: 58:[64, 7] Operation: 30-23=7
Exploring Operation: 23+30=53, Resulting Numbers: [64, 53]
Generated Node #0,2,2: 58:[64, 53] Operation: 23+30=53
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 58:[23, 34], Operations: ['33-3=30', '64-30=34']
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,58 unequal: No Solution
Exploring Operation: 23+34=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 23*34=782, Resulting Numbers: [782]
782,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 58:[64, 7], Operations: ['33-3=30', '30-23=7']
Exploring Operation: 64+7=71, Resulting Numbers: [71]
71,58 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,58 unequal: No Solution
Exploring Operation: 64*7=448, Resulting Numbers: [448]
448,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 58:[64, 53], Operations: ['33-3=30', '23+30=53']
Exploring Operation: 64-53=11, Resulting Numbers: [11]
11,58 unequal: No Solution
Exploring Operation: 64+53=117, Resulting Numbers: [117]
117,58 unequal: No Solution
Exploring Operation: 64*53=3392, Resulting Numbers: [3392]
3392,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
7,
81,
14,
57
] | 26 | [
"14/7=2",
"81-57=24",
"2+24=26"
] | Current State: 26:[7, 81, 14, 57], Operations: []
Exploring Operation: 14/7=2, Resulting Numbers: [81, 57, 2]
Generated Node #2: [81, 57, 2] from Operation: 14/7=2
Current State: 26:[81, 57, 2], Operations: ['14/7=2']
Exploring Operation: 81-57=24, Resulting Numbers: [2, 24]
Generated Node #3: [2, 24] from Operation: 81-57=24
Current State: 26:[2, 24], Operations: ['14/7=2', '81-57=24']
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[7, 81, 14, 57], Operations: []
Exploring Operation: 81-57=24, Resulting Numbers: [7, 14, 24]
Generated Node #0,0: 26:[7, 14, 24] Operation: 81-57=24
Exploring Operation: 81-7=74, Resulting Numbers: [14, 57, 74]
Generated Node #0,1: 26:[14, 57, 74] Operation: 81-7=74
Exploring Operation: 57-14=43, Resulting Numbers: [7, 81, 43]
Generated Node #0,2: 26:[7, 81, 43] Operation: 57-14=43
Exploring Operation: 57-7=50, Resulting Numbers: [81, 14, 50]
Generated Node #0,3: 26:[81, 14, 50] Operation: 57-7=50
Exploring Operation: 81-14=67, Resulting Numbers: [7, 57, 67]
Generated Node #0,4: 26:[7, 57, 67] Operation: 81-14=67
Moving to Node #0,0
Current State: 26:[7, 14, 24], Operations: ['81-57=24']
Exploring Operation: 7+14=21, Resulting Numbers: [24, 21]
Generated Node #0,0,0: 26:[24, 21] Operation: 7+14=21
Exploring Operation: 24-7=17, Resulting Numbers: [14, 17]
Generated Node #0,0,1: 26:[14, 17] Operation: 24-7=17
Exploring Operation: 14-7=7, Resulting Numbers: [24, 7]
Generated Node #0,0,2: 26:[24, 7] Operation: 14-7=7
Exploring Operation: 7+24=31, Resulting Numbers: [14, 31]
Generated Node #0,0,3: 26:[14, 31] Operation: 7+24=31
Exploring Operation: 14/7=2, Resulting Numbers: [24, 2]
Generated Node #0,0,4: 26:[24, 2] Operation: 14/7=2
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 26:[24, 2], Operations: ['81-57=24', '14/7=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,26 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[7, 81, 14, 57], Operations: []
Exploring Operation: 81-57=24, Resulting Numbers: [7, 14, 24]
Generated Node #0,0: 26:[7, 14, 24] Operation: 81-57=24
Moving to Node #0,0
Current State: 26:[7, 14, 24], Operations: ['81-57=24']
Exploring Operation: 14/7=2, Resulting Numbers: [24, 2]
Generated Node #0,0,4: 26:[24, 2] Operation: 14/7=2
Moving to Node #0,0,4
Current State: 26:[24, 2], Operations: ['81-57=24', '14/7=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
2,
86,
13,
90
] | 75 | [
"86+90=176",
"176/2=88",
"88-13=75"
] | Current State: 75:[2, 86, 13, 90], Operations: []
Exploring Operation: 86+90=176, Resulting Numbers: [2, 13, 176]
Generated Node #2: [2, 13, 176] from Operation: 86+90=176
Current State: 75:[2, 13, 176], Operations: ['86+90=176']
Exploring Operation: 176/2=88, Resulting Numbers: [13, 88]
Generated Node #3: [13, 88] from Operation: 176/2=88
Current State: 75:[13, 88], Operations: ['86+90=176', '176/2=88']
Exploring Operation: 88-13=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[2, 86, 13, 90], Operations: []
Exploring Operation: 2+13=15, Resulting Numbers: [86, 90, 15]
Generated Node #0,0: 75:[86, 90, 15] Operation: 2+13=15
Exploring Operation: 86-13=73, Resulting Numbers: [2, 90, 73]
Generated Node #0,1: 75:[2, 90, 73] Operation: 86-13=73
Exploring Operation: 86-2=84, Resulting Numbers: [13, 90, 84]
Generated Node #0,2: 75:[13, 90, 84] Operation: 86-2=84
Exploring Operation: 90-86=4, Resulting Numbers: [2, 13, 4]
Generated Node #0,3: 75:[2, 13, 4] Operation: 90-86=4
Exploring Operation: 90-13=77, Resulting Numbers: [2, 86, 77]
Generated Node #0,4: 75:[2, 86, 77] Operation: 90-13=77
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[2, 13, 4], Operations: ['90-86=4']
Exploring Operation: 2+4=6, Resulting Numbers: [13, 6]
Generated Node #0,3,0: 75:[13, 6] Operation: 2+4=6
Exploring Operation: 4/2=2, Resulting Numbers: [13, 2]
Generated Node #0,3,1: 75:[13, 2] Operation: 4/2=2
Exploring Operation: 2+13=15, Resulting Numbers: [4, 15]
Generated Node #0,3,2: 75:[4, 15] Operation: 2+13=15
Exploring Operation: 4-2=2, Resulting Numbers: [13, 2]
Generated Node #0,3,3: 75:[13, 2] Operation: 4-2=2
Exploring Operation: 2*13=26, Resulting Numbers: [4, 26]
Generated Node #0,3,4: 75:[4, 26] Operation: 2*13=26
Moving to Node #0,3,2
Current State: 75:[4, 15], Operations: ['90-86=4', '2+13=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Moving to Node #0,3,4
Current State: 75:[4, 26], Operations: ['90-86=4', '2*13=26']
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,75 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,75 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Moving to Node #0,3,0
Current State: 75:[13, 6], Operations: ['90-86=4', '2+4=6']
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,75 unequal: No Solution
Moving to Node #0,3,1
Current State: 75:[13, 2], Operations: ['90-86=4', '4/2=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Moving to Node #0,3,3
Current State: 75:[13, 2], Operations: ['90-86=4', '4-2=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 75:[2, 86, 77], Operations: ['90-13=77']
Exploring Operation: 77-2=75, Resulting Numbers: [86, 75]
Generated Node #0,4,0: 75:[86, 75] Operation: 77-2=75
Exploring Operation: 2+77=79, Resulting Numbers: [86, 79]
Generated Node #0,4,1: 75:[86, 79] Operation: 2+77=79
Exploring Operation: 2+86=88, Resulting Numbers: [77, 88]
Generated Node #0,4,2: 75:[77, 88] Operation: 2+86=88
Exploring Operation: 86-77=9, Resulting Numbers: [2, 9]
Generated Node #0,4,3: 75:[2, 9] Operation: 86-77=9
Exploring Operation: 86-2=84, Resulting Numbers: [77, 84]
Generated Node #0,4,4: 75:[77, 84] Operation: 86-2=84
Moving to Node #0,4,3
Current State: 75:[2, 9], Operations: ['90-13=77', '86-77=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Moving to Node #0,4,4
Current State: 75:[77, 84], Operations: ['90-13=77', '86-2=84']
Exploring Operation: 84-77=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 77*84=6468, Resulting Numbers: [6468]
6468,75 unequal: No Solution
Exploring Operation: 77+84=161, Resulting Numbers: [161]
161,75 unequal: No Solution
Moving to Node #0,4,0
Current State: 75:[86, 75], Operations: ['90-13=77', '77-2=75']
Exploring Operation: 86+75=161, Resulting Numbers: [161]
161,75 unequal: No Solution
Exploring Operation: 86*75=6450, Resulting Numbers: [6450]
6450,75 unequal: No Solution
Exploring Operation: 86-75=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Moving to Node #0,4,1
Current State: 75:[86, 79], Operations: ['90-13=77', '2+77=79']
Exploring Operation: 86-79=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 86+79=165, Resulting Numbers: [165]
165,75 unequal: No Solution
Exploring Operation: 86*79=6794, Resulting Numbers: [6794]
6794,75 unequal: No Solution
Moving to Node #0,4,2
Current State: 75:[77, 88], Operations: ['90-13=77', '2+86=88']
Exploring Operation: 77*88=6776, Resulting Numbers: [6776]
6776,75 unequal: No Solution
Exploring Operation: 77+88=165, Resulting Numbers: [165]
165,75 unequal: No Solution
Exploring Operation: 88-77=11, Resulting Numbers: [11]
11,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[2, 90, 73], Operations: ['86-13=73']
Exploring Operation: 90-2=88, Resulting Numbers: [73, 88]
Generated Node #0,1,0: 75:[73, 88] Operation: 90-2=88
Exploring Operation: 2+73=75, Resulting Numbers: [90, 75]
Generated Node #0,1,1: 75:[90, 75] Operation: 2+73=75
Exploring Operation: 2+90=92, Resulting Numbers: [73, 92]
Generated Node #0,1,2: 75:[73, 92] Operation: 2+90=92
Exploring Operation: 73-2=71, Resulting Numbers: [90, 71]
Generated Node #0,1,3: 75:[90, 71] Operation: 73-2=71
Exploring Operation: 90-73=17, Resulting Numbers: [2, 17]
Generated Node #0,1,4: 75:[2, 17] Operation: 90-73=17
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 75:[2, 17], Operations: ['86-13=73', '90-73=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,75 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[73, 88], Operations: ['86-13=73', '90-2=88']
Exploring Operation: 73+88=161, Resulting Numbers: [161]
161,75 unequal: No Solution
Exploring Operation: 73*88=6424, Resulting Numbers: [6424]
6424,75 unequal: No Solution
Exploring Operation: 88-73=15, Resulting Numbers: [15]
15,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[90, 75], Operations: ['86-13=73', '2+73=75']
Exploring Operation: 90+75=165, Resulting Numbers: [165]
165,75 unequal: No Solution
Exploring Operation: 90*75=6750, Resulting Numbers: [6750]
6750,75 unequal: No Solution
Exploring Operation: 90-75=15, Resulting Numbers: [15]
15,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 75:[73, 92], Operations: ['86-13=73', '2+90=92']
Exploring Operation: 73*92=6716, Resulting Numbers: [6716]
6716,75 unequal: No Solution
Exploring Operation: 73+92=165, Resulting Numbers: [165]
165,75 unequal: No Solution
Exploring Operation: 92-73=19, Resulting Numbers: [19]
19,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 75:[90, 71], Operations: ['86-13=73', '73-2=71']
Exploring Operation: 90*71=6390, Resulting Numbers: [6390]
6390,75 unequal: No Solution
Exploring Operation: 90-71=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 90+71=161, Resulting Numbers: [161]
161,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[86, 90, 15], Operations: ['2+13=15']
Exploring Operation: 86+15=101, Resulting Numbers: [90, 101]
Generated Node #0,0,0: 75:[90, 101] Operation: 86+15=101
Exploring Operation: 90-86=4, Resulting Numbers: [15, 4]
Generated Node #0,0,1: 75:[15, 4] Operation: 90-86=4
Exploring Operation: 90/15=6, Resulting Numbers: [86, 6]
Generated Node #0,0,2: 75:[86, 6] Operation: 90/15=6
Exploring Operation: 86-15=71, Resulting Numbers: [90, 71]
Generated Node #0,0,3: 75:[90, 71] Operation: 86-15=71
Exploring Operation: 90-15=75, Resulting Numbers: [86, 75]
Generated Node #0,0,4: 75:[86, 75] Operation: 90-15=75
Moving to Node #0,0,1
Current State: 75:[15, 4], Operations: ['2+13=15', '90-86=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Moving to Node #0,0,4
Current State: 75:[86, 75], Operations: ['2+13=15', '90-15=75']
Exploring Operation: 86+75=161, Resulting Numbers: [161]
161,75 unequal: No Solution
Exploring Operation: 86*75=6450, Resulting Numbers: [6450]
6450,75 unequal: No Solution
Exploring Operation: 86-75=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[86, 6], Operations: ['2+13=15', '90/15=6']
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,75 unequal: No Solution
Exploring Operation: 86+6=92, Resulting Numbers: [92]
92,75 unequal: No Solution
Exploring Operation: 86*6=516, Resulting Numbers: [516]
516,75 unequal: No Solution
Moving to Node #0,0,3
Current State: 75:[90, 71], Operations: ['2+13=15', '86-15=71']
Exploring Operation: 90+71=161, Resulting Numbers: [161]
161,75 unequal: No Solution
Exploring Operation: 90-71=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 90*71=6390, Resulting Numbers: [6390]
6390,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[90, 101], Operations: ['2+13=15', '86+15=101']
Exploring Operation: 90+101=191, Resulting Numbers: [191]
191,75 unequal: No Solution
Exploring Operation: 101-90=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 90*101=9090, Resulting Numbers: [9090]
9090,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[13, 90, 84], Operations: ['86-2=84']
Exploring Operation: 13+84=97, Resulting Numbers: [90, 97]
Generated Node #0,2,0: 75:[90, 97] Operation: 13+84=97
Exploring Operation: 13+90=103, Resulting Numbers: [84, 103]
Generated Node #0,2,1: 75:[84, 103] Operation: 13+90=103
Exploring Operation: 84-13=71, Resulting Numbers: [90, 71]
Generated Node #0,2,2: 75:[90, 71] Operation: 84-13=71
Exploring Operation: 90-13=77, Resulting Numbers: [84, 77]
Generated Node #0,2,3: 75:[84, 77] Operation: 90-13=77
Exploring Operation: 90-84=6, Resulting Numbers: [13, 6]
Generated Node #0,2,4: 75:[13, 6] Operation: 90-84=6
Moving to Node #0,2,4
Current State: 75:[13, 6], Operations: ['86-2=84', '90-84=6']
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[84, 77], Operations: ['86-2=84', '90-13=77']
Exploring Operation: 84-77=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 84+77=161, Resulting Numbers: [161]
161,75 unequal: No Solution
Exploring Operation: 84*77=6468, Resulting Numbers: [6468]
6468,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[90, 71], Operations: ['86-2=84', '84-13=71']
Exploring Operation: 90-71=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 90+71=161, Resulting Numbers: [161]
161,75 unequal: No Solution
Exploring Operation: 90*71=6390, Resulting Numbers: [6390]
6390,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[90, 97], Operations: ['86-2=84', '13+84=97']
Exploring Operation: 90+97=187, Resulting Numbers: [187]
187,75 unequal: No Solution
Exploring Operation: 97-90=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 90*97=8730, Resulting Numbers: [8730]
8730,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[84, 103], Operations: ['86-2=84', '13+90=103']
Exploring Operation: 103-84=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 84+103=187, Resulting Numbers: [187]
187,75 unequal: No Solution
Exploring Operation: 84*103=8652, Resulting Numbers: [8652]
8652,75 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 |
[
30,
9,
19,
45
] | 13 | [
"30+9=39",
"45-19=26",
"39-26=13"
] | Current State: 13:[30, 9, 19, 45], Operations: []
Exploring Operation: 30+9=39, Resulting Numbers: [19, 45, 39]
Generated Node #2: [19, 45, 39] from Operation: 30+9=39
Current State: 13:[19, 45, 39], Operations: ['30+9=39']
Exploring Operation: 45-19=26, Resulting Numbers: [39, 26]
Generated Node #3: [39, 26] from Operation: 45-19=26
Current State: 13:[39, 26], Operations: ['30+9=39', '45-19=26']
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[30, 9, 19, 45], Operations: []
Exploring Operation: 30-19=11, Resulting Numbers: [9, 45, 11]
Generated Node #0,0: 13:[9, 45, 11] Operation: 30-19=11
Exploring Operation: 45-30=15, Resulting Numbers: [9, 19, 15]
Generated Node #0,1: 13:[9, 19, 15] Operation: 45-30=15
Exploring Operation: 45-19=26, Resulting Numbers: [30, 9, 26]
Generated Node #0,2: 13:[30, 9, 26] Operation: 45-19=26
Exploring Operation: 30-9=21, Resulting Numbers: [19, 45, 21]
Generated Node #0,3: 13:[19, 45, 21] Operation: 30-9=21
Exploring Operation: 45/9=5, Resulting Numbers: [30, 19, 5]
Generated Node #0,4: 13:[30, 19, 5] Operation: 45/9=5
Moving to Node #0,1
Current State: 13:[9, 19, 15], Operations: ['45-30=15']
Exploring Operation: 19-15=4, Resulting Numbers: [9, 4]
Generated Node #0,1,0: 13:[9, 4] Operation: 19-15=4
Exploring Operation: 9+19=28, Resulting Numbers: [15, 28]
Generated Node #0,1,1: 13:[15, 28] Operation: 9+19=28
Exploring Operation: 19-9=10, Resulting Numbers: [15, 10]
Generated Node #0,1,2: 13:[15, 10] Operation: 19-9=10
Exploring Operation: 15-9=6, Resulting Numbers: [19, 6]
Generated Node #0,1,3: 13:[19, 6] Operation: 15-9=6
Exploring Operation: 9+15=24, Resulting Numbers: [19, 24]
Generated Node #0,1,4: 13:[19, 24] Operation: 9+15=24
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 13:[15, 10], Operations: ['45-30=15', '19-9=10']
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,13 unequal: No Solution
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,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:[9, 4], Operations: ['45-30=15', '19-15=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[30, 9, 19, 45], Operations: []
Exploring Operation: 45-30=15, Resulting Numbers: [9, 19, 15]
Generated Node #0,1: 13:[9, 19, 15] Operation: 45-30=15
Moving to Node #0,1
Current State: 13:[9, 19, 15], Operations: ['45-30=15']
Exploring Operation: 19-15=4, Resulting Numbers: [9, 4]
Generated Node #0,1,0: 13:[9, 4] Operation: 19-15=4
Moving to Node #0,1,0
Current State: 13:[9, 4], Operations: ['45-30=15', '19-15=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
79,
57,
46,
90
] | 66 | [
"79-57=22",
"90-46=44",
"22+44=66"
] | Current State: 66:[79, 57, 46, 90], Operations: []
Exploring Operation: 79-57=22, Resulting Numbers: [46, 90, 22]
Generated Node #2: [46, 90, 22] from Operation: 79-57=22
Current State: 66:[46, 90, 22], Operations: ['79-57=22']
Exploring Operation: 90-46=44, Resulting Numbers: [22, 44]
Generated Node #3: [22, 44] from Operation: 90-46=44
Current State: 66:[22, 44], Operations: ['79-57=22', '90-46=44']
Exploring Operation: 22+44=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[79, 57, 46, 90], Operations: []
Exploring Operation: 90-57=33, Resulting Numbers: [79, 46, 33]
Generated Node #0,0: 66:[79, 46, 33] Operation: 90-57=33
Exploring Operation: 79-46=33, Resulting Numbers: [57, 90, 33]
Generated Node #0,1: 66:[57, 90, 33] Operation: 79-46=33
Exploring Operation: 79-57=22, Resulting Numbers: [46, 90, 22]
Generated Node #0,2: 66:[46, 90, 22] Operation: 79-57=22
Exploring Operation: 90-46=44, Resulting Numbers: [79, 57, 44]
Generated Node #0,3: 66:[79, 57, 44] Operation: 90-46=44
Exploring Operation: 90-79=11, Resulting Numbers: [57, 46, 11]
Generated Node #0,4: 66:[57, 46, 11] Operation: 90-79=11
Moving to Node #0,4
Current State: 66:[57, 46, 11], Operations: ['90-79=11']
Exploring Operation: 57-11=46, Resulting Numbers: [46, 46]
Generated Node #0,4,0: 66:[46, 46] Operation: 57-11=46
Exploring Operation: 46-11=35, Resulting Numbers: [57, 35]
Generated Node #0,4,1: 66:[57, 35] Operation: 46-11=35
Exploring Operation: 57+11=68, Resulting Numbers: [46, 68]
Generated Node #0,4,2: 66:[46, 68] Operation: 57+11=68
Exploring Operation: 57-46=11, Resulting Numbers: [11, 11]
Generated Node #0,4,3: 66:[11, 11] Operation: 57-46=11
Exploring Operation: 46+11=57, Resulting Numbers: [57, 57]
Generated Node #0,4,4: 66:[57, 57] Operation: 46+11=57
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 66:[11, 11], Operations: ['90-79=11', '57-46=11']
Exploring Operation: 11/11=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 11*11=121, Resulting Numbers: [121]
121,66 unequal: No Solution
Exploring Operation: 11+11=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 11-11=0, Resulting Numbers: [0]
0,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 66:[57, 35], Operations: ['90-79=11', '46-11=35']
Exploring Operation: 57+35=92, Resulting Numbers: [92]
92,66 unequal: No Solution
Exploring Operation: 57*35=1995, Resulting Numbers: [1995]
1995,66 unequal: No Solution
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 66:[46, 68], Operations: ['90-79=11', '57+11=68']
Exploring Operation: 46*68=3128, Resulting Numbers: [3128]
3128,66 unequal: No Solution
Exploring Operation: 46+68=114, Resulting Numbers: [114]
114,66 unequal: No Solution
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 66:[57, 57], Operations: ['90-79=11', '46+11=57']
Exploring Operation: 57-57=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Exploring Operation: 57+57=114, Resulting Numbers: [114]
114,66 unequal: No Solution
Exploring Operation: 57*57=3249, Resulting Numbers: [3249]
3249,66 unequal: No Solution
Exploring Operation: 57/57=1, Resulting Numbers: [1]
1,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 66:[46, 46], Operations: ['90-79=11', '57-11=46']
Exploring Operation: 46/46=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 46*46=2116, Resulting Numbers: [2116]
2116,66 unequal: No Solution
Exploring Operation: 46-46=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Exploring Operation: 46+46=92, Resulting Numbers: [92]
92,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 66:[79, 46, 33], Operations: ['90-57=33']
Exploring Operation: 46+33=79, Resulting Numbers: [79, 79]
Generated Node #0,0,0: 66:[79, 79] Operation: 46+33=79
Exploring Operation: 79-46=33, Resulting Numbers: [33, 33]
Generated Node #0,0,1: 66:[33, 33] Operation: 79-46=33
Exploring Operation: 79-33=46, Resulting Numbers: [46, 46]
Generated Node #0,0,2: 66:[46, 46] Operation: 79-33=46
Exploring Operation: 79+46=125, Resulting Numbers: [33, 125]
Generated Node #0,0,3: 66:[33, 125] Operation: 79+46=125
Exploring Operation: 46-33=13, Resulting Numbers: [79, 13]
Generated Node #0,0,4: 66:[79, 13] Operation: 46-33=13
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[33, 33], Operations: ['90-57=33', '79-46=33']
Exploring Operation: 33-33=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Exploring Operation: 33/33=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 33+33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[79, 57, 46, 90], Operations: []
Exploring Operation: 90-57=33, Resulting Numbers: [79, 46, 33]
Generated Node #0,0: 66:[79, 46, 33] Operation: 90-57=33
Moving to Node #0,0
Current State: 66:[79, 46, 33], Operations: ['90-57=33']
Exploring Operation: 79-46=33, Resulting Numbers: [33, 33]
Generated Node #0,0,1: 66:[33, 33] Operation: 79-46=33
Moving to Node #0,0,1
Current State: 66:[33, 33], Operations: ['90-57=33', '79-46=33']
Exploring Operation: 33+33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | sum_heuristic |
[
12,
28,
48,
84
] | 25 | [
"84-48=36",
"36/12=3",
"28-3=25"
] | Current State: 25:[12, 28, 48, 84], Operations: []
Exploring Operation: 84-48=36, Resulting Numbers: [12, 28, 36]
Generated Node #2: [12, 28, 36] from Operation: 84-48=36
Current State: 25:[12, 28, 36], Operations: ['84-48=36']
Exploring Operation: 36/12=3, Resulting Numbers: [28, 3]
Generated Node #3: [28, 3] from Operation: 36/12=3
Current State: 25:[28, 3], Operations: ['84-48=36', '36/12=3']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[12, 28, 48, 84], Operations: []
Exploring Operation: 84-48=36, Resulting Numbers: [12, 28, 36]
Generated Node #0,0: 25:[12, 28, 36] Operation: 84-48=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[12, 28, 36], Operations: ['84-48=36']
Exploring Operation: 36-12=24, Resulting Numbers: [28, 24]
Generated Node #0,0,0: 25:[28, 24] Operation: 36-12=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[28, 24], Operations: ['84-48=36', '36-12=24']
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,25 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,
55,
20,
4
] | 80 | [
"27*20=540",
"540/4=135",
"135-55=80"
] | Current State: 80:[27, 55, 20, 4], Operations: []
Exploring Operation: 27*20=540, Resulting Numbers: [55, 4, 540]
Generated Node #2: [55, 4, 540] from Operation: 27*20=540
Current State: 80:[55, 4, 540], Operations: ['27*20=540']
Exploring Operation: 540/4=135, Resulting Numbers: [55, 135]
Generated Node #3: [55, 135] from Operation: 540/4=135
Current State: 80:[55, 135], Operations: ['27*20=540', '540/4=135']
Exploring Operation: 135-55=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[27, 55, 20, 4], Operations: []
Exploring Operation: 27+55=82, Resulting Numbers: [20, 4, 82]
Generated Node #0,0: 80:[20, 4, 82] Operation: 27+55=82
Moving to Node #0,0
Current State: 80:[20, 4, 82], Operations: ['27+55=82']
Exploring Operation: 20*4=80, Resulting Numbers: [82, 80]
Generated Node #0,0,0: 80:[82, 80] Operation: 20*4=80
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[82, 80], Operations: ['27+55=82', '20*4=80']
Exploring Operation: 82-80=2, Resulting Numbers: [2]
2,80 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 |
[
87,
22,
6,
10
] | 85 | [
"22-10=12",
"12/6=2",
"87-2=85"
] | Current State: 85:[87, 22, 6, 10], Operations: []
Exploring Operation: 22-10=12, Resulting Numbers: [87, 6, 12]
Generated Node #2: [87, 6, 12] from Operation: 22-10=12
Current State: 85:[87, 6, 12], Operations: ['22-10=12']
Exploring Operation: 12/6=2, Resulting Numbers: [87, 2]
Generated Node #3: [87, 2] from Operation: 12/6=2
Current State: 85:[87, 2], Operations: ['22-10=12', '12/6=2']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[87, 22, 6, 10], Operations: []
Exploring Operation: 22-10=12, Resulting Numbers: [87, 6, 12]
Generated Node #0,0: 85:[87, 6, 12] Operation: 22-10=12
Exploring Operation: 22-6=16, Resulting Numbers: [87, 10, 16]
Generated Node #0,1: 85:[87, 10, 16] Operation: 22-6=16
Exploring Operation: 6+10=16, Resulting Numbers: [87, 22, 16]
Generated Node #0,2: 85:[87, 22, 16] Operation: 6+10=16
Exploring Operation: 10-6=4, Resulting Numbers: [87, 22, 4]
Generated Node #0,3: 85:[87, 22, 4] Operation: 10-6=4
Moving to Node #0,0
Current State: 85:[87, 6, 12], Operations: ['22-10=12']
Exploring Operation: 6+12=18, Resulting Numbers: [87, 18]
Generated Node #0,0,0: 85:[87, 18] Operation: 6+12=18
Exploring Operation: 87-6=81, Resulting Numbers: [12, 81]
Generated Node #0,0,1: 85:[12, 81] Operation: 87-6=81
Exploring Operation: 12/6=2, Resulting Numbers: [87, 2]
Generated Node #0,0,2: 85:[87, 2] Operation: 12/6=2
Exploring Operation: 12-6=6, Resulting Numbers: [87, 6]
Generated Node #0,0,3: 85:[87, 6] Operation: 12-6=6
Moving to Node #0,2
Current State: 85:[87, 22, 16], Operations: ['6+10=16']
Exploring Operation: 87+16=103, Resulting Numbers: [22, 103]
Generated Node #0,2,0: 85:[22, 103] Operation: 87+16=103
Exploring Operation: 22-16=6, Resulting Numbers: [87, 6]
Generated Node #0,2,1: 85:[87, 6] Operation: 22-16=6
Exploring Operation: 87-16=71, Resulting Numbers: [22, 71]
Generated Node #0,2,2: 85:[22, 71] Operation: 87-16=71
Exploring Operation: 87-22=65, Resulting Numbers: [16, 65]
Generated Node #0,2,3: 85:[16, 65] Operation: 87-22=65
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[87, 6], Operations: ['6+10=16', '22-16=6']
Exploring Operation: 87*6=522, Resulting Numbers: [522]
522,85 unequal: No Solution
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,85 unequal: No Solution
Exploring Operation: 87+6=93, Resulting Numbers: [93]
93,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,2,2
Current State: 85:[22, 71], Operations: ['6+10=16', '87-16=71']
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,85 unequal: No Solution
Exploring Operation: 22*71=1562, Resulting Numbers: [1562]
1562,85 unequal: No Solution
Exploring Operation: 22+71=93, Resulting Numbers: [93]
93,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,2,3
Current State: 85:[16, 65], Operations: ['6+10=16', '87-22=65']
Exploring Operation: 16+65=81, Resulting Numbers: [81]
81,85 unequal: No Solution
Exploring Operation: 65-16=49, Resulting Numbers: [49]
49,85 unequal: No Solution
Exploring Operation: 16*65=1040, Resulting Numbers: [1040]
1040,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,2,0
Current State: 85:[22, 103], Operations: ['6+10=16', '87+16=103']
Exploring Operation: 22+103=125, Resulting Numbers: [125]
125,85 unequal: No Solution
Exploring Operation: 103-22=81, Resulting Numbers: [81]
81,85 unequal: No Solution
Exploring Operation: 22*103=2266, Resulting Numbers: [2266]
2266,85 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: 85:[87, 10, 16], Operations: ['22-6=16']
Exploring Operation: 16-10=6, Resulting Numbers: [87, 6]
Generated Node #0,1,0: 85:[87, 6] Operation: 16-10=6
Exploring Operation: 10+16=26, Resulting Numbers: [87, 26]
Generated Node #0,1,1: 85:[87, 26] Operation: 10+16=26
Exploring Operation: 87-10=77, Resulting Numbers: [16, 77]
Generated Node #0,1,2: 85:[16, 77] Operation: 87-10=77
Exploring Operation: 87+10=97, Resulting Numbers: [16, 97]
Generated Node #0,1,3: 85:[16, 97] Operation: 87+10=97
Moving to Node #0,3
Current State: 85:[87, 22, 4], Operations: ['10-6=4']
Exploring Operation: 87-4=83, Resulting Numbers: [22, 83]
Generated Node #0,3,0: 85:[22, 83] Operation: 87-4=83
Exploring Operation: 22*4=88, Resulting Numbers: [87, 88]
Generated Node #0,3,1: 85:[87, 88] Operation: 22*4=88
Exploring Operation: 22-4=18, Resulting Numbers: [87, 18]
Generated Node #0,3,2: 85:[87, 18] Operation: 22-4=18
Exploring Operation: 87+4=91, Resulting Numbers: [22, 91]
Generated Node #0,3,3: 85:[22, 91] Operation: 87+4=91
Moving to Node #0,0,0
Current State: 85:[87, 18], Operations: ['22-10=12', '6+12=18']
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Exploring Operation: 87+18=105, Resulting Numbers: [105]
105,85 unequal: No Solution
Exploring Operation: 87*18=1566, Resulting Numbers: [1566]
1566,85 unequal: No Solution
Moving to Node #0,0,3
Current State: 85:[87, 6], Operations: ['22-10=12', '12-6=6']
Exploring Operation: 87*6=522, Resulting Numbers: [522]
522,85 unequal: No Solution
Exploring Operation: 87+6=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[87, 6], Operations: ['22-6=16', '16-10=6']
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,85 unequal: No Solution
Exploring Operation: 87*6=522, Resulting Numbers: [522]
522,85 unequal: No Solution
Exploring Operation: 87+6=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Moving to Node #0,3,2
Current State: 85:[87, 18], Operations: ['10-6=4', '22-4=18']
Exploring Operation: 87*18=1566, Resulting Numbers: [1566]
1566,85 unequal: No Solution
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Exploring Operation: 87+18=105, Resulting Numbers: [105]
105,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[87, 2], Operations: ['22-10=12', '12/6=2']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[87, 22, 6, 10], Operations: []
Exploring Operation: 22-10=12, Resulting Numbers: [87, 6, 12]
Generated Node #0,0: 85:[87, 6, 12] Operation: 22-10=12
Moving to Node #0,0
Current State: 85:[87, 6, 12], Operations: ['22-10=12']
Exploring Operation: 12/6=2, Resulting Numbers: [87, 2]
Generated Node #0,0,2: 85:[87, 2] Operation: 12/6=2
Moving to Node #0,0,2
Current State: 85:[87, 2], Operations: ['22-10=12', '12/6=2']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.957465 | hs_4 | mult_heuristic |
[
22,
64,
13,
15
] | 54 | [
"64*13=832",
"832-22=810",
"810/15=54"
] | Current State: 54:[22, 64, 13, 15], Operations: []
Exploring Operation: 64*13=832, Resulting Numbers: [22, 15, 832]
Generated Node #2: [22, 15, 832] from Operation: 64*13=832
Current State: 54:[22, 15, 832], Operations: ['64*13=832']
Exploring Operation: 832-22=810, Resulting Numbers: [15, 810]
Generated Node #3: [15, 810] from Operation: 832-22=810
Current State: 54:[15, 810], Operations: ['64*13=832', '832-22=810']
Exploring Operation: 810/15=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[22, 64, 13, 15], Operations: []
Exploring Operation: 22-13=9, Resulting Numbers: [64, 15, 9]
Generated Node #0,0: 54:[64, 15, 9] Operation: 22-13=9
Exploring Operation: 64-15=49, Resulting Numbers: [22, 13, 49]
Generated Node #0,1: 54:[22, 13, 49] Operation: 64-15=49
Exploring Operation: 64-13=51, Resulting Numbers: [22, 15, 51]
Generated Node #0,2: 54:[22, 15, 51] Operation: 64-13=51
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[22, 15, 51], Operations: ['64-13=51']
Exploring Operation: 22-15=7, Resulting Numbers: [51, 7]
Generated Node #0,2,0: 54:[51, 7] Operation: 22-15=7
Exploring Operation: 22+15=37, Resulting Numbers: [51, 37]
Generated Node #0,2,1: 54:[51, 37] Operation: 22+15=37
Exploring Operation: 51-22=29, Resulting Numbers: [15, 29]
Generated Node #0,2,2: 54:[15, 29] Operation: 51-22=29
Moving to Node #0,2,0
Current State: 54:[51, 7], Operations: ['64-13=51', '22-15=7']
Exploring Operation: 51*7=357, Resulting Numbers: [357]
357,54 unequal: No Solution
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[15, 29], Operations: ['64-13=51', '51-22=29']
Exploring Operation: 15*29=435, Resulting Numbers: [435]
435,54 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 15+29=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[51, 37], Operations: ['64-13=51', '22+15=37']
Exploring Operation: 51+37=88, Resulting Numbers: [88]
88,54 unequal: No Solution
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 51*37=1887, Resulting Numbers: [1887]
1887,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:[64, 15, 9], Operations: ['22-13=9']
Exploring Operation: 64-9=55, Resulting Numbers: [15, 55]
Generated Node #0,0,0: 54:[15, 55] Operation: 64-9=55
Exploring Operation: 15-9=6, Resulting Numbers: [64, 6]
Generated Node #0,0,1: 54:[64, 6] Operation: 15-9=6
Exploring Operation: 64-15=49, Resulting Numbers: [9, 49]
Generated Node #0,0,2: 54:[9, 49] Operation: 64-15=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[15, 55], Operations: ['22-13=9', '64-9=55']
Exploring Operation: 15*55=825, Resulting Numbers: [825]
825,54 unequal: No Solution
Exploring Operation: 15+55=70, Resulting Numbers: [70]
70,54 unequal: No Solution
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,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,0,2
Current State: 54:[9, 49], Operations: ['22-13=9', '64-15=49']
Exploring Operation: 9+49=58, Resulting Numbers: [58]
58,54 unequal: No Solution
Exploring Operation: 9*49=441, Resulting Numbers: [441]
441,54 unequal: No Solution
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,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,0,1
Current State: 54:[64, 6], Operations: ['22-13=9', '15-9=6']
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,54 unequal: No Solution
Exploring Operation: 64+6=70, Resulting Numbers: [70]
70,54 unequal: No Solution
Exploring Operation: 64*6=384, Resulting Numbers: [384]
384,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:[22, 13, 49], Operations: ['64-15=49']
Exploring Operation: 13+49=62, Resulting Numbers: [22, 62]
Generated Node #0,1,0: 54:[22, 62] Operation: 13+49=62
Exploring Operation: 49-22=27, Resulting Numbers: [13, 27]
Generated Node #0,1,1: 54:[13, 27] Operation: 49-22=27
Exploring Operation: 22-13=9, Resulting Numbers: [49, 9]
Generated Node #0,1,2: 54:[49, 9] Operation: 22-13=9
Moving to Node #0,1,1
Current State: 54:[13, 27], Operations: ['64-15=49', '49-22=27']
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,54 unequal: No Solution
Exploring Operation: 13*27=351, Resulting Numbers: [351]
351,54 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[49, 9], Operations: ['64-15=49', '22-13=9']
Exploring Operation: 49*9=441, Resulting Numbers: [441]
441,54 unequal: No Solution
Exploring Operation: 49+9=58, Resulting Numbers: [58]
58,54 unequal: No Solution
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[22, 62], Operations: ['64-15=49', '13+49=62']
Exploring Operation: 22+62=84, Resulting Numbers: [84]
84,54 unequal: No Solution
Exploring Operation: 22*62=1364, Resulting Numbers: [1364]
1364,54 unequal: No Solution
Exploring Operation: 62-22=40, Resulting Numbers: [40]
40,54 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 |
[
34,
98,
15,
32
] | 85 | [
"34+98=132",
"15+32=47",
"132-47=85"
] | Current State: 85:[34, 98, 15, 32], Operations: []
Exploring Operation: 34+98=132, Resulting Numbers: [15, 32, 132]
Generated Node #2: [15, 32, 132] from Operation: 34+98=132
Current State: 85:[15, 32, 132], Operations: ['34+98=132']
Exploring Operation: 15+32=47, Resulting Numbers: [132, 47]
Generated Node #3: [132, 47] from Operation: 15+32=47
Current State: 85:[132, 47], Operations: ['34+98=132', '15+32=47']
Exploring Operation: 132-47=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[34, 98, 15, 32], Operations: []
Exploring Operation: 34-32=2, Resulting Numbers: [98, 15, 2]
Generated Node #0,0: 85:[98, 15, 2] Operation: 34-32=2
Moving to Node #0,0
Current State: 85:[98, 15, 2], Operations: ['34-32=2']
Exploring Operation: 98-15=83, Resulting Numbers: [2, 83]
Generated Node #0,0,0: 85:[2, 83] Operation: 98-15=83
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[2, 83], Operations: ['34-32=2', '98-15=83']
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[34, 98, 15, 32], Operations: []
Exploring Operation: 34-32=2, Resulting Numbers: [98, 15, 2]
Generated Node #0,0: 85:[98, 15, 2] Operation: 34-32=2
Moving to Node #0,0
Current State: 85:[98, 15, 2], Operations: ['34-32=2']
Exploring Operation: 98-15=83, Resulting Numbers: [2, 83]
Generated Node #0,0,0: 85:[2, 83] Operation: 98-15=83
Moving to Node #0,0,0
Current State: 85:[2, 83], Operations: ['34-32=2', '98-15=83']
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
66,
18,
99,
89
] | 58 | [
"66-18=48",
"99-89=10",
"48+10=58"
] | Current State: 58:[66, 18, 99, 89], Operations: []
Exploring Operation: 66-18=48, Resulting Numbers: [99, 89, 48]
Generated Node #2: [99, 89, 48] from Operation: 66-18=48
Current State: 58:[99, 89, 48], Operations: ['66-18=48']
Exploring Operation: 99-89=10, Resulting Numbers: [48, 10]
Generated Node #3: [48, 10] from Operation: 99-89=10
Current State: 58:[48, 10], Operations: ['66-18=48', '99-89=10']
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[66, 18, 99, 89], Operations: []
Exploring Operation: 89-66=23, Resulting Numbers: [18, 99, 23]
Generated Node #0,0: 58:[18, 99, 23] Operation: 89-66=23
Exploring Operation: 99-66=33, Resulting Numbers: [18, 89, 33]
Generated Node #0,1: 58:[18, 89, 33] Operation: 99-66=33
Exploring Operation: 99-89=10, Resulting Numbers: [66, 18, 10]
Generated Node #0,2: 58:[66, 18, 10] Operation: 99-89=10
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[66, 18, 10], Operations: ['99-89=10']
Exploring Operation: 66-10=56, Resulting Numbers: [18, 56]
Generated Node #0,2,0: 58:[18, 56] Operation: 66-10=56
Exploring Operation: 18+10=28, Resulting Numbers: [66, 28]
Generated Node #0,2,1: 58:[66, 28] Operation: 18+10=28
Exploring Operation: 18-10=8, Resulting Numbers: [66, 8]
Generated Node #0,2,2: 58:[66, 8] Operation: 18-10=8
Moving to Node #0,2,1
Current State: 58:[66, 28], Operations: ['99-89=10', '18+10=28']
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 66*28=1848, Resulting Numbers: [1848]
1848,58 unequal: No Solution
Exploring Operation: 66+28=94, Resulting Numbers: [94]
94,58 unequal: No Solution
Moving to Node #0,2,0
Current State: 58:[18, 56], Operations: ['99-89=10', '66-10=56']
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 18+56=74, Resulting Numbers: [74]
74,58 unequal: No Solution
Exploring Operation: 18*56=1008, Resulting Numbers: [1008]
1008,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[66, 8], Operations: ['99-89=10', '18-10=8']
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[66, 18, 99, 89], Operations: []
Exploring Operation: 99-89=10, Resulting Numbers: [66, 18, 10]
Generated Node #0,2: 58:[66, 18, 10] Operation: 99-89=10
Moving to Node #0,2
Current State: 58:[66, 18, 10], Operations: ['99-89=10']
Exploring Operation: 18-10=8, Resulting Numbers: [66, 8]
Generated Node #0,2,2: 58:[66, 8] Operation: 18-10=8
Moving to Node #0,2,2
Current State: 58:[66, 8], Operations: ['99-89=10', '18-10=8']
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
56,
84,
21,
75
] | 36 | [
"75-21=54",
"56*54=3024",
"3024/84=36"
] | Current State: 36:[56, 84, 21, 75], Operations: []
Exploring Operation: 75-21=54, Resulting Numbers: [56, 84, 54]
Generated Node #2: [56, 84, 54] from Operation: 75-21=54
Current State: 36:[56, 84, 54], Operations: ['75-21=54']
Exploring Operation: 56*54=3024, Resulting Numbers: [84, 3024]
Generated Node #3: [84, 3024] from Operation: 56*54=3024
Current State: 36:[84, 3024], Operations: ['75-21=54', '56*54=3024']
Exploring Operation: 3024/84=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[56, 84, 21, 75], Operations: []
Exploring Operation: 75-56=19, Resulting Numbers: [84, 21, 19]
Generated Node #0,0: 36:[84, 21, 19] Operation: 75-56=19
Exploring Operation: 84-56=28, Resulting Numbers: [21, 75, 28]
Generated Node #0,1: 36:[21, 75, 28] Operation: 84-56=28
Exploring Operation: 84-75=9, Resulting Numbers: [56, 21, 9]
Generated Node #0,2: 36:[56, 21, 9] Operation: 84-75=9
Exploring Operation: 84/21=4, Resulting Numbers: [56, 75, 4]
Generated Node #0,3: 36:[56, 75, 4] Operation: 84/21=4
Exploring Operation: 84-21=63, Resulting Numbers: [56, 75, 63]
Generated Node #0,4: 36:[56, 75, 63] Operation: 84-21=63
Moving to Node #0,2
Current State: 36:[56, 21, 9], Operations: ['84-75=9']
Exploring Operation: 21-9=12, Resulting Numbers: [56, 12]
Generated Node #0,2,0: 36:[56, 12] Operation: 21-9=12
Exploring Operation: 21+9=30, Resulting Numbers: [56, 30]
Generated Node #0,2,1: 36:[56, 30] Operation: 21+9=30
Exploring Operation: 56+9=65, Resulting Numbers: [21, 65]
Generated Node #0,2,2: 36:[21, 65] Operation: 56+9=65
Exploring Operation: 56-9=47, Resulting Numbers: [21, 47]
Generated Node #0,2,3: 36:[21, 47] Operation: 56-9=47
Exploring Operation: 56-21=35, Resulting Numbers: [9, 35]
Generated Node #0,2,4: 36:[9, 35] Operation: 56-21=35
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 36:[9, 35], Operations: ['84-75=9', '56-21=35']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,36 unequal: No Solution
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 36:[21, 47], Operations: ['84-75=9', '56-9=47']
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,36 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 36:[56, 12], Operations: ['84-75=9', '21-9=12']
Exploring Operation: 56*12=672, Resulting Numbers: [672]
672,36 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 56+12=68, Resulting Numbers: [68]
68,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 36:[56, 30], Operations: ['84-75=9', '21+9=30']
Exploring Operation: 56+30=86, Resulting Numbers: [86]
86,36 unequal: No Solution
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 56*30=1680, Resulting Numbers: [1680]
1680,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 36:[21, 65], Operations: ['84-75=9', '56+9=65']
Exploring Operation: 21+65=86, Resulting Numbers: [86]
86,36 unequal: No Solution
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 21*65=1365, Resulting Numbers: [1365]
1365,36 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: 36:[21, 75, 28], Operations: ['84-56=28']
Exploring Operation: 75-21=54, Resulting Numbers: [28, 54]
Generated Node #0,1,0: 36:[28, 54] Operation: 75-21=54
Exploring Operation: 21+75=96, Resulting Numbers: [28, 96]
Generated Node #0,1,1: 36:[28, 96] Operation: 21+75=96
Exploring Operation: 28-21=7, Resulting Numbers: [75, 7]
Generated Node #0,1,2: 36:[75, 7] Operation: 28-21=7
Exploring Operation: 75-28=47, Resulting Numbers: [21, 47]
Generated Node #0,1,3: 36:[21, 47] Operation: 75-28=47
Exploring Operation: 21+28=49, Resulting Numbers: [75, 49]
Generated Node #0,1,4: 36:[75, 49] Operation: 21+28=49
Moving to Node #0,0
Current State: 36:[84, 21, 19], Operations: ['75-56=19']
Exploring Operation: 84-19=65, Resulting Numbers: [21, 65]
Generated Node #0,0,0: 36:[21, 65] Operation: 84-19=65
Exploring Operation: 21-19=2, Resulting Numbers: [84, 2]
Generated Node #0,0,1: 36:[84, 2] Operation: 21-19=2
Exploring Operation: 84-21=63, Resulting Numbers: [19, 63]
Generated Node #0,0,2: 36:[19, 63] Operation: 84-21=63
Exploring Operation: 21+19=40, Resulting Numbers: [84, 40]
Generated Node #0,0,3: 36:[84, 40] Operation: 21+19=40
Exploring Operation: 84/21=4, Resulting Numbers: [19, 4]
Generated Node #0,0,4: 36:[19, 4] Operation: 84/21=4
Moving to Node #0,3
Current State: 36:[56, 75, 4], Operations: ['84/21=4']
Exploring Operation: 75-56=19, Resulting Numbers: [4, 19]
Generated Node #0,3,0: 36:[4, 19] Operation: 75-56=19
Exploring Operation: 75-4=71, Resulting Numbers: [56, 71]
Generated Node #0,3,1: 36:[56, 71] Operation: 75-4=71
Exploring Operation: 56/4=14, Resulting Numbers: [75, 14]
Generated Node #0,3,2: 36:[75, 14] Operation: 56/4=14
Exploring Operation: 56-4=52, Resulting Numbers: [75, 52]
Generated Node #0,3,3: 36:[75, 52] Operation: 56-4=52
Exploring Operation: 56+4=60, Resulting Numbers: [75, 60]
Generated Node #0,3,4: 36:[75, 60] Operation: 56+4=60
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 36:[4, 19], Operations: ['84/21=4', '75-56=19']
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,36 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 36:[75, 14], Operations: ['84/21=4', '56/4=14']
Exploring Operation: 75*14=1050, Resulting Numbers: [1050]
1050,36 unequal: No Solution
Exploring Operation: 75+14=89, Resulting Numbers: [89]
89,36 unequal: No Solution
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 36:[56, 71], Operations: ['84/21=4', '75-4=71']
Exploring Operation: 71-56=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 56*71=3976, Resulting Numbers: [3976]
3976,36 unequal: No Solution
Exploring Operation: 56+71=127, Resulting Numbers: [127]
127,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 36:[75, 52], Operations: ['84/21=4', '56-4=52']
Exploring Operation: 75-52=23, Resulting Numbers: [23]
23,36 unequal: No Solution
Exploring Operation: 75*52=3900, Resulting Numbers: [3900]
3900,36 unequal: No Solution
Exploring Operation: 75+52=127, Resulting Numbers: [127]
127,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 36:[75, 60], Operations: ['84/21=4', '56+4=60']
Exploring Operation: 75*60=4500, Resulting Numbers: [4500]
4500,36 unequal: No Solution
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 75+60=135, Resulting Numbers: [135]
135,36 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: 36:[56, 75, 63], Operations: ['84-21=63']
Exploring Operation: 56+63=119, Resulting Numbers: [75, 119]
Generated Node #0,4,0: 36:[75, 119] Operation: 56+63=119
Exploring Operation: 75-63=12, Resulting Numbers: [56, 12]
Generated Node #0,4,1: 36:[56, 12] Operation: 75-63=12
Exploring Operation: 75-56=19, Resulting Numbers: [63, 19]
Generated Node #0,4,2: 36:[63, 19] Operation: 75-56=19
Exploring Operation: 56+75=131, Resulting Numbers: [63, 131]
Generated Node #0,4,3: 36:[63, 131] Operation: 56+75=131
Exploring Operation: 63-56=7, Resulting Numbers: [75, 7]
Generated Node #0,4,4: 36:[75, 7] Operation: 63-56=7
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 36:[56, 12], Operations: ['84-21=63', '75-63=12']
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 56+12=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 56*12=672, Resulting Numbers: [672]
672,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 36:[63, 19], Operations: ['84-21=63', '75-56=19']
Exploring Operation: 63+19=82, Resulting Numbers: [82]
82,36 unequal: No Solution
Exploring Operation: 63*19=1197, Resulting Numbers: [1197]
1197,36 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 36:[75, 7], Operations: ['84-21=63', '63-56=7']
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 75+7=82, Resulting Numbers: [82]
82,36 unequal: No Solution
Exploring Operation: 75*7=525, Resulting Numbers: [525]
525,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 36:[75, 119], Operations: ['84-21=63', '56+63=119']
Exploring Operation: 119-75=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 75+119=194, Resulting Numbers: [194]
194,36 unequal: No Solution
Exploring Operation: 75*119=8925, Resulting Numbers: [8925]
8925,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 36:[63, 131], Operations: ['84-21=63', '56+75=131']
Exploring Operation: 131-63=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 63+131=194, Resulting Numbers: [194]
194,36 unequal: No Solution
Exploring Operation: 63*131=8253, Resulting Numbers: [8253]
8253,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 36:[19, 4], Operations: ['75-56=19', '84/21=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,36 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,36 unequal: No Solution
Moving to Node #0,1,3
Current State: 36:[21, 47], Operations: ['84-56=28', '75-28=47']
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[28, 54], Operations: ['84-56=28', '75-21=54']
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 28*54=1512, Resulting Numbers: [1512]
1512,36 unequal: No Solution
Exploring Operation: 28+54=82, Resulting Numbers: [82]
82,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[19, 63], Operations: ['75-56=19', '84-21=63']
Exploring Operation: 19*63=1197, Resulting Numbers: [1197]
1197,36 unequal: No Solution
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,36 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[21, 65], Operations: ['75-56=19', '84-19=65']
Exploring Operation: 21*65=1365, Resulting Numbers: [1365]
1365,36 unequal: No Solution
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 21+65=86, Resulting Numbers: [86]
86,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[75, 7], Operations: ['84-56=28', '28-21=7']
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 75*7=525, Resulting Numbers: [525]
525,36 unequal: No Solution
Exploring Operation: 75+7=82, Resulting Numbers: [82]
82,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[84, 2], Operations: ['75-56=19', '21-19=2']
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,36 unequal: No Solution
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,36 unequal: No Solution
Exploring Operation: 84*2=168, Resulting Numbers: [168]
168,36 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,36 unequal: No Solution
Moving to Node #0,1,4
Current State: 36:[75, 49], Operations: ['84-56=28', '21+28=49']
Exploring Operation: 75-49=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 75+49=124, Resulting Numbers: [124]
124,36 unequal: No Solution
Exploring Operation: 75*49=3675, Resulting Numbers: [3675]
3675,36 unequal: No Solution
Moving to Node #0,0,3
Current State: 36:[84, 40], Operations: ['75-56=19', '21+19=40']
Exploring Operation: 84+40=124, Resulting Numbers: [124]
124,36 unequal: No Solution
Exploring Operation: 84*40=3360, Resulting Numbers: [3360]
3360,36 unequal: No Solution
Exploring Operation: 84-40=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[28, 96], Operations: ['84-56=28', '21+75=96']
Exploring Operation: 96-28=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 28*96=2688, Resulting Numbers: [2688]
2688,36 unequal: No Solution
Exploring Operation: 28+96=124, Resulting Numbers: [124]
124,36 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
47,
45,
69,
32
] | 39 | [
"47-45=2",
"69-32=37",
"2+37=39"
] | Current State: 39:[47, 45, 69, 32], Operations: []
Exploring Operation: 47-45=2, Resulting Numbers: [69, 32, 2]
Generated Node #2: [69, 32, 2] from Operation: 47-45=2
Current State: 39:[69, 32, 2], Operations: ['47-45=2']
Exploring Operation: 69-32=37, Resulting Numbers: [2, 37]
Generated Node #3: [2, 37] from Operation: 69-32=37
Current State: 39:[2, 37], Operations: ['47-45=2', '69-32=37']
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[47, 45, 69, 32], Operations: []
Exploring Operation: 69-32=37, Resulting Numbers: [47, 45, 37]
Generated Node #0,0: 39:[47, 45, 37] Operation: 69-32=37
Moving to Node #0,0
Current State: 39:[47, 45, 37], Operations: ['69-32=37']
Exploring Operation: 47-45=2, Resulting Numbers: [37, 2]
Generated Node #0,0,0: 39:[37, 2] Operation: 47-45=2
Moving to Node #0,0,0
Current State: 39:[37, 2], Operations: ['69-32=37', '47-45=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[47, 45, 69, 32], Operations: []
Exploring Operation: 69-32=37, Resulting Numbers: [47, 45, 37]
Generated Node #0,0: 39:[47, 45, 37] Operation: 69-32=37
Moving to Node #0,0
Current State: 39:[47, 45, 37], Operations: ['69-32=37']
Exploring Operation: 47-45=2, Resulting Numbers: [37, 2]
Generated Node #0,0,0: 39:[37, 2] Operation: 47-45=2
Moving to Node #0,0,0
Current State: 39:[37, 2], Operations: ['69-32=37', '47-45=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
17,
52,
6,
44
] | 15 | [
"52-17=35",
"6+44=50",
"50-35=15"
] | Current State: 15:[17, 52, 6, 44], Operations: []
Exploring Operation: 52-17=35, Resulting Numbers: [6, 44, 35]
Generated Node #2: [6, 44, 35] from Operation: 52-17=35
Current State: 15:[6, 44, 35], Operations: ['52-17=35']
Exploring Operation: 6+44=50, Resulting Numbers: [35, 50]
Generated Node #3: [35, 50] from Operation: 6+44=50
Current State: 15:[35, 50], Operations: ['52-17=35', '6+44=50']
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[17, 52, 6, 44], Operations: []
Exploring Operation: 52-44=8, Resulting Numbers: [17, 6, 8]
Generated Node #0,0: 15:[17, 6, 8] Operation: 52-44=8
Exploring Operation: 52-6=46, Resulting Numbers: [17, 44, 46]
Generated Node #0,1: 15:[17, 44, 46] Operation: 52-6=46
Exploring Operation: 44-17=27, Resulting Numbers: [52, 6, 27]
Generated Node #0,2: 15:[52, 6, 27] Operation: 44-17=27
Exploring Operation: 44-6=38, Resulting Numbers: [17, 52, 38]
Generated Node #0,3: 15:[17, 52, 38] Operation: 44-6=38
Exploring Operation: 52-17=35, Resulting Numbers: [6, 44, 35]
Generated Node #0,4: 15:[6, 44, 35] Operation: 52-17=35
Moving to Node #0,0
Current State: 15:[17, 6, 8], Operations: ['52-44=8']
Exploring Operation: 6+8=14, Resulting Numbers: [17, 14]
Generated Node #0,0,0: 15:[17, 14] Operation: 6+8=14
Exploring Operation: 17-8=9, Resulting Numbers: [6, 9]
Generated Node #0,0,1: 15:[6, 9] Operation: 17-8=9
Exploring Operation: 17-6=11, Resulting Numbers: [8, 11]
Generated Node #0,0,2: 15:[8, 11] Operation: 17-6=11
Exploring Operation: 17+6=23, Resulting Numbers: [8, 23]
Generated Node #0,0,3: 15:[8, 23] Operation: 17+6=23
Exploring Operation: 8-6=2, Resulting Numbers: [17, 2]
Generated Node #0,0,4: 15:[17, 2] Operation: 8-6=2
Moving to Node #0,4
Current State: 15:[6, 44, 35], Operations: ['52-17=35']
Exploring Operation: 6+44=50, Resulting Numbers: [35, 50]
Generated Node #0,4,0: 15:[35, 50] Operation: 6+44=50
Exploring Operation: 44-6=38, Resulting Numbers: [35, 38]
Generated Node #0,4,1: 15:[35, 38] Operation: 44-6=38
Exploring Operation: 44-35=9, Resulting Numbers: [6, 9]
Generated Node #0,4,2: 15:[6, 9] Operation: 44-35=9
Exploring Operation: 6+35=41, Resulting Numbers: [44, 41]
Generated Node #0,4,3: 15:[44, 41] Operation: 6+35=41
Exploring Operation: 35-6=29, Resulting Numbers: [44, 29]
Generated Node #0,4,4: 15:[44, 29] Operation: 35-6=29
Moving to Node #0,2
Current State: 15:[52, 6, 27], Operations: ['44-17=27']
Exploring Operation: 27-6=21, Resulting Numbers: [52, 21]
Generated Node #0,2,0: 15:[52, 21] Operation: 27-6=21
Exploring Operation: 52+6=58, Resulting Numbers: [27, 58]
Generated Node #0,2,1: 15:[27, 58] Operation: 52+6=58
Exploring Operation: 6+27=33, Resulting Numbers: [52, 33]
Generated Node #0,2,2: 15:[52, 33] Operation: 6+27=33
Exploring Operation: 52-27=25, Resulting Numbers: [6, 25]
Generated Node #0,2,3: 15:[6, 25] Operation: 52-27=25
Exploring Operation: 52-6=46, Resulting Numbers: [27, 46]
Generated Node #0,2,4: 15:[27, 46] Operation: 52-6=46
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 15:[6, 25], Operations: ['44-17=27', '52-27=25']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,15 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 15:[52, 21], Operations: ['44-17=27', '27-6=21']
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,15 unequal: No Solution
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,15 unequal: No Solution
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 15:[27, 46], Operations: ['44-17=27', '52-6=46']
Exploring Operation: 27+46=73, Resulting Numbers: [73]
73,15 unequal: No Solution
Exploring Operation: 27*46=1242, Resulting Numbers: [1242]
1242,15 unequal: No Solution
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 15:[27, 58], Operations: ['44-17=27', '52+6=58']
Exploring Operation: 27+58=85, Resulting Numbers: [85]
85,15 unequal: No Solution
Exploring Operation: 27*58=1566, Resulting Numbers: [1566]
1566,15 unequal: No Solution
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 15:[52, 33], Operations: ['44-17=27', '6+27=33']
Exploring Operation: 52*33=1716, Resulting Numbers: [1716]
1716,15 unequal: No Solution
Exploring Operation: 52+33=85, Resulting Numbers: [85]
85,15 unequal: No Solution
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,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:[17, 44, 46], Operations: ['52-6=46']
Exploring Operation: 17+46=63, Resulting Numbers: [44, 63]
Generated Node #0,1,0: 15:[44, 63] Operation: 17+46=63
Exploring Operation: 17+44=61, Resulting Numbers: [46, 61]
Generated Node #0,1,1: 15:[46, 61] Operation: 17+44=61
Exploring Operation: 46-17=29, Resulting Numbers: [44, 29]
Generated Node #0,1,2: 15:[44, 29] Operation: 46-17=29
Exploring Operation: 44-17=27, Resulting Numbers: [46, 27]
Generated Node #0,1,3: 15:[46, 27] Operation: 44-17=27
Exploring Operation: 46-44=2, Resulting Numbers: [17, 2]
Generated Node #0,1,4: 15:[17, 2] Operation: 46-44=2
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 15:[17, 2], Operations: ['52-6=46', '46-44=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,15 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[17, 52, 6, 44], Operations: []
Exploring Operation: 52-6=46, Resulting Numbers: [17, 44, 46]
Generated Node #0,1: 15:[17, 44, 46] Operation: 52-6=46
Moving to Node #0,1
Current State: 15:[17, 44, 46], Operations: ['52-6=46']
Exploring Operation: 46-44=2, Resulting Numbers: [17, 2]
Generated Node #0,1,4: 15:[17, 2] Operation: 46-44=2
Moving to Node #0,1,4
Current State: 15:[17, 2], Operations: ['52-6=46', '46-44=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_5 | mult_heuristic |
[
61,
62,
56,
16
] | 35 | [
"62-56=6",
"16*6=96",
"96-61=35"
] | Current State: 35:[61, 62, 56, 16], Operations: []
Exploring Operation: 62-56=6, Resulting Numbers: [61, 16, 6]
Generated Node #2: [61, 16, 6] from Operation: 62-56=6
Current State: 35:[61, 16, 6], Operations: ['62-56=6']
Exploring Operation: 16*6=96, Resulting Numbers: [61, 96]
Generated Node #3: [61, 96] from Operation: 16*6=96
Current State: 35:[61, 96], Operations: ['62-56=6', '16*6=96']
Exploring Operation: 96-61=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[61, 62, 56, 16], Operations: []
Exploring Operation: 61-16=45, Resulting Numbers: [62, 56, 45]
Generated Node #0,0: 35:[62, 56, 45] Operation: 61-16=45
Exploring Operation: 61-56=5, Resulting Numbers: [62, 16, 5]
Generated Node #0,1: 35:[62, 16, 5] Operation: 61-56=5
Exploring Operation: 62-56=6, Resulting Numbers: [61, 16, 6]
Generated Node #0,2: 35:[61, 16, 6] Operation: 62-56=6
Exploring Operation: 62-61=1, Resulting Numbers: [56, 16, 1]
Generated Node #0,3: 35:[56, 16, 1] Operation: 62-61=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[56, 16, 1], Operations: ['62-61=1']
Exploring Operation: 56-1=55, Resulting Numbers: [16, 55]
Generated Node #0,3,0: 35:[16, 55] Operation: 56-1=55
Exploring Operation: 56*1=56, Resulting Numbers: [16, 56]
Generated Node #0,3,1: 35:[16, 56] Operation: 56*1=56
Exploring Operation: 16-1=15, Resulting Numbers: [56, 15]
Generated Node #0,3,2: 35:[56, 15] Operation: 16-1=15
Exploring Operation: 56-16=40, Resulting Numbers: [1, 40]
Generated Node #0,3,3: 35:[1, 40] Operation: 56-16=40
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 35:[1, 40], Operations: ['62-61=1', '56-16=40']
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 1+40=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 35:[16, 55], Operations: ['62-61=1', '56-1=55']
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,35 unequal: No Solution
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 35:[56, 15], Operations: ['62-61=1', '16-1=15']
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,35 unequal: No Solution
Exploring Operation: 56*15=840, Resulting Numbers: [840]
840,35 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 35:[16, 56], Operations: ['62-61=1', '56*1=56']
Exploring Operation: 16*56=896, Resulting Numbers: [896]
896,35 unequal: No Solution
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 16+56=72, Resulting Numbers: [72]
72,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[62, 16, 5], Operations: ['61-56=5']
Exploring Operation: 62-5=57, Resulting Numbers: [16, 57]
Generated Node #0,1,0: 35:[16, 57] Operation: 62-5=57
Exploring Operation: 62-16=46, Resulting Numbers: [5, 46]
Generated Node #0,1,1: 35:[5, 46] Operation: 62-16=46
Exploring Operation: 16-5=11, Resulting Numbers: [62, 11]
Generated Node #0,1,2: 35:[62, 11] Operation: 16-5=11
Exploring Operation: 62+5=67, Resulting Numbers: [16, 67]
Generated Node #0,1,3: 35:[16, 67] Operation: 62+5=67
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 35:[5, 46], Operations: ['61-56=5', '62-16=46']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 35:[16, 57], Operations: ['61-56=5', '62-5=57']
Exploring Operation: 57-16=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 16+57=73, Resulting Numbers: [73]
73,35 unequal: No Solution
Exploring Operation: 16*57=912, Resulting Numbers: [912]
912,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 35:[62, 11], Operations: ['61-56=5', '16-5=11']
Exploring Operation: 62+11=73, Resulting Numbers: [73]
73,35 unequal: No Solution
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 62*11=682, Resulting Numbers: [682]
682,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 35:[16, 67], Operations: ['61-56=5', '62+5=67']
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 16+67=83, Resulting Numbers: [83]
83,35 unequal: No Solution
Exploring Operation: 16*67=1072, Resulting Numbers: [1072]
1072,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[61, 16, 6], Operations: ['62-56=6']
Exploring Operation: 16-6=10, Resulting Numbers: [61, 10]
Generated Node #0,2,0: 35:[61, 10] Operation: 16-6=10
Exploring Operation: 16+6=22, Resulting Numbers: [61, 22]
Generated Node #0,2,1: 35:[61, 22] Operation: 16+6=22
Exploring Operation: 61-6=55, Resulting Numbers: [16, 55]
Generated Node #0,2,2: 35:[16, 55] Operation: 61-6=55
Exploring Operation: 61-16=45, Resulting Numbers: [6, 45]
Generated Node #0,2,3: 35:[6, 45] Operation: 61-16=45
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 35:[6, 45], Operations: ['62-56=6', '61-16=45']
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 6*45=270, Resulting Numbers: [270]
270,35 unequal: No Solution
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 35:[61, 10], Operations: ['62-56=6', '16-6=10']
Exploring Operation: 61*10=610, Resulting Numbers: [610]
610,35 unequal: No Solution
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 61+10=71, Resulting Numbers: [71]
71,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 35:[16, 55], Operations: ['62-56=6', '61-6=55']
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,35 unequal: No Solution
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 35:[61, 22], Operations: ['62-56=6', '16+6=22']
Exploring Operation: 61*22=1342, Resulting Numbers: [1342]
1342,35 unequal: No Solution
Exploring Operation: 61+22=83, Resulting Numbers: [83]
83,35 unequal: No Solution
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[62, 56, 45], Operations: ['61-16=45']
Exploring Operation: 62+56=118, Resulting Numbers: [45, 118]
Generated Node #0,0,0: 35:[45, 118] Operation: 62+56=118
Exploring Operation: 62-45=17, Resulting Numbers: [56, 17]
Generated Node #0,0,1: 35:[56, 17] Operation: 62-45=17
Exploring Operation: 62-56=6, Resulting Numbers: [45, 6]
Generated Node #0,0,2: 35:[45, 6] Operation: 62-56=6
Exploring Operation: 56-45=11, Resulting Numbers: [62, 11]
Generated Node #0,0,3: 35:[62, 11] Operation: 56-45=11
Moving to Node #0,0,2
Current State: 35:[45, 6], Operations: ['61-16=45', '62-56=6']
Exploring Operation: 45*6=270, Resulting Numbers: [270]
270,35 unequal: No Solution
Exploring Operation: 45+6=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Moving to Node #0,0,3
Current State: 35:[62, 11], Operations: ['61-16=45', '56-45=11']
Exploring Operation: 62*11=682, Resulting Numbers: [682]
682,35 unequal: No Solution
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 62+11=73, Resulting Numbers: [73]
73,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[56, 17], Operations: ['61-16=45', '62-45=17']
Exploring Operation: 56*17=952, Resulting Numbers: [952]
952,35 unequal: No Solution
Exploring Operation: 56+17=73, Resulting Numbers: [73]
73,35 unequal: No Solution
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[45, 118], Operations: ['61-16=45', '62+56=118']
Exploring Operation: 45*118=5310, Resulting Numbers: [5310]
5310,35 unequal: No Solution
Exploring Operation: 45+118=163, Resulting Numbers: [163]
163,35 unequal: No Solution
Exploring Operation: 118-45=73, Resulting Numbers: [73]
73,35 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 |
[
4,
83,
65,
6
] | 66 | [
"83-65=18",
"4*18=72",
"72-6=66"
] | Current State: 66:[4, 83, 65, 6], Operations: []
Exploring Operation: 83-65=18, Resulting Numbers: [4, 6, 18]
Generated Node #2: [4, 6, 18] from Operation: 83-65=18
Current State: 66:[4, 6, 18], Operations: ['83-65=18']
Exploring Operation: 4*18=72, Resulting Numbers: [6, 72]
Generated Node #3: [6, 72] from Operation: 4*18=72
Current State: 66:[6, 72], Operations: ['83-65=18', '4*18=72']
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[4, 83, 65, 6], Operations: []
Exploring Operation: 83-65=18, Resulting Numbers: [4, 6, 18]
Generated Node #0,0: 66:[4, 6, 18] Operation: 83-65=18
Exploring Operation: 83-4=79, Resulting Numbers: [65, 6, 79]
Generated Node #0,1: 66:[65, 6, 79] Operation: 83-4=79
Exploring Operation: 83-6=77, Resulting Numbers: [4, 65, 77]
Generated Node #0,2: 66:[4, 65, 77] Operation: 83-6=77
Moving to Node #0,0
Current State: 66:[4, 6, 18], Operations: ['83-65=18']
Exploring Operation: 18-6=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 66:[4, 12] Operation: 18-6=12
Exploring Operation: 18/6=3, Resulting Numbers: [4, 3]
Generated Node #0,0,1: 66:[4, 3] Operation: 18/6=3
Exploring Operation: 4+18=22, Resulting Numbers: [6, 22]
Generated Node #0,0,2: 66:[6, 22] Operation: 4+18=22
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 66:[6, 22], Operations: ['83-65=18', '4+18=22']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,66 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[4, 3], Operations: ['83-65=18', '18/6=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[4, 12], Operations: ['83-65=18', '18-6=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,66 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: 66:[4, 65, 77], Operations: ['83-6=77']
Exploring Operation: 77-65=12, Resulting Numbers: [4, 12]
Generated Node #0,2,0: 66:[4, 12] Operation: 77-65=12
Exploring Operation: 77-4=73, Resulting Numbers: [65, 73]
Generated Node #0,2,1: 66:[65, 73] Operation: 77-4=73
Exploring Operation: 4+65=69, Resulting Numbers: [77, 69]
Generated Node #0,2,2: 66:[77, 69] Operation: 4+65=69
Moving to Node #0,1
Current State: 66:[65, 6, 79], Operations: ['83-4=79']
Exploring Operation: 79-65=14, Resulting Numbers: [6, 14]
Generated Node #0,1,0: 66:[6, 14] Operation: 79-65=14
Exploring Operation: 79-6=73, Resulting Numbers: [65, 73]
Generated Node #0,1,1: 66:[65, 73] Operation: 79-6=73
Exploring Operation: 65+6=71, Resulting Numbers: [79, 71]
Generated Node #0,1,2: 66:[79, 71] Operation: 65+6=71
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[6, 14], Operations: ['83-4=79', '79-65=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[65, 73], Operations: ['83-4=79', '79-6=73']
Exploring Operation: 65+73=138, Resulting Numbers: [138]
138,66 unequal: No Solution
Exploring Operation: 73-65=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 65*73=4745, Resulting Numbers: [4745]
4745,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[79, 71], Operations: ['83-4=79', '65+6=71']
Exploring Operation: 79+71=150, Resulting Numbers: [150]
150,66 unequal: No Solution
Exploring Operation: 79-71=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 79*71=5609, Resulting Numbers: [5609]
5609,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 66:[4, 12], Operations: ['83-6=77', '77-65=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[65, 73], Operations: ['83-6=77', '77-4=73']
Exploring Operation: 65*73=4745, Resulting Numbers: [4745]
4745,66 unequal: No Solution
Exploring Operation: 73-65=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 65+73=138, Resulting Numbers: [138]
138,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[77, 69], Operations: ['83-6=77', '4+65=69']
Exploring Operation: 77*69=5313, Resulting Numbers: [5313]
5313,66 unequal: No Solution
Exploring Operation: 77-69=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 77+69=146, Resulting Numbers: [146]
146,66 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.