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 |
|---|---|---|---|---|---|---|---|---|
[
5,
31,
21,
1
] | 75 | [
"5*21=105",
"31-1=30",
"105-30=75"
] | Current State: 75:[5, 31, 21, 1], Operations: []
Exploring Operation: 5*21=105, Resulting Numbers: [31, 1, 105]
Generated Node #2: [31, 1, 105] from Operation: 5*21=105
Current State: 75:[31, 1, 105], Operations: ['5*21=105']
Exploring Operation: 31-1=30, Resulting Numbers: [105, 30]
Generated Node #3: [105, 30] from Operation: 31-1=30
Current State: 75:[105, 30], Operations: ['5*21=105', '31-1=30']
Exploring Operation: 105-30=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[5, 31, 21, 1], Operations: []
Exploring Operation: 31-21=10, Resulting Numbers: [5, 1, 10]
Generated Node #0,0: 75:[5, 1, 10] Operation: 31-21=10
Exploring Operation: 31-5=26, Resulting Numbers: [21, 1, 26]
Generated Node #0,1: 75:[21, 1, 26] Operation: 31-5=26
Moving to Node #0,0
Current State: 75:[5, 1, 10], Operations: ['31-21=10']
Exploring Operation: 5+10=15, Resulting Numbers: [1, 15]
Generated Node #0,0,0: 75:[1, 15] Operation: 5+10=15
Exploring Operation: 10-5=5, Resulting Numbers: [1, 5]
Generated Node #0,0,1: 75:[1, 5] Operation: 10-5=5
Moving to Node #0,1
Current State: 75:[21, 1, 26], Operations: ['31-5=26']
Exploring Operation: 21+1=22, Resulting Numbers: [26, 22]
Generated Node #0,1,0: 75:[26, 22] Operation: 21+1=22
Exploring Operation: 26-21=5, Resulting Numbers: [1, 5]
Generated Node #0,1,1: 75:[1, 5] Operation: 26-21=5
Moving to Node #0,0,0
Current State: 75:[1, 15], Operations: ['31-21=10', '5+10=15']
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[1, 5], Operations: ['31-5=26', '26-21=5']
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[1, 5], Operations: ['31-21=10', '10-5=5']
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[26, 22], Operations: ['31-5=26', '21+1=22']
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,75 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
12,
61,
45,
6
] | 32 | [
"12/6=2",
"61-45=16",
"2*16=32"
] | Current State: 32:[12, 61, 45, 6], Operations: []
Exploring Operation: 12/6=2, Resulting Numbers: [61, 45, 2]
Generated Node #2: [61, 45, 2] from Operation: 12/6=2
Current State: 32:[61, 45, 2], Operations: ['12/6=2']
Exploring Operation: 61-45=16, Resulting Numbers: [2, 16]
Generated Node #3: [2, 16] from Operation: 61-45=16
Current State: 32:[2, 16], Operations: ['12/6=2', '61-45=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[12, 61, 45, 6], Operations: []
Exploring Operation: 45-12=33, Resulting Numbers: [61, 6, 33]
Generated Node #0,0: 32:[61, 6, 33] Operation: 45-12=33
Exploring Operation: 61-45=16, Resulting Numbers: [12, 6, 16]
Generated Node #0,1: 32:[12, 6, 16] Operation: 61-45=16
Exploring Operation: 61-12=49, Resulting Numbers: [45, 6, 49]
Generated Node #0,2: 32:[45, 6, 49] Operation: 61-12=49
Exploring Operation: 45-6=39, Resulting Numbers: [12, 61, 39]
Generated Node #0,3: 32:[12, 61, 39] Operation: 45-6=39
Exploring Operation: 61-6=55, Resulting Numbers: [12, 45, 55]
Generated Node #0,4: 32:[12, 45, 55] Operation: 61-6=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[12, 6, 16], Operations: ['61-45=16']
Exploring Operation: 16-12=4, Resulting Numbers: [6, 4]
Generated Node #0,1,0: 32:[6, 4] Operation: 16-12=4
Exploring Operation: 12+6=18, Resulting Numbers: [16, 18]
Generated Node #0,1,1: 32:[16, 18] Operation: 12+6=18
Exploring Operation: 12+16=28, Resulting Numbers: [6, 28]
Generated Node #0,1,2: 32:[6, 28] Operation: 12+16=28
Exploring Operation: 12/6=2, Resulting Numbers: [16, 2]
Generated Node #0,1,3: 32:[16, 2] Operation: 12/6=2
Exploring Operation: 12-6=6, Resulting Numbers: [16, 6]
Generated Node #0,1,4: 32:[16, 6] Operation: 12-6=6
Moving to Node #0,1,3
Current State: 32:[16, 2], Operations: ['61-45=16', '12/6=2']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[12, 61, 45, 6], Operations: []
Exploring Operation: 61-45=16, Resulting Numbers: [12, 6, 16]
Generated Node #0,1: 32:[12, 6, 16] Operation: 61-45=16
Moving to Node #0,1
Current State: 32:[12, 6, 16], Operations: ['61-45=16']
Exploring Operation: 12/6=2, Resulting Numbers: [16, 2]
Generated Node #0,1,3: 32:[16, 2] Operation: 12/6=2
Moving to Node #0,1,3
Current State: 32:[16, 2], Operations: ['61-45=16', '12/6=2']
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
23,
41,
65,
87
] | 63 | [
"87-41=46",
"46/23=2",
"65-2=63"
] | Current State: 63:[23, 41, 65, 87], Operations: []
Exploring Operation: 87-41=46, Resulting Numbers: [23, 65, 46]
Generated Node #2: [23, 65, 46] from Operation: 87-41=46
Current State: 63:[23, 65, 46], Operations: ['87-41=46']
Exploring Operation: 46/23=2, Resulting Numbers: [65, 2]
Generated Node #3: [65, 2] from Operation: 46/23=2
Current State: 63:[65, 2], Operations: ['87-41=46', '46/23=2']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[23, 41, 65, 87], Operations: []
Exploring Operation: 87-23=64, Resulting Numbers: [41, 65, 64]
Generated Node #0,0: 63:[41, 65, 64] Operation: 87-23=64
Exploring Operation: 87-41=46, Resulting Numbers: [23, 65, 46]
Generated Node #0,1: 63:[23, 65, 46] Operation: 87-41=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[23, 65, 46], Operations: ['87-41=46']
Exploring Operation: 46-23=23, Resulting Numbers: [65, 23]
Generated Node #0,1,0: 63:[65, 23] Operation: 46-23=23
Exploring Operation: 46/23=2, Resulting Numbers: [65, 2]
Generated Node #0,1,1: 63:[65, 2] Operation: 46/23=2
Moving to Node #0,1,1
Current State: 63:[65, 2], Operations: ['87-41=46', '46/23=2']
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,63 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[23, 41, 65, 87], Operations: []
Exploring Operation: 87-41=46, Resulting Numbers: [23, 65, 46]
Generated Node #0,1: 63:[23, 65, 46] Operation: 87-41=46
Moving to Node #0,1
Current State: 63:[23, 65, 46], Operations: ['87-41=46']
Exploring Operation: 46/23=2, Resulting Numbers: [65, 2]
Generated Node #0,1,1: 63:[65, 2] Operation: 46/23=2
Moving to Node #0,1,1
Current State: 63:[65, 2], Operations: ['87-41=46', '46/23=2']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
95,
88,
63,
15
] | 55 | [
"95-88=7",
"63-15=48",
"7+48=55"
] | Current State: 55:[95, 88, 63, 15], Operations: []
Exploring Operation: 95-88=7, Resulting Numbers: [63, 15, 7]
Generated Node #2: [63, 15, 7] from Operation: 95-88=7
Current State: 55:[63, 15, 7], Operations: ['95-88=7']
Exploring Operation: 63-15=48, Resulting Numbers: [7, 48]
Generated Node #3: [7, 48] from Operation: 63-15=48
Current State: 55:[7, 48], Operations: ['95-88=7', '63-15=48']
Exploring Operation: 7+48=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[95, 88, 63, 15], Operations: []
Exploring Operation: 88-63=25, Resulting Numbers: [95, 15, 25]
Generated Node #0,0: 55:[95, 15, 25] Operation: 88-63=25
Exploring Operation: 95-63=32, Resulting Numbers: [88, 15, 32]
Generated Node #0,1: 55:[88, 15, 32] Operation: 95-63=32
Exploring Operation: 95-88=7, Resulting Numbers: [63, 15, 7]
Generated Node #0,2: 55:[63, 15, 7] Operation: 95-88=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[63, 15, 7], Operations: ['95-88=7']
Exploring Operation: 63-7=56, Resulting Numbers: [15, 56]
Generated Node #0,2,0: 55:[15, 56] Operation: 63-7=56
Exploring Operation: 63-15=48, Resulting Numbers: [7, 48]
Generated Node #0,2,1: 55:[7, 48] Operation: 63-15=48
Exploring Operation: 63/7=9, Resulting Numbers: [15, 9]
Generated Node #0,2,2: 55:[15, 9] Operation: 63/7=9
Moving to Node #0,2,0
Current State: 55:[15, 56], Operations: ['95-88=7', '63-7=56']
Exploring Operation: 15*56=840, Resulting Numbers: [840]
840,55 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 15+56=71, Resulting Numbers: [71]
71,55 unequal: No Solution
Moving to Node #0,2,2
Current State: 55:[15, 9], Operations: ['95-88=7', '63/7=9']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,55 unequal: No Solution
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,55 unequal: No Solution
Moving to Node #0,2,1
Current State: 55:[7, 48], Operations: ['95-88=7', '63-15=48']
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 7*48=336, Resulting Numbers: [336]
336,55 unequal: No Solution
Exploring Operation: 7+48=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[95, 88, 63, 15], Operations: []
Exploring Operation: 95-88=7, Resulting Numbers: [63, 15, 7]
Generated Node #0,2: 55:[63, 15, 7] Operation: 95-88=7
Moving to Node #0,2
Current State: 55:[63, 15, 7], Operations: ['95-88=7']
Exploring Operation: 63-15=48, Resulting Numbers: [7, 48]
Generated Node #0,2,1: 55:[7, 48] Operation: 63-15=48
Moving to Node #0,2,1
Current State: 55:[7, 48], Operations: ['95-88=7', '63-15=48']
Exploring Operation: 7+48=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
68,
24,
53,
2
] | 75 | [
"68-24=44",
"44/2=22",
"53+22=75"
] | Current State: 75:[68, 24, 53, 2], Operations: []
Exploring Operation: 68-24=44, Resulting Numbers: [53, 2, 44]
Generated Node #2: [53, 2, 44] from Operation: 68-24=44
Current State: 75:[53, 2, 44], Operations: ['68-24=44']
Exploring Operation: 44/2=22, Resulting Numbers: [53, 22]
Generated Node #3: [53, 22] from Operation: 44/2=22
Current State: 75:[53, 22], Operations: ['68-24=44', '44/2=22']
Exploring Operation: 53+22=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[68, 24, 53, 2], Operations: []
Exploring Operation: 68+2=70, Resulting Numbers: [24, 53, 70]
Generated Node #0,0: 75:[24, 53, 70] Operation: 68+2=70
Exploring Operation: 24+53=77, Resulting Numbers: [68, 2, 77]
Generated Node #0,1: 75:[68, 2, 77] Operation: 24+53=77
Exploring Operation: 68-53=15, Resulting Numbers: [24, 2, 15]
Generated Node #0,2: 75:[24, 2, 15] Operation: 68-53=15
Exploring Operation: 53-24=29, Resulting Numbers: [68, 2, 29]
Generated Node #0,3: 75:[68, 2, 29] Operation: 53-24=29
Moving to Node #0,2
Current State: 75:[24, 2, 15], Operations: ['68-53=15']
Exploring Operation: 24-2=22, Resulting Numbers: [15, 22]
Generated Node #0,2,0: 75:[15, 22] Operation: 24-2=22
Exploring Operation: 2+15=17, Resulting Numbers: [24, 17]
Generated Node #0,2,1: 75:[24, 17] Operation: 2+15=17
Exploring Operation: 24/2=12, Resulting Numbers: [15, 12]
Generated Node #0,2,2: 75:[15, 12] Operation: 24/2=12
Exploring Operation: 24+2=26, Resulting Numbers: [15, 26]
Generated Node #0,2,3: 75:[15, 26] Operation: 24+2=26
Moving to Node #0,1
Current State: 75:[68, 2, 77], Operations: ['24+53=77']
Exploring Operation: 68+2=70, Resulting Numbers: [77, 70]
Generated Node #0,1,0: 75:[77, 70] Operation: 68+2=70
Exploring Operation: 77-2=75, Resulting Numbers: [68, 75]
Generated Node #0,1,1: 75:[68, 75] Operation: 77-2=75
Exploring Operation: 68-2=66, Resulting Numbers: [77, 66]
Generated Node #0,1,2: 75:[77, 66] Operation: 68-2=66
Exploring Operation: 77-68=9, Resulting Numbers: [2, 9]
Generated Node #0,1,3: 75:[2, 9] Operation: 77-68=9
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 75:[2, 9], Operations: ['24+53=77', '77-68=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 2+9=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,0
Current State: 75:[77, 70], Operations: ['24+53=77', '68+2=70']
Exploring Operation: 77*70=5390, Resulting Numbers: [5390]
5390,75 unequal: No Solution
Exploring Operation: 77-70=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 77+70=147, Resulting Numbers: [147]
147,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,1
Current State: 75:[68, 75], Operations: ['24+53=77', '77-2=75']
Exploring Operation: 68+75=143, Resulting Numbers: [143]
143,75 unequal: No Solution
Exploring Operation: 68*75=5100, Resulting Numbers: [5100]
5100,75 unequal: No Solution
Exploring Operation: 75-68=7, Resulting Numbers: [7]
7,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,2
Current State: 75:[77, 66], Operations: ['24+53=77', '68-2=66']
Exploring Operation: 77+66=143, Resulting Numbers: [143]
143,75 unequal: No Solution
Exploring Operation: 77-66=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 77*66=5082, Resulting Numbers: [5082]
5082,75 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: 75:[68, 2, 29], Operations: ['53-24=29']
Exploring Operation: 68/2=34, Resulting Numbers: [29, 34]
Generated Node #0,3,0: 75:[29, 34] Operation: 68/2=34
Exploring Operation: 68+2=70, Resulting Numbers: [29, 70]
Generated Node #0,3,1: 75:[29, 70] Operation: 68+2=70
Exploring Operation: 68-2=66, Resulting Numbers: [29, 66]
Generated Node #0,3,2: 75:[29, 66] Operation: 68-2=66
Exploring Operation: 29-2=27, Resulting Numbers: [68, 27]
Generated Node #0,3,3: 75:[68, 27] Operation: 29-2=27
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 75:[29, 70], Operations: ['53-24=29', '68+2=70']
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 29+70=99, Resulting Numbers: [99]
99,75 unequal: No Solution
Exploring Operation: 29*70=2030, Resulting Numbers: [2030]
2030,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,3
Current State: 75:[68, 27], Operations: ['53-24=29', '29-2=27']
Exploring Operation: 68*27=1836, Resulting Numbers: [1836]
1836,75 unequal: No Solution
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 68+27=95, Resulting Numbers: [95]
95,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,0
Current State: 75:[29, 34], Operations: ['53-24=29', '68/2=34']
Exploring Operation: 29+34=63, Resulting Numbers: [63]
63,75 unequal: No Solution
Exploring Operation: 29*34=986, Resulting Numbers: [986]
986,75 unequal: No Solution
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,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,2
Current State: 75:[29, 66], Operations: ['53-24=29', '68-2=66']
Exploring Operation: 29*66=1914, Resulting Numbers: [1914]
1914,75 unequal: No Solution
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,75 unequal: No Solution
Exploring Operation: 29+66=95, Resulting Numbers: [95]
95,75 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: 75:[24, 53, 70], Operations: ['68+2=70']
Exploring Operation: 24+53=77, Resulting Numbers: [70, 77]
Generated Node #0,0,0: 75:[70, 77] Operation: 24+53=77
Exploring Operation: 24+70=94, Resulting Numbers: [53, 94]
Generated Node #0,0,1: 75:[53, 94] Operation: 24+70=94
Exploring Operation: 53-24=29, Resulting Numbers: [70, 29]
Generated Node #0,0,2: 75:[70, 29] Operation: 53-24=29
Exploring Operation: 70-53=17, Resulting Numbers: [24, 17]
Generated Node #0,0,3: 75:[24, 17] Operation: 70-53=17
Moving to Node #0,2,3
Current State: 75:[15, 26], Operations: ['68-53=15', '24+2=26']
Exploring Operation: 15+26=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 15*26=390, Resulting Numbers: [390]
390,75 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[24, 17], Operations: ['68-53=15', '2+15=17']
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,75 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[15, 22], Operations: ['68-53=15', '24-2=22']
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,75 unequal: No Solution
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,75 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Moving to Node #0,0,3
Current State: 75:[24, 17], Operations: ['68+2=70', '70-53=17']
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,75 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[15, 12], Operations: ['68-53=15', '24/2=12']
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[70, 77], Operations: ['68+2=70', '24+53=77']
Exploring Operation: 77-70=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 70+77=147, Resulting Numbers: [147]
147,75 unequal: No Solution
Exploring Operation: 70*77=5390, Resulting Numbers: [5390]
5390,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[70, 29], Operations: ['68+2=70', '53-24=29']
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 70*29=2030, Resulting Numbers: [2030]
2030,75 unequal: No Solution
Exploring Operation: 70+29=99, Resulting Numbers: [99]
99,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[53, 94], Operations: ['68+2=70', '24+70=94']
Exploring Operation: 94-53=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 53+94=147, Resulting Numbers: [147]
147,75 unequal: No Solution
Exploring Operation: 53*94=4982, Resulting Numbers: [4982]
4982,75 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
53,
92,
68,
3
] | 80 | [
"53+92=145",
"68-3=65",
"145-65=80"
] | Current State: 80:[53, 92, 68, 3], Operations: []
Exploring Operation: 53+92=145, Resulting Numbers: [68, 3, 145]
Generated Node #2: [68, 3, 145] from Operation: 53+92=145
Current State: 80:[68, 3, 145], Operations: ['53+92=145']
Exploring Operation: 68-3=65, Resulting Numbers: [145, 65]
Generated Node #3: [145, 65] from Operation: 68-3=65
Current State: 80:[145, 65], Operations: ['53+92=145', '68-3=65']
Exploring Operation: 145-65=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[53, 92, 68, 3], Operations: []
Exploring Operation: 53-3=50, Resulting Numbers: [92, 68, 50]
Generated Node #0,0: 80:[92, 68, 50] Operation: 53-3=50
Exploring Operation: 92-53=39, Resulting Numbers: [68, 3, 39]
Generated Node #0,1: 80:[68, 3, 39] Operation: 92-53=39
Exploring Operation: 68-53=15, Resulting Numbers: [92, 3, 15]
Generated Node #0,2: 80:[92, 3, 15] Operation: 68-53=15
Exploring Operation: 92-68=24, Resulting Numbers: [53, 3, 24]
Generated Node #0,3: 80:[53, 3, 24] Operation: 92-68=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[68, 3, 39], Operations: ['92-53=39']
Exploring Operation: 39/3=13, Resulting Numbers: [68, 13]
Generated Node #0,1,0: 80:[68, 13] Operation: 39/3=13
Exploring Operation: 68-39=29, Resulting Numbers: [3, 29]
Generated Node #0,1,1: 80:[3, 29] Operation: 68-39=29
Exploring Operation: 3+39=42, Resulting Numbers: [68, 42]
Generated Node #0,1,2: 80:[68, 42] Operation: 3+39=42
Exploring Operation: 68+3=71, Resulting Numbers: [39, 71]
Generated Node #0,1,3: 80:[39, 71] Operation: 68+3=71
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[3, 29], Operations: ['92-53=39', '68-39=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,80 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,80 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 80:[39, 71], Operations: ['92-53=39', '68+3=71']
Exploring Operation: 39*71=2769, Resulting Numbers: [2769]
2769,80 unequal: No Solution
Exploring Operation: 39+71=110, Resulting Numbers: [110]
110,80 unequal: No Solution
Exploring Operation: 71-39=32, Resulting Numbers: [32]
32,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 80:[68, 42], Operations: ['92-53=39', '3+39=42']
Exploring Operation: 68+42=110, Resulting Numbers: [110]
110,80 unequal: No Solution
Exploring Operation: 68*42=2856, Resulting Numbers: [2856]
2856,80 unequal: No Solution
Exploring Operation: 68-42=26, Resulting Numbers: [26]
26,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[68, 13], Operations: ['92-53=39', '39/3=13']
Exploring Operation: 68*13=884, Resulting Numbers: [884]
884,80 unequal: No Solution
Exploring Operation: 68+13=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[92, 3, 15], Operations: ['68-53=15']
Exploring Operation: 92-15=77, Resulting Numbers: [3, 77]
Generated Node #0,2,0: 80:[3, 77] Operation: 92-15=77
Exploring Operation: 92-3=89, Resulting Numbers: [15, 89]
Generated Node #0,2,1: 80:[15, 89] Operation: 92-3=89
Exploring Operation: 3+15=18, Resulting Numbers: [92, 18]
Generated Node #0,2,2: 80:[92, 18] Operation: 3+15=18
Exploring Operation: 15/3=5, Resulting Numbers: [92, 5]
Generated Node #0,2,3: 80:[92, 5] Operation: 15/3=5
Moving to Node #0,2,0
Current State: 80:[3, 77], Operations: ['68-53=15', '92-15=77']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,80 unequal: No Solution
Exploring Operation: 3*77=231, Resulting Numbers: [231]
231,80 unequal: No Solution
Exploring Operation: 3+77=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[53, 92, 68, 3], Operations: []
Exploring Operation: 68-53=15, Resulting Numbers: [92, 3, 15]
Generated Node #0,2: 80:[92, 3, 15] Operation: 68-53=15
Moving to Node #0,2
Current State: 80:[92, 3, 15], Operations: ['68-53=15']
Exploring Operation: 92-15=77, Resulting Numbers: [3, 77]
Generated Node #0,2,0: 80:[3, 77] Operation: 92-15=77
Moving to Node #0,2,0
Current State: 80:[3, 77], Operations: ['68-53=15', '92-15=77']
Exploring Operation: 3+77=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
32,
64,
64,
23
] | 92 | [
"64+64=128",
"128/32=4",
"23*4=92"
] | Current State: 92:[32, 64, 64, 23], Operations: []
Exploring Operation: 64+64=128, Resulting Numbers: [32, 23, 128]
Generated Node #2: [32, 23, 128] from Operation: 64+64=128
Current State: 92:[32, 23, 128], Operations: ['64+64=128']
Exploring Operation: 128/32=4, Resulting Numbers: [23, 4]
Generated Node #3: [23, 4] from Operation: 128/32=4
Current State: 92:[23, 4], Operations: ['64+64=128', '128/32=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[32, 64, 64, 23], Operations: []
Exploring Operation: 64-64=0, Resulting Numbers: [32, 23, 0]
Generated Node #0,0: 92:[32, 23, 0] Operation: 64-64=0
Exploring Operation: 64/32=2, Resulting Numbers: [64, 23, 2]
Generated Node #0,1: 92:[64, 23, 2] Operation: 64/32=2
Exploring Operation: 64/64=1, Resulting Numbers: [32, 23, 1]
Generated Node #0,2: 92:[32, 23, 1] Operation: 64/64=1
Moving to Node #0,2
Current State: 92:[32, 23, 1], Operations: ['64/64=1']
Exploring Operation: 32*1=32, Resulting Numbers: [23, 32]
Generated Node #0,2,0: 92:[23, 32] Operation: 32*1=32
Exploring Operation: 32-23=9, Resulting Numbers: [1, 9]
Generated Node #0,2,1: 92:[1, 9] Operation: 32-23=9
Exploring Operation: 32-1=31, Resulting Numbers: [23, 31]
Generated Node #0,2,2: 92:[23, 31] Operation: 32-1=31
Moving to Node #0,0
Current State: 92:[32, 23, 0], Operations: ['64-64=0']
Exploring Operation: 32-23=9, Resulting Numbers: [0, 9]
Generated Node #0,0,0: 92:[0, 9] Operation: 32-23=9
Exploring Operation: 32*0=0, Resulting Numbers: [23, 0]
Generated Node #0,0,1: 92:[23, 0] Operation: 32*0=0
Exploring Operation: 32+0=32, Resulting Numbers: [23, 32]
Generated Node #0,0,2: 92:[23, 32] Operation: 32+0=32
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[23, 0], Operations: ['64-64=0', '32*0=0']
Exploring Operation: 23+0=23, Resulting Numbers: [23]
23,92 unequal: No Solution
Exploring Operation: 23*0=0, Resulting Numbers: [0]
0,92 unequal: No Solution
Exploring Operation: 23-0=23, Resulting Numbers: [23]
23,92 unequal: No Solution
No 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: 92:[0, 9], Operations: ['64-64=0', '32-23=9']
Exploring Operation: 9-0=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 0*9=0, Resulting Numbers: [0]
0,92 unequal: No Solution
Exploring Operation: 0+9=9, Resulting Numbers: [9]
9,92 unequal: No Solution
No 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: 92:[23, 32], Operations: ['64-64=0', '32+0=32']
Exploring Operation: 23*32=736, Resulting Numbers: [736]
736,92 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,92 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: 92:[64, 23, 2], Operations: ['64/32=2']
Exploring Operation: 64/2=32, Resulting Numbers: [23, 32]
Generated Node #0,1,0: 92:[23, 32] Operation: 64/2=32
Exploring Operation: 64+23=87, Resulting Numbers: [2, 87]
Generated Node #0,1,1: 92:[2, 87] Operation: 64+23=87
Exploring Operation: 64-23=41, Resulting Numbers: [2, 41]
Generated Node #0,1,2: 92:[2, 41] Operation: 64-23=41
Moving to Node #0,1,1
Current State: 92:[2, 87], Operations: ['64/32=2', '64+23=87']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,92 unequal: No Solution
Exploring Operation: 2*87=174, Resulting Numbers: [174]
174,92 unequal: No Solution
Exploring Operation: 2+87=89, Resulting Numbers: [89]
89,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[2, 41], Operations: ['64/32=2', '64-23=41']
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,92 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[1, 9], Operations: ['64/64=1', '32-23=9']
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[23, 31], Operations: ['64/64=1', '32-1=31']
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 23*31=713, Resulting Numbers: [713]
713,92 unequal: No Solution
Exploring Operation: 23+31=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[23, 32], Operations: ['64/32=2', '64/2=32']
Exploring Operation: 23*32=736, Resulting Numbers: [736]
736,92 unequal: No Solution
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,92 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[23, 32], Operations: ['64/64=1', '32*1=32']
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,92 unequal: No Solution
Exploring Operation: 23*32=736, Resulting Numbers: [736]
736,92 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,92 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
77,
26,
56,
18
] | 98 | [
"77*56=4312",
"26+18=44",
"4312/44=98"
] | Current State: 98:[77, 26, 56, 18], Operations: []
Exploring Operation: 77*56=4312, Resulting Numbers: [26, 18, 4312]
Generated Node #2: [26, 18, 4312] from Operation: 77*56=4312
Current State: 98:[26, 18, 4312], Operations: ['77*56=4312']
Exploring Operation: 26+18=44, Resulting Numbers: [4312, 44]
Generated Node #3: [4312, 44] from Operation: 26+18=44
Current State: 98:[4312, 44], Operations: ['77*56=4312', '26+18=44']
Exploring Operation: 4312/44=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[77, 26, 56, 18], Operations: []
Exploring Operation: 77-18=59, Resulting Numbers: [26, 56, 59]
Generated Node #0,0: 98:[26, 56, 59] Operation: 77-18=59
Exploring Operation: 77+26=103, Resulting Numbers: [56, 18, 103]
Generated Node #0,1: 98:[56, 18, 103] Operation: 77+26=103
Exploring Operation: 77-26=51, Resulting Numbers: [56, 18, 51]
Generated Node #0,2: 98:[56, 18, 51] Operation: 77-26=51
Exploring Operation: 77-56=21, Resulting Numbers: [26, 18, 21]
Generated Node #0,3: 98:[26, 18, 21] Operation: 77-56=21
Exploring Operation: 77+18=95, Resulting Numbers: [26, 56, 95]
Generated Node #0,4: 98:[26, 56, 95] Operation: 77+18=95
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[56, 18, 51], Operations: ['77-26=51']
Exploring Operation: 51-18=33, Resulting Numbers: [56, 33]
Generated Node #0,2,0: 98:[56, 33] Operation: 51-18=33
Exploring Operation: 56+18=74, Resulting Numbers: [51, 74]
Generated Node #0,2,1: 98:[51, 74] Operation: 56+18=74
Exploring Operation: 56-51=5, Resulting Numbers: [18, 5]
Generated Node #0,2,2: 98:[18, 5] Operation: 56-51=5
Exploring Operation: 56-18=38, Resulting Numbers: [51, 38]
Generated Node #0,2,3: 98:[51, 38] Operation: 56-18=38
Exploring Operation: 56+51=107, Resulting Numbers: [18, 107]
Generated Node #0,2,4: 98:[18, 107] Operation: 56+51=107
Moving to Node #0,2,2
Current State: 98:[18, 5], Operations: ['77-26=51', '56-51=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,98 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Moving to Node #0,2,4
Current State: 98:[18, 107], Operations: ['77-26=51', '56+51=107']
Exploring Operation: 18+107=125, Resulting Numbers: [125]
125,98 unequal: No Solution
Exploring Operation: 18*107=1926, Resulting Numbers: [1926]
1926,98 unequal: No Solution
Exploring Operation: 107-18=89, Resulting Numbers: [89]
89,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[51, 38], Operations: ['77-26=51', '56-18=38']
Exploring Operation: 51+38=89, Resulting Numbers: [89]
89,98 unequal: No Solution
Exploring Operation: 51*38=1938, Resulting Numbers: [1938]
1938,98 unequal: No Solution
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[56, 33], Operations: ['77-26=51', '51-18=33']
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,98 unequal: No Solution
Exploring Operation: 56+33=89, Resulting Numbers: [89]
89,98 unequal: No Solution
Exploring Operation: 56*33=1848, Resulting Numbers: [1848]
1848,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[51, 74], Operations: ['77-26=51', '56+18=74']
Exploring Operation: 51+74=125, Resulting Numbers: [125]
125,98 unequal: No Solution
Exploring Operation: 51*74=3774, Resulting Numbers: [3774]
3774,98 unequal: No Solution
Exploring Operation: 74-51=23, Resulting Numbers: [23]
23,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[56, 18, 103], Operations: ['77+26=103']
Exploring Operation: 103-56=47, Resulting Numbers: [18, 47]
Generated Node #0,1,0: 98:[18, 47] Operation: 103-56=47
Exploring Operation: 56-18=38, Resulting Numbers: [103, 38]
Generated Node #0,1,1: 98:[103, 38] Operation: 56-18=38
Exploring Operation: 18+103=121, Resulting Numbers: [56, 121]
Generated Node #0,1,2: 98:[56, 121] Operation: 18+103=121
Exploring Operation: 103-18=85, Resulting Numbers: [56, 85]
Generated Node #0,1,3: 98:[56, 85] Operation: 103-18=85
Exploring Operation: 56+18=74, Resulting Numbers: [103, 74]
Generated Node #0,1,4: 98:[103, 74] Operation: 56+18=74
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[18, 47], Operations: ['77+26=103', '103-56=47']
Exploring Operation: 18*47=846, Resulting Numbers: [846]
846,98 unequal: No Solution
Exploring Operation: 18+47=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[103, 38], Operations: ['77+26=103', '56-18=38']
Exploring Operation: 103-38=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Exploring Operation: 103+38=141, Resulting Numbers: [141]
141,98 unequal: No Solution
Exploring Operation: 103*38=3914, Resulting Numbers: [3914]
3914,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 98:[56, 85], Operations: ['77+26=103', '103-18=85']
Exploring Operation: 85-56=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Exploring Operation: 56*85=4760, Resulting Numbers: [4760]
4760,98 unequal: No Solution
Exploring Operation: 56+85=141, Resulting Numbers: [141]
141,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 98:[103, 74], Operations: ['77+26=103', '56+18=74']
Exploring Operation: 103*74=7622, Resulting Numbers: [7622]
7622,98 unequal: No Solution
Exploring Operation: 103+74=177, Resulting Numbers: [177]
177,98 unequal: No Solution
Exploring Operation: 103-74=29, Resulting Numbers: [29]
29,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 98:[56, 121], Operations: ['77+26=103', '18+103=121']
Exploring Operation: 121-56=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Exploring Operation: 56+121=177, Resulting Numbers: [177]
177,98 unequal: No Solution
Exploring Operation: 56*121=6776, Resulting Numbers: [6776]
6776,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 98:[26, 56, 95], Operations: ['77+18=95']
Exploring Operation: 95-26=69, Resulting Numbers: [56, 69]
Generated Node #0,4,0: 98:[56, 69] Operation: 95-26=69
Exploring Operation: 26+56=82, Resulting Numbers: [95, 82]
Generated Node #0,4,1: 98:[95, 82] Operation: 26+56=82
Exploring Operation: 95-56=39, Resulting Numbers: [26, 39]
Generated Node #0,4,2: 98:[26, 39] Operation: 95-56=39
Exploring Operation: 26+95=121, Resulting Numbers: [56, 121]
Generated Node #0,4,3: 98:[56, 121] Operation: 26+95=121
Exploring Operation: 56-26=30, Resulting Numbers: [95, 30]
Generated Node #0,4,4: 98:[95, 30] Operation: 56-26=30
Moving to Node #0,4,1
Current State: 98:[95, 82], Operations: ['77+18=95', '26+56=82']
Exploring Operation: 95*82=7790, Resulting Numbers: [7790]
7790,98 unequal: No Solution
Exploring Operation: 95+82=177, Resulting Numbers: [177]
177,98 unequal: No Solution
Exploring Operation: 95-82=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Moving to Node #0,4,4
Current State: 98:[95, 30], Operations: ['77+18=95', '56-26=30']
Exploring Operation: 95*30=2850, Resulting Numbers: [2850]
2850,98 unequal: No Solution
Exploring Operation: 95+30=125, Resulting Numbers: [125]
125,98 unequal: No Solution
Exploring Operation: 95-30=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Moving to Node #0,4,2
Current State: 98:[26, 39], Operations: ['77+18=95', '95-56=39']
Exploring Operation: 26*39=1014, Resulting Numbers: [1014]
1014,98 unequal: No Solution
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 26+39=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Moving to Node #0,4,0
Current State: 98:[56, 69], Operations: ['77+18=95', '95-26=69']
Exploring Operation: 69-56=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 56*69=3864, Resulting Numbers: [3864]
3864,98 unequal: No Solution
Exploring Operation: 56+69=125, Resulting Numbers: [125]
125,98 unequal: No Solution
Moving to Node #0,4,3
Current State: 98:[56, 121], Operations: ['77+18=95', '26+95=121']
Exploring Operation: 121-56=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Exploring Operation: 56+121=177, Resulting Numbers: [177]
177,98 unequal: No Solution
Exploring Operation: 56*121=6776, Resulting Numbers: [6776]
6776,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[26, 18, 21], Operations: ['77-56=21']
Exploring Operation: 26+21=47, Resulting Numbers: [18, 47]
Generated Node #0,3,0: 98:[18, 47] Operation: 26+21=47
Exploring Operation: 26-18=8, Resulting Numbers: [21, 8]
Generated Node #0,3,1: 98:[21, 8] Operation: 26-18=8
Exploring Operation: 26-21=5, Resulting Numbers: [18, 5]
Generated Node #0,3,2: 98:[18, 5] Operation: 26-21=5
Exploring Operation: 21-18=3, Resulting Numbers: [26, 3]
Generated Node #0,3,3: 98:[26, 3] Operation: 21-18=3
Exploring Operation: 26+18=44, Resulting Numbers: [21, 44]
Generated Node #0,3,4: 98:[21, 44] Operation: 26+18=44
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 98:[18, 47], Operations: ['77-56=21', '26+21=47']
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Exploring Operation: 18*47=846, Resulting Numbers: [846]
846,98 unequal: No Solution
Exploring Operation: 18+47=65, Resulting Numbers: [65]
65,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 98:[18, 5], Operations: ['77-56=21', '26-21=5']
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 98:[21, 8], Operations: ['77-56=21', '26-18=8']
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 98:[21, 44], Operations: ['77-56=21', '26+18=44']
Exploring Operation: 21+44=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,98 unequal: No Solution
Exploring Operation: 21*44=924, Resulting Numbers: [924]
924,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 98:[26, 3], Operations: ['77-56=21', '21-18=3']
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[26, 56, 59], Operations: ['77-18=59']
Exploring Operation: 26+56=82, Resulting Numbers: [59, 82]
Generated Node #0,0,0: 98:[59, 82] Operation: 26+56=82
Exploring Operation: 56-26=30, Resulting Numbers: [59, 30]
Generated Node #0,0,1: 98:[59, 30] Operation: 56-26=30
Exploring Operation: 59-26=33, Resulting Numbers: [56, 33]
Generated Node #0,0,2: 98:[56, 33] Operation: 59-26=33
Exploring Operation: 26+59=85, Resulting Numbers: [56, 85]
Generated Node #0,0,3: 98:[56, 85] Operation: 26+59=85
Exploring Operation: 59-56=3, Resulting Numbers: [26, 3]
Generated Node #0,0,4: 98:[26, 3] Operation: 59-56=3
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 98:[26, 3], Operations: ['77-18=59', '59-56=3']
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 98:[56, 85], Operations: ['77-18=59', '26+59=85']
Exploring Operation: 56+85=141, Resulting Numbers: [141]
141,98 unequal: No Solution
Exploring Operation: 85-56=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Exploring Operation: 56*85=4760, Resulting Numbers: [4760]
4760,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 98:[56, 33], Operations: ['77-18=59', '59-26=33']
Exploring Operation: 56*33=1848, Resulting Numbers: [1848]
1848,98 unequal: No Solution
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,98 unequal: No Solution
Exploring Operation: 56+33=89, Resulting Numbers: [89]
89,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[59, 82], Operations: ['77-18=59', '26+56=82']
Exploring Operation: 59+82=141, Resulting Numbers: [141]
141,98 unequal: No Solution
Exploring Operation: 59*82=4838, Resulting Numbers: [4838]
4838,98 unequal: No Solution
Exploring Operation: 82-59=23, Resulting Numbers: [23]
23,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[59, 30], Operations: ['77-18=59', '56-26=30']
Exploring Operation: 59*30=1770, Resulting Numbers: [1770]
1770,98 unequal: No Solution
Exploring Operation: 59+30=89, Resulting Numbers: [89]
89,98 unequal: No Solution
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
30,
53,
15,
83
] | 91 | [
"53-30=23",
"83-15=68",
"23+68=91"
] | Current State: 91:[30, 53, 15, 83], Operations: []
Exploring Operation: 53-30=23, Resulting Numbers: [15, 83, 23]
Generated Node #2: [15, 83, 23] from Operation: 53-30=23
Current State: 91:[15, 83, 23], Operations: ['53-30=23']
Exploring Operation: 83-15=68, Resulting Numbers: [23, 68]
Generated Node #3: [23, 68] from Operation: 83-15=68
Current State: 91:[23, 68], Operations: ['53-30=23', '83-15=68']
Exploring Operation: 23+68=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[30, 53, 15, 83], Operations: []
Exploring Operation: 30+53=83, Resulting Numbers: [15, 83, 83]
Generated Node #0,0: 91:[15, 83, 83] Operation: 30+53=83
Exploring Operation: 53-30=23, Resulting Numbers: [15, 83, 23]
Generated Node #0,1: 91:[15, 83, 23] Operation: 53-30=23
Exploring Operation: 83-53=30, Resulting Numbers: [30, 15, 30]
Generated Node #0,2: 91:[30, 15, 30] Operation: 83-53=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[15, 83, 83], Operations: ['30+53=83']
Exploring Operation: 83/83=1, Resulting Numbers: [15, 1]
Generated Node #0,0,0: 91:[15, 1] Operation: 83/83=1
Exploring Operation: 15+83=98, Resulting Numbers: [83, 98]
Generated Node #0,0,1: 91:[83, 98] Operation: 15+83=98
Exploring Operation: 83-83=0, Resulting Numbers: [15, 0]
Generated Node #0,0,2: 91:[15, 0] Operation: 83-83=0
Moving to Node #0,0,0
Current State: 91:[15, 1], Operations: ['30+53=83', '83/83=1']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[15, 0], Operations: ['30+53=83', '83-83=0']
Exploring Operation: 15+0=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 15*0=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 15-0=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[83, 98], Operations: ['30+53=83', '15+83=98']
Exploring Operation: 98-83=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 83+98=181, Resulting Numbers: [181]
181,91 unequal: No Solution
Exploring Operation: 83*98=8134, Resulting Numbers: [8134]
8134,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[15, 83, 23], Operations: ['53-30=23']
Exploring Operation: 23-15=8, Resulting Numbers: [83, 8]
Generated Node #0,1,0: 91:[83, 8] Operation: 23-15=8
Exploring Operation: 83+23=106, Resulting Numbers: [15, 106]
Generated Node #0,1,1: 91:[15, 106] Operation: 83+23=106
Exploring Operation: 15+83=98, Resulting Numbers: [23, 98]
Generated Node #0,1,2: 91:[23, 98] Operation: 15+83=98
Moving to Node #0,1,0
Current State: 91:[83, 8], Operations: ['53-30=23', '23-15=8']
Exploring Operation: 83+8=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[30, 53, 15, 83], Operations: []
Exploring Operation: 53-30=23, Resulting Numbers: [15, 83, 23]
Generated Node #0,1: 91:[15, 83, 23] Operation: 53-30=23
Moving to Node #0,1
Current State: 91:[15, 83, 23], Operations: ['53-30=23']
Exploring Operation: 23-15=8, Resulting Numbers: [83, 8]
Generated Node #0,1,0: 91:[83, 8] Operation: 23-15=8
Moving to Node #0,1,0
Current State: 91:[83, 8], Operations: ['53-30=23', '23-15=8']
Exploring Operation: 83+8=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
69,
2,
38,
93
] | 16 | [
"69+2=71",
"93-38=55",
"71-55=16"
] | Current State: 16:[69, 2, 38, 93], Operations: []
Exploring Operation: 69+2=71, Resulting Numbers: [38, 93, 71]
Generated Node #2: [38, 93, 71] from Operation: 69+2=71
Current State: 16:[38, 93, 71], Operations: ['69+2=71']
Exploring Operation: 93-38=55, Resulting Numbers: [71, 55]
Generated Node #3: [71, 55] from Operation: 93-38=55
Current State: 16:[71, 55], Operations: ['69+2=71', '93-38=55']
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[69, 2, 38, 93], Operations: []
Exploring Operation: 69-38=31, Resulting Numbers: [2, 93, 31]
Generated Node #0,0: 16:[2, 93, 31] Operation: 69-38=31
Exploring Operation: 69-2=67, Resulting Numbers: [38, 93, 67]
Generated Node #0,1: 16:[38, 93, 67] Operation: 69-2=67
Exploring Operation: 93-69=24, Resulting Numbers: [2, 38, 24]
Generated Node #0,2: 16:[2, 38, 24] Operation: 93-69=24
Exploring Operation: 38/2=19, Resulting Numbers: [69, 93, 19]
Generated Node #0,3: 16:[69, 93, 19] Operation: 38/2=19
Exploring Operation: 93-38=55, Resulting Numbers: [69, 2, 55]
Generated Node #0,4: 16:[69, 2, 55] Operation: 93-38=55
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[2, 38, 24], Operations: ['93-69=24']
Exploring Operation: 24-2=22, Resulting Numbers: [38, 22]
Generated Node #0,2,0: 16:[38, 22] Operation: 24-2=22
Exploring Operation: 24/2=12, Resulting Numbers: [38, 12]
Generated Node #0,2,1: 16:[38, 12] Operation: 24/2=12
Exploring Operation: 38-2=36, Resulting Numbers: [24, 36]
Generated Node #0,2,2: 16:[24, 36] Operation: 38-2=36
Exploring Operation: 38/2=19, Resulting Numbers: [24, 19]
Generated Node #0,2,3: 16:[24, 19] Operation: 38/2=19
Exploring Operation: 38-24=14, Resulting Numbers: [2, 14]
Generated Node #0,2,4: 16:[2, 14] Operation: 38-24=14
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 16:[2, 14], Operations: ['93-69=24', '38-24=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[69, 2, 38, 93], Operations: []
Exploring Operation: 93-69=24, Resulting Numbers: [2, 38, 24]
Generated Node #0,2: 16:[2, 38, 24] Operation: 93-69=24
Moving to Node #0,2
Current State: 16:[2, 38, 24], Operations: ['93-69=24']
Exploring Operation: 38-24=14, Resulting Numbers: [2, 14]
Generated Node #0,2,4: 16:[2, 14] Operation: 38-24=14
Moving to Node #0,2,4
Current State: 16:[2, 14], Operations: ['93-69=24', '38-24=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
7,
14,
8,
26
] | 25 | [
"14-7=7",
"26-8=18",
"7+18=25"
] | Current State: 25:[7, 14, 8, 26], Operations: []
Exploring Operation: 14-7=7, Resulting Numbers: [8, 26, 7]
Generated Node #2: [8, 26, 7] from Operation: 14-7=7
Current State: 25:[8, 26, 7], Operations: ['14-7=7']
Exploring Operation: 26-8=18, Resulting Numbers: [7, 18]
Generated Node #3: [7, 18] from Operation: 26-8=18
Current State: 25:[7, 18], Operations: ['14-7=7', '26-8=18']
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[7, 14, 8, 26], Operations: []
Exploring Operation: 14-8=6, Resulting Numbers: [7, 26, 6]
Generated Node #0,0: 25:[7, 26, 6] Operation: 14-8=6
Exploring Operation: 14-7=7, Resulting Numbers: [8, 26, 7]
Generated Node #0,1: 25:[8, 26, 7] Operation: 14-7=7
Moving to Node #0,0
Current State: 25:[7, 26, 6], Operations: ['14-8=6']
Exploring Operation: 7-6=1, Resulting Numbers: [26, 1]
Generated Node #0,0,0: 25:[26, 1] Operation: 7-6=1
Exploring Operation: 26-7=19, Resulting Numbers: [6, 19]
Generated Node #0,0,1: 25:[6, 19] Operation: 26-7=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[26, 1], Operations: ['14-8=6', '7-6=1']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[7, 14, 8, 26], Operations: []
Exploring Operation: 14-8=6, Resulting Numbers: [7, 26, 6]
Generated Node #0,0: 25:[7, 26, 6] Operation: 14-8=6
Moving to Node #0,0
Current State: 25:[7, 26, 6], Operations: ['14-8=6']
Exploring Operation: 7-6=1, Resulting Numbers: [26, 1]
Generated Node #0,0,0: 25:[26, 1] Operation: 7-6=1
Moving to Node #0,0,0
Current State: 25:[26, 1], Operations: ['14-8=6', '7-6=1']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
92,
6,
7,
69
] | 29 | [
"92+69=161",
"161/7=23",
"6+23=29"
] | Current State: 29:[92, 6, 7, 69], Operations: []
Exploring Operation: 92+69=161, Resulting Numbers: [6, 7, 161]
Generated Node #2: [6, 7, 161] from Operation: 92+69=161
Current State: 29:[6, 7, 161], Operations: ['92+69=161']
Exploring Operation: 161/7=23, Resulting Numbers: [6, 23]
Generated Node #3: [6, 23] from Operation: 161/7=23
Current State: 29:[6, 23], Operations: ['92+69=161', '161/7=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[92, 6, 7, 69], Operations: []
Exploring Operation: 6+7=13, Resulting Numbers: [92, 69, 13]
Generated Node #0,0: 29:[92, 69, 13] Operation: 6+7=13
Exploring Operation: 92-6=86, Resulting Numbers: [7, 69, 86]
Generated Node #0,1: 29:[7, 69, 86] Operation: 92-6=86
Exploring Operation: 92-7=85, Resulting Numbers: [6, 69, 85]
Generated Node #0,2: 29:[6, 69, 85] Operation: 92-7=85
Exploring Operation: 6*7=42, Resulting Numbers: [92, 69, 42]
Generated Node #0,3: 29:[92, 69, 42] Operation: 6*7=42
Exploring Operation: 92-69=23, Resulting Numbers: [6, 7, 23]
Generated Node #0,4: 29:[6, 7, 23] Operation: 92-69=23
Start Sub Search at level 1: Moving to Node #0,4
Current State: 29:[6, 7, 23], Operations: ['92-69=23']
Exploring Operation: 7-6=1, Resulting Numbers: [23, 1]
Generated Node #0,4,0: 29:[23, 1] Operation: 7-6=1
Exploring Operation: 6+7=13, Resulting Numbers: [23, 13]
Generated Node #0,4,1: 29:[23, 13] Operation: 6+7=13
Exploring Operation: 6*7=42, Resulting Numbers: [23, 42]
Generated Node #0,4,2: 29:[23, 42] Operation: 6*7=42
Exploring Operation: 7+23=30, Resulting Numbers: [6, 30]
Generated Node #0,4,3: 29:[6, 30] Operation: 7+23=30
Exploring Operation: 6+23=29, Resulting Numbers: [7, 29]
Generated Node #0,4,4: 29:[7, 29] Operation: 6+23=29
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 29:[23, 42], Operations: ['92-69=23', '6*7=42']
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,29 unequal: No Solution
Exploring Operation: 23+42=65, Resulting Numbers: [65]
65,29 unequal: No Solution
Exploring Operation: 23*42=966, Resulting Numbers: [966]
966,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,4,1
Current State: 29:[23, 13], Operations: ['92-69=23', '6+7=13']
Exploring Operation: 23+13=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 23*13=299, Resulting Numbers: [299]
299,29 unequal: No Solution
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,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,4,4
Current State: 29:[7, 29], Operations: ['92-69=23', '6+23=29']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 7*29=203, Resulting Numbers: [203]
203,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,4,3
Current State: 29:[6, 30], Operations: ['92-69=23', '7+23=30']
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Exploring Operation: 6*30=180, Resulting Numbers: [180]
180,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,4,0
Current State: 29:[23, 1], Operations: ['92-69=23', '7-6=1']
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,29 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: 29:[92, 69, 42], Operations: ['6*7=42']
Exploring Operation: 92-69=23, Resulting Numbers: [42, 23]
Generated Node #0,3,0: 29:[42, 23] Operation: 92-69=23
Exploring Operation: 92-42=50, Resulting Numbers: [69, 50]
Generated Node #0,3,1: 29:[69, 50] Operation: 92-42=50
Exploring Operation: 69-42=27, Resulting Numbers: [92, 27]
Generated Node #0,3,2: 29:[92, 27] Operation: 69-42=27
Exploring Operation: 92+42=134, Resulting Numbers: [69, 134]
Generated Node #0,3,3: 29:[69, 134] Operation: 92+42=134
Exploring Operation: 92+69=161, Resulting Numbers: [42, 161]
Generated Node #0,3,4: 29:[42, 161] Operation: 92+69=161
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 29:[42, 23], Operations: ['6*7=42', '92-69=23']
Exploring Operation: 42+23=65, Resulting Numbers: [65]
65,29 unequal: No Solution
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,29 unequal: No Solution
Exploring Operation: 42*23=966, Resulting Numbers: [966]
966,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,3,1
Current State: 29:[69, 50], Operations: ['6*7=42', '92-42=50']
Exploring Operation: 69-50=19, Resulting Numbers: [19]
19,29 unequal: No Solution
Exploring Operation: 69+50=119, Resulting Numbers: [119]
119,29 unequal: No Solution
Exploring Operation: 69*50=3450, Resulting Numbers: [3450]
3450,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,3,2
Current State: 29:[92, 27], Operations: ['6*7=42', '69-42=27']
Exploring Operation: 92-27=65, Resulting Numbers: [65]
65,29 unequal: No Solution
Exploring Operation: 92+27=119, Resulting Numbers: [119]
119,29 unequal: No Solution
Exploring Operation: 92*27=2484, Resulting Numbers: [2484]
2484,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,3,3
Current State: 29:[69, 134], Operations: ['6*7=42', '92+42=134']
Exploring Operation: 69+134=203, Resulting Numbers: [203]
203,29 unequal: No Solution
Exploring Operation: 134-69=65, Resulting Numbers: [65]
65,29 unequal: No Solution
Exploring Operation: 69*134=9246, Resulting Numbers: [9246]
9246,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,3,4
Current State: 29:[42, 161], Operations: ['6*7=42', '92+69=161']
Exploring Operation: 42*161=6762, Resulting Numbers: [6762]
6762,29 unequal: No Solution
Exploring Operation: 42+161=203, Resulting Numbers: [203]
203,29 unequal: No Solution
Exploring Operation: 161-42=119, Resulting Numbers: [119]
119,29 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: 29:[92, 69, 13], Operations: ['6+7=13']
Exploring Operation: 69+13=82, Resulting Numbers: [92, 82]
Generated Node #0,0,0: 29:[92, 82] Operation: 69+13=82
Exploring Operation: 69-13=56, Resulting Numbers: [92, 56]
Generated Node #0,0,1: 29:[92, 56] Operation: 69-13=56
Exploring Operation: 92+13=105, Resulting Numbers: [69, 105]
Generated Node #0,0,2: 29:[69, 105] Operation: 92+13=105
Exploring Operation: 92-13=79, Resulting Numbers: [69, 79]
Generated Node #0,0,3: 29:[69, 79] Operation: 92-13=79
Exploring Operation: 92-69=23, Resulting Numbers: [13, 23]
Generated Node #0,0,4: 29:[13, 23] Operation: 92-69=23
Moving to Node #0,0,4
Current State: 29:[13, 23], Operations: ['6+7=13', '92-69=23']
Exploring Operation: 13+23=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 13*23=299, Resulting Numbers: [299]
299,29 unequal: No Solution
Moving to Node #0,0,3
Current State: 29:[69, 79], Operations: ['6+7=13', '92-13=79']
Exploring Operation: 79-69=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 69*79=5451, Resulting Numbers: [5451]
5451,29 unequal: No Solution
Exploring Operation: 69+79=148, Resulting Numbers: [148]
148,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[92, 56], Operations: ['6+7=13', '69-13=56']
Exploring Operation: 92*56=5152, Resulting Numbers: [5152]
5152,29 unequal: No Solution
Exploring Operation: 92+56=148, Resulting Numbers: [148]
148,29 unequal: No Solution
Exploring Operation: 92-56=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[92, 82], Operations: ['6+7=13', '69+13=82']
Exploring Operation: 92-82=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 92+82=174, Resulting Numbers: [174]
174,29 unequal: No Solution
Exploring Operation: 92*82=7544, Resulting Numbers: [7544]
7544,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[69, 105], Operations: ['6+7=13', '92+13=105']
Exploring Operation: 69*105=7245, Resulting Numbers: [7245]
7245,29 unequal: No Solution
Exploring Operation: 105-69=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 69+105=174, Resulting Numbers: [174]
174,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[7, 69, 86], Operations: ['92-6=86']
Exploring Operation: 69-7=62, Resulting Numbers: [86, 62]
Generated Node #0,1,0: 29:[86, 62] Operation: 69-7=62
Exploring Operation: 7+86=93, Resulting Numbers: [69, 93]
Generated Node #0,1,1: 29:[69, 93] Operation: 7+86=93
Exploring Operation: 86-7=79, Resulting Numbers: [69, 79]
Generated Node #0,1,2: 29:[69, 79] Operation: 86-7=79
Exploring Operation: 7+69=76, Resulting Numbers: [86, 76]
Generated Node #0,1,3: 29:[86, 76] Operation: 7+69=76
Exploring Operation: 86-69=17, Resulting Numbers: [7, 17]
Generated Node #0,1,4: 29:[7, 17] Operation: 86-69=17
Moving to Node #0,1,4
Current State: 29:[7, 17], Operations: ['92-6=86', '86-69=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,29 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[69, 79], Operations: ['92-6=86', '86-7=79']
Exploring Operation: 79-69=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 69+79=148, Resulting Numbers: [148]
148,29 unequal: No Solution
Exploring Operation: 69*79=5451, Resulting Numbers: [5451]
5451,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[86, 62], Operations: ['92-6=86', '69-7=62']
Exploring Operation: 86*62=5332, Resulting Numbers: [5332]
5332,29 unequal: No Solution
Exploring Operation: 86+62=148, Resulting Numbers: [148]
148,29 unequal: No Solution
Exploring Operation: 86-62=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[69, 93], Operations: ['92-6=86', '7+86=93']
Exploring Operation: 69*93=6417, Resulting Numbers: [6417]
6417,29 unequal: No Solution
Exploring Operation: 93-69=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Exploring Operation: 69+93=162, Resulting Numbers: [162]
162,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[86, 76], Operations: ['92-6=86', '7+69=76']
Exploring Operation: 86+76=162, Resulting Numbers: [162]
162,29 unequal: No Solution
Exploring Operation: 86*76=6536, Resulting Numbers: [6536]
6536,29 unequal: No Solution
Exploring Operation: 86-76=10, Resulting Numbers: [10]
10,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[6, 69, 85], Operations: ['92-7=85']
Exploring Operation: 6+69=75, Resulting Numbers: [85, 75]
Generated Node #0,2,0: 29:[85, 75] Operation: 6+69=75
Exploring Operation: 85-69=16, Resulting Numbers: [6, 16]
Generated Node #0,2,1: 29:[6, 16] Operation: 85-69=16
Exploring Operation: 69-6=63, Resulting Numbers: [85, 63]
Generated Node #0,2,2: 29:[85, 63] Operation: 69-6=63
Exploring Operation: 85-6=79, Resulting Numbers: [69, 79]
Generated Node #0,2,3: 29:[69, 79] Operation: 85-6=79
Exploring Operation: 6+85=91, Resulting Numbers: [69, 91]
Generated Node #0,2,4: 29:[69, 91] Operation: 6+85=91
Moving to Node #0,2,1
Current State: 29:[6, 16], Operations: ['92-7=85', '85-69=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,29 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[69, 79], Operations: ['92-7=85', '85-6=79']
Exploring Operation: 79-69=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 69*79=5451, Resulting Numbers: [5451]
5451,29 unequal: No Solution
Exploring Operation: 69+79=148, Resulting Numbers: [148]
148,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[85, 63], Operations: ['92-7=85', '69-6=63']
Exploring Operation: 85*63=5355, Resulting Numbers: [5355]
5355,29 unequal: No Solution
Exploring Operation: 85+63=148, Resulting Numbers: [148]
148,29 unequal: No Solution
Exploring Operation: 85-63=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[85, 75], Operations: ['92-7=85', '6+69=75']
Exploring Operation: 85-75=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 85*75=6375, Resulting Numbers: [6375]
6375,29 unequal: No Solution
Exploring Operation: 85+75=160, Resulting Numbers: [160]
160,29 unequal: No Solution
Moving to Node #0,2,4
Current State: 29:[69, 91], Operations: ['92-7=85', '6+85=91']
Exploring Operation: 69+91=160, Resulting Numbers: [160]
160,29 unequal: No Solution
Exploring Operation: 91-69=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 69*91=6279, Resulting Numbers: [6279]
6279,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
14,
61,
44,
78
] | 81 | [
"61-14=47",
"78-44=34",
"47+34=81"
] | Current State: 81:[14, 61, 44, 78], Operations: []
Exploring Operation: 61-14=47, Resulting Numbers: [44, 78, 47]
Generated Node #2: [44, 78, 47] from Operation: 61-14=47
Current State: 81:[44, 78, 47], Operations: ['61-14=47']
Exploring Operation: 78-44=34, Resulting Numbers: [47, 34]
Generated Node #3: [47, 34] from Operation: 78-44=34
Current State: 81:[47, 34], Operations: ['61-14=47', '78-44=34']
Exploring Operation: 47+34=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[14, 61, 44, 78], Operations: []
Exploring Operation: 61-44=17, Resulting Numbers: [14, 78, 17]
Generated Node #0,0: 81:[14, 78, 17] Operation: 61-44=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[14, 78, 17], Operations: ['61-44=17']
Exploring Operation: 17-14=3, Resulting Numbers: [78, 3]
Generated Node #0,0,0: 81:[78, 3] Operation: 17-14=3
Moving to Node #0,0,0
Current State: 81:[78, 3], Operations: ['61-44=17', '17-14=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[14, 61, 44, 78], Operations: []
Exploring Operation: 61-44=17, Resulting Numbers: [14, 78, 17]
Generated Node #0,0: 81:[14, 78, 17] Operation: 61-44=17
Moving to Node #0,0
Current State: 81:[14, 78, 17], Operations: ['61-44=17']
Exploring Operation: 17-14=3, Resulting Numbers: [78, 3]
Generated Node #0,0,0: 81:[78, 3] Operation: 17-14=3
Moving to Node #0,0,0
Current State: 81:[78, 3], Operations: ['61-44=17', '17-14=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
35,
18,
96,
12
] | 31 | [
"35+18=53",
"96-12=84",
"84-53=31"
] | Current State: 31:[35, 18, 96, 12], Operations: []
Exploring Operation: 35+18=53, Resulting Numbers: [96, 12, 53]
Generated Node #2: [96, 12, 53] from Operation: 35+18=53
Current State: 31:[96, 12, 53], Operations: ['35+18=53']
Exploring Operation: 96-12=84, Resulting Numbers: [53, 84]
Generated Node #3: [53, 84] from Operation: 96-12=84
Current State: 31:[53, 84], Operations: ['35+18=53', '96-12=84']
Exploring Operation: 84-53=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[35, 18, 96, 12], Operations: []
Exploring Operation: 96-35=61, Resulting Numbers: [18, 12, 61]
Generated Node #0,0: 31:[18, 12, 61] Operation: 96-35=61
Exploring Operation: 96/12=8, Resulting Numbers: [35, 18, 8]
Generated Node #0,1: 31:[35, 18, 8] Operation: 96/12=8
Moving to Node #0,1
Current State: 31:[35, 18, 8], Operations: ['96/12=8']
Exploring Operation: 35-8=27, Resulting Numbers: [18, 27]
Generated Node #0,1,0: 31:[18, 27] Operation: 35-8=27
Exploring Operation: 18+8=26, Resulting Numbers: [35, 26]
Generated Node #0,1,1: 31:[35, 26] Operation: 18+8=26
Moving to Node #0,0
Current State: 31:[18, 12, 61], Operations: ['96-35=61']
Exploring Operation: 18+12=30, Resulting Numbers: [61, 30]
Generated Node #0,0,0: 31:[61, 30] Operation: 18+12=30
Exploring Operation: 61-18=43, Resulting Numbers: [12, 43]
Generated Node #0,0,1: 31:[12, 43] Operation: 61-18=43
Moving to Node #0,1,1
Current State: 31:[35, 26], Operations: ['96/12=8', '18+8=26']
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 35+26=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[18, 27], Operations: ['96/12=8', '35-8=27']
Exploring Operation: 18+27=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[12, 43], Operations: ['96-35=61', '61-18=43']
Exploring Operation: 12+43=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[35, 18, 96, 12], Operations: []
Exploring Operation: 96-35=61, Resulting Numbers: [18, 12, 61]
Generated Node #0,0: 31:[18, 12, 61] Operation: 96-35=61
Moving to Node #0,0
Current State: 31:[18, 12, 61], Operations: ['96-35=61']
Exploring Operation: 61-18=43, Resulting Numbers: [12, 43]
Generated Node #0,0,1: 31:[12, 43] Operation: 61-18=43
Moving to Node #0,0,1
Current State: 31:[12, 43], Operations: ['96-35=61', '61-18=43']
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
11,
69,
55,
83
] | 66 | [
"55*83=4565",
"4565-11=4554",
"4554/69=66"
] | Current State: 66:[11, 69, 55, 83], Operations: []
Exploring Operation: 55*83=4565, Resulting Numbers: [11, 69, 4565]
Generated Node #2: [11, 69, 4565] from Operation: 55*83=4565
Current State: 66:[11, 69, 4565], Operations: ['55*83=4565']
Exploring Operation: 4565-11=4554, Resulting Numbers: [69, 4554]
Generated Node #3: [69, 4554] from Operation: 4565-11=4554
Current State: 66:[69, 4554], Operations: ['55*83=4565', '4565-11=4554']
Exploring Operation: 4554/69=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[11, 69, 55, 83], Operations: []
Exploring Operation: 83-55=28, Resulting Numbers: [11, 69, 28]
Generated Node #0,0: 66:[11, 69, 28] Operation: 83-55=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[11, 69, 28], Operations: ['83-55=28']
Exploring Operation: 28-11=17, Resulting Numbers: [69, 17]
Generated Node #0,0,0: 66:[69, 17] Operation: 28-11=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[69, 17], Operations: ['83-55=28', '28-11=17']
Exploring Operation: 69-17=52, Resulting Numbers: [52]
52,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
99,
85,
91,
95
] | 24 | [
"99-95=4",
"91-85=6",
"4*6=24"
] | Current State: 24:[99, 85, 91, 95], Operations: []
Exploring Operation: 99-95=4, Resulting Numbers: [85, 91, 4]
Generated Node #2: [85, 91, 4] from Operation: 99-95=4
Current State: 24:[85, 91, 4], Operations: ['99-95=4']
Exploring Operation: 91-85=6, Resulting Numbers: [4, 6]
Generated Node #3: [4, 6] from Operation: 91-85=6
Current State: 24:[4, 6], Operations: ['99-95=4', '91-85=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[99, 85, 91, 95], Operations: []
Exploring Operation: 99-95=4, Resulting Numbers: [85, 91, 4]
Generated Node #0,0: 24:[85, 91, 4] Operation: 99-95=4
Exploring Operation: 95-91=4, Resulting Numbers: [99, 85, 4]
Generated Node #0,1: 24:[99, 85, 4] Operation: 95-91=4
Exploring Operation: 99-85=14, Resulting Numbers: [91, 95, 14]
Generated Node #0,2: 24:[91, 95, 14] Operation: 99-85=14
Exploring Operation: 95-85=10, Resulting Numbers: [99, 91, 10]
Generated Node #0,3: 24:[99, 91, 10] Operation: 95-85=10
Exploring Operation: 99-91=8, Resulting Numbers: [85, 95, 8]
Generated Node #0,4: 24:[85, 95, 8] Operation: 99-91=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[85, 91, 4], Operations: ['99-95=4']
Exploring Operation: 91+4=95, Resulting Numbers: [85, 95]
Generated Node #0,0,0: 24:[85, 95] Operation: 91+4=95
Exploring Operation: 91-4=87, Resulting Numbers: [85, 87]
Generated Node #0,0,1: 24:[85, 87] Operation: 91-4=87
Exploring Operation: 91-85=6, Resulting Numbers: [4, 6]
Generated Node #0,0,2: 24:[4, 6] Operation: 91-85=6
Exploring Operation: 85+4=89, Resulting Numbers: [91, 89]
Generated Node #0,0,3: 24:[91, 89] Operation: 85+4=89
Exploring Operation: 85-4=81, Resulting Numbers: [91, 81]
Generated Node #0,0,4: 24:[91, 81] Operation: 85-4=81
Moving to Node #0,0,2
Current State: 24:[4, 6], Operations: ['99-95=4', '91-85=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[99, 85, 91, 95], Operations: []
Exploring Operation: 99-95=4, Resulting Numbers: [85, 91, 4]
Generated Node #0,0: 24:[85, 91, 4] Operation: 99-95=4
Moving to Node #0,0
Current State: 24:[85, 91, 4], Operations: ['99-95=4']
Exploring Operation: 91-85=6, Resulting Numbers: [4, 6]
Generated Node #0,0,2: 24:[4, 6] Operation: 91-85=6
Moving to Node #0,0,2
Current State: 24:[4, 6], Operations: ['99-95=4', '91-85=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
48,
43,
15,
42
] | 47 | [
"48-42=6",
"15*6=90",
"90-43=47"
] | Current State: 47:[48, 43, 15, 42], Operations: []
Exploring Operation: 48-42=6, Resulting Numbers: [43, 15, 6]
Generated Node #2: [43, 15, 6] from Operation: 48-42=6
Current State: 47:[43, 15, 6], Operations: ['48-42=6']
Exploring Operation: 15*6=90, Resulting Numbers: [43, 90]
Generated Node #3: [43, 90] from Operation: 15*6=90
Current State: 47:[43, 90], Operations: ['48-42=6', '15*6=90']
Exploring Operation: 90-43=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[48, 43, 15, 42], Operations: []
Exploring Operation: 48-15=33, Resulting Numbers: [43, 42, 33]
Generated Node #0,0: 47:[43, 42, 33] Operation: 48-15=33
Exploring Operation: 15+42=57, Resulting Numbers: [48, 43, 57]
Generated Node #0,1: 47:[48, 43, 57] Operation: 15+42=57
Exploring Operation: 43-15=28, Resulting Numbers: [48, 42, 28]
Generated Node #0,2: 47:[48, 42, 28] Operation: 43-15=28
Exploring Operation: 48+15=63, Resulting Numbers: [43, 42, 63]
Generated Node #0,3: 47:[43, 42, 63] Operation: 48+15=63
Exploring Operation: 43+15=58, Resulting Numbers: [48, 42, 58]
Generated Node #0,4: 47:[48, 42, 58] Operation: 43+15=58
Moving to Node #0,1
Current State: 47:[48, 43, 57], Operations: ['15+42=57']
Exploring Operation: 57-43=14, Resulting Numbers: [48, 14]
Generated Node #0,1,0: 47:[48, 14] Operation: 57-43=14
Exploring Operation: 48+43=91, Resulting Numbers: [57, 91]
Generated Node #0,1,1: 47:[57, 91] Operation: 48+43=91
Exploring Operation: 43+57=100, Resulting Numbers: [48, 100]
Generated Node #0,1,2: 47:[48, 100] Operation: 43+57=100
Exploring Operation: 57-48=9, Resulting Numbers: [43, 9]
Generated Node #0,1,3: 47:[43, 9] Operation: 57-48=9
Exploring Operation: 48-43=5, Resulting Numbers: [57, 5]
Generated Node #0,1,4: 47:[57, 5] Operation: 48-43=5
Moving to Node #0,4
Current State: 47:[48, 42, 58], Operations: ['43+15=58']
Exploring Operation: 42+58=100, Resulting Numbers: [48, 100]
Generated Node #0,4,0: 47:[48, 100] Operation: 42+58=100
Exploring Operation: 48+42=90, Resulting Numbers: [58, 90]
Generated Node #0,4,1: 47:[58, 90] Operation: 48+42=90
Exploring Operation: 48-42=6, Resulting Numbers: [58, 6]
Generated Node #0,4,2: 47:[58, 6] Operation: 48-42=6
Exploring Operation: 58-42=16, Resulting Numbers: [48, 16]
Generated Node #0,4,3: 47:[48, 16] Operation: 58-42=16
Exploring Operation: 58-48=10, Resulting Numbers: [42, 10]
Generated Node #0,4,4: 47:[42, 10] Operation: 58-48=10
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 47:[48, 16], Operations: ['43+15=58', '58-42=16']
Exploring Operation: 48*16=768, Resulting Numbers: [768]
768,47 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,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,4
Current State: 47:[42, 10], Operations: ['43+15=58', '58-48=10']
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,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,2
Current State: 47:[58, 6], Operations: ['43+15=58', '48-42=6']
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,47 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,47 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,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:[48, 100], Operations: ['43+15=58', '42+58=100']
Exploring Operation: 48*100=4800, Resulting Numbers: [4800]
4800,47 unequal: No Solution
Exploring Operation: 48+100=148, Resulting Numbers: [148]
148,47 unequal: No Solution
Exploring Operation: 100-48=52, Resulting Numbers: [52]
52,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:[58, 90], Operations: ['43+15=58', '48+42=90']
Exploring Operation: 58+90=148, Resulting Numbers: [148]
148,47 unequal: No Solution
Exploring Operation: 90-58=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 58*90=5220, Resulting Numbers: [5220]
5220,47 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: 47:[43, 42, 33], Operations: ['48-15=33']
Exploring Operation: 43+33=76, Resulting Numbers: [42, 76]
Generated Node #0,0,0: 47:[42, 76] Operation: 43+33=76
Exploring Operation: 43-33=10, Resulting Numbers: [42, 10]
Generated Node #0,0,1: 47:[42, 10] Operation: 43-33=10
Exploring Operation: 42+33=75, Resulting Numbers: [43, 75]
Generated Node #0,0,2: 47:[43, 75] Operation: 42+33=75
Exploring Operation: 42-33=9, Resulting Numbers: [43, 9]
Generated Node #0,0,3: 47:[43, 9] Operation: 42-33=9
Exploring Operation: 43+42=85, Resulting Numbers: [33, 85]
Generated Node #0,0,4: 47:[33, 85] Operation: 43+42=85
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[43, 75], Operations: ['48-15=33', '42+33=75']
Exploring Operation: 43*75=3225, Resulting Numbers: [3225]
3225,47 unequal: No Solution
Exploring Operation: 75-43=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 43+75=118, Resulting Numbers: [118]
118,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[42, 76], Operations: ['48-15=33', '43+33=76']
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Exploring Operation: 42*76=3192, Resulting Numbers: [3192]
3192,47 unequal: No Solution
Exploring Operation: 42+76=118, Resulting Numbers: [118]
118,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[42, 10], Operations: ['48-15=33', '43-33=10']
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 47:[43, 9], Operations: ['48-15=33', '42-33=9']
Exploring Operation: 43*9=387, Resulting Numbers: [387]
387,47 unequal: No Solution
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 47:[33, 85], Operations: ['48-15=33', '43+42=85']
Exploring Operation: 33+85=118, Resulting Numbers: [118]
118,47 unequal: No Solution
Exploring Operation: 85-33=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 33*85=2805, Resulting Numbers: [2805]
2805,47 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: 47:[48, 42, 28], Operations: ['43-15=28']
Exploring Operation: 48+28=76, Resulting Numbers: [42, 76]
Generated Node #0,2,0: 47:[42, 76] Operation: 48+28=76
Exploring Operation: 42-28=14, Resulting Numbers: [48, 14]
Generated Node #0,2,1: 47:[48, 14] Operation: 42-28=14
Exploring Operation: 48-28=20, Resulting Numbers: [42, 20]
Generated Node #0,2,2: 47:[42, 20] Operation: 48-28=20
Exploring Operation: 42+28=70, Resulting Numbers: [48, 70]
Generated Node #0,2,3: 47:[48, 70] Operation: 42+28=70
Exploring Operation: 48-42=6, Resulting Numbers: [28, 6]
Generated Node #0,2,4: 47:[28, 6] Operation: 48-42=6
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 47:[48, 70], Operations: ['43-15=28', '42+28=70']
Exploring Operation: 48+70=118, Resulting Numbers: [118]
118,47 unequal: No Solution
Exploring Operation: 48*70=3360, Resulting Numbers: [3360]
3360,47 unequal: No Solution
Exploring Operation: 70-48=22, Resulting Numbers: [22]
22,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[42, 20], Operations: ['43-15=28', '48-28=20']
Exploring Operation: 42+20=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 42*20=840, Resulting Numbers: [840]
840,47 unequal: No Solution
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[42, 76], Operations: ['43-15=28', '48+28=76']
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Exploring Operation: 42*76=3192, Resulting Numbers: [3192]
3192,47 unequal: No Solution
Exploring Operation: 42+76=118, Resulting Numbers: [118]
118,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[48, 14], Operations: ['43-15=28', '42-28=14']
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,47 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 47:[28, 6], Operations: ['43-15=28', '48-42=6']
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 28*6=168, Resulting Numbers: [168]
168,47 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: 47:[43, 42, 63], Operations: ['48+15=63']
Exploring Operation: 63-42=21, Resulting Numbers: [43, 21]
Generated Node #0,3,0: 47:[43, 21] Operation: 63-42=21
Exploring Operation: 42+63=105, Resulting Numbers: [43, 105]
Generated Node #0,3,1: 47:[43, 105] Operation: 42+63=105
Exploring Operation: 43+42=85, Resulting Numbers: [63, 85]
Generated Node #0,3,2: 47:[63, 85] Operation: 43+42=85
Exploring Operation: 63-43=20, Resulting Numbers: [42, 20]
Generated Node #0,3,3: 47:[42, 20] Operation: 63-43=20
Exploring Operation: 43-42=1, Resulting Numbers: [63, 1]
Generated Node #0,3,4: 47:[63, 1] Operation: 43-42=1
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 47:[43, 21], Operations: ['48+15=63', '63-42=21']
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 43*21=903, Resulting Numbers: [903]
903,47 unequal: No Solution
Exploring Operation: 43+21=64, Resulting Numbers: [64]
64,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,3,3
Current State: 47:[42, 20], Operations: ['48+15=63', '63-43=20']
Exploring Operation: 42+20=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 42*20=840, Resulting Numbers: [840]
840,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,3,2
Current State: 47:[63, 85], Operations: ['48+15=63', '43+42=85']
Exploring Operation: 63+85=148, Resulting Numbers: [148]
148,47 unequal: No Solution
Exploring Operation: 63*85=5355, Resulting Numbers: [5355]
5355,47 unequal: No Solution
Exploring Operation: 85-63=22, Resulting Numbers: [22]
22,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,3,1
Current State: 47:[43, 105], Operations: ['48+15=63', '42+63=105']
Exploring Operation: 105-43=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 43*105=4515, Resulting Numbers: [4515]
4515,47 unequal: No Solution
Exploring Operation: 43+105=148, Resulting Numbers: [148]
148,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,3,4
Current State: 47:[63, 1], Operations: ['48+15=63', '43-42=1']
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,47 unequal: No Solution
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 47:[48, 14], Operations: ['15+42=57', '57-43=14']
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,47 unequal: No Solution
Moving to Node #0,1,3
Current State: 47:[43, 9], Operations: ['15+42=57', '57-48=9']
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Exploring Operation: 43*9=387, Resulting Numbers: [387]
387,47 unequal: No Solution
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Moving to Node #0,1,4
Current State: 47:[57, 5], Operations: ['15+42=57', '48-43=5']
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,47 unequal: No Solution
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[57, 91], Operations: ['15+42=57', '48+43=91']
Exploring Operation: 57*91=5187, Resulting Numbers: [5187]
5187,47 unequal: No Solution
Exploring Operation: 91-57=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Exploring Operation: 57+91=148, Resulting Numbers: [148]
148,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[48, 100], Operations: ['15+42=57', '43+57=100']
Exploring Operation: 48*100=4800, Resulting Numbers: [4800]
4800,47 unequal: No Solution
Exploring Operation: 100-48=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 48+100=148, Resulting Numbers: [148]
148,47 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
55,
52,
56,
70
] | 17 | [
"55-52=3",
"70-56=14",
"3+14=17"
] | Current State: 17:[55, 52, 56, 70], Operations: []
Exploring Operation: 55-52=3, Resulting Numbers: [56, 70, 3]
Generated Node #2: [56, 70, 3] from Operation: 55-52=3
Current State: 17:[56, 70, 3], Operations: ['55-52=3']
Exploring Operation: 70-56=14, Resulting Numbers: [3, 14]
Generated Node #3: [3, 14] from Operation: 70-56=14
Current State: 17:[3, 14], Operations: ['55-52=3', '70-56=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[55, 52, 56, 70], Operations: []
Exploring Operation: 70-55=15, Resulting Numbers: [52, 56, 15]
Generated Node #0,0: 17:[52, 56, 15] Operation: 70-55=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[52, 56, 15], Operations: ['70-55=15']
Exploring Operation: 56-52=4, Resulting Numbers: [15, 4]
Generated Node #0,0,0: 17:[15, 4] Operation: 56-52=4
Moving to Node #0,0,0
Current State: 17:[15, 4], Operations: ['70-55=15', '56-52=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,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 |
[
70,
67,
84,
11
] | 92 | [
"70-67=3",
"84+11=95",
"95-3=92"
] | Current State: 92:[70, 67, 84, 11], Operations: []
Exploring Operation: 70-67=3, Resulting Numbers: [84, 11, 3]
Generated Node #2: [84, 11, 3] from Operation: 70-67=3
Current State: 92:[84, 11, 3], Operations: ['70-67=3']
Exploring Operation: 84+11=95, Resulting Numbers: [3, 95]
Generated Node #3: [3, 95] from Operation: 84+11=95
Current State: 92:[3, 95], Operations: ['70-67=3', '84+11=95']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[70, 67, 84, 11], Operations: []
Exploring Operation: 70-67=3, Resulting Numbers: [84, 11, 3]
Generated Node #0,0: 92:[84, 11, 3] Operation: 70-67=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[84, 11, 3], Operations: ['70-67=3']
Exploring Operation: 84+11=95, Resulting Numbers: [3, 95]
Generated Node #0,0,0: 92:[3, 95] Operation: 84+11=95
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[3, 95], Operations: ['70-67=3', '84+11=95']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[70, 67, 84, 11], Operations: []
Exploring Operation: 70-67=3, Resulting Numbers: [84, 11, 3]
Generated Node #0,0: 92:[84, 11, 3] Operation: 70-67=3
Moving to Node #0,0
Current State: 92:[84, 11, 3], Operations: ['70-67=3']
Exploring Operation: 84+11=95, Resulting Numbers: [3, 95]
Generated Node #0,0,0: 92:[3, 95] Operation: 84+11=95
Moving to Node #0,0,0
Current State: 92:[3, 95], Operations: ['70-67=3', '84+11=95']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
57,
89,
84,
59
] | 94 | [
"59-57=2",
"89*2=178",
"178-84=94"
] | Current State: 94:[57, 89, 84, 59], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [89, 84, 2]
Generated Node #2: [89, 84, 2] from Operation: 59-57=2
Current State: 94:[89, 84, 2], Operations: ['59-57=2']
Exploring Operation: 89*2=178, Resulting Numbers: [84, 178]
Generated Node #3: [84, 178] from Operation: 89*2=178
Current State: 94:[84, 178], Operations: ['59-57=2', '89*2=178']
Exploring Operation: 178-84=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[57, 89, 84, 59], Operations: []
Exploring Operation: 89-84=5, Resulting Numbers: [57, 59, 5]
Generated Node #0,0: 94:[57, 59, 5] Operation: 89-84=5
Exploring Operation: 59-57=2, Resulting Numbers: [89, 84, 2]
Generated Node #0,1: 94:[89, 84, 2] Operation: 59-57=2
Moving to Node #0,1
Current State: 94:[89, 84, 2], Operations: ['59-57=2']
Exploring Operation: 89-84=5, Resulting Numbers: [2, 5]
Generated Node #0,1,0: 94:[2, 5] Operation: 89-84=5
Exploring Operation: 84/2=42, Resulting Numbers: [89, 42]
Generated Node #0,1,1: 94:[89, 42] Operation: 84/2=42
Moving to Node #0,0
Current State: 94:[57, 59, 5], Operations: ['89-84=5']
Exploring Operation: 59-57=2, Resulting Numbers: [5, 2]
Generated Node #0,0,0: 94:[5, 2] Operation: 59-57=2
Exploring Operation: 57-5=52, Resulting Numbers: [59, 52]
Generated Node #0,0,1: 94:[59, 52] Operation: 57-5=52
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[5, 2], Operations: ['89-84=5', '59-57=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,94 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[59, 52], Operations: ['89-84=5', '57-5=52']
Exploring Operation: 59+52=111, Resulting Numbers: [111]
111,94 unequal: No Solution
Exploring Operation: 59-52=7, Resulting Numbers: [7]
7,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 94:[2, 5], Operations: ['59-57=2', '89-84=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,94 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[89, 42], Operations: ['59-57=2', '84/2=42']
Exploring Operation: 89-42=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 89+42=131, Resulting Numbers: [131]
131,94 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
79,
80,
80,
17
] | 79 | [
"80-80=0",
"17*0=0",
"79+0=79"
] | Current State: 79:[79, 80, 80, 17], Operations: []
Exploring Operation: 80-80=0, Resulting Numbers: [79, 17, 0]
Generated Node #2: [79, 17, 0] from Operation: 80-80=0
Current State: 79:[79, 17, 0], Operations: ['80-80=0']
Exploring Operation: 17*0=0, Resulting Numbers: [79, 0]
Generated Node #3: [79, 0] from Operation: 17*0=0
Current State: 79:[79, 0], Operations: ['80-80=0', '17*0=0']
Exploring Operation: 79+0=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[79, 80, 80, 17], Operations: []
Exploring Operation: 80-17=63, Resulting Numbers: [79, 80, 63]
Generated Node #0,0: 79:[79, 80, 63] Operation: 80-17=63
Exploring Operation: 79-17=62, Resulting Numbers: [80, 80, 62]
Generated Node #0,1: 79:[80, 80, 62] Operation: 79-17=62
Exploring Operation: 79+17=96, Resulting Numbers: [80, 80, 96]
Generated Node #0,2: 79:[80, 80, 96] Operation: 79+17=96
Exploring Operation: 80+17=97, Resulting Numbers: [79, 80, 97]
Generated Node #0,3: 79:[79, 80, 97] Operation: 80+17=97
Exploring Operation: 80-17=63, Resulting Numbers: [79, 80, 63]
Generated Node #0,4: 79:[79, 80, 63] Operation: 80-17=63
Moving to Node #0,0
Current State: 79:[79, 80, 63], Operations: ['80-17=63']
Exploring Operation: 80-79=1, Resulting Numbers: [63, 1]
Generated Node #0,0,0: 79:[63, 1] Operation: 80-79=1
Exploring Operation: 80-63=17, Resulting Numbers: [79, 17]
Generated Node #0,0,1: 79:[79, 17] Operation: 80-63=17
Exploring Operation: 79-63=16, Resulting Numbers: [80, 16]
Generated Node #0,0,2: 79:[80, 16] Operation: 79-63=16
Exploring Operation: 79+63=142, Resulting Numbers: [80, 142]
Generated Node #0,0,3: 79:[80, 142] Operation: 79+63=142
Exploring Operation: 80+63=143, Resulting Numbers: [79, 143]
Generated Node #0,0,4: 79:[79, 143] Operation: 80+63=143
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[79, 17], Operations: ['80-17=63', '80-63=17']
Exploring Operation: 79*17=1343, Resulting Numbers: [1343]
1343,79 unequal: No Solution
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 79+17=96, Resulting Numbers: [96]
96,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[80, 16], Operations: ['80-17=63', '79-63=16']
Exploring Operation: 80/16=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 80*16=1280, Resulting Numbers: [1280]
1280,79 unequal: No Solution
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,79 unequal: No Solution
Exploring Operation: 80+16=96, Resulting Numbers: [96]
96,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 79:[80, 142], Operations: ['80-17=63', '79+63=142']
Exploring Operation: 80*142=11360, Resulting Numbers: [11360]
11360,79 unequal: No Solution
Exploring Operation: 142-80=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 80+142=222, Resulting Numbers: [222]
222,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 79:[79, 143], Operations: ['80-17=63', '80+63=143']
Exploring Operation: 143-79=64, Resulting Numbers: [64]
64,79 unequal: No Solution
Exploring Operation: 79+143=222, Resulting Numbers: [222]
222,79 unequal: No Solution
Exploring Operation: 79*143=11297, Resulting Numbers: [11297]
11297,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[63, 1], Operations: ['80-17=63', '80-79=1']
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,79 unequal: No Solution
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,79 unequal: No Solution
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 79:[79, 80, 63], Operations: ['80-17=63']
Exploring Operation: 80+63=143, Resulting Numbers: [79, 143]
Generated Node #0,4,0: 79:[79, 143] Operation: 80+63=143
Exploring Operation: 80-79=1, Resulting Numbers: [63, 1]
Generated Node #0,4,1: 79:[63, 1] Operation: 80-79=1
Exploring Operation: 79-63=16, Resulting Numbers: [80, 16]
Generated Node #0,4,2: 79:[80, 16] Operation: 79-63=16
Exploring Operation: 79+63=142, Resulting Numbers: [80, 142]
Generated Node #0,4,3: 79:[80, 142] Operation: 79+63=142
Exploring Operation: 80-63=17, Resulting Numbers: [79, 17]
Generated Node #0,4,4: 79:[79, 17] Operation: 80-63=17
Moving to Node #0,1
Current State: 79:[80, 80, 62], Operations: ['79-17=62']
Exploring Operation: 80-62=18, Resulting Numbers: [80, 18]
Generated Node #0,1,0: 79:[80, 18] Operation: 80-62=18
Exploring Operation: 80+62=142, Resulting Numbers: [80, 142]
Generated Node #0,1,1: 79:[80, 142] Operation: 80+62=142
Exploring Operation: 80/80=1, Resulting Numbers: [62, 1]
Generated Node #0,1,2: 79:[62, 1] Operation: 80/80=1
Exploring Operation: 80-62=18, Resulting Numbers: [80, 18]
Generated Node #0,1,3: 79:[80, 18] Operation: 80-62=18
Exploring Operation: 80+62=142, Resulting Numbers: [80, 142]
Generated Node #0,1,4: 79:[80, 142] Operation: 80+62=142
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[80, 18], Operations: ['79-17=62', '80-62=18']
Exploring Operation: 80+18=98, Resulting Numbers: [98]
98,79 unequal: No Solution
Exploring Operation: 80*18=1440, Resulting Numbers: [1440]
1440,79 unequal: No Solution
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,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,3
Current State: 79:[80, 18], Operations: ['79-17=62', '80-62=18']
Exploring Operation: 80+18=98, Resulting Numbers: [98]
98,79 unequal: No Solution
Exploring Operation: 80*18=1440, Resulting Numbers: [1440]
1440,79 unequal: No Solution
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[80, 142], Operations: ['79-17=62', '80+62=142']
Exploring Operation: 80*142=11360, Resulting Numbers: [11360]
11360,79 unequal: No Solution
Exploring Operation: 80+142=222, Resulting Numbers: [222]
222,79 unequal: No Solution
Exploring Operation: 142-80=62, Resulting Numbers: [62]
62,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 79:[80, 142], Operations: ['79-17=62', '80+62=142']
Exploring Operation: 142-80=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 80*142=11360, Resulting Numbers: [11360]
11360,79 unequal: No Solution
Exploring Operation: 80+142=222, Resulting Numbers: [222]
222,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 79:[62, 1], Operations: ['79-17=62', '80/80=1']
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,79 unequal: No Solution
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 62*1=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 79:[80, 80, 96], Operations: ['79+17=96']
Exploring Operation: 80-80=0, Resulting Numbers: [96, 0]
Generated Node #0,2,0: 79:[96, 0] Operation: 80-80=0
Exploring Operation: 96-80=16, Resulting Numbers: [80, 16]
Generated Node #0,2,1: 79:[80, 16] Operation: 96-80=16
Exploring Operation: 80+80=160, Resulting Numbers: [96, 160]
Generated Node #0,2,2: 79:[96, 160] Operation: 80+80=160
Exploring Operation: 80/80=1, Resulting Numbers: [96, 1]
Generated Node #0,2,3: 79:[96, 1] Operation: 80/80=1
Exploring Operation: 96-80=16, Resulting Numbers: [80, 16]
Generated Node #0,2,4: 79:[80, 16] Operation: 96-80=16
Moving to Node #0,3
Current State: 79:[79, 80, 97], Operations: ['80+17=97']
Exploring Operation: 97-79=18, Resulting Numbers: [80, 18]
Generated Node #0,3,0: 79:[80, 18] Operation: 97-79=18
Exploring Operation: 97-80=17, Resulting Numbers: [79, 17]
Generated Node #0,3,1: 79:[79, 17] Operation: 97-80=17
Exploring Operation: 80-79=1, Resulting Numbers: [97, 1]
Generated Node #0,3,2: 79:[97, 1] Operation: 80-79=1
Exploring Operation: 79+97=176, Resulting Numbers: [80, 176]
Generated Node #0,3,3: 79:[80, 176] Operation: 79+97=176
Exploring Operation: 79+80=159, Resulting Numbers: [97, 159]
Generated Node #0,3,4: 79:[97, 159] Operation: 79+80=159
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 79:[80, 18], Operations: ['80+17=97', '97-79=18']
Exploring Operation: 80*18=1440, Resulting Numbers: [1440]
1440,79 unequal: No Solution
Exploring Operation: 80+18=98, Resulting Numbers: [98]
98,79 unequal: No Solution
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 79:[79, 17], Operations: ['80+17=97', '97-80=17']
Exploring Operation: 79+17=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 79*17=1343, Resulting Numbers: [1343]
1343,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 79:[97, 1], Operations: ['80+17=97', '80-79=1']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,79 unequal: No Solution
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,79 unequal: No Solution
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 79:[80, 176], Operations: ['80+17=97', '79+97=176']
Exploring Operation: 80+176=256, Resulting Numbers: [256]
256,79 unequal: No Solution
Exploring Operation: 80*176=14080, Resulting Numbers: [14080]
14080,79 unequal: No Solution
Exploring Operation: 176-80=96, Resulting Numbers: [96]
96,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 79:[97, 159], Operations: ['80+17=97', '79+80=159']
Exploring Operation: 159-97=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 97*159=15423, Resulting Numbers: [15423]
15423,79 unequal: No Solution
Exploring Operation: 97+159=256, Resulting Numbers: [256]
256,79 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: 79:[79, 17], Operations: ['80-17=63', '80-63=17']
Exploring Operation: 79*17=1343, Resulting Numbers: [1343]
1343,79 unequal: No Solution
Exploring Operation: 79+17=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Moving to Node #0,4,2
Current State: 79:[80, 16], Operations: ['80-17=63', '79-63=16']
Exploring Operation: 80+16=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 80/16=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,79 unequal: No Solution
Exploring Operation: 80*16=1280, Resulting Numbers: [1280]
1280,79 unequal: No Solution
Moving to Node #0,2,4
Current State: 79:[80, 16], Operations: ['79+17=96', '96-80=16']
Exploring Operation: 80*16=1280, Resulting Numbers: [1280]
1280,79 unequal: No Solution
Exploring Operation: 80/16=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,79 unequal: No Solution
Exploring Operation: 80+16=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[80, 16], Operations: ['79+17=96', '96-80=16']
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,79 unequal: No Solution
Exploring Operation: 80+16=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 80/16=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 80*16=1280, Resulting Numbers: [1280]
1280,79 unequal: No Solution
Moving to Node #0,4,0
Current State: 79:[79, 143], Operations: ['80-17=63', '80+63=143']
Exploring Operation: 79*143=11297, Resulting Numbers: [11297]
11297,79 unequal: No Solution
Exploring Operation: 143-79=64, Resulting Numbers: [64]
64,79 unequal: No Solution
Exploring Operation: 79+143=222, Resulting Numbers: [222]
222,79 unequal: No Solution
Moving to Node #0,4,3
Current State: 79:[80, 142], Operations: ['80-17=63', '79+63=142']
Exploring Operation: 80+142=222, Resulting Numbers: [222]
222,79 unequal: No Solution
Exploring Operation: 80*142=11360, Resulting Numbers: [11360]
11360,79 unequal: No Solution
Exploring Operation: 142-80=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Moving to Node #0,4,1
Current State: 79:[63, 1], Operations: ['80-17=63', '80-79=1']
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,79 unequal: No Solution
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,79 unequal: No Solution
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[96, 1], Operations: ['79+17=96', '80/80=1']
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,79 unequal: No Solution
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,79 unequal: No Solution
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[96, 0], Operations: ['79+17=96', '80-80=0']
Exploring Operation: 96*0=0, Resulting Numbers: [0]
0,79 unequal: No Solution
Exploring Operation: 96-0=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 96+0=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[96, 160], Operations: ['79+17=96', '80+80=160']
Exploring Operation: 96+160=256, Resulting Numbers: [256]
256,79 unequal: No Solution
Exploring Operation: 96*160=15360, Resulting Numbers: [15360]
15360,79 unequal: No Solution
Exploring Operation: 160-96=64, Resulting Numbers: [64]
64,79 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
23,
67,
89,
35
] | 34 | [
"23+67=90",
"89+35=124",
"124-90=34"
] | Current State: 34:[23, 67, 89, 35], Operations: []
Exploring Operation: 23+67=90, Resulting Numbers: [89, 35, 90]
Generated Node #2: [89, 35, 90] from Operation: 23+67=90
Current State: 34:[89, 35, 90], Operations: ['23+67=90']
Exploring Operation: 89+35=124, Resulting Numbers: [90, 124]
Generated Node #3: [90, 124] from Operation: 89+35=124
Current State: 34:[90, 124], Operations: ['23+67=90', '89+35=124']
Exploring Operation: 124-90=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[23, 67, 89, 35], Operations: []
Exploring Operation: 89-35=54, Resulting Numbers: [23, 67, 54]
Generated Node #0,0: 34:[23, 67, 54] Operation: 89-35=54
Exploring Operation: 67-35=32, Resulting Numbers: [23, 89, 32]
Generated Node #0,1: 34:[23, 89, 32] Operation: 67-35=32
Exploring Operation: 89-67=22, Resulting Numbers: [23, 35, 22]
Generated Node #0,2: 34:[23, 35, 22] Operation: 89-67=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[23, 35, 22], Operations: ['89-67=22']
Exploring Operation: 23-22=1, Resulting Numbers: [35, 1]
Generated Node #0,2,0: 34:[35, 1] Operation: 23-22=1
Exploring Operation: 35-22=13, Resulting Numbers: [23, 13]
Generated Node #0,2,1: 34:[23, 13] Operation: 35-22=13
Exploring Operation: 35-23=12, Resulting Numbers: [22, 12]
Generated Node #0,2,2: 34:[22, 12] Operation: 35-23=12
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 34:[35, 1], Operations: ['89-67=22', '23-22=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[23, 67, 89, 35], Operations: []
Exploring Operation: 89-67=22, Resulting Numbers: [23, 35, 22]
Generated Node #0,2: 34:[23, 35, 22] Operation: 89-67=22
Moving to Node #0,2
Current State: 34:[23, 35, 22], Operations: ['89-67=22']
Exploring Operation: 23-22=1, Resulting Numbers: [35, 1]
Generated Node #0,2,0: 34:[35, 1] Operation: 23-22=1
Moving to Node #0,2,0
Current State: 34:[35, 1], Operations: ['89-67=22', '23-22=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
52,
30,
50,
28
] | 16 | [
"52-50=2",
"28/2=14",
"30-14=16"
] | Current State: 16:[52, 30, 50, 28], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [30, 28, 2]
Generated Node #2: [30, 28, 2] from Operation: 52-50=2
Current State: 16:[30, 28, 2], Operations: ['52-50=2']
Exploring Operation: 28/2=14, Resulting Numbers: [30, 14]
Generated Node #3: [30, 14] from Operation: 28/2=14
Current State: 16:[30, 14], Operations: ['52-50=2', '28/2=14']
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[52, 30, 50, 28], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [30, 28, 2]
Generated Node #0,0: 16:[30, 28, 2] Operation: 52-50=2
Exploring Operation: 52-30=22, Resulting Numbers: [50, 28, 22]
Generated Node #0,1: 16:[50, 28, 22] Operation: 52-30=22
Moving to Node #0,0
Current State: 16:[30, 28, 2], Operations: ['52-50=2']
Exploring Operation: 30/2=15, Resulting Numbers: [28, 15]
Generated Node #0,0,0: 16:[28, 15] Operation: 30/2=15
Exploring Operation: 30-28=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 16:[2, 2] Operation: 30-28=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[2, 2], Operations: ['52-50=2', '30-28=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,16 unequal: No Solution
No 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: 16:[28, 15], Operations: ['52-50=2', '30/2=15']
Exploring Operation: 28+15=43, Resulting Numbers: [43]
43,16 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,16 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: 16:[50, 28, 22], Operations: ['52-30=22']
Exploring Operation: 50-22=28, Resulting Numbers: [28, 28]
Generated Node #0,1,0: 16:[28, 28] Operation: 50-22=28
Exploring Operation: 50-28=22, Resulting Numbers: [22, 22]
Generated Node #0,1,1: 16:[22, 22] Operation: 50-28=22
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[22, 22], Operations: ['52-30=22', '50-28=22']
Exploring Operation: 22/22=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 22-22=0, Resulting Numbers: [0]
0,16 unequal: No Solution
No 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: 16:[28, 28], Operations: ['52-30=22', '50-22=28']
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,16 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 |
[
90,
71,
60,
67
] | 77 | [
"90*60=5400",
"67+5400=5467",
"5467/71=77"
] | Current State: 77:[90, 71, 60, 67], Operations: []
Exploring Operation: 90*60=5400, Resulting Numbers: [71, 67, 5400]
Generated Node #2: [71, 67, 5400] from Operation: 90*60=5400
Current State: 77:[71, 67, 5400], Operations: ['90*60=5400']
Exploring Operation: 67+5400=5467, Resulting Numbers: [71, 5467]
Generated Node #3: [71, 5467] from Operation: 67+5400=5467
Current State: 77:[71, 5467], Operations: ['90*60=5400', '67+5400=5467']
Exploring Operation: 5467/71=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[90, 71, 60, 67], Operations: []
Exploring Operation: 90-71=19, Resulting Numbers: [60, 67, 19]
Generated Node #0,0: 77:[60, 67, 19] Operation: 90-71=19
Exploring Operation: 71-67=4, Resulting Numbers: [90, 60, 4]
Generated Node #0,1: 77:[90, 60, 4] Operation: 71-67=4
Exploring Operation: 90-60=30, Resulting Numbers: [71, 67, 30]
Generated Node #0,2: 77:[71, 67, 30] Operation: 90-60=30
Exploring Operation: 67-60=7, Resulting Numbers: [90, 71, 7]
Generated Node #0,3: 77:[90, 71, 7] Operation: 67-60=7
Exploring Operation: 71-60=11, Resulting Numbers: [90, 67, 11]
Generated Node #0,4: 77:[90, 67, 11] Operation: 71-60=11
Moving to Node #0,3
Current State: 77:[90, 71, 7], Operations: ['67-60=7']
Exploring Operation: 90-7=83, Resulting Numbers: [71, 83]
Generated Node #0,3,0: 77:[71, 83] Operation: 90-7=83
Exploring Operation: 71+7=78, Resulting Numbers: [90, 78]
Generated Node #0,3,1: 77:[90, 78] Operation: 71+7=78
Exploring Operation: 90-71=19, Resulting Numbers: [7, 19]
Generated Node #0,3,2: 77:[7, 19] Operation: 90-71=19
Exploring Operation: 71-7=64, Resulting Numbers: [90, 64]
Generated Node #0,3,3: 77:[90, 64] Operation: 71-7=64
Exploring Operation: 90+7=97, Resulting Numbers: [71, 97]
Generated Node #0,3,4: 77:[71, 97] Operation: 90+7=97
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 77:[7, 19], Operations: ['67-60=7', '90-71=19']
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 7*19=133, Resulting Numbers: [133]
133,77 unequal: No Solution
No 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: 77:[71, 83], Operations: ['67-60=7', '90-7=83']
Exploring Operation: 71*83=5893, Resulting Numbers: [5893]
5893,77 unequal: No Solution
Exploring Operation: 71+83=154, Resulting Numbers: [154]
154,77 unequal: No Solution
Exploring Operation: 83-71=12, Resulting Numbers: [12]
12,77 unequal: No Solution
No 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: 77:[90, 78], Operations: ['67-60=7', '71+7=78']
Exploring Operation: 90*78=7020, Resulting Numbers: [7020]
7020,77 unequal: No Solution
Exploring Operation: 90-78=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 90+78=168, Resulting Numbers: [168]
168,77 unequal: No Solution
No 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: 77:[90, 64], Operations: ['67-60=7', '71-7=64']
Exploring Operation: 90+64=154, Resulting Numbers: [154]
154,77 unequal: No Solution
Exploring Operation: 90-64=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 90*64=5760, Resulting Numbers: [5760]
5760,77 unequal: No Solution
No 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: 77:[71, 97], Operations: ['67-60=7', '90+7=97']
Exploring Operation: 71*97=6887, Resulting Numbers: [6887]
6887,77 unequal: No Solution
Exploring Operation: 71+97=168, Resulting Numbers: [168]
168,77 unequal: No Solution
Exploring Operation: 97-71=26, Resulting Numbers: [26]
26,77 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: 77:[90, 67, 11], Operations: ['71-60=11']
Exploring Operation: 90+11=101, Resulting Numbers: [67, 101]
Generated Node #0,4,0: 77:[67, 101] Operation: 90+11=101
Exploring Operation: 67-11=56, Resulting Numbers: [90, 56]
Generated Node #0,4,1: 77:[90, 56] Operation: 67-11=56
Exploring Operation: 67+11=78, Resulting Numbers: [90, 78]
Generated Node #0,4,2: 77:[90, 78] Operation: 67+11=78
Exploring Operation: 90-67=23, Resulting Numbers: [11, 23]
Generated Node #0,4,3: 77:[11, 23] Operation: 90-67=23
Exploring Operation: 90-11=79, Resulting Numbers: [67, 79]
Generated Node #0,4,4: 77:[67, 79] Operation: 90-11=79
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 77:[11, 23], Operations: ['71-60=11', '90-67=23']
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,77 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 11*23=253, Resulting Numbers: [253]
253,77 unequal: No Solution
No 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: 77:[67, 79], Operations: ['71-60=11', '90-11=79']
Exploring Operation: 67*79=5293, Resulting Numbers: [5293]
5293,77 unequal: No Solution
Exploring Operation: 67+79=146, Resulting Numbers: [146]
146,77 unequal: No Solution
Exploring Operation: 79-67=12, Resulting Numbers: [12]
12,77 unequal: No Solution
No 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: 77:[90, 78], Operations: ['71-60=11', '67+11=78']
Exploring Operation: 90+78=168, Resulting Numbers: [168]
168,77 unequal: No Solution
Exploring Operation: 90-78=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 90*78=7020, Resulting Numbers: [7020]
7020,77 unequal: No Solution
No 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: 77:[67, 101], Operations: ['71-60=11', '90+11=101']
Exploring Operation: 67+101=168, Resulting Numbers: [168]
168,77 unequal: No Solution
Exploring Operation: 67*101=6767, Resulting Numbers: [6767]
6767,77 unequal: No Solution
Exploring Operation: 101-67=34, Resulting Numbers: [34]
34,77 unequal: No Solution
No 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: 77:[90, 56], Operations: ['71-60=11', '67-11=56']
Exploring Operation: 90*56=5040, Resulting Numbers: [5040]
5040,77 unequal: No Solution
Exploring Operation: 90+56=146, Resulting Numbers: [146]
146,77 unequal: No Solution
Exploring Operation: 90-56=34, Resulting Numbers: [34]
34,77 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: 77:[90, 60, 4], Operations: ['71-67=4']
Exploring Operation: 90-4=86, Resulting Numbers: [60, 86]
Generated Node #0,1,0: 77:[60, 86] Operation: 90-4=86
Exploring Operation: 90-60=30, Resulting Numbers: [4, 30]
Generated Node #0,1,1: 77:[4, 30] Operation: 90-60=30
Exploring Operation: 60/4=15, Resulting Numbers: [90, 15]
Generated Node #0,1,2: 77:[90, 15] Operation: 60/4=15
Exploring Operation: 90+4=94, Resulting Numbers: [60, 94]
Generated Node #0,1,3: 77:[60, 94] Operation: 90+4=94
Exploring Operation: 60+4=64, Resulting Numbers: [90, 64]
Generated Node #0,1,4: 77:[90, 64] Operation: 60+4=64
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 77:[90, 15], Operations: ['71-67=4', '60/4=15']
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 90+15=105, Resulting Numbers: [105]
105,77 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,77 unequal: No Solution
Exploring Operation: 90*15=1350, Resulting Numbers: [1350]
1350,77 unequal: No Solution
No 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: 77:[4, 30], Operations: ['71-67=4', '90-60=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,77 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,77 unequal: No Solution
No 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: 77:[60, 86], Operations: ['71-67=4', '90-4=86']
Exploring Operation: 60+86=146, Resulting Numbers: [146]
146,77 unequal: No Solution
Exploring Operation: 86-60=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 60*86=5160, Resulting Numbers: [5160]
5160,77 unequal: No Solution
No 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: 77:[90, 64], Operations: ['71-67=4', '60+4=64']
Exploring Operation: 90+64=154, Resulting Numbers: [154]
154,77 unequal: No Solution
Exploring Operation: 90-64=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 90*64=5760, Resulting Numbers: [5760]
5760,77 unequal: No Solution
No 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: 77:[60, 94], Operations: ['71-67=4', '90+4=94']
Exploring Operation: 60*94=5640, Resulting Numbers: [5640]
5640,77 unequal: No Solution
Exploring Operation: 60+94=154, Resulting Numbers: [154]
154,77 unequal: No Solution
Exploring Operation: 94-60=34, Resulting Numbers: [34]
34,77 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: 77:[60, 67, 19], Operations: ['90-71=19']
Exploring Operation: 67-19=48, Resulting Numbers: [60, 48]
Generated Node #0,0,0: 77:[60, 48] Operation: 67-19=48
Exploring Operation: 67+19=86, Resulting Numbers: [60, 86]
Generated Node #0,0,1: 77:[60, 86] Operation: 67+19=86
Exploring Operation: 60-19=41, Resulting Numbers: [67, 41]
Generated Node #0,0,2: 77:[67, 41] Operation: 60-19=41
Exploring Operation: 60+19=79, Resulting Numbers: [67, 79]
Generated Node #0,0,3: 77:[67, 79] Operation: 60+19=79
Exploring Operation: 67-60=7, Resulting Numbers: [19, 7]
Generated Node #0,0,4: 77:[19, 7] Operation: 67-60=7
Moving to Node #0,2
Current State: 77:[71, 67, 30], Operations: ['90-60=30']
Exploring Operation: 71-30=41, Resulting Numbers: [67, 41]
Generated Node #0,2,0: 77:[67, 41] Operation: 71-30=41
Exploring Operation: 71+30=101, Resulting Numbers: [67, 101]
Generated Node #0,2,1: 77:[67, 101] Operation: 71+30=101
Exploring Operation: 67+30=97, Resulting Numbers: [71, 97]
Generated Node #0,2,2: 77:[71, 97] Operation: 67+30=97
Exploring Operation: 67-30=37, Resulting Numbers: [71, 37]
Generated Node #0,2,3: 77:[71, 37] Operation: 67-30=37
Exploring Operation: 71-67=4, Resulting Numbers: [30, 4]
Generated Node #0,2,4: 77:[30, 4] Operation: 71-67=4
Moving to Node #0,0,4
Current State: 77:[19, 7], Operations: ['90-71=19', '67-60=7']
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,77 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Moving to Node #0,0,3
Current State: 77:[67, 79], Operations: ['90-71=19', '60+19=79']
Exploring Operation: 67+79=146, Resulting Numbers: [146]
146,77 unequal: No Solution
Exploring Operation: 67*79=5293, Resulting Numbers: [5293]
5293,77 unequal: No Solution
Exploring Operation: 79-67=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Moving to Node #0,2,4
Current State: 77:[30, 4], Operations: ['90-60=30', '71-67=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,77 unequal: No Solution
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[71, 97], Operations: ['90-60=30', '67+30=97']
Exploring Operation: 71*97=6887, Resulting Numbers: [6887]
6887,77 unequal: No Solution
Exploring Operation: 71+97=168, Resulting Numbers: [168]
168,77 unequal: No Solution
Exploring Operation: 97-71=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[60, 86], Operations: ['90-71=19', '67+19=86']
Exploring Operation: 60+86=146, Resulting Numbers: [146]
146,77 unequal: No Solution
Exploring Operation: 60*86=5160, Resulting Numbers: [5160]
5160,77 unequal: No Solution
Exploring Operation: 86-60=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Moving to Node #0,2,3
Current State: 77:[71, 37], Operations: ['90-60=30', '67-30=37']
Exploring Operation: 71-37=34, Resulting Numbers: [34]
34,77 unequal: No Solution
Exploring Operation: 71+37=108, Resulting Numbers: [108]
108,77 unequal: No Solution
Exploring Operation: 71*37=2627, Resulting Numbers: [2627]
2627,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[67, 101], Operations: ['90-60=30', '71+30=101']
Exploring Operation: 67*101=6767, Resulting Numbers: [6767]
6767,77 unequal: No Solution
Exploring Operation: 67+101=168, Resulting Numbers: [168]
168,77 unequal: No Solution
Exploring Operation: 101-67=34, Resulting Numbers: [34]
34,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[67, 41], Operations: ['90-71=19', '60-19=41']
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 67+41=108, Resulting Numbers: [108]
108,77 unequal: No Solution
Exploring Operation: 67*41=2747, Resulting Numbers: [2747]
2747,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[67, 41], Operations: ['90-60=30', '71-30=41']
Exploring Operation: 67+41=108, Resulting Numbers: [108]
108,77 unequal: No Solution
Exploring Operation: 67*41=2747, Resulting Numbers: [2747]
2747,77 unequal: No Solution
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[60, 48], Operations: ['90-71=19', '67-19=48']
Exploring Operation: 60*48=2880, Resulting Numbers: [2880]
2880,77 unequal: No Solution
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 60+48=108, Resulting Numbers: [108]
108,77 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
57,
30,
49,
36
] | 48 | [
"57-49=8",
"36-30=6",
"8*6=48"
] | Current State: 48:[57, 30, 49, 36], Operations: []
Exploring Operation: 57-49=8, Resulting Numbers: [30, 36, 8]
Generated Node #2: [30, 36, 8] from Operation: 57-49=8
Current State: 48:[30, 36, 8], Operations: ['57-49=8']
Exploring Operation: 36-30=6, Resulting Numbers: [8, 6]
Generated Node #3: [8, 6] from Operation: 36-30=6
Current State: 48:[8, 6], Operations: ['57-49=8', '36-30=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[57, 30, 49, 36], Operations: []
Exploring Operation: 36-30=6, Resulting Numbers: [57, 49, 6]
Generated Node #0,0: 48:[57, 49, 6] Operation: 36-30=6
Exploring Operation: 57-30=27, Resulting Numbers: [49, 36, 27]
Generated Node #0,1: 48:[49, 36, 27] Operation: 57-30=27
Exploring Operation: 57-36=21, Resulting Numbers: [30, 49, 21]
Generated Node #0,2: 48:[30, 49, 21] Operation: 57-36=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[57, 49, 6], Operations: ['36-30=6']
Exploring Operation: 49-6=43, Resulting Numbers: [57, 43]
Generated Node #0,0,0: 48:[57, 43] Operation: 49-6=43
Exploring Operation: 57-49=8, Resulting Numbers: [6, 8]
Generated Node #0,0,1: 48:[6, 8] Operation: 57-49=8
Exploring Operation: 57-6=51, Resulting Numbers: [49, 51]
Generated Node #0,0,2: 48:[49, 51] Operation: 57-6=51
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 48:[6, 8], Operations: ['36-30=6', '57-49=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[57, 30, 49, 36], Operations: []
Exploring Operation: 36-30=6, Resulting Numbers: [57, 49, 6]
Generated Node #0,0: 48:[57, 49, 6] Operation: 36-30=6
Moving to Node #0,0
Current State: 48:[57, 49, 6], Operations: ['36-30=6']
Exploring Operation: 57-49=8, Resulting Numbers: [6, 8]
Generated Node #0,0,1: 48:[6, 8] Operation: 57-49=8
Moving to Node #0,0,1
Current State: 48:[6, 8], Operations: ['36-30=6', '57-49=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
84,
52,
88,
44
] | 20 | [
"52*88=4576",
"4576/44=104",
"104-84=20"
] | Current State: 20:[84, 52, 88, 44], Operations: []
Exploring Operation: 52*88=4576, Resulting Numbers: [84, 44, 4576]
Generated Node #2: [84, 44, 4576] from Operation: 52*88=4576
Current State: 20:[84, 44, 4576], Operations: ['52*88=4576']
Exploring Operation: 4576/44=104, Resulting Numbers: [84, 104]
Generated Node #3: [84, 104] from Operation: 4576/44=104
Current State: 20:[84, 104], Operations: ['52*88=4576', '4576/44=104']
Exploring Operation: 104-84=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[84, 52, 88, 44], Operations: []
Exploring Operation: 88-84=4, Resulting Numbers: [52, 44, 4]
Generated Node #0,0: 20:[52, 44, 4] Operation: 88-84=4
Exploring Operation: 88/44=2, Resulting Numbers: [84, 52, 2]
Generated Node #0,1: 20:[84, 52, 2] Operation: 88/44=2
Exploring Operation: 84-52=32, Resulting Numbers: [88, 44, 32]
Generated Node #0,2: 20:[88, 44, 32] Operation: 84-52=32
Exploring Operation: 88-52=36, Resulting Numbers: [84, 44, 36]
Generated Node #0,3: 20:[84, 44, 36] Operation: 88-52=36
Moving to Node #0,0
Current State: 20:[52, 44, 4], Operations: ['88-84=4']
Exploring Operation: 44/4=11, Resulting Numbers: [52, 11]
Generated Node #0,0,0: 20:[52, 11] Operation: 44/4=11
Exploring Operation: 52/4=13, Resulting Numbers: [44, 13]
Generated Node #0,0,1: 20:[44, 13] Operation: 52/4=13
Exploring Operation: 52-4=48, Resulting Numbers: [44, 48]
Generated Node #0,0,2: 20:[44, 48] Operation: 52-4=48
Exploring Operation: 52-44=8, Resulting Numbers: [4, 8]
Generated Node #0,0,3: 20:[4, 8] Operation: 52-44=8
Moving to Node #0,1
Current State: 20:[84, 52, 2], Operations: ['88/44=2']
Exploring Operation: 84/2=42, Resulting Numbers: [52, 42]
Generated Node #0,1,0: 20:[52, 42] Operation: 84/2=42
Exploring Operation: 84-2=82, Resulting Numbers: [52, 82]
Generated Node #0,1,1: 20:[52, 82] Operation: 84-2=82
Exploring Operation: 84-52=32, Resulting Numbers: [2, 32]
Generated Node #0,1,2: 20:[2, 32] Operation: 84-52=32
Exploring Operation: 52/2=26, Resulting Numbers: [84, 26]
Generated Node #0,1,3: 20:[84, 26] Operation: 52/2=26
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[2, 32], Operations: ['88/44=2', '84-52=32']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,20 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,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,0
Current State: 20:[52, 42], Operations: ['88/44=2', '84/2=42']
Exploring Operation: 52+42=94, Resulting Numbers: [94]
94,20 unequal: No Solution
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 52*42=2184, Resulting Numbers: [2184]
2184,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,3
Current State: 20:[84, 26], Operations: ['88/44=2', '52/2=26']
Exploring Operation: 84-26=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 84*26=2184, Resulting Numbers: [2184]
2184,20 unequal: No Solution
Exploring Operation: 84+26=110, Resulting Numbers: [110]
110,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:[52, 82], Operations: ['88/44=2', '84-2=82']
Exploring Operation: 52*82=4264, Resulting Numbers: [4264]
4264,20 unequal: No Solution
Exploring Operation: 82-52=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 52+82=134, Resulting Numbers: [134]
134,20 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: 20:[84, 44, 36], Operations: ['88-52=36']
Exploring Operation: 84+44=128, Resulting Numbers: [36, 128]
Generated Node #0,3,0: 20:[36, 128] Operation: 84+44=128
Exploring Operation: 44-36=8, Resulting Numbers: [84, 8]
Generated Node #0,3,1: 20:[84, 8] Operation: 44-36=8
Exploring Operation: 84-36=48, Resulting Numbers: [44, 48]
Generated Node #0,3,2: 20:[44, 48] Operation: 84-36=48
Exploring Operation: 84-44=40, Resulting Numbers: [36, 40]
Generated Node #0,3,3: 20:[36, 40] Operation: 84-44=40
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 20:[36, 40], Operations: ['88-52=36', '84-44=40']
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,20 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,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,3,2
Current State: 20:[44, 48], Operations: ['88-52=36', '84-36=48']
Exploring Operation: 44*48=2112, Resulting Numbers: [2112]
2112,20 unequal: No Solution
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 44+48=92, Resulting Numbers: [92]
92,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,3,1
Current State: 20:[84, 8], Operations: ['88-52=36', '44-36=8']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,20 unequal: No Solution
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,20 unequal: No Solution
Exploring Operation: 84*8=672, Resulting Numbers: [672]
672,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,3,0
Current State: 20:[36, 128], Operations: ['88-52=36', '84+44=128']
Exploring Operation: 36*128=4608, Resulting Numbers: [4608]
4608,20 unequal: No Solution
Exploring Operation: 128-36=92, Resulting Numbers: [92]
92,20 unequal: No Solution
Exploring Operation: 36+128=164, Resulting Numbers: [164]
164,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:[88, 44, 32], Operations: ['84-52=32']
Exploring Operation: 88/44=2, Resulting Numbers: [32, 2]
Generated Node #0,2,0: 20:[32, 2] Operation: 88/44=2
Exploring Operation: 44-32=12, Resulting Numbers: [88, 12]
Generated Node #0,2,1: 20:[88, 12] Operation: 44-32=12
Exploring Operation: 88-44=44, Resulting Numbers: [32, 44]
Generated Node #0,2,2: 20:[32, 44] Operation: 88-44=44
Exploring Operation: 88-32=56, Resulting Numbers: [44, 56]
Generated Node #0,2,3: 20:[44, 56] Operation: 88-32=56
Moving to Node #0,0,3
Current State: 20:[4, 8], Operations: ['88-84=4', '52-44=8']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,20 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[32, 2], Operations: ['84-52=32', '88/44=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,20 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[44, 13], Operations: ['88-84=4', '52/4=13']
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,20 unequal: No Solution
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[52, 11], Operations: ['88-84=4', '44/4=11']
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,20 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,20 unequal: No Solution
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[32, 44], Operations: ['84-52=32', '88-44=44']
Exploring Operation: 32*44=1408, Resulting Numbers: [1408]
1408,20 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 32+44=76, Resulting Numbers: [76]
76,20 unequal: No Solution
Moving to Node #0,0,2
Current State: 20:[44, 48], Operations: ['88-84=4', '52-4=48']
Exploring Operation: 44*48=2112, Resulting Numbers: [2112]
2112,20 unequal: No Solution
Exploring Operation: 44+48=92, Resulting Numbers: [92]
92,20 unequal: No Solution
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[44, 56], Operations: ['84-52=32', '88-32=56']
Exploring Operation: 44+56=100, Resulting Numbers: [100]
100,20 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 44*56=2464, Resulting Numbers: [2464]
2464,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[88, 12], Operations: ['84-52=32', '44-32=12']
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,20 unequal: No Solution
Exploring Operation: 88*12=1056, Resulting Numbers: [1056]
1056,20 unequal: No Solution
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,20 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
62,
53,
2,
15
] | 57 | [
"62-2=60",
"60/15=4",
"53+4=57"
] | Current State: 57:[62, 53, 2, 15], Operations: []
Exploring Operation: 62-2=60, Resulting Numbers: [53, 15, 60]
Generated Node #2: [53, 15, 60] from Operation: 62-2=60
Current State: 57:[53, 15, 60], Operations: ['62-2=60']
Exploring Operation: 60/15=4, Resulting Numbers: [53, 4]
Generated Node #3: [53, 4] from Operation: 60/15=4
Current State: 57:[53, 4], Operations: ['62-2=60', '60/15=4']
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[62, 53, 2, 15], Operations: []
Exploring Operation: 62-53=9, Resulting Numbers: [2, 15, 9]
Generated Node #0,0: 57:[2, 15, 9] Operation: 62-53=9
Exploring Operation: 62-2=60, Resulting Numbers: [53, 15, 60]
Generated Node #0,1: 57:[53, 15, 60] Operation: 62-2=60
Exploring Operation: 53+2=55, Resulting Numbers: [62, 15, 55]
Generated Node #0,2: 57:[62, 15, 55] Operation: 53+2=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[2, 15, 9], Operations: ['62-53=9']
Exploring Operation: 2*9=18, Resulting Numbers: [15, 18]
Generated Node #0,0,0: 57:[15, 18] Operation: 2*9=18
Exploring Operation: 15+9=24, Resulting Numbers: [2, 24]
Generated Node #0,0,1: 57:[2, 24] Operation: 15+9=24
Exploring Operation: 15-9=6, Resulting Numbers: [2, 6]
Generated Node #0,0,2: 57:[2, 6] Operation: 15-9=6
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 57:[2, 6], Operations: ['62-53=9', '15-9=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[15, 18], Operations: ['62-53=9', '2*9=18']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 15+18=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 15*18=270, Resulting Numbers: [270]
270,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[2, 24], Operations: ['62-53=9', '15+9=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[53, 15, 60], Operations: ['62-2=60']
Exploring Operation: 60-53=7, Resulting Numbers: [15, 7]
Generated Node #0,1,0: 57:[15, 7] Operation: 60-53=7
Exploring Operation: 53+15=68, Resulting Numbers: [60, 68]
Generated Node #0,1,1: 57:[60, 68] Operation: 53+15=68
Exploring Operation: 60/15=4, Resulting Numbers: [53, 4]
Generated Node #0,1,2: 57:[53, 4] Operation: 60/15=4
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[53, 4], Operations: ['62-2=60', '60/15=4']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,57 unequal: No Solution
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[62, 53, 2, 15], Operations: []
Exploring Operation: 62-2=60, Resulting Numbers: [53, 15, 60]
Generated Node #0,1: 57:[53, 15, 60] Operation: 62-2=60
Moving to Node #0,1
Current State: 57:[53, 15, 60], Operations: ['62-2=60']
Exploring Operation: 60/15=4, Resulting Numbers: [53, 4]
Generated Node #0,1,2: 57:[53, 4] Operation: 60/15=4
Moving to Node #0,1,2
Current State: 57:[53, 4], Operations: ['62-2=60', '60/15=4']
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
45,
21,
33,
67
] | 44 | [
"21*67=1407",
"45+1407=1452",
"1452/33=44"
] | Current State: 44:[45, 21, 33, 67], Operations: []
Exploring Operation: 21*67=1407, Resulting Numbers: [45, 33, 1407]
Generated Node #2: [45, 33, 1407] from Operation: 21*67=1407
Current State: 44:[45, 33, 1407], Operations: ['21*67=1407']
Exploring Operation: 45+1407=1452, Resulting Numbers: [33, 1452]
Generated Node #3: [33, 1452] from Operation: 45+1407=1452
Current State: 44:[33, 1452], Operations: ['21*67=1407', '45+1407=1452']
Exploring Operation: 1452/33=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[45, 21, 33, 67], Operations: []
Exploring Operation: 67-45=22, Resulting Numbers: [21, 33, 22]
Generated Node #0,0: 44:[21, 33, 22] Operation: 67-45=22
Exploring Operation: 67-33=34, Resulting Numbers: [45, 21, 34]
Generated Node #0,1: 44:[45, 21, 34] Operation: 67-33=34
Exploring Operation: 67-21=46, Resulting Numbers: [45, 33, 46]
Generated Node #0,2: 44:[45, 33, 46] Operation: 67-21=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[21, 33, 22], Operations: ['67-45=22']
Exploring Operation: 21+33=54, Resulting Numbers: [22, 54]
Generated Node #0,0,0: 44:[22, 54] Operation: 21+33=54
Exploring Operation: 33-21=12, Resulting Numbers: [22, 12]
Generated Node #0,0,1: 44:[22, 12] Operation: 33-21=12
Exploring Operation: 33-22=11, Resulting Numbers: [21, 11]
Generated Node #0,0,2: 44:[21, 11] Operation: 33-22=11
Moving to Node #0,0,1
Current State: 44:[22, 12], Operations: ['67-45=22', '33-21=12']
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,44 unequal: No Solution
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[21, 11], Operations: ['67-45=22', '33-22=11']
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[22, 54], Operations: ['67-45=22', '21+33=54']
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 22+54=76, Resulting Numbers: [76]
76,44 unequal: No Solution
Exploring Operation: 22*54=1188, Resulting Numbers: [1188]
1188,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[45, 21, 34], Operations: ['67-33=34']
Exploring Operation: 45-21=24, Resulting Numbers: [34, 24]
Generated Node #0,1,0: 44:[34, 24] Operation: 45-21=24
Exploring Operation: 34-21=13, Resulting Numbers: [45, 13]
Generated Node #0,1,1: 44:[45, 13] Operation: 34-21=13
Exploring Operation: 45-34=11, Resulting Numbers: [21, 11]
Generated Node #0,1,2: 44:[21, 11] Operation: 45-34=11
Moving to Node #0,1,2
Current State: 44:[21, 11], Operations: ['67-33=34', '45-34=11']
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,44 unequal: No Solution
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[45, 13], Operations: ['67-33=34', '34-21=13']
Exploring Operation: 45+13=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 45*13=585, Resulting Numbers: [585]
585,44 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[34, 24], Operations: ['67-33=34', '45-21=24']
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 34*24=816, Resulting Numbers: [816]
816,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[45, 33, 46], Operations: ['67-21=46']
Exploring Operation: 46-33=13, Resulting Numbers: [45, 13]
Generated Node #0,2,0: 44:[45, 13] Operation: 46-33=13
Exploring Operation: 45-33=12, Resulting Numbers: [46, 12]
Generated Node #0,2,1: 44:[46, 12] Operation: 45-33=12
Exploring Operation: 46-45=1, Resulting Numbers: [33, 1]
Generated Node #0,2,2: 44:[33, 1] Operation: 46-45=1
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 44:[45, 13], Operations: ['67-21=46', '46-33=13']
Exploring Operation: 45+13=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 45*13=585, Resulting Numbers: [585]
585,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 44:[46, 12], Operations: ['67-21=46', '45-33=12']
Exploring Operation: 46+12=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,44 unequal: No Solution
Exploring Operation: 46*12=552, Resulting Numbers: [552]
552,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 44:[33, 1], Operations: ['67-21=46', '46-45=1']
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,44 unequal: No Solution
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
9,
21,
38,
42
] | 75 | [
"42-38=4",
"21*4=84",
"84-9=75"
] | Current State: 75:[9, 21, 38, 42], Operations: []
Exploring Operation: 42-38=4, Resulting Numbers: [9, 21, 4]
Generated Node #2: [9, 21, 4] from Operation: 42-38=4
Current State: 75:[9, 21, 4], Operations: ['42-38=4']
Exploring Operation: 21*4=84, Resulting Numbers: [9, 84]
Generated Node #3: [9, 84] from Operation: 21*4=84
Current State: 75:[9, 84], Operations: ['42-38=4', '21*4=84']
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[9, 21, 38, 42], Operations: []
Exploring Operation: 42-38=4, Resulting Numbers: [9, 21, 4]
Generated Node #0,0: 75:[9, 21, 4] Operation: 42-38=4
Exploring Operation: 42-21=21, Resulting Numbers: [9, 38, 21]
Generated Node #0,1: 75:[9, 38, 21] Operation: 42-21=21
Exploring Operation: 42/21=2, Resulting Numbers: [9, 38, 2]
Generated Node #0,2: 75:[9, 38, 2] Operation: 42/21=2
Exploring Operation: 38+42=80, Resulting Numbers: [9, 21, 80]
Generated Node #0,3: 75:[9, 21, 80] Operation: 38+42=80
Moving to Node #0,0
Current State: 75:[9, 21, 4], Operations: ['42-38=4']
Exploring Operation: 21-9=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 75:[4, 12] Operation: 21-9=12
Exploring Operation: 9-4=5, Resulting Numbers: [21, 5]
Generated Node #0,0,1: 75:[21, 5] Operation: 9-4=5
Exploring Operation: 9+21=30, Resulting Numbers: [4, 30]
Generated Node #0,0,2: 75:[4, 30] Operation: 9+21=30
Exploring Operation: 21+4=25, Resulting Numbers: [9, 25]
Generated Node #0,0,3: 75:[9, 25] Operation: 21+4=25
Moving to Node #0,3
Current State: 75:[9, 21, 80], Operations: ['38+42=80']
Exploring Operation: 9+80=89, Resulting Numbers: [21, 89]
Generated Node #0,3,0: 75:[21, 89] Operation: 9+80=89
Exploring Operation: 80-9=71, Resulting Numbers: [21, 71]
Generated Node #0,3,1: 75:[21, 71] Operation: 80-9=71
Exploring Operation: 9+21=30, Resulting Numbers: [80, 30]
Generated Node #0,3,2: 75:[80, 30] Operation: 9+21=30
Exploring Operation: 21-9=12, Resulting Numbers: [80, 12]
Generated Node #0,3,3: 75:[80, 12] Operation: 21-9=12
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 75:[21, 71], Operations: ['38+42=80', '80-9=71']
Exploring Operation: 21+71=92, Resulting Numbers: [92]
92,75 unequal: No Solution
Exploring Operation: 71-21=50, Resulting Numbers: [50]
50,75 unequal: No Solution
Exploring Operation: 21*71=1491, Resulting Numbers: [1491]
1491,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,3
Current State: 75:[80, 12], Operations: ['38+42=80', '21-9=12']
Exploring Operation: 80-12=68, Resulting Numbers: [68]
68,75 unequal: No Solution
Exploring Operation: 80+12=92, Resulting Numbers: [92]
92,75 unequal: No Solution
Exploring Operation: 80*12=960, Resulting Numbers: [960]
960,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,2
Current State: 75:[80, 30], Operations: ['38+42=80', '9+21=30']
Exploring Operation: 80-30=50, Resulting Numbers: [50]
50,75 unequal: No Solution
Exploring Operation: 80+30=110, Resulting Numbers: [110]
110,75 unequal: No Solution
Exploring Operation: 80*30=2400, Resulting Numbers: [2400]
2400,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,0
Current State: 75:[21, 89], Operations: ['38+42=80', '9+80=89']
Exploring Operation: 21+89=110, Resulting Numbers: [110]
110,75 unequal: No Solution
Exploring Operation: 21*89=1869, Resulting Numbers: [1869]
1869,75 unequal: No Solution
Exploring Operation: 89-21=68, Resulting Numbers: [68]
68,75 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: 75:[9, 38, 2], Operations: ['42/21=2']
Exploring Operation: 9-2=7, Resulting Numbers: [38, 7]
Generated Node #0,2,0: 75:[38, 7] Operation: 9-2=7
Exploring Operation: 38/2=19, Resulting Numbers: [9, 19]
Generated Node #0,2,1: 75:[9, 19] Operation: 38/2=19
Exploring Operation: 38-9=29, Resulting Numbers: [2, 29]
Generated Node #0,2,2: 75:[2, 29] Operation: 38-9=29
Exploring Operation: 38*2=76, Resulting Numbers: [9, 76]
Generated Node #0,2,3: 75:[9, 76] Operation: 38*2=76
Moving to Node #0,1
Current State: 75:[9, 38, 21], Operations: ['42-21=21']
Exploring Operation: 38-9=29, Resulting Numbers: [21, 29]
Generated Node #0,1,0: 75:[21, 29] Operation: 38-9=29
Exploring Operation: 38-21=17, Resulting Numbers: [9, 17]
Generated Node #0,1,1: 75:[9, 17] Operation: 38-21=17
Exploring Operation: 9+21=30, Resulting Numbers: [38, 30]
Generated Node #0,1,2: 75:[38, 30] Operation: 9+21=30
Exploring Operation: 21-9=12, Resulting Numbers: [38, 12]
Generated Node #0,1,3: 75:[38, 12] Operation: 21-9=12
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[9, 17], Operations: ['42-21=21', '38-21=17']
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,75 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,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,0
Current State: 75:[21, 29], Operations: ['42-21=21', '38-9=29']
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 21+29=50, Resulting Numbers: [50]
50,75 unequal: No Solution
Exploring Operation: 21*29=609, Resulting Numbers: [609]
609,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,3
Current State: 75:[38, 12], Operations: ['42-21=21', '21-9=12']
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,75 unequal: No Solution
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,75 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,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,2
Current State: 75:[38, 30], Operations: ['42-21=21', '9+21=30']
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,75 unequal: No Solution
Exploring Operation: 38*30=1140, Resulting Numbers: [1140]
1140,75 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: 75:[4, 12], Operations: ['42-38=4', '21-9=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Moving to Node #0,0,3
Current State: 75:[9, 25], Operations: ['42-38=4', '21+4=25']
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,75 unequal: No Solution
Exploring Operation: 9*25=225, Resulting Numbers: [225]
225,75 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[21, 5], Operations: ['42-38=4', '9-4=5']
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,75 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[9, 76], Operations: ['42/21=2', '38*2=76']
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,75 unequal: No Solution
Exploring Operation: 9+76=85, Resulting Numbers: [85]
85,75 unequal: No Solution
Exploring Operation: 9*76=684, Resulting Numbers: [684]
684,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[2, 29], Operations: ['42/21=2', '38-9=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[4, 30], Operations: ['42-38=4', '9+21=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,75 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[9, 19], Operations: ['42/21=2', '38/2=19']
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,75 unequal: No Solution
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[38, 7], Operations: ['42/21=2', '9-2=7']
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,75 unequal: No Solution
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,75 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,75 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
9,
28,
22,
7
] | 33 | [
"28-22=6",
"7*6=42",
"42-9=33"
] | Current State: 33:[9, 28, 22, 7], Operations: []
Exploring Operation: 28-22=6, Resulting Numbers: [9, 7, 6]
Generated Node #2: [9, 7, 6] from Operation: 28-22=6
Current State: 33:[9, 7, 6], Operations: ['28-22=6']
Exploring Operation: 7*6=42, Resulting Numbers: [9, 42]
Generated Node #3: [9, 42] from Operation: 7*6=42
Current State: 33:[9, 42], Operations: ['28-22=6', '7*6=42']
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[9, 28, 22, 7], Operations: []
Exploring Operation: 28-22=6, Resulting Numbers: [9, 7, 6]
Generated Node #0,0: 33:[9, 7, 6] Operation: 28-22=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[9, 7, 6], Operations: ['28-22=6']
Exploring Operation: 9-7=2, Resulting Numbers: [6, 2]
Generated Node #0,0,0: 33:[6, 2] Operation: 9-7=2
Moving to Node #0,0,0
Current State: 33:[6, 2], Operations: ['28-22=6', '9-7=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
13,
99,
90,
2
] | 11 | [
"13+99=112",
"112-90=22",
"22/2=11"
] | Current State: 11:[13, 99, 90, 2], Operations: []
Exploring Operation: 13+99=112, Resulting Numbers: [90, 2, 112]
Generated Node #2: [90, 2, 112] from Operation: 13+99=112
Current State: 11:[90, 2, 112], Operations: ['13+99=112']
Exploring Operation: 112-90=22, Resulting Numbers: [2, 22]
Generated Node #3: [2, 22] from Operation: 112-90=22
Current State: 11:[2, 22], Operations: ['13+99=112', '112-90=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[13, 99, 90, 2], Operations: []
Exploring Operation: 99-13=86, Resulting Numbers: [90, 2, 86]
Generated Node #0,0: 11:[90, 2, 86] Operation: 99-13=86
Exploring Operation: 99-90=9, Resulting Numbers: [13, 2, 9]
Generated Node #0,1: 11:[13, 2, 9] Operation: 99-90=9
Exploring Operation: 90/2=45, Resulting Numbers: [13, 99, 45]
Generated Node #0,2: 11:[13, 99, 45] Operation: 90/2=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[13, 2, 9], Operations: ['99-90=9']
Exploring Operation: 13+2=15, Resulting Numbers: [9, 15]
Generated Node #0,1,0: 11:[9, 15] Operation: 13+2=15
Exploring Operation: 13-2=11, Resulting Numbers: [9, 11]
Generated Node #0,1,1: 11:[9, 11] Operation: 13-2=11
Exploring Operation: 2+9=11, Resulting Numbers: [13, 11]
Generated Node #0,1,2: 11:[13, 11] Operation: 2+9=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 11:[9, 11], Operations: ['99-90=9', '13-2=11']
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,11 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 11:[13, 11], Operations: ['99-90=9', '2+9=11']
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,11 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[9, 15], Operations: ['99-90=9', '13+2=15']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,11 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: 11:[13, 99, 45], Operations: ['90/2=45']
Exploring Operation: 99-13=86, Resulting Numbers: [45, 86]
Generated Node #0,2,0: 11:[45, 86] Operation: 99-13=86
Exploring Operation: 99-45=54, Resulting Numbers: [13, 54]
Generated Node #0,2,1: 11:[13, 54] Operation: 99-45=54
Exploring Operation: 45-13=32, Resulting Numbers: [99, 32]
Generated Node #0,2,2: 11:[99, 32] Operation: 45-13=32
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 11:[13, 54], Operations: ['90/2=45', '99-45=54']
Exploring Operation: 13*54=702, Resulting Numbers: [702]
702,11 unequal: No Solution
Exploring Operation: 13+54=67, Resulting Numbers: [67]
67,11 unequal: No Solution
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 11:[45, 86], Operations: ['90/2=45', '99-13=86']
Exploring Operation: 45*86=3870, Resulting Numbers: [3870]
3870,11 unequal: No Solution
Exploring Operation: 45+86=131, Resulting Numbers: [131]
131,11 unequal: No Solution
Exploring Operation: 86-45=41, Resulting Numbers: [41]
41,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 11:[99, 32], Operations: ['90/2=45', '45-13=32']
Exploring Operation: 99-32=67, Resulting Numbers: [67]
67,11 unequal: No Solution
Exploring Operation: 99+32=131, Resulting Numbers: [131]
131,11 unequal: No Solution
Exploring Operation: 99*32=3168, Resulting Numbers: [3168]
3168,11 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: 11:[90, 2, 86], Operations: ['99-13=86']
Exploring Operation: 90/2=45, Resulting Numbers: [86, 45]
Generated Node #0,0,0: 11:[86, 45] Operation: 90/2=45
Exploring Operation: 90-86=4, Resulting Numbers: [2, 4]
Generated Node #0,0,1: 11:[2, 4] Operation: 90-86=4
Exploring Operation: 86/2=43, Resulting Numbers: [90, 43]
Generated Node #0,0,2: 11:[90, 43] Operation: 86/2=43
Moving to Node #0,0,1
Current State: 11:[2, 4], Operations: ['99-13=86', '90-86=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[86, 45], Operations: ['99-13=86', '90/2=45']
Exploring Operation: 86-45=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Exploring Operation: 86+45=131, Resulting Numbers: [131]
131,11 unequal: No Solution
Exploring Operation: 86*45=3870, Resulting Numbers: [3870]
3870,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[90, 43], Operations: ['99-13=86', '86/2=43']
Exploring Operation: 90+43=133, Resulting Numbers: [133]
133,11 unequal: No Solution
Exploring Operation: 90*43=3870, Resulting Numbers: [3870]
3870,11 unequal: No Solution
Exploring Operation: 90-43=47, Resulting Numbers: [47]
47,11 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 |
[
38,
97,
35,
66
] | 75 | [
"38-35=3",
"66/3=22",
"97-22=75"
] | Current State: 75:[38, 97, 35, 66], Operations: []
Exploring Operation: 38-35=3, Resulting Numbers: [97, 66, 3]
Generated Node #2: [97, 66, 3] from Operation: 38-35=3
Current State: 75:[97, 66, 3], Operations: ['38-35=3']
Exploring Operation: 66/3=22, Resulting Numbers: [97, 22]
Generated Node #3: [97, 22] from Operation: 66/3=22
Current State: 75:[97, 22], Operations: ['38-35=3', '66/3=22']
Exploring Operation: 97-22=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[38, 97, 35, 66], Operations: []
Exploring Operation: 97-66=31, Resulting Numbers: [38, 35, 31]
Generated Node #0,0: 75:[38, 35, 31] Operation: 97-66=31
Exploring Operation: 38-35=3, Resulting Numbers: [97, 66, 3]
Generated Node #0,1: 75:[97, 66, 3] Operation: 38-35=3
Exploring Operation: 38+35=73, Resulting Numbers: [97, 66, 73]
Generated Node #0,2: 75:[97, 66, 73] Operation: 38+35=73
Moving to Node #0,0
Current State: 75:[38, 35, 31], Operations: ['97-66=31']
Exploring Operation: 38+35=73, Resulting Numbers: [31, 73]
Generated Node #0,0,0: 75:[31, 73] Operation: 38+35=73
Exploring Operation: 38-31=7, Resulting Numbers: [35, 7]
Generated Node #0,0,1: 75:[35, 7] Operation: 38-31=7
Exploring Operation: 38-35=3, Resulting Numbers: [31, 3]
Generated Node #0,0,2: 75:[31, 3] Operation: 38-35=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 75:[31, 3], Operations: ['97-66=31', '38-35=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,75 unequal: No Solution
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,75 unequal: No Solution
Exploring Operation: 31-3=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,0,0
Current State: 75:[31, 73], Operations: ['97-66=31', '38+35=73']
Exploring Operation: 31+73=104, Resulting Numbers: [104]
104,75 unequal: No Solution
Exploring Operation: 73-31=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 31*73=2263, Resulting Numbers: [2263]
2263,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,1
Current State: 75:[35, 7], Operations: ['97-66=31', '38-31=7']
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 35+7=42, Resulting Numbers: [42]
42,75 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: 75:[97, 66, 3], Operations: ['38-35=3']
Exploring Operation: 97-3=94, Resulting Numbers: [66, 94]
Generated Node #0,1,0: 75:[66, 94] Operation: 97-3=94
Exploring Operation: 97-66=31, Resulting Numbers: [3, 31]
Generated Node #0,1,1: 75:[3, 31] Operation: 97-66=31
Exploring Operation: 66/3=22, Resulting Numbers: [97, 22]
Generated Node #0,1,2: 75:[97, 22] Operation: 66/3=22
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[3, 31], Operations: ['38-35=3', '97-66=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
No 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: 75:[97, 22], Operations: ['38-35=3', '66/3=22']
Exploring Operation: 97-22=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[38, 97, 35, 66], Operations: []
Exploring Operation: 38-35=3, Resulting Numbers: [97, 66, 3]
Generated Node #0,1: 75:[97, 66, 3] Operation: 38-35=3
Moving to Node #0,1
Current State: 75:[97, 66, 3], Operations: ['38-35=3']
Exploring Operation: 66/3=22, Resulting Numbers: [97, 22]
Generated Node #0,1,2: 75:[97, 22] Operation: 66/3=22
Moving to Node #0,1,2
Current State: 75:[97, 22], Operations: ['38-35=3', '66/3=22']
Exploring Operation: 97-22=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
62,
16,
65,
67
] | 76 | [
"62+16=78",
"67-65=2",
"78-2=76"
] | Current State: 76:[62, 16, 65, 67], Operations: []
Exploring Operation: 62+16=78, Resulting Numbers: [65, 67, 78]
Generated Node #2: [65, 67, 78] from Operation: 62+16=78
Current State: 76:[65, 67, 78], Operations: ['62+16=78']
Exploring Operation: 67-65=2, Resulting Numbers: [78, 2]
Generated Node #3: [78, 2] from Operation: 67-65=2
Current State: 76:[78, 2], Operations: ['62+16=78', '67-65=2']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[62, 16, 65, 67], Operations: []
Exploring Operation: 65-62=3, Resulting Numbers: [16, 67, 3]
Generated Node #0,0: 76:[16, 67, 3] Operation: 65-62=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[16, 67, 3], Operations: ['65-62=3']
Exploring Operation: 16+67=83, Resulting Numbers: [3, 83]
Generated Node #0,0,0: 76:[3, 83] Operation: 16+67=83
Moving to Node #0,0,0
Current State: 76:[3, 83], Operations: ['65-62=3', '16+67=83']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,76 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 |
[
72,
35,
26,
74
] | 28 | [
"72-35=37",
"74/37=2",
"26+2=28"
] | Current State: 28:[72, 35, 26, 74], Operations: []
Exploring Operation: 72-35=37, Resulting Numbers: [26, 74, 37]
Generated Node #2: [26, 74, 37] from Operation: 72-35=37
Current State: 28:[26, 74, 37], Operations: ['72-35=37']
Exploring Operation: 74/37=2, Resulting Numbers: [26, 2]
Generated Node #3: [26, 2] from Operation: 74/37=2
Current State: 28:[26, 2], Operations: ['72-35=37', '74/37=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[72, 35, 26, 74], Operations: []
Exploring Operation: 74-35=39, Resulting Numbers: [72, 26, 39]
Generated Node #0,0: 28:[72, 26, 39] Operation: 74-35=39
Exploring Operation: 74-72=2, Resulting Numbers: [35, 26, 2]
Generated Node #0,1: 28:[35, 26, 2] Operation: 74-72=2
Exploring Operation: 72-35=37, Resulting Numbers: [26, 74, 37]
Generated Node #0,2: 28:[26, 74, 37] Operation: 72-35=37
Moving to Node #0,1
Current State: 28:[35, 26, 2], Operations: ['74-72=2']
Exploring Operation: 35-26=9, Resulting Numbers: [2, 9]
Generated Node #0,1,0: 28:[2, 9] Operation: 35-26=9
Exploring Operation: 26+2=28, Resulting Numbers: [35, 28]
Generated Node #0,1,1: 28:[35, 28] Operation: 26+2=28
Exploring Operation: 35-2=33, Resulting Numbers: [26, 33]
Generated Node #0,1,2: 28:[26, 33] Operation: 35-2=33
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[2, 9], Operations: ['74-72=2', '35-26=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[35, 28], Operations: ['74-72=2', '26+2=28']
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 35*28=980, Resulting Numbers: [980]
980,28 unequal: No Solution
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[26, 33], Operations: ['74-72=2', '35-2=33']
Exploring Operation: 26*33=858, Resulting Numbers: [858]
858,28 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 26+33=59, Resulting Numbers: [59]
59,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 28:[72, 26, 39], Operations: ['74-35=39']
Exploring Operation: 72-26=46, Resulting Numbers: [39, 46]
Generated Node #0,0,0: 28:[39, 46] Operation: 72-26=46
Exploring Operation: 72-39=33, Resulting Numbers: [26, 33]
Generated Node #0,0,1: 28:[26, 33] Operation: 72-39=33
Exploring Operation: 39-26=13, Resulting Numbers: [72, 13]
Generated Node #0,0,2: 28:[72, 13] Operation: 39-26=13
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[26, 33], Operations: ['74-35=39', '72-39=33']
Exploring Operation: 26+33=59, Resulting Numbers: [59]
59,28 unequal: No Solution
Exploring Operation: 26*33=858, Resulting Numbers: [858]
858,28 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[39, 46], Operations: ['74-35=39', '72-26=46']
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 39+46=85, Resulting Numbers: [85]
85,28 unequal: No Solution
Exploring Operation: 39*46=1794, Resulting Numbers: [1794]
1794,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 28:[72, 13], Operations: ['74-35=39', '39-26=13']
Exploring Operation: 72+13=85, Resulting Numbers: [85]
85,28 unequal: No Solution
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,28 unequal: No Solution
Exploring Operation: 72*13=936, Resulting Numbers: [936]
936,28 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: 28:[26, 74, 37], Operations: ['72-35=37']
Exploring Operation: 74/37=2, Resulting Numbers: [26, 2]
Generated Node #0,2,0: 28:[26, 2] Operation: 74/37=2
Exploring Operation: 74-26=48, Resulting Numbers: [37, 48]
Generated Node #0,2,1: 28:[37, 48] Operation: 74-26=48
Exploring Operation: 74-37=37, Resulting Numbers: [26, 37]
Generated Node #0,2,2: 28:[26, 37] Operation: 74-37=37
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 28:[26, 2], Operations: ['72-35=37', '74/37=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[72, 35, 26, 74], Operations: []
Exploring Operation: 72-35=37, Resulting Numbers: [26, 74, 37]
Generated Node #0,2: 28:[26, 74, 37] Operation: 72-35=37
Moving to Node #0,2
Current State: 28:[26, 74, 37], Operations: ['72-35=37']
Exploring Operation: 74/37=2, Resulting Numbers: [26, 2]
Generated Node #0,2,0: 28:[26, 2] Operation: 74/37=2
Moving to Node #0,2,0
Current State: 28:[26, 2], Operations: ['72-35=37', '74/37=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_3 | mult_heuristic |
[
76,
2,
52,
58
] | 79 | [
"58-52=6",
"6/2=3",
"76+3=79"
] | Current State: 79:[76, 2, 52, 58], Operations: []
Exploring Operation: 58-52=6, Resulting Numbers: [76, 2, 6]
Generated Node #2: [76, 2, 6] from Operation: 58-52=6
Current State: 79:[76, 2, 6], Operations: ['58-52=6']
Exploring Operation: 6/2=3, Resulting Numbers: [76, 3]
Generated Node #3: [76, 3] from Operation: 6/2=3
Current State: 79:[76, 3], Operations: ['58-52=6', '6/2=3']
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[76, 2, 52, 58], Operations: []
Exploring Operation: 76-2=74, Resulting Numbers: [52, 58, 74]
Generated Node #0,0: 79:[52, 58, 74] Operation: 76-2=74
Exploring Operation: 76+2=78, Resulting Numbers: [52, 58, 78]
Generated Node #0,1: 79:[52, 58, 78] Operation: 76+2=78
Exploring Operation: 2+58=60, Resulting Numbers: [76, 52, 60]
Generated Node #0,2: 79:[76, 52, 60] Operation: 2+58=60
Exploring Operation: 2*52=104, Resulting Numbers: [76, 58, 104]
Generated Node #0,3: 79:[76, 58, 104] Operation: 2*52=104
Exploring Operation: 2+52=54, Resulting Numbers: [76, 58, 54]
Generated Node #0,4: 79:[76, 58, 54] Operation: 2+52=54
Moving to Node #0,1
Current State: 79:[52, 58, 78], Operations: ['76+2=78']
Exploring Operation: 52+58=110, Resulting Numbers: [78, 110]
Generated Node #0,1,0: 79:[78, 110] Operation: 52+58=110
Exploring Operation: 58-52=6, Resulting Numbers: [78, 6]
Generated Node #0,1,1: 79:[78, 6] Operation: 58-52=6
Exploring Operation: 58+78=136, Resulting Numbers: [52, 136]
Generated Node #0,1,2: 79:[52, 136] Operation: 58+78=136
Exploring Operation: 78-52=26, Resulting Numbers: [58, 26]
Generated Node #0,1,3: 79:[58, 26] Operation: 78-52=26
Exploring Operation: 52+78=130, Resulting Numbers: [58, 130]
Generated Node #0,1,4: 79:[58, 130] Operation: 52+78=130
Moving to Node #0,3
Current State: 79:[76, 58, 104], Operations: ['2*52=104']
Exploring Operation: 58+104=162, Resulting Numbers: [76, 162]
Generated Node #0,3,0: 79:[76, 162] Operation: 58+104=162
Exploring Operation: 76+58=134, Resulting Numbers: [104, 134]
Generated Node #0,3,1: 79:[104, 134] Operation: 76+58=134
Exploring Operation: 76-58=18, Resulting Numbers: [104, 18]
Generated Node #0,3,2: 79:[104, 18] Operation: 76-58=18
Exploring Operation: 104-58=46, Resulting Numbers: [76, 46]
Generated Node #0,3,3: 79:[76, 46] Operation: 104-58=46
Exploring Operation: 104-76=28, Resulting Numbers: [58, 28]
Generated Node #0,3,4: 79:[58, 28] Operation: 104-76=28
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 79:[76, 46], Operations: ['2*52=104', '104-58=46']
Exploring Operation: 76+46=122, Resulting Numbers: [122]
122,79 unequal: No Solution
Exploring Operation: 76-46=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 76*46=3496, Resulting Numbers: [3496]
3496,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 79:[58, 28], Operations: ['2*52=104', '104-76=28']
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 58*28=1624, Resulting Numbers: [1624]
1624,79 unequal: No Solution
Exploring Operation: 58+28=86, Resulting Numbers: [86]
86,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 79:[104, 134], Operations: ['2*52=104', '76+58=134']
Exploring Operation: 134-104=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 104+134=238, Resulting Numbers: [238]
238,79 unequal: No Solution
Exploring Operation: 104*134=13936, Resulting Numbers: [13936]
13936,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 79:[76, 162], Operations: ['2*52=104', '58+104=162']
Exploring Operation: 76+162=238, Resulting Numbers: [238]
238,79 unequal: No Solution
Exploring Operation: 76*162=12312, Resulting Numbers: [12312]
12312,79 unequal: No Solution
Exploring Operation: 162-76=86, Resulting Numbers: [86]
86,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 79:[104, 18], Operations: ['2*52=104', '76-58=18']
Exploring Operation: 104-18=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 104+18=122, Resulting Numbers: [122]
122,79 unequal: No Solution
Exploring Operation: 104*18=1872, Resulting Numbers: [1872]
1872,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 79:[76, 52, 60], Operations: ['2+58=60']
Exploring Operation: 76+52=128, Resulting Numbers: [60, 128]
Generated Node #0,2,0: 79:[60, 128] Operation: 76+52=128
Exploring Operation: 52+60=112, Resulting Numbers: [76, 112]
Generated Node #0,2,1: 79:[76, 112] Operation: 52+60=112
Exploring Operation: 76+60=136, Resulting Numbers: [52, 136]
Generated Node #0,2,2: 79:[52, 136] Operation: 76+60=136
Exploring Operation: 60-52=8, Resulting Numbers: [76, 8]
Generated Node #0,2,3: 79:[76, 8] Operation: 60-52=8
Exploring Operation: 76-52=24, Resulting Numbers: [60, 24]
Generated Node #0,2,4: 79:[60, 24] Operation: 76-52=24
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 79:[76, 112], Operations: ['2+58=60', '52+60=112']
Exploring Operation: 112-76=36, Resulting Numbers: [36]
36,79 unequal: No Solution
Exploring Operation: 76+112=188, Resulting Numbers: [188]
188,79 unequal: No Solution
Exploring Operation: 76*112=8512, Resulting Numbers: [8512]
8512,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 79:[60, 128], Operations: ['2+58=60', '76+52=128']
Exploring Operation: 60*128=7680, Resulting Numbers: [7680]
7680,79 unequal: No Solution
Exploring Operation: 60+128=188, Resulting Numbers: [188]
188,79 unequal: No Solution
Exploring Operation: 128-60=68, Resulting Numbers: [68]
68,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 79:[76, 8], Operations: ['2+58=60', '60-52=8']
Exploring Operation: 76+8=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 76*8=608, Resulting Numbers: [608]
608,79 unequal: No Solution
Exploring Operation: 76-8=68, Resulting Numbers: [68]
68,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 79:[60, 24], Operations: ['2+58=60', '76-52=24']
Exploring Operation: 60*24=1440, Resulting Numbers: [1440]
1440,79 unequal: No Solution
Exploring Operation: 60+24=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 79:[52, 136], Operations: ['2+58=60', '76+60=136']
Exploring Operation: 52+136=188, Resulting Numbers: [188]
188,79 unequal: No Solution
Exploring Operation: 136-52=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 52*136=7072, Resulting Numbers: [7072]
7072,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 79:[76, 58, 54], Operations: ['2+52=54']
Exploring Operation: 58-54=4, Resulting Numbers: [76, 4]
Generated Node #0,4,0: 79:[76, 4] Operation: 58-54=4
Exploring Operation: 76-54=22, Resulting Numbers: [58, 22]
Generated Node #0,4,1: 79:[58, 22] Operation: 76-54=22
Exploring Operation: 76+54=130, Resulting Numbers: [58, 130]
Generated Node #0,4,2: 79:[58, 130] Operation: 76+54=130
Exploring Operation: 76+58=134, Resulting Numbers: [54, 134]
Generated Node #0,4,3: 79:[54, 134] Operation: 76+58=134
Exploring Operation: 58+54=112, Resulting Numbers: [76, 112]
Generated Node #0,4,4: 79:[76, 112] Operation: 58+54=112
Moving to Node #0,0
Current State: 79:[52, 58, 74], Operations: ['76-2=74']
Exploring Operation: 58-52=6, Resulting Numbers: [74, 6]
Generated Node #0,0,0: 79:[74, 6] Operation: 58-52=6
Exploring Operation: 52+74=126, Resulting Numbers: [58, 126]
Generated Node #0,0,1: 79:[58, 126] Operation: 52+74=126
Exploring Operation: 52+58=110, Resulting Numbers: [74, 110]
Generated Node #0,0,2: 79:[74, 110] Operation: 52+58=110
Exploring Operation: 58+74=132, Resulting Numbers: [52, 132]
Generated Node #0,0,3: 79:[52, 132] Operation: 58+74=132
Exploring Operation: 74-52=22, Resulting Numbers: [58, 22]
Generated Node #0,0,4: 79:[58, 22] Operation: 74-52=22
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[74, 110], Operations: ['76-2=74', '52+58=110']
Exploring Operation: 74+110=184, Resulting Numbers: [184]
184,79 unequal: No Solution
Exploring Operation: 110-74=36, Resulting Numbers: [36]
36,79 unequal: No Solution
Exploring Operation: 74*110=8140, Resulting Numbers: [8140]
8140,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[58, 126], Operations: ['76-2=74', '52+74=126']
Exploring Operation: 58*126=7308, Resulting Numbers: [7308]
7308,79 unequal: No Solution
Exploring Operation: 126-58=68, Resulting Numbers: [68]
68,79 unequal: No Solution
Exploring Operation: 58+126=184, Resulting Numbers: [184]
184,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[74, 6], Operations: ['76-2=74', '58-52=6']
Exploring Operation: 74*6=444, Resulting Numbers: [444]
444,79 unequal: No Solution
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,79 unequal: No Solution
Exploring Operation: 74+6=80, Resulting Numbers: [80]
80,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 79:[58, 22], Operations: ['76-2=74', '74-52=22']
Exploring Operation: 58*22=1276, Resulting Numbers: [1276]
1276,79 unequal: No Solution
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,79 unequal: No Solution
Exploring Operation: 58+22=80, Resulting Numbers: [80]
80,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 79:[52, 132], Operations: ['76-2=74', '58+74=132']
Exploring Operation: 52*132=6864, Resulting Numbers: [6864]
6864,79 unequal: No Solution
Exploring Operation: 52+132=184, Resulting Numbers: [184]
184,79 unequal: No Solution
Exploring Operation: 132-52=80, Resulting Numbers: [80]
80,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 79:[78, 110], Operations: ['76+2=78', '52+58=110']
Exploring Operation: 78+110=188, Resulting Numbers: [188]
188,79 unequal: No Solution
Exploring Operation: 110-78=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Exploring Operation: 78*110=8580, Resulting Numbers: [8580]
8580,79 unequal: No Solution
Moving to Node #0,4,4
Current State: 79:[76, 112], Operations: ['2+52=54', '58+54=112']
Exploring Operation: 76+112=188, Resulting Numbers: [188]
188,79 unequal: No Solution
Exploring Operation: 112-76=36, Resulting Numbers: [36]
36,79 unequal: No Solution
Exploring Operation: 76*112=8512, Resulting Numbers: [8512]
8512,79 unequal: No Solution
Moving to Node #0,4,2
Current State: 79:[58, 130], Operations: ['2+52=54', '76+54=130']
Exploring Operation: 58*130=7540, Resulting Numbers: [7540]
7540,79 unequal: No Solution
Exploring Operation: 58+130=188, Resulting Numbers: [188]
188,79 unequal: No Solution
Exploring Operation: 130-58=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Moving to Node #0,1,4
Current State: 79:[58, 130], Operations: ['76+2=78', '52+78=130']
Exploring Operation: 58+130=188, Resulting Numbers: [188]
188,79 unequal: No Solution
Exploring Operation: 130-58=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 58*130=7540, Resulting Numbers: [7540]
7540,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[78, 6], Operations: ['76+2=78', '58-52=6']
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,79 unequal: No Solution
Exploring Operation: 78*6=468, Resulting Numbers: [468]
468,79 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[58, 26], Operations: ['76+2=78', '78-52=26']
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Exploring Operation: 58*26=1508, Resulting Numbers: [1508]
1508,79 unequal: No Solution
Exploring Operation: 58+26=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Moving to Node #0,4,1
Current State: 79:[58, 22], Operations: ['2+52=54', '76-54=22']
Exploring Operation: 58*22=1276, Resulting Numbers: [1276]
1276,79 unequal: No Solution
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,79 unequal: No Solution
Exploring Operation: 58+22=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Moving to Node #0,4,0
Current State: 79:[76, 4], Operations: ['2+52=54', '58-54=4']
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,79 unequal: No Solution
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,79 unequal: No Solution
Moving to Node #0,4,3
Current State: 79:[54, 134], Operations: ['2+52=54', '76+58=134']
Exploring Operation: 134-54=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 54*134=7236, Resulting Numbers: [7236]
7236,79 unequal: No Solution
Exploring Operation: 54+134=188, Resulting Numbers: [188]
188,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[52, 136], Operations: ['76+2=78', '58+78=136']
Exploring Operation: 52+136=188, Resulting Numbers: [188]
188,79 unequal: No Solution
Exploring Operation: 136-52=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 52*136=7072, Resulting Numbers: [7072]
7072,79 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
8,
58,
74,
10
] | 80 | [
"8+58=66",
"74-66=8",
"10*8=80"
] | Current State: 80:[8, 58, 74, 10], Operations: []
Exploring Operation: 8+58=66, Resulting Numbers: [74, 10, 66]
Generated Node #2: [74, 10, 66] from Operation: 8+58=66
Current State: 80:[74, 10, 66], Operations: ['8+58=66']
Exploring Operation: 74-66=8, Resulting Numbers: [10, 8]
Generated Node #3: [10, 8] from Operation: 74-66=8
Current State: 80:[10, 8], Operations: ['8+58=66', '74-66=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[8, 58, 74, 10], Operations: []
Exploring Operation: 74-58=16, Resulting Numbers: [8, 10, 16]
Generated Node #0,0: 80:[8, 10, 16] Operation: 74-58=16
Moving to Node #0,0
Current State: 80:[8, 10, 16], Operations: ['74-58=16']
Exploring Operation: 8*10=80, Resulting Numbers: [16, 80]
Generated Node #0,0,0: 80:[16, 80] Operation: 8*10=80
Moving to Node #0,0,0
Current State: 80:[16, 80], Operations: ['74-58=16', '8*10=80']
Exploring Operation: 80/16=5, Resulting Numbers: [5]
5,80 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
15,
39,
51,
75
] | 72 | [
"15+39=54",
"51+75=126",
"126-54=72"
] | Current State: 72:[15, 39, 51, 75], Operations: []
Exploring Operation: 15+39=54, Resulting Numbers: [51, 75, 54]
Generated Node #2: [51, 75, 54] from Operation: 15+39=54
Current State: 72:[51, 75, 54], Operations: ['15+39=54']
Exploring Operation: 51+75=126, Resulting Numbers: [54, 126]
Generated Node #3: [54, 126] from Operation: 51+75=126
Current State: 72:[54, 126], Operations: ['15+39=54', '51+75=126']
Exploring Operation: 126-54=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[15, 39, 51, 75], Operations: []
Exploring Operation: 51-39=12, Resulting Numbers: [15, 75, 12]
Generated Node #0,0: 72:[15, 75, 12] Operation: 51-39=12
Exploring Operation: 39-15=24, Resulting Numbers: [51, 75, 24]
Generated Node #0,1: 72:[51, 75, 24] Operation: 39-15=24
Exploring Operation: 51-15=36, Resulting Numbers: [39, 75, 36]
Generated Node #0,2: 72:[39, 75, 36] Operation: 51-15=36
Exploring Operation: 15+51=66, Resulting Numbers: [39, 75, 66]
Generated Node #0,3: 72:[39, 75, 66] Operation: 15+51=66
Exploring Operation: 75-51=24, Resulting Numbers: [15, 39, 24]
Generated Node #0,4: 72:[15, 39, 24] Operation: 75-51=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[15, 75, 12], Operations: ['51-39=12']
Exploring Operation: 15+12=27, Resulting Numbers: [75, 27]
Generated Node #0,0,0: 72:[75, 27] Operation: 15+12=27
Exploring Operation: 75-12=63, Resulting Numbers: [15, 63]
Generated Node #0,0,1: 72:[15, 63] Operation: 75-12=63
Exploring Operation: 75-15=60, Resulting Numbers: [12, 60]
Generated Node #0,0,2: 72:[12, 60] Operation: 75-15=60
Exploring Operation: 75/15=5, Resulting Numbers: [12, 5]
Generated Node #0,0,3: 72:[12, 5] Operation: 75/15=5
Exploring Operation: 15-12=3, Resulting Numbers: [75, 3]
Generated Node #0,0,4: 72:[75, 3] Operation: 15-12=3
Moving to Node #0,0,3
Current State: 72:[12, 5], Operations: ['51-39=12', '75/15=5']
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,72 unequal: No Solution
Moving to Node #0,0,4
Current State: 72:[75, 3], Operations: ['51-39=12', '15-12=3']
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,72 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[15, 39, 51, 75], Operations: []
Exploring Operation: 51-39=12, Resulting Numbers: [15, 75, 12]
Generated Node #0,0: 72:[15, 75, 12] Operation: 51-39=12
Moving to Node #0,0
Current State: 72:[15, 75, 12], Operations: ['51-39=12']
Exploring Operation: 15-12=3, Resulting Numbers: [75, 3]
Generated Node #0,0,4: 72:[75, 3] Operation: 15-12=3
Moving to Node #0,0,4
Current State: 72:[75, 3], Operations: ['51-39=12', '15-12=3']
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
69,
76,
98,
9
] | 100 | [
"76-69=7",
"98+9=107",
"107-7=100"
] | Current State: 100:[69, 76, 98, 9], Operations: []
Exploring Operation: 76-69=7, Resulting Numbers: [98, 9, 7]
Generated Node #2: [98, 9, 7] from Operation: 76-69=7
Current State: 100:[98, 9, 7], Operations: ['76-69=7']
Exploring Operation: 98+9=107, Resulting Numbers: [7, 107]
Generated Node #3: [7, 107] from Operation: 98+9=107
Current State: 100:[7, 107], Operations: ['76-69=7', '98+9=107']
Exploring Operation: 107-7=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[69, 76, 98, 9], Operations: []
Exploring Operation: 98-76=22, Resulting Numbers: [69, 9, 22]
Generated Node #0,0: 100:[69, 9, 22] Operation: 98-76=22
Exploring Operation: 76-69=7, Resulting Numbers: [98, 9, 7]
Generated Node #0,1: 100:[98, 9, 7] Operation: 76-69=7
Moving to Node #0,1
Current State: 100:[98, 9, 7], Operations: ['76-69=7']
Exploring Operation: 9-7=2, Resulting Numbers: [98, 2]
Generated Node #0,1,0: 100:[98, 2] Operation: 9-7=2
Exploring Operation: 98/7=14, Resulting Numbers: [9, 14]
Generated Node #0,1,1: 100:[9, 14] Operation: 98/7=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[98, 2], Operations: ['76-69=7', '9-7=2']
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[69, 76, 98, 9], Operations: []
Exploring Operation: 76-69=7, Resulting Numbers: [98, 9, 7]
Generated Node #0,1: 100:[98, 9, 7] Operation: 76-69=7
Moving to Node #0,1
Current State: 100:[98, 9, 7], Operations: ['76-69=7']
Exploring Operation: 9-7=2, Resulting Numbers: [98, 2]
Generated Node #0,1,0: 100:[98, 2] Operation: 9-7=2
Moving to Node #0,1,0
Current State: 100:[98, 2], Operations: ['76-69=7', '9-7=2']
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
3,
69,
41,
46
] | 38 | [
"69-41=28",
"3*28=84",
"84-46=38"
] | Current State: 38:[3, 69, 41, 46], Operations: []
Exploring Operation: 69-41=28, Resulting Numbers: [3, 46, 28]
Generated Node #2: [3, 46, 28] from Operation: 69-41=28
Current State: 38:[3, 46, 28], Operations: ['69-41=28']
Exploring Operation: 3*28=84, Resulting Numbers: [46, 84]
Generated Node #3: [46, 84] from Operation: 3*28=84
Current State: 38:[46, 84], Operations: ['69-41=28', '3*28=84']
Exploring Operation: 84-46=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[3, 69, 41, 46], Operations: []
Exploring Operation: 69/3=23, Resulting Numbers: [41, 46, 23]
Generated Node #0,0: 38:[41, 46, 23] Operation: 69/3=23
Exploring Operation: 69-46=23, Resulting Numbers: [3, 41, 23]
Generated Node #0,1: 38:[3, 41, 23] Operation: 69-46=23
Exploring Operation: 69-41=28, Resulting Numbers: [3, 46, 28]
Generated Node #0,2: 38:[3, 46, 28] Operation: 69-41=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[3, 41, 23], Operations: ['69-46=23']
Exploring Operation: 41-23=18, Resulting Numbers: [3, 18]
Generated Node #0,1,0: 38:[3, 18] Operation: 41-23=18
Exploring Operation: 41-3=38, Resulting Numbers: [23, 38]
Generated Node #0,1,1: 38:[23, 38] Operation: 41-3=38
Exploring Operation: 23-3=20, Resulting Numbers: [41, 20]
Generated Node #0,1,2: 38:[41, 20] Operation: 23-3=20
Moving to Node #0,1,0
Current State: 38:[3, 18], Operations: ['69-46=23', '41-23=18']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,38 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,38 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[23, 38], Operations: ['69-46=23', '41-3=38']
Exploring Operation: 23+38=61, Resulting Numbers: [61]
61,38 unequal: No Solution
Exploring Operation: 23*38=874, Resulting Numbers: [874]
874,38 unequal: No Solution
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[41, 20], Operations: ['69-46=23', '23-3=20']
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 41+20=61, Resulting Numbers: [61]
61,38 unequal: No Solution
Exploring Operation: 41*20=820, Resulting Numbers: [820]
820,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[41, 46, 23], Operations: ['69/3=23']
Exploring Operation: 46-23=23, Resulting Numbers: [41, 23]
Generated Node #0,0,0: 38:[41, 23] Operation: 46-23=23
Exploring Operation: 46/23=2, Resulting Numbers: [41, 2]
Generated Node #0,0,1: 38:[41, 2] Operation: 46/23=2
Exploring Operation: 46-41=5, Resulting Numbers: [23, 5]
Generated Node #0,0,2: 38:[23, 5] Operation: 46-41=5
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 38:[41, 2], Operations: ['69/3=23', '46/23=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,38 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,38 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[41, 23], Operations: ['69/3=23', '46-23=23']
Exploring Operation: 41*23=943, Resulting Numbers: [943]
943,38 unequal: No Solution
Exploring Operation: 41+23=64, Resulting Numbers: [64]
64,38 unequal: No Solution
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 38:[23, 5], Operations: ['69/3=23', '46-41=5']
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,38 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,38 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[3, 46, 28], Operations: ['69-41=28']
Exploring Operation: 28-3=25, Resulting Numbers: [46, 25]
Generated Node #0,2,0: 38:[46, 25] Operation: 28-3=25
Exploring Operation: 46-28=18, Resulting Numbers: [3, 18]
Generated Node #0,2,1: 38:[3, 18] Operation: 46-28=18
Exploring Operation: 46-3=43, Resulting Numbers: [28, 43]
Generated Node #0,2,2: 38:[28, 43] Operation: 46-3=43
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 38:[3, 18], Operations: ['69-41=28', '46-28=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,38 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 38:[46, 25], Operations: ['69-41=28', '28-3=25']
Exploring Operation: 46*25=1150, Resulting Numbers: [1150]
1150,38 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 38:[28, 43], Operations: ['69-41=28', '46-3=43']
Exploring Operation: 28*43=1204, Resulting Numbers: [1204]
1204,38 unequal: No Solution
Exploring Operation: 28+43=71, Resulting Numbers: [71]
71,38 unequal: No Solution
Exploring Operation: 43-28=15, Resulting Numbers: [15]
15,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
19,
38,
3,
10
] | 67 | [
"38-19=19",
"3*19=57",
"10+57=67"
] | Current State: 67:[19, 38, 3, 10], Operations: []
Exploring Operation: 38-19=19, Resulting Numbers: [3, 10, 19]
Generated Node #2: [3, 10, 19] from Operation: 38-19=19
Current State: 67:[3, 10, 19], Operations: ['38-19=19']
Exploring Operation: 3*19=57, Resulting Numbers: [10, 57]
Generated Node #3: [10, 57] from Operation: 3*19=57
Current State: 67:[10, 57], Operations: ['38-19=19', '3*19=57']
Exploring Operation: 10+57=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[19, 38, 3, 10], Operations: []
Exploring Operation: 19*3=57, Resulting Numbers: [38, 10, 57]
Generated Node #0,0: 67:[38, 10, 57] Operation: 19*3=57
Exploring Operation: 19+38=57, Resulting Numbers: [3, 10, 57]
Generated Node #0,1: 67:[3, 10, 57] Operation: 19+38=57
Exploring Operation: 3*10=30, Resulting Numbers: [19, 38, 30]
Generated Node #0,2: 67:[19, 38, 30] Operation: 3*10=30
Moving to Node #0,0
Current State: 67:[38, 10, 57], Operations: ['19*3=57']
Exploring Operation: 38+10=48, Resulting Numbers: [57, 48]
Generated Node #0,0,0: 67:[57, 48] Operation: 38+10=48
Exploring Operation: 10+57=67, Resulting Numbers: [38, 67]
Generated Node #0,0,1: 67:[38, 67] Operation: 10+57=67
Exploring Operation: 38-10=28, Resulting Numbers: [57, 28]
Generated Node #0,0,2: 67:[57, 28] Operation: 38-10=28
Moving to Node #0,2
Current State: 67:[19, 38, 30], Operations: ['3*10=30']
Exploring Operation: 19+38=57, Resulting Numbers: [30, 57]
Generated Node #0,2,0: 67:[30, 57] Operation: 19+38=57
Exploring Operation: 19+30=49, Resulting Numbers: [38, 49]
Generated Node #0,2,1: 67:[38, 49] Operation: 19+30=49
Exploring Operation: 38+30=68, Resulting Numbers: [19, 68]
Generated Node #0,2,2: 67:[19, 68] Operation: 38+30=68
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[30, 57], Operations: ['3*10=30', '19+38=57']
Exploring Operation: 30*57=1710, Resulting Numbers: [1710]
1710,67 unequal: No Solution
Exploring Operation: 30+57=87, Resulting Numbers: [87]
87,67 unequal: No Solution
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[38, 49], Operations: ['3*10=30', '19+30=49']
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 38*49=1862, Resulting Numbers: [1862]
1862,67 unequal: No Solution
Exploring Operation: 38+49=87, Resulting Numbers: [87]
87,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[19, 68], Operations: ['3*10=30', '38+30=68']
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,67 unequal: No Solution
Exploring Operation: 19*68=1292, Resulting Numbers: [1292]
1292,67 unequal: No Solution
Exploring Operation: 19+68=87, Resulting Numbers: [87]
87,67 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: 67:[3, 10, 57], Operations: ['19+38=57']
Exploring Operation: 3*10=30, Resulting Numbers: [57, 30]
Generated Node #0,1,0: 67:[57, 30] Operation: 3*10=30
Exploring Operation: 3+57=60, Resulting Numbers: [10, 60]
Generated Node #0,1,1: 67:[10, 60] Operation: 3+57=60
Exploring Operation: 3+10=13, Resulting Numbers: [57, 13]
Generated Node #0,1,2: 67:[57, 13] Operation: 3+10=13
Moving to Node #0,0,0
Current State: 67:[57, 48], Operations: ['19*3=57', '38+10=48']
Exploring Operation: 57*48=2736, Resulting Numbers: [2736]
2736,67 unequal: No Solution
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Exploring Operation: 57+48=105, Resulting Numbers: [105]
105,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[38, 67], Operations: ['19*3=57', '10+57=67']
Exploring Operation: 67-38=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 38+67=105, Resulting Numbers: [105]
105,67 unequal: No Solution
Exploring Operation: 38*67=2546, Resulting Numbers: [2546]
2546,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[57, 30], Operations: ['19+38=57', '3*10=30']
Exploring Operation: 57*30=1710, Resulting Numbers: [1710]
1710,67 unequal: No Solution
Exploring Operation: 57+30=87, Resulting Numbers: [87]
87,67 unequal: No Solution
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[57, 28], Operations: ['19*3=57', '38-10=28']
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 57+28=85, Resulting Numbers: [85]
85,67 unequal: No Solution
Exploring Operation: 57*28=1596, Resulting Numbers: [1596]
1596,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[57, 13], Operations: ['19+38=57', '3+10=13']
Exploring Operation: 57+13=70, Resulting Numbers: [70]
70,67 unequal: No Solution
Exploring Operation: 57*13=741, Resulting Numbers: [741]
741,67 unequal: No Solution
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[10, 60], Operations: ['19+38=57', '3+57=60']
Exploring Operation: 10+60=70, Resulting Numbers: [70]
70,67 unequal: No Solution
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,67 unequal: No Solution
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,67 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
55,
93,
65,
76
] | 49 | [
"93-55=38",
"76-65=11",
"38+11=49"
] | Current State: 49:[55, 93, 65, 76], Operations: []
Exploring Operation: 93-55=38, Resulting Numbers: [65, 76, 38]
Generated Node #2: [65, 76, 38] from Operation: 93-55=38
Current State: 49:[65, 76, 38], Operations: ['93-55=38']
Exploring Operation: 76-65=11, Resulting Numbers: [38, 11]
Generated Node #3: [38, 11] from Operation: 76-65=11
Current State: 49:[38, 11], Operations: ['93-55=38', '76-65=11']
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[55, 93, 65, 76], Operations: []
Exploring Operation: 93-65=28, Resulting Numbers: [55, 76, 28]
Generated Node #0,0: 49:[55, 76, 28] Operation: 93-65=28
Exploring Operation: 93-76=17, Resulting Numbers: [55, 65, 17]
Generated Node #0,1: 49:[55, 65, 17] Operation: 93-76=17
Exploring Operation: 65-55=10, Resulting Numbers: [93, 76, 10]
Generated Node #0,2: 49:[93, 76, 10] Operation: 65-55=10
Exploring Operation: 76-65=11, Resulting Numbers: [55, 93, 11]
Generated Node #0,3: 49:[55, 93, 11] Operation: 76-65=11
Exploring Operation: 93-55=38, Resulting Numbers: [65, 76, 38]
Generated Node #0,4: 49:[65, 76, 38] Operation: 93-55=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[55, 65, 17], Operations: ['93-76=17']
Exploring Operation: 65-55=10, Resulting Numbers: [17, 10]
Generated Node #0,1,0: 49:[17, 10] Operation: 65-55=10
Exploring Operation: 55+17=72, Resulting Numbers: [65, 72]
Generated Node #0,1,1: 49:[65, 72] Operation: 55+17=72
Exploring Operation: 65-17=48, Resulting Numbers: [55, 48]
Generated Node #0,1,2: 49:[55, 48] Operation: 65-17=48
Exploring Operation: 65+17=82, Resulting Numbers: [55, 82]
Generated Node #0,1,3: 49:[55, 82] Operation: 65+17=82
Exploring Operation: 55-17=38, Resulting Numbers: [65, 38]
Generated Node #0,1,4: 49:[65, 38] Operation: 55-17=38
Moving to Node #0,1,2
Current State: 49:[55, 48], Operations: ['93-76=17', '65-17=48']
Exploring Operation: 55*48=2640, Resulting Numbers: [2640]
2640,49 unequal: No Solution
Exploring Operation: 55-48=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 55+48=103, Resulting Numbers: [103]
103,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[17, 10], Operations: ['93-76=17', '65-55=10']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 17*10=170, Resulting Numbers: [170]
170,49 unequal: No Solution
Exploring Operation: 17+10=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Moving to Node #0,1,4
Current State: 49:[65, 38], Operations: ['93-76=17', '55-17=38']
Exploring Operation: 65*38=2470, Resulting Numbers: [2470]
2470,49 unequal: No Solution
Exploring Operation: 65+38=103, Resulting Numbers: [103]
103,49 unequal: No Solution
Exploring Operation: 65-38=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[65, 72], Operations: ['93-76=17', '55+17=72']
Exploring Operation: 72-65=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 65+72=137, Resulting Numbers: [137]
137,49 unequal: No Solution
Exploring Operation: 65*72=4680, Resulting Numbers: [4680]
4680,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[55, 82], Operations: ['93-76=17', '65+17=82']
Exploring Operation: 55*82=4510, Resulting Numbers: [4510]
4510,49 unequal: No Solution
Exploring Operation: 82-55=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 55+82=137, Resulting Numbers: [137]
137,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[55, 76, 28], Operations: ['93-65=28']
Exploring Operation: 76-28=48, Resulting Numbers: [55, 48]
Generated Node #0,0,0: 49:[55, 48] Operation: 76-28=48
Exploring Operation: 55-28=27, Resulting Numbers: [76, 27]
Generated Node #0,0,1: 49:[76, 27] Operation: 55-28=27
Exploring Operation: 76+28=104, Resulting Numbers: [55, 104]
Generated Node #0,0,2: 49:[55, 104] Operation: 76+28=104
Exploring Operation: 55+28=83, Resulting Numbers: [76, 83]
Generated Node #0,0,3: 49:[76, 83] Operation: 55+28=83
Exploring Operation: 76-55=21, Resulting Numbers: [28, 21]
Generated Node #0,0,4: 49:[28, 21] Operation: 76-55=21
Moving to Node #0,0,0
Current State: 49:[55, 48], Operations: ['93-65=28', '76-28=48']
Exploring Operation: 55*48=2640, Resulting Numbers: [2640]
2640,49 unequal: No Solution
Exploring Operation: 55+48=103, Resulting Numbers: [103]
103,49 unequal: No Solution
Exploring Operation: 55-48=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Moving to Node #0,0,4
Current State: 49:[28, 21], Operations: ['93-65=28', '76-55=21']
Exploring Operation: 28*21=588, Resulting Numbers: [588]
588,49 unequal: No Solution
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 28+21=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[55, 93, 65, 76], Operations: []
Exploring Operation: 93-65=28, Resulting Numbers: [55, 76, 28]
Generated Node #0,0: 49:[55, 76, 28] Operation: 93-65=28
Moving to Node #0,0
Current State: 49:[55, 76, 28], Operations: ['93-65=28']
Exploring Operation: 76-55=21, Resulting Numbers: [28, 21]
Generated Node #0,0,4: 49:[28, 21] Operation: 76-55=21
Moving to Node #0,0,4
Current State: 49:[28, 21], Operations: ['93-65=28', '76-55=21']
Exploring Operation: 28+21=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | mult_heuristic |
[
60,
32,
58,
53
] | 33 | [
"60-32=28",
"58-53=5",
"28+5=33"
] | Current State: 33:[60, 32, 58, 53], Operations: []
Exploring Operation: 60-32=28, Resulting Numbers: [58, 53, 28]
Generated Node #2: [58, 53, 28] from Operation: 60-32=28
Current State: 33:[58, 53, 28], Operations: ['60-32=28']
Exploring Operation: 58-53=5, Resulting Numbers: [28, 5]
Generated Node #3: [28, 5] from Operation: 58-53=5
Current State: 33:[28, 5], Operations: ['60-32=28', '58-53=5']
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[60, 32, 58, 53], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [32, 53, 2]
Generated Node #0,0: 33:[32, 53, 2] Operation: 60-58=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[32, 53, 2], Operations: ['60-58=2']
Exploring Operation: 53-32=21, Resulting Numbers: [2, 21]
Generated Node #0,0,0: 33:[2, 21] Operation: 53-32=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[2, 21], Operations: ['60-58=2', '53-32=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,33 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,
70,
62,
16
] | 33 | [
"70-62=8",
"16*8=128",
"128-95=33"
] | Current State: 33:[95, 70, 62, 16], Operations: []
Exploring Operation: 70-62=8, Resulting Numbers: [95, 16, 8]
Generated Node #2: [95, 16, 8] from Operation: 70-62=8
Current State: 33:[95, 16, 8], Operations: ['70-62=8']
Exploring Operation: 16*8=128, Resulting Numbers: [95, 128]
Generated Node #3: [95, 128] from Operation: 16*8=128
Current State: 33:[95, 128], Operations: ['70-62=8', '16*8=128']
Exploring Operation: 128-95=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[95, 70, 62, 16], Operations: []
Exploring Operation: 95-16=79, Resulting Numbers: [70, 62, 79]
Generated Node #0,0: 33:[70, 62, 79] Operation: 95-16=79
Exploring Operation: 95-70=25, Resulting Numbers: [62, 16, 25]
Generated Node #0,1: 33:[62, 16, 25] Operation: 95-70=25
Exploring Operation: 70-16=54, Resulting Numbers: [95, 62, 54]
Generated Node #0,2: 33:[95, 62, 54] Operation: 70-16=54
Exploring Operation: 70-62=8, Resulting Numbers: [95, 16, 8]
Generated Node #0,3: 33:[95, 16, 8] Operation: 70-62=8
Exploring Operation: 95-62=33, Resulting Numbers: [70, 16, 33]
Generated Node #0,4: 33:[70, 16, 33] Operation: 95-62=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[62, 16, 25], Operations: ['95-70=25']
Exploring Operation: 62-25=37, Resulting Numbers: [16, 37]
Generated Node #0,1,0: 33:[16, 37] Operation: 62-25=37
Exploring Operation: 62+16=78, Resulting Numbers: [25, 78]
Generated Node #0,1,1: 33:[25, 78] Operation: 62+16=78
Exploring Operation: 16+25=41, Resulting Numbers: [62, 41]
Generated Node #0,1,2: 33:[62, 41] Operation: 16+25=41
Exploring Operation: 25-16=9, Resulting Numbers: [62, 9]
Generated Node #0,1,3: 33:[62, 9] Operation: 25-16=9
Exploring Operation: 62-16=46, Resulting Numbers: [25, 46]
Generated Node #0,1,4: 33:[25, 46] Operation: 62-16=46
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 33:[16, 37], Operations: ['95-70=25', '62-25=37']
Exploring Operation: 16+37=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 16*37=592, Resulting Numbers: [592]
592,33 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,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,1,4
Current State: 33:[25, 46], Operations: ['95-70=25', '62-16=46']
Exploring Operation: 25*46=1150, Resulting Numbers: [1150]
1150,33 unequal: No Solution
Exploring Operation: 25+46=71, Resulting Numbers: [71]
71,33 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,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,1,3
Current State: 33:[62, 9], Operations: ['95-70=25', '25-16=9']
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,33 unequal: No Solution
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 62*9=558, Resulting Numbers: [558]
558,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,1,2
Current State: 33:[62, 41], Operations: ['95-70=25', '16+25=41']
Exploring Operation: 62+41=103, Resulting Numbers: [103]
103,33 unequal: No Solution
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 62*41=2542, Resulting Numbers: [2542]
2542,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,1,1
Current State: 33:[25, 78], Operations: ['95-70=25', '62+16=78']
Exploring Operation: 25+78=103, Resulting Numbers: [103]
103,33 unequal: No Solution
Exploring Operation: 25*78=1950, Resulting Numbers: [1950]
1950,33 unequal: No Solution
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,33 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: 33:[70, 16, 33], Operations: ['95-62=33']
Exploring Operation: 16+33=49, Resulting Numbers: [70, 49]
Generated Node #0,4,0: 33:[70, 49] Operation: 16+33=49
Exploring Operation: 33-16=17, Resulting Numbers: [70, 17]
Generated Node #0,4,1: 33:[70, 17] Operation: 33-16=17
Exploring Operation: 70+16=86, Resulting Numbers: [33, 86]
Generated Node #0,4,2: 33:[33, 86] Operation: 70+16=86
Exploring Operation: 70-33=37, Resulting Numbers: [16, 37]
Generated Node #0,4,3: 33:[16, 37] Operation: 70-33=37
Exploring Operation: 70-16=54, Resulting Numbers: [33, 54]
Generated Node #0,4,4: 33:[33, 54] Operation: 70-16=54
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 33:[16, 37], Operations: ['95-62=33', '70-33=37']
Exploring Operation: 16+37=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 16*37=592, Resulting Numbers: [592]
592,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,4,4
Current State: 33:[33, 54], Operations: ['95-62=33', '70-16=54']
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 33+54=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Exploring Operation: 33*54=1782, Resulting Numbers: [1782]
1782,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,4,1
Current State: 33:[70, 17], Operations: ['95-62=33', '33-16=17']
Exploring Operation: 70+17=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 70*17=1190, Resulting Numbers: [1190]
1190,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,4,0
Current State: 33:[70, 49], Operations: ['95-62=33', '16+33=49']
Exploring Operation: 70+49=119, Resulting Numbers: [119]
119,33 unequal: No Solution
Exploring Operation: 70*49=3430, Resulting Numbers: [3430]
3430,33 unequal: No Solution
Exploring Operation: 70-49=21, Resulting Numbers: [21]
21,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,4,2
Current State: 33:[33, 86], Operations: ['95-62=33', '70+16=86']
Exploring Operation: 33*86=2838, Resulting Numbers: [2838]
2838,33 unequal: No Solution
Exploring Operation: 33+86=119, Resulting Numbers: [119]
119,33 unequal: No Solution
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,33 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: 33:[95, 16, 8], Operations: ['70-62=8']
Exploring Operation: 95-8=87, Resulting Numbers: [16, 87]
Generated Node #0,3,0: 33:[16, 87] Operation: 95-8=87
Exploring Operation: 95-16=79, Resulting Numbers: [8, 79]
Generated Node #0,3,1: 33:[8, 79] Operation: 95-16=79
Exploring Operation: 16-8=8, Resulting Numbers: [95, 8]
Generated Node #0,3,2: 33:[95, 8] Operation: 16-8=8
Exploring Operation: 16+8=24, Resulting Numbers: [95, 24]
Generated Node #0,3,3: 33:[95, 24] Operation: 16+8=24
Exploring Operation: 16/8=2, Resulting Numbers: [95, 2]
Generated Node #0,3,4: 33:[95, 2] Operation: 16/8=2
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 33:[8, 79], Operations: ['70-62=8', '95-16=79']
Exploring Operation: 8+79=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,33 unequal: No Solution
Exploring Operation: 8*79=632, Resulting Numbers: [632]
632,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,3,0
Current State: 33:[16, 87], Operations: ['70-62=8', '95-8=87']
Exploring Operation: 87-16=71, Resulting Numbers: [71]
71,33 unequal: No Solution
Exploring Operation: 16+87=103, Resulting Numbers: [103]
103,33 unequal: No Solution
Exploring Operation: 16*87=1392, Resulting Numbers: [1392]
1392,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,3,4
Current State: 33:[95, 2], Operations: ['70-62=8', '16/8=2']
Exploring Operation: 95+2=97, Resulting Numbers: [97]
97,33 unequal: No Solution
Exploring Operation: 95*2=190, Resulting Numbers: [190]
190,33 unequal: No Solution
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,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,3,2
Current State: 33:[95, 8], Operations: ['70-62=8', '16-8=8']
Exploring Operation: 95+8=103, Resulting Numbers: [103]
103,33 unequal: No Solution
Exploring Operation: 95*8=760, Resulting Numbers: [760]
760,33 unequal: No Solution
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,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,3,3
Current State: 33:[95, 24], Operations: ['70-62=8', '16+8=24']
Exploring Operation: 95+24=119, Resulting Numbers: [119]
119,33 unequal: No Solution
Exploring Operation: 95-24=71, Resulting Numbers: [71]
71,33 unequal: No Solution
Exploring Operation: 95*24=2280, Resulting Numbers: [2280]
2280,33 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: 33:[70, 62, 79], Operations: ['95-16=79']
Exploring Operation: 79-62=17, Resulting Numbers: [70, 17]
Generated Node #0,0,0: 33:[70, 17] Operation: 79-62=17
Exploring Operation: 79-70=9, Resulting Numbers: [62, 9]
Generated Node #0,0,1: 33:[62, 9] Operation: 79-70=9
Exploring Operation: 70+79=149, Resulting Numbers: [62, 149]
Generated Node #0,0,2: 33:[62, 149] Operation: 70+79=149
Exploring Operation: 70+62=132, Resulting Numbers: [79, 132]
Generated Node #0,0,3: 33:[79, 132] Operation: 70+62=132
Exploring Operation: 70-62=8, Resulting Numbers: [79, 8]
Generated Node #0,0,4: 33:[79, 8] Operation: 70-62=8
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[62, 9], Operations: ['95-16=79', '79-70=9']
Exploring Operation: 62*9=558, Resulting Numbers: [558]
558,33 unequal: No Solution
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,33 unequal: No Solution
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,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:[70, 17], Operations: ['95-16=79', '79-62=17']
Exploring Operation: 70*17=1190, Resulting Numbers: [1190]
1190,33 unequal: No Solution
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 70+17=87, Resulting Numbers: [87]
87,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,4
Current State: 33:[79, 8], Operations: ['95-16=79', '70-62=8']
Exploring Operation: 79*8=632, Resulting Numbers: [632]
632,33 unequal: No Solution
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,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:[62, 149], Operations: ['95-16=79', '70+79=149']
Exploring Operation: 149-62=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Exploring Operation: 62*149=9238, Resulting Numbers: [9238]
9238,33 unequal: No Solution
Exploring Operation: 62+149=211, Resulting Numbers: [211]
211,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,3
Current State: 33:[79, 132], Operations: ['95-16=79', '70+62=132']
Exploring Operation: 79+132=211, Resulting Numbers: [211]
211,33 unequal: No Solution
Exploring Operation: 132-79=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 79*132=10428, Resulting Numbers: [10428]
10428,33 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: 33:[95, 62, 54], Operations: ['70-16=54']
Exploring Operation: 95+62=157, Resulting Numbers: [54, 157]
Generated Node #0,2,0: 33:[54, 157] Operation: 95+62=157
Exploring Operation: 95-54=41, Resulting Numbers: [62, 41]
Generated Node #0,2,1: 33:[62, 41] Operation: 95-54=41
Exploring Operation: 62-54=8, Resulting Numbers: [95, 8]
Generated Node #0,2,2: 33:[95, 8] Operation: 62-54=8
Exploring Operation: 95-62=33, Resulting Numbers: [54, 33]
Generated Node #0,2,3: 33:[54, 33] Operation: 95-62=33
Exploring Operation: 95+54=149, Resulting Numbers: [62, 149]
Generated Node #0,2,4: 33:[62, 149] Operation: 95+54=149
Moving to Node #0,2,3
Current State: 33:[54, 33], Operations: ['70-16=54', '95-62=33']
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 54*33=1782, Resulting Numbers: [1782]
1782,33 unequal: No Solution
Exploring Operation: 54+33=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[62, 41], Operations: ['70-16=54', '95-54=41']
Exploring Operation: 62+41=103, Resulting Numbers: [103]
103,33 unequal: No Solution
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 62*41=2542, Resulting Numbers: [2542]
2542,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[95, 8], Operations: ['70-16=54', '62-54=8']
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Exploring Operation: 95*8=760, Resulting Numbers: [760]
760,33 unequal: No Solution
Exploring Operation: 95+8=103, Resulting Numbers: [103]
103,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[54, 157], Operations: ['70-16=54', '95+62=157']
Exploring Operation: 54+157=211, Resulting Numbers: [211]
211,33 unequal: No Solution
Exploring Operation: 157-54=103, Resulting Numbers: [103]
103,33 unequal: No Solution
Exploring Operation: 54*157=8478, Resulting Numbers: [8478]
8478,33 unequal: No Solution
Moving to Node #0,2,4
Current State: 33:[62, 149], Operations: ['70-16=54', '95+54=149']
Exploring Operation: 62*149=9238, Resulting Numbers: [9238]
9238,33 unequal: No Solution
Exploring Operation: 62+149=211, Resulting Numbers: [211]
211,33 unequal: No Solution
Exploring Operation: 149-62=87, Resulting Numbers: [87]
87,33 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 |
[
5,
18,
28,
6
] | 79 | [
"18*28=504",
"504/6=84",
"84-5=79"
] | Current State: 79:[5, 18, 28, 6], Operations: []
Exploring Operation: 18*28=504, Resulting Numbers: [5, 6, 504]
Generated Node #2: [5, 6, 504] from Operation: 18*28=504
Current State: 79:[5, 6, 504], Operations: ['18*28=504']
Exploring Operation: 504/6=84, Resulting Numbers: [5, 84]
Generated Node #3: [5, 84] from Operation: 504/6=84
Current State: 79:[5, 84], Operations: ['18*28=504', '504/6=84']
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[5, 18, 28, 6], Operations: []
Exploring Operation: 18*6=108, Resulting Numbers: [5, 28, 108]
Generated Node #0,0: 79:[5, 28, 108] Operation: 18*6=108
Exploring Operation: 5*6=30, Resulting Numbers: [18, 28, 30]
Generated Node #0,1: 79:[18, 28, 30] Operation: 5*6=30
Exploring Operation: 5*18=90, Resulting Numbers: [28, 6, 90]
Generated Node #0,2: 79:[28, 6, 90] Operation: 5*18=90
Exploring Operation: 5+28=33, Resulting Numbers: [18, 6, 33]
Generated Node #0,3: 79:[18, 6, 33] Operation: 5+28=33
Exploring Operation: 5+18=23, Resulting Numbers: [28, 6, 23]
Generated Node #0,4: 79:[28, 6, 23] Operation: 5+18=23
Moving to Node #0,2
Current State: 79:[28, 6, 90], Operations: ['5*18=90']
Exploring Operation: 90-6=84, Resulting Numbers: [28, 84]
Generated Node #0,2,0: 79:[28, 84] Operation: 90-6=84
Exploring Operation: 28-6=22, Resulting Numbers: [90, 22]
Generated Node #0,2,1: 79:[90, 22] Operation: 28-6=22
Exploring Operation: 6+90=96, Resulting Numbers: [28, 96]
Generated Node #0,2,2: 79:[28, 96] Operation: 6+90=96
Exploring Operation: 90-28=62, Resulting Numbers: [6, 62]
Generated Node #0,2,3: 79:[6, 62] Operation: 90-28=62
Exploring Operation: 28+6=34, Resulting Numbers: [90, 34]
Generated Node #0,2,4: 79:[90, 34] Operation: 28+6=34
Moving to Node #0,0
Current State: 79:[5, 28, 108], Operations: ['18*6=108']
Exploring Operation: 5+108=113, Resulting Numbers: [28, 113]
Generated Node #0,0,0: 79:[28, 113] Operation: 5+108=113
Exploring Operation: 108-5=103, Resulting Numbers: [28, 103]
Generated Node #0,0,1: 79:[28, 103] Operation: 108-5=103
Exploring Operation: 5+28=33, Resulting Numbers: [108, 33]
Generated Node #0,0,2: 79:[108, 33] Operation: 5+28=33
Exploring Operation: 28-5=23, Resulting Numbers: [108, 23]
Generated Node #0,0,3: 79:[108, 23] Operation: 28-5=23
Exploring Operation: 108-28=80, Resulting Numbers: [5, 80]
Generated Node #0,0,4: 79:[5, 80] Operation: 108-28=80
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[28, 103], Operations: ['18*6=108', '108-5=103']
Exploring Operation: 28+103=131, Resulting Numbers: [131]
131,79 unequal: No Solution
Exploring Operation: 28*103=2884, Resulting Numbers: [2884]
2884,79 unequal: No Solution
Exploring Operation: 103-28=75, Resulting Numbers: [75]
75,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[108, 33], Operations: ['18*6=108', '5+28=33']
Exploring Operation: 108-33=75, Resulting Numbers: [75]
75,79 unequal: No Solution
Exploring Operation: 108+33=141, Resulting Numbers: [141]
141,79 unequal: No Solution
Exploring Operation: 108*33=3564, Resulting Numbers: [3564]
3564,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 79:[5, 80], Operations: ['18*6=108', '108-28=80']
Exploring Operation: 5+80=85, Resulting Numbers: [85]
85,79 unequal: No Solution
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,79 unequal: No Solution
Exploring Operation: 5*80=400, Resulting Numbers: [400]
400,79 unequal: No Solution
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[28, 113], Operations: ['18*6=108', '5+108=113']
Exploring Operation: 28+113=141, Resulting Numbers: [141]
141,79 unequal: No Solution
Exploring Operation: 113-28=85, Resulting Numbers: [85]
85,79 unequal: No Solution
Exploring Operation: 28*113=3164, Resulting Numbers: [3164]
3164,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 79:[108, 23], Operations: ['18*6=108', '28-5=23']
Exploring Operation: 108-23=85, Resulting Numbers: [85]
85,79 unequal: No Solution
Exploring Operation: 108*23=2484, Resulting Numbers: [2484]
2484,79 unequal: No Solution
Exploring Operation: 108+23=131, Resulting Numbers: [131]
131,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 79:[18, 28, 30], Operations: ['5*6=30']
Exploring Operation: 18+28=46, Resulting Numbers: [30, 46]
Generated Node #0,1,0: 79:[30, 46] Operation: 18+28=46
Exploring Operation: 28-18=10, Resulting Numbers: [30, 10]
Generated Node #0,1,1: 79:[30, 10] Operation: 28-18=10
Exploring Operation: 18+30=48, Resulting Numbers: [28, 48]
Generated Node #0,1,2: 79:[28, 48] Operation: 18+30=48
Exploring Operation: 28+30=58, Resulting Numbers: [18, 58]
Generated Node #0,1,3: 79:[18, 58] Operation: 28+30=58
Exploring Operation: 30-18=12, Resulting Numbers: [28, 12]
Generated Node #0,1,4: 79:[28, 12] Operation: 30-18=12
Moving to Node #0,3
Current State: 79:[18, 6, 33], Operations: ['5+28=33']
Exploring Operation: 18+33=51, Resulting Numbers: [6, 51]
Generated Node #0,3,0: 79:[6, 51] Operation: 18+33=51
Exploring Operation: 18+6=24, Resulting Numbers: [33, 24]
Generated Node #0,3,1: 79:[33, 24] Operation: 18+6=24
Exploring Operation: 6+33=39, Resulting Numbers: [18, 39]
Generated Node #0,3,2: 79:[18, 39] Operation: 6+33=39
Exploring Operation: 18*6=108, Resulting Numbers: [33, 108]
Generated Node #0,3,3: 79:[33, 108] Operation: 18*6=108
Exploring Operation: 18-6=12, Resulting Numbers: [33, 12]
Generated Node #0,3,4: 79:[33, 12] Operation: 18-6=12
Moving to Node #0,4
Current State: 79:[28, 6, 23], Operations: ['5+18=23']
Exploring Operation: 28+6=34, Resulting Numbers: [23, 34]
Generated Node #0,4,0: 79:[23, 34] Operation: 28+6=34
Exploring Operation: 6+23=29, Resulting Numbers: [28, 29]
Generated Node #0,4,1: 79:[28, 29] Operation: 6+23=29
Exploring Operation: 28-6=22, Resulting Numbers: [23, 22]
Generated Node #0,4,2: 79:[23, 22] Operation: 28-6=22
Exploring Operation: 28+23=51, Resulting Numbers: [6, 51]
Generated Node #0,4,3: 79:[6, 51] Operation: 28+23=51
Exploring Operation: 6*23=138, Resulting Numbers: [28, 138]
Generated Node #0,4,4: 79:[28, 138] Operation: 6*23=138
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 79:[23, 34], Operations: ['5+18=23', '28+6=34']
Exploring Operation: 23*34=782, Resulting Numbers: [782]
782,79 unequal: No Solution
Exploring Operation: 23+34=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,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,4,1
Current State: 79:[28, 29], Operations: ['5+18=23', '6+23=29']
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 28*29=812, Resulting Numbers: [812]
812,79 unequal: No Solution
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,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,4,3
Current State: 79:[6, 51], Operations: ['5+18=23', '28+23=51']
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,79 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,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,4,4
Current State: 79:[28, 138], Operations: ['5+18=23', '6*23=138']
Exploring Operation: 28*138=3864, Resulting Numbers: [3864]
3864,79 unequal: No Solution
Exploring Operation: 138-28=110, Resulting Numbers: [110]
110,79 unequal: No Solution
Exploring Operation: 28+138=166, Resulting Numbers: [166]
166,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,4,2
Current State: 79:[23, 22], Operations: ['5+18=23', '28-6=22']
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,79 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,79 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: 79:[28, 84], Operations: ['5*18=90', '90-6=84']
Exploring Operation: 28*84=2352, Resulting Numbers: [2352]
2352,79 unequal: No Solution
Exploring Operation: 84/28=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 84-28=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 28+84=112, Resulting Numbers: [112]
112,79 unequal: No Solution
Moving to Node #0,2,4
Current State: 79:[90, 34], Operations: ['5*18=90', '28+6=34']
Exploring Operation: 90-34=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 90+34=124, Resulting Numbers: [124]
124,79 unequal: No Solution
Exploring Operation: 90*34=3060, Resulting Numbers: [3060]
3060,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[90, 22], Operations: ['5*18=90', '28-6=22']
Exploring Operation: 90-22=68, Resulting Numbers: [68]
68,79 unequal: No Solution
Exploring Operation: 90+22=112, Resulting Numbers: [112]
112,79 unequal: No Solution
Exploring Operation: 90*22=1980, Resulting Numbers: [1980]
1980,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[28, 96], Operations: ['5*18=90', '6+90=96']
Exploring Operation: 28*96=2688, Resulting Numbers: [2688]
2688,79 unequal: No Solution
Exploring Operation: 96-28=68, Resulting Numbers: [68]
68,79 unequal: No Solution
Exploring Operation: 28+96=124, Resulting Numbers: [124]
124,79 unequal: No Solution
Moving to Node #0,3,3
Current State: 79:[33, 108], Operations: ['5+28=33', '18*6=108']
Exploring Operation: 108-33=75, Resulting Numbers: [75]
75,79 unequal: No Solution
Exploring Operation: 33*108=3564, Resulting Numbers: [3564]
3564,79 unequal: No Solution
Exploring Operation: 33+108=141, Resulting Numbers: [141]
141,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[28, 48], Operations: ['5*6=30', '18+30=48']
Exploring Operation: 28*48=1344, Resulting Numbers: [1344]
1344,79 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Exploring Operation: 28+48=76, Resulting Numbers: [76]
76,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[30, 46], Operations: ['5*6=30', '18+28=46']
Exploring Operation: 30+46=76, Resulting Numbers: [76]
76,79 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Exploring Operation: 30*46=1380, Resulting Numbers: [1380]
1380,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[18, 58], Operations: ['5*6=30', '28+30=58']
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Exploring Operation: 18*58=1044, Resulting Numbers: [1044]
1044,79 unequal: No Solution
Exploring Operation: 18+58=76, Resulting Numbers: [76]
76,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[6, 62], Operations: ['5*18=90', '90-28=62']
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 6+62=68, Resulting Numbers: [68]
68,79 unequal: No Solution
Exploring Operation: 6*62=372, Resulting Numbers: [372]
372,79 unequal: No Solution
Moving to Node #0,3,2
Current State: 79:[18, 39], Operations: ['5+28=33', '6+33=39']
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,79 unequal: No Solution
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,79 unequal: No Solution
Moving to Node #0,3,1
Current State: 79:[33, 24], Operations: ['5+28=33', '18+6=24']
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,79 unequal: No Solution
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,79 unequal: No Solution
Moving to Node #0,3,0
Current State: 79:[6, 51], Operations: ['5+28=33', '18+33=51']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,79 unequal: No Solution
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,79 unequal: No Solution
Moving to Node #0,3,4
Current State: 79:[33, 12], Operations: ['5+28=33', '18-6=12']
Exploring Operation: 33*12=396, Resulting Numbers: [396]
396,79 unequal: No Solution
Exploring Operation: 33+12=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[30, 10], Operations: ['5*6=30', '28-18=10']
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Exploring Operation: 30*10=300, Resulting Numbers: [300]
300,79 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 30+10=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Moving to Node #0,1,4
Current State: 79:[28, 12], Operations: ['5*6=30', '30-18=12']
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,79 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,79 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
96,
99,
79,
4
] | 67 | [
"99-96=3",
"4*3=12",
"79-12=67"
] | Current State: 67:[96, 99, 79, 4], Operations: []
Exploring Operation: 99-96=3, Resulting Numbers: [79, 4, 3]
Generated Node #2: [79, 4, 3] from Operation: 99-96=3
Current State: 67:[79, 4, 3], Operations: ['99-96=3']
Exploring Operation: 4*3=12, Resulting Numbers: [79, 12]
Generated Node #3: [79, 12] from Operation: 4*3=12
Current State: 67:[79, 12], Operations: ['99-96=3', '4*3=12']
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[96, 99, 79, 4], Operations: []
Exploring Operation: 96-4=92, Resulting Numbers: [99, 79, 92]
Generated Node #0,0: 67:[99, 79, 92] Operation: 96-4=92
Exploring Operation: 99-4=95, Resulting Numbers: [96, 79, 95]
Generated Node #0,1: 67:[96, 79, 95] Operation: 99-4=95
Exploring Operation: 79-4=75, Resulting Numbers: [96, 99, 75]
Generated Node #0,2: 67:[96, 99, 75] Operation: 79-4=75
Moving to Node #0,0
Current State: 67:[99, 79, 92], Operations: ['96-4=92']
Exploring Operation: 92-79=13, Resulting Numbers: [99, 13]
Generated Node #0,0,0: 67:[99, 13] Operation: 92-79=13
Exploring Operation: 99-79=20, Resulting Numbers: [92, 20]
Generated Node #0,0,1: 67:[92, 20] Operation: 99-79=20
Exploring Operation: 99-92=7, Resulting Numbers: [79, 7]
Generated Node #0,0,2: 67:[79, 7] Operation: 99-92=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[92, 20], Operations: ['96-4=92', '99-79=20']
Exploring Operation: 92+20=112, Resulting Numbers: [112]
112,67 unequal: No Solution
Exploring Operation: 92-20=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 92*20=1840, Resulting Numbers: [1840]
1840,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 67:[79, 7], Operations: ['96-4=92', '99-92=7']
Exploring Operation: 79*7=553, Resulting Numbers: [553]
553,67 unequal: No Solution
Exploring Operation: 79+7=86, Resulting Numbers: [86]
86,67 unequal: No Solution
Exploring Operation: 79-7=72, Resulting Numbers: [72]
72,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[99, 13], Operations: ['96-4=92', '92-79=13']
Exploring Operation: 99-13=86, Resulting Numbers: [86]
86,67 unequal: No Solution
Exploring Operation: 99+13=112, Resulting Numbers: [112]
112,67 unequal: No Solution
Exploring Operation: 99*13=1287, Resulting Numbers: [1287]
1287,67 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: 67:[96, 79, 95], Operations: ['99-4=95']
Exploring Operation: 96-95=1, Resulting Numbers: [79, 1]
Generated Node #0,1,0: 67:[79, 1] Operation: 96-95=1
Exploring Operation: 96-79=17, Resulting Numbers: [95, 17]
Generated Node #0,1,1: 67:[95, 17] Operation: 96-79=17
Exploring Operation: 95-79=16, Resulting Numbers: [96, 16]
Generated Node #0,1,2: 67:[96, 16] Operation: 95-79=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[79, 1], Operations: ['99-4=95', '96-95=1']
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,67 unequal: No Solution
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,67 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[95, 17], Operations: ['99-4=95', '96-79=17']
Exploring Operation: 95+17=112, Resulting Numbers: [112]
112,67 unequal: No Solution
Exploring Operation: 95-17=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 95*17=1615, Resulting Numbers: [1615]
1615,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 67:[96, 16], Operations: ['99-4=95', '95-79=16']
Exploring Operation: 96/16=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Exploring Operation: 96+16=112, Resulting Numbers: [112]
112,67 unequal: No Solution
Exploring Operation: 96-16=80, Resulting Numbers: [80]
80,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 67:[96, 99, 75], Operations: ['79-4=75']
Exploring Operation: 99-96=3, Resulting Numbers: [75, 3]
Generated Node #0,2,0: 67:[75, 3] Operation: 99-96=3
Exploring Operation: 99-75=24, Resulting Numbers: [96, 24]
Generated Node #0,2,1: 67:[96, 24] Operation: 99-75=24
Exploring Operation: 96-75=21, Resulting Numbers: [99, 21]
Generated Node #0,2,2: 67:[99, 21] Operation: 96-75=21
Moving to Node #0,2,0
Current State: 67:[75, 3], Operations: ['79-4=75', '99-96=3']
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[96, 24], Operations: ['79-4=75', '99-75=24']
Exploring Operation: 96-24=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 96+24=120, Resulting Numbers: [120]
120,67 unequal: No Solution
Exploring Operation: 96/24=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[99, 21], Operations: ['79-4=75', '96-75=21']
Exploring Operation: 99+21=120, Resulting Numbers: [120]
120,67 unequal: No Solution
Exploring Operation: 99*21=2079, Resulting Numbers: [2079]
2079,67 unequal: No Solution
Exploring Operation: 99-21=78, Resulting Numbers: [78]
78,67 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
9,
26,
75,
16
] | 24 | [
"9+26=35",
"75-16=59",
"59-35=24"
] | Current State: 24:[9, 26, 75, 16], Operations: []
Exploring Operation: 9+26=35, Resulting Numbers: [75, 16, 35]
Generated Node #2: [75, 16, 35] from Operation: 9+26=35
Current State: 24:[75, 16, 35], Operations: ['9+26=35']
Exploring Operation: 75-16=59, Resulting Numbers: [35, 59]
Generated Node #3: [35, 59] from Operation: 75-16=59
Current State: 24:[35, 59], Operations: ['9+26=35', '75-16=59']
Exploring Operation: 59-35=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[9, 26, 75, 16], Operations: []
Exploring Operation: 16-9=7, Resulting Numbers: [26, 75, 7]
Generated Node #0,0: 24:[26, 75, 7] Operation: 16-9=7
Exploring Operation: 75-9=66, Resulting Numbers: [26, 16, 66]
Generated Node #0,1: 24:[26, 16, 66] Operation: 75-9=66
Exploring Operation: 9+16=25, Resulting Numbers: [26, 75, 25]
Generated Node #0,2: 24:[26, 75, 25] Operation: 9+16=25
Exploring Operation: 75-16=59, Resulting Numbers: [9, 26, 59]
Generated Node #0,3: 24:[9, 26, 59] Operation: 75-16=59
Exploring Operation: 75-26=49, Resulting Numbers: [9, 16, 49]
Generated Node #0,4: 24:[9, 16, 49] Operation: 75-26=49
Moving to Node #0,4
Current State: 24:[9, 16, 49], Operations: ['75-26=49']
Exploring Operation: 49-16=33, Resulting Numbers: [9, 33]
Generated Node #0,4,0: 24:[9, 33] Operation: 49-16=33
Exploring Operation: 9+49=58, Resulting Numbers: [16, 58]
Generated Node #0,4,1: 24:[16, 58] Operation: 9+49=58
Exploring Operation: 49-9=40, Resulting Numbers: [16, 40]
Generated Node #0,4,2: 24:[16, 40] Operation: 49-9=40
Exploring Operation: 9+16=25, Resulting Numbers: [49, 25]
Generated Node #0,4,3: 24:[49, 25] Operation: 9+16=25
Exploring Operation: 16-9=7, Resulting Numbers: [49, 7]
Generated Node #0,4,4: 24:[49, 7] Operation: 16-9=7
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 24:[9, 33], Operations: ['75-26=49', '49-16=33']
Exploring Operation: 9*33=297, Resulting Numbers: [297]
297,24 unequal: No Solution
Exploring Operation: 9+33=42, Resulting Numbers: [42]
42,24 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[9, 26, 75, 16], Operations: []
Exploring Operation: 75-26=49, Resulting Numbers: [9, 16, 49]
Generated Node #0,4: 24:[9, 16, 49] Operation: 75-26=49
Moving to Node #0,4
Current State: 24:[9, 16, 49], Operations: ['75-26=49']
Exploring Operation: 49-16=33, Resulting Numbers: [9, 33]
Generated Node #0,4,0: 24:[9, 33] Operation: 49-16=33
Moving to Node #0,4,0
Current State: 24:[9, 33], Operations: ['75-26=49', '49-16=33']
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
74,
2,
70,
23
] | 10 | [
"74/2=37",
"70-23=47",
"47-37=10"
] | Current State: 10:[74, 2, 70, 23], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [70, 23, 37]
Generated Node #2: [70, 23, 37] from Operation: 74/2=37
Current State: 10:[70, 23, 37], Operations: ['74/2=37']
Exploring Operation: 70-23=47, Resulting Numbers: [37, 47]
Generated Node #3: [37, 47] from Operation: 70-23=47
Current State: 10:[37, 47], Operations: ['74/2=37', '70-23=47']
Exploring Operation: 47-37=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[74, 2, 70, 23], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [70, 23, 37]
Generated Node #0,0: 10:[70, 23, 37] Operation: 74/2=37
Exploring Operation: 74-23=51, Resulting Numbers: [2, 70, 51]
Generated Node #0,1: 10:[2, 70, 51] Operation: 74-23=51
Exploring Operation: 74-70=4, Resulting Numbers: [2, 23, 4]
Generated Node #0,2: 10:[2, 23, 4] Operation: 74-70=4
Moving to Node #0,2
Current State: 10:[2, 23, 4], Operations: ['74-70=4']
Exploring Operation: 23-2=21, Resulting Numbers: [4, 21]
Generated Node #0,2,0: 10:[4, 21] Operation: 23-2=21
Exploring Operation: 23-4=19, Resulting Numbers: [2, 19]
Generated Node #0,2,1: 10:[2, 19] Operation: 23-4=19
Exploring Operation: 4-2=2, Resulting Numbers: [23, 2]
Generated Node #0,2,2: 10:[23, 2] Operation: 4-2=2
Moving to Node #0,0
Current State: 10:[70, 23, 37], Operations: ['74/2=37']
Exploring Operation: 70-23=47, Resulting Numbers: [37, 47]
Generated Node #0,0,0: 10:[37, 47] Operation: 70-23=47
Exploring Operation: 37-23=14, Resulting Numbers: [70, 14]
Generated Node #0,0,1: 10:[70, 14] Operation: 37-23=14
Exploring Operation: 70-37=33, Resulting Numbers: [23, 33]
Generated Node #0,0,2: 10:[23, 33] Operation: 70-37=33
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 10:[23, 33], Operations: ['74/2=37', '70-37=33']
Exploring Operation: 23+33=56, Resulting Numbers: [56]
56,10 unequal: No Solution
Exploring Operation: 23*33=759, Resulting Numbers: [759]
759,10 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[74, 2, 70, 23], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [70, 23, 37]
Generated Node #0,0: 10:[70, 23, 37] Operation: 74/2=37
Moving to Node #0,0
Current State: 10:[70, 23, 37], Operations: ['74/2=37']
Exploring Operation: 70-37=33, Resulting Numbers: [23, 33]
Generated Node #0,0,2: 10:[23, 33] Operation: 70-37=33
Moving to Node #0,0,2
Current State: 10:[23, 33], Operations: ['74/2=37', '70-37=33']
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
53,
89,
26,
71
] | 45 | [
"53+89=142",
"26+71=97",
"142-97=45"
] | Current State: 45:[53, 89, 26, 71], Operations: []
Exploring Operation: 53+89=142, Resulting Numbers: [26, 71, 142]
Generated Node #2: [26, 71, 142] from Operation: 53+89=142
Current State: 45:[26, 71, 142], Operations: ['53+89=142']
Exploring Operation: 26+71=97, Resulting Numbers: [142, 97]
Generated Node #3: [142, 97] from Operation: 26+71=97
Current State: 45:[142, 97], Operations: ['53+89=142', '26+71=97']
Exploring Operation: 142-97=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[53, 89, 26, 71], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [53, 26, 18]
Generated Node #0,0: 45:[53, 26, 18] Operation: 89-71=18
Exploring Operation: 89-53=36, Resulting Numbers: [26, 71, 36]
Generated Node #0,1: 45:[26, 71, 36] Operation: 89-53=36
Moving to Node #0,0
Current State: 45:[53, 26, 18], Operations: ['89-71=18']
Exploring Operation: 26+18=44, Resulting Numbers: [53, 44]
Generated Node #0,0,0: 45:[53, 44] Operation: 26+18=44
Exploring Operation: 26-18=8, Resulting Numbers: [53, 8]
Generated Node #0,0,1: 45:[53, 8] Operation: 26-18=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[53, 44], Operations: ['89-71=18', '26+18=44']
Exploring Operation: 53+44=97, Resulting Numbers: [97]
97,45 unequal: No Solution
Exploring Operation: 53-44=9, Resulting Numbers: [9]
9,45 unequal: No Solution
No 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: 45:[53, 8], Operations: ['89-71=18', '26-18=8']
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[53, 89, 26, 71], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [53, 26, 18]
Generated Node #0,0: 45:[53, 26, 18] Operation: 89-71=18
Moving to Node #0,0
Current State: 45:[53, 26, 18], Operations: ['89-71=18']
Exploring Operation: 26-18=8, Resulting Numbers: [53, 8]
Generated Node #0,0,1: 45:[53, 8] Operation: 26-18=8
Moving to Node #0,0,1
Current State: 45:[53, 8], Operations: ['89-71=18', '26-18=8']
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
84,
79,
36,
75
] | 93 | [
"79-75=4",
"36/4=9",
"84+9=93"
] | Current State: 93:[84, 79, 36, 75], Operations: []
Exploring Operation: 79-75=4, Resulting Numbers: [84, 36, 4]
Generated Node #2: [84, 36, 4] from Operation: 79-75=4
Current State: 93:[84, 36, 4], Operations: ['79-75=4']
Exploring Operation: 36/4=9, Resulting Numbers: [84, 9]
Generated Node #3: [84, 9] from Operation: 36/4=9
Current State: 93:[84, 9], Operations: ['79-75=4', '36/4=9']
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[84, 79, 36, 75], Operations: []
Exploring Operation: 84-75=9, Resulting Numbers: [79, 36, 9]
Generated Node #0,0: 93:[79, 36, 9] Operation: 84-75=9
Exploring Operation: 84-79=5, Resulting Numbers: [36, 75, 5]
Generated Node #0,1: 93:[36, 75, 5] Operation: 84-79=5
Exploring Operation: 79-75=4, Resulting Numbers: [84, 36, 4]
Generated Node #0,2: 93:[84, 36, 4] Operation: 79-75=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[84, 36, 4], Operations: ['79-75=4']
Exploring Operation: 36-4=32, Resulting Numbers: [84, 32]
Generated Node #0,2,0: 93:[84, 32] Operation: 36-4=32
Exploring Operation: 84/4=21, Resulting Numbers: [36, 21]
Generated Node #0,2,1: 93:[36, 21] Operation: 84/4=21
Exploring Operation: 84+4=88, Resulting Numbers: [36, 88]
Generated Node #0,2,2: 93:[36, 88] Operation: 84+4=88
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 93:[84, 32], Operations: ['79-75=4', '36-4=32']
Exploring Operation: 84-32=52, Resulting Numbers: [52]
52,93 unequal: No Solution
Exploring Operation: 84*32=2688, Resulting Numbers: [2688]
2688,93 unequal: No Solution
Exploring Operation: 84+32=116, Resulting Numbers: [116]
116,93 unequal: No Solution
No 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: 93:[36, 88], Operations: ['79-75=4', '84+4=88']
Exploring Operation: 36+88=124, Resulting Numbers: [124]
124,93 unequal: No Solution
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,93 unequal: No Solution
Exploring Operation: 36*88=3168, Resulting Numbers: [3168]
3168,93 unequal: No Solution
No 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: 93:[36, 21], Operations: ['79-75=4', '84/4=21']
Exploring Operation: 36+21=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 36*21=756, Resulting Numbers: [756]
756,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[79, 36, 9], Operations: ['84-75=9']
Exploring Operation: 79-36=43, Resulting Numbers: [9, 43]
Generated Node #0,0,0: 93:[9, 43] Operation: 79-36=43
Exploring Operation: 79+9=88, Resulting Numbers: [36, 88]
Generated Node #0,0,1: 93:[36, 88] Operation: 79+9=88
Exploring Operation: 36/9=4, Resulting Numbers: [79, 4]
Generated Node #0,0,2: 93:[79, 4] Operation: 36/9=4
Moving to Node #0,0,1
Current State: 93:[36, 88], Operations: ['84-75=9', '79+9=88']
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,93 unequal: No Solution
Exploring Operation: 36+88=124, Resulting Numbers: [124]
124,93 unequal: No Solution
Exploring Operation: 36*88=3168, Resulting Numbers: [3168]
3168,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[79, 4], Operations: ['84-75=9', '36/9=4']
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,93 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Exploring Operation: 79*4=316, Resulting Numbers: [316]
316,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[9, 43], Operations: ['84-75=9', '79-36=43']
Exploring Operation: 9+43=52, Resulting Numbers: [52]
52,93 unequal: No Solution
Exploring Operation: 9*43=387, Resulting Numbers: [387]
387,93 unequal: No Solution
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[36, 75, 5], Operations: ['84-79=5']
Exploring Operation: 75/5=15, Resulting Numbers: [36, 15]
Generated Node #0,1,0: 93:[36, 15] Operation: 75/5=15
Exploring Operation: 36-5=31, Resulting Numbers: [75, 31]
Generated Node #0,1,1: 93:[75, 31] Operation: 36-5=31
Exploring Operation: 75-36=39, Resulting Numbers: [5, 39]
Generated Node #0,1,2: 93:[5, 39] Operation: 75-36=39
Moving to Node #0,1,2
Current State: 93:[5, 39], Operations: ['84-79=5', '75-36=39']
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,93 unequal: No Solution
Exploring Operation: 5*39=195, Resulting Numbers: [195]
195,93 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[36, 15], Operations: ['84-79=5', '75/5=15']
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 36*15=540, Resulting Numbers: [540]
540,93 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[75, 31], Operations: ['84-79=5', '36-5=31']
Exploring Operation: 75*31=2325, Resulting Numbers: [2325]
2325,93 unequal: No Solution
Exploring Operation: 75+31=106, Resulting Numbers: [106]
106,93 unequal: No Solution
Exploring Operation: 75-31=44, Resulting Numbers: [44]
44,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
66,
93,
45,
15
] | 81 | [
"93-66=27",
"45/15=3",
"27*3=81"
] | Current State: 81:[66, 93, 45, 15], Operations: []
Exploring Operation: 93-66=27, Resulting Numbers: [45, 15, 27]
Generated Node #2: [45, 15, 27] from Operation: 93-66=27
Current State: 81:[45, 15, 27], Operations: ['93-66=27']
Exploring Operation: 45/15=3, Resulting Numbers: [27, 3]
Generated Node #3: [27, 3] from Operation: 45/15=3
Current State: 81:[27, 3], Operations: ['93-66=27', '45/15=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[66, 93, 45, 15], Operations: []
Exploring Operation: 93-66=27, Resulting Numbers: [45, 15, 27]
Generated Node #0,0: 81:[45, 15, 27] Operation: 93-66=27
Exploring Operation: 66+15=81, Resulting Numbers: [93, 45, 81]
Generated Node #0,1: 81:[93, 45, 81] Operation: 66+15=81
Exploring Operation: 66-45=21, Resulting Numbers: [93, 15, 21]
Generated Node #0,2: 81:[93, 15, 21] Operation: 66-45=21
Exploring Operation: 45-15=30, Resulting Numbers: [66, 93, 30]
Generated Node #0,3: 81:[66, 93, 30] Operation: 45-15=30
Exploring Operation: 45/15=3, Resulting Numbers: [66, 93, 3]
Generated Node #0,4: 81:[66, 93, 3] Operation: 45/15=3
Moving to Node #0,0
Current State: 81:[45, 15, 27], Operations: ['93-66=27']
Exploring Operation: 45-27=18, Resulting Numbers: [15, 18]
Generated Node #0,0,0: 81:[15, 18] Operation: 45-27=18
Exploring Operation: 45+27=72, Resulting Numbers: [15, 72]
Generated Node #0,0,1: 81:[15, 72] Operation: 45+27=72
Exploring Operation: 45-15=30, Resulting Numbers: [27, 30]
Generated Node #0,0,2: 81:[27, 30] Operation: 45-15=30
Exploring Operation: 45/15=3, Resulting Numbers: [27, 3]
Generated Node #0,0,3: 81:[27, 3] Operation: 45/15=3
Exploring Operation: 45+15=60, Resulting Numbers: [27, 60]
Generated Node #0,0,4: 81:[27, 60] Operation: 45+15=60
Moving to Node #0,2
Current State: 81:[93, 15, 21], Operations: ['66-45=21']
Exploring Operation: 15+21=36, Resulting Numbers: [93, 36]
Generated Node #0,2,0: 81:[93, 36] Operation: 15+21=36
Exploring Operation: 93-21=72, Resulting Numbers: [15, 72]
Generated Node #0,2,1: 81:[15, 72] Operation: 93-21=72
Exploring Operation: 93+15=108, Resulting Numbers: [21, 108]
Generated Node #0,2,2: 81:[21, 108] Operation: 93+15=108
Exploring Operation: 21-15=6, Resulting Numbers: [93, 6]
Generated Node #0,2,3: 81:[93, 6] Operation: 21-15=6
Exploring Operation: 93-15=78, Resulting Numbers: [21, 78]
Generated Node #0,2,4: 81:[21, 78] Operation: 93-15=78
Moving to Node #0,4
Current State: 81:[66, 93, 3], Operations: ['45/15=3']
Exploring Operation: 66/3=22, Resulting Numbers: [93, 22]
Generated Node #0,4,0: 81:[93, 22] Operation: 66/3=22
Exploring Operation: 93-3=90, Resulting Numbers: [66, 90]
Generated Node #0,4,1: 81:[66, 90] Operation: 93-3=90
Exploring Operation: 93-66=27, Resulting Numbers: [3, 27]
Generated Node #0,4,2: 81:[3, 27] Operation: 93-66=27
Exploring Operation: 93/3=31, Resulting Numbers: [66, 31]
Generated Node #0,4,3: 81:[66, 31] Operation: 93/3=31
Exploring Operation: 66+3=69, Resulting Numbers: [93, 69]
Generated Node #0,4,4: 81:[93, 69] Operation: 66+3=69
Moving to Node #0,1
Current State: 81:[93, 45, 81], Operations: ['66+15=81']
Exploring Operation: 45+81=126, Resulting Numbers: [93, 126]
Generated Node #0,1,0: 81:[93, 126] Operation: 45+81=126
Exploring Operation: 93-81=12, Resulting Numbers: [45, 12]
Generated Node #0,1,1: 81:[45, 12] Operation: 93-81=12
Exploring Operation: 93-45=48, Resulting Numbers: [81, 48]
Generated Node #0,1,2: 81:[81, 48] Operation: 93-45=48
Exploring Operation: 81-45=36, Resulting Numbers: [93, 36]
Generated Node #0,1,3: 81:[93, 36] Operation: 81-45=36
Exploring Operation: 93+45=138, Resulting Numbers: [81, 138]
Generated Node #0,1,4: 81:[81, 138] Operation: 93+45=138
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[45, 12], Operations: ['66+15=81', '93-81=12']
Exploring Operation: 45*12=540, Resulting Numbers: [540]
540,81 unequal: No Solution
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,81 unequal: No Solution
Exploring Operation: 45+12=57, Resulting Numbers: [57]
57,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,1,2
Current State: 81:[81, 48], Operations: ['66+15=81', '93-45=48']
Exploring Operation: 81-48=33, Resulting Numbers: [33]
33,81 unequal: No Solution
Exploring Operation: 81+48=129, Resulting Numbers: [129]
129,81 unequal: No Solution
Exploring Operation: 81*48=3888, Resulting Numbers: [3888]
3888,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,1,3
Current State: 81:[93, 36], Operations: ['66+15=81', '81-45=36']
Exploring Operation: 93+36=129, Resulting Numbers: [129]
129,81 unequal: No Solution
Exploring Operation: 93*36=3348, Resulting Numbers: [3348]
3348,81 unequal: No Solution
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,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,1,0
Current State: 81:[93, 126], Operations: ['66+15=81', '45+81=126']
Exploring Operation: 126-93=33, Resulting Numbers: [33]
33,81 unequal: No Solution
Exploring Operation: 93*126=11718, Resulting Numbers: [11718]
11718,81 unequal: No Solution
Exploring Operation: 93+126=219, Resulting Numbers: [219]
219,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,1,4
Current State: 81:[81, 138], Operations: ['66+15=81', '93+45=138']
Exploring Operation: 81*138=11178, Resulting Numbers: [11178]
11178,81 unequal: No Solution
Exploring Operation: 138-81=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Exploring Operation: 81+138=219, Resulting Numbers: [219]
219,81 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: 81:[66, 93, 30], Operations: ['45-15=30']
Exploring Operation: 93-30=63, Resulting Numbers: [66, 63]
Generated Node #0,3,0: 81:[66, 63] Operation: 93-30=63
Exploring Operation: 93-66=27, Resulting Numbers: [30, 27]
Generated Node #0,3,1: 81:[30, 27] Operation: 93-66=27
Exploring Operation: 93+30=123, Resulting Numbers: [66, 123]
Generated Node #0,3,2: 81:[66, 123] Operation: 93+30=123
Exploring Operation: 66+30=96, Resulting Numbers: [93, 96]
Generated Node #0,3,3: 81:[93, 96] Operation: 66+30=96
Exploring Operation: 66-30=36, Resulting Numbers: [93, 36]
Generated Node #0,3,4: 81:[93, 36] Operation: 66-30=36
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 81:[30, 27], Operations: ['45-15=30', '93-66=27']
Exploring Operation: 30+27=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 30*27=810, Resulting Numbers: [810]
810,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 81:[93, 36], Operations: ['45-15=30', '66-30=36']
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Exploring Operation: 93*36=3348, Resulting Numbers: [3348]
3348,81 unequal: No Solution
Exploring Operation: 93+36=129, Resulting Numbers: [129]
129,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 81:[93, 96], Operations: ['45-15=30', '66+30=96']
Exploring Operation: 93*96=8928, Resulting Numbers: [8928]
8928,81 unequal: No Solution
Exploring Operation: 96-93=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 93+96=189, Resulting Numbers: [189]
189,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 81:[66, 63], Operations: ['45-15=30', '93-30=63']
Exploring Operation: 66-63=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 66+63=129, Resulting Numbers: [129]
129,81 unequal: No Solution
Exploring Operation: 66*63=4158, Resulting Numbers: [4158]
4158,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 81:[66, 123], Operations: ['45-15=30', '93+30=123']
Exploring Operation: 66+123=189, Resulting Numbers: [189]
189,81 unequal: No Solution
Exploring Operation: 123-66=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Exploring Operation: 66*123=8118, Resulting Numbers: [8118]
8118,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 81:[27, 3], Operations: ['93-66=27', '45/15=3']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[66, 93, 45, 15], Operations: []
Exploring Operation: 93-66=27, Resulting Numbers: [45, 15, 27]
Generated Node #0,0: 81:[45, 15, 27] Operation: 93-66=27
Moving to Node #0,0
Current State: 81:[45, 15, 27], Operations: ['93-66=27']
Exploring Operation: 45/15=3, Resulting Numbers: [27, 3]
Generated Node #0,0,3: 81:[27, 3] Operation: 45/15=3
Moving to Node #0,0,3
Current State: 81:[27, 3], Operations: ['93-66=27', '45/15=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.940972 | hs_5 | mult_heuristic |
[
63,
32,
2,
99
] | 71 | [
"99-32=67",
"2*67=134",
"134-63=71"
] | Current State: 71:[63, 32, 2, 99], Operations: []
Exploring Operation: 99-32=67, Resulting Numbers: [63, 2, 67]
Generated Node #2: [63, 2, 67] from Operation: 99-32=67
Current State: 71:[63, 2, 67], Operations: ['99-32=67']
Exploring Operation: 2*67=134, Resulting Numbers: [63, 134]
Generated Node #3: [63, 134] from Operation: 2*67=134
Current State: 71:[63, 134], Operations: ['99-32=67', '2*67=134']
Exploring Operation: 134-63=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[63, 32, 2, 99], Operations: []
Exploring Operation: 32*2=64, Resulting Numbers: [63, 99, 64]
Generated Node #0,0: 71:[63, 99, 64] Operation: 32*2=64
Exploring Operation: 63+2=65, Resulting Numbers: [32, 99, 65]
Generated Node #0,1: 71:[32, 99, 65] Operation: 63+2=65
Moving to Node #0,0
Current State: 71:[63, 99, 64], Operations: ['32*2=64']
Exploring Operation: 99-64=35, Resulting Numbers: [63, 35]
Generated Node #0,0,0: 71:[63, 35] Operation: 99-64=35
Exploring Operation: 99-63=36, Resulting Numbers: [64, 36]
Generated Node #0,0,1: 71:[64, 36] Operation: 99-63=36
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[64, 36], Operations: ['32*2=64', '99-63=36']
Exploring Operation: 64+36=100, Resulting Numbers: [100]
100,71 unequal: No Solution
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[63, 35], Operations: ['32*2=64', '99-64=35']
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 63+35=98, Resulting Numbers: [98]
98,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 71:[32, 99, 65], Operations: ['63+2=65']
Exploring Operation: 99-32=67, Resulting Numbers: [65, 67]
Generated Node #0,1,0: 71:[65, 67] Operation: 99-32=67
Exploring Operation: 32+65=97, Resulting Numbers: [99, 97]
Generated Node #0,1,1: 71:[99, 97] Operation: 32+65=97
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[65, 67], Operations: ['63+2=65', '99-32=67']
Exploring Operation: 67-65=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 65+67=132, Resulting Numbers: [132]
132,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[99, 97], Operations: ['63+2=65', '32+65=97']
Exploring Operation: 99-97=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 99+97=196, Resulting Numbers: [196]
196,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
74,
46,
43,
62
] | 47 | [
"74-46=28",
"62-43=19",
"28+19=47"
] | Current State: 47:[74, 46, 43, 62], Operations: []
Exploring Operation: 74-46=28, Resulting Numbers: [43, 62, 28]
Generated Node #2: [43, 62, 28] from Operation: 74-46=28
Current State: 47:[43, 62, 28], Operations: ['74-46=28']
Exploring Operation: 62-43=19, Resulting Numbers: [28, 19]
Generated Node #3: [28, 19] from Operation: 62-43=19
Current State: 47:[28, 19], Operations: ['74-46=28', '62-43=19']
Exploring Operation: 28+19=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[74, 46, 43, 62], Operations: []
Exploring Operation: 74-43=31, Resulting Numbers: [46, 62, 31]
Generated Node #0,0: 47:[46, 62, 31] Operation: 74-43=31
Moving to Node #0,0
Current State: 47:[46, 62, 31], Operations: ['74-43=31']
Exploring Operation: 62-31=31, Resulting Numbers: [46, 31]
Generated Node #0,0,0: 47:[46, 31] Operation: 62-31=31
Moving to Node #0,0,0
Current State: 47:[46, 31], Operations: ['74-43=31', '62-31=31']
Exploring Operation: 46+31=77, Resulting Numbers: [77]
77,47 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
16,
16,
60,
7
] | 68 | [
"16/16=1",
"60+7=67",
"1+67=68"
] | Current State: 68:[16, 16, 60, 7], Operations: []
Exploring Operation: 16/16=1, Resulting Numbers: [60, 7, 1]
Generated Node #2: [60, 7, 1] from Operation: 16/16=1
Current State: 68:[60, 7, 1], Operations: ['16/16=1']
Exploring Operation: 60+7=67, Resulting Numbers: [1, 67]
Generated Node #3: [1, 67] from Operation: 60+7=67
Current State: 68:[1, 67], Operations: ['16/16=1', '60+7=67']
Exploring Operation: 1+67=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[16, 16, 60, 7], Operations: []
Exploring Operation: 60+7=67, Resulting Numbers: [16, 16, 67]
Generated Node #0,0: 68:[16, 16, 67] Operation: 60+7=67
Exploring Operation: 16+60=76, Resulting Numbers: [16, 7, 76]
Generated Node #0,1: 68:[16, 7, 76] Operation: 16+60=76
Exploring Operation: 16/16=1, Resulting Numbers: [60, 7, 1]
Generated Node #0,2: 68:[60, 7, 1] Operation: 16/16=1
Exploring Operation: 16+60=76, Resulting Numbers: [16, 7, 76]
Generated Node #0,3: 68:[16, 7, 76] Operation: 16+60=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[16, 16, 67], Operations: ['60+7=67']
Exploring Operation: 16+67=83, Resulting Numbers: [16, 83]
Generated Node #0,0,0: 68:[16, 83] Operation: 16+67=83
Exploring Operation: 16+16=32, Resulting Numbers: [67, 32]
Generated Node #0,0,1: 68:[67, 32] Operation: 16+16=32
Exploring Operation: 16/16=1, Resulting Numbers: [67, 1]
Generated Node #0,0,2: 68:[67, 1] Operation: 16/16=1
Exploring Operation: 16-16=0, Resulting Numbers: [67, 0]
Generated Node #0,0,3: 68:[67, 0] Operation: 16-16=0
Moving to Node #0,0,2
Current State: 68:[67, 1], Operations: ['60+7=67', '16/16=1']
Exploring Operation: 67+1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[16, 16, 60, 7], Operations: []
Exploring Operation: 60+7=67, Resulting Numbers: [16, 16, 67]
Generated Node #0,0: 68:[16, 16, 67] Operation: 60+7=67
Moving to Node #0,0
Current State: 68:[16, 16, 67], Operations: ['60+7=67']
Exploring Operation: 16/16=1, Resulting Numbers: [67, 1]
Generated Node #0,0,2: 68:[67, 1] Operation: 16/16=1
Moving to Node #0,0,2
Current State: 68:[67, 1], Operations: ['60+7=67', '16/16=1']
Exploring Operation: 67+1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
61,
26,
80,
98
] | 17 | [
"61*26=1586",
"80+1586=1666",
"1666/98=17"
] | Current State: 17:[61, 26, 80, 98], Operations: []
Exploring Operation: 61*26=1586, Resulting Numbers: [80, 98, 1586]
Generated Node #2: [80, 98, 1586] from Operation: 61*26=1586
Current State: 17:[80, 98, 1586], Operations: ['61*26=1586']
Exploring Operation: 80+1586=1666, Resulting Numbers: [98, 1666]
Generated Node #3: [98, 1666] from Operation: 80+1586=1666
Current State: 17:[98, 1666], Operations: ['61*26=1586', '80+1586=1666']
Exploring Operation: 1666/98=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[61, 26, 80, 98], Operations: []
Exploring Operation: 98-80=18, Resulting Numbers: [61, 26, 18]
Generated Node #0,0: 17:[61, 26, 18] Operation: 98-80=18
Exploring Operation: 80-26=54, Resulting Numbers: [61, 98, 54]
Generated Node #0,1: 17:[61, 98, 54] Operation: 80-26=54
Exploring Operation: 98-61=37, Resulting Numbers: [26, 80, 37]
Generated Node #0,2: 17:[26, 80, 37] Operation: 98-61=37
Exploring Operation: 61-26=35, Resulting Numbers: [80, 98, 35]
Generated Node #0,3: 17:[80, 98, 35] Operation: 61-26=35
Exploring Operation: 80-61=19, Resulting Numbers: [26, 98, 19]
Generated Node #0,4: 17:[26, 98, 19] Operation: 80-61=19
Moving to Node #0,0
Current State: 17:[61, 26, 18], Operations: ['98-80=18']
Exploring Operation: 61+26=87, Resulting Numbers: [18, 87]
Generated Node #0,0,0: 17:[18, 87] Operation: 61+26=87
Exploring Operation: 26-18=8, Resulting Numbers: [61, 8]
Generated Node #0,0,1: 17:[61, 8] Operation: 26-18=8
Exploring Operation: 61-26=35, Resulting Numbers: [18, 35]
Generated Node #0,0,2: 17:[18, 35] Operation: 61-26=35
Exploring Operation: 61-18=43, Resulting Numbers: [26, 43]
Generated Node #0,0,3: 17:[26, 43] Operation: 61-18=43
Exploring Operation: 61+18=79, Resulting Numbers: [26, 79]
Generated Node #0,0,4: 17:[26, 79] Operation: 61+18=79
Moving to Node #0,4
Current State: 17:[26, 98, 19], Operations: ['80-61=19']
Exploring Operation: 26+19=45, Resulting Numbers: [98, 45]
Generated Node #0,4,0: 17:[98, 45] Operation: 26+19=45
Exploring Operation: 26+98=124, Resulting Numbers: [19, 124]
Generated Node #0,4,1: 17:[19, 124] Operation: 26+98=124
Exploring Operation: 26-19=7, Resulting Numbers: [98, 7]
Generated Node #0,4,2: 17:[98, 7] Operation: 26-19=7
Exploring Operation: 98-26=72, Resulting Numbers: [19, 72]
Generated Node #0,4,3: 17:[19, 72] Operation: 98-26=72
Exploring Operation: 98-19=79, Resulting Numbers: [26, 79]
Generated Node #0,4,4: 17:[26, 79] Operation: 98-19=79
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 17:[19, 72], Operations: ['80-61=19', '98-26=72']
Exploring Operation: 19*72=1368, Resulting Numbers: [1368]
1368,17 unequal: No Solution
Exploring Operation: 19+72=91, Resulting Numbers: [91]
91,17 unequal: No Solution
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 17:[26, 79], Operations: ['80-61=19', '98-19=79']
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,17 unequal: No Solution
Exploring Operation: 26*79=2054, Resulting Numbers: [2054]
2054,17 unequal: No Solution
Exploring Operation: 26+79=105, Resulting Numbers: [105]
105,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 17:[98, 7], Operations: ['80-61=19', '26-19=7']
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,17 unequal: No Solution
Exploring Operation: 98*7=686, Resulting Numbers: [686]
686,17 unequal: No Solution
Exploring Operation: 98+7=105, Resulting Numbers: [105]
105,17 unequal: No Solution
Exploring Operation: 98/7=14, Resulting Numbers: [14]
14,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 17:[98, 45], Operations: ['80-61=19', '26+19=45']
Exploring Operation: 98*45=4410, Resulting Numbers: [4410]
4410,17 unequal: No Solution
Exploring Operation: 98-45=53, Resulting Numbers: [53]
53,17 unequal: No Solution
Exploring Operation: 98+45=143, Resulting Numbers: [143]
143,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 17:[19, 124], Operations: ['80-61=19', '26+98=124']
Exploring Operation: 19*124=2356, Resulting Numbers: [2356]
2356,17 unequal: No Solution
Exploring Operation: 124-19=105, Resulting Numbers: [105]
105,17 unequal: No Solution
Exploring Operation: 19+124=143, Resulting Numbers: [143]
143,17 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: 17:[26, 80, 37], Operations: ['98-61=37']
Exploring Operation: 37-26=11, Resulting Numbers: [80, 11]
Generated Node #0,2,0: 17:[80, 11] Operation: 37-26=11
Exploring Operation: 80-37=43, Resulting Numbers: [26, 43]
Generated Node #0,2,1: 17:[26, 43] Operation: 80-37=43
Exploring Operation: 80-26=54, Resulting Numbers: [37, 54]
Generated Node #0,2,2: 17:[37, 54] Operation: 80-26=54
Exploring Operation: 26+80=106, Resulting Numbers: [37, 106]
Generated Node #0,2,3: 17:[37, 106] Operation: 26+80=106
Exploring Operation: 26+37=63, Resulting Numbers: [80, 63]
Generated Node #0,2,4: 17:[80, 63] Operation: 26+37=63
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[26, 43], Operations: ['98-61=37', '80-37=43']
Exploring Operation: 26+43=69, Resulting Numbers: [69]
69,17 unequal: No Solution
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[61, 26, 80, 98], Operations: []
Exploring Operation: 98-61=37, Resulting Numbers: [26, 80, 37]
Generated Node #0,2: 17:[26, 80, 37] Operation: 98-61=37
Moving to Node #0,2
Current State: 17:[26, 80, 37], Operations: ['98-61=37']
Exploring Operation: 80-37=43, Resulting Numbers: [26, 43]
Generated Node #0,2,1: 17:[26, 43] Operation: 80-37=43
Moving to Node #0,2,1
Current State: 17:[26, 43], Operations: ['98-61=37', '80-37=43']
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | sum_heuristic |
[
27,
35,
54,
27
] | 17 | [
"27*35=945",
"945-27=918",
"918/54=17"
] | Current State: 17:[27, 35, 54, 27], Operations: []
Exploring Operation: 27*35=945, Resulting Numbers: [54, 945]
Generated Node #2: [54, 945] from Operation: 27*35=945
Current State: 17:[54, 945], Operations: ['27*35=945']
Exploring Operation: 945-27=918, Resulting Numbers: [54, 918]
Generated Node #3: [54, 918] from Operation: 945-27=918
Current State: 17:[54, 918], Operations: ['27*35=945', '945-27=918']
Exploring Operation: 918/54=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[27, 35, 54, 27], Operations: []
Exploring Operation: 54-35=19, Resulting Numbers: [27, 27, 19]
Generated Node #0,0: 17:[27, 27, 19] Operation: 54-35=19
Exploring Operation: 54/27=2, Resulting Numbers: [35, 27, 2]
Generated Node #0,1: 17:[35, 27, 2] Operation: 54/27=2
Exploring Operation: 54-27=27, Resulting Numbers: [35, 27, 27]
Generated Node #0,2: 17:[35, 27, 27] Operation: 54-27=27
Exploring Operation: 54-27=27, Resulting Numbers: [27, 35, 27]
Generated Node #0,3: 17:[27, 35, 27] Operation: 54-27=27
Moving to Node #0,0
Current State: 17:[27, 27, 19], Operations: ['54-35=19']
Exploring Operation: 27-27=0, Resulting Numbers: [19, 0]
Generated Node #0,0,0: 17:[19, 0] Operation: 27-27=0
Exploring Operation: 27-19=8, Resulting Numbers: [27, 8]
Generated Node #0,0,1: 17:[27, 8] Operation: 27-19=8
Exploring Operation: 27-19=8, Resulting Numbers: [27, 8]
Generated Node #0,0,2: 17:[27, 8] Operation: 27-19=8
Exploring Operation: 27/27=1, Resulting Numbers: [19, 1]
Generated Node #0,0,3: 17:[19, 1] Operation: 27/27=1
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 17:[19, 1], Operations: ['54-35=19', '27/27=1']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[19, 0], Operations: ['54-35=19', '27-27=0']
Exploring Operation: 19-0=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Exploring Operation: 19+0=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Exploring Operation: 19*0=0, Resulting Numbers: [0]
0,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[27, 8], Operations: ['54-35=19', '27-19=8']
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,17 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 17:[27, 8], Operations: ['54-35=19', '27-19=8']
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,17 unequal: No Solution
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,17 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 17:[27, 35, 27], Operations: ['54-27=27']
Exploring Operation: 27/27=1, Resulting Numbers: [35, 1]
Generated Node #0,3,0: 17:[35, 1] Operation: 27/27=1
Exploring Operation: 35-27=8, Resulting Numbers: [27, 8]
Generated Node #0,3,1: 17:[27, 8] Operation: 35-27=8
Exploring Operation: 35-27=8, Resulting Numbers: [27, 8]
Generated Node #0,3,2: 17:[27, 8] Operation: 35-27=8
Exploring Operation: 27-27=0, Resulting Numbers: [35, 0]
Generated Node #0,3,3: 17:[35, 0] Operation: 27-27=0
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 17:[27, 8], Operations: ['54-27=27', '35-27=8']
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,17 unequal: No Solution
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,17 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 17:[27, 8], Operations: ['54-27=27', '35-27=8']
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,17 unequal: No Solution
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,17 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 17:[35, 1], Operations: ['54-27=27', '27/27=1']
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,17 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,17 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 17:[35, 0], Operations: ['54-27=27', '27-27=0']
Exploring Operation: 35+0=35, Resulting Numbers: [35]
35,17 unequal: No Solution
Exploring Operation: 35-0=35, Resulting Numbers: [35]
35,17 unequal: No Solution
Exploring Operation: 35*0=0, Resulting Numbers: [0]
0,17 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: 17:[35, 27, 27], Operations: ['54-27=27']
Exploring Operation: 35-27=8, Resulting Numbers: [27, 8]
Generated Node #0,2,0: 17:[27, 8] Operation: 35-27=8
Exploring Operation: 27-27=0, Resulting Numbers: [35, 0]
Generated Node #0,2,1: 17:[35, 0] Operation: 27-27=0
Exploring Operation: 35-27=8, Resulting Numbers: [27, 8]
Generated Node #0,2,2: 17:[27, 8] Operation: 35-27=8
Exploring Operation: 27/27=1, Resulting Numbers: [35, 1]
Generated Node #0,2,3: 17:[35, 1] Operation: 27/27=1
Moving to Node #0,1
Current State: 17:[35, 27, 2], Operations: ['54/27=2']
Exploring Operation: 27-2=25, Resulting Numbers: [35, 25]
Generated Node #0,1,0: 17:[35, 25] Operation: 27-2=25
Exploring Operation: 35-27=8, Resulting Numbers: [2, 8]
Generated Node #0,1,1: 17:[2, 8] Operation: 35-27=8
Exploring Operation: 35-2=33, Resulting Numbers: [27, 33]
Generated Node #0,1,2: 17:[27, 33] Operation: 35-2=33
Exploring Operation: 35+2=37, Resulting Numbers: [27, 37]
Generated Node #0,1,3: 17:[27, 37] Operation: 35+2=37
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 17:[2, 8], Operations: ['54/27=2', '35-27=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,17 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,17 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[35, 25], Operations: ['54/27=2', '27-2=25']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,17 unequal: No Solution
Exploring Operation: 35+25=60, Resulting Numbers: [60]
60,17 unequal: No Solution
Exploring Operation: 35*25=875, Resulting Numbers: [875]
875,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 17:[27, 33], Operations: ['54/27=2', '35-2=33']
Exploring Operation: 27+33=60, Resulting Numbers: [60]
60,17 unequal: No Solution
Exploring Operation: 27*33=891, Resulting Numbers: [891]
891,17 unequal: No Solution
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 17:[27, 37], Operations: ['54/27=2', '35+2=37']
Exploring Operation: 27+37=64, Resulting Numbers: [64]
64,17 unequal: No Solution
Exploring Operation: 27*37=999, Resulting Numbers: [999]
999,17 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,17 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: 17:[27, 8], Operations: ['54-27=27', '35-27=8']
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,17 unequal: No Solution
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,17 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Moving to Node #0,2,2
Current State: 17:[27, 8], Operations: ['54-27=27', '35-27=8']
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,17 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,17 unequal: No Solution
Moving to Node #0,2,3
Current State: 17:[35, 1], Operations: ['54-27=27', '27/27=1']
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,17 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[35, 0], Operations: ['54-27=27', '27-27=0']
Exploring Operation: 35+0=35, Resulting Numbers: [35]
35,17 unequal: No Solution
Exploring Operation: 35-0=35, Resulting Numbers: [35]
35,17 unequal: No Solution
Exploring Operation: 35*0=0, Resulting Numbers: [0]
0,17 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
20,
48,
81,
66
] | 90 | [
"20*81=1620",
"66-48=18",
"1620/18=90"
] | Current State: 90:[20, 48, 81, 66], Operations: []
Exploring Operation: 20*81=1620, Resulting Numbers: [48, 66, 1620]
Generated Node #2: [48, 66, 1620] from Operation: 20*81=1620
Current State: 90:[48, 66, 1620], Operations: ['20*81=1620']
Exploring Operation: 66-48=18, Resulting Numbers: [1620, 18]
Generated Node #3: [1620, 18] from Operation: 66-48=18
Current State: 90:[1620, 18], Operations: ['20*81=1620', '66-48=18']
Exploring Operation: 1620/18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[20, 48, 81, 66], Operations: []
Exploring Operation: 66-48=18, Resulting Numbers: [20, 81, 18]
Generated Node #0,0: 90:[20, 81, 18] Operation: 66-48=18
Exploring Operation: 81-66=15, Resulting Numbers: [20, 48, 15]
Generated Node #0,1: 90:[20, 48, 15] Operation: 81-66=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[20, 48, 15], Operations: ['81-66=15']
Exploring Operation: 20-15=5, Resulting Numbers: [48, 5]
Generated Node #0,1,0: 90:[48, 5] Operation: 20-15=5
Exploring Operation: 48-20=28, Resulting Numbers: [15, 28]
Generated Node #0,1,1: 90:[15, 28] Operation: 48-20=28
Moving to Node #0,1,1
Current State: 90:[15, 28], Operations: ['81-66=15', '48-20=28']
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,90 unequal: No Solution
Exploring Operation: 15+28=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[48, 5], Operations: ['81-66=15', '20-15=5']
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[20, 81, 18], Operations: ['66-48=18']
Exploring Operation: 20+81=101, Resulting Numbers: [18, 101]
Generated Node #0,0,0: 90:[18, 101] Operation: 20+81=101
Exploring Operation: 20-18=2, Resulting Numbers: [81, 2]
Generated Node #0,0,1: 90:[81, 2] Operation: 20-18=2
Moving to Node #0,0,1
Current State: 90:[81, 2], Operations: ['66-48=18', '20-18=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[18, 101], Operations: ['66-48=18', '20+81=101']
Exploring Operation: 18+101=119, Resulting Numbers: [119]
119,90 unequal: No Solution
Exploring Operation: 101-18=83, Resulting Numbers: [83]
83,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
1,
4,
64,
60
] | 44 | [
"1*4=4",
"64/4=16",
"60-16=44"
] | Current State: 44:[1, 4, 64, 60], Operations: []
Exploring Operation: 1*4=4, Resulting Numbers: [64, 60, 4]
Generated Node #2: [64, 60, 4] from Operation: 1*4=4
Current State: 44:[64, 60, 4], Operations: ['1*4=4']
Exploring Operation: 64/4=16, Resulting Numbers: [60, 16]
Generated Node #3: [60, 16] from Operation: 64/4=16
Current State: 44:[60, 16], Operations: ['1*4=4', '64/4=16']
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[1, 4, 64, 60], Operations: []
Exploring Operation: 64-60=4, Resulting Numbers: [1, 4, 4]
Generated Node #0,0: 44:[1, 4, 4] Operation: 64-60=4
Exploring Operation: 64/4=16, Resulting Numbers: [1, 60, 16]
Generated Node #0,1: 44:[1, 60, 16] Operation: 64/4=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[1, 4, 4], Operations: ['64-60=4']
Exploring Operation: 1*4=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 44:[4, 4] Operation: 1*4=4
Exploring Operation: 4/1=4, Resulting Numbers: [4, 4]
Generated Node #0,0,1: 44:[4, 4] Operation: 4/1=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[4, 4], Operations: ['64-60=4', '1*4=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 44:[4, 4], Operations: ['64-60=4', '4/1=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[1, 60, 16], Operations: ['64/4=16']
Exploring Operation: 60-1=59, Resulting Numbers: [16, 59]
Generated Node #0,1,0: 44:[16, 59] Operation: 60-1=59
Exploring Operation: 60-16=44, Resulting Numbers: [1, 44]
Generated Node #0,1,1: 44:[1, 44] Operation: 60-16=44
Moving to Node #0,1,1
Current State: 44:[1, 44], Operations: ['64/4=16', '60-16=44']
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[1, 4, 64, 60], Operations: []
Exploring Operation: 64/4=16, Resulting Numbers: [1, 60, 16]
Generated Node #0,1: 44:[1, 60, 16] Operation: 64/4=16
Moving to Node #0,1
Current State: 44:[1, 60, 16], Operations: ['64/4=16']
Exploring Operation: 60-16=44, Resulting Numbers: [1, 44]
Generated Node #0,1,1: 44:[1, 44] Operation: 60-16=44
Moving to Node #0,1,1
Current State: 44:[1, 44], Operations: ['64/4=16', '60-16=44']
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
24,
85,
52,
13
] | 79 | [
"24*13=312",
"312/52=6",
"85-6=79"
] | Current State: 79:[24, 85, 52, 13], Operations: []
Exploring Operation: 24*13=312, Resulting Numbers: [85, 52, 312]
Generated Node #2: [85, 52, 312] from Operation: 24*13=312
Current State: 79:[85, 52, 312], Operations: ['24*13=312']
Exploring Operation: 312/52=6, Resulting Numbers: [85, 6]
Generated Node #3: [85, 6] from Operation: 312/52=6
Current State: 79:[85, 6], Operations: ['24*13=312', '312/52=6']
Exploring Operation: 85-6=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[24, 85, 52, 13], Operations: []
Exploring Operation: 24+13=37, Resulting Numbers: [85, 52, 37]
Generated Node #0,0: 79:[85, 52, 37] Operation: 24+13=37
Exploring Operation: 24+52=76, Resulting Numbers: [85, 13, 76]
Generated Node #0,1: 79:[85, 13, 76] Operation: 24+52=76
Exploring Operation: 52+13=65, Resulting Numbers: [24, 85, 65]
Generated Node #0,2: 79:[24, 85, 65] Operation: 52+13=65
Moving to Node #0,0
Current State: 79:[85, 52, 37], Operations: ['24+13=37']
Exploring Operation: 85+37=122, Resulting Numbers: [52, 122]
Generated Node #0,0,0: 79:[52, 122] Operation: 85+37=122
Exploring Operation: 52+37=89, Resulting Numbers: [85, 89]
Generated Node #0,0,1: 79:[85, 89] Operation: 52+37=89
Exploring Operation: 85-37=48, Resulting Numbers: [52, 48]
Generated Node #0,0,2: 79:[52, 48] Operation: 85-37=48
Moving to Node #0,1
Current State: 79:[85, 13, 76], Operations: ['24+52=76']
Exploring Operation: 13+76=89, Resulting Numbers: [85, 89]
Generated Node #0,1,0: 79:[85, 89] Operation: 13+76=89
Exploring Operation: 85-13=72, Resulting Numbers: [76, 72]
Generated Node #0,1,1: 79:[76, 72] Operation: 85-13=72
Exploring Operation: 85+13=98, Resulting Numbers: [76, 98]
Generated Node #0,1,2: 79:[76, 98] Operation: 85+13=98
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[76, 72], Operations: ['24+52=76', '85-13=72']
Exploring Operation: 76-72=4, Resulting Numbers: [4]
4,79 unequal: No Solution
Exploring Operation: 76*72=5472, Resulting Numbers: [5472]
5472,79 unequal: No Solution
Exploring Operation: 76+72=148, Resulting Numbers: [148]
148,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:[85, 89], Operations: ['24+52=76', '13+76=89']
Exploring Operation: 85+89=174, Resulting Numbers: [174]
174,79 unequal: No Solution
Exploring Operation: 89-85=4, Resulting Numbers: [4]
4,79 unequal: No Solution
Exploring Operation: 85*89=7565, Resulting Numbers: [7565]
7565,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 79:[76, 98], Operations: ['24+52=76', '85+13=98']
Exploring Operation: 76*98=7448, Resulting Numbers: [7448]
7448,79 unequal: No Solution
Exploring Operation: 98-76=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 76+98=174, Resulting Numbers: [174]
174,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 79:[24, 85, 65], Operations: ['52+13=65']
Exploring Operation: 85-24=61, Resulting Numbers: [65, 61]
Generated Node #0,2,0: 79:[65, 61] Operation: 85-24=61
Exploring Operation: 24+85=109, Resulting Numbers: [65, 109]
Generated Node #0,2,1: 79:[65, 109] Operation: 24+85=109
Exploring Operation: 24+65=89, Resulting Numbers: [85, 89]
Generated Node #0,2,2: 79:[85, 89] Operation: 24+65=89
Moving to Node #0,0,1
Current State: 79:[85, 89], Operations: ['24+13=37', '52+37=89']
Exploring Operation: 85+89=174, Resulting Numbers: [174]
174,79 unequal: No Solution
Exploring Operation: 85*89=7565, Resulting Numbers: [7565]
7565,79 unequal: No Solution
Exploring Operation: 89-85=4, Resulting Numbers: [4]
4,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[85, 89], Operations: ['52+13=65', '24+65=89']
Exploring Operation: 89-85=4, Resulting Numbers: [4]
4,79 unequal: No Solution
Exploring Operation: 85+89=174, Resulting Numbers: [174]
174,79 unequal: No Solution
Exploring Operation: 85*89=7565, Resulting Numbers: [7565]
7565,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[65, 61], Operations: ['52+13=65', '85-24=61']
Exploring Operation: 65-61=4, Resulting Numbers: [4]
4,79 unequal: No Solution
Exploring Operation: 65*61=3965, Resulting Numbers: [3965]
3965,79 unequal: No Solution
Exploring Operation: 65+61=126, Resulting Numbers: [126]
126,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[65, 109], Operations: ['52+13=65', '24+85=109']
Exploring Operation: 65+109=174, Resulting Numbers: [174]
174,79 unequal: No Solution
Exploring Operation: 65*109=7085, Resulting Numbers: [7085]
7085,79 unequal: No Solution
Exploring Operation: 109-65=44, Resulting Numbers: [44]
44,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[52, 48], Operations: ['24+13=37', '85-37=48']
Exploring Operation: 52*48=2496, Resulting Numbers: [2496]
2496,79 unequal: No Solution
Exploring Operation: 52+48=100, Resulting Numbers: [100]
100,79 unequal: No Solution
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[52, 122], Operations: ['24+13=37', '85+37=122']
Exploring Operation: 52*122=6344, Resulting Numbers: [6344]
6344,79 unequal: No Solution
Exploring Operation: 122-52=70, Resulting Numbers: [70]
70,79 unequal: No Solution
Exploring Operation: 52+122=174, Resulting Numbers: [174]
174,79 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
86,
55,
15,
43
] | 20 | [
"86/43=2",
"55-15=40",
"40/2=20"
] | Current State: 20:[86, 55, 15, 43], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [55, 15, 2]
Generated Node #2: [55, 15, 2] from Operation: 86/43=2
Current State: 20:[55, 15, 2], Operations: ['86/43=2']
Exploring Operation: 55-15=40, Resulting Numbers: [2, 40]
Generated Node #3: [2, 40] from Operation: 55-15=40
Current State: 20:[2, 40], Operations: ['86/43=2', '55-15=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[86, 55, 15, 43], Operations: []
Exploring Operation: 55-43=12, Resulting Numbers: [86, 15, 12]
Generated Node #0,0: 20:[86, 15, 12] Operation: 55-43=12
Exploring Operation: 86-43=43, Resulting Numbers: [55, 15, 43]
Generated Node #0,1: 20:[55, 15, 43] Operation: 86-43=43
Exploring Operation: 86-55=31, Resulting Numbers: [15, 43, 31]
Generated Node #0,2: 20:[15, 43, 31] Operation: 86-55=31
Exploring Operation: 86/43=2, Resulting Numbers: [55, 15, 2]
Generated Node #0,3: 20:[55, 15, 2] Operation: 86/43=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[15, 43, 31], Operations: ['86-55=31']
Exploring Operation: 43-31=12, Resulting Numbers: [15, 12]
Generated Node #0,2,0: 20:[15, 12] Operation: 43-31=12
Exploring Operation: 43-15=28, Resulting Numbers: [31, 28]
Generated Node #0,2,1: 20:[31, 28] Operation: 43-15=28
Exploring Operation: 15+43=58, Resulting Numbers: [31, 58]
Generated Node #0,2,2: 20:[31, 58] Operation: 15+43=58
Exploring Operation: 31-15=16, Resulting Numbers: [43, 16]
Generated Node #0,2,3: 20:[43, 16] Operation: 31-15=16
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 20:[15, 12], Operations: ['86-55=31', '43-31=12']
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,20 unequal: No Solution
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,20 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 20:[31, 28], Operations: ['86-55=31', '43-15=28']
Exploring Operation: 31+28=59, Resulting Numbers: [59]
59,20 unequal: No Solution
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 31*28=868, Resulting Numbers: [868]
868,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 20:[43, 16], Operations: ['86-55=31', '31-15=16']
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,20 unequal: No Solution
Exploring Operation: 43*16=688, Resulting Numbers: [688]
688,20 unequal: No Solution
Exploring Operation: 43+16=59, Resulting Numbers: [59]
59,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 20:[31, 58], Operations: ['86-55=31', '15+43=58']
Exploring Operation: 58-31=27, Resulting Numbers: [27]
27,20 unequal: No Solution
Exploring Operation: 31*58=1798, Resulting Numbers: [1798]
1798,20 unequal: No Solution
Exploring Operation: 31+58=89, Resulting Numbers: [89]
89,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[55, 15, 2], Operations: ['86/43=2']
Exploring Operation: 55-2=53, Resulting Numbers: [15, 53]
Generated Node #0,3,0: 20:[15, 53] Operation: 55-2=53
Exploring Operation: 15+2=17, Resulting Numbers: [55, 17]
Generated Node #0,3,1: 20:[55, 17] Operation: 15+2=17
Exploring Operation: 55-15=40, Resulting Numbers: [2, 40]
Generated Node #0,3,2: 20:[2, 40] Operation: 55-15=40
Exploring Operation: 15-2=13, Resulting Numbers: [55, 13]
Generated Node #0,3,3: 20:[55, 13] Operation: 15-2=13
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 20:[2, 40], Operations: ['86/43=2', '55-15=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[86, 55, 15, 43], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [55, 15, 2]
Generated Node #0,3: 20:[55, 15, 2] Operation: 86/43=2
Moving to Node #0,3
Current State: 20:[55, 15, 2], Operations: ['86/43=2']
Exploring Operation: 55-15=40, Resulting Numbers: [2, 40]
Generated Node #0,3,2: 20:[2, 40] Operation: 55-15=40
Moving to Node #0,3,2
Current State: 20:[2, 40], Operations: ['86/43=2', '55-15=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
34,
9,
4,
4
] | 96 | [
"34-9=25",
"4*25=100",
"100-4=96"
] | Current State: 96:[34, 9, 4, 4], Operations: []
Exploring Operation: 34-9=25, Resulting Numbers: [4, 4, 25]
Generated Node #2: [4, 4, 25] from Operation: 34-9=25
Current State: 96:[4, 4, 25], Operations: ['34-9=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,96 equal: Goal Reached
Exploring Operation: 100-4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[34, 9, 4, 4], Operations: []
Exploring Operation: 34-9=25, Resulting Numbers: [4, 4, 25]
Generated Node #0,0: 96:[4, 4, 25] Operation: 34-9=25
Exploring Operation: 34-4=30, Resulting Numbers: [9, 4, 30]
Generated Node #0,1: 96:[9, 4, 30] Operation: 34-4=30
Exploring Operation: 34-4=30, Resulting Numbers: [9, 4, 30]
Generated Node #0,2: 96:[9, 4, 30] Operation: 34-4=30
Moving to Node #0,0
Current State: 96:[4, 4, 25], Operations: ['34-9=25']
Exploring Operation: 4+4=8, Resulting Numbers: [25, 8]
Generated Node #0,0,0: 96:[25, 8] Operation: 4+4=8
Exploring Operation: 4/4=1, Resulting Numbers: [25, 1]
Generated Node #0,0,1: 96:[25, 1] Operation: 4/4=1
Exploring Operation: 4*4=16, Resulting Numbers: [25, 16]
Generated Node #0,0,2: 96:[25, 16] Operation: 4*4=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[25, 8], Operations: ['34-9=25', '4+4=8']
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Exploring Operation: 25*8=200, Resulting Numbers: [200]
200,96 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 96:[25, 16], Operations: ['34-9=25', '4*4=16']
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,96 unequal: No Solution
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,96 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[25, 1], Operations: ['34-9=25', '4/4=1']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,96 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: 96:[9, 4, 30], Operations: ['34-4=30']
Exploring Operation: 9-4=5, Resulting Numbers: [30, 5]
Generated Node #0,1,0: 96:[30, 5] Operation: 9-4=5
Exploring Operation: 30-9=21, Resulting Numbers: [4, 21]
Generated Node #0,1,1: 96:[4, 21] Operation: 30-9=21
Exploring Operation: 9+4=13, Resulting Numbers: [30, 13]
Generated Node #0,1,2: 96:[30, 13] Operation: 9+4=13
Moving to Node #0,2
Current State: 96:[9, 4, 30], Operations: ['34-4=30']
Exploring Operation: 9-4=5, Resulting Numbers: [30, 5]
Generated Node #0,2,0: 96:[30, 5] Operation: 9-4=5
Exploring Operation: 9+4=13, Resulting Numbers: [30, 13]
Generated Node #0,2,1: 96:[30, 13] Operation: 9+4=13
Exploring Operation: 30-9=21, Resulting Numbers: [4, 21]
Generated Node #0,2,2: 96:[4, 21] Operation: 30-9=21
Moving to Node #0,1,0
Current State: 96:[30, 5], Operations: ['34-4=30', '9-4=5']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,96 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[30, 13], Operations: ['34-4=30', '9+4=13']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,96 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[4, 21], Operations: ['34-4=30', '30-9=21']
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[30, 13], Operations: ['34-4=30', '9+4=13']
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,96 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[4, 21], Operations: ['34-4=30', '30-9=21']
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[30, 5], Operations: ['34-4=30', '9-4=5']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,96 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
85,
70,
2,
94
] | 64 | [
"85-70=15",
"2*15=30",
"94-30=64"
] | Current State: 64:[85, 70, 2, 94], Operations: []
Exploring Operation: 85-70=15, Resulting Numbers: [2, 94, 15]
Generated Node #2: [2, 94, 15] from Operation: 85-70=15
Current State: 64:[2, 94, 15], Operations: ['85-70=15']
Exploring Operation: 2*15=30, Resulting Numbers: [94, 30]
Generated Node #3: [94, 30] from Operation: 2*15=30
Current State: 64:[94, 30], Operations: ['85-70=15', '2*15=30']
Exploring Operation: 94-30=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[85, 70, 2, 94], Operations: []
Exploring Operation: 94-85=9, Resulting Numbers: [70, 2, 9]
Generated Node #0,0: 64:[70, 2, 9] Operation: 94-85=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[70, 2, 9], Operations: ['94-85=9']
Exploring Operation: 70-9=61, Resulting Numbers: [2, 61]
Generated Node #0,0,0: 64:[2, 61] Operation: 70-9=61
Moving to Node #0,0,0
Current State: 64:[2, 61], Operations: ['94-85=9', '70-9=61']
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,64 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 |
[
33,
8,
72,
14
] | 28 | [
"33-14=19",
"72/8=9",
"19+9=28"
] | Current State: 28:[33, 8, 72, 14], Operations: []
Exploring Operation: 33-14=19, Resulting Numbers: [8, 72, 19]
Generated Node #2: [8, 72, 19] from Operation: 33-14=19
Current State: 28:[8, 72, 19], Operations: ['33-14=19']
Exploring Operation: 72/8=9, Resulting Numbers: [19, 9]
Generated Node #3: [19, 9] from Operation: 72/8=9
Current State: 28:[19, 9], Operations: ['33-14=19', '72/8=9']
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[33, 8, 72, 14], Operations: []
Exploring Operation: 72-14=58, Resulting Numbers: [33, 8, 58]
Generated Node #0,0: 28:[33, 8, 58] Operation: 72-14=58
Exploring Operation: 72-8=64, Resulting Numbers: [33, 14, 64]
Generated Node #0,1: 28:[33, 14, 64] Operation: 72-8=64
Exploring Operation: 72/8=9, Resulting Numbers: [33, 14, 9]
Generated Node #0,2: 28:[33, 14, 9] Operation: 72/8=9
Exploring Operation: 33-8=25, Resulting Numbers: [72, 14, 25]
Generated Node #0,3: 28:[72, 14, 25] Operation: 33-8=25
Exploring Operation: 72-33=39, Resulting Numbers: [8, 14, 39]
Generated Node #0,4: 28:[8, 14, 39] Operation: 72-33=39
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[33, 14, 9], Operations: ['72/8=9']
Exploring Operation: 14-9=5, Resulting Numbers: [33, 5]
Generated Node #0,2,0: 28:[33, 5] Operation: 14-9=5
Exploring Operation: 33-14=19, Resulting Numbers: [9, 19]
Generated Node #0,2,1: 28:[9, 19] Operation: 33-14=19
Exploring Operation: 14+9=23, Resulting Numbers: [33, 23]
Generated Node #0,2,2: 28:[33, 23] Operation: 14+9=23
Exploring Operation: 33+9=42, Resulting Numbers: [14, 42]
Generated Node #0,2,3: 28:[14, 42] Operation: 33+9=42
Exploring Operation: 33-9=24, Resulting Numbers: [14, 24]
Generated Node #0,2,4: 28:[14, 24] Operation: 33-9=24
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 28:[14, 24], Operations: ['72/8=9', '33-9=24']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 14*24=336, Resulting Numbers: [336]
336,28 unequal: No Solution
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 28:[33, 5], Operations: ['72/8=9', '14-9=5']
Exploring Operation: 33*5=165, Resulting Numbers: [165]
165,28 unequal: No Solution
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,28 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[33, 8, 72, 14], Operations: []
Exploring Operation: 72/8=9, Resulting Numbers: [33, 14, 9]
Generated Node #0,2: 28:[33, 14, 9] Operation: 72/8=9
Moving to Node #0,2
Current State: 28:[33, 14, 9], Operations: ['72/8=9']
Exploring Operation: 14-9=5, Resulting Numbers: [33, 5]
Generated Node #0,2,0: 28:[33, 5] Operation: 14-9=5
Moving to Node #0,2,0
Current State: 28:[33, 5], Operations: ['72/8=9', '14-9=5']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
94,
96,
48,
67
] | 10 | [
"94+96=190",
"67-48=19",
"190/19=10"
] | Current State: 10:[94, 96, 48, 67], Operations: []
Exploring Operation: 94+96=190, Resulting Numbers: [48, 67, 190]
Generated Node #2: [48, 67, 190] from Operation: 94+96=190
Current State: 10:[48, 67, 190], Operations: ['94+96=190']
Exploring Operation: 67-48=19, Resulting Numbers: [190, 19]
Generated Node #3: [190, 19] from Operation: 67-48=19
Current State: 10:[190, 19], Operations: ['94+96=190', '67-48=19']
Exploring Operation: 190/19=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[94, 96, 48, 67], Operations: []
Exploring Operation: 96-94=2, Resulting Numbers: [48, 67, 2]
Generated Node #0,0: 10:[48, 67, 2] Operation: 96-94=2
Exploring Operation: 94-67=27, Resulting Numbers: [96, 48, 27]
Generated Node #0,1: 10:[96, 48, 27] Operation: 94-67=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[48, 67, 2], Operations: ['96-94=2']
Exploring Operation: 67-48=19, Resulting Numbers: [2, 19]
Generated Node #0,0,0: 10:[2, 19] Operation: 67-48=19
Exploring Operation: 48/2=24, Resulting Numbers: [67, 24]
Generated Node #0,0,1: 10:[67, 24] Operation: 48/2=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[2, 19], Operations: ['96-94=2', '67-48=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,10 unequal: No Solution
No 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: 10:[67, 24], Operations: ['96-94=2', '48/2=24']
Exploring Operation: 67+24=91, Resulting Numbers: [91]
91,10 unequal: No Solution
Exploring Operation: 67-24=43, Resulting Numbers: [43]
43,10 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: 10:[96, 48, 27], Operations: ['94-67=27']
Exploring Operation: 96/48=2, Resulting Numbers: [27, 2]
Generated Node #0,1,0: 10:[27, 2] Operation: 96/48=2
Exploring Operation: 96-48=48, Resulting Numbers: [27, 48]
Generated Node #0,1,1: 10:[27, 48] Operation: 96-48=48
Moving to Node #0,1,0
Current State: 10:[27, 2], Operations: ['94-67=27', '96/48=2']
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[27, 48], Operations: ['94-67=27', '96-48=48']
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 27+48=75, Resulting Numbers: [75]
75,10 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 |
[
54,
73,
71,
2
] | 88 | [
"73-54=19",
"71-2=69",
"19+69=88"
] | Current State: 88:[54, 73, 71, 2], Operations: []
Exploring Operation: 73-54=19, Resulting Numbers: [71, 2, 19]
Generated Node #2: [71, 2, 19] from Operation: 73-54=19
Current State: 88:[71, 2, 19], Operations: ['73-54=19']
Exploring Operation: 71-2=69, Resulting Numbers: [19, 69]
Generated Node #3: [19, 69] from Operation: 71-2=69
Current State: 88:[19, 69], Operations: ['73-54=19', '71-2=69']
Exploring Operation: 19+69=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[54, 73, 71, 2], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [54, 2, 2]
Generated Node #0,0: 88:[54, 2, 2] Operation: 73-71=2
Moving to Node #0,0
Current State: 88:[54, 2, 2], Operations: ['73-71=2']
Exploring Operation: 54/2=27, Resulting Numbers: [2, 27]
Generated Node #0,0,0: 88:[2, 27] Operation: 54/2=27
Moving to Node #0,0,0
Current State: 88:[2, 27], Operations: ['73-71=2', '54/2=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,88 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
4,
96,
29,
65
] | 70 | [
"96/4=24",
"29+65=94",
"94-24=70"
] | Current State: 70:[4, 96, 29, 65], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [29, 65, 24]
Generated Node #2: [29, 65, 24] from Operation: 96/4=24
Current State: 70:[29, 65, 24], Operations: ['96/4=24']
Exploring Operation: 29+65=94, Resulting Numbers: [24, 94]
Generated Node #3: [24, 94] from Operation: 29+65=94
Current State: 70:[24, 94], Operations: ['96/4=24', '29+65=94']
Exploring Operation: 94-24=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[4, 96, 29, 65], Operations: []
Exploring Operation: 96-29=67, Resulting Numbers: [4, 65, 67]
Generated Node #0,0: 70:[4, 65, 67] Operation: 96-29=67
Exploring Operation: 96-65=31, Resulting Numbers: [4, 29, 31]
Generated Node #0,1: 70:[4, 29, 31] Operation: 96-65=31
Exploring Operation: 65-29=36, Resulting Numbers: [4, 96, 36]
Generated Node #0,2: 70:[4, 96, 36] Operation: 65-29=36
Exploring Operation: 96/4=24, Resulting Numbers: [29, 65, 24]
Generated Node #0,3: 70:[29, 65, 24] Operation: 96/4=24
Moving to Node #0,0
Current State: 70:[4, 65, 67], Operations: ['96-29=67']
Exploring Operation: 4+67=71, Resulting Numbers: [65, 71]
Generated Node #0,0,0: 70:[65, 71] Operation: 4+67=71
Exploring Operation: 67-65=2, Resulting Numbers: [4, 2]
Generated Node #0,0,1: 70:[4, 2] Operation: 67-65=2
Exploring Operation: 4+65=69, Resulting Numbers: [67, 69]
Generated Node #0,0,2: 70:[67, 69] Operation: 4+65=69
Exploring Operation: 65-4=61, Resulting Numbers: [67, 61]
Generated Node #0,0,3: 70:[67, 61] Operation: 65-4=61
Moving to Node #0,1
Current State: 70:[4, 29, 31], Operations: ['96-65=31']
Exploring Operation: 31-29=2, Resulting Numbers: [4, 2]
Generated Node #0,1,0: 70:[4, 2] Operation: 31-29=2
Exploring Operation: 29+31=60, Resulting Numbers: [4, 60]
Generated Node #0,1,1: 70:[4, 60] Operation: 29+31=60
Exploring Operation: 4+31=35, Resulting Numbers: [29, 35]
Generated Node #0,1,2: 70:[29, 35] Operation: 4+31=35
Exploring Operation: 4+29=33, Resulting Numbers: [31, 33]
Generated Node #0,1,3: 70:[31, 33] Operation: 4+29=33
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[4, 2], Operations: ['96-65=31', '31-29=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,70 unequal: No Solution
No 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: 70:[29, 35], Operations: ['96-65=31', '4+31=35']
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,70 unequal: No Solution
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,70 unequal: No Solution
No 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: 70:[31, 33], Operations: ['96-65=31', '4+29=33']
Exploring Operation: 31*33=1023, Resulting Numbers: [1023]
1023,70 unequal: No Solution
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,70 unequal: No Solution
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,70 unequal: No Solution
No 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: 70:[4, 60], Operations: ['96-65=31', '29+31=60']
Exploring Operation: 4*60=240, Resulting Numbers: [240]
240,70 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,70 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,70 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: 70:[29, 65, 24], Operations: ['96/4=24']
Exploring Operation: 65-29=36, Resulting Numbers: [24, 36]
Generated Node #0,3,0: 70:[24, 36] Operation: 65-29=36
Exploring Operation: 29-24=5, Resulting Numbers: [65, 5]
Generated Node #0,3,1: 70:[65, 5] Operation: 29-24=5
Exploring Operation: 65-24=41, Resulting Numbers: [29, 41]
Generated Node #0,3,2: 70:[29, 41] Operation: 65-24=41
Exploring Operation: 29+24=53, Resulting Numbers: [65, 53]
Generated Node #0,3,3: 70:[65, 53] Operation: 29+24=53
Moving to Node #0,2
Current State: 70:[4, 96, 36], Operations: ['65-29=36']
Exploring Operation: 36/4=9, Resulting Numbers: [96, 9]
Generated Node #0,2,0: 70:[96, 9] Operation: 36/4=9
Exploring Operation: 96-36=60, Resulting Numbers: [4, 60]
Generated Node #0,2,1: 70:[4, 60] Operation: 96-36=60
Exploring Operation: 96-4=92, Resulting Numbers: [36, 92]
Generated Node #0,2,2: 70:[36, 92] Operation: 96-4=92
Exploring Operation: 96/4=24, Resulting Numbers: [36, 24]
Generated Node #0,2,3: 70:[36, 24] Operation: 96/4=24
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[4, 60], Operations: ['65-29=36', '96-36=60']
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,70 unequal: No Solution
Exploring Operation: 4*60=240, Resulting Numbers: [240]
240,70 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,70 unequal: No Solution
No 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: 70:[36, 24], Operations: ['65-29=36', '96/4=24']
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,70 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 36*24=864, Resulting Numbers: [864]
864,70 unequal: No Solution
No 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: 70:[36, 92], Operations: ['65-29=36', '96-4=92']
Exploring Operation: 36+92=128, Resulting Numbers: [128]
128,70 unequal: No Solution
Exploring Operation: 92-36=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 36*92=3312, Resulting Numbers: [3312]
3312,70 unequal: No Solution
No 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: 70:[96, 9], Operations: ['65-29=36', '36/4=9']
Exploring Operation: 96-9=87, Resulting Numbers: [87]
87,70 unequal: No Solution
Exploring Operation: 96*9=864, Resulting Numbers: [864]
864,70 unequal: No Solution
Exploring Operation: 96+9=105, Resulting Numbers: [105]
105,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 70:[4, 2], Operations: ['96-29=67', '67-65=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[67, 69], Operations: ['96-29=67', '4+65=69']
Exploring Operation: 67+69=136, Resulting Numbers: [136]
136,70 unequal: No Solution
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 67*69=4623, Resulting Numbers: [4623]
4623,70 unequal: No Solution
Moving to Node #0,3,1
Current State: 70:[65, 5], Operations: ['96/4=24', '29-24=5']
Exploring Operation: 65*5=325, Resulting Numbers: [325]
325,70 unequal: No Solution
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,70 unequal: No Solution
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[4, 96, 29, 65], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [29, 65, 24]
Generated Node #0,3: 70:[29, 65, 24] Operation: 96/4=24
Moving to Node #0,3
Current State: 70:[29, 65, 24], Operations: ['96/4=24']
Exploring Operation: 29-24=5, Resulting Numbers: [65, 5]
Generated Node #0,3,1: 70:[65, 5] Operation: 29-24=5
Moving to Node #0,3,1
Current State: 70:[65, 5], Operations: ['96/4=24', '29-24=5']
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.946181 | hs_4 | sum_heuristic |
[
18,
20,
32,
92
] | 22 | [
"18+20=38",
"92-32=60",
"60-38=22"
] | Current State: 22:[18, 20, 32, 92], Operations: []
Exploring Operation: 18+20=38, Resulting Numbers: [32, 92, 38]
Generated Node #2: [32, 92, 38] from Operation: 18+20=38
Current State: 22:[32, 92, 38], Operations: ['18+20=38']
Exploring Operation: 92-32=60, Resulting Numbers: [38, 60]
Generated Node #3: [38, 60] from Operation: 92-32=60
Current State: 22:[38, 60], Operations: ['18+20=38', '92-32=60']
Exploring Operation: 60-38=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[18, 20, 32, 92], Operations: []
Exploring Operation: 92-20=72, Resulting Numbers: [18, 32, 72]
Generated Node #0,0: 22:[18, 32, 72] Operation: 92-20=72
Exploring Operation: 92-32=60, Resulting Numbers: [18, 20, 60]
Generated Node #0,1: 22:[18, 20, 60] Operation: 92-32=60
Exploring Operation: 32-18=14, Resulting Numbers: [20, 92, 14]
Generated Node #0,2: 22:[20, 92, 14] Operation: 32-18=14
Exploring Operation: 92-18=74, Resulting Numbers: [20, 32, 74]
Generated Node #0,3: 22:[20, 32, 74] Operation: 92-18=74
Exploring Operation: 32-20=12, Resulting Numbers: [18, 92, 12]
Generated Node #0,4: 22:[18, 92, 12] Operation: 32-20=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[18, 20, 60], Operations: ['92-32=60']
Exploring Operation: 18+20=38, Resulting Numbers: [60, 38]
Generated Node #0,1,0: 22:[60, 38] Operation: 18+20=38
Exploring Operation: 60-20=40, Resulting Numbers: [18, 40]
Generated Node #0,1,1: 22:[18, 40] Operation: 60-20=40
Exploring Operation: 60/20=3, Resulting Numbers: [18, 3]
Generated Node #0,1,2: 22:[18, 3] Operation: 60/20=3
Exploring Operation: 20-18=2, Resulting Numbers: [60, 2]
Generated Node #0,1,3: 22:[60, 2] Operation: 20-18=2
Exploring Operation: 60-18=42, Resulting Numbers: [20, 42]
Generated Node #0,1,4: 22:[20, 42] Operation: 60-18=42
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 22:[18, 3], Operations: ['92-32=60', '60/20=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,22 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,22 unequal: No Solution
No 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: 22:[18, 40], Operations: ['92-32=60', '60-20=40']
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[18, 20, 32, 92], Operations: []
Exploring Operation: 92-32=60, Resulting Numbers: [18, 20, 60]
Generated Node #0,1: 22:[18, 20, 60] Operation: 92-32=60
Moving to Node #0,1
Current State: 22:[18, 20, 60], Operations: ['92-32=60']
Exploring Operation: 60-20=40, Resulting Numbers: [18, 40]
Generated Node #0,1,1: 22:[18, 40] Operation: 60-20=40
Moving to Node #0,1,1
Current State: 22:[18, 40], Operations: ['92-32=60', '60-20=40']
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
2,
5,
39,
14
] | 21 | [
"14-2=12",
"5*12=60",
"60-39=21"
] | Current State: 21:[2, 5, 39, 14], Operations: []
Exploring Operation: 14-2=12, Resulting Numbers: [5, 39, 12]
Generated Node #2: [5, 39, 12] from Operation: 14-2=12
Current State: 21:[5, 39, 12], Operations: ['14-2=12']
Exploring Operation: 5*12=60, Resulting Numbers: [39, 60]
Generated Node #3: [39, 60] from Operation: 5*12=60
Current State: 21:[39, 60], Operations: ['14-2=12', '5*12=60']
Exploring Operation: 60-39=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[2, 5, 39, 14], Operations: []
Exploring Operation: 14/2=7, Resulting Numbers: [5, 39, 7]
Generated Node #0,0: 21:[5, 39, 7] Operation: 14/2=7
Exploring Operation: 39-14=25, Resulting Numbers: [2, 5, 25]
Generated Node #0,1: 21:[2, 5, 25] Operation: 39-14=25
Exploring Operation: 39-5=34, Resulting Numbers: [2, 14, 34]
Generated Node #0,2: 21:[2, 14, 34] Operation: 39-5=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[2, 5, 25], Operations: ['39-14=25']
Exploring Operation: 2+5=7, Resulting Numbers: [25, 7]
Generated Node #0,1,0: 21:[25, 7] Operation: 2+5=7
Exploring Operation: 25-5=20, Resulting Numbers: [2, 20]
Generated Node #0,1,1: 21:[2, 20] Operation: 25-5=20
Exploring Operation: 25/5=5, Resulting Numbers: [2, 5]
Generated Node #0,1,2: 21:[2, 5] Operation: 25/5=5
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[2, 20], Operations: ['39-14=25', '25-5=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 21:[2, 5], Operations: ['39-14=25', '25/5=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[25, 7], Operations: ['39-14=25', '2+5=7']
Exploring Operation: 25*7=175, Resulting Numbers: [175]
175,21 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[5, 39, 7], Operations: ['14/2=7']
Exploring Operation: 7-5=2, Resulting Numbers: [39, 2]
Generated Node #0,0,0: 21:[39, 2] Operation: 7-5=2
Exploring Operation: 39-5=34, Resulting Numbers: [7, 34]
Generated Node #0,0,1: 21:[7, 34] Operation: 39-5=34
Exploring Operation: 39-7=32, Resulting Numbers: [5, 32]
Generated Node #0,0,2: 21:[5, 32] Operation: 39-7=32
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[7, 34], Operations: ['14/2=7', '39-5=34']
Exploring Operation: 7+34=41, Resulting Numbers: [41]
41,21 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 7*34=238, Resulting Numbers: [238]
238,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[5, 32], Operations: ['14/2=7', '39-7=32']
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,21 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[39, 2], Operations: ['14/2=7', '7-5=2']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,21 unequal: No Solution
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[2, 14, 34], Operations: ['39-5=34']
Exploring Operation: 34/2=17, Resulting Numbers: [14, 17]
Generated Node #0,2,0: 21:[14, 17] Operation: 34/2=17
Exploring Operation: 34-14=20, Resulting Numbers: [2, 20]
Generated Node #0,2,1: 21:[2, 20] Operation: 34-14=20
Exploring Operation: 14/2=7, Resulting Numbers: [34, 7]
Generated Node #0,2,2: 21:[34, 7] Operation: 14/2=7
Moving to Node #0,2,1
Current State: 21:[2, 20], Operations: ['39-5=34', '34-14=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[14, 17], Operations: ['39-5=34', '34/2=17']
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,21 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[34, 7], Operations: ['39-5=34', '14/2=7']
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,21 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,21 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 |
[
85,
37,
7,
64
] | 65 | [
"85+37=122",
"64-7=57",
"122-57=65"
] | Current State: 65:[85, 37, 7, 64], Operations: []
Exploring Operation: 85+37=122, Resulting Numbers: [7, 64, 122]
Generated Node #2: [7, 64, 122] from Operation: 85+37=122
Current State: 65:[7, 64, 122], Operations: ['85+37=122']
Exploring Operation: 64-7=57, Resulting Numbers: [122, 57]
Generated Node #3: [122, 57] from Operation: 64-7=57
Current State: 65:[122, 57], Operations: ['85+37=122', '64-7=57']
Exploring Operation: 122-57=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[85, 37, 7, 64], Operations: []
Exploring Operation: 85-7=78, Resulting Numbers: [37, 64, 78]
Generated Node #0,0: 65:[37, 64, 78] Operation: 85-7=78
Exploring Operation: 85-64=21, Resulting Numbers: [37, 7, 21]
Generated Node #0,1: 65:[37, 7, 21] Operation: 85-64=21
Exploring Operation: 64-37=27, Resulting Numbers: [85, 7, 27]
Generated Node #0,2: 65:[85, 7, 27] Operation: 64-37=27
Exploring Operation: 37-7=30, Resulting Numbers: [85, 64, 30]
Generated Node #0,3: 65:[85, 64, 30] Operation: 37-7=30
Exploring Operation: 85-37=48, Resulting Numbers: [7, 64, 48]
Generated Node #0,4: 65:[7, 64, 48] Operation: 85-37=48
Moving to Node #0,4
Current State: 65:[7, 64, 48], Operations: ['85-37=48']
Exploring Operation: 7+64=71, Resulting Numbers: [48, 71]
Generated Node #0,4,0: 65:[48, 71] Operation: 7+64=71
Exploring Operation: 64-7=57, Resulting Numbers: [48, 57]
Generated Node #0,4,1: 65:[48, 57] Operation: 64-7=57
Exploring Operation: 64-48=16, Resulting Numbers: [7, 16]
Generated Node #0,4,2: 65:[7, 16] Operation: 64-48=16
Exploring Operation: 7+48=55, Resulting Numbers: [64, 55]
Generated Node #0,4,3: 65:[64, 55] Operation: 7+48=55
Exploring Operation: 48-7=41, Resulting Numbers: [64, 41]
Generated Node #0,4,4: 65:[64, 41] Operation: 48-7=41
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 65:[7, 16], Operations: ['85-37=48', '64-48=16']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,65 unequal: No Solution
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 65:[64, 55], Operations: ['85-37=48', '7+48=55']
Exploring Operation: 64*55=3520, Resulting Numbers: [3520]
3520,65 unequal: No Solution
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 64+55=119, Resulting Numbers: [119]
119,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 65:[48, 71], Operations: ['85-37=48', '7+64=71']
Exploring Operation: 48+71=119, Resulting Numbers: [119]
119,65 unequal: No Solution
Exploring Operation: 48*71=3408, Resulting Numbers: [3408]
3408,65 unequal: No Solution
Exploring Operation: 71-48=23, Resulting Numbers: [23]
23,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 65:[48, 57], Operations: ['85-37=48', '64-7=57']
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 48+57=105, Resulting Numbers: [105]
105,65 unequal: No Solution
Exploring Operation: 48*57=2736, Resulting Numbers: [2736]
2736,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 65:[64, 41], Operations: ['85-37=48', '48-7=41']
Exploring Operation: 64+41=105, Resulting Numbers: [105]
105,65 unequal: No Solution
Exploring Operation: 64*41=2624, Resulting Numbers: [2624]
2624,65 unequal: No Solution
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 65:[37, 7, 21], Operations: ['85-64=21']
Exploring Operation: 37+21=58, Resulting Numbers: [7, 58]
Generated Node #0,1,0: 65:[7, 58] Operation: 37+21=58
Exploring Operation: 21/7=3, Resulting Numbers: [37, 3]
Generated Node #0,1,1: 65:[37, 3] Operation: 21/7=3
Exploring Operation: 37-21=16, Resulting Numbers: [7, 16]
Generated Node #0,1,2: 65:[7, 16] Operation: 37-21=16
Exploring Operation: 21-7=14, Resulting Numbers: [37, 14]
Generated Node #0,1,3: 65:[37, 14] Operation: 21-7=14
Exploring Operation: 37-7=30, Resulting Numbers: [21, 30]
Generated Node #0,1,4: 65:[21, 30] Operation: 37-7=30
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[7, 16], Operations: ['85-64=21', '37-21=16']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,65 unequal: No Solution
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[7, 58], Operations: ['85-64=21', '37+21=58']
Exploring Operation: 7+58=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[85, 37, 7, 64], Operations: []
Exploring Operation: 85-64=21, Resulting Numbers: [37, 7, 21]
Generated Node #0,1: 65:[37, 7, 21] Operation: 85-64=21
Moving to Node #0,1
Current State: 65:[37, 7, 21], Operations: ['85-64=21']
Exploring Operation: 37+21=58, Resulting Numbers: [7, 58]
Generated Node #0,1,0: 65:[7, 58] Operation: 37+21=58
Moving to Node #0,1,0
Current State: 65:[7, 58], Operations: ['85-64=21', '37+21=58']
Exploring Operation: 7+58=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
26,
93,
95,
15
] | 28 | [
"95-93=2",
"26/2=13",
"15+13=28"
] | Current State: 28:[26, 93, 95, 15], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [26, 15, 2]
Generated Node #2: [26, 15, 2] from Operation: 95-93=2
Current State: 28:[26, 15, 2], Operations: ['95-93=2']
Exploring Operation: 26/2=13, Resulting Numbers: [15, 13]
Generated Node #3: [15, 13] from Operation: 26/2=13
Current State: 28:[15, 13], Operations: ['95-93=2', '26/2=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[26, 93, 95, 15], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [26, 15, 2]
Generated Node #0,0: 28:[26, 15, 2] Operation: 95-93=2
Exploring Operation: 93-26=67, Resulting Numbers: [95, 15, 67]
Generated Node #0,1: 28:[95, 15, 67] Operation: 93-26=67
Exploring Operation: 95-26=69, Resulting Numbers: [93, 15, 69]
Generated Node #0,2: 28:[93, 15, 69] Operation: 95-26=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[26, 15, 2], Operations: ['95-93=2']
Exploring Operation: 26-15=11, Resulting Numbers: [2, 11]
Generated Node #0,0,0: 28:[2, 11] Operation: 26-15=11
Exploring Operation: 26/2=13, Resulting Numbers: [15, 13]
Generated Node #0,0,1: 28:[15, 13] Operation: 26/2=13
Exploring Operation: 26+2=28, Resulting Numbers: [15, 28]
Generated Node #0,0,2: 28:[15, 28] Operation: 26+2=28
Moving to Node #0,0,2
Current State: 28:[15, 28], Operations: ['95-93=2', '26+2=28']
Exploring Operation: 15+28=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 15*28=420, Resulting Numbers: [420]
420,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[15, 13], Operations: ['95-93=2', '26/2=13']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[26, 93, 95, 15], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [26, 15, 2]
Generated Node #0,0: 28:[26, 15, 2] Operation: 95-93=2
Moving to Node #0,0
Current State: 28:[26, 15, 2], Operations: ['95-93=2']
Exploring Operation: 26/2=13, Resulting Numbers: [15, 13]
Generated Node #0,0,1: 28:[15, 13] Operation: 26/2=13
Moving to Node #0,0,1
Current State: 28:[15, 13], Operations: ['95-93=2', '26/2=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
3,
42,
77,
67
] | 49 | [
"42-3=39",
"77-67=10",
"39+10=49"
] | Current State: 49:[3, 42, 77, 67], Operations: []
Exploring Operation: 42-3=39, Resulting Numbers: [77, 67, 39]
Generated Node #2: [77, 67, 39] from Operation: 42-3=39
Current State: 49:[77, 67, 39], Operations: ['42-3=39']
Exploring Operation: 77-67=10, Resulting Numbers: [39, 10]
Generated Node #3: [39, 10] from Operation: 77-67=10
Current State: 49:[39, 10], Operations: ['42-3=39', '77-67=10']
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[3, 42, 77, 67], Operations: []
Exploring Operation: 3+42=45, Resulting Numbers: [77, 67, 45]
Generated Node #0,0: 49:[77, 67, 45] Operation: 3+42=45
Exploring Operation: 77-42=35, Resulting Numbers: [3, 67, 35]
Generated Node #0,1: 49:[3, 67, 35] Operation: 77-42=35
Exploring Operation: 77-67=10, Resulting Numbers: [3, 42, 10]
Generated Node #0,2: 49:[3, 42, 10] Operation: 77-67=10
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[3, 42, 10], Operations: ['77-67=10']
Exploring Operation: 10-3=7, Resulting Numbers: [42, 7]
Generated Node #0,2,0: 49:[42, 7] Operation: 10-3=7
Exploring Operation: 3+42=45, Resulting Numbers: [10, 45]
Generated Node #0,2,1: 49:[10, 45] Operation: 3+42=45
Exploring Operation: 42+10=52, Resulting Numbers: [3, 52]
Generated Node #0,2,2: 49:[3, 52] Operation: 42+10=52
Moving to Node #0,2,0
Current State: 49:[42, 7], Operations: ['77-67=10', '10-3=7']
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Exploring Operation: 42+7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[3, 42, 77, 67], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [3, 42, 10]
Generated Node #0,2: 49:[3, 42, 10] Operation: 77-67=10
Moving to Node #0,2
Current State: 49:[3, 42, 10], Operations: ['77-67=10']
Exploring Operation: 10-3=7, Resulting Numbers: [42, 7]
Generated Node #0,2,0: 49:[42, 7] Operation: 10-3=7
Moving to Node #0,2,0
Current State: 49:[42, 7], Operations: ['77-67=10', '10-3=7']
Exploring Operation: 42+7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
69,
71,
28,
75
] | 45 | [
"71-69=2",
"75-28=47",
"47-2=45"
] | Current State: 45:[69, 71, 28, 75], Operations: []
Exploring Operation: 71-69=2, Resulting Numbers: [28, 75, 2]
Generated Node #2: [28, 75, 2] from Operation: 71-69=2
Current State: 45:[28, 75, 2], Operations: ['71-69=2']
Exploring Operation: 75-28=47, Resulting Numbers: [2, 47]
Generated Node #3: [2, 47] from Operation: 75-28=47
Current State: 45:[2, 47], Operations: ['71-69=2', '75-28=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[69, 71, 28, 75], Operations: []
Exploring Operation: 75-71=4, Resulting Numbers: [69, 28, 4]
Generated Node #0,0: 45:[69, 28, 4] Operation: 75-71=4
Exploring Operation: 75-69=6, Resulting Numbers: [71, 28, 6]
Generated Node #0,1: 45:[71, 28, 6] Operation: 75-69=6
Exploring Operation: 71-69=2, Resulting Numbers: [28, 75, 2]
Generated Node #0,2: 45:[28, 75, 2] Operation: 71-69=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[69, 28, 4], Operations: ['75-71=4']
Exploring Operation: 28/4=7, Resulting Numbers: [69, 7]
Generated Node #0,0,0: 45:[69, 7] Operation: 28/4=7
Exploring Operation: 69-28=41, Resulting Numbers: [4, 41]
Generated Node #0,0,1: 45:[4, 41] Operation: 69-28=41
Exploring Operation: 69-4=65, Resulting Numbers: [28, 65]
Generated Node #0,0,2: 45:[28, 65] Operation: 69-4=65
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 45:[4, 41], Operations: ['75-71=4', '69-28=41']
Exploring Operation: 4*41=164, Resulting Numbers: [164]
164,45 unequal: No Solution
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[69, 71, 28, 75], Operations: []
Exploring Operation: 75-71=4, Resulting Numbers: [69, 28, 4]
Generated Node #0,0: 45:[69, 28, 4] Operation: 75-71=4
Moving to Node #0,0
Current State: 45:[69, 28, 4], Operations: ['75-71=4']
Exploring Operation: 69-28=41, Resulting Numbers: [4, 41]
Generated Node #0,0,1: 45:[4, 41] Operation: 69-28=41
Moving to Node #0,0,1
Current State: 45:[4, 41], Operations: ['75-71=4', '69-28=41']
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
11,
61,
76,
96
] | 30 | [
"61-11=50",
"96-76=20",
"50-20=30"
] | Current State: 30:[11, 61, 76, 96], Operations: []
Exploring Operation: 61-11=50, Resulting Numbers: [76, 96, 50]
Generated Node #2: [76, 96, 50] from Operation: 61-11=50
Current State: 30:[76, 96, 50], Operations: ['61-11=50']
Exploring Operation: 96-76=20, Resulting Numbers: [50, 20]
Generated Node #3: [50, 20] from Operation: 96-76=20
Current State: 30:[50, 20], Operations: ['61-11=50', '96-76=20']
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[11, 61, 76, 96], Operations: []
Exploring Operation: 76-61=15, Resulting Numbers: [11, 96, 15]
Generated Node #0,0: 30:[11, 96, 15] Operation: 76-61=15
Exploring Operation: 96-76=20, Resulting Numbers: [11, 61, 20]
Generated Node #0,1: 30:[11, 61, 20] Operation: 96-76=20
Exploring Operation: 96-61=35, Resulting Numbers: [11, 76, 35]
Generated Node #0,2: 30:[11, 76, 35] Operation: 96-61=35
Exploring Operation: 76-11=65, Resulting Numbers: [61, 96, 65]
Generated Node #0,3: 30:[61, 96, 65] Operation: 76-11=65
Exploring Operation: 61-11=50, Resulting Numbers: [76, 96, 50]
Generated Node #0,4: 30:[76, 96, 50] Operation: 61-11=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[11, 61, 20], Operations: ['96-76=20']
Exploring Operation: 61-20=41, Resulting Numbers: [11, 41]
Generated Node #0,1,0: 30:[11, 41] Operation: 61-20=41
Exploring Operation: 61-11=50, Resulting Numbers: [20, 50]
Generated Node #0,1,1: 30:[20, 50] Operation: 61-11=50
Exploring Operation: 11+20=31, Resulting Numbers: [61, 31]
Generated Node #0,1,2: 30:[61, 31] Operation: 11+20=31
Exploring Operation: 20-11=9, Resulting Numbers: [61, 9]
Generated Node #0,1,3: 30:[61, 9] Operation: 20-11=9
Exploring Operation: 11+61=72, Resulting Numbers: [20, 72]
Generated Node #0,1,4: 30:[20, 72] Operation: 11+61=72
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 30:[11, 41], Operations: ['96-76=20', '61-20=41']
Exploring Operation: 11+41=52, Resulting Numbers: [52]
52,30 unequal: No Solution
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[11, 61, 76, 96], Operations: []
Exploring Operation: 96-76=20, Resulting Numbers: [11, 61, 20]
Generated Node #0,1: 30:[11, 61, 20] Operation: 96-76=20
Moving to Node #0,1
Current State: 30:[11, 61, 20], Operations: ['96-76=20']
Exploring Operation: 61-20=41, Resulting Numbers: [11, 41]
Generated Node #0,1,0: 30:[11, 41] Operation: 61-20=41
Moving to Node #0,1,0
Current State: 30:[11, 41], Operations: ['96-76=20', '61-20=41']
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
52,
37,
68,
74
] | 53 | [
"52+37=89",
"68+74=142",
"142-89=53"
] | Current State: 53:[52, 37, 68, 74], Operations: []
Exploring Operation: 52+37=89, Resulting Numbers: [68, 74, 89]
Generated Node #2: [68, 74, 89] from Operation: 52+37=89
Current State: 53:[68, 74, 89], Operations: ['52+37=89']
Exploring Operation: 68+74=142, Resulting Numbers: [89, 142]
Generated Node #3: [89, 142] from Operation: 68+74=142
Current State: 53:[89, 142], Operations: ['52+37=89', '68+74=142']
Exploring Operation: 142-89=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[52, 37, 68, 74], Operations: []
Exploring Operation: 68-37=31, Resulting Numbers: [52, 74, 31]
Generated Node #0,0: 53:[52, 74, 31] Operation: 68-37=31
Exploring Operation: 74-37=37, Resulting Numbers: [52, 68, 37]
Generated Node #0,1: 53:[52, 68, 37] Operation: 74-37=37
Exploring Operation: 74-68=6, Resulting Numbers: [52, 37, 6]
Generated Node #0,2: 53:[52, 37, 6] Operation: 74-68=6
Exploring Operation: 74-52=22, Resulting Numbers: [37, 68, 22]
Generated Node #0,3: 53:[37, 68, 22] Operation: 74-52=22
Moving to Node #0,1
Current State: 53:[52, 68, 37], Operations: ['74-37=37']
Exploring Operation: 52+37=89, Resulting Numbers: [68, 89]
Generated Node #0,1,0: 53:[68, 89] Operation: 52+37=89
Exploring Operation: 68-52=16, Resulting Numbers: [37, 16]
Generated Node #0,1,1: 53:[37, 16] Operation: 68-52=16
Exploring Operation: 52-37=15, Resulting Numbers: [68, 15]
Generated Node #0,1,2: 53:[68, 15] Operation: 52-37=15
Exploring Operation: 68-37=31, Resulting Numbers: [52, 31]
Generated Node #0,1,3: 53:[52, 31] Operation: 68-37=31
Moving to Node #0,0
Current State: 53:[52, 74, 31], Operations: ['68-37=31']
Exploring Operation: 52+31=83, Resulting Numbers: [74, 83]
Generated Node #0,0,0: 53:[74, 83] Operation: 52+31=83
Exploring Operation: 52-31=21, Resulting Numbers: [74, 21]
Generated Node #0,0,1: 53:[74, 21] Operation: 52-31=21
Exploring Operation: 74-52=22, Resulting Numbers: [31, 22]
Generated Node #0,0,2: 53:[31, 22] Operation: 74-52=22
Exploring Operation: 74-31=43, Resulting Numbers: [52, 43]
Generated Node #0,0,3: 53:[52, 43] Operation: 74-31=43
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 53:[52, 43], Operations: ['68-37=31', '74-31=43']
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,53 unequal: No Solution
Exploring Operation: 52+43=95, Resulting Numbers: [95]
95,53 unequal: No Solution
Exploring Operation: 52*43=2236, Resulting Numbers: [2236]
2236,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[74, 83], Operations: ['68-37=31', '52+31=83']
Exploring Operation: 74+83=157, Resulting Numbers: [157]
157,53 unequal: No Solution
Exploring Operation: 83-74=9, Resulting Numbers: [9]
9,53 unequal: No Solution
Exploring Operation: 74*83=6142, Resulting Numbers: [6142]
6142,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:[74, 21], Operations: ['68-37=31', '52-31=21']
Exploring Operation: 74*21=1554, Resulting Numbers: [1554]
1554,53 unequal: No Solution
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[52, 37, 68, 74], Operations: []
Exploring Operation: 68-37=31, Resulting Numbers: [52, 74, 31]
Generated Node #0,0: 53:[52, 74, 31] Operation: 68-37=31
Moving to Node #0,0
Current State: 53:[52, 74, 31], Operations: ['68-37=31']
Exploring Operation: 52-31=21, Resulting Numbers: [74, 21]
Generated Node #0,0,1: 53:[74, 21] Operation: 52-31=21
Moving to Node #0,0,1
Current State: 53:[74, 21], Operations: ['68-37=31', '52-31=21']
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
33,
27,
82,
72
] | 85 | [
"27+72=99",
"99/33=3",
"82+3=85"
] | Current State: 85:[33, 27, 82, 72], Operations: []
Exploring Operation: 27+72=99, Resulting Numbers: [33, 82, 99]
Generated Node #2: [33, 82, 99] from Operation: 27+72=99
Current State: 85:[33, 82, 99], Operations: ['27+72=99']
Exploring Operation: 99/33=3, Resulting Numbers: [82, 3]
Generated Node #3: [82, 3] from Operation: 99/33=3
Current State: 85:[82, 3], Operations: ['27+72=99', '99/33=3']
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[33, 27, 82, 72], Operations: []
Exploring Operation: 27+72=99, Resulting Numbers: [33, 82, 99]
Generated Node #0,0: 85:[33, 82, 99] Operation: 27+72=99
Exploring Operation: 33-27=6, Resulting Numbers: [82, 72, 6]
Generated Node #0,1: 85:[82, 72, 6] Operation: 33-27=6
Exploring Operation: 82-72=10, Resulting Numbers: [33, 27, 10]
Generated Node #0,2: 85:[33, 27, 10] Operation: 82-72=10
Exploring Operation: 33+72=105, Resulting Numbers: [27, 82, 105]
Generated Node #0,3: 85:[27, 82, 105] Operation: 33+72=105
Moving to Node #0,1
Current State: 85:[82, 72, 6], Operations: ['33-27=6']
Exploring Operation: 72/6=12, Resulting Numbers: [82, 12]
Generated Node #0,1,0: 85:[82, 12] Operation: 72/6=12
Exploring Operation: 82-72=10, Resulting Numbers: [6, 10]
Generated Node #0,1,1: 85:[6, 10] Operation: 82-72=10
Exploring Operation: 82+6=88, Resulting Numbers: [72, 88]
Generated Node #0,1,2: 85:[72, 88] Operation: 82+6=88
Exploring Operation: 72+6=78, Resulting Numbers: [82, 78]
Generated Node #0,1,3: 85:[82, 78] Operation: 72+6=78
Moving to Node #0,2
Current State: 85:[33, 27, 10], Operations: ['82-72=10']
Exploring Operation: 33-27=6, Resulting Numbers: [10, 6]
Generated Node #0,2,0: 85:[10, 6] Operation: 33-27=6
Exploring Operation: 33-10=23, Resulting Numbers: [27, 23]
Generated Node #0,2,1: 85:[27, 23] Operation: 33-10=23
Exploring Operation: 33+27=60, Resulting Numbers: [10, 60]
Generated Node #0,2,2: 85:[10, 60] Operation: 33+27=60
Exploring Operation: 27-10=17, Resulting Numbers: [33, 17]
Generated Node #0,2,3: 85:[33, 17] Operation: 27-10=17
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[10, 6], Operations: ['82-72=10', '33-27=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,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,1
Current State: 85:[27, 23], Operations: ['82-72=10', '33-10=23']
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,85 unequal: No Solution
Exploring Operation: 27*23=621, Resulting Numbers: [621]
621,85 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,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:[33, 17], Operations: ['82-72=10', '27-10=17']
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 33*17=561, Resulting Numbers: [561]
561,85 unequal: No Solution
Exploring Operation: 33+17=50, Resulting Numbers: [50]
50,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:[10, 60], Operations: ['82-72=10', '33+27=60']
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,85 unequal: No Solution
Exploring Operation: 10*60=600, Resulting Numbers: [600]
600,85 unequal: No Solution
Exploring Operation: 10+60=70, Resulting Numbers: [70]
70,85 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: 85:[27, 82, 105], Operations: ['33+72=105']
Exploring Operation: 105-82=23, Resulting Numbers: [27, 23]
Generated Node #0,3,0: 85:[27, 23] Operation: 105-82=23
Exploring Operation: 82-27=55, Resulting Numbers: [105, 55]
Generated Node #0,3,1: 85:[105, 55] Operation: 82-27=55
Exploring Operation: 27+82=109, Resulting Numbers: [105, 109]
Generated Node #0,3,2: 85:[105, 109] Operation: 27+82=109
Exploring Operation: 105-27=78, Resulting Numbers: [82, 78]
Generated Node #0,3,3: 85:[82, 78] Operation: 105-27=78
Moving to Node #0,0
Current State: 85:[33, 82, 99], Operations: ['27+72=99']
Exploring Operation: 33+82=115, Resulting Numbers: [99, 115]
Generated Node #0,0,0: 85:[99, 115] Operation: 33+82=115
Exploring Operation: 99-33=66, Resulting Numbers: [82, 66]
Generated Node #0,0,1: 85:[82, 66] Operation: 99-33=66
Exploring Operation: 99-82=17, Resulting Numbers: [33, 17]
Generated Node #0,0,2: 85:[33, 17] Operation: 99-82=17
Exploring Operation: 99/33=3, Resulting Numbers: [82, 3]
Generated Node #0,0,3: 85:[82, 3] Operation: 99/33=3
Moving to Node #0,0,3
Current State: 85:[82, 3], Operations: ['27+72=99', '99/33=3']
Exploring Operation: 82*3=246, Resulting Numbers: [246]
246,85 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[33, 27, 82, 72], Operations: []
Exploring Operation: 27+72=99, Resulting Numbers: [33, 82, 99]
Generated Node #0,0: 85:[33, 82, 99] Operation: 27+72=99
Moving to Node #0,0
Current State: 85:[33, 82, 99], Operations: ['27+72=99']
Exploring Operation: 99/33=3, Resulting Numbers: [82, 3]
Generated Node #0,0,3: 85:[82, 3] Operation: 99/33=3
Moving to Node #0,0,3
Current State: 85:[82, 3], Operations: ['27+72=99', '99/33=3']
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.965278 | hs_4 | mult_heuristic |
[
18,
60,
26,
96
] | 48 | [
"26-18=8",
"96/8=12",
"60-12=48"
] | Current State: 48:[18, 60, 26, 96], Operations: []
Exploring Operation: 26-18=8, Resulting Numbers: [60, 96, 8]
Generated Node #2: [60, 96, 8] from Operation: 26-18=8
Current State: 48:[60, 96, 8], Operations: ['26-18=8']
Exploring Operation: 96/8=12, Resulting Numbers: [60, 12]
Generated Node #3: [60, 12] from Operation: 96/8=12
Current State: 48:[60, 12], Operations: ['26-18=8', '96/8=12']
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[18, 60, 26, 96], Operations: []
Exploring Operation: 96-60=36, Resulting Numbers: [18, 26, 36]
Generated Node #0,0: 48:[18, 26, 36] Operation: 96-60=36
Exploring Operation: 96-18=78, Resulting Numbers: [60, 26, 78]
Generated Node #0,1: 48:[60, 26, 78] Operation: 96-18=78
Exploring Operation: 96-26=70, Resulting Numbers: [18, 60, 70]
Generated Node #0,2: 48:[18, 60, 70] Operation: 96-26=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[18, 26, 36], Operations: ['96-60=36']
Exploring Operation: 36-26=10, Resulting Numbers: [18, 10]
Generated Node #0,0,0: 48:[18, 10] Operation: 36-26=10
Exploring Operation: 36/18=2, Resulting Numbers: [26, 2]
Generated Node #0,0,1: 48:[26, 2] Operation: 36/18=2
Exploring Operation: 36-18=18, Resulting Numbers: [26, 18]
Generated Node #0,0,2: 48:[26, 18] Operation: 36-18=18
Moving to Node #0,0,1
Current State: 48:[26, 2], Operations: ['96-60=36', '36/18=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[18, 10], Operations: ['96-60=36', '36-26=10']
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,48 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Moving to Node #0,0,2
Current State: 48:[26, 18], Operations: ['96-60=36', '36-18=18']
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,48 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 26*18=468, Resulting Numbers: [468]
468,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[18, 60, 70], Operations: ['96-26=70']
Exploring Operation: 70-60=10, Resulting Numbers: [18, 10]
Generated Node #0,2,0: 48:[18, 10] Operation: 70-60=10
Exploring Operation: 70-18=52, Resulting Numbers: [60, 52]
Generated Node #0,2,1: 48:[60, 52] Operation: 70-18=52
Exploring Operation: 60-18=42, Resulting Numbers: [70, 42]
Generated Node #0,2,2: 48:[70, 42] Operation: 60-18=42
Moving to Node #0,2,0
Current State: 48:[18, 10], Operations: ['96-26=70', '70-60=10']
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,48 unequal: No Solution
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[60, 52], Operations: ['96-26=70', '70-18=52']
Exploring Operation: 60-52=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 60*52=3120, Resulting Numbers: [3120]
3120,48 unequal: No Solution
Exploring Operation: 60+52=112, Resulting Numbers: [112]
112,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[70, 42], Operations: ['96-26=70', '60-18=42']
Exploring Operation: 70*42=2940, Resulting Numbers: [2940]
2940,48 unequal: No Solution
Exploring Operation: 70+42=112, Resulting Numbers: [112]
112,48 unequal: No Solution
Exploring Operation: 70-42=28, Resulting Numbers: [28]
28,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[60, 26, 78], Operations: ['96-18=78']
Exploring Operation: 78/26=3, Resulting Numbers: [60, 3]
Generated Node #0,1,0: 48:[60, 3] Operation: 78/26=3
Exploring Operation: 78-26=52, Resulting Numbers: [60, 52]
Generated Node #0,1,1: 48:[60, 52] Operation: 78-26=52
Exploring Operation: 78-60=18, Resulting Numbers: [26, 18]
Generated Node #0,1,2: 48:[26, 18] Operation: 78-60=18
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 48:[26, 18], Operations: ['96-18=78', '78-60=18']
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,48 unequal: No Solution
Exploring Operation: 26*18=468, Resulting Numbers: [468]
468,48 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,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:[60, 3], Operations: ['96-18=78', '78/26=3']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,48 unequal: No Solution
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,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,1
Current State: 48:[60, 52], Operations: ['96-18=78', '78-26=52']
Exploring Operation: 60*52=3120, Resulting Numbers: [3120]
3120,48 unequal: No Solution
Exploring Operation: 60-52=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 60+52=112, Resulting Numbers: [112]
112,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
11,
31,
32,
29
] | 45 | [
"11+31=42",
"32-29=3",
"42+3=45"
] | Current State: 45:[11, 31, 32, 29], Operations: []
Exploring Operation: 11+31=42, Resulting Numbers: [32, 29, 42]
Generated Node #2: [32, 29, 42] from Operation: 11+31=42
Current State: 45:[32, 29, 42], Operations: ['11+31=42']
Exploring Operation: 32-29=3, Resulting Numbers: [42, 3]
Generated Node #3: [42, 3] from Operation: 32-29=3
Current State: 45:[42, 3], Operations: ['11+31=42', '32-29=3']
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[11, 31, 32, 29], Operations: []
Exploring Operation: 32-31=1, Resulting Numbers: [11, 29, 1]
Generated Node #0,0: 45:[11, 29, 1] Operation: 32-31=1
Exploring Operation: 32-29=3, Resulting Numbers: [11, 31, 3]
Generated Node #0,1: 45:[11, 31, 3] Operation: 32-29=3
Exploring Operation: 31-29=2, Resulting Numbers: [11, 32, 2]
Generated Node #0,2: 45:[11, 32, 2] Operation: 31-29=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[11, 31, 3], Operations: ['32-29=3']
Exploring Operation: 11+31=42, Resulting Numbers: [3, 42]
Generated Node #0,1,0: 45:[3, 42] Operation: 11+31=42
Exploring Operation: 31+3=34, Resulting Numbers: [11, 34]
Generated Node #0,1,1: 45:[11, 34] Operation: 31+3=34
Exploring Operation: 31-11=20, Resulting Numbers: [3, 20]
Generated Node #0,1,2: 45:[3, 20] Operation: 31-11=20
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 45:[3, 42], Operations: ['32-29=3', '11+31=42']
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[11, 31, 32, 29], Operations: []
Exploring Operation: 32-29=3, Resulting Numbers: [11, 31, 3]
Generated Node #0,1: 45:[11, 31, 3] Operation: 32-29=3
Moving to Node #0,1
Current State: 45:[11, 31, 3], Operations: ['32-29=3']
Exploring Operation: 11+31=42, Resulting Numbers: [3, 42]
Generated Node #0,1,0: 45:[3, 42] Operation: 11+31=42
Moving to Node #0,1,0
Current State: 45:[3, 42], Operations: ['32-29=3', '11+31=42']
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
96,
2,
77,
21
] | 61 | [
"96-77=19",
"2*21=42",
"19+42=61"
] | Current State: 61:[96, 2, 77, 21], Operations: []
Exploring Operation: 96-77=19, Resulting Numbers: [2, 21, 19]
Generated Node #2: [2, 21, 19] from Operation: 96-77=19
Current State: 61:[2, 21, 19], Operations: ['96-77=19']
Exploring Operation: 2*21=42, Resulting Numbers: [19, 42]
Generated Node #3: [19, 42] from Operation: 2*21=42
Current State: 61:[19, 42], Operations: ['96-77=19', '2*21=42']
Exploring Operation: 19+42=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[96, 2, 77, 21], Operations: []
Exploring Operation: 96-21=75, Resulting Numbers: [2, 77, 75]
Generated Node #0,0: 61:[2, 77, 75] Operation: 96-21=75
Exploring Operation: 96-2=94, Resulting Numbers: [77, 21, 94]
Generated Node #0,1: 61:[77, 21, 94] Operation: 96-2=94
Exploring Operation: 2*21=42, Resulting Numbers: [96, 77, 42]
Generated Node #0,2: 61:[96, 77, 42] Operation: 2*21=42
Exploring Operation: 96/2=48, Resulting Numbers: [77, 21, 48]
Generated Node #0,3: 61:[77, 21, 48] Operation: 96/2=48
Start Sub Search at level 1: Moving to Node #0,3
Current State: 61:[77, 21, 48], Operations: ['96/2=48']
Exploring Operation: 77-21=56, Resulting Numbers: [48, 56]
Generated Node #0,3,0: 61:[48, 56] Operation: 77-21=56
Exploring Operation: 48-21=27, Resulting Numbers: [77, 27]
Generated Node #0,3,1: 61:[77, 27] Operation: 48-21=27
Exploring Operation: 21+48=69, Resulting Numbers: [77, 69]
Generated Node #0,3,2: 61:[77, 69] Operation: 21+48=69
Exploring Operation: 77+21=98, Resulting Numbers: [48, 98]
Generated Node #0,3,3: 61:[48, 98] Operation: 77+21=98
Moving to Node #0,3,0
Current State: 61:[48, 56], Operations: ['96/2=48', '77-21=56']
Exploring Operation: 48*56=2688, Resulting Numbers: [2688]
2688,61 unequal: No Solution
Exploring Operation: 48+56=104, Resulting Numbers: [104]
104,61 unequal: No Solution
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[77, 69], Operations: ['96/2=48', '21+48=69']
Exploring Operation: 77-69=8, Resulting Numbers: [8]
8,61 unequal: No Solution
Exploring Operation: 77+69=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 77*69=5313, Resulting Numbers: [5313]
5313,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[48, 98], Operations: ['96/2=48', '77+21=98']
Exploring Operation: 48*98=4704, Resulting Numbers: [4704]
4704,61 unequal: No Solution
Exploring Operation: 48+98=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 98-48=50, Resulting Numbers: [50]
50,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[77, 27], Operations: ['96/2=48', '48-21=27']
Exploring Operation: 77+27=104, Resulting Numbers: [104]
104,61 unequal: No Solution
Exploring Operation: 77*27=2079, Resulting Numbers: [2079]
2079,61 unequal: No Solution
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[96, 77, 42], Operations: ['2*21=42']
Exploring Operation: 96+42=138, Resulting Numbers: [77, 138]
Generated Node #0,2,0: 61:[77, 138] Operation: 96+42=138
Exploring Operation: 77-42=35, Resulting Numbers: [96, 35]
Generated Node #0,2,1: 61:[96, 35] Operation: 77-42=35
Exploring Operation: 96-42=54, Resulting Numbers: [77, 54]
Generated Node #0,2,2: 61:[77, 54] Operation: 96-42=54
Exploring Operation: 96-77=19, Resulting Numbers: [42, 19]
Generated Node #0,2,3: 61:[42, 19] Operation: 96-77=19
Moving to Node #0,2,2
Current State: 61:[77, 54], Operations: ['2*21=42', '96-42=54']
Exploring Operation: 77*54=4158, Resulting Numbers: [4158]
4158,61 unequal: No Solution
Exploring Operation: 77-54=23, Resulting Numbers: [23]
23,61 unequal: No Solution
Exploring Operation: 77+54=131, Resulting Numbers: [131]
131,61 unequal: No Solution
Moving to Node #0,2,3
Current State: 61:[42, 19], Operations: ['2*21=42', '96-77=19']
Exploring Operation: 42+19=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[96, 2, 77, 21], Operations: []
Exploring Operation: 2*21=42, Resulting Numbers: [96, 77, 42]
Generated Node #0,2: 61:[96, 77, 42] Operation: 2*21=42
Moving to Node #0,2
Current State: 61:[96, 77, 42], Operations: ['2*21=42']
Exploring Operation: 96-77=19, Resulting Numbers: [42, 19]
Generated Node #0,2,3: 61:[42, 19] Operation: 96-77=19
Moving to Node #0,2,3
Current State: 61:[42, 19], Operations: ['2*21=42', '96-77=19']
Exploring Operation: 42+19=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
49,
40,
71,
94
] | 76 | [
"49+40=89",
"71+94=165",
"165-89=76"
] | Current State: 76:[49, 40, 71, 94], Operations: []
Exploring Operation: 49+40=89, Resulting Numbers: [71, 94, 89]
Generated Node #2: [71, 94, 89] from Operation: 49+40=89
Current State: 76:[71, 94, 89], Operations: ['49+40=89']
Exploring Operation: 71+94=165, Resulting Numbers: [89, 165]
Generated Node #3: [89, 165] from Operation: 71+94=165
Current State: 76:[89, 165], Operations: ['49+40=89', '71+94=165']
Exploring Operation: 165-89=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[49, 40, 71, 94], Operations: []
Exploring Operation: 94-49=45, Resulting Numbers: [40, 71, 45]
Generated Node #0,0: 76:[40, 71, 45] Operation: 94-49=45
Exploring Operation: 71-49=22, Resulting Numbers: [40, 94, 22]
Generated Node #0,1: 76:[40, 94, 22] Operation: 71-49=22
Exploring Operation: 94-71=23, Resulting Numbers: [49, 40, 23]
Generated Node #0,2: 76:[49, 40, 23] Operation: 94-71=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[40, 71, 45], Operations: ['94-49=45']
Exploring Operation: 71-45=26, Resulting Numbers: [40, 26]
Generated Node #0,0,0: 76:[40, 26] Operation: 71-45=26
Exploring Operation: 71-40=31, Resulting Numbers: [45, 31]
Generated Node #0,0,1: 76:[45, 31] Operation: 71-40=31
Exploring Operation: 45-40=5, Resulting Numbers: [71, 5]
Generated Node #0,0,2: 76:[71, 5] Operation: 45-40=5
Moving to Node #0,0,2
Current State: 76:[71, 5], Operations: ['94-49=45', '45-40=5']
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,76 unequal: No Solution
Exploring Operation: 71*5=355, Resulting Numbers: [355]
355,76 unequal: No Solution
Exploring Operation: 71+5=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[49, 40, 71, 94], Operations: []
Exploring Operation: 94-49=45, Resulting Numbers: [40, 71, 45]
Generated Node #0,0: 76:[40, 71, 45] Operation: 94-49=45
Moving to Node #0,0
Current State: 76:[40, 71, 45], Operations: ['94-49=45']
Exploring Operation: 45-40=5, Resulting Numbers: [71, 5]
Generated Node #0,0,2: 76:[71, 5] Operation: 45-40=5
Moving to Node #0,0,2
Current State: 76:[71, 5], Operations: ['94-49=45', '45-40=5']
Exploring Operation: 71+5=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
4,
25,
31,
25
] | 26 | [
"31-4=27",
"25/25=1",
"27-1=26"
] | Current State: 26:[4, 25, 31, 25], Operations: []
Exploring Operation: 31-4=27, Resulting Numbers: [25, 25, 27]
Generated Node #2: [25, 25, 27] from Operation: 31-4=27
Current State: 26:[25, 25, 27], Operations: ['31-4=27']
Exploring Operation: 25/25=1, Resulting Numbers: [27, 1]
Generated Node #3: [27, 1] from Operation: 25/25=1
Current State: 26:[27, 1], Operations: ['31-4=27', '25/25=1']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[4, 25, 31, 25], Operations: []
Exploring Operation: 31-4=27, Resulting Numbers: [25, 25, 27]
Generated Node #0,0: 26:[25, 25, 27] Operation: 31-4=27
Exploring Operation: 31-25=6, Resulting Numbers: [4, 25, 6]
Generated Node #0,1: 26:[4, 25, 6] Operation: 31-25=6
Exploring Operation: 25/25=1, Resulting Numbers: [4, 31, 1]
Generated Node #0,2: 26:[4, 31, 1] Operation: 25/25=1
Exploring Operation: 31-25=6, Resulting Numbers: [4, 25, 6]
Generated Node #0,3: 26:[4, 25, 6] Operation: 31-25=6
Moving to Node #0,0
Current State: 26:[25, 25, 27], Operations: ['31-4=27']
Exploring Operation: 27-25=2, Resulting Numbers: [25, 2]
Generated Node #0,0,0: 26:[25, 2] Operation: 27-25=2
Exploring Operation: 25-25=0, Resulting Numbers: [27, 0]
Generated Node #0,0,1: 26:[27, 0] Operation: 25-25=0
Exploring Operation: 27-25=2, Resulting Numbers: [25, 2]
Generated Node #0,0,2: 26:[25, 2] Operation: 27-25=2
Exploring Operation: 25/25=1, Resulting Numbers: [27, 1]
Generated Node #0,0,3: 26:[27, 1] Operation: 25/25=1
Moving to Node #0,3
Current State: 26:[4, 25, 6], Operations: ['31-25=6']
Exploring Operation: 4*6=24, Resulting Numbers: [25, 24]
Generated Node #0,3,0: 26:[25, 24] Operation: 4*6=24
Exploring Operation: 6-4=2, Resulting Numbers: [25, 2]
Generated Node #0,3,1: 26:[25, 2] Operation: 6-4=2
Exploring Operation: 4+6=10, Resulting Numbers: [25, 10]
Generated Node #0,3,2: 26:[25, 10] Operation: 4+6=10
Exploring Operation: 4+25=29, Resulting Numbers: [6, 29]
Generated Node #0,3,3: 26:[6, 29] Operation: 4+25=29
Moving to Node #0,1
Current State: 26:[4, 25, 6], Operations: ['31-25=6']
Exploring Operation: 6-4=2, Resulting Numbers: [25, 2]
Generated Node #0,1,0: 26:[25, 2] Operation: 6-4=2
Exploring Operation: 4*6=24, Resulting Numbers: [25, 24]
Generated Node #0,1,1: 26:[25, 24] Operation: 4*6=24
Exploring Operation: 4+6=10, Resulting Numbers: [25, 10]
Generated Node #0,1,2: 26:[25, 10] Operation: 4+6=10
Exploring Operation: 4+25=29, Resulting Numbers: [6, 29]
Generated Node #0,1,3: 26:[6, 29] Operation: 4+25=29
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[25, 2], Operations: ['31-25=6', '6-4=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,26 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,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,1,1
Current State: 26:[25, 24], Operations: ['31-25=6', '4*6=24']
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,26 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 26:[25, 10], Operations: ['31-25=6', '4+6=10']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 25*10=250, Resulting Numbers: [250]
250,26 unequal: No Solution
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,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,1,3
Current State: 26:[6, 29], Operations: ['31-25=6', '4+25=29']
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,26 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,26 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: 26:[4, 31, 1], Operations: ['25/25=1']
Exploring Operation: 4*1=4, Resulting Numbers: [31, 4]
Generated Node #0,2,0: 26:[31, 4] Operation: 4*1=4
Exploring Operation: 4-1=3, Resulting Numbers: [31, 3]
Generated Node #0,2,1: 26:[31, 3] Operation: 4-1=3
Exploring Operation: 31-1=30, Resulting Numbers: [4, 30]
Generated Node #0,2,2: 26:[4, 30] Operation: 31-1=30
Exploring Operation: 31-4=27, Resulting Numbers: [1, 27]
Generated Node #0,2,3: 26:[1, 27] Operation: 31-4=27
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 26:[1, 27], Operations: ['25/25=1', '31-4=27']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[4, 25, 31, 25], Operations: []
Exploring Operation: 25/25=1, Resulting Numbers: [4, 31, 1]
Generated Node #0,2: 26:[4, 31, 1] Operation: 25/25=1
Moving to Node #0,2
Current State: 26:[4, 31, 1], Operations: ['25/25=1']
Exploring Operation: 31-4=27, Resulting Numbers: [1, 27]
Generated Node #0,2,3: 26:[1, 27] Operation: 31-4=27
Moving to Node #0,2,3
Current State: 26:[1, 27], Operations: ['25/25=1', '31-4=27']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | mult_heuristic |
[
83,
87,
17,
3
] | 13 | [
"83+87=170",
"170/17=10",
"3+10=13"
] | Current State: 13:[83, 87, 17, 3], Operations: []
Exploring Operation: 83+87=170, Resulting Numbers: [17, 3, 170]
Generated Node #2: [17, 3, 170] from Operation: 83+87=170
Current State: 13:[17, 3, 170], Operations: ['83+87=170']
Exploring Operation: 170/17=10, Resulting Numbers: [3, 10]
Generated Node #3: [3, 10] from Operation: 170/17=10
Current State: 13:[3, 10], Operations: ['83+87=170', '170/17=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[83, 87, 17, 3], Operations: []
Exploring Operation: 83-17=66, Resulting Numbers: [87, 3, 66]
Generated Node #0,0: 13:[87, 3, 66] Operation: 83-17=66
Exploring Operation: 87-83=4, Resulting Numbers: [17, 3, 4]
Generated Node #0,1: 13:[17, 3, 4] Operation: 87-83=4
Exploring Operation: 87-17=70, Resulting Numbers: [83, 3, 70]
Generated Node #0,2: 13:[83, 3, 70] Operation: 87-17=70
Exploring Operation: 87/3=29, Resulting Numbers: [83, 17, 29]
Generated Node #0,3: 13:[83, 17, 29] Operation: 87/3=29
Moving to Node #0,1
Current State: 13:[17, 3, 4], Operations: ['87-83=4']
Exploring Operation: 3+4=7, Resulting Numbers: [17, 7]
Generated Node #0,1,0: 13:[17, 7] Operation: 3+4=7
Exploring Operation: 17-3=14, Resulting Numbers: [4, 14]
Generated Node #0,1,1: 13:[4, 14] Operation: 17-3=14
Exploring Operation: 17-4=13, Resulting Numbers: [3, 13]
Generated Node #0,1,2: 13:[3, 13] Operation: 17-4=13
Exploring Operation: 3*4=12, Resulting Numbers: [17, 12]
Generated Node #0,1,3: 13:[17, 12] Operation: 3*4=12
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 13:[17, 12], Operations: ['87-83=4', '3*4=12']
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,13 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,13 unequal: No Solution
Exploring Operation: 17-12=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:[17, 7], Operations: ['87-83=4', '3+4=7']
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,13 unequal: No Solution
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,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,1
Current State: 13:[4, 14], Operations: ['87-83=4', '17-3=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,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,2
Current State: 13:[3, 13], Operations: ['87-83=4', '17-4=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,13 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,13 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: 13:[83, 17, 29], Operations: ['87/3=29']
Exploring Operation: 83-29=54, Resulting Numbers: [17, 54]
Generated Node #0,3,0: 13:[17, 54] Operation: 83-29=54
Exploring Operation: 83+17=100, Resulting Numbers: [29, 100]
Generated Node #0,3,1: 13:[29, 100] Operation: 83+17=100
Exploring Operation: 29-17=12, Resulting Numbers: [83, 12]
Generated Node #0,3,2: 13:[83, 12] Operation: 29-17=12
Exploring Operation: 83-17=66, Resulting Numbers: [29, 66]
Generated Node #0,3,3: 13:[29, 66] Operation: 83-17=66
Moving to Node #0,2
Current State: 13:[83, 3, 70], Operations: ['87-17=70']
Exploring Operation: 83-70=13, Resulting Numbers: [3, 13]
Generated Node #0,2,0: 13:[3, 13] Operation: 83-70=13
Exploring Operation: 83-3=80, Resulting Numbers: [70, 80]
Generated Node #0,2,1: 13:[70, 80] Operation: 83-3=80
Exploring Operation: 70-3=67, Resulting Numbers: [83, 67]
Generated Node #0,2,2: 13:[83, 67] Operation: 70-3=67
Exploring Operation: 83+3=86, Resulting Numbers: [70, 86]
Generated Node #0,2,3: 13:[70, 86] Operation: 83+3=86
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 13:[3, 13], Operations: ['87-17=70', '83-70=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,13 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 13:[70, 80], Operations: ['87-17=70', '83-3=80']
Exploring Operation: 70+80=150, Resulting Numbers: [150]
150,13 unequal: No Solution
Exploring Operation: 70*80=5600, Resulting Numbers: [5600]
5600,13 unequal: No Solution
Exploring Operation: 80-70=10, Resulting Numbers: [10]
10,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 13:[83, 67], Operations: ['87-17=70', '70-3=67']
Exploring Operation: 83+67=150, Resulting Numbers: [150]
150,13 unequal: No Solution
Exploring Operation: 83-67=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 83*67=5561, Resulting Numbers: [5561]
5561,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 13:[70, 86], Operations: ['87-17=70', '83+3=86']
Exploring Operation: 70*86=6020, Resulting Numbers: [6020]
6020,13 unequal: No Solution
Exploring Operation: 70+86=156, Resulting Numbers: [156]
156,13 unequal: No Solution
Exploring Operation: 86-70=16, Resulting Numbers: [16]
16,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 13:[87, 3, 66], Operations: ['83-17=66']
Exploring Operation: 66/3=22, Resulting Numbers: [87, 22]
Generated Node #0,0,0: 13:[87, 22] Operation: 66/3=22
Exploring Operation: 87/3=29, Resulting Numbers: [66, 29]
Generated Node #0,0,1: 13:[66, 29] Operation: 87/3=29
Exploring Operation: 87-3=84, Resulting Numbers: [66, 84]
Generated Node #0,0,2: 13:[66, 84] Operation: 87-3=84
Exploring Operation: 87-66=21, Resulting Numbers: [3, 21]
Generated Node #0,0,3: 13:[3, 21] Operation: 87-66=21
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 13:[3, 21], Operations: ['83-17=66', '87-66=21']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,13 unequal: No Solution
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,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,0,1
Current State: 13:[66, 29], Operations: ['83-17=66', '87/3=29']
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 66+29=95, Resulting Numbers: [95]
95,13 unequal: No Solution
Exploring Operation: 66*29=1914, Resulting Numbers: [1914]
1914,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,0,0
Current State: 13:[87, 22], Operations: ['83-17=66', '66/3=22']
Exploring Operation: 87+22=109, Resulting Numbers: [109]
109,13 unequal: No Solution
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,13 unequal: No Solution
Exploring Operation: 87*22=1914, Resulting Numbers: [1914]
1914,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,0,2
Current State: 13:[66, 84], Operations: ['83-17=66', '87-3=84']
Exploring Operation: 66*84=5544, Resulting Numbers: [5544]
5544,13 unequal: No Solution
Exploring Operation: 66+84=150, Resulting Numbers: [150]
150,13 unequal: No Solution
Exploring Operation: 84-66=18, Resulting Numbers: [18]
18,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 13:[17, 54], Operations: ['87/3=29', '83-29=54']
Exploring Operation: 17+54=71, Resulting Numbers: [71]
71,13 unequal: No Solution
Exploring Operation: 17*54=918, Resulting Numbers: [918]
918,13 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Moving to Node #0,3,3
Current State: 13:[29, 66], Operations: ['87/3=29', '83-17=66']
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 29*66=1914, Resulting Numbers: [1914]
1914,13 unequal: No Solution
Exploring Operation: 29+66=95, Resulting Numbers: [95]
95,13 unequal: No Solution
Moving to Node #0,3,2
Current State: 13:[83, 12], Operations: ['87/3=29', '29-17=12']
Exploring Operation: 83+12=95, Resulting Numbers: [95]
95,13 unequal: No Solution
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,13 unequal: No Solution
Exploring Operation: 83*12=996, Resulting Numbers: [996]
996,13 unequal: No Solution
Moving to Node #0,3,1
Current State: 13:[29, 100], Operations: ['87/3=29', '83+17=100']
Exploring Operation: 100-29=71, Resulting Numbers: [71]
71,13 unequal: No Solution
Exploring Operation: 29+100=129, Resulting Numbers: [129]
129,13 unequal: No Solution
Exploring Operation: 29*100=2900, Resulting Numbers: [2900]
2900,13 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
9,
16,
47,
64
] | 34 | [
"47-9=38",
"64/16=4",
"38-4=34"
] | Current State: 34:[9, 16, 47, 64], Operations: []
Exploring Operation: 47-9=38, Resulting Numbers: [16, 64, 38]
Generated Node #2: [16, 64, 38] from Operation: 47-9=38
Current State: 34:[16, 64, 38], Operations: ['47-9=38']
Exploring Operation: 64/16=4, Resulting Numbers: [38, 4]
Generated Node #3: [38, 4] from Operation: 64/16=4
Current State: 34:[38, 4], Operations: ['47-9=38', '64/16=4']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[9, 16, 47, 64], Operations: []
Exploring Operation: 64-9=55, Resulting Numbers: [16, 47, 55]
Generated Node #0,0: 34:[16, 47, 55] Operation: 64-9=55
Exploring Operation: 47-9=38, Resulting Numbers: [16, 64, 38]
Generated Node #0,1: 34:[16, 64, 38] Operation: 47-9=38
Exploring Operation: 64/16=4, Resulting Numbers: [9, 47, 4]
Generated Node #0,2: 34:[9, 47, 4] Operation: 64/16=4
Exploring Operation: 64-16=48, Resulting Numbers: [9, 47, 48]
Generated Node #0,3: 34:[9, 47, 48] Operation: 64-16=48
Exploring Operation: 64-47=17, Resulting Numbers: [9, 16, 17]
Generated Node #0,4: 34:[9, 16, 17] Operation: 64-47=17
Moving to Node #0,4
Current State: 34:[9, 16, 17], Operations: ['64-47=17']
Exploring Operation: 16+17=33, Resulting Numbers: [9, 33]
Generated Node #0,4,0: 34:[9, 33] Operation: 16+17=33
Exploring Operation: 17-16=1, Resulting Numbers: [9, 1]
Generated Node #0,4,1: 34:[9, 1] Operation: 17-16=1
Exploring Operation: 9+16=25, Resulting Numbers: [17, 25]
Generated Node #0,4,2: 34:[17, 25] Operation: 9+16=25
Exploring Operation: 17-9=8, Resulting Numbers: [16, 8]
Generated Node #0,4,3: 34:[16, 8] Operation: 17-9=8
Exploring Operation: 16-9=7, Resulting Numbers: [17, 7]
Generated Node #0,4,4: 34:[17, 7] Operation: 16-9=7
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 34:[17, 7], Operations: ['64-47=17', '16-9=7']
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,34 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 34:[16, 8], Operations: ['64-47=17', '17-9=8']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,34 unequal: No Solution
Exploring Operation: 16*8=128, Resulting Numbers: [128]
128,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 34:[9, 33], Operations: ['64-47=17', '16+17=33']
Exploring Operation: 9+33=42, Resulting Numbers: [42]
42,34 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,34 unequal: No Solution
Exploring Operation: 9*33=297, Resulting Numbers: [297]
297,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 34:[9, 1], Operations: ['64-47=17', '17-16=1']
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 34:[17, 25], Operations: ['64-47=17', '9+16=25']
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,34 unequal: No Solution
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,34 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: 34:[9, 47, 4], Operations: ['64/16=4']
Exploring Operation: 9*4=36, Resulting Numbers: [47, 36]
Generated Node #0,2,0: 34:[47, 36] Operation: 9*4=36
Exploring Operation: 47-4=43, Resulting Numbers: [9, 43]
Generated Node #0,2,1: 34:[9, 43] Operation: 47-4=43
Exploring Operation: 9-4=5, Resulting Numbers: [47, 5]
Generated Node #0,2,2: 34:[47, 5] Operation: 9-4=5
Exploring Operation: 47-9=38, Resulting Numbers: [4, 38]
Generated Node #0,2,3: 34:[4, 38] Operation: 47-9=38
Exploring Operation: 9+4=13, Resulting Numbers: [47, 13]
Generated Node #0,2,4: 34:[47, 13] Operation: 9+4=13
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 34:[4, 38], Operations: ['64/16=4', '47-9=38']
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,34 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,34 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[9, 16, 47, 64], Operations: []
Exploring Operation: 64/16=4, Resulting Numbers: [9, 47, 4]
Generated Node #0,2: 34:[9, 47, 4] Operation: 64/16=4
Moving to Node #0,2
Current State: 34:[9, 47, 4], Operations: ['64/16=4']
Exploring Operation: 47-9=38, Resulting Numbers: [4, 38]
Generated Node #0,2,3: 34:[4, 38] Operation: 47-9=38
Moving to Node #0,2,3
Current State: 34:[4, 38], Operations: ['64/16=4', '47-9=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | mult_heuristic |
[
10,
60,
12,
37
] | 42 | [
"10+37=47",
"60/12=5",
"47-5=42"
] | Current State: 42:[10, 60, 12, 37], Operations: []
Exploring Operation: 10+37=47, Resulting Numbers: [60, 12, 47]
Generated Node #2: [60, 12, 47] from Operation: 10+37=47
Current State: 42:[60, 12, 47], Operations: ['10+37=47']
Exploring Operation: 60/12=5, Resulting Numbers: [47, 5]
Generated Node #3: [47, 5] from Operation: 60/12=5
Current State: 42:[47, 5], Operations: ['10+37=47', '60/12=5']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[10, 60, 12, 37], Operations: []
Exploring Operation: 60-37=23, Resulting Numbers: [10, 12, 23]
Generated Node #0,0: 42:[10, 12, 23] Operation: 60-37=23
Exploring Operation: 60-10=50, Resulting Numbers: [12, 37, 50]
Generated Node #0,1: 42:[12, 37, 50] Operation: 60-10=50
Exploring Operation: 60-12=48, Resulting Numbers: [10, 37, 48]
Generated Node #0,2: 42:[10, 37, 48] Operation: 60-12=48
Exploring Operation: 60/12=5, Resulting Numbers: [10, 37, 5]
Generated Node #0,3: 42:[10, 37, 5] Operation: 60/12=5
Exploring Operation: 60/10=6, Resulting Numbers: [12, 37, 6]
Generated Node #0,4: 42:[12, 37, 6] Operation: 60/10=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[10, 12, 23], Operations: ['60-37=23']
Exploring Operation: 10+12=22, Resulting Numbers: [23, 22]
Generated Node #0,0,0: 42:[23, 22] Operation: 10+12=22
Exploring Operation: 12+23=35, Resulting Numbers: [10, 35]
Generated Node #0,0,1: 42:[10, 35] Operation: 12+23=35
Exploring Operation: 23-12=11, Resulting Numbers: [10, 11]
Generated Node #0,0,2: 42:[10, 11] Operation: 23-12=11
Exploring Operation: 23-10=13, Resulting Numbers: [12, 13]
Generated Node #0,0,3: 42:[12, 13] Operation: 23-10=13
Exploring Operation: 12-10=2, Resulting Numbers: [23, 2]
Generated Node #0,0,4: 42:[23, 2] Operation: 12-10=2
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 42:[23, 2], Operations: ['60-37=23', '12-10=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,42 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[23, 22], Operations: ['60-37=23', '10+12=22']
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 42:[12, 13], Operations: ['60-37=23', '23-10=13']
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,42 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 42:[10, 11], Operations: ['60-37=23', '23-12=11']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,42 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 42:[10, 35], Operations: ['60-37=23', '12+23=35']
Exploring Operation: 10+35=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Exploring Operation: 10*35=350, Resulting Numbers: [350]
350,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 42:[12, 37, 6], Operations: ['60/10=6']
Exploring Operation: 12/6=2, Resulting Numbers: [37, 2]
Generated Node #0,4,0: 42:[37, 2] Operation: 12/6=2
Exploring Operation: 37-12=25, Resulting Numbers: [6, 25]
Generated Node #0,4,1: 42:[6, 25] Operation: 37-12=25
Exploring Operation: 12+37=49, Resulting Numbers: [6, 49]
Generated Node #0,4,2: 42:[6, 49] Operation: 12+37=49
Exploring Operation: 37+6=43, Resulting Numbers: [12, 43]
Generated Node #0,4,3: 42:[12, 43] Operation: 37+6=43
Exploring Operation: 12-6=6, Resulting Numbers: [37, 6]
Generated Node #0,4,4: 42:[37, 6] Operation: 12-6=6
Moving to Node #0,4,3
Current State: 42:[12, 43], Operations: ['60/10=6', '37+6=43']
Exploring Operation: 12*43=516, Resulting Numbers: [516]
516,42 unequal: No Solution
Exploring Operation: 12+43=55, Resulting Numbers: [55]
55,42 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,42 unequal: No Solution
Moving to Node #0,4,1
Current State: 42:[6, 25], Operations: ['60/10=6', '37-12=25']
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,42 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,42 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Moving to Node #0,4,0
Current State: 42:[37, 2], Operations: ['60/10=6', '12/6=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,42 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,42 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,42 unequal: No Solution
Moving to Node #0,4,4
Current State: 42:[37, 6], Operations: ['60/10=6', '12-6=6']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,42 unequal: No Solution
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 37*6=222, Resulting Numbers: [222]
222,42 unequal: No Solution
Moving to Node #0,4,2
Current State: 42:[6, 49], Operations: ['60/10=6', '12+37=49']
Exploring Operation: 6*49=294, Resulting Numbers: [294]
294,42 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 42:[10, 37, 5], Operations: ['60/12=5']
Exploring Operation: 10/5=2, Resulting Numbers: [37, 2]
Generated Node #0,3,0: 42:[37, 2] Operation: 10/5=2
Exploring Operation: 10-5=5, Resulting Numbers: [37, 5]
Generated Node #0,3,1: 42:[37, 5] Operation: 10-5=5
Exploring Operation: 10+5=15, Resulting Numbers: [37, 15]
Generated Node #0,3,2: 42:[37, 15] Operation: 10+5=15
Exploring Operation: 10+37=47, Resulting Numbers: [5, 47]
Generated Node #0,3,3: 42:[5, 47] Operation: 10+37=47
Exploring Operation: 37+5=42, Resulting Numbers: [10, 42]
Generated Node #0,3,4: 42:[10, 42] Operation: 37+5=42
Moving to Node #0,3,4
Current State: 42:[10, 42], Operations: ['60/12=5', '37+5=42']
Exploring Operation: 10+42=52, Resulting Numbers: [52]
52,42 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,42 unequal: No Solution
Exploring Operation: 10*42=420, Resulting Numbers: [420]
420,42 unequal: No Solution
Moving to Node #0,3,0
Current State: 42:[37, 2], Operations: ['60/12=5', '10/5=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,42 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,42 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,42 unequal: No Solution
Moving to Node #0,3,1
Current State: 42:[37, 5], Operations: ['60/12=5', '10-5=5']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,42 unequal: No Solution
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,42 unequal: No Solution
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[10, 60, 12, 37], Operations: []
Exploring Operation: 60/12=5, Resulting Numbers: [10, 37, 5]
Generated Node #0,3: 42:[10, 37, 5] Operation: 60/12=5
Moving to Node #0,3
Current State: 42:[10, 37, 5], Operations: ['60/12=5']
Exploring Operation: 10-5=5, Resulting Numbers: [37, 5]
Generated Node #0,3,1: 42:[37, 5] Operation: 10-5=5
Moving to Node #0,3,1
Current State: 42:[37, 5], Operations: ['60/12=5', '10-5=5']
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.945313 | hs_5 | mult_heuristic |
[
4,
10,
70,
54
] | 49 | [
"4+10=14",
"70/14=5",
"54-5=49"
] | Current State: 49:[4, 10, 70, 54], Operations: []
Exploring Operation: 4+10=14, Resulting Numbers: [70, 54, 14]
Generated Node #2: [70, 54, 14] from Operation: 4+10=14
Current State: 49:[70, 54, 14], Operations: ['4+10=14']
Exploring Operation: 70/14=5, Resulting Numbers: [54, 5]
Generated Node #3: [54, 5] from Operation: 70/14=5
Current State: 49:[54, 5], Operations: ['4+10=14', '70/14=5']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[4, 10, 70, 54], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [4, 54, 7]
Generated Node #0,0: 49:[4, 54, 7] Operation: 70/10=7
Exploring Operation: 70-54=16, Resulting Numbers: [4, 10, 16]
Generated Node #0,1: 49:[4, 10, 16] Operation: 70-54=16
Exploring Operation: 70-10=60, Resulting Numbers: [4, 54, 60]
Generated Node #0,2: 49:[4, 54, 60] Operation: 70-10=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[4, 54, 7], Operations: ['70/10=7']
Exploring Operation: 54-4=50, Resulting Numbers: [7, 50]
Generated Node #0,0,0: 49:[7, 50] Operation: 54-4=50
Exploring Operation: 54-7=47, Resulting Numbers: [4, 47]
Generated Node #0,0,1: 49:[4, 47] Operation: 54-7=47
Exploring Operation: 4+54=58, Resulting Numbers: [7, 58]
Generated Node #0,0,2: 49:[7, 58] Operation: 4+54=58
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[7, 50], Operations: ['70/10=7', '54-4=50']
Exploring Operation: 7+50=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 7*50=350, Resulting Numbers: [350]
350,49 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,49 unequal: No Solution
No 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: 49:[4, 47], Operations: ['70/10=7', '54-7=47']
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,49 unequal: No Solution
No 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: 49:[7, 58], Operations: ['70/10=7', '4+54=58']
Exploring Operation: 7+58=65, Resulting Numbers: [65]
65,49 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 7*58=406, Resulting Numbers: [406]
406,49 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: 49:[4, 10, 16], Operations: ['70-54=16']
Exploring Operation: 16-4=12, Resulting Numbers: [10, 12]
Generated Node #0,1,0: 49:[10, 12] Operation: 16-4=12
Exploring Operation: 16/4=4, Resulting Numbers: [10, 4]
Generated Node #0,1,1: 49:[10, 4] Operation: 16/4=4
Exploring Operation: 16-10=6, Resulting Numbers: [4, 6]
Generated Node #0,1,2: 49:[4, 6] Operation: 16-10=6
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 49:[4, 6], Operations: ['70-54=16', '16-10=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,49 unequal: No Solution
No 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: 49:[10, 4], Operations: ['70-54=16', '16/4=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,49 unequal: No Solution
No 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: 49:[10, 12], Operations: ['70-54=16', '16-4=12']
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,49 unequal: No Solution
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,49 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,49 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: 49:[4, 54, 60], Operations: ['70-10=60']
Exploring Operation: 54-4=50, Resulting Numbers: [60, 50]
Generated Node #0,2,0: 49:[60, 50] Operation: 54-4=50
Exploring Operation: 60-54=6, Resulting Numbers: [4, 6]
Generated Node #0,2,1: 49:[4, 6] Operation: 60-54=6
Exploring Operation: 60-4=56, Resulting Numbers: [54, 56]
Generated Node #0,2,2: 49:[54, 56] Operation: 60-4=56
Moving to Node #0,2,1
Current State: 49:[4, 6], Operations: ['70-10=60', '60-54=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[60, 50], Operations: ['70-10=60', '54-4=50']
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 60*50=3000, Resulting Numbers: [3000]
3000,49 unequal: No Solution
Exploring Operation: 60+50=110, Resulting Numbers: [110]
110,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[54, 56], Operations: ['70-10=60', '60-4=56']
Exploring Operation: 54*56=3024, Resulting Numbers: [3024]
3024,49 unequal: No Solution
Exploring Operation: 54+56=110, Resulting Numbers: [110]
110,49 unequal: No Solution
Exploring Operation: 56-54=2, Resulting Numbers: [2]
2,49 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 |
[
93,
21,
65,
6
] | 42 | [
"93-21=72",
"72-65=7",
"6*7=42"
] | Current State: 42:[93, 21, 65, 6], Operations: []
Exploring Operation: 93-21=72, Resulting Numbers: [65, 6, 72]
Generated Node #2: [65, 6, 72] from Operation: 93-21=72
Current State: 42:[65, 6, 72], Operations: ['93-21=72']
Exploring Operation: 72-65=7, Resulting Numbers: [6, 7]
Generated Node #3: [6, 7] from Operation: 72-65=7
Current State: 42:[6, 7], Operations: ['93-21=72', '72-65=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[93, 21, 65, 6], Operations: []
Exploring Operation: 93-21=72, Resulting Numbers: [65, 6, 72]
Generated Node #0,0: 42:[65, 6, 72] Operation: 93-21=72
Exploring Operation: 93-6=87, Resulting Numbers: [21, 65, 87]
Generated Node #0,1: 42:[21, 65, 87] Operation: 93-6=87
Exploring Operation: 65-6=59, Resulting Numbers: [93, 21, 59]
Generated Node #0,2: 42:[93, 21, 59] Operation: 65-6=59
Exploring Operation: 93-65=28, Resulting Numbers: [21, 6, 28]
Generated Node #0,3: 42:[21, 6, 28] Operation: 93-65=28
Exploring Operation: 65-21=44, Resulting Numbers: [93, 6, 44]
Generated Node #0,4: 42:[93, 6, 44] Operation: 65-21=44
Moving to Node #0,3
Current State: 42:[21, 6, 28], Operations: ['93-65=28']
Exploring Operation: 28-21=7, Resulting Numbers: [6, 7]
Generated Node #0,3,0: 42:[6, 7] Operation: 28-21=7
Exploring Operation: 28-6=22, Resulting Numbers: [21, 22]
Generated Node #0,3,1: 42:[21, 22] Operation: 28-6=22
Exploring Operation: 21-6=15, Resulting Numbers: [28, 15]
Generated Node #0,3,2: 42:[28, 15] Operation: 21-6=15
Exploring Operation: 6+28=34, Resulting Numbers: [21, 34]
Generated Node #0,3,3: 42:[21, 34] Operation: 6+28=34
Exploring Operation: 21+28=49, Resulting Numbers: [6, 49]
Generated Node #0,3,4: 42:[6, 49] Operation: 21+28=49
Moving to Node #0,4
Current State: 42:[93, 6, 44], Operations: ['65-21=44']
Exploring Operation: 93-6=87, Resulting Numbers: [44, 87]
Generated Node #0,4,0: 42:[44, 87] Operation: 93-6=87
Exploring Operation: 93-44=49, Resulting Numbers: [6, 49]
Generated Node #0,4,1: 42:[6, 49] Operation: 93-44=49
Exploring Operation: 6+44=50, Resulting Numbers: [93, 50]
Generated Node #0,4,2: 42:[93, 50] Operation: 6+44=50
Exploring Operation: 44-6=38, Resulting Numbers: [93, 38]
Generated Node #0,4,3: 42:[93, 38] Operation: 44-6=38
Exploring Operation: 93+6=99, Resulting Numbers: [44, 99]
Generated Node #0,4,4: 42:[44, 99] Operation: 93+6=99
Moving to Node #0,0
Current State: 42:[65, 6, 72], Operations: ['93-21=72']
Exploring Operation: 72/6=12, Resulting Numbers: [65, 12]
Generated Node #0,0,0: 42:[65, 12] Operation: 72/6=12
Exploring Operation: 65-6=59, Resulting Numbers: [72, 59]
Generated Node #0,0,1: 42:[72, 59] Operation: 65-6=59
Exploring Operation: 65+6=71, Resulting Numbers: [72, 71]
Generated Node #0,0,2: 42:[72, 71] Operation: 65+6=71
Exploring Operation: 72-6=66, Resulting Numbers: [65, 66]
Generated Node #0,0,3: 42:[65, 66] Operation: 72-6=66
Exploring Operation: 72-65=7, Resulting Numbers: [6, 7]
Generated Node #0,0,4: 42:[6, 7] Operation: 72-65=7
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 42:[6, 7], Operations: ['93-21=72', '72-65=7']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[93, 21, 65, 6], Operations: []
Exploring Operation: 93-21=72, Resulting Numbers: [65, 6, 72]
Generated Node #0,0: 42:[65, 6, 72] Operation: 93-21=72
Moving to Node #0,0
Current State: 42:[65, 6, 72], Operations: ['93-21=72']
Exploring Operation: 72-65=7, Resulting Numbers: [6, 7]
Generated Node #0,0,4: 42:[6, 7] Operation: 72-65=7
Moving to Node #0,0,4
Current State: 42:[6, 7], Operations: ['93-21=72', '72-65=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | sum_heuristic |
[
83,
86,
10,
44
] | 37 | [
"86-83=3",
"44-10=34",
"3+34=37"
] | Current State: 37:[83, 86, 10, 44], Operations: []
Exploring Operation: 86-83=3, Resulting Numbers: [10, 44, 3]
Generated Node #2: [10, 44, 3] from Operation: 86-83=3
Current State: 37:[10, 44, 3], Operations: ['86-83=3']
Exploring Operation: 44-10=34, Resulting Numbers: [3, 34]
Generated Node #3: [3, 34] from Operation: 44-10=34
Current State: 37:[3, 34], Operations: ['86-83=3', '44-10=34']
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[83, 86, 10, 44], Operations: []
Exploring Operation: 86-10=76, Resulting Numbers: [83, 44, 76]
Generated Node #0,0: 37:[83, 44, 76] Operation: 86-10=76
Exploring Operation: 83-10=73, Resulting Numbers: [86, 44, 73]
Generated Node #0,1: 37:[86, 44, 73] Operation: 83-10=73
Exploring Operation: 86-44=42, Resulting Numbers: [83, 10, 42]
Generated Node #0,2: 37:[83, 10, 42] Operation: 86-44=42
Exploring Operation: 86-83=3, Resulting Numbers: [10, 44, 3]
Generated Node #0,3: 37:[10, 44, 3] Operation: 86-83=3
Exploring Operation: 83-44=39, Resulting Numbers: [86, 10, 39]
Generated Node #0,4: 37:[86, 10, 39] Operation: 83-44=39
Start Sub Search at level 1: Moving to Node #0,3
Current State: 37:[10, 44, 3], Operations: ['86-83=3']
Exploring Operation: 44-10=34, Resulting Numbers: [3, 34]
Generated Node #0,3,0: 37:[3, 34] Operation: 44-10=34
Exploring Operation: 10+3=13, Resulting Numbers: [44, 13]
Generated Node #0,3,1: 37:[44, 13] Operation: 10+3=13
Exploring Operation: 44-3=41, Resulting Numbers: [10, 41]
Generated Node #0,3,2: 37:[10, 41] Operation: 44-3=41
Exploring Operation: 10-3=7, Resulting Numbers: [44, 7]
Generated Node #0,3,3: 37:[44, 7] Operation: 10-3=7
Exploring Operation: 10*3=30, Resulting Numbers: [44, 30]
Generated Node #0,3,4: 37:[44, 30] Operation: 10*3=30
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 37:[44, 30], Operations: ['86-83=3', '10*3=30']
Exploring Operation: 44*30=1320, Resulting Numbers: [1320]
1320,37 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,37 unequal: No Solution
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,37 unequal: No Solution
No 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: 37:[44, 13], Operations: ['86-83=3', '10+3=13']
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,37 unequal: No Solution
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,37 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,37 unequal: No Solution
No 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: 37:[10, 41], Operations: ['86-83=3', '44-3=41']
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,37 unequal: No Solution
Exploring Operation: 10*41=410, Resulting Numbers: [410]
410,37 unequal: No Solution
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,37 unequal: No Solution
No 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: 37:[3, 34], Operations: ['86-83=3', '44-10=34']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,37 unequal: No Solution
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[83, 86, 10, 44], Operations: []
Exploring Operation: 86-83=3, Resulting Numbers: [10, 44, 3]
Generated Node #0,3: 37:[10, 44, 3] Operation: 86-83=3
Moving to Node #0,3
Current State: 37:[10, 44, 3], Operations: ['86-83=3']
Exploring Operation: 44-10=34, Resulting Numbers: [3, 34]
Generated Node #0,3,0: 37:[3, 34] Operation: 44-10=34
Moving to Node #0,3,0
Current State: 37:[3, 34], Operations: ['86-83=3', '44-10=34']
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
38,
4,
12,
56
] | 27 | [
"56-12=44",
"44/4=11",
"38-11=27"
] | Current State: 27:[38, 4, 12, 56], Operations: []
Exploring Operation: 56-12=44, Resulting Numbers: [38, 4, 44]
Generated Node #2: [38, 4, 44] from Operation: 56-12=44
Current State: 27:[38, 4, 44], Operations: ['56-12=44']
Exploring Operation: 44/4=11, Resulting Numbers: [38, 11]
Generated Node #3: [38, 11] from Operation: 44/4=11
Current State: 27:[38, 11], Operations: ['56-12=44', '44/4=11']
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[38, 4, 12, 56], Operations: []
Exploring Operation: 56-38=18, Resulting Numbers: [4, 12, 18]
Generated Node #0,0: 27:[4, 12, 18] Operation: 56-38=18
Moving to Node #0,0
Current State: 27:[4, 12, 18], Operations: ['56-38=18']
Exploring Operation: 12+18=30, Resulting Numbers: [4, 30]
Generated Node #0,0,0: 27:[4, 30] Operation: 12+18=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[4, 30], Operations: ['56-38=18', '12+18=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,27 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 |
[
12,
6,
44,
31
] | 81 | [
"12-6=6",
"44+31=75",
"6+75=81"
] | Current State: 81:[12, 6, 44, 31], Operations: []
Exploring Operation: 12-6=6, Resulting Numbers: [44, 31, 6]
Generated Node #2: [44, 31, 6] from Operation: 12-6=6
Current State: 81:[44, 31, 6], Operations: ['12-6=6']
Exploring Operation: 44+31=75, Resulting Numbers: [6, 75]
Generated Node #3: [6, 75] from Operation: 44+31=75
Current State: 81:[6, 75], Operations: ['12-6=6', '44+31=75']
Exploring Operation: 6+75=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[12, 6, 44, 31], Operations: []
Exploring Operation: 44-31=13, Resulting Numbers: [12, 6, 13]
Generated Node #0,0: 81:[12, 6, 13] Operation: 44-31=13
Exploring Operation: 44-12=32, Resulting Numbers: [6, 31, 32]
Generated Node #0,1: 81:[6, 31, 32] Operation: 44-12=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[12, 6, 13], Operations: ['44-31=13']
Exploring Operation: 12/6=2, Resulting Numbers: [13, 2]
Generated Node #0,0,0: 81:[13, 2] Operation: 12/6=2
Exploring Operation: 12+13=25, Resulting Numbers: [6, 25]
Generated Node #0,0,1: 81:[6, 25] Operation: 12+13=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[13, 2], Operations: ['44-31=13', '12/6=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,81 unequal: No Solution
No 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: 81:[6, 25], Operations: ['44-31=13', '12+13=25']
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,81 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,81 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: 81:[6, 31, 32], Operations: ['44-12=32']
Exploring Operation: 32-31=1, Resulting Numbers: [6, 1]
Generated Node #0,1,0: 81:[6, 1] Operation: 32-31=1
Exploring Operation: 32-6=26, Resulting Numbers: [31, 26]
Generated Node #0,1,1: 81:[31, 26] Operation: 32-6=26
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[6, 1], Operations: ['44-12=32', '32-31=1']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,81 unequal: No Solution
No 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: 81:[31, 26], Operations: ['44-12=32', '32-6=26']
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 31+26=57, Resulting Numbers: [57]
57,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
99,
43,
97,
28
] | 27 | [
"97*28=2716",
"2716-43=2673",
"2673/99=27"
] | Current State: 27:[99, 43, 97, 28], Operations: []
Exploring Operation: 97*28=2716, Resulting Numbers: [99, 43, 2716]
Generated Node #2: [99, 43, 2716] from Operation: 97*28=2716
Current State: 27:[99, 43, 2716], Operations: ['97*28=2716']
Exploring Operation: 2716-43=2673, Resulting Numbers: [99, 2673]
Generated Node #3: [99, 2673] from Operation: 2716-43=2673
Current State: 27:[99, 2673], Operations: ['97*28=2716', '2716-43=2673']
Exploring Operation: 2673/99=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[99, 43, 97, 28], Operations: []
Exploring Operation: 99-97=2, Resulting Numbers: [43, 28, 2]
Generated Node #0,0: 27:[43, 28, 2] Operation: 99-97=2
Exploring Operation: 99-43=56, Resulting Numbers: [97, 28, 56]
Generated Node #0,1: 27:[97, 28, 56] Operation: 99-43=56
Exploring Operation: 97-28=69, Resulting Numbers: [99, 43, 69]
Generated Node #0,2: 27:[99, 43, 69] Operation: 97-28=69
Exploring Operation: 99-28=71, Resulting Numbers: [43, 97, 71]
Generated Node #0,3: 27:[43, 97, 71] Operation: 99-28=71
Exploring Operation: 97-43=54, Resulting Numbers: [99, 28, 54]
Generated Node #0,4: 27:[99, 28, 54] Operation: 97-43=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[43, 28, 2], Operations: ['99-97=2']
Exploring Operation: 28-2=26, Resulting Numbers: [43, 26]
Generated Node #0,0,0: 27:[43, 26] Operation: 28-2=26
Exploring Operation: 28+2=30, Resulting Numbers: [43, 30]
Generated Node #0,0,1: 27:[43, 30] Operation: 28+2=30
Exploring Operation: 43-28=15, Resulting Numbers: [2, 15]
Generated Node #0,0,2: 27:[2, 15] Operation: 43-28=15
Exploring Operation: 43-2=41, Resulting Numbers: [28, 41]
Generated Node #0,0,3: 27:[28, 41] Operation: 43-2=41
Exploring Operation: 43+2=45, Resulting Numbers: [28, 45]
Generated Node #0,0,4: 27:[28, 45] Operation: 43+2=45
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 27:[2, 15], Operations: ['99-97=2', '43-28=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,27 unequal: No Solution
No 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: 27:[28, 41], Operations: ['99-97=2', '43-2=41']
Exploring Operation: 28*41=1148, Resulting Numbers: [1148]
1148,27 unequal: No Solution
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 28+41=69, Resulting Numbers: [69]
69,27 unequal: No Solution
No 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: 27:[43, 26], Operations: ['99-97=2', '28-2=26']
Exploring Operation: 43*26=1118, Resulting Numbers: [1118]
1118,27 unequal: No Solution
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 43+26=69, Resulting Numbers: [69]
69,27 unequal: No Solution
No 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: 27:[43, 30], Operations: ['99-97=2', '28+2=30']
Exploring Operation: 43*30=1290, Resulting Numbers: [1290]
1290,27 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,27 unequal: No Solution
No 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: 27:[28, 45], Operations: ['99-97=2', '43+2=45']
Exploring Operation: 28+45=73, Resulting Numbers: [73]
73,27 unequal: No Solution
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 28*45=1260, Resulting Numbers: [1260]
1260,27 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: 27:[97, 28, 56], Operations: ['99-43=56']
Exploring Operation: 97+28=125, Resulting Numbers: [56, 125]
Generated Node #0,1,0: 27:[56, 125] Operation: 97+28=125
Exploring Operation: 97-28=69, Resulting Numbers: [56, 69]
Generated Node #0,1,1: 27:[56, 69] Operation: 97-28=69
Exploring Operation: 97-56=41, Resulting Numbers: [28, 41]
Generated Node #0,1,2: 27:[28, 41] Operation: 97-56=41
Exploring Operation: 56/28=2, Resulting Numbers: [97, 2]
Generated Node #0,1,3: 27:[97, 2] Operation: 56/28=2
Exploring Operation: 56-28=28, Resulting Numbers: [97, 28]
Generated Node #0,1,4: 27:[97, 28] Operation: 56-28=28
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 27:[28, 41], Operations: ['99-43=56', '97-56=41']
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 28+41=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 28*41=1148, Resulting Numbers: [1148]
1148,27 unequal: No Solution
No 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: 27:[56, 69], Operations: ['99-43=56', '97-28=69']
Exploring Operation: 56*69=3864, Resulting Numbers: [3864]
3864,27 unequal: No Solution
Exploring Operation: 69-56=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 56+69=125, Resulting Numbers: [125]
125,27 unequal: No Solution
No 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: 27:[97, 2], Operations: ['99-43=56', '56/28=2']
Exploring Operation: 97+2=99, Resulting Numbers: [99]
99,27 unequal: No Solution
Exploring Operation: 97*2=194, Resulting Numbers: [194]
194,27 unequal: No Solution
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,27 unequal: No Solution
No 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: 27:[97, 28], Operations: ['99-43=56', '56-28=28']
Exploring Operation: 97*28=2716, Resulting Numbers: [2716]
2716,27 unequal: No Solution
Exploring Operation: 97+28=125, Resulting Numbers: [125]
125,27 unequal: No Solution
Exploring Operation: 97-28=69, Resulting Numbers: [69]
69,27 unequal: No Solution
No 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: 27:[56, 125], Operations: ['99-43=56', '97+28=125']
Exploring Operation: 125-56=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 56*125=7000, Resulting Numbers: [7000]
7000,27 unequal: No Solution
Exploring Operation: 56+125=181, Resulting Numbers: [181]
181,27 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: 27:[99, 28, 54], Operations: ['97-43=54']
Exploring Operation: 99-54=45, Resulting Numbers: [28, 45]
Generated Node #0,4,0: 27:[28, 45] Operation: 99-54=45
Exploring Operation: 99+28=127, Resulting Numbers: [54, 127]
Generated Node #0,4,1: 27:[54, 127] Operation: 99+28=127
Exploring Operation: 99-28=71, Resulting Numbers: [54, 71]
Generated Node #0,4,2: 27:[54, 71] Operation: 99-28=71
Exploring Operation: 54-28=26, Resulting Numbers: [99, 26]
Generated Node #0,4,3: 27:[99, 26] Operation: 54-28=26
Exploring Operation: 99+54=153, Resulting Numbers: [28, 153]
Generated Node #0,4,4: 27:[28, 153] Operation: 99+54=153
Moving to Node #0,4,0
Current State: 27:[28, 45], Operations: ['97-43=54', '99-54=45']
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 28*45=1260, Resulting Numbers: [1260]
1260,27 unequal: No Solution
Exploring Operation: 28+45=73, Resulting Numbers: [73]
73,27 unequal: No Solution
Moving to Node #0,4,2
Current State: 27:[54, 71], Operations: ['97-43=54', '99-28=71']
Exploring Operation: 54+71=125, Resulting Numbers: [125]
125,27 unequal: No Solution
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 54*71=3834, Resulting Numbers: [3834]
3834,27 unequal: No Solution
Moving to Node #0,4,3
Current State: 27:[99, 26], Operations: ['97-43=54', '54-28=26']
Exploring Operation: 99*26=2574, Resulting Numbers: [2574]
2574,27 unequal: No Solution
Exploring Operation: 99+26=125, Resulting Numbers: [125]
125,27 unequal: No Solution
Exploring Operation: 99-26=73, Resulting Numbers: [73]
73,27 unequal: No Solution
Moving to Node #0,4,1
Current State: 27:[54, 127], Operations: ['97-43=54', '99+28=127']
Exploring Operation: 54+127=181, Resulting Numbers: [181]
181,27 unequal: No Solution
Exploring Operation: 54*127=6858, Resulting Numbers: [6858]
6858,27 unequal: No Solution
Exploring Operation: 127-54=73, Resulting Numbers: [73]
73,27 unequal: No Solution
Moving to Node #0,4,4
Current State: 27:[28, 153], Operations: ['97-43=54', '99+54=153']
Exploring Operation: 28+153=181, Resulting Numbers: [181]
181,27 unequal: No Solution
Exploring Operation: 153-28=125, Resulting Numbers: [125]
125,27 unequal: No Solution
Exploring Operation: 28*153=4284, Resulting Numbers: [4284]
4284,27 unequal: No Solution
No 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: 27:[99, 43, 69], Operations: ['97-28=69']
Exploring Operation: 99+69=168, Resulting Numbers: [43, 168]
Generated Node #0,2,0: 27:[43, 168] Operation: 99+69=168
Exploring Operation: 99-43=56, Resulting Numbers: [69, 56]
Generated Node #0,2,1: 27:[69, 56] Operation: 99-43=56
Exploring Operation: 99+43=142, Resulting Numbers: [69, 142]
Generated Node #0,2,2: 27:[69, 142] Operation: 99+43=142
Exploring Operation: 69-43=26, Resulting Numbers: [99, 26]
Generated Node #0,2,3: 27:[99, 26] Operation: 69-43=26
Exploring Operation: 99-69=30, Resulting Numbers: [43, 30]
Generated Node #0,2,4: 27:[43, 30] Operation: 99-69=30
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 27:[43, 30], Operations: ['97-28=69', '99-69=30']
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 43*30=1290, Resulting Numbers: [1290]
1290,27 unequal: No Solution
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,27 unequal: No Solution
No 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: 27:[69, 56], Operations: ['97-28=69', '99-43=56']
Exploring Operation: 69-56=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 69*56=3864, Resulting Numbers: [3864]
3864,27 unequal: No Solution
Exploring Operation: 69+56=125, Resulting Numbers: [125]
125,27 unequal: No Solution
No 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: 27:[99, 26], Operations: ['97-28=69', '69-43=26']
Exploring Operation: 99*26=2574, Resulting Numbers: [2574]
2574,27 unequal: No Solution
Exploring Operation: 99+26=125, Resulting Numbers: [125]
125,27 unequal: No Solution
Exploring Operation: 99-26=73, Resulting Numbers: [73]
73,27 unequal: No Solution
No 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: 27:[43, 168], Operations: ['97-28=69', '99+69=168']
Exploring Operation: 43*168=7224, Resulting Numbers: [7224]
7224,27 unequal: No Solution
Exploring Operation: 43+168=211, Resulting Numbers: [211]
211,27 unequal: No Solution
Exploring Operation: 168-43=125, Resulting Numbers: [125]
125,27 unequal: No Solution
No 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: 27:[69, 142], Operations: ['97-28=69', '99+43=142']
Exploring Operation: 69+142=211, Resulting Numbers: [211]
211,27 unequal: No Solution
Exploring Operation: 142-69=73, Resulting Numbers: [73]
73,27 unequal: No Solution
Exploring Operation: 69*142=9798, Resulting Numbers: [9798]
9798,27 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: 27:[43, 97, 71], Operations: ['99-28=71']
Exploring Operation: 43+71=114, Resulting Numbers: [97, 114]
Generated Node #0,3,0: 27:[97, 114] Operation: 43+71=114
Exploring Operation: 97-43=54, Resulting Numbers: [71, 54]
Generated Node #0,3,1: 27:[71, 54] Operation: 97-43=54
Exploring Operation: 97-71=26, Resulting Numbers: [43, 26]
Generated Node #0,3,2: 27:[43, 26] Operation: 97-71=26
Exploring Operation: 71-43=28, Resulting Numbers: [97, 28]
Generated Node #0,3,3: 27:[97, 28] Operation: 71-43=28
Exploring Operation: 43+97=140, Resulting Numbers: [71, 140]
Generated Node #0,3,4: 27:[71, 140] Operation: 43+97=140
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 27:[43, 26], Operations: ['99-28=71', '97-71=26']
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 43+26=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 43*26=1118, Resulting Numbers: [1118]
1118,27 unequal: No Solution
No 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: 27:[71, 54], Operations: ['99-28=71', '97-43=54']
Exploring Operation: 71*54=3834, Resulting Numbers: [3834]
3834,27 unequal: No Solution
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 71+54=125, Resulting Numbers: [125]
125,27 unequal: No Solution
No 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: 27:[97, 28], Operations: ['99-28=71', '71-43=28']
Exploring Operation: 97*28=2716, Resulting Numbers: [2716]
2716,27 unequal: No Solution
Exploring Operation: 97-28=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 97+28=125, Resulting Numbers: [125]
125,27 unequal: No Solution
No 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: 27:[97, 114], Operations: ['99-28=71', '43+71=114']
Exploring Operation: 114-97=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 97*114=11058, Resulting Numbers: [11058]
11058,27 unequal: No Solution
Exploring Operation: 97+114=211, Resulting Numbers: [211]
211,27 unequal: No Solution
No 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: 27:[71, 140], Operations: ['99-28=71', '43+97=140']
Exploring Operation: 140-71=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 71*140=9940, Resulting Numbers: [9940]
9940,27 unequal: No Solution
Exploring Operation: 71+140=211, Resulting Numbers: [211]
211,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
5,
97,
91,
99
] | 48 | [
"5+91=96",
"99-97=2",
"96/2=48"
] | Current State: 48:[5, 97, 91, 99], Operations: []
Exploring Operation: 5+91=96, Resulting Numbers: [97, 99, 96]
Generated Node #2: [97, 99, 96] from Operation: 5+91=96
Current State: 48:[97, 99, 96], Operations: ['5+91=96']
Exploring Operation: 99-97=2, Resulting Numbers: [96, 2]
Generated Node #3: [96, 2] from Operation: 99-97=2
Current State: 48:[96, 2], Operations: ['5+91=96', '99-97=2']
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[5, 97, 91, 99], Operations: []
Exploring Operation: 99-91=8, Resulting Numbers: [5, 97, 8]
Generated Node #0,0: 48:[5, 97, 8] Operation: 99-91=8
Exploring Operation: 91-5=86, Resulting Numbers: [97, 99, 86]
Generated Node #0,1: 48:[97, 99, 86] Operation: 91-5=86
Exploring Operation: 99-97=2, Resulting Numbers: [5, 91, 2]
Generated Node #0,2: 48:[5, 91, 2] Operation: 99-97=2
Exploring Operation: 97-91=6, Resulting Numbers: [5, 99, 6]
Generated Node #0,3: 48:[5, 99, 6] Operation: 97-91=6
Exploring Operation: 97-5=92, Resulting Numbers: [91, 99, 92]
Generated Node #0,4: 48:[91, 99, 92] Operation: 97-5=92
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[5, 91, 2], Operations: ['99-97=2']
Exploring Operation: 5+2=7, Resulting Numbers: [91, 7]
Generated Node #0,2,0: 48:[91, 7] Operation: 5+2=7
Exploring Operation: 5*2=10, Resulting Numbers: [91, 10]
Generated Node #0,2,1: 48:[91, 10] Operation: 5*2=10
Exploring Operation: 91-5=86, Resulting Numbers: [2, 86]
Generated Node #0,2,2: 48:[2, 86] Operation: 91-5=86
Exploring Operation: 91-2=89, Resulting Numbers: [5, 89]
Generated Node #0,2,3: 48:[5, 89] Operation: 91-2=89
Exploring Operation: 5-2=3, Resulting Numbers: [91, 3]
Generated Node #0,2,4: 48:[91, 3] Operation: 5-2=3
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 48:[2, 86], Operations: ['99-97=2', '91-5=86']
Exploring Operation: 2*86=172, Resulting Numbers: [172]
172,48 unequal: No Solution
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,48 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,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,2,3
Current State: 48:[5, 89], Operations: ['99-97=2', '91-2=89']
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 5+89=94, Resulting Numbers: [94]
94,48 unequal: No Solution
Exploring Operation: 5*89=445, Resulting Numbers: [445]
445,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,2,4
Current State: 48:[91, 3], Operations: ['99-97=2', '5-2=3']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,48 unequal: No Solution
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,48 unequal: No Solution
Exploring Operation: 91*3=273, Resulting Numbers: [273]
273,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,2,0
Current State: 48:[91, 7], Operations: ['99-97=2', '5+2=7']
Exploring Operation: 91*7=637, Resulting Numbers: [637]
637,48 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,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,2,1
Current State: 48:[91, 10], Operations: ['99-97=2', '5*2=10']
Exploring Operation: 91+10=101, Resulting Numbers: [101]
101,48 unequal: No Solution
Exploring Operation: 91*10=910, Resulting Numbers: [910]
910,48 unequal: No Solution
Exploring Operation: 91-10=81, Resulting Numbers: [81]
81,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:[5, 97, 8], Operations: ['99-91=8']
Exploring Operation: 8-5=3, Resulting Numbers: [97, 3]
Generated Node #0,0,0: 48:[97, 3] Operation: 8-5=3
Exploring Operation: 97-5=92, Resulting Numbers: [8, 92]
Generated Node #0,0,1: 48:[8, 92] Operation: 97-5=92
Exploring Operation: 5+97=102, Resulting Numbers: [8, 102]
Generated Node #0,0,2: 48:[8, 102] Operation: 5+97=102
Exploring Operation: 97-8=89, Resulting Numbers: [5, 89]
Generated Node #0,0,3: 48:[5, 89] Operation: 97-8=89
Exploring Operation: 5+8=13, Resulting Numbers: [97, 13]
Generated Node #0,0,4: 48:[97, 13] Operation: 5+8=13
Moving to Node #0,0,3
Current State: 48:[5, 89], Operations: ['99-91=8', '97-8=89']
Exploring Operation: 5+89=94, Resulting Numbers: [94]
94,48 unequal: No Solution
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 5*89=445, Resulting Numbers: [445]
445,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[8, 92], Operations: ['99-91=8', '97-5=92']
Exploring Operation: 8+92=100, Resulting Numbers: [100]
100,48 unequal: No Solution
Exploring Operation: 92-8=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 8*92=736, Resulting Numbers: [736]
736,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[97, 3], Operations: ['99-91=8', '8-5=3']
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,48 unequal: No Solution
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,48 unequal: No Solution
Exploring Operation: 97*3=291, Resulting Numbers: [291]
291,48 unequal: No Solution
Moving to Node #0,0,4
Current State: 48:[97, 13], Operations: ['99-91=8', '5+8=13']
Exploring Operation: 97+13=110, Resulting Numbers: [110]
110,48 unequal: No Solution
Exploring Operation: 97*13=1261, Resulting Numbers: [1261]
1261,48 unequal: No Solution
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Moving to Node #0,0,2
Current State: 48:[8, 102], Operations: ['99-91=8', '5+97=102']
Exploring Operation: 8+102=110, Resulting Numbers: [110]
110,48 unequal: No Solution
Exploring Operation: 102-8=94, Resulting Numbers: [94]
94,48 unequal: No Solution
Exploring Operation: 8*102=816, Resulting Numbers: [816]
816,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 48:[5, 99, 6], Operations: ['97-91=6']
Exploring Operation: 6-5=1, Resulting Numbers: [99, 1]
Generated Node #0,3,0: 48:[99, 1] Operation: 6-5=1
Exploring Operation: 5+99=104, Resulting Numbers: [6, 104]
Generated Node #0,3,1: 48:[6, 104] Operation: 5+99=104
Exploring Operation: 99-5=94, Resulting Numbers: [6, 94]
Generated Node #0,3,2: 48:[6, 94] Operation: 99-5=94
Exploring Operation: 99-6=93, Resulting Numbers: [5, 93]
Generated Node #0,3,3: 48:[5, 93] Operation: 99-6=93
Exploring Operation: 5+6=11, Resulting Numbers: [99, 11]
Generated Node #0,3,4: 48:[99, 11] Operation: 5+6=11
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 48:[6, 94], Operations: ['97-91=6', '99-5=94']
Exploring Operation: 6*94=564, Resulting Numbers: [564]
564,48 unequal: No Solution
Exploring Operation: 6+94=100, Resulting Numbers: [100]
100,48 unequal: No Solution
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 48:[5, 93], Operations: ['97-91=6', '99-6=93']
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,48 unequal: No Solution
Exploring Operation: 5+93=98, Resulting Numbers: [98]
98,48 unequal: No Solution
Exploring Operation: 5*93=465, Resulting Numbers: [465]
465,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 48:[99, 1], Operations: ['97-91=6', '6-5=1']
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,48 unequal: No Solution
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,48 unequal: No Solution
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,48 unequal: No Solution
Exploring Operation: 99/1=99, Resulting Numbers: [99]
99,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 48:[99, 11], Operations: ['97-91=6', '5+6=11']
Exploring Operation: 99/11=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 99+11=110, Resulting Numbers: [110]
110,48 unequal: No Solution
Exploring Operation: 99-11=88, Resulting Numbers: [88]
88,48 unequal: No Solution
Exploring Operation: 99*11=1089, Resulting Numbers: [1089]
1089,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 48:[6, 104], Operations: ['97-91=6', '5+99=104']
Exploring Operation: 6*104=624, Resulting Numbers: [624]
624,48 unequal: No Solution
Exploring Operation: 104-6=98, Resulting Numbers: [98]
98,48 unequal: No Solution
Exploring Operation: 6+104=110, Resulting Numbers: [110]
110,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[97, 99, 86], Operations: ['91-5=86']
Exploring Operation: 99-97=2, Resulting Numbers: [86, 2]
Generated Node #0,1,0: 48:[86, 2] Operation: 99-97=2
Exploring Operation: 97+86=183, Resulting Numbers: [99, 183]
Generated Node #0,1,1: 48:[99, 183] Operation: 97+86=183
Exploring Operation: 97+99=196, Resulting Numbers: [86, 196]
Generated Node #0,1,2: 48:[86, 196] Operation: 97+99=196
Exploring Operation: 99-86=13, Resulting Numbers: [97, 13]
Generated Node #0,1,3: 48:[97, 13] Operation: 99-86=13
Exploring Operation: 97-86=11, Resulting Numbers: [99, 11]
Generated Node #0,1,4: 48:[99, 11] Operation: 97-86=11
Moving to Node #0,1,0
Current State: 48:[86, 2], Operations: ['91-5=86', '99-97=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,48 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 86*2=172, Resulting Numbers: [172]
172,48 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,48 unequal: No Solution
Moving to Node #0,1,3
Current State: 48:[97, 13], Operations: ['91-5=86', '99-86=13']
Exploring Operation: 97+13=110, Resulting Numbers: [110]
110,48 unequal: No Solution
Exploring Operation: 97*13=1261, Resulting Numbers: [1261]
1261,48 unequal: No Solution
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Moving to Node #0,1,4
Current State: 48:[99, 11], Operations: ['91-5=86', '97-86=11']
Exploring Operation: 99/11=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 99*11=1089, Resulting Numbers: [1089]
1089,48 unequal: No Solution
Exploring Operation: 99-11=88, Resulting Numbers: [88]
88,48 unequal: No Solution
Exploring Operation: 99+11=110, Resulting Numbers: [110]
110,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[99, 183], Operations: ['91-5=86', '97+86=183']
Exploring Operation: 99*183=18117, Resulting Numbers: [18117]
18117,48 unequal: No Solution
Exploring Operation: 99+183=282, Resulting Numbers: [282]
282,48 unequal: No Solution
Exploring Operation: 183-99=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[86, 196], Operations: ['91-5=86', '97+99=196']
Exploring Operation: 196-86=110, Resulting Numbers: [110]
110,48 unequal: No Solution
Exploring Operation: 86+196=282, Resulting Numbers: [282]
282,48 unequal: No Solution
Exploring Operation: 86*196=16856, Resulting Numbers: [16856]
16856,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 48:[91, 99, 92], Operations: ['97-5=92']
Exploring Operation: 91+99=190, Resulting Numbers: [92, 190]
Generated Node #0,4,0: 48:[92, 190] Operation: 91+99=190
Exploring Operation: 99-91=8, Resulting Numbers: [92, 8]
Generated Node #0,4,1: 48:[92, 8] Operation: 99-91=8
Exploring Operation: 99-92=7, Resulting Numbers: [91, 7]
Generated Node #0,4,2: 48:[91, 7] Operation: 99-92=7
Exploring Operation: 91+92=183, Resulting Numbers: [99, 183]
Generated Node #0,4,3: 48:[99, 183] Operation: 91+92=183
Exploring Operation: 92-91=1, Resulting Numbers: [99, 1]
Generated Node #0,4,4: 48:[99, 1] Operation: 92-91=1
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 48:[92, 8], Operations: ['97-5=92', '99-91=8']
Exploring Operation: 92-8=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 92+8=100, Resulting Numbers: [100]
100,48 unequal: No Solution
Exploring Operation: 92*8=736, Resulting Numbers: [736]
736,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 48:[91, 7], Operations: ['97-5=92', '99-92=7']
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,48 unequal: No Solution
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 91*7=637, Resulting Numbers: [637]
637,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 48:[99, 1], Operations: ['97-5=92', '92-91=1']
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,48 unequal: No Solution
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,48 unequal: No Solution
Exploring Operation: 99/1=99, Resulting Numbers: [99]
99,48 unequal: No Solution
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 48:[92, 190], Operations: ['97-5=92', '91+99=190']
Exploring Operation: 92+190=282, Resulting Numbers: [282]
282,48 unequal: No Solution
Exploring Operation: 190-92=98, Resulting Numbers: [98]
98,48 unequal: No Solution
Exploring Operation: 92*190=17480, Resulting Numbers: [17480]
17480,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 48:[99, 183], Operations: ['97-5=92', '91+92=183']
Exploring Operation: 99+183=282, Resulting Numbers: [282]
282,48 unequal: No Solution
Exploring Operation: 99*183=18117, Resulting Numbers: [18117]
18117,48 unequal: No Solution
Exploring Operation: 183-99=84, Resulting Numbers: [84]
84,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
63,
66,
70,
19
] | 54 | [
"66-63=3",
"70-19=51",
"3+51=54"
] | Current State: 54:[63, 66, 70, 19], Operations: []
Exploring Operation: 66-63=3, Resulting Numbers: [70, 19, 3]
Generated Node #2: [70, 19, 3] from Operation: 66-63=3
Current State: 54:[70, 19, 3], Operations: ['66-63=3']
Exploring Operation: 70-19=51, Resulting Numbers: [3, 51]
Generated Node #3: [3, 51] from Operation: 70-19=51
Current State: 54:[3, 51], Operations: ['66-63=3', '70-19=51']
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[63, 66, 70, 19], Operations: []
Exploring Operation: 70-66=4, Resulting Numbers: [63, 19, 4]
Generated Node #0,0: 54:[63, 19, 4] Operation: 70-66=4
Moving to Node #0,0
Current State: 54:[63, 19, 4], Operations: ['70-66=4']
Exploring Operation: 63-4=59, Resulting Numbers: [19, 59]
Generated Node #0,0,0: 54:[19, 59] Operation: 63-4=59
Moving to Node #0,0,0
Current State: 54:[19, 59], Operations: ['70-66=4', '63-4=59']
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,54 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
22,
9,
5,
4
] | 34 | [
"9+5=14",
"4*14=56",
"56-22=34"
] | Current State: 34:[22, 9, 5, 4], Operations: []
Exploring Operation: 9+5=14, Resulting Numbers: [22, 4, 14]
Generated Node #2: [22, 4, 14] from Operation: 9+5=14
Current State: 34:[22, 4, 14], Operations: ['9+5=14']
Exploring Operation: 4*14=56, Resulting Numbers: [22, 56]
Generated Node #3: [22, 56] from Operation: 4*14=56
Current State: 34:[22, 56], Operations: ['9+5=14', '4*14=56']
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[22, 9, 5, 4], Operations: []
Exploring Operation: 22+9=31, Resulting Numbers: [5, 4, 31]
Generated Node #0,0: 34:[5, 4, 31] Operation: 22+9=31
Exploring Operation: 9-5=4, Resulting Numbers: [22, 4, 4]
Generated Node #0,1: 34:[22, 4, 4] Operation: 9-5=4
Exploring Operation: 22-5=17, Resulting Numbers: [9, 4, 17]
Generated Node #0,2: 34:[9, 4, 17] Operation: 22-5=17
Exploring Operation: 22-9=13, Resulting Numbers: [5, 4, 13]
Generated Node #0,3: 34:[5, 4, 13] Operation: 22-9=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[5, 4, 31], Operations: ['22+9=31']
Exploring Operation: 4+31=35, Resulting Numbers: [5, 35]
Generated Node #0,0,0: 34:[5, 35] Operation: 4+31=35
Exploring Operation: 5-4=1, Resulting Numbers: [31, 1]
Generated Node #0,0,1: 34:[31, 1] Operation: 5-4=1
Exploring Operation: 5+31=36, Resulting Numbers: [4, 36]
Generated Node #0,0,2: 34:[4, 36] Operation: 5+31=36
Exploring Operation: 5*4=20, Resulting Numbers: [31, 20]
Generated Node #0,0,3: 34:[31, 20] Operation: 5*4=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[5, 35], Operations: ['22+9=31', '4+31=35']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 5*35=175, Resulting Numbers: [175]
175,34 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,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,1
Current State: 34:[31, 1], Operations: ['22+9=31', '5-4=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,34 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,34 unequal: No Solution
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,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:[4, 36], Operations: ['22+9=31', '5+31=36']
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,34 unequal: No Solution
Exploring Operation: 4*36=144, Resulting Numbers: [144]
144,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,3
Current State: 34:[31, 20], Operations: ['22+9=31', '5*4=20']
Exploring Operation: 31+20=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 31*20=620, Resulting Numbers: [620]
620,34 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,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:[22, 4, 4], Operations: ['9-5=4']
Exploring Operation: 22-4=18, Resulting Numbers: [4, 18]
Generated Node #0,1,0: 34:[4, 18] Operation: 22-4=18
Exploring Operation: 4*4=16, Resulting Numbers: [22, 16]
Generated Node #0,1,1: 34:[22, 16] Operation: 4*4=16
Exploring Operation: 4/4=1, Resulting Numbers: [22, 1]
Generated Node #0,1,2: 34:[22, 1] Operation: 4/4=1
Exploring Operation: 22-4=18, Resulting Numbers: [4, 18]
Generated Node #0,1,3: 34:[4, 18] Operation: 22-4=18
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[4, 18], Operations: ['9-5=4', '22-4=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,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,3
Current State: 34:[4, 18], Operations: ['9-5=4', '22-4=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,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,1
Current State: 34:[22, 16], Operations: ['9-5=4', '4*4=16']
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,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:[22, 1], Operations: ['9-5=4', '4/4=1']
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,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,2
Current State: 34:[9, 4, 17], Operations: ['22-5=17']
Exploring Operation: 17-9=8, Resulting Numbers: [4, 8]
Generated Node #0,2,0: 34:[4, 8] Operation: 17-9=8
Exploring Operation: 9-4=5, Resulting Numbers: [17, 5]
Generated Node #0,2,1: 34:[17, 5] Operation: 9-4=5
Exploring Operation: 9+4=13, Resulting Numbers: [17, 13]
Generated Node #0,2,2: 34:[17, 13] Operation: 9+4=13
Exploring Operation: 9*4=36, Resulting Numbers: [17, 36]
Generated Node #0,2,3: 34:[17, 36] Operation: 9*4=36
Moving to Node #0,2,3
Current State: 34:[17, 36], Operations: ['22-5=17', '9*4=36']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 17*36=612, Resulting Numbers: [612]
612,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[17, 5], Operations: ['22-5=17', '9-4=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,34 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[17, 13], Operations: ['22-5=17', '9+4=13']
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,34 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[4, 8], Operations: ['22-5=17', '17-9=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[5, 4, 13], Operations: ['22-9=13']
Exploring Operation: 5*4=20, Resulting Numbers: [13, 20]
Generated Node #0,3,0: 34:[13, 20] Operation: 5*4=20
Exploring Operation: 4+13=17, Resulting Numbers: [5, 17]
Generated Node #0,3,1: 34:[5, 17] Operation: 4+13=17
Exploring Operation: 5+13=18, Resulting Numbers: [4, 18]
Generated Node #0,3,2: 34:[4, 18] Operation: 5+13=18
Exploring Operation: 5-4=1, Resulting Numbers: [13, 1]
Generated Node #0,3,3: 34:[13, 1] Operation: 5-4=1
Moving to Node #0,3,1
Current State: 34:[5, 17], Operations: ['22-9=13', '4+13=17']
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,34 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Moving to Node #0,3,2
Current State: 34:[4, 18], Operations: ['22-9=13', '5+13=18']
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[13, 1], Operations: ['22-9=13', '5-4=1']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Moving to Node #0,3,0
Current State: 34:[13, 20], Operations: ['22-9=13', '5*4=20']
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 13*20=260, Resulting Numbers: [260]
260,34 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 |
[
6,
21,
45,
2
] | 93 | [
"6+45=51",
"21*2=42",
"51+42=93"
] | Current State: 93:[6, 21, 45, 2], Operations: []
Exploring Operation: 6+45=51, Resulting Numbers: [21, 2, 51]
Generated Node #2: [21, 2, 51] from Operation: 6+45=51
Current State: 93:[21, 2, 51], Operations: ['6+45=51']
Exploring Operation: 21*2=42, Resulting Numbers: [51, 42]
Generated Node #3: [51, 42] from Operation: 21*2=42
Current State: 93:[51, 42], Operations: ['6+45=51', '21*2=42']
Exploring Operation: 51+42=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[6, 21, 45, 2], Operations: []
Exploring Operation: 45-21=24, Resulting Numbers: [6, 2, 24]
Generated Node #0,0: 93:[6, 2, 24] Operation: 45-21=24
Exploring Operation: 45*2=90, Resulting Numbers: [6, 21, 90]
Generated Node #0,1: 93:[6, 21, 90] Operation: 45*2=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[6, 2, 24], Operations: ['45-21=24']
Exploring Operation: 24/6=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 93:[2, 4] Operation: 24/6=4
Exploring Operation: 6+24=30, Resulting Numbers: [2, 30]
Generated Node #0,0,1: 93:[2, 30] Operation: 6+24=30
Moving to Node #0,0,0
Current State: 93:[2, 4], Operations: ['45-21=24', '24/6=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[2, 30], Operations: ['45-21=24', '6+24=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[6, 21, 90], Operations: ['45*2=90']
Exploring Operation: 6+90=96, Resulting Numbers: [21, 96]
Generated Node #0,1,0: 93:[21, 96] Operation: 6+90=96
Exploring Operation: 6+21=27, Resulting Numbers: [90, 27]
Generated Node #0,1,1: 93:[90, 27] Operation: 6+21=27
Moving to Node #0,1,1
Current State: 93:[90, 27], Operations: ['45*2=90', '6+21=27']
Exploring Operation: 90+27=117, Resulting Numbers: [117]
117,93 unequal: No Solution
Exploring Operation: 90-27=63, Resulting Numbers: [63]
63,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[21, 96], Operations: ['45*2=90', '6+90=96']
Exploring Operation: 21+96=117, Resulting Numbers: [117]
117,93 unequal: No Solution
Exploring Operation: 96-21=75, Resulting Numbers: [75]
75,93 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 |
[
7,
85,
11,
67
] | 59 | [
"7*11=77",
"85-67=18",
"77-18=59"
] | Current State: 59:[7, 85, 11, 67], Operations: []
Exploring Operation: 7*11=77, Resulting Numbers: [85, 67, 77]
Generated Node #2: [85, 67, 77] from Operation: 7*11=77
Current State: 59:[85, 67, 77], Operations: ['7*11=77']
Exploring Operation: 85-67=18, Resulting Numbers: [77, 18]
Generated Node #3: [77, 18] from Operation: 85-67=18
Current State: 59:[77, 18], Operations: ['7*11=77', '85-67=18']
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[7, 85, 11, 67], Operations: []
Exploring Operation: 7+11=18, Resulting Numbers: [85, 67, 18]
Generated Node #0,0: 59:[85, 67, 18] Operation: 7+11=18
Exploring Operation: 85-7=78, Resulting Numbers: [11, 67, 78]
Generated Node #0,1: 59:[11, 67, 78] Operation: 85-7=78
Exploring Operation: 67-7=60, Resulting Numbers: [85, 11, 60]
Generated Node #0,2: 59:[85, 11, 60] Operation: 67-7=60
Exploring Operation: 85-11=74, Resulting Numbers: [7, 67, 74]
Generated Node #0,3: 59:[7, 67, 74] Operation: 85-11=74
Exploring Operation: 7*11=77, Resulting Numbers: [85, 67, 77]
Generated Node #0,4: 59:[85, 67, 77] Operation: 7*11=77
Start Sub Search at level 1: Moving to Node #0,4
Current State: 59:[85, 67, 77], Operations: ['7*11=77']
Exploring Operation: 85+77=162, Resulting Numbers: [67, 162]
Generated Node #0,4,0: 59:[67, 162] Operation: 85+77=162
Exploring Operation: 85-67=18, Resulting Numbers: [77, 18]
Generated Node #0,4,1: 59:[77, 18] Operation: 85-67=18
Exploring Operation: 77-67=10, Resulting Numbers: [85, 10]
Generated Node #0,4,2: 59:[85, 10] Operation: 77-67=10
Exploring Operation: 85-77=8, Resulting Numbers: [67, 8]
Generated Node #0,4,3: 59:[67, 8] Operation: 85-77=8
Exploring Operation: 85+67=152, Resulting Numbers: [77, 152]
Generated Node #0,4,4: 59:[77, 152] Operation: 85+67=152
Moving to Node #0,4,1
Current State: 59:[77, 18], Operations: ['7*11=77', '85-67=18']
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[7, 85, 11, 67], Operations: []
Exploring Operation: 7*11=77, Resulting Numbers: [85, 67, 77]
Generated Node #0,4: 59:[85, 67, 77] Operation: 7*11=77
Moving to Node #0,4
Current State: 59:[85, 67, 77], Operations: ['7*11=77']
Exploring Operation: 85-67=18, Resulting Numbers: [77, 18]
Generated Node #0,4,1: 59:[77, 18] Operation: 85-67=18
Moving to Node #0,4,1
Current State: 59:[77, 18], Operations: ['7*11=77', '85-67=18']
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
97,
63,
2,
48
] | 62 | [
"97-63=34",
"2*48=96",
"96-34=62"
] | Current State: 62:[97, 63, 2, 48], Operations: []
Exploring Operation: 97-63=34, Resulting Numbers: [2, 48, 34]
Generated Node #2: [2, 48, 34] from Operation: 97-63=34
Current State: 62:[2, 48, 34], Operations: ['97-63=34']
Exploring Operation: 2*48=96, Resulting Numbers: [34, 96]
Generated Node #3: [34, 96] from Operation: 2*48=96
Current State: 62:[34, 96], Operations: ['97-63=34', '2*48=96']
Exploring Operation: 96-34=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[97, 63, 2, 48], Operations: []
Exploring Operation: 48/2=24, Resulting Numbers: [97, 63, 24]
Generated Node #0,0: 62:[97, 63, 24] Operation: 48/2=24
Exploring Operation: 97-63=34, Resulting Numbers: [2, 48, 34]
Generated Node #0,1: 62:[2, 48, 34] Operation: 97-63=34
Exploring Operation: 97-48=49, Resulting Numbers: [63, 2, 49]
Generated Node #0,2: 62:[63, 2, 49] Operation: 97-48=49
Moving to Node #0,2
Current State: 62:[63, 2, 49], Operations: ['97-48=49']
Exploring Operation: 63-2=61, Resulting Numbers: [49, 61]
Generated Node #0,2,0: 62:[49, 61] Operation: 63-2=61
Exploring Operation: 2+49=51, Resulting Numbers: [63, 51]
Generated Node #0,2,1: 62:[63, 51] Operation: 2+49=51
Exploring Operation: 63-49=14, Resulting Numbers: [2, 14]
Generated Node #0,2,2: 62:[2, 14] Operation: 63-49=14
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 62:[63, 51], Operations: ['97-48=49', '2+49=51']
Exploring Operation: 63*51=3213, Resulting Numbers: [3213]
3213,62 unequal: No Solution
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Exploring Operation: 63+51=114, Resulting Numbers: [114]
114,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 62:[2, 14], Operations: ['97-48=49', '63-49=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[49, 61], Operations: ['97-48=49', '63-2=61']
Exploring Operation: 49+61=110, Resulting Numbers: [110]
110,62 unequal: No Solution
Exploring Operation: 49*61=2989, Resulting Numbers: [2989]
2989,62 unequal: No Solution
Exploring Operation: 61-49=12, Resulting Numbers: [12]
12,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 62:[2, 48, 34], Operations: ['97-63=34']
Exploring Operation: 48/2=24, Resulting Numbers: [34, 24]
Generated Node #0,1,0: 62:[34, 24] Operation: 48/2=24
Exploring Operation: 48-34=14, Resulting Numbers: [2, 14]
Generated Node #0,1,1: 62:[2, 14] Operation: 48-34=14
Exploring Operation: 2+48=50, Resulting Numbers: [34, 50]
Generated Node #0,1,2: 62:[34, 50] Operation: 2+48=50
Moving to Node #0,0
Current State: 62:[97, 63, 24], Operations: ['48/2=24']
Exploring Operation: 97-63=34, Resulting Numbers: [24, 34]
Generated Node #0,0,0: 62:[24, 34] Operation: 97-63=34
Exploring Operation: 97-24=73, Resulting Numbers: [63, 73]
Generated Node #0,0,1: 62:[63, 73] Operation: 97-24=73
Exploring Operation: 63-24=39, Resulting Numbers: [97, 39]
Generated Node #0,0,2: 62:[97, 39] Operation: 63-24=39
Moving to Node #0,1,0
Current State: 62:[34, 24], Operations: ['97-63=34', '48/2=24']
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,62 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Exploring Operation: 34*24=816, Resulting Numbers: [816]
816,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[24, 34], Operations: ['48/2=24', '97-63=34']
Exploring Operation: 24*34=816, Resulting Numbers: [816]
816,62 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Exploring Operation: 24+34=58, Resulting Numbers: [58]
58,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[63, 73], Operations: ['48/2=24', '97-24=73']
Exploring Operation: 63*73=4599, Resulting Numbers: [4599]
4599,62 unequal: No Solution
Exploring Operation: 63+73=136, Resulting Numbers: [136]
136,62 unequal: No Solution
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[2, 14], Operations: ['97-63=34', '48-34=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[34, 50], Operations: ['97-63=34', '2+48=50']
Exploring Operation: 34+50=84, Resulting Numbers: [84]
84,62 unequal: No Solution
Exploring Operation: 34*50=1700, Resulting Numbers: [1700]
1700,62 unequal: No Solution
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[97, 39], Operations: ['48/2=24', '63-24=39']
Exploring Operation: 97-39=58, Resulting Numbers: [58]
58,62 unequal: No Solution
Exploring Operation: 97+39=136, Resulting Numbers: [136]
136,62 unequal: No Solution
Exploring Operation: 97*39=3783, Resulting Numbers: [3783]
3783,62 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
57,
57,
34,
94
] | 94 | [
"57-57=0",
"34*0=0",
"94+0=94"
] | Current State: 94:[57, 57, 34, 94], Operations: []
Exploring Operation: 57-57=0, Resulting Numbers: [34, 94, 0]
Generated Node #2: [34, 94, 0] from Operation: 57-57=0
Current State: 94:[34, 94, 0], Operations: ['57-57=0']
Exploring Operation: 34*0=0, Resulting Numbers: [94, 0]
Generated Node #3: [94, 0] from Operation: 34*0=0
Current State: 94:[94, 0], Operations: ['57-57=0', '34*0=0']
Exploring Operation: 94+0=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[57, 57, 34, 94], Operations: []
Exploring Operation: 57+34=91, Resulting Numbers: [57, 94, 91]
Generated Node #0,0: 94:[57, 94, 91] Operation: 57+34=91
Exploring Operation: 57/57=1, Resulting Numbers: [34, 94, 1]
Generated Node #0,1: 94:[34, 94, 1] Operation: 57/57=1
Exploring Operation: 57-57=0, Resulting Numbers: [34, 94, 0]
Generated Node #0,2: 94:[34, 94, 0] Operation: 57-57=0
Exploring Operation: 57-34=23, Resulting Numbers: [57, 94, 23]
Generated Node #0,3: 94:[57, 94, 23] Operation: 57-34=23
Exploring Operation: 57+34=91, Resulting Numbers: [57, 94, 91]
Generated Node #0,4: 94:[57, 94, 91] Operation: 57+34=91
Moving to Node #0,0
Current State: 94:[57, 94, 91], Operations: ['57+34=91']
Exploring Operation: 91-57=34, Resulting Numbers: [94, 34]
Generated Node #0,0,0: 94:[94, 34] Operation: 91-57=34
Exploring Operation: 94-57=37, Resulting Numbers: [91, 37]
Generated Node #0,0,1: 94:[91, 37] Operation: 94-57=37
Exploring Operation: 94-91=3, Resulting Numbers: [57, 3]
Generated Node #0,0,2: 94:[57, 3] Operation: 94-91=3
Exploring Operation: 57+94=151, Resulting Numbers: [91, 151]
Generated Node #0,0,3: 94:[91, 151] Operation: 57+94=151
Exploring Operation: 57+91=148, Resulting Numbers: [94, 148]
Generated Node #0,0,4: 94:[94, 148] Operation: 57+91=148
Moving to Node #0,4
Current State: 94:[57, 94, 91], Operations: ['57+34=91']
Exploring Operation: 57+94=151, Resulting Numbers: [91, 151]
Generated Node #0,4,0: 94:[91, 151] Operation: 57+94=151
Exploring Operation: 57+91=148, Resulting Numbers: [94, 148]
Generated Node #0,4,1: 94:[94, 148] Operation: 57+91=148
Exploring Operation: 94-57=37, Resulting Numbers: [91, 37]
Generated Node #0,4,2: 94:[91, 37] Operation: 94-57=37
Exploring Operation: 94-91=3, Resulting Numbers: [57, 3]
Generated Node #0,4,3: 94:[57, 3] Operation: 94-91=3
Exploring Operation: 91-57=34, Resulting Numbers: [94, 34]
Generated Node #0,4,4: 94:[94, 34] Operation: 91-57=34
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 94:[57, 3], Operations: ['57+34=91', '94-91=3']
Exploring Operation: 57+3=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,94 unequal: No Solution
Exploring Operation: 57*3=171, Resulting Numbers: [171]
171,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 94:[91, 37], Operations: ['57+34=91', '94-57=37']
Exploring Operation: 91+37=128, Resulting Numbers: [128]
128,94 unequal: No Solution
Exploring Operation: 91*37=3367, Resulting Numbers: [3367]
3367,94 unequal: No Solution
Exploring Operation: 91-37=54, Resulting Numbers: [54]
54,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 94:[94, 34], Operations: ['57+34=91', '91-57=34']
Exploring Operation: 94+34=128, Resulting Numbers: [128]
128,94 unequal: No Solution
Exploring Operation: 94*34=3196, Resulting Numbers: [3196]
3196,94 unequal: No Solution
Exploring Operation: 94-34=60, Resulting Numbers: [60]
60,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 94:[94, 148], Operations: ['57+34=91', '57+91=148']
Exploring Operation: 94*148=13912, Resulting Numbers: [13912]
13912,94 unequal: No Solution
Exploring Operation: 94+148=242, Resulting Numbers: [242]
242,94 unequal: No Solution
Exploring Operation: 148-94=54, Resulting Numbers: [54]
54,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 94:[91, 151], Operations: ['57+34=91', '57+94=151']
Exploring Operation: 91*151=13741, Resulting Numbers: [13741]
13741,94 unequal: No Solution
Exploring Operation: 91+151=242, Resulting Numbers: [242]
242,94 unequal: No Solution
Exploring Operation: 151-91=60, Resulting Numbers: [60]
60,94 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: 94:[34, 94, 1], Operations: ['57/57=1']
Exploring Operation: 34/1=34, Resulting Numbers: [94, 34]
Generated Node #0,1,0: 94:[94, 34] Operation: 34/1=34
Exploring Operation: 94/1=94, Resulting Numbers: [34, 94]
Generated Node #0,1,1: 94:[34, 94] Operation: 94/1=94
Exploring Operation: 34+1=35, Resulting Numbers: [94, 35]
Generated Node #0,1,2: 94:[94, 35] Operation: 34+1=35
Exploring Operation: 34*1=34, Resulting Numbers: [94, 34]
Generated Node #0,1,3: 94:[94, 34] Operation: 34*1=34
Exploring Operation: 94*1=94, Resulting Numbers: [34, 94]
Generated Node #0,1,4: 94:[34, 94] Operation: 94*1=94
Moving to Node #0,2
Current State: 94:[34, 94, 0], Operations: ['57-57=0']
Exploring Operation: 94+0=94, Resulting Numbers: [34, 94]
Generated Node #0,2,0: 94:[34, 94] Operation: 94+0=94
Exploring Operation: 34*0=0, Resulting Numbers: [94, 0]
Generated Node #0,2,1: 94:[94, 0] Operation: 34*0=0
Exploring Operation: 34+0=34, Resulting Numbers: [94, 34]
Generated Node #0,2,2: 94:[94, 34] Operation: 34+0=34
Exploring Operation: 34-0=34, Resulting Numbers: [94, 34]
Generated Node #0,2,3: 94:[94, 34] Operation: 34-0=34
Exploring Operation: 94-0=94, Resulting Numbers: [34, 94]
Generated Node #0,2,4: 94:[34, 94] Operation: 94-0=94
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[94, 0], Operations: ['57-57=0', '34*0=0']
Exploring Operation: 94+0=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[57, 57, 34, 94], Operations: []
Exploring Operation: 57-57=0, Resulting Numbers: [34, 94, 0]
Generated Node #0,2: 94:[34, 94, 0] Operation: 57-57=0
Moving to Node #0,2
Current State: 94:[34, 94, 0], Operations: ['57-57=0']
Exploring Operation: 34*0=0, Resulting Numbers: [94, 0]
Generated Node #0,2,1: 94:[94, 0] Operation: 34*0=0
Moving to Node #0,2,1
Current State: 94:[94, 0], Operations: ['57-57=0', '34*0=0']
Exploring Operation: 94+0=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_5 | mult_heuristic |
[
23,
2,
25,
37
] | 37 | [
"23+2=25",
"25+37=62",
"62-25=37"
] | Current State: 37:[23, 2, 25, 37], Operations: []
Exploring Operation: 23+2=25, Resulting Numbers: [25, 37, 25]
Generated Node #2: [25, 37, 25] from Operation: 23+2=25
Current State: 37:[25, 37, 25], Operations: ['23+2=25']
Exploring Operation: 25+37=62, Resulting Numbers: [62]
62,37 equal: Goal Reached
Exploring Operation: 62-25=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[23, 2, 25, 37], Operations: []
Exploring Operation: 23*2=46, Resulting Numbers: [25, 37, 46]
Generated Node #0,0: 37:[25, 37, 46] Operation: 23*2=46
Moving to Node #0,0
Current State: 37:[25, 37, 46], Operations: ['23*2=46']
Exploring Operation: 46-25=21, Resulting Numbers: [37, 21]
Generated Node #0,0,0: 37:[37, 21] Operation: 46-25=21
Moving to Node #0,0,0
Current State: 37:[37, 21], Operations: ['23*2=46', '46-25=21']
Exploring Operation: 37+21=58, Resulting Numbers: [58]
58,37 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
34,
72,
99,
67
] | 70 | [
"72-34=38",
"99-67=32",
"38+32=70"
] | Current State: 70:[34, 72, 99, 67], Operations: []
Exploring Operation: 72-34=38, Resulting Numbers: [99, 67, 38]
Generated Node #2: [99, 67, 38] from Operation: 72-34=38
Current State: 70:[99, 67, 38], Operations: ['72-34=38']
Exploring Operation: 99-67=32, Resulting Numbers: [38, 32]
Generated Node #3: [38, 32] from Operation: 99-67=32
Current State: 70:[38, 32], Operations: ['72-34=38', '99-67=32']
Exploring Operation: 38+32=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[34, 72, 99, 67], Operations: []
Exploring Operation: 99-72=27, Resulting Numbers: [34, 67, 27]
Generated Node #0,0: 70:[34, 67, 27] Operation: 99-72=27
Exploring Operation: 67-34=33, Resulting Numbers: [72, 99, 33]
Generated Node #0,1: 70:[72, 99, 33] Operation: 67-34=33
Exploring Operation: 99-67=32, Resulting Numbers: [34, 72, 32]
Generated Node #0,2: 70:[34, 72, 32] Operation: 99-67=32
Exploring Operation: 72-67=5, Resulting Numbers: [34, 99, 5]
Generated Node #0,3: 70:[34, 99, 5] Operation: 72-67=5
Exploring Operation: 99-34=65, Resulting Numbers: [72, 67, 65]
Generated Node #0,4: 70:[72, 67, 65] Operation: 99-34=65
Moving to Node #0,2
Current State: 70:[34, 72, 32], Operations: ['99-67=32']
Exploring Operation: 34-32=2, Resulting Numbers: [72, 2]
Generated Node #0,2,0: 70:[72, 2] Operation: 34-32=2
Exploring Operation: 34+32=66, Resulting Numbers: [72, 66]
Generated Node #0,2,1: 70:[72, 66] Operation: 34+32=66
Exploring Operation: 72+32=104, Resulting Numbers: [34, 104]
Generated Node #0,2,2: 70:[34, 104] Operation: 72+32=104
Exploring Operation: 72-34=38, Resulting Numbers: [32, 38]
Generated Node #0,2,3: 70:[32, 38] Operation: 72-34=38
Exploring Operation: 72-32=40, Resulting Numbers: [34, 40]
Generated Node #0,2,4: 70:[34, 40] Operation: 72-32=40
Moving to Node #0,4
Current State: 70:[72, 67, 65], Operations: ['99-34=65']
Exploring Operation: 67+65=132, Resulting Numbers: [72, 132]
Generated Node #0,4,0: 70:[72, 132] Operation: 67+65=132
Exploring Operation: 72-65=7, Resulting Numbers: [67, 7]
Generated Node #0,4,1: 70:[67, 7] Operation: 72-65=7
Exploring Operation: 72-67=5, Resulting Numbers: [65, 5]
Generated Node #0,4,2: 70:[65, 5] Operation: 72-67=5
Exploring Operation: 67-65=2, Resulting Numbers: [72, 2]
Generated Node #0,4,3: 70:[72, 2] Operation: 67-65=2
Exploring Operation: 72+65=137, Resulting Numbers: [67, 137]
Generated Node #0,4,4: 70:[67, 137] Operation: 72+65=137
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 70:[72, 2], Operations: ['99-34=65', '67-65=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[34, 72, 99, 67], Operations: []
Exploring Operation: 99-34=65, Resulting Numbers: [72, 67, 65]
Generated Node #0,4: 70:[72, 67, 65] Operation: 99-34=65
Moving to Node #0,4
Current State: 70:[72, 67, 65], Operations: ['99-34=65']
Exploring Operation: 67-65=2, Resulting Numbers: [72, 2]
Generated Node #0,4,3: 70:[72, 2] Operation: 67-65=2
Moving to Node #0,4,3
Current State: 70:[72, 2], Operations: ['99-34=65', '67-65=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
75,
52,
48,
62
] | 17 | [
"75+52=127",
"48+62=110",
"127-110=17"
] | Current State: 17:[75, 52, 48, 62], Operations: []
Exploring Operation: 75+52=127, Resulting Numbers: [48, 62, 127]
Generated Node #2: [48, 62, 127] from Operation: 75+52=127
Current State: 17:[48, 62, 127], Operations: ['75+52=127']
Exploring Operation: 48+62=110, Resulting Numbers: [127, 110]
Generated Node #3: [127, 110] from Operation: 48+62=110
Current State: 17:[127, 110], Operations: ['75+52=127', '48+62=110']
Exploring Operation: 127-110=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[75, 52, 48, 62], Operations: []
Exploring Operation: 75-62=13, Resulting Numbers: [52, 48, 13]
Generated Node #0,0: 17:[52, 48, 13] Operation: 75-62=13
Exploring Operation: 75-52=23, Resulting Numbers: [48, 62, 23]
Generated Node #0,1: 17:[48, 62, 23] Operation: 75-52=23
Moving to Node #0,0
Current State: 17:[52, 48, 13], Operations: ['75-62=13']
Exploring Operation: 52/13=4, Resulting Numbers: [48, 4]
Generated Node #0,0,0: 17:[48, 4] Operation: 52/13=4
Exploring Operation: 52-48=4, Resulting Numbers: [13, 4]
Generated Node #0,0,1: 17:[13, 4] Operation: 52-48=4
Moving to Node #0,1
Current State: 17:[48, 62, 23], Operations: ['75-52=23']
Exploring Operation: 62-48=14, Resulting Numbers: [23, 14]
Generated Node #0,1,0: 17:[23, 14] Operation: 62-48=14
Exploring Operation: 48-23=25, Resulting Numbers: [62, 25]
Generated Node #0,1,1: 17:[62, 25] Operation: 48-23=25
Moving to Node #0,1,0
Current State: 17:[23, 14], Operations: ['75-52=23', '62-48=14']
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[13, 4], Operations: ['75-62=13', '52-48=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[75, 52, 48, 62], Operations: []
Exploring Operation: 75-62=13, Resulting Numbers: [52, 48, 13]
Generated Node #0,0: 17:[52, 48, 13] Operation: 75-62=13
Moving to Node #0,0
Current State: 17:[52, 48, 13], Operations: ['75-62=13']
Exploring Operation: 52-48=4, Resulting Numbers: [13, 4]
Generated Node #0,0,1: 17:[13, 4] Operation: 52-48=4
Moving to Node #0,0,1
Current State: 17:[13, 4], Operations: ['75-62=13', '52-48=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 0.988715 | hs_2 | mult_heuristic |
[
17,
75,
51,
34
] | 73 | [
"17+51=68",
"68/34=2",
"75-2=73"
] | Current State: 73:[17, 75, 51, 34], Operations: []
Exploring Operation: 17+51=68, Resulting Numbers: [75, 34, 68]
Generated Node #2: [75, 34, 68] from Operation: 17+51=68
Current State: 73:[75, 34, 68], Operations: ['17+51=68']
Exploring Operation: 68/34=2, Resulting Numbers: [75, 2]
Generated Node #3: [75, 2] from Operation: 68/34=2
Current State: 73:[75, 2], Operations: ['17+51=68', '68/34=2']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[17, 75, 51, 34], Operations: []
Exploring Operation: 17+51=68, Resulting Numbers: [75, 34, 68]
Generated Node #0,0: 73:[75, 34, 68] Operation: 17+51=68
Exploring Operation: 17+34=51, Resulting Numbers: [75, 51, 51]
Generated Node #0,1: 73:[75, 51, 51] Operation: 17+34=51
Exploring Operation: 51+34=85, Resulting Numbers: [17, 75, 85]
Generated Node #0,2: 73:[17, 75, 85] Operation: 51+34=85
Moving to Node #0,0
Current State: 73:[75, 34, 68], Operations: ['17+51=68']
Exploring Operation: 75+34=109, Resulting Numbers: [68, 109]
Generated Node #0,0,0: 73:[68, 109] Operation: 75+34=109
Exploring Operation: 34+68=102, Resulting Numbers: [75, 102]
Generated Node #0,0,1: 73:[75, 102] Operation: 34+68=102
Exploring Operation: 75-34=41, Resulting Numbers: [68, 41]
Generated Node #0,0,2: 73:[68, 41] Operation: 75-34=41
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[75, 102], Operations: ['17+51=68', '34+68=102']
Exploring Operation: 75+102=177, Resulting Numbers: [177]
177,73 unequal: No Solution
Exploring Operation: 75*102=7650, Resulting Numbers: [7650]
7650,73 unequal: No Solution
Exploring Operation: 102-75=27, Resulting Numbers: [27]
27,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[68, 41], Operations: ['17+51=68', '75-34=41']
Exploring Operation: 68*41=2788, Resulting Numbers: [2788]
2788,73 unequal: No Solution
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 68+41=109, Resulting Numbers: [109]
109,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[68, 109], Operations: ['17+51=68', '75+34=109']
Exploring Operation: 68*109=7412, Resulting Numbers: [7412]
7412,73 unequal: No Solution
Exploring Operation: 68+109=177, Resulting Numbers: [177]
177,73 unequal: No Solution
Exploring Operation: 109-68=41, Resulting Numbers: [41]
41,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 73:[75, 51, 51], Operations: ['17+34=51']
Exploring Operation: 75-51=24, Resulting Numbers: [51, 24]
Generated Node #0,1,0: 73:[51, 24] Operation: 75-51=24
Exploring Operation: 51+51=102, Resulting Numbers: [75, 102]
Generated Node #0,1,1: 73:[75, 102] Operation: 51+51=102
Exploring Operation: 75-51=24, Resulting Numbers: [51, 24]
Generated Node #0,1,2: 73:[51, 24] Operation: 75-51=24
Moving to Node #0,2
Current State: 73:[17, 75, 85], Operations: ['51+34=85']
Exploring Operation: 17+75=92, Resulting Numbers: [85, 92]
Generated Node #0,2,0: 73:[85, 92] Operation: 17+75=92
Exploring Operation: 75-17=58, Resulting Numbers: [85, 58]
Generated Node #0,2,1: 73:[85, 58] Operation: 75-17=58
Exploring Operation: 85-17=68, Resulting Numbers: [75, 68]
Generated Node #0,2,2: 73:[75, 68] Operation: 85-17=68
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 73:[75, 68], Operations: ['51+34=85', '85-17=68']
Exploring Operation: 75+68=143, Resulting Numbers: [143]
143,73 unequal: No Solution
Exploring Operation: 75-68=7, Resulting Numbers: [7]
7,73 unequal: No Solution
Exploring Operation: 75*68=5100, Resulting Numbers: [5100]
5100,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 73:[85, 58], Operations: ['51+34=85', '75-17=58']
Exploring Operation: 85+58=143, Resulting Numbers: [143]
143,73 unequal: No Solution
Exploring Operation: 85*58=4930, Resulting Numbers: [4930]
4930,73 unequal: No Solution
Exploring Operation: 85-58=27, Resulting Numbers: [27]
27,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 73:[85, 92], Operations: ['51+34=85', '17+75=92']
Exploring Operation: 92-85=7, Resulting Numbers: [7]
7,73 unequal: No Solution
Exploring Operation: 85*92=7820, Resulting Numbers: [7820]
7820,73 unequal: No Solution
Exploring Operation: 85+92=177, Resulting Numbers: [177]
177,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 73:[75, 102], Operations: ['17+34=51', '51+51=102']
Exploring Operation: 102-75=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 75*102=7650, Resulting Numbers: [7650]
7650,73 unequal: No Solution
Exploring Operation: 75+102=177, Resulting Numbers: [177]
177,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[51, 24], Operations: ['17+34=51', '75-51=24']
Exploring Operation: 51*24=1224, Resulting Numbers: [1224]
1224,73 unequal: No Solution
Exploring Operation: 51-24=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 51+24=75, Resulting Numbers: [75]
75,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[51, 24], Operations: ['17+34=51', '75-51=24']
Exploring Operation: 51*24=1224, Resulting Numbers: [1224]
1224,73 unequal: No Solution
Exploring Operation: 51+24=75, Resulting Numbers: [75]
75,73 unequal: No Solution
Exploring Operation: 51-24=27, Resulting Numbers: [27]
27,73 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
98,
22,
1,
8
] | 77 | [
"98+1=99",
"22*8=176",
"176-99=77"
] | Current State: 77:[98, 22, 1, 8], Operations: []
Exploring Operation: 98+1=99, Resulting Numbers: [22, 8, 99]
Generated Node #2: [22, 8, 99] from Operation: 98+1=99
Current State: 77:[22, 8, 99], Operations: ['98+1=99']
Exploring Operation: 22*8=176, Resulting Numbers: [99, 176]
Generated Node #3: [99, 176] from Operation: 22*8=176
Current State: 77:[99, 176], Operations: ['98+1=99', '22*8=176']
Exploring Operation: 176-99=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[98, 22, 1, 8], Operations: []
Exploring Operation: 98-22=76, Resulting Numbers: [1, 8, 76]
Generated Node #0,0: 77:[1, 8, 76] Operation: 98-22=76
Exploring Operation: 22-8=14, Resulting Numbers: [98, 1, 14]
Generated Node #0,1: 77:[98, 1, 14] Operation: 22-8=14
Exploring Operation: 98-1=97, Resulting Numbers: [22, 8, 97]
Generated Node #0,2: 77:[22, 8, 97] Operation: 98-1=97
Exploring Operation: 98-8=90, Resulting Numbers: [22, 1, 90]
Generated Node #0,3: 77:[22, 1, 90] Operation: 98-8=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[1, 8, 76], Operations: ['98-22=76']
Exploring Operation: 8/1=8, Resulting Numbers: [76, 8]
Generated Node #0,0,0: 77:[76, 8] Operation: 8/1=8
Exploring Operation: 8-1=7, Resulting Numbers: [76, 7]
Generated Node #0,0,1: 77:[76, 7] Operation: 8-1=7
Exploring Operation: 1+76=77, Resulting Numbers: [8, 77]
Generated Node #0,0,2: 77:[8, 77] Operation: 1+76=77
Exploring Operation: 1*8=8, Resulting Numbers: [76, 8]
Generated Node #0,0,3: 77:[76, 8] Operation: 1*8=8
Moving to Node #0,0,1
Current State: 77:[76, 7], Operations: ['98-22=76', '8-1=7']
Exploring Operation: 76+7=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,77 unequal: No Solution
Exploring Operation: 76*7=532, Resulting Numbers: [532]
532,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[8, 77], Operations: ['98-22=76', '1+76=77']
Exploring Operation: 8*77=616, Resulting Numbers: [616]
616,77 unequal: No Solution
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,77 unequal: No Solution
Exploring Operation: 8+77=85, Resulting Numbers: [85]
85,77 unequal: No Solution
Moving to Node #0,0,3
Current State: 77:[76, 8], Operations: ['98-22=76', '1*8=8']
Exploring Operation: 76+8=84, Resulting Numbers: [84]
84,77 unequal: No Solution
Exploring Operation: 76*8=608, Resulting Numbers: [608]
608,77 unequal: No Solution
Exploring Operation: 76-8=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[76, 8], Operations: ['98-22=76', '8/1=8']
Exploring Operation: 76*8=608, Resulting Numbers: [608]
608,77 unequal: No Solution
Exploring Operation: 76-8=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 76+8=84, Resulting Numbers: [84]
84,77 unequal: No Solution
No 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: 77:[98, 1, 14], Operations: ['22-8=14']
Exploring Operation: 98-14=84, Resulting Numbers: [1, 84]
Generated Node #0,1,0: 77:[1, 84] Operation: 98-14=84
Exploring Operation: 14-1=13, Resulting Numbers: [98, 13]
Generated Node #0,1,1: 77:[98, 13] Operation: 14-1=13
Exploring Operation: 98/14=7, Resulting Numbers: [1, 7]
Generated Node #0,1,2: 77:[1, 7] Operation: 98/14=7
Exploring Operation: 98-1=97, Resulting Numbers: [14, 97]
Generated Node #0,1,3: 77:[14, 97] Operation: 98-1=97
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 77:[1, 7], Operations: ['22-8=14', '98/14=7']
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 1+7=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[1, 84], Operations: ['22-8=14', '98-14=84']
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 1+84=85, Resulting Numbers: [85]
85,77 unequal: No Solution
Exploring Operation: 1*84=84, Resulting Numbers: [84]
84,77 unequal: No Solution
Exploring Operation: 84/1=84, Resulting Numbers: [84]
84,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 77:[98, 13], Operations: ['22-8=14', '14-1=13']
Exploring Operation: 98+13=111, Resulting Numbers: [111]
111,77 unequal: No Solution
Exploring Operation: 98-13=85, Resulting Numbers: [85]
85,77 unequal: No Solution
Exploring Operation: 98*13=1274, Resulting Numbers: [1274]
1274,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 77:[14, 97], Operations: ['22-8=14', '98-1=97']
Exploring Operation: 14+97=111, Resulting Numbers: [111]
111,77 unequal: No Solution
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 14*97=1358, Resulting Numbers: [1358]
1358,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 77:[22, 1, 90], Operations: ['98-8=90']
Exploring Operation: 90-1=89, Resulting Numbers: [22, 89]
Generated Node #0,3,0: 77:[22, 89] Operation: 90-1=89
Exploring Operation: 90-22=68, Resulting Numbers: [1, 68]
Generated Node #0,3,1: 77:[1, 68] Operation: 90-22=68
Exploring Operation: 22-1=21, Resulting Numbers: [90, 21]
Generated Node #0,3,2: 77:[90, 21] Operation: 22-1=21
Exploring Operation: 22*1=22, Resulting Numbers: [90, 22]
Generated Node #0,3,3: 77:[90, 22] Operation: 22*1=22
Moving to Node #0,3,1
Current State: 77:[1, 68], Operations: ['98-8=90', '90-22=68']
Exploring Operation: 1*68=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,77 unequal: No Solution
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,77 unequal: No Solution
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[90, 21], Operations: ['98-8=90', '22-1=21']
Exploring Operation: 90+21=111, Resulting Numbers: [111]
111,77 unequal: No Solution
Exploring Operation: 90*21=1890, Resulting Numbers: [1890]
1890,77 unequal: No Solution
Exploring Operation: 90-21=69, Resulting Numbers: [69]
69,77 unequal: No Solution
Moving to Node #0,3,0
Current State: 77:[22, 89], Operations: ['98-8=90', '90-1=89']
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,77 unequal: No Solution
Exploring Operation: 22*89=1958, Resulting Numbers: [1958]
1958,77 unequal: No Solution
Exploring Operation: 22+89=111, Resulting Numbers: [111]
111,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[90, 22], Operations: ['98-8=90', '22*1=22']
Exploring Operation: 90+22=112, Resulting Numbers: [112]
112,77 unequal: No Solution
Exploring Operation: 90*22=1980, Resulting Numbers: [1980]
1980,77 unequal: No Solution
Exploring Operation: 90-22=68, Resulting Numbers: [68]
68,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[22, 8, 97], Operations: ['98-1=97']
Exploring Operation: 97-8=89, Resulting Numbers: [22, 89]
Generated Node #0,2,0: 77:[22, 89] Operation: 97-8=89
Exploring Operation: 97-22=75, Resulting Numbers: [8, 75]
Generated Node #0,2,1: 77:[8, 75] Operation: 97-22=75
Exploring Operation: 22-8=14, Resulting Numbers: [97, 14]
Generated Node #0,2,2: 77:[97, 14] Operation: 22-8=14
Exploring Operation: 22+8=30, Resulting Numbers: [97, 30]
Generated Node #0,2,3: 77:[97, 30] Operation: 22+8=30
Moving to Node #0,2,1
Current State: 77:[8, 75], Operations: ['98-1=97', '97-22=75']
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,77 unequal: No Solution
Exploring Operation: 8*75=600, Resulting Numbers: [600]
600,77 unequal: No Solution
Exploring Operation: 8+75=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[97, 14], Operations: ['98-1=97', '22-8=14']
Exploring Operation: 97*14=1358, Resulting Numbers: [1358]
1358,77 unequal: No Solution
Exploring Operation: 97+14=111, Resulting Numbers: [111]
111,77 unequal: No Solution
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[22, 89], Operations: ['98-1=97', '97-8=89']
Exploring Operation: 22*89=1958, Resulting Numbers: [1958]
1958,77 unequal: No Solution
Exploring Operation: 22+89=111, Resulting Numbers: [111]
111,77 unequal: No Solution
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,77 unequal: No Solution
Moving to Node #0,2,3
Current State: 77:[97, 30], Operations: ['98-1=97', '22+8=30']
Exploring Operation: 97+30=127, Resulting Numbers: [127]
127,77 unequal: No Solution
Exploring Operation: 97-30=67, Resulting Numbers: [67]
67,77 unequal: No Solution
Exploring Operation: 97*30=2910, Resulting Numbers: [2910]
2910,77 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.